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.392Z | 2023-09-08T23:13:54.392Z | 94561 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "wmysterio/gta-script-generator",
"max_stars_repo_path": "GTA.SA/Plugins/Phone.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94562"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
using GTA.Core;
using GTA.Core.Languages;
using GTA.Plugins.Common;
namespace GTA.Plugins {
public delegate void HandlerDialogSetup( DialogSetup setup );
public delegate void HandlerDialogData( DialogData setup );
public delegate void HandlerPhone... | 1.89947 | f0fcdeb1ab78f8ee6e0c95d21a90d133 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94562 | {
"extension": "c-sharp",
"max_stars_count": "3147.0",
"max_stars_repo_name": "tomy2105/elsa-core",
"max_stars_repo_path": "src/samples/aspnet/Elsa.Samples.ContextualWorkflowHttp/Workflows/DocumentApprovalWorkflow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94563"
} | starcoder | using System;
using System.Net;
using Elsa.Activities.ControlFlow;
using Elsa.Activities.Http;
using Elsa.Activities.Http.Models;
using Elsa.Builders;
using Elsa.Samples.ContextualWorkflowHttp.Models;
using Elsa.Services.Models;
namespace Elsa.Samples.ContextualWorkflowHttp.Workflows
{
/// <summary>
/// Demon... | 2.852798 | cb6e8e50502ac8729e59079645fc5b23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94563 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ekzyis/CrypTool-2",
"max_stars_repo_path": "CrypPlugins/PKCS1/Library/Signature.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94564"
} | starcoder | <filename>CrypPlugins/PKCS1/Library/Signature.cs<gh_stars>10-100
using Org.BouncyCastle.Math;
using Org.BouncyCastle.Utilities.Encoders;
using System;
using System.Text;
namespace PKCS1.Library
{
public abstract class Signature
{
protected Signature()
{
Datablock.getInstance().Rais... | 2.59627 | 22b5840b28918bd95448bf9f7c2700d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94564 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lalfonsob/requestNetweb",
"max_stars_repo_path": "src/Requestnet.Infrastructure/Data/Migrations/20201214150215_InitialModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94565"
} | starcoder | <gh_stars>0
using System;
using Microsoft.EntityFrameworkCore.Migrations;
using MySql.Data.EntityFrameworkCore.Metadata;
namespace Requestnet.Infrastructure.Data.Migrations
{
public partial class InitialModel : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... | 1.70862 | 147ed8fb56fa92011973926160816834 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94565 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AleksaPapovic/HealthCareSystem",
"max_stars_repo_path": "ZdravoKorporacija/ZdravoKorporacija/Controller/KorisnikController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94566"
} | starcoder | <gh_stars>1-10
using Model;
using Service;
using ZdravoKorporacija.DTO;
using ZdravoKorporacija.Konverteri;
namespace ZdravoKorporacija.Controller
{
public class KorisnikController
{
private KorisnikService ks = new KorisnikService();
private PacijentService pacijentService = new PacijentServi... | 1.776465 | f8060a4a9639e6bf413ec710d1ca4db6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94566 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "developerecotek/FaceDetection",
"max_stars_repo_path": "examples/FaceDetection/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94567"
} | starcoder | using FaceRecognitionDotNet;
using Microsoft.Extensions.CommandLineUtils;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Face... | 2.864944 | b412df4797ad45fd2e3fd62e4555aeea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94567 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "ankitkanojia/DotNetCharts",
"max_stars_repo_path": "DotNetCharts/Views/HighChart/LineChart.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:94568"
} | starcoder | @{
ViewBag.Title = "Line Chart";
Layout = "~/Views/Shared/_HighChartLayout.cshtml";
}
<div class="row pt-3 px-4">
<div class="col-md-6">
<div class="card">
<div class="card-header">
Simple Line Chart
</div>
<div class="card-body">
... | 2.466012 | 9303909387029707657f5e737284e11e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94568 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Klug76/flashdevelop",
"max_stars_repo_path": "External/Plugins/CodeRefactor/Commands/RefactorCompleteEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94569"
} | starcoder | using System;
namespace CodeRefactor.Commands
{
/// <summary>
/// Event arguments provided when a refactoring command completes.
/// </summary>
/// <typeparam name="TRefactorResultType">The type of the results</typeparam>
public class RefactorCompleteEventArgs<TRefactorResultType> : EventAr... | 2.772978 | c3735ad4857267c1ceb02c08a8327f36 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94569 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "inevolin/PinBot-2",
"max_stars_repo_path": "PinBot2.Model/Configurations/Interfaces/IConfigurationContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94570"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PinBot2.Model.Configurations
{
// [ProtoBuf.ProtoContract, ProtoBuf.ProtoInclude(103, typeof(ConfigurationContainer))]
public interface IConfigurationContainer
{
... | 1.277457 | 8823590285bdd186b266b6f2c7464374 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94570 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BearerPipelineTest/cofoundry",
"max_stars_repo_path": "src/Cofoundry.Domain/Domain/Pages/ContentRepository/QueryBuilders/Versions/IAdvancedContentRepositoryPageVersionsRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94571... | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Cofoundry.Domain
{
/// <summary>
/// Queries and commands for page versions.
/// </summary>
public interface IAdvancedContentRepositoryPageVersionsRepository
{
/// <summary>
/... | 2.616099 | 206306052a84c185ea995da17146091e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94571 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "mshfzd/BasicBus",
"max_stars_repo_path": "tests/LiteBus.UnitTests/Data/FakeGenericQuery/Messages/FakeGenericQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94572"
} | starcoder | <filename>tests/LiteBus.UnitTests/Data/FakeGenericQuery/Messages/FakeGenericQuery.cs
using LiteBus.Queries.Abstractions;
using LiteBus.UnitTests.Data.Shared.Queries;
namespace LiteBus.UnitTests.Data.FakeGenericQuery.Messages;
public class FakeGenericQuery<TPayload> : FakeParentQuery, IQuery<FakeGenericQueryResult>
{
... | 1.205564 | 2df0413d2be619bb0368f9759c81fdca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94572 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oskarink/Template-Control-IP",
"max_stars_repo_path": "ControlIT/Login.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94573"
} | starcoder | 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.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 2.155197 | 78e7df228a368ef6ee31739ad6c78e52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94573 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "shashishailaj/Azure-IoT-Security-Agent-CS",
"max_stars_repo_path": "src/Modules/Security/EventGenerators/Windows/ETWEventGeneratorBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94574"
} | starcoder | <reponame>shashishailaj/Azure-IoT-Security-Agent-CS
// <copyright file="ETWEventGeneratorBase.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
using Microsoft.Azure.IoT.Agent.Core.EventGeneration;
using Microsoft.Azure.IoT.Agent.Core.Utils;
using Microsoft.Azure.Io... | 2.217377 | a19f84e788d3ef5eba3be1d5884ad63e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94574 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deltasig/sphinx",
"max_stars_repo_path": "src/Dsp.Web/Areas/Admin/Views/Statuses/Edit.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:94575"
} | starcoder | <reponame>deltasig/sphinx
@model Dsp.Data.Entities.MemberStatus
@{
Layout = "~/Views/Shared/_LayoutInternal.cshtml";
ViewBag.Title = "Edit Status";
}
<div class="container-fluid">
<div class="row">
<div class="col-xs-12">
<p>
<a href="@Url.Action("Index")" class="btn bt... | 1.869938 | c6a832e4dc397a1a226a00ba753f9f42 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94575 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ScazLab/k2_bridge",
"max_stars_repo_path": "k2_server/Kinect2Server/Kinect2ServerTray.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94576"
} | starcoder | <reponame>ScazLab/k2_bridge
/*******************************************************************************************************
Copyright (c) 2013, Carnegie Mellon University
All rights reserved.
Authors: <NAME><<EMAIL>>, <NAME><<EMAIL>>
Redistribution and use in source and binary forms, with or without modifica... | 2.086838 | b8df3e5457e4baf008031d691e2168b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94576 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Everstar/HospitalManageSystem",
"max_stars_repo_path": "WebAPIs/WebAPIs/Models/RawTable/Hospitalization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94577"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebAPIs.Models.DataModels
{
public class Hospitalization
{
public string hos_id { get; set; }
public string treat_id { get; set; }
public string nurse_id { get; set; }
public string b... | 1.735598 | 1ac09b54e2b00cdb4989d7e276eba0e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94577 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "ArmenAg/Improvisation",
"max_stars_repo_path": "Improvisation/Improvisation/Library/AForgeExtensions/GammaFunction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94578"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AForge.Math
{
public static class GammaFunction
{
public static double LogGammaLanczos(double x)
{
double[] coef = new double[6] { 76.18009172947146,
-8... | 2.873975 | 216acf251dfa4c61a662e51cdd754a70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94578 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "watmeron/MediaConverter",
"max_stars_repo_path": "MediaConverter/FilterSettingForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94579"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MediaConverter
{
[Browsable(true)]
public partial class FilterSettingForm : Form
{... | 2.432062 | 55a3f81875f4aaa7ceda86ebfbaf1ea3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94579 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sidneyflima/viacepclient",
"max_stars_repo_path": "src/ViaCepClient.Testing/Models/AddressUnitTesting.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94580"
} | starcoder | using FluentAssertions;
using ViaCepClient.Messages;
using ViaCepClient.Models;
using Xunit;
namespace ViaCepClient.Testing.Models
{
public class AddressUnitTesting
{
[Fact]
public void Address_ValidateRequired()
{
//Given
Address address = new Address("", "", "... | 2.680347 | 8ed092bcf5c57210ef7547d21c15ac27 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94580 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kossov/Telerik-Academy",
"max_stars_repo_path": "C#/C#1/MyHomeworks/Loops/11.RandomNumbersInRange/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94581"
} | starcoder | // Write a program that enters 3 integers n, min and max (min != max) and prints n random numbers in the range [min...max].
// Note: The above output is just an example. Due to randomness, your program most probably will produce different results.
using System;
class Program
{
static void Main(string[] args)
... | 4.129395 | 123699ca0815706303b906c045f62903 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94581 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "shiftkey/Shimmer.Samples",
"max_stars_repo_path": "src/desktop/DesktopSample/ViewModels/ErrorViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94582"
} | starcoder | using System;
using ReactiveUI;
using ReactiveUI.Routing;
using ReactiveUI.Xaml;
namespace Squirrel.DesktopDemo.ViewModels
{
public class ErrorViewModel : ReactiveObject, IRoutableViewModel
{
public ErrorViewModel(IScreen screen,
Func<ShellViewModel> getShellViewModel)
{
... | 2.119189 | 4925ad9ba2552f8889a0dc1710163d8c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94582 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mike111177/OWLib",
"max_stars_repo_path": "TankLib/STU/Types/STU_CEB54AD0.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94583"
} | starcoder | <gh_stars>1-10
// Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0xCEB54AD0)]
public class STU_CEB54AD0 : STUUXObject {
[STUFieldAttribute(0x5180E750, "m_value")]
public int m_value;
}
}
| 0.720531 | cb6f1bddbc63fcc5dd5bfde5fef50d73 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94583 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jakegough/jaytwo.RuntimeInfo",
"max_stars_repo_path": "src/jaytwo.RuntimeRevelation/OSPlatform.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94584"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace jaytwo.RuntimeRevelation
{
public enum OSPlatform
{
Unknown = 0,
Linux = 1,
Windows = 2,
OSX = 3,
}
}
| 1.749581 | 3e6423473f1f08a38bbcab7bf6168b44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94584 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Steffkn/SoftUni",
"max_stars_repo_path": "03.CSharpDev/02.OOP_Basics/12.Polymorphism-Exercise/02.VehicleExtension/IVehical.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94585"
} | starcoder | public interface IVehical
{
double AirConditionersFuelConsumption { get; }
double FuelQuantity { get; set; }
double LitersPerKm { get; set; }
double MaxDistance { get; }
double TankCapacity { get; }
string Drive(double km, bool isEmpty);
void Refuel(double liters);
} | 1.818375 | 4786f10d97c7a06f1f49882d8ade494f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94585 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ChiroIp/Connect-SDK-Windows-Sampler",
"max_stars_repo_path": "ConnectSdk.Demo/ConnectSdk.Demo.WindowsPhone/Sampler.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94586"
} | starcoder | // The Basic Page item template is documented at http://go.microsoft.com/fwlink/?LinkID=390556
using System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Input;
using ConnectSdk.Demo.Demo;
using ConnectSdk.Windows.Device;
using ConnectSdk.Windo... | 1.781154 | af57789b3916a73699d7294e8f85f9c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94586 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ogysha/unit-of-work-and-repository-demo",
"max_stars_repo_path": "Core/Infrastructure/IBookRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94587"
} | starcoder | <reponame>ogysha/unit-of-work-and-repository-demo
using Core.Domain;
namespace Core.Infrastructure
{
public interface IBookRepository
{
void Add(Book book);
// void Update(Book book);
// Book FindById(Guid id);
// IEnumerable<Book> FindByReleaseDateBetween(DateTime startDate, D... | 1.839043 | 9a53681a6c187d9d2cf7360de97754f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94587 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HNochev/SoftUni-CSharp-Software-Engineering",
"max_stars_repo_path": "Programing Basics/Exam - Preparation/Try Exam 2/01. Food Delivery/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94588"
} | starcoder | <reponame>HNochev/SoftUni-CSharp-Software-Engineering<gh_stars>1-10
using System;
namespace _01._Food_Delivery
{
class Program
{
static void Main(string[] args)
{
int chicken = int.Parse(Console.ReadLine());
int fish = int.Parse(Console.ReadLine());
int vega... | 3.346712 | 00ce831f4caec20978dcf8999eddfbf8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94588 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dlech/gisharp",
"max_stars_repo_path": "src/Lib/GObject-2.0/ParamSpecULong.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94589"
} | starcoder | // SPDX-License-Identifier: MIT
// Copyright (c) 2016-2021 <NAME> <<EMAIL>>
using GISharp.Runtime;
using culong = GISharp.Runtime.CULong;
namespace GISharp.Lib.GObject
{
unsafe partial class ParamSpecULong
{
/// <summary>
/// minimum value for the property specified
/// </summary>
... | 1.664456 | 2cfec7349d572ae3912478a687ebd902 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94589 | {
"extension": "c-sharp",
"max_stars_count": "3375.0",
"max_stars_repo_name": "nul800sebastiaan/Umbraco-CMS",
"max_stars_repo_path": "tests/Umbraco.Tests.Integration/Umbraco.Examine.Lucene/UmbracoExamine/ExamineDemoDataContentService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94590"
} | starcoder | <filename>tests/Umbraco.Tests.Integration/Umbraco.Examine.Lucene/UmbracoExamine/ExamineDemoDataContentService.cs
using System.Xml.Linq;
using System.Xml.XPath;
namespace Umbraco.Cms.Tests.Integration.Umbraco.Examine.Lucene.UmbracoExamine
{
// TODO: This is ultra hack and still left over from legacy but still works... | 2.241524 | 311c898d6c9d9716aa68fd552716c0ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94590 | {
"extension": "c-sharp",
"max_stars_count": "116.0",
"max_stars_repo_name": "alexrazv/Manatee.Trello",
"max_stars_repo_path": "Manatee.Trello/Internal/Caching/CacheableComparer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94591"
} | starcoder | <filename>Manatee.Trello/Internal/Caching/CacheableComparer.cs<gh_stars>100-1000
using System.Collections.Generic;
using System.Linq;
namespace Manatee.Trello.Internal.Caching
{
internal class CacheableComparer
{
private static readonly List<CacheableComparer> Cache = new List<CacheableComparer>();
public stat... | 2.915846 | f6f7ebfa87d15ed5328127355e8b0a9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94591 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrMurly/portfolio_game",
"max_stars_repo_path": "portfolio-game/Assets/Scripts/Player/PlayerStates/SuperStates/PlayerAbilityState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94592"
} | starcoder | <filename>portfolio-game/Assets/Scripts/Player/PlayerStates/SuperStates/PlayerAbilityState.cs
public class PlayerAbilityState : PlayerState
{
protected bool IsAbilityDone;
protected bool IsGrounded;
protected PlayerAbilityState(Player player, PlayerStateMachine stateMachine, PlayerData playerData, string ... | 2.335967 | 41b31f130735aeabb3eeb67c45d7ea0a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94592 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MiroslavPeychev/C-Sharp-OOP",
"max_stars_repo_path": "C# Advanced/Defining Classes/LAB/1. Car/StartUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94593"
} | starcoder | namespace CarManufacturer
{
using System;
public class StartUp
{
public static void Main()
{
Car car = new Car("VW", "MK3", 1992);
Console.WriteLine(car.Details);
}
}
} | 2.586815 | cc1ded331993bd3be0a5ce9938797e7a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94593 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "RemiGC/moddingSuite",
"max_stars_repo_path": "moddingSuite/Model/Ndfbin/Types/AllTypes/NdfValueWrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94594"
} | starcoder | <filename>moddingSuite/Model/Ndfbin/Types/AllTypes/NdfValueWrapper.cs<gh_stars>10-100
using moddingSuite.ViewModel.Base;
namespace moddingSuite.Model.Ndfbin.Types.AllTypes
{
public abstract class NdfValueWrapper : ViewModelBase, INdfScriptSerializable
{
private NdfType _type;
private NdfProper... | 2.258829 | 94c22e96ee0aea1e1e3dcfb74cce801f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94594 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "void87/TestForUGUI",
"max_stars_repo_path": "uGUI-2018.4/UnityEngine.UI/UI/Core/IMaskable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94595"
} | starcoder | <reponame>void87/TestForUGUI<gh_stars>0
using System;
namespace UnityEngine.UI
{
/// <summary>
/// This element is capable of being masked out.
/// </summary>
///
/// MaskableGraphic, Text, RawImage, Image
public interface IMaskable
{
/// <summary>
/// Recalculate masking ... | 1.618546 | 5c29e747ab9b90b5f6cb0c0ee26c2221 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94595 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Helfima/DSP_Mods",
"max_stars_repo_path": "DSP_Helmod/UI/Selectors/SelectorRecipe.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94596"
} | starcoder | <filename>DSP_Helmod/UI/Selectors/SelectorRecipe.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DSP_Helmod.UI.Gui;
using DSP_Helmod.Classes;
using DSP_Helmod.Helpers;
using DSP_Helmod.UI.Core;
using UnityEngine;
using DSP_Helmod.Model;
name... | 2.198693 | 39c226731d88f047b02a45858f8afcf6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94596 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "steffibreuer/identity",
"max_stars_repo_path": "src/Codeworx.Identity.EntityFrameworkCore/AdditionalDataEntityMapping.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94597"
} | starcoder | <gh_stars>0
using System;
namespace Codeworx.Identity.EntityFrameworkCore
{
public class AdditionalDataEntityMapping<TTarget, TEntity> : IAdditionalDataEntityMapping
{
public AdditionalDataEntityMapping()
{
Target = typeof(TTarget);
Entity = typeof(TEntity);
}
... | 1.776431 | 80fc4fce502e4e44fc183b7c173c1281 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94597 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "imyounas/SF.IY.InsurancePolicy.DemoApp",
"max_stars_repo_path": "SF.IP.Tests/BaseServiceUnitTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94598"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Options;
using Moq;
using SF.IP.Application.Common;
using SF.IP.Domain.Entities;
using SF.IP.Infrastructure.Database;
using System;
namespace SF.IP.Tests;
public abstract class BaseServiceUnitTest : IDisposable
{
protected ApplicationDbContext Mock... | 2.201794 | e58151141d99d3088fef08966171d048 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94598 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "3F/SobaScript.Z.VS",
"max_stars_repo_path": "SobaScript.Z.VSTest/Stubs/DteComponentAcs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94599"
} | starcoder | <reponame>3F/SobaScript.Z.VS
using net.r_eg.SobaScript;
using net.r_eg.SobaScript.Z.VS;
namespace SobaScript.Z.VSTest.Stubs
{
internal class DteComponentAcs: DteComponent
{
public NullDteEnv Env => (NullDteEnv)env;
//public void EmulateBeforeExecute(string guid, int id, object customIn, objec... | 1.624938 | 82c506623289ea9dc6d224117ae79b79 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94599 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NeshanDesign/FS.NET",
"max_stars_repo_path": "FsNet/FsNet.Common/PdfUtils/PdfGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94600"
} | starcoder | <reponame>NeshanDesign/FS.NET<filename>FsNet/FsNet.Common/PdfUtils/PdfGenerator.cs
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Drawing;
using System.IO;
using System.Linq;
using iTextSharp.text;
using iTextSharp.text.pdf;
using FsNet.Common.PdfUtils;
using Font = iT... | 2.305278 | fa6239565290bca63174412ddfc91571 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94600 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JimmyYouhei/FlappyBirdUnity",
"max_stars_repo_path": "Assets/Script/DestroyScript/SpawnDestroy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94601"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnDestroy : MonoBehaviour {
// make Trigger collider so when background , pipe and zombie enter will destroy
// Actually I enroll a course in unity and they taught to recycle for best performance this case. However... | 2.537866 | c98273b90996321163c881d5420ef1e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94601 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aszecsei/Deadspell",
"max_stars_repo_path": "Assets/Deadspell/Scripts/Core/MapThemeManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94602"
} | starcoder | <reponame>aszecsei/Deadspell
using Deadspell.Data;
using UnityEngine;
namespace Deadspell.Core
{
public class MapThemeManager : MonoBehaviour
{
public static MapThemeManager Instance;
public MapTheme ForestTheme;
void Awake()
{
if (Instance != null)
{
... | 1.394426 | 5fc580b53aa7a7503da674035cb72603 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94602 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yugioh-Sims-International/Launcher-Server-System",
"max_stars_repo_path": "YGOClient/RoomGrid.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94603"
} | starcoder | /*
* 由SharpDevelop创建。
* 用户: Hasee
* 日期: 2015/9/4
* 时间: 13:54
*
* 要改变这种模板请点击 工具|选项|代码编写|编辑标准头文件
*/
using System;
using System.ComponentModel;
using System.Drawing;
using YGOCore.Game;
using YGOClient;
namespace System.Windows.Forms
{
public class RoomBlock : FlowLayoutPanel
{
RoomInfo m_room;
Client m_cl... | 2.505143 | 1d83ba95d71ce3d26fdf199c98591c42 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94603 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "UE4DotNet/Plugin",
"max_stars_repo_path": "DotNet/DotNet/UE4/Generated/MovieSceneTracks/MovieSceneLevelVisibilitySectionTemplate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94604"
} | starcoder | <gh_stars>1-10
// Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
namespace UE... | 1.089924 | 2832b3b4939f7637a85bc701f58c4321 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94604 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BornToGrill/SettingsManager",
"max_stars_repo_path": "SettingsManager/Serialization/Cryptography/Helpers/EncoderBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94605"
} | starcoder | using System;
namespace SettingsManager.Serialization.Cryptography.Helpers {
/// <summary>
/// Provides methods for Encoding objects.
/// </summary>
public abstract class EncoderBase {
/// <summary>
/// If overriden in a derived class, Encodes a primitive <see cref="object"/> into an ... | 3.281467 | b556ea1ebba7e0ccc762133ee06e76c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94605 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "oTAMAKOo/UnityFramework",
"max_stars_repo_path": "Scripts/Modules/Devkit/Hierarchy/Editor/Contents/ActiveToggleDrawer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94606"
} | starcoder | <reponame>oTAMAKOo/UnityFramework
using UnityEngine;
using UnityEditor;
using Modules.Devkit.Prefs;
namespace Modules.Devkit.Hierarchy
{
public sealed class ActiveToggleDrawer : ItemContentDrawer
{
//----- params -----
private const float ToggleSize = 16f;
public static class Prefs
... | 1.693985 | be1a737f39bd747039b9e4086dff32bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94606 | {
"extension": "c-sharp",
"max_stars_count": "134.0",
"max_stars_repo_name": "kmc059000/monotouch-bindings",
"max_stars_repo_path": "TSMiniWebBrowser/binding/StructsAndEnums.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94607"
} | starcoder | <gh_stars>100-1000
using System;
namespace TSMiniWebBrowser
{
public enum MiniWebBrowserMode {
Navigation,
Modal,
TabBar
}
}
| 1.061064 | f7f0e7b722c168941f5ee76ffb31400c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94607 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "lucent-sea/Conveyor",
"max_stars_repo_path": "Conveyor/Data/ApplicationDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94608"
} | starcoder | <reponame>lucent-sea/Conveyor
using Conveyor.Models;
using IdentityServer4.EntityFramework.Options;
using Microsoft.AspNetCore.ApiAuthorization.IdentityServer;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Thread... | 1.822753 | 08144642b2e4706ccd1e4bd75d3fa197 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94608 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "parameshg/northwind-mesh",
"max_stars_repo_path": "Northwind.Operations/MainWin.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94609"
} | starcoder | <reponame>parameshg/northwind-mesh<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Threading;
using System.Windows.Forms;
using CreditCardValidator;
using Northwind.Operations.Model;
using Northwind.Services.Shared;
using RestSharp;
namespace ... | 1.6943 | f565cb8c1ba60304d7e81d324594692d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94609 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kaiovasa1999-ux/Asp.Net-cor-LibraryShop",
"max_stars_repo_path": "Web/LibraryShop.Web/Views/Book/EditBook.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:94610"
} | starcoder | @model LibraryShop.Web.ViewModels.Book.EditbookFormModel
@{
ViewBag.Tilte = "Edit Book";
}
<h3>@ViewBag.Title</h3>
<div class="row">
<div class="offset-md-3 col-md-6">
<form method="post" id="editForm">
<div class="form-group">
<label asp-for="Author">Author Name:</label>
... | 2.322446 | e901881c4a380c10d8c196230cf3cb02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94610 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "loreggia/micser",
"max_stars_repo_path": "src/Micser.App.Infrastructure/ViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94611"
} | starcoder | <gh_stars>1-10
using System;
using System.Windows.Input;
namespace Micser.App.Infrastructure
{
/// <summary>
/// Base class for UI component view models.
/// </summary>
public abstract class ViewModel : Bindable, IViewModel, IDisposable
{
private bool _isBusy;
/// <inheritdoc />
... | 2.732378 | 89c0c8e5c0492d29a38850ac0aae4930 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94611 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Biebras/Unity-2D-Player-Controllee",
"max_stars_repo_path": "Player 2D controller/Assets/Scripts/Audio/AudioManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94612"
} | starcoder | using System;
using UnityEngine;
using System.Collections.Generic;
public class AudioManager : MonoBehaviour
{
public Sound[] Sounds;
public static AudioManager s_singleton;
private void Awake()
{
if(s_singleton != null)
{
Destroy(gameObject);
return... | 2.630353 | a67b8e623084285928198c76e8f83cab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94612 | {
"extension": "c-sharp",
"max_stars_count": "108.0",
"max_stars_repo_name": "stevefsp/critterai",
"max_stars_repo_path": "src/main/Assets/CAI/nmgen/Editor/Heightfield.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94613"
} | starcoder | /*
* Copyright (c) 2011 <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, publ... | 2.376014 | 2017023d252f5d1294bdc5fdf72f95dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94613 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "davidbritch/dotnet-maui-samples",
"max_stars_repo_path": "UserInterface/ControlGallery/ControlGallery/Views/Code/BlazorWebViewDemoPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94614"
} | starcoder | <filename>UserInterface/ControlGallery/ControlGallery/Views/Code/BlazorWebViewDemoPage.cs
using Microsoft.Maui.Controls;
using Microsoft.AspNetCore.Components.WebView.Maui;
namespace ControlGallery.Views.Code
{
public class BlazorWebViewDemoPage : ContentPage
{
public BlazorWebViewDemoPage()
{... | 2.125797 | 3423ae6815e16c706f03afe9b40c6228 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94614 | {
"extension": "c-sharp",
"max_stars_count": "190.0",
"max_stars_repo_name": "68681395/WeiXinSDK",
"max_stars_repo_path": "src/Rabbit.WeiXin/MP/Api/Store/StoreService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94615"
} | starcoder | <reponame>68681395/WeiXinSDK
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Rabbit.WeiXin.Utility;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Text;
namespace Ra... | 2.106416 | 4516cd59463a77a6b1855236ddee6af7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94615 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OndrejSpanel/quickRoute-gps",
"max_stars_repo_path": "QuickRoute.PropertyControls/GradientEditorControl.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94616"
} | starcoder | namespace QuickRoute.PropertyControls
{
partial class GradientEditorControl
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/... | 1.979561 | f502e5531c3178c8d19cf3d8a3dc3ba4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94616 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jakegough/jaytwo.NuGetCheck",
"max_stars_repo_path": "src/jaytwo.NuGetCheck/INugetVersionSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94617"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using NuGet.Versioning;
namespace jaytwo.NuGetCheck
{
public interface INugetVersionSource
{
Task<IList<NuGetVersion>> GetPackageVersionsAsync(string packageId);
}
}
| 1.661733 | 09c943908798826e5e9eb691b156c1ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94617 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "enduracode/enterprise-web-library",
"max_stars_repo_path": "Core/DataAccess/DbConcurrencyException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94618"
} | starcoder | using System;
namespace EnterpriseWebLibrary.DataAccess {
/// <summary>
/// An exception caused by a database concurrency error.
/// </summary>
public class DbConcurrencyException: ApplicationException {
/// <summary>
/// Creates a DB concurrency exception.
/// </summary>
public DbConcurrencyExc... | 2.245941 | d4d393d9edb8717f90e49645d82cf1d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94618 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NightOwl888/Morfologik.Stemming",
"max_stars_repo_path": "src/Morfologik.TestFramework/TestCase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94619"
} | starcoder | <reponame>NightOwl888/Morfologik.Stemming<gh_stars>0
using NUnit.Framework;
using RandomizedTesting.Generators;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Morfologik.TestFramework
{
[TestFixture]
public abstract class TestCase
... | 2.709241 | a04d9af314d6c16fc414570a625e399e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94619 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anton-avramchuk/big-files-parser",
"max_stars_repo_path": "src/Altium.Parser/Services/Abstractions/IMergeFilesService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94620"
} | starcoder | namespace Altium.Parser.Services.Abstractions;
public interface IMergeFilesService
{
Task MergeFiles(string path, string[] sortedFiles, string targetFileName, CancellationToken cancellationToken);
} | 1.349411 | 8272c75af50e4a01d5f7bc3851c735c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94620 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fluffy-bunny/organic",
"max_stars_repo_path": "src/ReceiveEPHClient/MySettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94621"
} | starcoder | namespace ReceiveEPHClient
{
public class MySettings
{
public string Name { get; set; }
public string EventHubConnectionString { get; set; }
public string EventHubName { get; set; }
public string StorageContainerName { get; set; }
public string StorageAccountName... | 1.789465 | 61a6846f524169004dae2caa46e6d163 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94621 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cfuehrmann/flasher",
"max_stars_repo_path": "backend/Flasher.Host/Controllers/AuthenticationController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94622"
} | starcoder | using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.Tokens;
us... | 1.990089 | e9485feca3078862346db42b23529209 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94622 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DariuszKitel/BookShop",
"max_stars_repo_path": "BookShop.Models/Product.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94623"
} | starcoder | using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BookShop.Models
{
public class Product
{
[Key]
public int Id { get; set; }
[Required]
public string Title { get; se... | 2.449192 | 37cebad0060cfbed11385404f5a8ceb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94623 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prepare/DomQuery",
"max_stars_repo_path": "source/a_mini/Dom/Dom/enumRelLink.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94624"
} | starcoder | <filename>source/a_mini/Dom/Dom/enumRelLink.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace CsQuery
{
/// <summary>
/// Values allowable for the Rel attribute
/// </summary>
public enum RelLink
{
/// <summary>
/// Gives alternate representations of... | 2.355166 | 9010f896b70dd428268e4f5c71894f33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94624 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Matthew-Dove/ContainerExpressions",
"max_stars_repo_path": "src/Tests.ContainerExpressions/Containers/NotNullTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94625"
} | starcoder | <reponame>Matthew-Dove/ContainerExpressions
using ContainerExpressions.Containers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace Tests.ContainerExpressions.Containers
{
[TestClass]
public class NotNullTests
{
private class Model {
public Guid Id { get; } =... | 2.905977 | f06776db573053c73b7d7888ea9cf7c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94625 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "colombod/sphero-sdk-net",
"max_stars_repo_path": "src/sphero.Rvr/Responses/SensorDevice/AmbientLightSensorValue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94626"
} | starcoder | using System;
using sphero.Rvr.Commands.SensorDevice;
using sphero.Rvr.Protocol;
namespace sphero.Rvr.Responses.SensorDevice;
[OriginatingCommand(typeof(GetAmbientLightSensorValue))]
public class AmbientLightSensorValue : Response
{
public AmbientLightSensorValue(Message message)
{
if (message == nul... | 2.22736 | b3aec7e0f36525c4b2cc4ab86d7ad21b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94626 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "GaryWayneSmith/partnerapi_sdk_dotnet",
"max_stars_repo_path": "Source/Walmart.Sdk.Marketplace.E2ETests/V3/PriceEndpointTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94627"
} | starcoder | <filename>Source/Walmart.Sdk.Marketplace.E2ETests/V3/PriceEndpointTests.cs
/**
Copyright (c) 2018-present, Walmart 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/licens... | 1.931948 | f0a01653447e5c1aecf8d8ffb827d5ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94627 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "sucrose0413/TSheets-V1-DotNET-SDK",
"max_stars_repo_path": "Intuit.TSheets/Client/Serialization/Converters/DateTimeFormatConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94628"
} | starcoder | <filename>Intuit.TSheets/Client/Serialization/Converters/DateTimeFormatConverter.cs
// *******************************************************************************
// <copyright file="DateTimeFormatConverter.cs" company="Intuit">
// Copyright (c) 2019 Intuit
//
// Licensed under the Apache License, Version 2.0 (the... | 2.846699 | 13687752c91d8c095e6e9d4e304d08ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94628 | {
"extension": "c-sharp",
"max_stars_count": "249.0",
"max_stars_repo_name": "rgwood/go2cs",
"max_stars_repo_path": "src/go-src-converted/encoding/hex/hex_dumperStruct.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94629"
} | starcoder | <gh_stars>100-1000
//---------------------------------------------------------
// <auto-generated>
// This code was generated by a tool. Changes to this
// file may cause incorrect behavior and will be lost
// if the code is regenerated.
//
// Generated on 2020 October 09 04:54:45 UTC
// </auto-generate... | 1.510056 | 9b9ee9632be577535ad19fa0123722d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94629 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "AsakyraZ/diadocsdk-csharp",
"max_stars_repo_path": "src/DiadocHttpApi.Drafts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94630"
} | starcoder | <reponame>AsakyraZ/diadocsdk-csharp
using System.Text;
using Diadoc.Api.Proto.Events;
namespace Diadoc.Api
{
public partial class DiadocHttpApi
{
public void RecycleDraft(string authToken, string boxId, string draftId)
{
var sb = new StringBuilder(string.Format("/RecycleDraft?boxId={0}", boxId));
if (!str... | 1.770916 | dd9f4fb9a8eee0504513ccd39d542697 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94630 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "tparviainen/clashofclans",
"max_stars_repo_path": "src/ClashOfClans/Api/Locations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94631"
} | starcoder | using ClashOfClans.Core;
using ClashOfClans.Models;
using ClashOfClans.Search;
using System.Threading.Tasks;
namespace ClashOfClans.Api
{
internal class Locations : ILocations
{
private readonly IGameData _gameData;
public Locations(IGameData gameData)
{
_gameData = gameDa... | 2.438784 | 13bbf5ff3d2f0426e527fd25d7023aac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94631 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alexlvovich/getcms",
"max_stars_repo_path": "src/GetCms.Services/PagesService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94632"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using GetCms.Models;
using GetCms.Models.Cms.Enums;
using GetCms.Models.Cms.Extensions;
using GetCms.Models.DataAccess;
using GetCms.Models.Enums;
using GetCms.Models.General;
using Get... | 2.229423 | 6c835d64d3f2ec2cca235e489aef39ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94632 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "triplebeta/SpecByExampleExtension",
"max_stars_repo_path": "SpecByExample.PageAdapterGenerator/PageAdapterGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94633"
} | starcoder | <filename>SpecByExample.PageAdapterGenerator/PageAdapterGenerator.cs
using EnvDTE;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
using SpecByExample.T4;
using System;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
using Sy... | 2.184366 | 1083dc46dec8b4827398c5050b48862c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94633 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "samneirinck-test/sello",
"max_stars_repo_path": "src/Sello.Common/Configuration/Interfaces/IConfigurationProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94634"
} | starcoder | <reponame>samneirinck-test/sello<gh_stars>1-10
namespace Sello.Common.Configuration.Interfaces
{
public interface IConfigurationProvider
{
Environment GetCurrentEnvironment();
string GetSetting(string settingName);
string GetSetting(string settingName, bool isMandatory);
bool Is... | 1.560778 | d2d67ed555ad2c08736f5156402a81f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94634 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mounicmadiraju/robot.txt-changes",
"max_stars_repo_path": "method2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94635"
} | starcoder | // Author <EMAIL> //
// the following method to monitor change in robot.txt //
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Configuration;
using System.Net;
using System.Collections.Generic;
namespa... | 2.605965 | 10544fd6268582cd99e2e69a386e283b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94635 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "isukces/isukces.code",
"max_stars_repo_path": "isukces.code/Compatibility/Telerik/GridViewLength.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94636"
} | starcoder | <reponame>isukces/isukces.code
namespace iSukces.Code.Compatibility.Telerik
{
/// <summary>
/// Reflection only definition
/// </summary>
[EmitType("Telerik.Windows.Controls")]
public struct GridViewLength
{
}
} | 1.340615 | 451f89df1fefa55e2f367c62a017e559 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94636 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "giannik/nHydrate",
"max_stars_repo_path": "Source/nHydrate.Generator/ModelHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94637"
} | starcoder | <reponame>giannik/nHydrate
#region Copyright (c) 2006-2014 nHydrate.org, All Rights Reserved
// -------------------------------------------------------------------------- *
// NHYDRATE.ORG *
// Copyright (c) 2006-2014 All Rights reserved ... | 1.876697 | 3aaf819ea41de08ede6c8ecfd446beb9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94637 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jarlyk/Rain-of-Stages",
"max_stars_repo_path": "Assets/RainOfStages/RoR2/GeneratedProxies/RoR2/Skills/ConditionalSkillOverride.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94638"
} | starcoder | <filename>Assets/RainOfStages/RoR2/GeneratedProxies/RoR2/Skills/ConditionalSkillOverride.cs
#if THUNDERKIT_CONFIGURED
using global::RoR2.Skills;
namespace PassivePicasso.ThunderKit.Proxy.RoR2.Skills
{
public partial class ConditionalSkillOverride : global::RoR2.Skills.ConditionalSkillOverride {}
}
#endif | 1.330864 | 4d199fd0ca2fe74d286eabd4d0e8f0c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94638 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "akobr/textum.ui",
"max_stars_repo_path": "Commands/Commands.CodeBaseSearch/RulesBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94639"
} | starcoder | using Commands.CodeBaseSearch.Conditions;
using Commands.CodeBaseSearch.Model;
using Commands.CodeBaseSearch.Model.GroupingStrategies;
namespace Commands.CodeBaseSearch
{
public static class RulesBuilder
{
public static IRule[] Build()
{
return new[]
{
ne... | 2.092572 | e0f31a536615c9c95c2cbff5ea6181a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94639 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bostelk/delta",
"max_stars_repo_path": "Delta.Core/Collision/Callbacks.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94640"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace Delta.Collision
{
public delegate bool BeforeCollisionEventHandler(CollisionBody them);
public delegate bool OnCollisionEventHandler(CollisionBody them, Vector2 normal... | 1.826915 | 992c711dec594f122706af3144aff441 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94640 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eylvisaker/ShootTheTraps",
"max_stars_repo_path": "AgateLib/AgateLib.Tester/UserInterface/RadioButtons/RadioButtonTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94641"
} | starcoder | <filename>AgateLib/AgateLib.Tester/UserInterface/RadioButtons/RadioButtonTest.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AgateLib.Scenes;
using AgateLib.Tests.UserInterface.FF6;
using AgateLib.UserInterface;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framewo... | 1.983897 | 2c4b1af016036a193a10e87d28a45ddf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94641 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "exAntares/halfblind.attributes",
"max_stars_repo_path": "Attributes/GuidAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94642"
} | starcoder | using System;
using UnityEngine;
namespace HalfBlind.Attributes {
public class GuidAttribute : PropertyAttribute {
public Type AttributeConstrain { get; private set; }
public GuidAttribute(Type constrain = null) {
AttributeConstrain = constrain;
}
}
}
| 2.000796 | 15c08d94a08d5d062d4530b6e8bfa010 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94642 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ViktorHofer/NuGet.Client",
"max_stars_repo_path": "test/NuGet.Core.Tests/NuGet.Protocol.Tests/Plugins/Messages/GetOperationClaimsResponseTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94643"
} | 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;
using Newtonsoft.Json;
using Xunit;
namespace NuGet.Protocol.Plugins.Tests
{
public class GetOperationClaimsResponseTests
{
... | 2.344693 | 0a1df132cdc80ed08cf8e423779742fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94643 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "ppittle/HttpWebRequestWrapper",
"max_stars_repo_path": "src/HttpWebRequestWrapper/Recording/RecordedResponseException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94644"
} | starcoder | using System;
using System.Diagnostics;
using System.Net;
using HttpWebRequestWrapper.Extensions;
namespace HttpWebRequestWrapper.Recording
{
/// <summary>
/// A specialized container for collection <see cref="Exception"/>s
/// recorded during a <see cref="HttpWebRequest.GetResponse"/>.
/// <para/>
... | 2.702562 | 8ea1585a2488192d026a2f629d3eedae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94644 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarkPThomas/MPT.Net",
"max_stars_repo_path": "MPT/CSI/API/MPT.CSI.API/Core/Program/ModelBehavior/Definition/ILoadCombinations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94645"
} | starcoder | // ***********************************************************************
// Assembly : MPT.CSI.API
// Author : <NAME>
// Created : 10-07-2017
//
// Last Modified By : <NAME>
// Last Modified On : 10-07-2017
// ***********************************************************************
// <copy... | 2.112895 | bae2150584d7434f130f70a71b68c19d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94645 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "bluba/RWoM",
"max_stars_repo_path": "RimWorldOfMagic/RimWorldOfMagic/Golems/GolemWorkstationEffect_LaunchThing.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94646"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RimWorld;
using Verse;
using Verse.Sound;
using TorannMagic.TMDefs;
namespace TorannMagic.Golems
{
public class GolemWorkstationEffect_LaunchThing : GolemWorkstationEffect
{
publi... | 2.175545 | b1c32b4f2b54f1162c4f010d5f97bfae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94646 | {
"extension": "c-sharp",
"max_stars_count": "76.0",
"max_stars_repo_name": "mrurb/evelib",
"max_stars_repo_path": "EveLib.EveCrest/Models/Links/ILinkedEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94647"
} | starcoder | // ***********************************************************************
// Assembly : EveLib.EveCrest
// Author : <NAME>
// Created : 12-16-2014
//
// Last Modified By : <NAME>
// Last Modified On : 12-17-2014
// ***********************************************************************
// <... | 1.876697 | fd2622c830fcb3d3995957302ca61ffa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94647 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "smartdockerbenchmarkingorchestrator/Smart-Docker-Benchmarking-Orchestrator",
"max_stars_repo_path": "src/Docker.Benchmarking.Orchestrator.Infrastructure/Services/AzureResourceService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9... | starcoder | <filename>src/Docker.Benchmarking.Orchestrator.Infrastructure/Services/AzureResourceService.cs
using Ardalis.GuardClauses;
using Docker.Benchmarking.Orchestrator.Core.Entities;
using Docker.Benchmarking.Orchestrator.Core.Interfaces;
using Docker.Benchmarking.Orchestrator.Infrastrcture.Settings;
using Hangfire;
using M... | 1.630955 | 29089dce81200e3e65491575b9fdf6bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94648 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jasperdk/NPloy",
"max_stars_repo_path": "src/NPloy.Web.UnitTests/RouteTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94649"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Dispatcher;
using System.Web.Http.Hosting;
using System.Web.Http.Routing;
using Moq;
using NUnit.Framework;
namespace NPloy.Web.UnitTests
{
[Tes... | 1.993861 | 4aea9eaddbb4c475c6d08beb1f5efa11 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94649 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "BlazesRus/PoESkillTree_BlazesRus.Engine",
"max_stars_repo_path": "PoESkillTree.Engine.Computation.Core/Nodes/NodeValueAggregators.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94650"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using PoESkillTree.Engine.Computation.Common;
namespace PoESkillTree.Engine.Computation.Core.Nodes
{
public delegate NodeValue? NodeValueAggregator(List<NodeValue?> values);
/// <summary>
/// Aggregator methods for the different <see cref="Fo... | 2.585636 | 093516727441a9dd21a1212252ddd416 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94650 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nequeo/collection",
"max_stars_repo_path": "Nequeo.Collections/Nequeo.Collections/base/Cache.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94651"
} | starcoder | <gh_stars>1-10
/* Company : Nequeo Pty Ltd, http://www.nequeo.com.au/
* Copyright : Copyright © Nequeo Pty Ltd 2014 http://www.nequeo.com.au/
*
* File :
* Purpose :
*
*/
#region Nequeo Pty Ltd License
/*
Permission is hereby granted, free of charge, to any person
obtaini... | 2.558064 | 19c72a994085fc2316dd31f2d08558f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94651 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "cabbibo/IMMATERIAL",
"max_stars_repo_path": "Assets/IMMATERIA/HELP/TouchToRay.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94652"
} | starcoder | <reponame>cabbibo/IMMATERIAL
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
[System.Serializable]
public class Vector2Event : UnityEvent<Vector2>{}
[System.Serializable]
public class Vector3Event : UnityEvent<Vector3>{}
[System.Serializable]
public class ... | 1.936267 | 6c95a012adc52a1d91169758a436d6a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivanarray/testing",
"max_stars_repo_path": "cs/HomeExercises/NumberValidatorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94653"
} | starcoder | using System;
using System.Text.RegularExpressions;
using FluentAssertions;
using NUnit.Framework;
namespace HomeExercises
{
public class NumberValidatorTests
{
[Test]
public void PrecisionShouldBeNotNegative()
{
new Func<NumberValidator>(() => new NumberValidator(-1, 2, true))
.Should().Throw<Argument... | 2.928385 | 9a9a81d084cce81fe581c9e0e50dcdcd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vncpetrov/Temp",
"max_stars_repo_path": "Web/TravelPointSystem.Web/Areas/Administration/Views/Hotels/Edit.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:94654"
} | starcoder | @using TravelPointSystem.Data.Models.Enums;
@model TravelPointSystem.Web.ViewModels.Hotels.HotelViewModel
@{
ViewData["Title"] = "Edit";
}
<div class="text-center mt-5 mb-3 h1">@this.ViewData["Title"]</div>
<h4 class="text-center">Hotel</h4>
<hr />
<div class="row">
<form class="col-md-6 offset-md-3" asp-ac... | 2.149168 | b789a6714c81a2b0b8b25435aacfb91d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94654 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aetos382/CodeEmbed",
"max_stars_repo_path": "CodeEmbed.GitHubClient/Models/SerializableGistHistory.Generated.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94655"
} | starcoder | <filename>CodeEmbed.GitHubClient/Models/SerializableGistHistory.Generated.cs
namespace CodeEmbed.GitHubClient.Models
{
using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using System.Diagnostics.Contracts;
using Newtonsoft.Json;
[GeneratedCode("SerializableClass.tt... | 2.304528 | 6bdb5b6efa9768f5e7fe953c76f2dfd9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94655 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dgigstv/LyricGeneratorApp",
"max_stars_repo_path": "LyricGeneratorApp/Views/LyricFormView.axaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94656"
} | starcoder | <filename>LyricGeneratorApp/Views/LyricFormView.axaml.cs
using Avalonia;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Markup.Xaml;
namespace LyricGeneratorApp.Views
{
public partial class LyricFormView : UserControl
{
public LyricFormView()
{
InitializeComponent();
... | 1.757492 | d3cd4108e40bd8ed1c018ef44f482194 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94656 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stefanmarks/SentienceLab_UnityFramework",
"max_stars_repo_path": "Runtime/Scripts/Tools/PID_Controller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94657"
} | starcoder | <reponame>stefanmarks/SentienceLab_UnityFramework
#region Copyright Information
// Sentience Lab Unity Framework
// (C) <NAME> (<EMAIL>), Auckland University of Technology, Auckland, New Zealand
#endregion Copyright Information
using UnityEngine;
/// <summary>
/// PID controller.
/// </summary>
///
namespace Sentie... | 2.351695 | 3ac7a3c4560ed28c28ef43eae09bca26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94657 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AGameAnx/Subsystem",
"max_stars_repo_path": "Subsystem/Wrappers/Ability/SalvageAttributesWrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94658"
} | starcoder | using BBI.Game.Data;
using BBI.Core.Utility.FixedPoint;
using System.Linq;
namespace Subsystem.Wrappers
{
public class SalvageAttributesWrapper : SalvageAttributes
{
public SalvageAttributesWrapper(SalvageAttributes other)
{
TargetType = other.TargetType;
ExcludedResourceTargetTypes = other.ExcludedResour... | 1.818932 | cda87cf21345982dd3a5bf50d19f7435 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94658 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "eliasjo/SemanticDataForFrontend",
"max_stars_repo_path": "Models/FrontendModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94659"
} | starcoder | namespace Models
{
public abstract class FrontendModel
{
}
}
| 1.192313 | 7f8a2447ca3bacb5836e5811ab9834be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94659 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ap0llo/SyncTool",
"max_stars_repo_path": "src/SyncTool.Configuration/main/IConfigurationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94660"
} | starcoder | <reponame>ap0llo/SyncTool
using SyncTool.Common.Services;
namespace SyncTool.Configuration
{
/// <summary>
/// Interface for the configuration service
/// </summary>
public interface IConfigurationService : IItemService<string, SyncFolder>
{
/// <summary>
/// Adds the specified <se... | 2.457389 | 0923d11ee8b50609f4d41e5a00e48281 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94660 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "citizenmatt/SpecFlow.Rider",
"max_stars_repo_path": "src/dotnet/ReSharperPlugin.SpecflowRiderPlugin/Caching/StepsDefinitions/SpecflowStepsDefinitionsCacheEntries.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94661"
} | starcoder | using System.Collections.Generic;
namespace ReSharperPlugin.SpecflowRiderPlugin.Caching.StepsDefinitions
{
public class SpecflowStepsDefinitionsCacheEntries : List<SpecflowStepDefinitionCacheClassEntry>
{
}
} | 1.227106 | 928a825046888efe85830b856efe42d9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.