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 | 8845412 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chrisevans9629/MobileBlazorBindings",
"max_stars_repo_path": "src/Microsoft.MobileBlazorBindings/Elements/Tab.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164632"
} | starcoder | <filename>src/Microsoft.MobileBlazorBindings/Elements/Tab.cs
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using Microsoft.MobileBlazorBindings.Core;
using Microsoft.MobileBlazorBindings.Elements.Handlers;
using XF = Xamarin.Forms;
namespace Microsoft.MobileBlazorBindings.Elements
{
... | 1.771111 | 0004746a214fab31a6b0657d0301f417 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845413 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "murbanowicz/GoldenEye",
"max_stars_repo_path": "src/Core/Shared.Core.Validation/IValidatable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164633"
} | starcoder | <reponame>murbanowicz/GoldenEye
using System.ComponentModel.DataAnnotations;
using ValidationResult = FluentValidation.Results.ValidationResult;
namespace GoldenEye.Shared.Core.Validation
{
public interface IValidatable: IValidatableObject
{
ValidationResult Validate();
}
}
| 1.500358 | 5e51684d86fc191bb96d93b441251d91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845414 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jorteck/NWN.Native",
"max_stars_repo_path": "src/main/API/CNWAmbientSound.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164634"
} | starcoder | <gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.2
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file inst... | 1.860158 | 85f4e545ec1a9d35711d3ac5724f91e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845415 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andresshare/.NET-app_learning",
"max_stars_repo_path": "SistemaCsharp_Pitbullnet/ClaseConMetodos.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164635"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SistemaCsharp_Pitbullnet
{
class ClaseConMetodos
{
#region metodoConReturnSuma
public int suma(int a , int b) //metodocoreferncia
{
int suma;
suma ... | 2.758514 | 0f69649b9b34365e96d500d6ec491c27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845416 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "n054/octokit.net",
"max_stars_repo_path": "Octokit/Models/Response/GistComment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164636"
} | starcoder | <reponame>n054/octokit.net
using System;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class GistComment
{
/// <summary>
/// The gist comment id.
/// </summary>
public int Id { get; set; }
... | 2.431212 | 8294ae5186e1a311abdb3c8c9b6c8c02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845417 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Beelzenef/GestionMenu",
"max_stars_repo_path": "ejemplosClase/wpfing/gridEnEjecucion/gridEnEjecucion.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164637"
} | starcoder | <filename>ejemplosClase/wpfing/gridEnEjecucion/gridEnEjecucion.xaml.cs
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... | 2.27803 | 81149d66d71cc0e972b5ae07256da6cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845418 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "TodorStamenov/GameBox",
"max_stars_repo_path": "Server/Games.Service/Core/GameBox.Application/Categories/Commands/UpdateCategory/UpdateCategoryCommandValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164638"
} | starcoder | <gh_stars>1-10
using FluentValidation;
using GameBox.Application.Infrastructure;
namespace GameBox.Application.Categories.Commands.UpdateCategory
{
public class UpdateCategoryCommandValidator : AbstractValidator<UpdateCategoryCommand>
{
public UpdateCategoryCommandValidator()
{
Rul... | 2.0335 | e797e75ce4dd0bd4b868e00e12584da0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845419 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wildj79/WarCollege",
"max_stars_repo_path": "src/WarCollege/Model/Character.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164639"
} | starcoder | <filename>src/WarCollege/Model/Character.cs
// War College - Copyright (c) 2017 <NAME> (<EMAIL>j79 at gmail dot com)
//
// 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 restrictio... | 2.971767 | 3ffe9cd94f96ddcf0685185b81b0e6c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845420 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "raftario/QuestomAssets",
"max_stars_repo_path": "QuestomAssets/AssetsChanger/Map.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164640"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace QuestomAssets.AssetsChanger
{
public class Map
{
public Map()
{ }
public Map(AssetsFile assetsFile, AssetsObject owner, AssetsReader reader)
{
Parse(assetsFile, owner, reade... | 2.709053 | 75832294baaba1509329080294717900 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845421 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ritchie200/cmsmvcwebsite",
"max_stars_repo_path": "CmsShoppingCart/Views/Pages/SidebarPartial.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:164641"
} | starcoder | @model CmsShoppingCart.Models.ViewModels.Pages.SidebarVM
@Html.Raw(Model.Body) | 1.558058 | 2673f37d83c354f72207bf6fb2d14b92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845422 | {
"extension": "c-sharp",
"max_stars_count": "88.0",
"max_stars_repo_name": "ZaynMalik1/Blumind",
"max_stars_repo_path": "Code/Blumind/Controls/DropDownList/ListItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164642"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace Blumind.Controls
{
public class ListItem : ListItem<object>
{
public static T GetSelectedValue<T>(ComboBox combox)
{
if (combox.SelectedItem is ListItem<T>)
{
... | 3.144397 | 46cdb1f35ba1500db8fc3d15e8eea2cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845423 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "open-epicycle/Epicycle.Commons-cs",
"max_stars_repo_path": "projects/Epicycle.Commons_cs-Test/Time/TimeUtilsTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164643"
} | starcoder | // [[[[INFO>
// Copyright 2015 Epicycle (http://epicycle.org, https://github.com/open-epicycle)
//
// 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... | 2.711451 | bd190dba197f531e87160313079e1453 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845424 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "dragnilar/WebExtensions.Net",
"max_stars_repo_path": "src/WebExtensions.Net/Generated/Downloads/OnChangedEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164644"
} | starcoder | <gh_stars>10-100
using JsBind.Net;
using System;
using System.Threading.Tasks;
using WebExtensions.Net.Events;
namespace WebExtensions.Net.Downloads
{
// Type Class
/// <summary>When any of a <see href='#type-DownloadItem'>DownloadItem</see>'s properties except <c>bytesReceived</c> changes, this event fires wi... | 2.559226 | d8ce560e6a222389fc763c6b5441c091 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845425 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jan-Magerl/VSExtensions",
"max_stars_repo_path": "ImmutableAnalyzer/ImmutableAnalyzer/ImmutableAnalyzerAnalyzer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164645"
} | starcoder | <gh_stars>0
namespace ImmutableAnalyzer
{
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class ImmutableAnalyzerAnalyzer : DiagnosticAnalyzer
{
public c... | 2.010824 | 0d114dbdfb4b07f00201d7c5f4829f28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845426 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JamieTownsend84/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Web.Common/DependencyInjection/UmbracoApplicationServicesCapture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164646"
} | starcoder | using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
namespace Umbraco.Cms.Web.Common.DependencyInjection
{
/// <summary>
/// A <see cref="IStartupFilter"/> registered to automatically capture application services
/// </summary>
internal class UmbracoApplicationServices... | 1.961179 | 7b8859b2d05f9ece47b67be906cd7bd1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845427 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "isabella232/spring-net-social-facebook",
"max_stars_repo_path": "src/Spring.Social.Facebook/Social/Facebook/Api/IOpenGraphOperations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164647"
} | starcoder | <reponame>isabella232/spring-net-social-facebook<filename>src/Spring.Social.Facebook/Social/Facebook/Api/IOpenGraphOperations.cs
#region License
/*
* Copyright 2011-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in ... | 2.235567 | dc341f43009f8c138efe9acbbaad7cc2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845428 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "SH4KUR/PharmacyNetwork-ASP.NET_Core_MVC",
"max_stars_repo_path": "src/ApplicationCore/Entities/ProductCategory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164648"
} | starcoder | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace PharmacyNetwork.ApplicationCore.Entities
{
public partial class ProductCategory
{
public ProductCategory()
{
MedicalItem = new HashSet<MedicalItem>();
}
public int CategId { ge... | 2.57406 | c5e8b0160e3c993366f58675886bcd84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845429 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DovetailSoftware/fubumvc",
"max_stars_repo_path": "src/FubuMVC.OwinHost.Testing/binding_against_request_cookies.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164649"
} | starcoder | using System.Net;
using FubuTestingSupport;
using NUnit.Framework;
namespace FubuMVC.OwinHost.Testing
{
[TestFixture]
public class binding_against_request_cookies
{
[Test]
public void can_bind_to_request_cookies()
{
var model = new CookieModel{
... | 2.638846 | 388ba19e60d71f09dd06539acb45677e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845430 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "SimonGeering/AdminAssistant",
"max_stars_repo_path": "src/AdminAssistant.Infra/DAL/EntityFramework/Model/AccountsSchema.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164650"
} | starcoder | using AdminAssistant.Infra.DAL.EntityFramework.Model.Accounts;
using AdminAssistant.DomainModel.Modules.AccountsModule;
using Microsoft.EntityFrameworkCore;
namespace AdminAssistant.Infra.DAL.EntityFramework.Model;
public static class AccountsSchema
{
private const string Name = "Accounts";
/// <summary>Sets... | 2.220775 | f790c46bc8a30cf7d9022e3709615c7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845431 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "asser-dk/CititesSkylines-Mods",
"max_stars_repo_path": "Infrastructure/Infrastructure.UnitTest/Configuration/TheConfigStoreClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164651"
} | starcoder | <filename>Infrastructure/Infrastructure.UnitTest/Configuration/TheConfigStoreClass.cs
namespace SexyFishHorse.CitiesSkylines.Infrastructure.UnitTest.Configuration
{
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using A... | 2.38956 | dd4a8b9aeadb8f083bfd5683f9450f09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845432 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Glitch0011/Phunk.NET",
"max_stars_repo_path": "src/Phunk/Luan/Expressions/Operators/DivideExpression.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164652"
} | starcoder | <reponame>Glitch0011/Phunk.NET
using Phunk.Luan.Interfaces;
namespace Phunk.Luan.Expressions.Operators
{
internal class DivideExpression : OperatorExpression
{
protected override string Sign => "/";
public DivideExpression(IExpression left, IExpression right) : base(left, right)
{
}
}
} | 1.883875 | d016ab60909d822c4a48eda131d8a0ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Incadi1/fvCLie",
"max_stars_repo_path": "Assets/Scripts/Config/VersionConfigurations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164653"
} | starcoder |
public class VersionConfigurations
{
public static readonly double CLIENT_VERSION = 1.0;
}
| 1.233001 | c2d41fa8d0a26dec7b4f078e795fbbb7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845434 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhikecore/zhikestreet",
"max_stars_repo_path": "ZhikeStreet.Web/Areas/Admins/Views/AdminUser/Login.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:164654"
} | starcoder | @{
Layout = null;
}
@model ZhikeStreet.Models.VO.LoginViewModel
<script src="~/Areas/Admins/assets/js/jquery.min.js"></script>
<!-- bootstrap & fontawesome -->
@*<link rel="stylesheet" href="../Areas/Admins/assets/css/bootstrap.min.css" />*@
<link href="~/Areas/Admins/assets/css/bootstrap.min.css" rel="styleshee... | 1.803989 | 06531e6dbc869fa0b624b702d10d9402 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845435 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "turhaltemizer/botframework-solutions",
"max_stars_repo_path": "skills/csharp/pointofinterestskill/Models/Foursquare/Hours.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164655"
} | starcoder | <reponame>turhaltemizer/botframework-solutions
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Newtonsoft.Json;
namespace PointOfInterestSkill.Models.Foursquare
{
public class Hours
{
[JsonProperty(PropertyName = "status")]
public string S... | 1.512104 | 6147cde9f41e9c24310965255378c59c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845436 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SevdalinZhelyazkov/TelerikAcademy",
"max_stars_repo_path": "CSharp-Part-1/ExamPartI/Bits/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164656"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bits
{
class Program
{
static void Main(string[] args)
{
int p = int.Parse(Console.ReadLine());
int m = int.Parse(Console.ReadLine(... | 3.459318 | 1275149c5a50ba8496428fc7116d2843 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845437 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "corymurphy/CertificateManager",
"max_stars_repo_path": "CertificateManager.Entities/Interfaces/ICertificatePasswordEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164657"
} | starcoder | <reponame>corymurphy/CertificateManager
using System;
using System.Collections.Generic;
namespace CertificateManager.Entities.Interfaces
{
public interface ICertificatePasswordEntity
{
Guid Id { get; }
List<AccessControlEntry> Acl { get; }
string PasswordNonce { get; }
string P... | 1.750595 | 387231272feac8d0ed7b1097d309fb82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845438 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vitsatishjs/Roslynator",
"max_stars_repo_path": "source/Analyzers/CodeFixProviders/MethodDeclarationCodeFixProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164658"
} | starcoder | // Copyright (c) <NAME>. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Composition;
using System.Diagnostics;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft... | 1.882528 | caa3dc64f6e6da1f49ac2ecb4268c711 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845439 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maurelio1234/csharp",
"max_stars_repo_path": "generators/Exercises/Generators/RestApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164659"
} | starcoder | using Exercism.CSharp.Output;
using Newtonsoft.Json;
namespace Exercism.CSharp.Exercises.Generators
{
public class RestApi : GeneratorExercise
{
protected override void UpdateTestMethod(TestMethod testMethod)
{
testMethod.UseVariablesForInput = true;
testMethod.UseVaria... | 2.60958 | a8a82a3df8166f1a1e1dd107a64a29c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845440 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alivehim/GitDeployPack",
"max_stars_repo_path": "src/GitDeployPack.Core/IVisualStudioProjectCompiler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164660"
} | starcoder | <filename>src/GitDeployPack.Core/IVisualStudioProjectCompiler.cs
using GitDeployPack.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GitDeployPack.Core
{
public interface IVisualStudioProjectCompiler
{
bool Compile(Pr... | 1.521139 | def7ba2dc51199f6a692ef58f651a83e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845441 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ricardocosta21/supermarketapi",
"max_stars_repo_path": "Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164661"
} | starcoder | using System;
using System.IO;
using System.Reflection;
using AutoMapper;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
... | 1.683884 | 484baa6f0d3749faf848eebb88e78ca0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845442 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TataDvd/Git",
"max_stars_repo_path": "2012/Tempo2012/TempoTest/ExportBuilderTest/contr.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164662"
} | starcoder | namespace TempoTest.ExportBuilderTest
{
public class contr
{
public int Kontragent;
public string Name;
public string Bulstat;
public string Vav;
public string NameEng;
public int FirmaId;
}
} | 1.146038 | b5e83336e4d1ec90698df7ac6490f4b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845443 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "acolono/combinary-stream",
"max_stars_repo_path": "src/CombinaryStream/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:164663"
} | starcoder | <reponame>acolono/combinary-stream<gh_stars>1-10
@using CombinaryStream
@using CombinaryStream.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.196105 | 9c74d62b9b1e6c4aa9c769d2945a7e5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SoulEather/Test-L1",
"max_stars_repo_path": "DataModels/Conference.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164664"
} | starcoder | <filename>DataModels/Conference.cs
using System;
using System.ComponentModel.DataAnnotations;
namespace DataModels
{
public class Conference
{
public Conference() { }
public Conference(Conference conference)//copy constructor
{
ID = conference.ID;
Name = confere... | 3.118872 | a89cf4f19fd5e0b2600a6a9615936727 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845445 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Michael-Burton1/Bakery.solution",
"max_stars_repo_path": "Bakery.Tests/ModelTests/BreadTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164665"
} | starcoder | <filename>Bakery.Tests/ModelTests/BreadTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Bakery.Models;
namespace Bakery.Tests
{
[TestClass]
public class BreadTests
{
[TestMethod]
public void BreadConstructor_CreatesInstanceOfBread_Bread()
{
Bread myBread = new Bread(1);
... | 2.980366 | 7dafbc9197d24e20f9b560992924eb3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845446 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "PeterOrneholm/peaccounting-net",
"max_stars_repo_path": "src/Orneholm.PEAccountingNet/Models/ClientInvoiceRowCreate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164666"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Orneholm.PEAccountingNet.Models.Native;
namespace Orneholm.PEAccountingNet.Models
{
public class ClientInvoiceRowCreate
{
public decimal Quantity { get; set; }
/// <summary>
/// In cent.
/// </summary>
... | 2.043453 | 83c17ad9b11db6fa9024dadff1636146 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845447 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bscheiman/bscheiman.Common.Aspnet",
"max_stars_repo_path": "Models/BaseModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164667"
} | starcoder | <reponame>bscheiman/bscheiman.Common.Aspnet
namespace bscheiman.Common.Aspnet.Models {
public class BaseModel {
public string[] Errors { get; set; }
}
} | 1.50558 | 83dfe6d4f375f9d3ca8f09cd8d3a645c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845448 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AndreyVChernykh/allure-csharp",
"max_stars_repo_path": "Allure.SpecflowPlugin.Nuget.Tests/Hooks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164668"
} | starcoder | using Allure.Commons;
using TechTalk.SpecFlow;
namespace SpecFlowAllureNuget.Tests
{
[Binding]
public class Hooks
{
[BeforeTestRun]
public static void BeforeTestRun()
{
AllureLifecycle.Instance.CleanupResultDirectory();
}
}
}
| 1.208781 | cb098be2e050c22b1d2b83e927e5e3d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845449 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alphagov/verify-sample-local-matching-services",
"max_stars_repo_path": "nancy/LocalMatchingService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164669"
} | starcoder | using System;
using System.IO;
using System.IO.Compression;
using System.Json;
using System.Linq;
using Nancy;
using Nancy.Hosting.Self;
namespace lms
{
public class LMSResponse
{
public string result { get; }
public LMSResponse(string result)
{
this.result = result;
... | 2.538908 | 824ac4c783a8845cd4a1f3e1c56b94d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845450 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "scaryrawr/AllCaps",
"max_stars_repo_path": "liballcaps/Recognition/RecognitionResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164670"
} | starcoder | using System;
namespace AllCaps.Recognition
{
public class RecognitionResult
{
public RecognitionResult(string text, TimeSpan offset)
{
this.Text = text;
this.Offset = offset;
}
public string Text { get; }
public TimeSpan Offset { get; }
}
... | 2.426847 | dd59f2263bba5a92abedd952ec40b4c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845451 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "moto2002/mobahero_src",
"max_stars_repo_path": "Pathfinding.Ionic.Zlib/CompressionStrategy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164671"
} | starcoder | using System;
namespace Pathfinding.Ionic.Zlib
{
public enum CompressionStrategy
{
Default,
Filtered,
HuffmanOnly
}
}
| 1.485848 | 09b0e7392e90bf0166e47e9e0d1911b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845452 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JCode1986/LeetCodeProblems",
"max_stars_repo_path": "Easy/CityDestination/CityDestination/Classes/CityDestination.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164672"
} | starcoder | <filename>Easy/CityDestination/CityDestination/Classes/CityDestination.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace CityDestination.Classes
{
public class MyCityDestination
{
/// <summary>
/// Returns the desination city
/// </summary>
/// <pa... | 3.147454 | cf3ebd28fcc37ce590d450c0d95ee601 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845453 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dubrie/Telepathy",
"max_stars_repo_path": "src/soa/SessionAPI.Internal/SoaCommonConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164673"
} | starcoder | <filename>src/soa/SessionAPI.Internal/SoaCommonConfig.cs
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
namespace Microsoft.Telepathy.Session.Internal
{
using System;
public class SoaCommonConfig
{
private static bool? withoutSessionLayer;
public static bool W... | 2.092657 | ce6156b8445c41c876f4918df15e020b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845454 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "max-brewer/OwinMock",
"max_stars_repo_path": "OwinMock/OwinMock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164674"
} | starcoder | using System;
using Microsoft.Owin.Hosting;
using Owin;
namespace OwinMock
{
public class OwinMock
{
private readonly int _portNumber;
public OwinMock(int portNumber)
{
_portNumber = portNumber;
}
private void Startup(IAppBuilder appBuilder, object configu... | 2.15385 | 01a492060674f92c97547cb4631ebace |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845455 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "realvino/Core-2.0",
"max_stars_repo_path": "src/tibs.stem.Application/ProductGroups/Dto/GetProductDetailDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164675"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace tibs.stem.ProductGroups.Dto
{
public class GetProductDetailDto
{
public int Id { get; set; }
public int rowId { get; set; }
public string Name { get; set; }
... | 1.678652 | 1c53d373f454be0ff2f1a9bd412d6a61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845456 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hgthirty/chromiumfx",
"max_stars_repo_path": "CfxTestApp/JsTestObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164676"
} | starcoder | <filename>CfxTestApp/JsTestObject.cs
// Copyright (c) 2014-2015 <NAME>
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// 1. Redistributions of source code must retain the above copy... | 2.005198 | 8baa44feca9ba36f4ff115f4c16f1bcc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845457 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IceRaptor/ModTek",
"max_stars_repo_path": "ModTek/Patches/VersionManifestAddendum.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164677"
} | starcoder | using BattleTech;
using Harmony;
using ModTek.RuntimeLog;
using System;
using System.Collections.Generic;
using System.Reflection;
// ReSharper disable InconsistentNaming
// ReSharper disable UnusedMember.Global
namespace ModTek.Patches
{
/// <summary>
/// Patch the LoadDefaultManifest to use the cached manif... | 2.268553 | c2646779cdfa4f8fc3a5386acceac109 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845458 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daniel-peychev/CarsProject",
"max_stars_repo_path": "CarsInfoApp/CarsInfoApp/Controllers/AuthController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164678"
} | starcoder | namespace CarsInfoApp.Controllers
{
using CarsInfoApp.Models;
using CarsInfoApp.Utils;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Linq;
public class AuthController : Controller
{
// Using dependency injection for IJwtUtils service (an object receives other objects t... | 2.660172 | ea84345c3374f43e5207085b7cef23e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845459 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "jlnunez89/fibula-mmo",
"max_stars_repo_path": "src/Fibula.Communications.Packets.Tests/OutgoingPacketTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164679"
} | starcoder | // -----------------------------------------------------------------
// <copyright file="OutgoingPacketTests.cs" company="2Dudes">
// Copyright (c) | <NAME> et al.
// https://linkedin.com/in/nunezdecaceres
//
// All Rights Reserved.
//
// Licensed under the MIT License. See LICENSE in the project root for license info... | 2.47624 | 7ff74bce62763c6f8e7aa4546b338465 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845460 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FellowshipOfTheGame/semcomp-24",
"max_stars_repo_path": "Assets/KillOnOutOfBounds.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164680"
} | starcoder | <filename>Assets/KillOnOutOfBounds.cs<gh_stars>1-10
using System;
using UnityEngine;
public class KillOnOutOfBounds : MonoBehaviour
{
public float maxX = 20;
public float maxY = -10;
private HealthSystem healthSystem;
private void Start()
{
healthSystem = GetComponent<HealthSystem>();
... | 2.585646 | 200763a1fa1ebc678480c0aff70c28ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845461 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Refsa/RePacker",
"max_stars_repo_path": "RePacker/Builder/Lookup/TypePacker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164681"
} | starcoder | <reponame>Refsa/RePacker
using System.Reflection;
using RePacker.Buffers;
namespace RePacker.Builder
{
internal class TypePacker<T> : IPacker<T>
{
System.Action<ReBuffer, T> packer;
System.Func<ReBuffer, T> unpacker;
System.Func<T, int> getSize;
public TypePacker(MethodInfo pac... | 2.852375 | 643c72a82fcbf3e5b4ebe32d799100c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845462 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "emildalalyan/free64-cSharp",
"max_stars_repo_path": "src/Free64/SplashForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164682"
} | starcoder | <reponame>emildalalyan/free64-cSharp
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 Free64
{
/// <summary>
/// This class represents ... | 1.75224 | 4a553f5c50d97c4a3d6c1ee28f99ef50 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845463 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KiiPlatform/KiiCloudUnitySDK",
"max_stars_repo_path": "KiiCloudStorageSDK/storage/http/KiiHttpUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164683"
} | starcoder | using System;
using System.Net;
using JsonOrg;
namespace KiiCorp.Cloud.Storage
{
/// <summary>
/// Kii http utils.
/// </summary>
/// <remarks>
/// For internal use.
/// </remarks>
public class KiiHttpUtils
{
private KiiHttpUtils ()
{
}
/// <summary>
... | 2.643193 | c790104193317d812e58c0b5cbee28b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845464 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "raman44in/AspnetMicroservices",
"max_stars_repo_path": "src/Services/Ordering/Ordering.Application/Features/Orders/Commands/DeleteOrder/DeleteOrderCommandValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164684"
} | starcoder | <gh_stars>0
using FluentValidation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ordering.Application.Features.Orders.Commands.DeleteOrder
{
public class DeleteOrderCommandValidator :AbstractValidator<DeleteOrderCommand>
{
... | 1.812581 | aa074382eb9681045c937887d502852d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845465 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WolfeReiter/wr-owin-azuread",
"max_stars_repo_path": "WolfeReiter.Owin.AzureAD/Owin/Security/OpenIdConnect/WolfeReiterOpenIdConnectAuthenticationHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164685"
} | starcoder | <reponame>WolfeReiter/wr-owin-azuread
using Microsoft.Owin.Logging;
using Microsoft.Owin.Security.OpenIdConnect;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.IdentityModel.Protocols;
using Microsoft.Owin;
using Microsoft.Owin.Security;
using System.Text;
using Wo... | 2.165176 | 3831441097344dde1805b63c695fc816 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845466 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Danielfib/RewindGJ",
"max_stars_repo_path": "Rewind/Assets/Scripts/Player.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164686"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Rigidbody2D))]
public class Player : MonoBehaviour
{
[SerializeField]
private Transform groundCheck;
[SerializeField]
private LayerMask whatIsGround;
[SerializeField]
private Animator animat... | 2.060398 | c9f18004bd1f40d404ced9d1dd192ba3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845467 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Jomtek/CocoSchedule",
"max_stars_repo_path": "CocoSchedule/Utils/General.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164687"
} | starcoder | <filename>CocoSchedule/Utils/General.cs
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.Media;
namespace CocoSchedule.Utils
{
public static class General
{
#reg... | 2.974008 | 4140687169e78c734679fbfa1009d417 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845468 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DaWoschbar/Modules-Dotnet",
"max_stars_repo_path": "InitialExecution/InitialExecution/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164688"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Faction.Modules.Dotnet.Common;
using Faction.Modules.Dotnet.Commands;
namespace Faction.Modules.Dotnet
{
public class Initialize
{
public static List<Command> GetCommands()
{
List<Command> c... | 1.641854 | 989fbf6e6195e39ee9023a4275e0b722 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845469 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "joestrouth1/tinkerpop",
"max_stars_repo_path": "gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/ContextBasedParameter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164689"
} | starcoder | #region License
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
... | 2.221377 | 006480c5e4d724e5c87b59b831c33a0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845470 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ditrace/csharp",
"max_stars_repo_path": "Kontur.Tracing.Tests/Core/TraceCases/Edi/Server.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164690"
} | starcoder | <gh_stars>1-10
using System;
using System.Text;
using System.IO;
using System.Net;
using System.Threading.Tasks;
namespace Kontur.Tracing.Core.TraceCases.Edi
{
internal class Server : IDisposable
{
public Server(string url, RemoteTaskQueue taskQueue, Synchronizer synchronizer)
{
thi... | 2.057811 | 958e4984bbc35167625211f1adf28cbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845471 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Martin77Punk/FEI_IRK_Projects",
"max_stars_repo_path": "FEI.IRK.HM.RMR/FEI.IRK.HM.RMR.App/ShowtimeForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164691"
} | starcoder | <filename>FEI.IRK.HM.RMR/FEI.IRK.HM.RMR.App/ShowtimeForm.cs
using FEI.IRK.HM.RMR.Lib;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace FEI.IRK.HM.RMR.App
{
public partia... | 2.162158 | e6c8acecd2a92e36cd1cfa50a597cdba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845472 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wh-ess/ess",
"max_stars_repo_path": "1.BusinessLogic/ESS.Domain.Mall/Pop/ReadModels/PopTemplateView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164692"
} | starcoder | #region
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq.Expressions;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using AutoMapper;
using ESS.Domain.Mall.Pop.Events;
using ESS.Framework.CQRS.Event;
using E... | 2.238763 | eb7958f844d29ac3ee86be0b4d6904c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845473 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ib1333/DotNET-Core-Microservices",
"max_stars_repo_path": "src/Actio.Services.Identity/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164693"
} | starcoder | <filename>src/Actio.Services.Identity/Startup.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Actio.Common.Auth;
using Actio.Common.Commands;
using Actio.Common.Mongo;
using Actio.Common.RabbitMq;
using Actio.Services.Identity.Domain.Repositories;
using Actio.S... | 1.885565 | bd0ceb8aa1db5e8993fe661c1fe22c5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845474 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "vic-alexiev/TelerikAcademy",
"max_stars_repo_path": "OOP/Homework Assignments/3. Lambda Expressions and LINQ/06. PrintNumbersDivisibleBy21/PrintNumbersDivisibleBy21.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164694"
} | starcoder | using System;
using System.Linq;
class PrintNumbersDivisibleBy21
{
static void Main()
{
int[] integers = new int[] { 1, 89, 34, 281, 42, 210, 2319653, 84 };
// I solution - lambda expressions
var multiplesOf21 = integers.Where(i => i % 21 == 0);
foreach (int item in multiples... | 3.961464 | 7eeb178422417297401b8325a7c7a97f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845475 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SimonCropp/EfCore.GraphQL",
"max_stars_repo_path": "src/SampleWeb/Graphs/EmployeeSummaryGraphType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164695"
} | starcoder | <gh_stars>1-10
using GraphQL.EntityFramework;
public class EmployeeSummaryGraphType :
EfObjectGraphType<SampleDbContext, EmployeeSummary>
{
public EmployeeSummaryGraphType(IEfGraphQLService<SampleDbContext> graphQlService) :
base(graphQlService) =>
AutoMap();
} | 1.444637 | 7238b6f594f9d13cb96596a788d4311e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845476 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yiskang/bim360field-attachment-proxy-demo",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164696"
} | starcoder | //
// Copyright (c) Autodesk, Inc. All rights reserved
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limited wa... | 1.616622 | 30568a35eb216aea8802683b1c2e3857 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845477 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tobisor/GraphQlClientGenerator",
"max_stars_repo_path": "test/GraphQlClientGenerator.Test/GraphQlGeneratorTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164697"
} | starcoder | using System;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using System.Text;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Newtonsoft.Json;
using Shouldly;
using Xunit;
using Xunit.Abstractions;
namespace Grap... | 2.098298 | 2e6700dc795ce167b2e08328718e2bf9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845478 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "intemedic/Minidump",
"max_stars_repo_path": "Win32.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164698"
} | starcoder | using System;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
namespace Hillinworks
{
[SuppressMessage("ReSharper", "InconsistentNaming")]
[SuppressMessage("ReSharper", "StringLiteralTypo")]
internal static class Win32
{
[DllImport("ntd... | 2.260526 | ca517165b6ef375d18fa229ffc814284 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845479 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hyperpc/AspNetCoreFxAdv",
"max_stars_repo_path": "ch03_DI/CatFrame/Frame/Key.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164699"
} | starcoder | using System;
namespace CatFrame.Frame
{
internal class Key : IEquatable<Key>
{
public ServiceRegistry Registry {get;}
public Type[] GenericArguments {get;}
public Key(ServiceRegistry registry, Type[] genericArguments){
Registry = registry;
GenericArguments = gene... | 2.868351 | a663eaf5134f5839e787e397dca8cff1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845480 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "austindrenski/AD.EntityFramework",
"max_stars_repo_path": "AD.EntityFramework/src/EntityFrameworkExtensionAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164700"
} | starcoder | <filename>AD.EntityFramework/src/EntityFrameworkExtensionAttribute.cs
using System;
using JetBrains.Annotations;
namespace AD.EntityFramework
{
/// <summary>
/// This attribute flags an extension method as a target for calls to <see cref="ReduceExpressionExtensions"/>.
/// </summary>
[PublicAPI]
p... | 1.724199 | e7a002ede5b006fcb66fabd056f63530 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845481 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JanJorgensen/StepBro",
"max_stars_repo_path": "source/StepBro.Core/Data/AvailabilityBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164701"
} | starcoder | <filename>source/StepBro.Core/Data/AvailabilityBase.cs
using System;
namespace StepBro.Core.Data
{
public class AvailabilityBase : IAvailability
{
public bool IsStillValid { get { return !disposedValue; } }
public event EventHandler Disposing;
public event EventHandler Disposed;
... | 2.869904 | c1ebf678476b3269441eb3b4f0d8aab9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845482 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Thijapones/MTG4Us",
"max_stars_repo_path": "MTG4Us/Services/ScoreServices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164702"
} | starcoder | <gh_stars>0
using Business.Interfaces;
using Domain;
using Services.Interfaces;
using System.Collections.Generic;
namespace Services
{
public class ScoreServices : IScoreServices
{
private readonly IScoreBusiness _scoreBusiness;
public ScoreServices(IScoreBusiness scoreBusiness)
{
... | 2.056045 | c82ca5e206df7992ece96780b81746c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845483 | {
"extension": "c-sharp",
"max_stars_count": "126.0",
"max_stars_repo_name": "ufcpp/UfcppSample",
"max_stars_repo_path": "Demo/2021/Csharp10/RecordStruct/VsNormalStruct/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164703"
} | starcoder | <filename>Demo/2021/Csharp10/RecordStruct/VsNormalStruct/Program.cs
// C# 9.0 で追加されたレコード型は思想的には「構造体的な扱いができる参照型」だったり。
// C# 10.0 で record struct (構造体もレコードにできる)と言うのが入って、「構造体的な扱いができる構造体?」みたいになってる。
// 「通常の struct に record と同程度の機能性を持たせるかどうか」みたいな議論もあったものの、
// 結局、「元々の struct と、record (record class) の差を埋めるために record struct を新... | 2.959097 | ce174ec1082a38aa2706755820018f3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845484 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "cadi3s/LtiAdvantageTool",
"max_stars_repo_path": "src/Pages/Platforms/Create.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164704"
} | starcoder | <reponame>cadi3s/LtiAdvantageTool
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using AdvantageTool.Data;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace AdvantageTool.Pages.Platforms
{
public class CreateModel : PageModel
{
private readon... | 2.246727 | 9f06b1bb3c93b6fe43315f0213adc9e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845485 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LaserSrl/IDeliverable.Donuts",
"max_stars_repo_path": "Helpers/PlaceholderStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164705"
} | starcoder | using System;
using System.IO;
namespace IDeliverable.Donuts.Helpers
{
public class PlaceholderStream : Stream
{
public PlaceholderStream(Stream responseStream)
{
mStream = responseStream;
mCacheStream = new MemoryStream(5000); // TODO: Is it really wise to limit capaci... | 2.949142 | 7495a40e49b9efb7763f051a533dce04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845486 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "matthewcpp/ABCSharp",
"max_stars_repo_path": "TestABC/TestParseVoiceInfoField.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164706"
} | starcoder | <reponame>matthewcpp/ABCSharp<filename>TestABC/TestParseVoiceInfoField.cs
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ABC;
namespace TestABC
{
[TestClass]
public class TestParseVoiceInfoField
{
[TestMethod]
... | 2.649214 | 8f718eed7fac2a2380746c38fe29d858 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845487 | {
"extension": "c-sharp",
"max_stars_count": "4226.0",
"max_stars_repo_name": "gstsgy/Util",
"max_stars_repo_path": "test/Util.Datas.Tests.Integration/Commons/Datas/SqlServer/Configs/GlobalFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164707"
} | starcoder | <reponame>gstsgy/Util
using Util.Helpers;
namespace Util.Datas.Tests.Commons.Datas.SqlServer.Configs {
/// <summary>
/// 全局测试配置
/// </summary>
public class GlobalFixture {
/// <summary>
/// 测试初始化
/// </summary>
public GlobalFixture() {
Ioc.Register( new IocC... | 1.294082 | b2bd995a0e8242c46e410dfd8901f284 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845488 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "walterlv/The-Sims-3-Environment-Operator",
"max_stars_repo_path": "Language/Application/Window.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164708"
} | starcoder | namespace Seo.Languages
{
public class Window
{
public static string ReadonlyMode = null;
public static string ReadonlyModeTip = null;
public static string FrontPage = null;
public static string EnvironmentPage = null;
public static string OperatorPage = null;
... | 1.814507 | 89199c3e4c0451c82c4d31ff3ff593c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845489 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "windows-development/Windows-classic-samples",
"max_stars_repo_path": "Samples/Win7Samples/sysmgmt/windowspowershell/csharp/host02/Host02.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164709"
} | starcoder | <filename>Samples/Win7Samples/sysmgmt/windowspowershell/csharp/host02/Host02.cs
//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRAN... | 2.815001 | 235ed6d65925619a17154ce3a4a00d2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845490 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "algoadv/ably-dotnet",
"max_stars_repo_path": "src/IO.Ably.Shared/Realtime/ChannelStateChangedEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164710"
} | starcoder | using System;
using IO.Ably.Types;
namespace IO.Ably.Realtime
{
public class ChannelStateChange : EventArgs
{
public ChannelStateChange(ChannelEvent e, ChannelState state, ChannelState previous, ErrorInfo error = null, ProtocolMessage protocolMessage = null)
: this(e, state, previous, erro... | 2.305826 | 45b80c1d834590f3aecb7eb14fb1d8aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845491 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "redknightlois/BenchmarkDotNet",
"max_stars_repo_path": "BenchmarkDotNet/Mathematics/Statistics.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164711"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
namespace BenchmarkDotNet.Mathematics
{
public class Statistics
{
private readonly List<double> list;
public int N { get; }
public double Min { get; }
public double LowerFence { get; }
publi... | 2.613303 | 5fb7492b5e962a08e9beb3c16e90c4c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845492 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "melanchall/aoc2021net",
"max_stars_repo_path": "Aoc2021Net.Tests/Days/Day1Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164712"
} | starcoder | using Aoc2021Net.Tests.Attributes;
using NUnit.Framework;
namespace Aoc2021Net.Tests.Days
{
[DayDataPart1(
@"199
200
208
210
200
207
240
269
260
263", 7)]
[DayDataPart1(1709)]
[DayDataPart2(
@"199
... | 1.900823 | e2adf2ea97f05a805923c71955ef3129 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845493 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sitecore-Hackathon/2020-KATSU",
"max_stars_repo_path": "src/Feature/Hero/website/Factories/IHeroViewModelFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164713"
} | starcoder | <filename>src/Feature/Hero/website/Factories/IHeroViewModelFactory.cs
using KATSU.Feature.Hero.Models;
using KATSU.Feature.Hero.ViewModels;
namespace KATSU.Feature.Hero.Factories
{
public interface IHeroViewModelFactory
{
HeroViewModel CreateHeroViewModel(IHero heroItemDataSource, bool isExperienceEdit... | 1.367109 | bbbb6ca231ec3252b1681cadbaeaee0a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845494 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dbosque/Stub",
"max_stars_repo_path": "dBosque.Stub.Server.WebApi.Configuration/Configuration/InstanceController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164714"
} | starcoder | <reponame>dbosque/Stub
using dBosque.Stub.Services.Extensions;
using dBosque.Stub.Server.WebApi.Configuration.Model;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using System.Net;
using dBosque.Stub.Repository.Interfaces;
using Microsoft.Extensions.Logging;
namespace dBosque.Stub.Server.WebApi.Configuration
{
... | 2.19459 | 92cbcc1cff1576cd85dde09fae29acdf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845495 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cwtowns/collier",
"max_stars_repo_path": "Collier/Host/SignalRBackgroundService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164715"
} | starcoder | <reponame>cwtowns/collier<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Collier.Hubs;
using Collier.Mining;
using Microsoft.AspNetCore.SignalR;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace ... | 2.222565 | 03a81242bf8c476c8d317f2e6f5d0b0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845496 | {
"extension": "c-sharp",
"max_stars_count": "174.0",
"max_stars_repo_name": "iwannabebot/aws-net-guides",
"max_stars_repo_path": "Serverless/Serverless Web App with React, DynamoDb, and X-Ray/DynamoDBSvcLib/DynamoDBSvcLib/DBDataService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164716"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Amazon.CognitoIdentity;
using Amazon.Runtime;
using Amazon.DynamoDBv2;
using Amazon.DynamoDBv2.DataModel;
using Amazon.DAX;
using System.Threading.Tasks;
using Amazon.DynamoDBv2.Model;
using Microsoft.Extensions.Options;
namespace AWSAppService... | 2.50981 | 18c54cb82462b5ab9e08b2971b4d2e54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845497 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dimitarLaleksandrov/first-steps-in-coding-C-",
"max_stars_repo_path": "Homework/Basic whit C#/6.0 Conditional Statements Exercise/06. World Swimming Record/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164717"
} | starcoder | using System;
namespace _06._World_Swimming_Record
{
class Program
{
static void Main(string[] args)
{
double theRecord = double.Parse(Console.ReadLine());
double distance = double.Parse(Console.ReadLine());
double timeForOneMeter = double.Parse(Console.Read... | 3.758088 | 89a960af90030f6c9b3c9d1697c9a360 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845498 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mr0fka/HoneyComb",
"max_stars_repo_path": "src/Prodigy.CQRS.Queries/PagedResultFromStartBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164718"
} | starcoder | namespace Prodigy.CQRS.Queries
{
public abstract class PagedResultFromStartBase
{
public int ResultsPerPage { get; }
public int CurrentPage { get; }
public int TotalPages { get; }
public long? TotalResults { get; }
protected PagedResultFromStartBase()
... | 2.483494 | 91a2f86454430ed2f8ff50be71984569 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845499 | {
"extension": "c-sharp",
"max_stars_count": "814.0",
"max_stars_repo_name": "KOREAN139/simulator",
"max_stars_repo_path": "Packages/com.unity.render-pipelines.high-definition/Editor/AssetProcessors/ModelPostProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164719"
} | starcoder | <filename>Packages/com.unity.render-pipelines.high-definition/Editor/AssetProcessors/ModelPostProcessor.cs<gh_stars>100-1000
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Rendering.HighDefinition;
namespace UnityEditor.Rendering.HighDefinition
{
class ModelPostprocessor : AssetPostprocessor
... | 1.615769 | 18166bd60dd8fb49e2972167cc942d5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845500 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dehrman/kcsim",
"max_stars_repo_path": "KCSim/Parts/Logical/UnpoweredGateException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164720"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace KCSim.Parts.Logical
{
public class UnpoweredGateException : Exception
{
public UnpoweredGateException()
{
}
public UnpoweredGateException(string message) : base(message)
{
}
p... | 1.947508 | e407b694d2774b66b2710b91320c0e8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845501 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "sharwell/ef6tools",
"max_stars_repo_path": "src/EntityFramework/Core/Mapping/StructuralTypeMapping.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164721"
} | starcoder | <filename>src/EntityFramework/Core/Mapping/StructuralTypeMapping.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
namespace System.Data.Entity.Core.Mapping
{
using System.Collections.ObjectModel;
/// <summary>
... | 2.441384 | 7d28ab3aa840d74c1bf58cc20fde97c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845502 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Warid13/DotNet",
"max_stars_repo_path": "2.MvcIntroWebApp/MvcIntroWebApp/Gateway/DepartmentGateway.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164722"
} | starcoder | <reponame>Warid13/DotNet
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.Configuration;
using MvcIntroWebApp.Models;
using MvcIntroWebApp.Models.ViewModel;
namespace MvcIntroWebApp.Gateway
{
public class DepartmentGatewa... | 2.780582 | 962e283cd358c05a65a70265f08e896a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845503 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "adrianvalor/connectedcare-sdk",
"max_stars_repo_path": "SnapMD.VirtualCare.ApiModels/ConsultationResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164723"
} | starcoder | <filename>SnapMD.VirtualCare.ApiModels/ConsultationResult.cs
#region Copyright
// Copyright 2016 SnapMD, 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://ww... | 1.347368 | b33d3501082d6f7a5810cdb8ca695182 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845504 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rafael-Prado/Padroes-de-Projeto-C_Sharp",
"max_stars_repo_path": "PadroesDeProjetoCsharp/PadraoFactoryMethod/AutenticacaoGoogle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164724"
} | starcoder |
using System;
namespace PadraoFactoryMethod
{
//Product Concreto
public class AutenticacaoGoogle: Autenticacao
{
public override void Autenticar()
{
Console.WriteLine("Autenticado via Google!!!");
}
}
}
| 2.247432 | 2b4848998a57b35db1a88cf5810a614d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845505 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sharemee/Dicom",
"max_stars_repo_path": "ClearCanvas.Dicom/Iod/VoiDataLut.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164725"
} | starcoder | <filename>ClearCanvas.Dicom/Iod/VoiDataLut.cs
#region License
// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribut... | 2.286732 | 57bb1c611cb97667586c4c9ef6923991 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845506 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chencai01/scada-v6",
"max_stars_repo_path": "ScadaAgent/ScadaAgent/ScadaAgentEngine/EngineUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164726"
} | starcoder | /*
* Copyright 2022 Rapid Software LLC
*
* 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 applicable law or... | 2.496739 | 1b553a17b38ed735f8f50a0c1dd6b81e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845507 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dp9u0/mhxy",
"max_stars_repo_path": "src/mhxy-client/NetEase/ResourceBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164727"
} | starcoder | <filename>src/mhxy-client/NetEase/ResourceBase.cs
// FileName: ResourceBase.cs
// Author: guodp <<EMAIL>>
// Create Date: 20180202 08:53
// Description:
#region
using System;
using mhxy.Logging;
#endregion
namespace mhxy.NetEase {
/// <summary>
/// Base类
/// </summary>
public abstract cl... | 2.360428 | cc99b06f50a2e133a2d49371d1f497db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845508 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "jamie-davis/ConsoleTools",
"max_stars_repo_path": "ConsoleToolkit/CommandLineInterpretation/BasePositional.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164728"
} | starcoder | using System;
namespace ConsoleToolkit.CommandLineInterpretation
{
/// <summary>
/// The base class for positional parameters of command configurations.
/// </summary>
public abstract class BasePositional : IContext, IPositionalArgument
{
public string ParameterName { get; set; }
... | 2.67021 | 12daa00097c901ef63e08ac447f8ec70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845509 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "minhducsun2002/OsuSharp",
"max_stars_repo_path": "src/OsuSharp.Domain/Interfaces/IClientEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164729"
} | starcoder | <reponame>minhducsun2002/OsuSharp
namespace OsuSharp.Interfaces
{
public interface IClientEntity
{
IOsuClient Client { get; }
}
}
| 1.177992 | ed12561c429a07b590ade5517ca20b79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845510 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xingh/opendms-dot-net",
"max_stars_repo_path": "OpenDMS.Networking/Api/Responses/ResponseBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164730"
} | starcoder | <gh_stars>0
using System;
using System.Web;
namespace OpenDMS.Networking.Api.Responses
{
public abstract class ResponseBase : MessageBase
{
public static ResponseBase BuildFrom(Requests.RequestBase request)
{
throw new NotImplementedException();
}
publi... | 1.238802 | d60eb8861b6c730713c47cb08230a47b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845511 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "konrad-jamrozik/dotnet-lib",
"max_stars_repo_path": "lib/Primitives/DaySpan.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164731"
} | starcoder | using System;
using Wikitools.Lib.Contracts;
namespace Wikitools.Lib.Primitives;
public record DaySpan
{
public DaySpan(DateTime now, int daysAgo) : this(
new DateDay(now.AddDays(-daysAgo)),
new DateDay(now)) { }
public DaySpan(DateDay afterDay, DateDay beforeDay)
{
// Note this ... | 3.147684 | 992f1c6bc566d370da61cfe18b45d423 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.