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 | 2037 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VinsantSavov/SoftUni-Software-Engineering",
"max_stars_repo_path": "CSharp-Advanced/Homeworks-And-Labs/Workshop/Lab/Lab/WorkshopDemo/StartUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2038"
} | starcoder | using System;
namespace WorkshopDemo
{
class StartUp
{
static void Main(string[] args)
{
MyList list = new MyList(2);
list.Add(10);
list.Add(20);
list.Add(30);
list.Add(40);
list.Add(50);
list.Add(60);
... | 3.168419 | a0208aa407b1eafcc2c6486de88232e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2038 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wilson0x4d/diagnostics",
"max_stars_repo_path": "X4D.Diagnostics.Counters/SumTotal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2039"
} | starcoder | namespace X4D.Diagnostics.Counters
{
/// <summary>
/// Calculates a Sum Total value.
/// </summary>
public class SumTotal :
ISupportsIncrement<long>,
ISupportsDecrement<long>,
ISupportsReset
{
/// <summary>
/// a Write Lock.
/// </summary>
pri... | 3.068223 | ffef60e14746b512c712477907f01cde |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2039 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "brianpopow/ImageSharp",
"max_stars_repo_path": "src/ImageSharp/Common/Extensions/ComparableExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2040"
} | starcoder | <gh_stars>1-10
// Copyright (c) <NAME> and contributors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Runtime.CompilerServices;
namespace SixLabors.ImageSharp
{
/// <summary>
/// Extension methods for classes that implement <see cref="IComparable{T}"/>.
/// </summary>
... | 3.151625 | 3565215cb201ad4d1df502d56c05b4ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2040 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rafntor/Mapsui",
"max_stars_repo_path": "Samples/Mapsui.Samples.Forms/Mapsui.Samples.Forms.WPF/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2041"
} | starcoder | using Mapsui.Samples.Common.Helpers;
using Mapsui.Samples.Common.Maps;
using System;
using System.IO;
using Xamarin.Forms.Platform.WPF;
namespace Mapsui.Samples.Forms.WPF
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : FormsApplicationPage
... | 2.047224 | 51f42cd4dff79f9cc2d018acf17425b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2041 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Skyprx/maui",
"max_stars_repo_path": "System.Maui.Xaml.UnitTests/Issues/Gh2483.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2042"
} | starcoder | using System;
using System.Collections.Generic;
using NUnit.Framework;
using System.Maui.Core.UnitTests;
using System.Maui;
namespace System.Maui.Xaml.UnitTests
{
public class Gh2483Rd : ResourceDictionary
{
}
public class Gh2483Custom : ResourceDictionary
{
public Gh2483Custom()
{
Add("foo", Color.Orang... | 1.871475 | 3c5203a608c4b8a49459cdbd3392a5a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2042 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "test-wiz-sec/pulumi-azure-nextgen",
"max_stars_repo_path": "sdk/dotnet/ApiManagement/V20180601Preview/Outputs/AuthenticationSettingsContractResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2043"
} | starcoder | <filename>sdk/dotnet/ApiManagement/V20180601Preview/Outputs/AuthenticationSettingsContractResponse.cs
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.C... | 1.928316 | c0b8458704a6e1cc472d12ea7c3b9f58 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2043 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LKneringer/Alturos.Yolo",
"max_stars_repo_path": "src/Alturos.Yolo.LearningImage/Model/ObjectClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2044"
} | starcoder | namespace Alturos.Yolo.LearningImage.Model
{
public class ObjectClass
{
public bool Selected { get; set; }
public int Id { get; set; }
public string Name { get; set; }
}
}
| 1.681515 | 6f865f24c96178546be8767dbbafcf80 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2044 | {
"extension": "c-sharp",
"max_stars_count": "98.0",
"max_stars_repo_name": "xboxeer/NScrapy",
"max_stars_repo_path": "NScrapy.Infra/Attributes/SpiderAttributes/NameAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2045"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Text;
namespace NScrapy.Infra.Attributes.SpiderAttributes
{
public class NameAttribute:Attribute
{
public string Name { get; set; }
}
}
| 1.553024 | 4399b6472d005743c5cfe3c37c2e9d46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2045 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "RxTelegram/RxTelegram.Bot",
"max_stars_repo_path": "src/RxTelegram.Bot/Interface/Extension/MessageTypeExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2046"
} | starcoder | <reponame>RxTelegram/RxTelegram.Bot
using System.Linq;
using RxTelegram.Bot.Interface.BaseTypes;
namespace RxTelegram.Bot.Interface.Extension
{
public static class MessageTypeExtension
{
public static MessageType GetType(this Message message)
{
var type = MessageType.Unknown;
... | 2.101963 | f62b61b7190b50937733d71e5dea98a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2046 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DavidArppe/GameOff2020",
"max_stars_repo_path": "Assets/Misc/Terra/Source/Graph/Editor/EndNodeEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2047"
} | starcoder | using UnityEngine;
using XNodeEditor;
namespace Terra.Graph {
[CustomNodeEditor(typeof(EndNode))]
class EndNodeEditor: NodeEditor {
private readonly int NODE_WIDTH = 150;
public override int GetWidth() {
return NODE_WIDTH;
}
public override string GetTitle() {
return "End";
}
public override C... | 1.750542 | d2170d70ccf58f1a5d043e2918b768f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2047 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "longility/azure-pipelines-vscode",
"max_stars_repo_path": "tools/extract-yaml-testcases/ExampleTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2048"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Threading;
namespace Example
{
[TestClass]
public sealed class PipelineParserBaselineTests
{
[TestInitialize]
public void TestInitialize()
{
m_fileProvider = new YamlFileProvider();... | 2.114568 | 47e6c7dfbb405e6ca133484f758aedcb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2048 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MiniverCheevy/voodoo-reports",
"max_stars_repo_path": "Voodoo.Reports/Adapters/ClosedXml/RowAdapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2049"
} | starcoder | <reponame>MiniverCheevy/voodoo-reports<filename>Voodoo.Reports/Adapters/ClosedXml/RowAdapter.cs
using System.Linq;
using ClosedXML.Excel;
using MigraDoc.DocumentObjectModel;
using Voodoo.Reports.Adapters.MigraDocs;
using Voodoo.Reports.Models;
using Border = Voodoo.Reports.Models.Border;
using Table = Voodoo.Reports.Mo... | 2.247454 | 6ca8a86c379d85588a06515848e01de5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2049 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhichkin/dajet-data-scripting",
"max_stars_repo_path": "src/dajet-data-scripting/visitors/Statements/CreateStoredProcedureStatementVisitor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2050"
} | starcoder | <filename>src/dajet-data-scripting/visitors/Statements/CreateStoredProcedureStatementVisitor.cs
using Microsoft.SqlServer.TransactSql.ScriptDom;
using System;
using System.Collections.Generic;
namespace DaJet.Data.Scripting
{
public sealed class CreateProcedureStatementVisitor : TSqlFragmentVisitor
{
... | 2.670241 | 71fe2be582a765d96827d70892d71150 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2050 | {
"extension": "c-sharp",
"max_stars_count": "3359.0",
"max_stars_repo_name": "phundio/SpaceEngineers",
"max_stars_repo_path": "Sources/Sandbox.Game/Game/Screens/DebugScreens/Render/MyGuiScreenDebugRenderOverrides.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2051"
} | starcoder | <reponame>phundio/SpaceEngineers<gh_stars>1000+
using Sandbox.Game.Gui;
using Sandbox.Graphics.GUI;
using VRage;
using VRageMath;
using VRageRender;
namespace Sandbox.Game.Screens.DebugScreens
{
#if !XB1
[MyDebugScreen("Render", "Overrides")]
class MyGuiScreenDebugRenderOverrides : MyGuiScreenDebugBase
... | 1.262243 | 0ac1b018957912b74a148cf91d9116db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2051 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "danielmarbach/Async.Netcore",
"max_stars_repo_path": "UnobservedExceptionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2052"
} | starcoder | <gh_stars>10-100
using System.IO;
static class UnobservedExceptionExtensions
{
public static void Explain(this UnobservedException runnable, TextWriter writer)
{
writer.WriteLine(@"
- Async void methods will crash the process if an exception is thrown
- `Task`-returning methods are better since... | 2.459291 | 1e8af70ac85117b33b1dab0ed0097df9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2052 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bugeo/ServiceStack",
"max_stars_repo_path": "src/ServiceStack/Host/HttpListener/ListenerRequest.Mono.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2053"
} | starcoder | #if !NETSTANDARD2_0
// Most of this class is sourced from the MONO project in the existing file:
//
// https://github.com/mono/mono/blob/master/mcs/class/System.Web/System.Web/HttpRequest.cs
//
//
// Author:
// <NAME> (<EMAIL>)
// <NAME> (<EMAIL>)
// <NAME> <<EMAIL>>
//
//
// Copyright (C) 2005-201... | 1.880692 | 6ce10aa1aeee5e766f2d0f6601fb2d49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "coimbrastudios/strongly-typed-strings",
"max_stars_repo_path": "Editor/Coimbra.Editor.StronglyTypedStrings.DefaultUnits/EditorDefaultResourcesGeneratorUnit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2054"
} | starcoder | <reponame>coimbrastudios/strongly-typed-strings<filename>Editor/Coimbra.Editor.StronglyTypedStrings.DefaultUnits/EditorDefaultResourcesGeneratorUnit.cs
using JetBrains.Annotations;
using UnityEditor.SettingsManagement;
using UnityEngine;
namespace Coimbra.StronglyTypedStrings.DefaultUnits
{
/// <summary>
/// G... | 2.35616 | 6c0981eccd43e90c2a08ad6e0c62f9da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2054 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HarrisonSuffka/ITSE-1430",
"max_stars_repo_path": "Labs Folder/Lab 3/MovieLib/IMovieDatabase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2055"
} | starcoder | using System.Collections.Generic;
namespace MovieLib {
/// <summary>Provides a database of <see cref="Movie"/> items.</summary>
public interface IMovieDatabase {
/// <summary>Adds a Movie.</summary>
/// <param name="movie">The Movie to add.</param>
/// <returns>The added Movie.</return... | 3.318768 | d273aacea919066030ad417a8176e08d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2055 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DomCR/CSUtilities",
"max_stars_repo_path": "CSUtilities/Mutation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2056"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
namespace CSUtilities
{
/// <summary>
/// Class that allows to modify, copy or control objects outside their own methods.
/// </summary>
public static ... | 3.19785 | 91fff28062adcc09c7b25cb213ff488a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2056 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Qkrisi/ktaneModulusManipulation",
"max_stars_repo_path": "Assets/Scripts/ModulusManipulation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2057"
} | starcoder | <filename>Assets/Scripts/ModulusManipulation.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using KModkit;
/// <summary>
/// Custom module made by hockeygoalie78
/// Changes the rules using the number of other modules remaining and a pre-defined ... | 2.446512 | 6f5c813ca15ccc3625b696be70de2d33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2057 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "laingsimon/vcdb",
"max_stars_repo_path": "vcdb/Scripting/Permission/IPermissionComparer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2058"
} | starcoder | <reponame>laingsimon/vcdb
using vcdb.Models;
namespace vcdb.Scripting.Permission
{
public interface IPermissionComparer
{
PermissionDifferences GetPermissionDifferences(
ComparerContext context,
Permissions currentPermissions,
Permissions requiredPermissions);
}... | 1.36696 | cba7e41fd58f9dc063199e31f643da11 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2058 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "monemihir/webextras",
"max_stars_repo_path": "trunk/WebExtras.DemoApp/Areas/JQueryUI/Views/_ViewStart.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:2059"
} | starcoder | <reponame>monemihir/webextras<gh_stars>1-10
@{
Layout = MVC.JQueryUI.Shared.Views._Layout;
} | 0.818196 | 7d58e9499997628de995c8252f1bbf86 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2059 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aspriddell/orbit-api",
"max_stars_repo_path": "src/Ecosystem/Requests/OsuCommentsRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2060"
} | starcoder | <reponame>aspriddell/orbit-api
// Orbit API Copyright (C) 2019-2021 DragonFruit Network
// Licensed under the MIT License - see the LICENSE file at the root of the project for more info
using System.Collections.Generic;
using DragonFruit.Common.Data.Parameters;
using DragonFruit.Orbit.Api.Ecosystem.Enums;
using Drago... | 2.05535 | 189dd805f9965e852a420a9d68e14894 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2060 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NikolayPianikov/teamcity.client",
"max_stars_repo_path": "generated/src/TeamCity/Api/InvestigationApi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2061"
} | starcoder | /*
* TeamCity REST API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 2018.1
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Collections.Generic;
using System.Collections.Ob... | 1.716849 | a8e0b0e8caadb72f7a542a5f891ab2e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2061 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "leeohalloran/encog-dotnet-core",
"max_stars_repo_path": "ConsoleExamples/Examples/Hopfield/Simple/HopfieldSimple.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2062"
} | starcoder | //
// Encog(tm) Core v3.2 - .Net Version
// http://www.heatonresearch.com/encog/
//
// Copyright 2008-2014 Heaton Research, Inc.
//
// 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
/... | 2.484011 | a9dfa5a571840205866cc85f1d14fce4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2062 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Shail218/Ashirvad",
"max_stars_repo_path": "Ashirvad-main/Ashirvad.Web/obj/Release/Package/PackageTmp/Views/Notification/Create.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:2063"
} | starcoder | @model Ashirvad.Data.NotificationEntity
@{ if (Model.Branch == null)
{
Model.Branch = new Ashirvad.Data.BranchEntity();
}
}
<form id="fNotificationDetail">
<div class="form-group" id="dInformation">
@if (SessionContext.Instance.LoginUser.UserType == Ashirvad.Common.Enums.UserType.SuperAdmin... | 2.413015 | bcf14c1f695612967b1bf025231c054a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2063 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "guru-rajN/barcodescanner-sdk-xamarin-samples",
"max_stars_repo_path": "Native/iOSSplitViewSample/iOSAimAndScanSample/SplitViewResultTableViewCell.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2064"
} | starcoder | <filename>Native/iOSSplitViewSample/iOSAimAndScanSample/SplitViewResultTableViewCell.cs
using System;
using Foundation;
using UIKit;
namespace iOSSplitViewSample
{
public partial class SplitViewResultTableViewCell : UITableViewCell
{
public static readonly NSString Key = new NSString("SplitViewResult... | 2.134204 | b79523bb7a41cc44a31477b7d958ab86 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2064 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "EIDSS/EIDSS-Legacy",
"max_stars_repo_path": "EIDSS v6/eidss.webclient/Views/CommonAggregate/AggregateHeader.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:2065"
} | starcoder | <reponame>EIDSS/EIDSS-Legacy
@model eidss.model.Schema.AggregateCaseHeader
@using Kendo.Mvc.UI
@using eidss.web.common.Utils
@using bv.common.Configuration
@using eidss.webclient.Utils;
@using eidss.model.Schema;
@using eidss.model.Enums;
@using bv.model.Model.Core;
<div class="tabPanelContent">
<div ... | 1.608683 | 36cbcdfb00867bb76d0091abe7e587dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2065 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "SciTechSoftware/SciTech.Rpc",
"max_stars_repo_path": "src/SciTech.Rpc.Lightweight/Lightweight/InprocRpcConnector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2066"
} | starcoder | #region Copyright notice and license
// Copyright (c) 2019-2021, SciTech Software AB
// All rights reserved.
//
// Licensed under the BSD 3-Clause License.
// You may obtain a copy of the License at:
//
// https://github.com/SciTechSoftware/SciTech.Rpc/blob/master/LICENSE
//
#endregion
using SciTech.Rpc.Client;
... | 1.910826 | f60e7ce12f18a8696c1355762271f670 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2066 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Carbonfrost/f-spec",
"max_stars_repo_path": "dotnet/src/Carbonfrost.Commons.Spec/Automation/Preprocessor/TestLogHelpers.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2067"
} | starcoder | <gh_stars>0
//
// File was automatically generated at 02/19/2018 14:39:20
//
namespace Carbonfrost.Commons.Spec.ExecutionModel {
partial class TestLog {
public void Warn(string format, object arg) {
Warn(string.Format(format, arg));
}
public void Warn(string format, object ... | 1.584466 | 814dfa955cf8da69b0e377f02e8c72a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2067 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "vcsb/tfs-merge",
"max_stars_repo_path": "TFSMergingTool/src/Merging/WorkItemHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2068"
} | starcoder | <reponame>vcsb/tfs-merge
using Microsoft.TeamFoundation.WorkItemTracking.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TFSMergingTool.Merging
{
public static class WorkItemHelper
{
/// <summary>
/// Returns... | 2.356671 | cd55d90c579f78c0077218c30152fef5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2068 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "ulikoehler/KNXprodEditor",
"max_stars_repo_path": "KNXprodEditor/Gui/KNXprodEditorMainGui.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2069"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
using System.Windows.Forms;
using KnxProd.Model;
namespace knxpro... | 2.336987 | 31d89f762fb35df48d5010b0991c245f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2069 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "enue/Unity_TSKT_File",
"max_stars_repo_path": "Assets/Samples/FileIO/FileIOSample.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2070"
} | starcoder | <reponame>enue/Unity_TSKT_File
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using UnityEngine.UI;
using Cysharp.Threading.Tasks;
namespace TSKT
{
public class FileIOSample : MonoBehaviour
{
[System.Serializable]
public class Udon
{
... | 1.966963 | e60910134ee2819aef89c89695368094 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2070 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dreese33/Reign-Forest",
"max_stars_repo_path": "Assets/Scripts/Controllers/TerrainController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2071"
} | starcoder | using UnityEngine;
public class TerrainController : MonoBehaviour
{
[SerializeField]
Terrain terrain;
//The total number of terrain objects rendered
public int terrainCount = 0;
float terrainLength;
PlayerController player;
float GetPlayerPosition()
{
return player.characte... | 2.237565 | b4ae926fcf137dc56579515935e2e17d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2071 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zdepav/DrawingPlayground",
"max_stars_repo_path": "DrawingPlayground/Canvas.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2072"
} | starcoder | #nullable enable
using System.Windows.Forms;
namespace DrawingPlayground {
public partial class Canvas : UserControl {
public Canvas() {
InitializeComponent();
}
}
}
| 1.574019 | fabde85a45218fa0afe12022aec74951 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2072 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "741645596/batgame",
"max_stars_repo_path": "Assets/Scripts/LifeM/Life/Bulid/BuildingRoom/BuildingRoomBg.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2073"
} | starcoder | <reponame>741645596/batgame
using UnityEngine;
using System.Collections;
public enum roombgtype
{
none,//上下左都有房间
l,//左无房间,右上有房间
r,//右无房间,左上有房间
t,//上无房间,左右有房间
lr,//左右无房间,上有房间
lrt,//左右上无房间
}
public class BuildingRoomBg : MonoBehaviour {
public Texture2D Texnone;
public Texture2D Texl;
public Texture2D Texr;
pu... | 1.890753 | bd7ea8293eb762e3479af93b1a5701ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2073 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "swilkinson-bluebolt/hotcakes-commerce-core",
"max_stars_repo_path": "Website/DesktopModules/Hotcakes/Core/Admin/Dashboard/Dashboard.ascx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2074"
} | starcoder | <filename>Website/DesktopModules/Hotcakes/Core/Admin/Dashboard/Dashboard.ascx.cs
#region License
// Distributed under the MIT License
// ============================================================
// Copyright (c) 2016 Hotcakes Commerce, LLC
//
// Permission is hereby granted, free of charge, to any person obtainin... | 1.652578 | 8eee6316662163e7087d80adfc1c1bd0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2074 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sjp/SJP.Schema",
"max_stars_repo_path": "src/SJP.Schematic.MySql/MySqlDbTypeProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2075"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using SJP.Schematic.Core;
using SJP.Schematic.Core.Extensions;
using SJP.Schematic.Core.Utilities;
namespace SJP.Schematic.MySql;
/// <summary>
/// A database type provider for MySQL.
/// </summary>
/// <seeal... | 2.751664 | 5382ede9042eb7c8b6f73237b46b3631 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2075 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "isoneguy/NiceHashMinerLegacy",
"max_stars_repo_path": "src/NiceHashMinerLegacy/Miners/Obsolete/Excavator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2076"
} | starcoder | using Newtonsoft.Json;
using NiceHashMiner.Miners.Grouping;
using NiceHashMiner.Miners.Parsing;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
using NiceHashMiner.Algorithms;
using NiceHashMinerLegacy.Common.Enums;
... | 2.286872 | 5221b2848ef811040c112ecbd1b8b222 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2076 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marlonajgayle/NetCoreWebTemplate",
"max_stars_repo_path": "NetCoreWebTemplate.Application/Common/Interfaces/IMailService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2077"
} | starcoder | using NetCoreWebTemplate.Application.Notifications.Models;
using System.Threading.Tasks;
namespace NetCoreWebTemplate.Application.Common.Interfaces
{
public interface IMailService
{
Task SendMailAsync(MessageDto message);
}
}
| 1.417469 | 73a1b3e4677a5dbc20ba89f2e1b08cad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2077 | {
"extension": "c-sharp",
"max_stars_count": "479.0",
"max_stars_repo_name": "popcatalin81/boo",
"max_stars_repo_path": "src/Boo.Lang.Compiler/TypeSystem/Core/GlobalNamespace.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2078"
} | starcoder | #region license
// Copyright (c) 2003, 2004, 2005 <NAME> (<EMAIL>)
// 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 co... | 1.673694 | f55d27b96c9f6c7c468e1168943f9ada |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2078 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "mbernard/CloudEvents.Typed",
"max_stars_repo_path": "src/MBernard.CloudEvents.StronglyTyped/CloudEventConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2079"
} | starcoder | using MBernard.CloudEvents.StronglyTyped.Providers;
using MBernard.CloudEvents.StronglyTyped.TypeResolvers;
namespace MBernard.CloudEvents.StronglyTyped
{
public static class CloudEventConfiguration
{
public static ISourceProvider SourceProvider { get; set; } = new DataContractProvider();
pub... | 1.621336 | 05b4b01ed12d97f82c8e24022ff4e134 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2079 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "geocom-gis/lucenenet",
"max_stars_repo_path": "src/Lucene.Net.Highlighter/PostingsHighlight/WholeBreakIterator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2080"
} | starcoder | #if FEATURE_BREAKITERATOR
using Lucene.Net.Support;
using System;
namespace Lucene.Net.Search.PostingsHighlight
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding c... | 2.574088 | d297f739e103c3a0adf12d78e25c0246 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2080 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "evgenirusev/ShoppingCartStore",
"max_stars_repo_path": "src/Services/ShoppingCartStore.Services.DataServices/ICategoryService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2081"
} | starcoder | namespace ShoppingCartStore.Services.DataServices
{
using Microsoft.AspNetCore.Mvc.Rendering;
using ShoppingCartStore.Common.BindingModels.Category;
using ShoppingCartStore.Common.ViewModels.Category;
using System.Collections.Generic;
using System.Threading.Tasks;
public interface ICat... | 1.572073 | 40aea0424c1391b6239b1731a56d92f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2081 | {
"extension": "c-sharp",
"max_stars_count": "159.0",
"max_stars_repo_name": "elinor-fung/coreclr",
"max_stars_repo_path": "tests/src/JIT/Methodical/NaN/arithm64.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2082"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//
namespace JitTest
{
using System;
class Test
{
static void RunTests(double nan, double plusi... | 2.527243 | e3757a73420726f4d1d1643f007b3d7f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2082 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Velociraptor45/ProjectHermes-ShoppingList",
"max_stars_repo_path": "Api/ShoppingList.Api.Domain/ShoppingLists/Queries/AllQuantityTypesInPacket/AllQuantityTypesInPacketQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2083"
} | starcoder | using ProjectHermes.ShoppingList.Api.Domain.Common.Queries;
using System.Collections.Generic;
namespace ProjectHermes.ShoppingList.Api.Domain.ShoppingLists.Queries.AllQuantityTypesInPacket
{
public class AllQuantityTypesInPacketQuery : IQuery<IEnumerable<QuantityTypeInPacketReadModel>>
{
}
} | 1.210321 | a4692393e9ab99e6706b11e0a3a8aa9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2083 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aktasismail/TeknolojiMagazasi",
"max_stars_repo_path": "AktasTech/AktasTech.DataAccess/Abstract/IKategorilerDAL.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2084"
} | starcoder | <reponame>aktasismail/TeknolojiMagazasi
using System;
using System.Collections.Generic;
using System.Text;
using AktasTech.Core.DataAccess;
using AktasTech.Entities.Concrete;
namespace AktasTech.DataAccess.Abstract
{
public interface IKategorilerDAL: IEntityRepository<Kategoriler>
{
}
}
| 0.906183 | 8806749c1f6a46f76f85ca19824a8c50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2084 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "QcChin/TodoList",
"max_stars_repo_path": "src/TodoList.Domain/Models/Entity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2085"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace TodoList.Domain.Models
{
public abstract class Entity
{
[Key]
public virtual Guid Id { get; set; }
/// <summary>
/// 是否有效(表示是否被删除)
/// </summary>
... | 2.770558 | 65832d8aa3b8f8f8981acebf279dfec2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2085 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mateusOliveiraBrito/curso-completo-c-sharp-materiais",
"max_stars_repo_path": "PROJETOS/5 - exercicios propostos/Exercicio02/Exercicio02/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2086"
} | starcoder | using System;
namespace Exercicio02 {
class Program {
static void Main(string[] args) {
Console.WriteLine("Digite o valor do raio de um círculo:");
double raio = double.Parse(Console.ReadLine());
double area = 3.14159 * (Math.Pow(raio, 2));
Console.WriteLi... | 3.526971 | 384ff5daab1b97afb5a60e52417fcb49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2086 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Luxoft/BSSFramework",
"max_stars_repo_path": "src/_SampleSystem/SampleSystem.WebApiCore/Controllers/_Generated/Main/ManagementUnitAndHRDepartmentLinkService.Generated.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2087"
} | starcoder | namespace SampleSystem.WebApiCore.Controllers.Main
{
using SampleSystem.Generated.DTO;
[Microsoft.AspNetCore.Mvc.ApiControllerAttribute()]
[Microsoft.AspNetCore.Mvc.ApiVersionAttribute("1.0")]
[Microsoft.AspNetCore.Mvc.RouteAttribute("api/v{version:apiVersion}/[controller]")]
publ... | 1.825585 | ebb56ead3f15df62498b3dba2934d211 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2087 | {
"extension": "c-sharp",
"max_stars_count": "980.0",
"max_stars_repo_name": "SMazu/JSIL",
"max_stars_repo_path": "Tests/AnalysisTestCases/TemporaryArraySize.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2088"
} | starcoder | <gh_stars>100-1000
using System;
public static class Program {
public static void Main (string[] args) {
int eight = 8;
int arraySz = eight * eight;
var tempArray = new int[arraySz];
Console.WriteLine("tempArray.Length={0}", tempArray.Length);
}
} | 2.754424 | 5623f60a761f898ef4d8d9caf18bc631 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2088 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GaryHuan9/EchoRenderer",
"max_stars_repo_path": "Echo/src/Core/Textures/Gradient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2089"
} | starcoder | <filename>Echo/src/Core/Textures/Gradient.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using CodeHelpers.Collections;
using CodeHelpers.Diagnostics;
using CodeHelpers.Mathematics;
using CodeHelpers.Packed;
using Echo.Common.Mathematics;
using Echo.Core.Textures.Colors... | 2.663251 | ad612265082beb529a29cc385b5b132a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2089 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TeaDrivenDev/AutoFixture",
"max_stars_repo_path": "Src/Idioms/IGuardClauseCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2090"
} | starcoder | <reponame>TeaDrivenDev/AutoFixture
using System;
namespace Ploeh.AutoFixture.Idioms
{
/// <summary>
/// Represents an action which can be invoked to verify whether or not an expectation about
/// Guard Clause behavior is met, and what to do if that is not the case.
/// </summary>
/// <rema... | 2.801066 | 60368edd186002632795adc05efb9a47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2090 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BitTacklr/CloudQueueBus",
"max_stars_repo_path": "src/CloudQueueBus/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2091"
} | starcoder | using System.Reflection;
[assembly: AssemblyTitle("CloudQueueBus")]
[assembly: AssemblyDescription("CloudQueueBus provides lightweight infrastructure for sending and receiving messages with Azure Storage Queues.")]
| 1.607066 | 3e39b945896033fc04ea751a6ef1f51f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2091 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "penghuidong/gdnet",
"max_stars_repo_path": "GameDesigner/Example/LockStep/Scripts/Logic/Enemy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2092"
} | starcoder | <gh_stars>10-100
#if UNITY_STANDALONE || UNITY_ANDROID || UNITY_IOS || UNITY_WSA
using Net.Share;
using TrueSync;
using UnityEngine;
namespace LockStep.Client
{
public class Enemy : Actor
{
public ObjectView objectView;
private Player target;
//public Enemy(GameSystem gameSystem) : ba... | 2.038742 | 24bca8a113789006490cc4d338ac0733 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2092 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bakerd13/DarenTechs_Starter",
"max_stars_repo_path": "DarenTechs.Data/Entities/Article/Article.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2093"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace DarenTechs.Data.Entities.Article
{
[Table("Articles")]
public class Article
{
[Key]... | 1.978315 | 8c7f036f049e1ca5a67e0413aa7cb904 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2093 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gerege-Systems/Gerege.Framework.HttpClient",
"max_stars_repo_path": "Gerege.Framework.HttpClient/RetryHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2094"
} | starcoder | <reponame>Gerege-Systems/Gerege.Framework.HttpClient<filename>Gerege.Framework.HttpClient/RetryHandler.cs
using System;
using System.Net;
using System.Net.Http;
using System.Net.Sockets;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace Gerege.Framework.HttpClient
{
/// <au... | 2.62354 | 7feeddaf39c03bc228dc258e0c7f48a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2094 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "polivbr/pulumi-azure-native",
"max_stars_repo_path": "sdk/dotnet/HybridCompute/V20210610Preview/Outputs/MachinePropertiesResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2095"
} | starcoder | <gh_stars>0
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace... | 1.534994 | a9746acaa661bcc1e9ef186d0a03ddfc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2095 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Memoyu/elsa-core",
"max_stars_repo_path": "src/core/Elsa.Core/Triggers/TriggersForActivityBlueprintAndWorkflowProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2096"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Elsa.Bookmarks;
using Elsa.Services;
using Elsa.Services.Models;
namespace Elsa.Triggers
{
/// <summary>
/// Default implementation of <see cref="IGetsTriggersForActivityBlueprintAndWorkflow"/>.
... | 2.445262 | 552e9d694e9681a811b35fe2f1a17a3c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2096 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "evandixon/IPS-DotNet-Client",
"max_stars_repo_path": "IPSClient/Objects/Pages/GetPageResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2097"
} | starcoder | <reponame>evandixon/IPS-DotNet-Client
using IPSClient.Objects.System;
using System;
using System.Collections.Generic;
using System.Text;
namespace IPSClient.Objects.Pages
{
public class GetPageResponse
{
public int id { get; set; }
public string title { get; set; }
public Category cate... | 1.66054 | d29930eb1dcf9daa3b467dce29ba0b07 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2097 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sebastianulm/SharpVk",
"max_stars_repo_path": "src/SharpVk/BlendOp.gen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2098"
} | starcoder | <gh_stars>0
// The MIT License (MIT)
//
// Copyright (c) <NAME>/FacticiusVir 2018
//
// 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... | 1.84872 | a8a916dacf53fb8cf5982d048808ddea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2098 | {
"extension": "c-sharp",
"max_stars_count": "421.0",
"max_stars_repo_name": "hamarb123/dotnet-api-docs",
"max_stars_repo_path": "samples/snippets/csharp/VS_Snippets_WebNet/System.Web.Management.WebRequestInformation/CS/webrequestinformation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2099"
} | starcoder | <filename>samples/snippets/csharp/VS_Snippets_WebNet/System.Web.Management.WebRequestInformation/CS/webrequestinformation.cs
/**
*File name: WebRequestInformation.cs
*Purpose: Implements a custom type to
* access the request information.
**/
// <Snippet1>
using System;
using System.Text;
using Syste... | 3.10708 | c230063577b44ea3fd22b131be4e811c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2099 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TrueCells-Technologies-LLC/EFS-Professional-Source",
"max_stars_repo_path": "source/EFS_Professional/frmWaitDeviceDialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2100"
} | starcoder | <filename>source/EFS_Professional/frmWaitDeviceDialog.cs
namespace EFS_Professional
{
using EFS_Professional.WinADBHelper;
using Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Dra... | 1.998319 | c8db2a56a365e2cba876f6335cd59141 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2100 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "DannyCare/BitDay-for-Windows",
"max_stars_repo_path": "Win32Wallpaper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2101"
} | starcoder | using Microsoft.Win32;
using System.IO;
using System.Runtime.InteropServices;
namespace WallpaperChange
{
public enum WallpaperStyle : int
{
Tiled,
Centered,
Stretched,
Fill
}
public static class Win32Wallpaper
{
private const int SPI_SETDES... | 2.294495 | 049d829e14c0d4f2b21de89eded080e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2101 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Speedygeek/ZendeskAPI",
"max_stars_repo_path": "src/Speedygeek.ZendeskAPI/Models/Support/Jobs/JobResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2102"
} | starcoder | // Copyright (c) <NAME>. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace Speedygeek.ZendeskAPI.Models.Support
{
/// <summary>
/// The "results" array in a response lists
/// the resources that were successfully and
/// unsucces... | 2.250434 | e853449bd038d13befbe2da21d31d74b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2102 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "breki/syborg",
"max_stars_repo_path": "Syborg.Tests/WebCommandResultTests/ViewResultTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2103"
} | starcoder | using System.Net;
using LibroLib.Misc;
using NUnit.Framework;
using Rhino.Mocks;
using Syborg.CommandResults;
using Syborg.Razor;
namespace Syborg.Tests.WebCommandResultTests
{
public class ViewResultTests
{
[Test]
public void RenderViewByModelType()
{
ICompil... | 1.816002 | 519da06976910022321d17dac4168162 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2103 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "soleverxu/ADM-FT-ToolsLauncher",
"max_stars_repo_path": "HpToolsLauncher/HpToolsLauncherTests/UnitTest1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2104"
} | starcoder | using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using HpToolsLauncher;
using System.IO;
using System.Xml.Linq;
namespace HpToolsLauncherTests
{
[TestClass]
public class UnitTest1
{
string testIniFile = @"c:\s... | 1.928791 | a5ea27b26c07d2039a756565131ffb6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2104 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "pinch-perfect/Microsoft.IaC",
"max_stars_repo_path": "InfrastructureAsCode.Powershell/Commands/ListItems/GetIaCListItems.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2105"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Management.Automation;
using System.Xml.Linq;
namespace InfrastructureAsCode.Powershell.Commands.ListItems
{
using Microsoft.SharePoint.Client;
using InfrastructureAsCode.Powershell... | 2.098693 | 2b71495c00eb187dfd91322bfa1e1e3a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2105 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "enriqueescobar-askida/Kinito.AdventureWorks2017",
"max_stars_repo_path": "Context/Production_ProductPhoto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2106"
} | starcoder | // <auto-generated>
// ReSharper disable ConvertPropertyToExpressionBody
// ReSharper disable DoNotCallOverridableMethodsInConstructor
// ReSharper disable EmptyNamespace
// ReSharper disable InconsistentNaming
// ReSharper disable PartialMethodWithSinglePart
// ReSharper disable PartialTypeWithSinglePart
// ReSharper ... | 2.116172 | 5651833522ec58ee2dd038bf5a40162f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2106 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mmahut/runner",
"max_stars_repo_path": "src/Sdk/DTPipelines/Pipelines/ObjectTemplating/PipelineTemplateConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2107"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using GitHub.DistributedTask.Expressions2;
using GitHub.DistributedTask.Expressions2.Sdk;
using GitHub.DistributedTask.Expressions2.Sdk.Functions;
using GitHub.DistributedTask.ObjectTemplating;
using GitHub.DistributedTask.O... | 2.166741 | d5f523f438f71c80467148f0fee174c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2107 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "evgenynazarchuk/ServiceMeter",
"max_stars_repo_path": "ServiceMeter/PerformancePlans/Basic/BasicActiveUsersBySteps.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2108"
} | starcoder | /*
* MIT License
*
* Copyright (c) <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, merg... | 2.262055 | 14821a62bc7ccd9c1469b9ce5290e15a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2108 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "makingsensetraining/mobile-pocs",
"max_stars_repo_path": "Xamarin/MvvmSeed/MvvmSeed/MvvmSeed.Domain/Services/StringRandomizerService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2109"
} | starcoder | using System;
using System.Linq;
using MvvmSeed.Domain.Model;
namespace MvvmSeed.Domain.Services
{
/// <summary>
/// Simple implementation of <see cref="IStringRandomizerService"/> that stores randomization info on local storage
/// </summary>
public class StringRandomizerService : IStringRandomizerSe... | 3.110713 | 5b57e457609447d14a73b632ec85086f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2109 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SheldonXing/FSM",
"max_stars_repo_path": "SimpleAIProject/Assets/Scripts/Types.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2110"
} | starcoder | <gh_stars>0
using UnityEngine;
/// <summary>
/// 游戏对象实体类型
/// </summary>
public enum E_EntityType
{
None = -2,
Player = -1,
SwordsMan = 0,
Peasant = 1,
Count, //怪物数量种类
}
/// <summary>
/// 有限状态机种类
/// </summary>
public enum E_FSMType
{
None,
SimpleHero,
Player,
Boss01,
Count,
... | 1.546857 | cb08d6cd65528f07bad06db7026e03e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2110 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cdemi/Soteria",
"max_stars_repo_path": "Soteria.Data.SqlServer/Migrations/20200720150309_Added Index and more fields for history.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2111"
} | starcoder | <gh_stars>0
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Soteria.Data;
namesp... | 1.938934 | 4b0d1d7d8d2026748fc4590950bf512f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2111 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "phxvyper/FLog",
"max_stars_repo_path": "FLog/Logging/Handlers/ConsoleLoggerHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2112"
} | starcoder | <reponame>phxvyper/FLog<gh_stars>1-10
using System;
using FLog.Logging.Formatters;
namespace FLog.Logging.Handlers
{
public class ConsoleLoggerHandler : ILoggerHandler
{
private readonly ILoggerFormatter _loggerFormatter;
public ConsoleLoggerHandler() : this(new DefaultLoggerFormatter()) { }
... | 1.973559 | 8ef171aaa8da9eca4afdef641ab3ee03 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2112 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "wiredwiz/Grun.Net",
"max_stars_repo_path": "Grun/SyntaxHighlighting/ConsoleReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2113"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Text;
namespace Org.Edgerunner.ANTLR4.Tools.Testing.Grun.SyntaxHighlighting
{
public class ConsoleReader
{
public static IEnumerable<string> ReadFromBuffer(short x, short y, shor... | 2.549528 | 39999294e86c81e3764f76509b16c529 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2113 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AlexCatarino/CAT",
"max_stars_repo_path": "CAT.Model/ExternalInterface/JSONMessages/QuoteRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2114"
} | starcoder | <reponame>AlexCatarino/CAT
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Collections;
namespace CAT.Model.ExternalInterface.JSONMessages
{
/// <summary>
/// This message is used to subscribe to quotes.
/// A QuoteRes... | 2.517238 | dd246ed45bfe45ec0d62851eb16418ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2114 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "Steph55/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/_D3DDDIARG_DECODEENDFRAME.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2115"
} | starcoder | <reponame>Steph55/DirectN
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d3dumddi.h(1144,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct _D3DDDIARG_DECODEENDFRAME
{
public IntPtr hDec... | 0.991359 | 48dc30b6a77356001807bd4967646e6f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2115 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hhy37/AdaptiveCards",
"max_stars_repo_path": "source/dotnet/Library/AdaptiveCards/AdaptiveHeight.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2116"
} | starcoder | using Newtonsoft.Json;
namespace AdaptiveCards
{
/// <summary>
/// Controls the vertical size (height) of element.
/// </summary>
public enum AdaptiveHeightType
{
/// <summary>
/// The height of the element is wraps the element content
/// </summary>
Auto,
... | 3.053317 | 6371fb8eb786f57a8e8b13bf55c790cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2116 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AmayerGogh/CCode",
"max_stars_repo_path": "aspnet-core/src/CCode.Core/Logs/LogManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2117"
} | starcoder | using Amayer.Common.Modules.FlashLog;
using System;
using System.Collections.Generic;
using System.Text;
namespace CCode.Logs
{
public class LogManager
{
static FlashLogger _lc流程;
public static FlashLogger lc流程
{
get
{
if (_lc流程 == null)
... | 1.822397 | 54905d559a4dc5f7fed0d7c2959abf7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2117 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Black-Beard-Sdk/TransformJsonToJson",
"max_stars_repo_path": "Src/Black.Beard.TransformJson/ContentHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2118"
} | starcoder | using Newtonsoft.Json.Linq;
using System;
using System.IO;
using System.Text;
namespace Bb
{
public static class ContentHelper
{
/// <summary>
/// Loads the content of the file.
/// </summary>
/// <param name="rootSource">The root source.</param>
/// <returns></return... | 2.954002 | 9ce7e78f69aa3e85e44d54ad67fce44a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2118 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WS-QA/-Ocelot",
"max_stars_repo_path": "src/Ocelot/Request/Middleware/HttpRequestBuilderMiddlewareExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2119"
} | starcoder | <filename>src/Ocelot/Request/Middleware/HttpRequestBuilderMiddlewareExtensions.cs<gh_stars>0
using Microsoft.AspNetCore.Builder;
using Ocelot.Middleware.Pipeline;
namespace Ocelot.Request.Middleware
{
public static class HttpRequestBuilderMiddlewareExtensions
{
public static IOcelotPipelineBuilder UseD... | 1.76514 | 338b7cab04f682dd0e6fb492af6dcad4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2119 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SonyaSa/CppSharp",
"max_stars_repo_path": "src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/Sources.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2120"
} | starcoder | <filename>src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/Sources.cs
//----------------------------------------------------------------------------
// This is autogenerated code by CppSharp.
// Do not edit this file or all your changes will be lost after re-generation.
//-----------------------------------------------... | 2.193384 | 0f57e1f50dfd58f6d673c5f0f15ba9ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2120 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "josephbhunt/Argon-Assault",
"max_stars_repo_path": "Assets/MusicPlayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2121"
} | starcoder | <gh_stars>0
using UnityEngine;
using UnityEngine.SceneManagement;
public class MusicPlayer : MonoBehaviour {
private void Awake()
{
DontDestroyOnLoad(this);
}
// Use this for initialization
void Start () {
Invoke("LoadNextLevel", 3f);
}
// Update is called once per frame
... | 1.742489 | bdf7c5fe4b69b9faf4a09302653c5f9c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2121 | {
"extension": "c-sharp",
"max_stars_count": "78.0",
"max_stars_repo_name": "armohamm/Cauldron",
"max_stars_repo_path": "Shared/Cauldron.XAML/Interactivity/InteractionTemplate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2122"
} | starcoder | <gh_stars>10-100
using System.Collections.ObjectModel;
namespace Cauldron.XAML.Interactivity
{
/// <summary>
/// Represents a collection of <see cref="IBehaviour"/>
/// </summary>
public sealed class InteractionTemplate : Collection<IBehaviour>
{
}
} | 1.649863 | 8b54baf82c40b02b5db3c0ce9201ba16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2122 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "pulumi/pulumi-aiven",
"max_stars_repo_path": "sdk/dotnet/Service.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2123"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.628447 | cf5c15a9770aa145f53e38537176613c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2123 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kevinvalleau/Gestion_Championnat",
"max_stars_repo_path": "Gestion_Championnat.Logique.Tests/Strategie_Generation_Matches_Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2124"
} | starcoder | <gh_stars>0
using Gestion_Championnat.Modeles;
using System.Collections.Generic;
using System.Linq;
using Xunit;
using Xunit.Abstractions;
namespace Gestion_Championnat.Logique.Tests
{
[Trait("Generation_Matches", "Unit")]
public class Strategie_Generation_Matches_Tests
{
ITestOutputHelper output;... | 2.678144 | 9c146970559c0ff40b98cab394069a36 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2124 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "TacoVengeance/DeluxePlugin",
"max_stars_repo_path": "Dollmaster/src/BreathController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2125"
} | starcoder | <gh_stars>10-100
using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using SimpleJSON;
namespace DeluxePlugin.Dollmaster
{
public class BreathController : BaseModule
{
JSONStorableBool breathEnabled;
FreeControllerV3 chestControl;
const float... | 2.089365 | d676806bf5a47224c537700f9abfdf92 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2125 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "econmed/ImageServer20",
"max_stars_repo_path": "ImageServer/Services/WorkQueue/WorkQueueProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2126"
} | starcoder | #region License
// Copyright (c) 2009, ClearCanvas 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 not... | 1.731545 | e4f531bcfa0bf9ee007d90b45cdcaffd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2126 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sicsbd/IdentityModel2",
"max_stars_repo_path": "test/UnitTests/DiscoveryCacheTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2127"
} | starcoder | using FluentAssertions;
using IdentityModel.Client;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
namespace IdentityModel.UnitTests
{
public class DiscoveryCacheTests
{
NetworkHandler _successHandler;
string _authority = "https://demo.iden... | 2.174286 | 9ca6aec08446ec26f253f8e50cb0a547 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2127 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "stanb/Comformation",
"max_stars_repo_path": "src/Comformation/Generated/WAFv2/RegexPatternSet/RegexPatternSetResource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2128"
} | starcoder | <reponame>stanb/Comformation<gh_stars>10-100
using System;
using System.Collections.Generic;
using Comformation.IntrinsicFunctions;
namespace Comformation.WAFv2.RegexPatternSet
{
/// <summary>
/// AWS::WAFv2::RegexPatternSet
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wa... | 2.088048 | a0561050ba3835c27459886059b7c0ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2128 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chunfz/AiursoftOnContainers",
"max_stars_repo_path": "Stargate/Data/TimeOutCleaner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2129"
} | starcoder | using Aiursoft.Pylon.Services;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Aiursoft.Stargate.Data
{
public static class TimeoutCleaner
{
public static async Task AllClean(StargateDbContext _dbContext)
... | 2.020372 | f10bd93ab17ddc595750d71721f78a95 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2129 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gorateron/TutorialMod",
"max_stars_repo_path": "Projectiles/WoodenArrowOfDeath.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2130"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace TutorialMod.Projectiles
{
public class WoodenArrowOfDeathProjectile : ModProjectile
{
public override void SetDefau... | 2.304257 | 348abd4100f06ed759df70901a3b953c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2130 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ORuban/azure-cosmos-dotnet-v3",
"max_stars_repo_path": "Microsoft.Azure.Cosmos/src/Resource/CosmosExceptions/CosmosExceptionFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2131"
} | starcoder | //------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.Resource.CosmosExceptions
{
using System;
using System.IO;
using System.Net;
usin... | 2.027857 | dd863d8c8e19603d6a526a0dea916cc8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2131 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mylab-tools/apiclient",
"max_stars_repo_path": "src/IntegrationTests/ApiProxyBehavior.stuff.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2132"
} | starcoder | using Microsoft.AspNetCore.Mvc.Testing;
using Microsoft.Extensions.DependencyInjection;
using MyLab.ApiClient;
using TestServer;
using Xunit.Abstractions;
namespace IntegrationTests
{
public partial class ApiProxyBehavior
{
private readonly WebApplicationFactory<Startup> _webApplicationFactory;
... | 2.061238 | 34882c7f9b213c28757396bba16c6763 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2132 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zapto-dev/Mediator",
"max_stars_repo_path": "benchmarks/Benchmarks/StructRequestTypeBenchmark.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2133"
} | starcoder | <filename>benchmarks/Benchmarks/StructRequestTypeBenchmark.cs
using BenchmarkDotNet.Attributes;
using Benchmarks.Handlers.Zapto;
using Benchmarks.Models;
using Microsoft.Extensions.DependencyInjection;
using Zapto.Mediator;
namespace Benchmarks;
[MemoryDiagnoser]
public class StructRequestTypeBenchmark
{
private... | 2.20656 | d4bf6c8701ba2c065b46174d788f73bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2133 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "doncot/SosowaReader",
"max_stars_repo_path": "SosowaReader/ViewModels/MainPageViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2134"
} | starcoder | <reponame>doncot/SosowaReader
using Prism.Commands;
using Prism.Windows.AppModel;
using Prism.Windows.Mvvm;
using Prism.Windows.Navigation;
using SosowaReader.Models;
using SosowaReader.Services;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Linq;
using System;
using System.Net.Http;
usi... | 2.443574 | bb0a8f7dc78d3aab2db47edd7092fda7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2134 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "composite/ArangoDB.Net",
"max_stars_repo_path": "Driver/Internal/VelocyPack/VPackConfigure.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2135"
} | starcoder | /*
* DISCLAIMER
*
* Copyright 2016 ArangoDB GmbH, Cologne, Germany
*
* 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 ap... | 1.711973 | 9e6350abf3529efbc5dafe50c9f54385 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2135 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nvdeveloper/UmbracoUpgrade-7.7.0-WorkAround",
"max_stars_repo_path": "src/Umbraco.Core/Configuration/UmbracoSettings/IViewStateMoverModuleSection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2136"
} | starcoder | <gh_stars>1-10
namespace Umbraco.Core.Configuration.UmbracoSettings
{
public interface IViewStateMoverModuleSection : IUmbracoConfigurationSection
{
bool Enable { get; }
}
} | 1.165651 | 9de98500b8baed8e27b4fd61750adc3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2136 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gandja-A/InstantQuery",
"max_stars_repo_path": "tests/InstantQuery.UnitTests/NotEqualFilterTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2137"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using InstantQuery.UnitTests.Entities;
using InstantQuery.UnitTests.Filters;
using Xunit;
namespace InstantQuery.UnitTests
{
public class NotEqualFilterTests
{
[Fact]
public void FilterNotEqual_OneFitInt... | 2.479006 | 0c1c8cd378b2f56407574742562f5273 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.