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 | 8833012 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "thygesteffensen/PowerAutomateMockUp",
"max_stars_repo_path": "PowerAutomateMockUp/ExpressionParser/Functions/Implementations/StringFunctions/ConcatFunction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152232"
} | starcoder | <gh_stars>1-10
using System.Linq;
using Parser.ExpressionParser.Functions.Base;
using Parser.ExpressionParser.Functions.CustomException;
namespace Parser.ExpressionParser.Functions.Implementations.StringFunctions
{
public class ConcatFunction : Function
{
public ConcatFunction() : base("concat")
... | 2.4466 | edaa4396dcd5a6d7e35fa278e978762b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833013 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "wrsxinlang/MiCake",
"max_stars_repo_path": "src/framework/MiCake.AspNetCore/DataWrapper/ConfigWrapperPropertyDelegate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152233"
} | starcoder | namespace MiCake.AspNetCore.DataWrapper
{
/// <summary>
/// This delegation is used to configure custom return data property.
/// You can get some info from <see cref="DataWrapperContext"/>,and return need show info.
/// <para>
/// example: s => "MiCake";
/// </para>
/// </summary>
... | 2.542386 | 2cfa3c4dba7d1ffd78964f6cc74321cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833014 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "Stefangansevles/RemindMe",
"max_stars_repo_path": "RemindMe/User controls/Old user controls/UCReminderItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152234"
} | starcoder | <filename>RemindMe/User controls/Old user controls/UCReminderItem.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Database.Entity;
using Busines... | 2.407371 | 22fd21551d095def0138acda44eae8cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833015 | {
"extension": "c-sharp",
"max_stars_count": "130.0",
"max_stars_repo_name": "xamarin/binding-tools-for-swift",
"max_stars_repo_path": "SwiftReflector/CompilationTarget.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152235"
} | starcoder | <reponame>xamarin/binding-tools-for-swift<gh_stars>100-1000
using System;
namespace SwiftReflector {
public class CompilationTarget {
public CompilationTarget (PlatformName os, TargetCpu cpu, TargetEnvironment environment,
Version minimumOSVersion, TargetManufacturer manufacturer = TargetManufacturer.Apple)
{
... | 2.55243 | 2807847e8de5f8452a4a4f24f3c4589f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833016 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "Seekatar/guflow",
"max_stars_repo_path": "Guflow.Tests/Decider/CompleteWorkflowDecisionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152236"
} | starcoder | // Copyright (c) <NAME>. Please see the LICENSE file in the project root for license information.
using Amazon.SimpleWorkflow;
using Amazon.SimpleWorkflow.Model;
using Guflow.Decider;
using NUnit.Framework;
namespace Guflow.Tests.Decider
{
[TestFixture]
public class CompleteWorkflowDecisionTests
{
... | 2.28296 | a71480915544b4c841372dffab1ec7ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833017 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iirachek/BatToExe",
"max_stars_repo_path": "BatToExe/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152237"
} | starcoder | using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace SoftwareByDefault.OpenSource.BatToExe
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
... | 2.845518 | f88064793a6a8e098d0500d0197484ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833018 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sr-Coelho/Cansado",
"max_stars_repo_path": "Cansado/ViewModel/VMdeAulas.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152238"
} | starcoder | using Cansado.Model;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using Xamarin.Forms;
namespace Cansado.ViewModel
{
public class VMdeAulas : BindableObject
{
public VMdeAulas()
{
}
}
}
| 0.986179 | 3474c69874e053c591f3ec131ba8006a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833019 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MobiliyaTechnologies/MobileApplication",
"max_stars_repo_path": "EM_PORTABLE/EM_PORTABLE/EM_PORTABLE/Models/UserDetails.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152239"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EM_PORTABLE.Models
{
public class UserDetails
{
public int Status_Code;
public string Message;
public string FirstName;
public string LastName;
... | 1.756795 | 2f6ee16d6970c000ca310b63bb39f4bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833020 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "criedel/UIForia",
"max_stars_repo_path": "Packages/UIForia/Src/Systems/Alignment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152240"
} | starcoder | <reponame>criedel/UIForia
namespace UIForia.Layout {
public enum AlignmentDirection {
Start = 0,
End = 1
}
public enum AlignmentTarget {
Unset = 0,
LayoutBox,
Parent,
ParentContentArea,
Template,
TemplateContentArea,
View,
... | 1.510107 | 3247cad9e47d4853c3ed84033a4419af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833021 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "logicappsio/AzureResourceManager",
"max_stars_repo_path": "BasicARMWebAPI/Filters/CloudExceptionFilterAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152241"
} | starcoder | <gh_stars>1-10
using Hyak.Common;
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web.Http.Filters;
namespace BasicARMWebAPI.Filters
... | 2.215226 | ca98f26daafd72f6bfc7255891fa1b48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833022 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "evencart/plugins",
"max_stars_repo_path": "Payments.CashOnDelivery/CashOnDeliveryConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152242"
} | starcoder | <reponame>evencart/plugins<gh_stars>1-10
namespace Payments.CashOnDelivery
{
public static class CashOnDeliveryConfig
{
public const string PaymentHandlerComponentRouteName = "CashOnDeliveryPaymentHandler";
public const string CashOnDeliverySettingsRouteName = "CashOnDeliverySettings";
}
} | 0.967622 | 912ef9ada2e1400d6087c4d9b697add5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833023 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IntersectTechnologies/portfolio_optimization",
"max_stars_repo_path": "DataSciLib/DataStructures/TimeSeries/MultiTimeSeriesFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152243"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace DataSciLib.DataStructures
{
public class MultiTimeSeriesFactory<T>
{
/*
public static IMultiTimeSeries<T> Create(T[,] data, string[] datevector, string[] names)
{
... | 3.014968 | 1837be23b15d1348fc1d859c00e34f8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833024 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "et1975/FsShelter",
"max_stars_repo_path": "ext/StormThrift/StormThrift/LSTopoHistoryList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152244"
} | starcoder | <reponame>et1975/FsShelter<gh_stars>10-100
/**
* Autogenerated by Thrift Compiler (0.9.1)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Thrift;
using Thrift.Co... | 1.956207 | 430454f46f91d73bb3f2d07572cba27b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833025 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "gissehel/Wox-WebApp",
"max_stars_repo_path": "Wox.WebApp.Test/WebAppItemRepositoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152245"
} | starcoder | <reponame>gissehel/Wox-WebApp
using FluentDataAccess.Core.Service;
using FluentDataAccess.Service;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Wox.WebApp.Core.Service;
using Wox.WebApp.DomainModel;
using Wox.WebApp.Mock.Servic... | 2.120514 | 84b86d48f0809e0d7848753454c120a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833026 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nv-ksavaria/Uno",
"max_stars_repo_path": "src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml/DragUIOverride.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152246"
} | starcoder | #pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Xaml
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
[global::Uno.NotImplemented]
#endif
public partial class DragUIOverride
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
[global::Un... | 1.812141 | 29fddc326e6631ceb26e7baefe1d7b27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833027 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "weichch/system-text-json-jsondiffpatch",
"max_stars_repo_path": "test/SystemTextJson.JsonDiffPatch.Benchmark/DeepCloneJsonFileBenchmark.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152247"
} | starcoder | using System.Text.Json.JsonDiffPatch;
using System.Text.Json.Nodes;
using BenchmarkDotNet.Attributes;
using Newtonsoft.Json.Linq;
namespace SystemTextJson.JsonDiffPatch.Benchmark
{
public class DeepCloneJsonFileBenchmark : JsonFileBenchmark
{
[Benchmark]
public JsonNode SystemTextJson()
... | 1.969884 | 25e9b9c5ed4c517b76e18aeba9c4a57c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833028 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iFaxity/FaxLib",
"max_stars_repo_path": "FaxLib/Classes/Input.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152248"
} | starcoder | <filename>FaxLib/Classes/Input.cs
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Windows.Input;
using System.Windows.Interop;
using System.Windows.Forms;
using System.Linq;
namespace FaxLib.Input {
[System.Diagnostics.DebuggerStepThrough]
public cla... | 2.715298 | f1f01424614355c72b7ba2be879e1e49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833029 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "joinrpg/joinrpg-ne",
"max_stars_repo_path": "src/JoinRpg.WebPortal.Models/Accommodation/RoomTypeRoomsListViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152249"
} | starcoder | <gh_stars>10-100
using System.Collections.Generic;
namespace JoinRpg.Web.Models.Accommodation
{
/// <summary>
/// View model for list of rooms of a room type
/// </summary>
public class RoomTypeRoomsListViewModel
{
public RoomTypeRoomsListViewModel(RoomTypeViewModel roomType)
{
... | 2.210149 | 0041500ef25e1a994a1a9ff4f9cc5802 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833030 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "stonysong/EFCoreExtend",
"max_stars_repo_path": "src/EFCoreExtend/Sql/SqlConfig/Policies/Default/SqlSectionPolicy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152250"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
namespace EFCoreExtend.Sql.SqlConfig.Policies.Default
{
/// <summary>
/// 分部sql策略
/// </summary>
[SqlConfi... | 2.276905 | cabaa28e28d80a662b2ae88bd7aaa2c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833031 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ehsan-maleki/EmzApiClient",
"max_stars_repo_path": "EmzApiClient.UsageSample/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152251"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using EMZAM.DevTools.EmzApiClient;
using EMZAM.DevTools.EmzApiClient.UsageSample.ViewModels;
namespace EmzApiClient.UsageSample
{
class Program
{
const string baseUri = "http://localhost:56942/movies";
static void M... | 2.938471 | 1309c0fb396eb2ad7018a77c744ab092 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833032 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jimidark/pro-aspnet-mvc-5-fifth-edition",
"max_stars_repo_path": "ControllerExtensibility/ControllerExtensibility/Controllers/FastController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152252"
} | starcoder | using ControllerExtensibility.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.SessionState;
namespace ControllerExtensibility.Controllers
{
[SessionState(SessionStateBehavior.Disabled)]
public class FastController : Controller... | 2.039325 | c8dfa92c350953975d48b84cfa5408bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833033 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zraees/sms-project",
"max_stars_repo_path": "SMSServices/SMSServices/Controllers/ClassesSectionsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152253"
} | starcoder | using SMSServices.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Data.Entity.Validation;
using System.Data.SqlClient;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Web.Http;
using WebA... | 2.323916 | ff679842ab1e7f7bc3a62478f1efb25b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833034 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "amir-abdi/OrthoAid",
"max_stars_repo_path": "src/Main/MainForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152254"
} | starcoder | <reponame>amir-abdi/OrthoAid
using System.IO;
namespace OrthoAid
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being us... | 1.828516 | ae1fa31745bc5785b50c9ca5077399e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833035 | {
"extension": "c-sharp",
"max_stars_count": "793.0",
"max_stars_repo_name": "akrisiun/Mvc5",
"max_stars_repo_path": "src/System.Web.Razor/Editor/EditResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152255"
} | 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.Web.Razor.Parser.SyntaxTree;
namespace System.Web.Razor.Editor
{
public class EditResult
{
public EditResult(PartialParse... | 1.394341 | 27c698d6684bf1781a2416f105ab2056 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833036 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "liranc/corefx",
"max_stars_repo_path": "src/System.Text.Json/tests/Utf8JsonWriterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152256"
} | starcoder | <filename>src/System.Text.Json/tests/Utf8JsonWriterTests.cs<gh_stars>1-10
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
using System.IO;
using Newton... | 2.311409 | bb8f00b93e061314a52dec5cc92c0c84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833037 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "zjkl19/AutoRegularInspection",
"max_stars_repo_path": "AutoRegularInspection/Repository/ExcelDataRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152257"
} | starcoder | using AutoRegularInspection.IRepository;
using AutoRegularInspection.Models;
using AutoRegularInspection.Services;
using OfficeOpenXml;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutoRegular... | 2.565414 | e8251534a7acba7b272b94b9ea21cd07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833038 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mcertuzun/UnithonCase",
"max_stars_repo_path": "Assets/Scripts/Game/Levels/LevelData_4.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152258"
} | starcoder | using Game.Core.BoardBase;
using Game.Core.Enums;
using Game.Core.LevelBase;
namespace Game.Levels
{
public class LevelData_4 : LevelData
{
public override ItemType GetNextFillItemType()
{
return GetRandomCubeItemType();
}
public override void Initialize()
... | 2.762613 | 1b1f01bd9cc21ca11e40d86b460f90ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833039 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PallasStreams/io",
"max_stars_repo_path": "src/IO.Core/IoBot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152259"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR.Client;
using Microsoft.Extensions.Hosting;
using TwitchLib.Client;
using TwitchLib.PubSub;
using IO.Core.Models;
namespace IO.Core
{
public partial class I... | 1.953156 | 0a6d2b6fbb8d70fe247a36dd68921936 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833040 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Semper00/Atlas",
"max_stars_repo_path": "Atlas/Events/GainingExperience.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152260"
} | starcoder | <filename>Atlas/Events/GainingExperience.cs
using Atlas.Entities;
using Atlas.EventSystem;
namespace Atlas.Events
{
/// <summary>
/// Fires before SCP-079 gains experience.
/// </summary>
public class GainingExperience : BoolEvent
{
/// <summary>
/// Gets the player controlling SCP... | 2.749796 | ee037a2926c2d0e831e28d5830de72cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833041 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "arthg/Arthware.X937Parser",
"max_stars_repo_path": "Arthware.X937Parser/Arthware.X937Parser/X937Parser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152261"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.IO;
using System;
using System.Linq;
using Arthware.X937Parser.Models;
using Thinktecture.IO;
using System.Text;
using Thinktecture.IO.Adapters;
using CFS.SkyNet.Common;
namespace Arthware.X937Parser
{
public sealed class X937Parser : IX937FileParser
... | 2.405344 | f7f7e9b9ac79e65d396737823f71c408 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833042 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TimeLog/TransactionalApiSdk",
"max_stars_repo_path": "TimeLog.API.ConsoleApp/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152262"
} | starcoder | using System.Reflection;
using log4net;
using log4net.Config;
using TimeLog.API.ConsoleApp;
var logger = LogManager.GetLogger(typeof(Program));
var appPath = new FileInfo(Assembly.GetExecutingAssembly().Location).Directory;
// Initialize console and file logging.
XmlConfigurator.Configure(new FileInfo(appPath + "\\l... | 2.041845 | 8ace2b2145aff8fa04b40c26c10d6a73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833043 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "quantum-grit/BELLATRIX",
"max_stars_repo_path": "src/Bellatrix.Web/utilities/ControlDataHandlerResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152263"
} | starcoder | <gh_stars>1-10
using Bellatrix.Web.Controls.Advanced.ControlDataHandlers;
using System;
using System.Collections.Generic;
using System.Text;
namespace Bellatrix.Web
{
public static class ControlDataHandlerResolver
{
public static dynamic ResolveReadonlyDataHandler(Type controlType)
{
... | 2.175268 | d2453f955144863a0a6742b0eb4866b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833044 | {
"extension": "c-sharp",
"max_stars_count": "74.0",
"max_stars_repo_name": "mr0ng/unity-renderer",
"max_stars_repo_path": "unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/SettingsPanelHUD/Scripts/Common/CommonSettingsPanelEvents.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152264"
} | starcoder | using System;
namespace DCL.SettingsPanelHUD.Common
{
public static class CommonSettingsPanelEvents
{
public static event Action OnRefreshAllWidgetsSize;
public static void RaiseRefreshAllWidgetsSize() { OnRefreshAllWidgetsSize?.Invoke(); }
}
} | 1.674937 | 0878345dcd1fd6bddfa68de2395a0e69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833045 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "takato1314/CSharpExtensions",
"max_stars_repo_path": "ExtensionsTest/Tests/TestObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152265"
} | starcoder | <reponame>takato1314/CSharpExtensions
using System;
namespace Reevo.Unbroken.ExtensionsTest
{
/// <summary>
/// A simple test object
/// </summary>
public class TestObject
{
public string StringProperty { get; set; } = string.Empty;
public int IntegerProperty { get; set; } = 0;
... | 2.119913 | ec0e4e48ac1444c2976cdb1c615956a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833046 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "aarrgard/solidrpc",
"max_stars_repo_path": "SolidRpc.OpenApi.Model/CSharp/ICSharpMethod.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152266"
} | starcoder | <filename>SolidRpc.OpenApi.Model/CSharp/ICSharpMethod.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace SolidRpc.OpenApi.Model.CSharp
{
/// <summary>
/// Represents a c# method
/// </summary>
public interface ICSharpMethod : ICSharpMember
{
/// <summary>
... | 2.362955 | b939dbe2a13496dc588fd2a42e85f3ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833047 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZhakulIhnaac/WebProjesi2",
"max_stars_repo_path": "aspnet-core/src/AycProjectBudgeting.Core/Model/ProjectBudgeting/Project.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152267"
} | starcoder | using Abp.Domain.Entities.Auditing;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Domain.Entity
{
[Table("t_projects")]
public class Project : FullAuditedEntity<Guid>
{
[Column("Name")]
[Required]
public s... | 2.126984 | ba944d9a906f1d90c8949c7286a0c672 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833048 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Osama-Tahboub1/N3O.Umbraco",
"max_stars_repo_path": "src/N3O.Umbraco.Extensions/Content/Editor/ContentPublisher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152268"
} | starcoder | <filename>src/N3O.Umbraco.Extensions/Content/Editor/ContentPublisher.cs<gh_stars>0
using System;
using System.Linq;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.Services;
namespace N3O.Umbraco.Content {
public class ContentPublisher : IContentPublisher {
private readonly IContentService _contentS... | 2.726346 | d361a205e39d69d3cfc00739fd803633 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833049 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VitaliyFilippov2012/Vehicle-logbook",
"max_stars_repo_path": "Server_Asp.Net/FinanceCarManager/FCM.Business/Models/Fuels.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152269"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
namespace FCM.Business.Models
{
public partial class Fuels
{
public Guid FuelId { get; set; }
public Guid IdEvent { get; set; }
public float Volume { get; set; }
public virtual CarEvents IdEventNavigation { get; set; ... | 1.339201 | 8e85786705aced5aaccd98c3f559f67e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833050 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GGSimmons1992/gary-ms",
"max_stars_repo_path": "PizzaStore/PizzaStore.Domain/Models/Order.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152270"
} | starcoder | <reponame>GGSimmons1992/gary-ms
using System;
using System.Collections.Generic;
using System.Text;
namespace PizzaStore.Domain.Models
{
public class Order
{
public bool Voidable { get; set; }
public List<Pizza> PizzaList { get; set; }
public DateTime TimeStamp { get; set; }
pub... | 2.633056 | 226509547c0d9899eab5eb4c6c28501a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833051 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mrcdnk/dicomholo",
"max_stars_repo_path": "Assets/DICOMViews/SliceType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152271"
} | starcoder | <gh_stars>1-10
namespace DICOMViews
{
/// <summary>
/// SliceType Describes from which perspective the slice is generated
/// </summary>
public enum SliceType
{
Transversal, // The images as they are stored inside the DICOM File
Sagittal, // Side view
Frontal // View from t... | 1.965796 | 3b4bf464e89018090fd5604c6af004d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833052 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "willibrandon/WInterop",
"max_stars_repo_path": "src/Samples/Petzold/5th/OwnDraw/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152272"
} | starcoder | <gh_stars>10-100
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Drawing;
using WInterop.Gdi;
using WInterop.Windows;
using WInterop.Windows.Native;
namespace OwnDraw
{
/// <summary>
... | 2.389422 | 3f6171ed9bcd9ba6dda451da489f4849 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833053 | {
"extension": "c-sharp",
"max_stars_count": "1296.0",
"max_stars_repo_name": "Youssef1313/roslyn-analyzers",
"max_stars_repo_path": "src/NetAnalyzers/UnitTests/Microsoft.CodeQuality.Analyzers/QualityGuidelines/AvoidPropertySelfAssignmentTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152273"
} | starcoder | <reponame>Youssef1313/roslyn-analyzers<filename>src/NetAnalyzers/UnitTests/Microsoft.CodeQuality.Analyzers/QualityGuidelines/AvoidPropertySelfAssignmentTests.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
using System... | 2.170884 | 17ce1fe44ae4c2313af14c04987dfa97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833054 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thedoctormarc/Narrativa-A2",
"max_stars_repo_path": "CCC - Cool Character & Camera/Assets/Boxer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152274"
} | starcoder | <reponame>thedoctormarc/Narrativa-A2<filename>CCC - Cool Character & Camera/Assets/Boxer.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Cinemachine;
public class Boxer : MonoBehaviour
{
// Start is called before the first frame update
[SerializeField]
G... | 2.230005 | 8486281cb1ae72bb3911c587fb557a06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833055 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "Steph55/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/ID2D1AnalysisTransform.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152275"
} | starcoder | // c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d2d1effectauthor.h(735,1)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
/// <summary>
/// The interface implemented by a transform author to indicate that it should receive an analysis result callback.
/// ... | 1.955839 | 7fcabeb0c0f56ada5cacc9a3e6e9bf26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833056 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tmijieux/maui",
"max_stars_repo_path": "src/Core/src/Platform/Tizen/ContainerView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152276"
} | starcoder | <reponame>tmijieux/maui<gh_stars>0
using System;
using Microsoft.Maui.HotReload;
using ElmSharp;
namespace Microsoft.Maui.Platform
{
public class ContainerView : Box, IReloadHandler
{
readonly IMauiContext? _context;
EvasObject? _mainView;
IElement? _view;
public ContainerView(IMauiContext context) : this... | 2.09956 | abe6b559333652a1960e5d32fe5c07ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833057 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igoreksiz/NetOffice",
"max_stars_repo_path": "Source/Access/Classes/ComboBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152277"
} | starcoder | <reponame>igoreksiz/NetOffice<filename>Source/Access/Classes/ComboBox.cs
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.AccessApi
{
#region Delegates
#pragma warning disable
public delegate void ComboBox_BeforeUpdateEventHandler(ref Int1... | 1.635853 | 32ae1157b0463ce45ebd99ab6d1f1918 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833058 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "silentknight37/IELTSPTE",
"max_stars_repo_path": "IELTS_PTE_API/IELTS_PTE_API/Controllers/Listening/SummariesSpokenTextController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152278"
} | starcoder | <reponame>silentknight37/IELTSPTE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using IELTS_PTE.Business;
using IELTS_PTE.Common;
using IELTS_PTE.Common.ReturnEntities;
using IELTS_PTE.Common.ReturnEntities.Reading;
using Microsoft.AspNetCore.Http;
using Microsoft.Asp... | 1.758119 | f3541ff1aa329ea5ca050d5207d44395 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833059 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WebsterSweden/C_Sharp",
"max_stars_repo_path": "Validation1/Validation1/ValidationOne.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152279"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Validation1
{
class ValidationOne
{
public string ValidationOnePublicNonStatic()
{
bool validationOneStatus = false;
string validationOneStringInput = "";
while (validationOneStatus ... | 3.227829 | 472a7e8eb8e3b51e90d21f4348b6b320 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833060 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "DotNetFin/service-log",
"max_stars_repo_path": "sl.application/Extensions/LogExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152280"
} | starcoder | using sl.application.Models;
using sl.domain.Models;
using System.Linq;
namespace sl.application.Extensions
{
public static class LogExtension
{
public static LogDetailedViewModel ToDetailedViewModel(this Log log)
{
return new LogDetailedViewModel
{
Id =... | 2.272059 | 3295c2fc402ec45960586b049d377dff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833061 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Aszusz/KeyboardRecorder",
"max_stars_repo_path": "KeyboardRecorder/Recorder/RecorderAutofacModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152281"
} | starcoder | using Autofac;
namespace KeyboardRecorder
{
public class RecorderAutofacModule : Module
{
protected override void Load(ContainerBuilder builder)
{
}
}
} | 1.381358 | b37f4a8295ef5e5a5c7661cfc6a078df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833062 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rahodges/Tessen",
"max_stars_repo_path": "Amns.Tessen/Web/UI/WebControls/DojoPromotionFlagIndexedList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152282"
} | starcoder | using System;
using System.Collections;
namespace Amns.GreyFox.Tessen
{
/// <summary>
/// <summary>
/// Promotion Flags
/// </summary>
/// </summary>
public class DojoPromotionFlagIndexedList : IList, ICloneable
{
private int count = 0;
private int[,] index;
private DojoPromotionFlag[] DojoPromotionFlagA... | 2.686663 | 884f9e7fbfa81968c9bc88c47cf288ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833063 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "arsalanfallahpour/DotNetCenter.Beyond",
"max_stars_repo_path": "src/Web/Core/Source/Common/DIContainerServices/Interfaces/SupportAutoMapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152283"
} | starcoder | namespace DotNetCenter.Beyond.Web.Core.Common.DIContainerServices
{
using global::AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public interface SupportAutoMapper
{
public IMapper Mapper { get;}
... | 1.630314 | 287dac562195947ed0240c8fb66e25fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833064 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "carina-studio/AppBase",
"max_stars_repo_path": "AutoUpdate/Installers/IPackageInstaller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152284"
} | starcoder | <filename>AutoUpdate/Installers/IPackageInstaller.cs
using System;
using System.Collections.Generic;
namespace CarinaStudio.AutoUpdate.Installers
{
/// <summary>
/// Object to install package on device.
/// </summary>
public interface IPackageInstaller : IUpdaterComponent
{
/// <summary>
/// Get set of path ... | 2.541647 | 6c4d46ef7ff9e7f7ce3179c6dba510f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833065 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "brpanask/azure-sdk-for-net",
"max_stars_repo_path": "sdk/synapse/Azure.Analytics.Synapse.AccessControl/src/Generated/Models/RoleAssignmentDetails.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152285"
} | starcoder | <gh_stars>10-100
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.Analytics.Synapse.AccessControl.Models
{
/// <summary> Role Assignment response details. </summary>
public partial class RoleA... | 1.801288 | 46bb2f5719dd5c12984c7a047f85c9f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833066 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Iseeicy/Icy-s-Smile-Mods",
"max_stars_repo_path": "Assets/src/engine/VirtualPad.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152286"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Microsoft.Xna.Framework;
namespace Yukar.Engine
{
public class VirtualPad
{
private int virtualPadArrowImageId = 0;
public VirtualPad()
{
#if WINDOWS
using (var ima... | 2.496552 | 5da6030a298ca97fbadb9f9d8079f696 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833067 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "PaintLab/PixelFarm.External",
"max_stars_repo_path": "src/Pencil/Pencil.Gaming/Audio/Sound.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152287"
} | starcoder | <filename>src/Pencil/Pencil.Gaming/Audio/Sound.cs
#region License
// 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 restriction, including without li... | 2.443264 | fda491b98f5e81c9879737dcff9b2ca3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833068 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kkanellis/uthportal-wp8.1",
"max_stars_repo_path": "UTHPortal/Common/DataService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152288"
} | starcoder | <reponame>kkanellis/uthportal-wp8.1
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using System.Net.Http;
using System.Net.NetworkInformation;
using System.Diagnostics;
using UTHPortal.Mod... | 2.118808 | 69ee758d62807beec534eee8f881b64b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833069 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "cookgreen/VoxelSpaceSharp",
"max_stars_repo_path": "frmMain.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152289"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace VoxelSpaceSharp
{
public partial cla... | 2.158449 | b9c62ce4f28b314f72fe94c614731622 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833070 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "pekspro/FreshdeskApiDotnet",
"max_stars_repo_path": "FreshdeskApi.Client/Tickets/Models/TicketPriority.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152290"
} | starcoder | <filename>FreshdeskApi.Client/Tickets/Models/TicketPriority.cs
using System.Diagnostics.CodeAnalysis;
namespace FreshdeskApi.Client.Tickets.Models
{
/// <summary>
/// Refers to the priority of a ticket.
///
/// c.f. https://developers.freshdesk.com/api/#tickets
/// </summary>
[SuppressMessage("... | 2.453539 | e91d59f3135dd929f45e9f8367055437 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833071 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "loogn/NetApiStarter",
"max_stars_repo_path": "src/project.backsite/Tools/ExtensionMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152291"
} | starcoder | using System.Security.Claims;
using Loogn.OrmLite;
using PagedList.Core;
namespace project.backsite
{
public static class ExtensionMethodss
{
public static StaticPagedList<TModel> ToStaticPagedList<TModel>(this OrmLitePageResult<TModel> pr)
{
return new StaticPagedList<TModel>(pr.L... | 2.486063 | a45e455ab702abe5c8cadc3ea3966683 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833072 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "redknightlois/FodyAddinSamples",
"max_stars_repo_path": "StilettoSample/IHeater.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152292"
} | starcoder | namespace StilettoSample
{
public interface IHeater
{
bool IsHot { get; }
void On();
void Off();
}
}
| 2.316073 | 7f9236e884b7c5725a2ca81edf219949 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833073 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andresshare/.NET-app_learning",
"max_stars_repo_path": "SistemaCsharp_Pitbullnet/frmCrudSqlserver2008.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152293"
} | starcoder | <reponame>andresshare/.NET-app_learning
namespace SistemaCsharp_Pitbullnet
{
partial class frmCrudSqlserver2008
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
///... | 2.142206 | 2e9ef3c32f78ca5cc10c3a05cc5ec0f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833074 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "SkillsFundingAgency/das-assessor-apply",
"max_stars_repo_path": "src/SFA.DAS.ApplyService.Web/Services/IOverallOutcomeService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152294"
} | starcoder | <reponame>SkillsFundingAgency/das-assessor-apply
using System;
using System.Threading.Tasks;
using SFA.DAS.ApplyService.Web.ViewModels.Roatp;
namespace SFA.DAS.ApplyService.Web.Services
{
public interface IOverallOutcomeService
{
Task AugmentModelWithModerationFailDetails(ApplicationSummaryWithModerat... | 1.263927 | a84bc34e265a9327a27d351f632f3f4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833075 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Alekjbrown/ADT",
"max_stars_repo_path": "LinkedListQueueBrown/LinkedListQueueBrown/LinkedListQueueBrown.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152295"
} | starcoder | <filename>LinkedListQueueBrown/LinkedListQueueBrown/LinkedListQueueBrown.cs
using System;
/** this program implements a linked list for objects (cars)*/
//<NAME> CIS152
namespace LinkedListQueueBrown
{
class LinkedListQueueBrown
{
static void Main(string[] args)
{
Car car1 = new Ca... | 3.30829 | e8cfca05b234fce5e6a30d5c02cf3506 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833076 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brainmurphy/MyOriginalJustSayingForkArghWhyWhyWhy",
"max_stars_repo_path": "JustSaying/AwsTools/MessageHandling/SqsNotificationListener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152296"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Threading;
using System.Threading.Tasks;
using Amazon.SQS;
using Amazon.SQS.Model;
using JustSaying.Messaging;
using JustSaying.Messaging.Interrogation;
using JustSaying.Messaging.MessageHandling;
using JustSa... | 1.977692 | 94f637050c99438a23dfab08d7460dec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833077 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "unix68/ACME-Server",
"max_stars_repo_path": "src/ACME.Protocol.Model/HttpModel/Requests/CreateOrderRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152297"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
namespace TGIT.ACME.Protocol.HttpModel.Requests
{
public class CreateOrderRequest
{
public List<Identifier>? Identifiers { get; set; }
public DateTimeOffset? NotBefore { get; set; }
public DateTimeOffset? NotAfter { get; s... | 1.318714 | 927b7dfff6b815eac21a58b20c57e7e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833078 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Ignaz503/ProcedurallyAssistedTerrainGenerator",
"max_stars_repo_path": "MarchingCubes/Assets/Scripts/FunctionGraph/Editor/Data/FunctionGraphEditorSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152298"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using UnityEngine;
using UnityEditor;
[CreateAssetMenu(menuName = "Function Graph Editor/ Editor Settings")]
public class FunctionGraphEditorSettings : ScriptableObject, ISerializationCallbackReceiver... | 2.141926 | cc38d8fa0ed93e092a4eb02baa864bed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833079 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anisha13/gym_mangemeny_system",
"max_stars_repo_path": "Gym/Gym/Models/Manager/ManagerAdmin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152299"
} | starcoder | <reponame>anisha13/gym_mangemeny_system
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Gym.Models.DAL;
using Gym.Models.Entity;
namespace Gym.Models.Manager
{
public class ManagerAdmin
{
public static void SaveAdmin(AdminEntity detail)
{
using (fitnes... | 2.408953 | 21dba4316e7edc875883bf5b73e23579 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833080 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "ruanluyu/csharp-sdk",
"max_stars_repo_path": "Realtime/Realtime/Internal/Controller/LCIMConversationController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152300"
} | starcoder | using System;
using System.Linq;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using LC.Newtonsoft.Json;
using LeanCloud.Realtime.Internal.Protocol;
using LeanCloud.Storage.Internal.Codec;
using LeanCloud.Common;
namespace LeanCloud.Realtime.Internal.Controller ... | 1.918427 | 477ff534fd7e0c9f8bf4869aef0f0af8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833081 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "starship-consulting/Starship.Bot",
"max_stars_repo_path": "CK2/CK2TokenJsonConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152301"
} | starcoder | <reponame>starship-consulting/Starship.Bot<gh_stars>0
using System;
using System.Linq;
using Newtonsoft.Json;
namespace Starship.Bot.CK2 {
public class CK2TokenJsonConverter : JsonConverter<CK2Token> {
public CK2TokenJsonConverter() {
WriteEmptyObjects = false;
}
public overr... | 2.816079 | 10c1a3e9542aeb3845d4e4882e15c5fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833082 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mohammad-Nour-Rezek/FoodSilver",
"max_stars_repo_path": "FoodSilver.Data/Migrations/202103252242553_Add-MaxLength-to-Name.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152302"
} | starcoder | namespace FoodSilver.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class AddMaxLengthtoName : DbMigration
{
public override void Up()
{
AlterColumn("dbo.Restaurants", "Name", c => c.String(nullable: false, maxLength: 255));... | 2.292497 | 2e0762240f4fffdf4517a0dde11139a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833083 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "toepoke/Fluqi",
"max_stars_repo_path": "Fluqi/Widget/jMenu/Options/Options-Properties.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152303"
} | starcoder | <reponame>toepoke/Fluqi<filename>Fluqi/Widget/jMenu/Options/Options-Properties.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using Fluqi.Extension;
using Fluqi.Extension.Helpers;
using Microsoft.Visua... | 2.202664 | 501d2c23d8f0a000149d22d787f9d9e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833084 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VivekOwhal43/LineConverter",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152304"
} | starcoder | <gh_stars>0
using System;
using System.Collections;
using System.Reflection;
using System.Reflection.Metadata;
using System.Security.Cryptography;
using LineConverter;
using LineConverter.LineMethods;
//using LineConverter.LineMethods;
namespace ConsoleApplication
{
class Program
{
LineData lineData = ... | 3.445274 | 030ac455ac1dcccf5fb18868ebf8980d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833085 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AArnott/IDisposableAnalyzers",
"max_stars_repo_path": "IDisposableAnalyzers.Test/Helpers/DisposableTests.IsArgumentDisposedByReturnValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152305"
} | starcoder | <reponame>AArnott/IDisposableAnalyzers<gh_stars>1-10
namespace IDisposableAnalyzers.Test.Helpers
{
using System.Threading;
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis.CSharp;
using NUnit.Framework;
public partial class DisposableTests
{
public class IsArgumentDisposedByReturnV... | 2.231225 | 646b0191e5b724f24413150c43286c23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833086 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Br00nac/BDSA-Assignment2",
"max_stars_repo_path": "ClassLib.tests/StudentTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152306"
} | starcoder | <reponame>Br00nac/BDSA-Assignment2
using System;
using Xunit;
using System.Reflection;
namespace ClassLib.tests
{
public class StudentTests
{
[Fact]
public void Student_Dropout_From_Dates()
{
Student stud = new Student(50293, "Bru", "Mar", new DateTime(2018, 9, 4), new Date... | 2.868618 | 5d7bb5c8bc8cf80b2c87a60cec37716d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833087 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "corinblaikie/coverlet",
"max_stars_repo_path": "src/coverlet.console/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152307"
} | starcoder | <reponame>corinblaikie/coverlet
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.Extensions.CommandLineUtils;
namespace coverlet.console
{
class Program
{
static int Main(string[] args)
{
var app = new CommandLineApplication();
... | 2.401264 | ea320a3b45ac4d91761ef7119227df55 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833088 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "tagcode/Lexical.FileSystem",
"max_stars_repo_path": "Lexical.FileSystem.Abstractions/IFileSystemObserve.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152308"
} | starcoder | // --------------------------------------------------------
// Copyright: <NAME>
// Date: 14.6.2019
// Url: http://lexical.fi
// --------------------------------------------------------
using System;
using System.IO;
using System.Security;
using System.Threading.Tasks;
namespace Lexical.File... | 2.768281 | 7b0e93e1eafc626740fdb67d5b65bd3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833089 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "n-ski/BooruDotNet",
"max_stars_repo_path": "src/BooruDotNet.Danbooru/DanbooruTag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152309"
} | starcoder | using System.Diagnostics;
using System.Text.Json.Serialization;
using BooruDotNet.Boorus.Json;
using BooruDotNet.Tags;
namespace BooruDotNet.Boorus
{
[DebuggerDisplay(ITag.DebuggerDisplayString)]
internal sealed class DanbooruTag : ITag
{
[JsonPropertyName("name")]
public string Name { get... | 2.074674 | 14911f8ff9b743edaa383a382efae337 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833090 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArtjomP/articles",
"max_stars_repo_path": "replace-function-with-command/src/replace-function-with-command/Foo1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152310"
} | starcoder | <gh_stars>0
namespace replace_function_with_command;
public class Foo1
{
private IDataProcessor Processor { get; }
public Foo1(IDataProcessor processor)
{
Processor = processor;
}
public Int32 A { get; set; }
public Int32 B { get; set; }
public Int32 Result { get; set; }
p... | 2.730471 | dee7c9a2b859f29843a30c5cbb4bf718 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833091 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "tafehe/amibroker",
"max_stars_repo_path": "Plugin/Models/AmiDate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152311"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AmiDate.cs" company="KriaSoft LLC">
// Copyright © 2013 <NAME>, KriaSoft LLC. See LICENSE.txt
// </copyright>
// ----------------------------------------------------------------... | 2.85573 | a6e1940e9e86dffd7c9d556781eb282c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833092 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tengfeiLi2021/FHIR-Analytics-Pipelines",
"max_stars_repo_path": "FhirToDataLake/src/Microsoft.Health.Fhir.Synapse.Core/Fhir/IFhirSpecificationProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152312"
} | starcoder | // -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... | 1.440851 | 7cee74d2e684f89d77e119b65fb76643 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833093 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TodorNikolov89/SoftwareUniversity",
"max_stars_repo_path": "DatabasesAdvancedEntityFrameworkFeb2019/AdvancedRelations/BillsPaymentSystem.Data/EntityConfiguration/BankAccountConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1523... | starcoder | namespace BillsPaymentSystem.Data.EntityConfiguration
{
using BillsPaymentSystem.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
public class BankAccountConfig : IEntityTypeConfiguration<BankAccount>
{
public void Config... | 2.545059 | af1d1ef72bfdca63b66cfc2d281406b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833094 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Qkrisi/TP-KTaNE-Helper",
"max_stars_repo_path": "src/CS/GUI/Modules/Murder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152314"
} | starcoder | public static class Murder
{
public static GuiElement[][] GuiElements = new GuiElement[][]
{
new GuiRow[]
{
new GuiButton("Cycle", "Cycle", Cycle)
},
new GuiRow[]
{
new GuiDropdown
(
"Suspects",
new GuiD... | 2.569586 | abaa94b07f9157c65b4bbb50bb03bfe7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833095 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sinfuljosh/mixer-client-csharp",
"max_stars_repo_path": "Mixer.Base/Model/Leaderboards/SparksLeaderboardModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152315"
} | starcoder | using System.Runtime.Serialization;
namespace Mixer.Base.Model.Leaderboards
{
/// <summary>
/// The spark leaderboard information for an individual user.
/// </summary>
[DataContract]
public class SparksLeaderboardModel
{
/// <summary>
/// The username of the Mixer user.
... | 2.252875 | ea2d6e8dda289561fb63f8e9e52ad4e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833096 | {
"extension": "c-sharp",
"max_stars_count": "1248.0",
"max_stars_repo_name": "Vincentvwal/RazorLight",
"max_stars_repo_path": "tests/RazorLight.Tests/Assets/Files/LayoutWithSection.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:152316"
} | starcoder | <filename>tests/RazorLight.Tests/Assets/Files/LayoutWithSection.cshtml<gh_stars>1000+
<layout>
@RenderBody()
</layout>
<section>
@RenderSection("section", false)
</section> | 1.738592 | 39d4bd65932fd9a4a82570d64396f5e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833097 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kr-santosh/azure-sdk-for-net",
"max_stars_repo_path": "sdk/iot/Azure.Iot.Hub.Service/src/Customized/Models/DigitalTwinInterfaces.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152317"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Azure.Iot.Hub.Service.Models
{
/// <summary>
/// The DigitalTwinInterfaces.
/// </summary>
internal partial class DigitalTwinInterfaces
{
}
}
| 0.854531 | f576e81e8e0373ce14b45c7e6f581ea2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833098 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "MaximKudriavtsev/routing-problems",
"max_stars_repo_path": "Controllers/GoogleController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152318"
} | starcoder | <reponame>MaximKudriavtsev/routing-problems<filename>Controllers/GoogleController.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CoreReactRedux.Api.Google_Maps;
using Microsoft.AspNetCore.Mvc;
using CoreReactRedux.Models;
using Newtonsoft.Json;
u... | 2.495435 | 6ff024cb336a791b8b94851da590ea6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833099 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Thomas-X/AWSLambdaSharpTemplate",
"max_stars_repo_path": "tests/Tests.Lambda.Template/LambdaConfiguratorExtensionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152319"
} | starcoder | <gh_stars>0
using Kralizek.Lambda;
using Microsoft.Extensions.DependencyInjection;
using NUnit.Framework;
namespace Tests.Lambda
{
[TestFixture]
public class LambdaConfiguratorExtensionsTests
{
[Test, CustomAutoData]
public void UseCustomSerializer_registers_serializer_type(LambdaConfigura... | 1.515455 | 00319449caf84afd4016cec81b830d07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833100 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "blacktau/temporaltwist",
"max_stars_repo_path": "TemporalTwist/Engine/Steps/NaudioEncodingStep.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152320"
} | starcoder | <reponame>blacktau/temporaltwist
namespace TemporalTwist.Engine.Steps
{
using System;
using System.IO;
using NAudio.MediaFoundation;
using NAudio.Wave;
using TemporalTwist.Interfaces;
using TemporalTwist.Interfaces.Steps;
public class NaudioEncodingStep : Step, IEncodingStep, IDisposable... | 2.247751 | dc691f153f615173bab6b586d37ff563 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833101 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "garyng/pathlib",
"max_stars_repo_path": "PathLib/FileSize.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152321"
} | starcoder | using System;
using System.Collections.Generic;
namespace PathLib
{
/// <summary>
/// Represents the size of a particular file.
/// </summary>
public class FileSize
{
private readonly long _bytes;
private readonly FileSizeScale _scale;
private readonly Dictionary<FileSize... | 3.185765 | 19230afcc5d17cef2f677d5e49381dcd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833102 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anytizer/gedcomer",
"max_stars_repo_path": "exe/new_individiual.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152322"
} | starcoder | namespace exe
{
partial class new_individiual
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.229182 | d79552cf76243bf03dc6a90c21d1a858 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833103 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yanezricardo/MailerSendNetCore",
"max_stars_repo_path": "src/MailerSendNetCore/Emails/MailerSendEmailClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152323"
} | starcoder | <gh_stars>1-10
using MailerSendNetCore.Common.Exceptions;
using MailerSendNetCore.Common.Interfaces;
using MailerSendNetCore.Emails.Dtos;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.... | 2.208678 | 481b4b4237d8fffde36a6e374116b2d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833104 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ykomitov/Homeworks-TA",
"max_stars_repo_path": "14.SPA-AngularJS/TicTacToe/ASP.NET-Web-API-Tic-Tac-Toe-Live/TicTacToe.GameLogic/GameResultValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152324"
} | starcoder | namespace TicTacToe.GameLogic
{
using System;
public class GameResultValidator : IGameResultValidator
{
public const char PositionNotFilled = '-';
public GameResult GetResult(string board)
{
// check horizontally
if (board[0] != PositionNotFilled && (board[... | 3.409252 | 064ad27a95aa152fda78c96a2f96f8ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833105 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "msaykov/Project-Manager",
"max_stars_repo_path": "ProjectManager/Models/Materials/AddMaterialFormModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152325"
} | starcoder | namespace ProjectManager.Models.Materials
{
using ProjectManager.Services.Materials;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using static Data.DataConstants;
public class AddMaterialFormModel
{
//[Display(Name = "Material Name")]
//[Requir... | 2.183911 | 42a10160f4e9f3b712746c9399e42a04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833106 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nt0tsky/EcwidWorker",
"max_stars_repo_path": "EcwidIntegration.Ecwid/Models/OrderItemOptionDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152326"
} | starcoder | namespace EcwidIntegration.Ecwid.Models
{
public class OrderItemOptionDTO
{
public string Name { get; set; }
public string Value { get; set; }
}
}
| 1.261665 | 7fb080dd96ff4902ed74730970ef5f08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833107 | {
"extension": "c-sharp",
"max_stars_count": "624.0",
"max_stars_repo_name": "CarlosPBric/Output",
"max_stars_repo_path": "XOutput.Client/Rest/Input/InputsClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152327"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
namespace XOutput.Rest.Input
{
public class InputsClient : HttpJsonClient
{
public InputsClient(IHttpClientProvider clientProvider) : base(clientProvider)
{
}
public Task<IEnumerable<InputDeviceInfo>> GetInputsAsy... | 2.195321 | 7f9352559ac83f44be88aea407288e5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833108 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mathrik/gamertheory",
"max_stars_repo_path": "user.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152328"
} | starcoder | <filename>user.aspx.cs
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class user : System.Web.UI.Page {
protected int userID;
protected void Page_Load(object sender, EventArgs e) {
try {
string friendlyurl = Req... | 2.274679 | f535c59f10a211fd014434436690857f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833109 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mcsyko/tubestar",
"max_stars_repo_path": "TubeStarDesktop/Rivals/Rival8.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152329"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TubeStar
{
public class Rival8 : Rival
{
public Rival8()
: base()
{
Name = RivalStrings.Rival8Name.Translate();
ShootingSkill = 45;
PostProductionSkil... | 1.782126 | bf734b671451af89d4c1b8a563fe05be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833110 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "eportelli/samples",
"max_stars_repo_path": "VideoCaptureSample/MainPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152330"
} | starcoder | <reponame>eportelli/samples
// Copyright (c) Microsoft. All rights reserved.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.... | 1.751508 | 915f6a0a2b57734ad6b45180f193cebd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833111 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MelnikovAG/roslyn",
"max_stars_repo_path": "src/Features/LanguageServer/Protocol/Features/Options/CodeActionOptionsStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152331"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CodeCleanup;
using Microsoft.CodeAnalysis.CodeGene... | 1.534116 | abd3890ac8599d658fe883fd0ab4e424 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.