added
string
created
string
id
string
metadata
dict
source
string
text
string
code-score
float64
md5
string
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850712
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "shashank-sj/adaptive-traffic-signal-control", "max_stars_repo_path": "adaptive-traffic-signal-control-simmulation/Assets/Scripts/TrafficLight.cs", "provenance": "train-00027-of-00045.jsonl.gz:169932" }
starcoder
<reponame>shashank-sj/adaptive-traffic-signal-control<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class TrafficLight : MonoBehaviour { public bool on; public Material green; public Material red; public GameObject light; public void Start() ...
1.951158
4d44f6c1ab36a138f1982861decde611
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850713
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "HelloKitty/Glader.Essentials", "max_stars_repo_path": "src/Glader.Essentials.Unity/UI/Abstraction/Adapters/Base/BaseUIFrameAdapter.cs", "provenance": "train-00027-of-00045.jsonl.gz:169933" }
starcoder
<filename>src/Glader.Essentials.Unity/UI/Abstraction/Adapters/Base/BaseUIFrameAdapter.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; using UnityEngine; namespace Glader.Essentials { public class BaseUIFrameAdapter<TFrameType> : BaseUnityUI, IUIFrame, IUIAdapterRegisterable wher...
2.041715
956059993b1bf1710ff75ee096e4a9cd
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850714
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "hdefucom/HDF", "max_stars_repo_path": "Example/WinForm/Editor/DCWriter/DCSoft.Writer.Cleaned/DCSoftDotfuscate/GClass546.cs", "provenance": "train-00027-of-00045.jsonl.gz:169934" }
starcoder
<filename>Example/WinForm/Editor/DCWriter/DCSoft.Writer.Cleaned/DCSoftDotfuscate/GClass546.cs<gh_stars>1-10 using System; using System.IO; using System.Runtime.InteropServices; namespace DCSoftDotfuscate { [Obsolete("Use ExtendedPathFilter instead")] [ComVisible(false)] public class GClass546 : GClass544 { priva...
2.503207
62ac45d5425ae10c3d08a2ddb9a24c12
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850715
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "commonsensesoftware/More.Cqrs", "max_stars_repo_path": "src/More.Cqrs/TypeExtensions.cs", "provenance": "train-00027-of-00045.jsonl.gz:169935" }
starcoder
// Copyright (c) Commonsense Software. All rights reserved. // Licensed under the MIT license. namespace More.Domain { using More.Domain.Sagas; using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Linq; using System.Reflection; static partial cl...
2.34484
332b1204cc7f94d8dc310b6230efa20e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850716
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "Devdiegoadias/MetadataPublicApiGenerator-main", "max_stars_repo_path": "src/LightweightMetadata/TypeWrappers/PropertyWrapper.cs", "provenance": "train-00027-of-00045.jsonl.gz:169936" }
starcoder
<reponame>Devdiegoadias/MetadataPublicApiGenerator-main // Copyright (c) 2019 <NAME>. All rights reserved. // This file is licensed to you under the MIT license. // See the LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.Re...
2.015815
6cd073cf25a433485189fa7a73e915ab
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850717
{ "extension": "c-sharp", "max_stars_count": "24.0", "max_stars_repo_name": "Archomeda/Gw2Sharp", "max_stars_repo_path": "Gw2Sharp/WebApi/V2/Clients/Gliders/IGlidersClient.cs", "provenance": "train-00027-of-00045.jsonl.gz:169937" }
starcoder
using Gw2Sharp.WebApi.V2.Models; namespace Gw2Sharp.WebApi.V2.Clients { /// <summary> /// A client of the Guild Wars 2 API v2 gliders endpoint. /// </summary> public interface IGlidersClient : IAllExpandableClient<Glider>, IBulkExpandableClient<Glider, int>, ILocalizedClient, ...
1.431133
750b3135b30e9f3bfc4832b36d0f8c18
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850718
{ "extension": "c-sharp", "max_stars_count": "16.0", "max_stars_repo_name": "Tosirukun/HackedM4ple", "max_stars_repo_path": "NE4S/Component/LongLaneSignProvider.cs", "provenance": "train-00027-of-00045.jsonl.gz:169938" }
starcoder
<reponame>Tosirukun/HackedM4ple using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NE4S.Component { public class LongLaneSignProvider { private readonly char[] signArray = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".ToCharArray(); ...
2.85093
4b02f278c1e62c7b2598263c71f1069d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850719
{ "extension": "c-sharp", "max_stars_count": "22.0", "max_stars_repo_name": "AngelaViVi/Expressior-old", "max_stars_repo_path": "src/DynamoPackages/PackageDownloadHandle.cs", "provenance": "train-00027-of-00045.jsonl.gz:169939" }
starcoder
using System; using System.IO; using System.Linq; using Dynamo.Core; using Dynamo.Models; using Greg.Responses; namespace Dynamo.PackageManager { public class PackageDownloadHandle : NotificationObject { public enum State { Uninitialized, Downloading, Downloaded, Installing, Insta...
2.449511
04c169ada996ce75c71c9fa67513587e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850720
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "polklabs/Project-Bit", "max_stars_repo_path": "Assets/Scripts/Chips/Full_Adder.cs", "provenance": "train-00027-of-00045.jsonl.gz:169940" }
starcoder
<filename>Assets/Scripts/Chips/Full_Adder.cs using Gates; using Wires; namespace Chips { public class Full_Adder : Chip { public Full_Adder() : base(3, 2) { Gate gateA = AddGateIndexed(new XORGate()); Gate gateB = AddGateIndexed(new XORGate()); Gate gateC = ...
2.610033
c92a6a979c315d1b8932c2d3e8eb4bb6
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850721
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "OSC-Net/OSC.Net", "max_stars_repo_path": "src/OSC.Net/Commands.TakePicture.cs", "provenance": "train-00027-of-00045.jsonl.gz:169941" }
starcoder
using System; using System.IO; using System.Threading.Tasks; using OSC.Net.Model; namespace OSC.Net { public static partial class Commands { /// <summary> /// Takes picture and returns uri where it can be downloaded. /// </summary> /// <param name="client">The <see cref="ICamer...
2.768157
69b26c8372a48f73055565747443206b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850722
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "superkaka/mycsharp", "max_stars_repo_path": "kakaToolsRelease/Samples/ProtocolGenerater/output/csharp/vo/sendLogin_playerListVO.cs", "provenance": "train-00027-of-00045.jsonl.gz:169942" }
starcoder
<filename>kakaToolsRelease/Samples/ProtocolGenerater/output/csharp/vo/sendLogin_playerListVO.cs // These Codes are generated by kakaTools ProtocolGenerater v1.3 // ------------------------------------------------------------------ // // Copyright (c) 2015 linchen. // All rights reserved. // // Email: <EMAIL> // // ----...
2.109136
468f7bbf1593e5b5d8da10a16e6e730b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850723
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "crybigsea/SeaBlog.ABP", "max_stars_repo_path": "aspnet-core/src/SeaBlog.Core/Localization/SeaBlogLocalizationConfigurer.cs", "provenance": "train-00027-of-00045.jsonl.gz:169943" }
starcoder
<gh_stars>0 using Abp.Configuration.Startup; using Abp.Localization.Dictionaries; using Abp.Localization.Dictionaries.Xml; using Abp.Reflection.Extensions; namespace SeaBlog.Localization { public static class SeaBlogLocalizationConfigurer { public static void Configure(ILocalizationConfiguration local...
1.366761
4313e6eaab80c9b8a3ed51ece77a65ac
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850724
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "lewisbennett/difference-utility-net", "max_stars_repo_path": "samples/Sample.NetConsole.People/PersonDiffCallback.cs", "provenance": "train-00027-of-00045.jsonl.gz:169944" }
starcoder
using System.Collections.Generic; using DifferenceUtility.Net.Base; using Sample.Assets; namespace Sample.NetConsole.People; public class PersonDiffCallback : BaseDiffCallback<Person, Person> { public override bool AreContentsTheSame(Person sourceItem, Person destinationItem) { // Contents are the sa...
2.99675
b083a871796a5cc38ba7bc6fb8ba9d9f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850725
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "loicmorvan/6502Net", "max_stars_repo_path": "BreadBoard/Address.cs", "provenance": "train-00027-of-00045.jsonl.gz:169945" }
starcoder
namespace BreadBoard { public readonly struct Address { private readonly byte _lowBits; private readonly byte _highBits; public Address(byte lowBits, byte highBits) { _lowBits = lowBits; _highBits = highBits; } public static implicit ope...
3.654182
da2c6221d6b05e4e4e4a044fc36bf95f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850726
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "CameronMease/Pinknose.DistributedWorkers", "max_stars_repo_path": "Pinknose.DistributedWorkers/Serialization/JsonShouldSerializeContractResolver.cs", "provenance": "train-00027-of-00045.jsonl.gz:169946" }
starcoder
/////////////////////////////////////////////////////////////////////////////////// // MIT License // // Copyright(c) 2020 <NAME> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software withou...
2.013536
287756efefd6be74a73f7795011d6e6c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850727
{ "extension": "c-sharp", "max_stars_count": "18.0", "max_stars_repo_name": "markolazic88/DailyCat", "max_stars_repo_path": "src/DailyCat.Common/Services/DataService.cs", "provenance": "train-00027-of-00045.jsonl.gz:169947" }
starcoder
namespace DailyCat.Common.Services { using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Threading.Tasks; using DailyCat.Common.Interfaces; using DailyCat.Common.Model; using Xamarin.Forms; public class Da...
2.692923
95886b9561859abbe2062076abd2e467
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850728
{ "extension": "c-sharp", "max_stars_count": "3268.0", "max_stars_repo_name": "gjy5885/azure-sdk-for-net", "max_stars_repo_path": "sdk/eventgrid/Azure.Messaging.EventGrid/EventGridSourceGenerator/src/SystemEventNode.cs", "provenance": "train-00027-of-00045.jsonl.gz:169948" }
starcoder
<filename>sdk/eventgrid/Azure.Messaging.EventGrid/EventGridSourceGenerator/src/SystemEventNode.cs<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace EventGridSourceGenerator { internal class SystemEventNode { public string EventName...
1.981356
84c32cae7316aeab362d1546f78e487f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850729
{ "extension": "c-sharp", "max_stars_count": "10.0", "max_stars_repo_name": "PNNL-Comp-Mass-Spec/DeconTools", "max_stars_repo_path": "DeconTools.UnitTesting2/ProcessingRelated_Tests/MSPeakDetectionTests/ChromPeakDetectorTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:169949" }
starcoder
using System; using System.Linq; using DeconTools.Backend.Core; using DeconTools.Backend.ProcessingTasks.PeakDetectors; using DeconTools.Backend.Runs; using NUnit.Framework; namespace DeconTools.UnitTesting2.ProcessingRelated_Tests.MSPeakDetectionTests { public class ChromPeakDetectorTests { ...
2.107901
356d6db2a81e05fad66d1008167eac1e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850730
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "dtaylor101/Matchmaker", "max_stars_repo_path": "Matchmaker/Models/Model.cs", "provenance": "train-00027-of-00045.jsonl.gz:169950" }
starcoder
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Matchmaker { public class Context : DbContext { public Context() { Database.Migrate(); } protected override void OnConfiguring(DbCon...
3.003761
fea56c9e951a1709629c7972937ac488
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850731
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jonkeda/Plastic", "max_stars_repo_path": "Plastic/Molding/Entities/IModelMold.cs", "provenance": "train-00027-of-00045.jsonl.gz:169951" }
starcoder
<filename>Plastic/Molding/Entities/IModelMold.cs<gh_stars>0 using Plastic.Infos.Entities; namespace Plastic.Molding.Entities { public interface IModelMold : IMold<ModelInfo> { } }
1.45835
2bb2978fb9e8603d184bed3c4df14592
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850732
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "JTOne123/moovc.architecture", "max_stars_repo_path": "src/MooVC.Architecture/Ddd/AggregateRootExtensions.Save.cs", "provenance": "train-00027-of-00045.jsonl.gz:169952" }
starcoder
namespace MooVC.Architecture.Ddd { using MooVC.Architecture.Ddd.Services; using static MooVC.Ensure; using static Resources; public static partial class AggregateRootExtensions { public static void Save<TAggregate>(this TAggregate aggregate, IRepository<TAggregate> destination) ...
1.913323
35fd360fdd75ea5cc39f0ad715f7386f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850733
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "andrewkretzer/asaas-sdk-net", "max_stars_repo_path": "AsaasClient/Models/PaymentDunning/PaymentDunningPaymentAvailable.cs", "provenance": "train-00027-of-00045.jsonl.gz:169953" }
starcoder
<reponame>andrewkretzer/asaas-sdk-net using AsaasClient.Models.Common.Enums; using AsaasClient.Models.Payment.Enums; using Newtonsoft.Json; using System; namespace AsaasClient.Models.PaymentDunning { public class PaymentDunningPaymentAvailable { [JsonProperty(PropertyName = "payment")] public ...
1.608114
9a1d326ac5298868918785bc00f6a260
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850734
{ "extension": "c-sharp", "max_stars_count": "10.0", "max_stars_repo_name": "kaponata-io/kaponata", "max_stars_repo_path": "src/Kaponata.Kubernetes/DeveloperProfiles/KubernetesDeveloperProfile.ProvisioningProfile.cs", "provenance": "train-00027-of-00045.jsonl.gz:169954" }
starcoder
// <copyright file="KubernetesDeveloperProfile.ProvisioningProfile.cs" company="Quamotion bv"> // Copyright (c) Quamotion bv. All rights reserved. // </copyright> using Kaponata.iOS.DeveloperProfiles; using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography.Pkcs; using Sys...
2.365807
47c8730d2e988794260d27f7d3072265
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850735
{ "extension": "c-sharp", "max_stars_count": "22.0", "max_stars_repo_name": "mmarkwort/MORYX-Platform", "max_stars_repo_path": "src/Moryx/Communication/Connection/IBinaryConnectionFactory.cs", "provenance": "train-00027-of-00045.jsonl.gz:169955" }
starcoder
// Copyright (c) 2020, Phoenix Contact GmbH & Co. KG // Licensed under the Apache License, Version 2.0 using Moryx.Container; namespace Moryx.Communication { /// <summary> /// Factory to create connections based on config and header interpreter /// </summary> [PluginFactory(typeof(IConfigBasedComponen...
1.898391
05cae989e645c3cb0bc277f8b090beda
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850736
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "AnAndrey/stock-exchange-simulator", "max_stars_repo_path": "WebClientApplication/Partial/SoapSimpleIdentity.Partial.cs", "provenance": "train-00027-of-00045.jsonl.gz:169956" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Web; using CommonSecurity; namespace WebClientApplication.StockServiceReference { public partial class SoapSimpleIdentity { public static SoapSimpleIdentity TheSimplestIdentityEver { get; } = new SoapSimpleIdentity() ...
1.528395
81e763bb52722af2fc80fe2938a961b7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850737
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "itspaiva/DDTank4.1", "max_stars_repo_path": "Source Server/SourceQuest4.5/Newtonsoft.Json/Newtonsoft.Json.Linq.JsonPath/PathFilter.cs", "provenance": "train-00027-of-00045.jsonl.gz:169957" }
starcoder
<reponame>itspaiva/DDTank4.1 using Newtonsoft.Json.Utilities; using System.Collections.Generic; using System.Globalization; namespace Newtonsoft.Json.Linq.JsonPath { internal abstract class PathFilter { public abstract IEnumerable<JToken> ExecuteFilter(IEnumerable<JToken> current, bool errorWhenNoMatch); protec...
2.357842
aa0c0b7998cbdfcddec3e1200b21f42d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850738
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Polyfly/SpiceSharp", "max_stars_repo_path": "SpiceSharp/Components/Semiconductors/Junction FETs/FrequencyBehavior.cs", "provenance": "train-00027-of-00045.jsonl.gz:169958" }
starcoder
<gh_stars>0 using SpiceSharp.Algebra; using SpiceSharp.Attributes; using SpiceSharp.Behaviors; using SpiceSharp.ParameterSets; using SpiceSharp.Simulations; using System; using System.Numerics; namespace SpiceSharp.Components.JFETs { /// <summary> /// Frequency behavior for a <see cref="JFET" />. /// </su...
1.840924
fb086c0f21ef4c110967f478424c0b1a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850739
{ "extension": "c-sharp", "max_stars_count": "50.0", "max_stars_repo_name": "dimitarminchev/ITCareer", "max_stars_repo_path": "04. Introduction to Algorithms and Data Structures/2019/2019.07.06/Product/Fridge.cs", "provenance": "train-00027-of-00045.jsonl.gz:169959" }
starcoder
<filename>04. Introduction to Algorithms and Data Structures/2019/2019.07.06/Product/Fridge.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Product { class Fridge { private Product head; private Product tail; ...
3.534413
0c49f13fa2e80b9d68a1b6d7ff16aaf4
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850740
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "CurtRoss/MacrosTracker", "max_stars_repo_path": "MacrosTracker.Data/FoodMeal.cs", "provenance": "train-00027-of-00045.jsonl.gz:169960" }
starcoder
<filename>MacrosTracker.Data/FoodMeal.cs using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MacrosTracker.Data { public class FoodMeal { ...
2.198098
f85cbf903e925dc619ca0174a68764ed
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850741
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "BHAVIUS/PDP-DREAM", "max_stars_repo_path": "PDP.DREAM.CoreDataLib/Models/PdpRestContext/PrcInfosetStatus.cs", "provenance": "train-00027-of-00045.jsonl.gz:169961" }
starcoder
<gh_stars>0 // PrcInfosetStatus.cs // Copyright (c) 2007 - 2021 Brain Health Alliance. All Rights Reserved. // Code license: the OSI approved Apache 2.0 License (https://opensource.org/licenses/Apache-2.0). using PDP.DREAM.CoreDataLib.Types; namespace PDP.DREAM.CoreDataLib.Models { // TODO: revise for better con...
2.283645
d1a02f47acc067b0accaa38682f9c043
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850742
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "econmed/ImageServer20", "max_stars_repo_path": "Desktop/View/WinForms/GalleryView.cs", "provenance": "train-00027-of-00045.jsonl.gz:169962" }
starcoder
#region License // Copyright (c) 2009, ClearCanvas Inc. // All rights reserved. // // 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 copyright not...
1.771198
25750feaf6bed29d16987cc2d44f4202
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850743
{ "extension": "c-sharp", "max_stars_count": "48.0", "max_stars_repo_name": "CodingBoulder/Dahomey.Cbor", "max_stars_repo_path": "src/Dahomey.Cbor.Tests/Issues/Issue0020.cs", "provenance": "train-00027-of-00045.jsonl.gz:169963" }
starcoder
using Dahomey.Cbor.Attributes; using Dahomey.Cbor.Serialization.Conventions; using System; using System.Collections.Generic; using System.Text; using Xunit; namespace Dahomey.Cbor.Tests.Issues { public class Issue0020 { public class Tree { [CborProperty("age")] public r...
2.590847
eec78c34cb5d47e90c21256361017a74
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850744
{ "extension": "c-sharp", "max_stars_count": "113.0", "max_stars_repo_name": "tedvanderveen/octokit.graphql.net", "max_stars_repo_path": "Octokit.GraphQL.Core.UnitTests/Models/RepositoryOwner.cs", "provenance": "train-00027-of-00045.jsonl.gz:169964" }
starcoder
using System.Linq.Expressions; using Octokit.GraphQL.Core.Builders; namespace Octokit.GraphQL.Core.UnitTests.Models { public interface IRepositoryOwner : IQueryableValue<IRepositoryOwner>, IQueryableInterface { ID Id { get; } string Login { get; } RepositoryConnection Repositories(Arg<...
2.316322
80bb8e057bc47358ed32785bb8546250
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850745
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "dannyd89/yafbSharpDX", "max_stars_repo_path": "YAFBSharpDX/YAFBSharpDX/Forms/Line.cs", "provenance": "train-00027-of-00045.jsonl.gz:169965" }
starcoder
<filename>YAFBSharpDX/YAFBSharpDX/Forms/Line.cs using SharpDX; using SharpDX.Direct2D1; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace YAFBSharpDX.Forms { public class Line : IFixedDrawable { public Vector2 From; pu...
2.900991
a0a2cc1fa89b263b4fd03c3466daa33e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850746
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "KiadsCode/AmogusScipts", "max_stars_repo_path": "AdjustSteeringGame.cs", "provenance": "train-00027-of-00045.jsonl.gz:169966" }
starcoder
using System; using Il2CppDummyDll; using UnityEngine; // Token: <KEY> RID: 123 [Token(Token = "<KEY>")] public class AdjustSteeringGame : Minigame { // Token: 0x06000322 RID: 802 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000322")] [Address(RVA = "0x5428C0", Offset = "0x541CC0", VA = "0x...
1.460636
16172660999288408e349f38d679bcc2
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850747
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "zxz13561/MsgBoard", "max_stars_repo_path": "MsgBoardSystem/MsgBoardWebApp/Page05PostMsg.aspx.designer.cs", "provenance": "train-00027-of-00045.jsonl.gz:169967" }
starcoder
//------------------------------------------------------------------------------ // <auto-generated> // 這段程式碼是由工具產生的。 // // 變更這個檔案可能會導致不正確的行為,而且如果已重新產生 // 變更將會遺失。 // </auto-generated> //------------------------------------------------------------------------------ namespace MsgBoardWebApp { public pa...
1.366081
da6525a3af698e1e88f8a7e5856b30e6
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850748
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "bug-Byte/devinmajordotcom", "max_stars_repo_path": "devinmajordotcom/Views/Shared/ExpiredEmail.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:169968" }
starcoder
@model devinmajordotcom.ViewModels.UserViewModel @{ Layout = "_Layout.cshtml"; ViewBag.CurrentUserViewModel = Model; ViewBag.bannerLinks = ViewBag.bannerLinks; ViewBag.config = ViewBag.config; } <div class="row absolute-center"> <div class="col-sm-12 text-center"> <h2 class="text-center" s...
2.093844
8808add1e4f9d0ac9bbc4d1fcfd3f5ca
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850749
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "AtanasovAtanas/MyForum", "max_stars_repo_path": "Server/MyBlog.Server/Features/Tags/TagsService.cs", "provenance": "train-00027-of-00045.jsonl.gz:169969" }
starcoder
namespace MyBlog.Server.Features.Tags { using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using MyBlog.Server.Data.Models; using MyBlog.Server.Data.Repositories.Contracts; using MyBlog.Server.Infrastructure.Mapping; ...
2.763137
59f08edfc15b10b2f4477fdd55814048
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850750
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "OskiKervinen-MF/CatchTestAdapter", "max_stars_repo_path": "TestAdapterTest/TestTestDiscoverer.cs", "provenance": "train-00027-of-00045.jsonl.gz:169970" }
starcoder
<gh_stars>0 using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using CatchTestAdapter; using System.Collections.Generic; using TestAdapterTest.Mocks; using System.IO; using System.Linq; using Microsoft.VisualStudio.TestPlatform.ObjectModel; using TestAdapter.Settings; namespace TestAdapterTest { ...
1.798688
4084c308ac7ca4dd803a4eaefec12f3a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850751
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "tdvance/GlitchGarden", "max_stars_repo_path": "Assets/Scripts/GameOptions.cs", "provenance": "train-00027-of-00045.jsonl.gz:169971" }
starcoder
using UnityEngine; using System.Collections; public class GameOptions : MonoBehaviour { public float sfxVolume = 0.5f; public float musicVolume = 0.25f; string musicKey = "Music Volume"; string sfxKey = "<KEY>"; public void SetMusicVolume(float value) { musicVolume = value; Play...
2.395694
4e282ed4cbfa97a7b51186bcf3059062
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850752
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.dfc-coursedirectory", "max_stars_repo_path": "src/Dfc.CourseDirectory.WebV2/Filters/RedirectToProviderSelectionActionFilter.cs", "provenance": "train-00027-of-00045.jsonl.gz:169972" }
starcoder
<filename>src/Dfc.CourseDirectory.WebV2/Filters/RedirectToProviderSelectionActionFilter.cs using System.Linq; using Microsoft.AspNetCore.Http.Extensions; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.DependencyInjection; namespace Dfc.CourseDirectory.WebV2.Filters ...
2.195685
ff85280809a715bac591f4464ac728ed
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850753
{ "extension": "c-sharp", "max_stars_count": "57.0", "max_stars_repo_name": "Reactive-Extensions/Tx", "max_stars_repo_path": "Source/Tx.LinqPad/TypeCache.cs", "provenance": "train-00027-of-00045.jsonl.gz:169973" }
starcoder
<filename>Source/Tx.LinqPad/TypeCache.cs // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using Microsoft.SqlServer.XEvent; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; u...
2.098838
bc4a622bff2fd6fb6051c5368266b9fc
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850754
{ "extension": "c-sharp", "max_stars_count": "67.0", "max_stars_repo_name": "seekdavidlee/Eklee-Azure-Functions-GraphQl", "max_stars_repo_path": "Eklee.Azure.Functions.GraphQl.Tests/Repository/InMemory/InMemoryRepositoryQueryTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:169974" }
starcoder
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using Eklee.Azure.Functions.GraphQl.Repository.InMemory; using FastMember; using Shouldly; using Xunit; namespace Eklee.Azure.Functions.GraphQl.Tests.Repository.InMemory { pub...
2.496765
a0e3d478377d1bd90c8fd3a9b736ba7a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850755
{ "extension": "c-sharp", "max_stars_count": "316.0", "max_stars_repo_name": "arabasso/Octodiff", "max_stars_repo_path": "source/Octodiff/Core/SupportedAlgorithms.cs", "provenance": "train-00027-of-00045.jsonl.gz:169975" }
starcoder
using System.Security.Cryptography; namespace Octodiff.Core { public interface IHashingSupportedAlgorithm { IHashAlgorithm Default(); IHashAlgorithm Create(string algorithm); } public class DefaultHashingSupportedAlgorithm : IHashingSupportedAlgorithm { public IHash...
2.896264
8ac84ffb0f9fed00fa91d847d82c70d2
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850756
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "MackinnonBuck/cam-academy-app", "max_stars_repo_path": "CAMAcademyApp/CAMAcademyApp.iOS/CutomTabbedPageRenderer.cs", "provenance": "train-00027-of-00045.jsonl.gz:169976" }
starcoder
using CAMAcademyApp.iOS; using Foundation; using System; using System.Collections.Generic; using System.Linq; using System.Text; using UIKit; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; [assembly: ExportRenderer(typeof(TabbedPage), typeof(CutomTabbedPageRenderer))] namespace CAMAcademyApp.iOS { public c...
2.399505
0a633af38bedc919f15be83c06ddfddb
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850757
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "mrlacey/CSInlineColorViz", "max_stars_repo_path": "src/ColorTagger.cs", "provenance": "train-00027-of-00045.jsonl.gz:169977" }
starcoder
using Microsoft.VisualStudio.Text; using System.Linq; using System.Text.RegularExpressions; using System.Windows.Media; namespace CsInlineColorViz { internal sealed class ColorTagger : RegexTagger<ColorTag> { internal ColorTagger(ITextBuffer buffer) : base(buffer, new[] { new Regex(@"(Colo...
2.853144
415eeac45589eaad9a8abf72c623843d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850758
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "HaloImageEngine/EmpowerClaim-hotfix-1.25.1", "max_stars_repo_path": "EmpowerWeb/Handler/GlobalExceptionHandler.cs", "provenance": "train-00027-of-00045.jsonl.gz:169978" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web; using System.Web.Http; using System.Web.Http.ExceptionHandling; using System.Web.Http.Results; namespace EmpowerWeb.Handler { ...
2.201476
d19f9312897295a0fb21418d7eb475fb
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850759
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "ZooPin/Glouton", "max_stars_repo_path": "Tests/CK.Glouton.Tests.NetFramework/Helpers/LuceneTestIndexBuilder.cs", "provenance": "train-00027-of-00045.jsonl.gz:169979" }
starcoder
<filename>Tests/CK.Glouton.Tests.NetFramework/Helpers/LuceneTestIndexBuilder.cs using CK.Core; using CK.Glouton.Server; using CK.Glouton.Server.Handlers; using Lucene.Net.Index; using System; using System.Collections.Generic; using System.IO; namespace CK.Glouton.Tests { public static class LuceneTestIndexBuilder...
2.063867
ced597f17b741864731a88bf2785794b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850760
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "nellypeneva/SoftUniProjects", "max_stars_repo_path": "01_ProgrFundamentalsMay/ProgFundExam-2016-06-xx-SAMPLE-01/03_TargetMultiplier/TargetMultiplier.cs", "provenance": "train-00027-of-00045.jsonl.gz:169980" }
starcoder
using System; using System.Linq; namespace _03_TargetMultiplier { public class TargetMultiplier { public static void Main() { int[] dimensions = Console.ReadLine().Split().Select(int.Parse).ToArray(); int rows = dimensions[0]; //i int cols = dimensions[1];...
3.689979
21757cff769a220109dc9e82b3899f0e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850761
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "patrickCode/Mobile", "max_stars_repo_path": "Xamarin/Android/TestOrderApp/ClockDrawer/MainActivity.cs", "provenance": "train-00027-of-00045.jsonl.gz:169981" }
starcoder
using Android.App; using Android.Widget; using Android.OS; using ClockDrawer.Fragments; using Android.Support.V7.App; using Android.Support.V4.Widget; using Android.Views; namespace ClockDrawer { [Activity(Label = "ClockDrawer", MainLauncher = true, Icon = "@drawable/icon")] public class MainActivity : Activi...
2.246759
c0e38a3a2225a826dda36d60015a7db8
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850762
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "astorch/motoi", "max_stars_repo_path": "src/plug-ins/motoi.workbench/model/IPerspective.cs", "provenance": "train-00027-of-00045.jsonl.gz:169982" }
starcoder
<gh_stars>0 using motoi.platform.resources.model.editors; using motoi.platform.ui; using motoi.workbench.events; namespace motoi.workbench.model { /// <summary> Defines the content of a window. </summary> public interface IPerspective : IUIService { /// <summary> Returns the currently active ed...
2.167575
618ddcc9acb7ce200e41dcf66aa236dc
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850763
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "bwalko1/marsRover", "max_stars_repo_path": "MarsRover/MarsRover/Custom Exceptions/EdgeReachedException.cs", "provenance": "train-00027-of-00045.jsonl.gz:169983" }
starcoder
<reponame>bwalko1/marsRover using System; namespace MarsRover.Custom_Exceptions { public class EdgeReachedException : Exception { public EdgeReachedException(string message) : base(message) { } } }
1.681586
7eedab0bb1e337e2bf33ebca36ec469d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850764
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "IliyanIlievPH/MAVN.Service.AdminManagement", "max_stars_repo_path": "src/MAVN.Service.AdminManagement/Managers/ShutdownManager.cs", "provenance": "train-00027-of-00045.jsonl.gz:169984" }
starcoder
<reponame>IliyanIlievPH/MAVN.Service.AdminManagement using System.Threading.Tasks; using Lykke.Sdk; using MAVN.Service.AdminManagement.Domain.Services; using MAVN.Service.NotificationSystem.SubscriberContract; using MAVN.Service.AdminManagement.Contract.Events; namespace MAVN.Service.AdminManagement.Managers { pu...
1.543115
c5238e96b121a71a871b25e674778dc1
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850765
{ "extension": "c-sharp", "max_stars_count": "2504.0", "max_stars_repo_name": "dujianxin/Windows-universal-samples", "max_stars_repo_path": "Samples/Notifications/cs/Notifications/ScenarioPages/LiveTiles/Pinning/ScenarioElement.xaml.cs", "provenance": "train-00027-of-00045.jsonl.gz:169985" }
starcoder
<reponame>dujianxin/Windows-universal-samples using System; using Windows.UI.Popups; using Windows.UI.StartScreen; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238 namespace Notifications.ScenarioPages.LiveTi...
2.157513
86cacf7e00db8c3e651d268ccc14a3d5
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850766
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "marcindawidziuk/PieJobs", "max_stars_repo_path": "PieJobs.Services/ServiceResponse.cs", "provenance": "train-00027-of-00045.jsonl.gz:169986" }
starcoder
<gh_stars>0 namespace PieJobs.Services { public class ServiceResponse { public bool IsSuccessful { get; set; } public string ErrorMessage { get; set; } } }
1.135647
fceb7b9178ac8716b51b92938f221d35
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850767
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "kevinhillinger/Nakatomi.Trading", "max_stars_repo_path": "src/Nakatomi.Core/Messaging/IBusFactory.cs", "provenance": "train-00027-of-00045.jsonl.gz:169987" }
starcoder
<gh_stars>0 using Nakatomi.Messaging.Configuration; namespace Nakatomi.Messaging { public interface IBusFactory { IBus Create(BusConfiguration configuration); } }
1.060278
be6687c7c92e306312af9ad1a4eba2dc
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850768
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "louleo/Algorithms", "max_stars_repo_path": "c-sharp/Algorithms/LeetCode/SearchInRotatedSortedArraySolution.cs", "provenance": "train-00027-of-00045.jsonl.gz:169988" }
starcoder
namespace LeetCode { public class SearchInRotatedSortedArraySolution { public int Search(int[] nums, int target) { int midIndex = nums.Length - 1; for (int i = 0; i < nums.Length - 1; i++) { if (nums[i + 1] < nums[i]) { ...
3.616953
eab64b4ec65c77f57733315a7605250d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850769
{ "extension": "c-sharp", "max_stars_count": "20.0", "max_stars_repo_name": "borschetsky/WebChat", "max_stars_repo_path": "WebChat/WebChat.Data/Abstractions/BaseEntity.cs", "provenance": "train-00027-of-00045.jsonl.gz:169989" }
starcoder
<reponame>borschetsky/WebChat<gh_stars>10-100 using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; using WebChat.Models.Interfaces; namespace WebChat.Models.Abstractions { public abstract class BaseEntity : IAuditable, IDeletable { [Key] ...
1.81139
b32db229f84f07fc8d0be758d2976573
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850770
{ "extension": "c-sharp", "max_stars_count": "16.0", "max_stars_repo_name": "PawelGerr/Thinktecture.Runtime.Extensions", "max_stars_repo_path": "samples/Thinktecture.Runtime.Extensions.EntityFrameworkCore.Samples/ProductsDbContext.cs", "provenance": "train-00027-of-00045.jsonl.gz:169990" }
starcoder
<reponame>PawelGerr/Thinktecture.Runtime.Extensions using System.Linq; using Microsoft.EntityFrameworkCore; using Thinktecture.EnumLikeClasses; namespace Thinktecture { public class ProductsDbContext : DbContext { #nullable disable public DbSet<Product> Products { get; set; } #nullable enable ...
2.84667
b618640afb24cf1fd5f63786d612f5d6
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850771
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Blealtan/ing", "max_stars_repo_path": "src/Infrastructure/Sakuno.ING.Standard/ImmutableBindableCollection`T.cs", "provenance": "train-00027-of-00045.jsonl.gz:169991" }
starcoder
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.ComponentModel; using System.Linq; namespace Sakuno.ING { public sealed class ImmutableBindableCollection<T> : ReadOnlyCollection<T>, IBindableCollection<T> { public...
2.828522
d6d072b00c31d93f00f10d199f45a32c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850772
{ "extension": "c-sharp", "max_stars_count": "61.0", "max_stars_repo_name": "linfx/MqttFx", "max_stars_repo_path": "src/Abstractions/IMqttClient.cs", "provenance": "train-00027-of-00045.jsonl.gz:169992" }
starcoder
<reponame>linfx/MqttFx<gh_stars>10-100 namespace MqttFx { public interface IMqttClient { } }
0.812559
45e3eaaf69d8bd117cc44725405ac974
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850773
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "luisantonioa/Project-RimFactory-Revived", "max_stars_repo_path": "Source/Industry/Building_RepairingMachine.cs", "provenance": "train-00027-of-00045.jsonl.gz:169993" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Verse; using RimWorld; using ProjectRimFactory.SAL3.Things.Assemblers; using ProjectRimFactory.Common; namespace ProjectRimFactory.Industry { // Unfinished. public class Building_RepairingMachine : Building_SimpleAssem...
2.16
d14324a32843e09bf27472cba871f5e2
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850774
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "AndrewDCDrummond/daml-net", "max_stars_repo_path": "src/Daml.Ledger.Api.Data/Filter.cs", "provenance": "train-00027-of-00045.jsonl.gz:169994" }
starcoder
// Copyright(c) 2021 Digital Asset(Switzerland) GmbH and/or its affiliates.All rights reserved. // SPDX-License-Identifier: Apache-2.0 using System; namespace Daml.Ledger.Api.Data { using Util; public abstract class Filter : IComparable<Filter>, IEquatable<Filter> { public static Filt...
2.380621
8b85be133af72260ca582ecde5650e21
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850775
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "nickproud/OpenBots.Server", "max_stars_repo_path": "OpenBots.Server.ViewModel/Job/CreateJobViewModel.cs", "provenance": "train-00027-of-00045.jsonl.gz:169995" }
starcoder
<reponame>nickproud/OpenBots.Server<filename>OpenBots.Server.ViewModel/Job/CreateJobViewModel.cs using OpenBots.Server.Model; using OpenBots.Server.Model.Core; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace OpenBots.Server.ViewModel { public class CreateJobV...
2.072429
1808b1c06dfb4c9bd262e7323026030f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850776
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "azsdaja/7drl-2018", "max_stars_repo_path": "Assets/Scripts/GameLogic/ActionLoop/Actions/IGameAction.cs", "provenance": "train-00027-of-00045.jsonl.gz:169996" }
starcoder
<gh_stars>0 using System.Collections.Generic; using Assets.Scripts.GameLogic.ActionLoop.ActionEffects; namespace Assets.Scripts.GameLogic.ActionLoop.Actions { public interface IGameAction { ActorData ActorData { get; } float EnergyCost { get; } IEnumerable<IActionEffect> Execute(); } }
1.227108
1ba887da87594499fcf92dde29764f60
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850777
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "mattcoder2017/Pact-ConsumerDrivenTest", "max_stars_repo_path": "PactNet/Mocks/MockHttpService/Comparers/IHttpMethodComparer.cs", "provenance": "train-00027-of-00045.jsonl.gz:169997" }
starcoder
using PactNet.Comparers; using PactNet.Mocks.MockHttpService.Models; namespace PactNet.Mocks.MockHttpService.Comparers { internal interface IHttpMethodComparer : IComparer<HttpVerb> { } }
1.236341
b9f6ff2f9ba2d2df4860063c2e6681dd
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850778
{ "extension": "c-sharp", "max_stars_count": "8.0", "max_stars_repo_name": "hw233/home3", "max_stars_repo_path": "core/client/game/src/shine/support/pool/ObjectPool.cs", "provenance": "train-00027-of-00045.jsonl.gz:169998" }
starcoder
using System; using System.Threading; using UnityEngine; namespace ShineEngine { /// <summary> /// 对象池(线程非安全) /// </summary> public class ObjectPool<T> { /** 是否开启 */ protected bool _enable=true; /** 入池是否需要执行clear */ private bool _needClear=true; /** 列表 */ private SQueue<T> _queue; ...
2.424078
015e593a8d32b60810c794e24b9459fd
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850779
{ "extension": "c-sharp", "max_stars_count": "27.0", "max_stars_repo_name": "gmich/Gem", "max_stars_repo_path": "Gem.Network/Providers/ClientActionProvider.cs", "provenance": "train-00027-of-00045.jsonl.gz:169999" }
starcoder
using Gem.Network.Client; using Gem.Network.Containers; using Gem.Network.Messages; using Gem.Network.Repositories; using Lidgren.Network; using System; namespace Gem.Network.Providers { /// <summary> /// Readonly provider for ActionProviderArguments that are accessed first by string /// and by messagetyp...
2.173574
49b875634f0903608995be148b77bbf3
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850780
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "MaxxVolk/SCOMathon.UIExtension.Demo", "max_stars_repo_path": "SCOMAthon.ConnectorFrameworkDemo.Modules/SCOMAthonDemoClassClassAdapter.cs", "provenance": "train-00027-of-00045.jsonl.gz:170000" }
starcoder
using Maximus.Library.SCOM.Editors; namespace SCOMAthon.ConnectorFrameworkDemo.Modules { #region SCOMAthon.ConnectorFrameworkDemo.DemoClass Adapter /// <summary> /// SCOMAthon Demo Class (SCOMAthon.ConnectorFrameworkDemo.DemoClass) Adapter /// Generated with SCOMClassToCSharp.ps1 /// </summary> public cla...
2.117286
29b1c14a565fe95bbd384ed2f9a5ef81
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850781
{ "extension": "c-sharp", "max_stars_count": "8.0", "max_stars_repo_name": "qq550723504/ReviewManagement", "max_stars_repo_path": "src/EasyAbp.ReviewManagement.Application.Contracts/EasyAbp/ReviewManagement/Reviews/Dtos/CreateUpdateReviewDetailDto.cs", "provenance": "train-00027-of-00045.jsonl.gz:170001" }
starcoder
using System; using System.ComponentModel; namespace EasyAbp.ReviewManagement.Reviews.Dtos { [Serializable] public class CreateUpdateReviewDetailDto { [DisplayName("ReviewDetailText")] public string Text { get; set; } [DisplayName("ReviewDetailMediaResources")] public string...
1.673183
ac3398f7120c4e4e61c74972b491a228
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850782
{ "extension": "c-sharp", "max_stars_count": "5448.0", "max_stars_repo_name": "Terra-jin/Humanizer", "max_stars_repo_path": "src/Humanizer/Localisation/NumberToWords/VietnameseNumberToWordsConverter.cs", "provenance": "train-00027-of-00045.jsonl.gz:170002" }
starcoder
<reponame>Terra-jin/Humanizer using System; namespace Humanizer.Localisation.NumberToWords { internal class VietnameseNumberToWordsConverter : GenderlessNumberToWordsConverter { private const int OneBillion = 1000000000; private const int OneMillion = 1000000; private static ...
3.291014
e5fdc108be830b39530849e9769eac09
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850783
{ "extension": "c-sharp", "max_stars_count": "136.0", "max_stars_repo_name": "Autodesk/synthesis", "max_stars_repo_path": "exporter/SynthesisInventorGltfExporter/SynthesisInventorGltfExporter/RibbonAddInServer.cs", "provenance": "train-00027-of-00045.jsonl.gz:170003" }
starcoder
using System; using System.Runtime.InteropServices; using System.Windows.Forms; using Inventor; using SynthesisInventorGltfExporter.Properties; using Application = Inventor.Application; namespace SynthesisInventorGltfExporter { public abstract class RibbonAddInServer : ApplicationAddInServer { ///...
1.963452
2b840321ef0e60df0240cf5e64d9f4ff
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850784
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "drinoff/C-Fundamentals", "max_stars_repo_path": "finalExams/concert/Program.cs", "provenance": "train-00027-of-00045.jsonl.gz:170004" }
starcoder
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; namespace concert { class Program { static void Main(string[] args) { var input = Console.ReadLine(); var bandMembers = new Dictionary<string, List<string>>(); var bandTime = n...
3.393383
091e404a51b3c74b42a95159e9848bc1
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850785
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "dennisfabri/Livesavingsports-Pointscalculator", "max_stars_repo_path": "de.df.points/de.df.points/Data/DataModel2017.cs", "provenance": "train-00027-of-00045.jsonl.gz:170005" }
starcoder
namespace de.df.points.Data { internal class DataModel2017 { public static readonly Agegroup[] Single = new Agegroup[] { new Agegroup() { Name = "AK 12 weiblich", Description = "", AmountOfDisciplines = 3, CalculatedDisciplines = 3, Discipline1 = "50m Hindernisschwimmen", Record1 = 31...
2.2999
2189a52141388698892988635da85e22
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850786
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "nia-flo/Bookmaker", "max_stars_repo_path": "Bookmaker/Bookmaker/Data/Models/Match.cs", "provenance": "train-00027-of-00045.jsonl.gz:170006" }
starcoder
<gh_stars>0 using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Text; using Bookmaker.Services; namespace Bookmaker.Data.Models { /* The Match class Contains all data for a match */ /// <summary> /// The <c>Match</c> class. /// Contain...
2.715617
d50bb3c99b57771fb3c3fada736015a8
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850787
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "highstreeto/GoTo", "max_stars_repo_path": "GoTo.Service.Tests/TimeZoneTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:170007" }
starcoder
using Microsoft.VisualStudio.TestTools.UnitTesting; using NodaTime; using System; using System.Collections.Generic; using System.Text; namespace GoTo.Service.Tests { [TestClass] public class TimeZoneTests { [TestMethod] public void TestConversion() { var london = DateTimeZoneProvid...
2.289736
e3ef82b1cb00b3590cc4ac7b58248a78
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850788
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "DenicaAtanasova/SoftUni", "max_stars_repo_path": "I_Tech_Module/01. Programming Fundamentals/L07_Lists/P01MaxSequenceEqualElements/Program.cs", "provenance": "train-00027-of-00045.jsonl.gz:170008" }
starcoder
<reponame>DenicaAtanasova/SoftUni<filename>I_Tech_Module/01. Programming Fundamentals/L07_Lists/P01MaxSequenceEqualElements/Program.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace P01MaxSequenceEqualElements { class Progra...
3.485514
e792524a156e690986060b4df625bb58
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850789
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "JoelViney/SchedulerTalk", "max_stars_repo_path": "Api/SchedulerTalk.Tests/WidgetTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:170009" }
starcoder
<filename>Api/SchedulerTalk.Tests/WidgetTests.cs using Microsoft.VisualStudio.TestTools.UnitTesting; namespace SchedulerTalk.Tests { [TestClass] public class WidgetTests { [TestMethod] public void TestMethod1() { } } }
1.271245
36cd2b0e577f4d4f00ccbeb5798d7d06
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850790
{ "extension": "c-sharp", "max_stars_count": "25.0", "max_stars_repo_name": "JTOne123/More", "max_stars_repo_path": "test/More.UI.Tests/Windows.Input/AsyncDataItemCommandT1T2Test.cs", "provenance": "train-00027-of-00045.jsonl.gz:170010" }
starcoder
namespace More.Windows.Input { using FluentAssertions; using Moq; using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Windows.Input; using Xunit; public class AsyncDataItemCommandT1T2Test { [Theory] [MemberData( nameof( ExecuteM...
2.225695
69ef08b6abf03c38baf686da82a431b5
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850791
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "mingdaocom/api_csharp", "max_stars_repo_path": "Open.MingdaoSDK/Entity/TaskDetailModel.cs", "provenance": "train-00027-of-00045.jsonl.gz:170011" }
starcoder
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; using System.Xml.Serialization; using System.Collections; using System.Collections.ObjectModel; using System.Diagnostics; namespace Open.MingdaoSDK.Entity { [Serializable] [XmlRoot("task")] public class TaskDetailResultMode...
1.64133
fcc0a740f550cda21d045d82834e7cd0
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850792
{ "extension": "c-sharp", "max_stars_count": "18.0", "max_stars_repo_name": "wordpress-net/WordPressUWP", "max_stars_repo_path": "WordPressUWP/ViewModels/NewsViewModel.cs", "provenance": "train-00027-of-00045.jsonl.gz:170012" }
starcoder
<gh_stars>10-100 using System; using System.Collections.ObjectModel; using System.Linq; using System.Threading.Tasks; using System.Windows.Input; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using WordPressUWP.Services; using WordPressPCL.Models; us...
2.16212
1d1619f7123277c2e891a3c6a7952881
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850793
{ "extension": "c-sharp", "max_stars_count": "18.0", "max_stars_repo_name": "Anacubits/wirecard-net", "max_stars_repo_path": "Wirecard/Models/Mainactivity.cs", "provenance": "train-00027-of-00045.jsonl.gz:170013" }
starcoder
<reponame>Anacubits/wirecard-net<gh_stars>10-100 using Newtonsoft.Json; namespace Wirecard.Models { public class Mainactivity { [JsonProperty("cnae", DefaultValueHandling = DefaultValueHandling.Ignore)] public string Cnae { get; set; } [JsonProperty("description", DefaultValueHandling =...
1.198636
4075c2c9a4c2c816c76fbe3014a7b56a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850794
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Sqad/WebApiContrib.Formatting.Xlsx", "max_stars_repo_path": "SQAD.XlsxExportImport.Base/Formatters/XlsxMediaTypeFormatter.cs", "provenance": "train-00027-of-00045.jsonl.gz:170014" }
starcoder
using System; using System.Collections.Generic; using System.IO; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.Security.Permissions; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Extensions; using Microsoft.AspNetCore.Mvc.ModelBinding; us...
2.015227
3097e63beebc1aefdc9ba3dba78fcd3e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850795
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "kuroneko/hidtools", "max_stars_repo_path": "Waratah/HidEngine/CppGenerator/DisposableIndent.cs", "provenance": "train-00027-of-00045.jsonl.gz:170015" }
starcoder
<filename>Waratah/HidEngine/CppGenerator/DisposableIndent.cs // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. namespace HidEngine.CppGenerator { using System; /// <summary> /// A Disposable wrapper around an <see cref="IndentedWriter"/>. /// Each instance indents th...
2.947828
2dae82bac5e0a072aceecd62adafe7fd
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850796
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "LooWooTech/Kaopu", "max_stars_repo_path": "Ztop.Todo.Web/Areas/ZtopSystem/ZtopSystemControllerBase.cs", "provenance": "train-00027-of-00045.jsonl.gz:170016" }
starcoder
<reponame>LooWooTech/Kaopu using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Ztop.Todo.Web.Areas.ZtopSystem { [UserAuthorize] public class ZtopSystemControllerBase : Ztop.Todo.Web.Controllers.ControllerBase { } }
0.974001
efaf95c6e94e8206133392c0f26f01c2
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850797
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "BigHandInSky/Digital-Desperado", "max_stars_repo_path": "6 Personal Folders/Peter/DigDesPeterProj/Assets/Base/Menu_Scripts/MapUI.cs", "provenance": "train-00027-of-00045.jsonl.gz:170017" }
starcoder
using UnityEngine; using UnityEngine.UI; using System.Collections; using System.Collections.Generic; //script which handles data from LoadedLevelsData, then creates a 2D map from it public class MapUI : MonoBehaviour { [SerializeField] private List<GameObject> m_MapImages = new List<GameObject>(); [Serializ...
2.168619
cfba975077266281dcd6b1d2a0fada2e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850798
{ "extension": "c-sharp", "max_stars_count": "38.0", "max_stars_repo_name": "WadeBarnes/healthgateway", "max_stars_repo_path": "Apps/Common/test/unit/Utils/JsonClaimsIdentityConverterTest.cs", "provenance": "train-00027-of-00045.jsonl.gz:170018" }
starcoder
<gh_stars>10-100 // ------------------------------------------------------------------------- // Copyright © 2019 Province of British Columbia // // 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 Lic...
1.925395
ddef8aa093a6d3fd91b9fbe98878713f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850799
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "MrZnake/Shinden.NET", "max_stars_repo_path": "src/Extensions/ReviewsExtension.cs", "provenance": "train-00027-of-00045.jsonl.gz:170019" }
starcoder
<filename>src/Extensions/ReviewsExtension.cs<gh_stars>0 using Shinden.Models; using Shinden.Models.Entities; using Shinden.Models.Initializers; using System.Collections.Generic; using System.Web; namespace Shinden.Extensions { public static class ReviewsExtension { public static List<IReview> ToModel(...
2.690746
2b8e9363a3f0055b429b5f9b427d4122
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850800
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "82ndAirborneDiv/Epi-Info-Cloud-Contact-Tracing", "max_stars_repo_path": "Cloud Enter/Epi.Cloud/Controllers/PostController.cs", "provenance": "train-00027-of-00045.jsonl.gz:170020" }
starcoder
using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; using System.Web.Mvc; using System.Web.Security; using Epi.Common.EmailServices; using Epi.Common.EmailServices.Constants; namespace Epi.Cloud.MVC.Controllers { public class PostController : BaseSurveyControll...
2.413787
5b0d62d681ce3a3770ba6e11a6d0d119
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850801
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "TheAutomatingMrLynch/NBi", "max_stars_repo_path": "NBi.UI.Genbi/Dto/Style.cs", "provenance": "train-00027-of-00045.jsonl.gz:170021" }
starcoder
namespace NBi.UI.Genbi.Dto { public class Style : DocumentBase { } }
0.977951
9f0d3243b84f7d43b78ff11cc70efe67
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850802
{ "extension": "c-sharp", "max_stars_count": "8.0", "max_stars_repo_name": "sillsdev/phonology-assistant", "max_stars_repo_path": "src/Pa/Model/Features/FeatureCacheBase.cs", "provenance": "train-00027-of-00045.jsonl.gz:170022" }
starcoder
// --------------------------------------------------------------------------------------------- #region // Copyright (c) 2005-2015, SIL International. // <copyright from='2005' to='2015' company='SIL International'> // Copyright (c) 2005-2015, SIL International. // // This software is distributed under the ...
2.564961
5275e6d37eb5afb940ac7cf433e39a24
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850803
{ "extension": "c-sharp", "max_stars_count": "74.0", "max_stars_repo_name": "dotnetshop/Resgrid-Core", "max_stars_repo_path": "Repositories/Resgrid.Repositories.DataRepository/TrainingQuestionRepository.cs", "provenance": "train-00027-of-00045.jsonl.gz:170023" }
starcoder
<filename>Repositories/Resgrid.Repositories.DataRepository/TrainingQuestionRepository.cs using System; using System.Collections.Generic; using System.Data.Common; using System.Linq; using System.Threading.Tasks; using Dapper; using Resgrid.Framework; using Resgrid.Model; using Resgrid.Model.Repositories; using Resgrid...
2.236002
19be05c7dde5c5231aa8f0ef26feb1fa
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850804
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "SergioBtosO/TestMillionAndUp", "max_stars_repo_path": "MillionAndUp.Presentation.Api/Controllers/v1/OwnerController.cs", "provenance": "train-00027-of-00045.jsonl.gz:170024" }
starcoder
<reponame>SergioBtosO/TestMillionAndUp using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using MillionAndUp.Core.Application.Feautures.Owners.Commands.CreateOwnerCommand; using MillionAndUp.Core.Application.Feautures.Owners.Commands.DeleteOwnerCommand; using Mil...
2.346065
21e645d69c4bea29eb0df6bfaa4ebd32
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850805
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "MCForge/MCForge-Vanilla-Redux", "max_stars_repo_path": "Commands/CmdPass.cs", "provenance": "train-00027-of-00045.jsonl.gz:170025" }
starcoder
/* Copyright 2012 MCForge Dual-licensed under the Educational Community License, Version 2.0 and the GNU General Public License, Version 3 (the "Licenses"); you may not use this file except in compliance with the Licenses. You may obtain a copy of the Licenses at http://www.opensource.org/licenses/ecl2...
2.500449
b005cfdd22b68c89b3c7e54d2c1a1247
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850806
{ "extension": "c-sharp", "max_stars_count": "17.0", "max_stars_repo_name": "MatoApps/GeneralServiceHost", "max_stars_repo_path": "GeneralServiceHost/Converter/JobStatus2ColorConverter.cs", "provenance": "train-00027-of-00045.jsonl.gz:170026" }
starcoder
using GeneralServiceHost.Model; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Data; using System.Windows.Media; namespace GeneralServiceHost.Converter { public class JobStatus2ColorConverter : IV...
2.605868
cd040c0a4a90163022987a8194d3b372
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850807
{ "extension": "c-sharp", "max_stars_count": "11580.0", "max_stars_repo_name": "BSoDGamingYT/Ryujinx", "max_stars_repo_path": "Ryujinx.HLE/HOS/Services/SurfaceFlinger/ParcelHeader.cs", "provenance": "train-00027-of-00045.jsonl.gz:170027" }
starcoder
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger { struct ParcelHeader { public uint PayloadSize; public uint PayloadOffset; public uint ObjectsSize; public uint ObjectOffset; } }
0.983625
7c48f3b4c77c4da7a5094eb327adf223
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850808
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "equinor/fusion-app-resources", "max_stars_repo_path": "src/backend/tests/Fusion.Resources.Api.Tests/Helpers/Models/Rsponses/TestApiRequestMessage.cs", "provenance": "train-00027-of-00045.jsonl.gz:170028" }
starcoder
<gh_stars>1-10 using System; using System.Collections.Generic; namespace Fusion.Testing.Mocks { public class TestApiRequestMessage { public Guid Id { get; set; } public string Title { get; set; } public string Body { get; set; } public string Category { get; set; } pub...
1.569662
cb777f97ea725bc19f39e1c27c7ad316
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850809
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Shirasho/Foundry", "max_stars_repo_path": "Foundry.Core/IO/TextWriterStream.cs", "provenance": "train-00027-of-00045.jsonl.gz:170029" }
starcoder
using System; using System.IO; using System.Runtime.CompilerServices; using System.Text; using Microsoft.Toolkit.Diagnostics; namespace Foundry.IO { /// <summary> /// A <see cref="Stream"/> that writes to a <see cref="TextWriter"/>. /// </summary> public class TextWriterStream : Stream { /...
3.14624
04a661a717f72f3242de5affd824ce8b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850810
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "mmgore/eShopApp", "max_stars_repo_path": "src/Sevices/Ordering/Ordering.Infrastructure/Repositories/BuyerRepository.cs", "provenance": "train-00027-of-00045.jsonl.gz:170030" }
starcoder
using Ordering.Domain.AggregateModel.BuyerAggregate; using Ordering.Domain.SeedWork; using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Threading.Tasks; namespace Ordering.Infrastructure.Repositories { public class BuyerRepository : IBuyerRepository { private r...
2.70905
ab4973edbea647cef5b93b36bee0a3d1
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850811
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "biobankinguk/biobankinguk", "max_stars_repo_path": "src/Core/Submissions/MappingProfiles/SampleProfile.cs", "provenance": "train-00027-of-00045.jsonl.gz:170031" }
starcoder
using AutoMapper; using Biobanks.Entities.Api; using Core.Submissions.Dto; using Core.Submissions.Models; namespace Core.Submissions.MappingProfiles { public class SampleProfile : Profile { public SampleProfile() { CreateMap<SampleModel, SampleDto>(); CreateMap<SampleId...
1.461591
1917f337b8a317b79ee561b5c867b5b6