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 | 70133 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "TESnip-Skyrim-Edition/tesvsnip",
"max_stars_repo_path": "test/viewhtml/HtmlForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70134"
} | starcoder | <filename>test/viewhtml/HtmlForm.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace viewhtml
{
public partial class HtmlForm : Form, IBrowser
{
... | 2.65502 | 05a39fac9cc0e31d53e4527536471506 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70134 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ozziest/dotnet-react-example",
"max_stars_repo_path": "api/Migrations/202005171039_AddBranchIdFK.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70135"
} | starcoder | <reponame>ozziest/dotnet-react-example<gh_stars>1-10
using FluentMigrator;
namespace Advancity.Migrations
{
[Migration(202005171039)]
public class AddBranchIdFK : Migration
{
public override void Up()
{
Create.ForeignKey()
.FromTable("Students").ForeignColumn("BranchId")
.ToTable("B... | 1.80928 | ef8ff6152054895694440dd9b15f750f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70135 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "sithpow/the-golden-ticket",
"max_stars_repo_path": "src/Views/Clients/AddTicket.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:70136"
} | starcoder | <gh_stars>10-100
@{
ViewData["Title"] = "Add a Ticket";
}
@using GoldenTicket.Models
@model Ticket
<form method="post">
<input asp-for="ClientId" type="hidden">
<label>Title</label>
<input asp-for="Title">
<label>Description</label>
<input asp-for="Description">
<label>Complexit... | 1.914274 | 3933814b34af34289d04ea55df6d0bd1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70136 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KostadinovK/CSharp-Advanced",
"max_stars_repo_path": "02-Multidimensional-Arrays/Lab/05-Square-With-Maximum-Sum/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70137"
} | starcoder | using System;
using System.Linq;
public class Program
{
public static void Main()
{
int[] sizes = Console.ReadLine().Split(", ").Select(int.Parse).ToArray();
int[,] matrix = new int[sizes[0],sizes[1]];
int maxSum = int.MinValue;
int maxRow = -1;
int maxCol = -1;
... | 3.646797 | 248c30b7823f8d8970837371df74f7d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70137 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "codelastnight/neonKUBE",
"max_stars_repo_path": "Snippets/Cadence/Snippets.Cadence.HelloWorld/Program-BasicWorkflow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70138"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Neon.Cadence;
using Neon.Common;
namespace HelloWorld
{
[WorkflowInterface(TaskList = "my-tasks")]
public interface IHelloWorkflow : IWorkflow
{
[WorkflowMethod]
Task<string> HelloAsync(string name);
}... | 3.082841 | 1c116fedf84e0587e66084ea44062152 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70138 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "prayzzz/SoundCloud.API",
"max_stars_repo_path": "test/SoundCloud.Api.Test/QueryBuilders/PlaylistQueryBuilderTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70139"
} | starcoder | <filename>test/SoundCloud.Api.Test/QueryBuilders/PlaylistQueryBuilderTest.cs
using NUnit.Framework;
using SoundCloud.Api.Entities.Enums;
using SoundCloud.Api.QueryBuilders;
namespace SoundCloud.Api.Test.QueryBuilders
{
[TestFixture]
public class PlaylistQueryBuilderTest
{
[Test]
public voi... | 2.35438 | 53a1db8e9c2bc74e15c29171d1dce735 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70139 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "norcis/Osrm.Client",
"max_stars_repo_path": "Src/Osrm.Client/4x/Models/Location.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70140"
} | starcoder | <filename>Src/Osrm.Client/4x/Models/Location.cs<gh_stars>1-10
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Osrm.Client
{
public class Location //: System.Object
{
public Lo... | 3.235023 | 58160d28f0b8c9e89db0691399e58ad6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70140 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "threax/AspNetCore.Swashbuckle.Convention",
"max_stars_repo_path": "src/DevApp/AppConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70141"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DevApp
{
public class AppConfig
{
/// <summary>
/// The base url of the application, by default automatically discovered.
/// </sum... | 2.346149 | 40aa7e8eda25c252af3e853a8173cfd1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70141 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "markhiveit/explore-education-statistics",
"max_stars_repo_path": "src/GovUk.Education.ExploreStatistics.Admin/Views/Upload/Upload.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:70142"
} | starcoder | <filename>src/GovUk.Education.ExploreStatistics.Admin/Views/Upload/Upload.cshtml
@{
ViewData["Title"] = "Upload";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h1 class="govuk-heading-l">Upload files</h1>
<form method="post" enctype="multipart/form-data" asp-controller="Upload" asp-action="Post">
<div cla... | 2.112704 | 78c64ca7abb4593deebb02de585e0eae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70142 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sbully/TP_ABC_Dev",
"max_stars_repo_path": "ExoKiloutou/Exo_Menu/MainForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70143"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Exo_Menu
{
public partial class MainForm : Form
{
DateTime dateActu = DateTime... | 2.032974 | bf2c3ae6df01a3381e1d9da1e77496e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70143 | {
"extension": "c-sharp",
"max_stars_count": "234.0",
"max_stars_repo_name": "Drul1337/DigitalRune",
"max_stars_repo_path": "Samples/Samples/Samples/Game.UI/07 - GameMenuSample/DebuggingComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70144"
} | starcoder | <reponame>Drul1337/DigitalRune<gh_stars>100-1000
#if !WP7 && !WP8
using DigitalRune.Game.Input;
using DigitalRune.Game.UI;
using DigitalRune.Game.UI.Consoles;
using DigitalRune.Game.UI.Controls;
using DigitalRune.Game.UI.Rendering;
using DigitalRune.Graphics;
using DigitalRune.Mathematics.Algebra;
using Microsoft.Pract... | 2.419477 | 48337d5b67864641b16b44dcf72db912 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70144 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "puresystems/hotcakes-commerce-core",
"max_stars_repo_path": "Libraries/Hotcakes.CommerceDTO.Tests/TestConstants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70145"
} | starcoder | <gh_stars>10-100
#region License
// Distributed under the MIT License
// ============================================================
// Copyright (c) 2019 Hotcakes Commerce, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files... | 1.756336 | e038b56c0b1512a9c4511435cde375af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70145 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tonysneed/Forks.EntityFrameworkCore",
"max_stars_repo_path": "src/EFCore.Specification.Tests/TestUtilities/TestHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70146"
} | starcoder | <reponame>tonysneed/Forks.EntityFrameworkCore
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.... | 1.652719 | 0460a452da9d8f571d68e7e471698a88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70146 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "shenjielx/Hangfire.Tags.Redis",
"max_stars_repo_path": "SRC/Hangfire.Tags.Redis/Handlers/SucceededStateHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70147"
} | starcoder | using System;
using Hangfire.Redis;
using Hangfire.States;
using Hangfire.Storage;
using StackExchange.Redis;
namespace Hangfire.Tags.Redis
{
internal class SucceededStateHandler : StateHandler
{
public SucceededStateHandler(RedisStorageOptions options, IConnectionMultiplexer multiplexer) : base(optio... | 1.948353 | c88da2bea1d64c317fba8fc10cfc8f50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70147 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "logjointfork/logjoint",
"max_stars_repo_path": "trunk/model/persistence/StorageSection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70148"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Linq;
using System.IO;
namespace LogJoint.Persistence.Implementation
{
internal abstract class StorageSectionBase : IStorageSection
{
public StorageSectionBase(StorageManagerImplementation manager, StorageEntry entry, str... | 2.252295 | a6323b95c5e2996575e39f380427e820 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70148 | {
"extension": "c-sharp",
"max_stars_count": "422.0",
"max_stars_repo_name": "SimonDarksideJ/XNAGameStudio",
"max_stars_repo_path": "Samples/LocalizationSample_4_0/Localization/LocalizationGame.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70149"
} | starcoder | #region File Description
//-----------------------------------------------------------------------------
// LocalizationGame.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
#endreg... | 2.639328 | 0cd1bc2c422e5bad559952270086ba63 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70149 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LutherMckeiver/Lab-02-UnitTesting",
"max_stars_repo_path": "Lab-02-UnitTesting/Lab-02-Testing/UnitTest1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70150"
} | starcoder | <reponame>LutherMckeiver/Lab-02-UnitTesting<gh_stars>0
using System;
using Xunit;
using Lab_02_UnitTesting;
namespace Lab_02_Testing
{
public class UnitTest1
{
[Theory]
[InlineData(1000)]
[InlineData(5000)]
[InlineData(0)]
public void CanViewExpectedBalance(d... | 2.865062 | 4b329dc38eebdcf488108c50e9ac1434 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vijayraavi/ApplicationInsights-dotnet-server",
"max_stars_repo_path": "Src/PerformanceCollector/Perf.Shared/Implementation/WebAppPerformanceCollector/WebAppPerformanceCollector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70151"
... | starcoder | <reponame>vijayraavi/ApplicationInsights-dotnet-server<filename>Src/PerformanceCollector/Perf.Shared/Implementation/WebAppPerformanceCollector/WebAppPerformanceCollector.cs
namespace Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.Implementation.WebAppPerformanceCollector
{
using System;
using... | 2.674606 | 5428bb28ae15e9e8eafec24f05b47e96 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70151 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "km19809/Unity3D-Kirino-Engine",
"max_stars_repo_path": "Assets/KirinoEngine/VNCore/TextDisplayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70152"
} | starcoder | <gh_stars>10-100
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
namespace KirinoEngine {
public class TextDisplayer : MonoBehaviour {
public GameObject dialougeWindowHolder;
private string m_currentTypingDialgoue;
public Text nameDisplayer;
public Text dialogue... | 2.621753 | c26edd326cc67eaa2c05714c684824b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70152 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Obfuscator-Colections/KoiVM-With-ConfuserEx",
"max_stars_repo_path": "KoiVM.Runtime/Platform.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70153"
} | starcoder | <reponame>Obfuscator-Colections/KoiVM-With-ConfuserEx
using System;
namespace KoiVM.Runtime {
internal static class Platform {
public static readonly bool x64 = (IntPtr.Size == 8);
public static readonly bool LittleEndian = BitConverter.IsLittleEndian;
}
} | 1.678575 | 826fea946eda76282b7c631dd3333d20 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70153 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "geexboxs/MongoDB.Entities",
"max_stars_repo_path": "MongoDB.Entities/DB.Index.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70154"
} | starcoder | namespace MongoDB.Entities
{
public static partial class DB
{
/// <summary>
/// Represents an index for a given IEntity
/// <para>TIP: Define the keys first with .Key() method and finally call the .Create() method.</para>
/// </summary>
/// <typeparam name="T">Any class ... | 2.990489 | 299cd969b39970b05532456426117010 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "artakhak/IoC.Configuration-",
"max_stars_repo_path": "IoC.Configuration.Tests/AutoService/Services/Interface1_Impl1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70155"
} | starcoder | <filename>IoC.Configuration.Tests/AutoService/Services/Interface1_Impl1.cs
namespace IoC.Configuration.Tests.AutoService.Services
{
public class Interface1_Impl1 : IInterface1
{
public int IntValue => 7;
}
} | 1.898339 | 418e175bdafbef5c016c13b50fb8aa98 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70155 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ShahmanTeh/Xamarin.Forms-TabCarouselPage",
"max_stars_repo_path": "TabCarouselPage/TabCarouselPage/Enum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70156"
} | starcoder | <reponame>ShahmanTeh/Xamarin.Forms-TabCarouselPage
/***************************************************************************************************************
* Enum.cs
*
* Copyright (c) 2015, <NAME>
* All rights reserved.
*
*****************************************************************************... | 1.641622 | cfb0181488d3dd9438e990779e8fb1de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70156 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarioGn1/FurthestPoints",
"max_stars_repo_path": "FurthestFromCenter/FurthestPoint/Repositories/Contracts/IRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70157"
} | starcoder | <reponame>MarioGn1/FurthestPoints<filename>FurthestFromCenter/FurthestPoint/Repositories/Contracts/IRepository.cs
using FurthestPoint.Models;
using System.Collections.Generic;
namespace FurthestPoint.Repositories.Contracts
{
internal interface IRepository
{
IReadOnlyCollection<Point> FurthestPoints { ... | 1.791575 | be85cbb197a2cd1cd002a8f98a9b2e4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70157 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "n-stefan/eShopOnContainers",
"max_stars_repo_path": "src/Web/WebBlazor/Client/Services/LocationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70158"
} | starcoder |
namespace WebBlazor.Client.Services;
public class LocationService : ILocationService
{
private readonly HttpClient _httpClient;
private readonly string _remoteServiceBaseUrl;
public LocationService(HttpClient httpClient, IConfiguration configuration)
{
_httpClient = httpClient;
_remo... | 2.034023 | 50b85b84b77fc3e901a2f364abd0448f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Allsaveone/LevelUp",
"max_stars_repo_path": "Evoke/Assets/Scripts/EditorScripts/Fade.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70159"
} | starcoder | /// <summary>
/// Fade.
/// Handle scene fading. passes fadetime to loading.
/// </summary>
using UnityEngine;
using System.Collections;
public class Fade : MonoBehaviour {
public Texture2D fadeTexture;
public float fadeSpeed = 3f;
private int drawDepth = -100;
private int fadeDirection = -1; // -1 In, 1 Out
p... | 2.558947 | 571d0f2aafbde5a81a310214cdaf0751 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70159 | {
"extension": "c-sharp",
"max_stars_count": "129.0",
"max_stars_repo_name": "yb199478/catlib",
"max_stars_repo_path": "src/CatLib.Framework/Debugger/WebMonitor/IMonitorHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70160"
} | starcoder | /*
* This file is part of the CatLib package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Document: http://catlib.io/
*/
namespace CatLib.Debugger
{
/// <summary>
/// 监控句柄
/// </summary... | 2.241693 | 4086d8a3cb2b4dec29006dd625be1458 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70160 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MapWindow/MapWinGIS-API-Documentation",
"max_stars_repo_path": "MapWinGIS/Interop.MapWinGIS/Com Classes/ShapeEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70161"
} | starcoder | <reponame>MapWindow/MapWinGIS-API-Documentation<gh_stars>0
using System;
#if nsp
namespace MapWinGIS
{
#endif
/// <summary>
/// Facilitates interactive creation and editing of vector shapes.
/// </summary>
/// <remarks>
///
///
/// <b>A. General:</b>
///
/// Editor work with lay... | 2.488436 | 00ca05386b173f51a5ad8851d3f12792 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70161 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marax27/Episememe",
"max_stars_repo_path": "server/Episememe.Application/Exceptions/FileExistsException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70162"
} | starcoder | using System;
namespace Episememe.Application.Exceptions
{
public class FileExistsException : Exception
{
public FileExistsException(string message)
: base(message) { }
}
}
| 2.022583 | d28fb90b6f681be8faccd116859aa750 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70162 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tvu100/Wreckage",
"max_stars_repo_path": "Game/Assets/Script/Triggers/Ladder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70163"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityStandardAssets.Characters.FirstPerson;
public class Ladder : MonoBehaviour {
public float speed;
public FirstPersonController fpController;
public GameObject camVisual;
public bool canPass;
private bool _climb... | 1.917852 | 767ebe5effde54a015b7dc6b3970a807 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70163 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "equinor/sepes",
"max_stars_repo_path": "src/Sepes.Azure/Service/Interface/IAzureKeyVaultSecretService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70164"
} | starcoder | <reponame>equinor/sepes
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Sepes.Azure.Service.Interface
{
public interface IAzureKeyVaultSecretService
{
Task<Uri> AddKeyVaultSecret(string nameOfKeyVaultUrlSetting, string secretName, string secre... | 1.742816 | 33145f6638759a71f679da4cbd07eed7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70164 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "laytonc32/spnati",
"max_stars_repo_path": "editor source/SPNATI Character Editor/Forms/FailedImport.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70165"
} | starcoder | using Desktop.Skinning;
using System;
namespace SPNATI_Character_Editor.Forms
{
public partial class FailedImport : SkinnedForm
{
public FailedImport()
{
InitializeComponent();
}
private void cmdOK_Click(object sender, EventArgs e)
{
Close();
}
}
}
| 1.335594 | 7091deef97154faa4ec9d0e695f3f5f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70165 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "DavidDeVries/commercetools-dotnet-sdk",
"max_stars_repo_path": "commercetools.NET/CartDiscounts/UpdateActions/SetValidUntilAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70166"
} | starcoder | using System;
using commercetools.Common;
using Newtonsoft.Json;
namespace commercetools.CartDiscounts.UpdateActions
{
public class SetValidUntilAction:UpdateAction
{
[JsonProperty(PropertyName = "validUntil")]
public DateTime? ValidUntil { get; }
public SetValidUntilAction(DateTime va... | 2.157554 | 0370600b1726e854d451b7e5b311415e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70166 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "haraldnagel/ocuda",
"max_stars_repo_path": "src/Ops.Models/Entities/FileLibraryFileType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70167"
} | starcoder | namespace Ocuda.Ops.Models.Entities
{
public class FileLibraryFileType
{
public int FileLibraryId { get; set; }
public FileLibrary FileLibrary { get; set; }
public int FileTypeId { get; set; }
public FileType FileType { get; set; }
}
}
| 1.465775 | 21970e4fbd6fd11c08a5a6e2f58c17ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70167 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MartijnDijkgraaf/squidex",
"max_stars_repo_path": "backend/tools/TestSuite/TestSuite.ApiTests/SchemaTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70168"
} | starcoder | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | 2.111102 | 0e288c2fba48a6f9e8a9da8022a3e776 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70168 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "Soldie/securedelete-net-disk",
"max_stars_repo_path": "securedelete-net/SecureDelete.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70169"
} | starcoder | using System;
using System.IO;
using System.Security;
using DiskDetector;
using DiskDetector.Exceptions;
using DiskDetector.Models;
using Helper;
using SecureDelete.Models;
namespace SecureDelete
{
/// <summary>
/// Simple class for secure file deletion on HDD`s.
/// </summary>
public static class... | 3.314976 | ac9c3e43f71bf2110c5bf4bed8e97330 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70169 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "barrettj/MultiFunPlayer",
"max_stars_repo_path": "MultiFunPlayer/UI/Controls/NonReloadingTabControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70170"
} | starcoder | <reponame>barrettj/MultiFunPlayer
using System.Collections.Specialized;
using System.Windows;
using System.Windows.Automation.Peers;
using System.Windows.Controls;
namespace MultiFunPlayer.UI.Controls;
[TemplatePart(Name = "PART_ItemsHolder", Type = typeof(Panel))]
public class NonReloadingTabControl : TabControl
{
... | 2.418521 | 9fd19ca07ecb85b5f97a3c2e41bf7bcc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70170 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "andrez299321/JvMySandwiche",
"max_stars_repo_path": "JvBillingServices/EntitysServices/Dto/DTOBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70171"
} | starcoder | <reponame>andrez299321/JvMySandwiche
using System;
using System.Collections.Generic;
using System.Text;
namespace EntitysServices.Dto
{
public class DTOBase
{
public int id { get; set; }
}
}
| 0.918103 | f4e0376028788c816fca0d31e56e6eed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70171 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fergorgs/Pequenos-Sonhos",
"max_stars_repo_path": "Assets/Puzzle Elements/Scripts/ButtonBehavior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70172"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
public class ButtonBehavior : MonoBehaviour {
public GameObject player;
public GameObject pauseControll;
private PauseScript pauseScript;
public GameObject worldSwtCtr;
priv... | 2.114237 | 9f48afcf7255117fa8de26274afe71e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70172 | {
"extension": "c-sharp",
"max_stars_count": "114.0",
"max_stars_repo_name": "juba7/HexTiles",
"max_stars_repo_path": "Assets/HexMapEditor/Code/HexTiles/Utils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70173"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace HexTiles
{
public static class Utils
{
/// <summary>
/// Returns the modulo of two floats. ... | 2.932086 | 4ad9ac9c88d30031619226ee5e70e6d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70173 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eXish/ktaneAlteranTrail-master",
"max_stars_repo_path": "Assets/altera/alteranTrailScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70174"
} | starcoder | using System;
using System.Collections;
using System.Text.RegularExpressions;
using UnityEngine;
using Rnd = UnityEngine.Random;
public class alteranTrailScript : MonoBehaviour {
public KMAudio audio;
public KMBombModule bombModule;
public GameObject[] pathObjects;
private int speedTime;
private... | 1.76903 | 607c34768988551146c5f99e5c8ca1b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70174 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "xlxCLUxlx/BungieNetPlatform",
"max_stars_repo_path": "src/BungieNetPlatform/Model/TrendingTrendingEntryDestinyRitual.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70175"
} | starcoder | <reponame>xlxCLUxlx/BungieNetPlatform<gh_stars>1-10
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.1.1
* Contact: <E... | 2.04763 | 247665d642ae050947fc9a56d97d0df9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70175 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lillo42/NServiceBus.Automatonymous",
"max_stars_repo_path": "tests/NServiceBus.Automatonymous.Tests/Extensions/AutomatonymousExtensions.Send.Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70176"
} | starcoder | using System.Threading.Tasks;
using Automatonymous;
using Automatonymous.Binders;
using FluentAssertions;
using NServiceBus.Automatonymous.Activities;
using NSubstitute;
using Xunit;
namespace NServiceBus.Automatonymous.Tests.Extensions;
public partial class AutomatonymousExtensionsTest
{
[Fact]
publ... | 1.903427 | d9cbe36d60189cee656d9194ffa00955 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70176 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "johnkellyoxford/UWPPlayground",
"max_stars_repo_path": "Common/d3dx12/CD3DX12_GPU_DESCRIPTOR_HANDLE.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70177"
} | starcoder | <reponame>johnkellyoxford/UWPPlayground
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using TerraFX.Interop;
namespace UWPPlayground.Common.d3dx12
{
[SuppressMessage("ReSharper", "InconsistentNaming")]
public static class CD3DX12_GPU_DESCRIPTOR_HANDLE
{
public stati... | 1.600414 | 9f350ca3194ef93672774dc6f4bcdc3a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70177 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "msrao83/Telerik",
"max_stars_repo_path": "Controls/Chart/Chart.UWP/Visualization/CartesianChart/Series/Categorical/CandlestickSeries.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70178"
} | starcoder | <filename>Controls/Chart/Chart.UWP/Visualization/CartesianChart/Series/Categorical/CandlestickSeries.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Telerik.Charting;
using Telerik.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Media;
namespace Telerik.UI.Xaml.Co... | 2.778657 | 19cdb8810ada0b51590e11d33b942d1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70178 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EOP-OMB/mod-framework",
"max_stars_repo_path": "Server/Mod.Framework/Application/IAppService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70179"
} | starcoder | using Microsoft.Extensions.Logging;
using Mod.Framework.Application.ObjectMapping;
using Mod.Framework.Dependency;
using Mod.Framework.Runtime.Session;
namespace Mod.Framework.Application
{
/// <summary>
/// This interface must be implemented by all application services to identify them by convention.
///... | 1.512627 | 500faaa1a189b2bc4aa41ba2fa4f1e84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70179 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wtct/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Web/umbraco.presentation/umbraco/dashboard/Settings/Applyskin.ascx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70180"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using umbraco.cms.businesslogic.skinning;
using umbraco.cms.businesslogic.template;
namespace umbraco.presentation.umbraco.dashboard.Settings
{
public partial class... | 2.04605 | 8d2b9d0f3f3843af03ed136de3472b1e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70180 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlRado/MiniScriptSharp",
"max_stars_repo_path": "MiniScriptSharp/Types/ValNull.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70181"
} | starcoder | <filename>MiniScriptSharp/Types/ValNull.cs
using MiniScriptSharp.Constants;
using MiniScriptSharp.Tac;
namespace MiniScriptSharp.Types {
/// <summary>
/// ValNull is an object to represent null in places where we can't use
/// an actual null (such as a dictionary key or value).
/// </summary>
pub... | 2.898669 | d318781797e16756a063727765b18554 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70181 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "itplamen/Balkan-Air",
"max_stars_repo_path": "Balkan Air/Web/BalkanAir.Web.Common/TokenPurposes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70182"
} | starcoder | namespace BalkanAir.Web.Common
{
public static class TokenPurposes
{
public const string FLIGHT_CONFIRMATION = "FlightConfirmation";
}
}
| 1.070574 | a8bf7d6bc2caf45a1748dcec0d4ed61f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70182 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "frheinze/DataExchangeFramework.JsonServiceProvider",
"max_stars_repo_path": "src/Comspace.Sitecore.DataExchange.JsonServiceProvider/Converters/PipelineSteps/ReadJsonObjectsStepConverter.cs",
"provenance": "train-00000-of-00045.jsonl.g... | starcoder | <gh_stars>0
using Comspace.Sitecore.DataExchange.JsonServiceProvider.Models;
using Comspace.Sitecore.DataExchange.JsonServiceProvider.Plugins;
using Comspace.Sitecore.DataExchange.JsonServiceProvider.Processors;
using Sitecore.DataExchange.Attributes;
using Sitecore.DataExchange.Converters.PipelineSteps;
using Sitecor... | 1.292848 | 77e3d325c61789c5b30c5c731bd00165 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70183 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "topx777/PruebaMVC",
"max_stars_repo_path": "Tintoreria/Core/Persona.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70184"
} | starcoder | <filename>Tintoreria/Core/Persona.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
namespace Upds.Sistemas.ProgWeb2.Tintoreria.Core
{
public class Persona
{
#region Atributos
public int IdPersona { get; set; }
public string Ci { get; set; }
public string Nombr... | 1.988935 | 815a087da5afa691559deaa529e292ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70184 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "jl632541832/WaterCloudCore",
"max_stars_repo_path": "WaterCloud.Service/OperationMonitoring/ODMouldProgressService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70185"
} | starcoder | using Chloe;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using WaterCloud.Domain.Entity.OperationMonitoring;
namespace WaterCloud.Service.OperationMonitoring
{
public class ODMouldProgressService : DataFilterService<ODMouldProgressEntity>, IDenpendency
{
... | 1.637266 | 506f91153a5c9576e491bb002382b8fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70185 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "acmz/PotatoDigging",
"max_stars_repo_path": "Assets/Scenes/GameScene/Scripts/PBulletGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70186"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PBulletGenerator : MonoBehaviour {
// Use this for initialization
void Start () {
}
public GameObject pBulletPrefab;
private const float P_BULLET_POS_SET = 1.1f;
private const float P_BULLET_... | 2.398881 | 08e56a50685d0170a169d5a2a06a20e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70186 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "_no_namespace/AsyncMethodBuilderCore.ContinuationWrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70187"
} | starcoder | <reponame>SinsofSloth/RF5-global-metadata<filename>_no_namespace/AsyncMethodBuilderCore.ContinuationWrapper.cs
private class AsyncMethodBuilderCore.ContinuationWrapper // TypeDefIndex: 1252
{
// Fields
internal readonly Action m_continuation; // 0x10
private readonly Action m_invokeAction; // 0x18
internal readonly... | 1.518229 | 73636b5a284d64e4fbd606de06f94a42 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70187 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mouseflow/elasticsearch-net",
"max_stars_repo_path": "src/Nest/Cat/CatAliases/CatAliasesRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70188"
} | starcoder | namespace Nest
{
[MapsApi("cat.aliases.json")]
public partial interface ICatAliasesRequest { }
public partial class CatAliasesRequest { }
public partial class CatAliasesDescriptor { }
}
| 1.110255 | 061e2d9c4d333203e5b6e5f34fa5ef80 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70188 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "serpel/TimeSheetRRHH",
"max_stars_repo_path": "RRHH/RRHH/Models/Employee.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70189"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace RRHH.Models
{
public enum Gender
{
F = 0,
M = 1
}
public class Employee
{
[Key]
public Int32 EmployeeId { get; set; }
[Required]
[StringLength(20)... | 2.545878 | 270f23a0e90742daa0024240b2d236b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70189 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "wellstone018/Demo",
"max_stars_repo_path": "WPF.SharpPcap1/WPF.SharpPcap/ViewModels/MainViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70190"
} | starcoder | <reponame>wellstone018/Demo<filename>WPF.SharpPcap1/WPF.SharpPcap/ViewModels/MainViewModel.cs<gh_stars>10-100
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Windows;
using System.Windows.Threading;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using WPF.PacketCapture.... | 2.176458 | d80e14161eb1f3710c01286b52f9e74a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70190 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "cdoyle-kx/csharpkdb",
"max_stars_repo_path": "kx.Test/Types/SecondTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70191"
} | starcoder | <reponame>cdoyle-kx/csharpkdb<gh_stars>1-10
using System.Threading.Tasks;
using NUnit.Framework;
namespace kx.Test.Types
{
[TestFixture]
public class SecondTests
{
[Test]
public void SecondInitialisesWithInt32()
{
c.Second second = new c.Second(1);
Assert.I... | 2.868093 | afd2451a76b6e9e001406bacd2039459 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70191 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "joaoasrosa/pullrequests-viewer",
"max_stars_repo_path": "src/PullRequestsViewer.WebApp/Models/OrganisationRepositoriesViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70192"
} | starcoder | <gh_stars>1-10
using PullRequestsViewer.Domain;
using System.Collections.Generic;
using System.Linq;
namespace PullRequestsViewer.WebApp.Models
{
public class OrganisationRepositoriesViewModel
{
public OrganisationRepositoriesViewModel() { }
public OrganisationRepositoriesViewModel(IReadOnlyL... | 2.504544 | 152fc8a182d01e215ec33f0e9c142eda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70192 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YAOZZJ/LTSProject",
"max_stars_repo_path": "LTSProject/Project/ViewModel/DebugViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70193"
} | starcoder | <filename>LTSProject/Project/ViewModel/DebugViewModel.cs
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using Project.Control;
using Project.Model;
using Project.View;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostic... | 2.422623 | 0068c094833c0dc2589c21d9172c402e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70193 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "roberturba/headfirst",
"max_stars_repo_path": "Appendix I/Leftover 8 - Anonymous types and lambda expressions/Leftover 8 - Anonymous types/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70194"
} | starcoder | <filename>Appendix I/Leftover 8 - Anonymous types and lambda expressions/Leftover 8 - Anonymous types/Program.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Leftover_8___Anonymous_types
{
class Program
{
delegate void MyIntAn... | 3.947947 | 07a012c0f095c85bfe94509c9085e8cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70194 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nbonier/betablack",
"max_stars_repo_path": "BetaBlack.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70195"
} | starcoder | using System;
using MathNet.Numerics.RootFinding;
using System.Runtime.CompilerServices;
namespace betablack
{
public static class BetaBlack
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static double g(double beta, double x) // beta >= 0 && beta < 1.0
{
... | 2.85257 | 312dc72d3fdf6881a17a3da6eaaf87b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70195 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Wolox/netcore-bootstrap",
"max_stars_repo_path": "src/Models/Views/RoleManagerViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70196"
} | starcoder | <reponame>Wolox/netcore-bootstrap<filename>src/Models/Views/RoleManagerViewModel.cs
using System.Collections.Generic;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace NetCoreBootstrap.Models.Views
{
public class RoleManagerViewModel
{
public L... | 1.57786 | 30cf1e4f4e305f2d09fc4dd252f82cf1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70196 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kanyon-k8s/kanyon",
"max_stars_repo_path": "src/Kanyon.Kubernetes/Admissionregistration/V1/WebhookClientConfig.generated.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70197"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Kanyon.Kubernetes;
namespace Kanyon.Kubernetes.Admissionregistration.V1
{
public partial class WebhookClientConfig
{
/** <summary>`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook'... | 1.969115 | f82b7b81ad8b2b4165f4bb95ea5a5b61 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70197 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "sipsorcery/Vp8.Net",
"max_stars_repo_path": "src/mbpitch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70198"
} | starcoder | //-----------------------------------------------------------------------------
// Filename: mbpitch.cs
//
// Description: Port of:
// - mbpitch.c
//
// Author(s):
// <NAME> (<EMAIL>)
//
// History:
// 30 Oct 2020 <NAME> Created, Dublin, Ireland.
//
// License:
// BSD 3-Clause "New" or "Revised" License... | 1.93546 | d258db54af21816b6b765b6697188f81 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70198 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alexfordc/Au",
"max_stars_repo_path": "_Au/Dialog, menu, toolbar/AToolbar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70199"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using System.ComponentModel;
using System.Reflection;
using Microsoft.Win32;
u... | 2.255481 | 7871c2ec5603eefa95b15a3a038161fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70199 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Thanalan/GameBookClient",
"max_stars_repo_path": "demo/Library/PackageCache/com.unity.entities@0.0.12-preview.24/Unity.Entities.Hybrid/GameObjectConversion/GameObjectConversionMappingSystem.cs",
"provenance": "train-00000-of-00045.jso... | starcoder | using System.Collections.Generic;
using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
using Unity.Entities;
using UnityEditor;
using UnityEngine;
using UnityEngine.Assertions;
using UnityEngine.SceneManagement;
[DisableAutoCreation]
class GameObjectConversionMappingSystem : ComponentSystem
{
Diction... | 1.894125 | 0726ec47ba922e44844bcb9c78a54ca0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70200 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "Rich-MSR/CRA",
"max_stars_repo_path": "src/Samples/ShardedDatasetTest/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70201"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Linq.Expressions;
using CRA.ClientLibrary;
using CRA.DataProvider.Azure;
using CRA.ClientLibrary.DataProcessing;
namespace ShardedDatasetTest
{
class Program
{
static void Main(string[] args)
{
var storageConnectionStr... | 2.496997 | e2974f878b8483c4952ae3d08195bf30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70201 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "softwareantics/FinalEngine",
"max_stars_repo_path": "FinalEngine.Tests/Rendering/OpenGL/OpenGLInputAssemblerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70202"
} | starcoder | <gh_stars>1-10
// <copyright file="OpenGLInputAssemblerTests.cs" company="Software Antics">
// Copyright (c) Software Antics. All rights reserved.
// </copyright>
namespace FinalEngine.Tests.Rendering.OpenGL
{
using System;
using System.Diagnostics.CodeAnalysis;
using FinalEngine.Rendering.Buffers;
... | 1.917552 | c75d4daf87cad430aa3bf31c7e45bed4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70202 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShmielB/Design-Patterns",
"max_stars_repo_path": "logProduct-FactoryPattern/logProduct/LogProduct.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70203"
} | starcoder | <reponame>ShmielB/Design-Patterns
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace logProduct
{
public abstract class LogProduct
{
public enum Operator { log4net, nlog };
public abstract string LogType { get;}
}
}... | 2.015785 | cfaf3ccb727bf3f5490861927d077b71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70203 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "23doors/pulumi-gcp",
"max_stars_repo_path": "sdk/dotnet/Datafusion/Instance.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70204"
} | starcoder | <filename>sdk/dotnet/Datafusion/Instance.cs<gh_stars>0
// *** 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.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.... | 1.894683 | 697db65d33dcc0ea53f99b23767cde21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70204 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Altrentorae/TaskKiller",
"max_stars_repo_path": "DebugConsoleController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70205"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TaskKiller
{
public class DebugConsoleController
{
public DebugConsoleController(RichTextBox textBox)
{
r ... | 2.747243 | 8bc9dbc7900452305d8cd7e036d083b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70205 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "nuitsjp/Kamishibai",
"max_stars_repo_path": "Xamarin/Source/Kamishibai.Xamarin.Forms.Tests/Mvvm/NavigationRequestCommandFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70206"
} | starcoder | using System;
using Kamishibai.Xamarin.Forms.Mvvm;
using Moq;
using Xunit;
namespace Kamishibai.Xamarin.Forms.Tests.Mvvm
{
public class NavigationRequestCommandFixture
{
[Fact]
public void DefaultConstructor()
{
var command = new NavigationRequestCommand();
var actionMock = new Mock<INavigationAction>()... | 2.459277 | cb2d6a52ea77e777c6c5439721ea7826 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70206 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Digitalroot-Valheim/viktorbrenek-Spawners",
"max_stars_repo_path": "JotunnModStub/Powers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70207"
} | starcoder | <reponame>Digitalroot-Valheim/viktorbrenek-Spawners
using BepInEx;
using JetBrains.Annotations;
using Jotunn;
using Jotunn.Configs;
using Jotunn.Entities;
using Jotunn.Managers;
using Jotunn.Utils;
using UnityEngine;
namespace Sporelings
{
public class GP_Mother : SE_Stats
{
public GP_Mother()
... | 1.569686 | 96c3bf9d36198bd2e5df3b68167c63cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70207 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "namuol/JuicerUnity",
"max_stars_repo_path": "Assets/Scripts/DamageHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70208"
} | starcoder | using System;
using UnityEngine;
public abstract class DamageHandler : MonoBehaviour
{
/// Fires whenever damage is dealt to this object
abstract public void OnDamage(DealsDamage damager);
/// Fires whenever this object runs out of hit points
abstract public void OnFullyDamaged(DealsDamage damager);
}
| 2.102471 | 30210a572d6c3563ec40667d26ec038c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70208 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ConsenSys/Nethereum.BlockchainProcessing",
"max_stars_repo_path": "Nethereum.LogProcessing/Handling/Handlers/SearchIndexHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70209"
} | starcoder | using System.Threading.Tasks;
namespace Nethereum.BlockchainProcessing.Processing.Logs.Handling.Handlers
{
public class SearchIndexHandler : EventHandlerBase, IEventHandler
{
public SearchIndexHandler(IEventSubscription subscription, long id, ISubscriberSearchIndex subscriberSearchIndex)
:... | 2.092634 | 0c0008499a76b84bd58b95d31069dae4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70209 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "codefox42/linq2db",
"max_stars_repo_path": "Tests/Linq/UserTests/CompareNullableCharTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70210"
} | starcoder | using System;
using System.Linq;
using LinqToDB;
using LinqToDB.Data;
using LinqToDB.Mapping;
using NUnit.Framework;
namespace Tests.UserTests
{
[TestFixture]
public class CompareNullableCharTests : TestBase
{
class Table1
{
[PrimaryKey(1)]
[Identity] public Int64 Field1 { get; set; }
... | 2.362842 | 35daa4e5c214a6ca03b36a864794f6dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70210 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mod1fy/TheraLang",
"max_stars_repo_path": "TheraLang.DLL/Configuration/ResourceCategoriesConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70211"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using TheraLang.DLL.Entities;
namespace TheraLang.DLL.Configuration
{
public class ResourceCategoriesConfiguration : IEntityTypeConfiguration<ResourceCategory>
{
public void Configure(EntityTypeBuilder<Resource... | 2.347703 | 3bc62b06e4ea64424fba8cb248718850 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70211 | {
"extension": "c-sharp",
"max_stars_count": "304.0",
"max_stars_repo_name": "LePtitDev/Meziantou.Framework",
"max_stars_repo_path": "src/Meziantou.Framework.CodeDom/IXmlCommentable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70212"
} | starcoder | namespace Meziantou.Framework.CodeDom
{
public interface IXmlCommentable
{
XmlCommentCollection XmlComments { get; }
}
}
| 1.607451 | 8b03eaed1d8afb71779b84f2e99cf0aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70212 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rzmoz/dotnet.basics",
"max_stars_repo_path": "DotNet.Basics/Tasks/Repeating/RepeaterTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70213"
} | starcoder | using System;
using System.Threading.Tasks;
namespace DotNet.Basics.Tasks.Repeating
{
public class RepeaterTask : ManagedTask<EventArgs>
{
public RepeaterTask(Func<Task> task) : base(task)
{
Options = new RepeatOptions();
}
public RepeaterTask(Action task) : base(t... | 2.442805 | e467d1f978a119d6d60dcae25daa0031 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70213 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bm98/MSFS2020Ctrls",
"max_stars_repo_path": "Layout/LayoutGroupsJson.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70214"
} | starcoder | <reponame>bm98/MSFS2020Ctrls<filename>Layout/LayoutGroupsJson.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Threading.Tasks;
namespace MSFS2020Ctrls.Layout
{
class LayoutGroupsJson
{
/// <summary>... | 2.570657 | a0a00a258537eed455d68e2e30ad98e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70214 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sholev/SoftUni",
"max_stars_repo_path": "Fundamentals-2.0/HighQualityCode/Homework/SOLID-And-Other-Principles/LoggerLibrary/LoggerLibrary/Enums/SeverityLevel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70215"
} | starcoder | <reponame>sholev/SoftUni<gh_stars>1-10
namespace LoggerLibrary.Enums
{
public enum SeverityLevel
{
Fatal = 0,
Critical = 1,
Error = 2,
Warn = 3,
Info = 4
}
}
| 1.784436 | 53ef1ecfed98126e81ff653ea52b26e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70215 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IvnNzk/MiddlewareUtility",
"max_stars_repo_path": "MiddlewareUtility_test/Intervals/DayInterval/DayIntervalFactory_tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70216"
} | starcoder | using System;
namespace MiddlewareUtility_test.Intervals.DayInterval
{
using NUnit.Framework;
using MiddlewareUtility.Factories;
// Need check message from Exceptions
public class DayIntervalFactory_tests
{
// Constructor tests
[Test]
public void ConstructorTest_factoryIsEx... | 2.64696 | 1549ab03255af5cfec64467b66c284c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70216 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "encounter12/AnimalHabitat",
"max_stars_repo_path": "EcologyServer/Ecology.DTO/Exceptions/DatabaseSeedFailedException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70217"
} | starcoder | <filename>EcologyServer/Ecology.DTO/Exceptions/DatabaseSeedFailedException.cs
using System;
using System.Runtime.Serialization;
namespace Ecology.DTO.Exceptions
{
[Serializable]
public class DatabaseSeedFailedException : Exception
{
public DatabaseSeedFailedException()
{
}
... | 2.201514 | 42a2a3b16926d4687731747bca5a2594 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70217 | {
"extension": "c-sharp",
"max_stars_count": "146.0",
"max_stars_repo_name": "phizch/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/winrt/roparameterizediid/Locator.Manual.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70218"
} | starcoder | <reponame>phizch/terrafx.interop.windows<filename>sources/Interop/Windows/winrt/roparameterizediid/Locator.Manual.cs
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from winrt/roparameterizediid.h in the Windows SDK for Win... | 1.671795 | 82f7875bba06801fa3c97c2479a47005 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70218 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "scott-baxter/sisense-api-client-csharp",
"max_stars_repo_path": "SisenseApiClient/Services/ElastiCubes/Models/RServerConnectivity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70219"
} | starcoder | namespace SisenseApiClient.Services.ElastiCubes.Models
{
public class RServerConnectivity
{
public bool Test { get; set; }
}
}
| 1.193082 | 09ee3ebcb5b0c92a10343585cc67094f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70219 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "diaconesq/RecurringDates",
"max_stars_repo_path": "RecurringDates.UnitTests/SetUnionRuleUT.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70220"
} | starcoder | using System;
using FluentAssertions;
using NSubstitute;
using NUnit.Framework;
namespace RecurringDates.UnitTests
{
public class SetUnionRuleUT<T> : ProjectedRuleTestFixture<T> where T : IRuleProcessor, new()
{
[TestCase(2015, 3, 31, true)]
[TestCase(2015, 3, 30, true)]
[TestCase(201... | 2.595287 | 3ea6b90b0664b3e9655ad3ff016b1564 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70220 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Gmai/ml-agents",
"max_stars_repo_path": "unity-environment/Assets/ML-Agents/GYM/Shooter/Scripts/Bullet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70221"
} | starcoder | <filename>unity-environment/Assets/ML-Agents/GYM/Shooter/Scripts/Bullet.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bullet : MonoBehaviour {
public ShooterAgent Shooter;
public float ExplosionRange;
public List<Target> TargetsToEliminate;
public bool Alive;
pr... | 2.638879 | 28f98ccc42374b94094d366561294d39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70221 | {
"extension": "c-sharp",
"max_stars_count": "298.0",
"max_stars_repo_name": "SimonCropp/bunit",
"max_stars_repo_path": "src/bunit.core/Rendering/UnknownEventHandlerIdException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70222"
} | starcoder | namespace Bunit.Rendering;
/// <summary>
/// Represents an exception that is thrown when the Blazor <see cref="Renderer"/>
/// does not have any event handler with the specified a given ID.
/// </summary>
[Serializable]
public sealed class UnknownEventHandlerIdException : Exception
{
/// <summary>
/// Initializes a ... | 2.607166 | 5cefcf943ee1f9ae92282383d29a9c5a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70222 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "juwikuang/csv2entity",
"max_stars_repo_path": "Core/Ezfx.Csv.Tester/CsvConfigurator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70223"
} | starcoder | <filename>Core/Ezfx.Csv.Tester/CsvConfigurator.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;
namespace Ezfx.Csv.Tester
{
public partial class CsvConfigurator : UserControl
{
private List<Type> c... | 2.567275 | ce1efc4805c1fbede4ec09347e771d1f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70223 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "awhewell/owin",
"max_stars_repo_path": "Owin.Interface.WebApi/UseFormatterAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70224"
} | starcoder | <filename>Owin.Interface.WebApi/UseFormatterAttribute.cs<gh_stars>0
// Copyright © 2019 onwards, <NAME>
// All rights reserved.
//
// Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
// * Redistributions o... | 2.324079 | 4032ce8932c271533630d100de78eb5a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70224 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hanabi1224/Bing.NetCore",
"max_stars_repo_path": "dbdesigner/Bing.DbDesigner.Service/Dtos/Databases/Extensions/Extensions.DatabaseSchemaDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70225"
} | starcoder | <gh_stars>1-10
using Bing;
using Bing.Extensions.AutoMapper;
using Bing.DbDesigner.Databases.Domain.Models;
using Bing.Utils.Extensions;
namespace Bing.DbDesigner.Service.Dtos.Databases.Extensions {
/// <summary>
/// 数据模式数据传输对象扩展
/// </summary>
public static class DatabaseSchemaDtoExtension {
... | 2.185929 | 0abcf8c19e4a95da4e4c860619a8ecd0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70225 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "thxu/TPublish",
"max_stars_repo_path": "TPublish/TPublish.Common/Model/SettingView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70226"
} | starcoder | using System;
using System.Collections.Generic;
namespace TPublish.Common.Model
{
[Serializable]
public class SettingView
{
public string MgeProcessFullName { get; set; }
public List<AppSerListMap> RemoteAppList { get; set; }
public List<ServiceGroup> ServiceGroups { get; set; }
... | 1.245006 | ba7d23c949dd998a589c1eb5779f1826 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70226 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "jefking/King.Azure.Imaging",
"max_stars_repo_path": "King.Azure.Imaging.Test/Unit/Entities/ImageEntityTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70227"
} | starcoder | <gh_stars>10-100
namespace King.Azure.Imaging.Unit.Test.Entities
{
using King.Azure.Imaging.Entities;
using NUnit.Framework;
using System;
[TestFixture]
public class ImageEntityTests
{
[Test]
public void Constructor()
{
new ImageEntity();
}
... | 2.429804 | 1539f80f3397edfaf846967f86dc8f29 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70227 | {
"extension": "c-sharp",
"max_stars_count": "62.0",
"max_stars_repo_name": "Dzmuh/webstack-by-daniel",
"max_stars_repo_path": "email/src/email.Tests/Delivery/DeliveryFolderObservableTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70228"
} | starcoder | using System;
using System.IO;
using System.Reactive.Subjects;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using ServiceStack.Text;
using email.Delivery;
namespace email.Tests.Delivery
{
[TestFixture]
public class DeliveryFolderObservableTests : MessageTests
{
priva... | 2.725731 | 0e5661e01117bd3ec07d4d9c88076068 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70228 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Game-Bubble/Run-Transformer",
"max_stars_repo_path": "Assets/Tabtale/TTPlugins/Core/Editor/TTPPostProcessSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70229"
} | starcoder | <filename>Assets/Tabtale/TTPlugins/Core/Editor/TTPPostProcessSettings.cs<gh_stars>0
#if UNITY_IOS
using UnityEngine;
using UnityEditor;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using UnityEditor.iOS.Xcode;
using UnityEditor.Callbacks;
using UnityEditor.iOS.Xcode.Extensions;
namespac... | 1.572782 | 9ed667de7ebce1b352945b8e3aa05ce3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70229 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "sucrose0413/fortnox.NET",
"max_stars_repo_path": "Fortnox.NET/Communication/Contract/ContractListRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70230"
} | starcoder | using FortnoxNET.Constants.Filter;
using FortnoxNET.Constants.Search;
using FortnoxNET.Constants.Sort;
using System.Collections.Generic;
namespace FortnoxNET.Communication.Contract
{
public class ContractListRequest : FortnoxApiListedResourceRequest
{
public ContractListRequest(string accessToken, str... | 1.711406 | f3a3d17f100855bc8a7d1a02d807be08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70230 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "kostyrin/PointNet",
"max_stars_repo_path": "PointNet.Model/Commands/Lot/CreateOrUpdateLotCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70231"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PointNet.CommandProcessor.Command;
namespace PointNet.Model.Commands
{
public class CreateOrUpdateLotCommand : ICommand
{
public virtual int LotId { get; set; }
public virt... | 1.710517 | 45966608faba543f15e112a6bee644d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70231 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "ITGlobal/MatplotlibCS",
"max_stars_repo_path": "Examples/Plot2D/ExampleArс.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70232"
} | starcoder | <reponame>ITGlobal/MatplotlibCS
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MatplotlibCS;
using MatplotlibCS.PlotItems;
namespace Examples.Plot2D
{
class ExampleArс : IExample
{
/// <summary>
/// Chart of sin
... | 2.683506 | 6aca9a7f61873a0187032dce1e06acd3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70232 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IntelOrca/uda",
"max_stars_repo_path": "src/uda/Intermediate/ConditionalJumpInstruction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70233"
} | starcoder | using System;
namespace uda.Intermediate
{
internal class ConditionalJumpInstruction : ChildlessInstructionNodeBase, IJumpInstruction
{
public InstructionType Type => InstructionType.ConditionalJump;
public IExpression Expression { get; }
public long Address { get; }
public Co... | 2.718236 | 0dc6a440681f758c03b94fcd3e8234ce |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.