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 | 8813118 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kreuzhofer/homeautomation",
"max_stars_repo_path": "src/DevicePortal/W10Home.NetCoreDevicePortal/DataAccess/Interfaces/IDeviceFunctionService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132338"
} | starcoder | <reponame>kreuzhofer/homeautomation<filename>src/DevicePortal/W10Home.NetCoreDevicePortal/DataAccess/Interfaces/IDeviceFunctionService.cs
using System.Collections.Generic;
using System.Threading.Tasks;
using W10Home.NetCoreDevicePortal.DataAccess.Entities;
namespace W10Home.NetCoreDevicePortal.DataAccess.Interfaces
{
... | 1.942069 | 7269cb69e1ececf0ea81758240fcf264 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813119 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SoftwareFactor/BriskDesk",
"max_stars_repo_path": "src/BriskDesk.Data/Models/EntityTypeConfiguration/TicketEntityTypeConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132339"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BriskDesk.Data.Models.EntityTypeConfiguration
{
public class TicketEntityTypeConfiguration : EntityTypeConfiguration<Ticket>
{
publ... | 2.164003 | bd08d642532bdbe91edc416d70b61b77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813120 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "Xytabich/UNet",
"max_stars_repo_path": "UNet/Connection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132340"
} | starcoder | using System;
using UdonSharp;
using UnityEngine;
using VRC.SDKBase;
namespace UNet
{
/// <summary>
/// It is a bridge between all clients, receives and sends data using UdonSync.
/// </summary>
[UdonBehaviourSyncMode(BehaviourSyncMode.Manual)]
public class Connection : UdonSharpBehaviour
{
[UdonSynced]
pri... | 2.150085 | 4412617048ab8207c25609c2a18896a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813121 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "VTPDevelopment/Silk",
"max_stars_repo_path": "src/Silk.Data/MediatR/Guilds/GetGuild.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132341"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Microsoft.EntityFrameworkCore;
using Remora.Rest.Core;
using Silk.Data.Entities;
namespace Silk.Data.MediatR.Guilds;
public static class GetGuild
{
/// <summary>
/// Request for retrieving a <see cref="GuildEntity" />.
/// </summa... | 2.49008 | ddd5a69bab1cb88a51c098c36fa1d752 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813122 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "Moliman/BizHawk",
"max_stars_repo_path": "BizHawk.Emulation.Cores/Consoles/Sony/PSX/OctoshockFIOConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132342"
} | starcoder | using System;
using System.Collections.Generic;
namespace BizHawk.Emulation.Cores.Sony.PSX
{
/// <summary>
/// Represents a user's view of what equipment is plugged into the PSX FIO
/// </summary>
public class OctoshockFIOConfigUser
{
public bool[] Multitaps = new bool[2];
public bool[] Memcards =... | 2.554906 | aa3da15b34222dc6ddb7b533d83a5230 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813123 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sbalkum/Nimbus",
"max_stars_repo_path": "src/Tests/Nimbus.StressTests/ThreadStarvationTests/CommandHandlersSendingOtherCommands/MessageContracts/NoOpCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132343"
} | starcoder | <filename>src/Tests/Nimbus.StressTests/ThreadStarvationTests/CommandHandlersSendingOtherCommands/MessageContracts/NoOpCommand.cs
using Nimbus.MessageContracts;
namespace Nimbus.StressTests.ThreadStarvationTests.CommandHandlersSendingOtherCommands.MessageContracts
{
public class NoOpCommand : IBusCommand
{
... | 1.359543 | b70cfde8c7e248e6f0e20a3492085ed4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813124 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TLSoftwareUK/Nautilus-DesignLibrary",
"max_stars_repo_path": "src/DesignLibrary.Engine/ScratchpadItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132344"
} | starcoder | using System;
using TLS.DesignLibrary.Calculations;
namespace TLS.DesignLibrary.Engine
{
public class ScratchpadItem
{
public DateTime Created { get; set; }
public DateTime Modified { get; set; }
public CalculationContainer Calculations { get; set; }
public ScratchpadItem()
... | 2.290527 | ff59e674f8462dc128da4751d9842945 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813125 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "heynickc/dto_assembly",
"max_stars_repo_path": "DtoDeepDive.Data/DTO/QuoteDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132345"
} | starcoder | <reponame>heynickc/dto_assembly
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DtoDeepDive.Data.DTO {
public class QuoteDTO {
public QuoteDTO() {
Parts = new List<PartDTO>();
}
public List<PartDTO> P... | 2.421487 | 0a91faaad01dbcaa740177a24e9c599f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813126 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "robinhultman/generator-biztalkcomponents",
"max_stars_repo_path": "generators/app/templates/PipelineComponents/Src/Component.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132346"
} | starcoder | using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using BizTalkComponents.Utils;
using Microsoft.BizTalk.Component.Interop;
using Microsoft.BizTalk.Message.Interop;
using IComponent = Microsoft.BizTalk.Component.Interop.IComponent;
namespace <%= namespace %>.<%= name %>
{
[Co... | 1.875444 | ca796f16caab67b13a1a084d9ce5da86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813127 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Classicxz/LibraryProject",
"max_stars_repo_path": "Library.Data/LibraryContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132347"
} | starcoder | <filename>Library.Data/LibraryContext.cs
using System;
using Microsoft.EntityFrameworkCore;
using Library.Data.Models;
namespace Library.Data
{
public class LibraryContext: DbContext {
public LibraryContext(DbContextOptions options) : base(options) { }
public DbSet<Patron> Patrons {get; set; }
... | 2.264225 | 31ac78618fe7bdbb0da3cf51ab3a38a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813128 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "henry701/FindFm-RestServer",
"max_stars_repo_path": "RestServer/Model/Http/Response/ForbiddenResponseBody.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132348"
} | starcoder | <gh_stars>1-10
namespace RestServer.Model.Http.Response
{
internal class ForbiddenResponseBody : ResponseBody
{
public ForbiddenResponseBody()
{
Code = ResponseCode.RequiresAuthentication;
Success = false;
Message = "Essa operação requer autenticação!";
... | 1.958822 | 309347f0cd79f86f7fe28e0222d7c389 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813129 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "gblock0/MongoLinqPlusPlus",
"max_stars_repo_path": "Src/UnitTests/Tests/SelectTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132349"
} | starcoder | // The MIT License (MIT)
//
// Copyright (c) 2015 Pathmatics, Inc
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
... | 2.104899 | da7932e04dc95784b0e3b8c0c8c5690a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813130 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "catingame/ABS",
"max_stars_repo_path": "Core/Actor/Actor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132350"
} | starcoder | <filename>Core/Actor/Actor.cs<gh_stars>0
using System;
namespace Core.Actor
{
class Actor : RootActor
{
public override void OnActivate()
{
throw new NotImplementedException();
}
public override void OnDestroy()
{
throw new NotImplementedExcepti... | 2.034036 | 6a0f14dd8dee8f1457c7366d96513f3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813131 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "avantida/azure-libraries-for-net",
"max_stars_repo_path": "src/ResourceManagement/ResourceManager/Generated/Models/PropertyChangeType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132351"
} | starcoder | // <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// </auto-generated>
namespace Microsoft.Azure.Management.ResourceManager.Fl... | 2.264152 | aad50e5e62ae1cdc665fba6c70b1b2c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813132 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pocheshire/AppRopio.Mobile",
"max_stars_repo_path": "src/app-ropio/AppRopio.Base/Settings/Core/ViewModels/Services/ISettingsVmService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132352"
} | starcoder | using System;
using System.Threading.Tasks;
using AppRopio.Base.Settings.Core.ViewModels.Regions.Items;
using AppRopio.Models.Settings.Responses;
using MvvmCross.Core.ViewModels;
using System.Threading;
namespace AppRopio.Base.Settings.Core.ViewModels.Services
{
public interface ISettingsVmService
{
T... | 1.29681 | 78f8bb94d079134e8bdee1119754e64d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813133 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lira92/infobip-api-csharp-client",
"max_stars_repo_path": "InfobipClient/InfobipClientLib/Infobip/Api/Model/Omni/Send/OmniResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132353"
} | starcoder | <reponame>lira92/infobip-api-csharp-client
using System.Collections.Generic;
using Newtonsoft.Json;
using Infobip.Api.Model.Omni.Send;
using System;
namespace Infobip.Api.Model.Omni.Send
{
/// <summary>
/// This is a generated class and is not intended for modification!
/// </summary>
public class Omni... | 1.34409 | 3aaffd8d6506415e46f92577b0d6293e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fambda/fambda",
"max_stars_repo_path": "Fambda/Core/Try/Try.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132354"
} | starcoder | <filename>Fambda/Core/Try/Try.cs
namespace Fambda
{
/// <summary>
/// Captures exception and represents the operations that may throw.
/// </summary>
public delegate Exceptional<T> Try<T>();
}
| 1.893532 | 6b05e2dfb118e0bcf79922b069ebaff9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813135 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeertvanHorrik/BindingErrorRepro",
"max_stars_repo_path": "src/ExampleApp/ViewModels/PersonViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132355"
} | starcoder | using Catel;
using ExampleApp.Models;
namespace ExampleApp.ViewModels
{
using Catel.MVVM;
public class PersonViewModel : ViewModelBase
{
public PersonViewModel(Person person)
{
Argument.IsNotNull(() => person);
Person = person;
FamilyName = person.Fam... | 2.398015 | cb4c0ea1a515c21f0f6e3443c0014c9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813136 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ludovic-henry/referencesource",
"max_stars_repo_path": "System.Activities.Presentation/System.Activities.Presentation/System/Activities/Presentation/FreeFormEditing/RequiredSizeChangedEventHandler.cs",
"provenance": "train-00027-of-00... | starcoder | <gh_stars>1-10
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace System.Activities.Presentation.FreeFormEditing
{
internal delegate void RequiredSizeChangedEventHandl... | 1.073704 | afe6b31a387a15f7f6e7ba6911839972 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813137 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Skyprx/maui",
"max_stars_repo_path": "System.Maui.Xaml.UnitTests/IsCompiledSkip.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132357"
} | starcoder | using System;
using System.Collections.Generic;
using NUnit.Framework;
using System.Maui;
namespace System.Maui.Xaml.UnitTests
{
[XamlCompilation (XamlCompilationOptions.Skip)]
public partial class IsCompiledSkip : ContentPage
{
public IsCompiledSkip ()
{
InitializeComponent ();
}
public IsCompiledSkip ... | 1.863681 | cff20b7ff41c8210fbbba099b1d8ae95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813138 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "tapika/choco",
"max_stars_repo_path": "lib/Microsoft.Data.Services.Client/ODataLib/OData/Desktop/.Net4.0/Microsoft/Data/OData/AsyncBufferedStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132358"
} | starcoder | // OData .NET Libraries ver. 5.6.3
// Copyright (c) Microsoft Corporation
// All rights reserved.
// MIT License
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software withou... | 2.410657 | e7c10305f3de56707f0d81b8246d4102 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813139 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "SSgumS/MariGold.HtmlParser",
"max_stars_repo_path": "MariGold.HtmlParser/HtmlAnalyzer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132359"
} | starcoder | namespace MariGold.HtmlParser
{
using System;
internal abstract class HtmlAnalyzer
{
protected readonly IAnalyzerContext context;
internal event Action<string> OnTagCreate;
protected bool IsOpenTag(int position, out IOpenTag openTag)
{
openTag = null;
... | 2.900318 | c816a3b654d0c6adc346eac9abb6e92e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813140 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "flinkebits/AvaDevBox",
"max_stars_repo_path": "Src/AvaDevBox/Utils/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132360"
} | starcoder | using System;
namespace AvaDevBox.Utils
{
public static class Extensions
{
/// <summary>Limits a comparable value to the given upper and lower limits (inclusive).</summary>
/// <typeparam name="T">IComparable Type to applied to.</typeparam>
/// <param name="input">The input to limit to... | 3.55496 | b7b2cd56cf379f2c95b15410c1473926 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813141 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "bgrainger/runtime",
"max_stars_repo_path": "src/libraries/System.Text.Json/tests/System.Text.Json.SourceGeneration.Tests/TestClasses.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132361"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace System.Text.Json.SourceGeneration.Tests.RepeatedTypes
{
public class Location
{
pu... | 2.090836 | 0ded1f62b61b014aecad1024f9333699 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813142 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "samparkinson/CrowdSpark",
"max_stars_repo_path": "CrowdSpark.Models/AttachmentRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132362"
} | starcoder | <gh_stars>1-10
using System;
using CrowdSpark.Entitites;
using CrowdSpark.Common;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace CrowdSpark.Models
{
public class AttachmentRepository : IAttachmentRepository
{
private re... | 2.829022 | 8447455c3899d98aeac45ca1f9560040 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813143 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "anlun214/flashdevelop",
"max_stars_repo_path": "FlashDevelop/Dialogs/ShortcutDialog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132363"
} | starcoder | <filename>FlashDevelop/Dialogs/ShortcutDialog.cs
using System;
using System.Drawing;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using FlashDevelop.Managers;
using PluginCore.Controls;
using PluginCore.Helpers;
using PluginCore.Localization;
using PluginCore.Utilities;
us... | 1.840755 | ce1d1bd4d15ca7a3abdeaca83f08ea90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813144 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Judopay/Xamarin-Sample-App",
"max_stars_repo_path": "samples/Samples/SettingsPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132364"
} | starcoder | <filename>samples/Samples/SettingsPage.xaml.cs
using System.Collections.Generic;
using JudoDotNetXamarin;
using SampleApp.Helpers;
using Xamarin.Forms;
namespace SampleApp
{
public partial class SettingsPage : ContentPage
{
private List<string> _currencies = new List<string>
{
new ... | 2.490703 | ec44425f97074aa335c1e375fda7201d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813145 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "zzattack/ninhid",
"max_stars_repo_path": "MUNIA-win/MUNIA/Controllers/MuniaNgc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132365"
} | starcoder | using HidSharp;
using MUNIA.Util;
namespace MUNIA.Controllers {
public class MuniaNgc : MuniaController {
public MuniaNgc(HidDevice hidDevice) : base(hidDevice) {
_buttons.EnsureSize(12);
_axes.EnsureSize(6);
_hats.EnsureSize(1);
}
public override ControllerType Type => Controller... | 2.451706 | 985c77036a460b798ec3509076b83d64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813146 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "dotcpp/dotcpp",
"max_stars_repo_path": "cs/src/DotCpp.Test/System/EnumTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132366"
} | starcoder | /*
Copyright (C) 2003-present CompatibL
This file is part of .C++, a native C++ implementation of
popular .NET class library APIs developed to facilitate
code reuse between C# and C++.
http://github.com/dotcpp/dotcpp (source)
http://dotcpp.org (documentation)
Licensed under the Apache License, Version 2.0 (... | 2.237493 | 1d8591f6f5e1de061b3f12e3d05b0d7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813147 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Adrianvdh/Prepril-Remote",
"max_stars_repo_path": "PpRStandardLib/Classes/Renderers/Windows7Renderer/Windows7Renderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132367"
} | starcoder | <reponame>Adrianvdh/Prepril-Remote<filename>PpRStandardLib/Classes/Renderers/Windows7Renderer/Windows7Renderer.cs
// Windows 7 ToolStrip Renderer
//
// <NAME>
// http://at-my-window.blogspot.com/?page=windows7renderer
//
// Based on Office 2007 Renderer by <NAME>
// http://www.componentfactory.com
using Syst... | 1.880759 | ca69d7b4a662bf2c72aa0f119c2897da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813148 | {
"extension": "c-sharp",
"max_stars_count": "253.0",
"max_stars_repo_name": "samizzo/nshader",
"max_stars_repo_path": "NShaderVS/NShaderLanguageService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132368"
} | starcoder | #region Header Licence
// ---------------------------------------------------------------------
//
// Copyright (c) 2009 <NAME> and Microsoft Corporation.
// All rights reserved.
//
// This code module is part of NShader, a plugin for visual studio
// to provide syntax highlighting for shader languages ... | 2.047483 | 879a8afe284c17e32cd0bc61ebcc7bb5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813149 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "G-Research/dotnet-apiport",
"max_stars_repo_path": "src/lib/Microsoft.Fx.Portability/CompressedHttpClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132369"
} | starcoder | <reponame>G-Research/dotnet-apiport
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.AspNetCore.WebUtilities;
using Microsoft.Extensions.Primitives;
using Microsoft.Fx.Portability.ObjectModel;
using M... | 2.085469 | 18d5f8aa0a7d28117c29ebdd4810cae0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813150 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "DotNetAnalyzers/PropertyChangedAnalyzers",
"max_stars_repo_path": "PropertyChangedAnalyzers.Test/INPC015PropertyIsRecursive/Diagnostics.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132370"
} | starcoder | namespace PropertyChangedAnalyzers.Test.INPC015PropertyIsRecursive
{
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis.Diagnostics;
using NUnit.Framework;
public static class Diagnostics
{
private static readonly DiagnosticAnalyzer Analyzer = new PropertyDeclarationAnalyzer();
p... | 2.013726 | 2ab2c835e6e5389de4b5adef7a73abc6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813151 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "etuncay/kugim-genc-yazilimcilar-egitim-programi",
"max_stars_repo_path": "Proje/LMS.Models/Dto/KullaniciTokenDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132371"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LMS.Models.Dto
{
public class KullaniciTokenDTO
{
public int Id { get; set; }
public string Ad { get; set; }
public string Soyad { get; set; }
public string Eposta { get; ... | 1.457782 | 290108248af0b855d7c98bd88131dda9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813152 | {
"extension": "c-sharp",
"max_stars_count": "446.0",
"max_stars_repo_name": "aumcode/nfx",
"max_stars_repo_path": "Source/Testing/NUnit/NFX.NUnit/AppModel/Pile/PileTests2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132372"
} | starcoder | /*<FILE_LICENSE>
* NFX (.NET Framework Extension) Unistack Library
* Copyright 2003-2018 Agnicore Inc. portions ITAdapter Corp. Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... | 2.144523 | ecdf0ed3139115d595e83cb9350c173f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813153 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HorseSport-achobanov/endurance-judge",
"max_stars_repo_path": "src/Domain/Aggregates/Manager/Participants/ParticipantManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132373"
} | starcoder | <filename>src/Domain/Aggregates/Manager/Participants/ParticipantManager.cs<gh_stars>0
using EnduranceJudge.Domain.Aggregates.Manager.Performances;
using EnduranceJudge.Domain.Core.Models;
using EnduranceJudge.Domain.State.Competitions;
using EnduranceJudge.Domain.State.Participants;
using EnduranceJudge.Domain.State.P... | 2.278991 | 15bafcefbad574ac7a16529a0a61d604 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813154 | {
"extension": "c-sharp",
"max_stars_count": "609.0",
"max_stars_repo_name": "WrathZA/CacheCow",
"max_stars_repo_path": "samples/CacheCow.Samples.WebApi/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132374"
} | starcoder | <filename>samples/CacheCow.Samples.WebApi/Program.cs
using CacheCow.Client;
using CacheCow.Samples.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.SelfHost;
namesp... | 2.342959 | 7700f32338001cb9b1d3c6756df4dff2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813155 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TroydonAnabolic/TroydonFitness",
"max_stars_repo_path": "DockerVersion/TroydonFitnessWebsite/TroydonFitnessWebsite/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132375"
} | starcoder | <reponame>TroydonAnabolic/TroydonFitness<gh_stars>1-10
using TroydonFitnessWebsite.Data;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Configuration;
using System;
namespace TroydonF... | 2.371542 | 66dec0d5787f8fcf743eb7517d1c413b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813156 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "JimmyWuMadchester/Client4",
"max_stars_repo_path": "Mvc/src/IdSvrHost/UI/Logout/Views/LoggedOut.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:132376"
} | starcoder | <filename>Mvc/src/IdSvrHost/UI/Logout/Views/LoggedOut.cshtml
@model IdSvrHost.UI.Logout.LoggedOutViewModel
<div class="page-header">
<h1>
Logout
<small>You are now logged out</small>
</h1>
<div hide-if-null="Model.ReturnInfo">
Click <a href="@Model.ReturnInfo.Uri">here</a> to retu... | 1.985388 | 6386077d113595d1462829d1360fd140 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813157 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hchungmsft/azure-sdk-for-net",
"max_stars_repo_path": "src/ResourceManagement/Dns/Dns.Tests/Helpers/ResourceGroupHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132377"
} | starcoder | //
// Copyright (c) Microsoft. 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/licenses/LICENSE-2.0
//
// Unless required by applicable l... | 2.065023 | 5b194761584ac6e5092c4068cd7fbef5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813158 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gregsn/dx11-vvvv",
"max_stars_repo_path": "Nodes/VVVV.DX11.Nodes.Text/Nodes/DX11TextLayerNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132378"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FeralTic.DX11;
using VVVV.PluginInterfaces.V2;
using System.ComponentModel.Composition;
using SharpFontWrapper;
using VVVV.PluginInterfaces.V1;
namespace VVVV.DX11.Nodes.Text
{
[PluginInfo(Nam... | 1.841418 | d04c1d51fe13e27c5987f6f9e13a1c24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813159 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mirusser/Learning-dontNet",
"max_stars_repo_path": "src/UserManagementDemo/Views/UserRoles/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:132379"
} | starcoder | <filename>src/UserManagementDemo/Views/UserRoles/Index.cshtml
@using UserManagementDemo.Models
@model List<UserManagementDemo.Models.UserRolesViewModel>
@{
ViewData["Title"] = "Index";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h1>
User Roles
</h1>
<table class="table table-striped">
<thead>
... | 2.610513 | c8cc251b803445a3d5d3ec8200afbc16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813160 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TangqiFeng/Account-Book-Pro",
"max_stars_repo_path": "AccountBook/AccountBook/obj/x86/Debug/App.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132380"
} | starcoder | #pragma checksum "C:\APP\Account-Book-Pro\AccountBook\AccountBook\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "499AD96F075D4D5367C97212338927FA"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to thi... | 1.37215 | bfe787a111d463bedbf7929e88113897 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813161 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tobogganeer/VVNetworking",
"max_stars_repo_path": "Networking source/Interpolator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132381"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace VirtualVoid.Networking
{
public class Interpolator : MonoBehaviour
{
[Header("TO USE ON AN OBJECT: interpolatorReference.NewUpdate(TickLogic.instance.tick, _newPosition, _newRotation);")]
[SerializeField] ... | 2.423846 | 5de315fb1317c8257242b511b676f091 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813162 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kewang0068/TutorGetApp",
"max_stars_repo_path": "TutorGet/Models/Event.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132382"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | 2.252151 | 9498c2935231679ce59d93414ed1a758 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813163 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "svick/cli",
"max_stars_repo_path": "test/Microsoft.DotNet.MSBuildSdkResolver.Tests/GivenThatWeWantToParseSemanticVersions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132383"
} | starcoder | <filename>test/Microsoft.DotNet.MSBuildSdkResolver.Tests/GivenThatWeWantToParseSemanticVersions.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
using Microsoft.DotNet.MSBuildSdk... | 2.093585 | 70dacbc513a03f714a5b4363fbac7859 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813164 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "moriyahiroaki/Disqord",
"max_stars_repo_path": "src/Disqord.Core/Entities/Shared/Transient/Users/TransientCurrentUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132384"
} | starcoder | <gh_stars>1-10
using System.Globalization;
using Disqord.Models;
namespace Disqord
{
public class TransientCurrentUser : TransientUser, ICurrentUser
{
/// <inheritdoc/>
public virtual CultureInfo Locale => Discord.Internal.GetLocale(Model.Locale.GetValueOrDefault());
/// <in... | 1.919457 | ab20c16349e86de8aa8572f96d298f5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813165 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "r-koubou/KeySwitchManager",
"max_stars_repo_path": "KeySwitchManager/Sources/Runtime/Infrastructures/Storage.Spreadsheet.ClosedXml/KeySwitches/ClosedXmlFileLoadRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132385"
} | starcoder | <filename>KeySwitchManager/Sources/Runtime/Infrastructures/Storage.Spreadsheet.ClosedXml/KeySwitches/ClosedXmlFileLoadRepository.cs
using System.IO;
using KeySwitchManager.Commons.Data;
using KeySwitchManager.Infrastructures.Storage.KeySwitches;
using KeySwitchManager.Infrastructures.Storage.Spreadsheet.ClosedXml.KeyS... | 2.296307 | 5f92f7218d3591f6fae4bde5a4042700 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813166 | {
"extension": "c-sharp",
"max_stars_count": "324.0",
"max_stars_repo_name": "MrMonk3y/vimrc",
"max_stars_repo_path": "tabnine-vim/third_party/ycmd/third_party/OmniSharpServer/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/Analysis/DeclarationSpace/LocalDeclarationSpaceVisitorTests.cs",
"provenance": "train-0... | starcoder | //
// LocalVariableLocalDeclarationSpaceVisitor.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2013 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restri... | 2.272834 | 02ae2141fc09da29097d7735d5167115 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813167 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mukai1011/PokemonXDImageLibrary",
"max_stars_repo_path": "MatExtension.Tests/UnitTest1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132387"
} | starcoder | using Xunit;
namespace MatExtension.Tests;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using OpenCvSharp;
using PokemonXDImageLibrary;
public class MatExtension_Tests
{
static readonly string TestImageRoot = @"D:\Documents\PokemonXDImageLibrary\MatExtension.Tests\img\";
... | 2.310896 | 6083eb199104a88e958373f649a18fb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813168 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jonguk-skoopmedia/Firebase4SharpHelper",
"max_stars_repo_path": "FireBase/Models/ObserveEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132388"
} | starcoder | using System;
namespace FirebaseSharp.Firebase.Models
{
public class ObserveEventArgs : EventArgs
{
public ObserveEventArgs(string result, string path)
{
LowData = result;
Path = path;
}
public string LowData { get; private set; }
public string ... | 2.22885 | 89722cf0b2b60abb6f1c04b2d7fc737e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813169 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "fredericaltorres/TextHighlighterExtension",
"max_stars_repo_path": "TextHighlighterExtension2012/Guids.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132389"
} | starcoder | <gh_stars>1-10
// Guids.cs
// MUST match guids.h
using System;
namespace FredericTorres.TextHighlighterPackage
{
static class GuidList
{
public const string guidTextHighlighterPackagePkgString = "d0a6e040-9636-4b7e-a5c6-5a53591d293a";
public const string guidTextHighlighterPackageCmdSetString ... | 1.650839 | 3688308fa2841a0b6d0a84a70a60e090 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813170 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "concrest/diadophis",
"max_stars_repo_path": "src/Diadophis/MessageDelegate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132390"
} | starcoder | <reponame>concrest/diadophis<gh_stars>0
// Copyright 2018 Concrest
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
namespace Diadophis
{
public delegate Task MessageDelegate(MessageContext context);
} | 1.367585 | a91d7db458f50827ef807242bc4a3b58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813171 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "randomouscrap98/MyExtensions",
"max_stars_repo_path": "MyExtensions/HillGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132391"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;
using System.Drawing;
using MyExtensions;
namespace MyExtensions
{
public class HillGenerator
{
public static float[,] Generate(HillGeneratorOptions options)
{
int width = options[HillGeneratorOp... | 2.899745 | 2cd6404845a92591fa2d69ccd01ae619 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813172 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SannaNaTu/object-orientated-programming",
"max_stars_repo_path": "object method/TaskEmployee/Employee.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132392"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace TaskEmployee
{
class Employee
{
//Fields
public string Name;
public int Id;
public string Position;
public double Salary;
//Constuctor =muodostin
public Employee(string name, ... | 3.543947 | 4019ae182a6565b80a7e91ff55bf4cbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813173 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "codacy-badger/jdi-light-csharp",
"max_stars_repo_path": "JDI.Light/JDI.Light/Elements/Init/EntitiesCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132393"
} | starcoder | <reponame>codacy-badger/jdi-light-csharp<filename>JDI.Light/JDI.Light/Elements/Init/EntitiesCollection.cs
using JDI.Light.Elements.Base;
using JDI.Light.Exceptions;
using JDI.Light.Interfaces.Base;
using JDI.Light.Interfaces.Composite;
using JDI.Light.Elements.Composite;
using System;
using System.Collections.Generic;... | 2.569511 | 595a20cb5cb88e42e17b5bcd7c4909cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813174 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rohitrtk/TheGame",
"max_stars_repo_path": "Game/Assets/Scripts/Enemy/AbstractEnemy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132394"
} | starcoder | <filename>Game/Assets/Scripts/Enemy/AbstractEnemy.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
/// <summary>
/// Abstract class for enemies
/// </summary>
public abstract class AbstractEnemy : MonoBehaviour
{
protected NavMeshAgent _navMeshAgent;
[Se... | 2.433086 | d0df77ee0cdf1e8ac18e53f2dbc94d6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813175 | {
"extension": "c-sharp",
"max_stars_count": "111.0",
"max_stars_repo_name": "srayancha/Essentials",
"max_stars_repo_path": "essentials-framework/Essentials/PepperDashEssentials/UIDrivers/DualDisplayRouting REMOVE.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132395"
} | starcoder | //using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using Crestron.SimplSharp;
//using Crestron.SimplSharpPro;
//using Crestron.SimplSharpPro.DeviceSupport;
//using PepperDash.Core;
//using PepperDash.Essentials.Core;
//using PepperDash.Essentials.Core.SmartObjects;
//using ... | 1.907231 | 24c064d7f70cd2f728b70d9928b889be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813176 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ribex/CSharpBasics",
"max_stars_repo_path": "SummarizingText/SummarizingText/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132396"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SummarizingText
{
class Program
{
static void Main(string[] args)
{
var sentence = "This is going to be a really really really really really long text.";
... | 3.103431 | bab27d00f7631efc4f669636584beb43 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813177 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gustavogmoraes/Mega.AsterNet.Server",
"max_stars_repo_path": "Asterisk.2013/Asterisk.NET/Manager/Event/AbstractQueueMemberEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132397"
} | starcoder | namespace AsterNET.Manager.Event
{
/// <summary>
/// Abstract base class for several queue member related events.
/// </summary>
public abstract class AbstractQueueMemberEvent : ManagerEvent
{
/// <summary>
/// AbstractQueueMemberEvent contructor
/// </summary>
//... | 2.482972 | 03b9318c661619b0bdfeeb7f6609b240 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813178 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rherlt/SimpleUniversalWebserver",
"max_stars_repo_path": "src/SimpleUniversalWebserver/SimpleUniversalWebserver/MessageHandler/BaseMessageHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132398"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Reflection.Metadata;
using System.Text;
using System.Threading.Tasks;
namespace SimpleUniversalWebserver.MessageHandler
{
public abstract class BaseMessageHandler : IMessageHandler
{
public abstract ... | 1.900724 | 2c6616697ab8cfce59e2eb2f42e5d63c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813179 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Airkek/Chikatto",
"max_stars_repo_path": "Chikatto/Events/Types/LobbyJoin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132399"
} | starcoder | <reponame>Airkek/Chikatto
using System;
using System.Threading.Tasks;
using Chikatto.Bancho;
using Chikatto.Bancho.Enums;
using Chikatto.Objects;
using Chikatto.Utils;
namespace Chikatto.Events.Types
{
public class LobbyJoin
{
[Event(PacketType.OsuJoinLobby, false)]
public static async Task Ha... | 2.050372 | fb66f4cc5e4bfc2645017623a2e4bc16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813180 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mah-qurashy/Notepads",
"max_stars_repo_path": "src/Notepads/Utilities/ThreadUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132400"
} | starcoder | namespace Notepads.Utilities
{
using System;
using System.Threading.Tasks;
using Windows.UI.Core;
internal static class ThreadUtility
{
public static bool IsOnUIThread()
{
CoreWindow coreWindow = CoreWindow.GetForCurrentThread();
return coreWindow != null &&... | 2.378853 | 727e7f47aaf941bc73d7ade82c202ef0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813181 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "miloszkulesza/XWeather",
"max_stars_repo_path": "XWeather/XWeather/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132401"
} | starcoder | <gh_stars>0
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using XWeather.Models;
using XWeather.Services;
using XWeather.Views;
namespace XWeather
{
public partial class App : Application
{
public IDataStore<City>... | 2.291888 | cbae9243d0f9c64d56d9affe1be1bb99 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813182 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ralarcon/vue-poc",
"max_stars_repo_path": "hello-world-net5/Pages/Index.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132402"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace hello_world_net5.Pages
{
public ... | 2.51434 | 8d5138359366af947475e106ff61bb18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813183 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "Veraatversus/AnnoSavegameViewer",
"max_stars_repo_path": "src/ClassCreator/Serialization/TreeNode/TreeNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132403"
} | starcoder | <filename>src/ClassCreator/Serialization/TreeNode/TreeNode.cs
// Copyright © 2020 Vera@Versus. All rights reserved. Licensed under the MIT License.
namespace ClassCreator.Serialization.Tree {
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System... | 2.425026 | 9c0a5afe8c9627ad4b74434e9c1a6c8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813184 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jenso666/CHN-Tool",
"max_stars_repo_path": "CHN_Tool/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132404"
} | starcoder | <filename>CHN_Tool/Form1.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using ChemSharp.Extensions;
using ChemSharp.Molecules.ElementalAnalysis;
using ChemSharp.Molecules.Extensions;
namespace CHN_Tool;
publi... | 2.636476 | fefcf91ff105b86e33519a86d54c68d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813185 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Wrennsun/SpaceEngineers",
"max_stars_repo_path": "Sources/VRage.Render/SecondaryCamera/MySecondaryCameraRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132405"
} | starcoder | using System;
using VRageMath;
using VRageRender.Effects;
using VRageRender.Shadows;
namespace VRageRender
{
/// <summary>
/// Singleton class for rendering game to texture, for things such as missile camera, drone camera, rear mirror.
/// </summary>
internal class MySecondaryCameraRenderer
{
... | 1.799087 | 88b0a721bca77f11623bdcd057d6e4c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813186 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Shyam-Gupta/testfxOld",
"max_stars_repo_path": "src/Adapter/PlatformServices.Shared/netstandard1.0/Services/ns10FileOperations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132406"
} | starcoder | <gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices
{
using System;
using System.IO;
using System.Reflectio... | 2.239254 | ee6dc4a823fa156fad58c15334ec3f06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813187 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sugaE/unity-procedural-terrain-generation",
"max_stars_repo_path": "Assets/Scripts/MapGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132407"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using UnityEngine;
public class MapGenerator : MonoBehaviour {
public enum DrawMode { Mesh, NoiseMap, ColorMap, FalloffMap }
public DrawMode drawMode;
public const int mapChuckSize = 241 - 2;//240 can be divided by 1,2,4,6,8,10,12
... | 2.162759 | 24a2efeb7db805552af2b3c70c036b26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813188 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeffscm/mvcrx",
"max_stars_repo_path": "MVCRX/MVCC Base/Core/Base/Init/MVCCStart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132408"
} | starcoder | /*
<NAME>
https://www.jscomacao.com
GitHub - Source Code
Project: MVCC 3.0 (MVCRX)
Unity3D MVC Framework for Unity2019 and higher
Based on Previous work available here:
- https://github.com/jeffscm/mvcrx
- https://github.com/jeffscm/mvcc2
- https://github.com/jeffscm/mvccunity
Copyright (c) 2015 <NAME>
Permissi... | 1.863184 | 3513a7f4f31233497a4886272ae2fb48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813189 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lbearl/BlockListChecker",
"max_stars_repo_path": "Core/Models/ThirdParty/Mailgun/Bounce.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132409"
} | starcoder | using System;
namespace Core.Models.ThirdParty.Mailgun
{
public class Bounce
{
public string Address { get; set; }
public string Code { get; set; }
public string Error { get; set; }
public string CreatedAt { get; set; }
}
}
| 1.492566 | 466fe27d93889d62c2bcfc9b5271b7c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813190 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abharath27/azure-libraries-for-net",
"max_stars_repo_path": "src/ResourceManagement/Network/IPVersion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132410"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.Management.ResourceManager.Fluent.Core;
namespace Microsoft.Azure.Management.Network.Fluent.Models
{
/// <summary>
/// Defines val... | 1.799192 | 7cba14de7ebbe660dd56d6dbdb97b423 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813191 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ninorodriguez/Firebase",
"max_stars_repo_path": "NativoPlusStudio.SharedConfiguration/ServiceCollectionExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132411"
} | starcoder | <reponame>ninorodriguez/Firebase
using FireSharp;
using FireSharp.Config;
using FireSharp.Interfaces;
using MediatR;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
using Serilog;
using System;
using System... | 1.992005 | eceeeae774bbcf68c1d1674c5712b479 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813192 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sanva/f-spot",
"max_stars_repo_path": "src/Clients/MainApp/FSpot.Editors/RedEyeEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132412"
} | starcoder | //
// RedEyeEditor.cs
//
// Author:
// <NAME> <<EMAIL>>
// <NAME> <<EMAIL>>
//
// Copyright (C) 2008-2009 Novell, Inc.
// Copyright (C) 2008 <NAME>
// Copyright (C) 2009 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (... | 1.723041 | 4c0f6d470e1f55196397c9bd925e3a7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813193 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amironov73/ManagedIrbis2",
"max_stars_repo_path": "Source/Libs/AM.Core/AM/Runtime/RuntimeUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132413"
} | starcoder | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/* RuntimeUtility.cs -- some useful methods for runtime
* Ars Magna project, http://arsmagna.ru
* -------------------------------------------------------
*... | 2.28451 | 944a9ae8aa3db4bf803596bc994dc374 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813194 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "duff92/brochar",
"max_stars_repo_path": "Assets/Scripts/ParticleSystemCtrl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132414"
} | starcoder | <reponame>duff92/brochar
using UnityEngine;
using System.Collections;
using Vuforia;
public class ParticleSystemCtrl : MonoBehaviour {
private bool playing = false;
public ImageTargetBehaviour trigger;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (... | 1.789124 | b0498fee0702ac80dd5c02ca5f0a5397 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813195 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tinohager/NmeaParser",
"max_stars_repo_path": "src/NmeaParser/Nmea/Rte.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132415"
} | starcoder | // *******************************************************************************
// * Licensed under the Apache License, Version 2.0 (the "License");
// * you may not use this file except in compliance with the License.
// * You may obtain a copy of the License at
// *
// * http://www.apache.org/licenses/L... | 2.5493 | 5cff30739ca3acdd8ab8abd0b4015c0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813196 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Armando-GarzaTech/StackBot",
"max_stars_repo_path": "GarzaTech.Core/Queries/GitResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132416"
} | starcoder | <reponame>Armando-GarzaTech/StackBot<filename>GarzaTech.Core/Queries/GitResponse.cs<gh_stars>0
namespace GarzaTech.Core.Queries
{
public class GitResponse
{
public int total_count { get; set; }
public bool incomplete_results { get; set; }
public GitItem[] items { get; set; }
}
... | 2.059558 | 5d8e846392057e37544cb941088c7e96 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813197 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "NathanielACollier/dotnetCoreAvaloniaNCForms",
"max_stars_repo_path": "nac.Forms/Form.FileSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132417"
} | starcoder | using System;
namespace nac.Forms
{
public partial class Form
{
public class FilePathFor_Functions
{
public Action<string> updateFileName { get; set; }
}
public Form FilePathFor(string fieldName,
string fileFilter = null,
string ini... | 2.381512 | 3c9b605a76fbe1af0ec3fabacc81593a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813198 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aequabit/csv-inventory-storage",
"max_stars_repo_path": "csv-inventory-storage/Gui/Controls/IControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132418"
} | starcoder | namespace CSVInventoryStorage.Gui.Controls
{
public interface IControl
{
string Render();
}
}
| 1.330352 | 7b63f2828067f9cb95711c48bbeecdf1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813199 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nixxis/ncs-client",
"max_stars_repo_path": "CrCustomControl/NetControls/PictureBoxButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132419"
} | starcoder | using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
namespace Nixxis.Windows.Controls
{
public partial class PictureBoxButton : PictureBox
{
#region Class data
private bool _F... | 2.412986 | 4ee60f6ed4866281523ceca2dc38bc33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813200 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Luxoft/BSSFramework",
"max_stars_repo_path": "src/_DomainDriven/Framework.DomainDriven.Generation/RendererExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132420"
} | starcoder | using System;
using Framework.Core;
using JetBrains.Annotations;
namespace Framework.DomainDriven.Generation
{
public static class RendererExtensions
{
public static TResult Render<TSource, TResult>([NotNull] this IRenderer<TSource, TResult> renderer, [NotNull] IRenderingFile<TSource> rend... | 2.058267 | 43a9c617052018cc275c54b79ff95244 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813201 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "affecto/dotnet-AuditTrailService",
"max_stars_repo_path": "AuditTrail.Domain/Events/AuditTrailEntryCreatedEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132421"
} | starcoder | <filename>AuditTrail.Domain/Events/AuditTrailEntryCreatedEvent.cs
using System;
using Affecto.Patterns.Domain;
namespace Affecto.AuditTrail.Domain.Events
{
public class AuditTrailEntryCreatedEvent : DomainEvent
{
public Guid SubjectId { get; private set; }
public Guid? UserId { get; private se... | 2.58159 | 8858a6f4512b064774490e26ae39b2b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813202 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikitabessarab/Biotime",
"max_stars_repo_path": "Biotime2/BiotimeWebApi/App_Start/WebApiConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132422"
} | starcoder | <gh_stars>0
using Newtonsoft.Json.Serialization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http.Headers;
using System.Web;
using System.Web.Http;
namespace BiotimeWebApi.App_Start
{
public class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
... | 1.976917 | 4c7e6629984a42a3658f89fa359a62ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813203 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ahsteele/ahsteele-ysod",
"max_stars_repo_path": "App/StackExchange.DataExplorer/Controllers/UserController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132423"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using StackExchange.DataExplorer.Helpers;
using StackExchange.DataExplorer.ViewModel;
using StackExchange.DataExplorer.Models;
namespace StackExchange.DataExplorer.Controllers {
public class User... | 2.172287 | f070bd5ca458915dbae503d095f4cd38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813204 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TortugaResearch/Chain",
"max_stars_repo_path": "Tortuga.Chain/Tortuga.Chain.Core/Appenders/KeyJoinAppender`2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132424"
} | starcoder | <reponame>TortugaResearch/Chain
using System.Diagnostics.CodeAnalysis;
using Tortuga.Anchor.Metadata;
namespace Tortuga.Chain.Appenders
{
internal sealed class KeyJoinAppender<T1, T2, TKey> : Appender<Tuple<List<T1>, List<T2>>, List<T1>>
where TKey : notnull
{
readonly Func<T2, TKey> m_ForeignKeyExpression;
r... | 2.138075 | 57b5e6351b2d45795739dfef7f1bb7f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813205 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uoy-research/DED",
"max_stars_repo_path": "SecondLife/SL-Client/SL-Client/Commands/Movement/TurnTowardsCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132425"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using libsecondlife;
using libsecondlife.Packets;
namespace libsecondlife.TestClient
{
public class TurnTowardsCommand : Command
{
public TurnTowardsCommand(TestClient testClient)
{
Name = "turnTowards";
... | 2.7038 | 2ee465dc09c090fceb8dfa53c47526f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813206 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wainwrightmark/EvilWords",
"max_stars_repo_path": "EvilWords/GameHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132426"
} | starcoder | using System.Collections.Concurrent;
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.Extensions.Logging;
namespace EvilWords;
public static class GameHelper
{
public static char ToChar(this ResultColor resultColor)
{
return resultColor switch
{
Result... | 2.903094 | f19cf15f88712546a8b9425e2c91cbba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813207 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "paulohauck/Cake.JMeter",
"max_stars_repo_path": "build.cake",
"provenance": "train-00027-of-00045.jsonl.gz:132427"
} | starcoder | <reponame>paulohauck/Cake.JMeter
#tool "nuget:?package=xunit.runner.console&version=2.1.0"
#tool "nuget:?package=GitVersion.CommandLine&version=3.6.5"
#tool "nuget:?package=OpenCover&version=4.6.519"
#tool "nuget:?package=coveralls.io&version=1.3.4"
#addin "nuget:?package=Cake.Coveralls&version=0.7.0"
var target = Arg... | 1.954296 | a61e9a5a26a1e550fd05814b0c0177e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813208 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iloverem/Midori",
"max_stars_repo_path": "src/Rem/Modules/Fun/RemRandomAnimals.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132428"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Discord.Commands;
using System.Net;
using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Rem.Common;
namespace Rem.Modules.Fun
{
[Name("Fun")]
public class RemRandomAnimals : ModuleBase
... | 2.825445 | 7ec9fa01d31bab282ce8052ae3e940f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813209 | {
"extension": "c-sharp",
"max_stars_count": "356.0",
"max_stars_repo_name": "omer-koren/dropbox-sdk-dotnet",
"max_stars_repo_path": "dropbox-sdk-dotnet/Dropbox.Api/Generated/Files/WriteMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132429"
} | starcoder | <reponame>omer-koren/dropbox-sdk-dotnet
// <auto-generated>
// Auto-generated by StoneAPI, do not modify.
// </auto-generated>
namespace Dropbox.Api.Files
{
using sys = System;
using col = System.Collections.Generic;
using re = System.Text.RegularExpressions;
using enc = Dropbox.Api.Stone;
/// <s... | 2.71498 | b6ca6705899db4656813343c8f879d0a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813210 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "Biztactix/WindowsMonitor",
"max_stars_repo_path": "WindowsMonitor.Standard/Software/Process.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132430"
} | starcoder | using System;
using System.Collections.Generic;
using System.Management;
namespace WindowsMonitor.Software
{
/// <summary>
/// </summary>
public sealed class Process
{
public string Caption { get; private set; }
public string CommandLine { get; private set; }
public string CreationClassName { get... | 2.308676 | a781316ffcdfaa35ddedd04480fd8104 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813211 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1909-sep30-net/sam-project0",
"max_stars_repo_path": "GStoreApp/GStoreApp.Library2/OrderOverView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132431"
} | starcoder | using System;
using System.Collections.Generic;
namespace GStoreApp.Library
{
public class OrderOverView
{
public int OrderId { get; set; }
public int CustomerId { get; set; }
public int StoreId { get; set; }
public DateTime OrderDate { get; set; }
public decimal TotalP... | 1.849195 | 747f6ee361de214bf2492667a94b8e95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813212 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "vip32/Naos.Core",
"max_stars_repo_path": "src/Foundation.Extensions/Chunk.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132432"
} | starcoder | <gh_stars>1-10
namespace Naos.Foundation
{
using System.Collections.Generic;
using System.Linq;
public static partial class Extensions
{
/// <summary>
/// Split sequence in batches of specified size.
/// </summary>
/// <typeparam name="T">Element type.</typeparam>
... | 3.070134 | 7ee5445c8e9ae41584ff9c47ff005f9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813213 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "proazr/azure-powershell",
"max_stars_repo_path": "src/DesktopVirtualization/generated/api/Models/Api20210201Preview/ScalingPlanPatchProperties.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132433"
} | starcoder | namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20210201Preview
{
using static Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.Extensions;
/// <summary>Scaling plan properties.</summary>
public partial class ScalingPlanPatchProperties :
Microsoft.... | 1.603409 | 808350a4d572bffa42152df51a745e29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813214 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iSkLz/Swapper2",
"max_stars_repo_path": "Code/Gameplay/EditTile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132434"
} | starcoder | <reponame>iSkLz/Swapper2
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using SwapperV2.World;
using SwapperV2.Scenes;
using SwapperV2.Content;
namespace SwapperV2.Gameplay
{
public class EditTile : Entity
{
public Map.Tile Tile;
public Tile Entity;
pu... | 1.874553 | a149c1a50a5cbb6a9834cf5b0a277f99 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813215 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "vilinski/Moon.OData",
"max_stars_repo_path": "src/Moon.OData/Validators/TopQueryValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132435"
} | starcoder | namespace Moon.OData.Validators
{
/// <summary>
/// Represents a validator used to validate a $top query option value.
/// </summary>
public class TopQueryValidator
{
/// <summary>
/// Validates the parsed $top query option.
/// </summary>
/// <param name="top">The p... | 2.881572 | 6c280e2a08647db3ec12442691f049b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813216 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SimonCropp/Verify.AspNetCore",
"max_stars_repo_path": "src/Verify.AspNetCore/Converters/OkObjectResultConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132436"
} | starcoder | <reponame>SimonCropp/Verify.AspNetCore
using Microsoft.AspNetCore.Mvc;
class OkObjectResultConverter :
ResultConverter<OkObjectResult>
{
protected override void InnerWrite(VerifyJsonWriter writer, OkObjectResult result) =>
ObjectResultConverter.WriteObjectResult(writer, result);
} | 1.605536 | fa76624123f92c66495fe1caeea4746e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813217 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "bojanrajkovic/Ward",
"max_stars_repo_path": "src/Ward.Dns/Utils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132437"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure;
using static System.Buffers.Binary.BinaryPrimitives;
namespace Ward.Dns
{
... | 2.547254 | 93c19f325768e8a8f5ec9ab1c7137003 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.