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 | 68505 | {
"extension": "c-sharp",
"max_stars_count": "1122.0",
"max_stars_repo_name": "4ngelica/HackerRank",
"max_stars_repo_path": "Algorithms/Implementation/Designer PDF Viewer/Solution.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68506"
} | starcoder | /*
Problem: https://www.hackerrank.com/challenges/designer-pdf-viewer/problem
C# Language Version: 6.0
.Net Framework Version: 4.5.2
Thoughts :
1. Put height of each alphabet in a dictionary. Let the dictionary be alphabetHeight.
2. Obtain the maximum height of all the alphabets present in input word. Let it be m... | 3.441242 | ce610480fc1bfcdd3e9c0644d1da815c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68506 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gatalyak/EPlast",
"max_stars_repo_path": "EPlast/EPlast.BLL/DTO/Events/EventInfoDTO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68507"
} | starcoder | <filename>EPlast/EPlast.BLL/DTO/Events/EventInfoDTO.cs
using System.Collections.Generic;
namespace EPlast.BLL.DTO.Events
{
public class EventInfoDTO
{
public int EventId { get; set; }
public string EventName { get; set; }
public string Description { get; set; }
public string Ev... | 2.000702 | ffd5787052cf4310b4c139792ef84ff5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68507 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "PaintLab/SaveAsPdf",
"max_stars_repo_path": "src/FoDom/Fo/Flow/PageNumberCitation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68508"
} | starcoder | //Apache2, 2017, WinterDev
//Apache2, 2009, griffm, FO.NET
namespace Fonet.Fo.Flow
{
using Fonet.DataTypes;
using Fonet.Fo.Properties;
using Fonet.Layout;
internal class PageNumberCitation : FObj
{
public static FObjMaker<PageNumberCitation> GetMaker()
{
return new FObj... | 1.990314 | 9fecfcac52697b1d2fe1aeb53ad33b7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68508 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hellocrex/KuCoinApi",
"max_stars_repo_path": "PoissonSoft.KucoinApi/PrivateChannelWs/PrivateChannel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68509"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace PoissonSoft.KuCoinApi.PrivateChannelWs
{
/// <summary>
/// Этот класс выполняет подключение к веб-сокетам и предоставляет частную информацию по аккаунту:
/// Private Order Change Events
/// Account Balance Notice
/// Debt... | 1.735814 | 1f7c765f2ee5ed7c289efcd1b4b3c21a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68509 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ben-gibbons-github/SpaceTowerDefense",
"max_stars_repo_path": "Code/Engine/Game/Values/Texture2DValue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68510"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
#if EDITOR && WINDOWS
using BadRabbit.Carrot.ValueForms;
#endif
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System.IO;
namespace BadRabbit.Carrot
{
public class Texture2DValue : Valu... | 2.46835 | bc88d04695eb896f245adcca1a13918f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68510 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cernymichal/debie",
"max_stars_repo_path": "Services/Repositories/DB/ArticleRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68511"
} | starcoder | <reponame>cernymichal/debie
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Debie.Models.DB;
namespace Debie.Services.Repositories.DB {
public class ArticleRepository : DBRepository<Article>, IArticleRepository {
public ArticleRepository(DebieDBContext conte... | 2.454409 | d65fb468139be0d85e971bebdadec67e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68511 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Useurmind/ModuleInject",
"max_stars_repo_path": "test/Test.ModuleInject.Performance/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68512"
} | starcoder | using ModuleInject.Interfaces;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace Test.Performance.ModuleInject
{
class Program
{
static void Main(string[] args)
{
TestModuleType<TestInjectionModuleV2>();
Tes... | 2.411549 | f962445aa90fc9fcb4917710614e474d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68512 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheKrush/JiraRestClient",
"max_stars_repo_path": "TechTalk.JiraRestClient/Dto/Resolution.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68513"
} | starcoder | <gh_stars>0
using System.Diagnostics.CodeAnalysis;
namespace TechTalk.JiraRestClient.Dto
{
[SuppressMessage("ReSharper", "ClassNeverInstantiated.Global")]
[SuppressMessage("ReSharper", "InconsistentNaming")]
public class Resolution
{
public string self { get; set; }
public string id { ... | 1.077596 | d6f8e4b31749fa11ec41af1daa812a18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68513 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lauxjpn/EntityFrameworkCore.Jet",
"max_stars_repo_path": "test/EFCore.Jet.FunctionalTests/Issue305Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68514"
} | starcoder | <filename>test/EFCore.Jet.FunctionalTests/Issue305Test.cs
using System;
using System.Data.Jet;
using EntityFrameworkCore.Jet;
using Microsoft.EntityFrameworkCore;
using Xunit;
namespace EntityFramework.Jet.FunctionalTests
{
public class Issue305Test
{
[Fact]
public void Issue305_Test()
... | 2.34821 | 0852356279eebf1fc5983888880d8f49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68514 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jonnyzzz/phd-project",
"max_stars_repo_path": "dsis/src/Scheme.Impl.Tests/src/Actions/Files/GraphEntropyLogAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68515"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using DSIS.Core.Coordinates;
using DSIS.Graph;
using DSIS.Scheme.Ctx;
using DSIS.Utils;
namespace DSIS.Scheme.Impl.Actions.Files
{
public class GraphEntropyLogAction : IntegerCoordinateSystemActionB... | 2.231561 | 5741283bb4a709d650b1487c238ca98f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68515 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khanhly-dev/DotNetZero",
"max_stars_repo_path": "aspnet-core/src/MyProject.Application/City/Dto/CityDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68516"
} | starcoder | using Abp.AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyProject.City.Dto
{
[AutoMap(typeof(CityEntity))]
public class CityDto
{
public int Id { get; set; }
public string Name { get; set; }
}
}... | 1.761316 | 739158907ee6a59ecc3fff844b1096c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68516 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IvanPashchenko/resharper-unity",
"max_stars_repo_path": "apiParser/src/ApiParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68517"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Xml;
using JetBrains.Annotations;
using JetBrains.Util;
namespace ApiParser
{
public class ApiParser
{
// "Namespace:" is only used in 5.0
private static readon... | 2.508524 | ee936753093abf3a6e442b83f37f0744 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68517 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "walkeryan/EncompassRest",
"max_stars_repo_path": "src/EncompassRest/Loans/DocumentOrderLog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68518"
} | starcoder | <reponame>walkeryan/EncompassRest
using System;
using System.Collections.Generic;
namespace EncompassRest.Loans
{
/// <summary>
/// DocumentOrderLog
/// </summary>
public sealed partial class DocumentOrderLog : DirtyExtensibleObject, IIdentifiable
{
private DirtyValue<DateTime?> _dateFilesP... | 1.846322 | 60f1a2dd46a33339b26ee3f5b3f6fe4c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68518 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "mjsabby/ClangSharp",
"max_stars_repo_path": "sources/ClangSharp/Cursors/Exprs/CXXFoldExpr.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68519"
} | starcoder | // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information.
using System;
using ClangSharp.Interop;
namespace ClangSharp
{
public sealed class CXXFoldExpr : Expr
{
pri... | 2.05137 | cbd05b925484e4c647857b61bcd85d2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68519 | {
"extension": "c-sharp",
"max_stars_count": "635.0",
"max_stars_repo_name": "venkatesh0572/project-system",
"max_stars_repo_path": "src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/Query/PropertyPages/PropertyValueProviderState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68520"
} | starcoder | <reponame>venkatesh0572/project-system<filename>src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/Query/PropertyPages/PropertyValueProviderState.cs<gh_stars>100-1000
// Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. ... | 1.815853 | b10a8ef6292a0b3d42e7492c0781be7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68520 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "grecosoft/NetFusion",
"max_stars_repo_path": "netfusion/src/Web/NetFusion.Rest.Common/RelationTypes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68521"
} | starcoder | namespace NetFusion.Rest.Common
{
/// <summary>
/// Common Resource Relation Types.
/// </summary>
public static class RelationTypes
{
public static class Editing
{
/// <summary>
/// The target IRI points to a resource where a submission form can be obtained.... | 2.616691 | 9d588ffc90a9570feb95b9edf0bf2b46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68521 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tagolog/logging",
"max_stars_repo_path": "Src/Tagolog/Private/CustomDictionary/DictionaryChangedEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68522"
} | starcoder | <filename>Src/Tagolog/Private/CustomDictionary/DictionaryChangedEventArgs.cs
using System;
namespace Tagolog.Private.CustomDictionary
{
class DictionaryChangedEventArgs<TKey, TValue> : EventArgs
{
public DictionaryChangedEventArgs( TKey key )
{
Key = key;
}
public ... | 2.673847 | f58b86d75dedbed56bfc6f31590464a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68522 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Assiance/AltQuery",
"max_stars_repo_path": "src/AltQuery/Services/Interfaces/IAltQueryProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68523"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Threading.Tasks;
using AltQuery.Models.Configuration;
using AltQuery.Models.Search;
namespace AltQuery.Services.Interfaces
{
public interface IAltQueryProcessor
{
Task<IEnumerable<T>> ApplyAsync<T>(string ... | 1.752605 | 7b9abb26e0cf27eff3c8b9b7f3189646 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68523 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cihatsolak/ShopApp",
"max_stars_repo_path": "ShopApp.WebUI/Models/Accounts/RegisterModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68524"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace ShopApp.WebUI.Models.Accounts
{
public class RegisterModel : AccountModel
{
public string FullName { get; set; }
[DataType(DataType.Password)]
public string RePassword { get; set; }
[DataType(DataType.EmailAddress)]
... | 2.073619 | 36876073a558de031fb4d0a89dfac7fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68524 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rvgg/CEEvents",
"max_stars_repo_path": "Brothel/CEBrothelBehavior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68525"
} | starcoder | #define V170
using CaptivityEvents.CampaignBehaviors;
using CaptivityEvents.Config;
using CaptivityEvents.Custom;
using CaptivityEvents.Events;
using CaptivityEvents.Helper;
using Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using TaleWorlds.CampaignSystem;
using ... | 1.707403 | e9d44e02862ed4ccdc55ad4084ee1d4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68525 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "netcode-gamer/game.ultimaonline.io",
"max_stars_repo_path": "UltimaOnline.Data/Context Menus/EatEntry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68526"
} | starcoder | using System;
using UltimaOnline.Items;
namespace UltimaOnline.ContextMenus
{
public class EatEntry : ContextMenuEntry
{
private Mobile m_From;
private Food m_Food;
public EatEntry(Mobile from, Food food) : base(6135, 1)
{
m_From = from;
m_F... | 2.495733 | 5a7ec5fa0e0ef9f2692f5ced7e072d33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68526 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "13750573877/DesignPattern",
"max_stars_repo_path": "DesignPattern/Adapter/ITwoHoleTarget.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68527"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Adapter
{
/// <summary>
/// 我家只有2个孔的插座,也就是适配器模式中的目标角色(Target),这里只能是接口,也是类适配器的限制
/// </summary>
public interface ITwoHoleTarget
{
void Request();
}
}
| 2.411694 | 6a6e71b5a6b2b16b4e13ea8b52007d8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68527 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gitViwe/CleanArchitecture",
"max_stars_repo_path": "CleanArchitecture/Shared/Wrapper/IResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68528"
} | starcoder | <reponame>gitViwe/CleanArchitecture
namespace Shared.Wrapper
{
/// <summary>
/// A Unified return type for the WebAPI
/// </summary>
public interface IResult
{
/// <summary>
/// The response messages
/// </summary>
List<string> Messages { get; set; }
/// <su... | 2.068639 | e28cdcbd13efa580c236fba6106070c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68528 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "violet-guru/Kynodontas",
"max_stars_repo_path": "Kynodontas.Basic/PageManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68529"
} | starcoder | <reponame>violet-guru/Kynodontas
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kynodontas.Basic
{
public class PageManager
{
public string AppFolder = @"D:\Users\Hugo\Source\Repos\Kynodontas\Booking1";
... | 2.734788 | 1597d9f1df7171ee72065025339cb1da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68529 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "kendaleiv/zendesk-ticket-exporter",
"max_stars_repo_path": "src/ZendeskTicketExporter.Core/IWait.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68530"
} | starcoder | using System;
using System.Threading.Tasks;
namespace ZendeskTicketExporter.Core
{
public interface IWait
{
Task UntilAsync(DateTime waitUntil, DateTime? now = null);
}
} | 1.794119 | a7095f9a5f84a58c3513ab0604bf3441 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68530 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Sundhedsdatastyrelsen/Smittestop.Mobile",
"max_stars_repo_path": "NDB.Covid19/NDB.Covid19.Test/Tests/ExposureNotification/PullKeysTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68531"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Threading;
using CommonServiceLocator;
using NDB.Covid19.Enums;
using NDB.Covid19.ExposureNotifications.Helpers;
using NDB.Covid19.ExposureNotifications.Helpers.FetchExposureKeys;... | 1.885773 | a21142c16f3b8dfc7d116e07e45f367f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68531 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Jacob-Zhou/compile_theory_5",
"max_stars_repo_path": "compile_theory_5/Model/IRSystem/IRSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68532"
} | starcoder | using compile_theory_5.Model.IRSystem.IRViewModel;
using compile_theory_5.Model.IRSystem.IRInterpreter;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ICSharpCode.AvalonEdit;
using System.Windows.Controls;
namespace compile_theory_5.Model.IRSy... | 2.007383 | db488636ac341c9c95035ff27ca96eb9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68532 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KorzenGameDev/CSharpScripts",
"max_stars_repo_path": "EntityComponentSystem/Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/DeprecatedAPIStubs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68533"
} | starcoder | <reponame>KorzenGameDev/CSharpScripts
using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace Unity.Entities
{
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("ComponentDataArray is deprecated. Use IJobForEach or EntityQuery ToComponentDataArray/CopyFromComponentDataArra... | 1.79412 | 67d0542ce86014b59df2b657dd7338d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68533 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidjohnoliver/microsoft-authentication-library-for-dotnet",
"max_stars_repo_path": "src/client/Microsoft.Identity.Client/Instance/AuthorityEndpointResolutionManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68534"
} | starcoder | <reponame>davidjohnoliver/microsoft-authentication-library-for-dotnet<filename>src/client/Microsoft.Identity.Client/Instance/AuthorityEndpointResolutionManager.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Concurrent;
using Sys... | 1.830738 | 1a4a005fe80163b00929171522548028 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68534 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "cjburkey01/ProjectSurvive2",
"max_stars_repo_path": "ProjectSurvive/Assets/Script/Util/Pos.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68535"
} | starcoder | <gh_stars>1-10
using UnityEngine;
public struct Pos {
public static readonly Pos ZERO = new Pos(0, 0, 0);
public static readonly Pos ERROR = new Pos(int.MinValue, int.MinValue, int.MinValue);
public readonly int x;
public readonly int y;
public readonly int z;
public Pos(float x, float y, float z) : this(Mat... | 2.979762 | e35cc1ee2f5dfd2bd5b9b7734ca46ed5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68535 | {
"extension": "c-sharp",
"max_stars_count": "229.0",
"max_stars_repo_name": "ashkansirous/SimpleIdServer",
"max_stars_repo_path": "src/OAuth/SimpleIdServer.Common/Domains/UserExternalAuthProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68536"
} | starcoder | <reponame>ashkansirous/SimpleIdServer<gh_stars>100-1000
// Copyright (c) SimpleIdServer. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
namespace SimpleIdServer.Common.Domains
{
public class UserExternalAuthProvider : ... | 1.633983 | 1b80eca9f4cc1d8ca0ece6b5f8a4221d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68536 | {
"extension": "c-sharp",
"max_stars_count": "2036.0",
"max_stars_repo_name": "reduckted/BaGet",
"max_stars_repo_path": "src/BaGet.Web/Pages/Shared/_Layout.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:68537"
} | starcoder | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="BaGet">
<meta name="author" content="<NAME>">
<link rel="shortcut icon" href="~/_content/BaGet.Web/favicon.ico">
<link rel... | 1.920369 | 0cbb6d767db314ffe414781d5cc3d77f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68537 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "m4ndingo/MShell",
"max_stars_repo_path": "testsc/lsCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68538"
} | starcoder | <filename>testsc/lsCommand.cs
using System;
using System.IO;
namespace testsc
{
class lsCommand : CoreCommand
{
public override string Help(params string[] help_args)
{
return "List files in current directory. Flags: -l for extended info";
}
public overri... | 3.06726 | 61bf0b27af37f2bdf13dc1837f97c85e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68538 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Zwapgrid/Abp.Locking.Redis",
"max_stars_repo_path": "Abp.Locking.Redis/AbpRedisLockManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68539"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Abp.Extensions;
using RedLockNet.SERedis;
using RedLockNet.SERedis.Configuration;
using StackExchange.Redis;
namespace Abp.Locking.Redis
{
public class AbpRedisLockManager : ILockManager
{
priva... | 2.339815 | 5ccec43c6d25d9dbeee9f11062034d2b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68539 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "XerProjects/Xer.Cqrs.CommandStack.Extensions.Attributes",
"max_stars_repo_path": "Src/Xer.Cqrs.CommandStack.Extensions.Attributes/CommandHandlerAttributeMethod.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68540"
} | starcoder | <reponame>XerProjects/Xer.Cqrs.CommandStack.Extensions.Attributes
using System;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Xer.Delegator;
namespace Xer.Cqrs.CommandStack.Extensions.Attributes
{
/// <summary>
/// Represents a single method that is ma... | 2.943788 | 674dc1d62de32e8b7c10eade4636645b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68540 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "keeed/kwikoptions",
"max_stars_repo_path": "tests/KwikOptions.Tests/InMemoryFileProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68541"
} | starcoder | <reponame>keeed/kwikoptions
using System;
using System.IO;
using System.Text;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Primitives;
namespace KwikOptions.Tests
{
public class InMemoryFileProvider : IFileProvider
{
private class InMemoryFile : IFileInfo
{
p... | 2.236785 | e857b930cf752702e80c3cae9e0d6833 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68541 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "kip-dk/dynamics-plugin",
"max_stars_repo_path": "Kipon.Dynamics.Plugin/DI/ServiceFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68542"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kipon.Dynamics.Plugin.DI
{
public class ServiceFactory
{
private static ServiceFactory sf;
private static object l1 = new object();
private Dictionary<Type, T... | 2.51642 | 31c0e88ae9b1bb27d536bf4fdc72200b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68542 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kentico/content-management-sdk-net",
"max_stars_repo_path": "Kentico.Kontent.Management/Models/Subscription/SubscriptionUserProjectEnvironmentModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68543"
} | starcoder | <gh_stars>1-10
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace Kentico.Kontent.Management.Models.Subscription;
/// <summary>
/// Represents projects to which the user has been invited.
/// </summary>
public sealed class SubscriptionUserProjectEnvironmentModel
{
/// <summary>
... | 2.082821 | 466a0bbc4611518bbe9d6e75e118d9ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68543 | {
"extension": "c-sharp",
"max_stars_count": "744.0",
"max_stars_repo_name": "davidrevoledo/azure-webjobs-sdk",
"max_stars_repo_path": "src/Microsoft.Azure.WebJobs.Host/Bindings/Data/CompositeArgumentBindingProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68544"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Reflection;
namespace Microsoft.Azure.WebJobs.Host.Bindings.Data
{
internal class CompositeArgumentBindingProvider<... | 2.125627 | 01ddea9c4f3a5f8ec5fab1abc94c4f6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68544 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hsytkm/Roix",
"max_stars_repo_path": "samples/RoixApp.Wpf/Actions/CursorAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68545"
} | starcoder | <filename>samples/RoixApp.Wpf/Actions/CursorAction.cs
using Microsoft.Xaml.Behaviors;
using System;
using System.Windows;
using System.Windows.Input;
namespace RoixApp.Wpf.Actions
{
class CursorArrowAction : TriggerAction<FrameworkElement>
{
protected override void Invoke(object parameter)
{
... | 2.135602 | 325060b9db68d7d52e5f1271f6428b29 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68545 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "EranBE/SyslogNet",
"max_stars_repo_path": "SyslogNet.Client/Serialization/SyslogRfc3164MessageSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68546"
} | starcoder | using System;
using System.IO;
using System.Text;
namespace SyslogNet.Client.Serialization
{
public class SyslogRfc3164MessageSerializer : SyslogMessageSerializerBase, ISyslogMessageSerializer
{
public void Serialize(SyslogMessage message, Stream stream)
{
var priorityValue = CalculatePriorityValue... | 2.704268 | cf6adfc0a2eda7dcc06a142280a3522c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68546 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "devedse/ImageSharp",
"max_stars_repo_path": "tests/ImageSharp.Tests/Colorspaces/Companding/CompandingTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68547"
} | starcoder | // Copyright (c) <NAME>ors and contributors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Linq;
using System.Numerics;
using SixLabors.ImageSharp.ColorSpaces.Companding;
using Xunit;
namespace SixLabors.ImageSharp.Tests.Colorspaces.Companding
{
/// <summary>
/// Tests various... | 2.521206 | 8c8d3237a18cceca4fdf2694c41fc38f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68547 | {
"extension": "c-sharp",
"max_stars_count": "480.0",
"max_stars_repo_name": "ntovas/vstest",
"max_stars_repo_path": "src/Microsoft.TestPlatform.TestHostProvider/Properties/TestExtensionTypesAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68548"
} | starcoder | <reponame>ntovas/vstest<filename>src/Microsoft.TestPlatform.TestHostProvider/Properties/TestExtensionTypesAttribute.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
#nullable disable
na... | 1.832035 | 1846fe2a9487f821c125c8b240b7efbc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68548 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vitorbellotto/LoadProfileGenerator",
"max_stars_repo_path": "ChartCreator2/OxyCharts/DeviceTaggingSet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68549"
} | starcoder | <reponame>vitorbellotto/LoadProfileGenerator
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Linq;
using Automation;
using Automation.ResultFiles;
using Common;
using JetBrains.Annotations;
using OxyPlot;
using OxyPlot.Ann... | 1.766822 | 8a7fea430b1dab498034717ad731ada0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68549 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "v-chetsh/at-arm-test-local",
"max_stars_repo_path": "Source/Microsoft.Teams.Apps.NewHireOnboarding/Helpers/NotificationHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68550"
} | starcoder | // <copyright file="NotificationHelper.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace Microsoft.Teams.Apps.NewHireOnboarding.Helpers
{
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Localization;
... | 2.458992 | 59dd55a42d247f0c9bb93383fc2cb1c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68550 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "praveenOne/doodleJump_Unity",
"max_stars_repo_path": "DoodleJump/Assets/Scripts/PlatformRelated/SpringPlatform.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68551"
} | starcoder | using UnityEngine;
namespace praveen.one
{
public class SpringPlatform : Platform
{
#region member_variables
Animator m_Animator;
#endregion
public override void Start()
{
base.Start();
m_Animator = GetComponent<Animator>();
}
p... | 2.159449 | ff325fcdb0281fe4117567e517334177 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68551 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "InternLearnings/BlockchainSharp",
"max_stars_repo_path": "Src/BlockchainSharp.Tests/Core/BlockHeaderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68552"
} | starcoder | <gh_stars>10-100
namespace BlockchainSharp.Tests.Core
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using BlockchainSharp.Core;
using BlockchainSharp.Core.Types;
using Microsoft.VisualStudio.TestTools.UnitTesting;... | 2.356863 | 764ebacfc05301ee1a4c580b1ed03a1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68552 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "artiso-solutions/roboTXT",
"max_stars_repo_path": "RoboterApp/Components/ClampController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68553"
} | starcoder | <filename>RoboterApp/Components/ClampController.cs
using System;
using System.Reactive.Linq;
using System.Threading.Tasks;
using RoboticsTxt.Lib.Components.Sequencer;
using RoboticsTxt.Lib.Contracts;
namespace RoboterApp.Components
{
public class ClampController
{
private readonly MotorPositionControl... | 2.304898 | 8f71325c16324c8fc16b5c7a0e9fb2b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68553 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kumarnitin/ServiceStack.Redis",
"max_stars_repo_path": "tests/ServiceStack.Redis.Tests/TestConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68554"
} | starcoder | using ServiceStack.Common.Support;
using ServiceStack.Logging;
namespace ServiceStack.Redis.Tests
{
public static class TestConfig
{
static TestConfig()
{
LogManager.LogFactory = new InMemoryLogFactory();
}
public const bool IgnoreLongTests = true;
public const string SingleHost = "local... | 1.577043 | 1897df18d0cff419a87299ef395c2081 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68554 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ElderByte-/Archimedes.Patterns",
"max_stars_repo_path": "Archimedes.Patterns.Test/TestEnum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68555"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Archimedes.Patterns.Test
{
enum TestEnum
{
Entry1,
Entry2,
Entry3
}
}
| 1.355987 | 2745376ff8cf135326b574ea505d3a01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68555 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "eriksk/googlyeyes",
"max_stars_repo_path": "Assets/Demo/Scripts/LookAtCursor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68556"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LookAtCursor : MonoBehaviour
{
void Update()
{
var mousePosition = Input.mousePosition;
mousePosition.z = 10f;
var targetPosition = Camera.main.ScreenToWorldPoint(mousePosition);
target... | 2.239389 | 521c17b26422d327057907f100f249ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68556 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RCP161/WPF_MVVM_Example",
"max_stars_repo_path": "Company.DataAccess.Ef/EfContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68557"
} | starcoder | <filename>Company.DataAccess.Ef/EfContext.cs
using Company.Data.Enities;
using Company.Data.If;
using Company.DataAccess.If;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
... | 2.730556 | 0dc8c7ba121953ebf1713227fabb4751 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68557 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NightBladeStudios/Wox",
"max_stars_repo_path": "Wox/ViewModel/PluginViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68558"
} | starcoder | namespace Wox.ViewModel
{
using System.Windows;
using System.Windows.Media;
using Core.Resource;
using Image;
using Plugin;
public class PluginViewModel : BaseModel
{
public PluginPair PluginPair { get; set; }
public ImageSource Image => ImageLoader.Load(PluginPair.Metadat... | 1.717 | e18e37606c6af28b2483ec3ad35da9a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68558 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ezefranca/joyPen",
"max_stars_repo_path": "unity/kart/kart-aula-1/Assets/Karting/Scripts/AI/Editor/DebugCheckpointRayEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68559"
} | starcoder | <filename>unity/kart/kart-aula-1/Assets/Karting/Scripts/AI/Editor/DebugCheckpointRayEditor.cs<gh_stars>1-10
using UnityEditor;
using UnityEngine;
namespace KartGame.AI.EditorTools
{
/// <summary>
/// Draws a custom inspector and scene view to assist when editing colliders to train your agents.
/// ... | 2.40423 | 7504c3fa9e195b66a0f15ae77326aa14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68559 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "johnduckmanton/azure-powershell",
"max_stars_repo_path": "src/Synapse/Synapse/Models/PSDataset.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68560"
} | starcoder | <gh_stars>1-10
using Azure.Analytics.Synapse.Artifacts.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace Microsoft.Azure.Commands.Synapse.Models
{... | 2.237423 | 05ffe9d2669d72bdd1f8c7e4c8eed853 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68560 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emclient/bc-csharp",
"max_stars_repo_path": "crypto/src/util/Longs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68561"
} | starcoder | using System;
using Org.BouncyCastle.Math.Raw;
namespace Org.BouncyCastle.Utilities
{
public abstract class Longs
{
public const int NumBits = 64;
public const int NumBytes = 8;
public static long Reverse(long i)
{
i = (long)Bits.BitPermuteStepSimple((ulong)i, 0x5... | 2.876768 | dcba7f76993f002def57614e69a32c6f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68561 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "Phantom-Lily/space-station-14",
"max_stars_repo_path": "Content.Client/Commands/SetMenuVisibilityCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68562"
} | starcoder | <filename>Content.Client/Commands/SetMenuVisibilityCommand.cs<gh_stars>10-100
using Content.Client.Verbs;
using JetBrains.Annotations;
using Robust.Shared.Console;
using Robust.Shared.GameObjects;
namespace Content.Client.Commands
{
[UsedImplicitly]
internal sealed class SetMenuVisibilityCommand : IConsoleComm... | 2.826809 | 3e18db331ef4aa57f416403abb0db0a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68562 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rad9k/MinusZero",
"max_stars_repo_path": "m0/UIWpf/Visualisers/TableFastVisualiser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68563"
} | starcoder | <reponame>rad9k/MinusZero<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
using m0.Foundation;
using System.Windows.Data;
using m0.Graph;
using m0.UML;
using m0.ZeroTypes;
using m0.Util;
using System.Windows.Media;
using System.Windows;
u... | 1.815534 | 04fcf45f295987f8de293b37846c9840 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68563 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "Cimpress-MCP/TimberWinR",
"max_stars_repo_path": "TimberWinR/Inputs/WindowsEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68564"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Linq;
using Microsoft.SqlServer.Server;
namespace TimberWinR.Inputs
{
public class WindowsEvent : InputBase
{
public const string ParentTagName = "WindowsEvents";
public new const string TagName = "Event";
... | 2.212938 | 3a3bc0bf9d4d961b2f2c653a56d17414 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68564 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Adriel-Nicolau/PEWB_1819",
"max_stars_repo_path": "ResidualCenter/ResidualCenter/Models/ServiceRequestModel/ServiceRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68565"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace ResidualCenter.Models
{
public class ServiceRequest
{
public int ID { get; set; }
[Required]
... | 2.116208 | bb6f15d1fc9f5429eb8f987b60235427 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68565 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "romanov-is-here/orleans",
"max_stars_repo_path": "test/Grains/TestGrainInterfaces/Directories/ICommonDirectoryGrain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68566"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Orleans;
namespace UnitTests.GrainInterfaces.Directories
{
public interface ICommonDirectoryGrain : IGrainWithGuidKey
{
Task<int> Ping();
Task Reset();
Task<string> GetRuntimeInstanc... | 1.68894 | ea410cadffa062c1153b9267cccb8a88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68566 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "Steph55/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/D3D12DDI_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_0080_2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68567"
} | starcoder | // c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d3d12umddi.h(12915,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct D3D12DDI_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_0080_2
{
public D3D12... | 1.204685 | 089210820da148df23521aac315fee44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68567 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rflab/Automa",
"max_stars_repo_path": "Automa/InputDevice.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68568"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading;
using System.Windows.Forms;
namespace Automa
{
public class InputDevice
{
[StructLayout(LayoutKind.Sequential)]
private struct MOUSEINPUT
... | 2.289772 | ce51afacd9a8b4fdcfee90ce0896347e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68568 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "thopdev/THopFood",
"max_stars_repo_path": "ThopFood.API/Extensions/MapperExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68569"
} | starcoder | <reponame>thopdev/THopFood
using System.Collections.Generic;
using AutoMapper;
namespace ThopFood.API.Extensions
{
public static class MapperExtensions
{
public static IEnumerable<TOut> MapIEnumerable<TIn, TOut>(this IMapper mapper, List<TIn> input)
{
return mapper.Map<IEnumerable<... | 2.181982 | 98049ecfa407ca2f332f04c756930350 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68569 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "aalishov/School",
"max_stars_repo_path": "IT-Career-V3/Module 5 - OOP/E05-Polymorphism/P01-Animals/Cat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68570"
} | starcoder | <reponame>aalishov/School<filename>IT-Career-V3/Module 5 - OOP/E05-Polymorphism/P01-Animals/Cat.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace P01_Animals
{
public class Cat : Animal
{
public Cat(string name, string favouriteFood) : base(name, favouriteFood)
{
... | 3.072951 | 9f20b6367c08dc7003103d0e51d0657a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68570 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TsvetanMilanov/TelerikAcademyHW",
"max_stars_repo_path": "12_DataStructuresAndAlgorithms/04_HashTablesAndSets/HashTablesAndSets/HashSetImplementation/HashedSet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68571"
} | starcoder | namespace HashSetImplementation
{
using System;
using System.Collections;
using System.Collections.Generic;
using HashTableImplementation;
public class HashedSet<T> : IEnumerable<T> where T : IComparable<T>
{
private HashTable<int, T> values;
public HashedSet()
{
... | 3.569941 | 434360d92a9e9d2d8d467f5d5a7a715e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68571 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "gubanotorious/neo-sharp",
"max_stars_repo_path": "test/NeoSharp.Application.Test/Client/UtBootstrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68572"
} | starcoder | using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NeoSharp.Application.Client;
using NeoSharp.Core;
using NeoSharp.TestHelpers;
namespace NeoSharp.Application.Test.Client
{
[TestClass]
public class UtBootstrapper : TestBase
{
[TestMethod]
public void Ctor_Cr... | 2.164591 | c9249fbb7ebed4c01b6d57f3cf3ac33c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68572 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PavelRunchev/Programming-Fundamentals-2017",
"max_stars_repo_path": "Programming Fundamentals - Sep-2017/07.DataTypesAndVariables - Exercises/18.DifferentIntegersSize/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68573"
} | starcoder | <filename>Programming Fundamentals - Sep-2017/07.DataTypesAndVariables - Exercises/18.DifferentIntegersSize/Program.cs
using System;
using System.Collections.Generic;
namespace DifferentIntegersSize
{
class Program
{
static void Main()
{
List<string> dataTypes = new List<string>();... | 4.001774 | 27edd67e1690ab32399fd59808e0b56c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68573 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "matiias/MVC",
"max_stars_repo_path": "test/System.Web.Http.Test/Tracing/TestTraceWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68574"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Net.Http;
namespace System.Web.Http.Tracing
{
/// <summary>
/// Test spy used internally to capture <see cref="TraceRecord"/>s.
... | 2.237574 | 7affda8930d1b9b6069e9b5708e89129 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68574 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "nlgzrgn/Nikki",
"max_stars_repo_path": "Nikki/Reflection/Enum/CP/eAttribFloat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68575"
} | starcoder | <gh_stars>1-10
namespace Nikki.Reflection.Enum.CP
{
/// <summary>
/// All attribute types for FloatAttribute.
/// </summary>
public enum eAttribFloat : uint
{
/// <summary>
///
/// </summary>
BLEND = 0x02800544,
/// <summary>
///
/// </summary>
HOODHUE = 0x7822E22B,
/// <summary>
///
... | 1.860866 | c86e2ebe2a92d4db8ca654bd5a4f102e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68575 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dswisher/yaclops",
"max_stars_repo_path": "src/Old/SampleOld/Commands/BisectCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68576"
} | starcoder | using Sample.Helpers;
using Yaclops;
namespace Sample.Commands
{
public class BisectHelpCommand : ISubCommand
{
public void Execute()
{
// Execute the command. For demo purposes, just dump out the parameters...
this.Dump();
}
}
public class BisectStart... | 2.1016 | fdcae86abdbebd069bf956e76b138219 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68576 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "develmax/Crm.Sdk.Core",
"max_stars_repo_path": "Microsoft.Crm.Sdk.Proxy/Messages/RevokeAccessRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68577"
} | starcoder | using Microsoft.Xrm.Sdk;
using System.Runtime.Serialization;
namespace Microsoft.Crm.Sdk.Messages
{
/// <summary>Contains the data that is needed to replace the access rights on the target record for the specified security principal (user or team).</summary>
[DataContract(Namespace = "http://schemas.microsoft.com... | 2.433568 | 6a585c19b09217e3bc06224d1cfd27f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68577 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "dinazil/look-mommy-no-gc",
"max_stars_repo_path": "Demos/02_StaticAnalysis/CompilationException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68578"
} | starcoder | using System;
namespace JackCompiler
{
internal sealed class CompilationException : Exception
{
public int LineNumber { get; private set; }
public CompilationException(string message, int lineNumber = -1)
: base(message)
{
LineNumber = lineNumber;
}
... | 2.351579 | e1d639de524da1a63a00231755b57e12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68578 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lionelplessis/Nubot",
"max_stars_repo_path": "Nubot.Abstractions/IMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68579"
} | starcoder | <reponame>lionelplessis/Nubot
namespace Nubot.Abstractions
{
public interface IMessage<out T>
{
/// <summary>
/// Gets or sets the message's content.
/// </summary>
T Content
{
get;
}
}
} | 1.784275 | 00c697bab65cd2a80cc185c63cdf4955 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68579 | {
"extension": "c-sharp",
"max_stars_count": "3557.0",
"max_stars_repo_name": "YuliiaKovalova/winforms",
"max_stars_repo_path": "src/System.Windows.Forms/src/System/Windows/Forms/Win32WindowExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68580"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using static Interop;
namespace System.Windows.Forms
{
internal static class Win32WindowExtensions
{
... | 2.001656 | acc8ea755c15e6e32d7092cfd3926e50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68580 | {
"extension": "c-sharp",
"max_stars_count": "117.0",
"max_stars_repo_name": "alipay/alipay-sdk-net",
"max_stars_repo_path": "AlipaySDKNet/Response/AlipayCommerceIotMdeviceprodDevicelogUploadResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68581"
} | starcoder | <gh_stars>100-1000
using System;
using System.Xml.Serialization;
namespace Aop.Api.Response
{
/// <summary>
/// AlipayCommerceIotMdeviceprodDevicelogUploadResponse.
/// </summary>
public class AlipayCommerceIotMdeviceprodDevicelogUploadResponse : AopResponse
{
}
}
| 0.670446 | 633100f8a90a68ebcf629fe0f7532374 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68581 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LBHackney-IT/search-listener",
"max_stars_repo_path": "HousingSearchListener.Tests/V1/UseCase/IndexTransactionUseCaseTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68582"
} | starcoder | using AutoFixture;
using FluentAssertions;
using Hackney.Core.Http;
using Hackney.Core.Sns;
using Hackney.Shared.HousingSearch.Domain.Transactions;
using Hackney.Shared.HousingSearch.Gateways.Models.Transactions;
using HousingSearchListener.V1.Domain.Transaction;
using HousingSearchListener.V1.Factories;
using Housing... | 1.745022 | e38d9d4753863d7e87c7e712e5fab991 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68582 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "smorey2/GameEstate",
"max_stars_repo_path": "src/GameEstate.Formats/Formats/AC/Entity/GameTime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68583"
} | starcoder | using GameEstate.Core;
using GameEstate.Explorer;
using GameEstate.Explorer.ViewModel;
using GameEstate.Formats._Packages;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace GameEstate.Formats.AC.Entity
{
public class GameTime : IGetExplorerInfo
{
... | 2.388824 | 399841dbfa7b2ea2e18cca0d35fa12ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68583 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Rhinox-Training/rhinox-lightspeed",
"max_stars_repo_path": "Assets/Lightspeed/Unity/Helpers/ShaderUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68584"
} | starcoder | using System;
using System.Collections.Generic;
#if UNITY_EDITOR
using UnityEditor;
#endif
using UnityEngine;
namespace Rhinox.GUIUtils
{
public enum ShaderParameterType
{
None,
Float,
Color,
Vector,
Texture
}
public static class ShaderUtility
{
... | 2.571485 | 663c401235a1efcdc9d1174ae2f15bfd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68584 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mikedorais/arcgis-runtime-samples-dotnet",
"max_stars_repo_path": "src/Phone/ArcGISRuntimeSDKDotNet_PhoneSamples/Samples/TiledLayers/ArcGISTiledMapServiceLayerSample.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68585"
} | starcoder | using Windows.UI.Xaml.Controls;
namespace ArcGISRuntimeSDKDotNet_PhoneSamples.Samples
{
/// <summary>
///
/// </summary>
/// <title>ArcGIS Tiled Map Service Layer</title>
/// <category>Tiled Layers</category>
public sealed partial class ArcGISTiledMapServiceLayerSample : Page
{
pu... | 1.520699 | 771010a2430f5ee3690dda566026ddc8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68585 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "diego-oliv/project-RoleTopMVC",
"max_stars_repo_path": "Controllers/AdministradorController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68586"
} | starcoder | <reponame>diego-oliv/project-RoleTopMVC
using Microsoft.AspNetCore.Mvc;
using project_RoleTopMVC.Enums;
using project_RoleTopMVC.Repositories;
using project_RoleTopMVC.ViewModels;
namespace project_RoleTopMVC.Controllers
{
public class AdministradorController : AbstractController
{
AgendamentoRepos... | 2.233768 | e2d748fb28ff8d15f17aee80c4e2ac67 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68586 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "axa88/TinyCLR-Samples",
"max_stars_repo_path": "Applications/Glide/GHIElectronics.TinyCLR.Glide/Controls/DataGrid/DataGrid.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68587"
} | starcoder | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) GHI Electronics, LLC.
//
/////////////////////////////////////////////////////////////////////////... | 2.144013 | 071d232220061652f9fb871561155a78 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68587 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kishanchdry/Core5.0Dapper",
"max_stars_repo_path": "Data/Repository/UserRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68588"
} | starcoder | using Dapper;
using Data.IFactory;
using Data.IRepository;
using Shared.Common.Enums;
using Shared.Models.Identity;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Data.Repository
{
public class UserRepository: IUserR... | 2.57437 | 4edc88ec221a7937d721190fd57aeeee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68588 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "vassdeniss/software-university-courses",
"max_stars_repo_path": "csharp-fundamentals/17.AssociativeArraysExercise/E06.Courses/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68589"
} | starcoder | <reponame>vassdeniss/software-university-courses
using System;
using System.Collections.Generic;
using System.Linq;
namespace E06.Courses
{
class Program
{
static void Main(string[] args)
{
Dictionary<string, List<string>> courseDictionary = new Dictionary<string, List<string>>();
... | 3.269088 | ff9e2079b5a0ca437a3b51e1348ba77d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68589 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "rubit0/NextGenSprites",
"max_stars_repo_path": "src/Assets/NextGenSprites/Utils/Helpers/PropertiesCollectionProxyManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68590"
} | starcoder | // NextGen Sprites (copyright) 2015 <NAME>, www.studio-delatorre.com
// This is a simple class to call UpdateMaterial() from outside.
using UnityEngine;
using NextGenSprites;
namespace NextGenSprites.PropertiesCollections
{
/// <summary>
/// The Remote classes are meant to be used when you spawn the same spr... | 2.423696 | 629a9d3063601acaf4d68300550b016c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68590 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mlcalache/grasews",
"max_stars_repo_path": "Grasews.Infra.CrossCutting.IoC/SimpleInjectorServiceLocator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68591"
} | starcoder | using Microsoft.Practices.ServiceLocation;
using SimpleInjector;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Grasews.Infra.CrossCutting.IoC
{
public class SimpleInjectorServiceLocator : IServiceLocator
{
private readonly Container container;
public SimpleInjec... | 2.421755 | 8983e8d8143f4649d0e7d2691bffa3a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68591 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pjcollins/java.interop",
"max_stars_repo_path": "tools/generator/Tests/expected/java.lang.Enum/Java.Lang.IComparable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68592"
} | starcoder | <filename>tools/generator/Tests/expected/java.lang.Enum/Java.Lang.IComparable.cs
using System;
using System.Collections.Generic;
using Android.Runtime;
namespace Java.Lang {
// Metadata.xml XPath interface reference: path="/api/package[<EMAIL>']/interface[@name='Comparable']"
[Register ("java/lang/Comparable", "", ... | 1.917513 | 5a5e2c2d694f31c05609773cbb76d53c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68592 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dpanfilyonok/144.math.spbu-II",
"max_stars_repo_path": "homeWork 9/T1-PrimeGenerator/Tests/PrimeGeneratorTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68593"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using PrimeGeneratorSource;
using System.Collections.Generic;
using System.Linq;
namespace Tests
{
/// <summary>
/// Класс, тестирующий функциональность <see cref="PrimeGenerator"/>
/// </summary>
[TestClass]
public class PrimeGenerato... | 3.417837 | e4ec2e9d2547011506720fcfbff2cc5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68593 | {
"extension": "c-sharp",
"max_stars_count": "143.0",
"max_stars_repo_name": "sucrose0413/eShopOnContainersDDD",
"max_stars_repo_path": "src/Contexts/Configuration/Language/Setup/Entities/Catalog/Events/Seeded.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68594"
} | starcoder | using Infrastructure.Commands;
using System;
using System.Collections.Generic;
using System.Text;
namespace eShop.Configuration.Setup.Entities.Catalog.Events
{
public interface Seeded : IStampedEvent
{
}
}
| 1.08683 | 52aeee8b7ff30ad0c281ee7c6f664785 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68594 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarketingInternetOnlines/Krypton-NET-5.480",
"max_stars_repo_path": "Source/Krypton Components/TestApp/RibbonAppTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68595"
} | starcoder | <gh_stars>0
using ComponentFactory.Krypton.Toolkit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestApp
{
public class RibbonAppTest : KryptonForm
{
private ComponentFactory.Krypton.Ribbon.KryptonRibbon kryptonRibbon1;
... | 1.409484 | c73ae50b744bc5bef78323b27b9e3816 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68595 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "negri/WhoIsStreaming",
"max_stars_repo_path": "WhoIsStreaming/AppSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68596"
} | starcoder | namespace Negri.Twitch
{
public class AppSettings
{
public string ClientId { get; set; } = "Create on https://dev.twitch.tv/";
public string ClientSecret { get; set; } = "Don't ever share this one!";
}
} | 1.594427 | f231f3041f27ed684e1394257531e4eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68596 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "AieatAssam/CosmosDB.Gremlin.Fluent",
"max_stars_repo_path": "CosmosDB.Gremlin.Fluent/Functions/HasNot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68597"
} | starcoder | using System;
using System.Linq;
namespace CosmosDB.Gremlin.Fluent.Functions
{
#pragma warning disable 1591
public static class HasNotFunction
#pragma warning restore 1591
{
/// <summary>
/// Remove the traverser if its element has a value for the key
/// </summary>
/// <param n... | 2.845796 | 10f3d87a3f5ba7e0aa671588f2d69480 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68597 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mcoo/ProjBobcat",
"max_stars_repo_path": "ProjBobcat/ProjBobcat/DefaultComponent/ResourceInfoResolver/AssetInfoResolver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68598"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
using ProjBobcat.Class.Helper;
using ProjBobcat.Class.Model;
using ProjBobcat.Class.Model.GameResource;
using ProjBobcat.Event;
using ProjBobcat.Interface;
namespace ProjBobcat.Defa... | 2.202077 | 74b6b639f284900328935bca11a73b87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68598 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "hannaatmsft/Azure-AppServices-Diagnostics-Portal",
"max_stars_repo_path": "ApplensBackend/Services/CosmosDBHandler/ICosmosDBHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68599"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Microsoft.Azure.Documents;
namespace AppLensV3.Services
{
public interface ICosmosDBHandler<T> where T : class
{
Task<Document> CreateItemAsync(T item);
Task<T> GetItemAsync(strin... | 2.03553 | 8adba3cb6b98c491baae1ba0eb9c4a8d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68599 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SamLangTen/Jugsatac",
"max_stars_repo_path": "src/Jugsatac.Lib/Cache/ICachePersistence.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68600"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Jugsatac.Lib.Cache
{
public interface ICachePersistence
{
CacheAccountItem GetPersistentCache(MailSyncIdentifier identifier);
void SavePersistence(CacheAccountItem cache);
}
}
| 1.561028 | 9b8ce342fc4669eeaf13e260bd46ffde |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68600 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "laosandegudai/orleans-event-sourcing",
"max_stars_repo_path": "src/EventSourcing/EventSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68601"
} | starcoder | using EventSourcing.Persistance;
using System.Text.Json;
namespace EventSourcing
{
public static class EventSerializer
{
// deserialize from db event
public static object DeserializeEvent(AggregateEventBase dbEvent)
{
var eventType = EventTypeHelper.GetEventType((db... | 2.226968 | b6ac6c447fec8f626a657d1fe3f9ffea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68601 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nocturnexol/ITMS",
"max_stars_repo_path": "Bitshare.DataDecision.Web/Areas/System/Controllers/ButtonNameController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68602"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Bitshare.DataDecision.Web.Common;
using System.Text;
using Bitshare.DataDecision.Model;
using System.Data;
using Bitshare.DataDecision.Common;
using Bitshare.DataDecision.Web.Models;
namespace ... | 1.780058 | 05af2946744af75ef111e38d7370da09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68602 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tmont/butterfly",
"max_stars_repo_path": "src/dotnet/Src/ButterflyNet.Parser/ScopeLevel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68603"
} | starcoder | namespace ButterflyNet.Parser {
public enum ScopeLevel {
Inline,
Block
}
} | 1.4312 | 58d9f4c7b9e0b737c834f076f51fa8a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68603 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "tonyredondo/TWCore2",
"max_stars_repo_path": "src/TWCore.Messaging/Configuration/MQConnection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68604"
} | starcoder | /*
Copyright 2015-2018 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
di... | 2.265977 | 1f37362a62b7c721af865c604f511d8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68604 | {
"extension": "c-sharp",
"max_stars_count": "54.0",
"max_stars_repo_name": "Zematus/Worlds",
"max_stars_repo_path": "Assets/Tools/Scripts/MathUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68605"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public static class MathUtility
{
public const int FloatToIntScalingFactor = 100;
public const float IntToFloatScalingFactor = 1f / FloatToIntScalingFactor;
public const float NormalAt0 = 0.398942f;
public const float Norm... | 3.12361 | e4c0072235621d8eeb85aa092d38566e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.