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 | 72833 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "winbench/bench",
"max_stars_repo_path": "BenchManager/BenchCLI/Commands/DashboardCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72834"
} | starcoder | <filename>BenchManager/BenchCLI/Commands/DashboardCommand.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Mastersign.CliTools;
using Mastersign.Docs;
namespace Mastersign.Bench.Cli.Commands
{
class DashboardCommand : BenchCommand
{
public override string Na... | 2.399974 | 1c9b7dab047250e04dad99a7bb8b9b05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72834 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bassclefstudio/DbLanguage",
"max_stars_repo_path": "BassClefStudio.DbLanguage.Core/Memory/MemoryGroup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72835"
} | starcoder | using BassClefStudio.DbLanguage.Core.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BassClefStudio.DbLanguage.Core.Memory
{
/// <summary>
/// Represents a collection of <see cref="MemoryItem"/> objects that are part of a similar scope.
/// </summary>
... | 3.237957 | 588b2466bdf4cf5ee928b2ef620bd862 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72835 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HeMinzhang/EntityFrameworkCore",
"max_stars_repo_path": "test/EFCore.Specification.Tests/ConcurrencyDetectorTestBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72836"
} | starcoder | <gh_stars>1-10
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore.Diagnostics;
using Microsoft.EntityFr... | 1.845463 | aa8951f5d8de04a6cd6b86e1083dc1b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72836 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Regularly-Archive/2021",
"max_stars_repo_path": "src/EnvoyJwt/CityService/Controllers/CityController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72837"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace CityService.Controllers
{
[ApiController]
[Route("[controller]")]
public class CityController : ControllerBase
{
privat... | 2.650517 | 211c9ae43ce2c740bf166b9f90d84610 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72837 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daveamato/AtlasMVC5",
"max_stars_repo_path": "test/Atlas.Tests/Helpers/HttpContextFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72838"
} | starcoder | <reponame>daveamato/AtlasMVC5<gh_stars>0
using NSubstitute;
using System.Collections;
using System.IO;
using System.Security.Principal;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace Atlas.Tests
{
public static class HttpContextFactory
{
public static HttpContext CreateHtt... | 1.942831 | aa87fae4c08345ef677e11b62236a5f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72838 | {
"extension": "c-sharp",
"max_stars_count": "140.0",
"max_stars_repo_name": "bmad4ever/ArucoUnity",
"max_stars_repo_path": "Assets/ArucoUnity/Scripts/Objects/Trackers/ArucoCharucoBoardTracker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72839"
} | starcoder | <gh_stars>100-1000
using ArucoUnity.Plugin;
namespace ArucoUnity.Objects.Trackers
{
public class ArucoCharucoBoardTracker : ArucoObjectTracker
{
// ArucoObjectTracker methods
public override void Detect(int cameraId, Aruco.Dictionary dictionary, Cv.Mat image)
{
base.Detect(cameraId, dictionary,... | 1.751457 | 2a4a9ee01915ceaa555160c9d5f55e93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72839 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rinsen/MvcModelBindingAndFromServicesIssue",
"max_stars_repo_path": "src/RepoApp/MyModelValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72840"
} | starcoder | using Microsoft.AspNet.Mvc.ModelBinding.Validation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RepoApp
{
public class MyModelValidator : IModelValidator
{
int value;
public MyModelValidator()
{
value = 0;
... | 2.464047 | 66c257f98e562d798eea34a83aec170d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72840 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pangroom/windowservice",
"max_stars_repo_path": "WindowsServiceClient/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72841"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.ServiceProcess;
using System.Configuration.Install;
using System.Collections;
namespace Win... | 2.491707 | 7119268d8d08002ee4060a13bfe3e608 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72841 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jclaessens97/PlaylistManager",
"max_stars_repo_path": "src/PlaylistManager.Model/Other/Tools.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72842"
} | starcoder | <filename>src/PlaylistManager.Model/Other/Tools.cs
using System;
namespace PlaylistManager.Model.Other
{
/// <summary>
/// Static toolbox with methods I need troughout the project and I don't
/// know any better place than a seperate static class
/// </summary>
public static class Tools
{
#regi... | 3.048495 | d0287289cb177120f28f9c8b9d6940e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72842 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "enBask/Asgard",
"max_stars_repo_path": "Asgard.Server/Network/Packets/Login.Packet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72843"
} | starcoder | <gh_stars>10-100
using Asgard.Core.Network.Packets;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Asgard.Server.Packets
{
public abstract class LoginRequestPacket : Packet
{
public bool IsValid { get; protected set; }
... | 1.291513 | a94448fe7565fa4a1d9fbad536730815 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72843 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KarmaScripter/Ninja",
"max_stars_repo_path": "excel/IGrid.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72844"
} | starcoder | // <copyright file = "IGrid.cs" company = "<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
namespace BudgetExecution
{
using OfficeOpenXml;
public interface IGrid
{
/// <summary>
/// Gets the address.
/// </summary>
/// <returns>
/// </return... | 2.543343 | 8384d58bf57547defbcfd5f16338f083 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72844 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "matiias/MVC",
"max_stars_repo_path": "src/System.Web.WebPages/ApplicationPart.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72845"
} | starcoder | <filename>src/System.Web.WebPages/ApplicationPart.cs
// 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.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using Sy... | 2.287133 | f5fce63a095ea16a260e92f7ad860bbf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72845 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "escorp-dynamics/Escorp.SMS.Activation",
"max_stars_repo_path": "Escorp.SMS.Activation/ISms.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72846"
} | starcoder | <gh_stars>0
using System.Threading.Tasks;
namespace Escorp.SMS.Activation
{
/// <summary>
/// Представляет базовый интерфейс для реализации модели SMS.
/// </summary>
public interface ISms
{
/// <summary>
/// Уникальный идентификатор SMS.
/// </summary>
long Id { ge... | 2.405724 | 99764fedfa6272470182754eee8f743e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72846 | {
"extension": "c-sharp",
"max_stars_count": "641.0",
"max_stars_repo_name": "cafstep/dotvvm",
"max_stars_repo_path": "src/Samples/Common/ViewModels/FeatureSamples/ViewModules/ViewModulesViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72847"
} | starcoder | <gh_stars>100-1000
using DotVVM.Framework.ViewModel;
namespace DotVVM.Samples.Common.ViewModels.FeatureSamples.ViewModules
{
public class ViewModulesViewModel : DotvvmViewModelBase
{
public int Value { get; set; }
public string Result { get; set; }
public TestObject ChildObject { ge... | 1.907074 | 944d61dafc3a80663889367b1627788a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72847 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RendleLabs/Bobbins.Frontend",
"max_stars_repo_path": "src/Bobbins.Frontend/Services/UpstreamServiceException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72848"
} | starcoder | <gh_stars>1-10
using System;
using System.Net;
using System.Runtime.Serialization;
namespace Bobbins.Frontend.Services
{
[Serializable]
public class UpstreamServiceException : Exception
{
public int StatusCode { get; }
//
// For guidelines regarding the creation of new e... | 2.4937 | f5b36cd05a49e7568fdae1d32df51582 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72848 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jakibaki/UnityHook",
"max_stars_repo_path": "HookRegistry/src/HookRegistry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72849"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
[assembly: AssemblyTitle("HookRegistry")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
namespace Hooks
{
public class HookRegistry
{
// Represents UnityEngine.Debu... | 2.648069 | a7701a120b48ea50ea4abde84d61dcd2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72849 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chunfz/AiursoftOnContainers",
"max_stars_repo_path": "EE/Models/CourseViewModels/CreateViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72850"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Aiursoft.EE.Models.CourseViewModels
{
public class CreateViewModel : CommonViewModel
{
[Required]
public string Name { get; set; }
[Re... | 1.84305 | e00379272f8287b31c0f393d40c065b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72850 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "iniwap/LianQiClient",
"max_stars_repo_path": "Assets/MiroChessBord/MiroModelV1/Script/Anteller/KeepAbsorbingPSPointToTF.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72851"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MiroV1
{
public class KeepAbsorbingPSPointToTF : MonoBehaviour {
public Transform _Tgt;
public Vector3 _BaseDir = Vector3.right;
public float _Spd = 1.0f;
// Use this for initialization
void Start () {
}
/... | 1.969843 | 83fd7eb256a52d3e8c1d5ccdb3bc41cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72851 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "yatagarasu25/UnityEngineEx",
"max_stars_repo_path": "src.editor/Spyglasses/ObjectSpyglass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72852"
} | starcoder | <gh_stars>1-10
using UnityEditor;
namespace UnityEditorEx.Spyglasses
{
[Spyglass(typeof(UnityEngine.Object), true)]
public class ObjectSpyglass : ObjectSpyglass<UnityEngine.Object> { }
public class ObjectSpyglass<T> : Editor<T>, ISpyglassEditor
where T : UnityEngine.Object
{
public virtual void OnSpyglassGUI... | 2.069082 | 5e580ee3ea3eb3a91e8108d48cc302c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72852 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "eShopWorld/captain-hook",
"max_stars_repo_path": "src/Tests/Platform.Eda.Cli.Tests/Commands/ConfigureEda/ApiConsumerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72853"
} | starcoder | <filename>src/Tests/Platform.Eda.Cli.Tests/Commands/ConfigureEda/ApiConsumerTests.cs
using System;
using System.Collections.Generic;
using System.IO.Abstractions;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using CaptainHook.Api.Client;
using CaptainHook.Api.Client.Mo... | 1.905723 | 664caf4cd00ce8991ad81b29dbda70ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72853 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmequus/gizmofort.connector.erpnext",
"max_stars_repo_path": "Libs/GizmoFort.Connector.ERPNext/ERPTypes/Payment_term/ERPPayment_term.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72854"
} | starcoder | <reponame>dmequus/gizmofort.connector.erpnext<gh_stars>0
using GizmoFort.Connector.ERPNext.PublicTypes;
using GizmoFort.Connector.ERPNext.WrapperTypes;
using System.ComponentModel;
namespace GizmoFort.Connector.ERPNext.ERPTypes.Payment_term
{
public class ERPPayment_term : ERPNextObjectBase
{
public ERP... | 2.252096 | 9bf72d4033fa794a0c991a828cdca2d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72854 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "sant0ro/Yupi",
"max_stars_repo_path": "Yupi.Messages/Handlers/Landing/LandingLoadWidgetMessageEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72855"
} | starcoder | // ---------------------------------------------------------------------------------
// <copyright file="LandingLoadWidgetMessageEvent.cs" company="https://github.com/sant0ro/Yupi">
// Copyright (c) 2016 <NAME>, TheDoctor
// </copyright>
// <license>
// Permission is hereby granted, free of charge, to any person o... | 1.696252 | 604926553ef3c443b32b8ffc9643f648 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72855 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ljcollins25/Codeground",
"max_stars_repo_path": "src/UnoApp/UnoDecompile/Uno.UI/Windows.UI.Xaml/FontNumeralAlignment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72856"
} | starcoder | namespace Windows.UI.Xaml;
public enum FontNumeralAlignment
{
Normal,
Proportional,
Tabular
}
| 1.454022 | cf31e872817f586a8c88ddb762b02b5b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72856 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "abb-iss/Randoop.NET",
"max_stars_repo_path": "randoop-VS-plugin-2010/Randoop/RandoopAddinTesting/TestingFiles/RandoopTestingStation/temp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72857"
} | starcoder |
[TestClass]
public class RandoopTest
{
[TestInitialize]
public void Initialize()
{
//put your own test method initialization code.
}
[TestCleanup]
public void Cleanup()
{
//put your own test method cleanup code.
}
}
| 1.418597 | 31e5d44598f02a7e96c3971b5f360c42 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72857 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kamalraturi/Finbuckle.MultiTenant",
"max_stars_repo_path": "samples/ASP.NET Core 3/EFCoreStoreSample/EnvironmentService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72858"
} | starcoder | <filename>samples/ASP.NET Core 3/EFCoreStoreSample/EnvironmentService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EFCoreStoreSample
{
public interface IEnvironmentService
{
string EnvironmentName { get; set; }
}
public class Env... | 2.572245 | 4fc1203cc6cb5c25643abf6d00c1a0fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72858 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gpreviatti/FinnacesManagementSystem",
"max_stars_repo_path": "tests/BaseTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72859"
} | starcoder | using System;
namespace Tests
{
public abstract class BaseTest
{
protected readonly string _environment;
protected readonly Guid _userAdminId = Guid.Parse("430E0144-289F-4A95-8F14-BACFABB3FE8A");
protected readonly Guid _testUser01Id = Guid.Parse("CB43D078-87F1-4864-853A-E626922B8109"... | 2.015514 | 049e5fccb8b9fe3609818922c2f78823 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72859 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kevinhillinger/azure-api-management-policies-devops",
"max_stars_repo_path": "src/Azure.ApiManagement.Policies/PolicyExpressionEvaluator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72860"
} | starcoder | using Azure.ApiManagement.Policies.Variables;
using NSubstitute;
using System;
namespace Azure.ApiManagement.Policies
{
/// <summary>
/// Expression evaluator
/// </summary>
public class PolicyExpressionEvaluator
{
private IContext context;
public PolicyExpressionEvaluator(IContex... | 2.344368 | 97c0b461f4231eb836d3d975bb196b87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72860 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "idonthaveafifaaddiction/dovetail-bootstrap",
"max_stars_repo_path": "source/Dovetail.SDK.ModelMap/Legacy/Registration/DSL/IMapExpressionFromRoot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72861"
} | starcoder | namespace Dovetail.SDK.ModelMap.Legacy.Registration.DSL
{
public interface IMapExpressionFromRoot<MODEL>
{
IMapExpressionPostRoot<MODEL> FromTable(string tableName);
IMapExpressionPostView<MODEL> FromView(string viewName);
}
} | 1.335325 | 60712e9acdcffd7428da1f8f13b3e020 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72861 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Holo-Light/HoloStylusToolkit-Unity",
"max_stars_repo_path": "Assets/HoloLight/Stylus/Examples/Calibration/Scripts/SwapBetweenRotationAndMove.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72862"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace HoloLight.HoloStylus.Examples.Calibration
{
public class SwapBetweenRotationAndMove : MonoBehaviour
{
public GameObject RotationCanvas;
public GameObject MoveCanvas;
private Transform _camTransform... | 2.181951 | 102de988bf223c3441288f19dd337784 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sampanu/DC-ILR-1819-ValidationService",
"max_stars_repo_path": "src/ESFA.DC.ILR.ValidationService.Interface/IValidationOutputService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72863"
} | starcoder | <filename>src/ESFA.DC.ILR.ValidationService.Interface/IValidationOutputService.cs<gh_stars>0
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace ESFA.DC.ILR.ValidationService.Interface
{
public interface IValidationOutputService<T>
{
Task<IEnumerable<T>> P... | 1.754356 | 19b52d974942798c33ba45710179929b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72863 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asanchezr/jag-lcrb-carla-public",
"max_stars_repo_path": "cllc-interfaces/Dynamics-Autorest/ModelExtensions/MicrosoftDynamicsCRMadoxioSpecialevent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72864"
} | starcoder | <gh_stars>0
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations;
namespace Gov.Lclb.Cllb.Interfaces.Models
{
public partial class MicrosoftDynamicsCRMadoxioSpecialevent
{
}
}
| 0.904031 | 6a843d5dcfdaaa3375e3817b1d2769db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72864 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BlacKCaT27/DotNetCoreReference",
"max_stars_repo_path": "Bcss.Reference.Grpc.Server/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72865"
} | starcoder | using System;
using System.IO;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace Bcss.Reference.Grpc.Server
{
public class Program
{
public static void Main(string[] args)
{
... | 2.754158 | d6801d4c546cc8a596951195f7fe6bfc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72865 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Murtain/Murtain.X_DVA",
"max_stars_repo_path": "src/Murtain.Extensions.Settings/GlobalSetting/Models/GlobalSettingScope.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72866"
} | starcoder | <filename>src/Murtain.Extensions.Settings/GlobalSetting/Models/GlobalSettingScope.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Murtain.Extensions.Settings.GlobalSetting.Models
{
public enum GlobalSettingScope
{
/// <summary>
/// Represents a setting that can ... | 2.178568 | aed996de1f0592d60bf9e97e7ed1c58c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72866 | {
"extension": "c-sharp",
"max_stars_count": "77.0",
"max_stars_repo_name": "hartviglarsen/OurUmbraco",
"max_stars_repo_path": "OurUmbraco.Site/Views/RepositoryFrontpage.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:72867"
} | starcoder | <filename>OurUmbraco.Site/Views/RepositoryFrontpage.cshtml
@inherits UmbracoTemplatePage
@{
Layout = "~/Views/RepositoryMaster.cshtml";
}
@Umbraco.RenderMacro("Repository-PopularPackages")
<div id="repoForm">
<h3>Log in using your our.umbraco.com credentials</h3>
@Umbraco.RenderMacro("MemberLogin", new { N... | 1.494771 | be69d59553e1743783a3931e2bde3bff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72867 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "outerminds/Entia",
"max_stars_repo_path": "Entia.Test/Action/Message.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72868"
} | starcoder | using Entia.Core;
using Entia.Modules;
using Entia.Modules.Message;
using FsCheck;
using System.Collections.Generic;
using System.Linq;
namespace Entia.Test
{
public sealed class EmitMessage<T> : Action<World, Model> where T : struct, IMessage
{
int _local;
int _global;
T _message;
... | 2.345527 | 2d8628da942b1d972ea57390459e587c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72868 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eljunia/Peanut",
"max_stars_repo_path": "src/Web/Peanut.Web/Controllers/HomeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72869"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Peanut.Data.Common;
using Peanut.Data.Models;
using Peanut.Services.DataServices;
using Peanut.Services.M... | 2.151033 | e9c19819b4172b4e4af8c335876937f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72869 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "davidikin45/DigitalNomadDaveAspNetCore3",
"max_stars_repo_path": "src/DND.Domain/Blog/BlogPosts/BlogPostLocation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72870"
} | starcoder | <reponame>davidikin45/DigitalNomadDaveAspNetCore3
using AspNetCore.Mvc.Extensions.Domain;
using DND.Domain.Blog.Locations;
namespace DND.Domain.Blog.BlogPosts
{
public class BlogPostLocation : EntityChildBase<int>
{
//[Required]
public int BlogPostId { get; set; }
//public virtual Blog... | 1.581125 | 7c8393c013e950fec6106fd1d747708b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72870 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "bhariharan/SalesforceMobileSDK-Windows",
"max_stars_repo_path": "SalesforceSDK/Salesforce.SDK.Tests/Source/TestCredentials.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72871"
} | starcoder | /*
* Copyright (c) 2013-present, salesforce.com, inc.
* All rights reserved.
* Redistribution and use of this software 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 noti... | 1.454755 | 71adf0f9e35dd07907223eebb1029b2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "caiocampos/Op-o-MpC",
"max_stars_repo_path": "OpcaoMPC Servidor/DAL/Interfaces/IDAORemovivel .cs",
"provenance": "train-00000-of-00045.jsonl.gz:72872"
} | starcoder | <filename>OpcaoMPC Servidor/DAL/Interfaces/IDAORemovivel .cs
using System;
using System.Collections.Generic;
namespace OpcaoMPCServidor.DAL.Interfaces
{
public interface IDAORemovivel<T>: IDAO<T>
where T : class, new()
{
bool Remover(T entidade, UInt64 usuario);
bool Remover(U... | 2.00462 | f8a7acc928edbeea8dac9bf625fdf20f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72872 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "pierre-galaup/globalgamejam2016",
"max_stars_repo_path": "Assets/End Clock/_makeYOURlevel_LITE/PREFAB_makeYOURlevel_LITE/6_scripts/uScriptRuntime/Nodes/Events/uScript_InputField.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72873"... | starcoder | // uScript uScript_InputField.cs
// (C) 2015 Detox Studios LLC
using UnityEngine;
using System.Collections;
//Unity 4.6 and above only
#if !UNITY_3_5 && !UNITY_4_0 && !UNITY_4_1 && !UNITY_4_2 && !UNITY_4_3 && !UNITY_4_4 && !UNITY_4_5
[NodePath("Events/UI Events")]
[NodeCopyright("Copyright 2015 by Detox Studios LLC... | 2.208795 | dde82f09e1d9042005e4820216586973 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72873 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EnsignPayton/UnityTemplate",
"max_stars_repo_path": "Build/build.cake",
"provenance": "train-00000-of-00045.jsonl.gz:72874"
} | starcoder | <filename>Build/build.cake<gh_stars>0
var target = Argument("target", "Default");
var config = Argument("config", "Debug");
const string project = "Template/Template.csproj";
Task("Build-Project")
.Does(() =>
{
DotNetCoreBuild(project, new DotNetCoreBuildSettings
{
Configuration = ... | 2.263482 | a58c74053b35379f26dd3eb60883dce5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72874 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "palladiumkenya/livehapi",
"max_stars_repo_path": "LiveHAPI.Shared/ValueObject/CohortInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72875"
} | starcoder | using System;
using LiveHAPI.Shared.Custom;
using LiveHAPI.Shared.Model;
namespace LiveHAPI.Shared.ValueObject
{
public class CohortInfo
{
public Guid Id { get; set; }
public string Name { get; set; }
public string Display { get; set; }
public int Rank { get; set; }
}
}
| 1.635348 | c363d35d2787ae74b403906648069355 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72875 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "islaytitans/Sitecore-Forms-Extensions",
"max_stars_repo_path": "src/Feature/FormsExtensions/code/Business/FieldBindings/xDbBindingHandlers/ContactConcent/XDbExecutedRightToBeForgottenBindingHandler.cs",
"provenance": "train-00000-of-0... | starcoder | using Sitecore.XConnect.Collection.Model;
namespace Feature.FormsExtensions.Business.FieldBindings.xDbBindingHandlers.ContactConcent
{
public class XDbExecutedRightToBeForgottenBindingHandler : ConsentInformationBindingHandler
{
protected override IBindingHandlerResult GetFieldBindingValueFromFacet(Con... | 1.862223 | dc898cbe8c30d77ae5ff6d447b875917 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72876 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Supertext/SuperScript.Common",
"max_stars_repo_path": "Emitters/EmitterBundle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72877"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using SuperScript.Configuration;
using SuperScript.Declarables;
using SuperScript.ExtensionMethods;
using SuperScript.Modifiers;
using SuperScript.Modifiers.Post;
using SuperScript.Modifiers.Writers;
namespace Supe... | 2.72176 | c85df0acc7a6511533a00bbe7f7a7125 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72877 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mijyuoon/ArendelleBot",
"max_stars_repo_path": "ArendelleBot/Utils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72878"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Net;
using System.IO;
namespace ArendelleBot {
static class Fmt {
public const string Bold = "\x02";
public const string Italic = "... | 3.126755 | 68d8c9dea5ce252669602c383a8644b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72878 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "luke-h1/explore-education-statistics",
"max_stars_repo_path": "src/GovUk.Education.ExploreEducationStatistics.Data.Processor/Services/ImporterFilterService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72879"
} | starcoder | using System.Linq;
using GovUk.Education.ExploreEducationStatistics.Data.Model;
using GovUk.Education.ExploreEducationStatistics.Data.Model.Database;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Caching.Memory;
namespace GovUk.Education.ExploreEducationStatistics.Data.Processor.Services
{
public... | 2.371804 | 74e7a9fb9ce433a85968359329cd87a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72879 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "batgungor/DotNetAPIBoilerPlate",
"max_stars_repo_path": "Data/DAL/UnitOfWork/EFUnitOFWork.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72880"
} | starcoder | <gh_stars>1-10
using DotNetCoreAPIBoilerPlate.Data.DAL.Repository;
using DotNetCoreAPIBoilerPlate.Data.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
namespace DotNetCoreAPIBoilerPlate.Data.DAL.UnitOfWork
{
public class EFUnitOfWork : IUnitOfWork
{
private bool _isDispose... | 2.77329 | 8e10041ce3f83f2964eb7cb36d157cf6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72880 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DirtyPiece/dancestudio",
"max_stars_repo_path": "Source/Windows/DanceStudio/DanceStudio/ViewModels/SongPackViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72881"
} | starcoder | <gh_stars>1-10
// =======================================================================
// <copyright file="SongPackViewModel.cs" company="Bean and Cheese Studios">
// Copyright 2015 Bean and Cheese Studios
// </copyright>
// <date>12-29-2014</date>
// ================================================================... | 2.457496 | 81d7412802ba250eea8be620d3823ea3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72881 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ikolupaev/codingame",
"max_stars_repo_path": "XmasRush/Player/XmasRush.Tests/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72882"
} | starcoder | <filename>XmasRush/Player/XmasRush.Tests/Properties/AssemblyInfo.cs<gh_stars>0
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("XmasRush.Tests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyC... | 1.553678 | 7be5d96f8c558b65367a7732c1ce54af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thild/singl",
"max_stars_repo_path": "src/Singl/Areas/Admin/Views/Disciplinas/Create.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:72883"
} | starcoder | @model Singl.ViewModels.DisciplinaCreateViewModel
@{
ViewBag.Title = "Criar disciplina";
Layout = "/Areas/Admin/Views/Shared/_Layout.cshtml";
}
<h2>Criar disciplina</h2>
<div>
<form asp-controller="Disciplinas" asp-action="Create" method="post">
<div class="form-horizontal">
... | 1.867422 | 216da1e717beee176369445512fdec85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72883 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "riQQ/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/KSWAVETABLE_WAVE_DESC.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72884"
} | starcoder | // c:\program files (x86)\windows kits\10\include\10.0.18362.0\shared\ksmedia.h(2500,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct KSWAVETABLE_WAVE_DESC
{
public KSIDENTIFIER Identifier;
public uint Si... | 1.423306 | 69874d62653f2b1892cc3a3c5e21ea0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72884 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hsinghkalsi/newrelic-dotnet-agent",
"max_stars_repo_path": "src/Agent/NewRelic/Agent/Core/NewRelic.Agent.Core.Tracer/TracerFlags.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72885"
} | starcoder | /*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
using System;
using NewRelic.Agent.Extensions.Providers.Wrapper;
namespace NewRelic.Agent.Core.Tracer
{
/// <summary>
/// A bitset of tracer flags.
/// These flags come to us from values scraped out of ... | 2.172021 | 11699e88608a2f8b6c14fd143a9814ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72885 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "maxvollmer/RaftMMO",
"max_stars_repo_path": "RaftMMO/ModEntry/IModLogger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72886"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RaftMMO.ModEntry
{
public interface IModLogger
{
void LogError(string message);
void LogWarning(string message);
void LogDebug(string message);
... | 1.756242 | d2783aa84c8ff9ccb02c275390a690c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72886 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "Nethereum/Nethereum.eShop",
"max_stars_repo_path": "src/Nethereum.eShop/ApplicationCore/Services/RulesEngineService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72887"
} | starcoder | using Ardalis.GuardClauses;
using Nethereum.eShop.ApplicationCore.Entities.QuoteAggregate;
using Nethereum.eShop.ApplicationCore.Entities.RulesEngine;
using Nethereum.eShop.ApplicationCore.Interfaces;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Nethereum.eShop.ApplicationCo... | 2.156533 | ce64caf7d7be4b7d991f108ed70009c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72887 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "santedb/openiz-admin",
"max_stars_repo_path": "OpenIZAdmin/Models/DebugModels/AssemblyInfoViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72888"
} | starcoder | <reponame>santedb/openiz-admin
/*
* Copyright 2016-2017 Mohawk College of Applied Arts and Technology
*
* 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/license... | 2.233415 | 1ba09a284c8edfa89f36528b3b02b499 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72888 | {
"extension": "c-sharp",
"max_stars_count": "522.0",
"max_stars_repo_name": "essensoft/paymen",
"max_stars_repo_path": "src/Essensoft.Paylink.Alipay/Response/AlipayFundJointaccountTradeQueryResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72889"
} | starcoder | <reponame>essensoft/paymen
using System.Collections.Generic;
using System.Text.Json.Serialization;
using Essensoft.Paylink.Alipay.Domain;
namespace Essensoft.Paylink.Alipay.Response
{
/// <summary>
/// AlipayFundJointaccountTradeQueryResponse.
/// </summary>
public class AlipayFundJointaccountTradeQue... | 1.457662 | 90f87740e6a013aea02b38e06778e21a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72889 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "bitai-cs/LDAPHelper",
"max_stars_repo_path": "src/Bitai.LDAPHelper.DTO/Enums.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72890"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace Bitai.LDAPHelper.DTO
{
public enum EntryAttribute
{
/// <summary>
/// country abrev.
/// </summary>
c,
cn,
company,
co,
department,
description,
... | 1.703781 | b8edfe084ca44e58f5fce9503925468c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72890 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ericmutta/samples",
"max_stars_repo_path": "snippets/csharp/VS_Snippets_WebNet/CustomServerControlStateManagement/CS/StateManagedAuthorConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72891"
} | starcoder | // <Snippet4>
// StateManagedAuthorConverter.cs
using System;
using System.ComponentModel;
using System.ComponentModel.Design.Serialization;
using System.Globalization;
using System.Reflection;
namespace Samples.AspNet.CS.Controls
{
public class StateManagedAuthorConverter :
ExpandableObjectConverter
... | 2.972208 | b153f0b5aa32e36bcd69ed260ab2f2e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72891 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "richarddowner/Humidifier",
"max_stars_repo_path": "src/Humidifier/EFS/MountTarget.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72892"
} | starcoder | namespace Humidifier.EFS
{
using System.Collections.Generic;
public class MountTarget : Humidifier.Resource
{
public static class Attributes
{
public static string IpAddress = "IpAddress" ;
}
public override string AWSTypeName
{
get
... | 2.212418 | 903039167396f5e38bf2af8a9ae990a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72892 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WillBrigida/ProjetoSmartList",
"max_stars_repo_path": "ProjetoSmartList/ProjetoSmartList.Android/Services/FacebookService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72893"
} | starcoder | using Android.App;
using Org.Json;
using ProjetoSmartList.Droid.Services;
using ProjetoSmartList.Models;
using ProjetoSmartList.Services;
using System;
using System.Collections.Generic;
using Xamarin.Facebook;
using Xamarin.Facebook.Login;
using Xamarin.Forms;
[assembly: Dependency(typeof(FacebookService))]
namespac... | 2.050774 | 485b6118e5e200c74f9b35d4c5f14103 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72893 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "0lizi/pwlock",
"max_stars_repo_path": "pwlock/PasswordAudit/InternalMonoglogue/StringExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72894"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace InternalMonologue
{
//this is hack to support .net 3.5 (default installation on Windows 7)
public static class StringExtensions
{
public static bool IsNullOrWhiteSpace(this string value)
{
... | 2.615698 | 794db3ea4af5c5bd837292f68614cfea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72894 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "SungJJinKang/Unity_Scratch_System",
"max_stars_repo_path": "Assets/02.Scripts/Block/BlockReflector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72895"
} | starcoder | <reponame>SungJJinKang/Unity_Scratch_System<filename>Assets/02.Scripts/Block/BlockReflector.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
public static class BlockReflector
{
public static IEnumerable<Type> GetAllSealedBlockTypeContainingBlockTitleAt... | 2.315475 | 5935d6f7e0f2232db74ec5ba385dc5e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72895 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "svenboulanger/SimpleCircuit",
"max_stars_repo_path": "SimpleCircuit/Job.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72896"
} | starcoder | <gh_stars>0
namespace SimpleCircuit
{
/// <summary>
/// A job for conversion of a SimpleCircuit script to SVG.
/// </summary>
public class Job
{
/// <summary>
/// Gets or sets the directory of the input file.
/// </summary>
public string InputDirectory { get; set; }
... | 2.041398 | 276932f8927d5449f36faa7ac6ee6aca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72896 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "skurapat/Testdevops",
"max_stars_repo_path": "src/api/Data/DataEntityGenerator/SeattleFlames_Catapult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72897"
} | starcoder | <filename>src/api/Data/DataEntityGenerator/SeattleFlames_Catapult.cs
namespace TPP.Core.Data.Entities
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public parti... | 2.020526 | 306c42a2d206cb2b7171b41656720ef7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72897 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LowerAI/EmguCV-Tutorials",
"max_stars_repo_path": "ExampleApp/Form4p15.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72898"
} | starcoder | <reponame>LowerAI/EmguCV-Tutorials<filename>ExampleApp/Form4p15.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ExampleApp
{
// p15:提取图... | 2.510078 | db1eab942815e318d33456582af2f6ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72898 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gitter-badger/konsole",
"max_stars_repo_path": "Konsole/Forms/BoxWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72899"
} | starcoder | using System.Text;
using Konsole.Internal;
namespace Konsole.Forms
{
public class BoxWriter : IBoxWriter
{
private readonly IBoxStyle _lines;
private readonly int _width; // total width of the dialog, including lines
private readonly int _captionWidth; // width o... | 3.109832 | 080c666668c5a4801e8e452aff56b9a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72899 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RichardPilkington/SimpleIdServer",
"max_stars_repo_path": "src/OAuth/SimpleIdServer.OAuth.Client/OAuthHttpResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72900"
} | starcoder | // Copyright (c) SimpleIdServer. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using Newtonsoft.Json.Linq;
using System.Net;
namespace SimpleIdServer.OAuth.Client
{
public class OAuthHttpResult
{
public OAuthHttpResult(... | 1.812529 | c4e5ce7f8e962c8680488f84577b1e91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72900 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yasinallahdev/codewars-solutions",
"max_stars_repo_path": "C# Codewars/is-factor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72901"
} | starcoder | <reponame>yasinallahdev/codewars-solutions
/*
PROBLEM:
Check for Factor
This function should test if the factor is a factor of base.
Return true if it is a factor or false if it is not.
Information
Factors are numbers you can multiply together to get another number.
2 an... | 3.301463 | c8322a80b96eb615afda41bf768c4f05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72901 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "drakeg/PowerShell",
"max_stars_repo_path": "src/Microsoft.PowerShell.GraphicalHost/ShowCommand/Controls/ImageButton/ImageButton.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72902"
} | starcoder | <reponame>drakeg/PowerShell
//-----------------------------------------------------------------------
// <copyright file="ImageButton.xaml.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <summary>
// Implements ImageButton.
// </summary>
//-----------------... | 2.449503 | f43d4d1086595ca7b41d51e97cf30957 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72902 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chkam05/DotNetTools.XMLDatabase",
"max_stars_repo_path": "Tools.XMLDatabase.NUnitTests/Data/ConversionTestModels/ConversionIterableNullableDataModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72903"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Linq;
using Tools.XMLDatabase.Data;
using Tools.XMLDatabase.NUnitTests.Data.SimpleModels;
namespace Tools.XMLDatabase.NUnitTests.Data.ConversionTestModels
{
public class ConversionIterableNullableDataModel : DataModel
{
... | 2.225716 | 2cce64c56d4fb30412553c081c6ff63d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72903 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "greeduomacro/vivre-uo",
"max_stars_repo_path": "Scripts/Customs/Nerun's Distro/New/Mobiles/Monsters/Humanoid/Magic/Spellbinder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72904"
} | starcoder | using System;
using System.Collections;
using Server.Items;
using Server.Targeting;
namespace Server.Mobiles
{
[CorpseName( "a ghostly corpse" )]
public class Spellbinder : BaseCreature
{
[Constructable]
public Spellbinder() : base( AIType.AI_Spellbinder, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a Sp... | 2.06885 | bf83a22d6c8651dc7c7d4bd5ca9b4111 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72904 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "DevsDNA/DevsDNA-Application",
"max_stars_repo_path": "DevsDNA.Application/DevsDNA.Application/DevsDNA.Application/Features/SocialNetwork/Facebook/APIModels/Attachments.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72905"
} | starcoder | namespace DevsDNA.Application.Features.SocialNetwork.Facebook.APIModels
{
using Newtonsoft.Json;
using System.Collections.Generic;
public class Attachments
{
[JsonProperty("data")]
public IEnumerable<Attachment> Data { get; set; }
}
}
| 1.70819 | 1eb93d091da6712a815f8cab019672b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72905 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "your-azure-coach/ecommerce-app",
"max_stars_repo_path": "src/order-app/OrderApp.OrderApi/Controllers/OrderController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72906"
} | starcoder | using Azure.Messaging.ServiceBus;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using OrderApp.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
namesp... | 2.456742 | bdee2744618596298c95bb8cb5774ffb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72906 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UFGInsurance/ExtendedXmlSerializer",
"max_stars_repo_path": "src/ExtendedXmlSerializer/ExtendedXmlSerializerConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72907"
} | starcoder | <filename>src/ExtendedXmlSerializer/ExtendedXmlSerializerConfig.cs
// MIT License
//
// Copyright (c) 2016 <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 without restriction,... | 2.41473 | c2646fe5a84759ebcade4dde0189ebb2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72907 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mgroupntua/LinearAlgebra",
"max_stars_repo_path": "src/MGroup.LinearAlgebra/Providers/MKL/MklLapackProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72908"
} | starcoder | <filename>src/MGroup.LinearAlgebra/Providers/MKL/MklLapackProvider.cs
using IntelMKL.LP64;
//TODO: this should probably call the MKL dlls directly, instead of using the package Compute.NET Bindings.
namespace MGroup.LinearAlgebra.Providers.MKL
{
/// <summary>
/// Implementation of <see cref="ILapackProvider"/> that ... | 2.39579 | 8b539b9de2b2378187a4aa5ffadd2419 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72908 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "jonthysell/Chordious",
"max_stars_repo_path": "Chordious.Core/Common/Music/ChordQualitySet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72909"
} | starcoder | //
// ChordQualitySet.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2015, 2017, 2019, 2020 <NAME> <http://jonthysell.com>
//
// 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 S... | 2.206246 | 5c20a97623048558a89e92776e025b4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72909 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "HSR-MGE/WPF-Uebungen",
"max_stars_repo_path": "U14_Loesung/AsciiArt.Core/Service/IPlatformSupport.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72910"
} | starcoder | <gh_stars>1-10
namespace W14.Core.Service
{
public interface IPlatformSupport
{
void ShowError(string title, string msg);
}
}
| 1.252929 | d8bd3e876fe393b20774be54e3e40dd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72910 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "AndyMcKenna/NopCommerce_FirstData",
"max_stars_repo_path": "Plugin/Services/SavedCardService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72911"
} | starcoder | <reponame>AndyMcKenna/NopCommerce_FirstData<gh_stars>1-10
using System;
using System.Linq;
using System.Collections.Generic;
using BitShift.Plugin.Payments.FirstData.Domain;
using Nop.Data;
namespace BitShift.Plugin.Payments.FirstData.Services
{
public class SavedCardService : ISavedCardService
{
private IRep... | 2.338503 | 790873241e5dfe1ee25e7145056164b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72911 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "npocmaka/Windows-Server-2003",
"max_stars_repo_path": "com/netfx/src/clr/bcl/system/object.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72912"
} | starcoder | <gh_stars>10-100
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*============================================================
**
** Class: Object
**
** Author: <NAME> (darylo)
**
** Object is the root class for all CLR objects. This class
** defines only the b... | 2.641733 | 2f6c66d5a28519a01ad78c152b1d80bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72912 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Fenetre/Sitefinity-Form-Extension-Widget",
"max_stars_repo_path": "Classes/FormExtendedMail.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72913"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mail;
using System.Net.Mime;
using System.Text;
using Telerik.Microsoft.Practices.EnterpriseLibrary.Logging;
using Telerik.Sitefinity.Configuration;
using Telerik.Sitefinity.Services;
using Telerik.Sitefinity.Services.Notifications;
us... | 2.125479 | 3ad053790a5aa46a2da33facce27e890 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72913 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "daluu/seleniumexceladdin",
"max_stars_repo_path": "SeleniumExcelAddIn/TestCaseSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72914"
} | starcoder | <reponame>daluu/seleniumexceladdin<gh_stars>1-10
// Copyright (c) 2014 <NAME>
namespace SeleniumExcelAddIn
{
public class TestCaseSettings
{
public bool IsChecked;
public TestResult Result;
public TestCaseSettings()
{
this.IsChecked = true;
this.Result ... | 1.704481 | a215466736a5365cc221b8e40686e61f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72914 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dotnetcrafted/cs-go-statistics",
"max_stars_repo_path": "Core/CsStat.Domain/Entities/Demo/DemoLog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72915"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using MongoDB.Bson.Serialization.Attributes;
using MongoRepository;
namespace CsStat.Domain.Entities.Demo
{
[DataContract]
public class DemoLog : Entity, IBaseEntity
{
public DemoLog()
{
Players... | 2.064925 | 76f4f7cca910398968ce14ed4335e43f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72915 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mohanedmoh/Hospital-Patiant-Application",
"max_stars_repo_path": "TodoShared/Pages/invoice_profile.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72916"
} | starcoder | using Newtonsoft.Json.Linq;
using Plugin.Connectivity;
using Plugin.SecureStorage;
using RestSharp;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TodoLocalized.Model;
using TodoLocalized.Pages.invoices_card;
using Xam... | 2.11225 | 16d801359ee22b55a265d267dc6d22d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72916 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "vimaec/g3d",
"max_stars_repo_path": "csharp/Vim.G3d/G3dSerialization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72917"
} | starcoder | using System;
using System.IO;
using System.Linq;
using Vim.BFast;
using Vim.LinqArray;
namespace Vim.G3d
{
public static partial class G3DExtension
{
public static void WriteAttribute(Stream stream, GeometryAttribute attribute, string name, long size)
{
var buffer = attribute.ToBu... | 2.800645 | 9ac434f3e302054f99ae005f694145ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72917 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "getbucket/bucket",
"max_stars_repo_path": "src/Bucket.Tests/Support/MockExtension/MockITransport.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72918"
} | starcoder | /*
* This file is part of the Bucket package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Document: https://github.com/getbucket/bucket/wiki
*/
using Bucket.Downloader.Transport;
using Moq;
using M... | 2.030139 | 65220a147293b1162c549ea767a75b62 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72918 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mmitche/visualfsharp",
"max_stars_repo_path": "vsintegration/src/FSharp.ProjectSystem.Base/Project/Web/VsHierarchyItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72919"
} | starcoder | <filename>vsintegration/src/FSharp.ProjectSystem.Base/Project/Web/VsHierarchyItem.cs
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using S... | 2.049064 | 4c422978b039b8b26b25c5cd40367c4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72919 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "simonferquel/simcim",
"max_stars_repo_path": "SimCim.Root.V2/AssociationWin32ActionCheck.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72920"
} | starcoder | <filename>SimCim.Root.V2/AssociationWin32ActionCheck.cs
using Microsoft.Management.Infrastructure;
using Microsoft.Management.Infrastructure.Options;
using SimCim.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
namespace SimCim.Root.V2
{
public struct... | 2.105849 | b79327387c6bac6f35aea700bc6fcfa7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72920 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "git-thinh/CSharpTest.Net-source-v2.12.810.409",
"max_stars_repo_path": "Library/Library.Test/TestVariantSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72921"
} | starcoder | <filename>Library/Library.Test/TestVariantSerializer.cs
#region Copyright 2011-2012 by <NAME>, Licensed under the Apache License, Version 2.0
/* 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... | 2.494656 | 28b4fdcf8bf1561935d0fdeaaa174003 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72921 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "encounter12/AspNet-Mvc-School",
"max_stars_repo_path": "School/School.Web/Areas/Administration/Models/AccountDetailsEditModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72922"
} | starcoder | <gh_stars>1-10
namespace School.Web.Areas.Administration.Models
{
using System.ComponentModel.DataAnnotations;
using System.Web;
public class AccountDetailsEditModel
{
[Required]
[Display(Name = "Username")]
public string UserName { get; set; }
[Required]
... | 1.953218 | b25d100c213c67468646f3703149a07d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72922 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mblaine/PkMn",
"max_stars_repo_path": "PkMn.Model/Stats.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72923"
} | starcoder | <reponame>mblaine/PkMn
using System;
using System.Xml;
using PkMn.Model.Enums;
namespace PkMn.Model
{
public class Stats
{
public static StatType[] StatTypes = new StatType[] { StatType.HP, StatType.Attack, StatType.Defense, StatType.Special, StatType.Speed };
public int HP;
... | 2.866008 | e33de2649b97bd1ada382a2c0a36fd8c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72923 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "clarartp/twilio-csharp",
"max_stars_repo_path": "src/Twilio.WinRT/UnderscoreMappingResolver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72924"
} | starcoder | <reponame>clarartp/twilio-csharp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Twilio
{
//internal class UnderscoreMappingResolver : DefaultContractResolver
//{
//protected override string ResolvePropertyName(string proper... | 2.086812 | 585e38d31e4491b7103c51052588bfc3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72924 | {
"extension": "c-sharp",
"max_stars_count": "507.0",
"max_stars_repo_name": "pawan-deepsource/installer",
"max_stars_repo_path": "src/SourceBuild/tarball/content/test/Microsoft.DotNet.SourceBuild.SmokeTests/XmlDocTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72925"
} | starcoder | <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.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xunit;
using Xunit.Ab... | 1.962642 | e7e80493865168206a7c69b5d23f9057 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72925 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bradirby/OrleansHelloAgain",
"max_stars_repo_path": "src/HelloWorld.Interfaces/Grains/IAccountGrain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72926"
} | starcoder | using System.Threading.Tasks;
using Orleans;
namespace HelloWorld.Interfaces
{
public interface IAccountGrain : IHelloWorldGrainWithGuidKey
{
Task<IAccountSummaryDto> SetAccountName(string acctName);
Task<IAccountSummaryDto> GetAccountSummary();
Task<IAccountSummaryDto> Withdraw(deci... | 1.913403 | 398da175a8b2f2098a93f231c402a6fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72926 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/das-tasks",
"max_stars_repo_path": "src/SFA.DAS.Tasks.Application/Commands/SaveUserReminderSuppression/SaveUserReminderSuppressionFlagCommandValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72927"
} | starcoder | using System;
using System.Threading.Tasks;
using SFA.DAS.Tasks.Application.Validation;
using SFA.DAS.Tasks.API.Types.Enums;
namespace SFA.DAS.Tasks.Application.Commands.SaveUserReminderSuppression
{
public class SaveUserReminderSuppressionFlagCommandValidator : IValidator<SaveUserReminderSuppressionFlagCommand>
... | 2.142995 | abfb0e793de44fed256024eaec2fef5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72927 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tiwater/GameFramework",
"max_stars_repo_path": "Scripts/Display/Placement/Components/RotateOnDrag.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72928"
} | starcoder | <reponame>tiwater/GameFramework<filename>Scripts/Display/Placement/Components/RotateOnDrag.cs
using UnityEngine;
using UnityEngine.EventSystems;
namespace GameFramework.Display.Placement.Components
{
/// <summary>
/// Maintain a fixed distance from the specified transform
/// </summary>
[AddComponentM... | 2.368315 | b60c17e3693bbffeb12cb7dfdf0aea61 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72928 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SameplayerDE/HxEngine",
"max_stars_repo_path": "GameObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72929"
} | starcoder | <gh_stars>0
using Microsoft.Xna.Framework;
namespace HxEngine
{
public class GameObject
{
public string Tag = "Untagged";
public Vector3 Position = Vector3.Zero;
public Quaternion Rotation = Quaternion.Identity;
}
} | 1.523463 | af18aae2bfe6b68da7d20a81ce2413f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72929 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Brightspace/LaunchDarkly.EventSource",
"max_stars_repo_path": "test/LaunchDarkly.EventSource.Tests/Stubs/StubEventSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72930"
} | starcoder | <filename>test/LaunchDarkly.EventSource.Tests/Stubs/StubEventSource.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace LaunchDarkly.EventSource.Tests.Stubs
{
public class StubEventSource : EventSource
{
private readonly int _delayedResponseInMilliseconds;
public S... | 2.290705 | cacf0e5107f0c8160dd97a8206063c4f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72930 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "AaronFriel/pulumi-google-native",
"max_stars_repo_path": "sdk/dotnet/Privateca/V1/Inputs/PublicKeyArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72931"
} | starcoder | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Goog... | 1.865023 | 0fd61111259331e1cfa24fcdabda4eaf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72931 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "ably/ably-dotnet",
"max_stars_repo_path": "src/IO.Ably.Tests.Shared/DefaultTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72932"
} | starcoder | <filename>src/IO.Ably.Tests.Shared/DefaultTests.cs<gh_stars>10-100
using FluentAssertions;
using Xunit;
namespace IO.Ably.Tests.Shared
{
public class DefaultTests
{
[Fact]
[Trait("spec", "RSC15h")]
public void Defaults_ReturnsFallbackHosts()
{
var expectedFallBackHo... | 2.167245 | 677ef9870dca078a254c33120608b7ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72932 | {
"extension": "c-sharp",
"max_stars_count": "218.0",
"max_stars_repo_name": "FedorUporov/gridgain",
"max_stars_repo_path": "modules/platforms/dotnet/Apache.Ignite.Core/Binary/IBinaryIdMapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72933"
} | starcoder | /*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
*
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gridgain.com/products/software/community-edition... | 1.923933 | 4187e933085749a66ad1f7bedf700ab1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.