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 | 8832712 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "anadale/hotchocolate",
"max_stars_repo_path": "src/HotChocolate/Core/src/Types/Types/Descriptors/TypeReferences/NameDirectiveReference.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151932"
} | starcoder | namespace HotChocolate.Types.Descriptors;
public sealed class NameDirectiveReference
: IDirectiveReference
{
public NameDirectiveReference(NameString name)
{
Name = name.EnsureNotEmpty(nameof(name));
}
public NameString Name { get; }
}
| 1.877799 | 69e0c970dc35fe918e8895c0fce18d66 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832713 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TcmExtensions/TcmEvents",
"max_stars_repo_path": "TcmEvents.Audit/Misc/XMLDelta.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151933"
} | starcoder | #region Header
////////////////////////////////////////////////////////////////////////////////////
//
// File Description: XML Delta
// ---------------------------------------------------------------------------------
// Date Created : January 28, 2014
// Author : <NAME>
//
/////////////////////////////////////////... | 2.989343 | 6f681e4246e7c2d41918828f2914622b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832714 | {
"extension": "c-sharp",
"max_stars_count": "231.0",
"max_stars_repo_name": "furkanisikay/KingAOP",
"max_stars_repo_path": "src/VS 2010/KingAOP/Aspects/OnMethodBoundaryAspect.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151934"
} | starcoder | <gh_stars>100-1000
// 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 limitation the rights to use, copy, modify, merge... | 2.690698 | c11f3b1cd3ab5d2d32a66fe7315aad7c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832715 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Pathoschild/FamilyPlanningMod",
"max_stars_repo_path": "FamilyPlanning/Patches/ChildTenMinuteUpdatePatch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151935"
} | starcoder | <filename>FamilyPlanning/Patches/ChildTenMinuteUpdatePatch.cs
using System.Linq;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using StardewValley;
using StardewValley.Characters;
using StardewValley.Locations;
namespace FamilyPlanning.Patches
{
class ChildTenMinuteUpdatePatch
{
... | 2.729889 | 7578e13b4459af7a0efa34e209bec206 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832716 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asgerhallas/shouldly",
"max_stars_repo_path": "src/Shouldly.Tests/ShouldBe/BoxedIntScenario.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151936"
} | starcoder | using Shouldly.Tests.TestHelpers;
namespace Shouldly.Tests.ShouldBe
{
public class BoxedIntScenario : ShouldlyShouldFailureTestScenario
{
protected override void ShouldThrowAWobbly()
{
((object) 12).ShouldBe("string");
}
protected override string ChuckedAWobblyErro... | 2.243713 | 580b8bc42073404747c728bb69dc8f9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832717 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stffart/mpcCore",
"max_stars_repo_path": "src/MpcCore/MpcCoreClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151937"
} | starcoder | <filename>src/MpcCore/MpcCoreClient.cs<gh_stars>0
using MpcCore.Contracts;
using MpcCore.Contracts.Mpd;
using MpcCore.Extensions;
using MpcCore.Mpd;
using MpcCore.Response;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace MpcCore
{
/// <summary>
/// The MPD client.
/// Dispos... | 2.73543 | 6c382830051198a9d4df0556ef8e98c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832718 | {
"extension": "c-sharp",
"max_stars_count": "324.0",
"max_stars_repo_name": "mortend/fuse-studio",
"max_stars_repo_path": "Source/Preview/Core/EmptyClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151938"
} | starcoder | using System;
namespace Outracks.Simulator.Client
{
public class EmptyClass
{
public EmptyClass ()
{
}
}
}
| 1.229599 | 20df03111c964909de0072efb5a5ff28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832719 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "theghostofc/Xamarin-TestApp",
"max_stars_repo_path": "iOS/CustomRenderers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151939"
} | starcoder | <filename>iOS/CustomRenderers.cs
using System;
using Xamarin.Forms;
using UIKit;
using Xamarin.Forms.Platform.iOS;
using TestApp.iOS;
using TestApp;
[assembly: ExportRenderer(typeof(CustomButton), typeof(CustomButtonRenderer))]
namespace TestApp.iOS
{
public class CustomRenderers
{
public CustomRender... | 1.895085 | 59339a41210a73f40b3e2acd26026b6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832720 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "artzie92/simple-mobileapp-with-webapi",
"max_stars_repo_path": "PeopleStorageApp/PeopleStorageApp/MainPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151940"
} | starcoder | <reponame>artzie92/simple-mobileapp-with-webapi<gh_stars>0
using PeopleStorageApp.DataContracts;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace PeopleStorageApp
{
// Le... | 2.645446 | 2dd9b8d23163b476397e8fefc7de58f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832721 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iZhangYingYing/YingLauncher",
"max_stars_repo_path": "YingServer/Ying/Ying/YingCommands/YingStop.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151941"
} | starcoder | <reponame>iZhangYingYing/YingLauncher
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Ying.YingCommand;
namespace Ying.YingCommands
{
class YingStop : YingYing, YingCommandExecutor
{
public Boolean onYComma... | 1.553215 | 137293cc7e075863ae318d10a86cc44b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832722 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "colbylwilliams/mobile-center-api-client",
"max_stars_repo_path": "MobileCenterApiClient/AnalyticsExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151942"
} | starcoder | <reponame>colbylwilliams/mobile-center-api-client<gh_stars>0
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace MobileCenterApi
{
using System;
using System.Collections;
using System.Collectio... | 2.020877 | 3e0a00e2da9b8368c8cc43ae81ad5f62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832723 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "minimalism/SupersonicSound",
"max_stars_repo_path": "SupersonicSound.Test/Bugs/MonoCallbackDisposedBug.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151943"
} | starcoder | using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SupersonicSound.LowLevel;
namespace SupersonicSound.Test.Bugs
{
/// <summary>
/// Intended to reproduce https://github.com/martindevans/SupersonicSound/issues/23
/// </summary>
[TestClass]
pub... | 2.696942 | f101d46cc4cb87f8a3c9b0716c01c27d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832724 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "JeremySkinner/FormatWith",
"max_stars_repo_path": "FormatWith/StringExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151944"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using FormatWith.Internal;
using System.Collections;
namespace FormatWith
{
/// <summary>
/// The string extensions provided by FormatWith for string formatting.
/// </summary>
public static class StringExtensions
{
#region F... | 2.896932 | 744a7f6106ff9107cf1a2c25d81c2f2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832725 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "simnalamburt/DiscordChatExporter",
"max_stars_repo_path": "DiscordChatExporter.Domain/Exporting/Writers/CsvMessageWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151945"
} | starcoder | <reponame>simnalamburt/DiscordChatExporter<gh_stars>1-10
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using DiscordChatExporter.Domain.Discord.Models;
using DiscordChatExporter.Domain.Exporting.Writers.MarkdownVisitors;
using DiscordChatExporter.Domain.Internal.Ex... | 2.566439 | a668edb31d674cff4b8d6511969223c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832726 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tramper2/sdsandboxCAR",
"max_stars_repo_path": "sdsim/Assets/Scripts/TrainingManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151946"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TrainingManager : MonoBehaviour {
public PIDController controller;
public GameObject carObj;
public ICar car;
public Logger logger;
public int numTrainingRuns = 1;
int iRun = 0;
void Awake()
{
car = carObj.GetComp... | 2.148151 | cfac2285d6d84e0e0b4703bbc0af33f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832727 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wind2006/DotNet.Utilities",
"max_stars_repo_path": "YanZhiwei.BookShop.WebUI/Areas/Admin/AdminAreaRegistration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151947"
} | starcoder | using System.Web.Mvc;
namespace YanZhiwei.BookShop.WebUI.Areas.Admin
{
public class AdminAreaRegistration : AreaRegistration
{
/*
系统自动生成的 AdminAreaRegistration 类继承至抽象类 AreaRegistration,并重写了 AreaName 属性和 RegisterArea 方法。在 RegisterArea 方法中它为我们定义了一个默认路由,我们也可在这个方法中定义专属于Admin Area的的其他路由。但有一点要注意,在这... | 2.72685 | 717bc43c4b398019f62d6469fe961fe3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832728 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "justincolangelo/EdgeInstallerTest",
"max_stars_repo_path": "DirigoEdge/Data/Entities/Extensibility/ContentPageExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151948"
} | starcoder | <gh_stars>0
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using DirigoEdgeCore.Data.Entities;
namespace DirigoEdge.Data.Entities.Extensibility
{
public class ContentPageExtension
{
[Key]
[ForeignKey("ContentPage")]
public... | 1.282506 | d3a2774e1d5c07b1a8ec9d6845e1217c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832729 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "Flash3001/Xamarin.Swift3.Support",
"max_stars_repo_path": "SwiftSupport/Internals/ProcessRunner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151949"
} | starcoder | <reponame>Flash3001/Xamarin.Swift3.Support
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Build.Framework;
using Microsoft.Build.Tasks;
using Microsoft.Build.Utilities;
using SwiftSup... | 2.415431 | a060dea25e7fb32aac57b29ac4d08793 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832730 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "HealthCatalyst/Fabric.Terminology",
"max_stars_repo_path": "Fabric.Terminology.SqlServer/Models/Dto/ValueSetCodeCountDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151950"
} | starcoder | // ReSharper disable InconsistentNaming
namespace Fabric.Terminology.SqlServer.Models.Dto
{
using System;
using Fabric.Terminology.Domain.Models;
public class ValueSetCodeCountDto
{
private static readonly EmptySamdBinding EmptyBinding = new EmptySamdBinding();
public ValueSetCodeCo... | 1.972061 | 09e0856567e8b764355cdbb32ba8fce5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832731 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndreiBlizorukov/EasyTcp",
"max_stars_repo_path": "EasyTcp3/EasyTcp3.Actions/EasyTcpActionClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151951"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
namespace EasyTcp3.Actions
{
/// <summary>
/// EasyTcpClient that supports 'actions'
/// public static methods with the parameters (object, Message) and the EasyTcpAction attribute get automatically loaded as actions when class is con... | 2.872901 | f8d675658966dceab7334cdff8259a00 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832732 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arikankainen/clips-windows",
"max_stars_repo_path": "Clips/Form1_MouseScroll.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151952"
} | starcoder | <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.Threading.Tasks;
using System.Windows.Forms;
using System.Net;
using System.Threading;
using System.Runtime.InteropServices;
using System.... | 2.042817 | 53917c2b4a0373195bdb6472040edeb2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832733 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hfloyd/Dragonfly.SiteAuditor",
"max_stars_repo_path": "src/Dragonfly/UmbPackage/de260e3d-c15f-42fe-a508-1705ceb8fa50/AllContentAsHtmlTable.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:151953"
} | starcoder | @using System.Web.Mvc.Html
@using Dragonfly.SiteAuditor.Helpers
@using Umbraco.Web
@model IEnumerable<Dragonfly.SiteAuditor.Models.AuditableContent>
@{
//TODO: Finish this
var fancyFormat = true;
var propertyAlias = Dragonfly.Umbraco7Helpers.Mvc.GetSafeViewDataString(ViewData, "PropertyAlias");
var in... | 2.079412 | 1fa9a49b2caf10b6c82c19047806b591 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832734 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ProNotion/PhoenixConverters",
"max_stars_repo_path": "src/PhoenixConverters/Models/ConversionResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151954"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Umbraco.Core.Models;
using Umbraco.Core.Services;
using Umbraco.Core.Logging;
namespace PhoenixConverters.Models
{
public class ConversionResult
{
public ServiceContext Services;
... | 2.315368 | 2da29927ea04d2bfc44450a27d7311f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832735 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iDudiHU/Touch-of-Malice",
"max_stars_repo_path": "Assets/Scripts/Pickups/GoalPickup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151955"
} | starcoder | <filename>Assets/Scripts/Pickups/GoalPickup.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Class for a pickup which marks the goal as complete
/// </summary>
public class GoalPickup : Pickup
{
/// <summary>
/// Description:
/// When picked up, marks the... | 2.752297 | 9b8e871d63ee879aa7cd701a2be891dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832736 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tshemake/Software-Development",
"max_stars_repo_path": "stepik/67/2232/step_7/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151956"
} | starcoder | using System;
/*
* Коля каждый день ложится спать ровно в полночь и недавно узнал,
* что оптимальное время для его сна составляет X минут. Коля хочет
* поставить себе будильник так, чтобы он прозвенел ровно через X
* минут после полуночи, однако для этого необходимо указать время
* сигнала в формате часы,... | 3.200488 | 6fff06d278be6e2f3efde826a051ce5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832737 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "tmds/Tmds.LinuxAsync",
"max_stars_repo_path": "src/Tmds.LinuxAsync/AsyncSendOperation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151957"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks.Sources;
using static Tmds.Linux.LibC;
namespace Tmds.LinuxAsync
{
sealed class AwaitableSocketSendOperation : AsyncSendOperation, IValueTaskSource<int>
{
... | 2.077543 | 444b67ce9936f1c97b4a3776603ea10d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832738 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mikhail-khalizev/max",
"max_stars_repo_path": "source/MikhailKhalizev.Max/source/Program/Auto/z-100c-89d1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151958"
} | starcoder | <reponame>mikhail-khalizev/max
using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x100c_89d1-232c322")]
public void Method_100c_89d1()
{
ii(0x100c_89d1, 5); push(0x... | 1.617904 | 55d621f724773e7b8d78790d11488e48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832739 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mt89vein/MiddlewarePipeline",
"max_stars_repo_path": "Middlewares/IMiddleware.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151959"
} | starcoder | <gh_stars>1-10
using System.Threading;
using System.Threading.Tasks;
namespace Middlewares
{
/// <summary>
/// Middleware.
/// </summary>
/// <typeparam name="TParameter">Pipeline parameter type.</typeparam>
public interface IMiddleware<TParameter>
{
/// <summary>
/// Invokes m... | 2.531311 | b2dbb4ac2bfc79142e2f9672c2747811 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832740 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "MeLikeChoco/YuGiOhBot",
"max_stars_repo_path": "YuGiOh.Bot/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151960"
} | starcoder | <reponame>MeLikeChoco/YuGiOhBot<filename>YuGiOh.Bot/Constants.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YuGiOh.Bot
{
public static class Constants
{
public const string FandomUrl = "https://yugioh.fandom.com/";
... | 1.908445 | b4e110836323d2bae3b97aa758b1a006 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832741 | {
"extension": "c-sharp",
"max_stars_count": "233.0",
"max_stars_repo_name": "mwikenma/usd-unity-sdk",
"max_stars_repo_path": "package/com.unity.formats.usd/Dependencies/USD.NET/AotAttributes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151961"
} | starcoder | // Copyright 2020 Unity Technologies All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... | 2.209249 | e627f519238c58aefe24fc879b4ef990 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832742 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "navigati0n/ActivityAnalysis",
"max_stars_repo_path": "ActivityAnalysis.WPF/ViewModels/TimeAnalysisViewModels/MonthTimeActivityViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151962"
} | starcoder | <filename>ActivityAnalysis.WPF/ViewModels/TimeAnalysisViewModels/MonthTimeActivityViewModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Media;
using ActivityAnalysis.Domain.Models;
using ActivityAnalysis.WPF.Helpers;
namespace ActivityAnalysis.WPF.ViewModels.TimeAnalysis... | 3.005708 | 4798b94a355ff4b1d582eb5c2f964560 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832743 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "luizfbicalho/Camunda.NET",
"max_stars_repo_path": "camunda-bpm-platform-net/engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/dto/runtime/FilterQueryDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151963"
} | starcoder | using System.Collections.Generic;
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under t... | 1.927154 | 0b5e75d8aba37664e9201056d2f5124c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832744 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "mrahhal/MR.Augmenter",
"max_stars_repo_path": "src/MR.Augmenter/APropertyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151964"
} | starcoder | using System;
using System.Reflection;
using MR.Augmenter.Internal;
namespace MR.Augmenter
{
public class APropertyInfo
{
public APropertyInfo(PropertyInfo pi, TypeInfoWrapper tiw, TypeConfiguration tc)
{
PropertyInfo = pi;
TypeInfoWrapper = tiw;
TypeConfiguration = tc;
GetValueFunc = PropertyHelper... | 2.452686 | 8af4d881dee44e2db0c9dca1dffea03e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832745 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "trafficguide/alt-routes",
"max_stars_repo_path": "subrepo/RouteInfoGenerator/RouteInfoGenerator/Extractors/RouteStopExtractor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151965"
} | starcoder | <filename>subrepo/RouteInfoGenerator/RouteInfoGenerator/Extractors/RouteStopExtractor.cs
using RouteInfoGenerator.DataTypes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace RouteInfoGenerator.Extractors
{
class RouteSt... | 2.800786 | 493ace92cbfadb23dd461fb560469837 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832746 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "egil/DocXml",
"max_stars_repo_path": "test/DocXmlUnitTests/ReflectionExtensionsUnitTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151966"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Reflection.Metadata.Ecma335;
using System.Text;
using DocXml.Reflection;
using System.Reflection;
using DocXmlUnitTests.TestData.Reflection;
#pragma warning disable CS1591
namespace DocXmlUnitTests
{
... | 2.402278 | 4eff47e4559411c73f38accef4fa53e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832747 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "tjeerdhans/proxyunsetter",
"max_stars_repo_path": "ProxyUnsetter/Helpers/SettingsManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151967"
} | starcoder | using System;
using System.Windows.Forms;
using Microsoft.Win32;
using ProxyUnsetter.Properties;
namespace ProxyUnsetter.Helpers
{
internal class SettingsManager
{
private readonly ProxyManager _proxyManager;
public static event EventHandler SettingsChanged;
public const string AppName... | 2.207324 | 1ab0c029e5a8c0746b0ab2923a5ddaed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832748 | {
"extension": "c-sharp",
"max_stars_count": "242.0",
"max_stars_repo_name": "wxq127/gamebuilder",
"max_stars_repo_path": "Assets/Scripts/UX/ColorWheelOld.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151968"
} | starcoder | /*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 1.909988 | 0b31339fd9e3e30fb0af8b900154fa16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832749 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lampersky/yessql",
"max_stars_repo_path": "test/YesSql.Tests/MySqlTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151969"
} | starcoder | using System;
using System.Data.Common;
using System.Threading.Tasks;
using MySqlConnector;
using Xunit;
using Xunit.Abstractions;
using YesSql.Provider.MySql;
using YesSql.Sql;
using YesSql.Tests.Indexes;
using YesSql.Tests.Models;
namespace YesSql.Tests
{
/// <summary>
/// To run MySQL inside Docker, use thi... | 2.085221 | 736bfcbf6b4172ccb28033d26db07430 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832750 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Spksh/TentacleSoftware.XmlRpc",
"max_stars_repo_path": "TentacleSoftware.XmlRpc.Core/XmlRpcErrorCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151970"
} | starcoder | namespace TentacleSoftware.XmlRpc.Core
{
public enum XmlRpcErrorCode
{
// http://xmlrpc-epi.sourceforge.net/specs/rfc.fault_codes.php
//-32700 ---> parse error. not well formed
//-32701 ---> parse error. unsupported encoding
//-32702 ---> parse error. invalid character fo... | 2.319755 | e1f88a09192b39b7a1a0cde723c32787 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832751 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "pietervdvn/OsmBot",
"max_stars_repo_path": "OsmBot/OsmBot/Download/StreamExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151971"
} | starcoder | <reponame>pietervdvn/OsmBot
using System;
using System.Collections.Generic;
using NetTopologySuite.Geometries;
using OsmBot.WikipediaTools;
using OsmSharp;
using OsmSharp.Complete;
// ReSharper disable PossibleInvalidOperationException
namespace OsmBot.Download
{
public static class StreamExtensions
{
... | 2.78401 | 9988d15d86332f31e578fd806f3783ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832752 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmarino/Sunchasers",
"max_stars_repo_path": "Assets/Scripts/Player/BreathingListener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151972"
} | starcoder | <reponame>dmarino/Sunchasers
using System.Collections;
using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.UI;
public class BreathingListener : MonoBehaviour
{
#region Singleton
public static BreathingListener Instance;
private void Awake()
{
if (Instance == null)
{
... | 2.260111 | 13de915eaa4fbab42c2ff4f8a534a392 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832753 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "yang827/PmlUnit",
"max_stars_repo_path": "PmlUnit.Tests/InstantTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151973"
} | starcoder | // Copyright (c) 2019 <NAME>.
// Licensed under the MIT License: https://opensource.org/licenses/MIT
using System;
using NUnit.Framework;
namespace PmlUnit.Tests
{
[TestFixture]
[TestOf(typeof(Instant))]
public class InstantTest
{
[Test]
public void FromMilliseconds_CalculatesCorrectTi... | 2.738165 | de8cdc51fbc6c794693512e753e7946e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832754 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ukaratas/smartplaces",
"max_stars_repo_path": "sp.iot.core/Services/ConstantStrings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151974"
} | starcoder |
using Microsoft.Extensions.DependencyInjection;
namespace sp.iot.core
{
public static class ConstantStrings
{
public static class SqlQueries
{
public static class GadgetDefinition
{
public static class Get
{
public con... | 2.354459 | c692dd7c6afbcbf10012bdbda1eb67dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832755 | {
"extension": "c-sharp",
"max_stars_count": "231.0",
"max_stars_repo_name": "brandhuf/ArchUnitNET",
"max_stars_repo_path": "ArchUnitNET/Loader/InstructionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151975"
} | starcoder | // Copyright 2019 <NAME> <<EMAIL>>
// Copyright 2019 <NAME> <<EMAIL>>
// Copyright 2019 <NAME> <<EMAIL>>
//
// SPDX-License-Identifier: Apache-2.0
using System;
using JetBrains.Annotations;
using Mono.Cecil;
using Mono.Cecil.Cil;
namespace ArchUnitNET.Loader
{
public static class InstructionExtensions
{
... | 2.125251 | 8810b787f83f5f0f9f46785fc476d886 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832756 | {
"extension": "c-sharp",
"max_stars_count": "1796.0",
"max_stars_repo_name": "earizon/Nethereum",
"max_stars_repo_path": "src/Nethereum.RPC.IntegrationTests/Testers/EthGetCodeTester.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151976"
} | starcoder | <reponame>earizon/Nethereum
using System;
using System.Threading.Tasks;
using Nethereum.JsonRpc.Client;
using Nethereum.RPC.Eth;
using Xunit;
namespace Nethereum.RPC.Tests.Testers
{
public class EthGetCodeTester : RPCRequestTester<string>
{
[Fact]
public async void Should()
{
... | 2.21585 | c9617ab43544ffb98ad76e775a32e47d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832757 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Alangulo/ICUHelper",
"max_stars_repo_path": "backend/ICUHelperFunctions/Model/DatePatients.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151977"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
using System.Text.Json.Serialization;
namespace ICUHelperFunctions
{
public class DatePatients
{
public int history_number { get; set; }
public string full_name { get; set; }
... | 1.848851 | 35debed0af4fd0767bcac96a23481d30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832758 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SaurabhSharma-MSFT/azure-cosmos-dotnet-v3",
"max_stars_repo_path": "Microsoft.Azure.Cosmos.Encryption/src/MdeSrc/Cryptography/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151978"
} | starcoder | //------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
// This file isn't generated, but this comment is necessary to exclude it from StyleCop analysis.
// <auto-generated/>
using Syste... | 1.205298 | c0324225e7fef1939c8a3d2d1e43b979 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832759 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VirtualPhotonics/Vts.Silverlight",
"max_stars_repo_path": "src/Vts.Gui.Silverlight/ViewModel/Application/Panels/MonteCarlo/MonteCarloSolverViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151979"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.IsolatedStorage;
using System.Linq;
using System.Reflection;
using System.Security;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using GalaSoft.MvvmLight.Command;
using SLExtensions.Input;
using Vts.Common;
... | 1.852266 | 7ab02011c2c26ab3dea20b96e0aaa2a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832760 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tajwal/Advanced-Algorithms",
"max_stars_repo_path": "Advanced.Algorithms.Tests/Combinatorics/Subset_Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151980"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Advanced.Algorithms.Combinatorics;
namespace Advanced.Algorithms.Tests.Combinatorics
{
[TestClass]
public class Subset_Tests
{
... | 2.867581 | 87fe040a1096b3e3eb31a65a8026d810 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832761 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "9swampy/DeepNestSharp",
"max_stars_repo_path": "DeepNestSharp/Ui/Behaviors/PolygonMouseHover.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151981"
} | starcoder | namespace DeepNestSharp.Ui.Behaviors
{
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Interactivity;
using DeepNestSharp.Domain.Models;
using DeepNestSharp.Domain.ViewModels;
public class PolygonMouseHover : Behavior<FrameworkElement>
{
privat... | 2.101293 | 8d5273de7ec33229b377b7b1adeffac0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832762 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Mike737377/NProcessPipe",
"max_stars_repo_path": "src/NProcessPipe/InternalOperations/RowProcessingBeginningOperation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151982"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NProcessPipe.InternalOperations
{
internal class RowProcessingBeginningOperation<TOperationRow, TOperationContext> : IOperation<TOperationRow, TOperationContext>
where TOperationRow : cla... | 2.548765 | 722beb7f891fe34658c4743474e10684 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832763 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PTRPlay/PrompterPro",
"max_stars_repo_path": "Main/SoftServe.ITA.PrompterPro/PrompterPro.WebApplication/Models/Mappers/Impl/DiagnosticsMapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151983"
} | starcoder | <filename>Main/SoftServe.ITA.PrompterPro/PrompterPro.WebApplication/Models/Mappers/Impl/DiagnosticsMapper.cs
using System.Data.Entity;
using SoftServe.ITA.PrompterPro.Domain.Models;
namespace SoftServe.ITA.PrompterPro.WebApplication.Models.Mappers.Impl
{
public class DiagnosticsMapper : IDiagnosticsMapper
{
... | 2.291402 | 0cba9c05412854e4f9eb53024a1dad82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832764 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Platonenkov/MathCore",
"max_stars_repo_path": "MathCore/MathParser/ExpressionTrees/Nodes/MultiplicationOperatorNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151984"
} | starcoder | using System.Linq.Expressions;
using MathCore.Extensions.Expressions;
namespace MathCore.MathParser.ExpressionTrees.Nodes
{
/// <summary>Узел дерева мат.выражения, реализующий оператор умножения "*"</summary>
public class MultiplicationOperatorNode : OperatorNode
{
public const string NodeName = "... | 3.22444 | 43f1543f476420be564ee5ed8c87da4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832765 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jonnyzzz/phd-project",
"max_stars_repo_path": "dsis/src/Utils/src/OneTreadExecutor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151985"
} | starcoder | using System;
using System.Threading;
using log4net;
namespace DSIS.Utils
{
public class OneTreadExecutor : IExecutorService, IDisposable
{
private static readonly ILog LOG = LogManager.GetLogger(typeof (OneTreadExecutor));
private readonly SimpleConcurentQueue<ActionHolder> myQueue = new Simple... | 2.815471 | f149e71f906685c93cba050e0b14d6ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832766 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "adamspicer/.NET-MAPI-Wrapper",
"max_stars_repo_path": "tests/BrightcoveOS .NET-MAPI-Wrapper.Tests/IntegrationTests/VideoWrite/UpdateVideoTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151986"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BrightcoveMapiWrapper.Model.Items;
using NUnit.Framework;
namespace BrightcoveOS.NET_MAPI_Wrapper.Tests.IntegrationTests.VideoWrite
{
[TestFixture]
public class UpdateVideoTests : VideoWriteTestBase
{
private ... | 2.484813 | 8a72428a87f07849b6428ad0ce6232d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832767 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uranium62/gumbo",
"max_stars_repo_path": "src/Standart.Html.Parser.Gumbo/HtmlAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151987"
} | starcoder | <reponame>uranium62/gumbo
namespace Standart.Html.Parser.Gumbo
{
using System;
using System.Collections.Generic;
/**
* The entity representing a single attribute on an HTML tag. This is a
* name-value pair, but also includes information about source locations and
* original source text.
*... | 2.944182 | 2dd205891ae532b2bb5084f69bb7041d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832768 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wenbinke/susucms",
"max_stars_repo_path": "SusuCMS/Web/Routing/PageRouteHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151988"
} | starcoder | using System.Linq;
using System.Web;
using System.Web.Routing;
using System;
namespace SusuCMS.Web.Routing
{
public class PageRouteHandler : System.Web.Mvc.MvcRouteHandler
{
protected override IHttpHandler GetHttpHandler(RequestContext requestContext)
{
var dataContext = WorkConte... | 2.204752 | 9af1e5eb18d43dc85d9a769308c01b81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832769 | {
"extension": "c-sharp",
"max_stars_count": "7400.0",
"max_stars_repo_name": "epicwebgame/screen",
"max_stars_repo_path": "src/Captura.NAudio/NAudioItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151989"
} | starcoder | using System;
using NAudio.CoreAudioApi;
using NAudio.Wave;
namespace Captura.Audio
{
class NAudioItem : IAudioItem
{
public MMDevice Device { get; }
public bool IsLoopback { get; }
AudioClient _audioClient;
public void StartListeningForPeakLevel()
{
if (... | 2.351185 | 1fd80616e15265fcd6f9711e4769b870 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832770 | {
"extension": "c-sharp",
"max_stars_count": "92.0",
"max_stars_repo_name": "Galang23/OnePomodoro",
"max_stars_repo_path": "OnePomodoro/OnePomodoro/Controls/PomodoroStateButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151990"
} | starcoder | using System;
using System.Collections.Generic;
using Windows.UI;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace OnePomodoro.Controls
{
[TemplateVisualState(GroupName = ProgressStatesName, Name = Idl... | 2.274438 | a3c2d46bf2b6cb6c667b8fe97e3a50ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832771 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cympatic/stub",
"max_stars_repo_path": "source/Server/Cympatic.Stub.Server/RouteTransformer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151991"
} | starcoder | <filename>source/Server/Cympatic.Stub.Server/RouteTransformer.cs
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Routing;
using Microsoft.AspNetCore.Routing;
using System.Threading.Tasks;
namespace Cympatic.Stub.Server
{
public class RouteTransformer : DynamicRouteValueTransformer
{
pu... | 2.293261 | cb7a246d07a47e91228e9f5efedb8b4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832772 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "rudderlabs/rudder-sdk-unity",
"max_stars_repo_path": "Integrations/Firebase/RudderFirebase/RudderFirebaseIntegration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151992"
} | starcoder | using System.Collections.Generic;
using RudderStack;
using RudderStack.MiniJSON;
namespace RudderStack
{
class RudderFirebaseIntegration : RudderIntegration
{
public RudderFirebaseIntegration(Dictionary<string, object> config, RudderClient client, RudderConfig rudderConfig)
{
Rudder... | 2.342119 | 5b911c3d1cec0aaf10c33a607c5cc776 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832773 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shahedbd/DotNetCoreRestAPI",
"max_stars_repo_path": "Sln.DotNetCoreRestAPI/DotNetCoreRestAPI/LIB/IAuth.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151993"
} | starcoder | <gh_stars>0
namespace DotNetCoreRestAPI.LIB
{
public interface IAuth
{
string GenerateJSONWebToken(int ExpireIn);
string GenerateRefreshToken();
}
}
| 1.294397 | e1b0aec8f21e6244fddb6f375531d33c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832774 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "s-alapin-aras/vm-sample-application",
"max_stars_repo_path": "Files/Innovator/Client/Modules/aras.innovator.VariantManagementSample/Views/breakdownItemResolutionPage.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:151994"
} | starcoder | <reponame>s-alapin-aras/vm-sample-application<gh_stars>1-10
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="@Url.ContentWithSalt("~/javascript/include.aspx?classes=common.min.css,DynamicTreeGrid.css")" />
<link rel="stylesheet" href="@Url.ContentWithSalt("~/Modules/aras.innovator.core.EffectivitySe... | 1.292599 | e5d72dd37d2caf6bf51a7e175a5ecd0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832775 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "komo97/MyLifeSAE",
"max_stars_repo_path": "LuaUnity/LuaUnityPlugIn/Lua.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151995"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace LuaUnityPlugIn
{
public class Lua
{
// From c++ Dll (unmanaged)
[DllImport("LuaUnity")]
public static extern float Load(float a, float b);
}
}
| 1.859514 | f44b649017f95889d4aff24644f7bdf5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832776 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeCity/Lykke.Service.NeoApi",
"max_stars_repo_path": "src/Lykke.Service.NeoApi.AzureRepositories/Transaction/ObservableOperationRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151996"
} | starcoder | <gh_stars>0
using System;
using System.Threading.Tasks;
using AzureStorage;
using Lykke.Service.NeoApi.Domain.Helpers;
using Lykke.Service.NeoApi.Domain.Repositories.Transaction;
using Lykke.Service.NeoApi.Domain.Repositories.Transaction.Dto;
namespace Lykke.Service.NeoApi.AzureRepositories.Transaction
{
internal... | 1.571921 | 9d862bc3c085c690534c61f74d6c19fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832777 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "pulumi/pulumi-aws-native",
"max_stars_repo_path": "sdk/dotnet/CloudFormation/GetStack.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151997"
} | starcoder | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.AwsN... | 1.933512 | af89c7aaaf460d0c7802ddb8942292d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832778 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "connorhaigh/Provisum",
"max_stars_repo_path": "Provisum.Wpf.Mvvm/Views/ConfirmationView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151998"
} | starcoder | <reponame>connorhaigh/Provisum<filename>Provisum.Wpf.Mvvm/Views/ConfirmationView.xaml.cs
using System.Media;
using System.Windows;
namespace Provisum.Wpf.Mvvm.Views
{
/// <summary>
/// Represents a confirmation view.
/// </summary>
public partial class ConfirmationView : Window
{
/// <summary>
///... | 1.734948 | b7f202bd99e2b605e43e77d5981f11bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832779 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "bacca87/great2",
"max_stars_repo_path": "Great/Views/Pages/StatisticsView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151999"
} | starcoder | using GalaSoft.MvvmLight.Ioc;
using Great2.Utils;
using Great2.ViewModels;
using Great2.Views.Dialogs;
using MahApps.Metro.Controls;
using System;
using System.Windows;
using System.Windows.Controls;
namespace Great2.Views.Pages
{
/// <summary>
/// Interaction logic for Statistics.xaml
/// </summary>
... | 1.916366 | 772466f75069609cac4cb605f570c6c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832780 | {
"extension": "c-sharp",
"max_stars_count": "470.0",
"max_stars_repo_name": "Nmnaren/azuredevopssitecore",
"max_stars_repo_path": "src/Feature/Accounts/code/Services/INotificationService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152000"
} | starcoder | <reponame>Nmnaren/azuredevopssitecore
namespace Sitecore.Feature.Accounts.Services
{
public interface INotificationService
{
void SendPassword(string email, string newPassword);
}
} | 1.27234 | 7cb4913218f19c81cd439dc155245c59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832781 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "p041911070/EShop",
"max_stars_repo_path": "modules/EasyAbp.EShop.Payments/src/EasyAbp.EShop.Payments.Domain/EasyAbp/EShop/Payments/Payments/Payment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152001"
} | starcoder | using System;
using System.Collections.Generic;
using JetBrains.Annotations;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
namespace EasyAbp.EShop.Payments.Payments
{
public class Payment : FullAuditedAggregateRoot<Guid>, IMultiTenant
{
public virtual Guid? TenantId { get; prote... | 2.282444 | b70e11b1be938c1697749352fa870651 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832782 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "elisoncrum/piipan",
"max_stars_repo_path": "match/src/Piipan.Match/Piipan.Match.Core/Validators/OrchMatchRequestValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152002"
} | starcoder | using Piipan.Match.Api.Models;
using FluentValidation;
namespace Piipan.Match.Core.Validators
{
/// <summary>
/// Validates the whole API match request from a client
/// </summary>
public class OrchMatchRequestValidator : AbstractValidator<OrchMatchRequest>
{
private readonly int MaxPersons... | 2.617402 | 72df00f722b988e1a64876a205925218 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832783 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "navferty/NavfertyExcelAddIn",
"max_stars_repo_path": "NavfertyExcelAddIn/Localization/RibbonLabels.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152003"
} | 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>
//--... | 2.037865 | 1da6741eb57a51f9e1381a546edb4881 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832784 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jxz12/EcoBuilder",
"max_stars_repo_path": "Assets/Archie/Scripts/Organism.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152004"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEditor;
namespace EcoBuilder.Archie
{
public class Organism : marching_cubes
{
protected class corporial{
public metaball[] joints; // array containing the metaballs th... | 2.499941 | 31fe0d9d5c184815c246ea0bd1608cd8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832785 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Xomega-Net/Xomega.Tutorial",
"max_stars_repo_path": "AdventureWorks/AdventureWorks.Services.Entities/Entities/Sales/SpecialOfferConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152005"
} | starcoder | <filename>AdventureWorks/AdventureWorks.Services.Entities/Entities/Sales/SpecialOfferConfig.cs
//---------------------------------------------------------------------------------------------
// This file was AUTO-GENERATED by "EF Domain Objects" Xomega.Net generator.
//
// Manual CHANGES to this file WILL BE LOST when ... | 2.265266 | be9c8a4ef185fb1df7cbda083ac3ab84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832786 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "QKom/OnTimeGCApi-Example",
"max_stars_repo_path": "OnTimeGCApi/Value/GroupUserIds/GroupUserIdsResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152006"
} | starcoder | <gh_stars>1-10
namespace OnTimeGCApi
{
public class GroupUserIdsResult : BaseResult
{
public GroupUserIdsItem GroupUserIDs { get; set; }
}
} | 1.258635 | 52e3795a2edea8d0607234c4d9900956 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832787 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "HavenDV/HomeCenter",
"max_stars_repo_path": "src/apps/HomeCenter.WPF/Utilities/HWindowManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152007"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows;
using Caliburn.Micro;
namespace HomeCenter.NET.Utilities
{
public class HWindowManager : WindowManager
{
public async Task<Window> CreateWindowAsync(object rootModel, object? context = null, IDictionary<string, objec... | 1.924271 | 96173a7aad452545c72721ad78f7fcfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832788 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "efthymios-ks/CoreSharp",
"max_stars_repo_path": "CoreSharp/Models/EqualityComparers/EnumerableEqualityComparer`1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152008"
} | starcoder | using CoreSharp.Extensions;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace CoreSharp.Models.EqualityComparers
{
public class EnumerableEqualityComparer<TEntity> : IEqualityComparer<IEnumerable<TEntity>>
{
//Fields
[DebuggerBrowsable(Debug... | 3.1404 | 0331593562a6e81ae1c38ea087bb9a1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832789 | {
"extension": "c-sharp",
"max_stars_count": "1222.0",
"max_stars_repo_name": "cmenzi/stryker-net",
"max_stars_repo_path": "integrationtest/TargetProjects/SharedProject/SharedClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152009"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace SharedProject
{
public class SharedClass
{
public int ThisShouldBeMutatedToo()
{
return 1 + 1;
}
}
}
| 2.09469 | 17b0f0798cb1a5daf8d1401bd8029923 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832790 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "AerysBat/XNALara",
"max_stars_repo_path": "PoseImportExport.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152010"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Windows.Forms;
namespace XNALara
{
public partial class ControlGUI : Form
{
private void LoadPose(string filename) {
try {
StreamReader file = new StreamReader(filename);
List<stri... | 2.565299 | da22ea026e9e88464fa945ccd0c42aba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832791 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Assimalign-LLC/asal-dotnet-extensions",
"max_stars_repo_path": "src/linq/src/Assimalign.Extensions.Linq.Serialization/Nodes/LinqExpressionIndexNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152011"
} | starcoder | using System;
using System.Linq.Expressions;
using System.Runtime.Serialization;
namespace Assimalign.Extensions.Linq.Serialization.Nodes;
[Serializable]
[DataContract(Name = "X")]
public class LinqExpressionIndexNode : LinqExpressionNode<IndexExpression>
{
public LinqExpressionIndexNode() { }
public LinqE... | 2.138864 | a9f7918102eee953f59cec82194767a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832792 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "VisualAcademy/DotNet",
"max_stars_repo_path": "DotNet/DotNet/06_Number/03_UnsignedInteger/UnsignedInteger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152012"
} | starcoder | <filename>DotNet/DotNet/06_Number/03_UnsignedInteger/UnsignedInteger.cs<gh_stars>1-10
// 부호 없는 정수 데이터 형식: byte, ushort, uint, ulong
using System;
class UnsignedInteger
{
static void Main()
{
byte iByte = 255; // 8비트 부호 없는 정수형 변수 선언 및 할당
ushort iUInt16 = 65535; ... | 3.780397 | 18cc0fd16f6a9a54742143f62d2649a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832793 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "sputier/CQELight",
"max_stars_repo_path": "src/CQELight.Buses.AzureServiceBus/Server/AzureServiceBusServer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152013"
} | starcoder | using CQELight.Abstractions.Events.Interfaces;
using CQELight.Buses.InMemory.Events;
using CQELight.Tools.Extensions;
using Microsoft.Azure.ServiceBus;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Debug;
using System;
using System.Linq;
using System.Text;
using System.Threading;
using System.... | 2.297106 | 196de43ef6fba0aa0841a767ee13e6f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832794 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "antosubash/ThemeChange",
"max_stars_repo_path": "src/ThemeChange.EntityFrameworkCore/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152014"
} | starcoder | using System.Runtime.CompilerServices;
[assembly:InternalsVisibleToAttribute("ThemeChange.EntityFrameworkCore.Tests")]
| 0.827842 | 5a9855fc349dcbf63809277a7ff0fc6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832795 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "luxiaodong/Game",
"max_stars_repo_path": "Assets/Thirdparty/StompyRobot/SRDebugger/Scripts/Services/IProfilerService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152015"
} | starcoder | using CircularBuffer;
namespace SRDebugger.Services
{
public struct ProfilerFrame
{
public double FrameTime;
public double OtherTime;
public double RenderTime;
public double UpdateTime;
}
public interface IProfilerService
{
float AverageFrameTime { get; }
... | 2.070066 | 14569e0e8115bf4eb6ac848192156b2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832796 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iNeverSleeeeep/NPOI-For-Unity",
"max_stars_repo_path": "NPOI.HSSF.Record.Chart/PlotAreaRecord.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152016"
} | starcoder | using NPOI.Util;
using System.Text;
namespace NPOI.HSSF.Record.Chart
{
/// * preceeds and identifies a frame as belonging to the plot area.
/// * NOTE: This source is automatically generated please do not modify this file. Either subclass or
/// * Remove the record in src/records/definitions.
///
/// * @au... | 2.171585 | ed2a5c226286bac17695deddad27e2e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832797 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uxb2bralph/IFS-EIVO03",
"max_stars_repo_path": "eIVOGo/Buyer/TestPostBackEvent.ascx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152017"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MyInvoice.Buyer
{
public partial class TestPostBackEvent : System.Web.UI.UserControl,IPostBackDataHandler
{
protected void Page_Load(object sender, Event... | 2.167682 | 590f4e3b5c92af5c8996c18b570440c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832798 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chochohtunn/santedb",
"max_stars_repo_path": "SanteDB.Persistence.Data.ADO/Services/Persistence/PlacePersistenceService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152018"
} | starcoder | /*
* Based on OpenIZ - Based on OpenIZ, Copyright (C) 2015 - 2019 Mohawk College of Applied Arts and Technology
* Portions Copyright 2019-2020, Fyfe Software Inc. and the SanteSuite Contributors (See NOTICE)
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except i... | 1.973049 | 9b6017e15e9499db3f9d64e230aa287d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832799 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emreyigit/hazelcast-csharp-client",
"max_stars_repo_path": "src/Hazelcast.Net.Tests/DotNet/ExceptionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152019"
} | starcoder | // Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by... | 2.450237 | 5709c90f5f3a16f6dd9eaa3806db00ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832800 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yoowonyoung/TizenFX",
"max_stars_repo_path": "src/Tizen.Multimedia.AudioIO/AudioIO/AudioCapture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152020"
} | starcoder | /*
* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the License);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | 2.374102 | e1ac1de4b9fa3aa630c3454ea4b24e82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832801 | {
"extension": "c-sharp",
"max_stars_count": "158.0",
"max_stars_repo_name": "ViseEngine/SLED",
"max_stars_repo_path": "tool/SledProject/SledChangeAssetDirectoryForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152021"
} | starcoder | /*
* Copyright (C) Sony Computer Entertainment America LLC.
* All Rights Reserved.
*/
namespace Sce.Sled.Project
{
partial class SledChangeAssetDirectoryForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components =... | 1.760554 | b6820ddd38b82100370ec84b5dd98f32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832802 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "waiq321/POS",
"max_stars_repo_path": "ERPWorking/ERPApp.Core/ReceiveSub.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152022"
} | starcoder | <reponame>waiq321/POS
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ERPApp.Core
{
public class ReceiveSub
{
[Key]
public int RSId { get; set; }
public i... | 1.945753 | 35cb9a49d58445807cfc2faebd1b18a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832803 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wangluci/MZFrame",
"max_stars_repo_path": "TemplateAction/Core/Plugin/Node.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152023"
} | starcoder | <reponame>wangluci/MZFrame
using System;
using System.Collections.Generic;
namespace TemplateAction.Core
{
public abstract class Node
{
protected string mDescript = "";
public string Descript
{
get { return mDescript; }
}
protected int mSort;
... | 2.390974 | f22a7341f2fa1d20f3bcc037e8bd7d8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832804 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lucas1619/TPC-BACKEND",
"max_stars_repo_path": "TPC-UPC/Controllers/NotificationTypeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152024"
} | starcoder | <filename>TPC-UPC/Controllers/NotificationTypeController.cs
using AutoMapper;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TPC_UPC.API.Extensions;
using Swashbuckle.AspNetCore.Annotations;
using T... | 2.21778 | da2024b4d0d24b29da20e3a254e4ae9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832805 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "starkmsu/Lykke.HftApiV2",
"max_stars_repo_path": "src/Lykke.HftApi.Domain/Services/ISiriusWalletsService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152025"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Lykke.HftApi.Domain.Entities.Assets;
using Lykke.HftApi.Domain.Entities.DepositWallets;
namespace Lykke.HftApi.Domain.Services
{
public interface ISiriusWalletsService
{
Task<Asset> CheckDepositPreconditionsAsync(strin... | 1.590077 | ca8d55ae99fc352ea8238923a8a38dd6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832806 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "eriksk/GitHubGameOff2018",
"max_stars_repo_path": "Assets/_Project/Scripts/Game/Helpers/SetAsChildOnStart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152026"
} | starcoder | using UnityEngine;
public class SetAsChildOnStart : MonoBehaviour
{
public Transform Parent;
public Vector3 LocalStartPosition;
public Vector3 LocalStartRotation;
public void Start()
{
transform.SetParent(Parent);
transform.localPosition = LocalStartPosition;
transform.loca... | 2.007475 | 3e4e61061de46760ef67a9c00dc814a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832807 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MarcBruins/Walker-Xamarin-Android",
"max_stars_repo_path": "Sample/MainActivity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152027"
} | starcoder | <filename>Sample/MainActivity.cs<gh_stars>1-10
using Android.App;
using Android.Widget;
using Android.OS;
using Android.Support.V4.App;
using Android.Support.V4.View;
using Android.Support.V7.App;
using Walker;
namespace Sample
{
[Activity(Label = "Sample", MainLauncher = true, Icon = "@mipmap/icon", Theme = "@st... | 2.473567 | 7081f25175727d48f464457ad22b8566 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832808 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "aslamovyura/icare-on-microservices",
"max_stars_repo_path": "Services/DataProcessor/DataProcessor.API/Common/Constants/DataProcessorConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152028"
} | starcoder | namespace DataProcessor.API.Common.Constants
{
/// <summary>
/// Data processor common constants.
/// </summary>
public class DataProcessorConstants
{
/// <summary>
/// Data processing conflict
/// </summary>
public const string DATA_PROCESSING_CONFLICT = "Data proce... | 2.113245 | fd4950fb3bc67a922012a20f44e3fd6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amelkor/IcyLight",
"max_stars_repo_path": "IcyLight.Distribution.Impl/Services/Downloader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152029"
} | starcoder | namespace IcyLight.Distribution.Impl.Services
{
public class Downloader
{
}
} | 0.782756 | 8c72b1ddd9e697fb14682937a6e55594 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832810 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "aluanhaddad/RefactoringEssentials",
"max_stars_repo_path": "Tests/CSharp/CodeRefactorings/ToAbstractVirtualNonVirtualConversionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152030"
} | starcoder | using RefactoringEssentials.CSharp.CodeRefactorings;
using Xunit;
namespace RefactoringEssentials.Tests.CSharp.CodeRefactorings
{
public class ToAbstractVirtualNonVirtualConversionTests : CSharpCodeRefactoringTestBase
{
[Fact]
public void VirtualToNonVirtualTest()
{
Test<ToA... | 2.352952 | c037124052778a6026545fb176732ec3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832811 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pointcache/Unity3d-CSVDatabase",
"max_stars_repo_path": "CSVDatabase/CSVDatabase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152031"
} | starcoder | using UnityEngine;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
[Serializable]
public class CSVObject {
public CSVObject(string _name, string _path, string _parent) {
name = _name;
path = _path;
parent = _parent;
}
public st... | 2.664969 | 79bacc0f979e2af8a0f93fd018227141 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.