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 | 6437 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "hairibar/Hairibar.Ragdoll",
"max_stars_repo_path": "Animation/Editor/Property Drawers/BoneProfileOverrideDrawer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6438"
} | starcoder | using Hairibar.NaughtyExtensions.Editor;
using Hairibar.Ragdoll.Editor;
using UnityEditor;
using UnityEngine;
namespace Hairibar.Ragdoll.Animation.Editor
{
[CustomPropertyDrawer(typeof(RagdollAnimationProfile.BoneProfileOverride))]
internal class BoneProfileOverrideDrawer : PropertyDrawer
{
static... | 2.125167 | e48e04f53cb96d6210ef15dcc4d22dbc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6438 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pksorensen/DurableFunctionsMonitor",
"max_stars_repo_path": "durablefunctionsmonitor.dotnetbackend/Functions/Orchestration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6439"
} | starcoder | <gh_stars>0
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json.Linq;
using System;
using Microsoft.Azure.WebJobs.Extensions.DurableTask;
using Microsoft.WindowsAzure.Storage;
u... | 2.027243 | b80078b2932a7d855b137a691864888f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6439 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "StephenRedd/NullMailer-WIP",
"max_stars_repo_path": "samples/mailer-cli/mailer/Extensions/AnsiColorExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6440"
} | starcoder | // ReSharper disable once CheckNamespace
namespace NullDesk.Cli
{
public static class AnsiColorExtensions
{
public static string Black(this string text)
{
return "\x1B[30m" + text + "\x1B[39m";
}
public static string Red(this string text)
{
retu... | 2.952112 | 83ded37d4ace432f547d7e2b22a2f164 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6440 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Vondai/MediService.ASP.NET-Core",
"max_stars_repo_path": "MediService.Test/Routing/SpecialistsControllerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6441"
} | starcoder | using MyTested.AspNetCore.Mvc;
using MediService.ASP.NET_Core.Controllers;
using Xunit;
namespace MediService.Test.Routing
{
public class SpecialistsControllerTests
{
[Fact]
public void AllShouldBeMapped()
=> MyPipeline
.Configuration()
.ShouldMap(request =>... | 1.690445 | 7f5c5cfd56cecef59e0a97c6b6b9e574 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6441 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "shockzinfinity/sapHowmuch.WebAPI",
"max_stars_repo_path": "sapHowmuch.Api.Repositories/SapDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6442"
} | starcoder | <gh_stars>1-10
using sapHowmuch.Api.Repositories.SapEntities;
using System.Data.Entity;
namespace sapHowmuch.Api.Repositories
{
public partial class SapDbContext : DbContext
{
public SapDbContext() : base("name=SapDbContext")
{
}
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
}
... | 1.461761 | aae749ce056b96cbc3a74fbcec80bea7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6442 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wes-public-apps/aspnet-data-summary",
"max_stars_repo_path": "DataReviewProject/Models/FlightData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6443"
} | starcoder | // <NAME>
// 3/19/2021
// This model tracks flight data.
using System;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace DataReviewProject.Models {
public class FlightData{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public ObjectId Id { get; set; }
[... | 2.687868 | 50bf17004aafb0ebfada5850408b474f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6443 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thenucleus/nuclei.plugins",
"max_stars_repo_path": "src/Test.Unit.Plugins.Core/FilePluginTypeTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6444"
} | starcoder | <filename>src/Test.Unit.Plugins.Core/FilePluginTypeTest.cs
//-----------------------------------------------------------------------
// <copyright company="TheNucleus">
// Copyright (c) TheNucleus. All rights reserved.
// Licensed under the Apache License, Version 2.0 license. See LICENCE.md file in the project roo... | 2.095929 | 23a97cd18a0cf3f2a228c5854b2afc46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arpadbarta/ReduxSimple",
"max_stars_repo_path": "ReduxSimple/Reducers.On.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6445"
} | starcoder | <reponame>arpadbarta/ReduxSimple
using System;
namespace ReduxSimple
{
public static partial class Reducers
{
/// <summary>
/// Function used to filter reducer based on action type.
/// </summary>
/// <typeparam name="TAction">Action type.</typeparam>
/// <typeparam nam... | 2.456283 | dff1d178d9fac5500b4761611db20e49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6445 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "afonsoft/PetSystem",
"max_stars_repo_path": "Afonsoft.Petz/Model/RatingEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6446"
} | starcoder | using System;
using System.Collections.Generic;
namespace Afonsoft.Petz.Model
{
[Serializable]
public class RatingEntity : IComparer<RatingEntity>, IComparable<RatingEntity>
{
public int Id { get; set; }
public string Comments { get; set; }
public DateTime Date { get; set; }
... | 2.684102 | ddf1fa696b33ecdb1627787475db81ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6446 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dnelly/azure-sdk-for-net",
"max_stars_repo_path": "src/Batch/Client/Src/GeneratedProtocol/Models/ResizeError.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6447"
} | starcoder | <reponame>dnelly/azure-sdk-for-net<filename>src/Batch/Client/Src/GeneratedProtocol/Models/ResizeError.cs
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You ma... | 2.087674 | bb3827e0976f367106f21dc722f6badd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6447 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bradleyjford/inception",
"max_stars_repo_path": "src/Inception/Proxying/IProxyDispatcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6448"
} | starcoder | using System;
using System.Reflection;
namespace Inception.Proxying
{
public interface IProxyDispatcher
{
object MethodInvocation(
object target,
MethodInfo method,
object[] arguments,
ProxyTargetInvocation proxyTargetInvocation);
}
} | 1.667602 | f6213d29398977f9cc64ac647844f2d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6448 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kamilagruhlke/wizload-shop",
"max_stars_repo_path": "src/Services/Orders/Orders.Domain/Exceptions/EntityNotFoundBusinessException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6449"
} | starcoder | <reponame>kamilagruhlke/wizload-shop
namespace Orders.Domain.Exceptions
{
public class EntityNotFoundBusinessException : BusinessException
{
public EntityNotFoundBusinessException(string message) : base(message)
{
}
}
}
| 1.321007 | 2dddbb7dea77036e3cdedd2f1b4c205e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6449 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chickn666/ios",
"max_stars_repo_path": "Cirrious/Cirrious.MvvmCross.Dialog/Dialog/Elements/Element.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6450"
} | starcoder | <reponame>chickn666/ios
//
// Elements.cs: defines the various components of our view
//
// Author:
// <NAME> (<EMAIL>)
//
// Copyright 2010, Novell, Inc.
//
// Code licensed under the MIT X11 license
//
// TODO: StyledStringElement: merge with multi-line?
// TODO: StyledStringElement: add image scaling features?
// ... | 2.322289 | fc3cb471ed7e253a93393bd430f5d932 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6450 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "eliagrady/azure-sdk-for-net",
"max_stars_repo_path": "src/SDKs/CognitiveServices/dataPlane/Language/TextAnalytics/TextAnalytics/Generated/TextAnalytics/TextAnalyticsClientExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:64... | starcoder | <reponame>eliagrady/azure-sdk-for-net
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior... | 2.272991 | f370b7ad6d79cf455395db8a938aecb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6451 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "caedriel/TheValley",
"max_stars_repo_path": "Game/Studio 2 2017 game/Assets/Scripts/NoamanScrips/GameManagerCS.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6452"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
/// <Game Manager author>
/// Created by by <NAME> created on june 11 2017 @ 1.18 pm
/// </summary>
public class GameManagerCS : MonoBehaviour
{
public GameObject bowObject;
public GameObject axeObje... | 2.276614 | 4d72b45b240fc04f3ec298956b61d728 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6452 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "phuocnd2897/VegetableGrownerAPI",
"max_stars_repo_path": "Context/VGContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6453"
} | starcoder |
using Microsoft.EntityFrameworkCore;
using VG.Model.Model;
using System;
using System.Collections.Generic;
using System.Text;
namespace VG.Context
{
public class VGContext : DbContext
{
public VGContext(DbContextOptions<VGContext> options) : base(options)
{
}
protected overri... | 1.779432 | 49d3013aa7585bfae2cce1f2817d008d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6453 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NovassatSystems/LentForMen",
"max_stars_repo_path": "iOS/Helpers/LocalFileProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6454"
} | starcoder | <gh_stars>0
using System;
using System.IO;
using System.Threading.Tasks;
using iOS;
using Core;
using Xamarin.Forms;
using Xamarin.Forms.Internals;
[assembly: Dependency(typeof(LocalFileProvider))]
namespace iOS
{
[Preserve(AllMembers = true)]
public class LocalFileProvider : ILocalFileProvider
... | 2.124552 | e88208dfd4662ed725c4f824bdbf999a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6454 | {
"extension": "c-sharp",
"max_stars_count": "357.0",
"max_stars_repo_name": "cristianosuzuki77/LibraryManager",
"max_stars_repo_path": "src/libman/Contracts/IHostInteractionInternal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6455"
} | starcoder | <reponame>cristianosuzuki77/LibraryManager<filename>src/libman/Contracts/IHostInteractionInternal.cs
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Web.LibraryManager.Contracts;
nam... | 1.81993 | a0c3b86c7f069dd305c6ab92d21db17f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6455 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Enanyy/moon",
"max_stars_repo_path": "client/Assets/Scripts/Base/EventSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6456"
} | starcoder | using System.Collections.Generic;
using UnityEngine.Events;
using System;
#region Listener
public class EventListener
{
public List<object> listeners = new List<object>();
public void AddListener(Delegate action)
{
if (action == null || listeners.Contains(action))
{
return;
... | 2.484522 | 08a8be8c71eaa72cb6c45c79f9a1a475 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6456 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Reddragon7/DaramRenamer",
"max_stars_repo_path": "Daramkun.DaramRenamer.Shared/Processors/Filename/ReplaceRegexpProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6457"
} | starcoder | using Daramee.Nargs;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
namespace Daramkun.DaramRenamer.Processors.Filename
{
[Serializable]
public class ReplaceRegexpProcessor : IProcessor
{
public string Name => "process_replace_regex_text"... | 2.455811 | 1bc2725b3003886fb087c542e8595e74 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6457 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "appsonsf/FabricSSO",
"max_stars_repo_path": "src/Sso.Remoting/UserAppServiceClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6458"
} | starcoder | using Sso.Remoting.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using ServiceFabricContrib;
using System.Diagnostics;
using System.Linq;
using IdentityServer4.Models;
using Serilog;
using Sso.Remoting.ClientParam;
using Sso.Remoting.Domains;
using Sso.Remotin... | 1.912606 | 094fa10b130c28f18b52cab94cd54a53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6458 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kgorbenko/exercism",
"max_stars_repo_path": "csharp/nucleotide-count/NucleotideCount.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6459"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
public static class NucleotideCount
{
public static IDictionary<char, int> Count(string sequence)
{
if (!IsSequenceValid(sequence))
{
throw new ArgumentException(nameof(sequence));
}
return string.Co... | 3.345613 | eb5a0167dafcbddc417bcb244f6938f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6459 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ChrisFg/Lean",
"max_stars_repo_path": "Common/Brokerages/FTXBrokerageModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6460"
} | starcoder | <reponame>ChrisFg/Lean
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... | 2.288039 | be083e35cbb66cdf8c29cf952196b0c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6460 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bobo4aces/04.SoftUni-CSharpFundamentals",
"max_stars_repo_path": "03. CSharp OOP Advanced - 08. Exam Preparation/2018.04.28/01. Structure_Skeleton (.NET Core)/Travel.Tests/FlightControllerTests.cs",
"provenance": "train-00000-of-00045... | starcoder | <reponame>bobo4aces/04.SoftUni-CSharpFundamentals
// REMOVE any "using" statements, which start with "Travel." BEFORE SUBMITTING
namespace Travel.Tests
{
using NUnit.Framework;
using Travel.Core.Controllers;
using Travel.Core.Controllers.Contracts;
using Travel.Entities;
using Travel.Entities.Airplane... | 2.559312 | 07160595fda16801b676827f8ea08a69 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6461 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mihirgovil/POC",
"max_stars_repo_path": "src/Microsoft.AspNetCore.Mvc.Razor/RazorPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6462"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Security.Claims;
using System... | 1.685999 | 148edd9dcfb56f1d8986a14be57ff4c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6462 | {
"extension": "c-sharp",
"max_stars_count": "448.0",
"max_stars_repo_name": "miniksa/BuildXL",
"max_stars_repo_path": "Public/Src/Cache/ContentStore/App/PutStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6463"
} | starcoder | <reponame>miniksa/BuildXL
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.IO;
using System.Threading;
using BuildXL.Cache.ContentStore.Interfaces.Results;
using BuildXL.Cache.ContentStore.Sessions;
using BuildXL.Cache.ContentStore.UtilitiesCore;
using CLAP;
// ReSharp... | 1.326806 | a6d8163c8ed8236c1a7be16d6b194362 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6463 | {
"extension": "c-sharp",
"max_stars_count": "636.0",
"max_stars_repo_name": "absltkaos/indy-sdk",
"max_stars_repo_path": "wrappers/dotnet/indy-sdk-dotnet-test/DidTests/SetDidMetadataTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6464"
} | starcoder | using Hyperledger.Indy.DidApi;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
namespace Hyperledger.Indy.Test.DidTests
{
[TestClass]
public class SetDidMetadataTest : IndyIntegrationTestWithSingleWallet
{
[TestMethod]
public async Task TestSetDidMetadataW... | 2.068067 | 838baa6b1b0f78a68d7c860443b6d22d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6464 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LuckyLph/Tales-Of-Ascaria",
"max_stars_repo_path": "Assets/Scripts/Playmode/Tales Of Ascaria/Control/Shotokan Spell Controllers/KiBlastController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6465"
} | starcoder | <reponame>LuckyLph/Tales-Of-Ascaria
using System.Collections.Generic;
using Harmony;
using UnityEngine;
namespace TalesOfAscaria
{
public class KiBlastController : GameScript
{
[Tooltip("Wisdom percentage to use to deal damage")]
[SerializeField]
private readonly float kiBlastWisdomPercentage;
[T... | 2.170172 | 259db7f3813b24b8f101b8a3eeee768b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6465 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "holgarsson/geoplacementclicker",
"max_stars_repo_path": "GeoplacementClicker.Web/Models/Home/HomeViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6466"
} | starcoder | <reponame>holgarsson/geoplacementclicker<filename>GeoplacementClicker.Web/Models/Home/HomeViewModel.cs
using GeoplacementClicker.Persistence.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GeoplacementClicker.Web.Models.Home
{
public class HomeV... | 1.270818 | 8dc897f2e390420e72b4864135b6eda7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6466 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DovetailSoftware/WufooSharp",
"max_stars_repo_path": "src/WufooSharp/Enumerators/FormEntryEnumerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6467"
} | starcoder | using Newtonsoft.Json;
namespace WufooSharp
{
public class FormEntryEnumerator : EntryEnumerator
{
public FormEntryEnumerator(IWufooDataProvider provider, string formHash, int pageSize, int pageStart, FilterBuilder filters, Sort sort)
: base(provider, formHash, pageSize, pageStart, filters... | 2.265613 | e4b186d9190364b0fca1fd26d1ab682e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6467 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rafaeldbn/Forum.Backend",
"max_stars_repo_path": "src/Forum.Backend.Infrastructure/Identity/JwtStartupSetup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6468"
} | starcoder | using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using System;
namespace Forum.Backend.Infrastructure.Identity
{
public static class JwtStartu... | 1.994219 | b6c8b4672c1392217dec7ca079163f24 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6468 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Anvil3D/Anvil-Toolset",
"max_stars_repo_path": "Scripts/Player/PlayerData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6469"
} | starcoder | <reponame>Anvil3D/Anvil-Toolset
using System;
using UnityEngine;
namespace VGDevs
{
[CreateAssetMenu(fileName = "New PlayerData", menuName = VGDevs.kCreateMenuPrefixNameGame + "PlayerData")]
public class PlayerData : VGDevsScriptableObject
{
[Header("Data")]
public MonoBehaviour Instance;
public AccountStat... | 1.754637 | cc7c865098a8e9ddb2448a368cc43f4f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6469 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "twitchplayskh/open-brush",
"max_stars_repo_path": "Assets/Scripts/Commands/BrushStrokeCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6470"
} | starcoder | // Copyright 2020 The Tilt Brush Authors
//
// 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 law or a... | 2.018997 | 4b35b98534760d359b8ce45566ca03fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6470 | {
"extension": "c-sharp",
"max_stars_count": "155.0",
"max_stars_repo_name": "ananace/Tmds.DBus",
"max_stars_repo_path": "src/Tmds.DBus/CodeGen/DBusAdapterTypeBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6471"
} | starcoder | // Copyright 2016 <NAME> <<EMAIL>>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Threading;
using System.Threading.Tasks;
using Tmds.DBus.Protocol... | 1.82238 | ebdd638424e470d4048505d04f05c584 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6471 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nzhul/game-server",
"max_stars_repo_path": "GameServer/GameServer/PacketHandlers/ReconnectBattleRequestHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6472"
} | starcoder | <reponame>nzhul/game-server<filename>GameServer/GameServer/PacketHandlers/ReconnectBattleRequestHandler.cs
using System;
using System.Linq;
using GameServer.Managers;
using GameServer.NetworkShared.Models;
using GameServer.NetworkShared.Packets.World.ServerClient;
using NetworkingShared;
using NetworkingShared.Attribu... | 2.124847 | 5375af7e0f99665d73e4a27637df1065 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6472 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "shortlegstudio/silverneedle-web",
"max_stars_repo_path": "silverneedle-tests/AssertCharacter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6473"
} | starcoder | // Copyright (c) 2017 <NAME>
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
namespace Tests
{
using System.Linq;
using System.Collections.Generic;
using Xunit;
using SilverNeedle.Characters;
using SilverNeedle.Characters.Magic;
public static clas... | 2.518852 | a75b71f8c78cbdb73c12c8af6069b5b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6473 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "tdecroyere/CoreEngine",
"max_stars_repo_path": "samples/MoanaSceneGenerator/MatrixJsonDataConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6474"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace MoanaSceneGenerator
{
public class MatrixJsonDataConverter : JsonConverter<Matrix4x4>
{
public override Matrix4x4 Read(ref Utf8JsonReader reader... | 2.677131 | 1d7f67b5f6c8ffc8cff03891a942a018 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6474 | {
"extension": "c-sharp",
"max_stars_count": "3399.0",
"max_stars_repo_name": "Drakkonite/hotchocolate",
"max_stars_repo_path": "src/HotChocolate/Core/src/Types/Types/Scalars/ScalarType~2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6475"
} | starcoder | using System;
using HotChocolate.Language;
using HotChocolate.Properties;
#nullable enable
namespace HotChocolate.Types
{
/// <summary>
/// Scalar types represent primitive leaf values in a GraphQL type system.
/// GraphQL responses take the form of a hierarchical tree;
/// the leaves on these trees a... | 2.781254 | fed07d1d3c319b0209ad667ca606f901 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6475 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "victorrub/trade-book",
"max_stars_repo_path": "src/Models/Operations/Responses/ErrorResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6476"
} | starcoder | <filename>src/Models/Operations/Responses/ErrorResponse.cs
using System;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using TradeBook.Models.Operations.Core;
namespace TradeBook.Models.Operations.Responses
{
public class ErrorResponse<T> : ResponseBase where T : ControllerBase
{
... | 2.466635 | 54a680686d5a1f6f09baf28b0f5ceeeb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6476 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chi-rei-den/Silverfish",
"max_stars_repo_path": "cards/GILNEAS/GILA/Sim_GILA_826.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6477"
} | starcoder | <reponame>chi-rei-den/Silverfish
/* _BEGIN_TEMPLATE_
{
"id": "GILA_826",
"name": [
"救赎者娜拉",
"<NAME>"
],
"text": [
"<b>圣盾,嘲讽</b>\n在该随从受到伤害并存活下来后,获得\n<b>圣盾</b>。",
"[x]<b>Divine Shield</b>. <b>Taunt</b>.\nAfter this minion survives\n damage, gain <b>Divine Shield</b>."
],
"cardClass": "NEUTRAL"... | 1.658433 | 5c98d90acd78236f8d27d28c3f849be1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6477 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Havachi/CPNV_ProjetC-_ARI-DCT",
"max_stars_repo_path": "ARX_Remastered/GameLib/Map Classes/Board.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6478"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing.Printing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameLib
{
public class Board
{
private int height;
private int width;
private List<BoardLine> boardContent;
... | 3.034705 | 1505b1ae571422478746b1fe90e7333d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6478 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "kamlesh-microsoft/clear-hl7-net",
"max_stars_repo_path": "test/ClearHl7.Tests/SegmentsTests/AutSegmentTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6479"
} | starcoder | <reponame>kamlesh-microsoft/clear-hl7-net
using System;
using ClearHl7.V290.Segments;
using ClearHl7.V290.Types;
using FluentAssertions;
using Xunit;
namespace ClearHl7.Tests.SegmentsTests
{
public class AutSegmentTests
{
/// <summary>
/// Validates that FromDelimitedString() returns the objec... | 1.965948 | 9790be9cd825156f3ad0dbf61a8027ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6479 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ofodjs/OnlineCalculator",
"max_stars_repo_path": "server/OnlineCalculator.Web/Validators/IValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6480"
} | starcoder | using OnlineCalculator.Web.Models;
namespace OnlineCalculator.Web.Validators
{
public interface IValidator<T> where T: class
{
ValidationResult Validate(T model);
}
} | 1.951088 | fdf758c30a0b07bd821832c8e565da98 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6480 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kmcclellan/property-logging",
"max_stars_repo_path": "Logging.Properties/Mapping/TimestampPropertyOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6481"
} | starcoder | namespace Microsoft.Extensions.Logging.Properties.Mapping;
/// <summary>
/// Property options for logged date and time for a specific provider.
/// </summary>
/// <typeparam name="TProvider">The associated provider type.</typeparam>
public class TimestampPropertyOptions<TProvider> : TimestampPropertyOptions
{
}
/// <... | 2.078283 | 1bffbf7d336fd40a0ca9511c7ce5f8ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6481 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Nikolay200/FairMarkClient",
"max_stars_repo_path": "FairMark/OmsApi/DataContracts/4_5_8_OrderSummaries.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6482"
} | starcoder | <reponame>Nikolay200/FairMarkClient
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace FairMark.OmsApi.DataContracts
{
/// <summary>
/// Current orders and their statuses.
/// 4.5.8. Метод «Получ... | 1.797775 | ab0df190d2cd707f921c39c55293869b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6482 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JohnLambe/JLCSUtils",
"max_stars_repo_path": "JLCSUtils/MvpFramework/Binding/GetPropertyDelegate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6483"
} | starcoder | using System;
namespace MvpFramework.Binding
{
/// <summary>
/// Arguments to <see cref="GetNameDelegate"/>.
/// </summary>
public class GetPropertyEventArgs : EventArgs
{
/// <summary>
/// Empty arguments for this event.
/// (This may or may not return the same instance on... | 2.961572 | 212b4885474ae372298f2000f3027fb8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6483 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DurgaPrasadReddyV/BlazorApp",
"max_stars_repo_path": "Source/BlazorApp.Shared/Filters/PaginationFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6484"
} | starcoder | <reponame>DurgaPrasadReddyV/BlazorApp<filename>Source/BlazorApp.Shared/Filters/PaginationFilter.cs<gh_stars>0
namespace BlazorApp.Shared.Filters;
public abstract class PaginationFilter : BaseFilter
{
protected PaginationFilter()
{
PageSize = int.MaxValue;
}
public int PageNumber { get; set; }
... | 1.839576 | 12059e3dc0c6b6fb6dcb85e1861af0df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6484 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RishkoPavel/DynamicWeb",
"max_stars_repo_path": "Files/Templates/Designs/Rapido/eCom7/CartV2/Step/Blocks/Receipt/OrderInfo.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6485"
} | starcoder | @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
@using Dynamicweb.Rapido.Blocks
@using Dynamicweb.Rapido.Blocks.Components.General
@functions {
BlocksPage orderInfoPage = BlocksPage.GetBlockPage("Order");
}
@{
orderInfoPage.Add("Order"... | 2.042779 | db9dd0ed50ff49d2a0dc17c9009dd3a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6485 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "KAL-ATM-Software/KAL_XFS4IoT_SP-Dev",
"max_stars_repo_path": "Framework/ServiceClasses/CardReaderServiceProvider/Events/CommonCardCommandEvents.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6486"
} | starcoder | /***********************************************************************************************\
* (C) KAL ATM Software GmbH, 2021
* KAL ATM Software GmbH licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
*
\******************************************... | 2.266668 | 48e94cfdd01f2e2e91f61b01076ccc21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6486 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "sampa-msft/azure-sdk-for-net",
"max_stars_repo_path": "sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/WafMetricsResponseSeriesItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6487"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.Cdn.Models
{
/// <summary> The WafMetricsResponseSeriesItem. </summary>
public partial cl... | 1.655621 | 11f8105aafff31211be841f30749df32 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6487 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SeanKilleen/nunit.analyzers",
"max_stars_repo_path": "src/nunit.analyzers/Constants/EqualConstraintUsageConstants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6488"
} | starcoder | namespace NUnit.Analyzers.Constants
{
internal static class EqualConstraintUsageConstants
{
internal const string Title = "Use EqualConstraint.";
internal const string Message = "Use {0} constraint instead of direct comparison.";
internal const string Description = "Using EqualConstraint... | 1.674641 | 3150c84ca9e78436cc3f66b75ede1699 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6488 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "modi-w/AutoVersionsDB",
"max_stars_repo_path": "src/AutoVersionsDB/AutoVersionsDB.Core/DBVersions/Processes/ProcessDefinitions/TargetStateScriptFileValidationProcessDefinition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6489"
} | starcoder | <reponame>modi-w/AutoVersionsDB
using AutoVersionsDB.Core.DBVersions.Processes.ActionSteps;
using AutoVersionsDB.Core.DBVersions.Processes.ActionSteps.ValidationFactories;
using AutoVersionsDB.NotificationableEngine.Validations;
namespace AutoVersionsDB.Core.DBVersions.Processes.ProcessDefinitions
{
public class ... | 1.638415 | d801b6132308a1ed260471fcd84d17eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6489 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "GrapeCity/pagefx",
"max_stars_repo_path": "source/libs/Flash/ABC/IAbcConstPool.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6490"
} | starcoder | <reponame>GrapeCity/pagefx<filename>source/libs/Flash/ABC/IAbcConstPool.cs<gh_stars>10-100
namespace DataDynamics.PageFX.Flash.Abc
{
/// <summary>
/// Interfaces ABC constant pool.
/// </summary>
public interface IAbcConstPool
{
/// <summary>
/// Gets number of constants in pool.
/// </summary>
i... | 2.592309 | 3854a5f38b39893f8ffec231127cef83 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6490 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Elfert-19/Conceptos",
"max_stars_repo_path": "Assets/Scipts/Enemy/EnemyMovement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6491"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class EnemyMovement : MonoBehaviour {
public bool canMove;
List<Transform> areaWaypoints;
List<Transform> sectorWaypoints;
public float speed;
AreaControler areaCont;
MapController mapC... | 2.454988 | 9068287d04a6089f00c31666d5e63286 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6491 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sarita4/angular-seed-dotnet-sql",
"max_stars_repo_path": "src/server/WebApi/Models/DatabaseContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6492"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace WebApi.Models
{
public partial class DatabaseContext : DbContext
{
public virtual DbSet<Scientist> Scientist { get; set; }
// restore this after using Scaffolding to replace OnConfiguring stuff
p... | 2.586316 | e43d811080ea1900ea163dec9dcf510c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6492 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uredkar/BAU",
"max_stars_repo_path": "c#/rmdupdir/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6493"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace rmdupdir
{
class Program
{
static System.Collections.Specialized.StringCollection log = new System.Collections.Specialized.StringCollection();
static List<System.IO.FileInfo> list = new List<System.IO.... | 3.150546 | 3822694af591d1b866c51ccbf0d46c95 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6493 | {
"extension": "c-sharp",
"max_stars_count": "353.0",
"max_stars_repo_name": "danielmorris2014/Procurement",
"max_stars_repo_path": "POEApi.Model/EssenceType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6494"
} | starcoder | <reponame>danielmorris2014/Procurement<gh_stars>100-1000
namespace POEApi.Model
{
public enum EssenceType
{
WhisperingGreed,
WhisperingContempt,
WhisperingHatred,
WhisperingWoe,
MutteringGreed,
MutteringContempt,
MutteringHatred,
MutteringWoe,
... | 1.726346 | 19ab84550b78d925cb8a8e927b1b7978 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6494 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "haf/NodaTime",
"max_stars_repo_path": "src/NodaTime/Delegates.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6495"
} | starcoder | <gh_stars>1-10
#region Copyright and license information
// Copyright 2001-2009 <NAME>
// Copyright 2009-2011 <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
//
// h... | 2.506365 | e1ec47e27a4d8a7b0e121422c4d7183d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6495 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jvstech/Veloxorede",
"max_stars_repo_path": "Veloxorede/TextType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6496"
} | starcoder | <filename>Veloxorede/TextType.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Veloxorede
{
public enum TextType
{
Word,
Space
}
}
| 1.561241 | fed957e250e85530cb9a63345277ae36 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6496 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robholden/Snow-Capture",
"max_stars_repo_path": "Backend/Libraries/Library.Service/PubSub/ContentPubSub.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6497"
} | starcoder |
using MassTransit;
using MassTransit.ExtensionsDependencyInjectionIntegration;
using Microsoft.Extensions.DependencyInjection;
namespace Library.Service.PubSub;
public record DeleteReportedPictureRq(Guid PictureId, bool SendEmail);
public interface IContentPubSub
{
Task DeleteReportedPicture(DeleteReportedPic... | 1.570268 | 324d49919be49eba8cf06a4a2958ee46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6497 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrprint/SBuilderXX",
"max_stars_repo_path": "frmStart.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6498"
} | starcoder | using FSUIPC;
using Microsoft.Win32;
using ScruffyDuck.Flightsim.Scenery.SceneryFile;
using System;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.Globalization;
using System.IO;
using System.Media;
using System.Threading;
using System.Windows.Forms;
namespace SBuilderXX
{
... | 1.201459 | a1c1d512c6ca9220aeefa16213a1cf8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6498 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TechnologyEnhancedLearning/DLSV2",
"max_stars_repo_path": "DigitalLearningSolutions.Web/Views/Frameworks/Developer/Competency.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6499"
} | starcoder | @using DigitalLearningSolutions.Web.ViewModels.Frameworks;
@model FrameworkCompetencyViewModel;
@{
ViewData["Title"] = "Competency";
ViewData["Application"] = "Framework Service";
}
<link rel="stylesheet" href="@Url.Content("~/css/frameworks/frameworksShared.css")" asp-append-version="true">
<link rel="stylesheet"... | 1.775097 | 1d413e82994bc07f2ded2902f4ad2524 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6499 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "atanasovMartin/TeamProject-SoftUni",
"max_stars_repo_path": "CodeIt/Models/CommentOnGuest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6500"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
namespace CodeIt.Models
{
//Model for Comment on Guest Paste used to store in DATABASE
public class CommentOnGuest
{
public CommentOnGuest()
{
this.TimeCreated = DateTime.Now;
}
[Key]
public int... | 2.592556 | 1a31dbf48a5f7a4626f1c62ceb573f25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6500 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "keijiro/Furball",
"max_stars_repo_path": "Assets/Kvant/Tunnel/Editor/TunnelEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6501"
} | starcoder | //
// Custom editor for Tunnel
//
using UnityEngine;
using UnityEditor;
namespace Kvant
{
[CanEditMultipleObjects]
[CustomEditor(typeof(Tunnel))]
public class TunnelEditor : Editor
{
SerializedProperty _slices;
SerializedProperty _stacks;
SerializedProperty _radius;
Ser... | 1.814659 | 419f654dd90af32e482290cfdc782cdb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6501 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TimHannMSFT/roslyn-analyzers",
"max_stars_repo_path": "src/NetAnalyzers/Core/Microsoft.CodeQuality.Analyzers/ApiDesignGuidelines/EquatableAnalyzer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6502"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Linq;
using Analyzer.Utilities;
using Analyzer.Utilities.Extensions;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalys... | 1.787662 | 6680cc6c61ec34150c83990fb7662fe4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6502 | {
"extension": "c-sharp",
"max_stars_count": "57.0",
"max_stars_repo_name": "RustamGulamov/Avalonia",
"max_stars_repo_path": "Wpf.UnitTests/DependencyPropertyTests_Register.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6503"
} | starcoder | namespace Avalonia.UnitTests
{
#if TEST_WPF
using System.Windows;
#endif
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
#if TEST_WPF
public class Wpf_DependencyPropertyTests_Register
#else
public class DependencyPropertyTests_Register
#endif
{
[T... | 2.297966 | 5d8d1595837561b6d699f1b132e48aad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6503 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "etbyrd/roslyn",
"max_stars_repo_path": "src/Interactive/EditorFeatures/Core/Extensibility/Interactive/InteractiveEvaluatorResetOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6504"
} | 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.
extern alias Scripting;
namespace Microsoft.CodeAnalysis.Editor.Interactive
{
internal sealed class InteractiveEvaluatorResetOptions
{
public... | 1.581408 | e50fc54e6b6e20c3e18ddddf202f8dad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6504 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NathanielACollier/RoslynPad",
"max_stars_repo_path": "src/RoslynPad.Hosting/AsyncPump.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6505"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
namespace RoslynPad.Hosting
{
/// <summary>Provides a pump that supports running asynchronous methods on the current thread.</summary>
internal static class AsyncPump
{
/// <summary>Runs the sp... | 2.991795 | 2ea74deca28957628332ef71ccc6d574 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6505 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "commodus/kofti",
"max_stars_repo_path": "examples/Kofti.Example/Controllers/ValuesController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6506"
} | starcoder | <gh_stars>1-10
using Kofti.Services;
using Microsoft.AspNetCore.Mvc;
namespace Kofti.Example.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class ValuesController : ControllerBase
{
private readonly IConfigService _configService;
public ValuesController(IConfigServic... | 2.270171 | f7e773cb6b723ba175dd8a1ac8a3d9a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6506 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Profi-Concept/VSE-FormatDocumentOnSave",
"max_stars_repo_path": "src/Elders.VSE-FormatDocumentOnSave/AllowDenyDocumentFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6507"
} | starcoder | <reponame>Profi-Concept/VSE-FormatDocumentOnSave
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using EnvDTE;
namespace Elders.VSE_FormatDocumentOnSave
{
public class AllowDenyDocumentFilter : IDocumentFilter
{
private readonly Func<Document, bool> isAl... | 2.560875 | a57c629bc698216eda1eac7cafcd3d38 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6507 | {
"extension": "c-sharp",
"max_stars_count": "166.0",
"max_stars_repo_name": "dot-nethub/CurlSharp",
"max_stars_repo_path": "CurlSharp/Enums/CurlShareCode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6508"
} | starcoder | namespace CurlSharp
{
/// <summary>
/// Contains return codes from many of the functions in the
/// <see cref="CurlShare" /> class.
/// </summary>
public enum CurlShareCode
{
/// <summary>
/// The function succeeded.
/// </summary>
Ok = 0,
///... | 2.77268 | d632881315c053335bad76424f300b1d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6508 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "T3rrabyte/RimWorld-Prepare-Thoughtlessly",
"max_stars_repo_path": "Source/PrepareModerately/Settings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6509"
} | starcoder | <reponame>T3rrabyte/RimWorld-Prepare-Thoughtlessly
using Verse;
namespace PrepareModerately {
public class Settings : ModSettings {
public int rollMultiplier;
public int rollModulus;
public Settings() {
this.rollMultiplier = 1;
this.rollModulus = 1;
}
public override void ExposeData() {
Scribe_V... | 2.015751 | 30355d783836b1112bf66631d6b70a28 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6509 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dawidsug/Dietitians",
"max_stars_repo_path": "Persistence/VisitsSeed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6510"
} | starcoder | <reponame>dawidsug/Dietitians<filename>Persistence/VisitsSeed.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Domain;
namespace Persistence
{
public class VisitsSeed
{
public static async Task SeedData(DataContext context)
{
... | 2.622451 | cd69d787077355c8b123d8f18a3774cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6510 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pjcollins/xamarin-macios",
"max_stars_repo_path": "msbuild/tests/Xamarin.iOS.Tasks.Tests/ProjectsTests/Extensions/ExtensionTestBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6511"
} | starcoder | <filename>msbuild/tests/Xamarin.iOS.Tasks.Tests/ProjectsTests/Extensions/ExtensionTestBase.cs
using System.IO;
using System.Linq;
using NUnit.Framework;
namespace Xamarin.iOS.Tasks
{
public class ExtensionTestBase : TestBase {
public string BundlePath;
public string Platform;
public ExtensionTestBase () { }
... | 2.034408 | d64041e751bfe0d22ff078f48fdd5e82 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6511 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "niubilitydotnet/DbContextScope",
"max_stars_repo_path": "DbContextScopeFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6512"
} | starcoder | /*
* Copyright (C) 2014 <NAME>
* http://mehdi.me
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
using System.Data;
using Microsoft.Extensions.Logging;
namespace EntityFrameworkCore.DbContextScope;
public class DbContextScopeFactory... | 2.11978 | c918778707889ae2a7fae0b068fd1784 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6512 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kenin177/Prueba",
"max_stars_repo_path": "RRHHPlanilla/RRHHPlanilla/Transacciones/Anticipo/RprtAnticipos.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6513"
} | starcoder | <reponame>kenin177/Prueba
using RRHH.BL;
using RRHHPlanilla.Transacciones.Anticipo;
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 RRHHPlanil... | 1.890491 | a6dc0418142129d229395a8728851323 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6513 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanielEverland/project-tuba-public",
"max_stars_repo_path": "Assets/Scripts/ScriptableObject-Architecture Extensions/Events/Listeners/RoomDataGameEventListener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6514"
} | starcoder | <filename>Assets/Scripts/ScriptableObject-Architecture Extensions/Events/Listeners/RoomDataGameEventListener.cs
using UnityEngine;
public sealed class RoomDataGameEventListener : BaseGameEventListener<RoomData, RoomDataGameEvent, RoomDataUnityEvent>
{
} | 1.425998 | 7d937a19a0683e878eda4e4134357b52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6514 | {
"extension": "c-sharp",
"max_stars_count": "622.0",
"max_stars_repo_name": "raiden-e/platyPS",
"max_stars_repo_path": "src/Markdown.MAML/Renderer/RenderCleaner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6515"
} | starcoder | <filename>src/Markdown.MAML/Renderer/RenderCleaner.cs
using System.Text.RegularExpressions;
namespace Markdown.MAML.Renderer
{
internal static class RenderCleaner
{
/// <summary>
/// This method runs all of the normalization tools in the cleaner. This allows full normalization without needing ... | 3.256139 | 235d61f7c590a65ec00d5ed3f0432cdc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6515 | {
"extension": "c-sharp",
"max_stars_count": "606.0",
"max_stars_repo_name": "kaiquecruz/google-analytics-plugin",
"max_stars_repo_path": "wp8/PlatformInfoProvider.WP.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6516"
} | starcoder | // PlatformInfoProvider.WP.cs
using GoogleAnalytics.Core;
using System;
using System.IO.IsolatedStorage;
using System.Threading.Tasks;
using System.Windows;
namespace UniversalAnalyticsPlugin
{
public sealed class PlatformInfoProvider : IPlatformInfoProvider
{
const string Key_AnonymousClientId = "Go... | 2.112787 | b199259ed2aa3ac3bdaa84e4fe7e8519 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6516 | {
"extension": "c-sharp",
"max_stars_count": "421.0",
"max_stars_repo_name": "hamarb123/dotnet-api-docs",
"max_stars_repo_path": "samples/snippets/csharp/VS_Snippets_Remoting/Classic XmlElementAttribute Example/CS/source.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6517"
} | starcoder | <reponame>hamarb123/dotnet-api-docs<gh_stars>100-1000
// <Snippet1>
using System;
using System.Collections;
using System.IO;
using System.Xml.Serialization;
public class Group
{
/* Set the element name and namespace of the XML element.
By applying an XmlElementAttribute to an array, you instruct
t... | 3.239023 | 272ed39c595cf7c6c09a79f6d2675a60 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6517 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "charla-n/ManahostManager",
"max_stars_repo_path": "ManahostManager.Domain/Repository/ServiceRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6518"
} | starcoder | <gh_stars>1-10
using ManahostManager.Domain.DAL;
using ManahostManager.Domain.Entity;
namespace ManahostManager.Domain.Repository
{
public interface IServiceRepository : IAbstractRepository<Service>
{
}
public class ServiceRepository : AbstractRepository<Service>, IServiceRepository
{
pub... | 1.651091 | 74c77a64899dcb4b7e2bca24c02b84b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6518 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lykkecloud/MT",
"max_stars_repo_path": "src/MarginTrading.Backend.Services/Events/OrderUpdateBaseEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6519"
} | starcoder | // Copyright (c) 2019 Lykke Corp.
// See the LICENSE file in the project root for more information.
using System;
using JetBrains.Annotations;
using MarginTrading.Backend.Core.Orders;
using MarginTrading.Backend.Core.Trading;
namespace MarginTrading.Backend.Services.Events
{
public abstract class OrderUpdateBase... | 1.575141 | 46cb6845b23dbe42fdc321bfe065a9f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6519 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tofanpetru/CarSharing",
"max_stars_repo_path": "BE/src/Presentation/Views/Account/Register.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6520"
} | starcoder | @using Domain.Entities
@using Domain.Enums
@model UserRegistrationDTO
@{
ViewData["Title"] = "Register";
}
<div class="container-fluid p-0 h-100 ">
<div class="row justify-content-center h-100 ">
<div class="col-5 bg-primary" align="center">
<img src="~/Media/Images/Common/site_logo.png" ... | 2.240272 | fbc277a09df3498777571b008859e168 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6520 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sahyas/c_programming",
"max_stars_repo_path": "Project1/Project1/Project1/Logika/Vector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6521"
} | starcoder | <reponame>Sahyas/c_programming<filename>Project1/Project1/Project1/Logika/Vector.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Logika
{
public struct Vector2
{
public static readonly Vector2 Zero = new Vector2(0, 0);
public static readonly Vector2 One = new Ve... | 3.474459 | d1d9687591e39e56e5bb79d96d76eccb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6521 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryanheath/ravendb",
"max_stars_repo_path": "ToMigrate/Raven.Database/Plugins/IAlterConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6522"
} | starcoder | <reponame>ryanheath/ravendb
using System.ComponentModel.Composition;
using Raven.Database.Config;
namespace Raven.Database.Plugins
{
[InheritedExport]
public interface IAlterConfiguration
{
void AlterConfiguration(RavenConfiguration configuration);
}
}
| 1.238896 | 833c2359402707e162fe6883916b9e6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6522 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmyers87/TT_Samples",
"max_stars_repo_path": "TT_REST_API/FillDownload/csharp/FillDownload/FillDownloadThread.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6523"
} | starcoder | /*
Copyright © 2018-2019 Trading Technologies International, Inc. All Rights Reserved Worldwide
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyrig... | 2.366088 | fe339dd20bb257fe0bdb2cc0b2eca218 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6523 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jacodv/CoreDocker",
"max_stars_repo_path": "src/CoreDocker.Dal/Models/Users/Role.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6524"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using CoreDocker.Dal.Models.Auth;
namespace CoreDocker.Dal.Models.Users
{
public class Role
{
public string Name { get; set; }
public List<Activity> Activities { get; set; }
}
} | 1.251746 | 90ae25baca6c0aed4d32e48c1c397655 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6524 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "ScriptBox99/msgraph-beta-sdk-dotnet",
"max_stars_repo_path": "src/Microsoft.Graph/Generated/requests/DocumentRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6525"
} | starcoder | // ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 2.025941 | 0527cb36f7f346581797a0a8e808841d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6525 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "dskprt/nylium",
"max_stars_repo_path": "Starfield.Core/Item/Items/ItemGrayGlazedTerracotta.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6526"
} | starcoder | // FILE AUTOGENERATED. DO NOT MODIFY
namespace Starfield.Core.Item.Items {
[Item("minecraft:gray_glazed_terracotta", 455, 64, 533)]
public class ItemGrayGlazedTerracotta : BlockItem { }
} | 1.379903 | da501c718624236fd4da1911a29920a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6526 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "HakanL/animatroller",
"max_stars_repo_path": "Animatroller/src/SceneRunner/SendControls/LightSendControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6527"
} | starcoder | using System;
using Animatroller.AdminMessage;
using Animatroller.Framework;
namespace Animatroller.SceneRunner.SendControls
{
public class LightSendControl : Framework.PhysicalDevice.BaseStrobeLight, ISendControl
{
private bool performUpdate;
private readonly Action updateAvailable;
p... | 2.273346 | c6a064e1e5911ea78cd6e84c71da1ae7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6527 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BorislavVladimirov/C-Software-University",
"max_stars_repo_path": "C# TechModule January 2019/Intro and Basic Syntax/PadawanEquipment/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6528"
} | starcoder | <reponame>BorislavVladimirov/C-Software-University
using System;
namespace PadawanEquipment
{
class Program
{
static void Main(string[] args)
{
double amountOfMoney = double.Parse(Console.ReadLine());
int studentsCount = int.Parse(Console.ReadLine());
double... | 3.427465 | 26c89234c5f40393988976eb2fff1db9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6528 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "liquidboy/ImGui.NET",
"max_stars_repo_path": "src/ImGui.NET.SampleProgram.XNA/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6529"
} | starcoder | namespace ImGuiNET.SampleProgram.XNA
{
public static class Program
{
public static void Main(string[] args)
{
new SampleGame().Run();
}
}
} | 1.467084 | efecfbdc3125bace49f1682c41a6d60e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6529 | {
"extension": "c-sharp",
"max_stars_count": "490.0",
"max_stars_repo_name": "sgryphon/JsonApiDotNetCore",
"max_stars_repo_path": "src/JsonApiDotNetCore/Repositories/DbContextResolver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6530"
} | starcoder | <reponame>sgryphon/JsonApiDotNetCore<filename>src/JsonApiDotNetCore/Repositories/DbContextResolver.cs<gh_stars>100-1000
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore;
namespace JsonApiDotNetCore.Repositories
{
/// <inheritdoc />
[PublicAPI]
public sealed class DbContextResolver<TDbContex... | 2.151837 | eb2a5d511c7c0f02f136c74d668882c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6530 | {
"extension": "c-sharp",
"max_stars_count": "68.0",
"max_stars_repo_name": "NtreevSoft/Crema",
"max_stars_repo_path": "server/Ntreev.Crema.Services.Test/DispatcherTest/IDomain_DispatcherTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6531"
} | starcoder | //Released under the MIT License.
//
//Copyright (c) 2018 Ntreev Soft co., Ltd.
//
//Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
//documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
//rig... | 1.631475 | 8bf0e2758aaff8c84bee9b93a944afb2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6531 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "AnErrupTion/Sartox-OS",
"max_stars_repo_path": "SartoxOS/Utils/Font.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6532"
} | starcoder | using System.Collections.Generic;
namespace SartoxOS.Utils
{
public class Font
{
private readonly RawStream RawFile;
// header:
// magic number: CFF - Custom Font File
// Font name : string
// font style : byte
// font size : short
// charc... | 2.822309 | a8b8c9dbf3b257b1afa258b7d9d3f013 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6532 | {
"extension": "c-sharp",
"max_stars_count": "700.0",
"max_stars_repo_name": "leolplex/WireMock.Net",
"max_stars_repo_path": "src/WireMock.Net/Exceptions/WireMockException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6533"
} | starcoder | using System;
namespace WireMock.Exceptions
{
/// <summary>
/// WireMockException
/// </summary>
/// <seealso cref="Exception" />
public class WireMockException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="WireMockException"/> class.
/// ... | 2.833106 | 7c5e6cd80a91200d0d7e750ef8768e4b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6533 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mikhail-khalizev/max",
"max_stars_repo_path": "source/MikhailKhalizev.Max/source/Program/Auto/z-1011-e78d.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6534"
} | starcoder | using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x1011_e78d-7785a015")]
public void Method_1011_e78d()
{
ii(0x1011_e78d, 5); push(0x30); ... | 1.690661 | b59786629769ed4e6a6aba6e02a478d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6534 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SOLIDSoftworks/Solid.AspNetCore.Extensions.Wcf",
"max_stars_repo_path": "Solid.AspNetCore.Extensions.Wcf/ServiceModel/Channels/AsyncReplyChannelListenerBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6535"
} | starcoder | //using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.ServiceModel;
//using System.ServiceModel.Channels;
//using System.Text;
//using System.Threading.Tasks;
//namespace Solid.AspNetCore.Extensions.Wcf.Channels
//{
// internal abstract class AsyncReplyChannelListenerBase : AsyncC... | 1.9537 | ebdf35182c2d5fbf3bb0ba7ba51207d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6535 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marosicsaba91/MarosiUtility",
"max_stars_repo_path": "Runtime/EventTransmission/Trigger3DEventTransmitter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6536"
} | starcoder | <filename>Runtime/EventTransmission/Trigger3DEventTransmitter.cs
using UnityEngine;
namespace Utility.EventTransmission
{
public class Trigger3DEventTransmitter : MonoBehaviour
{
public delegate void TriggerEvent(Trigger3DEventTransmitter transmitter, Collider collider);
public event ... | 2.318873 | 1571b370414b55f9c6096018b53cbce6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6536 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "cmcquillan/SMTPileIt",
"max_stars_repo_path": "src/SmtpPilot.WebHooks/SmtpPilotWebHookExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6537"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using SmtpPilot.Server;
using SmtpPilot.Server.Conversation;
using SmtpPilot.WebHooks.Models;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespac... | 2.294483 | 0ebb3e316245657f99c2709da3e9b448 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.