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 | 8837112 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emrecakmak77/OOPS",
"max_stars_repo_path": "OOPS.BLL/Abstract/EmployeeAbstract/ISystemEducationService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156332"
} | starcoder | using OOPS.Core.Business;
using OOPS.DTO.Employee;
using System;
using System.Collections.Generic;
using System.Text;
namespace OOPS.BLL.Abstract.EmployeeAbstract
{
public interface ISystemEducationService : IServiceBase
{
SystemEducationDTO getSystemEducation(int Id);
SystemEducationDTO newSy... | 1.816513 | a8ec4e7314fc5e675224dd5474706350 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837113 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "munik/dotnet-webassembly",
"max_stars_repo_path": "WebAssembly/Instructions/Int32TruncateSaturateFloat32Signed.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156333"
} | starcoder | <reponame>munik/dotnet-webassembly
using System;
using System.Reflection.Emit;
using WebAssembly.Runtime.Compilation;
namespace WebAssembly.Instructions;
/// <summary>
/// Truncate (with saturation) a 32-bit float to a signed 32-bit integer.
/// </summary>
public class Int32TruncateSaturateFloat32Signed : TruncateSa... | 2.300325 | f5d71e0d871d2f735fd9c76c389f22c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837114 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "vrushti-mody/Mini-Games",
"max_stars_repo_path": "Games/Forest of Terrors/Assets/Scripts/DamageController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156334"
} | starcoder | <reponame>vrushti-mody/Mini-Games
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DamageController : MonoBehaviour
{
public float speed;
public bool vertical;
public float changeTime = 3.0f;
Rigidbody2D rigidbody2D;
float timer;
int direction = 1;
... | 2.083997 | 96b9ad83a414c1430b22fb2e78479c31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837115 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "residentsystem/ResidentBookmark",
"max_stars_repo_path": "Models/Label.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156335"
} | starcoder | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace ResidentBookmark.Models
{
public class Label
{
public int LabelId { get; set; }
[Required, MaxLength(50)]
public string Name { get; set; }
[Required, MaxLength(60)]
public string ... | 2.322457 | f721e3740c260a499b27eccfd45284bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837116 | {
"extension": "c-sharp",
"max_stars_count": "2291.0",
"max_stars_repo_name": "X10sions/linq2db",
"max_stars_repo_path": "Source/LinqToDB/Linq/Builder/GroupByElementBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156336"
} | starcoder | <filename>Source/LinqToDB/Linq/Builder/GroupByElementBuilder.cs
using System.Linq;
using System.Linq.Expressions;
namespace LinqToDB.Linq.Builder
{
using Extensions;
class GroupByElementBuilder : ISequenceBuilder
{
public int BuildCounter { get; set; }
GroupByBuilder.GroupByContext? GetGroupByCon... | 2.623277 | 6d3db1d6938f38147e5563cfa7cb7686 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837117 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheFTeam/OldBoardGamesNeedLoveToo",
"max_stars_repo_path": "OldBoardGamesNeedLoveToo/OldBoardGamesNeedLoveToo.Data/Repositories/EfRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156337"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Linq.Expressions;
using Bytes2you.Validation;
namespace OldBoardGamesNeedLoveToo.Data.Repositories
{
public class EfRepository<T> : IRepository<T>
where T : c... | 2.711268 | df976f079038b58b7c2ac4faa62c7a4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837118 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "daridakr/ProgGuru",
"max_stars_repo_path": "modules/Volo.CmsKit/src/Volo.CmsKit.Common.Application.Contracts/Volo/CmsKit/Blogs/BlogFeatureDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156338"
} | starcoder | using System;
using Volo.Abp.Application.Dtos;
namespace Volo.CmsKit.Blogs;
[Serializable]
public class BlogFeatureDto : EntityDto<Guid>
{
public string FeatureName { get; set; }
public bool IsEnabled { get; set; }
}
| 1.543385 | d3f504c46309ff8009b22cea595c7bf2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837119 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Unravl/OpenClassic",
"max_stars_repo_path": "test/OpenClassic.Server.Tests/Collections/NaiveSpatialDictionaryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156339"
} | starcoder | using DryIoc;
using OpenClassic.Server.Collections;
using OpenClassic.Server.Domain;
using Xunit;
namespace OpenClassic.Server.Tests.Collections
{
public class NaiveSpatialDictionaryTests
{
public static Container Container
{
get
{
var container = new Co... | 2.485394 | 3647668eb7863f1bc6a7ad7beeb38de6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837120 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ghost6922112269/MWA-Zoro",
"max_stars_repo_path": "Alkahest/Commands/ServeCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156340"
} | starcoder | using Alkahest.Core;
using Alkahest.Core.Data;
using Alkahest.Core.Logging;
using Alkahest.Core.Net;
using Alkahest.Core.Net.Game;
using Alkahest.Core.Net.Game.Serialization;
using Alkahest.Core.Plugins;
using Mono.Options;
using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
us... | 1.82833 | 0eb8aafc748b40da7e47b739b533c927 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837121 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Maersmann/Portfolio-UI",
"max_stars_repo_path": "Portfolio-UI/Logic/Logic.UI/AuswertungViewModels/DividendeErhaltenViewModels/DividendeWertpapierAuswertungViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156341"
} | starcoder | <filename>Portfolio-UI/Logic/Logic.UI/AuswertungViewModels/DividendeErhaltenViewModels/DividendeWertpapierAuswertungViewModel.cs
using Aktien.Logic.Core;
using Aktien.Logic.Core.Validierung.Base;
using Base.Logic.Core;
using Base.Logic.ViewModels;
using Data.Model.AuswertungModels;
using LiveCharts;
using LiveCharts.W... | 2.309242 | 03fd2b659217247a021a98c13450c291 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837122 | {
"extension": "c-sharp",
"max_stars_count": "111.0",
"max_stars_repo_name": "MarkPflug/Sylvan",
"max_stars_repo_path": "source/Sylvan.Data.Csv/CsvStyle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156342"
} | starcoder | using System;
namespace Sylvan.Data.Csv
{
/// <summary>
/// The CSV quoting and escaping styles.
/// </summary>
public enum CsvStyle
{
/// <summary>
/// Parses using the standard RFC4180 mode.
/// </summary>
Standard = 1,
/// <summary>
/// Interprets fields as if they are implicitly quoted. Delimite... | 2.662386 | 23b01c80454983c4a996c5a56ab91d10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837123 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "abock/runtime",
"max_stars_repo_path": "src/mono/mono/benchmark/cmov2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156343"
} | starcoder | <gh_stars>100-1000
using System;
class T {
static void Main () {
int a = 1, b = 2, c = 3, d = 4, e = 5;
for (int i = 0; i < 500000000; i ++) {
// on the stack
if (a == b)
a = i;
if (b == a)
b = i;
if (c == d)
c = i;
if (d == e)
d = i;
if (e == a)
e = i;
}
if ((a ^ b ^ c... | 3.349015 | c4cc71b033528bf1b760cd943868ae09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837124 | {
"extension": "c-sharp",
"max_stars_count": "95.0",
"max_stars_repo_name": "GU-CHENG/arcor",
"max_stars_repo_path": "Assets/GoogleARCore/SDK/Scripts/Utility/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156344"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="Constants.cs" company="Google">
//
// Copyright 2017 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
//... | 1.631128 | ad0346f2382f935085bd6c7c64766909 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837125 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stec-zcps/NetworkPerformanceMeasurment",
"max_stars_repo_path": "src/NetworkPacketCapturer/KunbusTap/KunbusTapData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156345"
} | starcoder | // <copyright file="KunbusTapData.cs" company="Fraunhofer Institute for Manufacturing Engineering and Automation IPA">
// Copyright 2021 Fraunhofer Institute for Manufacturing Engineering and Automation IPA
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in com... | 2.403582 | f6568f38b64160e59bdff64f13cab7cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837126 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tc303730352/WedonekRpcFrame",
"max_stars_repo_path": "Source/RpcService/RpcService/DAL/ServerLimitConfigDAL.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156346"
} | starcoder | <gh_stars>1-10
using RpcModel.Model;
namespace RpcService.DAL
{
internal class ServerLimitConfigDAL : SqlExecHelper.SqlBasicClass
{
public ServerLimitConfigDAL() : base("ServerLimitConfig")
{
}
public bool GetLimitConfig(long serverId, ... | 1.633564 | 557f411be9d8fb6c4667dbd0b94e9b6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837127 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "derekjamescurtis/foss-lock",
"max_stars_repo_path": "FossLock.Web/Controllers/Base/PrimaryEntityCrudController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156347"
} | starcoder | namespace FossLock.Web.Controllers.Base
{
using System.Linq;
using System.Net;
using System.Web.Mvc;
using FossLock.BLL.Service;
using FossLock.Model.Base;
using FossLock.Web.ViewModels;
using FossLock.Web.ViewModels.Converters;
/// <summary>
/// Base class for basic CRUD contr... | 2.709003 | bd4b0e7510c2bef5990b0fe06eab5ed9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837128 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "akaneia/MexFF",
"max_stars_repo_path": "MexFF/FighterFunction/LinkFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156348"
} | starcoder | using System.Collections.Generic;
using System.IO;
namespace MexTK.FighterFunction
{
public class LinkFile
{
private Dictionary<string, uint> List = new Dictionary<string, uint>();
/// <summary>
///
/// </summary>
public LinkFile()
{
}
/// <su... | 3.320562 | 6dce2a70e73d6840ebd04cff47eb72d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837129 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-Alpha-ValidationService-POC",
"max_stars_repo_path": "src/DCT.ValidationService.POC/BusinessRules.POC.Tests/DateOfBirth_48Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156349"
} | starcoder | <filename>src/DCT.ValidationService.POC/BusinessRules.POC.Tests/DateOfBirth_48Tests.cs
using BusinessRules.POC.DateOfBirth;
using FluentAssertions;
using System;
using Xunit;
namespace BusinessRules.POC.Tests
{
public class DateOfBirth_48Tests
{
[Fact]
public void Exclude_True()
{
... | 2.428268 | 941861697b140ac02723874b2d3e22e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837130 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Calabonga/Facts",
"max_stars_repo_path": "src/Calabonga.Facts/Calabonga.Facts.Web/Views/Administrator/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:156350"
} | starcoder | <filename>src/Calabonga.Facts/Calabonga.Facts.Web/Views/Administrator/Index.cshtml
@using Microsoft.AspNetCore.Mvc.Localization
@{
Layout = "_Layout";
ViewData["Title"] = "Панель управления";
}
<h1>@TempData["Title"]</h1>
<div class="row">
<div class="col-md-6 col-sm-6">
<div>
<h4>Фа... | 1.988223 | 161410af19137d6946238dc90f7285e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837131 | {
"extension": "c-sharp",
"max_stars_count": "2376.0",
"max_stars_repo_name": "RyanHill-MSFT/kudu",
"max_stars_repo_path": "Kudu.SiteManagement.Test/Configuration/Fakes/CertificateStoresConfigurationElementCollectionFake.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156351"
} | starcoder | using Kudu.SiteManagement.Configuration.Section.Cert;
namespace Kudu.SiteManagement.Test.Configuration.Fakes
{
public class CertificateStoresConfigurationElementCollectionFake : CertificateStoresConfigurationElementCollection
{
public CertificateStoresConfigurationElementCollectionFake AddFake(Certific... | 1.455903 | 6c877ffae3b9e1993edf44788e4a4873 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837132 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "exawon/VisualCrossProduct",
"max_stars_repo_path": "Assets/CrossProduct.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156352"
} | starcoder | <filename>Assets/CrossProduct.cs<gh_stars>1-10
using UnityEngine;
[ExecuteInEditMode]
public class CrossProduct : MonoBehaviour
{
public Transform lhs;
public Transform rhs;
void Update()
{
transform.localPosition = Vector3.Cross(lhs.localPosition, rhs.localPosition);
}
}
| 2.365152 | ddb65e3587d0606674a49474243906c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837133 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "CenterEdge/Yardarm",
"max_stars_repo_path": "src/Yardarm/Packaging/DefaultPackageSpecGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156353"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using NuGet.Frameworks;
using NuGet.LibraryModel;
using NuGet.ProjectModel;
using Yardarm.Enrichment;
using Yardarm.Enrichment.Packaging;
namespace Yardarm.Packaging
{
public class DefaultPackageSpecGenerator : IPackageSpecGenerator
{
... | 2.150306 | dba66d53105887065c07a793f3f11afa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ashlyrclark/docs.particular.net",
"max_stars_repo_path": "Snippets/Core/Core_8/Transports/TransportDefinition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156354"
} | starcoder | namespace Core8
{
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using NServiceBus;
using NServiceBus.Routing;
using NServiceBus.Transport;
class TransportDefinition : NServiceBus.Transport.TransportDefinition, IMessageDr... | 1.860479 | 6d3f882efefcd7736c5d0d021fb7e97e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837135 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "devston/real-time-web-theming-engine",
"max_stars_repo_path": "RealTimeThemingEngine.ThemeEngine.Data/Repositories/CachedThemeEngineRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156355"
} | starcoder | using RealTimeThemingEngine.ThemeEngine.Core.Interfaces;
using System.Collections.Generic;
using System.Runtime.Caching;
namespace RealTimeThemingEngine.ThemeEngine.Data.Repositories
{
public class CachedThemeEngineRepository : IThemeEngineRepository
{
private readonly IThemeEngineRepository _themeRep... | 2.902039 | f82b99110dbafaa578f6a831410f1413 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837136 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kombuchamp/DataBicycle",
"max_stars_repo_path": "Core/ImageReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156356"
} | starcoder | using System.Drawing;
using System.IO;
namespace DataBicycle.Core
{
static class ImageReader
{
public static Image GetImage(byte[] image)
{
if (image == null)
return null;
MemoryStream stream = new MemoryStream(image);
Image picture = Imag... | 2.724661 | dd6b9151a7d661e858e1654c5ea3a940 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837137 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nhuduy/Sales_Management",
"max_stars_repo_path": "Sales Management/FrmRegister.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156357"
} | starcoder | <reponame>nhuduy/Sales_Management
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 Sales_Management
{
public partial class FrmRegister : Form
{
... | 1.890631 | b3813d53512f7e244125877cce14e634 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837138 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MTKGroup/LookAndFeel",
"max_stars_repo_path": "Source/LookAndFeelFramework/ClientApp/FormMain.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156358"
} | starcoder | namespace ClientApp
{
partial class FormMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param... | 1.987877 | 76da5f426e8acd09d5b8c9723e5f1ea2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837139 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HugoPeters/xamarin-bluetooth-le",
"max_stars_repo_path": "Source/Plugin.BLE.Android/Socket.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156359"
} | starcoder | <filename>Source/Plugin.BLE.Android/Socket.cs
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Android.Bluetooth;
using Plugin.BLE.Abstractions;
using Plugin.BLE.Abstractions.Contracts;
namespace Plugin.BLE.Android
{
public class Socket : ISock... | 2.709894 | 8f6291d4eba197e72d1cccdfeef676ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837140 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "LanceMcCarthy/MvpApi",
"max_stars_repo_path": "src/MvpApi.Uwp/Views/ProfilePage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156360"
} | starcoder | using Windows.UI.Xaml.Controls;
namespace MvpApi.Uwp.Views
{
public sealed partial class ProfilePage : Page
{
public ProfilePage()
{
InitializeComponent();
}
}
}
| 1.26307 | e2e3d48c7e3f724f867950e720cef2c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837141 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EliPedro/Patterns",
"max_stars_repo_path": "Patterns/Patterns.Criacao/AbstractFactory/Interfaces/IReceptor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156361"
} | starcoder | namespace Patterns.Criacao.AbstractFactory.Interfaces
{
public interface IReceptor
{
void Mensagem();
}
} | 1.818397 | bac26fe69fd21680622622d541dcf5dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837142 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "eneifert/ZenDeskApi",
"max_stars_repo_path": "ZenDeskTests/ZenDeskTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156362"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Mime;
using System.Text;
using NUnit.Framework;
using RestSharp;
using ZenDeskApi;
using ZenDeskApi.Model;
namespace ZenDeskTests
{
[TestFixture]
public class ZenDeskTests
{
ZenDeskApi.ZenDeskApi _... | 2.264478 | 0dd912f350e070495a9e6ba975762011 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837143 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UndeadRat22/shopsnap-backend",
"max_stars_repo_path": "ShopSnapWebApi/ShopSnapWebApi/Controllers/ReceiptItemController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156363"
} | starcoder | using ShopSnapWebApi.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using ShopSnapWebApi.Repositories;
namespace ShopSnapWebApi.Controllers
{
public class ReceiptItemController : ApiController
{
IReceiptItemRep... | 2.007807 | c4121154967ae63441943ae1e6188e71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837144 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HectorRPC/Toggl2Excel",
"max_stars_repo_path": "Toggl.Daneel/ViewSources/LicensesTableViewSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156364"
} | starcoder | using System;
using System.Collections.Immutable;
using Foundation;
using Toggl.Daneel.Cells;
using Toggl.Daneel.Cells.Settings;
using Toggl.Multivac;
using UIKit;
namespace Toggl.Daneel.ViewSources
{
public sealed class LicensesTableViewSource : UITableViewSource
{
public const string CellIdentifier ... | 2.32479 | 0406c14aa7895b7f28c2df786bff15dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837145 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "digitalinteraction/ourstory-titan",
"max_stars_repo_path": "Bootlegger.Application.Lib/BootleggerApplication.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156365"
} | starcoder | <reponame>digitalinteraction/ourstory-titan<filename>Bootlegger.Application.Lib/BootleggerApplication.cs
using CertificatesToDBandBack;
using Docker.DotNet;
using Docker.DotNet.Models;
using Docker.DotNet.X509;
using MongoDB.Bson;
using MongoDB.Driver;
using NETWORKLIST;
using NLog;
using SimpleWifi;
using SimpleWifi.... | 1.669452 | bf689143ddeae8274b4d09749dcfee3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837146 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marceloqueiros/windows-forms-and-phone",
"max_stars_repo_path": "Standalone app/Bitalino - Projeto LAB3/ViewListarUtilizadores.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156366"
} | starcoder | <filename>Standalone app/Bitalino - Projeto LAB3/ViewListarUtilizadores.Designer.cs
namespace Bitalino___Projeto_LAB3
{
partial class ViewListarUtilizadores
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components ... | 1.780869 | 765c3bf2d83700b3f7832113a465057b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837147 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "monkiepaws/razor-pages-whose-coffee",
"max_stars_repo_path": "WhoseCoffee/WhoseCoffeeWebApp/Data/Migrations/20191126002302_AddModels.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156367"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace WhoseCoffeeWebApp.Data.Migrations
{
public partial class AddModels : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Members",
... | 2.431169 | 8c73c81389150e7636599eb85491cdb3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837148 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yoavalon/PdfSplitter",
"max_stars_repo_path": "Filter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156368"
} | starcoder | <reponame>yoavalon/PdfSplitter<filename>Filter.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using iTextSharp;
using iTextSharp.text;
using iTextSharp.text.pdf;
using System.IO;
namespace PdfPicker
{
public class Filter
{
public ... | 2.481709 | 29442c58fb1c61595662fd1717127008 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837149 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "collenirwin/Codewars-Solutions",
"max_stars_repo_path": "Solutions/C#/Initialize my name(7 kyu).cs",
"provenance": "train-00027-of-00045.jsonl.gz:156369"
} | starcoder | using System.Linq;
public class Kata
{
public static string InitializeNames(string name)
{
var names = name.Split(' ');
if (names.Length < 3)
{
return name;
}
return names.First() + " " +
string.Join(" ", names
.Skip(1)
.Take(names.Length - 2)
.Sel... | 3.33465 | 007ffbfb5a0e49b8c133b5787c95f96e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837150 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "leafcxy/BrnShop",
"max_stars_repo_path": "Libraries/BrnShop.Services/ShipCompanies.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156370"
} | starcoder | <reponame>leafcxy/BrnShop<gh_stars>1-10
using System;
using System.Collections.Generic;
using BrnShop.Core;
namespace BrnShop.Services
{
/// <summary>
/// 配送公司操作管理类
/// </summary>
public partial class ShipCompanies
{
/// <summary>
/// 获得配送公司列表
/// </summary>
/// <r... | 2.266323 | 38a0fcbf4337082652909841ca0118db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837151 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marcusca10/GenericScimConnector",
"max_stars_repo_path": "ScimReferenceApi/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156371"
} | starcoder | //----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
namespace Microsoft.AzureAD.Provisioning.ScimReference.Api
{
using System.Text;
using Microsoft.AspNetCore.Authent... | 1.555153 | 49bcca1112298a8759cebcaf47ee8b8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837152 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tsuixl/TsuixlLockstep",
"max_stars_repo_path": "Server/Package/OpCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156372"
} | starcoder | namespace Server.Package
{
public static class OpCode
{
public const short C2S_LOGIN = 10001; // 登录
public const short S2C_LOGIN = 20001; // 返回登录
}
} | 1.496129 | 08e5ac4ffa95a247fdf6cb7a7e107b58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837153 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "corneliudascalu/operation-cronos",
"max_stars_repo_path": "1mai/WindowsGame1/GameProcessor/TimeMachine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156373"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Operation_Cronos.Display;
using Microsoft.Xna.Framework;
namespace Operation_Cronos.GameProcessor
{
public enum TimeGateUpgradeLevelsValues
{
//Number of years
UpgradeCategory... | 2.44388 | 4e9d91b4d51c39006b704f14f8a171fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abbasmhd/ProxyR",
"max_stars_repo_path": "src/ProxyR.Middleware/ProxyRMiddleware.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156374"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Option... | 2.176155 | 8815e7f293cdb0d005abb0f6eb6b8c58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837155 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hnmendes/microservices-project",
"max_stars_repo_path": "src/User.Service/User.Infra/Repositories/UserRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156375"
} | starcoder | <gh_stars>0
using Microsoft.EntityFrameworkCore;
using User.Domain.Contracts.Repositories;
using User.Infrastructure.Context;
namespace User.Infrastructure.Repositories
{
public class UserRepository : RepositoryBase<Domain.Entities.User>, IUserRepository
{
public UserRepository(UserContext db) : base(... | 2.075533 | c95dbcc8e152f47baf506f755591993c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837156 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VasilevMaxim/MinimaxAI",
"max_stars_repo_path": "MinimaxAI/Matrix/IMatrixAdjacency.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156376"
} | starcoder | namespace MinimaxAI.Loading
{
internal interface IMatrixAdjacency
{
int[] this[int key] { get; }
void Add(int key, int[] values);
}
} | 1.868091 | 61da1df1b4db948048861dab47a88bfd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837157 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MikaelStenstrand/rampart-remake",
"max_stars_repo_path": "Assets/Scripts/GameLogic/GameModeCycle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156377"
} | starcoder | <filename>Assets/Scripts/GameLogic/GameModeCycle.cs<gh_stars>0
using Photon.Pun;
using UnityEngine;
namespace Rampart.Remake {
public class GameModeCycle : MonoBehaviour {
[SerializeField]
KeyCode _debugChangeGameMode = KeyCode.G;
[SerializeField]
GameModeProperty _g... | 2.199591 | 008dcd038d72e63d882ec586f7cc53c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FelipeCabralz/PokeApi-He4rts",
"max_stars_repo_path": "PokeApi.Domain/ViewModels/CreatePokemonViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156378"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PokeApi.Domain.ViewModels
{
public class CreatePokemonViewModel
{
[Required]
public string Nome { get; set; }
publi... | 1.724384 | a1d43343c0de89801aaadedc7bb0d6de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837159 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FahadSProgramming/BugLog",
"max_stars_repo_path": "BugLog.Application/Countries/Commands/DeleteCountry/DeleteCountryCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156379"
} | starcoder | using MediatR;
using System;
using System.Threading;
using System.Threading.Tasks;
using BugLog.Application.Exceptions;
using BugLog.Application.Interfaces;
using BugLog.Domain.Entities;
using System.Linq;
using Microsoft.EntityFrameworkCore;
namespace BugLog.Application.Countries.Commands
{
public class DeleteCou... | 2.516783 | 47f123de381e6b1dea3aaf8fbf605b92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837160 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OttoVT/Crypto.Hill",
"max_stars_repo_path": "src/Crypto.Hill/Crypto.Hill/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156380"
} | starcoder | <filename>src/Crypto.Hill/Crypto.Hill/Program.cs
using System;
using System.Collections.Generic;
using System.Text;
using Crypto.Hill.Core.Matricies;
namespace Crypto.Hill
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine((int)'a');
Console.WriteLine... | 3.15475 | b9834b947fca5b196a7e3d3376d0b512 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837161 | {
"extension": "c-sharp",
"max_stars_count": "107.0",
"max_stars_repo_name": "mic-max/opentelemetry-dotnet-instrumentation",
"max_stars_repo_path": "src/OpenTelemetry.ClrProfiler.Managed/Tagging/Property.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156381"
} | starcoder | using System;
namespace OpenTelemetry.ClrProfiler.Managed.Tagging
{
internal class Property<TTags, TResult> : IProperty<TResult>
{
public Property(string key, Func<TTags, TResult> getter, Action<TTags, TResult> setter)
{
Key = key;
Getter = tags => getter((TTags)tags);
... | 2.457323 | c07be218ad4045c4d28e5cec56aa4a29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837162 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "corinthdev/Invoice-and-Accounting-System",
"max_stars_repo_path": "aspnet-core/src/AccountingSystems.Web.Mvc/Models/Stocks/StockListViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156382"
} | starcoder | using AccountingSystems.Products.Dto;
using AccountingSystems.Sessions.Dto;
using AccountingSystems.Stocks.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AccountingSystems.Web.Models.Stocks
{
public class StockListViewModel
{
public IRea... | 1.485482 | 4d1dc2846ea8e179d6313ee5297a98c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837163 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kegbeach/ErsatzTV",
"max_stars_repo_path": "ErsatzTV.Infrastructure/Jellyfin/Models/JellyfinUserResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156383"
} | starcoder | <filename>ErsatzTV.Infrastructure/Jellyfin/Models/JellyfinUserResponse.cs<gh_stars>0
namespace ErsatzTV.Infrastructure.Jellyfin.Models;
public class JellyfinUserResponse
{
public string Name { get; set; }
public string Id { get; set; }
public JellyfinUserPolicyResponse Policy { get; set; }
}
| 1.612276 | 9ee831c2c0ecde65bce2f977ea6d9498 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837164 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "twinbird827/NicoV2",
"max_stars_repo_path": "Mvvm/ViewModel/WorkSpaceViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156384"
} | starcoder | <reponame>twinbird827/NicoV2<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NicoV2.Mvvm.ViewModel
{
public class WorkSpaceViewModel : BindableBase
{
}
}
| 0.581266 | 60d9fc0246f48534aa648f677444300f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837165 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "jaymepechan/USDComponentLibrary",
"max_stars_repo_path": "Src/Utilities/Win32.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156385"
} | starcoder | /********************************************************
* *
* Copyright (C) Microsoft. All rights reserved. *
* *
********************************************************/
using System;
using System.Collec... | 1.867407 | 06ad9be9368c2bfddc7038c4d7818177 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837166 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cloudsdaleapp/cloudsdale-metro",
"max_stars_repo_path": "Cloudsdale-Metro/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156386"
} | starcoder | <reponame>cloudsdaleapp/cloudsdale-metro<gh_stars>0
using System;
using System.Diagnostics;
using System.Linq;
using Callisto.Controls.SettingsManagement;
using CloudsdaleLib;
using Cloudsdale_Metro.Controllers;
using Cloudsdale_Metro.Views;
using Cloudsdale_Metro.Views.Controls;
using Cloudsdale_Metro.Views.LoadPages... | 1.832079 | ea234edadf21c958e4f064e9404fc2e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837167 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Ultz/Bcl",
"max_stars_repo_path": "src/Ultz.Extensions.Commands/Parsing/TypeParsers/Primitive/IPrimitiveTypeParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156387"
} | starcoder | <gh_stars>1-10
using Ultz.Extensions.Commands.Built;
namespace Ultz.Extensions.Commands.Parsing.TypeParsers.Primitive
{
internal interface IPrimitiveTypeParser
{
bool TryParse(Parameter parameter, string value, out object result);
}
} | 1.362773 | 6e0320af0efa0630879e6e7fb7050256 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837168 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ysjr-2002/GZ-SpotGate",
"max_stars_repo_path": "GZ-SpotGate/Udp/UdpComServer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156388"
} | starcoder | <gh_stars>0
using GZ_SpotGate.Core;
using log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace GZ_SpotGate.Udp
{
internal class UdpComServer
{
private int _port = 0;
pr... | 2.251081 | abd7bb398707eb2c062db215e77c887a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837169 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "gix/PresentationTheme",
"max_stars_repo_path": "Source/ThemeCore/Native/LoadLibraryExFlags.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156389"
} | starcoder | <filename>Source/ThemeCore/Native/LoadLibraryExFlags.cs
namespace ThemeCore.Native
{
using System;
[Flags]
public enum LoadLibraryExFlags : uint
{
/// <native>DONT_RESOLVE_DLL_REFERENCES</native>
DontResolveDllReferences = 0x00000001,
/// <native>LOAD_IGNORE_CODE_AUTHZ_LEVEL</na... | 1.642756 | ea97b7502de52b5a0a9a668e8a0f2d61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837170 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SharperMC/SharperMC",
"max_stars_repo_path": "SharperMC/SharperMC.Core/SharperMC.Core/Items/Tools/Misc/ItemFlintAndSteel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156390"
} | starcoder | // Distrubuted under the MIT license
// ===================================================
// SharperMC uses the permissive MIT license.
//
// 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 Softwa... | 2.000844 | 0b9372b978e0b39aa16393ef170bf8f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837171 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "almoretto/LaFamiglia_Pizzaria_Delivery",
"max_stars_repo_path": "LaFamigliaPizzeriaDelivery/Entities/Enums/OrderStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156391"
} | starcoder | namespace Entities.Enums
{
public enum OrderStatus:int
{
Ativo = 1,
EmProducao = 2,
EmExpedicao = 3,
EmDelivery = 4,
Entregue = 5,
ProblemaNaEntrega = 6,
Devolucao = 7
}
}
| 1.925909 | abac9d16548564d27e181d52c6d2171a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837172 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leocosta/AppStore",
"max_stars_repo_path": "server/src/AppStore.Application.Services/Orders/OrderAppService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156392"
} | starcoder | using System;
using AppStore.Application.Services.Exceptions;
using AppStore.Domain.Apps;
using AppStore.Domain.Common;
using AppStore.Domain.Users;
using AppStore.Domain.CreditCards;
using AppStore.Infra.CrossCutting.Serialization;
using AppStore.Streaming.Producer;
using AppStore.Streaming.Handlers;
using AppStore.D... | 2.148827 | 5c6393ff26f2c248beda2e573004f8aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837173 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cormacpayne/Oryx",
"max_stars_repo_path": "tests/Oryx.Common.Tests/StringExtensionsTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156393"
} | starcoder | <gh_stars>0
// --------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
// --------------------------------------------------------------------------------------------
using Xunit;
... | 2.431974 | a2b187989fcd30643666dc086b40e1e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837174 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jago2136/azure-powershell",
"max_stars_repo_path": "src/Cdn/generated/api/Models/Api20210601/CdnCertificateSourceParameters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156394"
} | starcoder | <filename>src/Cdn/generated/api/Models/Api20210601/CdnCertificateSourceParameters.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may ... | 1.896185 | 09b046039ad4bbdab8465d06b6be28ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837175 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "caidevOficial/CSharp_UTN_LaboII",
"max_stars_repo_path": "1_Ejercicios_Guia/13_Interfaces_Ej_50_53/Ejercicio_53/Models/Classes/Cartuchera1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156395"
} | starcoder | /*
* MIT License
*
* Copyright (c) 2021 [FacuFalcone]
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy,... | 2.684407 | 100f00c9d4b5c3911d36efc3c40fd5fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837176 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "phoxha/realproperty",
"max_stars_repo_path": "RealProperty.Web.Api/Utilities/Middlewares/ErrorHandlingMiddleware.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156396"
} | starcoder | <gh_stars>0
using RealProperty.Model.Common;
using RealProperty.Model.Exceptions;
using RealProperty.Web.Api.Model;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System;
using System.Net;
using System.Threading.Tasks;
namespace R... | 2.140022 | 55ef734761ec1f0ce04446bffebcb171 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837177 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TomNere/hevc-demo",
"max_stars_repo_path": "HEVCDemo/Helpers/ScrollDragger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156397"
} | starcoder | using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace HEVCDemo.Helpers
{
public class ScrollDragger
{
private readonly ScrollViewer scrollViewer;
private readonly UIElement content;
private Point scrollMousePoint;
private double v... | 2.399362 | b212d12c5bd1d6a2f74fbb81cbfa441d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837178 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nemss/Team-Projects",
"max_stars_repo_path": "TIEsilencer/TheTieSilincer/Interfaces/IPlayerManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156398"
} | starcoder | <reponame>nemss/Team-Projects
namespace TheTieSilincer.Interfaces
{
using TheTieSilincer.EventArguments;
using TheTieSilincer.Models;
public interface IPlayerManager : IGameObject
{
event PlayerPositionChangeEventHandler SendPlayerPosition;
void CreatePlayer(IShip ship);
void... | 1.834526 | 8de26751f944763c9efeb1e2723dd923 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837179 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "topx777/PruebaMVC",
"max_stars_repo_path": "Tintoreria/Tintoreria/App_Start/CulturesAvailables.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156399"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Upds.Sistemas.ProgWeb2.Tintoreria.MVC
{
public enum CulturesAvailables
{
es = 1,
en = 2
}
} | 1.398792 | d0cf689ea876f518be1e99f85c4f365a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837180 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GaryWayneSmith/mozu-dotnet",
"max_stars_repo_path": "Mozu.Api/Contracts/ProductAdmin/FacetRangeQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156400"
} | starcoder | <reponame>GaryWayneSmith/mozu-dotnet<gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Codezu.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-g... | 1.467268 | b42740c42de05d41e7f6c2099b751694 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837181 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArneD/message-handling",
"max_stars_repo_path": "src/Be.Vlaanderen.Basisregisters.MessageHandling.RabbitMq/ValueObjects/MessageType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156401"
} | starcoder | <reponame>ArneD/message-handling
namespace Be.Vlaanderen.Basisregisters.MessageHandling.RabbitMq
{
using System;
public readonly struct MessageType
{
public static MessageType Direct = new("direct");
public static MessageType Topic = new("topic");
public string Value { get; }
... | 2.797539 | 27475c5ab3471494297a2f99bf228ea2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837182 | {
"extension": "c-sharp",
"max_stars_count": "133.0",
"max_stars_repo_name": "icesasoftcorp/SmartBreadcrumbs",
"max_stars_repo_path": "tests/SmartBreadcrumbs.UnitTests/TestClassThree.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156402"
} | starcoder | <filename>tests/SmartBreadcrumbs.UnitTests/TestClassThree.cs
using Microsoft.AspNetCore.Mvc;
namespace SmartBreadcrumbs.UnitTests
{
public class TestClassThree
{
}
}
| 1.196907 | c6133b7a2e77aec0c2f3fe37a73db3ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837183 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "larshjohannesson/MiniProfiler",
"max_stars_repo_path": "Sample.Mvc/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:156403"
} | starcoder | @using StackExchange.Profiling
@{
var profiler = MiniProfiler.Current;
using (profiler.Step("Some complex thinking"))
{
System.Threading.Thread.Sleep(25);
}
}
@section head
{
<style type="text/css">
.ajax-requests {
width: 45%;
float: left;
}
... | 2.511445 | c4d6b010fbd683748a4cda31e78ac92a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837184 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "rbwhitaker/realm-factory",
"max_stars_repo_path": "Common.WinForms/Wizards/Wizard.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156404"
} | starcoder | namespace Starbound.Common.WinForms.Wizards
{
partial class Wizard
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summa... | 2.004359 | 3c3dcdf8fceae33cef72cc7c62615a04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837185 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "Kelendral-gh/Voxels",
"max_stars_repo_path": "Assets/Scripts/Extensions/ComputeShaderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156405"
} | starcoder | using Unity.Mathematics;
using UnityEngine;
namespace Tuntenfisch.Extensions
{
public static class ComputeShaderExtensions
{
public static void Dispatch(this ComputeShader computeShader, int kernelID, int3 numberOfInvocations)
{
uint3 threadGroupSize = new uint3();
comp... | 2.353439 | e306ad5eafafe839aa7dbace33cd6a62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837186 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jhgg/Discord.Net",
"max_stars_repo_path": "src/Discord.Net/DiscordClient.Permissions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156406"
} | starcoder | <reponame>jhgg/Discord.Net
using System;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
namespace Discord
{
public partial class DiscordClient
{
public DualChannelPermissions GetChannelPermissions(Channel channel, User user)
{
if (channel == null) throw new ArgumentNullException(nameof(cha... | 2.331331 | 605b7fc97fb72f0c10c173d6229e0360 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837187 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "couven92/thnetii-windows-api",
"max_stars_repo_path": "src-native/THNETII.WinApi.Headers.WinNT/IMAGE_HOT_PATCH_HASHES.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156407"
} | starcoder | using System.Runtime.InteropServices;
namespace THNETII.WinApi.Native.WinNT
{
// C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\um\winnt.h, line 18025
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public unsafe struct IMAGE_HOT_PATCH_HASHES
{
public fixed byte SHA256[32];
... | 1.237682 | 71f3c240ed55a171ff49a329d9545d0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837188 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stevenfollis/techorama-be-2019",
"max_stars_repo_path": "windows/demos/app/Jobs/Jobs/Admin/ExperienceLevelManager.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156408"
} | starcoder | <reponame>stevenfollis/techorama-be-2019<gh_stars>1-10
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial cla... | 1.632779 | e8125c0448047399db4e3fc76519c7b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837189 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jpark318/BLE",
"max_stars_repo_path": "Source/BLE.Client/BLE.Client/ViewModels/BleDataModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156409"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BLE.Client.ViewModels {
public class BleDataModel {
public string IndexValue { get; set; }
public double Value { get; set; }
public BleDataModel(string indexValue,... | 2.205054 | 7efec3fcb55b0045f2b344045390315e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837190 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "brian-reichle/WTG.Analyzers",
"max_stars_repo_path": "src/WTG.Analyzers.Test/TestData/WhitespaceAnalyzer/IgnoreGenerated/Source.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156410"
} | starcoder | <gh_stars>1-10
//------------------------------------------------------------------------------
// <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.
// </auto-generated>
//---------------------------... | 2.062426 | 1aa9620949b37828654a7c7aa63df2f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837191 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LucasTran-tq/FlappyBirdPremium",
"max_stars_repo_path": "FBgame/WindowsFormsApplication1/HighScoreInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156411"
} | starcoder | //using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//namespace WindowsFormsApplication1
//{
// class HighScoreInfo
// {
// }
//}
using System;
using System.IO;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using ... | 2.535639 | 8dec27be6434b537d04025afd560ff00 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837192 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "DanielVuurboom/Allure.NUnit",
"max_stars_repo_path": "TestsSamples/SamplesWithBaseClass/TestsBaseClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156412"
} | starcoder | <reponame>DanielVuurboom/Allure.NUnit
using System.IO;
using System.Reflection;
using Allure.Commons;
using NUnit.Framework;
using NUnit.Framework.Internal;
namespace TestsSamples.SamplesWithBaseClass
{
public abstract class TestsBaseClass : AllureReport
{
private static string AllureConfigDir = Path... | 2.391 | f6eee4a37273395e68deaa471aaf7f0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837193 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "hikipuro/Socketron",
"max_stars_repo_path": "interfaces/cs/Socketron/Electron/Structs/MimeTypedBuffer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156413"
} | starcoder | using System.Diagnostics.CodeAnalysis;
namespace Socketron.Electron {
[type: SuppressMessage("Style", "IDE1006")]
public class MimeTypedBuffer : JSObject {
/// <summary>
/// The mimeType of the Buffer that you are sending.
/// </summary>
public string mimeType {
get { return API.GetProperty<string>("mime... | 2.330818 | 8a9796a1a05a8eb4d6e8e2ac8bbd1af6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837194 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "contensive/Contensive50",
"max_stars_repo_path": "source/Processor/Addons/SiteExplorer/processSiteExplorerMethod.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156414"
} | starcoder | <gh_stars>1-10
using System;
using Contensive.Processor.Controllers;
using static Contensive.Processor.Constants;
using Contensive.BaseClasses;
using Contensive.Models.Db;
//
namespace Contensive.Processor.Addons.Primitives {
public class ProcessSiteExplorerMethodClass : Contensive.BaseClasses.AddonBaseClass {
... | 1.801017 | 5a6fcd72cea2817b1236569549a409ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837195 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JasonTuckerFaithlife/FaithlifeOAuth",
"max_stars_repo_path": "src/Faithlife.OAuth/OAuthContextUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156415"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using Faithlife.Utility;
namespace Faithlife.OAuth
{
/// <summary>
/// Utility methods for dealing with an OAuthContext.
/// </summary>
public static class OAuthContextUtility
{
/// <summary... | 2.967834 | 31c4471d346272b3f19f15023c97ba16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837196 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mouseflow/elasticsearch-net",
"max_stars_repo_path": "src/Nest.7xUpgradeAssistant/ElasticClient-GetUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156416"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
namespace Nest
{
public static partial class ElasticClientExtensions
{
[Obsolete("Moved to client.Security.GetUser(), please update this usage.")]
public static GetUserResponse GetUser(this IElasticClient client, Func<GetUserDescriptor, IGetUse... | 2.051849 | 6dcc43fcf0599dff3e3d6df2db489ef5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837197 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FastFixedIncome/FastFixedIncome.Standard.Library",
"max_stars_repo_path": "FastFixedIncome.Standard.Library/Models/Enums.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156417"
} | starcoder | <reponame>FastFixedIncome/FastFixedIncome.Standard.Library
using System;
using System.Collections.Generic;
using System.Text;
namespace FastFixedIncome.Standard.Library.Models
{
public enum AccrualDayCount
{
ActualBy360,
ActualBy365,
ThirtyBy360
}
public enum CouponPaymentFre... | 2.073303 | 5988f143357a898a5b541940d709ca93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837198 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dpbevin/opentelemetry-dotnet",
"max_stars_repo_path": "src/OpenTelemetry/Metrics/MetricReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156418"
} | starcoder | <filename>src/OpenTelemetry/Metrics/MetricReader.cs
// <copyright file="MetricReader.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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 c... | 2.193316 | 886110e2f8495671fa0728147bcf1ccb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837199 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "AvantTeam/MochiRun",
"max_stars_repo_path": "Assets/UI/Buttons/ButtonTextDisable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156419"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ButtonTextDisable : MonoBehaviour
{
public Color disabledColor = Color.black;
public float mix = 0.25f;
private Color onColor, offColor;
Button button; Text text;
void Start()
{
... | 2.269812 | eb8be0ff1f33c78b555b293acb165006 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837200 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "parad74/Count4U.Service.5",
"max_stars_repo_path": "src/Count4U.Service.WebAPI.Authentication/Data/Configuration/AdminConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156420"
} | starcoder | using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
namespace Count4U.Service.Core.Server.Data
{
public class AdminConfiguration : IEntityTypeConfiguration<Applicatio... | 2.260217 | fdd8866d7118cfefe978dc47eff6c096 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837201 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cporteou/PSDocs",
"max_stars_repo_path": "src/PSDocs/Models/Table.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156421"
} | starcoder | using System.Collections.Generic;
namespace PSDocs.Models
{
public sealed class Table : DocumentNode
{
public Table()
{
Headers = new List<TableColumnHeader>();
Rows = new List<string[]>();
}
public override DocumentNodeType Type => DocumentNodeType.Tab... | 2.261192 | 4def4a2c00503e08b70dce8e017c447f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837202 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "gregstoll/nidevlabs",
"max_stars_repo_path": "FanPlugin/Design/FanCommands.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156422"
} | starcoder | <reponame>gregstoll/nidevlabs
using System.Collections.Generic;
using System.Linq;
using FanControl;
using NationalInstruments.Composition;
using NationalInstruments.Core;
using NationalInstruments.MocCommon.Design;
using NationalInstruments.Controls.Shell;
using NationalInstruments.SourceModel;
using NationalInstrume... | 2.046373 | b434c154e7d0abf40bbb7d7bd499f9bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837203 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marianamn/TasteIt",
"max_stars_repo_path": "TasteIt/Web/TasteIt.Web/Models/Article/ArticleListViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156423"
} | starcoder | <filename>TasteIt/Web/TasteIt.Web/Models/Article/ArticleListViewModel.cs<gh_stars>0
namespace TasteIt.Web.Models.Article
{
using System.Collections.Generic;
public class ArticleListViewModel
{
public int CurrentPage { get; set; }
public int TotalPages { get; set; }
public IEnumer... | 2.003605 | f06642f43950a5ee82e195fe4d5452d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837204 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "otav-o/C-Sharp",
"max_stars_repo_path": "CFB/Aula041-AcessorsGET-SET.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156424"
} | starcoder | <reponame>otav-o/C-Sharp
using System;
class Animal {
private int peso;
public Animal() {
peso = 120; // pode tbm usar o pes
}
public int pes { // não possui parâmetros
get {
return peso;
}
set { // não confundir pes com peso!
if (value < 0)
peso = 0;
else if (value > 200)
peso = 200... | 3.376314 | 07c2f09c8a1e670483da26ed97770efe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837205 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "ahmet-cetinkaya/rentacar-project-backend-dotnetcore",
"max_stars_repo_path": "src/rentACar/Application/Services/Repositories/IAdditionalServiceRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156425"
} | starcoder | <reponame>ahmet-cetinkaya/rentacar-project-backend-dotnetcore
using Core.Persistence.Repositories;
using Domain.Entities;
namespace Application.Services.Repositories;
public interface IAdditionalServiceRepository : IAsyncRepository<AdditionalService>, IRepository<AdditionalService>
{
} | 0.843562 | 6dbfa8f9fb87bc812f8778e7b4b30df5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837206 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "geffzhang/abp-next-admin",
"max_stars_repo_path": "aspnet-core/modules/task-management/LINGYUN.Abp.TaskManagement.Application/LINGYUN/Abp/TaskManagement/TaskManagementApplicationService.cs",
"provenance": "train-00027-of-00045.jsonl.... | starcoder | using LINGYUN.Abp.TaskManagement.Localization;
using Volo.Abp.Application.Services;
namespace LINGYUN.Abp.TaskManagement;
public abstract class TaskManagementApplicationService : ApplicationService
{
protected TaskManagementApplicationService()
{
LocalizationResource = typeof(TaskManagementR... | 1.444925 | 3c04e463342b83d3f2944513deebc8eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837207 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EnoughTea/essentions",
"max_stars_repo_path": "Src/Tests/Auxiliary/TestTools.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156427"
} | starcoder | using System;
using NUnit.Framework;
namespace Essentions.Tests
{
public static class TestTools
{
/// <summary>
/// Tests that after repeated runs, the given predicate returns true
/// with the expected normal frequency (i.e. true 50% of the time
/// means an expected of 0.5).
... | 3.352078 | 166717985b699547aa1006de7545521e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837208 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "italabs/ITA.Common.RestHelp",
"max_stars_repo_path": "SOURCE/ITA.Common.RestHelp/SwaggerHelpResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156428"
} | starcoder | <reponame>italabs/ITA.Common.RestHelp<gh_stars>0
using System;
using System.Collections.Generic;
using System.ServiceModel.Channels;
using System.ServiceModel.Description;
using System.ServiceModel.Dispatcher;
using ITA.Common.RestHelp.Data;
using ITA.Common.RestHelp.Interfaces;
using ITA.Common.RestHelp.Views;
names... | 1.908946 | 6cb31bef82c20b8322b55eccb164e814 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837209 | {
"extension": "c-sharp",
"max_stars_count": "741.0",
"max_stars_repo_name": "tothalexlaszlo/BedrockFramework",
"max_stars_repo_path": "src/Bedrock.Framework/Transports/ServerBuilderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156429"
} | starcoder | using System;
using System.Net;
using Microsoft.AspNetCore.Connections;
using Microsoft.Extensions.DependencyInjection;
namespace Bedrock.Framework
{
public static partial class ServerBuilderExtensions
{
public static ServerBuilder Listen<TTransport>(this ServerBuilder builder, EndPoint endPoint, Acti... | 2.242481 | d4c8608719b0ce67c2ff3490c2c60747 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837210 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "renandegrandi/guadalupe-conexao",
"max_stars_repo_path": "src/Guadalupe.Conexao.App/Model/MobileInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156430"
} | starcoder | <reponame>renandegrandi/guadalupe-conexao
using SQLite;
using System;
using System.Collections.Generic;
using System.Text;
namespace Guadalupe.Conexao.App.Model
{
[Table("mobile_info")]
public class MobileInfo
{
#region Properties
[PrimaryKey, Column("id")]
public Guid Id { get; s... | 1.944469 | f31e83251096e677559f1d6a19dd06af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837211 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Thomas06000/NuGet.Client",
"max_stars_repo_path": "test/TestExtensions/API.Test/VSSolutionHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156431"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections;
using System.Diagnostics;
using System.IO;
using System.Threading.Tasks;
using EnvDTE;
using EnvDTE80;
using Microsoft.VisualStudio.Shell;
using NuGet.PackageManagement.VisualStudio;
using Task = System.Threading.Tasks.Task;
namespace API.Test
{
public static... | 2.319936 | 884bc03624c7ed16db264133e9fd7ab7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.