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 | 2137 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "almann/ion-dotnet",
"max_stars_repo_path": "IonDotnet/IonException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2138"
} | starcoder | using System;
namespace IonDotnet
{
/// <inheritdoc />
/// <summary>
/// Base class for exceptions thrown throughout this library
/// </summary>
public class IonException : Exception
{
protected IonException()
{
}
public IonException(Exception inner) : base("Ex... | 2.574954 | ad93adaa4aab96a9d7ca670f98ef9b96 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2138 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HernanGatta/iotedge",
"max_stars_repo_path": "edge-agent/test/Microsoft.Azure.Devices.Edge.Agent.Docker.Test/RuntimeInfoProviderTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2139"
} | starcoder | <filename>edge-agent/test/Microsoft.Azure.Devices.Edge.Agent.Docker.Test/RuntimeInfoProviderTest.cs
// Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.Azure.Devices.Edge.Agent.Docker.Test
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
... | 1.595709 | 43ff08fea912097b3c27dbd3b2a27523 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2139 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "Omarookolosio94/CodeMazeGuides",
"max_stars_repo_path": "strings-csharp/UsingVariablesInsideStrings/UsingVariablesInsideStrings/MyClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2140"
} | starcoder | namespace UsingVariablesInsideStrings
{
public class MyClass
{
public int MyNumber { get; set; }
public MyClass(int num)
{
MyNumber = num;
}
public override string ToString()
{
return MyNumber.ToString();
}
}
}
| 3.326967 | 003dce98a21a3fc978181f139606b349 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2140 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "matkoch/Nevermore",
"max_stars_repo_path": "source/Nevermore/IWriteQueryExecutor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2141"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Nevermore.Querying;
namespace Nevermore
{
public interface IWriteQueryExecutor : IReadQueryExecutor
{
/// <summary>
/// Immediately inserts a new item into the default table for the docum... | 2.741425 | 7ce15a85fca331dbffed44b7e664d80a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2141 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shintadono/OpenGL.Core.Example1",
"max_stars_repo_path": "OpenGLHelper/FloatListExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2142"
} | starcoder | using System.Collections.Generic;
namespace OpenGL.Helper
{
public static class FloatListExtension
{
public static void Add(this List<float> list, Tuple2fs tuple2)
{
list.Add(tuple2.x);
list.Add(tuple2.y);
}
public static void Add(this List<float> list, Tuple3fs tuple3)
{
list.Add(tuple3.x);
... | 2.633054 | 28dda44cac193eac5e14daa4bd09c345 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2142 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tholdan/unity",
"max_stars_repo_path": "Scripts/GravitySystem/GravityFocus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2143"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GravityFocus : MonoBehaviour
{
public float gravitationalAcceleration;
public float distanceAccelerationDecrease;
}
| 1.208357 | 9edf97a8119b3a6716e7a5481389cc55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2143 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EwoutH/WOA-Deployer",
"max_stars_repo_path": "Source/Deployer.NetFx/InvalidImageException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2144"
} | starcoder | using System;
namespace Deployer.Filesystem.FullFx
{
internal class InvalidImageException : Exception
{
public InvalidImageException(string msg) : base(msg)
{
}
}
} | 1.802212 | 175858fcd2d49e23b2dc673add8f0204 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2144 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "garyng/XF-Material-Library",
"max_stars_repo_path": "Samples/MaterialMvvmSample/ViewModels/MaterialCircularViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2145"
} | starcoder | <gh_stars>1-10
using System;
using System.Threading.Tasks;
namespace MaterialMvvmSample.ViewModels
{
public class MaterialCircularViewModel : BaseViewModel
{
public MaterialCircularViewModel()
{
}
}
}
| 1.317106 | 2e070d4482a0af0a259cd87eeb10dcac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2145 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "casertano/DotNetCore.DDD.CQRS.AzureBUS",
"max_stars_repo_path": "MessageService.Domain/Repositories/IActivityRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2146"
} | starcoder | using MessageService.Domain.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MessageService.Domain.Repositories
{
public interface IActivityRepository
{
Activity Load(ActivityId id);
void Create(Activity activity);
void U... | 1.81581 | 1ed436fe6aa65bd884a990141433f5e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2146 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CrazyForks/ArchiSteamFarm",
"max_stars_repo_path": "ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/GlobalCache.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2147"
} | starcoder | // _ _ _ ____ _ _____
// / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
// / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
// / ___ \ | | | (__ | | | || | ___) || |_| __/| ... | 1.714474 | 5756b8888914180d20a1de7ab3084f03 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2147 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "sharwell/ef6tools",
"max_stars_repo_path": "src/EntityFramework/Core/Query/InternalTrees/RefColumnMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2148"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
namespace System.Data.Entity.Core.Query.InternalTrees
{
using System.Data.Entity.Core.Metadata.Edm;
using System.Data.Entity.Utilities;
using System.Diagnostics;
... | 2.431556 | 9061678898d68e6257b4b969563fd9dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2148 | {
"extension": "c-sharp",
"max_stars_count": "4343.0",
"max_stars_repo_name": "mruxmohan-msft/msbuild",
"max_stars_repo_path": "src/Framework/UninitializedPropertyReadEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2149"
} | starcoder | <reponame>mruxmohan-msft/msbuild<filename>src/Framework/UninitializedPropertyReadEventArgs.cs
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
#nullable disable
namespace Microsoft.Build.Framework
{
... | 2.393876 | a263228fb6ececfd83bb35adecd20399 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2149 | {
"extension": "c-sharp",
"max_stars_count": "421.0",
"max_stars_repo_name": "hamarb123/dotnet-api-docs",
"max_stars_repo_path": "samples/snippets/csharp/VS_Snippets_Winforms/System.Windows.Forms.ControlOnClick/CS/form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2150"
} | starcoder | // This example demonstrates overriding the OnClick method of a
// custom TextBox control.
using System;
using System.Drawing;
using System.Windows.Forms;
public class Form1:
System.Windows.Forms.Form
{
public Form1() : base()
{
InitializeComponent();
}
internal TextBox TextBox1;
... | 2.986126 | 5710446045672b2653a6a88a164b7819 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2150 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tony/ScreenToGif",
"max_stars_repo_path": "ScreenToGif.Util/Converters/BoolToOpacity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2151"
} | starcoder | using System.Globalization;
using System.Windows;
using System.Windows.Data;
using Binding = System.Windows.Data.Binding;
namespace ScreenToGif.Util.Converters;
/// <summary>
/// Bool to Opacity property converter. Returns 0 if true.
/// </summary>
public class BoolToOpacity : IValueConverter
{
public object Conv... | 2.588703 | 76d4b92d828c2692b084522a228a0d47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2151 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/runtime",
"max_stars_repo_path": "src/libraries/System.Net.Mail/src/System/Net/Mime/IEncodableStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2152"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Text;
namespace System.Net.Mime
{
internal interface IEncodableStream
{
int DecodeBytes(byte[] buffer, int offset, int count);
// This method d... | 2.332131 | 69b19780763775343b697cb5071e3981 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2152 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tainicom/WPF-PropertyGrid-Control",
"max_stars_repo_path": "Tests/WPG.UnitTests/Design/PropertyEditorContentPresenterTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2153"
} | starcoder | using System.Windows.Controls;
using tainicom.WpfPropertyGrid.Design;
using System.Windows.Data;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace WpfPropertyGrid.UnitTests.Design
{
[TestClass]
public class PropertyEditorContentPresenterTest
{
[TestMethod]
public void ShouldAssignContentBind... | 1.791506 | 70e7dd1dd82af5297b3270cb136186c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2153 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "polivbr/pulumi-azure-native",
"max_stars_repo_path": "sdk/dotnet/ApiManagement/V20210101Preview/Outputs/AuthenticationSettingsContractResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2154"
} | starcoder | <reponame>polivbr/pulumi-azure-native
// *** 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... | 1.42359 | c27e6e0fec0682786ad328af7e32a78d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "villelaitila/MvsSln",
"max_stars_repo_path": "MvsSln/Core/ObjHandlers/WProjectSolutionItems.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2155"
} | starcoder | <reponame>villelaitila/MvsSln
/*
* The MIT License (MIT)
*
* Copyright (c) 2013-2020 <NAME> < <EMAIL> > GitHub/3F
* Copyright (c) MvsSln contributors: https://github.com/3F/MvsSln/graphs/contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associa... | 2.184497 | c5ad9023edb6828f2bd0fb289cc3977c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2155 | {
"extension": "c-sharp",
"max_stars_count": "1862.0",
"max_stars_repo_name": "darcythomas/monodroid-samples",
"max_stars_repo_path": "FragmentTransition/FragmentTransition/FragmentTransitionFragment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2156"
} | starcoder | <reponame>darcythomas/monodroid-samples<gh_stars>1000+
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Animation;
using Android.Views.Animations;
using Android.Runtime;
using Android.Views;
using Android.Wi... | 2.104759 | 17c1fa5a324b9c32a3c60f8d4eb28832 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2156 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bluebackblue/UpmAssetLib",
"max_stars_repo_path": "BlueBackAssetLib/Assets/UPM/Editor/BlueBack/AssetLib/Editor/GetAssetImporterWithPackagePath.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2157"
} | starcoder |
/**
Copyright (c) blueback
Released under the MIT License
@brief インポーター取得。パッケージパス。
*/
/** BlueBack.AssetLib.Editor
*/
#if(UNITY_EDITOR)
namespace BlueBack.AssetLib.Editor
{
/** GetAssetImporterWithPackagePath
*/
public static class GetAssetImporterWithPackagePath
{
/** 取得。
a_packages_path_with_extentio... | 2.308623 | ee94911ce8e0f6ae8bab3345fd0a1b1b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2157 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kostadinko/ErpNet.FP",
"max_stars_repo_path": "ErpNet.FP.Core/Drivers/BgDatecs/BgDatecsCIslFiscalPrinter.Commands.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2158"
} | starcoder | <filename>ErpNet.FP.Core/Drivers/BgDatecs/BgDatecsCIslFiscalPrinter.Commands.cs
namespace ErpNet.FP.Core.Drivers.BgDatecs
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
/// <summary>
/// Fiscal printer using the ISL implementation of Datecs Bul... | 2.122793 | efbaf81e2081c500477654ce86a8a7a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2158 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BoykoNeov/SoftUni---Programming-fundamentals-May-2017",
"max_stars_repo_path": "DictionariesLambdaLinq/SrabskoUnleashed/SrabskoUnleashed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2159"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// Task "Srabsko Unleashed"
/// On each input line you’ll be given data in format: "singer @venue ticketsPrice ticketsCount". There will be no redundant whitespaces anywhere in the input. Aggregate the data by venue and b... | 3.501704 | 7f74416ce8dee9adb7fc4b8093ed3b5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2159 | {
"extension": "c-sharp",
"max_stars_count": "261.0",
"max_stars_repo_name": "gianrubio/SynthDet",
"max_stars_repo_path": "SynthDet/Assets/Scripts/RandomizerTags/LightSwitcherTag.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2160"
} | starcoder | using System;
using UnityEngine;
using UnityEngine.Perception.Randomization.Randomizers;
namespace SynthDet.RandomizerTags
{
[RequireComponent(typeof(Light))]
[AddComponentMenu("SynthDet/RandomizerTags/MyLightSwitcherTag")]
public class LightSwitcherTag : RandomizerTag
{
public float enabledPro... | 2.021331 | 80454bb9879857808d0b11cb253a7dad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2160 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "vkvenkat/corefx",
"max_stars_repo_path": "src/System.Threading/tests/BarrierTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2161"
} | starcoder | <filename>src/System.Threading/tests/BarrierTests.cs
// 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.Diagnostics;
using System.Threading.Tasks;
using X... | 2.977324 | 5fed4a83a853240b3af385e174182211 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2161 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jborean93/PowerShellEditorServices",
"max_stars_repo_path": "src/PowerShellEditorServices.Hosting/BuildInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2162"
} | starcoder | <filename>src/PowerShellEditorServices.Hosting/BuildInfo.cs
namespace Microsoft.PowerShell.EditorServices.Hosting
{
public static class BuildInfo
{
public static readonly string BuildVersion = "<development-build>";
public static readonly string BuildOrigin = "<development>";
public stat... | 1.714133 | 9ddbd1725bc40bac1156837e323bf336 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2162 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "moros/WebFormsTest",
"max_stars_repo_path": "WebFormsTest/WebFormEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2163"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Fritz.WebFormsTest
{
/// <summary>
/// The events from a Page that can be triggered within a TestablePage
/// </summary>
public enum WebFormEvent
{
None = 0,
Init,
Load,
PreRender,
Unload
}... | 1.672821 | 34cb37b821b8ec635d2bbd90a9accb12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2163 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sgaumin/LD49",
"max_stars_repo_path": "Assets/Scripts/Enums/GameState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2164"
} | starcoder | <filename>Assets/Scripts/Enums/GameState.cs
public enum GameState
{
Play,
GameOver,
Pause
} | 1.585151 | 3a886577512bbf1af154b172fc2e0e25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2164 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pulumi-bot/pulumi-azure-native",
"max_stars_repo_path": "sdk/dotnet/DataMigration/V20180419/Outputs/OrphanedUserInfoResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2165"
} | 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.Azur... | 1.671753 | f87f06d5ca0f6d892ef7165a9baed29c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2165 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jrouillard/Arachnarok",
"max_stars_repo_path": "Assets/Scripts/Level.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2166"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class Level : MonoBehaviour
{
public GameObject player;
public AudioSource audioSource;
public AudioSource audioSourceCounter;
public MissionWaypoint... | 1.888355 | 172b09fbe24a1aa49a991a4ed59d1779 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2166 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "CslaGenFork/CslaGenFork",
"max_stars_repo_path": "trunk/Samples/DeepLoad/DAL-DTO/ParentLoadRO.Business/ERCLevel/B08_Region.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2167"
} | starcoder | using System;
using Csla;
using ParentLoadRO.DataAccess.ERCLevel;
namespace ParentLoadRO.Business.ERCLevel
{
/// <summary>
/// B08_Region (read only object).<br/>
/// This is a generated base class of <see cref="B08_Region"/> business object.
/// </summary>
/// <remarks>
/// This c... | 2.201125 | e05fe7246e2da8d8abf47cccae1ffc6f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2167 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tongxin3267/alabo",
"max_stars_repo_path": "src/02.data/04-Alabo.Data.Things/Orders/Domain/Services/ShareOrderService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2168"
} | starcoder | using Alabo.Data.People.Users.Domain.Services;
using Alabo.Data.Things.Orders.Domain.Entities;
using Alabo.Data.Things.Orders.Domain.Entities.Extensions;
using Alabo.Data.Things.Orders.Domain.Repositories;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Entities;
using Alabo.Domains.Enums;
using Alabo.Domains.Repos... | 2.008558 | a34d3d05d01d941fef4ead100760ae16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2168 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "akasarto/skeleton-netfx-mvc5",
"max_stars_repo_path": "sources/Data.Tools.Migrator/Infrastructure/SqlServerMigrationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2169"
} | starcoder | <reponame>akasarto/skeleton-netfx-mvc5
using Dapper;
using Data.Core;
using FluentMigrator.Runner;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Data.SqlClient;
namespace Data.Tools.Migrator.Infrastructure
{
public static class SqlServerMigrationService
{
public static void MigrateUp(... | 2.207089 | 3e031bf238fb9f2840b7399fcf718a9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2169 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sharpninja/RapidCMS",
"max_stars_repo_path": "src/RapidCMS.Core/Abstractions/Setup/ICollectionSetup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2170"
} | starcoder | using System;
using System.Collections.Generic;
using RapidCMS.Core.Abstractions.Data;
using RapidCMS.Core.Models.Setup;
namespace RapidCMS.Core.Abstractions.Setup
{
internal interface ICollectionSetup : ITreeElementSetup
{
string? Icon { get; }
string Name { get; }
bool Recursive { ge... | 1.589071 | 940d9833ac29df9a8a7794e9a0acdfaa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2170 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "cinjguy/Bridge",
"max_stars_repo_path": "Tests/Batch3/BridgeIssues/3400/N3401.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2171"
} | starcoder | using Bridge.Html5;
using Bridge.Test.NUnit;
namespace Bridge.ClientTest.Batch3.BridgeIssues
{
/// <summary>
/// The test here consists in checking whether referencing Bridge.Html5's
/// typed array classes constants won't result in invalid javascript code.
/// </summary>
[TestFixture(TestNameForma... | 2.350135 | 0806c0c1ae14319fbdfcbfe866923c38 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2171 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "RealityVirtually2019/thebirds",
"max_stars_repo_path": "MagicLeap-TheBirds/Assets/MagicLeap/CoreComponents/ControllerConnectionHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2172"
} | starcoder | // %BANNER_BEGIN%
// ---------------------------------------------------------------------
// %COPYRIGHT_BEGIN%
//
// Copyright (c) 2018 Magic Leap, Inc. All Rights Reserved.
// Use of this file is governed by the Creator Agreement, located
// here: https://id.magicleap.com/creator-terms
//
// %COPYRIGHT_END%
// ------... | 2.401212 | 2c463fafa4ed80bda707c1b89da6301c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2172 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NanoSoftLy/NanoSoft",
"max_stars_repo_path": "NanoSoft.Wpf/Components/Language.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2173"
} | starcoder | using NanoSoft.Wpf.Attributes;
using NanoSoft.Wpf.Resources;
namespace NanoSoft.Wpf.Components
{
public enum Language
{
[SharedPhrase(nameof(SharedPhrases.Arabic))]
Arabic,
[SharedPhrase(nameof(SharedPhrases.English))]
English
}
}
| 1.661894 | 3bff537722c278131f3cb1d9fac95b3c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2173 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "vaginessa/Net-Tools-WIN",
"max_stars_repo_path": "WebSocketTool/MainForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2174"
} | starcoder | using Common;
using System.Windows.Forms;
namespace WebSocketTool
{
public partial class MainForm : Form
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up an... | 1.808467 | 2e15f34427049dcc0d6ffcd991301aff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2174 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Henr1k80/elasticsearch-net",
"max_stars_repo_path": "src/Nest/CommonAbstractions/ConnectionSettings/ConnectionSettingsBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2175"
} | starcoder | <filename>src/Nest/CommonAbstractions/ConnectionSettings/ConnectionSettingsBase.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Elasticsearch.Net;
namespace Nest
{
/// <summary>
/// Provides the connectio... | 1.929736 | 0f71971fe41ca90681d65ffe2293a311 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2175 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "noelex/RabbitRPC",
"max_stars_repo_path": "src/RabbitRPC/Client/IRequestContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2176"
} | starcoder | <filename>src/RabbitRPC/Client/IRequestContext.cs
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
namespace RabbitRPC.Client
{
public interface IRequestContext
{
MethodInfo ActionMethod { get; }
Type ServiceInterface { get; }
string Service... | 1.835443 | c35593030533cd525d6117adaa522936 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2176 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ronin4net/Plainion.Notes",
"max_stars_repo_path": "src/Plainion.Wiki/DataAccess/PageCache.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2177"
} | starcoder | <filename>src/Plainion.Wiki/DataAccess/PageCache.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Plainion.Wiki.AST;
namespace Plainion.Wiki.DataAccess
{
/// <summary>
/// Caches parsed pages.
/// </summary>
public class PageCache
{
... | 3.140641 | 10cec5cff27fd6f5e9e9b0d9e1ba4d92 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2177 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mysnyldz/EglenOgren",
"max_stars_repo_path": "EglenVeOgren/EglenVeOgren/Assets/Script/SonScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2178"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class SonScript : MonoBehaviour
{
public GameObject menu;
private int toplam = 5;
private int i = 0;
public void level_son()
{
i++;
if (i ... | 1.749349 | 0f40081f944148195cd25edceebce9c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2178 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.dfc-servicetaxonomy-editor",
"max_stars_repo_path": "DFC.ServiceTaxonomy.GraphSync/GraphSyncers/Results/AllowSync/AllowSync.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2179"
} | starcoder | using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.Results.AllowSync;
namespace DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Results.AllowSync
{
// we could have this as part of the context
// if we did, we'd get ... | 2.270487 | c990937d80df29ee97b996cad614ead7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2179 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SergeyDrozdov-Akvelon/winforms",
"max_stars_repo_path": "src/System.Windows.Forms.Analyzers.CSharp/src/System/Windows/Forms/Generators/ApplicationConfigurationGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2180"
} | starcoder | <reponame>SergeyDrozdov-Akvelon/winforms
// 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.Linq;
using System.Windows.Forms.Analyzers;
using Microsoft.C... | 2.073611 | 074805a8cef9dfaa271363a15c9a51e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2180 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "diipakx/Vanjaro.Platform",
"max_stars_repo_path": "DesktopModules/Vanjaro/Core/Library/Themes/Basic/blocks/Register Link/Templates/Default.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:2181"
} | starcoder | @inherits System.Web.WebPages.WebPage
<div>
<div class="desktop_registerbox">
@if (Model.RegisterLink.IsAuthenticated)
{
<div class="dropdown">
<a href="#" role="button" class="dropdown-toggle" id="dropdownMenuLink" data-bs-toggle="dropdown" aria-expanded="false">
... | 1.620352 | 02745ffaf802d64baf62ede34df53fa0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2181 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pdxparrot/ssjJune2021",
"max_stars_repo_path": "Assets/Scripts/Game/Data/NPCs/GroupedSpawnWaveData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2182"
} | starcoder | using System;
using UnityEngine;
namespace pdxpartyparrot.Game.Data.NPCs
{
[CreateAssetMenu(fileName = "GroupedSpawnWaveData", menuName = "pdxpartyparrot/Game/Data/Wave Spawner/GroupedSpawnWave Data")]
[Serializable]
public class GroupedSpawnWaveData : SpawnWaveData
{
}
}
| 1.266076 | 418f5f05c9bbe3e5ee2f8d6b3dd75039 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2182 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tk-yoshimura/TensorShader",
"max_stars_repo_path": "TensorShaderTest/Functions/Complex/ComplexArithmetric/ComplexUnaryArithmetric/ComplexDecayTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2183"
} | starcoder | <filename>TensorShaderTest/Functions/Complex/ComplexArithmetric/ComplexUnaryArithmetric/ComplexDecayTest.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
using System.Numerics;
using TensorShader;
namespace TensorShaderTest.Functions.ComplexArithmetric {
[TestClass]
publi... | 2.766826 | 20bf6ecdca5e3af1c4455f5798b3eb28 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2183 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tianchuliang/MachineLearning",
"max_stars_repo_path": "docs/samples/Microsoft.ML.Samples/Dynamic/Transforms/TimeSeries/LocalizeRootCause.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2184"
} | starcoder | using System;
using System.Collections.Generic;
using Microsoft.ML;
using Microsoft.ML.TimeSeries;
namespace Samples.Dynamic
{
public static class LocalizeRootCause
{
private static string AGG_SYMBOL = "##SUM##";
public static void Example()
{
// Create a new ML context, fo... | 2.848263 | f0834b439fa6fe0d4880e5b1eb8a2677 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2184 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "ScriptBox99/msgraph-beta-sdk-dotnet",
"max_stars_repo_path": "src/Microsoft.Graph/Generated/model/Vendor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2185"
} | starcoder | // ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 1.682024 | a3ed410d58f93ec024314f0105632c60 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2185 | {
"extension": "c-sharp",
"max_stars_count": "244.0",
"max_stars_repo_name": "marufbd/SharpCaster",
"max_stars_repo_path": "SharpCaster/Models/Enums/MediaErrorTypeEnum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2186"
} | starcoder | <gh_stars>100-1000
namespace SharpCaster.Models.Enums
{
public enum MediaErrorTypeEnum
{
LOAD_FAILED, LOAD_CANCELLED, INVALID_REQUEST
}
} | 1.314017 | f6ad343d32e555a27a53ff0d3371c731 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2186 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MikelLuri/carnac",
"max_stars_repo_path": "src/Carnac.Logic/KeyMonitor/InterceptKeyEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2187"
} | starcoder | <reponame>MikelLuri/carnac<filename>src/Carnac.Logic/KeyMonitor/InterceptKeyEventArgs.cs
using System;
using System.Windows.Forms;
namespace Carnac.Logic.KeyMonitor
{
public class InterceptKeyEventArgs : EventArgs
{
public InterceptKeyEventArgs(Keys key, KeyDirection keyDirection, bool altPressed, bool... | 2.188281 | 81d3f8fc1a5ef8622fe1f8ddf13a8d15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2187 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pulumi/pulumi-kubernetes-crds",
"max_stars_repo_path": "operators/keda/dotnet/Kubernetes/Crds/Operators/Keda/Keda/V1Alpha1/Inputs/ScaledObjectSpecJobTargetRefTemplateSpecDnsConfigArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:... | starcoder | // *** WARNING: this file was generated by crd2pulumi. ***
// *** 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.Kubernetes.Types.I... | 1.838428 | 6589ae389a2f2223d34b51b6ac82064c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2188 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "DJJones66/ludustack-code",
"max_stars_repo_path": "LuduStack.Infra.CrossCutting.Identity/Models/AccountViewModels/LoginViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2189"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace LuduStack.Infra.CrossCutting.Identity.Models.AccountViewModels
{
public class LoginViewModel
{
[Required(ErrorMessage = "The username is required.")]
public string UserName { get; set; }
[Required(ErrorMessage = "The password is r... | 2.259828 | 5dfeb5e6436b9adb251899494014d157 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2189 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "openactive/OpenActive.Server.NET",
"max_stars_repo_path": "Examples/BookingSystem.AspNetFramework/Helpers/OpenBookingInputFormatter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2190"
} | starcoder | // using Microsoft.AspNetFramework.Mvc.Formatters;
using OpenActive.NET;
using System;
using System.IO;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace BookingSystem.AspNetFramework.Helpers
{
public class OpenBookingInputFormatter : M... | 2.410804 | 96a2707077a73502deb9ec46116b4f71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2190 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "friedenberg/google-ads-dotnet",
"max_stars_repo_path": "src/V10/Services/ConversionUploadError.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2191"
} | starcoder | <filename>src/V10/Services/ConversionUploadError.g.cs
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v10/errors/conversion_upload_error.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb =... | 1.444523 | 28b1376cb28ade0f830ddd27607357d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2191 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JoseLuisPucChan/Proyecto4Cuatrimestre",
"max_stars_repo_path": "Proyecto integrador/Web/Proyecto 1.2 proyeco Reparado/MCTuristic_Centro_Historico/WSMCTuristic_CentroHistorico/BO/SuscripcionBO.cs",
"provenance": "train-00000-of-00045.j... | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WSMCTuristic_CentroHistorico.BO
{
public class SuscripcionBO
{
private int _idSuscripcion;
private DateTime _fechaPago;
private string _idUsuario;
public string IdUsua... | 1.629243 | e3b2adc5c06d87daec0f9504c73f0c4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2192 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ekov1/TelerikAcademy-Exercises",
"max_stars_repo_path": "alpha/C# OOP/00. Exams/Traveller/Traveller/Models/Vehicles/Contracts/IVehicle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2193"
} | starcoder | <filename>alpha/C# OOP/00. Exams/Traveller/Traveller/Models/Vehicles/Contracts/IVehicle.cs<gh_stars>0
using Traveller.Models.Enums;
namespace Traveller.Models.Vehicles.Contracts
{
public interface IVehicle
{
VehicleType Type { get; }
int PassangerCapacity { get; }
decimal PricePerKilom... | 1.990335 | bc3e7eec9e311f0f8253dcfe93bde897 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2193 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "satelliteprogrammer/rawr",
"max_stars_repo_path": "FormRelevantItemRefinement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2194"
} | starcoder | <reponame>satelliteprogrammer/rawr
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace Rawr
{
public partial class FormRelevantItemRefinement : Form
{
//_relevantItemTypes is used to carry info on which types
// are utilized by the class period (as li... | 2.637057 | 2b7518de4ba460df776de0debf50509c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2194 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rad9k/MinusZero",
"max_stars_repo_path": "m0/Foundation/IVertex.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2195"
} | starcoder | <filename>m0/Foundation/IVertex.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace m0.Foundation
{
public delegate void VertexChange(object sender, VertexChangeEventArgs args);
public enum VertexChangeType { ValueChanged... | 2.459928 | ed9f6fed01f71cbc4756d28fae155ef4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2195 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alt22247/YCQL",
"max_stars_repo_path": "YCQL/Constraints/PrimaryKeyConstraint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2196"
} | starcoder | /*
* Copyright © 2015 by <NAME>
* All rights reserved
*/
using System.Data.Common;
using System.Text;
using Ycql.DbHelpers;
namespace Ycql.Constraints
{
/// <summary>
/// Represents the Primary Key constraint in SQL
/// </summary>
/// <seealso cref="Ycql.Attributes.PrimaryKeyAttribute"/>
/// <seealso cref="Y... | 3.031774 | 0a0803b96cd0c4665ce3be48b370ceb8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2196 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thecarnie/YAFNET",
"max_stars_repo_path": "yafsrc/ServiceStack/ServiceStack.OrmLite.SqlServer/Converters/SqlServerFloatConverters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2197"
} | starcoder | <filename>yafsrc/ServiceStack/ServiceStack.OrmLite.SqlServer/Converters/SqlServerFloatConverters.cs
using ServiceStack.OrmLite.Converters;
namespace ServiceStack.OrmLite.SqlServer.Converters
{
public class SqlServerFloatConverter : FloatConverter
{
public override string ColumnDefinition
... | 1.742336 | 02da59be67514434832ff6fee87f3059 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2197 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Scraniel/chronos",
"max_stars_repo_path": "tests/Core/Unit/BasicTimerUnitTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2198"
} | starcoder | using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Chronos.Timer.Core;
using Chronos.Timer.Mocks;
using System.Linq;
namespace Chronos.Timer.Tests.Core
{
[TestClass]
public class BasicTimerUnitTests
{
private TimeSpan _timeStep = TimeSpan.From... | 2.746012 | 186e659eecc2d7844759fa7c8f7e2aec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2198 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AaronAmberman/MagicTheGatheringArenaDeckMaster",
"max_stars_repo_path": "MagicTheGatheringArenaDeckMaster/MagicTheGatheringArenaDeckMaster2/App.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2199"
} | starcoder | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Threading;
namespace MagicTheGatheringArenaDeckMaster2
{
public partial class App : Application
{... | 2.663232 | 128e6868b06c40de935781f11b85053c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2199 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mvkhokhlov/quanton_rpc",
"max_stars_repo_path": "TONBRAINS.QUANTON/TONBRAINS.QUANTON.Grpc/JwtService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2200"
} | starcoder | using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Tokens;
using System;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Text;
using TONBRAINS.QUANTON.Core.DAL;
namespace TONBRAINS.QUANTON.Grpc
{
public class JwtService
{
private const string _... | 2.492773 | 4b20708bff6d128bb098cdd9ac9ce5e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2200 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "steveisok/java.interop",
"max_stars_repo_path": "src/Xamarin.Android.Tools.ApiXmlAdjuster/XmlUtil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2201"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
namespace Xamarin.Android.Tools.ApiXmlAdjuster
{
class XmlUtil
{
static string GetLocation (XmlReader reader)
{
var li = reader as IXmlLineInfo;
return string.Format ("{0} ({1},{2})", string.IsNullOr... | 2.590543 | 1bcb872a7f57d1bba37689b78b23aaa1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2201 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yanchao891012/Kino.Toolkit.Wpf",
"max_stars_repo_path": "Kino.Toolkit.Wpf/Kino.Toolkit.Wpf/Expander/ExpandableContentControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2202"
} | starcoder | <reponame>yanchao891012/Kino.Toolkit.Wpf
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace Kino.Toolkit.Wpf.Primitives
{
public class ExpandableContentContro... | 2.361475 | 989c03dc7ba84f42af050b085fb52da7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2202 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "krs43/ib-csharp",
"max_stars_repo_path": "Krs.Ats.TestApp/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2203"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Krs.Ats.IBNet;
using System.Threading;
using Krs.Ats.IBNet.Contracts;
namespace Krs.Ats.TestApp
{
class Program
{
private static int NextOrderId = 0;
private static Contract TF;
private static Contract... | 1.938379 | 96e837585d5e2046ca0d585873c60da3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2203 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ronituohino/Old-projects",
"max_stars_repo_path": "Bar3D/Assets/Scripts/Bartending Book/BartendingBook.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2204"
} | starcoder | <filename>Bar3D/Assets/Scripts/Bartending Book/BartendingBook.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BartendingBook : MonoBehaviour
{
[SerializeField] GameObject book;
//The first page is a logo, (0)
//The second page is a catalogue that reaches x p... | 2.712656 | 0393986d37bdb421f9f71de26e4f29a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2204 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kowalski0805/HostelApp",
"max_stars_repo_path": "Hostel.EvictingClient/Controllers/HomeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2205"
} | starcoder | <gh_stars>0
using System.Diagnostics;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Hostel.EvictingClient.Models;
using Hostel.gRPCService;
namespace Hostel.EvictingClient.Controllers
{
public class HomeController : Controller
{
private readonly ILogger<H... | 1.708616 | a7caf24c0118cd613d9f04dd2be2f117 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2205 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/runtime",
"max_stars_repo_path": "src/tests/JIT/Methodical/casts/coverage/isinst_ldarg.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2206"
} | starcoder | <reponame>belav/runtime
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace JitTest
{
internal class BaseClass { }
internal class TestClass : BaseClass
{
private static bool Test_LDARG(obj... | 2.279271 | b23e7990f3e680bf291b26b5fd5fb8d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2206 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ckarcz/Strata.ConvertedToCSharp",
"max_stars_repo_path": "modules/pricer/src/test/java/com/opengamma/strata/pricer/swap/e2e/SwapEnd2EndTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2207"
} | starcoder | <reponame>ckarcz/Strata.ConvertedToCSharp<gh_stars>0
using System.Collections.Generic;
/*
* Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
namespace com.opengamma.strata.pricer.swap.e2e
{
//JAVA TO C# CONVERTER TODO TASK: This Java '... | 1.491915 | a11bd00376ec2125a9a99e46abf5cea0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2207 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "phillipmacon/monogames",
"max_stars_repo_path": "MonoGame.Framework/Graphics/Vertices/VertexPosition2ColorTexture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2208"
} | starcoder | using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System.Runtime.InteropServices;
namespace Microsoft.Xna.Framework.Graphics
{
[StructLayout(LayoutKind.Sequential, Pack=1)]
// This should really be XNA's VertexPositionColorTexture
// but I'm not sure we want to use Vector3s... | 2.632962 | 03af8ab8aecbe9dfce3ff2d48ec5590b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2208 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sametguzeldev/hms-unity-plugin",
"max_stars_repo_path": "Assets/Huawei/Editor/View/KitSettingsTab/AuthToggleEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2209"
} | starcoder | <reponame>sametguzeldev/hms-unity-plugin
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
namespace HmsPlugin
{
internal class AuthToggleEditor : ToggleEditor, IDrawer, IDepe... | 1.970569 | 07f7633386dd7858538ea44d786ac025 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2209 | {
"extension": "c-sharp",
"max_stars_count": "366.0",
"max_stars_repo_name": "azraelrabbit/NModbus",
"max_stars_repo_path": "NModbus/Device/PointEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2210"
} | starcoder | <reponame>azraelrabbit/NModbus
using System;
namespace NModbus.Device
{
/// <summary>
/// Modbus Slave request event args containing information on the message.
/// </summary>
public class PointEventArgs : EventArgs
{
private ushort _numberOfPoints;
private ushort _startAddress;
... | 2.201611 | d25fb27ded13c02f6183852e2eb7c6cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2210 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "segovia/lucenenet",
"max_stars_repo_path": "src/Lucene.Net/Util/Packed/PackedInts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2211"
} | starcoder | <reponame>segovia/lucenenet<gh_stars>0
using J2N.Numerics;
using Lucene.Net.Support;
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Lucene.Net.Util.Packed
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See ... | 2.217983 | efeac197267ce0eb1c048ef0fa5ad3a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2211 | {
"extension": "c-sharp",
"max_stars_count": "487.0",
"max_stars_repo_name": "panuoksala/csharp-driver",
"max_stars_repo_path": "src/Extensions/Cassandra.AppMetrics/MetricValues/IAppMetricsMeterValue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2212"
} | starcoder | //
// Copyright (C) DataStax Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | 1.796598 | b952ceb494c76f42d6aa24babae35b70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2212 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rubenhortas/mcsd_70_483",
"max_stars_repo_path": "MCSD 70 483/Chapter1/UnorderedParallelQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2213"
} | starcoder | using System;
using System.Linq;
namespace Chapter1
{
public static class UnorderedParallelQuery
{
public static void Start()
{
var numbers = Enumerable.Range(0, 10);
var parallelResult = numbers.AsParallel().Where(i => i % 2 == 0).ToArray();
foreach (int i... | 3.418623 | 0f433d4b9a7cfe9661a09bb7971e13fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2213 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HelloWindows/AccountBook-",
"max_stars_repo_path": "client/framework/UnityCsReference-master/Modules/PackageManagerUI/Editor/Services/Upm/UpmPackage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2214"
} | starcoder | // Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace UnityEditor.PackageManager.UI
{
[Serializable]
internal cla... | 1.950426 | fa75daf775799343c5bcfd34ca11911a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2214 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aaronmell/space-station-14",
"max_stars_repo_path": "Content.Client/MedicalScanner/UI/MedicalScannerWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2215"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Text;
using Content.Shared.Damage.Prototypes;
using Content.Shared.FixedPoint;
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.CustomControls;
using Robust.Client.UserInterface.XAML;
using Robust.Shared.GameObjects;
using Robust.Shared.I... | 2.208148 | 0a9f212d4dfc918d74fb2acc5ee84144 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2215 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jeremy7nelson/SciChart.Wpf.Examples",
"max_stars_repo_path": "Sandbox/CustomerExamples/TicklinesUniformGrid/TicklinesUniformGrid.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2216"
} | starcoder | using System.Windows;
using TicklinesUniformGridExample;
namespace SciChart.Sandbox.Examples.TicklinesUniformGrid
{
public partial class TicklinesUniformGrid : Window
{
public TicklinesUniformGrid()
{
InitializeComponent();
xAxis.TickProvider = new MillimeterDivisionsT... | 1.817657 | 30ad926b4378ce4fb856988687a1c04f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2216 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sospep/dotnetTwo",
"max_stars_repo_path": "Views/Pages/About.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:2217"
} | starcoder | <gh_stars>0
@{
ViewData["Title"] = "About";
}
<h1>@ViewData["Title"]</h1>
<p>dotnet two is an application used to create blog Articles </p>
<p>It takes a closer look at microsoft's new dotnet core version 3.0 development platform</p>
| 2.037542 | a020e3d5c83dfcaac6e87d35d124281d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2217 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Peacetoletov/AdaptiveWizard",
"max_stars_repo_path": "Scripts/Enemies/Enemies/EnemyGatlingProjectile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2218"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyGatlingProjectile : StraightProjectile
{
private CircleCollider2D circleCollider;
private void Start() {
this.circleCollider = GetComponent<CircleCollider2D>();
}
public void Start(Vector2 dir... | 2.542598 | 71c196b31d398829ccebfd6e0ae65ad4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2218 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "imjane5/Glory2Him.Api",
"max_stars_repo_path": "G2H.Api.Web/Brokers/Storages/StorageBroker.PostAttachments.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2219"
} | starcoder | <reponame>imjane5/Glory2Him.Api<gh_stars>0
// --------------------------------------------------------------------------------
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT License.
// See License.txt in the project root for license information.
// FREE TO USE TO HELP SHARE THE GOSPEL
// Mark... | 2.034094 | b9df1bacfe76a9c21ce04032f4bfe8df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2219 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HCanber/akka.net",
"max_stars_repo_path": "src/core/Akka/Actor/ActorCell.Children.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2220"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using Akka.Actor.Internal;
using Akka.Util;
using Akka.Util.Internal;
namespace Akka.Actor
{
public partial class ActorCell
{
private ChildrenContainer _childrenContainerDoNotCallMeDirectly = EmptyChildrenContainer.Instance;
... | 2.594224 | c44db8d2303e24cfa3c9246d778a534d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2220 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "UMapx/UMapx",
"max_stars_repo_path": "sources/Imaging/Shift.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2221"
} | starcoder | using System;
using System.Drawing;
using System.Drawing.Imaging;
using UMapx.Core;
namespace UMapx.Imaging
{
/// <summary>
/// Defines the shift filter.
/// </summary>
[Serializable]
public class Shift : IBitmapFilter2, IBitmapFilter
{
#region Private data
private int x;
... | 3.207446 | d727908c847c80c88c6c7c48809e9207 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2221 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kevin-montrose/aspnetcore",
"max_stars_repo_path": "src/Components/Components/src/EditorRequiredAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2222"
} | 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;
namespace Microsoft.AspNetCore.Components
{
/// <summary>
/// Specifies that the component parameter is required t... | 1.947336 | 10146f42e82d2c5ce5827cfe9ad0176e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2222 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/das-support-portal",
"max_stars_repo_path": "src/SFA.DAS.Support.Shared.Tests/HttpStatusStrategy/StrategyForRedirectionStatusCodeTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2223"
} | starcoder | using System.Net;
using Moq;
using NUnit.Framework;
using SFA.DAS.Support.Shared.SiteConnection;
namespace SFA.DAS.Support.Shared.Tests.HttpStatusStrategy
{
[TestFixture]
public class StrategyForRedirectionStatusCodeTests : StrategyTestBase<StrategyForRedirectionStatusCode>
{
[TestCase(HttpStatusC... | 1.746223 | 1ce535b3c553fa1b725d71a7e422bf23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2223 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UKHO/external-notification-service",
"max_stars_repo_path": "UKHO.ExternalNotificationService.API/UKHO.ExternalNotificationService.Common/Helpers/AzureMessageQueueHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2224"
} | starcoder | <filename>UKHO.ExternalNotificationService.API/UKHO.ExternalNotificationService.Common/Helpers/AzureMessageQueueHelper.cs
using Azure.Storage.Queues;
using Microsoft.Extensions.Diagnostics.HealthChecks;
using Microsoft.Extensions.Logging;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob... | 2.282288 | 540c6b9b78447b27474d5da529f1e26c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2224 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "amrezzd/btcpayserver",
"max_stars_repo_path": "BTCPayServer.Client/BTCPayServerClient.PullPayments.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2225"
} | starcoder | using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using BTCPayServer.Client.Models;
namespace BTCPayServer.Client
{
public partial class BTCPayServerClient
{
public virtual async Task<PullPaymentData> CreatePullPayment(strin... | 2.164001 | 6ac479fd31d49a0c15b9c97ca173f0d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2225 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "QuinntyneBrown/ef-code-first-getting-start",
"max_stars_repo_path": "Data/PlayersDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2226"
} | starcoder | <reponame>QuinntyneBrown/ef-code-first-getting-start
using EntityFramework6.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EntityFramework6.Data
{
public class PlayersDbContext: DbContext
{... | 2.131163 | 55d392755f60cecac173c6554caab843 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2226 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thomastran8/WalkMan",
"max_stars_repo_path": "Assets/Chris/Scripts/Pressure_Plate_Contoller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2227"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Pressure_Plate_Contoller : MonoBehaviour {
//game object(s) it affects
public GameObject gate;
private Gate_Controller gController;
// Use this for initialization
void Start () {
gController = gate.GetComponent<Gate_C... | 2.340063 | 9277d3a5f83bd3a762b7a73a61ef8885 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2227 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dance2die/Demo.LearnByDoing",
"max_stars_repo_path": "Demo.LearnByDoing.Tests/InterviewCake/Question043Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2228"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace Demo.LearnByDoing.Tests.InterviewCake
{
/// <summary>
/// https://www.interviewcake.com/question/csharp/merge-sorted-arrays
///
/// In order to win the prize for most cookies sold, my friend Alice and I are going to merge our Girl Scou... | 3.622726 | 420753d16a058290becb4d4ff626cd87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2228 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "LindaLawton/google-analytics-dotnet-sdk",
"max_stars_repo_path": "tests/Google.Analytics.SDK.Tests/Common/MockMobileTracker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2229"
} | starcoder | using Google.Analytics.SDK.Core;
using Google.Analytics.SDK.Core.Helper;
namespace Google.Analytics.SDK.Tests.Common
{
public class MockMobileTracker : GaTracker
{
public MockMobileTracker() : base(GaTrackerType.Mobile, "XXX-XXX-XXX")
{
}
}
}
| 1.53036 | 08fa53ba20266a5c6046b6deb488c74e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2229 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NHSChoices/nhs111-online",
"max_stars_repo_path": "NHS111/NHS111.Domain.Api/Controllers/QuestionController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2230"
} | starcoder | <gh_stars>1-10
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using NHS111.Domain.Repository;
using NHS111.Utils.Attributes;
using NHS111.Utils.Extensions;
namespace NHS111.Domain.Api.Controllers
{
[LogHandleErrorForApi]
public class QuestionController : ApiController
{
... | 2.171138 | aeb381f61ac35da5124b79c174df59e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2230 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "xycui/libresamplesharp",
"max_stars_repo_path": "LibResample.Sharp/ISampleBuffers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2231"
} | starcoder | <filename>LibResample.Sharp/ISampleBuffers.cs
/**************************************************************
* License detail will be added later
*
**************************************************************/
namespace LibResample.Sharp
{
/// <summary>
/// Callback for producing and consuming samples. ... | 3.129642 | 79f7d859dde213e9310af64f70b33c43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2231 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "EladGabay/pulumi-oci",
"max_stars_repo_path": "sdk/dotnet/Streaming/GetConnectHarness.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2232"
} | starcoder | <filename>sdk/dotnet/Streaming/GetConnectHarness.cs
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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... | 1.98132 | 4b121243c92de37d2c4583c053d687ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2232 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "AaronFriel/pulumi-aws-native",
"max_stars_repo_path": "sdk/dotnet/EMR/Inputs/ClusterKerberosAttributesArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2233"
} | starcoder | <reponame>AaronFriel/pulumi-aws-native
// *** 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 Pulum... | 1.144171 | fd5d30fa84c8ccac32cba6ac598c488d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2233 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "EmeraldKnight79/AlbionNetwork",
"max_stars_repo_path": "Albion.Network/AlbionException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2234"
} | starcoder | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
using System;
using System.Runtime.Serialization;
namespace Albion.Network
{
public class AlbionException : Exception
{
internal AlbionExcept... | 1.923378 | 2398345d5d7fcdbba04ae526653207a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2234 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LatinWarrior/MasteringExtJS5",
"max_stars_repo_path": "Luis.MasteringExtJs.Webpi/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2235"
} | starcoder | using Luis.MasteringExtJs.WebApi;
using Microsoft.Owin;
using Owin;
//[assembly: OwinStartup(typeof(Startup))]
namespace Luis.MasteringExtJs.WebApi
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
ConfigureAuth(app);
}
}
}
| 1.043606 | d55c669832db2286307408a488e1f5df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2235 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OSADP/Road-Weather-Performance-Management-",
"max_stars_repo_path": "RoadWeatherMobileApp/RoadWeatherMobileApp/CITOMobileCommon/VITAL/Commands/VitalCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2236"
} | starcoder | <reponame>OSADP/Road-Weather-Performance-Management-
namespace CITOMobileCommon.VITAL.Commands
{
public abstract class VitalCommand
{
public string Name { get; set; }
public abstract string Command { get; }
}
}
| 1.373155 | 64d38d9c6b8b661d4245beb41372891b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2236 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "MattGerg/ShapefileSharp",
"max_stars_repo_path": "ShapefileSharp/ShxFile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2237"
} | starcoder | <reponame>MattGerg/ShapefileSharp
using System;
using System.Collections;
using System.Collections.Generic;
namespace ShapefileSharp
{
/// <summary>
/// A Shape Index (.shx) file.
/// </summary>
internal sealed class ShxFile : IShxFile, IReadOnlyList<IShxRecord>, IDisposable
{
public ShxFi... | 2.950555 | 5fc44dff6fb5d576bc07171830a19694 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.