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 | 8844712 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igoreksiz/NetOffice",
"max_stars_repo_path": "Source/Word/Behind/DispatchInterfaces/TextFrame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163932"
} | starcoder | <gh_stars>0
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
using NetOffice.WordApi;
namespace NetOffice.WordApi.Behind
{
/// <summary>
/// DispatchInterface TextFrame
/// SupportByVersion Word, 9,10,11,12,14,15,16
/// </summary>
/// <remarks> MSDN Online:... | 1.35651 | 6fd2f555729a857d133245f4163d0ca0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844713 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Coding-Enthusiast/Live-Charts",
"max_stars_repo_path": "WpfView/Charts/Base/Chart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163933"
} | starcoder | //The MIT License(MIT)
//copyright(c) 2016 <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 limitation the rights
//to use, copy, modify, merge... | 1.860542 | e884a86d434767558ff62dfd73753cdd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844714 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sybrenw/l2-lattice",
"max_stars_repo_path": "Lattice.Core/Network/IConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163934"
} | starcoder | <filename>Lattice.Core/Network/IConnection.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Lattice.Core.Network
{
public interface IConnection
{
bool Connected { get; }
Task ConnectAsync(string ip, int port);
Task ProcessAs... | 2.093919 | dec7e345f2a999a071f82896743b2958 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844715 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "firatakyildiz/hackerrank",
"max_stars_repo_path": "HackerRank/DataStructures/Heaps/Qheap1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163935"
} | starcoder | <filename>HackerRank/DataStructures/Heaps/Qheap1.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace HackerRank.DataStructures.Heaps
{
/// <summary>
/// Link : https://www.hackerrank.com/challenges/qheap1/problem
/// Difficulty : Easy
/// Explanation : To perform deletion i... | 3.707703 | dc4f73f5f7a52fe4c891c3bbf22f7595 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844716 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hmohcine/MappingSPO",
"max_stars_repo_path": "MappingSPO.Project.DL/Entities/WCalculationInkoopCatEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163936"
} | starcoder |
namespace MappingSPO.Project.DL.Entities
{
public partial class WCalculationInkoopCatEntity
{
public WCalculationInkoopCatEntity()
{
InitializePartial();
}
public long CalcId { get; set; }
public string InkoopCats { get; set; }
partial void Initial... | 1.580786 | 784ba04d7f70628e5961644fdbe476c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844717 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pkgw/wwt-website",
"max_stars_repo_path": "src/WWT.Providers/Services/VirtualEarthDownloader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163937"
} | starcoder | #nullable disable
using System;
using System.IO;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace WWT.Providers.Services
{
public class VirtualEarthDownloader : IVirtualEarthDownloader
{
private static readonly string[] googleTileMap = new strin... | 2.721936 | 1c8a5fc67be83732bdc1667faa6b20b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844718 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "eredmo/mocklis",
"max_stars_repo_path": "src/Mocklis.BaseApi/TimesStepExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163938"
} | starcoder | <gh_stars>1-10
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TimesStepExtensions.cs">
// SPDX-License-Identifier: MIT
// Copyright © 2019-2020 <NAME> and contributors. All rights reserved.
// </copyright>
// --------------... | 2.584191 | f463c32d03943db874098ab81130cfbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844719 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amironov73/ManagedIrbis5",
"max_stars_repo_path": "Source/Libs/ManagedIrbis5.WinForms/Source/SimpleSearchForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163939"
} | starcoder | <reponame>amironov73/ManagedIrbis5
namespace ManagedIrbis.WinForms
{
partial class SimpleSearchForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resource... | 1.945277 | 0d2669b6118217e79fa0f0b20b444e95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844720 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "u-ashikov/LearningSystem",
"max_stars_repo_path": "LearningSystem.Services/Contracts/IStudentService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163940"
} | starcoder | <filename>LearningSystem.Services/Contracts/IStudentService.cs<gh_stars>1-10
namespace LearningSystem.Services.Contracts
{
using Microsoft.AspNetCore.Http;
using Models.Student;
using System.Threading.Tasks;
public interface IStudentService
{
bool IsInCourse(string studentId, int courseId);
v... | 2.313826 | cbedc12d6c7cf700145a5819dc55f3d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844721 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Plamen-Angelov/Entity-Framework",
"max_stars_repo_path": "Exam Preparation/Exam 13.12.2019/BookShop/DataProcessor/ImportDto/BookImportDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163941"
} | starcoder | using BookShop.Common;
using BookShop.Data.Models.Enums;
using System.ComponentModel.DataAnnotations;
using System.Xml.Serialization;
namespace BookShop.DataProcessor.ImportDto
{
[XmlType("Book")]
public class BookImportDto
{
[Required]
[StringLength(GlobalConstants.Book_Name_MaxLenght, Mi... | 2.34914 | 1068aab1cd49623c4bac76fd5da220f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844722 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Mu-L/UnityExtensions",
"max_stars_repo_path": "Tools/Magic Light Probes/Editor/MLPCombinedMeshEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163942"
} | starcoder | #if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
namespace MagicLightProbes
{
[CustomEditor(typeof(MLPCombinedMesh))]
public class MLPCombinedMeshEditor : Editor
{
public override void OnInspectorGUI()
{
MLPCombinedMesh mLPCombinedMesh = (MLPCombinedMesh)target... | 2.075587 | 321f980a4f481b1d9abdc2058027fc3b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844723 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dogukanalan/Sultanlar",
"max_stars_repo_path": "Sultanlar/Sultanlar.UI/frmTekUrunKargoSirketleri.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163943"
} | starcoder | <reponame>dogukanalan/Sultanlar<gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using TekUrun.DatabaseObjects;
namespace Sultanlar.UI
{
public partial class frmTekUrun... | 2.392784 | e21a60b4c644e467e4100a473d77cb2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844724 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "lanymy/Lanymy.NET",
"max_stars_repo_path": "src/Commons/Lanymy.Common.Instruments.Crypto.Abstractions/Interfaces/ICryptoString.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163944"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Lanymy.Common.Instruments.CryptoModels;
namespace Lanymy.Common.Instruments.Interfaces
{
public interface ICryptoString
{
EncryptStringDigestInfoModel EncryptStringToBytes(strin... | 2.201614 | 560966c552e84172e760ebeeb885e894 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844725 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "durow/MLSharp",
"max_stars_repo_path": "MLStudy/Deep/NeuralNetwork.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163945"
} | starcoder | /*
* Description:神经网络
* Author:<NAME>
* Date:2015.11.20
*/
using MLStudy.Abstraction;
using MLStudy.Optimization;
using MLStudy.Regularizations;
using System.Collections.Generic;
namespace MLStudy.Deep
{
/// <summary>
/// 神经网络
/// </summary>
public sealed class NeuralNetwork : IModel
{
... | 2.781024 | 08656b5a4756521f966bb884761da51c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844726 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bogevang-spejderhytte/website",
"max_stars_repo_path": "Bogevang.Booking.Domain/Bookings/Commands/UpdateBookingCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163946"
} | starcoder | using Bogevang.Booking.Domain.Bookings.CustomEntities;
using Cofoundry.Domain.CQS;
namespace Bogevang.Booking.Domain.Bookings.Commands
{
public class UpdateBookingCommand : BookingDataModel, ICommand
{
public int BookingId { get; set; }
}
}
| 1.157667 | c2d3ef7337422c3c2a560572210161f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844727 | {
"extension": "c-sharp",
"max_stars_count": "2179.0",
"max_stars_repo_name": "augustoproiete-forks/microsoft--WPF-Samples",
"max_stars_repo_path": "Data Binding/CompositeCollections/GreekGods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163947"
} | starcoder | // // Copyright (c) Microsoft. All rights reserved.
// // Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.ObjectModel;
namespace CompositeCollections
{
public class GreekGods : ObservableCollection<GreekGod>
{
public GreekGods... | 2.561102 | 2ae8417b083e1035b153ba3da1ca5085 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844728 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adipuscasu/IdentityServer4_SPA_Client",
"max_stars_repo_path": "IdentityServer4SpaClient.REST_API/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163948"
} | starcoder | <gh_stars>0
using IdentityServer4.AccessTokenValidation;
using IdentityServer4.DataAccess;
using IdentityServer4.DataAccess.Security;
using IdentityServer4.DataAccess.Shared;
using IdentityServer4.DataModels.Security;
using IdentityServer4.DataModels.Shared;
using IdentityServer4.DomainLogic.Security;
using IdentitySer... | 1.510819 | 06bdf3a79be5736830a45d6c77f5d3af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844729 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "micmarty/OpenBeatSaber",
"max_stars_repo_path": "Assets/OpenBeatSaber/Scripts/Info.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163949"
} | starcoder | <reponame>micmarty/OpenBeatSaber<filename>Assets/OpenBeatSaber/Scripts/Info.cs<gh_stars>0
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
[Serializable]
public class Info {
// Important
public List<DifficultyLevel> difficultyLevels;
// This is not always co... | 1.813818 | 974303150cf5d27d760a3daad340712d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844730 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "UE4DotNet/Plugin",
"max_stars_repo_path": "DotNet/DotNet/UE4/Generated/Engine/Native/ParticleModuleTypeDataRibbon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163950"
} | starcoder | // Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
namespace UE4.Engine.Native... | 1.128295 | 2f0eb1c302be26dee8cef215087a01bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844731 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "oBears/Kurento.NET",
"max_stars_repo_path": "Kurento.NET/ComplexTypes/VideoInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163951"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Kurento.NET
{
public class VideoInfo
{
public bool isSeekable;
public Int64 seekableInit;
public Int64 seekableEnd;... | 1.780745 | 67a9f5e2876b2c839c8d99264385f930 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844732 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "210503-Reston-NET/Valadez-Mykel-P1",
"max_stars_repo_path": "WebUI/Models/OrderVM.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163952"
} | starcoder | <gh_stars>0
using System;
using System.ComponentModel.DataAnnotations;
using Models;
namespace WebUI.Models
{
public class OrderVM
{
[RegularExpression(@"^[0-9]+$",
ErrorMessage = "Invalid order ID")]
public int OrderId { get; set; }
public int CustomerId { get; set; }
p... | 2.391352 | c8c106514824471f3db8e0916ec8107c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844733 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DavidLundKIT/AdventOfCode",
"max_stars_repo_path": "AdventCode2019/Day01XUnitTests/Day04SecureContainerUnitTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163953"
} | starcoder | <gh_stars>0
using Xunit;
namespace AdventOfCode2019XUnitTests
{
public class Day04SecureContainerUnitTests
{
[Fact]
public void Day04_CheckPwd_111111_Ok()
{
int pwd = <PASSWORD>;
bool actual = CheckPassword(pwd);
Assert.True(actual);
}
... | 2.594589 | d474bd722171ad1c9f803e189e434cf1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844734 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edgars-pivovarenoks/easy-flat-file",
"max_stars_repo_path": "src/EasyFlatFile/FixedWidth/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163954"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Reflection;
namespace EasyFlatFile
{
public static class Extensions
{
public static int ToInt(this object value)
{
return
Convert.ToInt32(value);
}
p... | 2.909169 | 82103781bb9ffd457e0add823b4fbe27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844735 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "symbolspace/Symbol",
"max_stars_repo_path": "src/Symbol.Cloud/CloudActionInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163955"
} | starcoder | /*
* author:symbolspace
* e-mail:<EMAIL>
*/
using System;
namespace Symbol.Cloud {
/// <summary>
/// 云Action信息。
/// </summary>
[System.Diagnostics.DebuggerDisplay("{Attribute.DisplayName},{Url}")]
public class CloudActionInfo : ICloudActionInfoSetter {
#region fields
priva... | 2.293827 | e1ba8f0e3122a7120b6ebc6e1ae1a42c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844736 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "PSW-2020-ORG9/HealthcareIS",
"max_stars_repo_path": "WPFHospitalEditor/Controller/RoomServerController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163956"
} | starcoder | <reponame>PSW-2020-ORG9/HealthcareIS
using System.Collections.Generic;
using WPFHospitalEditor.Controller.Interface;
using WPFHospitalEditor.DTOs;
using WPFHospitalEditor.Model;
using WPFHospitalEditor.Service;
using WPFHospitalEditor.Service.Interface;
namespace WPFHospitalEditor.Controller
{
public class RoomSe... | 1.948215 | 1dca6e3e5887ffdb80236a37206b3217 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844737 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bendetat/chvart",
"max_stars_repo_path": "src/Giger.TestSite/Examples/W3Schools/ExamplesModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163957"
} | starcoder | <gh_stars>1-10
using Giger.Filters;
using Giger.Nancy;
using Giger.Shapes;
using Giger.Text;
using Nancy;
namespace Giger.TestSite.Examples.W3Schools
{
public class ExamplesModule : NancyModule
{
public ExamplesModule()
{
Get["/examples/w3schools/examples/1"] = _ =>
{
... | 2.060948 | 4a389a0e61777f3bdf6173d73e0ec1af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844738 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "credfeto/notification-bot",
"max_stars_repo_path": "src/Credfeto.Notification.Bot.Twitch/BackgroundServices/FollowersWorker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163958"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace Credfeto.Notification.Bot.Twitch.BackgroundServices;
/// <summary>
/// Live Status Background service.
/// </summary>
public sealed class FollowersWorker : Backgrou... | 2.547047 | 3368fe7717640a42b6a8735a69795a9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844739 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ebradim/RoyalLibrary",
"max_stars_repo_path": "src/RoyalLibrary/ParityMathExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163959"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
namespace ByteDecoder.RoyalLibrary
{
/// <summary>
///
/// </summary>
public static class ParityMathExtensions
{
/// <summary>
/// Even expression evaluation delegate type
/// </summary>
public static Func<int... | 3.14793 | 899274006cf22bb70645a38884bdbd1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844740 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "angloy1981/HB.Magnet",
"max_stars_repo_path": "aspnet-core/src/HB.Magnet.Core/Localization/MagnetLocalizationConfigurer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163960"
} | starcoder | <filename>aspnet-core/src/HB.Magnet.Core/Localization/MagnetLocalizationConfigurer.cs
using Abp.Configuration.Startup;
using Abp.Localization.Dictionaries;
using Abp.Localization.Dictionaries.Xml;
using Abp.Reflection.Extensions;
namespace HB.Magnet.Localization
{
public static class MagnetLocalizationConfigurer
... | 1.825239 | 2792a357174b683157abdfee61305d33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844741 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "yiaslu/qbpDemo",
"max_stars_repo_path": "WebConfigForm/TestCom3.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163961"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO.Ports;
using System.Runtime.InteropServices;
namespace WebConfigForm
{
public partial class TestCom3 ... | 2.205236 | 982c96b073dc68c542196f244ba6d5a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844742 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ianbattersby/NServiceBus",
"max_stars_repo_path": "src/NServiceBus.NHibernate/TimeoutPersisters/NHibernate/Config/TimeoutEntityMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163962"
} | starcoder | <gh_stars>0
namespace NServiceBus.TimeoutPersisters.NHibernate.Config
{
using global::NHibernate;
using global::NHibernate.Mapping.ByCode;
using global::NHibernate.Mapping.ByCode.Conformist;
using Persistence.NHibernate;
/// <summary>
/// Timeout entity map class
/// </summary>
... | 1.477574 | 29a93f450aa5137f43448a17444114d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844743 | {
"extension": "c-sharp",
"max_stars_count": "67.0",
"max_stars_repo_name": "omsharp/BetterComments",
"max_stars_repo_path": "BetterComments/CommentsTagging/CommentTaggerProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163963"
} | starcoder | using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Tagging;
using Microsoft.VisualStudio.Utilities;
using System.ComponentModel.Composition;
using System.Diagnostics;
namespace BetterComments.CommentsTagging
... | 2.11961 | 1093e3b19865b93dc6d2e650bc78fbb7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844744 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stuartnoble/generepo",
"max_stars_repo_path": "RepositoryPattern.DataAbstractionLayer/EntityFramework/Mappings/ClassEntityTypeConvention.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163964"
} | starcoder | using System.Data.Entity.ModelConfiguration;
using RepositoryPattern.DataAbstractionLayer.Entities;
namespace RepositoryPattern.DataAbstractionLayer.EntityFramework.Mappings
{
public class ClassEntityTypeConvention : EntityTypeConfiguration<Class>
{
public ClassEntityTypeConvention()
{
... | 2.601897 | 5374fadac695568dff130f539110616c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844745 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abharath27/azure-libraries-for-net",
"max_stars_repo_path": "src/ResourceManagement/CustomerInsights/Generated/Models/EntityType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163965"
} | starcoder | <gh_stars>0
// <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.Custom... | 1.931418 | 926666bba30d1b47803920c9977666c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844746 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "a-zabala/Pandemi",
"max_stars_repo_path": "Pandemi/ViewModels/JournalEntriesViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163966"
} | starcoder | using Pandemi.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Pandemi.ViewModels
{
public class JournalEntriesViewModel
{
public List<FamilyMember> FamilyMembers { get; set; }
public List<JournalEntry> JournalEntries { get; set... | 1.38113 | d106b0f049ba07d0bcfef228097208f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844747 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cmberryau/maps",
"max_stars_repo_path": "Solution/Maps/Appearance/IIconAppearance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163967"
} | starcoder | <filename>Solution/Maps/Appearance/IIconAppearance.cs
namespace Maps.Appearance
{
/// <summary>
/// Interface for icon appearance
/// </summary>
public interface IIconAppearance : IUIRenderableAppearance
{
/// <summary>
/// The color of the icon
/// </summary>
Colorf ... | 1.864532 | a0c59b308758e3300496d389ec3706f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844748 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "ninedigit/wixsharpextensions",
"max_stars_repo_path": "NineDigit.WixSharpExtensions/Builders/X86AndX64FileBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163968"
} | starcoder | <reponame>ninedigit/wixsharpextensions
using NineDigit.WixSharpExtensions.Expressions;
using System;
using System.Collections.Generic;
using System.IO;
using WixSharp;
namespace NineDigit.WixSharpExtensions.Builders
{
public sealed class X86AndX64FileBuilder
{
[Flags]
enum FileBuildTypes
... | 2.651002 | b2e895fae0eb9264d09a415e6edc3da1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844749 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wovencode/click2wait-browser-game-style-engine",
"max_stars_repo_path": "Scripts/Managers/PermissionManager/PermissionManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163969"
} | starcoder | // (c) www.click2wait.net
using System;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using UnityEngine;
using Mirror;
using click2wait;
namespace click2wait {
[DisallowMultipleComponent]
[System.Serializable]
public partial class PermissionManager : SimpleManager
{
public Requ... | 1.958615 | 0683082b3667da5ceba8269dac0b4191 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844750 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "jch1999/Raising-Oxalis",
"max_stars_repo_path": "Assets/PIAPixelArtEditor/Editor/PIATextureDatabase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163970"
} | starcoder | <reponame>jch1999/Raising-Oxalis<filename>Assets/PIAPixelArtEditor/Editor/PIATextureDatabase.cs
using UnityEngine;
using System.Linq;
// easy way to cache all the needed editor textures
public class PIATextureDatabase{
private Texture2D[] database;
private static PIATextureDatabase _instance;
public stat... | 2.539575 | b6d51074608991bc71a986a344e1b305 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844751 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nellypeneva/SoftUniProjects",
"max_stars_repo_path": "01_ProgrFundamentalsMay/14_Methods-Exercises/05_FibonacciNumbers/FibonacciNumbers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163971"
} | starcoder | using System;
namespace _05_FibonacciNumbers
{
public class FibonacciNumbers
{
public static void Main()
{
int num = int.Parse(Console.ReadLine());
Console.WriteLine(FibonacciNumber(num));
}
//1,1,2,3,5,8,13,21,34,55,89,144
public static long Fi... | 4.119044 | 997a78d2b3d7a2b30a8734acccee835f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844752 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VaanPan/service-fabric-dotnet-key-functions",
"max_stars_repo_path": "CSharp/WebApi1/WebApi1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163972"
} | starcoder | <reponame>VaanPan/service-fabric-dotnet-key-functions
using System;
using System.Collections.Generic;
using System.Fabric;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.ServiceFabric.Services.Communication.Runtime;
using Microsoft.ServiceFabric.Services.Runtime;
using System.... | 1.848485 | e2cd3d9e16bbf72e898d407b875aa4d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844753 | {
"extension": "c-sharp",
"max_stars_count": "171.0",
"max_stars_repo_name": "Elders/Cronus",
"max_stars_repo_path": "src/Elders.Cronus.Tests/Projections/When_modifying_versions_collection_while_itterating_through_it.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163973"
} | starcoder | <reponame>Elders/Cronus
using Elders.Cronus.Projections;
using Machine.Specifications;
namespace Elders.Cronus.Tests.Projections
{
[Subject("Projections")]
public class When_modifying_versions_collection_while_itterating_through_it
{
Establish context = () =>
{
var building = n... | 2.131464 | 8745b97fb5226b1682968981a01a2bf4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844754 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "bfelda/learning-blazor",
"max_stars_repo_path": "src/Web.Api/Controllers/WeatherController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163974"
} | starcoder | <reponame>bfelda/learning-blazor
// Copyright (c) 2021 <NAME>. All rights reserved.
// Licensed under the MIT License.
namespace Learning.Blazor.Api.Controllers;
[
Authorize,
RequiredScope(new[] { "User.ApiAccess" }),
ApiController,
Route("api/weather")
]
public class WeatherController : Controlle... | 2.039502 | b2b9dd3ee24e2dd84428df2bf7406a54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844755 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "turwaith/csharp-w3resource",
"max_stars_repo_path": "basic/Exercice-45/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163975"
} | starcoder | <gh_stars>0
/*
Write a C# program to count a specified number in a given array of integers.
Test Data:
Input an integer: 5
Sample Output
Number of 5 present in the said array: 2
*/
using System;
namespace Exercice_45
{
class Program
{
static void Main(string[] args)
{
... | 3.794289 | bdde689c33bc97548960867370ed1b00 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844756 | {
"extension": "c-sharp",
"max_stars_count": "75.0",
"max_stars_repo_name": "samuelcaldas/Gym.NET",
"max_stars_repo_path": "examples/ReinforcementLearning/ReinforcementLearning.Images.Runner/CartPoleConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163976"
} | starcoder | using System;
using Gym.Environments.Envs.Classic;
using Gym.Envs;
using Gym.Rendering.Avalonia;
using NeuralNetworkNET.APIs;
using NeuralNetworkNET.APIs.Enums;
using NeuralNetworkNET.APIs.Interfaces;
using NeuralNetworkNET.APIs.Structs;
using ReinforcementLearning.GameConfigurations;
using SixLabors.ImageSharp.PixelF... | 2.009475 | cb6fd4b107bd7247ea510c5ebe381d2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844757 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "playgen/SUGAR-SocialGamification",
"max_stars_repo_path": "PlayGen.SUGAR.Contracts/GameResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163977"
} | starcoder | <gh_stars>10-100
namespace PlayGen.SUGAR.Contracts
{
/// <summary>
/// Encapsulates game details from the server.
/// </summary>
/// <example>
/// JSON
/// {
/// "Id" : 1,
/// "Name" : "Game Name"
/// }
/// </example>
public class GameResponse
{
/// <summary>
/// The unqiue identifier for the game.
/... | 2.467147 | 73c0820059145cce9011e141702eaa33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844758 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marksam32/ktaneConnectedMonitors",
"max_stars_repo_path": "Assets/ModuleScripts/ConnectedMonitorsUnityRandom.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163978"
} | starcoder | <reponame>marksam32/ktaneConnectedMonitors<filename>Assets/ModuleScripts/ConnectedMonitorsUnityRandom.cs
namespace ConnectedMonitors
{
public class ConnectedMonitorsUnityRandom : IConnectedMonitorsRandom
{
public int Range(int from, int to)
{
return UnityEngine.Random.Range(from, to);
}
}
}
| 1.826705 | 574310caf6d0ac6cdede8f6260f1ae9f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844759 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "piraces/katas",
"max_stars_repo_path": "beverages-pricing-refactoring/csharp/dotnet-decorator/Beverages/Classes/Supplements/Cinnamon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163979"
} | starcoder | using Beverages.Classes.Beverages;
using Beverages.Interfaces.Beverages;
namespace Beverages.Classes.Supplements
{
public class Cinnamon : Drink
{
public Cinnamon() : base() { }
public Cinnamon(Beverage drink) : base(drink) { }
protected override double DrinkPrice()
{
... | 2.660125 | ecef11184ee0d7a2f40e86c4d7ba9244 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844760 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "connellw/Firestorm",
"max_stars_repo_path": "src/Firestorm.Endpoints/Middleware/QueryCreators/DefaultQueryCreator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163980"
} | starcoder | using Firestorm.Endpoints.Query;
namespace Firestorm.Endpoints.QueryCreators
{
internal class DefaultQueryCreator : IQueryCreator
{
private readonly QueryStringConfiguration _config;
public DefaultQueryCreator(QueryStringConfiguration config)
{
_config = config;
}
... | 1.916756 | 7f8dc144884fd6816db9fd4feb364a36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844761 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "lbenson2/AquaLearn",
"max_stars_repo_path": "AquaLearn/AquaLearn.MVCClient/Models/ClassroomModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163981"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AquaLearn.MVCClient.Models
{
public class ClassroomModel
{
public int ClassroomId { get; set; }
public string Name { get; set; }
}
}
| 1.688335 | 56f93c05e7eaa14879d0a5523d88cebf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844762 | {
"extension": "c-sharp",
"max_stars_count": "264.0",
"max_stars_repo_name": "haacked/Microsoft-Teams-Samples",
"max_stars_repo_path": "samples/msgext-link-unfurling-reddit/csharp/dotnet_user_auth/RLUTeamsActivityHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163982"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Microsoft.Teams.Samples.LinkUnfurlerForReddit
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using AdaptiveCards;... | 2.138837 | e440f131aeb64363dcfd423700a7c722 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844763 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ashrafeme/Karasoft.Mvc",
"max_stars_repo_path": "Extension/HtmlHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163983"
} | starcoder | <reponame>ashrafeme/Karasoft.Mvc
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq.Expressions;
using System.Text;
using System.Web;
using System.Web.Helpers;
using System.Web.Mvc;
using System.Web.Mvc.Html;
namespace Karasoft.Mvc.Exte... | 2.655271 | f8c89c55608eadf3b76c9fee6c6fb4ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844764 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ninjasync/NinjaTasks",
"max_stars_repo_path": "NinjaTools/NinjaTools.Droid/ApplicationEx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163984"
} | starcoder | <reponame>ninjasync/NinjaTasks
using System;
using System.ComponentModel;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
namespace NinjaTools.Droid
{
public class ApplicationEx : Application,
Application.IActivityLifecycleCallbacks,
II... | 2.105839 | bbd8fbb1530b267fb2905cee52260a1a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844765 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ITfoxtec/FoxIDs.Samples",
"max_stars_repo_path": "src/FoxIDs.SampleHelperLibrary/Extensions/HttpClientExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163985"
} | starcoder | using ITfoxtec.Identity;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System.Net.Http.Headers;
using System.Net.Mime;
using System.Text;
using System.Threading.Tasks;
namespace System.Net.Http
{
public static class HttpClientExtensions
{
static JsonSerializerSettings serializerSet... | 2.610799 | e6509ca66612f9f2c2677fc15c4baea9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844766 | {
"extension": "c-sharp",
"max_stars_count": "126.0",
"max_stars_repo_name": "xiongfang/UnrealCS",
"max_stars_repo_path": "Script/UnrealEngine/GeneratedScriptFile/UComboBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163986"
} | starcoder | <reponame>xiongfang/UnrealCS
using System;
namespace UnrealEngine
{
public partial class UComboBox:UWidget
{
public bool bIsFocusable;
}
}
| 0.542278 | 952563d8ce24ec24424fdad0a65548e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844767 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "garora/EntityFramework",
"max_stars_repo_path": "src/EntityFramework.Redis/Extensions/RedisDbContextOptionsExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163987"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using JetBrains.Annotations;
using Microsoft.Data.Entity.Infrastructure;
using Microsoft.Data.Entity.Redis.Utilities;
namespace Micro... | 1.824203 | 5abd1c9e1a975d15d44848872862e401 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844768 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eerhardt/xamarin-macios",
"max_stars_repo_path": "msbuild/Xamarin.MacDev.Tasks/Tasks/EmbedProvisionProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163988"
} | starcoder | <reponame>eerhardt/xamarin-macios
namespace Xamarin.MacDev.Tasks
{
public class EmbedProvisionProfile : EmbedProvisionProfileTaskBase
{
}
}
| 0.74658 | 3bf5bd63663e12a63692062a82fc1a34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844769 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gowithfloat/Float.Tincan.QueuedLRS",
"max_stars_repo_path": "Float.TinCan.QueuedLRS/Triggers/PeriodicTrigger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163989"
} | starcoder | <reponame>gowithfloat/Float.Tincan.QueuedLRS<filename>Float.TinCan.QueuedLRS/Triggers/PeriodicTrigger.cs
using System;
using System.Threading;
using TinCan;
namespace Float.TinCan.QueuedLRS.Triggers
{
/// <summary>
/// A periodic trigger (e.g. every 1 minute) for the queued LRS.
/// </summary>
public ... | 2.945693 | 87d2b83bb9bc2e733cc24a8c0cb968b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844770 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kuba2k2/BeatTogether.DedicatedServer",
"max_stars_repo_path": "BeatTogether.DedicatedServer.Node/Abstractions/IPortAllocator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163990"
} | starcoder | namespace BeatTogether.DedicatedServer.Node.Abstractions
{
public interface IPortAllocator
{
int? AcquirePort();
bool ReleasePort(int port);
}
}
| 1.617726 | eaccdc2abf96986aa1bc16c65381565a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844771 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nguyendotuong/sse",
"max_stars_repo_path": "MicrosoftOneDrive/HttpWebException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163991"
} | starcoder | namespace Azi.Cloud.MicrosoftOneDrive
{
internal class HttpWebException
{
}
} | 1.007927 | 671d640ad0439c75fa76a2f36d2890f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844772 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Micheler720/Localiza",
"max_stars_repo_path": "Domain/Repositories/ICarRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163992"
} | starcoder | <reponame>Micheler720/Localiza
using Domain.ViewModel.Cars;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Domain.Repositories
{
public interface ICarRepository<Car> : IBaseRepository<Car> where Car : class
{
... | 1.602153 | 408ebd2fe055ba5b9f5367532bdbcae9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844773 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "shiftinv/Tor4NET",
"max_stars_repo_path": "Tor4NET/Tor/Events/Events.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163993"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using Tor.Helpers;
using System.ComponentModel;
using System.Reflection;
using System.Diagnostics;
namespace Tor.Events
{
/// <summary>
/// A class which provides monitoring for events occuring with... | 2.570117 | c20db5a77081306c82b835b5b6d4dce5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844774 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "esperecyan/UniVRMExtensions",
"max_stars_repo_path": "VRMInitializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163994"
} | starcoder | using System.Linq;
using UnityEngine;
using UnityEditor;
using VRM;
namespace Esperecyan.UniVRMExtensions
{
/// <summary>
/// Hmanoidモデルを直接VRMプレハブにします。
/// </summary>
public class VRMInitializer
{
/// <summary>
/// プレハブアセットを上書きしてVRMプレハブにします。
/// </summary>
/// <param... | 1.883727 | 1d4944169050e747da4c1d89a9ebf3e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844775 | {
"extension": "c-sharp",
"max_stars_count": "422.0",
"max_stars_repo_name": "SimonDarksideJ/XNAGameStudio",
"max_stars_repo_path": "Samples/PushRecipe_WP7_SL/Source/WindowsPhone.Recipes.Push.Server/Services/ImageService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163995"
} | starcoder | <reponame>SimonDarksideJ/XNAGameStudio<filename>Samples/PushRecipe_WP7_SL/Source/WindowsPhone.Recipes.Push.Server/Services/ImageService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.ComponentModel.Com... | 2.519487 | 4b3da0bf262dfe7ca5e5582054fb6d7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844776 | {
"extension": "c-sharp",
"max_stars_count": "204.0",
"max_stars_repo_name": "lcspinto/Vertex",
"max_stars_repo_path": "src/Vertex.Abstractions/Snapshot/ISnapshotHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163996"
} | starcoder | using Vertext.Abstractions.Event;
namespace Vertex.Abstractions.Snapshot
{
public interface ISnapshotHandler<TPrimaryKey, T> : ISnapshotHandlerBase
where T : ISnapshot
{
void Apply(SnapshotUnit<TPrimaryKey, T> snapshotBox, EventUnit<TPrimaryKey> eventBox);
}
}
| 1.462056 | 3ae600f3ab8575082e16fed3202dad20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844777 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CesarRabelo/eGovernos.Corporativo",
"max_stars_repo_path": "src/Web/frmAgentePublico.aspx.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163997"
} | starcoder | <gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------... | 1.159599 | dfe4a795f67f2dadc2a94ff1438dd793 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844778 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "floradu88/CalcEngine",
"max_stars_repo_path": "Source/CalcEngine/CalcEngine/Functions/ExtendedTally.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163998"
} | starcoder | using System;
using System.Collections.Generic;
namespace CalcEngine.Functions
{
public class ExtendedTally : Tally
{
List<double> _vals;
public ExtendedTally(bool numbersOnly) : base(numbersOnly)
{
_vals = new List<double>();
}
public ExtendedTally() : ba... | 3.271956 | bf054cd7dc08ac4ebc917b64b501d3f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844779 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "riskvista/futurestate-forked",
"max_stars_repo_path": "src/FutureState.Flow/FlowFileLog/FlowFileLog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163999"
} | starcoder | <filename>src/FutureState.Flow/FlowFileLog/FlowFileLog.cs
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace FutureState.Flow.Model
{
/// <summary>
/// A log of all data files processed by a flow controller.
/// </summary>
/// <remarks>
/// Flow files ... | 2.782918 | 26a80d49e862506c92ed9c6e2c517b8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844780 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "todorm85/TelerikAcademy",
"max_stars_repo_path": "Courses/Software Technologies/AspNet MVC/Exam/Web/HikingPlanAndRescue.Web/Areas/Admin/Controllers/IdeasController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164000"
} | starcoder | <reponame>todorm85/TelerikAcademy
namespace VoiceSystem.Web.Areas.Admin.Controllers
{
using System.Web.Mvc;
using Data.Models;
using Infrastructure.Mapping;
using Kendo.Mvc.Extensions;
using Kendo.Mvc.UI;
using Models.Ideas;
using Services.Data.Contracts;
using Web.Controllers;
pub... | 1.987727 | 19e8440771e7c6bb484e24c1c55db4e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844781 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "justinlm/Unity3D_Plugins_Demo",
"max_stars_repo_path": "Assets/Scripts/Store/StoreProduct.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164001"
} | starcoder | namespace IOSStore
{
/// <summary>
/// Store product struct.
/// </summary>
public struct StoreProduct
{
/// <summary>
/// Constructor.
/// </summary>
/// <param name="id">Unique product identifier.</param>
/// <param name="title">Product title.</param>
/// <param name="price">ocalized product price (... | 2.900611 | 91800f274f461363f1455f4c3506cbf8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844782 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MMXXX-VIII/EchoRenderer",
"max_stars_repo_path": "EchoRenderer/src/Mathematics/Primitives/Ray.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164002"
} | starcoder | <reponame>MMXXX-VIII/EchoRenderer
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
using CodeHelpers.Diagnostics;
using CodeHelpers.Mathematics;
using static EchoRenderer.Common.Utilities;
namespace EchoRenderer.Mathemat... | 2.466391 | 64fdede7a01b071687df17017831d53d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844783 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "Sarsoo/IF.Lastfm",
"max_stars_repo_path": "src/IF.Lastfm.Core/Api/Commands/Track/UpdateNowPlayingCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164003"
} | starcoder | using System;
using System.Net.Http;
using System.Threading.Tasks;
using IF.Lastfm.Core.Api.Helpers;
using IF.Lastfm.Core.Objects;
namespace IF.Lastfm.Core.Api.Commands.Track
{
[ApiMethodName("track.updateNowPlaying")]
internal class UpdateNowPlayingCommand : PostAsyncCommandBase<LastResponse>
{
pu... | 2.45674 | 0d921368ad7739d87322837e77b4303a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844784 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "palmmyvillage/Palmmy_and_Amber_Village",
"max_stars_repo_path": "Walking Simulator/Assets/Script/FaceTarget.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164004"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FaceTarget : MonoBehaviour
{
public Transform Target;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (Target != null)
{
transform.rotation = Targe... | 2.013284 | 9092e17915d0ce851311264e44db816b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844785 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sullivan008/CSharp-WFA-WindowsNotepadReplication",
"max_stars_repo_path": "Application.Utilities/FileWriter/Extensions/DependencyInjection/FileWriterServiceCollectionExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164005"
... | starcoder | <reponame>Sullivan008/CSharp-WFA-WindowsNotepadReplication
using Application.Utilities.FileWriter.Interfaces;
using Microsoft.Extensions.DependencyInjection;
namespace Application.Utilities.FileWriter.Extensions.DependencyInjection
{
public static class FileWriterServiceCollectionExtension
{
public st... | 1.488499 | 09ebaa66e90922e5a2cdf17860355e60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844786 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thomasnorris/foggycam",
"max_stars_repo_path": "FoggyCamReader/FileHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164006"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FoggyCamReader
{
public static class FileHelper
{
public static void WriteBufferToFile(byte[] buffer, string fileDirBase, string fileName)
{
... | 3.067187 | c0387aea9cdc0e7ef26164882e8b5e98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844787 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jettblu/Kryptik",
"max_stars_repo_path": "CrypticPay/Services/SmsSender.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164007"
} | starcoder | <reponame>jettblu/Kryptik<filename>CrypticPay/Services/SmsSender.cs<gh_stars>1-10
using Microsoft.Extensions.Options;
using System.Threading.Tasks;
using Twilio;
using Twilio.Rest.Api.V2010.Account;
using Twilio.Rest.Verify.V2.Service;
namespace CrypticPay.Services
{
// update, so automatically accepts set... | 2.256687 | 07785fc305c7ef1412d565147cc9dab3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844788 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "AsafCX/tractusx",
"max_stars_repo_path": "coreservices/mailing/src/CatenaX.NetworkServices.Mailing.Template/NoSuchTemplateException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164008"
} | starcoder | using System;
namespace CatenaX.NetworkServices.Mailing.Template
{
public class NoSuchTemplateException : Exception
{
public NoSuchTemplateException(string message) : base(message)
{
}
}
}
| 1.919405 | 92a97e5302f52cba50c436c72a3ddd17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844789 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jonathanperis/cpnucleo-pages",
"max_stars_repo_path": "src/Cpnucleo.Infra.CrossCutting.Util/ViewModels/RecursoProjetoViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164009"
} | starcoder | namespace Cpnucleo.Infra.CrossCutting.Util.ViewModels;
public class RecursoProjetoViewModel : BaseViewModel
{
[Display(Name = "Recurso")]
[Required(ErrorMessage = "Necessário informar o {0}.")]
public Guid IdRecurso { get; set; }
[Display(Name = "Projeto")]
[Required(ErrorMessage = "Necessário inf... | 1.75451 | 5d03aec3a3b9e7e728820888c3653801 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844790 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "JonPSmith/BookApp.All",
"max_stars_repo_path": "BookApp.Orders.Persistence.EfCoreSql/Configurations/BookConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164010"
} | starcoder | // Copyright (c) 2021 <NAME>, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/
// Licensed under MIT license. See License.txt in the project root for license information.
using BookApp.Orders.Domain;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Bo... | 2.007365 | 3250abbfc9cb07ed948029cae78e62d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844791 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lvanlowe/SMADTools",
"max_stars_repo_path": "CoachesFunctons/TrainingManagingWorker/CalendarWorker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164011"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using InformationService.Interfaces;
using InformationService.Models;
using InterfaceModels;
namespace TrainingManagingWorker
{
public class CalendarWorker
{
private ICalendarRepository _calendarRepository... | 2.532654 | 3a0910288d51259d318e722b257770ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844792 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "axikita/akitacore",
"max_stars_repo_path": "Runtime/Utilities/ExtensionMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164012"
} | starcoder | <reponame>axikita/akitacore
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace Akitacore{
public static class ExtensionMethods {
public static Vector2 V2XY(this Vector3 vec){
return new Vector2 (vec.x, vec.y);
}
public static Vector2 V2XZ(this Vector3... | 1.529639 | bde50233a8cecfac178b3212b5856a91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844793 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "ScanMountGoat/SFGraphics",
"max_stars_repo_path": "Projects/SFGraphics/GLObjects/Shaders/ShaderEventArgs/UniformSetEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164013"
} | starcoder | <reponame>ScanMountGoat/SFGraphics<filename>Projects/SFGraphics/GLObjects/Shaders/ShaderEventArgs/UniformSetEventArgs.cs<gh_stars>10-100
using OpenTK.Graphics.OpenGL;
using System;
namespace SFGraphics.GLObjects.Shaders.ShaderEventArgs
{
/// <summary>
/// Contains the data used to set a shader uniform variabl... | 2.431674 | 405ac925b68a250685758d00769c0d10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844794 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HaoZhiYing/HzyAdmin-Core",
"max_stars_repo_path": "Toolkit/HttpContextService/HttpContextHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164014"
} | starcoder | namespace Toolkit.HttpContextService
{
using Microsoft.AspNetCore.Http;
/// <summary>
/// HttpContext注入类
/// </summary>
public static class HttpContextHelper
{
private static IHttpContextAccessor _accessor;
public static void Configure(IHttpContextAccessor httpContextAccessor... | 2.230612 | 02d3600b6cde777be70ac4c2b448b13f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844795 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "ggagnaux/Sage300-SDK",
"max_stars_repo_path": "src/wizards/Sage300Resources/Sage.CA.SBS.ERP.Sage300.GL.Resources/Reports/TrialBalanceReportResx.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164015"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 1.751244 | 37ac3f929d6f697826d2d48c3b32c70b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844796 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "KHCmaster/PPD",
"max_stars_repo_path": "Win/FlowScriptEnginePPD/TypeFormatters/EvaluateTypeTypeFormatter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164016"
} | starcoder | using FlowScriptEngine;
namespace FlowScriptEnginePPD.TypeFormatters
{
public class EvaluateTypeTypeFormatter : EnumTypeFormatterBase<PPDFramework.MarkEvaluateType>
{
}
}
| 0.883937 | cd48dba4aa7f822eb7ac5c703e3667c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844797 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AltenITALIA/CodeSamples",
"max_stars_repo_path": "mistakes/CodingMistakes.Desktop/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164017"
} | starcoder | <reponame>AltenITALIA/CodeSamples<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows;
namespace CodingMistakes.Memory
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
... | 2.099309 | 6f8fda236536663c32bc618f23042c3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844798 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "levi-kohler/Factory.Solution",
"max_stars_repo_path": "Factory/Views/Machines/Details.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:164018"
} | starcoder | <gh_stars>0
@{
Layout = "_Layout";
}
@model Factory.Models.Machine
<h2>Machine Details</h2>
<hr>
<h3>@Html.DisplayNameFor(model => model.Name): @Html.DisplayFor(model => model.Name)</h3>
@if(@Model.JoinEntities.Count == 0)
{
<p>This machine does not have any engineers assigned to it</p>
}
else
{
<h4>Engineers ... | 2.452946 | c28a761ed973b48d5c4829ce5dd07bd5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844799 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "b7c/Xabbo.Core",
"max_stars_repo_path": "Xabbo.Core/Figure/Figure.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164019"
} | starcoder | <filename>Xabbo.Core/Figure/Figure.cs
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Xabbo.Core
{
public class Figure
{
private const string FIGUREPART_GENDERS_RESOURCE_PATH = "Xabbo.Core.Res... | 2.924039 | bdce0b901b7956e80ece52aeb38f565c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844800 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IrisBroadcast/CodecControl",
"max_stars_repo_path": "src/CodecControl.Client/Mandozzi/Umac/UmacCallInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164020"
} | starcoder | #region copyright
/*
* Copyright (c) 2018 Sveriges Radio AB, Stockholm, Sweden
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, th... | 2.291741 | 7ceccf7adeb70e1fe2bca7df8ca0864d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844801 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "franklzt/DataStruct",
"max_stars_repo_path": "algs/StdStats.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164021"
} | starcoder | /******************************************************************************
* Compilation: javac StdStats.java
* Execution: java StdStats < input.txt
* Dependencies: StdOut.java
*
* Library of statistical functions.
*
* The test client reads an array of real numbers from standard
* input, and comp... | 3.06299 | d03338e8fdee38c181f384610ec2489d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844802 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "X-lem/training-kentico-k12",
"max_stars_repo_path": "MedioClinic/Utils/BaseIdentityManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164022"
} | starcoder | using System;
using System.Collections.Generic;
using Business.DependencyInjection;
using Business.Identity;
using Business.Identity.Models;
using MedioClinic.Models;
namespace MedioClinic.Utils
{
/// <summary>
/// Base class for identity-related managers.
/// </summary>
public abstract class BaseIde... | 2.463567 | afefc55fc2ed9fdf3c79e02b5db2e05c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844803 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "justkoob/tradmeup",
"max_stars_repo_path": "TradeMeUp.RunTime/Interfaces/IStrategy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164023"
} | starcoder | using Alpaca.Markets;
using System.Collections.Generic;
using System.Runtime.InteropServices.ComTypes;
using System.Threading.Tasks;
namespace TradeMeUp.RunTime.Interfaces
{
public interface IStrategy
{
List<string> Subscriptions { get; }
Task Initialize();
void OnDataReceived(IStreamAgg obj);
}
}
| 1.557598 | b22ca25e8b0489cc75a2ff3c46171133 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844804 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "markgibbons25/Sitecron",
"max_stars_repo_path": "Code/Sitecron/Core/Jobs/IndexJobProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164024"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Sitecore.Data;
using Sitecore.Data.Items;
using Sitecron.SitecronSettings;
using Sitecore.ContentSearch.SearchTypes;
using Sitecore.ContentSearch;
using Sitecore.ContentSearch.Linq.Utilities;
using Sitecore.ContentSearch.Linq;
using Sitecore.Configuration;
usi... | 2.042393 | 05ff574c77eb328b0c32acf4a327e881 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844805 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "grilledham/FactorioWebInterface",
"max_stars_repo_path": "FactorioWebInterface/Models/ModPackFilesChangedEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164025"
} | starcoder | using System.Collections.Generic;
namespace FactorioWebInterface.Models
{
public class ModPackFilesChangedEventArgs
{
public string ModPack { get; }
public CollectionChangedData<ModPackFileMetaData> ChangedData { get; set; }
public ModPackFilesChangedEventArgs(string modPack, Collecti... | 2.1104 | 328927ed1ddf676d33e33e5a78fa4f1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844806 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IgortRamos/Microservice.Whatevers",
"max_stars_repo_path": "src/Microservice.Whatevers.Domain/Entities/Whatevers/Whatever.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164026"
} | starcoder | using System;
using System.Collections.Generic;
using Microservice.Whatevers.Domain.Abstractions;
using Microservice.Whatevers.Domain.Entities.Things;
namespace Microservice.Whatevers.Domain.Entities.Whatevers
{
public class Whatever: EntityBase<Guid>
{
internal Whatever(Guid id, string name, ... | 2.771885 | 78bac15fc53bdff5298871f236a2e739 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844807 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kakureusagi/VContainerOutGame",
"max_stars_repo_path": "VContainerOutGame/Assets/App/Scripts/Domain/Common/Dialog/TwoButtonDialog/TwoButtonDialogResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164027"
} | starcoder | namespace App.Domain
{
public enum TwoButtonDialogResult
{
Ok,
Cancel,
}
} | 1.2509 | 7e31216fd0af21e3c7dc5cfacd9f5a86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844808 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "SherApp/Sher",
"max_stars_repo_path": "src/Sher.Application/Files/ListDirectory/DirectorySummaryDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164028"
} | starcoder | using System;
namespace Sher.Application.Files.ListDirectory
{
public class DirectorySummaryDto
{
public Guid Id { get; set; }
public Guid? ParentDirectoryId { get; set; }
public string Name { get; set; }
}
} | 1.662922 | b05877689b2d978e82197630021b6ee3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stephanievetter/ToTheRescue-",
"max_stars_repo_path": "WebApp/ToTheRescueWebApplication/ToTheRescueWebApplication/Controllers/OptionsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164029"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ToTheRescueWebApplication.Code;
using ToTheRescueWebApplication.Models;
using ToTheRescueWebApplication.Repositories;
namespace ToTheRescueWebApplication.Controllers
{
[Authorize]
publi... | 1.94515 | 75216471f5989242dad0a05e06ca612c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844810 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mastercs999/fn-trading",
"max_stars_repo_path": "src/Accord/Accord.MachineLearning/Clustering/IClusteringAlgorithm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164030"
} | starcoder | <reponame>mastercs999/fn-trading
// Accord Machine Learning Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © <NAME>, 2009-2015
// cesarsouza at gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser ... | 2.196024 | bbad6aef8eb9d39215484c15ad0c9323 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844811 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TomaszKandula/TokanPages",
"max_stars_repo_path": "TokanPages.Backend/TokanPages.Backend.Core/Models/Paging/PagingInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164031"
} | starcoder | namespace TokanPages.Backend.Core.Models.Paging
{
using System.Diagnostics.CodeAnalysis;
[ExcludeFromCodeCoverage]
public class PagingInfo
{
public int PageNumber { get; set; }
public int PageSize { get; set; }
public string OrderByColumn { get; set; }
... | 1.806479 | 0b517911d0b4063bd508cc244fe0e00b |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.