added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850412 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "REFIRSER2/Rts",
"max_stars_repo_path": "Assets/Plugins/CodeStage/AntiCheatToolkit/Runtime/Scripts/Utils/StringUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169632"
} | starcoder | <gh_stars>0
#region copyright
// ---------------------------------------------------------------
// Copyright (C) <NAME> - focus [https://codestage.net]
// ---------------------------------------------------------------
#endregion
namespace CodeStage.AntiCheat.Utils
{
using System.Text;
internal static class Stri... | 2.786716 | eebf1b3acaa5c47689e2c71565765f41 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850413 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stanac/FunctionalRecords",
"max_stars_repo_path": "tests/FunctionalRecords.Tests/Choice2Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169633"
} | starcoder | using FluentAssertions;
using System;
using System.Threading.Tasks;
using Xunit;
namespace FunctionalRecords.Tests;
public class Choice2Tests
{
[Fact]
public void Choice2_SetToT1_SetsSelectedIndexTo1()
{
Choice<int, string> c = 3;
c.SelectedIndex.Should().Be(1);
}
[Fact]
publ... | 2.603595 | 86a575daf78110ebe458ba4b732c7bd0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850414 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "quidan/microsoft-teams-apps-newemployeeonboarding",
"max_stars_repo_path": "Source/Microsoft.Teams.Apps.NewHireOnboarding.Tests/TestData/ConfigurationData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169634"
} | starcoder | <reponame>quidan/microsoft-teams-apps-newemployeeonboarding<filename>Source/Microsoft.Teams.Apps.NewHireOnboarding.Tests/TestData/ConfigurationData.cs
// <copyright file="ConfigurationData.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace Microsoft.Teams.Apps.NewHireO... | 1.825793 | c1de8a221531ea163ba6d7c1105d07ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850415 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Coder330-Star/UnityNGUIProject",
"max_stars_repo_path": "Assets/Scripts/08/MyChatInput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169635"
} | starcoder | <filename>Assets/Scripts/08/MyChatInput.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MyChatInput : MonoBehaviour
{
public UIInput input;
public UITextList textList;
private string[] names = new string[] { "siki", "老师", "学生", "大师" };
public void OnSu... | 2.367276 | c70fdb6cc46695e8fdb814dfdc7eaea2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850416 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fengcode-git/GAsk",
"max_stars_repo_path": "GAsk/GAsk/Library/Entity/CommentView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169636"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FengCode.Libs.Ado;
namespace GAsk.Library.Entity
{
/// <summary>
/// 评论视图
/// </summary>
public class CommentView : BaseEntity
{
public Guid Id { get; set; }
/// <summary>
... | 1.883495 | 9be3d01178584ae185418220fea50fb1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850417 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "arnold256/agpsl.NET",
"max_stars_repo_path": "src/agpsl.NET/PMTK/InputMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169637"
} | starcoder | // MIT License
// Copyright(c) 2017 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge... | 2.53293 | 32f01f7913740f26d4fc43162fa6072f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850418 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "franck-gaspoz/WPFUtilities",
"max_stars_repo_path": "WPFUtilities/Converters/ValidDoubleValueFilterConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169638"
} | starcoder | <filename>WPFUtilities/Converters/ValidDoubleValueFilterConverter.cs
using System;
using System.Globalization;
using System.Windows.Data;
using WPFUtilities.ComponentModels;
namespace WPFUtilities.Converters
{
/// <summary>
/// transform NaN and Infinite double values to 0, emse keep value
/// </summary>... | 2.974753 | c235d956f2df6cbd91f24a722478e26c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850419 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Ballpits/checkem-applications",
"max_stars_repo_path": "src/Checkem.Models/NEW/Todo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169639"
} | starcoder | using System;
using System.Collections.Generic;
namespace Checkem.Models.NEW
{
public class Todo
{
public int Id { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public bool IsComplteted { get; set; } = false;
public bool IsSta... | 1.952061 | 9b8d4dc7aeab0931699a8ec22c07839d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850420 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MichalSiatkowski/CodeBits",
"max_stars_repo_path": "sources/CodeBits_Net30/ObservableCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169640"
} | starcoder | #region --- License & Copyright Notice ---
/*
Useful code blocks that can included in your C# projects through NuGet
Copyright (c) 2012-2019 <NAME>
All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a cop... | 2.290598 | b14b8a72628e6308389e5e16c51ce23a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850421 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "pgallik/shaperon",
"max_stars_repo_path": "test/Be.Vlaanderen.Basisregisters.Shaperon.Tests/RecordNumberTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169641"
} | starcoder | namespace Be.Vlaanderen.Basisregisters.Shaperon
{
using System;
using AutoFixture;
using AutoFixture.Idioms;
using Xunit;
public class RecordNumberTests
{
private readonly Fixture _fixture;
public RecordNumberTests()
{
_fixture = new Fixture();
_... | 2.499424 | f4bebff4a71b73775048a11bd73ec9d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850422 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dcasadevall/tabletop-combat-helper",
"max_stars_repo_path": "Assets/Scripts/TileVisibility/TileVisibilityUpdater.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169642"
} | starcoder | using System;
using System.Collections.Generic;
using Grid;
using Grid.Commands;
using Grid.Positioning;
using Math;
using Units;
using Zenject;
namespace TileVisibility {
/// <summary>
/// Class responsible for updating tile visibility based on unit movement.
/// It will notify injected <see cref="ITileVi... | 2.621869 | 7126e14903f9ebda80cc4e5e51f2788e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850423 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SoniyaVij/DeliveryOnGo",
"max_stars_repo_path": "src/dotnetCloudantWebstarter/Home/Login.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:169643"
} | starcoder | @model CloudantDotNet.Models.UserModel
@{
@using (Html.BeginForm("LoginUser", "Home", Model, FormMethod.Post))
{
<div>
<table style="width:100%">
<tr>
<td width="30%" align="right">@Html.LabelFor(model => model.UserName)</td>
<td ali... | 2.503113 | 77775efebecd8d286bcb28c22e00c115 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850424 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jonmcquade/csharp-snippets",
"max_stars_repo_path": "SmartStoreNET-3.x/src/Libraries/SmartStore.Data/Setup/Builder/PermissionMigrator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169644"
} | starcoder | using System.Data.Entity;
using System.Linq;
using SmartStore.Core.Data;
using SmartStore.Core.Domain.Customers;
using SmartStore.Core.Domain.Security;
namespace SmartStore.Data.Setup
{
internal class PermissionMigrator
{
private readonly SmartObjectContext _ctx;
private readonly DbSet<PermissionRecord> _permis... | 2.391579 | 51f47c6fe58c02fd3385ec029de34109 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850425 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ctrl-alt-d/eaprecull",
"max_stars_repo_path": "BusinessLayer.Abstract/Generic/ICreate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169645"
} | starcoder | <reponame>ctrl-alt-d/eaprecull<filename>BusinessLayer.Abstract/Generic/ICreate.cs
using System.Threading.Tasks;
using CommonInterfaces;
using DTO.i;
using DTO.o.Interfaces;
namespace BusinessLayer.Abstract.Generic
{
public interface ICreate<TDTO, TParm>
: IBLOperation
where TDTO : IDTOo, IEtiqu... | 1.633308 | be88bb544a84e14c823f3bf8019b2438 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850426 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "hbjorgo/procosys-preservation-api",
"max_stars_repo_path": "src/tests/Equinor.ProCoSys.Preservation.Infrastructure.Tests/ContextHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169646"
} | starcoder | using Equinor.ProCoSys.Preservation.Domain;
using Equinor.ProCoSys.Preservation.Domain.Events;
using Microsoft.EntityFrameworkCore;
using Moq;
namespace Equinor.ProCoSys.Preservation.Infrastructure.Tests
{
public class ContextHelper
{
public ContextHelper()
{
DbOptions = new DbCont... | 1.912664 | 49f5034af74b6132afbaace17e758f0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850427 | {
"extension": "c-sharp",
"max_stars_count": "353.0",
"max_stars_repo_name": "MiheevN/USharp",
"max_stars_repo_path": "Managed/UnrealEngine.Runtime/UnrealEngine.Runtime/Internal/ManagedUnrealTypes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169647"
} | starcoder | <reponame>MiheevN/USharp
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Security.Cryptography;
using System.Text;
using UnrealEngine.Runtime.Native;
namespace UnrealEngine.Runtime
{
public static partial class ManagedUnrealTypes
... | 2.343025 | 1b6801abd6176df99829cf8bfa2b47e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850428 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AuriRex/UIEngine",
"max_stars_repo_path": "UIEngine/HarmonyPatches/ButtonStaticAnimationsPatch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169648"
} | starcoder | using HMUI;
using SiraUtil.Affinity;
using UIEngine.Configuration;
using UIEngine.Managers;
namespace UIEngine.HarmonyPatches
{
internal class ButtonStaticAnimationsPatch : IAffinity
{
public const string BSMLBUTTON_CLONE_NAME = "PracticeButton(Clone)";
private readonly PluginConfig _pluginConfig;
private... | 2.065849 | d6e770eb07cdfed10ed81a62fe68372e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850429 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kgorbenko/exercism",
"max_stars_repo_path": "csharp/triangle/Triangle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169649"
} | starcoder | public static class Triangle
{
public static bool IsScalene(double side1, double side2, double side3)
=> IsTriangle(side1, side2, side3) &&
side1 != side2 && side2 != side3 && side1 != side3;
public static bool IsIsosceles(double side1, double side2, double side3)
=> IsTriangle(side1... | 3.703375 | a92439a1c8d0ee2a10e57ba617440fbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850430 | {
"extension": "c-sharp",
"max_stars_count": "3223.0",
"max_stars_repo_name": "kouvel/corert",
"max_stars_repo_path": "src/Common/src/Interop/Windows/Mincore/Interop.CLSIDFromProgID.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169650"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.InteropServices;
internal static partial class Interop
{
internal static partial class mincore
{
[DllImport("api-ms-win-core-com-l... | 1.512821 | 769335bab6a60f52935b02a124dab310 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850431 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "VelinovAngel/My-ASP-Core-Web-Project",
"max_stars_repo_path": "Data/BikesBooking.Data.Models/Review.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169651"
} | starcoder | <filename>Data/BikesBooking.Data.Models/Review.cs<gh_stars>1-10
namespace BikesBooking.Data.Models
{
using System;
using System.ComponentModel.DataAnnotations;
using BikesBooking.Data.Common.Models;
public class Review : BaseDeletableModel<int>
{
[Required]
[MaxLength(20)]
... | 2.397548 | 5de4de59e99bd962227a8a989087db53 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850432 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HorvatJosip/Braco",
"max_stars_repo_path": "src/Braco.Utilities.Wpf/EntryPoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169652"
} | starcoder | using Braco.Utilities.Extensions;
using System;
using System.Reflection;
namespace Braco.Utilities.Wpf
{
class EntryPoint
{
static void Main(string[] args)
{
Console.WriteLine(Assembly.GetCallingAssembly().FullName);
Console.WriteLine(args.Join(", "));
... | 2.033531 | af1c49f3667d0362820300e0e1c00464 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "QuinntyneBrown/contest-api",
"max_stars_repo_path": "ContestsApi/Models/Contest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169653"
} | starcoder | <reponame>QuinntyneBrown/contest-api
using System.Collections.Generic;
namespace ContestsApi.Models
{
public class Contest
{
public int Id { get; set; }
public string Name { get; set; }
public ICollection<ContestEntry> ContestEntryies { get; set; } = new HashSet<ContestEntry>();
... | 1.947288 | 3f14cfd19b6def2d83ff4c726a30abdd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850434 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ameerwasi001/TemplatineSharp",
"max_stars_repo_path": "Token.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169654"
} | starcoder | using System.Collections.Generic;
public class Token
{
public static string TT_NUMBER = "NUMBER";
public static string TT_IDENT = "IDENT";
public static string TT_KEYWORD = "KEYWORD";
public static string TT_DOT = "DOT";
public static string TT_EE = "EE";
public static string TT_NE = "NE";
... | 2.791214 | cb963244183111ecb7160866b210be21 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850435 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PhoenixAceVFX/The-Black-Arms-SDX",
"max_stars_repo_path": "CVR Official/ABI.CCK/Scripts/Editor/CCK_ObjectSyncEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169655"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using ABI.CCK.Components;
using UnityEditor;
using UnityEditorInternal;
using UnityEngine;
[CustomEditor(typeof(ABI.CCK.Components.CVRObjectSync))]
public class CCK_ObjectSyncEditor : UnityEditor.Editor
{
public override void OnInspectorGUI()
{
... | 1.248112 | 9a26f6da55732c97dfba4c0a670afdbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850436 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "scherenhaenden/GalleryStoreManager",
"max_stars_repo_path": "FilesTooling/Find/SeekFiles.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169656"
} | starcoder | <reponame>scherenhaenden/GalleryStoreManager
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace FilesTooling.Find
{
public class SeekFiles: ISeekFiles
{
public string[] GetFilePathsByTargetDirectory(string path)
{
var files = Directory.Get... | 2.757427 | 8334c02b34d47f90d108e2518ab42648 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850437 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Softeq/Zendesk-xamarin-ios",
"max_stars_repo_path": "SDKConfigurations.Bindings/Structs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169657"
} | starcoder | using ObjCRuntime;
namespace SDKConfigurations.Bindings
{
[Native]
public enum ConfigurationError : long
{
ConfigurationErrorNoConfig = 0
}
}
| 1.128627 | 6fbcdb67344e2b09dde2ee9f1105ba31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850438 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "e-rik/XRoadLib",
"max_stars_repo_path": "test/XRoadLib.Tests.Contract/MimeContent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169658"
} | starcoder | namespace XRoadLib.Tests.Contract;
public class MimeContent : XRoadSerializable
{
[XRoadXmlElement(UseXop = false)]
public Stream? Value { get; set; }
} | 1.499949 | 68dbe31b3b76612909a7fc00885aa29b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850439 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jl632541832/Fur",
"max_stars_repo_path": "framework/Fur.Extras.Authentication.JwtBearer/Extensions/HttpContextExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169659"
} | starcoder | namespace Microsoft.AspNetCore.Http
{
/// <summary>
/// HttpContext 拓展类
/// </summary>
public static class HttpContextExtensions
{
/// <summary>
/// 获取 JWT Token
/// </summary>
/// <param name="httpContext"></param>
/// <returns></returns>
public stat... | 2.804524 | fc74a4c25e7963c226c36d37f84cd03e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850440 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jimmychang94/JJCommerce",
"max_stars_repo_path": "JandJCommerce/JandJCommerce/Pages/Profile.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:169660"
} | starcoder | <reponame>jimmychang94/JJCommerce
@page
@model JandJCommerce.Pages.ProfileModel
@{
ViewData["Title"] = "Profile";
Layout = "_Layout";
}
<div class="container pt-5">
<form method="post">
<div class="form-group row">
<h6 class="col-sm-2 offset-sm-1"><label asp-for="FirstName" class="co... | 1.781587 | 800ad8d2acd70701e84553b063ac0a37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850441 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "mcavigelli/wpf-samples",
"max_stars_repo_path": "Applications/IGOutlook/IGOutlook/IgOutlook/Shell.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169661"
} | starcoder | using Infragistics.Windows.Ribbon;
using IgOutlook.Infrastructure;
using Infragistics.Windows.OutlookBar;
namespace IgOutlook
{
/// <summary>
/// Interaction logic for Shell.xaml
/// </summary>
public partial class Shell : XamRibbonWindow
{
public Shell(ShellViewModel viewModel)
{
... | 2.053522 | 0a875f867c4e4e229b052166bd75d8b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850442 | {
"extension": "c-sharp",
"max_stars_count": "2607.0",
"max_stars_repo_name": "tephyrnex/oxyplot",
"max_stars_repo_path": "Source/OxyPlot/PlotView/IPlotView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169662"
} | starcoder | <gh_stars>1000+
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IPlotView.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// <summary>
// Specifies functionality for the plot views.
// </su... | 2.364859 | b2e51960611d8ef1f764980da7f73676 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850443 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "agileharbor/jetAccess",
"max_stars_repo_path": "src/JetAccess/Services/Parsers/GetProductUrlsResponseParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169663"
} | starcoder | using System.IO;
using JetAccess.Models.Services.JetRestService.GetProductUrls;
using JetAccess.Services.Parsers;
using Newtonsoft.Json;
namespace JetAccess.Services
{
internal class GetProductUrlsResponseParser: JsonResponseParser< GetProductUrlsResponse >
{
private class ServerResponse
{
#pragma warning disabl... | 2.483419 | eb1c314a6323b8e7d5fca895b7cd54b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850444 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mono/facebook-sharp",
"max_stars_repo_path": "src/Mono.Facebook.Platform/Responses/EducationInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169664"
} | starcoder | using System;
namespace Mono.Facebook.Platform
{
public class EducationInfo
{
}
}
| 0.951698 | ff639f9cc79626d9b3aeb732fd21ad8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850445 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "undancer/oni-data",
"max_stars_repo_path": "Managed/main/Polluter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169665"
} | starcoder | using UnityEngine;
public class Polluter : IPolluter
{
private int _radius;
private int decibels;
private Vector2 position;
private string sourceName;
private GameObject gameObject;
private NoiseSplat splat;
public int radius
{
get
{
return _radius;
}
private set
{
_radius = value;
if ... | 2.285669 | 175dfb5c376ea973d1ac0fdf15694c89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850446 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "alexsantana-developer/pension-fund-backend",
"max_stars_repo_path": "Alex.Developer.Pension.Funds/Repositories/IPlanRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169666"
} | starcoder | using Alex.Developer.Pension.Funds.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace Alex.Developer.Pension.Funds.Domain.Repositories
{
public interface IPlanRepository
{
//Nosso repositorio não dependerar de implementação e sim de um contrato
bool C... | 1.811558 | 3f6721ec3e264f0faf2a688f5f6bf139 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850447 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "H1NIVyrus/BRKDWNSANDBRKUPS",
"max_stars_repo_path": "Assets/Tools/Koreographer/Integrations/PlayMaker/Actions/GetKoreographyEventPayloadCurve.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169667"
} | starcoder | //----------------------------------------------
// Koreographer
// Copyright © 2014-2016 Sonic Bloom, LLC
//----------------------------------------------
using UnityEngine;
using HutongGames.PlayMaker;
using Tooltip=HutongGames.PlayMaker.TooltipAttribute;
namespace SonicBloom... | 2.328262 | 7330f65d9c139edc19c7db0b46d7582e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850448 | {
"extension": "c-sharp",
"max_stars_count": "440.0",
"max_stars_repo_name": "WeiiWang/AgileMapper",
"max_stars_repo_path": "AgileMapper/Queryables/Converters/ComplexTypeConditionalConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169668"
} | starcoder | <reponame>WeiiWang/AgileMapper<filename>AgileMapper/Queryables/Converters/ComplexTypeConditionalConverter.cs
namespace AgileObjects.AgileMapper.Queryables.Converters
{
#if NET35
using Microsoft.Scripting.Ast;
#else
using System.Linq.Expressions;
#endif
using Extensions.Internal;
using NetStandardPolyfi... | 2.295825 | 34a48d42d4b11f756aa7c98b81b8bcc6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850449 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "arturradiuk/PT",
"max_stars_repo_path": "WpfApp/Model/DataContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169669"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Runtime.Serialization;
using Logic;
namespace Model
{
public class DataContext : IDataContext
{
private readonly IDataService _service;
public DataContext(IDataService _service)
{
this._service = _service;
... | 2.776307 | 91874256debe293f5bc2898c84e6eb32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850450 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RishDaKid/Virus-Game",
"max_stars_repo_path": "VirusOpdracht/Computer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169670"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
namespace VirusOpdracht
{
class Computer : AI
{
public Brush SpelerKleur { get; set; } //get SpelerKleur
public Computer()
{
... | 2.587856 | 1eefc3209bdd36f3e3a12f0f3864b7e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850451 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "ProGamerCode/Imagine_street-racing",
"max_stars_repo_path": "Street Racing/assets/Scripts/UIManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169671"
} | starcoder | <reponame>ProGamerCode/Imagine_street-racing
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System;
/// <summary>
/// User interface manager. This controls most of the UI logic for the game.
/// </summary>
public class UIManager : MonoBehaviour
{
public static UIManager Instance { get; priv... | 2.431302 | c6501da989a8721ae39cedef939d5419 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850452 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "waikhaisheng/angular.netFw",
"max_stars_repo_path": "NetFramework/Common/Utils/ValidateUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169672"
} | starcoder | <filename>NetFramework/Common/Utils/ValidateUtil.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mail;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Common.Utils
{
public static class ValidateUtil
{
public static... | 2.893593 | 8c5b511dc73896d95c8048ea26a0b07f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850453 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jsbattig/nctrie",
"max_stars_repo_path": "UnitTestNCTrie/ConcurrentTrie/UnitTestConcurrentTrieMultiThreadedAddDelete.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169673"
} | starcoder | <reponame>jsbattig/nctrie
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using JSB.Collections.ConcurrentTrie;
using System.Threading;
namespace UnitTestNCTrie.ConcurrentTrie
{
[TestClass]
public class UnitTestConcurrentTrieMultiThreadedAddDelete
{
private static int RETRIES = 1... | 2.657777 | b49c5f259ba41635920f88bd9700b4a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850454 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BastianBlokland/hellotriangle-dotnet",
"max_stars_repo_path": "ht.engine/src/Math/Half.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169674"
} | starcoder | using System;
using System.Runtime.InteropServices;
using HT.Engine.Math;
namespace HT.Engine.Math
{
/// <summary>
/// Representation of a 16 bit floating point value, use only as a storage / conversion type.
/// Conversion implementation based on xna's halfSingle implementation
/// </summary>
[S... | 2.907247 | 911d60e15597d6b1a345900dcce107a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850455 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pikacxe/ASP.NET_Projects",
"max_stars_repo_path": "WEB1/Klasa.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169675"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Klasa : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Animal[] niz = new Animal[4]
{
new Bird("Papagaj","~/Slike/Papagaj.jpg"... | 2.387741 | 7d35e755b9579f471d66960276863383 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850456 | {
"extension": "c-sharp",
"max_stars_count": "54.0",
"max_stars_repo_name": "stormpath/stormpath-sdk-dotnet",
"max_stars_repo_path": "test/Stormpath.SDK.Tests.Common/Integration/TestFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169676"
} | starcoder | // <copyright file="TestFixture.cs" company="Stormpath, Inc.">
// Copyright (c) 2016 Stormpath, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/lice... | 1.702083 | e01a660f905ec50263fbfceedebbf59d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850457 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hancheester/apollo",
"max_stars_repo_path": "Data Access/Apollo.DataAccess.EF/Mapping/CurrencyCountryMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169677"
} | starcoder | using Apollo.Core.Model.Entity;
using System.Data.Entity.ModelConfiguration;
namespace Apollo.DataAccess.EF.Mapping
{
public class CurrencyCountryMap : EntityTypeConfiguration<CurrencyCountry>
{
public CurrencyCountryMap()
{
this.ToTable("CurrencyCountry");
this.HasKey(... | 2.154011 | 3eee669393509fa3599f8df11bdfafaa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850458 | {
"extension": "c-sharp",
"max_stars_count": "99.0",
"max_stars_repo_name": "nicholas-maltbie/OpenKCC",
"max_stars_repo_path": "Packages/com.nickmaltbie.openkcc/OpenKCC/Utils/IKCCConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169678"
} | starcoder | <reponame>nicholas-maltbie/OpenKCC<filename>Packages/com.nickmaltbie.openkcc/OpenKCC/Utils/IKCCConfig.cs
// Copyright (C) 2022 <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 witho... | 2.108985 | 3f961a9d53e7d529ce4a5d58882eedb9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850459 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AlexRos101/QURAS_CORE",
"max_stars_repo_path": "Quras-gui/Dialogs/AlertDialog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169679"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Quras_gui.Global;
namespace Quras_gui.Dialogs
{
public enum AlertLevel
{
Warning,
... | 2.505916 | 1f2a8c7394172035bf43c6c89a2e189a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850460 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Develeon64/Macro-Deck-Spotify-Plugin",
"max_stars_repo_path": "Views/PauseActionConfigView.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169680"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Develeon64.SpotifyPlugin.Views {
public partial class PauseActionConfigView {
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwen... | 1.987083 | 6636367564ee54f8ac0315c403383cc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850461 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kostkams/csharp-mongo",
"max_stars_repo_path": "template/csharp-mongo/function/Models/ResponseModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169681"
} | starcoder | <reponame>kostkams/csharp-mongo
namespace Function
{
/// <summary>
/// A Response model.
/// </summary>
public class ResponseModel
{
/// <summary>
/// An object that represents the http response.
/// </summary>
public object response { get; set; }
/// <summar... | 1.77502 | af779b0958f2c0d31e110a4cfc282320 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850462 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MetalKid/MetalCore.CQS",
"max_stars_repo_path": "src/MetalCore.CQS/Query/IQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169682"
} | starcoder | <reponame>MetalKid/MetalCore.CQS
namespace MetalCore.CQS.Query
{
/// <summary>
/// This interfaces defines a query that returns a specific result type.
/// </summary>
/// <typeparam name="TResult">The type of result being returned.</typeparam>
// ReSharper disable once UnusedTypeParameter - Used by... | 1.928287 | 44f0e17d8135f000043ee65fad18e8d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850463 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mat-os/Ludum-Dare-46-Git",
"max_stars_repo_path": "Assets/Scripts/GameManagers/SpawnEnemyOnStageSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169683"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnEnemyOnStageSystem : MonoBehaviour
{
//Позиции, в которых спавнятся монстры
public Transform enemySpawnPosCenter;
public Transform enemySpawnPosMidleft;
public Transform enemySpawnPosMidRight;
public... | 2.469547 | 7f79d4d7272dfa9e8427bf162231c24d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850464 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "xfs81150082/TumoET",
"max_stars_repo_path": "Server/Hotfix/Tumo/Nousing/AttackComponentUpdateSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169684"
} | starcoder | <reponame>xfs81150082/TumoET
using ETModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ETHotfix
{
[ObjectSystem]
public class AttackComponentUpdateSystem : UpdateSystem<AttackComponent>
{
public override void Update(AttackComponent self)
... | 1.511284 | 3dccd981a57a5c2510294f8cb445ccab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850465 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Rufus31415/WebIDL2Unity",
"max_stars_repo_path": "Unity-Test/Assets/WebXR/WebXRDeviceAPI/WebGLRenderingContextBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169685"
} | starcoder |
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
public partial class WebGLRenderingContextBase : WebIDL2UnityObject {
private static readonly Dictionary<int, Promise<WebGLRenderingContextBase_MakeXRCompatible_delegate >> WebGLRenderingContextBase_MakeXRCompatible_promises... | 1.873185 | 8794163553854819a07500388c527451 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850466 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "freshncp/Larva.Core",
"max_stars_repo_path": "src/Larva.Core/Logging/ILogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169686"
} | starcoder | <gh_stars>0
using System;
namespace Larva.Core.Logging
{
/// <summary>
/// 日志
/// </summary>
public interface ILogger
{
/// <summary>
/// 致命错误
/// </summary>
/// <param name="message"></param>
void Fatal(object message);
/// <summary>
/// 致命错... | 1.984774 | e60c860642fd3cff95b827b60242d110 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850467 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "kjgriffin/LivestreamServiceSuite",
"max_stars_repo_path": "Xenon/SlideAssembly/SlideFormat.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169687"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Xenon.SlideAssembly
{
public enum SlideFormat
{
Video,
FilterImage,
ScaledImage,
AutoscaledImage,
UnscaledImage,
LiturgyImage,
Liturgy,
LiturgyVerse,
LiturgyTitl... | 1.822973 | 18d89bcb0695d01d2bd594b85a867a74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850468 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/bitgrids/src/bitgrid/ops/create.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169688"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using static Root;
... | 2.00113 | aed42d9154cc6d216a4703bc74d62cdd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850469 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KnJbMfLAgdkwZL/PhoneShop",
"max_stars_repo_path": "Business/DTO/PhoneSpecificationsAPI/ListBrands/BrandDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169689"
} | starcoder | namespace Application.DTO.PhoneSpecificationsAPI.ListBrands
{
public class BrandDto
{
public int Brand_id { get; set; } = 0;
public string Brand_name { get; set; } = string.Empty;
public string Brand_slug { get; set; } = string.Empty;
public int Device_count { get; set; } = 0;
... | 1.626391 | e492f31e53e0fd2750ad7384ccb9a657 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850470 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robaElshazly/MobileCan",
"max_stars_repo_path": "MobileCan/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:169690"
} | starcoder | @model MobileCan.Models.HomeViewModel
@{
ViewBag.Title = "Home Page";
}
<!-- Page Content -->
<div class="container">
<div class="row">
<div class="col-lg-3">
<h1 class="my-4">Shop Name</h1>
@Html.Partial("_CategoriesPartial", Model.Categories)
</div>
... | 2.421517 | bde348502a17a6f59ceb2f36f806d807 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850471 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aldentea/MP3Tag",
"max_stars_repo_path": "MP3TagChecker/ViewModel/MainWindowViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169691"
} | starcoder | <filename>MP3TagChecker/ViewModel/MainWindowViewModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Input;
using System.Threading.Tasks;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace Aldentea.MP3Tag.Checker.ViewModel
{
internal cl... | 2.788095 | 8ad4d67fd09b3655d111da630f0dc9d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850472 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ranta-demo/Ranta.CassandraDemo",
"max_stars_repo_path": "DataStaxCassandra/Cassandra/BEBinaryWriterFrame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169692"
} | starcoder | <reponame>ranta-demo/Ranta.CassandraDemo
//
// Copyright (C) 2012 DataStax Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENS... | 1.907233 | dcd6882774ce14e68c346dd0613a2b29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850473 | {
"extension": "c-sharp",
"max_stars_count": "1024.0",
"max_stars_repo_name": "MCMrARM/sandbox-attacksurface-analysis-tools",
"max_stars_repo_path": "NtApiDotNet/Win32/Security/Sam/SamAlias.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169693"
} | starcoder | // Copyright 2021 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... | 2.286615 | 8da2a04d48b8b50e1da66a3c664f715b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850474 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BastienPerdriau/HelpFileMarkdownBuilder",
"max_stars_repo_path": "Tests/HelpFileMarkdownBuilder.Tests.Assembly1/InternalInheritedClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169694"
} | starcoder | namespace HelpFileMarkdownBuilder.Tests.Assembly1
{
/// <summary>
/// Internal inherited class
/// </summary>
internal class InternalInheritedClass : InternalAbstractClass
{
}
}
| 1.428198 | 9505ed49e8cc40bf47daa3dfb040e91c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850475 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "kamreo/Zakupowo",
"max_stars_repo_path": "ShopApp/Models/Auction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169695"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
using ShopApp.DAL;
namespace ShopApp.Models
{
public class Auction : IConcurrencyAwareEntity
{
[Key]
public int ... | 2.076902 | c0615553b95cc9357e2a5a2a745e2b4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850476 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "schleepy/vrc-udon-api",
"max_stars_repo_path": "VRCUdonAPI/Controllers/CrudController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169696"
} | starcoder | <reponame>schleepy/vrc-udon-api
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Threading.Tasks;
using VRCUdonAPI.Extensions;
using VRCUdonAPI.Services;
namespace VRCUdonAPI.Controllers
{
publ... | 2.180331 | 3f8320714d05b3a9c06517f211a6326a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850477 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JTOne123/hootsuite-rest",
"max_stars_repo_path": "src.net/Hootsuite-Rest/Domain/Interaction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169697"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
namespace Hootsuite.Domain
{
/// <summary>
/// Class Interaction.
/// </summary>
public class Interaction
{
/// <summary>
/// Gets or sets from social network identifier.
/// </summary>
/... | 2.650226 | 749bfb3953fd969a8b7103c51d61affa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850478 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stwalkerster/eyeinthesky",
"max_stars_repo_path": "EyeInTheSky.Tests/Services/SubscriptionHelperTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169698"
} | starcoder | <reponame>stwalkerster/eyeinthesky
namespace EyeInTheSky.Tests.Services
{
using System.Collections.Generic;
using EyeInTheSky.Model;
using EyeInTheSky.Model.Interfaces;
using EyeInTheSky.Services;
using EyeInTheSky.Services.Interfaces;
using Moq;
using NUnit.Framework;
using Stwalkers... | 2.046415 | e008d2be77e621238efef82022ae149a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850479 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Daymortel/Stump",
"max_stars_repo_path": "src/Stump.Server.WorldServer/game/effects/handlers/Spells/Targets/SummonerCriterion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169699"
} | starcoder | using Stump.Server.WorldServer.Game.Actors.Fight;
namespace Stump.Server.WorldServer.Game.Effects.Handlers.Spells.Targets
{
public class SummonerCriterion : TargetCriterion
{
public SummonerCriterion(bool required)
{
Required = required;
}
public bool Required
... | 2.529936 | dc46d37ce593587a1899b555a5a612a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850480 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kate-orlova/kontent-sample-web-app-asp.net-core-mvc",
"max_stars_repo_path": "src/BestDeals/Models/Interfaces/IDeal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169700"
} | starcoder | <filename>src/BestDeals/Models/Interfaces/IDeal.cs
using Kentico.Kontent.Delivery.Abstractions;
namespace BestDeals.Models.Interfaces
{
public interface IDeal
{
IContentItemSystemAttributes DealSystemAttributes { get; set; }
}
}
| 1.523772 | bd00b9e5f05ccb7d7a683f5db8191433 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850481 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BSoDGamingYT/Ryujinx",
"max_stars_repo_path": "Ryujinx.Memory/Tracking/MultiRegionHandle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169701"
} | starcoder | using System;
using System.Collections.Generic;
namespace Ryujinx.Memory.Tracking
{
/// <summary>
/// A region handle that tracks a large region using many smaller handles, to provide
/// granular tracking that can be used to track partial updates.
/// </summary>
public class MultiRegionHandle : I... | 2.958266 | 4dd921077b561a5557a4a94d341c599e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850482 | {
"extension": "c-sharp",
"max_stars_count": "67.0",
"max_stars_repo_name": "digvand/tanka-graphql",
"max_stars_repo_path": "src/graphql/ExecutionResultExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169702"
} | starcoder | using System.Collections;
using System.Collections.Generic;
namespace Tanka.GraphQL
{
public static class ExecutionResultExtensions
{
public static void AddExtension(this IExecutionResult result, string key, object value)
{
if (result.Extensions == null)
{
... | 2.889324 | 36c088e2b096c017a32b8433823a4858 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850483 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LucasCancio/poo-com-solid",
"max_stars_repo_path": "Modulo02/32_ClassesAbstratas/ClassesAbstratas/Forma.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169703"
} | starcoder | namespace ClassesAbstratas
{
public abstract class Forma
{
public string Cor { get; set; }
public double Area { get; set; }
public double Perimetro { get; set; }
//métodos abstratos
public abstract void CalcularArea();
public abstract void CalcularPerimetro();
... | 2.882036 | a087d7765d7a32849a32b889b7faceea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850484 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prrandrade/DateTimeUtils",
"max_stars_repo_path": "test/DateTimeUtils.UnitTest/DateTimeUtilsExtensionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169704"
} | starcoder | <reponame>prrandrade/DateTimeUtils<gh_stars>0
namespace DateTimeUtils.UnitTest
{
using Interfaces;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
public class DateTimeUtilsExtensionTests
{
[Fact]
public void AddDateTimeUtils()
{
// arrange
... | 1.924976 | 29bd86757da37e8688d23d71bf9d786e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850485 | {
"extension": "c-sharp",
"max_stars_count": "85.0",
"max_stars_repo_name": "akoeplinger/roslyn",
"max_stars_repo_path": "src/VisualStudio/Core/Def/Implementation/Workspace/Esent/EsentStorage.IdentifierTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169705"
} | starcoder | <reponame>akoeplinger/roslyn<gh_stars>10-100
// 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 Microsoft.Isam.Esent.Interop;
using Microsoft.Isam.Esent.Interop.Vista;
namespace Microsoft.VisualStudio.L... | 1.723989 | 168cbd9a537c6508c7ebacc25cac271c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850486 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "VadimProkopchuk/VXP",
"max_stars_repo_path": "src/VPX.BusinessLogic/Services/Lectures/LiteratureService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169706"
} | starcoder | using System.Threading.Tasks;
using VPX.BusinessLogic.Core.Contracts.Lectures;
using Microsoft.EntityFrameworkCore;
using VPX.ApiModels;
using VPX.BusinessLogic.Mappings.Lectures;
using VPX.DataAccess.Core.Contracts;
using VPX.Domain;
namespace VPX.BusinessLogic.Services.Lectures
{
public class LiteratureService ... | 2.386138 | 255f6be20cbace96657ded88c02919c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850487 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "bartoszgolek/NFlags",
"max_stars_repo_path": "Examples/NFlags.Kestrel/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169707"
} | starcoder | <filename>Examples/NFlags.Kestrel/Program.cs<gh_stars>10-100
using System.IO;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using NFlags.Commands;
namespace NFlags.Kestrel
{
public static class Program
{
public static void Main(string[] args)
{
... | 2.285335 | 11df03154e60deb9fcebf8f00bf48bf5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850488 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KevinFournier/RV-Team-2019",
"max_stars_repo_path": "RV-Team-2019-Theatre/Assets/1_Theatre/Scripts/Theater/Scenes/Scene3/ChooseFin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169708"
} | starcoder | <filename>RV-Team-2019-Theatre/Assets/1_Theatre/Scripts/Theater/Scenes/Scene3/ChooseFin.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Playables;
using Theater;
public class ChooseFin : MonoBehaviour
{
public PlayableDirector playableDirector;
public Playab... | 1.891417 | d80edcc1f9050d53835772b40d288015 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850489 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "miguelfranciscof/ReadApi",
"max_stars_repo_path": "WPFApp/SunInfo.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169709"
} | starcoder | using ReadApi;
using System;
using System.Windows;
namespace WPFApp
{
/// <summary>
/// Interaction logic for SunInfo.xaml
/// </summary>
public partial class SunInfo : Window
{
public SunInfo()
{
InitializeComponent();
}
private async v... | 2.634775 | 36690fbffbc41c4ca2c8ee9b41029e4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850490 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "razsilev/TelerikAcademy_Homework",
"max_stars_repo_path": "OOP/Extension_Methods_Delegates_Lambda_LINQ/03FindStudents/FindStudents.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169710"
} | starcoder | <filename>OOP/Extension_Methods_Delegates_Lambda_LINQ/03FindStudents/FindStudents.cs
using System;
using System.Collections.Generic;
using System.Linq;
// 3. Write a method that from a given array of students finds all
// students whose first name is before its last name alphabetically.
// Use LINQ query ... | 4.074684 | 1e405deef3b28d695ebc6999c66aea67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850491 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "saimib/oops-design-patterns",
"max_stars_repo_path": "Structural Patterns/Decorator/FacebookDecorator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169711"
} | starcoder | using System;
namespace design_patterns.Decorator
{
class FacebookDecorator : BaseDecorator {
public FacebookDecorator(INotifier notifier) : base(notifier)
{
}
public override void sendMessage(string data) {
base.sendMessage(data);
Console.WriteLine($"{data} is sent using F... | 2.946191 | eb102ee981caa8b729db807f775bba2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850492 | {
"extension": "c-sharp",
"max_stars_count": "115.0",
"max_stars_repo_name": "Chad90b/Mercury",
"max_stars_repo_path": "MercuryBOT/InfoForm/Info.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169712"
} | starcoder | namespace MercuryBOT.InfoForm
{
partial class Info
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// ... | 1.972339 | 0d2932720f15de15d16d0db2a06719ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850493 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "The-Under-Project/UnderLook",
"max_stars_repo_path": "UnderLook/Assets/Scripts/MenuLobby/PlayerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169713"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerTest : MonoBehaviour
{
public Canvas canvas;
void Start()
{
gameObject.GetComponent<Text>().text = gameObject.GetComponentInParent<PhotonView>().owner.NickName; //just pick the n... | 1.941852 | c338ec127222a1d356ef3f86867febc5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850494 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "blaherrod/Meraki.Api",
"max_stars_repo_path": "Meraki.Api/Data/CameraWirelessProfiles.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169714"
} | starcoder | namespace Meraki.Api.Data;
/// <summary>
/// Wireless profiles
/// </summary>
[DataContract]
public class CameraWirelessProfiles
{
/// <summary>
/// The ids of the wireless profile to assign to the given camera
/// </summary>
[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "ids")]
public WirelessProfilesId... | 2.173933 | 99a67467564306e72255f0aff4f0217d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850495 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VahidDalirii/MVC",
"max_stars_repo_path": "MVCDataFromDatabaseToForm/MVCApp/Models/EmployeeModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169715"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace MVCApp.Models
{
public class EmployeeModel
{
[Range(100000,999999,ErrorMessage ="You need to enter a valid Employee ID.")]
[Display(Name ="Emp... | 2.709977 | 35ec4f6c22931df1ba3f64d8fd975068 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850496 | {
"extension": "c-sharp",
"max_stars_count": "347.0",
"max_stars_repo_name": "dbarwikowski/Valit",
"max_stars_repo_path": "tests/Valit.Tests/Int32/Int32_IsNegative_Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169716"
} | starcoder | <filename>tests/Valit.Tests/Int32/Int32_IsNegative_Tests.cs
using Shouldly;
using Xunit;
namespace Valit.Tests.Int32
{
public class Int32_IsNegative_Tests
{
[Fact]
public void Int32_IsNegative_For_Not_Nullable_Value_Throws_When_Null_Rule_Is_Given()
{
var exception ... | 2.465711 | 99143aeae0e90b734c4e1241749e7d5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850497 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "nh43de/DataPowerTools",
"max_stars_repo_path": "src/DataPowerTools/CsharpTypeColumnInformation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169717"
} | starcoder | <reponame>nh43de/DataPowerTools
using DataPowerTools.DataReaderExtensibility.Columns;
namespace DataPowerTools.Extensions
{
/// <summary>
/// Information about a column.
/// </summary>
public class CsharpTypeColumnInformation : BasicDataColumnInfo
{
/// <summary>
/// The display nam... | 1.898858 | 1fe681f810202a8a5ed420ad6a1e74a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850498 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "svetliub/SoftUni-CSharp-MVC-Frameworks-ASP.NET-Core",
"max_stars_repo_path": "MagicOfSewing/MagicOfSewing.Data/Migrations/20180815131659_Initial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169718"
} | starcoder | <gh_stars>0
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace MagicOfSewing.Data.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuil... | 1.891289 | 6a90b5a4a6fe23059d82e8ea326f6f9f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850499 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "equinor/sepes",
"max_stars_repo_path": "src/Sepes.Common/Dto/Study/StudyPermissionsDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169719"
} | starcoder | <reponame>equinor/sepes
namespace Sepes.Common.Dto.Study
{
public class StudyPermissionsDto
{
public bool UpdateMetadata { get; set; }
public bool ReadResulsAndLearnings { get; set; }
public bool UpdateResulsAndLearnings { get; set; }
public bool CloseStudy { get; set; }
... | 1.318944 | 2e49db70c3b578a59d5b3eda939aa559 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850500 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "espumita/dotnet-fluent-cli",
"max_stars_repo_path": "src/Fluent.Cli/Configuration/ProgramDescriptionsConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169720"
} | starcoder | namespace Fluent.Cli.Configuration;
public class ProgramDescriptionsConfiguration {
public string HeaderDescription { get; set; }
public string FooterDescription { get; set; }
public void AddHeaderDescription(string description) {
HeaderDescription = description;
}
public void AddFooterD... | 2.004232 | 02855b3da02bc5b7a76602713561d5f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850501 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "akarnokd/reactive-extensions",
"max_stars_repo_path": "reactive-extensions/observablesource/ObservableSourceFromObservable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169721"
} | starcoder | <filename>reactive-extensions/observablesource/ObservableSourceFromObservable.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Text;
namespace akarnokd.reactive_extensions
{
internal sealed class ObservableSourceFromObservable<T> : IObservableSource<T>
{
readonly IObserv... | 2.857819 | 1338687c664fdc2d68ef8a61d3d7ee2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850502 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "SeniorOverflow/Diplom_SoftSpace",
"max_stars_repo_path": "obj/Debug/netcoreapp2.2/Razor/Views/Admin/UserModeration.g.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169722"
} | starcoder | <reponame>SeniorOverflow/Diplom_SoftSpace
#pragma checksum "E:\diploma_project_here\SoftSpace_web\Views\Admin\UserModeration.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "10384af72865c5b2361b6c63b9966f8889e30480"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting... | 1.439658 | 083ccbfa5124aa1ee7e1aa9602d6a1d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850503 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sarund9/Iniciere",
"max_stars_repo_path": "Assets/Inicere/Editor/ValueSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169723"
} | starcoder | using System;
using UnityEditor;
using UnityEngine;
namespace Iniciere
{
public class ValueSerializer : ScriptableObject
{
SerializedObject obj;
object value;
public static ValueSerializer Get<T>(object value) =>
Get(value, typeof(T));
public static ValueSerializer... | 2.494284 | 2da4c95041431ed077ceb4bef27c2022 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850504 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tony-dnvgl/Veracity-Identity-and-Services-Api",
"max_stars_repo_path": "src/Samples/HelloWorldVanilla/AppServiceConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169724"
} | starcoder | <reponame>tony-dnvgl/Veracity-Identity-and-Services-Api<filename>src/Samples/HelloWorldVanilla/AppServiceConfig.cs<gh_stars>1-10
using Microsoft.Extensions.DependencyInjection;
using Stardust.Interstellar.Rest.Common;
using Veracity.Common.OAuth.Providers;
using OwinExtensions = Veracity.Common.Authentication.OwinExte... | 1.772016 | fd9b08f56bca0ca16e18d5eba43a33cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850505 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ppolyzos/azureheads-gab-athens",
"max_stars_repo_path": "src/core/EventManagement.Api.Core/Installers/InstallerExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169725"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace EventManagement.Api.Core.Installers
{
public static class InstallerExtensions
{
public static void InstallServ... | 2.500373 | 14ed1d47ee3cef94424fa91bc5292438 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850506 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Reavenk/PxPre-Phonics",
"max_stars_repo_path": "LLDN/LLDNDelay.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169726"
} | starcoder | // MIT License
//
// Copyright(c) 2020 Pixel Precision LLC
//
// 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... | 2.289836 | 0e9b76b9551296733236ff2969ddce2d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850507 | {
"extension": "c-sharp",
"max_stars_count": "208.0",
"max_stars_repo_name": "smulholland2/UnicornStore",
"max_stars_repo_path": "UnicornStore/src/UnicornStore/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169727"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsof... | 1.850149 | 91d6a2401759993127ec6b610443a98c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850508 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ModularManagement/Starcounter.Database.Extensions",
"max_stars_repo_path": "test/Starcounter.Database.Extensions.IntegrationTests/MultilevelTransactorDecorationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169728"
} | starcoder | <reponame>ModularManagement/Starcounter.Database.Extensions
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Starcounter.Database.ChangeTracking;
using Xunit;
namespace Starcounter.Database.Extensions.Integratio... | 2.180981 | b58ebea4f7d6c95b89fd3e9f97a98955 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850509 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NotKohtpojiep/EducationProcess",
"max_stars_repo_path": "src/Api/EducationProcess.DataAccess/Entities/Discipline.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169729"
} | starcoder | using System;
using System.Collections.Generic;
#nullable disable
namespace EducationProcess.DataAccess.Entities
{
public partial class Discipline
{
public Discipline()
{
SemesterDisciplines = new HashSet<SemesterDiscipline>();
}
public int DisciplineId { get; set... | 2.157753 | 7df3e330b2160c71ac0240a42ab4167f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850510 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "jrusbatch/compilify",
"max_stars_repo_path": "DataAccess/MongoDB/MongoConnectionFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169730"
} | starcoder | <reponame>jrusbatch/compilify
using MongoDB.Driver;
namespace Compilify.DataAccess.MongoDB
{
public class MongoConnectionFactory : IMongoConnectionFactory
{
private readonly string connectionString;
public MongoConnectionFactory(string connectionString)
{
this.con... | 1.50296 | 7ed0d350e56f9ad0379d8407ab62cc92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850511 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "hnky/Speech2Text.AzureFunction",
"max_stars_repo_path": "SpeechToText.Function/SpeechToText.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169731"
} | starcoder | using System;
using System.Configuration;
using System.IO;
using System.CodeDom;
using System.Linq;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Host;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Table;
using SpeechToText.AzureFunction.BingSpeech;
using SpeechToTe... | 2.430544 | ce62900e9de5099e6c73954bdf362803 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.