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 | 8849912 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NinovanderMark/SamShips",
"max_stars_repo_path": "src/Backend/SamShips.WebAPI/LambdaEntryPoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169132"
} | starcoder | <reponame>NinovanderMark/SamShips
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Serilog;
using Serilog.Formatting.Json;
using Serilog.Exceptions;
using Serilog.Templates;
using Amazon.Lambda.Core;
// Assembly attribute to enable the Lambda function's JSON input to be converted into a .... | 2.063235 | 3f54c3506c0256a8d1c4de728bdc5ad2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849913 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Quantumplation/cardano-monitor",
"max_stars_repo_path": "CardanoMonitor/Configuration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169133"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
namespace CardanoMonitor
{
using MarketKey = Currency;
[Flags]
[JsonConverter(typeof(StringEnumConverter))]
public enum Currency
{
ADA = 1... | 2.06951 | 1e7ec7f4bb98b2627b692905feea842c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849914 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yuletodim/WinGallery",
"max_stars_repo_path": "WinGallery.Services/Interfaces/IEmailServices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169134"
} | starcoder | <reponame>yuletodim/WinGallery
namespace WinGallery.Services.Interfaces
{
using System.Threading.Tasks;
public interface IEmailServices
{
Task SendAsync(string email, string emailBody, string emailSubject);
}
}
| 1.460794 | 3bb168c2d0e740847f37026f1f35b2f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849915 | {
"extension": "c-sharp",
"max_stars_count": "389.0",
"max_stars_repo_name": "ai408/abp-vue-admin-element-typescript",
"max_stars_repo_path": "aspnet-core/modules/identityServer/LINGYUN.Abp.IdentityServer.Application.Contracts/LINGYUN/Abp/IdentityServer/Grants/IPersistedGrantAppService.cs",
"provenance": "tra... | starcoder | using System;
using Volo.Abp.Application.Services;
namespace LINGYUN.Abp.IdentityServer.Grants
{
public interface IPersistedGrantAppService :
IReadOnlyAppService<PersistedGrantDto, Guid, GetPersistedGrantInput>,
IDeleteAppService<Guid>
{
}
}
| 1.207932 | 803b02006aaa69536185e0287b7d3b3b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849916 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AleronWen/SoRaVAC",
"max_stars_repo_path": "SoRaVAC/Models/PreferedDeviceInformation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169136"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Devices.Enumeration;
namespace SoRaVAC.Models
{
public class PreferedDeviceInformation
{
public PreferedDeviceInformation(DeviceInformation deviceInformation)
{
... | 2.252054 | dc6cc2a6013967af2224b85a98d2db03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849917 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MyJetWallet/Service.PriceHistory",
"max_stars_repo_path": "src/Service.PriceHistory.Domain.Models/AssetPrices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169137"
} | starcoder | <filename>src/Service.PriceHistory.Domain.Models/AssetPrices.cs
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Service.PriceHistory.Domain.Models
{
[DataContract]
public class AssetPrices
{
[DataMember(Order = 1)] public string BrokerId { get; set; }
... | 2.308128 | 5d2a72bf6128b68ef095bb0bbe3fbeea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849918 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CronosJoe/joes-testing-grounds",
"max_stars_repo_path": "The-fastest-game-in-the-west/Assets/Scripts/PlayerTurretScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169138"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerTurretScript : MonoBehaviour
{
[SerializeField] int rotationSpeed;
//this might change if I make an enemy manager idk yet
public float playerScore; //the player is also doubling as the game manager because th... | 2.580579 | 302483e5a2bd0bac5b0cf66944c42119 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849919 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NateKomodo/InstagramBot",
"max_stars_repo_path": "InstagramBot/Commands/CommandProcess.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169139"
} | starcoder | <filename>InstagramBot/Commands/CommandProcess.cs
using System;
using System.Linq;
using InstagramApiSharp;
using InstagramApiSharp.Classes.Models;
using System.Web.Script.Serialization;
using System.Text;
using System.IO;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Threading.Tasks;
... | 2.692719 | b4f4682e21524cc4bb37ca9c5cd29bbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849920 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ARCircle/AddLiBlocks",
"max_stars_repo_path": "Assets/Scripts/MainScene.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169140"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class MainScene : MonoBehaviour {
float finishtimer = 8f;
GameObject[] winlose = new GameObject[2];
AudioSource bgm, gareki, win;
Animation p1, p2, fade;
int level = 0;
... | 1.858539 | 11bf6b78992d667505974f73bb07a746 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849921 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TaiwanSpring/L1CSharpTW",
"max_stars_repo_path": "LineageServer/Interfaces/IDataSourceFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169141"
} | starcoder | <filename>LineageServer/Interfaces/IDataSourceFactory.cs
using LineageServer.Enum;
namespace LineageServer.Interfaces
{
interface IDataSourceFactory
{
IDataSource NullDataSource { get; }
IDataSource Factory(DataSourceTypeEnum dataSourceType);
}
}
| 1.899796 | 92e35c8038b8e25042ee37a01456b8d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849922 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lynn-orrell/botbuilder-dotnet-adal-pr",
"max_stars_repo_path": "tests/Microsoft.Bot.Builder.Dialogs.Tests/ConfirmPromptLocTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169142"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Threading.Tasks;
using Microsoft.Bot.Builder.Adapters;
using Microsoft.Bot.Schema;
using Microsoft.Recognizers.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Microsoft.Bot.Builder.Dialogs... | 1.946041 | a0a9893e6b3803872c029f5f9d41e7d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849923 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "grzegorz-wolszczak/asb-message-tool",
"max_stars_repo_path": "Source/ASBMessageTool/Gui/Controls/LeftPanel/ReceiversUserControl.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169143"
} | starcoder | using System.Windows.Controls;
namespace ASBMessageTool.Gui.Controls.LeftPanel;
public partial class ReceiversUserControl : UserControl
{
public ReceiversUserControl()
{
InitializeComponent();
}
}
| 1.083279 | 6b961dc3b98bcdcab6e8bfc1fac42d7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849924 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ninject/ninject1",
"max_stars_repo_path": "src/Tests/Core/Activation/ConcurrencyFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169144"
} | starcoder | <filename>src/Tests/Core/Activation/ConcurrencyFixture.cs<gh_stars>10-100
#region License
//
// Author: <NAME> <<EMAIL>>
// Copyright (c) 2007-2008, Enkari, Ltd.
//
// 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 ... | 1.944451 | 4d3a0243acdf2aea0602aa1050390a82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849925 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "libertyernie/WeasylSync",
"max_stars_repo_path": "CrosspostSharp3/ArtworkSourceSpecification/Interfaces.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169145"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ArtworkSourceSpecification {
public interface IAuthor {
string Name { get; }
string IconUrl { get; }
}
public interface IPostBase {
string Title { get; }
string HTMLDescription { get; }
bool Mature { g... | 2.064693 | 134a1f013427729135494ce01a5409f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849926 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "clean-code-craft-tcq-1/stream-bms-data-PronabM",
"max_stars_repo_path": "Receiver/BatteryDataStreamingReceiverTests/AssertObjectsHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169146"
} | starcoder | using System.Collections.Generic;
using System.Reflection;
using BatteryDataStreamingReceiver;
namespace BatteryDataStreamingReceiverTests
{
public static class AssertObjectsHelper
{
public static bool ActualAndExpectedObjectsAreEqual(List<BatteryParameter> actualList, List<BatteryParameter> expectedLi... | 3.020475 | e7ba3d6506296791dbbcbece178a1c8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849927 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joelhoisko/Runtime",
"max_stars_repo_path": "Source/Commands.Coordination/CommandCoordinator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169147"
} | starcoder | <reponame>joelhoisko/Runtime
/*---------------------------------------------------------------------------------------------
* Copyright (c) Dolittle. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------... | 1.659804 | 8f09c028701761af3eca0ec67500b4ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849928 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SonOfSam/Security-1.0.0-beta7",
"max_stars_repo_path": "test/Microsoft.AspNet.Authentication.Test/AuthenticationHandlerFacts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169148"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Features.Authentication;
using Microsoft.AspNet.Htt... | 2.175589 | a4340af095be6a3fe1a5211821aea58e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849929 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "alex-buraykin/E3Series.Wrapper",
"max_stars_repo_path": "E3Series.Wrapper/Entities/E3Job.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169149"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using E3Series.Proxy;
using E3Series.Wrapper.Entities.Base;
using E3Series.Wrapper.Entities.Extensions;
using E3Series.Wrapper.Entities.Interfaces;
namespace E3Series.Wrapper.Entities
{
/// <inheritdoc cref="IJob" />
/// <summary>
/// Impl... | 1.875366 | b43ef09a8767fc823aab12c3af0a0dbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849930 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "grbinho/event-sourcing-data-lake",
"max_stars_repo_path": "src/EventSourcing.Abstractions/IEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169150"
} | starcoder | using System;
using System.Collections.Generic;
namespace EventSourcing.Abstractions
{
public abstract class Event
{
// Consider adding application version for which this Event happened.
// Consider adding request/transaction Id
/// <summary>
/// Id of the event.
/// </summary>
public Guid I... | 2.93991 | 881d5fde65c9de04cfc27ba165f6bca0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849931 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mvaganov/NonStandardInput",
"max_stars_repo_path": "Scripts/NonStandardUnity/Ui/Cooldown.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169151"
} | starcoder | <reponame>mvaganov/NonStandardInput
using UnityEngine;
using UnityEngine.Events;
namespace NonStandard.Ui {
public class Cooldown : MonoBehaviour {
public float cooldown = 3;
private float timer = 0;
public bool startCooldownOnStart = true;
public UnityEvent_float onProgressChange;
public UnityEvent OnStart... | 2.036069 | 8d0a0a2c8f3a3daa7c305f82a4130bdf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849932 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "needim/Kit25D",
"max_stars_repo_path": "Assets/Kit25D/Common/Character/CharacterMovements.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169152"
} | starcoder | <reponame>needim/Kit25D
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Kit25D
{
public class CharacterMovements
{
private CharacterMotor motor;
public CharacterMovements(CharacterMotor motor)
{
this.motor = motor;
}
... | 2.007173 | 7384450ede3877b54d151a6c8f41bbd1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849933 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robrich/blazor-csharp-spa",
"max_stars_repo_path": "Shared/Order.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169153"
} | starcoder | <reponame>robrich/blazor-csharp-spa
using System;
using System.ComponentModel.DataAnnotations;
namespace BlazorSPA.Shared
{
public class Order
{
[Key]
public int Id { get; set; }
[Required]
[StringLength(30)]
public string Description { get; set; }
[Range(1,1000)]
public int Quantity { get; set; }
... | 2.039882 | 4ace249e0ecae8f705c5f9cb888a3bf7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849934 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tilleraj/MovieMinder",
"max_stars_repo_path": "movieminder.api/movieminder.api/Controllers/UserController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169154"
} | starcoder | <reponame>tilleraj/MovieMinder
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using movieminder.api.Commands;
using movieminder.api.Models;
using movieminder.api.... | 2.156568 | e4f43718b6e20d8651546e26af443ab4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849935 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Etimo/etimo-id",
"max_stars_repo_path": "src/Etimo.Id.Dtos/Roles/RoleResponseDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169155"
} | starcoder | // ReSharper disable InconsistentNaming
using Etimo.Id.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Etimo.Id.Dtos
{
public class RoleResponseDto
{
public Guid role_id { get; set; }
public string name {... | 2.626742 | 6a34c6e93a0e5330493858eae8987cf1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849936 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jefferson-luis-nascimento/toro",
"max_stars_repo_path": "backend/TrendContext.Domain/Commands/Requests/CreateTrendRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169156"
} | starcoder | using Flunt.Notifications;
using Flunt.Validations;
using MediatR;
using Newtonsoft.Json;
using TrendContext.Domain.Commands.Responses;
using TrendContext.Shared.Commands;
namespace TrendContext.Domain.Commands.Requests
{
public class CreateTrendRequest : Notifiable<Notification>, IRequest<CommandResponse<CreateT... | 2.221116 | 631ebef1d347e941a65544199ecf1b0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849937 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Svetloslav15/Softuni-C-Sharp-Advanced",
"max_stars_repo_path": "08. Sets and Dictionaries Exercise/08. Rankling/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169157"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace _08._Rankling
{
class Program
{
static void Main(string[] args)
{
string input = Console.ReadLine();
var contestAndPass = new Dictionary<string, string>();
var dict = new Dictionary... | 3.557428 | b9ee1f7d8e9d5665a6a53baf3e344c2d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849938 | {
"extension": "c-sharp",
"max_stars_count": "107.0",
"max_stars_repo_name": "arkium/Macad3D",
"max_stars_repo_path": "Source/Macad.Exchange/U3d/U3dDomMaterial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169158"
} | starcoder | <gh_stars>100-1000
using Macad.Common;
namespace Macad.Exchange.U3d
{
public class U3dDomMaterial : U3dDomDeclarationBlock
{
public string Name { get; }
public Color AmbientColor
{
get { return _AmbientColor ?? Color.Black; }
set { _AmbientColor = va... | 2.497054 | aa18bd5389ff4ba50e01725df8c77c44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849939 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marcin-golebiowski/SpiceSharpParser",
"max_stars_repo_path": "src/SpiceSharpParser/Parsers/Expression/Implementation/ExpressionParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169159"
} | starcoder | using SpiceSharpBehavioral.Parsers.Nodes;
using SpiceSharpParser.Common;
using SpiceSharpParser.Common.Evaluation;
using SpiceSharpParser.ModelReaders.Netlist.Spice;
using SpiceSharpParser.ModelReaders.Netlist.Spice.Context.Names;
using SpiceSharpParser.Parsers.Expression.Implementation;
using SpiceSharpParser.Parsers... | 2.064016 | 50ac506fac5a5a6e306ca3962022037c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849940 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IgoR-NiK/MVVMAqua",
"max_stars_repo_path": "MVVMAqua/Navigation/ViewWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169160"
} | starcoder | <reponame>IgoR-NiK/MVVMAqua
using System;
using System.Windows.Controls;
using MVVMAqua.ViewModels;
namespace MVVMAqua.Navigation
{
internal class ViewWrapper
{
public ContentControl View { get; }
public BaseVM ViewModel { get; }
public ViewWrapper(ContentControl view, BaseVM viewModel)
{
View = view;... | 2.176149 | df6fe3656aa9231f3fed1871136fc9a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849941 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MatMiler/Docomb",
"max_stars_repo_path": "WebAdmin/HostIntegration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169161"
} | starcoder | <filename>WebAdmin/HostIntegration.cs
using Docomb.WebCore;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.StaticFiles;
using Microsoft.Exte... | 1.91157 | bd5210c9c2773b5c96c7b56a781e76ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849942 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "davidomid/ServiceLayer",
"max_stars_repo_path": "ServiceLayer.UnitTests/Models/SuccessResult/Constructor/WhenGivenNoArguments.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169162"
} | starcoder | using FluentAssertions;
using NUnit.Framework;
namespace ServiceLayer.UnitTests.Models.SuccessResult.Constructor
{
public class WhenGivenNoArguments : UnitTestBase
{
private ServiceLayer.SuccessResult _successResult;
[Test]
public void Should_Have_Success_ResultType()
{
... | 2.170455 | 5f028276402660c61190f57fb6f43056 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849943 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cschen1205/myob-accounting-plugin",
"max_stars_repo_path": "NPOI/main/HSSF/Record/WriteAccessRecord.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169163"
} | starcoder | <filename>NPOI/main/HSSF/Record/WriteAccessRecord.cs
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) Under one or more
contributor license agreements. See the NOTICE file distributed with
this work for Additional information regarding c... | 2.460207 | 8cfd0568ecac4d4675cb6791efa4e64c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849944 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Insire/Dawn",
"max_stars_repo_path": "src/Dawn/Dawn.Wpf/Features/Backups/BackupViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169164"
} | starcoder | using MvvmScarletToolkit;
using MvvmScarletToolkit.Observables;
using Newtonsoft.Json;
using Serilog;
using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace Dawn.Wpf
{
/// <summary>
//... | 2.081414 | df0f479a38b0f2ffe3bd66f41cc49539 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849945 | {
"extension": "c-sharp",
"max_stars_count": "3886.0",
"max_stars_repo_name": "slgray/SyncTrayzor",
"max_stars_repo_path": "src/SyncTrayzor/Services/AlertsManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169165"
} | starcoder | <filename>src/SyncTrayzor/Services/AlertsManager.cs
using SyncTrayzor.Services.Conflicts;
using SyncTrayzor.Services.Metering;
using SyncTrayzor.Syncthing;
using SyncTrayzor.Syncthing.Folders;
using SyncTrayzor.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
namespace SyncTrayzor.Se... | 2.214647 | 01b4b5529e6522002e621459234d3536 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849946 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gamzegulyol/alien-runner",
"max_stars_repo_path": "Scripts/BlockGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169166"
} | starcoder | <filename>Scripts/BlockGenerator.cs<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BlockGenerator : MonoBehaviour
{
// Use this for initialization
//public GameObject block;
public Transform generationPoint2;
//private float block... | 2.384106 | 1f0817c3ef7706f1415637ea2f3787d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849947 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "giserh/mcda4arcmap",
"max_stars_repo_path": "MCDA/Model/Feature.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169167"
} | starcoder | <reponame>giserh/mcda4arcmap
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.ComponentModel;
using MCDA.Extensions;
using ESRI.ArcGIS.Geodatabase;
using ESRI.ArcGIS.Carto;
namespace MCDA.Model
{
/// <summary>
/// Encapsulates a <see cref="ESRI... | 2.546715 | 833847d7a52d0982279120903365e410 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849948 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AerisG222/ReverseGeocode",
"max_stars_repo_path": "src/ReverseGeocode/Services/GoogleMapService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169168"
} | starcoder | using System;
using System.Linq;
using System.Threading.Tasks;
using RestSharp;
namespace ReverseGeocode.Services
{
public class GoogleMapService
{
readonly RestClient _client;
public GoogleMapService(string apiKey)
{
if(string.IsNullOrEmpty(nameof(apiKey)))
{... | 3.046493 | 9b8ff48fb86e410b48b7c432caad7549 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849949 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rafael8000/Circus-Charlie-NES",
"max_stars_repo_path": "FireCircle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169169"
} | starcoder | <reponame>Rafael8000/Circus-Charlie-NES
using UnityEngine;
using System.Collections;
public class FireCircle: MonoBehaviour {
GameObject player;
bool lost = false;
// Use this for initialization
void Start ()
{
player = GameObject.FindGameObjectWithTag ("Charlie");
}
// Update is called ... | 2.216881 | b2182f4c416b77e1da7ab39974d3657a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849950 | {
"extension": "c-sharp",
"max_stars_count": "5234.0",
"max_stars_repo_name": "SvanBoxel/OrchardCore",
"max_stars_repo_path": "src/OrchardCore.Modules/OrchardCore.Contents/Workflows/Activities/ContentDraftSavedEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169170"
} | starcoder | using Microsoft.Extensions.Localization;
using OrchardCore.ContentManagement;
using OrchardCore.Workflows.Services;
namespace OrchardCore.Contents.Workflows.Activities
{
public class ContentDraftSavedEvent : ContentEvent
{
public ContentDraftSavedEvent(IContentManager contentManager, IWorkflowScriptEva... | 1.691571 | a9090d16406bc5338957ff8849dbdc76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849951 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pdeligia/whoop",
"max_stars_repo_path": "Source/Whoop/Refactoring/ReadWriteSlicing.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169171"
} | starcoder | <reponame>pdeligia/whoop<gh_stars>0
// ===-----------------------------------------------------------------------==//
//
// Whoop - a Verifier for Device Drivers
//
// Copyright (c) 2013-2014 <NAME> (<EMAIL>)
//
// This file is distributed under the Microsoft Public License. See
// LICENSE.TXT for ... | 1.459742 | 6bd3583a734c3e4e792cfa00d10351e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LuchezarVelkov/C-Sharp-Course",
"max_stars_repo_path": "02 Programming Fundamentals/10 DATA TYPES AND VARIABLES - EXERCISES/15. Fast Prime Checker/15. Fast Prime Checker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169172"
} | starcoder | <gh_stars>0
using System;
namespace _15.Fast_Prime_Checker
{
class Program
{
static void Main(string[] args)
{
int readMaxNumber = int.Parse(Console.ReadLine());
for (int currentNumber = 2; currentNumber <= readMaxNumber; currentNumber++)
{
b... | 3.195347 | 34b334f64d5a98aa2d257df11c2e2183 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849953 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chashafe/QuestStore",
"max_stars_repo_path": "QuestStoreNAT/QuestStoreNAT.web/Controllers/ProfileController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169173"
} | starcoder | <reponame>chashafe/QuestStore<gh_stars>0
using Microsoft.AspNetCore.Mvc;
using QuestStoreNAT.web.Models;
using QuestStoreNAT.web.DatabaseLayer;
using QuestStoreNAT.web.Services;
namespace QuestStoreNAT.web.Controllers
{
public class ProfileController : Controller
{
private readonly ICurrentSession _se... | 1.812267 | 1e804335719268fce80d7a76cca17c37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849954 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "aeroson/procedural-planets-generator",
"max_stars_repo_path": "mygame/PlanetaryBody/ProceduralPlanets.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169174"
} | starcoder | <reponame>aeroson/procedural-planets-generator
using MyEngine;
using MyEngine.Components;
using MyEngine.Events;
using Neitri;
using OpenTK;
using OpenTK.Input;
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL4;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threa... | 2.067799 | d878768ab0cb10ee7704ab05747e3f9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849955 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "RayCarrot/Rayman-Control-Panel-Metro",
"max_stars_repo_path": "src/RayCarrot.RCP.Metro/Games/Manager/Demo/GameManager_Rayman3Demo5_Win32.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169175"
} | starcoder | #nullable disable
namespace RayCarrot.RCP.Metro;
/// <summary>
/// The Rayman 3 Demo 5 (Win32) game manager
/// </summary>
public sealed class GameManager_Rayman3Demo5_Win32 : GameManager_Win32
{
#region Public Override Properties
/// <summary>
/// The game
/// </summary>
public override Games Ga... | 1.913927 | 50defb15237cab3594a62f14ffe72ae5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849956 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AILanguages/WebClients",
"max_stars_repo_path": "PatTuring2016.CommonProxy/ScreenPresentation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169176"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="ScreenPresentation.cs" company="Pat Inc.">
// Copyright (c) Pat Inc. 2016. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using PatTuring2016.Common.ScreenM... | 1.712379 | a5295b40415fe1e5fd4ee3d0082902dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849957 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "YKSoftware/YKToolkit.Controls",
"max_stars_repo_path": "YKToolkit.Controls/ExtendedControls/LineGraph/Componets/LineGraphData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169177"
} | starcoder | namespace YKToolkit.Controls
{
using System.Windows;
using System.Windows.Media;
/// <summary>
/// 折れ線グラフのデータを表します。
/// </summary>
public class LineGraphData : FrameworkElement
{
#region XData プロパティ
/// <summary>
/// グラフの横軸データを double[] 型の依存関係プロパティとして定... | 2.907479 | f63b18148e45ba16a9030fc173b1522f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TayoTwo/Unstable",
"max_stars_repo_path": "Assets/Scripts/Plane/Player/MoveToCursor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169178"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MoveToCursor : MonoBehaviour
{
//Forward force put on the player
public float thrust;
//How fast the player will rotate towards the cursor
public float rotSpeed;
public float idealDis;
//public Transf... | 2.491802 | dc1414082a62941f724a612d6f26510b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849959 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stonooaks/Shuttle",
"max_stars_repo_path": "Hermes.Data/Models/Phone.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169179"
} | starcoder | using System;
using System.Collections.Generic;
namespace Hermes.Data.Models
{
public partial class Phone
{
public int Id { get; set; }
public string Number { get; set; }
public Nullable<int> MemberId { get; set; }
public virtual Member Member { get; set; }
}
}
| 2.061461 | d326507a3a11ec6374e2d74218a01e6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849960 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "nativecode-dev/frameworks",
"max_stars_repo_path": "src/NativeCode.Mobile.Core.XamarinForms/Controls/FlipView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169180"
} | starcoder | <reponame>nativecode-dev/frameworks
namespace NativeCode.Mobile.Core.XamarinForms.Controls
{
using NativeCode.Mobile.Core.XamarinForms.Controls.ContentProviders;
using Xamarin.Forms;
[ContentProperty("Views")]
public class FlipView : ContentView
{
public static readonly BindableProperty F... | 2.115165 | a382e1a51a31f1227441bcc5f2852af3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849961 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ermontgo/kapitan",
"max_stars_repo_path": "src/Kanyon.Core/KapitanPolicySetAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169181"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Kanyon.Core
{
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public class KanyonPolicySetAttribute : Attribute
{
public KanyonPolicySetAttribute(Type policySetType)
{
PolicySetType =... | 2.432559 | 537926bada47904041aa978afdfaa55c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849962 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BoryanaLen/FinalWebProject",
"max_stars_repo_path": "Data/Hotel.Data.Models/RoomType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169182"
} | starcoder | <filename>Data/Hotel.Data.Models/RoomType.cs<gh_stars>0
namespace Hotel.Data.Models
{
using System;
using System.ComponentModel.DataAnnotations;
using Hotel.Data.Common.Models;
public class RoomType : BaseDeletableModel<string>
{
private const int NameMaxLength = 50;
private const... | 2.630673 | 0ee4f7a8d209dff9aeac5627f94e1d5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849963 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "SteveGTR/The-Modern-CSharp-Challenge",
"max_stars_repo_path": "Chapter05/Soundex/Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169183"
} | starcoder | <gh_stars>10-100
namespace Soundex
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summ... | 2.155957 | 8d0cc98266cbc16a4d8a000dec3854eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849964 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ifcodesdotnet/ByteDev.Sonos",
"max_stars_repo_path": "src/ByteDev.Sonos/Models/SonosTimeSpan.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169184"
} | starcoder | <gh_stars>0
using System;
namespace ByteDev.Sonos.Models
{
public class SonosTimeSpan
{
private const int MaxHours = 99;
private const int MaxMinutes = 59;
private const int MaxSeconds = 59;
public int Hours { get; }
public int Minutes { get; }
public int Secon... | 3.146142 | afe8d4cfc389b4098859b26716ba5f8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849965 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "icodemaker/qibublog",
"max_stars_repo_path": "Code/QiBuBlog.Util/JSONHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169185"
} | starcoder | <gh_stars>0
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System;
using System.Globalization;
namespace QiBuBlog.Util
{
public static class JSONHelper
{
public static string Encode<T>(T t)
{
return Encode(t, Formatting.None);
}
private static st... | 2.853692 | 68f99fcc7016c07cbd1152bfe8dd2745 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849966 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mjSurber/Map-Utilities",
"max_stars_repo_path": "MapUtilities/Background_Patch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169186"
} | starcoder | <reponame>mjSurber/Map-Utilities<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Harmony;
using StardewValley;
using Microsoft.Xna.Framework.Graphics;
using MapUtilities.Parallax;
namespace MapUtilities
{
class Background_draw_Pa... | 2.038034 | 868447e01bbf983f408179f2c8cab73d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849967 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Swihoni/fps-game",
"max_stars_repo_path": "Assets/FPSGame/Scripts/CursorManagement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169187"
} | starcoder | <filename>Assets/FPSGame/Scripts/CursorManagement.cs
using UnityEngine;
using UnityEngine.SceneManagement;
static class CursorManagement {
public static bool CursorShouldBeLocked()
{
if (IsOnMenuScene() || IsPlayerDead() || IsWorldEditCanvasOpen())
{
return false;
}
e... | 2.415195 | 9f7f5ee4541df45cf806301bfe01a0d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849968 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DrNerf/TelepathyLink",
"max_stars_repo_path": "TelepathyLink.Core/Models/InvocationModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169188"
} | starcoder | <reponame>DrNerf/TelepathyLink<filename>TelepathyLink.Core/Models/InvocationModel.cs<gh_stars>0
using System;
namespace TelepathyLink.Core.Models
{
public class InvocationModel
{
public string Contract { get; set; }
public string Method { get; set; }
public object[] Arguments { get; ... | 1.837628 | 45c21575c0c1ee8c05d4abb5b207a214 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849969 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidtabatadze/CoreKit",
"max_stars_repo_path": "CoreKit.Caching/CacheKitConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169189"
} | starcoder |
namespace CoreKit.Caching
{
/// <summary>
/// Represents a configuration for cache manager <see cref="CacheKit"/>
/// </summary>
public class CacheKitConfiguration
{
/// <summary>
/// Default minutes for data to be cached.
/// 0 - means default 60 minutes.
/// </... | 2.193297 | b01c8bca2e2f0d8e406a1577f0a2f8fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849970 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "wallymathieu/BlockParser",
"max_stars_repo_path": "tests/CSharp.Tests/RealWorld/First_section.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169190"
} | starcoder | <filename>tests/CSharp.Tests/RealWorld/First_section.cs<gh_stars>10-100
using System.IO;
using System.Linq;
using Zander;
using Xunit;
namespace CSharp.Tests.RealWorld
{
public class First_section : TestHelper
{
private string[][] file_content;
public First_section()
{
file... | 2.658953 | 7156492bff43dd3d302fe6f3ef799ee2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849971 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "IhateTrains/ImperatorToCK3",
"max_stars_repo_path": "ImperatorToCK3.UnitTests/Mappers/Region/ImperatorRegionMapperTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169191"
} | starcoder | using commonItems;
using ImperatorToCK3.Mappers.Region;
using System.Collections.Generic;
using Xunit;
namespace ImperatorToCK3.UnitTests.Mappers.Region {
public class ImperatorRegionMapperTests {
[Fact]
public void RegionMapperCanBeEnabled() {
// We start humble, it's a machine.
var theMapper = new Impera... | 2.523709 | 57108b0b71b8e277ce6d71edf99aa319 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849972 | {
"extension": "c-sharp",
"max_stars_count": "99.0",
"max_stars_repo_name": "kkbruce/AspNetCoreControllerBaseHelperDemo",
"max_stars_repo_path": "src/3.1/DapperSample/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169192"
} | starcoder | using Dapper;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Transactions;
namespace DapperSample
{
class Program
{
static void Main(string[] args)
{
Console.W... | 2.733447 | a2db51be5aad69927b103ab16a5078b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849973 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kiirx/Cosmos",
"max_stars_repo_path": "source/Cosmos.Core/IOGroup/PCSpeaker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169193"
} | starcoder | <filename>source/Cosmos.Core/IOGroup/PCSpeaker.cs
namespace Cosmos.Core.IOGroup;
/// <summary>
/// PC Speaker.
/// </summary>
public class PCSpeaker : IOGroup
{
// IO Port 42
/// <summary>
/// Channel to data IO port.
/// </summary>
public readonly IOPort Channel2Data = new(0x42);
// ... | 2.266382 | a9b5708fbab227155463ca81a45ff689 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849974 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "burningice2866/CompositeC1Contrib",
"max_stars_repo_path": "Localization/ImportExport/ImportExportModelResourceSet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169194"
} | starcoder | using System.Collections.Generic;
namespace CompositeC1Contrib.Localization.ImportExport
{
public class ImportExportModelResourceSet
{
public string Name { get; set; }
public Dictionary<string, ImportExportModelResource> Resources { get; set; }
public ImportExportModelResou... | 1.731388 | cc9e8b67fcbac293130d0669487a8ed4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849975 | {
"extension": "c-sharp",
"max_stars_count": "63.0",
"max_stars_repo_name": "drewnoakes/il-visualizer",
"max_stars_repo_path": "ILDebugging.Visualizer/MethodBodyViewer.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169195"
} | starcoder | namespace ILDebugging.Visualizer {
partial class MethodBodyViewer {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.951066 | 6253f010eac208190cea92c4763ed23e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849976 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Delirios/WeatherBot",
"max_stars_repo_path": "WeatherBot/Bots/WeatherBot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169196"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Schema;
using WeatherBot.BusinessLogic;
using WeatherBot.Helpers;
using WeatherBot.Services;
namespace WeatherBot.Bots
{
public class WeatherBot<T> : ActivityHandler where T ... | 2.368055 | 2b4e36eb06e003db4c3e2e46e4b11810 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849977 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "floriangouy/addins-excelexporterimporter",
"max_stars_repo_path": "ExcelExporterImporter/Views/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169197"
} | starcoder | <reponame>floriangouy/addins-excelexporterimporter
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Globalization;
using System.Threading;
using System.Windows;
using Autodesk.Revit.DB;
using ExcelExporterImporter.ViewModels;
namespace ExcelExporterImporter.Views
{
/// <summary>
... | 1.946822 | 0d66c005059e40a8586dff8e36fb4c6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849978 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mt89vein/Storage",
"max_stars_repo_path": "Storage.Tests/DataRecordIndexStorage/DataRecordIndexStorageInMemoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169198"
} | starcoder | <filename>Storage.Tests/DataRecordIndexStorage/DataRecordIndexStorageInMemoryTests.cs
using NUnit.Framework;
using Storage.Core.Abstractions;
using Storage.Core.Configuration;
using Storage.Core.Models;
using System;
using System.IO;
namespace Storage.Tests.DataRecordIndexStorage
{
[TestFixture]
[Description(... | 2.497466 | 41b3f88bef08cda936c6a673f82de6e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849979 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tc303730352/WedonekRpcFrame",
"max_stars_repo_path": "Source/RpcModel/Model/ServerDictateLimit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169199"
} | starcoder | <filename>Source/RpcModel/Model/ServerDictateLimit.cs
using System;
using RpcHelper.Validate;
namespace RpcModel.Model
{
/// <summary>
/// 服务指令限流配置
/// </summary>
[Serializable]
public class ServerDictateLimit
{
/// <summary>
/// 限流指令
... | 2.310628 | 0385c30e5f5536df6f96166165f6b4ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849980 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jayendrang/CShaprProjectFall",
"max_stars_repo_path": "ConsignmentCompanyProject/ConsignmentCompanyProject/com.app.dataobjects/OrderProperties.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169200"
} | starcoder | <filename>ConsignmentCompanyProject/ConsignmentCompanyProject/com.app.dataobjects/OrderProperties.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsignmentCompanyProject.com.app.dataobjects
{
/*
* created by <NAME>
* */
... | 2.15965 | 436c41df5cd9013958b1e351cb58295a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849981 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MayzellProject/ellax",
"max_stars_repo_path": "src/Cinder.Data/Repositories/ITransactionLogRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169201"
} | starcoder | <reponame>MayzellProject/ellax
namespace Cinder.Data.Repositories
{
public interface ITransactionLogRepository : Nethereum.BlockchainProcessing.BlockStorage.Repositories.ITransactionLogRepository { }
}
| 0.88331 | 0a0eeb5fbeb03e1bf24733b1bb048b95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849982 | {
"extension": "c-sharp",
"max_stars_count": "404.0",
"max_stars_repo_name": "techkey/PTVS",
"max_stars_repo_path": "Python/Tests/TestRunnerInterop/NativeMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169202"
} | starcoder | <reponame>techkey/PTVS
// Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org... | 2.271558 | eb3e611eaee78d1f909952dbd8f89e00 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849983 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Spoiledpay/Newboo",
"max_stars_repo_path": "BooLangCompiler/Boo/Lang/Compiler/TypeSystem/Variance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169203"
} | starcoder | <gh_stars>1-10
namespace Boo.Lang.Compiler.TypeSystem
{
public enum Variance
{
Invariant,
Covariant,
Contravariant
}
}
| 1.139639 | cf663831ba288185464bded6abc9ce79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849984 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DJBuro/Telerik",
"max_stars_repo_path": "C#2/Strings and Text Processing/LettersCount/CountLetters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169204"
} | starcoder | //Problem 21. Letters count
//Write a program that reads a string from the console and prints all different letters in the string along with information how many times each letter is found.
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
class CountLetters
{
static void Main(... | 3.929328 | 59db473d69c0ed4837d6cb1fef10a8b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849985 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MinexAutomation/R5T.Code.VisualStudio.ProjectFile.Types",
"max_stars_repo_path": "source/R5T.Code.VisualStudio.ProjectFile.Types/Code/Enumerations/TargetFramework.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169205"
} | starcoder | using System;
namespace R5T.Code.VisualStudio.ProjectFile
{
public enum TargetFramework
{
Unknown = 0,
NetCoreApp_2_2,
NetStandard_2_0,
}
}
| 1.181559 | 72c82d071e78d69bb571fd459fc357f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849986 | {
"extension": "c-sharp",
"max_stars_count": "65.0",
"max_stars_repo_name": "qoollo/dotNet-turbo",
"max_stars_repo_path": "src/Qoollo.Turbo/Collections/Wrappers/ReadOnlyListWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169206"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Qoollo.Turbo.Collections
{
/// <summary>
/// Read-only wrapper around IList interface
/// </summary>
/// <typeparam name="T">T... | 2.971285 | eaeb771373d67a31e7259186819ae7af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849987 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Crashnorun/Coding_Sketchbook_dotNet",
"max_stars_repo_path": "dotNet/Console Stuff/Call_Console_Exe/Add_Numbers_01/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169207"
} | starcoder | <filename>dotNet/Console Stuff/Call_Console_Exe/Add_Numbers_01/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Add_Numbers_01
{
class Program
{
static void Main(string[] args)
{
Console.WriteLi... | 3.770729 | 667956e99f92136f1e755d1826a2a0de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849988 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "planshit/projecteye",
"max_stars_repo_path": "src/Local/ProjectEye/Models/EyesTestModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169208"
} | starcoder | <gh_stars>1-10
using System.Windows;
namespace ProjectEye.Models
{
public class EyesTestModel : UINotifyPropertyChanged
{
private int Score_ = 0;
public int Score
{
get
{
return Score_;
}
set
{
... | 2.134297 | 9259a35deba5fe8129941e15a5e402d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849989 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "QiYuOr2/store-management",
"max_stars_repo_path": "TestWeb/WebForms/Login.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169209"
} | starcoder | using BLL;
using Commons;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace TestWeb.WebForms
{
public partial class Login : System.Web.UI.Page
{
readonly ProjectDB db = new ProjectDB();
readonly ... | 1.90272 | faa8ef62e667d2f06a41d340a310c5b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849990 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "ZhenshengLee/simulator",
"max_stars_repo_path": "Assets/Scripts/Bridge/Cyber/Protobuf/prediction/proto/prediction_obstacle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169210"
} | starcoder | <reponame>ZhenshengLee/simulator<filename>Assets/Scripts/Bridge/Cyber/Protobuf/prediction/proto/prediction_obstacle.cs
// This file was generated by a tool; you should avoid making direct changes.
// Consider using 'partial classes' to extend these types
// Input: prediction_obstacle.proto
#pragma warning disable 0612... | 2.058852 | c8ec31221df7def4b6493d8002ad6580 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849991 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ntoates/SkuVaultApiWrapper",
"max_stars_repo_path": "SkuVaultApiWrapper/Models/SharedModels/PurchaseOrderCost.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169211"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace SkuVaultApiWrapper.Models.SharedModels
{
public class PurchaseOrderCost
{
public string Type { get; set; }
public double Amount { get; set; }
public string Note { get; set; }
}
}
| 1.56463 | 68226bf3cbdd94bdd4350ee868641e0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849992 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yeonhong/snipet",
"max_stars_repo_path": "Assets/Scripts/GameProgrammingPattern/ObserverPatten.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169212"
} | starcoder | using System;
using UnityEngine.Events;
namespace ProgrammingPattern
{
// observer.
#region 전통적인 구조?
public class SampleEventArgs
{
public SampleEventArgs(string s) { Text = s; }
public String Text { get; } // readonly
}
public class Publisher
{
// Declare the delegate (if using non-generic pattern).
... | 3.056777 | 5040018889c9268053b3401def9fdea7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849993 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lukapor/NEST",
"max_stars_repo_path": "src/Nest/Aggregations/AggregationsHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169213"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Linq;
namespace Nest
{
public class AggregationsHelper
{
public IDictionary<string, IAggregation> Aggregations { get; internal protected set; }
public AggregationsHelper() { }
public AggregationsHelper(IDictionary<string, IAggregation> aggregations)
... | 1.843167 | 5353cbdec840de2185f9b6937efcbec9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849994 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/das-apim-developer-web",
"max_stars_repo_path": "src/SFA.DAS.Apim.Developer.Web/AppStart/ConfigureEmployerAuthenticationExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169214"
} | starcoder | <reponame>SkillsFundingAgency/das-apim-developer-web
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authentication.OpenIdConnect... | 1.741201 | 113972efcae1e3a04fd652f4c287e792 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849995 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ghord/SharpExpress",
"max_stars_repo_path": "src/SharpExpress/TypeSystem/AttributeInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169215"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharpExpress.TypeSystem
{
public class AttributeInfo : ISymbolInfo
{
internal AttributeInfo(string name, ISymbolInfo declaringSymbol)
{
Name = name;
... | 2.384091 | 9466901e2617bddee55e9e15f0cbef37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849996 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Parjoona/EatInOslo",
"max_stars_repo_path": "Migrations/20180424192934_IC.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169216"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace EatInOslo.Migrations
{
public partial class IC : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name:... | 2.215496 | 3e97b45c406397798df8bc3e28973c9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849997 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "serge4k/GraphControl",
"max_stars_repo_path": "GraphControl.Core/Interfaces/Views/IScalingState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169217"
} | starcoder | using System.Drawing;
namespace GraphControl.Core.Interfaces.Views
{
public interface IScalingState
{
Color MovingPenColor { get; set; }
Point? MovingPosition { get; set; }
Point? MovingStart { get; set; }
Point? ScalingPosition { get; set; }
Point? ScalingStart { g... | 2.00598 | b7a8fb0e3ec8a0c9ae24869995cc151e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849998 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xloypaypa/RimThreaded",
"max_stars_repo_path": "Source/CellFinder_Patch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169218"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Verse;
using static HarmonyLib.AccessTools;
namespace RimThreaded
{
class CellFinder_Patch
{
[ThreadStatic] public static List<IntVec3>[] mapSingleEdgeCells;
i... | 1.313748 | c74459e3466467c5eb1889118b57346e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849999 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IlTuoNome/JustCam",
"max_stars_repo_path": "AvtechLib/AvtechLib/Avtech.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169219"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Newtonsoft.Json;
using System.Threading;
using System.Text.RegularExpressions;
using Avtechlib.Avtechinfo;
using Leaf.xNet;
namespace Avtechlib
{
/// <summary>
/// Class for scanning and attacking Avtech video surveillance ser... | 2.683331 | 31281b33adbfd4bd80ccbf2abaacc4b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850000 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kamabery/Slackers.Services.Bus",
"max_stars_repo_path": "Samples/UserManager/Models/User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169220"
} | starcoder | using System;
using Slackers.Services.Repository;
namespace UserManager.Models
{
public class User : IEntity
{
public Guid Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public int TaskCount { get; set; }
}
} | 1.871227 | 7c8bb057e233ebf7e4132276530032c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850001 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "HeadspringLabs/XlsToEF",
"max_stars_repo_path": "src/XlsToEfCore.Example/ExampleCustomMapperField/ProductCategoryFiles/XlsxProductCategoryColumnMatcherQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169221"
} | starcoder | <filename>src/XlsToEfCore.Example/ExampleCustomMapperField/ProductCategoryFiles/XlsxProductCategoryColumnMatcherQuery.cs
using MediatR;
using XlsToEfCore.Import;
namespace XlsToEfCore.Example.ExampleCustomMapperField.ProductCategoryFiles
{
public class XlsxProductCategoryColumnMatcherQuery : XlsxColumnMatcherQuery... | 1.121445 | c9aab482ea690b5eeabec56bd41b4d84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850002 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "KristiyanSevov/SoftUni-Programming-Fundamentals",
"max_stars_repo_path": "Exercises/12. RegularExpressionsRegex-Lab/03. MatchHexadecimalNumbers/MatchHexadecimalNumbers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169222"
} | starcoder | <reponame>KristiyanSevov/SoftUni-Programming-Fundamentals
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace _03.MatchHexadecimalNumbers
{
class MatchHexadecimalNumbers
{
static void Main(string[] args)
{
... | 2.954469 | 65776e57791d48a569f15f1576184c76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850003 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zhenlei520/crank",
"max_stars_repo_path": "samples/hello/Controllers/UserController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169223"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Authentication;
using Microsoft.AspNetCore.Mvc;
namespace hello.Controllers
{
public class UserController : ControllerBase
{
private static List<User> list = new List<User>()
{
n... | 3.080157 | d39e36f78b580a39192525dfb5ab6db6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850004 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrugacz95/NeonArkanoid",
"max_stars_repo_path": "Assets/scripts/startGame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169224"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class StartGame : MonoBehaviour {
// Use this for initialization
void Start () {
Button btn = gameObject.GetComponent<Button>();
btn.onClick.AddListener(sta... | 1.958221 | 26e19a32eddc1ae0bcd9fef85b91f666 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850005 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "velunin/Shop",
"max_stars_repo_path": "Shop.Shared.Services/RabbitMqConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169225"
} | starcoder | namespace Shop.Shared.Services
{
public class RabbitMqConfig
{
public string Uri { get; set; }
public string User { get; set; }
public string Password { get; set; }
}
} | 1.485829 | eef2ae976c29190a94b33117b11a3b23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850006 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "joenmaes/epmon",
"max_stars_repo_path": "src/EpMon.Web/ViewModels/Mapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169226"
} | starcoder | using EpMon.Data.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
namespace EpMon.Web.ViewModels
{
public static class Mapper
{
public static EndpointDto ToDto(this Endpoint e)
{
if (e == null)
{
return new EndpointDto();
... | 2.589479 | 2e2bbebd77a76463dca7f37a92bee3a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850007 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bradirby/OrleansHelloAgain",
"max_stars_repo_path": "src/HelloWorldApi/Controllers/AccountController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169227"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using HelloWorld.Interfaces;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Orleans;
namespace HelloWorldApi.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class AccountController : C... | 2.498828 | 8ebfcd65c5ae7f5847b61d5e94a71959 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850008 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "michielpost/Hathor.Client",
"max_stars_repo_path": "Hathor/Models/Responses/TxHistoryResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169228"
} | starcoder | <filename>Hathor/Models/Responses/TxHistoryResponse.cs
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hathor.Models.Responses
{
public class TxHistoryResponse : List<Transaction>
{
}
public class Tra... | 2.211241 | 4c141c481bda6d4f4e9d838166d0e3e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850009 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "alexdimitrov2000/FitnessApp",
"max_stars_repo_path": "FitnessApp/FitnessApp.Web/Views/Shared/_Layout.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:169229"
} | starcoder | <reponame>alexdimitrov2000/FitnessApp<filename>FitnessApp/FitnessApp.Web/Views/Shared/_Layout.cshtml
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - FitnessApp.Web</title>
@*<link rel="styleshee... | 2.122411 | ce702ba08289e76fe5875f5b7a6c79ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850010 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Utar94/skillcraft",
"max_stars_repo_path": "api/src/SkillCraft.Web/Settings/ApplicationSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169230"
} | starcoder | <gh_stars>0
using System.ComponentModel.DataAnnotations;
namespace SkillCraft.Web.Settings
{
public class ApplicationSettings
{
[Required]
[Url]
public string BaseUrl { get; set; } = null!;
}
}
| 1.291766 | 4d4639491e9a19bc501d07a1ddbbe5b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850011 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tanvirfiji/Circular-Shoot",
"max_stars_repo_path": "Assets/Script/Manager/ScoreManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169231"
} | starcoder | <reponame>tanvirfiji/Circular-Shoot
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ScoreManager : MonoBehaviour
{
public static ScoreManager instance;
private int _winningScore = 50;
private int _currentScore = 0;
public ... | 2.194989 | d8820f3b4deece2e11ad7f65241766c2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.