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 | 3837 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "theazgra/CellularGeneticAlgorithm",
"max_stars_repo_path": "src/cs/cellular-ga/RandomGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3838"
} | starcoder | <reponame>theazgra/CellularGeneticAlgorithm<filename>src/cs/cellular-ga/RandomGenerator.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace cellular_ga
{
class RandomSelection
{
private Random _random = new Random(D... | 3.181555 | a60775841a4b52dfd96544cc294832b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3838 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PieEatingNinjas/Comet",
"max_stars_repo_path": "sample/Comet.Samples/Skia/SkiaControlSample.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3839"
} | starcoder | using FluentButton = Comet.Skia.Fluent.Button;
namespace Comet.Samples.Skia
{
public class SkiaControlSample : View
{
readonly State<int> count = 0;
[Body]
View body() => new VStack
{
new Button(() => $"Hello form the platform {count.Value}", () => ++count.Value),
... | 2.350889 | 088609d20e1393c2434a87ef780a4536 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3839 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OleksandrKulchytskyi/DBSetupTool",
"max_stars_repo_path": "DBSetup.Common/Services/NoUIExecutor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3840"
} | starcoder | <filename>DBSetup.Common/Services/NoUIExecutor.cs<gh_stars>1-10
using DBSetup.Common.Helpers;
using DBSetup.Common.ModelBuilder;
using DBSetup.Common.Models;
using DBSetup.Common.Statements;
using DBSetup.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Comp... | 1.876131 | 2f5accafcc5f02ee8b8ef754af3e63eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3840 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jlgaffney/neo-sharp",
"max_stars_repo_path": "src/NeoSharp.Core/Models/Validator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3841"
} | starcoder | using System;
using NeoSharp.BinarySerialization;
using NeoSharp.Core.Cryptography;
using NeoSharp.Types;
using Newtonsoft.Json;
namespace NeoSharp.Core.Models
{
[Serializable]
public class Validator
{
[BinaryProperty(1)]
[JsonProperty("publickey")]
public ECPoint PublicKey;
... | 1.936976 | 18a9305110bcb49d4896e451b0ca4b47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3841 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "1170300302/IEC-Project",
"max_stars_repo_path": "Assets/Scripts/AimController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3842"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AimController : MonoBehaviour
{
public static AimController Instance { get; private set; }
public long CurrentTargetInstance
{
get; private set;
}
[SerializeField]
Unit target = null;
long l... | 2.085553 | 5bb443b6096a08f1cd878835d3b917e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3842 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bright0/space-station-14",
"max_stars_repo_path": "Content.Client/Botany/PlantHolderVisualizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3843"
} | starcoder | <filename>Content.Client/Botany/PlantHolderVisualizer.cs
using Content.Shared.Botany;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Shared.GameObjects;
using Robust.Shared.Utility;
namespace Content.Client.Botany
{
[UsedImplicitly]
public class PlantHolderVisualizer : AppearanceVis... | 2.473594 | 14472c158a88c511634ad44a727e05cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3843 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "pedroparmeggianiB2B/admin-ui",
"max_stars_repo_path": "src/IdentityUI.Admin/Areas/IdentityAdmin/Views/User/New.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:3844"
} | starcoder | @model SSRD.IdentityUI.Admin.Areas.IdentityAdmin.Models.User.NewUserViewModel
@{
SidebarSelection.SelectedOption = SidebarOptions.User;
}
@{
ViewData["Title"] = "Users";
}
@section script{
@if (Model != null && Model.StatusAlert != null)
{
<script>
$(document).ready(function () {... | 1.949773 | af92b4f7195bb8e8e1b3dda3aad150d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3844 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "forki/IdentityServer3.Postgres",
"max_stars_repo_path": "src/IdentityServer3.Postgres/NpgsqlClientStore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3845"
} | starcoder | namespace IdentityServer3.Postgres
{
using System;
using System.Threading.Tasks;
using IdentityServer3.Postgres.Converters;
using Newtonsoft.Json;
using Npgsql;
using IdentityServer3.Core.Models;
using IdentityServer3.Core.Services;
public class NpgsqlClientStore : IClientStore, ID... | 2.387266 | 08940c264528c477bec499c24f4c3c17 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3845 | {
"extension": "c-sharp",
"max_stars_count": "883.0",
"max_stars_repo_name": "hu53yin/StratisFullNode",
"max_stars_repo_path": "src/Stratis.Bitcoin.Features.WatchOnlyWallet.Tests/WatchOnlyWalletManagerTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3846"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.IO;
using System.Linq;
using Microsoft.Extensions.Logging;
using NBitcoin;
using Newtonsoft.Json;
using Stratis.Bitcoin.Configuration;
using Stratis.Bitcoin.Features.Wallet;
using Stratis.Bitcoin.Signals;
using Stratis.Bitcoin.Tests.Common;
using Stratis.... | 2.021735 | ab62a3969c4d7a70c29c81d455a550ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3846 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lie-flat/DBCHMForCFPSHomework",
"max_stars_repo_path": "DocTools/TplFile/chm/table.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:3847"
} | starcoder | <filename>DocTools/TplFile/chm/table.cshtml
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=gbk" />
<title>@Model.TableName</title>
<style type="text/css">
* {
padding: 0;
margin: 0;
}
body {
... | 2.599817 | 8f87d52b8bb23a60c84a2f3f3ebdbde4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3847 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "kurtdekker/proximity_buttons",
"max_stars_repo_path": "proximity_buttons/Assets/ProximityButtons/VAButton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3848"
} | starcoder | <filename>proximity_buttons/Assets/ProximityButtons/VAButton.cs
/*
The following license supersedes all notices in the source code.
Copyright (c) 2018 <NAME>/PLBM Games All rights reserved.
http://www.twitter.com/kurtdekker
Redistribution and use in source and binary forms, with or without
modification, are per... | 1.92076 | 9c2ba8935f3f0a68c85224cb79314b55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3848 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cidthecoatrack/CharacterGen",
"max_stars_repo_path": "CharacterGen.Tests.Integration.Tables/Magics/Spells/Known/Clerics/KnowledgeSpellLevelsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3849"
} | starcoder | using CharacterGen.CharacterClasses;
using CharacterGen.Domain.Tables;
using CharacterGen.Magics;
using NUnit.Framework;
namespace CharacterGen.Tests.Integration.Tables.Magics.Spells.Known.Clerics
{
[TestFixture]
public class KnowledgeSpellLevelsTests : AdjustmentsTests
{
protected override string... | 2.004875 | 9f7892fa9e17b25456866f13e5fc5169 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3849 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "Microsoft/sarif-sdk",
"max_stars_repo_path": "src/Sarif.Converters/FortifyFprConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3850"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using S... | 1.544752 | 7171a375369e3d09115804115694a630 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3850 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "peterwurzinger/OidaAuth",
"max_stars_repo_path": "samples/AuthOida.Sample.App/Pages/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:3851"
} | starcoder | @using POC.Authorization.Web
@namespace POC.Authorization.Web.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.610752 | 0badd106b036eeccd70d1335fc80044b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3851 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "lkathke/NGitLab",
"max_stars_repo_path": "NGitLab/NGitLab/Models/Tag.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3852"
} | starcoder | using System.Runtime.Serialization;
namespace NGitLab.Models {
[DataContract]
public class Tag {
[DataMember(Name = "name")]
public string Name { get; set; }
[DataMember(Name = "commit")]
public CommitInfo Commit { get; set; }
}
} | 1.954011 | 7be9b89c674aae35b7b3e5594cd95cb3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3852 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jciechowski/IrresistibleApisBook",
"max_stars_repo_path": "IrresistibleApisCore.UnitTests/PizzaRepositorySpec.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3853"
} | starcoder | <reponame>jciechowski/IrresistibleApisBook<filename>IrresistibleApisCore.UnitTests/PizzaRepositorySpec.cs
using System.Linq;
using IrresistibleApisCore.Models;
using IrresistibleApisCore.Repository;
using Xunit;
namespace IrresistibleApisCore.UnitTests
{
public class PizzaRepositorySpec
{
private Pizza... | 2.738146 | 30c9761e102e15e14d50cd5192060015 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3853 | {
"extension": "c-sharp",
"max_stars_count": "62.0",
"max_stars_repo_name": "mbaykara/taskcore",
"max_stars_repo_path": "TaskCore.App/Views/AddCategoryErrorView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3854"
} | starcoder | <reponame>mbaykara/taskcore
using System;
using CommandCore.Library.PublicBase;
using TaskCore.App.Options;
namespace TaskCore.App.Views
{
public class AddCategoryErrorView: VerbViewBase
{
private readonly AddCategoryOptions _options;
public AddCategoryErrorView(AddCategoryOptions options)
... | 2.217081 | 661804cbda7814dbb745c2ce93ef4f84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3854 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HNochev/SoftUni-CSharp-Software-Engineering",
"max_stars_repo_path": "Programing Basics/Lab 3 - Conditional Statements Advanced/13. SkiTrip/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3855"
} | starcoder | using System;
using System.Runtime.ConstrainedExecution;
namespace _13._SkiTrip
{
class Program
{
static void Main(string[] args)
{
int days = int.Parse(Console.ReadLine());
string room = Console.ReadLine();
string feedback = Console.ReadLine();
... | 3.547533 | 73728bfede6d13bdc0c1442595e0db77 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3855 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VisualBean/OpenAPI.NET",
"max_stars_repo_path": "src/Microsoft.OpenApi.Hidi/OpenApiService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3856"
} | starcoder | <filename>src/Microsoft.OpenApi.Hidi/OpenApiService.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using Microsoft.OpenApi.Extensions;
using Microsoft.OpenA... | 2.194473 | caba6424d1ced21894418806cbbef62d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3856 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kryvytskyidenys/Project-Space",
"max_stars_repo_path": "Project Space/Assets/Scripts/Dialogues/DialogueGeneratorEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3857"
} | starcoder | #if UNITY_EDITOR
using UnityEngine;
using System.Collections;
using UnityEditor;
[CustomEditor(typeof(DialogueGenerator))]
public class DialogueGeneratorEditor : Editor
{
public override void OnInspectorGUI()
{
DrawDefaultInspector();
GUILayout.Space(15);
DialogueGenerator e = (Dialo... | 1.96376 | b6b860a2aeef3234c8fb55e9c6c5d3df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3857 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "angelcnx/NetControl4BioMed",
"max_stars_repo_path": "NetControl4BioMed/Pages/Administration/Databases/Databases/Details.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:3858"
} | starcoder | <reponame>angelcnx/NetControl4BioMed
@page
@model DetailsModel
@{
ViewData["Title"] = "Database details";
}
<div class="row align-items-center">
<div class="col-lg-6 mb-3">
<a asp-page="/Administration/Databases/Databases/Edit" asp-route-id="@Model.View.Database.Id" class="btn btn-warning btn-block" t... | 2.120308 | 154e9b10ec74e95682cf645a05503729 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3858 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bcuff/DynamoDBMapper",
"max_stars_repo_path": "tests/DynamoDBMapper.Tests/IgnoreTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3859"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using Amazon.DynamoDBv2.Model;
namespace DynamoDBMapper.Tests
{
public class IgnoreTests
{
[Fact]
public void Mapper_respects_DynamoDBIgnore_attribute()
{
var doc = new MockDocument { IgnoredFie... | 2.283536 | fcefe3a8877b0527477629b07e4d4c8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3859 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Wicek44/OpenWeatherLibraryJsonProject",
"max_stars_repo_path": "Country.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3860"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpenWeatherLibraryJson
{
public class Country
{
public string CountryInfo { get; }
public int Sunrise { get; }
public int Sunset { get; }
public Countr... | 2.705689 | 9bdeff075eec5801a1f7f4cae29758d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3860 | {
"extension": "c-sharp",
"max_stars_count": "166.0",
"max_stars_repo_name": "Raytwo/VGAudio",
"max_stars_repo_path": "src/VGAudio/Codecs/Opus/Silk/ShellCoder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3861"
} | starcoder | <filename>src/VGAudio/Codecs/Opus/Silk/ShellCoder.cs<gh_stars>100-1000
/* Copyright (c) 2006-2011 Skype Limited. All Rights Reserved
Ported to C# by <NAME>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
... | 2.130295 | b980791cc337b5d35e4bf56c7d5c3545 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3861 | {
"extension": "c-sharp",
"max_stars_count": "495.0",
"max_stars_repo_name": "mzakrzewski/Steeltoe",
"max_stars_repo_path": "src/Common/src/Abstractions/Expression/Operation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3862"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Text;
namespace Steeltoe.Common.Expression.Int... | 1.621332 | 65ab1ee83d8ff39fc4e28c0fab89f2fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3862 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "trungtruongpham/book-management",
"max_stars_repo_path": "book-management-be/book-management-persistence/Repositories/IPublisherRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3863"
} | starcoder | <reponame>trungtruongpham/book-management
using book_management_models;
using System;
using System.Collections.Generic;
namespace book_management_persistence.Repositories
{
public interface IPublisherRepository
{
Publisher GetPublisherByName(string publisherName);
public bool CheckExistPublis... | 1.792852 | 216d0bf67cc50c7f337fc8452bbaf348 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3863 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SafetyCone/R5T.L0014",
"max_stars_repo_path": "source/R5T.L0014.Construction/Code/Documentation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3864"
} | starcoder | <gh_stars>0
using System;
namespace R5T.L0014.Construction
{
/// <summary>
/// Construction project for Microsoft.Extensions.Hosting Nuget package selector..
/// </summary>
public static class Documentation
{
}
} | 0.934998 | be0e26ed9ec1c43cfe16e45f61681766 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3864 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PassiveModding/Raven",
"max_stars_repo_path": "Weather/Models/DarkSkyConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3865"
} | starcoder | namespace RavenBOT.Modules.Weather.Models
{
public class DarkSkyConfig
{
public static string DocumentName() => "DarkSkyConfig";
public string ApiKey { get; set; }
}
} | 1.576632 | f5c5ecc93542048b64eda9374602eba6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3865 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vlada-shubina/xamarin-macios",
"max_stars_repo_path": "tests/introspection/Mac/MacApiTypoTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3866"
} | starcoder | using System;
using NUnit.Framework;
using Foundation;
using ObjCRuntime;
using AppKit;
namespace Introspection
{
[TestFixture]
public class MacApiTypoTest : ApiTypoTest
{
NSSpellChecker checker;
public override void TypoTest ()
{
AssertMatchingOSVersionAndSdkVersion ();
checker = new NSSpellChecker ... | 2.106973 | 07928c0d9fb2d47d9a9b7fa7431e9a2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3866 | {
"extension": "c-sharp",
"max_stars_count": "73.0",
"max_stars_repo_name": "kkeirstead/CLRInstrumentationEngine",
"max_stars_repo_path": "src/Tests/InstrEngineTests/InstrEngineTests/TestAddExceptionHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3867"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace InstrEngineTests
{
[TestClass]
// "dotnet test" runs tests in-place (instead of copying them to a deployment
// directory). DeploymentItems that co... | 1.773728 | eb7ad7b54675ee9490c1531f74cc8330 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3867 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "protoncm/OrchardCore",
"max_stars_repo_path": "src/OrchardCore.Modules/OrchardCore.ContentFields/Settings/DateTimeFieldSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3868"
} | starcoder | namespace OrchardCore.ContentFields.Settings
{
public class DateTimeFieldSettings
{
public string Hint { get; set; }
public bool Required { get; set; }
}
} | 1.515605 | c61f303a05391a6d400a6ecf32b264fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3868 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sollertes/Reflection",
"max_stars_repo_path": "Sollertes.Reflection/ExpressionNameExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3869"
} | starcoder | <filename>Sollertes.Reflection/ExpressionNameExtensions.cs
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
namespace Sollertes.Reflection
{
public static class ExpressionNameExtensions
{
private const string InvalidExpressionEr... | 3.214571 | 609525c09addfda1feb4b8cda5796969 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3869 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KevinAnthony/Wyvern",
"max_stars_repo_path": "src/Noside.Wyvern.HomeAutomation/ViewModels/RGBViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3870"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Noside.Wyvern.HomeAutomation.ViewModels
{
class RGBViewModel
{
}
}
| 0.956996 | 63dd8a2f3e2d68323c9ee43f2a171acf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3870 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KristianVirkus/TrustMe",
"max_stars_repo_path": "tests/TrustMe.UnitTests/HelpersTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3871"
} | starcoder | using FluentAssertions;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Linq;
namespace TrustMe.UnitTests
{
class HelpersTest
{
public class ComputeRsaHash
{
[Test]
public void SameArguments_ShouldReturn_SameHash()
{
// Arrange... | 2.298046 | 28e65aa29c630bce47a3c3981b6605f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Plotso/SoftUni",
"max_stars_repo_path": "Programming Fundamentals Exams Prs/02.SpyGramWorking/SpyGramWorking.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3872"
} | starcoder | namespace _02.SpyGramWorking
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
public class SpyGramWorking
{
public static void Main()
{
Dictionary<string, List<string>> messages = new D... | 3.264093 | ffab122702af673a72e998e99847a628 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3872 | {
"extension": "c-sharp",
"max_stars_count": "411.0",
"max_stars_repo_name": "YodasMyDad/mvcforum",
"max_stars_repo_path": "MVCForum.Website/Views/Shared/_StyleSheets.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:3873"
} | starcoder | <reponame>YodasMyDad/mvcforum
@model MvcForum.Core.Models.General.Theme
@(Bundle.Css()
.Add($"{Model.ThemePath}/Content/Styles/imports.css")
.Add("~/Content/slideoutpanel.css")
.Add("~/Scripts/fancybox/jquery.fancybox.css")
.Add("~/Content/bootstrap/css/bootstrap.css")
.Add($"{Model.Theme... | 1.524585 | e50ee85d2e6d0b348e2edeaf91d4d941 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3873 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kacpercierpiak/quantum-inspired-algorithms",
"max_stars_repo_path": "Quantum.Inspired.Algorithms.Tests/QGenotype.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3874"
} | starcoder | <reponame>kacpercierpiak/quantum-inspired-algorithms<filename>Quantum.Inspired.Algorithms.Tests/QGenotype.cs
using NUnit.Framework;
using Quantum.Inspired.Algorithms.Core;
using System;
using System.Collections.Generic;
namespace Quantum.Inspired.Algorithms.Tests
{
public class QGenotypeTests
{
[SetUp]... | 1.137532 | 6dda844220b3cca59c1172f2462e0642 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3874 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "volatile-programming/PVBot",
"max_stars_repo_path": "vpbot/vpbot.Application/Services/IdentityClientService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3875"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Auth0.OidcClient;
using VPBot.DataObjects.Contracts.Services;
using VPBot.DataObjects.Exceptions;
using VPBot.DataObjects.Models;
namespace VPBot.Application.Services
{
public class... | 2.367796 | ccaa790be6b8337500a1ef1d6c2925d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3875 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WamWooWam/WamBot.Twitch",
"max_stars_repo_path": "WamBot.Twitch/Commands/SRCCommands.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3876"
} | starcoder | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.WebUtilities;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using TwitchLib.Api;
using WamBot.Twitch.Api;
usin... | 2.300636 | 1156b3c21ce9421e58a761e9212b86ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3876 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "OfficialHisha/DSharp",
"max_stars_repo_path": "Dlive CSharp API/Dlive/Subscription/ChatMessages/ChatGiftMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3877"
} | starcoder | <gh_stars>1-10
using System;
namespace DSharp.Dlive.Subscription.Chat
{
public class ChatGiftMessage : UserChatMessage
{
public GiftType GiftType { get; }
[Obsolete("Use GiftValue instead")]
public int GiftLinoValue { get; }
[Obsolete("Use GiftValue instead")]
public in... | 2.405882 | 3a45395096524f8eefbe2a68e1d65a59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3877 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "nativecode-dev/frameworks",
"max_stars_repo_path": "src/NativeCode.Core/Logging/LogWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3878"
} | starcoder | <filename>src/NativeCode.Core/Logging/LogWriter.cs
namespace NativeCode.Core.Logging
{
using System;
using System.Threading;
using System.Threading.Tasks;
using Nito.AsyncEx;
public abstract class LogWriter : ILogWriter
{
protected LogWriter()
{
this.AutoFlush = Co... | 2.671299 | 6a64b602c9397f070af4f34655265614 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3878 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "VladimirRybalko/CultureInfoExplorer",
"max_stars_repo_path": "CultureInfoExplorer/Converters/CultureInfoPropertyCollectionFilterConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3879"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Windows.Data;
namespace CultureInfoExplorer
{
public sealed class CultureInfoPropertyCollectionFilterConverter : IValueConverter
{
public object Convert(object value, Type targetType, object par... | 2.661393 | 5c1cf820640344a7fc27fe13b919622d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3879 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mehrdadab/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Infrastructure/HostedServices/LogScrubber.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3880"
} | starcoder | // Copyright (c) Umbraco.
// See LICENSE for more details.
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Umbraco.Cms.Core.Configuration.Models;
using Umbraco.Cms.Core.Logging;
using Umbraco.Cms.Core.Runtime;
using Umbraco.Cms.Core.Scoping;
usi... | 1.926412 | 2e4c4d419f4548a30d041efe18068fdd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3880 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kblood/Quest-VR-Menu",
"max_stars_repo_path": "Assets/Scripts/AndroidTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3881"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using TMPro;
using UnityEngine;
public class AndroidTest : MonoBehaviour
{
public TextMeshPro text;
public GameObject[] gameCubes;
public List<AppObject> appObjects = new List<AppObject>();
/... | 2.400544 | e8f64f978938cf22863ffdf6ab9dd67c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3881 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "donrolling/BowlingKata",
"max_stars_repo_path": "Contracts/Bowling/IScoringEngine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3882"
} | starcoder | <gh_stars>0
using Models.Bowling;
using System.Collections.Generic;
namespace Contracts.Bowling
{
public interface IScoringEngine
{
void CalculateScores(List<Frame> frames, int? extraRoll);
}
} | 1.484108 | 8b753bf36a96f2226066d643c32d9cb7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3882 | {
"extension": "c-sharp",
"max_stars_count": "907.0",
"max_stars_repo_name": "komdil/WebApi",
"max_stars_repo_path": "test/E2ETest/Microsoft.Test.E2E.AspNet.OData/Common/ODataAcceptHeaderTestSet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3883"
} | starcoder | <filename>test/E2ETest/Microsoft.Test.E2E.AspNet.OData/Common/ODataAcceptHeaderTestSet.cs<gh_stars>100-1000
//-----------------------------------------------------------------------------
// <copyright file="ODataAcceptHeaderTestSet.cs" company=".NET Foundation">
// Copyright (c) .NET Foundation and Contributors. ... | 2.190924 | 17ed919df74c14822089b5c1a1318a06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3883 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vicancy/MQTTnet",
"max_stars_repo_path": "Source/MQTTnet/IMqttFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3884"
} | starcoder | using MQTTnet.Client;
using MQTTnet.Diagnostics;
using MQTTnet.Server;
namespace MQTTnet
{
public interface IMqttFactory : IMqttClientFactory, IMqttServerFactory
{
IMqttNetLogger DefaultLogger { get; }
}
}
| 1.460841 | c413e482861e323482440b74923da424 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3884 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DustinCampbell/omnisharp-roslyn",
"max_stars_repo_path": "tests/OmniSharp.Roslyn.CSharp.Tests/CodeActionsV2Facts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3885"
} | starcoder | <reponame>DustinCampbell/omnisharp-roslyn
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using OmniSharp.Models;
using OmniSharp.Models.V2;
using OmniSharp.Models.V2.CodeActions;
using OmniSharp.Roslyn.CSharp.Services.Refactoring.V2;
using TestUtility;
using Xunit;
u... | 2.262409 | 2726a5926c7dbd517b0624642d1f2d78 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tipstrade/TipsTrade-HMRC",
"max_stars_repo_path": "Tests/FraudPreventionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3886"
} | starcoder | <reponame>tipstrade/TipsTrade-HMRC
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using TipsTrade.HMRC.AntiFraud;
using Xunit;
using Xunit.Abstractions;
namespace TipsTrade.HMRC.Tests {
public class FraudPreventionTests : TestBase {
public FraudPreventionTests(ITestOutputHelper output) :... | 1.913162 | ab1960e2ced83c2c6210128f63de2881 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3886 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cuihantao/StockSharp",
"max_stars_repo_path": "Algo/Storages/StorageMessageAdapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3887"
} | starcoder | <filename>Algo/Storages/StorageMessageAdapter.cs<gh_stars>0
#region S# License
/******************************************************************************************
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires your accept... | 2.33584 | 6dd7741671d9be9ec1c5beb06f3e7338 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3887 | {
"extension": "c-sharp",
"max_stars_count": "565.0",
"max_stars_repo_name": "baho-s/CSharpGL",
"max_stars_repo_path": "CSharpGL/GLObjects/ShaderProgram/UniformVariables/UniformSingleVariables/UniformUVec4.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3888"
} | starcoder | <gh_stars>100-1000
namespace CSharpGL
{
/// <summary>
/// uniform uvec4 variable;
/// </summary>
public class UniformUVec4 : UniformSingleVariable<uvec4>
{
/// <summary>
/// uniform uvec4 variable;
/// </summary>
/// <param name="varName"></param>
public Unif... | 2.615525 | 15b9445de0b3a71e6fe051577762de0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3888 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Dtronix/DtronixMessageQueue",
"max_stars_repo_path": "src/DtronixMessageQueue.Tests/Mq/MqClientTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3889"
} | starcoder | <reponame>Dtronix/DtronixMessageQueue<filename>src/DtronixMessageQueue.Tests/Mq/MqClientTests.cs<gh_stars>1-10
using System;
using System.Threading;
using DtronixMessageQueue.TcpSocket;
using NUnit.Framework;
namespace DtronixMessageQueue.Tests.Mq
{
public class MqClientTests : MqTestsBase
{
[TestCas... | 2.282507 | 3f7511b02f2b6b1a2762a1dd51c4dc11 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3889 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ShuhuaGao/WPF-Examples",
"max_stars_repo_path": "Master-Detail/SoccerLeagues/League.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3890"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace SoccerLeagues
{
// https://docs.microsoft.com/en-us/dotnet/desktop/wpf/data/how-to-use-the-master-detail-pattern-with-hierarchical-data?view=netframeworkdesktop-4.8&viewFallbackFrom=netdesktop-5.0
class League
{
public I... | 3.053004 | 6670e39946361770b99682ee78f96d53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3890 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "GorillaIT/NORMA-plus",
"max_stars_repo_path": "ORM2CommandLineTest/ORMStore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3891"
} | starcoder | <reponame>GorillaIT/NORMA-plus<gh_stars>10-100
#region Using directives
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.VisualStudio.Modeling;
using ORMSolutions.ORMArchitect.Core.ObjectModel;
using ORMSolutions.ORMArchitect.Core.ObjectModel.Design;
using ORMSolutions.ORMArchi... | 1.721605 | 01948e06c7163c1093b24540461825fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3891 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "dropsun/RoadFlowMvc",
"max_stars_repo_path": "RoadFlowDotPeek2.7.6/RoadFlow.Data.Interface/IProgramBuilderQuerys.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3892"
} | starcoder | // Decompiled with JetBrains decompiler
// Type: RoadFlow.Data.Interface.IProgramBuilderQuerys
// Assembly: RoadFlow.Data.Interface, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 2109DD37-8E2D-4F7C-8293-6084646C162F
// Assembly location: C:\inetpub\wwwroot\RoadFlowMvc\bin\RoadFlow.Data.Interface.dll
... | 1.488931 | 0542f8b466fbcebaea1b0583af4c33f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3892 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivang7/RemoteFork.Utility",
"max_stars_repo_path": "RemoteFork.Items/DirectoryItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3893"
} | starcoder | using System;
using Newtonsoft.Json;
namespace RemoteFork.Items {
[Serializable]
public class DirectoryItem : IItem {
[JsonProperty("playlist_url", DefaultValueHandling = DefaultValueHandling.Ignore)]
public string Link;
public override string GetLink() {
return Link;
... | 2.496039 | c69bdd369b3a0a4383405e46fd15ac8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3893 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SenyaMur/OpenAPI.NET.OData",
"max_stars_repo_path": "src/Microsoft.OpenApi.OData.Reader/Edm/RecordExpressionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3894"
} | starcoder | <filename>src/Microsoft.OpenApi.OData.Reader/Edm/RecordExpressionExtensions.cs
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// --------------... | 2.37103 | 2322680dd397ea9b41a0368dfb5897bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3894 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kthompson/MOSA-Project",
"max_stars_repo_path": "Source/Mosa.Platform.x64/X64Instruction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3895"
} | starcoder | <reponame>kthompson/MOSA-Project<gh_stars>0
// Copyright (c) MOSA Project. Licensed under the New BSD License.
using Mosa.Compiler.Framework.Platform;
namespace Mosa.Platform.x64
{
/// <summary>
/// X86Instruction
/// </summary>
public abstract class X64Instruction : BasePlatformInstruction
{
#region Construc... | 2.109725 | 60d1317934511a53ae403c853de04ee6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3895 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "csharp-opensource/NAPS2.Console",
"max_stars_repo_path": "NAPS2.Core/WinForms/FEmailSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3896"
} | starcoder | /*
NAPS2 (Not Another PDF Scanner 2)
http://sourceforge.net/projects/naps2/
Copyright (C) 2009 <NAME>
Copyright (C) 2012 <NAME>
Copyright (C) 2013 <NAME>
Copyright (C) 2012-2015 <NAME>
This program is free software; you can redistribute it and/or
modify it under the ... | 1.963966 | c3ae8d83d3cc7e80b4819157a4a1caaa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3896 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yuyaushiro/ARviz_unity",
"max_stars_repo_path": "Assets/ROSBridgeSharp/Assets/RBSocket/RBPublisher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3897"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using WebSocketSharp;
using RBS;
using RBS.Messages;
public class RBPublisher<T> where T : ExtendMessage, new()
{
internal string Topic;
internal PublishMessage<T> data;
internal T mesType;
internal string adve... | 2.1628 | 85772f5b90e47752f127e92f5eaf5072 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3897 | {
"extension": "c-sharp",
"max_stars_count": "755.0",
"max_stars_repo_name": "N500/WindowsTemplateStudio",
"max_stars_repo_path": "templates/Wpf/_comp/Prism/Page.XamlIsland/Controls/wts.ItemNameControl_postaction.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3898"
} | starcoder | <filename>templates/Wpf/_comp/Prism/Page.XamlIsland/Controls/wts.ItemNameControl_postaction.xaml.cs
namespace Param_RootNamespace.Controls
{
public partial class wts.ItemNameControl : UserControl
{
public wts.ItemNameControl()
{
//^^
//{[{
_themeSelectorService = ((App)Appli... | 1.624211 | e495d17fa9dcebf780f79eb84cb7e973 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3898 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "eaba/SharpPulsar",
"max_stars_repo_path": "SharpPulsar/Protocol/Proto/Partial/CommandEndTxn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3899"
} | starcoder | <filename>SharpPulsar/Protocol/Proto/Partial/CommandEndTxn.cs
namespace SharpPulsar.Protocol.Proto
{
public sealed partial class CommandEndTxn
{
public static Builder NewBuilder()
{
return Builder.Create();
}
public sealed class Builder
{
private CommandEndTxn _txn;
... | 2.140864 | 502b0f075d24b917b708b3e8087ed7b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3899 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bnadala/SewerScavenger",
"max_stars_repo_path": "SewerScavenger.UWP/FileHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3900"
} | starcoder | using System.IO;
using Xamarin.Forms;
using SewerScavenger.UWP;
using Windows.Storage;
[assembly: Dependency(typeof(FileHelper))]
namespace SewerScavenger.UWP
{
public class FileHelper : IFileHelper
{
public string GetLocalFilePath(string filename)
{
return Path.Combine(ApplicationData.Cur... | 1.938114 | 7ae8474502e2b87b08854d7d39e91e58 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3900 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "ericmutta/AngleSharp.Css",
"max_stars_repo_path": "src/AngleSharp.Css/Dom/PlayState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3901"
} | starcoder | <filename>src/AngleSharp.Css/Dom/PlayState.cs
namespace AngleSharp.Css.Dom
{
/// <summary>
/// An enumeration over all various play states.
/// </summary>
public enum PlayState : byte
{
/// <summary>
/// The animation is currently playing.
/// </summary>
Running,
... | 2.426873 | 6e2f507ef8ebf9b4ff72affb96ae9c9a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3901 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bharanijayasuri/umbraco8",
"max_stars_repo_path": "src/Umbraco.Core/Migrations/PostMigrationCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3902"
} | starcoder | using System.Collections.Generic;
using Umbraco.Core.Composing;
namespace Umbraco.Core.Migrations
{
public class PostMigrationCollection : BuilderCollectionBase<IPostMigration>
{
public PostMigrationCollection(IEnumerable<IPostMigration> items)
: base(items)
{ }
}
}
| 1.625186 | b2cc6c47974b105fd8b4850196607348 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3902 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uQr/lime-csharp",
"max_stars_repo_path": "src/Lime.Protocol.UnitTests/NodeTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3903"
} | starcoder | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Shouldly;
namespace Lime.Protocol.UnitTests
{
[TestFixture]
public class NodeTests
{
#region Equals
[Test]
[Category("Equals")]
... | 3.088931 | 2514161aec7a2b11dff6ec9c06e6aa04 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3903 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Valkirie/Playnite",
"max_stars_repo_path": "source/Playnite.FullscreenApp/Api/MainViewAPI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3904"
} | starcoder | using Playnite.FullscreenApp.ViewModels;
using Playnite.SDK;
using Playnite.SDK.Models;
using Playnite.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Playnite.FullscreenApp.API
{
public class MainViewAPI : IMain... | 2.041117 | 1e7f69b2b64c0e0b08b4b1fd3946edee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3904 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HydAu/AllReadyCopyJune10_2016",
"max_stars_repo_path": "AllReadyApp/Web-App/AllReady.UnitTest/Features/Event/GetMyEventsQueryHandlerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3905"
} | starcoder | using System.Linq;
using AllReady.Features.Event;
using AllReady.Models;
using Moq;
using Shouldly;
using Xunit;
namespace AllReady.UnitTest.Features.Event
{
public class GetMyEventsQueryHandlerTests
{
[Fact]
public void ReturnsExpectedEvents()
{
var eventSignups = new[]
... | 2.302833 | 54e1fe96d1526a9da328074909a3bffc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3905 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "itrofimow/corefx",
"max_stars_repo_path": "src/System.Text.Json/tests/JsonReaderStateAndOptionsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3906"
} | 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.Buffers;
using Xunit;
namespace System.Text.Json.Tests
{
public static partial class JsonReaderSt... | 2.225323 | b00c2a39e60fd7dfd40b4104b6698ace |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3906 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "nice-digital/consultations",
"max_stars_repo_path": "Comments.Test/IntegrationTests/API/Comments/CreateCommentUsingOrganisationSessionCookieTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3907"
} | starcoder | using Comments.Common;
using Comments.Test.Infrastructure;
using Comments.ViewModels;
using Microsoft.EntityFrameworkCore;
using Microsoft.Net.Http.Headers;
using Newtonsoft.Json;
using Shouldly;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Tex... | 2.134913 | f423e62847e92038bff1a6865b3cece4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3907 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SugarChat/SugarChat.Message",
"max_stars_repo_path": "SugarChat.Message/Commands/Groups/AddGroupCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3908"
} | starcoder | using System;
using System.Collections.Generic;
using Mediator.Net.Contracts;
namespace SugarChat.Message.Commands.Groups
{
public class AddGroupCommand : IdRequiredCommand, INeedUserExist
{
public string UserId { get; set; }
public string Name { get; set; }
public string AvatarUrl { ... | 1.712088 | f4fd220360485b67707e38558bfaa68b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3908 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "thakarona2017/GenerateAddressSignatures",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3909"
} | starcoder | using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using Newtonsoft.Json.Linq;
namespace GenerateAddressSignatures
{
class Program
{
static string cliPath = "";
static string signatureFilename = "WalletSignatures.txt";
static int buffer = 0;
... | 2.983614 | f9778bfdbfb6eef397b998d263c4ee2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3909 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "snakefoot/kephas",
"max_stars_repo_path": "src/Kephas.Data/Commands/IFindContextBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3910"
} | starcoder | <gh_stars>10-100
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IFindContextBase.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE ... | 2.099915 | 6a7091aa3e6c20b0e4c65378fd7ff74f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3910 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shaun-he/Mirror",
"max_stars_repo_path": "Assets/Mirror/Runtime/Messages.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3911"
} | starcoder | <reponame>shaun-he/Mirror<filename>Assets/Mirror/Runtime/Messages.cs
using System;
using UnityEngine;
namespace Mirror
{
public struct ReadyMessage : NetworkMessage {}
public struct NotReadyMessage : NetworkMessage {}
public struct AddPlayerMessage : NetworkMessage {}
public struct SceneMessage : Ne... | 1.782727 | 511214df6c01aaf5832b3f2c55ab0e4f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3911 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "TechyChap/EasyMWS",
"max_stars_repo_path": "src/EasyMWS/MarketplaceWebService/MarketplaceWebService/Model/FeedSubmissionInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3912"
} | starcoder | /*******************************************************************************
* Copyright 2009 Amazon Services.
* 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://aws.am... | 1.907829 | 94b6b2e816dd384ba9523eb6a3e64cae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3912 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rdyc/sample",
"max_stars_repo_path": "src/Sample.Api/Models/Errors/GlobalErrorModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3913"
} | starcoder | <reponame>rdyc/sample
using Newtonsoft.Json;
namespace Sample.Api.Models.Errors
{
public class GlobalErrorModel
{
[JsonProperty(Order = 0)]
public int StatusCode { get; set; }
[JsonProperty(Order = 1)]
public string StatusText { get; set; }
... | 1.924735 | fa4f13496c1b951a751855a23b265300 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3913 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stg609/omnisharp-roslyn",
"max_stars_repo_path": "src/OmniSharp.Cake/Services/RequestHandlers/Navigation/GotoTypeDefinitionHandlerHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3914"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.FindSymbols;
using Microsoft.CodeAnalysis.Text;
using OmniSharp.Roslyn;
using OmniSharp.Roslyn.CSharp.Services;
namespace OmniSharp.Cake.Se... | 2.07205 | d84f675455d58ec210d3db03f6fc474d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3914 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vakuzar/Multithreaded-Blood-Sim",
"max_stars_repo_path": "Blood/Library/PackageCache/com.unity.timeline@1.3.2/Editor/Utilities/BreadcrumbDrawer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3915"
} | starcoder | version https://git-lfs.github.com/spec/v1
oid sha256:b7c13930ac9c468e5298837d4d78577995cb3e73a0eb2891925167c95dd8703d
size 9219
| 0.984298 | 600bc63b25c027cda95504b81d0e4d38 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3915 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "JDiaz11/office-ribbonx-editor",
"max_stars_repo_path": "src/OfficeRibbonXEditor/Views/Windows/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3916"
} | starcoder | <gh_stars>1-10
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using OfficeRibbonXEditor.Helpers;
using OfficeRibbonXEditor.ViewModels.Documents;
using OfficeRibbonXEditor.ViewModels.Windows;
using KeyEventArgs = System.Windows.Input.KeyEventArgs;
using Text... | 2.334175 | c8778f965187ff2b9f418380fd8468bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3916 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Jither/Jint.DebugAdapter",
"max_stars_repo_path": "Jither.DebugAdapter/Protocol/Responses/ExceptionInfoResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3917"
} | starcoder | using Jither.DebugAdapter.Helpers;
using Jither.DebugAdapter.Protocol.Types;
namespace Jither.DebugAdapter.Protocol.Responses
{
/// <summary>
/// Response to ‘exceptionInfo’ request.
/// </summary>
public class ExceptionInfoResponse : ProtocolResponseBody
{
/// <param name="exceptionId">ID... | 2.697609 | 9eac181ceea53bf9991eadefe9c06a45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3917 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "modiCAS/fo.net",
"max_stars_repo_path": "Pdf/PDFCIDSystemInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3918"
} | starcoder | <reponame>modiCAS/fo.net
namespace Fonet.Pdf
{
/// <summary>
/// A dictionary containing entries that define the character collection
/// of the CIDFont.
/// </summary>
public class PdfCidSystemInfo : PdfDictionary
{
public const string DefaultRegistry = "Adobe";
public c... | 1.737145 | 969701b23524f8db2c4dff32ba93fbe9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3918 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "TrevorDArcyEvans/NHSBuyingCatalogue",
"max_stars_repo_path": "beta-private/api/NHSD.GPITF.BuyingCatalog/NHSD.GPITF.BuyingCatalog.Interfaces/Interfaces/Porcelain/ISolutionsExDatastore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3... | starcoder | <gh_stars>1-10
using NHSD.GPITF.BuyingCatalog.Models.Porcelain;
using System.Collections.Generic;
namespace NHSD.GPITF.BuyingCatalog.Interfaces.Porcelain
{
#pragma warning disable CS1591
public interface ISolutionsExDatastore
{
SolutionEx BySolution(string solutionId);
void Update(SolutionEx solnEx);
... | 1.757809 | ad2434b200220b1f05feec4d6b508b2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3919 | {
"extension": "c-sharp",
"max_stars_count": "653.0",
"max_stars_repo_name": "BlazorHub/BlazorFabric",
"max_stars_repo_path": "src/BlazorFluentUI.CoreComponents/Theme/Themes/Default/DefaultZIndex.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3920"
} | starcoder | namespace BlazorFluentUI.Themes.Default
{
public class DefaultZIndex : IZIndex
{
public int FocusStyle => 1;
public int Coachmark => 1000;
public int Layer => 1000000;
public int KeytipLayer => 1000001;
public int Nav => 1;
}
}
| 1.297138 | e71b5eed1e73cafa0556940c99a86c74 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3920 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "DeanReynolds/Dcrew",
"max_stars_repo_path": "src/GJK/RotRect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3921"
} | starcoder | using Microsoft.Xna.Framework;
namespace Dcrew;
/// <summary>A rotated rectangle</summary>
public struct RotRect {
static bool IsLeft(Vector2 a, Vector2 b, Vector2 p) => (b.X - a.X) * (p.Y - a.Y) - (p.X - a.X) * (b.Y - a.Y) > 0;
static bool PointInRect(Vector2 x, Vector2 y, Vector2 z, Vector2 w, Vector2 p) =... | 3.031218 | a70f31cd23430ebaf22eff5541585a77 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3921 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JustAleks14/OurRecipes",
"max_stars_repo_path": "Web/OurRecipes.Web/Views/Recipes/AllRecipes.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:3922"
} | starcoder | <reponame>JustAleks14/OurRecipes
@model OurRecipes.Web.ViewModels.Recipes.RecipesListViewModel
@{
this.ViewData["Title"] = $"All Recipes, Page: {Model.PageNumber}";
}
<h1>@this.ViewData["Title"]</h1>
<hr/>
<section class="small-receipe-area section-padding-80-0">
<div class="container">
<div class="ro... | 2.314849 | 02465610cd9a01de63e1ee714a870381 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3922 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kevbite/azure-webjobs-sdk",
"max_stars_repo_path": "src/Microsoft.Azure.WebJobs.ServiceBus/Bindings/MessageSenderAsyncCollector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3923"
} | starcoder | <gh_stars>0
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs.Host.Converters;
using Microsoft.Azure.ServiceBus;
names... | 1.950784 | 9ea18a5c040852310b505a5d523ce4db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3923 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "veloman86/SoftUni-Software-Engineering",
"max_stars_repo_path": "DB-with-C#/Labs-And-Homeworks/Entity Framework Core/05. Code-First - Exercise/01HospitalDatabase/Data/DataValidations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3... | starcoder | namespace P01_HospitalDatabase.Data
{
public static class DataValidations
{
public static class Patient
{
public const int MaxNameLength = 50;
public const int MaxAddressLength = 250;
public const int MaxEmailLength = 80;
}
public static clas... | 2.389842 | c8d3150107b10e1c3ac8c9ce7854d284 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3924 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "dskprt/nylium",
"max_stars_repo_path": "Starfield.Core/Item/Items/ItemMelon.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3925"
} | starcoder | // FILE AUTOGENERATED. DO NOT MODIFY
namespace Starfield.Core.Item.Items {
[Item("minecraft:melon", 250, 64, 244)]
public class ItemMelon : BlockItem { }
} | 1.225161 | 531ef6e5bf439f15166d9f2eb5239bf0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3925 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chandusekhar/gViewGisOS",
"max_stars_repo_path": "gView.Interoperability.Sde.a10/SdeFeatureCursor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3926"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using gView.SDEWrapper.a10;
using gView.Framework.Data;
using gView.Framework.Geometry;
namespace gView.Interoperability.Sde.a10
{
internal class SdeFeatureCursor : FeatureCursor
{
private SdeDatase... | 1.731326 | 8182010af2d5dfdef949a42ef8b59188 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3926 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kenz67/FlightSim-FlightPlanManager",
"max_stars_repo_path": "Forms/Settings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3927"
} | starcoder | using FlightPlanManager.DataObjects;
using FlightPlanManager.Services;
using System;
using System.Windows.Forms;
namespace FlightPlanManager.Forms
{
public partial class Settings : Form
{
public Settings()
{
InitializeComponent();
}
private void Settings_Load(objec... | 2.195955 | e04837c1f958a1979414594d2c5f9f48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3927 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TrixiS/WardenBot",
"max_stars_repo_path": "src/plugin_loader/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3928"
} | starcoder | using System;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
// TODO:
// make one solution and repo for all plugins
// one plugin -> one project
// TODO:
// make check for plugins if loaded
// maybe add error send system
namespace PluginLoader
{
static class Program
{... | 2.578712 | 0ecdd66518224d32055fc1d66bab6850 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3928 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aTiKhan/NRules.Language",
"max_stars_repo_path": "src/NRules.RuleSharp/NRules.RuleSharp/RulesParseException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3929"
} | starcoder | <filename>src/NRules.RuleSharp/NRules.RuleSharp/RulesParseException.cs
using System;
using System.Text;
namespace NRules.RuleSharp
{
/// <summary>
/// Exception that is thrown when parsing of rules fails.
/// </summary>
public class RulesParseException : Exception
{
/// <summary>
/... | 3.076529 | a74a731db5b8203ad112a3390a1aa8c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3929 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmagues/zemoga.blog",
"max_stars_repo_path": "zemoga.blog.api/DataAccess/Repositories/RepositoryWrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3930"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using zemoga.blog.api.Models;
using zemoga.blog.api.DataAccess.Infrastructure;
namespace zemoga.blog.api.DataAccess.Repositories
{
public interface IRepositoryWrapper
{
public IRepositoryBase<Us... | 2.523934 | 6d2fc950873c95143f982757d4ede647 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3930 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "cliftonm/clifton",
"max_stars_repo_path": "Clifton.Core/Clifton.Core.TemplateEngine/Parser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3931"
} | starcoder | /* The MIT License (MIT)
*
* Copyright (c) 2015 <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... | 2.714759 | c06ac78a84188e660ec32ead3df07714 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3931 | {
"extension": "c-sharp",
"max_stars_count": "3375.0",
"max_stars_repo_name": "nul800sebastiaan/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Models/IFile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3932"
} | starcoder | <reponame>nul800sebastiaan/Umbraco-CMS
using Umbraco.Cms.Core.Models.Entities;
namespace Umbraco.Cms.Core.Models
{
/// <summary>
/// Defines a File
/// </summary>
/// <remarks>Used for Scripts, Stylesheets and Templates</remarks>
public interface IFile : IEntity, IRememberBeingDirty
{
... | 2.293535 | 4493520d169a8f3fa3a96f9785f25656 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3932 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vmsalvato/login_media",
"max_stars_repo_path": "login_media/login_media/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3933"
} | starcoder | <filename>login_media/login_media/Form1.Designer.cs
namespace login_media
{
partial class Form1
{
/// <summary>
/// Variável de designer necessária.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpar os recursos ... | 2.143162 | 79d894577ca785ad5a10bed18a84117e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3933 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PokeD/PokeD.ServerProxy.Desktop",
"max_stars_repo_path": "Program.Commands.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3934"
} | starcoder | using System;
namespace PokeD.ServerProxy.Desktop
{
public static partial class Program
{
private static void ExecuteCommand(string message)
{
var command = message.Remove(0, 1).ToLower();
message = message.Remove(0, 1);
if (message.StartsWith("stop"))
... | 2.635329 | 628283a6e9563bb06bd28f32f69bff6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3934 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dangminhbk/auction",
"max_stars_repo_path": "aspnet-core/src/WebShop.Application/Seller/SellerAppService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3935"
} | starcoder | using Abp.Application.Services.Dto;
using Abp.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using System.Linq.Dynamic.Core;
using System.Threading.Tasks;
using WebShop.Authorization;
using WebShop.Domain.Statistic;
using WebShop.Extension;
using WebShop.Seller.Dto;
namespace WebShop.Seller
{
p... | 1.87169 | bc74b4658d71f276c8e16e9990660bb0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3935 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "System/regex/system/text/regularexpressions/compiledregexrunnerfactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3936"
} | starcoder | //------------------------------------------------------------------------------
// <copyright file="CompiledRegexRunnerFactory.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-------------------... | 2.099547 | 95466319f2d758c3b0cd0b11395655e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3936 | {
"extension": "c-sharp",
"max_stars_count": "99.0",
"max_stars_repo_name": "ptittof57/StyleCop",
"max_stars_repo_path": "Project/Src/Parser/Tokens/Number.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3937"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Number.cs" company="http://stylecop.codeplex.com">
// MS-PL
// </copyright>
// <license>
// This source code is subject to terms and conditions of the Microsoft
// Public Lic... | 2.461536 | 624eed40b9403ce18aaf4ff5167a1b32 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.