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 | 91861 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sharkson/sharkbot",
"max_stars_repo_path": "SharkbotApi/ConversationSteerService/Services/VerticeService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91862"
} | starcoder | <filename>SharkbotApi/ConversationSteerService/Services/VerticeService.cs<gh_stars>1-10
using ChatModels;
using System.Collections.Generic;
using System.Linq;
namespace ConversationSteerService.Services
{
public class VerticeService
{
public List<string> getVertices(List<ConversationList> conversation... | 2.830076 | d2633e5dca238ce70024f003c6792de5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91862 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "jcoliz/dexih.transforms",
"max_stars_repo_path": "src/dexih.transforms/Parameter/ParameterArray.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91863"
} | starcoder | <filename>src/dexih.transforms/Parameter/ParameterArray.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using dexih.functions.Query;
using Dexih.Utils.DataType;
namespace dexih.functions.Parameter
{
[DataContract]
public class ParameterArray : Paramet... | 2.575285 | 6b814b50141f873b321c0457c06a71d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91863 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BorisLechev/Programming-Fundamentals",
"max_stars_repo_path": "4. Methods.Debugging/5.Methods.Debugging-Exercises/14.FactorialTrailingZeroes/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91864"
} | starcoder | namespace _14.FactorialTrailingZeroes
{
using System;
using System.Numerics;
public class FactorialTrailingZeroes
{
public static void Main()
{
BigInteger number = BigInteger.Parse(Console.ReadLine());
BigInteger factorial = FactorialValue(number);
... | 4.047981 | c1f46654d23edeb8762ea03ec5d4cb79 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91864 | {
"extension": "c-sharp",
"max_stars_count": "215.0",
"max_stars_repo_name": "SpocWeb/Obvs",
"max_stars_repo_path": "Obvs/Configuration/IServiceEndpointProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91865"
} | starcoder | <reponame>SpocWeb/Obvs
using Obvs.Types;
namespace Obvs.Configuration
{
public interface IServiceEndpointProvider : IServiceEndpointProvider<IMessage, ICommand, IEvent, IRequest, IResponse>
{
}
public interface IServiceEndpointProvider<TMessage, TCommand, TEvent, TRequest, TResponse>
where TM... | 2.192783 | 88d771f2fde97581cfa669352ca334aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91865 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "dkackman/rchia",
"max_stars_repo_path": "src/rchia/Services/ServiceGroups.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91866"
} | starcoder | <reponame>dkackman/rchia<filename>src/rchia/Services/ServiceGroups.cs
using System.Collections.Generic;
namespace rchia.Services;
internal static class ServiceGroups
{
static ServiceGroups()
{
Groups = new Dictionary<string, IEnumerable<string>>()
{
{ "all", "chia_harvester chia_... | 1.955587 | 4ed8eadc5ff01bbd7b22c4b1dbb63717 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91866 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Zukapin/bepuphysics2",
"max_stars_repo_path": "BepuPhysics/Constraints/LinearAxisServo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91867"
} | starcoder | using BepuPhysics.CollisionDetection;
using BepuUtilities;
using BepuUtilities.Memory;
using System;
using System.Diagnostics;
using System.Numerics;
using System.Runtime.CompilerServices;
using static BepuUtilities.GatherScatter;
namespace BepuPhysics.Constraints
{
/// <summary>
/// Constrains points on two b... | 2.312228 | 4851c3cf9b97a97dc14256e7a9db8814 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91867 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "JeremyTHolland/WheelMUD",
"max_stars_repo_path": "src/FTPServer/Ftp/CommandHandlers/ListCommandHandlerBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91868"
} | starcoder | <reponame>JeremyTHolland/WheelMUD
//-----------------------------------------------------------------------------
// <copyright file="ListCommandHandlerBase.cs" company="WheelMUD Development Team">
// Copyright (c) WheelMUD Development Team. See LICENSE.txt. This file is
// subject to the Microsoft Public Licens... | 2.495562 | 6ab7b901cfe9a73ef7bc7ba42258f615 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91868 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "inburst21/ConquerServer",
"max_stars_repo_path": "src/Comet.Game/Database/Models/DbItemtype.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91869"
} | starcoder | // //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (C) FTW! Masters
// Keep the headers and the patterns adopted by the project. If you changed anything in the file just insert
// your name below, but don't remove the names of who w... | 2.213612 | 4d84269d053c41f507586954f5eff1ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91869 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryanheath/ravendb",
"max_stars_repo_path": "src/Raven.Client/Documents/Subscriptions/SubscriptionOpeningStrategy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91870"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="SubscriptionOpeningStrategy.cs" company="<NAME> LTD">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Raven.Client... | 2.514144 | 4b546649257a9af4e0b5fdc228f0890b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91870 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Bhaskers-Blu-Org2/FetchClimate",
"max_stars_repo_path": "src/Libraries/DmitrovStorageContext/DataSetStorageHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91871"
} | starcoder | using Microsoft.Research.Science.Data;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Net;
namespace Microsoft.Research.Science.FetchClimate2
{
class DataStorageDefinition : IDataStorageDefinition
{
intern... | 2.291662 | d65ba2d9014e73bbae8d9a11319247a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91871 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "gimlichael/cuemoncore",
"max_stars_repo_path": "test/Cuemon.Extensions.Core.Tests/MappingExtensionsTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91872"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Cuemon.Extensions.Xunit;
using Xunit;
using Xunit.Abstractions;
namespace Cuemon.Extensions
{
public class MappingExtensionsTest : Test
{
public MappingExtensionsTest(ITestOutputHelper output) : base(output)
{
}
[Fact]... | 2.470854 | cc95068d4038d9b932e5d93b66ef169b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "felipecembranelli/kubernetes-csharp",
"max_stars_repo_path": "examples/web-ui/Models/NamespaceModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91873"
} | starcoder | <gh_stars>0
namespace web_ui.Models
{
public class NamespaceModel
{
public string Name { get; set; }
public bool DefaultNamespace { get; set; }
}
}
| 0.873779 | e02aaa22af653ae6955b5aee81a0b236 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91873 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FUUbi/ProtocolBuilder",
"max_stars_repo_path": "ProtocolBuilder/Protocol.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91874"
} | starcoder |
namespace CustomProtocol
{
public class Protocol
{
private readonly Server _server;
internal Protocol(Server server)
{
_server = server;
}
public void Start() => _server.Start();
public void Stop() => _server.Stop();
}
}
| 2.362969 | f61e40047ef2a32e945332e6a1252541 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91874 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Lunariz/Halite2",
"max_stars_repo_path": "Trainer/StrategyChoosers/StringStrategyChooser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91875"
} | starcoder | <reponame>Lunariz/Halite2
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Halite2.hlt;
using Halite2.Strategies;
namespace Halite2
{
public class StringStrategyChooser : StrategyChooser
{
public List<StrategyType> Strategie... | 3.002342 | fe0dc529cfaf52d5ae4c395d641ab1af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91875 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "THISISAGOODNAME/RdcFileRepack",
"max_stars_repo_path": "UIDBufferModifier.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91876"
} | starcoder | <filename>UIDBufferModifier.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace Rdc
{
/// <summary>
/// UID Drawcall 使用的buffer数据修改器
/// </summary>
public static unsafe class UIDBufferModi... | 2.660547 | 5457f7da80bf31aa81fd04860a0c0b91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91876 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "the-real-jushen/CityGee",
"max_stars_repo_path": "OldHouse/OldHouse.Web/Views/Shared/_PartialFollowList.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:91877"
} | starcoder | @using OldHouse.Web.Models
@model IEnumerable<OldHouse.Web.Models.UserDisplayDto>
@foreach (UserDisplayDto user in Model)
{
<div class="follow-card card @user.Id.ToString()">
<a href="@Url.RouteUrl("Profile", new { action = "HomePage", id = @user.Id.ToString() })">
<img src="/Content/Images/a... | 2.295396 | 0cadde9ce90b599bcf8a9f1ad969a56a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91877 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daniel-kuon/SMS",
"max_stars_repo_path": "SMS/src/SMS/Models/Tack.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91878"
} | starcoder | <gh_stars>0
namespace SMS.Models
{
public class Tack : TackBase
{
public int? TripId { get; set; }
}
} | 1.340823 | 219493d4f707428b50d9ca8a505b588b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91878 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vyara/Teleric-exams-practice-C-1",
"max_stars_repo_path": "Nightmare on Code Street/NightmarOnCodeStreet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91879"
} | starcoder |
using System;
class NightmarOnCodeStreet
{
static void Main()
{
string text = Console.ReadLine();
int digit =0;
long sum = 0;
long digits = 0;
for (int i = 1; i < text.Length; i+= 2)
{
bool isDigit = int.TryParse(text[i].ToString(), out digit);
... | 3.312927 | 1aba26b8e3d91936b8b9c55de7ff2011 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91879 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "ricksladkey/Dirichlet",
"max_stars_repo_path": "Decompose.Numerics/ArithmeticFunctions/MertensFunctionOdd.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91880"
} | starcoder | using System;
using System.Diagnostics;
using System.Numerics;
using System.Threading;
using System.Threading.Tasks;
namespace Decompose.Numerics
{
public class MertensFunctionOdd
{
private static BigInteger[] data10 = new BigInteger[]
{
BigInteger.Parse("1"),
BigIntege... | 2.76158 | 6bf5c39fb17aca8c87bd8d52c8a32cdc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91880 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Tannermanner2008/ManiacEditor-GenerationsEdition",
"max_stars_repo_path": "ManiacEditor/Entity Renders/Normal Renders/Generic/ParallaxSprite.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91881"
} | starcoder | <reponame>Tannermanner2008/ManiacEditor-GenerationsEdition
using System.IO;
using RSDKv5;
namespace ManiacEditor.Entity_Renders
{
public class ParallaxSprite : EntityRenderer
{
private string ParallaxSpritePath { get; set; } = "";
public override void Draw(Structures.EntityRenderProp propertie... | 2.016606 | 6f081286ea99cff38d48fd0895272d02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91881 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "EvaSRGitHub/NopCommerce-HomePageNewProductsPlugin",
"max_stars_repo_path": "src/Presentation/Nop.Web/Components/ForumActiveDiscussionsSmall.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91882"
} | starcoder | using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Nop.Web.Factories;
using Nop.Web.Framework.Components;
namespace Nop.Web.Components
{
public class ForumActiveDiscussionsSmallViewComponent : NopViewComponent
{
private readonly IForumModelFactory _forumModelFactory;
public ForumActiveD... | 2.14113 | a31051670549cee289433dc9388a43a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rikimaru0345/ReadableExpressions",
"max_stars_repo_path": "ReadableExpressions/Translations/MethodGroupTranslation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91883"
} | starcoder | namespace AgileObjects.ReadableExpressions.Translations
{
using System;
using System.Linq;
#if NET35
using Microsoft.Scripting.Ast;
using Extensions;
#else
using System.Linq.Expressions;
#endif
using System.Reflection;
using Interfaces;
internal class MethodGroupTranslation : ITranslat... | 2.485404 | f6b77c4bc475ddeb92300ee33712fded |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91883 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stevendeankennedy/FSU_DSAnimator",
"max_stars_repo_path": "Assets/Scripts/DataStructures/Stack&Queue/QueueButtons.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91884"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class QueueButtons : GeneralGUIButtons {
// this method takes the content of the inputField and pushes it to the stack
public void enQueue()
{
if (input.text != null && input.text != "")
{
string stringToInput = input.text;
QueueM... | 2.438345 | 1a02118ed177a66f78c210ec522c358c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91884 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vencislav-viktorov/VS-Console-App",
"max_stars_repo_path": "Tech Module Intensive/5.MethodDebugTroubleCodeExercises/02. Max Method/Max_Method.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91885"
} | starcoder | using System;
namespace _02.Max_Method
{
public class Max_Method
{
public static void Main()
{
int ab = GetMax(int.Parse(Console.ReadLine()),int.Parse(Console.ReadLine()));
int biggestNumber = GetMax(ab, int.Parse(Console.ReadLine()));
Console.WriteLine(bi... | 3.733145 | a539220ce082479d0dce4b9339db8f5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91885 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "dameeks/route4me-csharp-sdk",
"max_stars_repo_path": "Route4MeSDKTest/Examples/RouteExamples/AsyncMultipleDepotMultipleDriver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91886"
} | starcoder | using Route4MeSDK.DataTypes;
using Route4MeSDK.QueryTypes;
using System;
using System.Threading.Tasks;
namespace Route4MeSDK.Examples
{
public sealed partial class Route4MeExamples
{
public async Task<DataObject> AsyncMultipleDepotMultipleDriver()
{
// Create the manager with the a... | 2.438772 | 95d69f49cd1b6c9c362053ec94d17b7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91886 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArnaudovSt/LibrarySystem",
"max_stars_repo_path": "LibrarySystem/LibrarySystem.Web/Areas/Admin/Views/Crud/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:91887"
} | starcoder | @model LibrarySystem.Web.Areas.Admin.ViewModels.AddBookViewModel
@{
ViewBag.Title = "Add Book";
}
<h2 class="text-center">Add book</h2>
<div class="container text-center row">
@using (Html.BeginForm("Index", "Crud", FormMethod.Post,
new { enctype = "multipart/form-data",... | 2.266455 | e71cab3eefae4c8e8a6bb3148c5aa95f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91887 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "modelingevolution/plumberd",
"max_stars_repo_path": "ModelingEvolution.Plumberd.GrpcProxy/BlobDescriptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91888"
} | starcoder | <gh_stars>1-10
using System;
using ModelingEvolution.Plumberd.EventStore;
namespace ModelingEvolution.Plumberd.GrpcProxy
{
public readonly struct BlobDescriptor
{
public readonly BlobUploadReason BlobUploadReason { get; init; }
public readonly string FileName { get; init; }
public read... | 2.156382 | 173f5a1848a0cae17ece30ffab4a2786 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91888 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "deltoss/MitchRankChecker",
"max_stars_repo_path": "Solution/MitchRankChecker.Mvc/Views/RankCheckRequests/Create.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:91889"
} | starcoder | @using Microsoft.Extensions.Configuration
@inject IConfiguration Configuration
@{
ViewData["Title"] = "Request Rank Check";
}
<script>
function objectifyForm(formArray) {//serialize data function
var returnArray = {};
for (var i = 0; i < formArray.length; i++) {
returnArray[formA... | 2.335869 | 2004a7cb66914866a0b6e94dcdd73b22 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91889 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wen2204/TerminalMACS",
"max_stars_repo_path": "src/TerminalMACS.Manager/TerminalMACS.ManagerForWPF/AduSkin/Controls/Metro/AduNoExpander.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91890"
} | starcoder | using AduSkin.Utility.Element;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace AduSkin.Controls.Metro
{
public class AduNoExpander : Expander
{
public static readonly DependencyProperty TextHorizontalAlignmentProperty = ElementBase.Property<AduNoExpander, Hor... | 2.123039 | 3d7cd8117e4c2c2cb1f7a74c2b3e4332 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dalyIsaac/PIM_Mini_Tests_WPF",
"max_stars_repo_path": "PIM_Mini_Tests_WPF/LEDS/TestWatchdog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91891"
} | starcoder | using PIM_Mini_Tests_WPF.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PIM_Mini_Tests_WPF.LEDS
{
class TestWatchdog : HardwareTest
{
public TestWatchdog() : base("Watchdog")
{
}
public over... | 2.712415 | 040ae78b76bfb223ee40927a099f27ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91891 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "radrex/SoftuniCourses",
"max_stars_repo_path": "C# Web Developer/C# Web/C# Web Basics/Softuni Information Services/SIS/SulsApp/ViewModels/Home/LoggedInViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91892"
} | starcoder | <gh_stars>1-10
namespace SulsApp.ViewModels.Home
{
using System.Collections.Generic;
public class LoggedInViewModel
{
public IEnumerable<IndexProblemViewModel> Problems { get; set; }
}
}
| 1.219673 | 81e5f84356bb9be04bc8130f05422230 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91892 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "integrativesoft/magneto",
"max_stars_repo_path": "Magneto/Main/BrowserFixer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91893"
} | starcoder | <reponame>integrativesoft/magneto
/*
Copyright (c) 2019 Integrative Software LLC
Created: 5/2019
Author: <NAME>
*/
using Eto.Forms;
using System.Runtime.InteropServices;
namespace Integrative.Magneto
{
sealed class BrowserFixer
{
readonly WebView _browser;
public BrowserFixer(WebView view)
... | 1.909216 | d65294856f3e5facc76f788911ff5000 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91893 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EIDOSDATA/Awexome_Ray",
"max_stars_repo_path": "SerialCommunication_CS/REF DATA/ThisIsCSharp7-master/15/GroupBy/MainApp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91894"
} | starcoder | using System;
using System.Linq;
namespace GroupBy
{
class Profile
{
public string Name { get; set; }
public int Height { get; set; }
}
class MainApp
{
static void Main(string[] args)
{
Profile[] arrProfile =
{
new Profile()... | 3.393907 | 80255383a928051ab1f656ce1f8fb94f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91894 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "caifl/bpmtk",
"max_stars_repo_path": "src/Bpmtk.Engine/Bpmn2/Behaviors/StandardLoopActivityBehavior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91895"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Bpmtk.Bpmn2;
using Bpmtk.Engine.Runtime;
namespace Bpmtk.Engine.Bpmn2.Behaviors
{
class StandardLoopActivityBehavior : LoopActivityBehavior
{
private readonly StandardLoopCharacteristics loopCharacte... | 2.142896 | 552a7e0d94575892b531686981501a90 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91895 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "elastic/elasticsearch-net-abstractions",
"max_stars_repo_path": "src/Elastic.Elasticsearch.Xunit/ElasticXunitRunOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91896"
} | starcoder | <reponame>elastic/elasticsearch-net-abstractions<filename>src/Elastic.Elasticsearch.Xunit/ElasticXunitRunOptions.cs
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information... | 1.855361 | 6c6d3cd2e1b20e68ac0344c1f240c69f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91896 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Saier00/SmetaApp",
"max_stars_repo_path": "SmetaApp/ExcelParsing/ClosedXML.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91897"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ClosedXML.Excel;
namespace SmetaApp.ExcelParsing
{
//ClosedXML workbook interface and related interface realization
public class DOMWorkbook : IWorkbook
{
XLWorkbook w... | 2.797829 | 8ed2072a5419992b4686d707c1dc9f40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91897 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stratisproject/STOPlatform",
"max_stars_repo_path": "Stratis.STOPlatform/Core/Logging/SensitiveDataEnricher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91898"
} | starcoder | <gh_stars>1-10
using System.Linq;
using System.Text.RegularExpressions;
using Serilog.Core;
using Serilog.Events;
// ReSharper disable InlineOutVariableDeclaration
namespace Stratis.STOPlatform.Core.Logging
{
public class SensitiveDataEnricher : ILogEventEnricher
{
private const string Mask = "******"... | 2.32632 | 2f261a63a97be9095e6392c11ca8e895 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91898 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pMonfared/ECommerce",
"max_stars_repo_path": "src/ECommerce.Api.Search/Presentation/Services/Contracts/IProductsService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91899"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using ECommerce.Api.Search.Presentation.ServiceModels.ProductModels.ServiceResults;
namespace ECommerce.Api.Search.Presentation.Services.Contracts
{
public interface IProductsService
{
Task<IEnumerabl... | 1.324302 | eaa52bdd01ac79ca2e59c4729f07683b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91899 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MigBau2001/Trabajos-POO",
"max_stars_repo_path": "PasoParametros/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91900"
} | starcoder | <reponame>MigBau2001/Trabajos-POO
using System;
namespace PasoParametros
{
class ConvertidorAlCuadrado
{
public void Cuadrado(int num)
{
num = num*num;
Console.WriteLine("El número al cuadrado es: " + num);
}
public void Cuadrado_ref(ref int num)
{
num = num*num;
... | 3.470993 | b9df8cbd7dfe4a84f303a9198f0ba833 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91900 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nerai/Unlog",
"max_stars_repo_path": "src/Unlog/LogBlock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91901"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Unlog
{
/// <summary>
/// A local log block. Is stashed and kept by default.
/// </summary>
public class LogBlock : IDisposable
{
/// <summary>
/// Set to false to discard this block on dispose instead of writing ... | 2.784855 | b201984dc673b19a5f9d48bb57c606a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91901 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CzarinaMuro/SafeguardDotNet",
"max_stars_repo_path": "SafeguardDotNet/Authentication/AuthenticatorBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91902"
} | starcoder | <reponame>CzarinaMuro/SafeguardDotNet
using System;
using System.Linq;
using System.Net;
using System.Net.Security;
using System.Security;
using Newtonsoft.Json.Linq;
using RestSharp;
using Serilog;
namespace OneIdentity.SafeguardDotNet.Authentication
{
internal abstract class AuthenticatorBase : IAuthenticationM... | 2.376485 | df0c3f10b18443b598b4306bb24c3b5a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91902 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "extremecodetv/Vk.Api.Schema",
"max_stars_repo_path": "src/Vk.Api.Schema/Enums/Media/PhotoSizeType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91903"
} | starcoder |
namespace Vk.Api.Schema.Enums.Media
{
/// <summary>
/// Пропорции изображения
/// </summary>
public enum PhotoSizeType
{
/// <summary>
/// Пропорциональная копия изображения с максимальной стороной 75px
/// </summary>
S,
/// <summary>
/// Пропорциона... | 2.800814 | af28ca51e4c56a261e81de0d706bdbc9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91903 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "glzbcrt/nethpc",
"max_stars_repo_path": "src/netHPC.ManagementConsole/Dialogs/ConnectDialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91904"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace netHPC.ManagementConsole.Dialogs
{
public partial class ConnectDialog : Form
{
#... | 2.220404 | 35d66ed876cfd49920a7ec39083302cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91904 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "azuravian/PlayniteExtensionsCollection",
"max_stars_repo_path": "source/Generic/PlayState/Enums/SuspendModes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91905"
} | starcoder | namespace PlayState.Enums
{
public enum SuspendModes
{
Processes = 1,
Playtime = 2
}
}
| 1.689533 | f6eab4bacc7c20a769f03e74a8bb4c9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91905 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ivandrofly/corefx",
"max_stars_repo_path": "src/System.Threading.Overlapped/tests/HandleFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91906"
} | 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.Runtime.InteropServices;
internal static partial class HandleFactory
{
public static... | 2.445029 | da92a102d063347786a9546ba892282b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91906 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sarofc/Tetris",
"max_stars_repo_path": "Assets/Scripts/Gameplay/Ecs/GameDef/GameContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91907"
} | starcoder | <gh_stars>0
using Leopotam.Ecs;
using Leopotam.Ecs.Extension;
using System.Collections.Generic;
using UnityEngine;
namespace Tetris
{
public class GameContext
{
// board grid
public EcsEntity[][] grid;
// game state
public bool gamming;
public float gameTime;
... | 1.796253 | 0adc61778ad10586d43910626f202385 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91907 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "FatihSahin/test-flask",
"max_stars_repo_path": "TestFlask.Assistant.Core/WebApi/TestFlaskMessageHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91908"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using TestFlask.Aspects.ApiClient;
using TestFlask.Aspects.Context;
using TestFlask.Aspects.Enums;
using TestFlask.Assist... | 2.07285 | b6043659add11fc5d35e65136fe3b4c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91908 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Karolis2011/CCore.Net",
"max_stars_repo_path": "CCore.Net/Managed/JsManagedFunction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91909"
} | starcoder | <reponame>Karolis2011/CCore.Net<gh_stars>1-10
using CCore.Net.JsRt;
using CCore.Net.Runtimes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
namespace CCore.Net.Managed
{
public class JsManagedFunction : JsManage... | 2.34212 | bdbdd8c579fde7a7e3f64a29f843c729 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91909 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "SammyEnigma/MsmqPatterns",
"max_stars_repo_path": "Busterwood.Msmq/CursorHandle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91910"
} | starcoder | using Microsoft.Win32.SafeHandles;
namespace BusterWood.Msmq
{
internal class CursorHandle : SafeHandleZeroOrMinusOneIsInvalid
{
public static readonly CursorHandle None = new InvalidCursorHandle();
protected CursorHandle(): base (true)
{
}
protected override bool Rel... | 2.136236 | 8cd8ce4b95d10a6dd997be1cd0e9c20e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91910 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alpdogan1/GGJ19_Roof",
"max_stars_repo_path": "Assets/Plugins/DarkTonic/MasterAudio/Scripts/Settings/SongMetadata/SongMetadataProperty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91911"
} | starcoder | /*! \cond PRIVATE */
using System;
// ReSharper disable once CheckNamespace
namespace DarkTonic.MasterAudio {
[Serializable]
// ReSharper disable once CheckNamespace
public class SongMetadataProperty {
public enum MetadataPropertyType {
Boolean,
String,
Inte... | 2.343412 | 063e50acf0d1266bf2e5ebf11603fc2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91911 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gabrielcalegari/pushfive",
"max_stars_repo_path": "src/Services/Catalog/PushFive.Catalog.Data/Microsoft.Extensions.DependencyInjection/CatalogDataServiceCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91912"
} | starcoder | <filename>src/Services/Catalog/PushFive.Catalog.Data/Microsoft.Extensions.DependencyInjection/CatalogDataServiceCollectionExtensions.cs
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using PushFive.Catalog.Data.Repository;
using PushFive.Catalog.Domain.Repository;
using System;
n... | 2.138941 | 7d3ac988a4f057140bd0aa459409e7e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91912 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RichTeaMan/CommandLineParser",
"max_stars_repo_path": "CommandLineParser/MethodInvoker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91913"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace RichTea.CommandLineParser
{
public class MethodInvoker
{
public Method Method { get; private set; }
public object[] Parameters { ... | 3.116211 | 9bc35bc7737b3f64e4daa73782257565 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91913 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kottamam/Crystal",
"max_stars_repo_path": "infoSoft.Crystal.Data/CustomerDAL.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91914"
} | starcoder | <filename>infoSoft.Crystal.Data/CustomerDAL.cs
#region Copyright
// ©Copyright 2017, tv Software Private Limited, All rights reserved.
#endregion
#region Code history
// Created On : 25.11.2017
// Created By : Noble
// Description : Data class for customer details
// -------------------------------------------... | 2.452693 | 924ecae7e107e1492174c3fddb2d22e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91914 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "loreggia/micser",
"max_stars_repo_path": "src/Micser.App.Infrastructure/Api/StatusApiClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91915"
} | starcoder | using Micser.Common;
using Micser.Common.Api;
using Micser.Common.Extensions;
using System.Threading.Tasks;
namespace Micser.App.Infrastructure.Api
{
/// <summary>
/// API service client that allows checking if the service API is available.
/// </summary>
public class StatusApiClient
{
pri... | 2.509479 | fd39efa98f3f7b1d8c40580d049ef1ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91915 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "paynecrl97/Utils",
"max_stars_repo_path": "IDeliverable.Utils.Core/Handlers/DelegateHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91916"
} | starcoder | <filename>IDeliverable.Utils.Core/Handlers/DelegateHandler.cs
using System;
using System.Threading.Tasks;
namespace IDeliverable.Utils.Core.Handlers
{
public class DelegateHandler<TMessage> : IHandler<TMessage>
{
public DelegateHandler(Action<TMessage> handler)
{
mHandler = message ... | 2.98102 | d70df2e7e634f27da15cb42c2791afc5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91916 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dinokin/NaniWeb",
"max_stars_repo_path": "NaniWeb/Data/Migrations/20190105055613_Initial.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91917"
} | starcoder | <reponame>Dinokin/NaniWeb
using System;
using Microsoft.EntityFrameworkCore.Migrations;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace NaniWeb.Data.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... | 1.818189 | 5fc9fa240e4aeb42f5d1a489b9fbe68b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91917 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "carrie901/2DTileMapLevelEditor",
"max_stars_repo_path": "Assets/GracesGames/2DTileMapLevelEditor/Scripts/Functionalities/UndoRedoFunctionality.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91918"
} | starcoder | using UnityEngine;
using GracesGames.Common.Scripts;
namespace GracesGames._2DTileMapLevelEditor.Scripts.Functionalities {
public class UndoRedoFunctionality : MonoBehaviour {
// ----- PRIVATE VARIABLES -----
// The level editor
private LevelEditor _levelEditor;
// Stacks to keep track for undo and redo... | 2.662184 | a1754cdbcb1553f59c0fde098c847a6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91918 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "boschresearch/assets2036net",
"max_stars_repo_path": "assets2036net.unittests/SimpleOperation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91919"
} | starcoder | // Copyright (c) 2021 - for information on the respective copyright owner
// see the NOTICE file and/or the repository github.com/boschresearch/assets2036net.
//
// SPDX-License-Identifier: Apache-2.0
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using... | 2.353575 | 94a450393b1ed28112f69f82a19eab3a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91919 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tnakamura/IssueHub",
"max_stars_repo_path": "src/IssueHub/Utils/AppTheme.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91920"
} | starcoder | using System;
using Xamarin.Forms;
namespace IssueHub
{
public static class AppTheme
{
public static readonly Color NavigationBarBackgroundColor = Color.FromHex("24292e");
public static readonly Color NavigationBarTextColor = Color.White;
}
}
| 1.697357 | 1f1daaf59f57092048de58bf97506fb2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91920 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fluffy-bunny/queue-workflow",
"max_stars_repo_path": "ReceiverQueue/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91921"
} | starcoder | using Azure.Identity;
using Azure.Storage.Queues;
using Azure.Storage.Queues.Models;
using Contracts;
using dotnetcore.keyvault.fetch;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;... | 2.404703 | 7b034ca90b4dbe7fef75d1b35bbdf872 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91921 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "QPC-database/aws-tools-for-powershell",
"max_stars_repo_path": "modules/AWSPowerShell/Cmdlets/DataSync/Basic/New-DSYNTask-Cmdlet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91922"
} | starcoder | /*******************************************************************************
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License... | 1.969706 | 4e714a129a5080b94473a2a8e194b462 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91922 | {
"extension": "c-sharp",
"max_stars_count": "697.0",
"max_stars_repo_name": "rpahli/spring-net",
"max_stars_repo_path": "src/Spring/Spring.Messaging/Messaging/Listener/AbstractListenerContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91923"
} | starcoder | <gh_stars>100-1000
#region License
/*
* Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/lic... | 2.204315 | b5c98bd297853990d0c4fdafd7b0b268 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91923 | {
"extension": "c-sharp",
"max_stars_count": "236.0",
"max_stars_repo_name": "ZAMELPL/Wirehome.Core",
"max_stars_repo_path": "Wirehome.Core/Cloud/Protocol/Content/HttpResponseCloudMessageContent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91924"
} | starcoder | using MessagePack;
using System.Collections.Generic;
namespace Wirehome.Core.Cloud.Protocol.Content
{
[MessagePackObject]
public class HttpResponseCloudMessageContent
{
[Key(0)]
public int StatusCode { get; set; }
[Key(1)]
public Dictionary<string, string> He... | 1.656917 | d69ac1c3f9080d077746d29587349539 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91924 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tlayson/MySC",
"max_stars_repo_path": "MyUSC/MyAccount/MyAccount.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91925"
} | starcoder | <reponame>tlayson/MySC
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MyUSC.Classes;
namespace MyUSC.MyAccount
{
public partial class MyAccount : USCPageBase
{
protected MyAccount()
{
_PAGENAME = "Account";
_... | 2.103499 | 57f5a27e172287d257f30679d32238e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91925 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vasont-systems/Vasont.Inspire.Models",
"max_stars_repo_path": "src/Transfers/ProcessHistoricRelationsResultModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91926"
} | starcoder | //-------------------------------------------------------------
// <copyright file="ProcessHistoricRelationsResultModel.cs" company="GlobalLink Vasont">
// Copyright (c) GlobalLink Vasont. All rights reserved.
// </copyright>
//-------------------------------------------------------------
namespace Vasont.Inspire.Mode... | 2.392914 | b6e044f072c06519572bbdd22a114238 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91926 | {
"extension": "c-sharp",
"max_stars_count": "79.0",
"max_stars_repo_name": "OrleansContrib/Orleans.Activities",
"max_stars_repo_path": "src/Orleans.Activities/Designers/ReceiveResponseGenericDesigner.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91927"
} | starcoder |
namespace Orleans.Activities.Designers
{
public partial class ReceiveResponseGenericDesigner
{
public ReceiveResponseGenericDesigner()
{
InitializeComponent();
}
}
}
| 1.153652 | 6d6e7fc1e55038889355d6c084440917 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91927 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "kuenzign/dotnet-packaging",
"max_stars_repo_path": "Packaging.Targets/Rpm/RpmFileColor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91928"
} | starcoder | using System;
namespace Packaging.Targets.Rpm
{
/// <summary>
/// Determines the type of the file.
/// </summary>
[Flags]
internal enum RpmFileColor
{
RPMFC_BLACK = 0,
RPMFC_ELF32 = 1 << 0,
RPMFC_ELF64 = 1 << 1,
RPMFC_ELFMIPSN32 = 1 << 2,
RPMFC_PKGCONFIG... | 1.613058 | 29c86999d295b5ebc4d606a1d2b47033 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91928 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "jrockwood/Desalt",
"max_stars_repo_path": "test/Desalt.Core.Tests/SymbolTables/AlternateSignatureSymbolTableTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91929"
} | starcoder | <reponame>jrockwood/Desalt
// ---------------------------------------------------------------------------------------------------------------------
// <copyright file="AlternateSignatureSymbolTableTests.cs" company="<NAME>">
// Copyright (c) <NAME>. All Rights Reserved. Licensed under the Apache License, Version 2.0... | 2.094415 | 452a9fe3daddb4341aca67685f7b6228 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91929 | {
"extension": "c-sharp",
"max_stars_count": "62.0",
"max_stars_repo_name": "adospace/litedbpad",
"max_stars_repo_path": "LiteDB5Pad6/ConnectionProperties.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91930"
} | starcoder | using LINQPad.Extensibility.DataContext;
using LiteDB;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace LiteDBPad
{
public class ConnectionProperties
{
IConnectionInfo _cxInfo;
... | 2.501597 | bfc9a67dea600a739184350919e3dd53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91930 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "telomerticcontrol/aqua",
"max_stars_repo_path": "Aqua/Model/Collections/DiagnosisLibraryItemCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91931"
} | starcoder | <reponame>telomerticcontrol/aqua
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;
namespace Infragistics.Guidance.Aqua.Model.Collections
{
public class DiagnosisLibraryItemCollection: ObservableCollection<DiagnosisLibraryItem>
{
... | 1.777398 | 3a2cb4a9d254e305750f54b66251df6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91931 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "adoconnection/AspNetDeploy",
"max_stars_repo_path": "Packagers.VisualStudioProject/DotNetCoreProjectPackager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91932"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using Ionic.Zip;
namespace Packagers.VisualStudioProject
{
public class DotNetCoreProjectPackager : VisualStudioProjectPackager
{
protected override void PackageProjectContents(ZipFile zipFile, XDocument xDocument, XNamespace vsN... | 2.370849 | 8531d54ba98167e3cddb88ac5c137eda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91932 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "malytomas/VtsCars",
"max_stars_repo_path": "Assets/Game/Coin/CoinController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91933"
} | starcoder | <gh_stars>1-10
using UnityEngine;
public class CoinController : MonoBehaviour
{
private GameObject player;
void Start()
{
player = GameObject.FindGameObjectWithTag("Player");
transform.rotation = Quaternion.Euler(-90, Random.Range(0, 360), 0);
}
void Update()
{
if ((tr... | 2.114827 | 778224c4d7f525560441ca78bb78cc47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91933 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "iotoi-project/winiot-app",
"max_stars_repo_path": "IOTOIApp/Views/SettingBasicPreferences.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91934"
} | starcoder | using IOTOIApp.Helpers;
using IOTOIApp.ViewModels;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.Services.Cortana;
using... | 2.100162 | a0d8d7e35b1d88deffa3fd0b1cd3dedc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91934 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lshsuper/rabbitmq-helper",
"max_stars_repo_path": "src/rabbitmq.helper/rabbitmq.helper/tools/RabbitMQFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91935"
} | starcoder | using rabbitmq.helper.tools.option;
using RabbitMQ.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace rabbitmq.helper.tools
{
public class RabbitMQFactory
{
/// <summary>
/// 创建连接
/// </summary>
... | 2.151194 | b0ffdab2abafd879ceaa215bc5104ccd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91935 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IRadoherty/CI-CD",
"max_stars_repo_path": "source/InRule.CICD.Helpers/SendGridHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91936"
} | starcoder | using SendGrid;
using SendGrid.Helpers.Mail;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace InRule.CICD.Helpers
{
public class SendGridHelper
{
private static readonly string moniker = "Email";
//static string SendFromEmail = Settings... | 2.152465 | 3b8d9e7a6b953f8f1a21a0e6b09b172e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91936 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "sjoerdvankreel/xt-audio",
"max_stars_repo_path": "src/net/sample/RenderAdvanced.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91937"
} | starcoder | using System;
using System.Threading;
namespace Xt
{
public class RenderAdvanced
{
static float _phase = 0.0f;
const float Frequency = 440.0f;
static readonly XtMix Mix = new XtMix(44100, XtSample.Float32);
static float NextSample()
{
_phase += ... | 2.386078 | 487718e4422dc01fc11337ee88985926 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91937 | {
"extension": "c-sharp",
"max_stars_count": "114.0",
"max_stars_repo_name": "Johnanater/openmod",
"max_stars_repo_path": "unturned/OpenMod.Unturned/RocketMod/Economy/Patches/UconomyGetBalancePatch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91938"
} | starcoder | <filename>unturned/OpenMod.Unturned/RocketMod/Economy/Patches/UconomyGetBalancePatch.cs
namespace OpenMod.Unturned.RocketMod.Economy.Patches
{
internal static class UconomyGetBalancePatch
{
public delegate void PreGetBalance(string id, ref decimal balance);
public static event PreGetBalance? On... | 2.291365 | 0173f7a9e34cf58d6e35b71ed700e1ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91938 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OHGames/Mechanical",
"max_stars_repo_path": "Mechanical/Misc/Extensions/DictionaryExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91939"
} | starcoder | /*
*
* This file is part of the Mechanical Game Engine and is licensed under the MIT license.
* https://github.com/OHGames/Mechanical
*
* By <NAME>
*
* Note: some files contain code from other sources so see https://github.com/OHGames/Mechanical/blob/main/Use%20Code%20Licenses.md for more info.
*/
using S... | 3.289267 | 4589990d6c793b8f9ca927b31f070331 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91939 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "adamstyl/sharp-convert",
"max_stars_repo_path": "SharpConvert/LengthUnit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91940"
} | starcoder | <gh_stars>1-10
using System;
namespace MmiSoft.Core.Math.Units
{
[Serializable]
public abstract class LengthUnit : UnitBase, IComparable<LengthUnit>
{
public static readonly LengthUnit Zero = 0.Meters();
protected LengthUnit(double length, Conversion conversion)
: base (length, conversion)
{
if (lengt... | 3.018446 | 2645a4dae8e4a24f01e39dbc4b9dd4cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91940 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GinterP/azure-iot-protocol-gateway",
"max_stars_repo_path": "src/ProtocolGateway.Core/Http/MessageBody.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91941"
} | starcoder | <reponame>GinterP/azure-iot-protocol-gateway
namespace Microsoft.Azure.Devices.ProtocolGateway.Http
{
sealed class MessageBody
{
public MessageBody(string message)
{
this.Message = message;
}
public string Message { get; }
public string ToJsonFormat() => "{... | 2.255813 | 6554d1b0d5eb9eabe6f84667b8f44b7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91941 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeSwifterGit/adwenture-works",
"max_stars_repo_path": "src/AdventureWorks.Web.Api/Controllers/Api/Production/ProductCategoriesController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91942"
} | starcoder | using System;
using System.Threading;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using System.Net;
using Microsoft.AspNetCore.Authorization;
using AdventureWorks.Application.DataEngine.DataEngine;
using AdventureWorks.Common.Security;
using AdventureWorks.Application... | 2.204496 | 6b84bc1e784e2833abaee6b30d4efebf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91942 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vividos/Svg.Skia.Forms",
"max_stars_repo_path": "samples/Svg.Skia.Forms.Sample/SamplePage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91943"
} | starcoder | <gh_stars>0
using Xamarin.Forms;
namespace Svg.Skia.Forms.Sample
{
/// <summary>
/// Xamarin.Forms page to show sample images
/// </summary>
public partial class SamplePage : ContentPage
{
/// <summary>
/// Creates a new sample page
/// </summary>
public SamplePage(... | 2.068774 | e6d837a8a99b0132591a2ff0944c5b9a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91943 | {
"extension": "c-sharp",
"max_stars_count": "361.0",
"max_stars_repo_name": "Jopie64/WampSharp",
"max_stars_repo_path": "src/net45/WampSharp/WAMP2/V2/MetaApi/ManualSubscriber.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91944"
} | starcoder | using System;
using System.Linq.Expressions;
using System.Reflection;
using WampSharp.Core.Utilities;
using WampSharp.V2.PubSub;
namespace WampSharp.V2.MetaApi
{
internal class ManualSubscriber<TSubscriber>
{
protected static string GetTopicUri(Expression<Action<TSubscriber>> expression)
{
... | 1.890189 | ad38c1315f8cd4d56842253ba54f9f44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91944 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alexshakurin/timetracking",
"max_stars_repo_path": "TimeTracking.Export/ITimeService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91945"
} | starcoder | using System;
namespace TimeTracking.Export
{
public interface ITimeService
{
void SaveTime(TimeSpan currentTime, DateTime date);
TimeSpan? LoadTime(DateTime date);
}
} | 2.016007 | 5b97234c07066953e70b8109efe1e831 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91945 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xenosl/ShuHai",
"max_stars_repo_path": "Source/ShuHai.Core/EqualityComparers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91946"
} | starcoder | <filename>Source/ShuHai.Core/EqualityComparers.cs
using System.Collections;
using System.Collections.Generic;
namespace ShuHai
{
public class FloatAlmostEqualComparer : IEqualityComparer<float>
{
public static FloatAlmostEqualComparer Default { get; } = new FloatAlmostEqualComparer();
public f... | 3.220638 | a4b1d3c991b8e8051369e6dbb1def493 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "askazakov/mongo-csharp-declarative-indexes",
"max_stars_repo_path": "mongo-declarative-indexes/IndexEnsurer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91947"
} | starcoder | using System.Collections.Generic;
using System.Linq;
namespace MongoDB.DeclarativeIndexes
{
public class IndexEnsurer
{
private readonly IDatabase _database;
private static readonly IndexIgnoringNameEqualityComparer IndexIgnoringNameEqualityComparer =
new IndexIgnoringNameEquality... | 2.665899 | 429debdc490e2db12ab5d142101ea1bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91947 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ronnysuero/InventoryApp",
"max_stars_repo_path": "backend/Inventory.Service/TransactionTypeService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91948"
} | starcoder | <filename>backend/Inventory.Service/TransactionTypeService.cs
using System.Collections;
using System.Linq;
using Inventory.EntityFrameworkCore;
using UtilsCore.Filter.Json;
using UtilsCore.Pagination;
using UtilsCore.Pagination.Interfaces;
using UtilsCore.Sort;
namespace Inventory.Service
{
public class Transactio... | 2.232747 | 7fb97ad7e6c9f906372fd080f800c11b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91948 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saint-angels/GymRaider",
"max_stars_repo_path": "Assets/Scripts/Board.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91949"
} | starcoder | <reponame>saint-angels/GymRaider
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Board : SingletonComponent<Board>
{
public Vector2[,] BoardMap { get; private set; }
void Start()
{
BoardMap = new Vector2[9, 9];
//Generate aim map
float... | 2.336254 | dfb7afb0bfe9606fb47410e33268d0d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91949 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GregaMohorko/GM.Tools",
"max_stars_repo_path": "src/GM.Tools/GM.Tools/Google/API/Maps/Address.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91950"
} | starcoder | /*
MIT License
Copyright (c) 2018 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distri... | 2.371722 | e3ff558ead9d67710af2d5af782f9ba3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91950 | {
"extension": "c-sharp",
"max_stars_count": "453.0",
"max_stars_repo_name": "Hansong-0618/2DPriateBomb",
"max_stars_repo_path": "Library/PackageCache/com.xeleh.enhancer@78e062bf54/Editor/Base/Extensions/EditorWindow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91951"
} | starcoder | <gh_stars>100-1000
using System;
using System.Reflection;
using UnityEditor;
using UnityEngine;
namespace XT.Base {
internal static partial class Extensions {
class EditorWindowR : EditorType {
static Type type = typeof(EditorWindow);
#if !UNITY_2020_1_OR_NEWER
public static PropertyInfo dockedProperty = type.GetNo... | 1.640775 | 8b3c42c7fcea859205a6dd6c68ca7db5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91951 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "ChuanGoing/Start",
"max_stars_repo_path": "ChuanGoing.Base/Features/TableAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91952"
} | starcoder | using System;
namespace ChuanGoing.Base.Features
{
[AttributeUsage(AttributeTargets.Class)]
public sealed class TableAttribute : Attribute
{
public string Name { get; private set; }
public TableAttribute(string name)
{
Name = name;
}
}
}
| 2.305419 | d21b84d622d5271c1d028b8e1188d694 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91952 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "atiksoftware/cronjobs",
"max_stars_repo_path": "Cronjobs/Cron.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91953"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cronjobs
{
public class Cron
{
public int Id { get; set; }
public string FilePath { get; set; }
public DateTime LastRunDate { get; set; }
publ... | 2.158288 | ca371595aa9a6fa1596e2abfbe4282d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91953 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mathieumack/Linq2CouchBaseLiteExpression",
"max_stars_repo_path": "src/Linq2CouchBaseLiteExpression.Tests/LinqFunctions/LinqContainsUnitTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91954"
} | starcoder | <filename>src/Linq2CouchBaseLiteExpression.Tests/LinqFunctions/LinqContainsUnitTests.cs
using System.Collections.Generic;
using Linq2CouchBaseLiteExpression.Tests.Domain;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Linq2CouchBaseLiteExpression.Tests.LinqFunctions
{
[TestClass]
public class Li... | 2.80187 | 60df8507935cfb75ccb4d69915306d87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91954 | {
"extension": "c-sharp",
"max_stars_count": "263.0",
"max_stars_repo_name": "gordonjohnpatrick/XobotOS",
"max_stars_repo_path": "android/generated/android/text/style/MetricAffectingSpan.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91955"
} | starcoder | using Sharpen;
namespace android.text.style
{
[Sharpen.Stub]
public abstract class MetricAffectingSpan : android.text.style.CharacterStyle, android.text.style.UpdateLayout
{
[Sharpen.Stub]
public abstract void updateMeasureState(android.text.TextPaint p);
[Sharpen.Stub]
[Sharpen.OverridesMethod(@"android.t... | 2.009959 | 059473c3b9f66f8c0602392441157855 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91955 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "little-apps/NtfsSharp",
"max_stars_repo_path": "NtfsSharp.Drivers/Vhd/Data/DataBlock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91956"
} | starcoder | using System;
using System.Collections;
using System.IO;
using NtfsSharp.Drivers.Vhd.ImageTypes;
namespace NtfsSharp.Drivers.Vhd.Data
{
public class DataBlock
{
private readonly uint _fileLocation;
private readonly DynamicImage _dynamicImage;
public BitArray Bitmap { get; }
pu... | 2.920633 | 59a8928449d2304227d1d9aaa32ca5ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91956 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SatansRobot/CompactJson",
"max_stars_repo_path": "src/CompactJson.Tests/JsonValueEqualityTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91957"
} | starcoder | using NUnit.Framework;
namespace CompactJson.Tests
{
[TestFixture]
public class JsonValueEqualityTests
{
[TestCase("{ \"prop1\" : 500, \"prop2\": 399}", "{ \"prop1\" : 500, \"prop2\": 399}")]
[TestCase("true", "true")]
[TestCase("null", "null ")]
[TestCase(" [1,6.... | 2.917952 | 032108e5a1852b48d263ce458e0b0e9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91957 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NeoChokolo/Ayo-Metric-Converter",
"max_stars_repo_path": "MetricConverter.Ulitilities/Swagger/ApiVersionOperationFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91958"
} | starcoder | <reponame>NeoChokolo/Ayo-Metric-Converter
using Microsoft.OpenApi.Models;
using Swashbuckle.AspNetCore.SwaggerGen;
using System;
using System.Collections.Generic;
using System.Text;
namespace MetricConverter.Ulitilities.Swagger
{
public class ApiVersionOperationFilter : IOperationFilter
{
public void ... | 1.494119 | c42163b798d2045f44b3bee8d07bf9ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91958 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "306300669/RightControl.MSSQL",
"max_stars_repo_path": "RightControl.Repository/WorkLogRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91959"
} | starcoder | using Dapper;
using RightControl.IRepository;
using RightControl.Model;
using System.Linq;
namespace RightControl.Repository
{
public class WorkLogRepository : BaseRepository<WorkLogModel>, IWorkLogRepository
{
public WorkLogModel GetDetail(int Id)
{
using (var conn = SqlHelper.Sql... | 2.257529 | 58dc96f83625e15ca0b67dfb8cd0441c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91959 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "matthiasqu/BeatSaver",
"max_stars_repo_path": "Unity/Assets/Scripts/Game/EnvironmentLoader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91960"
} | starcoder | using UnityEngine;
using UnityEngine.SceneManagement;
namespace Game
{
public class EnvironmentLoader : MonoBehaviour
{
[SerializeField] private string environmentSceneName;
private void Start()
{
SceneManager.LoadSceneAsync(environmentSceneName, LoadSceneMode.Additive);
... | 2.027556 | 30ca01a91251f65f30fef99ccf5a692c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91960 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pkanev/CarsManager",
"max_stars_repo_path": "src/Application/Issues/Queries/GetAllIssues/LiabilityIssuesCounts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91961"
} | starcoder | namespace CarsManager.Application.Issues.Queries.GetAllIssues
{
public class LiabilityIssuesCounts
{
public int MotWarnings { get; set; }
public int MotAlerts { get; set; }
public int CivilLiabilityWarnings { get; set; }
public int CivilLiabilityAlerts { get; set; }
publ... | 1.50562 | 404b3a9417bc729b368b5d66f2b4f21a |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.