added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812118 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "larsfaerge/EPIServer.Business.Commerce.Payment.Valtech.EPAY",
"max_stars_repo_path": "EPiServer.Business.Commerce.Payment.Valtech.Epay/CommerceManager/ConfigurePayment.ascx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131338"
} | starcoder | using System;
using System.Web.UI.WebControls;
using EPiServer.Business.Commerce.Payment.Valtech.Epay.Helpers;
using Mediachase.Commerce.Orders.Dto;
using Mediachase.Web.Console.Interfaces;
namespace EPiServer.Business.Commerce.Payment.Valtech.Epay.CommerceManager
{
public partial class ConfigurePayment : System.... | 2.141731 | 08d0bf4e6e724655aa06b64c0c0a4c2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812119 | {
"extension": "c-sharp",
"max_stars_count": "88.0",
"max_stars_repo_name": "The-real-Urb/book-fast-service-fabric",
"max_stars_repo_path": "Common/BookFast.ServiceFabric/Configuration/ServiceFabricConfigurationExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131339"
} | starcoder | using BookFast.ServiceFabric.Configuration;
using System.Fabric;
namespace Microsoft.Extensions.Configuration
{
public static class ServiceFabricConfigurationExtensions
{
public static IConfigurationBuilder AddServiceFabricConfiguration(this IConfigurationBuilder builder, ServiceContext serviceContext... | 1.688634 | 3f6ef7c1031874771714f49393fd24f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812120 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "wcxu21/InternetTest",
"max_stars_repo_path": "InternetTest 4/InternetTest/Forms/SitesSelector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131340"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using InternetTest.Classes;
namespace InternetTest.Forms
{
public partial cl... | 2.280334 | 64a83bb3477fd09368d9c9a24a070381 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812121 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SoftBIM/ACadSharp",
"max_stars_repo_path": "ACadSharp/Tables/Collections/AppIdsTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131341"
} | starcoder | <gh_stars>0
using ACadSharp.IO.Templates;
namespace ACadSharp.Tables.Collections
{
public class AppIdsTable : Table<AppId>
{
public AppIdsTable() { }
internal AppIdsTable(DxfTableTemplate template) : base(template) { }
}
} | 1.300589 | 698786c7e67fa5583283ff980008cbb7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812122 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "dkarkanas/Indice.AspNet",
"max_stars_repo_path": "src/Indice.AspNetCore/TagHelpers/PaginationTagHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131342"
} | starcoder | <filename>src/Indice.AspNetCore/TagHelpers/PaginationTagHelper.cs
using Indice.Types;
using Microsoft.AspNetCore.Html;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Razor.TagHelpers;
using System;
using System.Collections.Generic;
using System.Linq;
u... | 2.554041 | c8eede1d42168be78e330546ec4d3e60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812123 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "israellot/nanometric",
"max_stars_repo_path": "src/NanoMetric/MeterTracker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131343"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NanoMetric
{
public class MeterTracker
{
Lazy<Meter> meter;
ITelemetrySink[] _sinks;
public MeterTracker(ITelemetrySink[] sinks, string name,TimeSpan? aggregationPeriod=null)
{
... | 2.625559 | bfba01147646ad87a6e948f3cb4e4381 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812124 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JasonSkillman/Heading-Home",
"max_stars_repo_path": "Assets/My Assets/Scripts/SoundManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131344"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SoundManager : MonoBehaviour {
public static SoundManager main = null;
private AudioSource audioSource;
private void Awake() {
if(main == null) {
main = this;
} else if(main != this) {
Destroy(gameO... | 2.035445 | 661bfb12cc8ebdacc8e321ed6d211a7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812125 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "owen800q/Weed3",
"max_stars_repo_path": ".net & mono/Weed3/SQLBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131345"
} | starcoder | <filename>.net & mono/Weed3/SQLBuilder.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace Noear.Weed {
public class SQLBuilder {
private StringBuilder builder = new StringBuilder();
internal List<Object> paramS = new List<Object>();
S... | 2.735696 | 5f7f68ca4f355d7612063e53d5591807 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812126 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vasylenkoArtem/AccountManagementSystem",
"max_stars_repo_path": "Services/Application/AMS.API/Controllers/UsersController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131346"
} | starcoder | <reponame>vasylenkoArtem/AccountManagementSystem
using AMS.Logic.Queries;
using AMS.Logic.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using AMS.API.Exstensions;
using System.Web.Http.Cors;
usi... | 2.012677 | 1dfad06c4daa2ad1b45f4cf77316024c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812127 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Asky314159/jrayfm-controlboard",
"max_stars_repo_path": "classic/Library.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131347"
} | starcoder | <filename>classic/Library.cs<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml;
using iTunesLib;
namespace JRayFMControlBoard
{
class Library
{
private Dictionary<string, Song> trackList;
... | 2.459944 | ac346b91bed6cee26f6d45ecf079da32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812128 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KishorNaik/Sol_AspnetCore.Factory",
"max_stars_repo_path": "Sol_Demo/Framework.AspnetCore.Factory/Core/IExecuteFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131348"
} | starcoder | <reponame>KishorNaik/Sol_AspnetCore.Factory<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Framework.AspnetCore.Factory.Core
{
public interface IExecuteFactory
{
TService Execute<TService>();
}
} | 1.604495 | 06160dd1b4b970ca8e9c8a00da461506 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812129 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/uploadcare-dotnet",
"max_stars_repo_path": "Uploadcare/Utils/RequestHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131349"
} | starcoder | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Uploadcare.Exceptions;
using Uploadcare.Utils.UrlParameters;
namespace Uploadcare.Utils
{
internal class RequestHelper : IDisposable
{
... | 2.350996 | 5cb823bec84043e4c68f359851a04206 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812130 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "brucificus/FastGraph",
"max_stars_repo_path": "src/FastGraph.Serialization/XmlConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131350"
} | starcoder | using JetBrains.Annotations;
namespace FastGraph.Serialization
{
internal static class XmlConstants
{
[NotNull]
public const string DynamicMethodPrefix = "FastGraph";
#region Tags
[NotNull]
public const string GraphMLTag = "graphml";
[NotNull]
public c... | 1.664422 | 65e015f1e3852881b7803704b4122cb9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812131 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tukzer/Seif",
"max_stars_repo_path": "Seif.Rpc1/Soa/DefaultInvoker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131351"
} | starcoder | <filename>Seif.Rpc1/Soa/DefaultInvoker.cs
using System;
using System.Linq;
using System.Reflection;
using Seif.Core;
using Seif.Rpc.Properties;
using Seif.Rpc.Server;
namespace Seif.Rpc.Soa
{
/// <summary>
/// 通过<see cref="IInvocation"/>参数查找暴漏的服务方法,并执行调用,返回结果
/// </summary>
/// <typeparam ... | 2.467443 | 64a872f722d835930cdf35691b322090 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812132 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "amkherad/ShellScript",
"max_stars_repo_path": "ShellScript/Core/Language/Compiler/Transpiling/ExpressionBuilders/IExpressionNotice.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131352"
} | starcoder | <filename>ShellScript/Core/Language/Compiler/Transpiling/ExpressionBuilders/IExpressionNotice.cs
namespace ShellScript.Core.Language.Compiler.Transpiling.ExpressionBuilders
{
public interface IExpressionNotice
{
}
} | 1.234015 | 26dad8e1912e7c54cfc8254a0e361ad3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812133 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "threejs4net/threejs4net",
"max_stars_repo_path": "ThreeJs4Net/Math/Mathf.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131353"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ThreeJs4Net.Math
{
public static class Mathf
{
public const float Tau = 6.2831853071795864769252f;
public const float PI = Tau / 2;
public cons... | 3.050816 | ebf655f5ba28b1eccaba4a1b6fb05bfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zherar7ordoya/AP3",
"max_stars_repo_path": "(CSharp)/3) MVP Pattern/MVCSharp/MVCSharp/Webforms/Configuration/WebformsViewInfoCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131354"
} | starcoder | <reponame>zherar7ordoya/AP3
//===========================================
// MVC# Framework | www.MVCSharp.org |
// ------------------------------------------
// Copyright (C) 2008 www.MVCSharp.org |
// All rights reserved. |
//===========================================
using System;
... | 2.604378 | 2976dd8ece43b2206704eb6c778800f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812135 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WHATSAF/design-patterns",
"max_stars_repo_path": "factory-method/Factories/TrainFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131355"
} | starcoder | <reponame>WHATSAF/design-patterns
using factory_method.Instances;
using factory_method.Abstractions;
namespace factory_method.Factories
{
public class TrainFactory : IVehicleFactory
{
public IVehicle CreateVehicle()
{
return new Train();
}
}
} | 2.124336 | eb91c0e8faa842088e2e14ea2b930ee3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812136 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "uk-gov-mirror/insolvencyservice.RPSCalculationEngine",
"max_stars_repo_path": "Insolvency.CalculationsEngine.Redundancy.BL/Calculations/Notice/Extensions/NoticeCalculationExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:13... | starcoder | <reponame>uk-gov-mirror/insolvencyservice.RPSCalculationEngine
using Insolvency.CalculationsEngine.Redundancy.BL.DTOs.Notice;
using Insolvency.CalculationsEngine.Redundancy.Common.ConfigLookups;
using Insolvency.CalculationsEngine.Redundancy.Common.Extensions;
using Microsoft.Extensions.Options;
using System;
usi... | 2.033183 | ecc1a911e133ceecc0e2dc376f8270e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812137 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ed-Fi-Exchange-OSS/Student360",
"max_stars_repo_path": "SMCISD.Student360.Persistence/Commands/StaffEducationOrganizationAssignmentAssociationCommands.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131357"
} | starcoder | // SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using Microsoft.EntityFrameworkCore;
using SMCISD... | 2.207268 | c3fa65de32ad47529bbca6f0c0fa1fc5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812138 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Yeah69/BFF",
"max_stars_repo_path": "ViewModel/ViewModels/ForModels/TransferViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131358"
} | starcoder | using System;
using System.Reactive.Linq;
using System.Threading.Tasks;
using BFF.Core.Helper;
using BFF.Model.Helper;
using BFF.Model.Models;
using BFF.ViewModel.Extensions;
using BFF.ViewModel.Managers;
using BFF.ViewModel.Services;
using BFF.ViewModel.ViewModels.ForModels.Structure;
using MrMeeseeks.Extensions;
usi... | 1.833426 | 1eef3f2fb66cf58fca6c6bbc937ad64e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812139 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "radoslavvv/CSharp-Advanced-January-2018",
"max_stars_repo_path": "04.FunctionalProgramming/Exercises/11.PartyReservationFilterModule/11.PartyReservationFilterModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131359"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace _11.PartyReservationFilterModule
{
class Filter
{
public string Type { get; set; }
public string Param { get; set; }
}
class Program
{
static void Main(string[] args)
{
List<str... | 3.387469 | 078d045d4195858e4e618ebf5d7c9a09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812140 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dampir/GoogleInterviewPreparation",
"max_stars_repo_path": "CommonAlgo/SortingAlgo/MergeSort.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131360"
} | starcoder | using System;
using System.Collections.Generic;
namespace CommonAlgo.SortingAlgo
{
/// <summary>
/// Generic Merge Sort
/// </summary>
public static class MergeSort
{
public static IList<T> Sort<T>(IList<T> arr)
{
if (arr == null) throw new ArgumentNullException... | 3.612994 | bddc74597e9e5d9288bda4c81269c50b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812141 | {
"extension": "c-sharp",
"max_stars_count": "365.0",
"max_stars_repo_name": "avantida/azure-libraries-for-net",
"max_stars_repo_path": "src/ResourceManagement/Sql/Generated/Models/InstanceFailoverGroupInner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131361"
} | starcoder | <reponame>avantida/azure-libraries-for-net
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// </auto-generated>
namespace Mi... | 1.743468 | e3d53d62c4317f099d29be52808a2d07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812142 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kittypowers/Slack",
"max_stars_repo_path": "libraries/Microsoft.Bot.Builder.Dialogs.Adaptive.Teams/Actions/SendTaskModuleMessageResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131362"
} | starcoder | <filename>libraries/Microsoft.Bot.Builder.Dialogs.Adaptive.Teams/Actions/SendTaskModuleMessageResponse.cs<gh_stars>0
// Licensed under the MIT License.
// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Threa... | 2.059446 | a0c6318a9badbaee32ce63cda50c1fe5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812143 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "NHS111Online/nhs111-online",
"max_stars_repo_path": "NHS111/NHS111.Web/Controllers/OutcomeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131363"
} | starcoder | <reponame>NHS111Online/nhs111-online
using Microsoft.Ajax.Utilities;
using NHS111.Models.Models.Web.FromExternalServices;
using NHS111.Models.Models.Web.Validators;
using NHS111.Web.Helpers;
using System;
using System.Linq;
using System.Web.Http;
using NHS111.Models.Models.Business.MicroSurvey;
namespace N... | 1.604871 | 15aa8c4d12d0a4e95ed83725a233cc13 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812144 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MaartenX/ConnectQL",
"max_stars_repo_path": "src/ConnectQl/Intellisense/Protocol/SerializableAutoCompletions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131364"
} | starcoder | // MIT License
//
// Copyright (c) 2017 <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, me... | 2.453761 | 7793e923c0d1a5af0146e70930e1eb40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812145 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emir01/GeoGrafija",
"max_stars_repo_path": "GeoGrafija/GeoGrafija/Views/Authorization/AddPrivilegeToRole.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131365"
} | starcoder | @using GeoGrafija.ViewModels
@using GeoGrafija.ViewModels.UserViewModels
@model AddPrivilegesToRoleViewModel
@{
ViewBag.Title = "Додади Привилегија кон Улога";
}
<h2>
Додади Привилегија кон Улога</h2>
@Html.Partial("_AdminNavigation")
@using (Html.BeginForm())
{
<br />
@Html.... | 2.113492 | 18b8b82bb02ce023bcb92f45f5a55ffd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812146 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "alibabacloud-sdk-swift/alibabacloud-sdk",
"max_stars_repo_path": "arms-20190808/csharp/core/Client.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131366"
} | starcoder | <filename>arms-20190808/csharp/core/Client.cs
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Tea;
using Tea.Utils;
using AlibabaCloud.SDK.ARMS20190808.Models;
namespace AlibabaCloud... | 1.544215 | 3a53ee36e24d7fd62180e7de258931bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812147 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bob11327/AspNetCore",
"max_stars_repo_path": "src/App.Metrics.AspNetCore.Tracking/Builder/MetricsMiddlewareApplicationBuilderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131367"
} | starcoder | // <copyright file="MetricsMiddlewareApplicationBuilderExtensions.cs" company="App Metrics Contributors">
// Copyright (c) App Metrics Contributors. All rights reserved.
// </copyright>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using App.Metrics;
using Ap... | 1.888048 | 59c27bb1623e05c1bd395c0815746ab6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812148 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Will-Clinic/Front-End",
"max_stars_repo_path": "WillClinic/Views/VeteranIntakeForm/CreateStep6.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131368"
} | starcoder | @model WillClinic.Models.IntakeFormViewModels.IntakeFormViewModel6
@{
ViewData["Title"] = "Application";
Layout = "~/Views/Shared/_IntakeLayout.cshtml";
}
<div class="row">
<div>
<div class="progress">
<div class="progress-bar progress-bar-striped bg-success" role="progressbar" style=... | 2.784019 | 3ab87b8bb2e49e6e38d9c7cd13ee743f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812149 | {
"extension": "c-sharp",
"max_stars_count": "174.0",
"max_stars_repo_name": "iwtexplode/OpenKh",
"max_stars_repo_path": "OpenKh.Tools.Kh2PlaceEditor/ViewModels/PlacesViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131369"
} | starcoder | using OpenKh.Engine;
using OpenKh.Kh2;
using OpenKh.Kh2.Messages;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xe.Tools.Wpf.Models;
namespace OpenKh.Tools.Kh2PlaceEditor.ViewModels
{
public class PlacesViewModel
{
private readonly IMessageProvider _messageProvider;
... | 2.467516 | 63c778d3e4e897a5cb1bc1b982dc1b7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "m-adamkiewicz/CRoute.Service.Identity",
"max_stars_repo_path": "src/CRoute.Service.Identity.Infrastructure/Handlers/Identity/SignUpHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131370"
} | starcoder | <filename>src/CRoute.Service.Identity.Infrastructure/Handlers/Identity/SignUpHandler.cs
using System.Threading.Tasks;
using CRoute.Base.Handlers;
using CRoute.Service.Identity.Infrastructure.Commands.Identity;
using CRoute.Service.Identity.Infrastructure.Services;
namespace CRoute.Service.Identity.Infrastructure.Handl... | 2.200667 | 44a16f2df6ce38af3ed6fd303fd33356 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812151 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "BOONRewardsInc/rewards",
"max_stars_repo_path": "Dashboard/Earn.DataContract/WebAnalytics/AggregatedByDeviceTypeRecord.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131371"
} | starcoder | <filename>Dashboard/Earn.DataContract/WebAnalytics/AggregatedByDeviceTypeRecord.cs
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//
using System.Runtime.Serialization;
namespace Earn.DataContrac... | 1.752949 | cd8e0ed27c63badf98416c37683c6426 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812152 | {
"extension": "c-sharp",
"max_stars_count": "57.0",
"max_stars_repo_name": "JTOne123/dashing",
"max_stars_repo_path": "Dashing/Migration/IStatisticsProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131372"
} | starcoder | <gh_stars>10-100
namespace Dashing.Migration {
using System.Collections.Generic;
using Dashing.Configuration;
public interface IStatisticsProvider {
IDictionary<string, Statistics> GetStatistics(IEnumerable<IMap> fromMaps);
}
} | 1.173404 | ed4da299081b6465d25abffceae9251b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812153 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeBusinessPlatform/Lykke.Common.ApiLibrary",
"max_stars_repo_path": "src/Lykke.Common.ApiLibrary/Middleware/GlobalErrorHandlerMiddleware.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131373"
} | starcoder | <gh_stars>0
using System;
using System.Threading.Tasks;
using Common.Log;
using JetBrains.Annotations;
using Lykke.Common.Log;
using Microsoft.ApplicationInsights.AspNetCore.Extensions;
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
namespace Lykke.Common.ApiLibrary.Middleware
{
/// <summary>
/// Mid... | 1.7911 | 188ef3fc40f41aa03a4f5abc0ffd6d8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BenLubar/inedox-jenkins",
"max_stars_repo_path": "BuildMasterExtension/Legacy/JenkinsJobPicker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131374"
} | starcoder | using System.Linq;
using System.Web.UI.WebControls;
using Inedo.Web.Controls;
namespace Inedo.BuildMasterExtensions.Jenkins
{
internal sealed class JenkinsJobPicker : ValidatingTextBox
{
public JenkinsJobPicker(JenkinsConfigurer configurer)
{
//if (configurer == null)
/... | 1.990884 | 0c9b56301e18dec4112fd756b42b9653 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812155 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ExtendedXmlSerializer/NextRelease",
"max_stars_repo_path": "src/ExtendedXmlSerializer/Core/ObjectIdGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131375"
} | starcoder | <reponame>ExtendedXmlSerializer/NextRelease
using System;
using System.Runtime.CompilerServices;
namespace ExtendedXmlSerializer.Core
{
/// <summary>
/// Attribution: https://msdn.microsoft.com/en-us/library/system.runtime.serialization.objectmanager(v=vs.110).aspx
/// </summary>
sealed class ObjectIdGene... | 2.760866 | 800d5bfea250e5b6c2ccf8d38bdcbac6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812156 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "danrub/greendonut",
"max_stars_repo_path": "src/Core/RequestBufferedEventHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131376"
} | starcoder | using System;
namespace GreenDonut
{
/// <summary>
/// Represents the method that will handle an
/// <see cref="IDataLoader.RequestBuffered"/> event.
/// </summary>
/// <param name="sender">A <c>DataLoader</c> instance.</param>
/// <param name="eventArgs">
/// An object containing context r... | 2.364118 | 30e048c45eba4bf05e49ed79e7ed2258 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812157 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Sdzeng/Kard",
"max_stars_repo_path": "Kard/Runtime/Session/IKardSession.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131377"
} | starcoder | using Kard.DI;
namespace Kard.Runtime.Session
{
public interface IKardSession:ISingletonService
{
/// <summary>
/// 是否已登陆
/// </summary>
bool? IsLogin { get; }
/// <summary>
/// 认证类型
/// </summary>
string AuthenticationType { get; }
///... | 1.811483 | 5353256b750c7f5d2a4bc332dfdd1126 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sweekriti91/azure-mobile-apps",
"max_stars_repo_path": "dotnet/server/test/Azure.Mobile.Server.Test/TableController/Create.Test.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131378"
} | starcoder | <filename>dotnet/server/test/Azure.Mobile.Server.Test/TableController/Create.Test.cs
using Azure.Mobile.Server.Test.Helpers;
using E2EServer.DataObjects;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Threading.T... | 2.240229 | 64bb08bb92110af8bd70b9695c11c1cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812159 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "5118234/Platformus",
"max_stars_repo_path": "src/Platformus.ECommerce.Data.EntityFramework.SqlServer/CartRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131379"
} | starcoder | <gh_stars>0
// Copyright © 2018 <NAME>. 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.Linq;
using ExtCore.Data.EntityFramework;
using Microsoft.EntityFrameworkCore;
using... | 2.381113 | ce802872d74baf6643209d04c6b25bac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812160 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HR-Williams/ParksLookup.Solution",
"max_stars_repo_path": "ParksLookup/Models/ParksLookupContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131380"
} | starcoder | <reponame>HR-Williams/ParksLookup.Solution<filename>ParksLookup/Models/ParksLookupContext.cs
using Microsoft.EntityFrameworkCore;
namespace ParksLookup.Models
{
public class ParksLookupContext : DbContext
{
public ParksLookupContext(DbContextOptions<ParksLookupContext> options)
: base(optio... | 2.542075 | 5d0939649e72f7d3a1a4cecda82a1ddd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812161 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gsaeed/daggerfall-unity",
"max_stars_repo_path": "Assets/Scripts/Game/TalkManagerMCP.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131381"
} | starcoder | <reponame>gsaeed/daggerfall-unity<filename>Assets/Scripts/Game/TalkManagerMCP.cs
// Project: Daggerfall Tools For Unity
// Copyright: Copyright (C) 2009-2021 Daggerfall Workshop
// Web Site: http://www.dfworkshop.net
// License: MIT License (http://www.opensource.org/licenses/mit-license.ph... | 1.785388 | 2a12da17484e008ff0a677e7c839756d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812162 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "6Fer6/Ryujinx",
"max_stars_repo_path": "Ryujinx.Graphics.Gpu/Image/FormatTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131382"
} | starcoder | <reponame>6Fer6/Ryujinx<filename>Ryujinx.Graphics.Gpu/Image/FormatTable.cs
using Ryujinx.Graphics.GAL;
using System.Collections.Generic;
namespace Ryujinx.Graphics.Gpu.Image
{
/// <summary>
/// Contains format tables, for texture and vertex attribute formats.
/// </summary>
static class FormatTable
... | 2.102538 | b9e7d9a2918fba1e77214d8784eb545e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812163 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ClaveConsulting/InMemoryCache",
"max_stars_repo_path": "Projects/Clave.InMemoryCache/IInMemoryCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131383"
} | starcoder | <gh_stars>0
namespace Clave.InMemoryCache
{
using System;
using System.Threading.Tasks;
public interface IInMemoryCache
{
T TryGetOrAdd<T>(
string key,
TimeSpan validFor,
Func<T> valueFactory)
where T : class;
T TryGetOrAdd<T>(
... | 2.240297 | f1b149ef4843a316c83848a2d899ae07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812164 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DonaldAirey/dark-bond-main",
"max_stars_repo_path": "DarkBond.ViewModels/ListItemViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131384"
} | starcoder | // <copyright file="ListItemViewModel.cs" company="Dark Bond, Inc.">
// Copyright © 2016-2018 - Dark Bond, Inc. All Rights Reserved.
// </copyright>
// <author><NAME></author>
namespace DarkBond.ViewModels
{
using System;
using System.Collections;
using System.Collections.ObjectModel;
using System.... | 2.577764 | 24bc5dfcf571037d6321bd7dc5f6e401 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812165 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MatricField/BrainFk",
"max_stars_repo_path": "BrainFuck/BrainFuck/Instructions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131385"
} | starcoder | <reponame>MatricField/BrainFk
using System;
using System.Collections.Generic;
using System.Text;
namespace BrainFuck
{
public enum Instructions
{
LShift,
RShift,
Inc,
Dec,
Read,
Write,
LBracket,
RBracket
}
}
| 1.808449 | 0064f4c2442332c344abecba0009938f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812166 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gradientspace/Simplex",
"max_stars_repo_path": "Assets/Simplex/UIElements/DropMaterialButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131386"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEngine;
namespace f3
{
//
// This class extends a standard HUDButton with a drag action that drops the input
// pivot in the scene
//
public class DropMaterialButton : HUDButton
{
public FScene TargetScene { get; set; }
... | 2.153302 | 1b0fc4504c67b9ccbd89f7e44a58344c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812167 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "krowin24/backuptool",
"max_stars_repo_path": "ConoHaNet/OpenStackMember_Billing.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131387"
} | starcoder | <filename>ConoHaNet/OpenStackMember_Billing.cs
namespace ConoHaNet
{
using Objects.Billing;
using Providers;
using System.Collections.Generic;
using System.Diagnostics;
public partial class OpenStackMember : IOpenStackMember
{
private CloudAccountServiceProvider _AccountServiceProvide... | 2.166116 | 13f10ef53c9555d17c0b937d852faf19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812168 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "aslyr/WebView2.DOM",
"max_stars_repo_path": "WebView2.DOM/HTML/HTMLElement/(subclasses)/HTMLDialogElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131388"
} | starcoder | <reponame>aslyr/WebView2.DOM<filename>WebView2.DOM/HTML/HTMLElement/(subclasses)/HTMLDialogElement.cs
using Microsoft.Web.WebView2.Core;
namespace WebView2.DOM
{
public class HTMLDialogElement : HTMLElement
{
protected internal HTMLDialogElement(CoreWebView2 coreWebView, string referenceId) : base(coreWebView, re... | 1.815567 | 2d4952469d984f3e10fd462f96d8a11e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812169 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kokkiemouse/BEditor",
"max_stars_repo_path": "BEditor/BEditor.Core/Data/Primitive/Properties/PrimitiveEasing/DefaultEasing.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131389"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Text;
using BEditor.Core.Command;
using BEditor.Core.Data.Property;
using BEditor.Core.Data.Property.EasingProperty;
using BEditor.Core.Extensions;
using BEditor.Media;
namespace BEd... | 2.237105 | aafdc9810e67cbef439bb89f0bcb2007 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812170 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yugangw-msft/AutoRest",
"max_stars_repo_path": "src/generator/AutoRest.CSharp.Unit.Tests/TestExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131390"
} | 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;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using AutoRest.Core;
using AutoRest.Core.Extensibility;
using AutoRest.Cor... | 2.330483 | 98507e3bb2411e4f6c4d94e49c9b40a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812171 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "sceelix/Sceelix",
"max_stars_repo_path": "Source/Sceelix.Designer.Renderer3D/GraphicsScreens/DeferredGraphicsDebugMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131391"
} | starcoder | <gh_stars>10-100
#if !WP7 && !WP8
namespace Sceelix.Designer.Renderer3D.GraphicsScreens
{
/// <summary>
/// Debug modes for the <see cref="DeferredGraphicsScreen"/>.
/// </summary>
public enum DeferredGraphicsDebugMode
{
/// <summary>
/// Normal rendering.
/// </summary>
... | 1.996351 | 6b91ba2a5c6749beadc0fbc04ccb17fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812172 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tebyaniyan/Train",
"max_stars_repo_path": "Train/Login.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131392"
} | starcoder | using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Da... | 2.107939 | 40a773f8caa86ab59f42a5127147f162 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812173 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "atc-net/atc-rest-api-generator",
"max_stars_repo_path": "test/Atc.Rest.ApiGenerator.Tests/IntegrationTests/Scenarios/ScenariosTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131393"
} | starcoder | <filename>test/Atc.Rest.ApiGenerator.Tests/IntegrationTests/Scenarios/ScenariosTests.cs
using Atc.DotNet;
using Atc.Helpers;
using Microsoft.Extensions.Logging.Abstractions;
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using VerifyTests;
using VerifyXunit;
using Xunit;
namespace Atc.... | 2.188432 | cc0d413e6bdb4ea32e33bc539bf24dda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812174 | {
"extension": "c-sharp",
"max_stars_count": "5234.0",
"max_stars_repo_name": "SvanBoxel/OrchardCore",
"max_stars_repo_path": "src/OrchardCore/OrchardCore.Apis.GraphQL.Abstractions/Extensions/PermissionsExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131394"
} | starcoder | <filename>src/OrchardCore/OrchardCore.Apis.GraphQL.Abstractions/Extensions/PermissionsExtensions.cs
using System.Collections.Generic;
using System.Linq;
using GraphQL.Builders;
using GraphQL.Types;
using OrchardCore.Security.Permissions;
namespace OrchardCore.Apis.GraphQL
{
public static class PermissionsExtension... | 2.445851 | f32326ab1ff902ea277ba564e392a26a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812175 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "InfiniSwiss/InfiniSwiss.nRoute",
"max_stars_repo_path": "src/InfiniSwiss.nRoute/Components.Composition/InstanceLifetime.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131395"
} | starcoder | namespace nRoute.Components.Composition
{
public enum InstanceLifetime
{
Singleton = 0,
PerInstance
}
}
| 1.488303 | 920dd713bff2c09f9def7dc69a39554f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812176 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "NSU4zYPZKjMS/apo-3-Release",
"max_stars_repo_path": "FDK17プロジェクト/コード/02.入力/CInputMouse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131396"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using SlimDX;
using SlimDX.DirectInput;
namespace FDK
{
public class CInputMouse : IInputDevice, IDisposable
{
// 定数
public const int nマウスの最大ボタン数 = 8;
// コンストラクタ
public CInputMouse( IntPtr hWnd, DirectInput dire... | 2.162106 | f0dee320f5fcf19bcd0f06f9f461616d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812177 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PiIsFour/muahahaha",
"max_stars_repo_path": "Assets/Scripts/Tests/Tools/ExtensionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131397"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
namespace Tests
{
public class ExtensionsTests : TestTools.BaseTestClass
{
[Test]
public void AssertComponentTrue()
{
var obj = new GameObject("obj"... | 2.420123 | c44e327cbb907b952ffc7bb7f44c9461 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812178 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Atharvpatel21/elasticsearch-net",
"max_stars_repo_path": "src/Nest/XPack/Watcher/Schedule/TimeOfWeek.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131398"
} | starcoder | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System.Collections.Generic;
using System.Runtime.Serialization;
using Elasticsearch.Net.Utf8Json;
namespace... | 2.281068 | 11b66de3cc00c439afbd467e4b35ec5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812179 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "scjjcs/silky",
"max_stars_repo_path": "framework/test/ITestApplication/Test/ITestAppService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131399"
} | starcoder | using System;
using System.Threading.Tasks;
using ITestApplication.Test.Dtos;
using ITestApplication.Test.FallBack;
using Silky.Rpc.Address.Selector;
using Silky.Rpc.Runtime.Server;
using Silky.Rpc.Runtime.Server.Parameter;
using Silky.Rpc.Runtime.Server.ServiceDiscovery;
using Silky.Rpc.Transport.CachingIntercept;
usi... | 1.53595 | 12005dcf3bbc107c32558c6c502bd76b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812180 | {
"extension": "c-sharp",
"max_stars_count": "135.0",
"max_stars_repo_name": "raslab/one-line",
"max_stars_repo_path": "Documentation/Examples/Scripts/Details/WeightExample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131400"
} | starcoder | using System;
using UnityEngine;
using OneLine;
namespace OneLine.Examples {
[CreateAssetMenu(menuName = "OneLine/WeightExample")]
public class WeightExample : ScriptableObject {
[SerializeField, OneLine]
private RootField root;
[Serializable]
public class RootField {
[SerializeField, Weight(... | 2.137508 | 7048f82f272885e672f75f85e8dd5a97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812181 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Praetox/Tools",
"max_stars_repo_path": "pImgDB_v0,0,2/pImgDBT/frmMain.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131401"
} | starcoder | namespace pImgDBT
{
partial class frmMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/... | 1.563177 | 9ed1616943fd350980976bbf640c0443 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812182 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Derneuca/KitchenPCTeamwork",
"max_stars_repo_path": "KitchenPC/Core/NLP/Interfaces/ITracer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131402"
} | starcoder | <filename>KitchenPC/Core/NLP/Interfaces/ITracer.cs
namespace KitchenPC.NLP
{
using Enums;
public interface ITracer
{
void Trace(TraceLevel level, string message, params object[] args);
}
} | 2.118752 | 22b59c987d15b01931d0aa78a6b593ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812183 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NephosIntegration/Formula.SimpleAuthServer",
"max_stars_repo_path": "Models/Services/AuthServerConfig/AuthServerUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131403"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace Formula.SimpleAuthServer
{
public class AuthServerUser
{
public AuthServerUser()
{
this.Claims = new List<AuthServerClaimDetails>();
... | 2.157105 | 930141fb719da71faaba1e2b010b5204 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812184 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ren0d1/PictIt",
"max_stars_repo_path": "Areas/Picture/Controllers/IsAFaceController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131404"
} | starcoder | <filename>Areas/Picture/Controllers/IsAFaceController.cs
namespace PictIt.Areas.Picture.Controllers
{
using System;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extens... | 2.464894 | c2587f4bebf056ff7eb7dc633580315c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812185 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "woodybriggs/Tango",
"max_stars_repo_path": "src/Commands/Data/TreeReleaseCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131405"
} | starcoder | using ProtoBuf;
namespace CSM.Commands
{
[ProtoContract]
public class TreeReleaseCommand : CommandBase
{
[ProtoMember(1)]
public uint TreeID { get; set; }
}
}
| 1.698773 | 27f4f5cb2f1a605ba4b4aeb0c7b7ab5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812186 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "matiias/MVC",
"max_stars_repo_path": "src/System.Web.Http.WebHost/WebHostBufferPolicySelector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131406"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System.Net.Http;
using System.Web;
using System.Web.Http.Hosting;
namespace System.Web.Http.WebHost
{
/// <summary>
/// Provides an implementation of <see cref="IHostBuff... | 2.43743 | cd3d65e275d9514c8507c21e38247d97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812187 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mtnsh/BuilderTestSample",
"max_stars_repo_path": "src/BuilderTestSample/Services/OrderService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131407"
} | starcoder | <filename>src/BuilderTestSample/Services/OrderService.cs
using BuilderTestSample.Exceptions;
using BuilderTestSample.Model;
namespace BuilderTestSample.Services
{
public class OrderService
{
public void PlaceOrder(Order order)
{
ValidateOrder(order);
ExpediteOrder(orde... | 3.087539 | 31bd01057c61f61e8887fcad5da4c96b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812188 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "m-Peter/DEiXTo",
"max_stars_repo_path": "DEiXTo/Services.Tests/DocumentQueryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131408"
} | starcoder | <gh_stars>0
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Windows.Forms;
using System.Drawing;
using mshtml;
using DEiXTo.TestHelpers;
namespace DEiXTo.Services.Tests
{
[TestClass]
public class DocumentQueryTests
{
private DocumentQuery query;
[TestInitiali... | 2.242169 | d38fd49e529e6db4e0c317b462b546c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812189 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dornerworks/Mvx.QuickList",
"max_stars_repo_path": "QuickList.iOS/Views/SwitchCell.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131409"
} | starcoder | using System;
using Cirrious.FluentLayouts.Touch;
using FluentTableView;
using Foundation;
using MvvmCross.Binding.BindingContext;
using UIKit;
namespace QuickList.Views
{
public class SwitchCell : MvxFluentTableViewCell
{
public static readonly NSString Key = new NSString("SwitchCell");
... | 2.003448 | 0663ba7764ccbaca6d50afaac4eaae3b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812190 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "r2rml4net/r2rml4net",
"max_stars_repo_path": "src/TCode.r2rml4net/RDB/ISqlQueryBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131410"
} | starcoder | <reponame>r2rml4net/r2rml4net
#region Licence
// Copyright (C) 2012-2018 <NAME>
// http://r2rml.net/
// <EMAIL>
//
// ------------------------------------------------------------------------
//
// This file is part of r2rml4net.
//
// Permission is hereby granted, free of charge, to any person obtaining... | 1.774983 | 597278dbfca34b42d50711544041c610 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812191 | {
"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_CLR_Classic/classic CryptoStream Example/CS/source.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131411"
} | starcoder | using System;
using System.IO;
using System.ComponentModel;
using System.Security.Cryptography;
public class Sample
{
// <Snippet1>
private static void EncryptData(String inName, String outName, byte[] rijnKey, byte[] rijnIV)
{
//Create the file streams to handle the input and output files.
... | 3.396077 | dd3d8074a51f305c0c706079e4e1da61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812192 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zarnes/Unity-Tools",
"max_stars_repo_path": "Tools/BoundsFinder2D/Editor/BoundsFinder2DEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131412"
} | starcoder | <gh_stars>0
using UnityEngine;
using UnityEditor;
using Debug = System.Diagnostics.Debug;
[CustomEditor(typeof(BoundsFinder2D))]
public class BoundsFinder2DEditor : Editor
{
private BoundsFinder2D _finder;
public override void OnInspectorGUI()
{
if (_finder == null)
_finder = target as... | 1.856855 | 1e25bb55ac376f9a06676e9b5530691b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812193 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ageuribeiro/desafio_bradesco",
"max_stars_repo_path": "AppBRA/AppBRA/AppBRA/Controllers/ManagementController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131413"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using AppBRA.Models;
namespace AppBRA.Controllers
{
public class ManagementController : Controller
{
[Authorize]
public ActionResult Usuario()
{
return View();
... | 1.603259 | 2087b01d44b77296f514bbc65cb3613a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812194 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hr-central/keypay-dotnet-v2",
"max_stars_repo_path": "src/keypay-dotnet/Nz/Models/Common/BasicKioskEmployeeModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131414"
} | starcoder | <reponame>hr-central/keypay-dotnet-v2
using System;
using System.Collections.Generic;
using System.Net.Http.Headers;
using KeyPayV2.Nz.Models.Common;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json;
using KeyPayV2.Nz.Enums;
namespace KeyPayV2.Nz.Models.Common
{
public class BasicKioskEmployeeMode... | 1.695191 | dd6642847b27277ae66bf43e9098d9f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812195 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RichardRanft/OmniEngine.Net",
"max_stars_repo_path": "Templates/C#-Full/Winterleaf.Demo.Full/Models.User/GameCode/Tools/ConvexEditor/gui/ConvexEditorToolbar.ed.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131415"
} | starcoder | // WinterLeaf Entertainment
// Copyright (c) 2014, WinterLeaf Entertainment LLC
//
// All rights reserved.
//
// The use of the WinterLeaf Entertainment LLC OMNI "Community Edition" is governed by this license agreement ("Agreement").
//
// These license terms are an agreement between WinterLeaf Entertainmen... | 2.224628 | abad3286a75224f03d2813e742b79eb6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812196 | {
"extension": "c-sharp",
"max_stars_count": "5973.0",
"max_stars_repo_name": "olirobert/uno",
"max_stars_repo_path": "src/Uno.UWP/Storage/Streams/InputStreamOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131416"
} | starcoder | using System;
using Uno;
namespace Windows.Storage.Streams
{
[Flags]
public enum InputStreamOptions : uint
{
None = 0,
[NotImplemented]
Partial = 1,
[NotImplemented]
ReadAhead = 2,
}
}
| 1.852718 | 2c71844f1b030cffe40f16cd8fe92074 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812197 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "green224/IzPhysBone",
"max_stars_repo_path": "unity/Assets/IzBone/IzBCollider/Runtime/Core/IzBColliderSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131417"
} | starcoder | <filename>unity/Assets/IzBone/IzBCollider/Runtime/Core/IzBColliderSystem.cs
using UnityEngine.Jobs;
using Unity.Jobs;
using Unity.Burst;
using Unity.Entities;
using Unity.Collections;
using Unity.Mathematics;
using static Unity.Mathematics.math;
namespace IzBone.IzBCollider.Core {
using Common;
[UpdateInGroup(typ... | 1.960636 | c5fc01fb61f3d701c01c95158bd5e81e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812198 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ddpruitt/MassTransit",
"max_stars_repo_path": "src/MassTransit/Courier/Results/FaultedExecutionResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131418"
} | starcoder | // Copyright 2007-2015 <NAME>, <NAME>, <NAME>, et. al.
//
// 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 req... | 1.774595 | 2e04bd7d5238416cafaa97036b581767 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812199 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeObsessed/MvcHelpers",
"max_stars_repo_path": "Validation/IsHumanNameValidationAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131419"
} | starcoder | <reponame>CodeObsessed/MvcHelpers
using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.CompilerServices;
using ValueObjects;
namespace MvcHelpers.Validation
{
public sealed class IsHumanNameValidationAttribute : ValidationAttribute
{
private const int maxLength = 35;
... | 2.962943 | 21cea4f82defbdfa8465c184b030c3a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812200 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "dongdapeng110/SharpDevelopTest",
"max_stars_repo_path": "src/AddIns/Misc/PackageManagement/Test/Src/EnvDTE/SolutionGlobalsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131420"
} | starcoder | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.PackageManagement.EnvDTE;
using NUnit.Framework;
using PackageManagement.Tests.Helpers;
using ... | 2.17745 | 69682688a238f479586db0f759fa677d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812201 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jdm7dv/Microsoft-Biology-Foundation",
"max_stars_repo_path": "archive/Changesets/mbf-76446/Source/Framework/Bio/Web/ClustalW/IClustalWServiceHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131421"
} | starcoder | // *********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the Apache License, Version 2.0.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WAR... | 2.347796 | 1caad0aaf5820f5eaadd67fe3c62b766 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812202 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "inthehand/compactframework",
"max_stars_repo_path": "InTheHand.Net.NetworkInformation/NativeMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131422"
} | starcoder | // In The Hand - .NET Components for Mobility
//
// InTheHand.Net.NetworkInformation.NativeMethods
//
// Copyright (c) 2003-2010 In The Hand Ltd, All rights reserved.
using System;
using System.Text;
using System.Runtime.InteropServices;
namespace InTheHand.Net.NetworkInformation
{
internal static class NativeM... | 1.867518 | 368c41f5e70da876a1f182349d504416 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812203 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Justn53/Intersect-Engine-Shoppe",
"max_stars_repo_path": "Intersect (Core)/Reflection/AssemblyExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131423"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Intersect.Reflection
{
/// <summary>
/// Extension methods for <see cref="Assembly"/>.
/// </summary>
public static class AssemblyExtensions
{
/// <inheritdoc cref="CreateInstanceOf{TParen... | 2.918957 | 8619845740674d42696d9b8a9938cf9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812204 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ajsuth/Ajsuth.Foundation.Minions.Engine",
"max_stars_repo_path": "src/Pipelines/Blocks/EntityViews/GetRunningMinionsViewBlock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131424"
} | starcoder | using Ajsuth.Foundation.Minions.Engine.Models;
using Ajsuth.Foundation.Minions.Engine.Policies;
using Sitecore.Commerce.Core;
using Sitecore.Commerce.EntityViews;
using Sitecore.Framework.Conditions;
using Sitecore.Framework.Pipelines;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Ajsuth.Fo... | 2.131914 | 15fa8e4e9a1827a0ff24a2e0434af46f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812205 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "duffelhq/duffel-api-dotnet",
"max_stars_repo_path": "Duffel.ApiClient/Models/Responses/OrderChangeRequest/OrderChangeSlice.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131425"
} | starcoder | using System;
using System.Collections.Generic;
using Duffel.ApiClient.Converters.Json;
using Duffel.ApiClient.Models.Responses.Offers;
using Newtonsoft.Json;
using PlaceJsonConverter = Duffel.ApiClient.Converters.Json.PlaceJsonConverter;
namespace Duffel.ApiClient.Models.Responses.OrderChangeRequest
{
public clas... | 2.296719 | 7ba6bdbf5d95775979e2a8f5262d8840 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812206 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kennywangjin/Mflex.InSiteXMLClient",
"max_stars_repo_path": "Mflex.InSiteXMLClient/Camstar/XMLClient/API/csiRequestSelectionValuesEx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131426"
} | starcoder | namespace Camstar.XMLClient.API
{
public interface csiRequestSelectionValuesEx : csiXMLElement
{
long getResultsetSize();
void setResultsetSize(long size);
long getStartRow();
void setStartRow(long startRow);
csiQueryParameters createQueryParameters();
bool getRequestRecordCount();
void setRequest... | 1.349805 | 741052eb21985fdb791da043f7d9d206 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812207 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "drwatson1/dbup-cli",
"max_stars_repo_path": "src/dbup-cli/ConfigLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131427"
} | starcoder | <filename>src/dbup-cli/ConfigLoader.cs
using Optional;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using YamlDotNet.Core;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
namespace DbUp.Cli
{
public stat... | 2.541176 | 3f3bf181f0fa5f6fbb4842ca1a48fa7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812208 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ZhenshengLee/simulator",
"max_stars_repo_path": "Assets/Scripts/Utilities/SensorPassRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131428"
} | starcoder | <reponame>ZhenshengLee/simulator
namespace Simulator.Utilities
{
using Simulator.Sensors;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Rendering.HighDefinition;
public static class SensorPassRenderer
{
private static readonly int ViewMatrix = Shader.PropertyToID("_V... | 1.915484 | 13fdfa3762851fe36c58486dd87c1451 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812209 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "zulcomp/PixiEditor",
"max_stars_repo_path": "PixiEditor/Models/Position/CropData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131429"
} | starcoder | <filename>PixiEditor/Models/Position/CropData.cs
using System;
using System.IO;
using System.Runtime.InteropServices;
namespace PixiEditor.Models.Position
{
[StructLayout(LayoutKind.Explicit)]
public unsafe struct CropData
{
[FieldOffset(0)]
private readonly int _width;
[FieldOffse... | 2.94876 | 7ed3f00e04fdf413a48ff2fa9636285f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812210 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "tripleaeskee/hour6-",
"max_stars_repo_path": "Hour_13/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131430"
} | starcoder | using AspTravlerz.Models;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileProviders;
using Microsoft.Exte... | 2.031015 | 98db4eaaf08d32e6f213cbab04fe38ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812211 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "comsmobiler/SmobilerTutorials",
"max_stars_repo_path": "Source/Plugins/demoTTS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131431"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Smobiler.Core;
using Smobiler.Core.Controls;
namespace Smobiler.Tutorials.Plugins
{
partial class demoTTS : Smobiler.Core.Controls.MobileForm
{
public demoTTS() : base()
{
//This call is req... | 2.087973 | ed547f43824ccdaa5a1c6c6f6b9f93fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812212 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RegiSV2/PCExpertDDD",
"max_stars_repo_path": "src/PCExpert.Core.Domain/Specifications/ConfigurationNameNotEmptySpecification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131432"
} | starcoder | <filename>src/PCExpert.Core.Domain/Specifications/ConfigurationNameNotEmptySpecification.cs<gh_stars>1-10
using System;
using System.Linq.Expressions;
using PCExpert.DomainFramework.Specifications;
namespace PCExpert.Core.Domain.Specifications
{
public sealed class ConfigurationNameNotEmptySpecification : Persistenc... | 2.503447 | 4bc08a86a0811a887796e5f5a24e6d31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812213 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NicoBaumann454/alsp.net.api",
"max_stars_repo_path": "alps .net api/PASSProcessModelElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131433"
} | starcoder | <reponame>NicoBaumann454/alsp.net.api
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using VDS.RDF;
namespace alps.net_api
{
/// <summary>
/// Root class for the inheritans graphs. Represents a PASS process model element
/// </summary>
public class PASSProcessModel... | 2.601221 | d48ae24cc601bd91d6555274fb56eeae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812214 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HelloWindows/AccountBook-",
"max_stars_repo_path": "client/framework/UnityCsReference-master/Modules/UnityConnectEditor/Services/AnalyticsValidationPoller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131434"
} | starcoder | <filename>client/framework/UnityCsReference-master/Modules/UnityConnectEditor/Services/AnalyticsValidationPoller.cs
// Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using System;
using UnityEngine;
using UnityEngi... | 2.127524 | 536bebe25b153e6d2c638495f2a1cc07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812215 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "duaneking/WheelMUD",
"max_stars_repo_path": "src/Core/Events/EventHandlers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131435"
} | starcoder | <gh_stars>0
//-----------------------------------------------------------------------------
// <copyright file="EventHandlers.cs" company="WheelMUD Development Team">
// Copyright (c) WheelMUD Development Team. See LICENSE.txt. This file is
// subject to the Microsoft Public License. All other rights reserved.... | 1.832556 | a3ff99de7d231f37c7299d2193510bf7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812216 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MeisterOfPizza/Galaxies",
"max_stars_repo_path": "Galaxies/Controllers/GalaxyController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131436"
} | starcoder | using Galaxies.Datas;
using Galaxies.Datas.Space;
using Galaxies.Space;
using Galaxies.UI.Screens;
using Galaxies.UIControllers;
using System.Collections.Generic;
namespace Galaxies.Controllers
{
static class GalaxyController
{
public static List<IVisitable> Visitables { get; private set; } = new Li... | 2.374191 | d096bf6eb560494fcc313151c99c242b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812217 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jesnor/NetCore",
"max_stars_repo_path": "Collections/Observables/Collections/SelectObservableCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131437"
} | starcoder | <reponame>jesnor/NetCore
using System;
using NetCore.Collections.Collections;
using NetCore.Observables;
namespace NetCore.Collections.Observables.Collections {
public class SelectObservableCollection<T, U> : SelectCollection<T, U>, IObservableCollection<U> {
private readonly Signal<ICollectionChange<U>> signal... | 2.227624 | 541b980508653cba2f74c5faefd180c5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.