added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810490 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ThadHouse/roslyn",
"max_stars_repo_path": "src/Features/Core/Portable/CodeRefactoringHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129710"
} | 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.
#nullable enable
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeRefactorin... | 2.58254 | 08b33df3fa6651450b878021188e3a60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810491 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "robhabraken/data-privacy",
"max_stars_repo_path": "Habitat demo/src/Feature/Search/code/Services/ISearchService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129711"
} | starcoder | using Sitecore.HabitatHome.Feature.Search.Models;
namespace Sitecore.HabitatHome.Feature.Search.Services
{
public interface ISearchService
{
SearchResultsViewModel GetSearchResults(string searchTerm, int page = 1, int numberOfItems = 10);
}
} | 1.584546 | 836750e093aa25681900f931a8ecfc5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810492 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "p-selivanov/cronofy-csharp",
"max_stars_repo_path": "src/Cronofy/Requests/ElevatedPermissionsRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129712"
} | starcoder | <filename>src/Cronofy/Requests/ElevatedPermissionsRequest.cs
namespace Cronofy.Requests
{
using System.Collections.Generic;
using Newtonsoft.Json;
/// <summary>
/// Class for the serialization of an elevated permissions request.
/// </summary>
public sealed class ElevatedPermissionsRequest
... | 2.606114 | 17032e0bbbf52dc581c216bf331fee0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810493 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andri0331/cetaku",
"max_stars_repo_path": "Presentation/Nop.Web/Themes/GrandNodeTheme/Views/Catalog/_FilterPriceBox.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:129713"
} | starcoder | <filename>Presentation/Nop.Web/Themes/GrandNodeTheme/Views/Catalog/_FilterPriceBox.cshtml
@model CatalogPagingFilteringModel.PriceRangeFilterModel
@using Nop.Web.Models.Catalog;
@{
var selectedItem = Model.Items.FirstOrDefault(x => x.Selected);
}
@helper FormatPriceRangeText(CatalogPagingFilteringModel.PriceRangeF... | 2.368211 | 672f02e972238e9c29b5be69547ce811 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810494 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "larsolm/Archives",
"max_stars_repo_path": "Monster RPG Game Kit/MonsterRPGGameKit/Assets/Monster RPG/Scripts/Engine/World/LayerSorting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129714"
} | starcoder | using System;
using UnityEngine;
namespace PiRhoSoft.MonsterRpgEngine
{
[Flags]
public enum CollisionLayer
{
None = 0,
One = 1,
Two = 1 << 1,
Three = 1 << 2,
Four = 1 << 3,
Five = 1 << 4,
All = ~0
}
[DisallowMultipleComponent]
[RequireComponent(typeof(Renderer))]
[HelpURL(MonsterRpg.Documentatio... | 2.569824 | 8edb964cae2b18836550b11fc54f7bf3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810495 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "haise0/reAtomizer",
"max_stars_repo_path": "dnSpy.AsmEditor/ViewHelpers/EditImage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129715"
} | starcoder | <filename>dnSpy.AsmEditor/ViewHelpers/EditImage.cs
/*
Copyright (C) 2014-2016 <EMAIL>
This file is part of dnSpy
dnSpy is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the... | 2.0305 | 4a94b9f2d8a6c7b005827dfe088edbab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810496 | {
"extension": "c-sharp",
"max_stars_count": "798.0",
"max_stars_repo_name": "ultr0n-coder/dnx",
"max_stars_repo_path": "test/Microsoft.Dnx.CommonTestUtils/PathHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129716"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO;
using System.Linq;
using Microsoft.Dnx.Runtime;
using Microsoft.Extensions.PlatformAbstractions;
namespace Microsoft.Dnx.CommonTestUti... | 1.966507 | ee6988377dae4708132da3255d12292b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810497 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "olegtarasov/oxyplot",
"max_stars_repo_path": "Source/OxyPlot.Wpf/Axes/LinearColorAxis.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129717"
} | starcoder | <reponame>olegtarasov/oxyplot
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="LinearColorAxis.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// <summary>
// Provides a WPF wrapper for the ... | 2.33791 | 0b324cb98be3eb0d2c226ce3b5e55bd3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810498 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "achapweske/silvernote",
"max_stars_repo_path": "SilverNote.Editor/Drawing/DocumentCanvas.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129718"
} | starcoder | <filename>SilverNote.Editor/Drawing/DocumentCanvas.cs<gh_stars>1-10
/*
* Copyright (c) <NAME>
*
* Licensed under MIT (https://github.com/achapweske/silvernote/blob/master/LICENSE)
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagn... | 2.318758 | 548ab53623711aea3ca937504cf3f395 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810499 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "yoship1639/MikuMikuWorld",
"max_stars_repo_path": "PmdModelImporter/Vector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129719"
} | starcoder | <filename>PmdModelImporter/Vector.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PmdModelImporter
{
public struct Vector2
{
public float X;
public float Y;
public Vector2(float x, float y)
{
... | 3.132621 | b0dd7fe62cba850250fffefc57e115b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810500 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chipana/TakeProject",
"max_stars_repo_path": "TakeProject.Server/Extensions/ApplictaionBuilderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129720"
} | starcoder | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using TakeProject.Server.Handlers;
using TakeProject.Server.Middlewares;
namespace TakeProject.Server.Extensions
{
public static class ApplictaionBuilderExtensions
{
/// <summary>
/// Injects the SocketMiddleware as a middlew... | 2.458237 | 73ccd7e81821680f1f233b86026a8715 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810501 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "SuperJMN/VisualDesigner",
"max_stars_repo_path": "Glass/Glass.Design/DesignSurface/IDesignSurface.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129721"
} | starcoder | <gh_stars>10-100
using System.Collections;
using System.Collections.Generic;
using Glass.Design.CanvasItem;
namespace Glass.Design.DesignSurface
{
public interface IDesignSurface
{
IEnumerable<ICanvasItem> CanvasItems { get; }
}
} | 1.664118 | c297308faff691112ecc6673a536df36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810502 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sakapon/Samples-2014",
"max_stars_repo_path": "InkSample/InkScoreWpf/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129722"
} | starcoder | <filename>InkSample/InkScoreWpf/MainWindow.xaml.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.W... | 2.418465 | 74452e7115f09cc9ded013a567c2ee1d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810503 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LessonsLearnedInDotNET/LL.NET.DataTransportation",
"max_stars_repo_path": "src/LL.NET.DataTransportation.Core/OSI/Physical/IPhysicalLayerProtocol.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129723"
} | starcoder | <reponame>LessonsLearnedInDotNET/LL.NET.DataTransportation
namespace LL.NET.DataTransportation.Core.OSI.Physical
{
/// <summary>
/// Defines the behavior of an OSI physical layer protocol.
/// </summary>
public interface IPhysicalLayerProtocol : IOSIProtocol
{
}
}
| 1.37302 | 3c85acb9ef6c17ba1a3078524ab8f199 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810504 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dplayerd/WebformMiniSample",
"max_stars_repo_path": "WebformMiniSample/AccountingNote/Models/StaticText.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129724"
} | starcoder | <filename>WebformMiniSample/AccountingNote/Models/StaticText.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace AccountingNote.Models
{
public class StaticText
{
/// <summary> 一般財務人員 </summary>
public const string RoleName_Announting_FinanceClerk ... | 1.988357 | ddcb0f12a0b99ca8d5b93f60ec0f7013 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810505 | {
"extension": "c-sharp",
"max_stars_count": "219.0",
"max_stars_repo_name": "kevin-montrose/LinqAF",
"max_stars_repo_path": "LinqAF/Range.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129725"
} | starcoder | <filename>LinqAF/Range.cs
using MiscUtil;
namespace LinqAF
{
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Auto)]
public struct RangeEnumerator : IStructEnumerator<int>
{
public int Current { get; private set; }
byte Sigil;
int Index;
... | 2.662685 | 1a6810348a1be62c83d68dbe03a1ff39 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810506 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "patmagee/CromwellOnAzure",
"max_stars_repo_path": "src/TesApi.Web/Controllers/TaskServiceApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129726"
} | starcoder | <reponame>patmagee/CromwellOnAzure
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
/*
* Task Execution Service
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: 0.3.0
*
* Generated by: https://ope... | 1.822061 | 8c5fa0aa7072a18a067baf47b4a79f52 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810507 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "drony/Grace",
"max_stars_repo_path": "tests/Grace.Tests/Factory/DynamicFactoryStrategyTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129727"
} | starcoder | <gh_stars>1-10
using Grace.DependencyInjection;
using Grace.Factory;
using Grace.Tests.Classes.Simple;
using Xunit;
namespace Grace.Tests.Factory
{
public class DynamicFactoryStrategyTests
{
public interface IBasicServiceFactory
{
IBasicService CreateBasicService();
}
... | 2.502923 | 00509db37cec8fe012bafc44982a0393 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810508 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "eNeRGy164/LivingDocumentation",
"max_stars_repo_path": "tests/LivingDocumentation.Analyzer.Tests/DocumentationTagContentParsingTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129728"
} | starcoder | <reponame>eNeRGy164/LivingDocumentation
using FluentAssertions;
using FluentAssertions.Execution;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LivingDocumentation.Analyzer.Tests
{
[TestClass]
public class DocumentationTagContentParsingTests
{
[TestMethod]
public ... | 2.567707 | 0cbd15d469e23939e4514b610e9d36f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810509 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "akobr/textum.ui",
"max_stars_repo_path": "Commands/Commands.CodeBaseSearch/Conditions/BaseTypeNameTemplateCondition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129729"
} | starcoder | <filename>Commands/Commands.CodeBaseSearch/Conditions/BaseTypeNameTemplateCondition.cs
using Commands.CodeBaseSearch.Extensions;
using Commands.CodeBaseSearch.Model;
using Commands.CodeBaseSearch.Model.Subjects;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Commands.CodeBaseSearch.Conditions
{
public class... | 2.714254 | f65efde9f0d2c2983d9f69700d1c5389 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810510 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yacoubb/blob-game",
"max_stars_repo_path": "2021-blob-game-unity/Assets/Mirror/Editor/Weaver/EntryPoint/CompilationFinishedHook.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129730"
} | starcoder | // for Unity 2020+ we use ILPostProcessor.
// only automatically invoke it for older versions.
#if !UNITY_2020_3_OR_NEWER
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Mono.CecilX;
using UnityEditor;
using UnityEditor.Compilation;
using UnityEngine;
using UnityAsse... | 1.91504 | df1d415e8d5271c888ae366d0ffa9a74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810511 | {
"extension": "c-sharp",
"max_stars_count": "1665.0",
"max_stars_repo_name": "mdsol/coverlet",
"max_stars_repo_path": "src/coverlet.core/CoverageResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129731"
} | starcoder | <filename>src/coverlet.core/CoverageResult.cs
// Copyright (c) <NAME>
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Linq;
using Coverlet.Core.Enums;
using Coverlet.Core.Instrumentation;
namespace Coverlet.Core
{
... | 2.241044 | eae76cba558cf467d4febbbb09995dd3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810512 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "folkehelseinstituttet/Fhi.Smittestopp.Backend",
"max_stars_repo_path": "DIGNDB.APP.SmitteStop.Jobs/CovidStatisticsFiles/Services/CovidStatisticsBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129732"
} | starcoder | <gh_stars>10-100
using DIGNDB.APP.SmitteStop.Jobs.Config;
using DIGNDB.APP.SmitteStop.Jobs.CovidStatisticsFiles.CsvContentModels;
using DIGNDB.APP.SmitteStop.Jobs.CovidStatisticsFiles.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
namespace DIGNDB.APP.SmitteStop.Jobs.CovidStatisticsF... | 2.083509 | 0089eb5a5c75e357358282ca273ceb99 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810513 | {
"extension": "c-sharp",
"max_stars_count": "194.0",
"max_stars_repo_name": "sbtron/dynamics-365-customer-engagement",
"max_stars_repo_path": "ce/snippets/csharp/CRMV8/query/cs/fetchaggregationandgroupby16.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129733"
} | starcoder | // <snippetfetchaggregationandgroupby16>
// *****************************************************************************************************************
// FetchXML byyrqtr Aggregate 16
// ****************************************************************************************... | 2.593641 | e9ce701b6434ea1593bca05356dec359 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810514 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rpaschoal/FFMpegCore",
"max_stars_repo_path": "FFMpegCore/FFProbe/FFProbeAnalysis.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129734"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace FFMpegCore
{
public class FFProbeAnalysis
{
[JsonPropertyName("streams")]
public List<FFProbeStream> Streams { get; set; } = null!;
[JsonPropertyName("format")]
public Format ... | 1.962116 | d84c9707b7eb686e080f2b2682566ac1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810515 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "devlead/cli-lab",
"max_stars_repo_path": "src/dotnet-core-uninstall/Shared/Exceptions/RequiredArgMissingForUninstallCommandException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129735"
} | starcoder | namespace Microsoft.DotNet.Tools.Uninstall.Shared.Exceptions
{
internal class RequiredArgMissingForUninstallCommandException : DotNetUninstallException
{
public RequiredArgMissingForUninstallCommandException() :
base(LocalizableStrings.RequiredArgMissingForUninstallCommandExceptionMessage)
... | 1.74375 | 6ef361e60ba7ffcd05b6256651a9fb07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810516 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zbikowskiL/CmsShop",
"max_stars_repo_path": "CmsShop/Views/Account/CreateAccount.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:129736"
} | starcoder | <filename>CmsShop/Views/Account/CreateAccount.cshtml
@model CmsShop.Models.ViewsModels.Account.UserVM
@{
ViewBag.Title = "Utwórz konto";
}
<h2>Utwórz konto</h2>
@if (TempData["SM"] != null)
{
<div class="alert alert-success">
@TempData["SM"]
</div>
}
@using (Html.BeginForm())
{
@Html.AntiFo... | 2.319657 | 7103480e88028038ab67c951395ab90c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810517 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abadillo/bases-uno",
"max_stars_repo_path": "bases-uno/bases-uno/Views/UserControls/itemcomic.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129737"
} | starcoder |
namespace bases_uno.Views.Components
{
partial class itemcomic
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summar... | 1.833743 | 106308d439040812e5e900dc11fa9722 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810518 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jonathascosta/mneumo-core-specifications",
"max_stars_repo_path": "src/Specifications/AndAlsoSpecification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129738"
} | starcoder | using System.Linq.Expressions;
namespace Mneumo.Core.Specifications
{
/// <summary>
/// Creates a combined specification that represents a conditional AND operation that evaluates the second specification only if the first specification evaluates to true.
/// </summary>
/// <typeparam name="T">Object ... | 2.942931 | d85d532f4a9647ef1ed57defe051b7db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810519 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Venik-com/eShop-Backend-WebAPI",
"max_stars_repo_path": "eShop-WebAPI/Eshop.Web/GraphQL/Models/Invoices/AddInvoiceInputType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129739"
} | starcoder | <gh_stars>0
using HotChocolate.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Eshop.Web.GraphQL.Invoices
{
public class AddInvoiceInputType : InputObjectType<AddInvoiceInput>
{
protected override void Configure(IInputObjectTypeDescript... | 2.123206 | 95c3d4579eec853b874c803cfe7bd422 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810520 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lurienanofab/lnf",
"max_stars_repo_path": "OnlineServices.Api/Data/NewsRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129740"
} | starcoder | using LNF.Data;
using RestSharp;
using System;
using System.Collections.Generic;
namespace OnlineServices.Api.Data
{
public class NewsRepository : ApiClient, INewsRepository
{
public NewsRepository(IRestClient rc) : base(rc) { }
public void Delete(int newsId, int currentUserClientId)
... | 2.011493 | 7a965c2826db1e9e600b8c27d8bde18e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810521 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zhelyazko777/MazeGame",
"max_stars_repo_path": "Game/Game/Engine/StandartEngine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129741"
} | starcoder | <reponame>Zhelyazko777/MazeGame<filename>Game/Game/Engine/StandartEngine.cs
namespace Game.Engine
{
using System;
using System.Linq;
using System.Collections.Generic;
using Common;
using Contracts;
using Extentions;
using Rooms.Contracts;
using Players.Contracts;
using Services.Cont... | 2.380013 | 17941facc59251a1ffdc41c4db5c2998 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810522 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "MesutAtasoy/Joker",
"max_stars_repo_path": "src/Services/Management/Management.Infrastructure/Migrations/ManagementContextModelSnapshot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129742"
} | starcoder | <gh_stars>10-100
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace Management.Infrastructure.Migrations
{
[DbContext(typeof(ManagementContext))]
partial class ManagementCo... | 2.033402 | 730fbafbeda84d748b88e78aecfbb141 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810523 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lumiria/ViewService.Wpf",
"max_stars_repo_path": "src/ViewService/IWindowService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129743"
} | starcoder | <reponame>lumiria/ViewService.Wpf
using System;
using System.Windows;
namespace ViewServices
{
/// <summary>
/// An interface that provides a service for displaying window.
/// </summary>
public interface IWindowService : IViewService
{
/// <summary>
/// Opens a window and resturns... | 2.127455 | 4f89c9beb1807bc17d98adb49ed48672 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810524 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "weastridge/MinhaCor",
"max_stars_repo_path": "Wve/WveTrackbar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129744"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Wve
{
/// <summary>
/// customizable trackbar
/// </summary>
pu... | 2.858927 | c019f1743c48b92328de7b4deefe1aac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810525 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "loremipsumdonec/photo-gallery-service",
"max_stars_repo_path": "src/Boilerplate/Features/Core/Services/LoadModelRegistryWithModelFor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129745"
} | starcoder | using Boilerplate.Features.Core.Attributes;
using System.Reflection;
namespace Boilerplate.Features.Core.Services
{
public class LoadModelRegistryWithModelFor
: IModelRegistry
{
private readonly IModelRegistry _decorated;
private readonly IAssemblies _assemblies;
private readon... | 2.488647 | 3271e00d0ee373aae17669840ece7e9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810526 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Misza13/StarsReloaded",
"max_stars_repo_path": "StarsReloaded.Client.ViewModel/ModelWrappers/RadiationWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129746"
} | starcoder | <reponame>Misza13/StarsReloaded
namespace StarsReloaded.Client.ViewModel.ModelWrappers
{
using StarsReloaded.Shared.Model;
public class RadiationWrapper : HabitationParameterWrapper
{
public RadiationWrapper(HabitationParameter habitationParameter) : base(habitationParameter)
{
}
... | 1.886051 | 3fb585749a3a3929b2f8c3d1e2f9713b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810527 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RighteousRyan1/AerovelenceMod",
"max_stars_repo_path": "Content/UI/RockCollectorUI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129747"
} | starcoder | /*using AerovelenceMod.NPCs.TownNPC;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.GameInput;
using Terraria.ID;
using Terraria.Localization;
using Terraria.ModLoader;
using Terraria.UI;
using Terraria.UI.Chat;
namespace AerovelenceMod.UI
{
internal class RockCo... | 1.700956 | f6426f89917ee9872f0867a16787bffb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810528 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pilotpirxie/xamarin-air",
"max_stars_repo_path": "airmonitor/airmonitor/airmonitor/Models/Models.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129748"
} | starcoder | using System;
using Newtonsoft.Json;
using SQLite;
using Xamarin.Essentials;
using Xamarin.Forms.Maps;
namespace airmonitor.Models
{
public struct Models
{
public string Country { get; set; }
public string City { get; set; }
public string Street { get; set; }
public string Numb... | 2.257107 | 3e38e689df6453fbb4f84d406f9cc375 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810529 | {
"extension": "c-sharp",
"max_stars_count": "212.0",
"max_stars_repo_name": "SpriteMaster-Ext/StructLinq",
"max_stars_repo_path": "src/StructLinq/Zip/StructEnumerable.Zip.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129749"
} | starcoder | using System;
using System.Runtime.CompilerServices;
using StructLinq.Zip;
// ReSharper disable once CheckNamespace
namespace StructLinq
{
public static partial class StructEnumerable
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static ZipEnumerable<T1, TEnumerable1, TEnumerator... | 2.527805 | ec8aa81246b7b133aaaa1de122f400ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810530 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TFlippy/Facepunch.Steamworks",
"max_stars_repo_path": "Facepunch.Steamworks/Generated/CustomEnums.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129750"
} | starcoder | using System;
using System.Runtime.InteropServices;
using System.Linq;
using Steamworks.Data;
using System.Threading.Tasks;
namespace Steamworks
{
public enum CallbackType
{
SteamServersConnected = 101,
SteamServerConnectFailure = 102,
SteamServersDisconnected = 103,
ClientGameServerDeny = 113,
GSPolicyRes... | 1.169024 | d546ccdda6017afc94820122711c2583 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810531 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "minkikim19/start3",
"max_stars_repo_path": "CallByValueAndCallByReference/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129751"
} | starcoder | using System;
namespace CallByValueAndCallByReference
{
class Program
{
static void Main(string[] args)
{
int num1 = 0;
IncrementByValue(num1, 2, 5);
Console.WriteLine($"num1 after IncrementByValue(): {num1}");
IncrementByReference(ref num1, 2... | 3.771105 | f5605579e7e4f0fd91e45fce1fc67568 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810532 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mertozler/BlogPanel",
"max_stars_repo_path": "BusinessLayer/Concrete/ContactManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129752"
} | starcoder | using BusinessLayer.Abstract;
using DataAccessLayer.Abstract;
using EntityLayer.Concrete;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusinessLayer.Concrete
{
public class ContactManager:IContactService
{
IContactDal _co... | 2.370487 | fb88076e0819811c102fe3efe666ade5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810533 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "Asesjix/ReactiveUI.Winforms.Samples",
"max_stars_repo_path": "ReactiveUI.Winforms.Samples.Commands/ViewModels/MainViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129753"
} | starcoder | <filename>ReactiveUI.Winforms.Samples.Commands/ViewModels/MainViewModel.cs
using System.Reactive.Linq;
using System.Windows;
namespace ReactiveUI.Winforms.Samples.Commands.ViewModels
{
public class MainViewModel : ReactiveObject
{
private string _applicationTitle;
private string _withCanExecut... | 3.069597 | 701cf3c714061e1c632302a561d23d3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810534 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DANaini13/2022GGJ",
"max_stars_repo_path": "Assets/Plugins/VolumetricLightBeam/Scripts/Utils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129754"
} | starcoder | <filename>Assets/Plugins/VolumetricLightBeam/Scripts/Utils.cs
using System;
using UnityEngine;
namespace VLB
{
public static class Utils
{
public static float ComputeConeRadiusEnd(float fallOffEnd, float spotAngle)
{
return fallOffEnd * Mathf.Tan(spotAngle * Mathf.Deg2Rad * 0.5f);
... | 2.874859 | 0481e682f542f3abec51a87ce34bd539 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810535 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dimpu47/pulumi-gcp",
"max_stars_repo_path": "sdk/dotnet/Compute/Network.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129755"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.824865 | a912c2ef10294423d0097ba3305c7670 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810536 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sam-meacham/Noef",
"max_stars_repo_path": "src/Noef/HydrateException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129756"
} | starcoder | using System;
namespace Noef
{
[Serializable]
public class HydrateException : Exception
{
public HydrateException(string message, Exception innerException)
: base(message, innerException)
{
}
public HydrateException(string message) : base(message)
{
}
}
}
| 2.288445 | 6d122190eb2796dbc45187d2f7d313a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810537 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nicholasleo/Smart.Materials",
"max_stars_repo_path": "Nicholas.Smart.Materials.Enity/ResultMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129757"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Nicholas.Smart.Materials.Enity
{
public class ResultMessage
{
public bool ResultFlg { get; set; }
public string ResultMsg { get; set; }
}
}
| 1.49531 | 6eec17a8d81a57d42df7268419557cff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810538 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "lrv1668/Bitbucket.Net",
"max_stars_repo_path": "src/Bitbucket.Net/Common/Converters/RolesConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129758"
} | starcoder | <filename>src/Bitbucket.Net/Common/Converters/RolesConverter.cs
using Bitbucket.Net.Models.Core.Projects;
namespace Bitbucket.Net.Common.Converters
{
public class RolesConverter : JsonEnumConverter<Roles>
{
protected override string ConvertToString(Roles value)
{
return BitbucketHe... | 2.166661 | c2f77052fbb15b0e8cb45222d65ed386 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810539 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "isaac-brown/Blog.Core",
"max_stars_repo_path": "src/Muster.Core/Entity/BlogPostStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129759"
} | starcoder | // <copyright file="BlogPostStatus.cs" company="<NAME>">
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>
namespace Muster.Core
{
using Muster.Core.Entity;
using Muster.Core.Utility;
/// <summary>
/// Represents the possible status'... | 2.622525 | fcd9fce937a2ddc9f290b9f96c697836 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810540 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kanadaj/sentry-dotnet",
"max_stars_repo_path": "src/Sentry.DiagnosticSource/Internals/DiagnosticSource/SentrySqlListener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129760"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Sentry.Extensibility;
using Sentry.Internal.Extensions;
namespace Sentry.Internals.DiagnosticSource
{
internal class SentrySqlListener : IObserver<KeyValuePair<string, object?>>
{
private e... | 1.876752 | 47e2ed691cf7efe5be687e117835988d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810541 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JeremyKuhne/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/Windows/um/vsstyle/BACKGROUNDWITHBORDERSTATES.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129761"
} | starcoder | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/vsstyle.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop.Windows;
/// <inclu... | 1.461676 | 3fe77b9f0cf3fc580bf4b2f7d464907a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810542 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VonRosenchild/charts-embedding-examples",
"max_stars_repo_path": "c-sharp/ChartsEmbedding/Controllers/EmbeddedChartController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129762"
} | starcoder | <reponame>VonRosenchild/charts-embedding-examples
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace ChartsEmbedding.Controllers
{
[Route(... | 2.243675 | d6f5ff43453f77e3ccf1c0aafc3d3152 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810543 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zanybaka/legacy.windows.finder",
"max_stars_repo_path": "Applications/Finder/MainForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129763"
} | starcoder | <reponame>zanybaka/legacy.windows.finder<filename>Applications/Finder/MainForm.Designer.cs
using System.Collections.Generic;
using Samples.Finder.Application.Controls;
using Samples.Finder.Application.Properties;
using Samples.Finder.Application.Resources;
namespace Samples.Finder.Application
{
partial class MainF... | 1.660315 | 807929cf42eb25928c5c0aac25d7e2eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810544 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adrianvince7/accountgo",
"max_stars_repo_path": "src/Services/BaseService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129764"
} | starcoder | <gh_stars>0
//-----------------------------------------------------------------------
// <copyright file="BaseService.cs" company="WorkStream">
// Copyright (c) WorkStream. All rights reserved.
// <author><NAME></author>
// <date>1/11/2015 9:48:38 AM</date>
// </copyright>
//--------------------------------------------... | 2.274121 | da3ea0bcf9a20a656c38d2f1a09f53cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810545 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Invectys/UserCommunicationService",
"max_stars_repo_path": "UserCommunicationClient/ChatApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129765"
} | starcoder | using Microsoft.AspNetCore.Http.Connections;
using Microsoft.AspNetCore.SignalR.Client;
using UserCommunicationClient.api;
namespace UserCommunicationClient
{
public class ChatApi
{
public ChatApi(string chatHubUrl, string uid, string token)
{
_chatHubUrl = chatHubUrl;
... | 2.208129 | 16733bdd2de685a478a858fe5364106d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810546 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "corinthdev/Invoice-and-Accounting-System",
"max_stars_repo_path": "aspnet-core/src/AccountingSystems.Application/PurchaseOrders/IPurchaseOrderAppService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129766"
} | starcoder | using Abp.Application.Services;
using Abp.Application.Services.Dto;
using AccountingSystems.PurchaseOrders.Dto;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace AccountingSystems.PurchaseOrders
{
public interface IPurchaseOrderAppService : IAsyncCrudAppSer... | 1.439773 | 3824a8c076e43840eff2e2fd13ccdb2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810547 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "panther-lang/panther",
"max_stars_repo_path": "src/Panther/CodeAnalysis/Binding/Binder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129767"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.IO.Compression;
using System.Linq;
using Mono.Cecil;
using Panther.CodeAnalysis.Lowering;
using Panther.CodeAnalysis.Symbols;
using Panther.CodeAnalysis.Syntax;
using Panther.CodeAnalysis.Text;
us... | 2.081603 | 1222b89fb13e3e4bca6033e056660958 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810548 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khoa0319/MyAweSomeDiary",
"max_stars_repo_path": "MyAwesomeDiary/MyAwesomeDiary/ViewModel/TodoListViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129768"
} | starcoder | <filename>MyAwesomeDiary/MyAwesomeDiary/ViewModel/TodoListViewModel.cs
using MyAwesomeDiary.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace MyAwesomeDia... | 2.329658 | cc71ba49e7e3ec81de1e784c87db1bda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810549 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Seyuna/Tera-custom-cooldowns",
"max_stars_repo_path": "TCC.Core/Data/GearItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129769"
} | starcoder | namespace TCC.Data
{
public class GearItem
{
public uint Id { get; private set; }
public GearTier Tier { get; private set; }
public GearPiece Piece { get; private set; }
public int Enchant { get; private set; }
public uint Experience { get; private set; }
public... | 2.876939 | 2cea3b1784c653de4900ef934da373ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810550 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "williamskei97/DigitalSignalProcessing",
"max_stars_repo_path": "DigitalSignalProcessingTests/DSPTests/Miscellaneous.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129770"
} | starcoder | <filename>DigitalSignalProcessingTests/DSPTests/Miscellaneous.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DigitalSignalProcessing;
using System.Linq;
using System;
using System.Numerics;
namespace DigitalSignalProcessingTests.DSPTests
{
[TestClass]
public class Miscellaneous
{
[Te... | 2.617259 | bc568621c26f190152e2f8d14899e27b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810551 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marekr/borkedLabs.CrestScribe",
"max_stars_repo_path": "borkedLabs.CrestScribe/Settings/CommandBusSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129771"
} | starcoder | <reponame>marekr/borkedLabs.CrestScribe<filename>borkedLabs.CrestScribe/Settings/CommandBusSettings.cs
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace borkedLabs.CrestScribe.Settings
{
public class CommandBusSetti... | 2.073929 | e595364d07d6510fc39b974c06e8950b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810552 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nelov87/C-OOP-Basics",
"max_stars_repo_path": "Encapsulation/P04_ShoppingSpree/Person.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129772"
} | starcoder | <reponame>nelov87/C-OOP-Basics<filename>Encapsulation/P04_ShoppingSpree/Person.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace P04_ShoppingSpree
{
public class Person
{
private string name;
private decimal mony;
private List<string> bag;
public ... | 3.564988 | 2901439b3c70b8dde802c1d0a9a63f24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810553 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "danpoage/hall-of-beorn",
"max_stars_repo_path": "src/HallOfBeorn/Models/LotR/Sets/TheLordOfTheRings/JourneyInTheDarkNightmare.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129773"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace HallOfBeorn.Models.LotR.Sets.TheLordOfTheRings
{
public class JourneyInTheDarkNightmare : CardSet
{
private const string setName = "Journey in the Dark Nightmare";
protected override void Initialize... | 2.690452 | 5ee540df2cf08a245a4a4f0926fa514d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810554 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kardelw1409/AzureTraining",
"max_stars_repo_path": "src/Web/Configuration/ConfigureCoreServices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129774"
} | starcoder | using System;
using Azure.Identity;
using BlazorShared;
using Microsoft.eShopWeb.ApplicationCore.Interfaces;
using Microsoft.eShopWeb.ApplicationCore.Services;
using Microsoft.eShopWeb.Infrastructure.Data;
using Microsoft.eShopWeb.Infrastructure.Logging;
using Microsoft.eShopWeb.Infrastructure.Services;
using Microsof... | 1.563777 | 34c69fe8bd01d54798df4e35139f0d66 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810555 | {
"extension": "c-sharp",
"max_stars_count": "318.0",
"max_stars_repo_name": "deepakverma/Pipelines.Sockets.Unofficial",
"max_stars_repo_path": "tests/Pipelines.Sockets.Unofficial.Tests/BufferWriterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129775"
} | starcoder | <gh_stars>100-1000
using Pipelines.Sockets.Unofficial.Arenas;
using Pipelines.Sockets.Unofficial.Buffers;
using System;
using System.Buffers;
using System.Text;
using Xunit;
using Xunit.Abstractions;
namespace Pipelines.Sockets.Unofficial.Tests
{
public class BufferWriterTests
{
public BufferWriterTes... | 2.479474 | d3fb5b0d2fb3c1c900f1f8f55b4d3141 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810556 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "IBXCODECAT/IBX-Intro",
"max_stars_repo_path": "Assets/UniGLTF/Core/Scripts/Format/glbTypes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129776"
} | starcoder | <gh_stars>10-100
using System;
using System.IO;
using System.Text;
namespace UniGLTF
{
public enum GlbChunkType : UInt32
{
JSON = 0x4E4F534A,
BIN = 0x004E4942,
}
public struct GlbHeader
{
public static void WriteTo(Stream s)
{
s.WriteByte((Byte)'g');
... | 2.800324 | d28a87d496ff70eb20e1e0093e0c742c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810557 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "narosan/.NET-CRUD",
"max_stars_repo_path": "CRUD/Main/Mongo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129777"
} | starcoder | using System;
using System.Collections.Generic;
namespace Main
{
public class Mongo
{
public static void Main(string[] args)
{
Funcionalidades func = new Funcionalidades();
bool Ok = true;
while (Ok)
{
int menu;
Co... | 3.423178 | c918f6281799a6e6025be330e7a8c141 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810558 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leehwongxing/ShApi",
"max_stars_repo_path": "SAPI/DTO/Messages/Category.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129778"
} | starcoder | <gh_stars>0
namespace DTO.Messages
{
public class Category
{
public string Name { get; set; }
public Category()
{
Name = "";
}
}
} | 1.613737 | d368afbc196be008defa8dba5621b31a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810559 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ufcpp/Utf8Utils",
"max_stars_repo_path": "src/Utf8Utils/Collections/ArraySegmentExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129779"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
namespace Utf8Utils.Collections
{
/// <summary>
/// <see cref="ArraySegment{T}"/>を簡易 Span として使うことにしたので、それに関連していくつか拡張メソッドを用意。
/// </summary>
public static class ArraySegmentExtensions
{
/// <summary>
/// 指定インデ... | 3.277364 | 9090d7ae7f976afc021ab890075e6075 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810560 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iwa32/RoleBattle",
"max_stars_repo_path": "Assets/MyGames/Scripts/Const/UIStrings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129780"
} | starcoder | /// <summary>
/// 定数クラス UIに表示する文字列
/// </summary>
public static class UIStrings
{
/// <summary>
/// 最終ラウンドを示唆する
/// </summary>
public static readonly string FINAL_ROUND = "Final Round";
/// <summary>
/// ラウンド数の接頭辞につける
/// </summary>
public static readonly string ROUND_PREFIX = "Round";... | 2.432087 | f2e2d662cfd80cb455916f0cbe3b68e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810561 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GuzzoLM/aws-lambda-dotnet",
"max_stars_repo_path": "Libraries/src/Amazon.Lambda.CognitoEvents/LambdaTriggerEvents/PreTokenGenerationTrigger/PreTokenGenerationRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129781"
} | starcoder | <filename>Libraries/src/Amazon.Lambda.CognitoEvents/LambdaTriggerEvents/PreTokenGenerationTrigger/PreTokenGenerationRequest.cs
using Amazon.Lambda.CognitoEvents.LambdaTriggerEvents.Base;
namespace Amazon.Lambda.CognitoEvents.LambdaTriggerEvents.PreTokenGenerationTrigger
{
/// <summary>
/// The request from th... | 1.98729 | b4b9562dc156210dc58e2b89303edd70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810690 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BorislavVladimirov/C-Software-University",
"max_stars_repo_path": "C# TechModule January 2019/Methods/Methods/test/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129910"
} | starcoder | <reponame>BorislavVladimirov/C-Software-University
using System;
namespace topNumber
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
PrintingMasterNumbers(n);
}
private static void PrintingMasterNumbers(int n)... | 3.696635 | 98ce7b00e30ba15300208471bba51569 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810691 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Orl4ne/OnlineServices",
"max_stars_repo_path": "Cross-Cutting/OS.CommonTests/TestHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129911"
} | starcoder | <reponame>Orl4ne/OnlineServices
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Serilog;
using System;
namespace OS.CommonTests
{
public static class TestHelper
{
public static Mock<ILogger> MockILogger()
{
var mockILogger = new Mock<ILogger>();
moc... | 1.769581 | dc91fa532d820c28fb5c3c73768fa366 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810692 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/personalizer/Azure.AI.Personalizer/src/Models/PersonalizerClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129912"
} | starcoder | <gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Core.Pipeline;
using Rl.Net;
namespace Azure.A... | 1.766847 | bbe4dfb917b7c88d40bb7654d99c85e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810693 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gaelgael5/galileo",
"max_stars_repo_path": "src/ApplicationCooperationViewPoint/NJsonSchema/Annotations/JsonSchemaExtensionDataAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129913"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="JsonSchemaExtensionDataAttribute.cs" company="NJsonSchema">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
// <license>https://github.com/RicoSuter/NJsonSchema/blob/master/LICENSE.md</license>
// <author><N... | 2.876144 | 9f38151c0859564555528129d6afa968 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810694 | {
"extension": "c-sharp",
"max_stars_count": "419.0",
"max_stars_repo_name": "ZUOXIANGE/DotNetCore.SKIT.FlurlHttpClient.Wechat",
"max_stars_repo_path": "src/SKIT.FlurlHttpClient.Wechat.Work/Converters/Newtonsoft.Json/List[int]/SeparatedByVBarInt32ListConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz... | starcoder | <reponame>ZUOXIANGE/DotNetCore.SKIT.FlurlHttpClient.Wechat<filename>src/SKIT.FlurlHttpClient.Wechat.Work/Converters/Newtonsoft.Json/List[int]/SeparatedByVBarInt32ListConverter.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace Newtonsoft.Json.Converters
{
internal class SeparatedByVBa... | 2.445639 | f15923bd8cb46f75260562d49efaf801 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810695 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brianjosephegan/coding-questions",
"max_stars_repo_path": "FizzBuzz/FizzBuzzTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129915"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace FizzBuzz
{
/// <summary>
/// Tests for FizzBuzz class.
/// </summary>
[TestFixture]
class FizzBuzzTests
{
/// <summary>
... | 2.96653 | 58f02d1147d2646df61d035c9cec9069 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810696 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "kulics/lite-csharp",
"max_stars_repo_path": "Library/ExpressionExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129916"
} | starcoder | <filename>Library/ExpressionExtension.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Library
{
public static partial class ExpressionExtension
{
// object
public static string To_Str(this object it) => it.ToString();
public static T ... | 3.161943 | 2d52c7e9842c5d810b1bf7311134aff7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810697 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Prissmelo/PriscilaVoando",
"max_stars_repo_path": "Views/Cliente/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:129917"
} | starcoder | <reponame>Prissmelo/PriscilaVoando<gh_stars>1-10
@model CRUDMVC.Models.Cliente;
@{
ViewData["Titurl()e"] = "Cliente";
var clientes = ViewData["clientes"] as List<Cliente>;
}
<h1>Gerenciamento de Clientes</h1>
<div class="container" style="background-image:url(https://images.designtrends.com/wp-content/up... | 2.468919 | 634e57826299074c16581af43dd06295 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810698 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "weikio/ApiFramework",
"max_stars_repo_path": "src/Weikio.ApiFramework.Core/Configuration/DefaultEndpointGroupNameProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129918"
} | starcoder | <gh_stars>10-100
using Weikio.ApiFramework.Abstractions;
namespace Weikio.ApiFramework.Core.Configuration
{
public class DefaultEndpointGroupNameProvider : IDefaultEndpointGroupNameProvider
{
public string GetDefaultGroupName(Endpoint endpoint)
{
return "api_framework_endpoint";
... | 1.421133 | 86a49eee1bd83c03a8e73fc2c3a863ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810699 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "YakhontovYaroslav/spark",
"max_stars_repo_path": "src/Spark.Mongo/Store/MongoIncluder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129919"
} | starcoder | /*
* Copyright (c) 2014, Furore (<EMAIL>) and contributors
* See the file CONTRIBUTORS for details.
*
* This file is licensed under the BSD 3-Clause license
* available at https://raw.github.com/furore-fhir/spark/master/LICENSE
*/
namespace Spark.Store.Mongo
{
public struct IncludeParameter
{
... | 2.007735 | d7fee63e3725963795b599074f38bb22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810700 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jbienzms/FeatureEngine",
"max_stars_repo_path": "Lib/Microsoft.FeatureEngine/Extensibility/SolutionTracker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129920"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EnvDTE;
namespace Microsoft.FeatureEngine
{
/// <summary>
/// A helper class that can be used to track items in a solution.
/// </summary>
internal class SolutionTracker
{
... | 2.913968 | 4aa26bd6294bdb04b65de2cddbb240f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810701 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "rynnwang/CommonSolution",
"max_stars_repo_path": "Development/Beyova.Common/Model/AuthenticationProfile/AuthenticationRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129921"
} | starcoder | namespace Beyova
{
/// <summary>
/// Class AuthenticationRequest.
/// </summary>
/// <typeparam name="T"></typeparam>
public class AuthenticationRequest<T> : AccessCredential
{
/// <summary>
/// Gets or sets the platform.
/// </summary>
/// <value>The platform.</... | 2.433182 | 65dc00956871f18bb131db2cd4f4c13a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810702 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "James226/esendex-dotnet-sdk",
"max_stars_repo_path": "source/ServiceBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129922"
} | starcoder | <gh_stars>0
using System;
using com.esendex.sdk.http;
using com.esendex.sdk.rest;
using com.esendex.sdk.utilities;
namespace com.esendex.sdk
{
/// <summary>
/// Represents a base service from which services are derived.
/// </summary>
public abstract class ServiceBase
{
internal ServiceBas... | 2.348191 | ae1bc518ba6b0ce32f25e46c5c7a5228 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810703 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tk-yoshimura/TensorShaderAVX",
"max_stars_repo_path": "TensorShader/Functions/LogicalArithmetric/NotEqual.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129923"
} | starcoder | namespace TensorShader {
public abstract partial class VariableNode {
/// <summary>ノットイコール</summary>
public static VariableNode NotEqual(VariableNode x1, VariableNode x2) {
return BinaryArithmetric(x1, x2, new Operators.LogicalArithmetric.NotEqual(x1.Shape));
}
/// <summ... | 2.636305 | a863f6bfdbb024f186bf31adf0335fad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810704 | {
"extension": "c-sharp",
"max_stars_count": "239.0",
"max_stars_repo_name": "studio-nine/Nine",
"max_stars_repo_path": "Source/Nine.Physics/BEPUphysics/EntityStateManagement/EntityBufferedStates.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129924"
} | starcoder | using BEPUphysics.Entities;
namespace BEPUphysics.EntityStateManagement
{
///<summary>
/// Contains a single entity's buffered states.
///</summary>
public class EntityBufferedStates
{
///<summary>
/// Gets the buffered states manager that owns this entry.
///</s... | 2.751218 | 7ae97c34eb8ca1a292d5e7f8c0c2bbd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810705 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bbarry/roslyn",
"max_stars_repo_path": "src/Compilers/Test/Utilities/CSharp/CompilingTestBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129925"
} | starcoder | <gh_stars>1-10
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Emit;
using Microsoft.CodeAnalysis.CShar... | 2.082336 | f74c289aa5bc2947f103ac8f18bb2f2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810706 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "filipw/ServiceStack",
"max_stars_repo_path": "src/ServiceStack.Razor/RazorHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129926"
} | starcoder | using System.Net;
using ServiceStack.Common.Web;
using ServiceStack.ServiceHost;
using ServiceStack.WebHost.Endpoints.Extensions;
using ServiceStack.WebHost.Endpoints.Support;
namespace ServiceStack.Razor
{
public class RazorHandler : EndpointHandlerBase
{
public RazorFormat RazorFormat { get... | 1.748811 | 2cc5cd591ab78c95d028b34af9a13cbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810707 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "kamilozturk/CronNET",
"max_stars_repo_path": "CronNET/ICronSchedule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129927"
} | starcoder | using System;
namespace CronNET
{
public interface ICronSchedule
{
bool IsValid(string expression);
bool IsTime(DateTime dateTime);
}
}
| 1.909092 | 7b236c3df7cbb83119b35ebe602e7a28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810708 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gjoll/Eir.FhirKhit",
"max_stars_repo_path": "Projects/Eir.FhirKhit.Shar/Extensions/BaseExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129928"
} | starcoder | <reponame>Gjoll/Eir.FhirKhit
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml;
using Hl7.Fhir.Model;
using Hl7.Fhir.Serialization;
using System.Threading;
using Eir.DevTools;
#if ... | 2.487751 | c5817d0c41b7a7f32bb90fa0b7742244 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810709 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dotneteer/monacoforblazor",
"max_stars_repo_path": "MonacoForBlazor/Api/Abstractions/IEditorScrollbarOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129929"
} | starcoder | <reponame>Dotneteer/monacoforblazor<filename>MonacoForBlazor/Api/Abstractions/IEditorScrollbarOptions.cs
using MonacoForBlazor.Api.Enums;
namespace MonacoForBlazor.Api.Abstractions
{
/// <summary>
/// Represents the scrollbar options of the editor
/// </summary>
public interface IEditorScrollbarOption... | 2.305257 | f0a4f527238f9bf76581c05a0df1628f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810710 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nowhh01/ConestogaDefence",
"max_stars_repo_path": "ConestogaDefence/Maps/Map.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129930"
} | starcoder | using Microsoft.Xna.Framework;
using System.Collections.Generic;
namespace ConestogaDefence.Maps
{
public class Map
{
public List<Vector2> Waypoints { get; protected set; } = new List<Vector2>();
public int[,] Layout { get; protected set; }
public Vector2 EnemySpawningPoint { ... | 2.152917 | 9142cdce380e08c4867cc757a7c9531a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810711 | {
"extension": "c-sharp",
"max_stars_count": "106.0",
"max_stars_repo_name": "foonix/unity-midi-imuse",
"max_stars_repo_path": "Assets/UnityMidi/CSharpSynth/Source/AudioSynthesis/Bank/Components/Generators/GeneratorParameters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129931"
} | starcoder | <reponame>foonix/unity-midi-imuse<gh_stars>100-1000
namespace AudioSynthesis.Bank.Components.Generators
{
public class GeneratorParameters
{
public double phase;
public double currentStart;
public double currentEnd;
public GeneratorStateEnum currentState;
publi... | 2.742332 | 3b6e945c860a904c83ee28ee0ba82030 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810712 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "401-Midterm-Project/Midterm-Project",
"max_stars_repo_path": "DaytaCare/Data/DaytaCareDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129932"
} | starcoder | <filename>DaytaCare/Data/DaytaCareDbContext.cs
using System;
using DaytaCare.Models.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using DaytaCare.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.AspNetCore.Identity;
namespace DaytaCare.Data
{
public class DaytaCareDbContext : Ident... | 2.368053 | bb60611fd2994b3ccd58087ae6903a4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810713 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "SSEHUB/EASyProducer",
"max_stars_repo_path": "Plugins/EASy-Producer/ScenariosTest/testdata/real/INDENICA/PL_WMS_Platform/WMSsolution/WMSClient/Service References/GeneralTransportServiceReference/Reference.cs",
"provenance": "train-00... | starcoder | <filename>Plugins/EASy-Producer/ScenariosTest/testdata/real/INDENICA/PL_WMS_Platform/WMSsolution/WMSClient/Service References/GeneralTransportServiceReference/Reference.cs<gh_stars>1-10
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated b... | 1.618308 | c454471b24734cc81c6cf61331ce9ddc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810714 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ulivegenov/SmartCarRentals",
"max_stars_repo_path": "Data/SmartCarRentals.Data.Models/Parking.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129934"
} | starcoder | <filename>Data/SmartCarRentals.Data.Models/Parking.cs
namespace SmartCarRentals.Data.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using SmartCarRentals.Common;
using SmartCarRentals.Data.Common.Models;
using SmartC... | 2.342094 | 04f82765e0b8188c0dd94843bb255d77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810715 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Adan905/Los-simpsons-api",
"max_stars_repo_path": "Controllers/CharacterController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129935"
} | starcoder |
using System.Collections.Generic;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;
using todoapi.Dependencies;
using todoapi.Models;
namespace todoapi.Controllers
{
[Route("simpsons/[controller]")]
[ApiController]
[EnableCors("AllowOrigin")]
public class CharacterControll... | 2.499211 | d114c1c090fcfa8900b8a0c96d6ef249 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810716 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "akaver/p2p",
"max_stars_repo_path": "Ledger/Requests/RequestPing.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129936"
} | starcoder | using System.Linq;
using System.Threading.Tasks;
using DAL;
using Domain;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
namespace Ledger.Requests
{
public static class RequestPing
{
public static async Task<string> Response(AppDbContext dbContext, HttpCont... | 2.176979 | a45fa04d9571ad14002dd1f7dbcdbe43 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810717 | {
"extension": "c-sharp",
"max_stars_count": "234.0",
"max_stars_repo_name": "Drul1337/DigitalRune",
"max_stars_repo_path": "Source/DigitalRune.Mathematics/Interpolation/CurveKey2F.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129937"
} | starcoder | <gh_stars>100-1000
// DigitalRune Engine - Copyright (C) DigitalRune GmbH
// This file is subject to the terms and conditions defined in
// file 'LICENSE.TXT', which is part of this source code package.
using System;
using DigitalRune.Mathematics.Algebra;
namespace DigitalRune.Mathematics.Interpolation
{
/// <sum... | 2.425778 | 2a17b0ff9b05e5d572a9853c8407c837 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.