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 | 71433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "codingwithsasquatch/ServiceFabric.StoragePerf",
"max_stars_repo_path": "ServiceFabric.StoragePerf.Shared/IStorageProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71434"
} | starcoder | <reponame>codingwithsasquatch/ServiceFabric.StoragePerf
using System.Threading.Tasks;
namespace ServiceFabric.StoragePerf.Shared
{
public interface IStorageProvider
{
Task<StoragePerfMetrics> GetBatch(int batchSize);
Task<Customer> Get(string email);
Task Add(Customer customer);
... | 1.710871 | dc931f3cef348d2625660cf9311218b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71434 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "OrchardCMS/Autofac",
"max_stars_repo_path": "Core/Tests/Autofac.Tests.Integration.Mvc/ActionFilterFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71435"
} | starcoder | <gh_stars>1-10
using System;
using System.Web.Mvc;
using Autofac.Builder;
using Autofac.Integration.Mvc;
namespace Autofac.Tests.Integration.Mvc
{
public class ActionFilterFixture : AutofacFilterBaseFixture<TestActionFilter, TestActionFilter2, IActionFilter>
{
protected override Action<IRegis... | 1.622943 | 929dad5c7f06065793201c50dd95fe0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71435 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dpavsrtrl/protoactor-dotnet",
"max_stars_repo_path": "src/Proto.Remote/EndpointManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71436"
} | starcoder | <filename>src/Proto.Remote/EndpointManager.cs
// -----------------------------------------------------------------------
// <copyright file="EndpointManager.cs" company="Asynkron HB">
// Copyright (C) 2015-2018 Asynkron HB All rights reserved
// </copyright>
// -------------------------------------------... | 1.930241 | 06fc6b553bd4ebd172210502aa56b5ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71436 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MossieuLeblanc/CommunityCoreLibrary-fr",
"max_stars_repo_path": "DLL_Project/Commands/TouchingByDef.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71437"
} | starcoder | using System.Text;
using RimWorld;
using UnityEngine;
using Verse;
namespace CommunityCoreLibrary.Commands
{
public class TouchingByDef : Command
{
readonly Thing parentThing;
readonly Action_OnThings ClickLeft = null;
readonly Action_On... | 2.397295 | 6e3eb77b9e16231fb199ff2bc9f12081 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71437 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cadusantosm/Wappa.GraphQL.Types",
"max_stars_repo_path": "Wappa.GraphQL.Types/MetersGraphType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71438"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using GraphQL.Types;
namespace Wappa.GraphQL.Types
{
public class MetersGraphType : FloatGraphType
{
public MetersGraphType()
{
Name = "Meters";
Description = "The `Meters` scalar type represents distanc... | 2.000623 | 6bbce8a759a86a537a74e18c72314bbe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71438 | {
"extension": "c-sharp",
"max_stars_count": "8570.0",
"max_stars_repo_name": "lbosquett/aspnetcore",
"max_stars_repo_path": "src/Mvc/Mvc.Abstractions/src/Filters/IAsyncExceptionFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71439"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.AspNetCore.Mvc.Filters;
/// <summary>
/// A filter that runs asynchronously after an action has thrown an <see cref="System.Exception"/>.
/// </summary>
public i... | 2.362393 | aa8c6a3600fe92a4063b374ff08f2bc6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71439 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikoivo/programming-basics",
"max_stars_repo_path": "exam-4th/division-2-3-4/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71440"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace division_2_3_4
{
class Program
{
static void Main(string[] args)
{
var n = int.Parse(Console.ReadLine());
var Percent2 = 0.0;
var Pe... | 3.540319 | 9e99551288a53a21a5b2b9b12d3be4c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71440 | {
"extension": "c-sharp",
"max_stars_count": "263.0",
"max_stars_repo_name": "gordonjohnpatrick/XobotOS",
"max_stars_repo_path": "samples/SkiaTests/android/ScaleToFit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71441"
} | starcoder | <filename>samples/SkiaTests/android/ScaleToFit.cs
using System;
using android.content;
using android.graphics;
namespace XobotOS.Samples.SkiaTests
{
[Test("Scale To Fit")]
public class ScaleToFit : TestView
{
readonly Paint mPaint = new Paint (Paint.ANTI_ALIAS_FLAG);
readonly Paint mHairPaint = new Paint (P... | 2.287942 | dddf492244015e34fccd02f3488f691d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71441 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Scantheus/notion-sdk-net",
"max_stars_repo_path": "Src/Notion.Client/Models/PropertyValue/LastEditedTimePropertyValue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71442"
} | starcoder | using Newtonsoft.Json;
namespace Notion.Client
{
public class LastEditedTimePropertyValue : PropertyValue
{
public override PropertyValueType Type => PropertyValueType.LastEditedTime;
[JsonProperty("last_edited_time")]
public string LastEditedTime { get; set; }
}
}
| 1.899927 | 93fea9386862ef2967a76b01b0ce8cc7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71442 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sd-f/orbi",
"max_stars_repo_path": "Orbi-App/Assets/Scripts/Scenes/Game/MainCanvas.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71443"
} | starcoder | using GameController;
using UnityEngine;
namespace GameScene
{
[AddComponentMenu("App/Scenes/Game/MainCanvas")]
public class MainCanvas : GameMonoBehaviour
{
public GameObject settingsCanvas;
public GameObject gameCanvas;
public GameObject objectInfoCanvas;
public GameObjec... | 2.104466 | dddf15292c1d190d4bfde692ab379f8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71443 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Bloomerang/elasticsearch-net",
"max_stars_repo_path": "src/Tests/Nest.Tests.Unit/Search/Filter/Singles/GeoIndexedShapeFilterJson.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71444"
} | starcoder | using NUnit.Framework;
using Nest.Tests.MockData.Domain;
namespace Nest.Tests.Unit.Search.Filter.Singles
{
[TestFixture]
public class GeoIndexedShapeFilterJson
{
[Test]
public void GeoShapeFilter()
{
//[13.0, 53.0], [14.0, 52.0]]
var s = new SearchDescriptor<ElasticsearchProject>()
.From(0)
.Si... | 2.289562 | bd22ceca50477403df391b829b43ddff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71444 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dohzoh/lession",
"max_stars_repo_path": "UnivAppSolution01/WindowsUniversalFeed/MainPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71445"
} | starcoder | <reponame>dohzoh/lession
using Windows.UI.Xaml.Controls;
using WindowsUniversalFeed.Core.Services;
using WindowsUniversalFeed.Core.ViewModels;
namespace WindowsUniversalFeed
{
public sealed partial class MainPage : Page
{
public MainPage()
{
InitializeComponent();
DataContext = new MainPageViewModel(new ... | 1.260381 | 62156f79d0573832fe7e537324f37fdf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71445 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "UiPathHackathonAppointmentActivities/CustomActivities",
"max_stars_repo_path": "Epam.Activities.Exchange/Epam.Activities.Exchange/Appointments/UpdateAttendees.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71446"
} | starcoder | <filename>Epam.Activities.Exchange/Epam.Activities.Exchange/Appointments/UpdateAttendees.cs
// License placeholder
using System.Activities;
using System.ComponentModel;
using Epam.Activities.Exchange.Services;
using Microsoft.Exchange.WebServices.Data;
namespace Epam.Activities.Exchange.Appointments
{
/// <summa... | 2.334333 | 317b9b50c5f25e29846144de36499cef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71446 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fcin/Caliburn.Micro-DI-Example",
"max_stars_repo_path": "DependencyInjectionExample/InjectingViewModelsWithFactory/ViewModels/ShellViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71447"
} | starcoder | <reponame>fcin/Caliburn.Micro-DI-Example<filename>DependencyInjectionExample/InjectingViewModelsWithFactory/ViewModels/ShellViewModel.cs
using Caliburn.Micro;
using InjectingViewModelsWithFactory.ViewModels.Printers;
namespace InjectingViewModels.ViewModels
{
public class ShellViewModel : Screen
{
pub... | 2.654847 | 0d24b53f0bad15ec93957071f56de27b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71447 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "manishkungwani/Essentials",
"max_stars_repo_path": "Xamarin.Essentials/Geolocation/Geolocation.tizen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71448"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
using Tizen.Location;
namespace Xamarin.Essentials
{
public static partial class Geolocation
{
static Location lastKnownLocation = new Location();
static async Task<Location> PlatformLastKnownLocationAsync()
{
await Per... | 2.556247 | f8516bb64372e746bab6f075c9bf08ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71448 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "gbrueckl/Azure.DataFactory.LocalEnvironment",
"max_stars_repo_path": "UsageSample/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71449"
} | starcoder | <reponame>gbrueckl/Azure.DataFactory.LocalEnvironment<gh_stars>10-100
using gbrueckl.Azure.DataFactory;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UsageSample
{
class Program
{
static void Main(string[] args)
{
... | 2.286323 | 84571ae615c15845b2989beb90c9295e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71449 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WeTools-my/WeTools.ShopeeSDK",
"max_stars_repo_path": "Util/ShopeeOrderAPI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71450"
} | starcoder | using System.Collections.Generic;
using System.Text;
using WeTools.ShopeeSDK.Model;
namespace WeTools.ShopeeSDK.Util
{
public class ShopeeOrderAPI:ShopeeAPIBase
{
public ShopeeOrderAPI(ShopeeAPIBasic basic)
{
_basic = basic;
ApiType = "order";
}
/// <... | 2.470026 | eb25df7e8f2f1848e02cee91b5f72fbf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71450 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "stefanmarks/MotionServer_Clients",
"max_stars_repo_path": "Unity/Assets/SentienceLab/Scripts/MoCap/Tools/ArrayDuplicator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71451"
} | starcoder | #region Copyright Information
// Sentience Lab Unity Framework
// (C) <NAME> (<EMAIL>), Auckland University of Technology, Auckland, New Zealand
#endregion Copyright Information
using UnityEngine;
namespace SentienceLab.MoCap
{
/// <summary>
/// Class for creating copies of a GameObject arranged in an array.
///... | 2.713217 | 3e4b3cc9e28e663c586cc4e4fc76b917 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71451 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeremyjflowers/MathforCoding",
"max_stars_repo_path": "MathForGames/Actor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71452"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using MathLibrary;
using Raylib_cs;
namespace MathForGames
{
class Actor
{
protected char _icon;
private Vector2 _velocity = new Vector2();
protected Matrix3 _globalTransform = new Matrix3();
protected Matrix3 _l... | 2.7634 | 460dad73729c29ab0d746540790d43fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71452 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DocBrown101/Ve.Direct.InfluxDB.Collector",
"max_stars_repo_path": "src/Ve.Direct.InfluxDB.Collector/Metrics/MetricsConfigurationModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71453"
} | starcoder | using System;
namespace Ve.Direct.InfluxDB.Collector.Metrics
{
public class MetricsConfigurationModel
{
public string InfluxDbUrl { get; set; }
public string InfluxDbBucket { get; set; }
public string InfluxDbOrg { get; set; }
public string MetricPrefix { get; se... | 2.227231 | 0451e0c7848ba2204d7732e1c1218a63 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71453 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KodaRayTominus/MiniaturesRUs",
"max_stars_repo_path": "MiniaturesRUs/Views/Person/Details.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:71454"
} | starcoder | <reponame>KodaRayTominus/MiniaturesRUs
@using Microsoft.AspNet.Identity
@model MiniaturesRUs.Models.ApplicationUser
@{
ViewBag.Title = "Details";
}
@section Styles {
<link href="@Url.Content("~/Content/user-profile-page.css")" rel="stylesheet" type="text/css" />
}
<h2>Details</h2>
<!-- nav bar -->
<link href... | 1.65058 | 360d17d37decea55bd85a78c04ebfe5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71454 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fossabot/MORYX-Platform",
"max_stars_repo_path": "src/Moryx/Workflows/Validation/ValidationAspect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71455"
} | starcoder | <gh_stars>0
// Copyright (c) 2020, Phoenix Contact GmbH & Co. KG
// Licensed under the Apache License, Version 2.0
using System;
namespace Moryx.Workflows.Validation
{
/// <summary>
/// Aspect that should be validated
/// </summary>
[Flags]
public enum ValidationAspect
{
/// <summary>
... | 2.048318 | 5c888c270df66c25c2de186ad6421d54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71455 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jdruin/F5Eagle",
"max_stars_repo_path": "Library/Components/Private/DefaultBinder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71456"
} | starcoder | <filename>Library/Components/Private/DefaultBinder.cs
/*
* DefaultBinder.cs --
*
* Copyright (c) 2007-2012 by <NAME>. All rights reserved.
*
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
* RCS: @(#) $Id: $
*/
using System;... | 2.168504 | e757d0ebab297b3e3adff524bc292e9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71456 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "satokibi/VoxelRun",
"max_stars_repo_path": "Assets/Scripts/EnemyLv.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71457"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu]
public class EnemyLv : ScriptableObject {
EnemyLvStatus[] lv;
}
public class EnemyLvStatus
{
public int enemyCreate;
public int time;
}
| 1.249881 | e13651bff95384f6732060ca57ac7469 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71457 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UnBiHealth/fisiogame",
"max_stars_repo_path": "Assets/uOS/Scripts/Gateway/Connection/ServerConnection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71458"
} | starcoder | namespace UOS
{
public abstract class ServerConnection
{
public NetworkDevice networkDevice { get; protected set; }
public abstract ClientConnection Accept();
public abstract void Close();
public ServerConnection(NetworkDevice networkDevice)
{
this.network... | 2.398399 | 5f10ece61064dbdf93f5eedef10902c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71458 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "PermaNulled/OMDUC_EMU_CSharp",
"max_stars_repo_path": "OMDUC_EMU/NetworkProtocols/PushHeroStats.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71459"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
namespace NetworkProtocols
{
// Token: 0x02000575 RID: 1397
public class PushHeroStats : BotNetMessage
{
// Token: 0x06002FE2 RID: 12258 RVA: 0x000197A5 File Offset: 0x000179A5
public PushHeroStats()
{
this.InitRefTypes();
base.... | 1.773401 | 2ec1133b77853f2e679560b76e365d3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71459 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zCri/nylium",
"max_stars_repo_path": "nylium.Core/Networking/Packet/Client/Play/CP2EPlayerBlockPlacement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71460"
} | starcoder | using System.IO;
using nylium.Core.Block;
using nylium.Utilities;
namespace nylium.Core.Networking.Packet.Client.Play {
[Packet(0x2E, ProtocolState.Play, PacketSide.Client)]
public class CP2EPlayerBlockPlacement : NetworkPacket {
public bool MainHand { get; }
public Position.Int Location { g... | 2.163349 | c3fe990898b49b248dbcfdd5607a6ac6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71460 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "palle-mertz-isobar/geta-notfoundhandler",
"max_stars_repo_path": "sandbox/Optimizely/Alloy/Controllers/SearchPageController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71461"
} | starcoder | using System.Linq;
using AlloyTemplates.Controllers;
using AlloyTemplates.Models.Pages;
using AlloyTemplates.Models.ViewModels;
using Microsoft.AspNetCore.Mvc;
namespace AlloyMvcTemplates.Controllers
{
public class SearchPageController : PageControllerBase<SearchPage>
{
public ViewResult Index(SearchPa... | 2.139319 | 4925b0f438f6587082054e01f79f83df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71461 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igoreksiz/office-ribbonx-editor",
"max_stars_repo_path": "OfficeRibbonXEditor/ViewModels/DialogBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71462"
} | starcoder | <filename>OfficeRibbonXEditor/ViewModels/DialogBase.cs
using System;
using System.ComponentModel;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using OfficeRibbonXEditor.Interfaces;
namespace OfficeRibbonXEditor.ViewModels
{
public class DialogBase : ViewModelBase, IContentDialogBase
{
p... | 2.270197 | 3618cfc33884f8bebc6787d1a81eaa91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71462 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "tylerlrhodes/bagombo",
"max_stars_repo_path": "src/Bagombo.Data/Command/ICommandHandlerAsync.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71463"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Bagombo.Data.Command
{
interface ICommandHandlerAsync<TCommand>
{
Task<CommandResult<TCommand>> ExecuteAsync(TCommand command);
}
}
| 1.599373 | 323e9ab5d1725e40d194240e49684fd0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71463 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "myblindy/roslyn",
"max_stars_repo_path": "src/Test/Utilities/Portable/Compilation/ThrowingStrongNameFileSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71464"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;
using ... | 1.826316 | c022a69f7b18300a90ce7a298ba8e86f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71464 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "BreakinBenny/VaultLib",
"max_stars_repo_path": "VaultLib.Core/Types/VLTListContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71465"
} | starcoder | <filename>VaultLib.Core/Types/VLTListContainer.cs<gh_stars>10-100
// This file is part of VaultLib by heyitsleo.
//
// Created: 10/19/2019 @ 4:49 PM.
using System.Collections.Generic;
using System.IO;
using VaultLib.Core.Data;
using VaultLib.Core.Utils;
namespace VaultLib.Core.Types
{
public class VLTListContai... | 2.45794 | 828179baacb5be156334796998038d34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71465 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "DataMesh-OpenSource/SolarSystemExplor",
"max_stars_repo_path": "Assets/Scripts/Network/Data/DefaultObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71466"
} | starcoder | <filename>Assets/Scripts/Network/Data/DefaultObject.cs<gh_stars>10-100
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DefaultObject : MonoBehaviour
{
public const string OBJECT_TYPE = "Default";
[HideInInspector]
public string id;
public string type { ge... | 2.670949 | d7d9dbfce8bdd85293cfa5a2a3a40c6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71466 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "777Eternal777/wcf",
"max_stars_repo_path": "src/System.Private.ServiceModel/src/System/ServiceModel/Security/SecurityNegotiationException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71467"
} | starcoder | <reponame>777Eternal777/wcf
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace System.ServiceModel.Security
{
public class SecurityNegotiationException : CommunicationException
{
public Securit... | 1.820198 | e6cfe0b7c73fc97dbb6d736ed377fb75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71467 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SaveliyLipaev/Homework-2-course-",
"max_stars_repo_path": "SimpleFTP/SimpleFTP/Server.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71468"
} | starcoder | <filename>SimpleFTP/SimpleFTP/Server.cs
using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
namespace SimpleFTP
{
/// <summary>
/// Class implementing simple ftp
/// </summary>
public class Server
{
... | 3.289937 | 90130378c14f180eded57146e8f5f077 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71468 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VinsantSavov/SoftUni-Software-Engineering",
"max_stars_repo_path": "CSharp-Advanced/Homeworks-And-Labs/Functional Programming/Exercise/Exercise/7.PredicateForNames/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71469"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace _7.PredicateForNames
{
class Program
{
static void Main(string[] args)
{
int len = int.Parse(Console.ReadLine());
List<string> names = Console.ReadLine()
.Split(" ", StringSpli... | 3.627387 | 0e0efe9c592a9de2eaf528b42c337367 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71469 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bernarden/Ensure.Net",
"max_stars_repo_path": "Source/Vima.Ensure.Net.Tests/ExtensionsTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71470"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Vima.Ensure.Net.Tests.Helpers;
namespace Vima.Ensure.Net.Tests
{
[TestFixture]
public class ExtensionsTest
{
[Test]
public void IsEmptyShouldBeAbleToHandleCollection()
{
... | 2.653313 | 12e3988dd6345d03f9171e8b2ea99714 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71470 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "svetliub/Employee-Management",
"max_stars_repo_path": "EmployeesManagement.Tests/Mocks/MockDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71471"
} | starcoder | namespace EmployeesManagement.Tests.Mocks
{
using EmployeesManagement.Data;
using Microsoft.EntityFrameworkCore;
using System;
public static class MockDbContext
{
public static EmployeesManagementContext GetDbContext()
{
var options = new DbContextOptionsBuilder<Employe... | 2.154758 | 3744da59aa1cf9efd70c33f1edf1d91a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71471 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "olivier-spinelli/CK-AspNet-Tester",
"max_stars_repo_path": "CK.AspNet.Tester/ExternalProcess.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71472"
} | starcoder | <reponame>olivier-spinelli/CK-AspNet-Tester<filename>CK.AspNet.Tester/ExternalProcess.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CK.AspNet.Tester
{
/// <summary>
/// Very basic wrapper around a proce... | 2.848796 | 576c62e721fde23ac9ab8f65fa8bf748 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71472 | {
"extension": "c-sharp",
"max_stars_count": "4222.0",
"max_stars_repo_name": "NooNameR/MassTrans",
"max_stars_repo_path": "src/MassTransit/Configuration/RegistrationExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71473"
} | starcoder | namespace MassTransit
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Automatonymous;
using ConsumeConfigurators;
using Courier;
using Definition;
using Futures;
using Internals.Extensions;
using Metadata;
using Registra... | 2.247869 | 7fda26bf0ed386467062e19b0acc71c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71473 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AITGmbH/vstspullrequeststatuspolicies",
"max_stars_repo_path": "AIT.PullRequestStatus.WebApi/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71474"
} | starcoder | <gh_stars>0
using AIT.PullRequestStatus.DataAccess.Repositories;
using AIT.PullRequestStatus.Domain.Services;
using AIT.PullRequestStatus.WebApi.Controllers;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;... | 1.279799 | 3f64ddd022b87a17040f53a3894628bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71474 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "awesomegithubusername/Serenity",
"max_stars_repo_path": "Serenity.Script.Imports/GoogleMaps/Services/ElevationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71475"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace google.maps
{
[Imported]
public partial class ElevationService
{
/// <summary>
/// Creates a new instance of a ElevationService that sends elevation queries to Google servers.
... | 1.810525 | 3648565afc4c05e63e848d31d71e9465 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71475 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FlashYoshi/UGentProjects",
"max_stars_repo_path": "DesignProject/Assets/Editor/Tests/Storage Tests/Remote_Savable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71476"
} | starcoder | <filename>DesignProject/Assets/Editor/Tests/Storage Tests/Remote_Savable.cs<gh_stars>0
using UnityEngine;
using System.Threading;
using NUnit.Framework;
using System;
using System.Collections;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
[TestFixture]
public class Remote_Savable
{
[Test... | 2.222264 | efe7d378606d0a2f145f62301a69e8a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71476 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EventMS/EMS",
"max_stars_repo_path": "src/Services/Event/Event.API/IntegrationEvents/Consumers/InstructorAddedEventConsumer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71477"
} | starcoder | using System.Threading.Tasks;
using AutoMapper;
using EMS.Event_Services.API.Context;
using EMS.Event_Services.API.Context.Model;
using EMS.Events;
using MassTransit;
using TemplateWebHost.Customization.BasicConsumers;
namespace EMS.Event_Services.API.Events
{
//Ensure mappers are on point.
public class Instr... | 1.911283 | bbed88a2fbc1e4a743ed6de3aa638142 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71477 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "gdbobu/CocoStudio2.0.6",
"max_stars_repo_path": "CocoStudio.Model/CocoStudio.Model.Editor/ResourceFileImport.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71478"
} | starcoder | <filename>CocoStudio.Model/CocoStudio.Model.Editor/ResourceFileImport.cs
using CocoStudio.Basic;
using CocoStudio.Core;
using CocoStudio.Model.ViewModel;
using CocoStudio.Projects;
using CocoStudio.ToolKit;
using CocoStudio.UndoManager;
using Gdk;
using Gtk;
using Modules.Communal.MultiLanguage;
using System;
using Sys... | 1.867523 | f5d07be91019e5bd8f4f55c31389d5e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71478 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pavlinpetkov88/ProgramingBasic",
"max_stars_repo_path": "ExamDecember/Exam2/Exam2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71479"
} | starcoder | <gh_stars>0
using System;
class Exam2
{
static void Main()
{
double subraniPari = double.Parse(Console.ReadLine());
double shirochinaNaPoda = double.Parse(Console.ReadLine());
double dyljinanaPoda = double.Parse(Console.ReadLine());
double strananaTR = double.Parse(Console.Read... | 3.169408 | d55b708a75adda72a5fe8df912359471 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71479 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HCI901E20/P9-Backend",
"max_stars_repo_path": "P9-Backend/Models/Commando.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71480"
} | starcoder | <filename>P9-Backend/Models/Commando.cs
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading.Tasks;
namespace P9_Backend.Models
{
[JsonObject(MemberSerialization.OptIn)]
public class Commando : IEquatable<Comman... | 2.966481 | e05321b6b13bc4d5648436b4b021c891 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71480 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IntelliQUAL/sail",
"max_stars_repo_path": "back-end/CSharp/sail-hosts/SAIL.Host.API/Helpers/LateBinding.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71481"
} | starcoder | using System;
using System.Web;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Collections.Generic;
using SAIL.Framework.Host;
namespace SAIL.Host.API.Helpers
{
public class LateBinding
{
private static Dictionary<string, object> _commandTypeRef = new Dictionary<string, ... | 2.275357 | 620103f114e5d9a223643df7caaded3d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71481 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "chylex/TweetDick",
"max_stars_repo_path": "linux/TweetImpl.CefGlue/Handlers/Resource/DisableCspResourceHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71482"
} | starcoder | using System;
using System.IO;
using System.Runtime.InteropServices;
using TweetImpl.CefGlue.Utils;
using Xilium.CefGlue;
namespace TweetImpl.CefGlue.Handlers.Resource {
sealed class DisableCspResourceHandler : CefResourceHandler {
private readonly CefFrame frame;
private Client? client;
private int position;
... | 2.148533 | 82b9e097793d1c5c7e786e4742fe69c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71482 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Phoenixx19/JumpKingRPC",
"max_stars_repo_path": "MainRP.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71483"
} | starcoder | using System;
using DiscordRPC;
using DiscordRPC.Logging;
using JumpKing.MiscSystems.Achievements;
using JumpKing.Player;
using Microsoft.Xna.Framework;
using JumpKing.GameManager;
using JumpKing.SaveThread.SaveComponents;
using JumpKing.SaveThread;
using System.Configuration;
using System.ComponentModel.Dat... | 2.136037 | a2ca15f522c8832341486a246f9a6a94 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71483 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "krasizorbov/Book-Store-API",
"max_stars_repo_path": "BookStore.API/Common/GlobalConstants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71484"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BookStore.API.Common
{
public static class GlobalConstants
{
/// <summary>
/// Author's Contrller NLog Messages
/// </summary>
public const string TryGetAuthors = "Attempt... | 2.319393 | 9726f58856f1e04d30be4c84e52da300 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71484 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ferhatkorkutata/Hastane-Otomasyonu",
"max_stars_repo_path": "HastaneOtomasyon/PersonelEkrani.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71485"
} | starcoder | namespace HastaneOtomasyon
{
partial class PersonelEkrani
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.960876 | 83bc838d7d01d4f245c0bf5d0334b8b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71485 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidbetz/esvfordotnet",
"max_stars_repo_path": "EsvBible.Service/QueryInfoData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71486"
} | starcoder | using System;
using System.Collections.Generic;
namespace EsvBible.Service
{
public class QueryInfoData
{
public QueryInfoData()
{
Warnings = new List<Warning>();
}
/// <summary>
/// Some sort of fatal error, usually indicating an invalid k... | 3.021292 | b6e349781179b726fd666db8583e4004 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71486 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "h82258652/HN.Controls.ImageEx",
"max_stars_repo_path": "demo/UwpDemo/Views/ShadowView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71487"
} | starcoder | <gh_stars>10-100
using HN.Controls;
using Windows.UI.Xaml;
namespace UwpDemo.Views
{
public sealed partial class ShadowView
{
public ShadowView()
{
InitializeComponent();
}
private void IsShadowEnabledCheckBox_Checked(object sender, RoutedEventArgs e)
{
... | 1.799647 | 56f0197d36aa70bdddbb6ce4e2fa6325 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71487 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "nesrak1/xenko",
"max_stars_repo_path": "sources/editor/Xenko.Core.Assets.Editor/View/DebugTools/DebugAssetNodesUserControl.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71488"
} | starcoder | // Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Sy... | 1.718854 | 26b214be334420d53c45f754b9f478f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71488 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanielMagro97/Kenny-The-Hopper",
"max_stars_repo_path": "KennyTheHopper/Assets/Scripts/AlienScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71489"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
public class AlienScript : MonoBehaviour {
public Vector2[] pivots;
private int index = 0;
public float maxSpeed = 5f;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
index = index % pivots.Lengt... | 2.000709 | 6e993591d7459364ddbf91335f57ac40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71489 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ajayyy/2DRacing",
"max_stars_repo_path": "Assets/Scripts/Player/PowerUpAnimationEventListener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71490"
} | starcoder | <filename>Assets/Scripts/Player/PowerUpAnimationEventListener.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PowerUpAnimationEventListener : MonoBehaviour {
void Start () {
}
void Update () {
}
/// <summary>
/// Calls the function in the powerupbox... | 2.106249 | 1573f2364777e44e1ee1a67a4b6f6a91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71490 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DatReki/LogToHtml",
"max_stars_repo_path": "LogToHtml/LogToHtml/Core/Create/LogModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71491"
} | starcoder | using System;
using static LogToHtml.Logging;
using System.Collections.Generic;
namespace LogToHtml.Core.Create
{
public class LogModel
{
public List<string> Projects { get; set; }
public string Project { get; set; }
public List<string> LogTypes { get; set; }
public LogType Log... | 1.631136 | 92d9c8f83aa4a7c2b34f7253e06b0505 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71491 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "santhoshbomma9/Microsoft-commercial-marketplace-transactable-SaaS-offer-SDK",
"max_stars_repo_path": "src/SaaS.SDK.CustomerProvisioning/Helpers/EmailHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71492"
} | starcoder | using Microsoft.Marketplace.SaasKit.Client.DataAccess.Contracts;
using Microsoft.Marketplace.SaasKit.Client.Services;
using Microsoft.Marketplace.SaasKit.Models;
using System.Net;
using System.Net.Mail;
//using SendGrid;
//using SendGrid.Helpers.Mail;
namespace Microsoft.Marketplace.SaasKit.Client.Helpers
{
public... | 2.064018 | 51b2dc3361d38e655dd072c0f395d4c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71492 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chriskid824/CF.EIP",
"max_stars_repo_path": "src/Convience.Backend/Convience.Applications/Convience.Service/SystemManage/UserService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71493"
} | starcoder | <filename>src/Convience.Backend/Convience.Applications/Convience.Service/SystemManage/UserService.cs
using AutoMapper;
using Convience.Entity.Data;
using Convience.Entity.Entity;
using Convience.Entity.Entity.Identity;
using Convience.EntityFrameWork.Repositories;
using Convience.Injection;
using Convience.JwtAuthent... | 1.938525 | deb286321bbe9299e13187bc62a49dd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71493 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "stevedesmond-ca/CoreAPM",
"max_stars_repo_path": "Agent.Tests/AgentTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71494"
} | starcoder | using System.Net;
using System.Text;
using System.Text.Json;
using Microsoft.Extensions.Logging;
using NSubstitute;
using Xunit;
namespace ecoAPM.Agent.Tests;
public class AgentTests
{
[Fact]
public void RequestUrlCombinedCorrectlyWithSlashInBase()
{
//arrange
var config = new ServerConfig(new Uri("http://loca... | 2.266631 | 9ea0990ded8b3e5ca7fd855203dc7196 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71494 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marcusmiris/Miris.Transactions",
"max_stars_repo_path": "System.Transactions.net451/System/Transactions/DependentTransaction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71495"
} | starcoder | //-----------------------------------------------------------------------------
// <copyright file="DependentTransaction.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------------
namespace S... | 2.091089 | 03ae4808ad5098bf040be1ca82b7efd7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71495 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dotFramework/core",
"max_stars_repo_path": "source/Src/Core/Extensions/StringExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71496"
} | starcoder | using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace System
{
public static class StringExtensions
{
public static string ReplaceSpecialCharsForUrl(this String url)
{
return url.Replace(" ", "%20").Replace("+", "%2B");
}
... | 3.311904 | 930d7c9c8c399cb1313ca91b9b6eb613 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71496 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "riQQ/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/tagDVD_KaraokeAttributes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71497"
} | starcoder | // c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\strmif.h(21187,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct tagDVD_KaraokeAttributes
{
public byte bVersion;
public bool fMasterOfCere... | 1.374734 | d8d3edacabe9cf4ec08c2507f38656b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71497 | {
"extension": "c-sharp",
"max_stars_count": "59.0",
"max_stars_repo_name": "dukeofharen/httplaceholder",
"max_stars_repo_path": "src/HttPlaceholder/Infrastructure/AutoMapper/WebAutoMapperProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71498"
} | starcoder | using System.Reflection;
using AutoMapper;
using HttPlaceholder.Application.Infrastructure.AutoMapper;
namespace HttPlaceholder.Infrastructure.AutoMapper
{
public class WebAutoMapperProfile : Profile
{
public WebAutoMapperProfile()
{
this.InitializeProfile(Assembly.GetExe... | 1.425347 | 226fab4f3cb1b3965842098b64db15fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71498 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "markjamesm/NBA-Sharp",
"max_stars_repo_path": "src/Model/BroadcastersModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71499"
} | starcoder | namespace NBASharp.Model;
public class BroadcastersModel
{
public List<NationalModel> National { get; set; }
public List<CanadianModel> Canadian { get; set; }
public List<VTeamModel> VTeam { get; set; }
public List<HTeamModel> HTeam { get; set; }
public List<object> SpanishHTeam { get; set; }
... | 1.169888 | 9485977b7b22ea3b11028ee69c0f8418 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71499 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "Steph55/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/IEnumDMO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71500"
} | starcoder | <reponame>Steph55/DirectN<filename>DirectN/DirectN/Generated/IEnumDMO.cs<gh_stars>100-1000
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\mediaobj.h(716,5)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[ComImport, Guid("2c3cd98a-2bfa-4a53-9c27-5249ba64ba0f"), Int... | 1.787505 | 062b7049276283252130d29efc516df8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71500 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "MaxGhiso/vss2svn",
"max_stars_repo_path": "Vss2Svn/SvnWrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71501"
} | starcoder | using SharpSvn;
using SharpSvn.UI;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;
namespace Hpdi.Vss2Svn
{
class ... | 2.426853 | 5348d518f35e42a07b7fd5f95aa684b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71501 | {
"extension": "c-sharp",
"max_stars_count": "4222.0",
"max_stars_repo_name": "misiek-it/MassTransit",
"max_stars_repo_path": "src/MassTransit.Azure.ServiceBus.Core/MessageLockContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71502"
} | starcoder | namespace MassTransit.Azure.ServiceBus.Core
{
using System;
using System.Threading.Tasks;
public interface MessageLockContext
{
Task Complete();
Task Abandon(Exception exception);
Task DeadLetter();
Task DeadLetter(Exception exception);
}
}
| 1.514206 | 8e757fb6b0b1bd32826b03c1a619794c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71502 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "antifree/SQLInjectionDemo",
"max_stars_repo_path": "SQLInjectionDemo/Data/BaseFileItemRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71503"
} | starcoder | using Microsoft.AspNetCore.Authorization.Infrastructure;
using Microsoft.AspNetCore.Http;
using SQLInjectionDemo.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
namespace SQLInjectionDemo.Data
{
public abstract class BaseFileIt... | 2.429451 | f6f648474688d238d88feb479fc38da6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71503 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kamacharovs/aiof-api",
"max_stars_repo_path": "aiof.api.data/UserDependent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71504"
} | starcoder | <reponame>kamacharovs/aiof-api
using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.ComponentModel.DataAnnotations;
namespace aiof.api.data
{
/// <summary>
/// Financial dependent of a <see cref="User"/> as they may appear on their taxes.
... | 2.087435 | 847fa0a25eb70022da9658b9a94e2ff4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71504 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "olegsmetanin/apinet-server",
"max_stars_repo_path": "AGO.Core/Attributes/Mapping/PersistentCollectionAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71505"
} | starcoder | using System;
namespace AGO.Core.Attributes.Mapping
{
/// <summary>
/// Предоставляет авто-маперу информацию о что коллекция является персистентной, и параметры как она должна мапиться
/// </summary>
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public class PersistentCollectionAttri... | 2.542674 | 83ee191894c77e16924600d688a2fca9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71505 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "JohanLarsson/Gu.Reactive",
"max_stars_repo_path": "Gu.Reactive.Demo/Converters/BooleanToVisibilityConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71506"
} | starcoder | <filename>Gu.Reactive.Demo/Converters/BooleanToVisibilityConverter.cs
namespace Gu.Reactive.Demo.Converters
{
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using System.Windows.Markup;
[MarkupExtensionReturnType(typeof(BooleanToVisibilityConverter))... | 2.61401 | 63d7d62e675050969ec5f646c9236b80 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71506 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HGTP/hgtp-capstone",
"max_stars_repo_path": "mobile-app/RevisedGestrApp/RevisedGestrApp/RevisedGestrApp/Views/SOSContactPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71507"
} | starcoder | /// <summary>
/// Copyright 2021 HGTP Capstone Team at the University of Utah:
/// <NAME>, <NAME>, <NAME>, <NAME>
///
/// Licensed under the MIT license. Read the project readme for details.
/// </summary>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.T... | 2.410455 | 57a802fd428206576a89433b43cd4e47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71507 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jianyuyanyu/DryIoc",
"max_stars_repo_path": "test/DryIoc.IssuesTests/GHIssue391_Deadlock_during_Resolve.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71508"
} | starcoder | using NUnit.Framework;
using System.Linq;
namespace DryIoc.IssuesTests
{
[TestFixture]
public class GHIssue391_Deadlock_during_Resolve : ITest
{
public int Run()
{
Test1();
return 1;
}
[Test]
public void Test1()
{
var cont... | 2.390621 | c858e09d304c481e06900c3e360f4970 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71508 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mikegoatly/lifti-codeplex",
"max_stars_repo_path": "Lifti.Core/Lifti.Core/Persistence/IO/DataPool.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71509"
} | starcoder | // This source is subject to the the MIT License (MIT)
// All rights reserved.
namespace Lifti.Persistence.IO
{
using System.Collections.Generic;
using System.Threading;
/// <summary>
/// A static pool of memory blocks.
/// </summary>
internal static class DataPool
{
/// <summary>... | 3.148323 | b1d1c56fce2e1c9d1e9b95e02ec3cd91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71509 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "J0hnyBG/RememBeerMe",
"max_stars_repo_path": "src/RememBeer.Tests/Business/Logic/Account/Confirm/Presenter/OnSubmit_Should.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71510"
} | starcoder | <reponame>J0hnyBG/RememBeerMe
using Microsoft.AspNet.Identity;
using Moq;
using NUnit.Framework;
using RememBeer.Business.Logic.Account.Confirm;
using RememBeer.Business.Logic.Account.Confirm.Contracts;
using RememBeer.Business.Services.Contracts;
using RememBeer.Tests.Utils;
namespace RememBeer.Tests.Business.Log... | 1.691502 | e58eb32bd0a30b5d771b47bd971c98c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71510 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tiller431/yes",
"max_stars_repo_path": "Sora/Sora/Bot/Commands/KickCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71511"
} | starcoder | using System;
using System.Collections.Generic;
using Sora.Objects;
using Sora.Services;
namespace Sora.Bot.Commands
{
public class KickCommand : ISoraCommand
{
public string Command => "kick";
public string Description => "Kick somebody from your Server";
public List<Argument> Args => ... | 2.356224 | a9f2b2f122ff166a76e501a4d43af928 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71511 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "coch110149/BlyncLightWeatherStation",
"max_stars_repo_path": "BlyncLightWeatherStation/Controllers/ColorController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71512"
} | starcoder | using System.Collections.Generic;
using BlyncLightWeatherStation.Models;
using BlyncLightWeatherStation.Services.BlyncLight;
namespace BlyncLightWeatherStation.Controllers
{
public class ColorController
{
private readonly List<BlyncLightInstruction> _recipe = new List<BlyncLightInstruction>();
public ColorCo... | 2.596859 | 9a359529774744c94f4257bd53b1defc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71512 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bengongon97/RainApocalypse-reference-game",
"max_stars_repo_path": "Game/Assets/Scripts/EnesGameManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71513"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using HmsPlugin;
using HuaweiMobileServices.Id;
using HuaweiMobileServices.IAP;
using System;
public class EnesGameManager : MonoBehaviour
{
[HideInInspector]
public bool isAdsRemoved = false;
... | 1.837612 | 3f3ca94b21d0f422498904c9b359f2eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71513 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OwenSteele/DiscordBot",
"max_stars_repo_path": "RhythmHelper.Data/Entities/Guild.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71514"
} | starcoder | <filename>RhythmHelper.Data/Entities/Guild.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace RhythmHelper.Data.Entities
{
public class Guild
{
[Required]
[Key]
public string GuildId { get; set; }
[Required]
public ... | 2.30479 | 15b2b130201db8eb6bdd0a29792f35ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71514 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rafi16d/lvlup2016",
"max_stars_repo_path": "Assets/scripts/UvastSound.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71515"
} | starcoder | using UnityEngine;
using System.Collections;
public class UvastSound : MonoBehaviour {
public AudioSource audio;
void Start() {
}
void Update() {
}
public void UvastPlay() {
this.audio.Play();
}
}
| 1.746438 | ce499aa47ca0e39d57a1845aad8a5b21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71515 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aszecsei/Deadspell",
"max_stars_repo_path": "Assets/Deadspell/Scripts/Core/MovementType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71516"
} | starcoder | namespace Deadspell.Core
{
public enum MovementType
{
Static,
Random,
RandomWaypoint,
}
} | 1.40838 | bc7af0ef752fc7d46033059ccd0da9f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71516 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "red2901/sandbox",
"max_stars_repo_path": "exceldna/Source/ABM.Model/IMergable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71517"
} | starcoder | namespace ABM.Model
{
public interface IMergable<T>
{
void Merge(T reference);
}
} | 1.741426 | 167d9ff3d0fb0e46ef46ba1dfb5a0690 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71517 | {
"extension": "c-sharp",
"max_stars_count": "183.0",
"max_stars_repo_name": "JohnPKosh/azos",
"max_stars_repo_path": "src/testing/Azos.Tests.Unit/Wave/ServerTestsBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71518"
} | starcoder | <gh_stars>100-1000
/*<FILE_LICENSE>
* Azos (A to Z Application Operating System) Framework
* The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
</FILE_LICENSE>*/
using System;
using System.Net;
using System.Net.Http;
... | 1.698688 | 67b469d6665835a8877e33883c9b2360 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71518 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ArcScofield/arcgis-toolkit-sl-wpf",
"max_stars_repo_path": "src/CommonAPI/API/ESRI.ArcGIS.Client.Toolkit/Utilities/RangeDomainValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71519"
} | starcoder | <filename>src/CommonAPI/API/ESRI.ArcGIS.Client.Toolkit/Utilities/RangeDomainValidator.cs
using System;
namespace ESRI.ArcGIS.Client.Toolkit.Utilities
{
/// <summary>
/// *FOR INTERNAL USE ONLY* The RangeDomainValidator class.
/// </summary>
/// <remarks>Used by property setters of the fields having range domain ... | 2.887073 | cbebc005b474c108f445328b40aa309f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71519 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "efletche/PetClass",
"max_stars_repo_path": "PetClassTest/PetClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71520"
} | starcoder | <filename>PetClassTest/PetClass.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PetClassTest
{
public class PetClass
{
public string name { get; set; }
public string petType { get; set; }
public P... | 3.646922 | e76f269d093c2d0148302f9a93c9dd6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71520 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cloudtoid/framework",
"max_stars_repo_path": "src/Cloudtoid.Framework.UnitTests/Logger/LoggerExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71521"
} | starcoder | <filename>src/Cloudtoid.Framework.UnitTests/Logger/LoggerExtensions.cs
using System;
using System.Reflection;
using Microsoft.Extensions.Logging;
using NSubstitute;
using NSubstitute.Exceptions;
using static Cloudtoid.Contract;
namespace Cloudtoid.Framework.UnitTests
{
public static class LoggerExtensions
{
... | 2.933083 | 8c1afdfa4d66fe3c2dba7d3cb5acbe37 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71521 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "Bozar/AxeMan",
"max_stars_repo_path": "Assets/Scripts/Canvas_BuildSkill_Right.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71522"
} | starcoder | using AxeMan.GameSystem.GameDataHub;
using AxeMan.GameSystem.GameDataTag;
using AxeMan.GameSystem.GameMode;
using AxeMan.GameSystem.InitializeGameWorld;
using AxeMan.GameSystem.SearchGameObject;
using System;
using UnityEngine;
using UnityEngine.UI;
namespace AxeMan.GameSystem.UserInterface
{
public class Canvas_... | 2.156465 | 8fb16702b5fb5df3357bf2802161a9b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71522 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rameziophobia/NPO-Donation-System",
"max_stars_repo_path": "NPODS/NPODS Non-Profit Organizations Donation System/View/CustomControls/Components/OrganizationDashboard/DashboardRegion.Designer.cs",
"provenance": "train-00000-of-00045.js... | starcoder | <filename>NPODS/NPODS Non-Profit Organizations Donation System/View/CustomControls/Components/OrganizationDashboard/DashboardRegion.Designer.cs
namespace NPODS_Non_Profit_Organizations_Donation_System {
partial class DashboardRegion {
/// <summary>
/// Required designer variable.
/// </sum... | 2.07386 | bd0f8442116254767e6131578b7b1bc1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71523 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Telerik-Hackathon-2014/YourFood-WebAPI",
"max_stars_repo_path": "YourFood.Services/ReceiptScannerTesseract.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71524"
} | starcoder | <reponame>Telerik-Hackathon-2014/YourFood-WebAPI
namespace YourFood.Services
{
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using Tesseract;
using YourFood.Services.Contracts;
public class ReceiptScannerTesseract : IReceiptScanner
{
p... | 2.992085 | 87591c769a02daba972a13627cf13102 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71524 | {
"extension": "c-sharp",
"max_stars_count": "4226.0",
"max_stars_repo_name": "gstsgy/Util",
"max_stars_repo_path": "src/Util.Ui.Angular/ColorPickers/ColorPicker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71525"
} | starcoder | <filename>src/Util.Ui.Angular/ColorPickers/ColorPicker.cs
using Util.Ui.ColorPickers.Renders;
using Util.Ui.Components;
using Util.Ui.Renders;
namespace Util.Ui.ColorPickers {
/// <summary>
/// 颜色选择器
/// </summary>
public class ColorPicker : ComponentBase, IColorPicker {
/// <summary>
... | 1.773075 | fa84557d94ae354f787427ac47dbba3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71525 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "HaGGi13/PolyDeploy",
"max_stars_repo_path": "PolyDeploy/Components/PolyDeploySettingsBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71526"
} | starcoder | <gh_stars>10-100
using DotNetNuke.Entities.Modules;
namespace Cantarus.Modules.PolyDeploy.Components
{
public class PolyDeploySettingsBase : ModuleSettingsBase
{
}
}
| 0.804675 | 956937fc7dc10017f34eda590b960f08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71526 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FabriceChiron/Unity-Galaxy-Map",
"max_stars_repo_path": "Assets/Scripts/Galaxies/Clusters/ClusterPoint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71527"
} | starcoder | <filename>Assets/Scripts/Galaxies/Clusters/ClusterPoint.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class ClusterPoint : MonoBehaviour
{
[SerializeField]
private TextMeshProUGUI _UIName;
public TextMeshProUGUI UIName { get => _UIName; set => _UINam... | 2.285497 | 26a05645837b5b6c9a027ac1162bd8b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71527 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "DucThanhNguyen/MaterialCMS",
"max_stars_repo_path": "MaterialCMS.Web/Areas/Admin/Models/NotificationSearchQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71528"
} | starcoder | using System;
using System.ComponentModel;
using MaterialCMS.Entities.Notifications;
namespace MaterialCMS.Web.Areas.Admin.Models
{
public class NotificationSearchQuery
{
public NotificationSearchQuery()
{
Page = 1;
}
public int Page { get; set; }
public str... | 1.797548 | 85ad24cf3ccceb52722f0f4923d610ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71528 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "popote1/EsaGang",
"max_stars_repo_path": "Assets/Scripts/InGamePlayerInfo2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71529"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using DG.Tweening;
using UnityEngine;
using UnityEngine.UI;
public class InGamePlayerInfo2 : MonoBehaviour
{
[Header("UIParte;")]
public Slider SliderHP;
public Image ImgSliderFile;
public Image ImgHeadGreyScale;
public Image I... | 1.945324 | efb4a35d390d0d054e885206a37a9b39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71529 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SarLayer/CATSdesigner",
"max_stars_repo_path": "api/LMPlatform.UI/Services/Modules/Schedule/ScheduleProtectionViewData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71530"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
namespace LMPlatform.UI.Services.Modules.Schedule
{
[DataContract]
public class ScheduleProtectionViewData
{
public ScheduleProtectionViewData(DateTime date, TimeSpan? startTim... | 2.189436 | 288a64deed8d042f31388b8ce047c240 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71530 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Adriano-Severino/AppConsultarEstatusRS6",
"max_stars_repo_path": "EstatusRs6.Core/Models/Class1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71531"
} | starcoder | //namespace EstatusRs6.Core.Models
//{
// using System;
// using System.Collections.Generic;
// using System.Globalization;
// using Newtonsoft.Json;
// using Newtonsoft.Json.Converters;
// public partial class RootObject
// {
// [JsonProperty("status")]
// public long Status { get... | 1.6773 | de5f8796cdbe616fdfa75909dd279b3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71531 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bondyra/pp03",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71532"
} | starcoder | <filename>Program.cs
using System;
using System.Threading;
using System.Linq;
namespace JankielsProj
{
public class Application
{
private readonly string filePath = "./positions.txt";
private double hearingRange = 3.0d;
private int cntr = 0;
private static double e... | 3.090841 | 7f9843444a64ba3f9a49e19304fb6ca1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71532 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "amai2012/SonarLink",
"max_stars_repo_path": "SonarLink.API/Clients/ComponentsClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71533"
} | starcoder | <gh_stars>1-10
// (C) Copyright 2018 ETAS GmbH (http://www.etas.com/)
using RestSharp;
using SonarLink.API.Models;
using SonarLink.API.Requests;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace SonarLink.API.Clients
{
/// <summary>
/// A client for SonarQube components API.
/// <... | 1.885891 | 6a7e3f80a729ff77f8a48a8dfb12e606 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.