added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809718 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RThomasHyde/Ephemera.Tiff",
"max_stars_repo_path": "Ephemera.Tiff.Demo/Bootstrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128938"
} | starcoder | using System;
using Ephemera.Tiff.Demo.ViewModel;
using Stylet;
using StyletIoC;
namespace Ephemera.Tiff.Demo
{
public class Bootstrapper : Bootstrapper<ShellViewModel>
{
protected override void ConfigureIoC(IStyletIoCBuilder builder)
{
// Configure the IoC container in here
... | 1.47004 | 45cd97a7121f60753a7fc9ba1282c49b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809719 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NAXAM/youtubeandroidplayerapi-android-binding",
"max_stars_repo_path": "YoutubePlayerApiQs/Views/Adapter/DemoListViewItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128939"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace YoutubePlayerApiQs.Views.Adapter
{
public interface DemoListViewItem
{
string G... | 1.528023 | 38ccd491ec65050b0768375aeaef3dd2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809720 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "if1live/HoloLens-origin-sample",
"max_stars_repo_path": "Assets/Mihiro/Scripts/SyncCameraTransform.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128940"
} | starcoder | <reponame>if1live/HoloLens-origin-sample<filename>Assets/Mihiro/Scripts/SyncCameraTransform.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Assets.Mihiro.Scripts {
[RequireComponent(typeof(Camera))]
public class SyncCameraTransform : MonoBehaviour {
public C... | 2.007951 | 6877079bebfab44b173e93bda734e710 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809721 | {
"extension": "c-sharp",
"max_stars_count": "392.0",
"max_stars_repo_name": "JMayrbaeurl/Industrial-IoT",
"max_stars_repo_path": "components/opc-ua/src/Microsoft.Azure.IIoT.OpcUa/src/Registry/Events/v2/EndpointEventBusSubscriber.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128941"
} | starcoder | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Azure.I... | 1.904513 | a1473ffcbac902793268384e0da3af6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809722 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rdghickman/b2-csharp-client",
"max_stars_repo_path": "b2-csharp-client/B2.Client/Rest/Request/StreamRequestData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128942"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Net.Http;
namespace B2.Client.Rest.Request
{
/// <summary>
/// A RequestData object that contains a reference to a file on a local disk.
/// </summary>
internal sealed class StreamRequestData : RequestData
{
private readonly DataS... | 2.71905 | d618e183ea8ed3b3f090b3646ca8729d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809723 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/hmrc-apprenticeship-levy-api-stub",
"max_stars_repo_path": "src/SFA-DAS-HMRC-API-Stub.Data/Repositories/Mongo/AuthRecordRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128943"
} | starcoder | <filename>src/SFA-DAS-HMRC-API-Stub.Data/Repositories/Mongo/AuthRecordRepository.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using MongoDB.Bson;
using MongoDB.Driver;
using SFA.DAS.HMRC.API.Stub.Domain;
namespace SFA.... | 2.461868 | cc702648046357b8740245a393ebdff5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809724 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pvlamm/SimpleInvoicing",
"max_stars_repo_path": "lib/TransDev.Invoicing.Application/Common/Abstracts/ResponseBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128944"
} | starcoder | <reponame>pvlamm/SimpleInvoicing
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TransDev.Invoicing.Application.Common.Abstracts
{
public abstract class ResponseBase
{
public bool IsSuccess { get; set; }
public strin... | 1.327371 | 2c1c2d71c58d06f1139cc1dfb9a26791 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809725 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ZiffyZed/GoIPSms",
"max_stars_repo_path": "modules/GISSM/test/VOXO.GISSM.TestBase/VOXO/GISSM/GISSMTestBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128945"
} | starcoder | using Volo.Abp;
using Volo.Abp.Modularity;
namespace VOXO.GISSM
{
public abstract class GISSMTestBase<TStartupModule> : AbpIntegratedTest<TStartupModule>
where TStartupModule : IAbpModule
{
protected override void SetAbpApplicationCreationOptions(AbpApplicationCreationOptions options)
... | 1.347355 | d97f0df8857d08b83391f8eee18e474f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809726 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ncarandini/BattleShipTournament",
"max_stars_repo_path": "BattleShipTournament.GianPaolo/Model/Nave.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128946"
} | starcoder | using BattleShipTournament.GianPaolo.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
namespace BattleShipTournament.GianPaolo.Models
{
class Nave
{
int Lunghezza { get; set; }
string Nome { get; ... | 2.676031 | bd0c53b63f8a39d9414e9acf4d482799 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809727 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SvenskFisk/PromoteContextProperty",
"max_stars_repo_path": "src/PromoteContextProperty/PromoteContextPropertyComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128947"
} | starcoder | <filename>src/PromoteContextProperty/PromoteContextPropertyComponent.cs
/*
Steps to complete:
1. Rename the component (MyPipelineComponent
2. Relace "[CLASS ID - REPLACE WITH GUID]" in this file with a guid (no angle brackets).
3. In the IBaseComponent region, update the Name and the Description properties
4. Add your ... | 2.246923 | efe7578525bb739e12db844f7e61f2fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809728 | {
"extension": "c-sharp",
"max_stars_count": "1379.0",
"max_stars_repo_name": "heshengli/osharp",
"max_stars_repo_path": "src/OSharp.AspNetCore/UI/AjaxResultExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128948"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="AjaxResultExtensions.cs" company="OSharp开源团队">
// Copyright (c) 2014-2017 OSharp. All rights reserved.
// </copyright>
// <site>http://www.osharp.org</site>
// <last-editor>郭明锋</last-editor>
// <last-date>2017-09-0... | 2.464553 | 55858bba5eaa719b13ed192c75f1704e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809729 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "OmniQuant/omniquant-server",
"max_stars_repo_path": "src/FastQuant/AccountDataFieldList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128949"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
namespace FastQuant
{
[DataContract]
public class AccountDataFieldList : ICollection
{
[DataMember]
private readonly Dictionary<string, Dictionary<string, object... | 2.700207 | b13fafef6c412ab71bf58fdd09c71111 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809730 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DIMITRINALU/SoftUni-Projects",
"max_stars_repo_path": "C#Advanced/01. StacksAndQueues/P11.MaximumAndMinimumElement/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128950"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
namespace P11.MaximumAndMinimumElement
{
class Program
{
static void Main(string[] args)
{
var input = int.Parse(Console.ReadLine());
var stack = new Stack<int>();
for (int i = 0... | 3.1782 | d51d9792c0cd530c659f45d6536574d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809731 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FahadSProgramming/BugLog",
"max_stars_repo_path": "BugLog.Application/Interfaces/IPasswordGenerationService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128951"
} | starcoder | namespace BugLog.Application.Interfaces
{
public interface IPasswordGenerationService {
void GeneratePassword(string password, out byte[] passwordHash, out byte[] passwordSalt);
bool VerifyPasswordHash(string password, byte[] passwordHash, byte[] passwordSalt);
}
} | 2.056225 | 40830a408c353c63adf91051a1e7b361 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809732 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "carpenterx/Pomodoro-App",
"max_stars_repo_path": "Assets/Scripts/TimeKeeper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128952"
} | starcoder | <reponame>carpenterx/Pomodoro-App
using System.Collections;
using TMPro;
using UnityEngine;
public class TimeKeeper : MonoBehaviour
{
public TextMeshProUGUI timerText;
public UIManager settingsManager;
private int timerSeconds;
private int currentSeconds = 0;
private bool isPaused = false;
pr... | 2.264838 | 1d92011051ab4eef958ac66789b1f4b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809733 | {
"extension": "c-sharp",
"max_stars_count": "75.0",
"max_stars_repo_name": "ferBonnin/axe-windows",
"max_stars_repo_path": "src/Rules/PropertyConditions/ContentView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128953"
} | starcoder | <filename>src/Rules/PropertyConditions/ContentView.cs
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Axe.Windows.Rules.Resources;
using static Axe.Windows.Rules.PropertyConditions.BoolProperties;
using stat... | 2.173346 | 82afb8979957c0acf78db519bde93a80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809734 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jkendall327/QuietTime",
"max_stars_repo_path": "QuietTime/Wpf/ViewModels/HostViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128954"
} | starcoder | using QuietTime.Navigation;
namespace QuietTime.Wpf.ViewModels
{
internal class HostViewModel : ViewModelBase
{
Navigator _navigator;
public HostViewModel(Navigator navigator, NavigationBarVM navigationBarViewModel)
{
_navigator = navigator;
_navigationBarVM = ... | 2.16141 | fc8bcc9317be5e60861af698ab18d155 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809735 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bschorno/dispo-planner",
"max_stars_repo_path": "src/DispoPlanner/Planner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128955"
} | starcoder | <filename>src/DispoPlanner/Planner.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using ... | 2.446238 | 63f10d7d9cf88ac3eba45d6db40e0862 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809736 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "elanderson/ASP.NET-Core-Entity-Framework",
"max_stars_repo_path": "Postgres/Postgres/Pages/Contacts/ConcurrencyTest.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128956"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFrameworkCore;
using Postgres.Data;
namespace Postgres.Pages.Contacts
{
public class ConcurrencyTestModel : P... | 2.336947 | 17b82e3e7e928ba1ec2b4c8ed6ce5f0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809737 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dumiGitHub/VirtualSpace",
"max_stars_repo_path": "API/Controllers/BuggyController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128957"
} | starcoder | using API.Data;
using API.Entities;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace API.Controllers
{
public class BuggyController: BaseApiController // derive from
{
private readonly DataContext _context;
public BuggyController(DataContext context) { // in... | 2.586842 | 0d68cb40bf60b6fcd9bbefad3d2dc1ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809738 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "EventStore/csharp-ldap",
"max_stars_repo_path": "Novell.Directory.LDAP/Novell.Directory.Ldap/SupportClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128958"
} | starcoder | <gh_stars>10-100
/******************************************************************************
* The MIT License
* Copyright (c) 2003 Novell Inc. www.novell.com
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the Software)... | 2.450694 | f086ca4fa054fe79942ad3899e1a6cc5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809739 | {
"extension": "c-sharp",
"max_stars_count": "164.0",
"max_stars_repo_name": "zs782306174/LiQing",
"max_stars_repo_path": "Unity/Assets/Model/Module/Message/OpcodeTypeComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128959"
} | starcoder | using System;
using System.Collections.Generic;
namespace ETModel
{
[ObjectSystem]
public class OpcodeTypeComponentSystem : AwakeSystem<OpcodeTypeComponent>
{
public override void Awake(OpcodeTypeComponent self)
{
self.Load();
}
}
[ObjectSystem]
public class OpcodeTypeComponentLoadSystem : LoadSystem... | 2.429254 | e1f80f0f8f52445f677a2a35eedb9729 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809740 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HorvatJosip/Weswen",
"max_stars_repo_path": "Weswen/Reflection/Prield.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128960"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Weswen
{
/// <summary>
/// Pr(operty) or (F)ield - encapsulates the <see cref="MemberInfo"/> and
/// exposes the getter and setter.
/// </summary>
public class Prield
{
#re... | 2.785154 | dee2fd8ed5d74da436af43426d563f2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809741 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "pulumi/pulumi-azure-nextgen",
"max_stars_repo_path": "sdk/dotnet/Insights/V20200501Preview/ScheduledQueryRule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128961"
} | starcoder | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 1.846717 | 88b05c672de868faaa3eda8399d07718 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809742 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SeppPenner/NaGet",
"max_stars_repo_path": "src/NaGet.Tests/ApiIntegrationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128962"
} | starcoder | using System.Net;
using Xunit;
using Xunit.Abstractions;
namespace NaGet.Tests
{
public class ApiIntegrationTests : IDisposable
{
private readonly NaGetApplication app;
private readonly HttpClient client;
private readonly Stream? packageStream;
private readonly Stream? symbolPa... | 2.228272 | 749ca73b6abcef00603266f6aec0ed38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809743 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LuckyStarry/components-luckystarry-dotnet",
"max_stars_repo_path": "LuckyStarry.Services/DbServiceException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128963"
} | starcoder | <reponame>LuckyStarry/components-luckystarry-dotnet
using System;
using System.Collections.Generic;
using System.Text;
namespace LuckyStarry.Services
{
public class DbServiceException : Exception
{
public DbServiceException(string sqlText)
{
this.SqlText = sqlText;
}
... | 2.190373 | 67620ab0d65c013a74f3d78854e9dabe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809744 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "selfdeceited/bird-aggregator",
"max_stars_repo_path": "BirdAggregator.Domain/Locations/ILocationRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128964"
} | starcoder | using System.Threading.Tasks;
namespace BirdAggregator.Domain.Locations
{
public interface ILocationRepository
{
Task<Location[]> GetAllAsync();
Task<Location> GetByIdAsync(int id);
}
} | 1.778998 | 1c2cd67b31542a5ed79da1ce512f398f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809745 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "Orcomp/Orc.NuGetExplorer",
"max_stars_repo_path": "src/Orc.NuGetExplorer/Services/LocalPackagesLoaderService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128965"
} | starcoder | <filename>src/Orc.NuGetExplorer/Services/LocalPackagesLoaderService.cs
namespace Orc.NuGetExplorer.Services
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Catel;
using NuGet.Packaging.Core;
using NuGet.Pro... | 2.105092 | 3716e5f7f05cece219ef1022f5500221 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809746 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexkhil/devchallenge-backend-2021",
"max_stars_repo_path": "src/DevChallenge.Application/SimpleBox/Create/CreateSimpleBoxCommandHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128966"
} | starcoder | using CSharpFunctionalExtensions;
using DevChallenge.Application.Integration.Cutter.Abstractions;
using DevChallenge.Domain;
using MediatR;
namespace DevChallenge.Application.SimpleBox.Create;
public class CreateSimpleBoxCommandHandler : RequestHandler<CreateSimpleBoxCommand, Result<CreateSimpleBoxResult>>
{... | 2.366596 | f4e2122f520f30bd6c1db2e2322de938 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809747 | {
"extension": "c-sharp",
"max_stars_count": "75.0",
"max_stars_repo_name": "npruehs/slash-framework",
"max_stars_repo_path": "Tools/BlueprintEditor/Slash.Tools.BlueprintEditor.WPF/Source/Commands/BlueprintManagerCommands.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128967"
} | starcoder | <gh_stars>10-100
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="BlueprintManagerCommands.cs" company="Slash Games">
// Copyright (c) Slash Games. All rights reserved.
// </copyright>
// --------------------------------------... | 1.421154 | fbe8e5280c2131146870223ea84409fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809748 | {
"extension": "c-sharp",
"max_stars_count": "17923.0",
"max_stars_repo_name": "frandesc/roslyn",
"max_stars_repo_path": "src/Features/Core/Portable/GenerateDefaultConstructors/AbstractGenerateDefaultConstructorCodeFixProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128968"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalys... | 1.692036 | d14c186b97e7b3c84e1e25f6c8c7bc8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809749 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hussein-Karaky/POS",
"max_stars_repo_path": "BLL/Notif/Notif.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128969"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace POS_Solutions.BLL.Shared.Notif
{
public class Notif
{
public long Id { get; set; }
public string Title { get; set; }
public string Content { get; set; }
... | 1.78339 | 05da14f5a428e483f3e9194ec83e2d54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809750 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MyJetWallet/MarketingBox.Integration.Service",
"max_stars_repo_path": "src/MarketingBox.Integration.Service/Storage/DepositUpdateStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128970"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using Destructurama.Attributed;
namespace MarketingBox.Integration.Service.Storage
{
public interface IDepositUpdateStorage
{
void Add(string requestLeadUniqueId, DepositUpdateMessage d... | 1.918717 | b20536f89fe2d74d88b94ab6b7dc884e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809751 | {
"extension": "c-sharp",
"max_stars_count": "256.0",
"max_stars_repo_name": "cristiango/IdentityModel.AspNetCore",
"max_stars_repo_path": "src/AccessTokenManagement/ClientAccessToken.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128971"
} | starcoder | // Copyright (c) <NAME> & <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
namespace IdentityModel.AspNetCore.AccessTokenManagement
{
/// <summary>
/// Represents a client access token
/// </summary>
... | 2.031914 | a912b8b365bb3ee08a67101c1303f783 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809752 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Toshizabeth/Ling",
"max_stars_repo_path": "Assets/App/Scripts/Common/Scene/SceneCameraManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128972"
} | starcoder | //
// SceneCameraManager.cs
// ProductName Ling
//
// Created by <NAME> on 2021.04.14
//
using UnityEngine;
using UnityEngine.SceneManagement;
namespace Ling.Common.Scene
{
/// <summary>
/// 読み込まれたシーン内のCanvasのCameraを管理する
/// UIであればUI用のCameraをアタッチ
/// もしカメラ操作を受け付けたくない場合は"CameraManagerOutOfControl"スクリプトをCan... | 2.218639 | ac5a8e5a8e7d76c5108678b52b467dc2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809753 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "benbu/remotocon",
"max_stars_repo_path": "Main/RemotoconServer/CustomSetup/Form5Finish.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128973"
} | starcoder | <filename>Main/RemotoconServer/CustomSetup/Form5Finish.cs
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 CustomSetup
{
public partial class Form5Finish : Form
{
... | 1.92371 | 68c5cbd1cdec77412938ec429371c7b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809754 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jakubsenk/ReliefTool",
"max_stars_repo_path": "Relief/IReliefAlgorithm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128974"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ReliefLib
{
public interface IReliefAlgorithm
{
List<double> Scores { get; }
TimeSpan Elapsed { get; }
void ProccessData(List<DataUnit> data);
}
}
| 2.058274 | 646ac24421cf587af67ecd45d24efc5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809755 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mertozler/CompanyPanel",
"max_stars_repo_path": "CompanyPanelUI/obj/Debug/net5.0/Razor/Views/Login/Index.cshtml.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128975"
} | starcoder | #pragma checksum "C:\Users\Acer\Desktop\Company-Support-Manangment-System-main\CompanyPanelUI\Views\Login\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7f32068f2d37f3441a72cf64cef8cb354a662b2a"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompile... | 1.355654 | 4ea6a0b3e9c677554d608ff4fb9a75fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809756 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "razfriman/RazzleServer",
"max_stars_repo_path": "RazzleServer.DataProvider/References/NpcReference.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128976"
} | starcoder | <reponame>razfriman/RazzleServer<filename>RazzleServer.DataProvider/References/NpcReference.cs
using System.Collections.Generic;
using System.Linq;
using RazzleServer.Wz;
using Serilog;
namespace RazzleServer.DataProvider.References
{
public class NpcReference
{
private readonly ILogger _log = Log.For... | 2.422335 | 4981c7af2f2e4b2b6ceb00f0b86929de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809757 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "danielcmcg/Simple-InGame-Visual-Programming-for-Unity",
"max_stars_repo_path": "Scripts/Controller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128977"
} | starcoder | <gh_stars>10-100
//----------------------------------
// Version 1.0 (Sample)
//----------------------------------
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
//The code implements a controller for a sequence of functions using the theory of machine lan... | 2.876099 | d5547645945c75db87a93e9f468f0803 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809758 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AnnaPerry/PI-Coresight-Automation",
"max_stars_repo_path": "src/CoresightAutomation/Types/ValueTypeHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128978"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CoresightAutomation.Types
{
public static class ValueTypeHelper
{
public static bool TypeIsSupported(string typeName)
{
return !TypeIsArray(typeName);
}
publi... | 2.887738 | 7e27d4862d9f3457482c00b8dd427d7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809759 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "julian-code/fluentassertions",
"max_stars_repo_path": "Src/FluentAssertions/Collections/GenericDictionaryAssertions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128979"
} | starcoder | <filename>Src/FluentAssertions/Collections/GenericDictionaryAssertions.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using FluentAssertions.Common;
using FluentAssertions.Equivalency;
using FluentAssertions.Execution;
namespace FluentAssertions.Collections
{
/// <... | 2.699475 | 426511a06dfc772afea8a4aa70348214 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809760 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sumitseth/vk",
"max_stars_repo_path": "VkNet.Tests/Categories/Ads/RemoveOfficeUsersTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128980"
} | starcoder | using System.Diagnostics.CodeAnalysis;
using NUnit.Framework;
using VkNet.Model.RequestParams.Ads;
using VkNet.Tests.Infrastructure;
namespace VkNet.Tests.Categories.Ads
{
[TestFixture]
[ExcludeFromCodeCoverage]
public class RemoveOfficeUsersTest : CategoryBaseTest
{
protected override string Folder => "Ads";
... | 2.167461 | 542c222d516e5d17cdc332c0e5b0871c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809761 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Jokerlocco/2019-2020_DAM1_EjerciciosClase",
"max_stars_repo_path": "chapter02-controlStructures/056c-MarksSwitch3-gotoCase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128981"
} | starcoder | // <NAME>
// Numeric mark to text mark
// V3: goto case
using System;
class Mark
{
static void Main ()
{
int mark;
Console.Write("Enter your mark: ");
mark = Convert.ToInt32 (Console.ReadLine());
switch (mark)
{
case 0: Console.WriteLine("S... | 3.473885 | 17bf22fc378cbe97d97aa4040fdde19c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809762 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kygunco/KyGunCo.Counterpoint",
"max_stars_repo_path": "Source/KyGunCo.Counterpoint.Sdk/Entities/ArOpnApplyTo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128982"
} | starcoder | <reponame>kygunco/KyGunCo.Counterpoint<gh_stars>0
// <auto-generated>
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace KyGunCo.Counterpoint.Sdk.Entities
{
// AR_OPN_APPLY_TO
public class ArOpnApplyTo
{
public string CustNo { get; set; ... | 1.299286 | 5b1c0d7c3a20be9127f5fa5c25a1cd8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809763 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "indrivo/GEAR",
"max_stars_repo_path": "src/GR.Extensions/GR.Notifications.Extension/GR.Notifications/Migrations/20190813084715_NotificationDbContext_Initial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128983"
} | starcoder | <filename>src/GR.Extensions/GR.Notifications.Extension/GR.Notifications/Migrations/20190813084715_NotificationDbContext_Initial.cs
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace GR.Notifications.Migrations
{
public partial class NotificationDbContext_Initial : Migration
{
prot... | 2.009118 | 94da3c50fd1bd7d582a6c071e2cfce70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809764 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jamesfoster/dotless",
"max_stars_repo_path": "src/dotless.Core/Parser/Functions/ColorFunction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128984"
} | starcoder | <filename>src/dotless.Core/Parser/Functions/ColorFunction.cs
namespace dotless.Core.Parser.Functions
{
using Infrastructure;
using Infrastructure.Nodes;
using Tree;
using Utils;
public class ColorFunction : Function
{
protected override Node Evaluate(Env env)
{
Guar... | 2.309042 | 85c40ce584f6348e3f1d14dac6986626 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809765 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prepare/Tektosyne.NET",
"max_stars_repo_path": "Tektosyne.Core/Geometry/PointF.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128985"
} | starcoder | <gh_stars>0
using System;
using System.Globalization;
namespace Tektosyne.Geometry {
/// <summary>
/// Represents a location in two-dimensional space, using <see cref="Single"/> coordinates.
/// </summary>
/// <remarks><para>
/// <b>PointF</b> is an immutable structure whose two <see cref="Single... | 3.233859 | 1da051da022ffac90d567e9d80db3975 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809766 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ernesteins/GGJ2020",
"max_stars_repo_path": "Game jam 2020/Assets/Prefabs/Yunque.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128986"
} | starcoder | <filename>Game jam 2020/Assets/Prefabs/Yunque.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine;
public class Yunque : MonoBehaviour
{
[SerializeField] Transform posArma;
[SerializeField] ZonaMartillable zonaMartillable;
[SerializeField] Transform imagen;
[Seri... | 2.060654 | 6cbbd6e8920e094f4fe46c526377874c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809767 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "bjorkqvist/FakerDotNet",
"max_stars_repo_path": "tests/FakerDotNet.Tests/Fakers/BooleanFakerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128987"
} | starcoder | using FakerDotNet.Fakers;
using FakerDotNet.Tests.Helpers;
using FakerDotNet.Wrappers;
using NUnit.Framework;
namespace FakerDotNet.Tests.Fakers
{
[TestFixture]
[Parallelizable]
public class BooleanFakerTests
{
[SetUp]
public void SetUp()
{
_randomWrapper = new Rando... | 2.831785 | dc9f0f9cf6df8dd0572211af86978732 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809768 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Arean82/redminetime",
"max_stars_repo_path": "RedmineTime/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128988"
} | starcoder | <reponame>Arean82/redminetime
using GalaSoft.MvvmLight.Messaging;
using MahApps.Metro.Controls;
using MahApps.Metro.Controls.Dialogs;
using System;
using System.ComponentModel;
using System.Windows;
using Unosquare.RedmineTime.Controls;
using Unosquare.RedmineTime.Helpers;
using Unosquare.RedmineTime.Models;
using Uno... | 2.036974 | 41f883f97e7a2e2dd40f1e97f4847c20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809769 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "timjen3/ttrpg-engine",
"max_stars_repo_path": "TTRPG.Engine.Tests/SequenceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128989"
} | starcoder | <reponame>timjen3/ttrpg-engine
using Microsoft.Extensions.DependencyInjection;
using NUnit.Framework;
using System.Collections.Generic;
using TTRPG.Engine.Equations;
using TTRPG.Engine.Exceptions;
using TTRPG.Engine.SequenceItems;
using TTRPG.Engine.Sequences;
namespace TTRPG.Engine.Tests
{
[TestFixture(Category="In... | 2.418113 | c2cf0b6a1ff560251cb1edd7e2921d7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809770 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dagclo/data-services-client-dotnet",
"max_stars_repo_path": "data-services-client-model/Assessment/JobInformationResponseAssessmentMetricsRecordinfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128990"
} | starcoder | /*
* Data Quality Assessment
*
* Allows users to assess the Quadient Data Services before buying. This service runs assessment jobs based on real data, but does not give back the records that have been corrected. Rather, it provides \"assessment metrics\" which can be used to determine and explain the value of u... | 2.310935 | 65fb669cbfe2063ab7d993533991b40e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809771 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "Teroneko-NET-Tools/Teronis.NetStandard.Core",
"max_stars_repo_path": "src/Core/src/Extensions/CookieCollectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128991"
} | starcoder | // Copyright (c) Teroneko.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
namespace Teronis.Extensions
{
public static class CookieCollectionExtensions
... | 2.522123 | 37928460b046f70307aaeb573621c9e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809772 | {
"extension": "c-sharp",
"max_stars_count": "770.0",
"max_stars_repo_name": "unixorn/acat",
"max_stars_repo_path": "src/Extensions/Default/UI/en/Scanners/AlphabetScannerQwerty.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128992"
} | starcoder | <gh_stars>100-1000
namespace ACAT.Extensions.Default.UI.Scanners
{
partial class AlphabetScannerQwerty
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resou... | 1.811957 | 918c72001afbb2c05cd0ed7c94ccf759 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809773 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "peppy/osu-new",
"max_stars_repo_path": "osu.Game/Tests/Visual/ModPerfectTestScene.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128993"
} | starcoder | <filename>osu.Game/Tests/Visual/ModPerfectTestScene.cs
// Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mods;
using osu.Game.Rule... | 2.073165 | c1c04eb1c1802a437bd0752204327fcd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809774 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SalihOzgor/Telefon-Rehberi-Uygulamas-",
"max_stars_repo_path": "NumaraKaydetmeEkran.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128994"
} | starcoder | using System;
namespace Telefon_Rehberi_Uygulamas_
{
public class NumaraKaydetmeEkran
{
public static void NumaraKaydetmeEkranGoster()
{
Console.Write("Lütfen isim giriniz: ");
string isim = Console.ReadLine();
Console.Write("Lütfen soyisim... | 2.87862 | d100e23dae461921365d3c5ba1119bba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809775 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PoisnFang/Myra",
"max_stars_repo_path": "samples/Myra.Samples.AllWidgets/AllWidgets.Generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128995"
} | starcoder | <filename>samples/Myra.Samples.AllWidgets/AllWidgets.Generated.cs<gh_stars>0
/* Generated by MyraPad at 27.02.2020 21:08:02 */
using Myra.Graphics2D;
using Myra.Graphics2D.TextureAtlases;
using Myra.Graphics2D.UI;
using Myra.Graphics2D.Brushes;
#if !XENKO
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Gr... | 1.938477 | 1bf6b623a61612635d7b8d63012bbf93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809776 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "microting/eform-angular-trashinspection",
"max_stars_repo_path": "eFormAPI/Plugins/TrashInspection.Pn/TrashInspection.Pn/Controllers/FractionController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128996"
} | starcoder | <filename>eFormAPI/Plugins/TrashInspection.Pn/TrashInspection.Pn/Controllers/FractionController.cs
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microting.eFormApi.BasePn.Infrastructure.Models.API;
using TrashInspection.Pn.Abstractions;
using TrashInspecti... | 1.703966 | 39f90d33b5d548d8d0701b8d05794f54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809777 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mustafafindik/CourseMicroservices",
"max_stars_repo_path": "Services/Catalog/Course.Services.Catalog/Controllers/CoursesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128997"
} | starcoder | <filename>Services/Catalog/Course.Services.Catalog/Controllers/CoursesController.cs
using Course.Services.Catalog.Dtos.Concrete;
using Course.Services.Catalog.Services.Abstract;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using Sys... | 2.419275 | ec30012d86e25f7327d82e23eaef399b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809778 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "opensourceios/mobileapp",
"max_stars_repo_path": "Toggl.Ultrawave.Tests.Integration/TimeEntriesClientTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128998"
} | starcoder | <reponame>opensourceios/mobileapp
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Toggl.Ultrawave.Tests.Integration.BaseTests;
using Toggl.Ultrawave.Tests.Integration.Helper;
using Xunit;
namespace Toggl.Ultrawave.Tests.Integratio... | 2.076443 | ba04582fa7226752309b5ed0d0507a71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809779 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gibe/UmbracoBlog",
"max_stars_repo_path": "Gibe.Umbraco.Blog.V9/Wrappers/ISearchIndex.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128999"
} | starcoder | <filename>Gibe.Umbraco.Blog.V9/Wrappers/ISearchIndex.cs<gh_stars>0
using Examine;
using Examine.Search;
using System.Linq;
namespace Gibe.Umbraco.Blog.Wrappers
{
public interface ISearchIndex
{
IQuery CreateSearchQuery();
ISearchResults Search(IBooleanOperation operation);
IIndex GetIndex();
}
public cla... | 2.290911 | fdf63c3e73b767b3226c50c2a0f0c0ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809780 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "coco-bike/Bike.Poetry",
"max_stars_repo_path": "test/BiKe.Poetry.EntityFrameworkCore.Tests/EntityFrameworkCore/PoetryEntityFrameworkCoreTestBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129000"
} | starcoder | <filename>test/BiKe.Poetry.EntityFrameworkCore.Tests/EntityFrameworkCore/PoetryEntityFrameworkCoreTestBase.cs
using Volo.Abp;
namespace BiKe.Poetry.EntityFrameworkCore
{
public abstract class PoetryEntityFrameworkCoreTestBase : PoetryTestBase<PoetryEntityFrameworkCoreTestModule>
{
}
}
| 1.131664 | 18372c589178bf791c86e45c23b9f795 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809781 | {
"extension": "c-sharp",
"max_stars_count": "139.0",
"max_stars_repo_name": "gitjosephbeer/silverback",
"max_stars_repo_path": "tests/Silverback.Core.Tests/Util/AsyncHelperTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129001"
} | starcoder | <filename>tests/Silverback.Core.Tests/Util/AsyncHelperTests.cs
// Copyright (c) 2020 <NAME>
// This code is licensed under MIT license (see LICENSE file for details)
using System;
using System.Threading.Tasks;
using FluentAssertions;
using Silverback.Util;
using Xunit;
namespace Silverback.Tests.Core.Util
{
publ... | 2.363489 | 1a121f5e44028bc5f706344c32d71a4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809782 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vitalii2011/Cities-Skylines-Traffic-Manager-President-Edition",
"max_stars_repo_path": "TLM/TLM/Custom/Data/CustomVehicle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129002"
} | starcoder | using ColossalFramework;
using ColossalFramework.Math;
using CSUtil.Commons;
using CSUtil.Commons.Benchmark;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TrafficManager.Manager;
using TrafficManager.Manager.Impl;
using UnityEngine;
namespace TrafficManager.Custom.Data {
... | 2.039117 | 1efff930f0e6ae3fccb76e8edb536226 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809783 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OceanYan/corert",
"max_stars_repo_path": "src/System.Private.Reflection/src/System/Reflection/IntrospectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129003"
} | starcoder | <filename>src/System.Private.Reflection/src/System/Reflection/IntrospectionExtensions.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*========================... | 1.82448 | 399f3132ddb1039379d2c6ca14483f5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809784 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "maidouofgithub/Payment",
"max_stars_repo_path": "src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenAgentCancelModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129004"
} | starcoder | using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// AlipayOpenAgentCancelModel Data Structure.
/// </summary>
public class AlipayOpenAgentCancelModel : AlipayObject
{
/// <summary>
/// ISV 代商户操作事务编号,通过事务开启接口alipay.open.agen... | 1.572078 | 6ab3a80e6e41a59c1cc627c7391ae8d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809785 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wind2006/DotNet.Utilities",
"max_stars_repo_path": "YanZhiwei.DotNet2.Utilities/Common/SerialPortHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129005"
} | starcoder | <filename>YanZhiwei.DotNet2.Utilities/Common/SerialPortHelper.cs
namespace YanZhiwei.DotNet2.Utilities.Common
{
using System;
using System.IO.Ports;
/// <summary>
///串口帮助类
/// </summary>
public static class SerialPortHelper
{
#region Fields
private static string[] _baudRat... | 2.79979 | 9bb934b5cee0e5a1b5e89de3708177ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809786 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andreidana/InterpreterPattern",
"max_stars_repo_path": "InterpreterExample/RomanNumeral.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129006"
} | starcoder | namespace InterpreterExample
{
public class RomanNumeral
{
public string Input { get; set; }
public int Output { get; set; }
public RomanNumeral(string input)
{
Input = input;
}
}
} | 2.513794 | 75ca904048fd9f29631f5169209e153e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809787 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1902-feb18-net/Storm-code",
"max_stars_repo_path": "ComicStore/ComicStore.Library/ComicStore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129007"
} | starcoder | <gh_stars>0
using System;
namespace ComicStore.Library
{
public class ComicStore
{
/* Todo: add comic store
* Todo: show comic store
* Todo: edit comic store
* Todo: review comic store
* Todo: delete review for store
* Todo: delete comic stores
* T... | 1.321863 | 1a9a16c834e39ed7d6b2168425878638 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809788 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "shortlegstudio/silverneedle-unity",
"max_stars_repo_path": "Assets/HorizontalUI/LinkTextToProperty.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129008"
} | starcoder | <reponame>shortlegstudio/silverneedle-unity
//-----------------------------------------------------------------------
// <copyright file="LinkTextToProperty.cs" company="Short Leg Studio, LLC">
// Copyright (c) Short Leg Studio, LLC. All rights reserved.
// </copyright>
//------------------------------------------... | 2.576748 | b728d2ca894dabe2905eaaab5f38cc19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809789 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RiceField-Plugins/RFRocketLibrary",
"max_stars_repo_path": "Events/EventBus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129009"
} | starcoder | <reponame>RiceField-Plugins/RFRocketLibrary
using System;
using System.Diagnostics;
using Rocket.Core;
using Rocket.Core.Logging;
using Rocket.Unturned;
using Rocket.Unturned.Permissions;
using SDG.Unturned;
namespace RFRocketLibrary.Events
{
internal static class EventBus
{
#region Methods
i... | 1.346588 | 0d8ebfeca1fa4cf680898c7c5074447c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809790 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ckarcz/Strata.ConvertedToCSharp",
"max_stars_repo_path": "modules/math/src/main/java/com/opengamma/strata/math/impl/statistics/descriptive/SampleStandardDeviationCalculator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129010"
} | starcoder | <reponame>ckarcz/Strata.ConvertedToCSharp
using System;
/*
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
namespace com.opengamma.strata.math.impl.statistics.descriptive
{
using ArgChecker = com.opengamma.strata.collect.ArgChecke... | 2.776617 | 8114f206c9396ffc286bbc66806b3e3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809791 | {
"extension": "c-sharp",
"max_stars_count": "3375.0",
"max_stars_repo_name": "nul800sebastiaan/Umbraco-CMS",
"max_stars_repo_path": "tests/Umbraco.Tests.Common/Builders/TemplateBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129011"
} | starcoder | // Copyright (c) Umbraco.
// See LICENSE for more details.
using System;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.Strings;
using Umbraco.Cms.Tests.Common.Builders.Extensions;
using Umbraco.Cms.Tests.Common.Builders.Interfaces;
namespace Umbraco.Cms.Tests.Common.Builders
{
public class TemplateBuilder... | 2.269306 | 76220da5f95d43207427b6ec15a9cc6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809792 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rogday/jugday",
"max_stars_repo_path": "project/Assets/Scripts/Terrain/Noise.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129012"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class Noise
{
public static float[,] GenerateNoiseMap(int chunkSize, int seed,
float scale, int octaves, float persistance, float lacunarity, Vector2 offset) {
var noiseMap = new float[chunkSi... | 2.566975 | f3f467e1a99d6a3156d590202ee38e8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809793 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "LuviKunG/BuildPipelineAndroid",
"max_stars_repo_path": "Assets/Android Build Pipeline/Editor/AndroidBuildPipelineSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129013"
} | starcoder | using System;
using System.Text;
using UnityEditor;
using UnityEngine;
namespace LuviKunG.BuildPipeline.Android
{
public sealed class AndroidBuildPipelineSettings
{
private static AndroidBuildPipelineSettings instance;
public static AndroidBuildPipelineSettings Instance
{
g... | 2.252305 | 35c544104dc3ac98fafb839ad6660b08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809794 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Felandil/C-Clean-Architecture",
"max_stars_repo_path": "Felandil.CleanArchitecture.Web/Presenters/AddArticlePresenter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129014"
} | starcoder | <reponame>Felandil/C-Clean-Architecture<filename>Felandil.CleanArchitecture.Web/Presenters/AddArticlePresenter.cs<gh_stars>1-10
using System.Threading.Tasks;
using Felandil.CleanArchitecture.Basket.Usecase.AddArticle;
using Felandil.CleanArchitecture.Web.Models;
namespace Felandil.CleanArchitecture.Web.Presenters
{
... | 2.242532 | 99e4cb5376c49dcf8accbfcc6b8b72ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809795 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/symcore/src/lines/ops/traverse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129015"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using System.IO;
p... | 2.463396 | 94121c7e789fc4cb1388f84d9c45a946 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809796 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SCHOTTNorthAmerica/SCHOTT.CVLS",
"max_stars_repo_path": "SCHOTT/CVLS/Ethernet/Legacy/LegacySocket.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129016"
} | starcoder | using SCHOTT.Core.Communication.Ethernet;
using SCHOTT.CVLS.Communications;
namespace SCHOTT.CVLS.Ethernet.Legacy
{
/// <summary>
/// CVLS Legacy Socket, Implimentation of a TelnetSocket
/// </summary>
public class LegacySocket : TelnetSocket, ILegacyProtocol
{
/// <summary>
/// Pr... | 2.630031 | c67648841e1d4c7033cc0aff1811f03b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809797 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "lotsofs/ktanemod-modselector",
"max_stars_repo_path": "Assets/Scripts/Extensions/KMSelectableExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129017"
} | starcoder | <filename>Assets/Scripts/Extensions/KMSelectableExtensions.cs
using System;
using System.Reflection;
using UnityEngine;
public static class KMSelectableExtensions
{
private static readonly Type ModSelectableType;
private static readonly Type ModHighlightableType;
private static readonly MethodInfo CopySet... | 2.475666 | c770399384b4a29a8e189adb6385083d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809798 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pmdevers/CQRS",
"max_stars_repo_path": "sample/PMDEvers.CQRS.Sample/Controllers/HomeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129018"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using PMDEvers.CQRS.Interfaces;
using PMDEvers.CQRS.Sample.Application.Queries;
using PMDEvers.CQRS.Sample.Domain;
using PMDEvers.CQRS.Sample.Domain.Commands;
using PMDEvers.Servicebus;
//... | 2.21271 | 454a0ea24e3ec797ceeed1c754f8e3a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809799 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LordMike/SimpleS3",
"max_stars_repo_path": "src/SimpleS3.Core/Abstracts/Operations/IObjectOperations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129019"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Genbox.SimpleS3.Abstracts.Wrappers;
using Genbox.SimpleS3.Core.Requests.Objects;
using Genbox.SimpleS3.Core.Responses.Objects;
using JetBrains.Annotations;
namespace Genbox.SimpleS3.C... | 1.69261 | 437620ee422290d51966cdad53e1270e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809800 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TeeeeeC/TelerikAcademy2015-2016",
"max_stars_repo_path": "03. OOP/05. OOP_PrincoplesPart2/02. BankAccounts/Companies.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129020"
} | starcoder | <reponame>TeeeeeC/TelerikAcademy2015-2016
namespace _02.BankAccounts
{
using System;
public class Companies : ICustomers
{
private string name;
public Companies(string name)
{
this.Name = name;
}
public string Name
{
get
... | 2.75455 | f0bd837bd6ab461e034ff589aff96bf6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809801 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chi-rei-den/Silverfish",
"max_stars_repo_path": "cards/LOOTAPALOOZA/LOOT/Sim_LOOT_278.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129021"
} | starcoder | /* _BEGIN_TEMPLATE_
{
"id": "LOOT_278",
"name": [
"未鉴定的药剂",
"Unidentified Elixir"
],
"text": [
"使一个随从获得+2/+2。在你手牌中时获得额外效果。",
"Give a minion +2/+2. Gains a bonus effect in your hand."
],
"cardClass": "PRIEST",
"type": "SPELL",
"cost": 3,
"rarity": "COMMON",
"set": "LOOTAPALOOZA",
"c... | 2.052143 | dfd28c447d1651e8a539dcfb4cf68fc9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809802 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dennis-Koch/ambeth",
"max_stars_repo_path": "ambeth/Ambeth.Util/ambeth/util/converter/EncodingInformation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129022"
} | starcoder | <reponame>Dennis-Koch/ambeth
namespace De.Osthus.Ambeth.Util.Converter
{
public sealed class EncodingInformation
{
public const int SOURCE_PLAIN = 0, SOURCE_HEX = 1, SOURCE_BASE64 = 2, TARGET_PLAIN = 0, TARGET_HEX = 4, TARGET_BASE64 = 8;
public static EncodingType GetSourceEncoding(int encodin... | 2.380096 | 3a4092baa562fe0012d1b70b04bea8e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809803 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sebdami/WormsLike",
"max_stars_repo_path": "Assets/Scripts/Projectile/GrenadeProjectile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129023"
} | starcoder | <filename>Assets/Scripts/Projectile/GrenadeProjectile.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GrenadeProjectile : TimedExplosiveProjectile {
private new void Start()
{
base.Start();
Destroy(gameObject, 10.0f);
}
public overri... | 2.279285 | 9c7bd2e2377fec04f33c61b09d142769 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809804 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igoreksiz/NetOffice",
"max_stars_repo_path": "Source/Visio/Behind/DispatchInterfaces/IVPages.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129024"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
using NetOffice.CollectionsGeneric;
using NetOffice.VisioApi;
namespace NetOffice.VisioApi.Behind
{
/// <summary>
/// DispatchI... | 1.305767 | 6cef67ed285d01172b4a58fce1ce25e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809805 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ganesh-vellanki/htsl",
"max_stars_repo_path": "htslMain/HtmlTemplateStore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129025"
} | starcoder | <reponame>ganesh-vellanki/htsl
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace htslMain
{
/// <summary>
/// Writing inline template to avoid file read/write complexity.
/// </summary>
static class HtmlTemplateStore
{
... | 2.126737 | 08f751eb76dbeb1b47534aae3327a706 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809806 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MrTech12/TimeMate",
"max_stars_repo_path": "Core/Errors/AccountException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129026"
} | starcoder | <reponame>MrTech12/TimeMate
using System;
using System.Collections.Generic;
using System.Text;
namespace Core.Errors
{
public class AccountException : Exception
{
public AccountException()
{
}
public AccountException(string message) : base(message)
{
}
... | 2.066651 | ae88d770c6f54c2059f7f77c971bf13a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809807 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maroonvillage/MVhMarketplaceWebUI",
"max_stars_repo_path": "Interfaces/IApiRequestService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129027"
} | starcoder | <filename>Interfaces/IApiRequestService.cs<gh_stars>0
using System;
namespace webui.Interfaces
{
public interface IApiRequestService
{
}
}
| 1.218048 | e06aa79255fe7a47855619fda2d9a77c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809808 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hridoy3/Project_StoreManagementSystem",
"max_stars_repo_path": "StoreManagementSystem/UI/FormCategories.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129028"
} | starcoder | <reponame>hridoy3/Project_StoreManagementSystem
using System;
using System.Data;
using System.Windows.Forms;
using WarehouseApp.BLL;
using WarehouseApp.DAL;
namespace WarehouseApp.UI
{
public partial class FormCategories : Form
{
CategoriesBLL bll = new CategoriesBLL();
CategoriesDAL dal = new... | 2.415912 | 4f61e4f88fa7a1252aef1ea41953c741 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809809 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Wrennsun/SpaceEngineers",
"max_stars_repo_path": "Sources/Sandbox.Common/ModAPI/IMyVirtualMass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129029"
} | starcoder | <reponame>Wrennsun/SpaceEngineers
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Sandbox.ModAPI
{
/// <summary>
/// ModAPI VirtualMass Interface
/// </summary>
interface IMyVirtualMass : Ingame.IMyVirtualMass
{
}
}
| 1.070611 | 7c34ac8639352f0ccf1e4b5530e6ecfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809810 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "adams85/aspnetskeleton2",
"max_stars_repo_path": "src/DataAccess/DbOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129030"
} | starcoder | namespace WebApp.DataAccess
{
public class DbOptions
{
public const string DefaultSectionName = "Database";
public string Provider { get; set; } = null!;
public string ConnectionString { get; set; } = null!;
public string? ServerVersion { get; set; }
public string? Char... | 1.971045 | c789dee352f1de82bfd354a54e469804 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809811 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "leonhardrocha/BikeSharing360_BotApps",
"max_stars_repo_path": "CustomerServiceApis/CustomerServiceApis/Models/Bike.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129031"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CustomerServiceApis.Models
{
public class Bike
{
public string bikeid;
public string serialnumber;
}
} | 1.364926 | 79e2beedabb3cadf8a63922f46a62834 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809812 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "longzheng/PTVGlass",
"max_stars_repo_path": "Libs/glass-progress-bar-master/GlassProgressTest/MainActivity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129032"
} | starcoder | using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Android.Glass.App;
using GlassProgressBar;
namespace GlassProgressTest
{
[Activity (Label = "GlassProgressTest", Icon = "@drawable/Icon", MainLauncher = true, Enabled = tr... | 1.995041 | 171bdfd480e6fd0ad86c903aab04a55a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809813 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nathnael/cats",
"max_stars_repo_path": "Services/Cats.Services.Procurement/TransportBidQuotationService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129033"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Linq;
using Cats.Data.UnitWork;
using Cats.Models;
namespace Cats.Services.Procurement
{
public class TransportBidQuotationService : ITransportBidQuotationService
{
private readonly IUnitOfWork _unitOfWork;
... | 2.4827 | e73786073f2fe5f6f201277a3bd61904 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809814 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Daymortel/Stump",
"max_stars_repo_path": "src/Stump.DofusProtocol/Messages/Messages/Game/Guild/GuildMemberLeavingMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129034"
} | starcoder | namespace Stump.DofusProtocol.Messages
{
using System;
using System.Linq;
using System.Text;
using Stump.DofusProtocol.Types;
using Stump.Core.IO;
[Serializable]
public class GuildMemberLeavingMessage : Message
{
public const uint Id = 5923;
public override uint Message... | 2.478849 | 9dbc34f20ffa5a6889c32b86eb46a8cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809815 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StanimiraHK/TestOne",
"max_stars_repo_path": "ArraysFirstHomework/04MaximalSequence/MaxEqual.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129035"
} | starcoder | <reponame>StanimiraHK/TestOne<filename>ArraysFirstHomework/04MaximalSequence/MaxEqual.cs
using System;
///Problem 4. Maximal sequence
//Write a program that finds the maximal sequence of equal elements in an array.
class maxEqualSequence
{
static void Main(string[] args)
{
string[] numbers = Console.... | 3.843026 | ea1b084a974a022e777609b9a0f98d6b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809816 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "olegbevz/DevExtreme.AspNet.Data",
"max_stars_repo_path": "net/Sample/Models/Order_Details.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129036"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace Sample.Models {
[Table("Order Details")]
public class Order_Details {
... | 2.417034 | 2b12cb1b2ba493ef8608cbe724a0484c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809817 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "YevgenNabokov/ForgedOnce.GLSLLanguageServices",
"max_stars_repo_path": "ForgedOnce.GlslLanguageServices.LanguageModels/ExtensionMethods/Generated/ArraySpecifierExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129037"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace ForgedOnce.GlslLanguageServices.LanguageModels.ExtensionMethods
{
public static partial class ArraySpecifierExtensions
{
public static ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ArraySpecifier WithArraySizeExpr... | 1.896829 | 7cf0a6956c48d71f31acaf4d8255ca60 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.