added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3137 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Michalau/Kros.Libs",
"max_stars_repo_path": "Kros.KORM/src/Kros.KORM/Properties/Resources.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3138"
} | 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.119687 | 36f572596920779f4c8051ef6b72297f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3138 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BorislavVladimirov/Microinvest-Academy",
"max_stars_repo_path": "MicroinvestStringsAndFunctions/fibonachiWithRecursion/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3139"
} | starcoder | using System;
namespace fibonachiWithRecursion
{
public class Program
{
public static void Main(string[] args)
{
int indexOfSequence = 0;
if (int.TryParse(Console.ReadLine(), out indexOfSequence))
{
int currentIndex = 1;
int ... | 3.900577 | a3b699166080f3ae5751d588865bf5c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3139 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wagnerhsu/dotnet-roslyn-analyzers",
"max_stars_repo_path": "src/Utilities/FlowAnalysis/FlowAnalysis/Framework/DataFlow/PredicatedAnalysisData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3140"
} | starcoder | <reponame>wagnerhsu/dotnet-roslyn-analyzers
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Analyzer.Utili... | 2.024977 | 77ba0f91ea68bf1862e9bb8a5d745216 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3140 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "futsuki/jurassic",
"max_stars_repo_path": "Jurassic/Compiler/Parser/Parser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3141"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using ErrorType = Jurassic.Library.ErrorType;
namespace Jurassic.Compiler
{
/// <summary>
/// Converts a series of tokens into an abstract syntax tree.
/// </summary>
internal sealed class ... | 2.774814 | 5321fc1a851c8f185b091836ba017f3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3141 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jcoleson/jcoleson.github.io",
"max_stars_repo_path": "colesonstatiq/theme/input/_layout-simple.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:3142"
} | starcoder | <!DOCTYPE html>
<html lang="en-us">
<head>
@Html.Partial("_partials/_head")
@RenderSection("head", required: false)
</head>
<body class="main">
<main id="page_container" role="main">
@RenderBody()
</main>
</body>
</html> | 1.684624 | 2af92d12ea2bea416456a3fa7ba79bc3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3142 | {
"extension": "c-sharp",
"max_stars_count": "327.0",
"max_stars_repo_name": "TaffyBlog/jQWidgets",
"max_stars_repo_path": "demos/ASP.NET Tag Helpers/Views/TagHelpers/TreeGrid/TreeGridConditionalFormatting.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:3143"
} | starcoder | <gh_stars>100-1000
<script src="~/jqwidgets/jqxbuttons.js"></script>
<script src="~/jqwidgets/jqxscrollbar.js"></script>
<script src="~/jqwidgets/jqxlistbox.js"></script>
<script src="~/jqwidgets/jqxdropdownlist.js"></script>
<script src="~/jqwidgets/jqxdatatable.js"></script>
<script src="~/jqwidgets/jqxtreegrid.js"><... | 2.576784 | b9ae79918efa22e66251991205725d46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3143 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tedajax/Spooky2019",
"max_stars_repo_path": "Assets/Spooky2019/Scripts/EnemySpawnPoint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3144"
} | starcoder | <reponame>tedajax/Spooky2019<filename>Assets/Spooky2019/Scripts/EnemySpawnPoint.cs
using UnityEngine;
public class EnemySpawnPoint : MonoBehaviour
{
private void OnDrawGizmos()
{
Vector3 center = transform.position + Vector3.up;
Gizmos.color = Color.red;
Gizmos.DrawSphere(center, 0.1f);
Gizmos.color = new... | 1.943215 | 59531e7b0e1f36a95bbef5fe7814144c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3144 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gaistorn/PEIUForGrid",
"max_stars_repo_path": "Hubbub/DataModel/MysqlMap/EventMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3145"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace PEIU.Models
{
public class EventMap
{
public virtual int EventId { get; set; }
public virtual int Level { get; set; }
public virtual int Type { get; set; }
public virtual string Source { ge... | 1.301417 | 190f83c7f3b2d14694ca78c8c8fe0267 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3145 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "AlzPatz/yak2d",
"max_stars_repo_path": "src/Yak2D.Api/Enums/GraphicsApi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3146"
} | starcoder | namespace Yak2D
{
/// <summary>
/// Represents the various Graphics APIs
/// </summary>
public enum GraphicsApi
{
/// <summary>
/// Allows the user to request the default Graphics API for the current system
/// </summary>
SystemDefault,
Direct3D11,
... | 2.203706 | 34520cc362b512d4f71e9918ee9b78ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3146 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JorenSchelkens/GIP",
"max_stars_repo_path": "CalculationDomain/ErasmusHogeSchool/PowerPointClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3147"
} | starcoder | <reponame>JorenSchelkens/GIP<gh_stars>0
using Syncfusion.Presentation;
using System;
namespace CalculationDomain.ErasmusHogeSchool
{
public class PowerPointClass
{
public IPresentation PowerPoint { get; set; }
private string Opleiding { get; set; }
private FilesHandler FilePathHandler ... | 2.538403 | 53eecafc8ea7d5ed356a014680a5ef21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3147 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "encosoftware/ifps",
"max_stars_repo_path": "ButorRevolutionWebAPI/src/backend/sales/IFPS.Sales.Application/Services/DataImportAppService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3148"
} | starcoder | using ENCO.DDD.Service;
using IFPS.Sales.Application.Dto;
using IFPS.Sales.Application.Interfaces;
using IFPS.Sales.Domain.Services.Interfaces;
using System.Threading.Tasks;
namespace IFPS.Sales.Application.Services
{
public class DataImportAppService : ApplicationService, IDataImportAppService
{
... | 2.16698 | 479b47f542bc8dc2138d3de091350e79 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3148 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "novaworksau/elsa-core",
"max_stars_repo_path": "src/core/Elsa.Abstractions/Attributes/ActivityDefinitionDesignerAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3149"
} | starcoder | <filename>src/core/Elsa.Abstractions/Attributes/ActivityDefinitionDesignerAttribute.cs<gh_stars>0
using System;
namespace Elsa.Attributes
{
[AttributeUsage(AttributeTargets.Class)]
public class ActivityDefinitionDesignerAttribute : Attribute
{
public string Description { get; set; }
public ... | 1.940891 | 0bd71192e7add63713f606de77e400fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3149 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "zxyacb/wpftoolkit",
"max_stars_repo_path": "ExtendedWPFToolkitSolution_35/Src/Xceed.Wpf.Toolkit/Zoombox/ZoomboxViewFinderDisplay.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3150"
} | starcoder | <filename>ExtendedWPFToolkitSolution_35/Src/Xceed.Wpf.Toolkit/Zoombox/ZoomboxViewFinderDisplay.cs
/*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2013 Xceed Software Inc.
This program is provided to you under the terms of ... | 2.061078 | ce306e4a205d3d9794d0c2fedfafeb66 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rjose/dotnet-projects",
"max_stars_repo_path": "Rino.Forthic/StackItems/StackItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3151"
} | starcoder | <reponame>rjose/dotnet-projects
using System;
using System.Dynamic;
namespace Rino.Forthic
{
public class StackItem : DynamicObject
{
virtual public void SetValue(string key, StackItem value)
{
throw new InvalidOperationException(String.Format("{0} must override SetValue",... | 2.55791 | e1636de822a074001f8b9240406c5277 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3151 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "billrob/AutoMapper",
"max_stars_repo_path": "src/AutoMapper/IMemberConfigurationExpression.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3152"
} | starcoder | namespace AutoMapper
{
using System;
using System.Linq.Expressions;
/// <summary>
/// Member configuration options
/// </summary>
/// <typeparam name="TSource">Source type for this member</typeparam>
public interface IMemberConfigurationExpression<TSource>
{
/// <summary>
... | 2.546409 | 7643a7d787aaae42e20a9064a2a0fa02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3152 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "lazlo-bonin/ludiq-reflection",
"max_stars_repo_path": "Reflection/Editor/UnityMemberDrawer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3153"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Ludiq.Controls.Editor;
using Ludiq.Reflection.Internal;
using UnityEditor;
using UnityEngine;
using UnityObject = UnityEngine.Object;
namespace Ludiq.Reflection.Editor
{
[CustomPropertyDrawer(typeof(UnityMember))]
publi... | 2.384337 | fb2bb55e5f9a10aa3f31c7d2025a81ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3153 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Nitue/MirrorPuzzle",
"max_stars_repo_path": "Assets/ZenjectPrototype/Scripts/Installers/PhotonInstaller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3154"
} | starcoder | <gh_stars>1-10
using Zenject;
using ZenjectPrototype.Entities;
using ZenjectPrototype.Entities.Capabilities;
using ZenjectPrototype.UI;
namespace ZenjectPrototype.Installers
{
public class PhotonInstaller : MonoInstaller<PhotonInstaller>
{
public Photon Photon;
public LinearMovement.Settings Mo... | 1.716515 | d788f96d0e608ec57db05f0956ca3bd9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "swoolcock/snowberry",
"max_stars_repo_path": "source/Editor/Stylegrounds/Plugin_Blackhole.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3155"
} | starcoder | <gh_stars>0
namespace Snowberry.Editor.Stylegrounds {
[Plugin("blackhole")]
internal class Plugin_Blackhole : Styleground {
public override void Render() {
base.Render();
}
}
} | 1.091359 | 632d1f39abc56ecabe9afa833762bf51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3155 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bryan2894-playgrnd/SimpleWeather",
"max_stars_repo_path": "SimpleWeather.Shared/Keys/AmbeeKey.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3156"
} | starcoder | using System;
namespace SimpleWeather.Keys
{
public static partial class APIKeys
{
public static String GetAmbeeKey()
{
return null;
}
}
} | 1.613745 | c0d0a749c0b20d3295639a66f98942ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3156 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "om2804/Xamarin.Forms",
"max_stars_repo_path": "Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla29257.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3157"
} | starcoder | <filename>Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla29257.cs
using System;
using Xamarin.Forms.CustomAttributes;
using System.Collections.Generic;
using Xamarin.Forms.Internals;
#if UITEST
using Xamarin.UITest;
using NUnit.Framework;
#endif
namespace Xamarin.Forms.Controls
{
[Preser... | 2.493412 | ff94d7ac7623d3d71c7af548ce79a1d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3157 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "innominata/GSUI2",
"max_stars_repo_path": "MonoBehaviors/GSUIToggle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3158"
} | starcoder | <reponame>innominata/GSUI2
using UnityEngine;
using UnityEngine.UI;
namespace GS
{
public class GSUIToggle : MonoBehaviour
{
public Toggle _Toggle;
public Text _labelText;
public Text _hintText;
public GSOptionCallback OnChange;
public string Hint
{
... | 1.703997 | 703d5d290e851a3a7cb98a502bff3ff2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3158 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "roydejong/MultiplayerCore",
"max_stars_repo_path": "MultiplayerCore/Objects/MpPlayersDataModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3159"
} | starcoder | using MultiplayerCore.Beatmaps;
using MultiplayerCore.Beatmaps.Abstractions;
using MultiplayerCore.Beatmaps.Packets;
using MultiplayerCore.Beatmaps.Providers;
using MultiplayerCore.Networking;
using SiraUtil.Affinity;
using SiraUtil.Logging;
using System;
using System.Linq;
namespace MultiplayerCore.Objects
{
pub... | 1.876356 | 04cf8860169c1d8c9de084cf76472c5c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3159 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lengye49/TalesOfTheImmortal",
"max_stars_repo_path": "Assets/Scripts/Tools/HpBarColor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3160"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
public class HpBarColor : MonoBehaviour {
public void ChangeValue () {
float value = GetComponent<Slider>().value;
GetComponent<Slider>().fillRect.GetComponent<Image>().color = GetColorByFloat(value);
}
Color GetColorByFloat(float value){
... | 2.379158 | b364a5da6d1bb4af1a36213e8d962ac1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3160 | {
"extension": "c-sharp",
"max_stars_count": "73.0",
"max_stars_repo_name": "eznew-net/Demo",
"max_stars_repo_path": "Application/Site.Console/Views/Sys/Permission/OperationPermissionList.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:3161"
} | starcoder | <filename>Application/Site.Console/Views/Sys/Permission/OperationPermissionList.cshtml
@{
ViewBag.Title = "操作权限";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@using EZNEW.Module.Sys;
@using EZNEW.Serialize;
@{
var statusValues = PermissionStatus.Enable.GetType().GetEnumValueAndNames();
}
<div id="page-head"... | 1.809612 | 7793ccaa116228211c9c51da464314af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3161 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eerhardt/vstest",
"max_stars_repo_path": "src/Microsoft.TestPlatform.CommunicationUtilities/Messages/MessageType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3162"
} | starcoder | <gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.ObjectModel
{
/// <summary>
/// The message type.
/// </summary... | 1.327307 | 7fca90e31ea3e9da9b99d0e31e74a813 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3162 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hk92a/OpenBullet2",
"max_stars_repo_path": "OpenBullet2.Native/Converters/BooleanConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3163"
} | starcoder | <reponame>Hk92a/OpenBullet2<filename>OpenBullet2.Native/Converters/BooleanConverter.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media;
namespace OpenBullet2.Native.Converters
{
// From https://stackoverflow.co... | 2.952545 | 4ea869d0c9de00a17158c4f9067cad7f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3163 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeanluctritsch/CommunityServer",
"max_stars_repo_path": "module/ASC.Mail.Autoreply/ASC.Mail.Core/Net/RTP/RTP_ReceiveStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3164"
} | starcoder | /*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* 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 appli... | 1.943651 | 801afa14a5bf2fac16dae009d5b559e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3164 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HouseBreaker/Programming-Fundamentals",
"max_stars_repo_path": "03. Arrays/Arrays Exercises/10. Pairs by Difference/PairsByDifference.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3165"
} | starcoder | namespace _10.Pairs_by_Difference
{
using System;
using System.Linq;
public static class PairsByDifference
{
public static void Main(string[] args)
{
var arr = Console.ReadLine().Split().Select(int.Parse).ToArray();
var difference = int.Parse(Console.ReadLine());
var pairsWithDifference = 0;
for ... | 3.799773 | 1b22e577421fc0e2ae08af37707b6585 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3165 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nantoubus/nantoubus",
"max_stars_repo_path": "trunk/Nantou_bus/Nantou_bus/Nantou_bus/Model.TransportData/News.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3166"
} | starcoder | <reponame>nantoubus/nantoubus<filename>trunk/Nantou_bus/Nantou_bus/Nantou_bus/Model.TransportData/News.cs
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Net;
namespace Nantou_bus.Model.TransportData
{
public class News
{
public string id { get; set; }
public string title... | 2.500887 | 135aa6e600cd4124181af7f5d4f1cb93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3166 | {
"extension": "c-sharp",
"max_stars_count": "520.0",
"max_stars_repo_name": "Aequitash/StackExchange.Redis.Extensions",
"max_stars_repo_path": "tests/StackExchange.Redis.Extensions.Core.Tests/Serializers/ProtobufSerializeTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3167"
} | starcoder | using StackExchange.Redis.Extensions.Protobuf;
namespace StackExchange.Redis.Extensions.Core.Tests.Serializers
{
public class ProtobufSerializeTest : CacheClientTestBase
{
public ProtobufSerializeTest()
: base(new ProtobufSerializer())
{
}
}
}
| 1.095564 | dfd5a63b86bdcdf138a756f6eb8d7c4c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3167 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Brightspace/D2L.Security.OAuth2",
"max_stars_repo_path": "src/D2L.Security.OAuth2/Validation/Request/RequestValidationConstants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3168"
} | starcoder | namespace D2L.Security.OAuth2.Validation.Request {
internal static class RequestValidationConstants {
internal static class Headers {
internal const string AUTHORIZATION = "Authorization";
}
internal static class BearerTokens {
internal const string SCHEME = "Bearer";
internal const string SCH... | 1.603384 | ba05d8b1d9d2f952cb713bf5f13072b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3168 | {
"extension": "c-sharp",
"max_stars_count": "256.0",
"max_stars_repo_name": "TobiasWehrum/demolabs-ungehoersam",
"max_stars_repo_path": "Unity-Reader/Assets/Extensions/TobisUnityUtilities/Range/Editor/RangePropertyDrawerBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3169"
} | starcoder | <reponame>TobiasWehrum/demolabs-ungehoersam
using UnityEditor;
using UnityEngine;
namespace UnityUtilities
{
public class RangePropertyDrawerBase : PropertyDrawer
{
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
{
// Using BeginProperty / E... | 2.291405 | b8b0be9cbdc9907ba8ede9b0bc82f7d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3169 | {
"extension": "c-sharp",
"max_stars_count": "6580.0",
"max_stars_repo_name": "BlackBoxAM/Lean",
"max_stars_repo_path": "Brokerages/InteractiveBrokers/FinancialAdvisor/FinancialAdvisorConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3170"
} | starcoder | <reponame>BlackBoxAM/Lean<gh_stars>1000+
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with... | 1.83404 | 462809eb0ac0a051a42a46c218fbc483 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3170 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/das-reservations-ap",
"max_stars_repo_path": "src/SFA.DAS.Reservations.Data/Configuration/Account.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3171"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace SFA.DAS.Reservations.Data.Configuration
{
public class Account : IEntityTypeConfiguration<Domain.Entities.Account>
{
public void Configure(EntityTypeBuilder<Domain.Entities.Account> builder)
{
... | 2.263488 | 48123fcdcdc8f0c2ad397b675913b7be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3171 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mfloresn90/CSharpSources",
"max_stars_repo_path": "Context menu sample/C#/Scenario2.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3172"
} | starcoder | <reponame>mfloresn90/CSharpSources
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOS... | 2.377709 | ea918106dcaf0d21017295c3a967a96f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3172 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "evident-digital/evi-match-maker",
"max_stars_repo_path": "EviMatch/Application/Commands/StopOfferingGame/StopOfferingGameCommandHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3173"
} | starcoder | <filename>EviMatch/Application/Commands/StopOfferingGame/StopOfferingGameCommandHandler.cs
using MediatR;
using Microsoft.EntityFrameworkCore;
using Persistence;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Application.Commands.StopOfferingGame
{
public class OfferNewGameCommandHa... | 2.616741 | 5611d5e2527035cdc78b8de6ca3e6128 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3173 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zyhong/Lean",
"max_stars_repo_path": "Common/Securities/MarketHoursDatabase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3174"
} | starcoder | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* 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... | 2.492357 | 142457cc623a39fd44c754583124c2cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3174 | {
"extension": "c-sharp",
"max_stars_count": "296.0",
"max_stars_repo_name": "tenghui-kooboo/Kooboo",
"max_stars_repo_path": "Kooboo.Sites/TaskQueue/EusureWorker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3175"
} | starcoder | <filename>Kooboo.Sites/TaskQueue/EusureWorker.cs
//Copyright (c) 2018 Yardi Technology Limited. Http://www.kooboo.com
//All rights reserved.
using Kooboo.Data.Interface;
using Kooboo.Sites.Extensions;
using System;
using System.Linq;
namespace Kooboo.Sites.TaskQueue
{
// This is a backup to ensure that some tasks... | 2.25159 | 1357b16de4658edd68446aa98621c5bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3175 | {
"extension": "c-sharp",
"max_stars_count": "2818.0",
"max_stars_repo_name": "bonfirestudios/github-for-unity",
"max_stars_repo_path": "src/GitHub.Api/IO/FileSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3176"
} | starcoder | <reponame>bonfirestudios/github-for-unity
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace GitHub.Unity
{
public interface IFileSystem
{
string ChangeExtension(string path, string extension);
string Combine(string path1, string path2);
string... | 2.925202 | 5fe7ee26da28c49ea6e6b78b61df635b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3176 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fr0wsTyl/TelerikAcademy-2015-",
"max_stars_repo_path": "Telerik - C# 2/HOMEWORK - Using Objects/Using Classes and Objects/Problem 1. Leap year/LeapYear.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3177"
} | starcoder | <filename>Telerik - C# 2/HOMEWORK - Using Objects/Using Classes and Objects/Problem 1. Leap year/LeapYear.cs
/*Write a program that reads a year from the console and checks whether it is a leap one.
Use System.DateTime.*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Syste... | 4.045705 | c02d93774f77ec5babe28ec87fcf38bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3177 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jpassing/google-api-dotnet-client",
"max_stars_repo_path": "Src/Generated/Google.Apis.CloudTrace.v2beta1/Google.Apis.CloudTrace.v2beta1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3178"
} | starcoder | <gh_stars>0
// Copyright 2022 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 a... | 1.539382 | 5713796c46349075a077b14742e28d0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3178 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rafaeldolfe/MasterServerChess",
"max_stars_repo_path": "Assets/Sisus/Power Inspector/Code/Editor/Drawers/Utility/ReorderableParentDrawerUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3179"
} | starcoder | using JetBrains.Annotations;
using UnityEngine;
namespace Sisus
{
public static class ReorderableParentDrawerUtility
{
public const float DraggedObjectGapHeight = 3f;
/// <summary> Gets zero-based drop target index at point, where 0 is right below the parent's header (i.e. above the first member, if any). </su... | 2.2453 | 9597ffe7c20c0ced66c77f57a69545e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3179 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "EgorBo/coreclr",
"max_stars_repo_path": "src/tools/crossgen2/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRun/DelayLoadHelperImport.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3180"
} | starcoder | <filename>src/tools/crossgen2/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRun/DelayLoadHelperImport.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
... | 2.075445 | bb268bf291467643b0cc0b03f805fbd1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3180 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ericmutta/samples",
"max_stars_repo_path": "snippets/csharp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetBindings/CS/form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3181"
} | starcoder | <filename>snippets/csharp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetBindings/CS/form1.cs
//<snippet1>
using System;
using System.ComponentModel;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Collections;
namespace System_Windows_Forms_UpdateBinding
{
class Form... | 3.048244 | 50223951dca3b16424c6ce699bcfa50c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3181 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wdxgy136/xenadmin-yeesan",
"max_stars_repo_path": "XenAdminTests/CommandTests/AddNewHostToPoolCommandTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3182"
} | starcoder | /* Copyright (c) Citrix Systems Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice, this li... | 1.826544 | 17bec178a5c862d515cf47e3d7396c57 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3182 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AskingAlexander/bd2-microsoft-project",
"max_stars_repo_path": "WebApp/bd2-msft-project/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:3183"
} | starcoder | <filename>WebApp/bd2-msft-project/Views/Home/Index.cshtml<gh_stars>0
@model bd2_msft_project.Models.DBModels.UserLogin
@{
ViewData["Title"] = "Home Page";
bool isLoggedIN = (bool)ViewData["IsLoggedIn"];
bool badLogin = (bool)ViewData["BadLogin"];
}
<div class="text-center">
<h1 class="display-4">Welco... | 2.590384 | 9b5a85cba2d8494b946af7f8fe3b9674 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3183 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "johnkellyoxford/corefx",
"max_stars_repo_path": "src/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.SslProtocols.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3184"
} | starcoder | <reponame>johnkellyoxford/corefx<filename>src/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.SslProtocols.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more informat... | 1.705083 | 4fc637d8a5a575ca30ddae22eace1667 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3184 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lapaloma1980/Coding-Katas-CSharp",
"max_stars_repo_path": "RomanNumerals/RomanNumerals.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3185"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.Remoting.Messaging;
using System.Text.RegularExpressions;
namespace RomanNumerals
{
class RomanNumerals
{
private static string validationPattern = @"^(?=[MDCLXVI])M{0,3}(C[MD]|D|C{0,3})(X[CL]|L|X{0,3})(I[XV]|V|I{0,3})$";
pr... | 3.202394 | 4af37c9cf9783a9d3eaccfce950367b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3185 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fyfdeminWorld/Ao.ObjectDesign",
"max_stars_repo_path": "src/Ao.ObjectDesign.Designing/DesignClipboardManagerExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3186"
} | starcoder | <reponame>fyfdeminWorld/Ao.ObjectDesign<filename>src/Ao.ObjectDesign.Designing/DesignClipboardManagerExtensions.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ao.ObjectDesign.Designing
{
public static partial class DesignCli... | 2.501324 | ceffa661faf71963d8e3aecadf3c856a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3186 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DiogenesPolanco/lucenenet",
"max_stars_repo_path": "src/Lucene.Net.Tests/Support/Index/TestTaskMergeScheduler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3187"
} | starcoder | <reponame>DiogenesPolanco/lucenenet
using Lucene.Net.Attributes;
using Lucene.Net.Documents;
using Lucene.Net.Store;
using Lucene.Net.Support;
using Lucene.Net.Util;
using NUnit.Framework;
using System;
using System.IO;
using Console = Lucene.Net.Support.SystemConsole;
namespace Lucene.Net.Index
{
using Directory... | 1.685365 | 49ab16f22469e815d70d454b6d6a0840 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3187 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "liyy599/test",
"max_stars_repo_path": "ZC.Customer/Controllers/v2/ApbController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3188"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ZC.Customer.SwaggerHelper;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using static ZC.Customer.SwaggerHelper.CustomApiVersion;
using UMa.Merak.Infrastruc... | 2.013353 | c4e04c00894fac661a3009031e5430a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3188 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "unbekanntunity/JokesOnYou",
"max_stars_repo_path": "Server/JokesOnYou.Web.Api/Repositories/SavedJokeRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3189"
} | starcoder | using JokesOnYou.Web.Api.Repositories.Interfaces;
namespace JokesOnYou.Web.Api.Repositories
{
public class SavedJokeRepository : ISavedJokeRepository
{
}
}
| 1.250482 | c3e0337256af91f88bcb3afa20a4c9f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3189 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MatthewEskolin/Exceptionless",
"max_stars_repo_path": "src/Exceptionless.Web/Controllers/AuthController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3190"
} | starcoder | <reponame>MatthewEskolin/Exceptionless
using Exceptionless.Web.Extensions;
using Exceptionless.Core.Authentication;
using Exceptionless.Core.Authorization;
using Exceptionless.Core.Configuration;
using Exceptionless.Core.Extensions;
using Exceptionless.Core.Mail;
using Exceptionless.Core.Models;
using Exceptionless.Co... | 1.836815 | 36e0d37c8771ff8706e5b8e94cb1543b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3190 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Istchanar/ASP.NETCoreWeb",
"max_stars_repo_path": "MetricsAgent/DAL/Models/MapperProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3191"
} | starcoder | using AutoMapper;
using MetricsAgent.DAL.Models;
using MetricsAgent.Responses;
namespace MetricsAgent.Mapper
{
public class MapperProfile : Profile
{
public MapperProfile()
{
CreateMap<BaseMetricModel, MetricDto>();
}
}
} | 1.40101 | 9e2515b068cdef0489985af7199a41ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3191 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Twometer/Echo",
"max_stars_repo_path": "Echo.Network/Packets/Tcp/P01HandshakeReply.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3192"
} | starcoder | <reponame>Twometer/Echo
using System;
using System.Collections.Generic;
using System.Text;
namespace Echo.Network.Packets.Tcp
{
public class P01HandshakeReply : IPacket
{
public int Id => 1;
public StatusCode Status { get; set; }
public enum StatusCode
{
Ok,
... | 1.5991 | 335444ff2cd8b27d5c10037bc49cf062 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3192 | {
"extension": "c-sharp",
"max_stars_count": "1715.0",
"max_stars_repo_name": "kevfrench/wpfui",
"max_stars_repo_path": "src/Wpf.Ui/Common/Glyph.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3193"
} | starcoder | // This Source Code Form is subject to the terms of the MIT License.
// If a copy of the MIT was not distributed with this file, You can obtain one at https://opensource.org/licenses/MIT.
// Copyright (C) <NAME> and WPF UI Contributors.
// All Rights Reserved.
using System;
namespace Wpf.Ui.Common;
/// <summary>
//... | 2.903041 | a24cc40302c3f87c00bfa7c2c4dbf840 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3193 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "beachside-project/azure-functions-custom-bindings-for-ms-teams",
"max_stars_repo_path": "CustomBindingsSamples.TeamsBinding/TeamsBindingConfigProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3194"
} | starcoder | using Microsoft.Azure.WebJobs.Host.Bindings;
using Microsoft.Azure.WebJobs.Host.Config;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Net.Http;
namespace CustomBindingsSamples.TeamsBinding
{
public class TeamsBindingConfigProvider : IExtensionConfigProvider
{... | 2.246951 | f31cc7cb7213b47e10b15842c1d8cec7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3194 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SperoSophia/Panda",
"max_stars_repo_path": "src/Panda/IPandaEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3195"
} | starcoder | <filename>src/Panda/IPandaEntity.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Panda.Attributes;
namespace Panda
{
public class IPandaEntity
{
[AUTO_INCREMENT]
public int Id { get; set; }
}
}
| 1.642173 | cab09e48ea2b8567049ca8828aa2ee85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3195 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/runtime",
"max_stars_repo_path": "src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableSortedSet_1.Builder.DebuggerProxy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3196"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
namespace System.Collections.Immutable
{
/// <summary>
/// A simple view of the immutable collection that the debugger can show to the developer.
... | 3.045977 | 1b289712afc9cf7e444585cae252b7dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3196 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "alebianky/aNVIZ",
"max_stars_repo_path": "Anviz.SDK/Commands/GetDeviceIDCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3197"
} | starcoder | <reponame>alebianky/aNVIZ<filename>Anviz.SDK/Commands/GetDeviceIDCommand.cs
using Anviz.SDK.Commands;
using Anviz.SDK.Utils;
using System.Threading.Tasks;
namespace Anviz.SDK.Commands
{
class GetDeviceIDCommand : Command
{
private const byte GET_DEVICE_ID = 0x46;
public GetDeviceIDCommand(ulon... | 2.306786 | f1d6f5a8c224c8b1efb664c4cd833d1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3197 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "xiaolei000129/Paas.Pioneer",
"max_stars_repo_path": "framework/src/Paas.Pioneer.Domain.Shared/ModelValidation/NotEqualAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3198"
} | starcoder | <filename>framework/src/Paas.Pioneer.Domain.Shared/ModelValidation/NotEqualAttribute.cs
using System;
using System.ComponentModel.DataAnnotations;
namespace Paas.Pioneer.Domain.Shared.ModelValidation
{
/// <summary>
/// 不等于模型验证
/// </summary>
[AttributeUsage(AttributeTargets.All, AllowMultiple = true,... | 3.041901 | 3567b407d8a5113a67a27c53019557c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3198 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "lordcheeto/corefx",
"max_stars_repo_path": "src/System.ComponentModel.TypeConverter/tests/TypeDescriptorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3199"
} | starcoder | <reponame>lordcheeto/corefx
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections;
using System.ComponentModel.Design;
using System.Globalization... | 1.666927 | f0a5d04b87e7193c3ceb58405e755953 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3199 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "YamanNasser/Yamaanco",
"max_stars_repo_path": "Yamaanco.Application/Features/ProfileComments/Handlers/Commands/UpdateCommentUpvoteCommandHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3200"
} | starcoder | <reponame>YamanNasser/Yamaanco<filename>Yamaanco.Application/Features/ProfileComments/Handlers/Commands/UpdateCommentUpvoteCommandHandler.cs
using MediatR;
using System.Threading;
using System.Threading.Tasks;
using Yamaanco.Application.ApiResponses;
using Yamaanco.Application.DTOs.Comment;
using Yamaanco.Application.... | 2.083452 | 03a27503e361dbed1fdfa485d6e7f57b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3200 | {
"extension": "c-sharp",
"max_stars_count": "3336.0",
"max_stars_repo_name": "mbentancour/azure-powershell",
"max_stars_repo_path": "src/Sql/Sql/ManagedDatabase Backup/Cmdlet/GetAzureSqlManagedDatabaseLongTermRetentionBackup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3201"
} | starcoder | <filename>src/Sql/Sql/ManagedDatabase Backup/Cmdlet/GetAzureSqlManagedDatabaseLongTermRetentionBackup.cs<gh_stars>1000+
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// yo... | 1.858305 | 1625842bb34904fe6e4d797c817f8324 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3201 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "HoLLy-HaCKeR/AsmResolver",
"max_stars_repo_path": "src/AsmResolver.DotNet/Builder/DotNetDirectoryBuffer.TokenProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3202"
} | starcoder | using AsmResolver.DotNet.Code.Cil;
using AsmResolver.PE.DotNet.Metadata.Tables;
using AsmResolver.PE.DotNet.Metadata.Tables.Rows;
namespace AsmResolver.DotNet.Builder
{
public partial class DotNetDirectoryBuffer : IMetadataTokenProvider
{
/// <inheritdoc />
public uint GetUserStringIndex(strin... | 1.978549 | 2366d4929d44b52432c25b1ccc71a6ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3202 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Aviv-Yaniv/azure-powershell",
"max_stars_repo_path": "src/Databricks/generated/api/Models/Api20210401Preview/Encryption.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3203"
} | starcoder | <reponame>Aviv-Yaniv/azure-powershell
// 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.
// Changes may cause incorrect behavior and will be lost if th... | 1.43195 | a9b3866855316f83a89045707adae494 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3203 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Krypton-Suite-Legacy/Krypton-NET-5.460",
"max_stars_repo_path": "Source/Krypton Components/ComponentFactory.Krypton.Toolkit/Rendering/KryptonProfessionalRenderer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3204"
} | starcoder | <filename>Source/Krypton Components/ComponentFactory.Krypton.Toolkit/Rendering/KryptonProfessionalRenderer.cs<gh_stars>1-10
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory ... | 2.409793 | 061b9fdf3de4e41a0cde96087a86512b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3204 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "CaesuraSoftware/ARNaLD",
"max_stars_repo_path": "Caesura.Standard/Caesura.Standard.Scripting/Caesura.Standard.Scripting/Melanie/Runtime/CallSite.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3205"
} | starcoder | <gh_stars>1-10
using System;
namespace Caesura.Standard.Scripting.Melanie.Runtime
{
using System.Collections.Generic;
using System.Linq;
using Types;
public class ExtCallSite : CallSite<IMelType>
{
public String Name { get; set; }
public Action<Context> Caller { get; set; }
... | 2.481561 | 8a381ac9014f130e3d3f503f0273f253 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3205 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexGregoryProgramming/StarWake",
"max_stars_repo_path": "Assets/UI/Scripts/EndRoundScreen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3206"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class EndRoundScreen : MonoBehaviour {
public Text title;
public Image AButton;
public int numWinsRequired = 1;
public bool[] playersInGame = new bool[4];
public bool uiStillOnScreen = false;
public Vec... | 2.156898 | 29447a7fdc665d73cdf71ef129893b13 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3206 | {
"extension": "c-sharp",
"max_stars_count": "1705.0",
"max_stars_repo_name": "sudoudaisuke/aws-sdk-net",
"max_stars_repo_path": "sdk/test/IntegrationTests/Tests/General.CommonUtilities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3207"
} | starcoder | using Amazon;
using System;
using AWSSDK_DotNet.IntegrationTests.Utils;
using System.Reflection;
using System.Threading;
using Amazon.Runtime;
namespace AWSSDK_DotNet.IntegrationTests.Tests
{
public partial class General
{
// Reflection helpers
public static TimeSpan IncorrectPositiveClockSkew... | 2.025591 | 07188c87bbade21cfab4c143b815f7f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3207 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alpaix/azure-jobs",
"max_stars_repo_path": "src/Microsoft.Azure.WebJobs.Storage/Table/IStorageTableOperation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3208"
} | starcoder | <gh_stars>0
// 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 System;
using Microsoft.WindowsAzure.Storage.Table;
#if PUBLICSTORAGE
namespace Microsoft.Azure.WebJobs.Storage.Tab... | 1.794515 | e9bd439c3e4d014ba2fb6b44c5082c43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3208 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "uotools/Infusion",
"max_stars_repo_path": "Infusion/Packets/PacketDefinitions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3209"
} | starcoder | using Infusion.Packets.Both;
using Infusion.Packets.Client;
using Infusion.Packets.Server;
namespace Infusion.Packets
{
internal static class PacketDefinitions
{
#region Client
public static readonly PacketDefinition LoginSeed = new PacketDefinition(-1,
new StaticPacketLength(4), ... | 1.41435 | 95a25c65360da6608b710d6e9bdac560 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3209 | {
"extension": "c-sharp",
"max_stars_count": "54.0",
"max_stars_repo_name": "adamjsutcliffe/UnityTouchHandling",
"max_stars_repo_path": "Touch Test/Assets/unity-ui-extensions/Scripts/Utilities/UIExtensionMethods.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3210"
} | starcoder | <reponame>adamjsutcliffe/UnityTouchHandling
/// Credit Simon (darkside) Jackson
/// Sourced from - My head
namespace UnityEngine.UI.Extensions
{
public static class UIExtensionMethods
{
public static Canvas GetParentCanvas(this RectTransform rt)
{
RectTransform parent = rt;
... | 2.347509 | 5d3bde0fb8368ad545e03e55e60438b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3210 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iwate/RESTier",
"max_stars_repo_path": "src/Microsoft.Restier.Core/InvocationContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3211"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
namespace Microsoft.Restier.Core
{
/// <summary>
/// Represents context under which an request is processed.
/// The request could b... | 2.303705 | 59c7632a551874ecc7f57ce0788f85a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3211 | {
"extension": "c-sharp",
"max_stars_count": "213.0",
"max_stars_repo_name": "ReneNyffenegger/DbgShell",
"max_stars_repo_path": "DbgProvider/public/Commands/InitializeDbgSymbolsCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3212"
} | starcoder | using System;
using System.Management.Automation;
namespace MS.Dbg.Commands
{
[Cmdlet( VerbsData.Initialize, "DbgSymbols" )]
public class InitializeDbgSymbolsCmd : DbgBaseCommand
{
[Parameter( Mandatory = false,
Position = 0,
ValueFromPipeline = true )]
... | 2.517069 | 2daa00f2991b1b572dd9fc80f8203885 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3212 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "davidhao2046/ShotokuTrackingPanel",
"max_stars_repo_path": "SerialPortListener/MainForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3213"
} | starcoder | <gh_stars>1-10
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 SerialPortListener.Serial;
using System.IO;
using System.Net.Sockets;
namespace SerialPortListener
{
pub... | 2.607476 | e1f1b5eefe58c4703aa7c108d84d1561 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3213 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "jugomez/emplea_do",
"max_stars_repo_path": "Migrations/201909062116_adding_category_tbl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3214"
} | starcoder | using Domain.Framework.Constants;
using FluentMigrator;
using Migrations.Framework;
namespace Migrations
{
[Migration(201909062116)]
public class _201909062116_adding_category_tbl : Migration
{
public override void Down()
{
Delete.Table(TableConstants.Categories);
}
... | 2.029169 | 5cbfeaaa1a735ee20c5c3307a5cab9af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3214 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "noflashbang/odata.net",
"max_stars_repo_path": "src/Edm/Microsoft/OData/Edm/Library/Values/EdmCollectionValue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3215"
} | starcoder | // OData .NET Libraries
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICE... | 2.492054 | 192f6dd176eec089f7559182a342fde7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3215 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "YehudaEi/Bluestacks-source-code",
"max_stars_repo_path": "src/Bluestacks/BlueStacks/BlueStacksUI/Grm/MessageType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3216"
} | starcoder | <reponame>YehudaEi/Bluestacks-source-code<gh_stars>1-10
// Decompiled with JetBrains decompiler
// Type: BlueStacks.BlueStacksUI.Grm.MessageType
// Assembly: Bluestacks, Version=4.250.0.1070, Culture=neutral, PublicKeyToken=null
// MVID: 99F027F6-79F1-4BCA-896C-81F7B404BE8F
// Assembly location: C:\Program Files\BlueS... | 1.122088 | 4c51e51f95944842d9341ddefd05843e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3216 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rambotech/BOG.DropZone",
"max_stars_repo_path": "src/BOG.DropZone/AssemblyVersion.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3217"
} | starcoder | using System;
using System.IO;
using System.Reflection;
using BOG.DropZone.Interface;
using Newtonsoft.Json.Linq;
namespace BOG.DropZone
{
/// <summary>
/// Creates a class providing information about the main assembly.
/// </summary>
public class AssemblyVersion : IAssemblyVersion
{
/// <summary>
/// The ma... | 2.841013 | 5ad4c39386ff7f56ae8293eb1138e9c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3217 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wen2204/TerminalMACS",
"max_stars_repo_path": "src/TerminalMACS.Manager/TerminalMACS.ManagerForWPF/AduSkin/Controls/Metro/SegmentControls/SegmentControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3218"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
namespace AduSkin.Controls.Metro
{
/// <summary>
/// 分段按钮控件,类似IOS的SegmentControl
/// </summary>
... | 2.356617 | f2266df29708e16a0f4ac3dd232ec93d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3218 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mattschley/aspnet-core-react-template",
"max_stars_repo_path": "api/ViewModels/NewUser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3219"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace aspnetCoreReactTemplate.ViewModels
{
public class NewUser
{
[Required]
[EmailAddress]
public string Username { get; set; }
[Required]
[MinLength(8)]
public string Password { get; set; }
}
}
| 2.036369 | 04e626f31be2de175ca6004606f87b49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3219 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RH-Code/GAPP",
"max_stars_repo_path": "DefaultPlugins/GlobalcachingApplication.Plugins.Maps/MapContainerControl.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3220"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigati... | 1.889022 | b49cdb09aa96821903709c4ecaa90d30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3220 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Basil1991/MicroDDD",
"max_stars_repo_path": "src/Basil.Util/Json/IJsonConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3221"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace Basil.Util.Json {
public interface IJsonConverter {
object Deserialize(string value);
List<TEntity> DeserializeEntities<TEntity>(string value);
TEntity DeserializeEntitiey<TEntity>(string value);
... | 1.65712 | 97d879d890d027a93de7c5a700dc96c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3221 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "SyntakSoftware/ApothecaricApi",
"max_stars_repo_path": "Controllers/AccountController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3222"
} | starcoder | <filename>Controllers/AccountController.cs
using ApothecaricApi.Data;
using ApothecaricApi.Filters;
using ApothecaricApi.Models.Identity;
using ApothecaricApi.Models.Response;
using ApothecaricApi.Models.ViewModels;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCo... | 2.06606 | d7126760fa6f83159ea8478c170fbace |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3222 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "smol-fi/snake",
"max_stars_repo_path": "PlayArea.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3223"
} | starcoder | using System;
using System.Linq;
namespace Snake
{
class PlayArea
{
public static void ClearConsole(int playW, int playH)
{
var blackLine = string.Join("", new byte[playW].Select(b => " ").ToArray());
Console.ForegroundColor = ConsoleColor.Black;
... | 3.131835 | c3a2b1a72b8851619083d3f50d70e2a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3223 | {
"extension": "c-sharp",
"max_stars_count": "247.0",
"max_stars_repo_name": "vishal-bold/OpenNlp",
"max_stars_repo_path": "OpenNLP/Tools/SentenceDetect/MultipleFilesPlainTextByLineDataReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3224"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SharpEntropy;
namespace OpenNLP.Tools.SentenceDetect
{
public class MultipleFilesPlainTextByLineDataReader: ITrainingDataReader<string>
{
private readonly List<Str... | 3.140728 | 7e87877fc4e9d3656d83f4118748113a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3224 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LacusCon/ILHotFix",
"max_stars_repo_path": "Assets/Scripts/LC_Tools/ListRecorder/AttRecordItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3225"
} | starcoder | <reponame>LacusCon/ILHotFix<gh_stars>0
using System;
using UniRx;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace LC_Tools
{
public class AttRecordItem : UIBehaviour
{
[SerializeField] public SeatStatus seatStatus;
public static Action<int, Action<ulong, uint... | 2.082172 | e7cbe7deca511ec74bec519d39c3a28c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3225 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "jaffinito/newrelic-dotnet-agent",
"max_stars_repo_path": "src/Agent/NewRelic.Api.Agent/NoOpSpan.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3226"
} | starcoder | <filename>src/Agent/NewRelic.Api.Agent/NoOpSpan.cs<gh_stars>10-100
// Copyright 2020 New Relic, Inc. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
namespace NewRelic.Api.Agent
{
internal class NoOpSpan : ISpan
{
public ISpan AddCustomAttribute(string key, object value)
{
... | 1.635089 | 3abad2ebef0ed7ff4b76a83594d6bfe9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3226 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "madiantech/tkcore",
"max_stars_repo_path": "CoreWeb/YJC.Toolkit.Razor.Web/Web/_ModuleTemplate/XmlModuleTemplate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3227"
} | starcoder | using System.Collections.Generic;
using YJC.Toolkit.MetaData;
using YJC.Toolkit.Razor;
using YJC.Toolkit.Sys;
namespace YJC.Toolkit.Web
{
internal class XmlModuleTemplate : IModuleTemplate
{
private readonly ModuleTemplateConfigItem fConfig;
private List<PageTemplateInfo> fTemplates;
p... | 2.043655 | 375fdcd370d1af01acf1c98ad10e64f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3227 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Quantum-0/ArtistManagerVkBot",
"max_stars_repo_path": "VKInteraction/Message.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3228"
} | starcoder | using System;
using ProtoBuf;
using System.ComponentModel;
namespace VKInteraction
{
[ProtoContract]
public sealed class Message
{
[ProtoMember(1)]
public int Id { get; private set; }
[ProtoMember(2)]
public string Text { get; private set; }
[ProtoMember(3)]
... | 2.595763 | 811095e2940943037ca6dd89b4da06af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3228 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cjay42/SpaceEngineers",
"max_stars_repo_path": "Sources/Sandbox.Game/Game/MyPerGameSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3229"
} | starcoder | <gh_stars>1-10
using Sandbox.Engine.Physics;
using Sandbox.Engine.Utils;
using Sandbox.Engine.Voxels;
using Sandbox.Game.Entities.Cube;
using System;
using System.Diagnostics;
using VRage.Data;
using VRage.Data.Audio;
using VRageMath;
namespace Sandbox.Game
{
public struct MyCharacterMovementSettings
{
... | 1.601284 | 572b37317c74ba2edeb1ff727d83801a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3229 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ks3sdklib/ks3sdk-c-",
"max_stars_repo_path": "KS3/Transform/ListObjectsUnmarshallers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3230"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Xml;
using KS3.Model;
namespace KS3.Transform
{
class ListObjectsUnmarshallers : Unmarshaller<ObjectListing, Stream>
{
public ObjectListing unmarshall(Stream inputStream)
{
... | 2.548943 | ab0835ac94c06b358ffc6a2dd2754f22 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3230 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArielMAJ/CSharp_course",
"max_stars_repo_path": "Lessons_and_assignments/Lesson_142/Aula_133/Entities/ProductManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3231"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Globalization;
namespace Aula_133.Entities
{
internal class ProductManager
{
public List<Product> products { get; protected set; } = new List<Product>();
public ProductManager()
{
}
public void ad... | 3.291251 | 3945137cd3ac10a11d63d569af83890e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3231 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "PeterHajdu/SafeguardDotNet",
"max_stars_repo_path": "Samples/ServiceNowTicketValidator/DTOs/ServiceNowResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3232"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
namespace ServiceNowTicketValidator.DTOs
{
[SuppressMessage("ReSharper", "InconsistentNaming")]
internal class ServiceNowResult<T> where T : class
{
public IEnumerable<T> result { get; set; }
}
}
| 1.698153 | 7163302d1e204ac6347ebef1dbda01f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3232 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "light-conversion/LightConversion.Protocols.Yadp.Abstractions",
"max_stars_repo_path": "LightConversion.Protocols.Yadp.Abstractions/Code/Interface.IGetRegisterCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3233"
} | starcoder | <filename>LightConversion.Protocols.Yadp.Abstractions/Code/Interface.IGetRegisterCommand.cs
// Copyright 2019 Light Conversion, UAB
// Licensed under the Apache 2.0, see LICENSE.md for more details.
using System;
namespace LightConversion.Protocols.Yadp {
/// <summary>
/// A "Get Register" command pac... | 2.228104 | a930a18355f7e27db4e153fad9069209 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3233 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "broken240/dotnet-api-docs",
"max_stars_repo_path": "samples/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataColumnCollection.Remove Example/CS/source.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3234"
} | starcoder | using System;
using System.Data;
using System.Windows.Forms;
public class Form1: Form
{
protected DataSet DataSet1;
// <Snippet1>
private void TestAndRemove(DataColumn colToRemove)
{
DataColumnCollection columns;
// Get the DataColumnCollection from a DataTable in a DataS... | 2.781947 | 5d8b46f449f05ef1dd2fbad94f4fe7d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3234 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "denpadokei/EnhancedStreamChat-v3",
"max_stars_repo_path": "Graphics/EnhancedFontInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3235"
} | starcoder | <gh_stars>1-10
using System.Collections.Concurrent;
using TMPro;
using UnityEngine.TextCore;
namespace EnhancedStreamChat.Graphics
{
public class EnhancedFontInfo
{
public TMP_FontAsset Font { get; }
public uint NextReplaceChar { get; private set; } = 0xe000;
public ConcurrentDictionar... | 2.63499 | d1df85b944744a3ed2faa623c17e6a3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3235 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yoyonel/sflm2-custom",
"max_stars_repo_path": "bindings/dotnet/src/Audio/SoundRecorder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3236"
} | starcoder | <reponame>yoyonel/sflm2-custom
using System;
using System.Runtime.InteropServices;
using System.Security;
namespace SFML
{
namespace Audio
{
////////////////////////////////////////////////////////////
/// <summary>
/// SoundRecorder is an interface for capturing sound data,
... | 2.701089 | 00692a4b0287561b7d043be3ee82b8a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 3236 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "inkadnb/Nebula",
"max_stars_repo_path": "Nebula.Core.Tests/TestConstructs/BogusTrackable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:3237"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Nebula.Core.Tests.TestConstructs
{
public interface IBogusTrackable
{
string Test { get; set; }
}
[DataContract]
public class B... | 2.212834 | 4c2cf6fedd82925fafa12a181e876243 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.