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 | 4037 | {
"extension": "c-sharp",
"max_stars_count": "197.0",
"max_stars_repo_name": "iskandersierra/Typin",
"max_stars_repo_path": "src/Typin/Typin/Internal/Extensions/InternalStringExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4038"
} | starcoder | namespace Typin.Internal.Extensions
{
using System;
using System.Collections.Generic;
internal static class InternalStringExtensions
{
public static string? NullIfEmpty(this string str)
{
return string.IsNullOrWhiteSpace(str) ? null : str;
}
public static s... | 3.159166 | 35a2aad7e546e5162bca1b05671bff72 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4038 | {
"extension": "c-sharp",
"max_stars_count": "100.0",
"max_stars_repo_name": "RyanHauert/fubumvc",
"max_stars_repo_path": "src/FubuMVC.Core/Security/Authentication/LoginStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4039"
} | starcoder | namespace FubuMVC.Core.Security.Authentication
{
public enum LoginStatus
{
NotAuthenticated,
Failed,
Succeeded,
LockedOut
}
} | 1.482572 | a63e7f329aceaec0e91d9e143bc09583 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4039 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "IxxyXR/wythoff-polyhedra",
"max_stars_repo_path": "Assets/_3rdParty/zCode/zMesh/HalfedgeList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4040"
} | starcoder | <reponame>IxxyXR/wythoff-polyhedra
/*
* Notes
*/
using System;
using System.Collections.Generic;
using System.Linq;
using zCode.zCore;
namespace zCode.zMesh
{
/// <summary>
///
/// </summary>
/// <typeparam name="V"></typeparam>
[Serializable]
public class HalfedgeList<E> : HeElementList... | 2.390124 | 66a9f7729f3aae48c7a9a69977281ad1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4040 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "notator/MNXtoSVG",
"max_stars_repo_path": "Moritz.Symbols/SvgScore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4041"
} | starcoder | <reponame>notator/MNXtoSVG<filename>Moritz.Symbols/SvgScore.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Windows.Forms;
using System.Xml;
using MNX.Globals;
using Moritz.Spec;
using Moritz.Xml;
namespace Moritz.Symbols
{
public class SvgScore
{
#... | 2.190804 | 6f2fd6bc24d3b846bb4fbba6600d3a3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4041 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "EIDSS/EIDSS-Legacy",
"max_stars_repo_path": "EIDSS v6/eidss.openapi.bll/Converters/DiagnosisConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4042"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using AutoMapper;
using bv.model.BLToolkit;
using eidss.model.Enums;
using eidss.openapi.bll.Exceptions;
namespace eidss.openapi.bll.Converters
{
internal class DiagnosisConverter :
... | 1.88091 | 80d16ce71b30959e85694e831a605851 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4042 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "changeworld/VFSForGit",
"max_stars_repo_path": "GVFS/GVFS.Upgrader/UpgradeOrchestrator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4043"
} | starcoder | using GVFS.Common;
using GVFS.Common.Git;
using GVFS.Common.Tracing;
using System;
using System.IO;
namespace GVFS.Upgrader
{
public class UpgradeOrchestrator
{
private const EventLevel DefaultEventLevel = EventLevel.Informational;
private ProductUpgrader upgrader;
private... | 1.888686 | 29553b734fe1f288d8c7605bbfbb5f05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4043 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "kennux/UnityEssentials",
"max_stars_repo_path": "Code/Utility/MeshBuilder/MeshBuilderChannels.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4044"
} | starcoder | <filename>Code/Utility/MeshBuilder/MeshBuilderChannels.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UnityTK
{
[System.Flags]
public enum MeshBuilderChannels
{
INVALID = 0,
NORMALS = 1,
... | 2.764389 | 74c1d6dbd158c97b18de26469701c0ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4044 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ThePickaxeTeam/Pickaxe.Blockchain",
"max_stars_repo_path": "src/Pickaxe.Blockchain.Api/Mappers/ModelFactory.NodeInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4045"
} | starcoder | using Pickaxe.Blockchain.Domain.Models;
using NodeInfoContract = Pickaxe.Blockchain.Contracts.NodeInfo;
namespace Pickaxe.Blockchain.Api.Mappers
{
public static partial class ModelFactory
{
public static NodeInfoContract ToContract(this NodeInfo nodeInfo)
{
return new NodeInfoContr... | 1.952989 | 2ac7148b5f7cf7854afc6a1ced791506 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4045 | {
"extension": "c-sharp",
"max_stars_count": "119.0",
"max_stars_repo_name": "rile-s/FNFUnity",
"max_stars_repo_path": "Assets/Scripts/Graphics/CustomPostProcess/Runtime/RenderFeatures/CustomPostProcessRenderer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4046"
} | starcoder | <gh_stars>100-1000
using System;
namespace UnityEngine.Rendering.Universal.PostProcessing {
/// <summary>
/// Custom Post Processing injection points.
/// Since this is a flag, you can write a renderer that can be injected at multiple locations.
/// </summary>
[Flags]
public enum CustomPo... | 2.735803 | d1ba16c8c158e0846f9203b8a65a2f77 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4046 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "TownSuite/TownSuite.Web.SSV3Facade",
"max_stars_repo_path": "TownSuite.Web.Example/ServiceStackExample/Example2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4047"
} | starcoder | <reponame>TownSuite/TownSuite.Web.SSV3Facade
using System;
namespace TownSuite.Web.Example.ServiceStackExample
{
public class Example2
{
public Example2()
{
}
public decimal Number1 { get; set; }
public decimal Number2 { get; set; }
public ComplexModel Model { get; set; }
}
}
| 1.470735 | 17574d0aafe88f207b87ffd2e025fd62 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4047 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JTOne123/matisco",
"max_stars_repo_path": "Matisco.Wpf.Controls/Coverters/DisplayMemberPathConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4048"
} | starcoder | using System;
using System.Globalization;
using System.Windows.Data;
namespace Matisco.Wpf.Controls.Coverters
{
public class DisplayMemberPathConverter : IMultiValueConverter
{
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
{
if (Refe... | 2.561147 | d1b2b0bee6ffd5bfdf5924dfd87a25dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4048 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "LL3006/godot",
"max_stars_repo_path": "modules/mono/editor/GodotTools/GodotTools/Export/ExportPlugin.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4049"
} | starcoder | <gh_stars>1-10
using Godot;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using GodotTools.Core;
using GodotTools.Internals;
using static GodotTools.Internals.Globals;
using Directory = GodotTools.Utils.Directory;
usi... | 1.878069 | c80c33d6bf1984282d8befaa6801e045 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4049 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JeremyAnsel/JeremyAnsel.DirectX-Samples",
"max_stars_repo_path": "DXSDK_Jun10_Direct3D11_Tutorials/Tutorial07/ConstantBufferChangesOnResizeData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4050"
} | starcoder | using JeremyAnsel.DirectX.DXMath;
using System.Runtime.InteropServices;
namespace Tutorial07
{
[StructLayout(LayoutKind.Sequential)]
struct ConstantBufferChangesOnResizeData
{
public XMFloat4X4 Projection;
public static readonly uint Size = (uint)Marshal.SizeOf(typeof(ConstantBufferChange... | 1.778565 | 5bef24165ab46405fc64d90659c492d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4050 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wellengineered-us/cruisecontrol",
"max_stars_repo_path": "src/WellEngineered.CruiseControl.Dashboard.Web/Dashboard/Actions/MultipleXslReportBuildAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4051"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using WellEngineered.CruiseControl.PrivateBuild.NetReflector.Attributes;
using WellEngineered.CruiseControl.WebDashboard.IO;
using WellEngineered.CruiseControl.WebDashboard.MVC;
using WellEngineered.CruiseControl.WebDashboard.MVC.Cruise;
using W... | 1.96152 | b74417811dbe18ff88b89d97a0ac17c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4051 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "datyayu/raji-net",
"max_stars_repo_path": "Repositories/ArtistRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4052"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using RajiNet.Models;
using RajiNet.ViewModels;
namespace RajiNet.Repositories
{
public class ArtistRepository : GenericRepository<Artist, ArtistVM>, IRepository<Artist, ArtistVM>
{
public ArtistRepository(RajiNe... | 3.014481 | a657977619dc7a5fa6e85e7fe3cd28c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4052 | {
"extension": "c-sharp",
"max_stars_count": "118.0",
"max_stars_repo_name": "daviddays/ChromeDevTools",
"max_stars_repo_path": "source/ChromeDevTools/Protocol/Chrome/Tracing/BufferUsageEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4053"
} | starcoder | <reponame>daviddays/ChromeDevTools
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Tracing
{
[Event(ProtocolName.Tracing.BufferUsage)]
[SupportedBy("Chrome")]
public class BufferUsageEvent
{
/// <summary>
/// Gets or ... | 1.922103 | 70da980ad9ddaf427d3606094bd2d39a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kevinarthurackerman/Chronosphere",
"max_stars_repo_path": "src/Chronosphere.Test/LegacyExtensionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4054"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace Chronosphere.Test
{
[TestClass]
public class LegacyExtensionTests
{
[TestMethod]
public void ShouldGetRandomPastLocalDate()
{
using var scope = Se... | 2.227467 | b0e1df7d7c5afc60ec8c5a999d1d2303 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4054 | {
"extension": "c-sharp",
"max_stars_count": "1010.0",
"max_stars_repo_name": "MiggieNRG/microsoft-authentication-library-for-dotnet",
"max_stars_repo_path": "tests/Microsoft.Identity.Test.Common/Core/Mocks/MockHttpMessageHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4055"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Identity.Client.OAuth2;
using Micr... | 2.2113 | d98580c0d97c21c014bb0570a2b10f40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4055 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "flcdrg/sqlformat",
"max_stars_repo_path": "Laan.SQL.Parser/Entities/Extensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4056"
} | starcoder | <reponame>flcdrg/sqlformat
using System;
namespace Laan.Sql.Parser.Entities
{
internal static class Extensions
{
public static string WithBrackets( this string field )
{
return String.Format( "[{0}]", field.Trim( new char[] { '[', ']' } ) );
}
}
}
| 1.782878 | 13a697c8bc3f4ad78a379eef30f63248 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4056 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ashuthinks/webnuget",
"max_stars_repo_path": "tests/NuGetGallery.FunctionalTests/ODataTests/LoadTests/LoadTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4057"
} | starcoder | using System;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NuGetGallery.FunctionTests.Helpers;
namespace NuGetGallery.FunctionalTests.LoadTests
{
/// <summary>
/// This class has the various scenarios used in ... | 2.502399 | 6cb6596a0d8dcadd61925bb487699a08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4057 | {
"extension": "c-sharp",
"max_stars_count": "1373.0",
"max_stars_repo_name": "Romout/dockpanelsuite",
"max_stars_repo_path": "WinFormsUI/ThemeVS2013/VS2013DockPaneCaptionFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4058"
} | starcoder | <reponame>Romout/dockpanelsuite
using WeifenLuo.WinFormsUI.Docking;
namespace WeifenLuo.WinFormsUI.ThemeVS2013
{
internal class VS2013DockPaneCaptionFactory : DockPanelExtender.IDockPaneCaptionFactory
{
public DockPaneCaptionBase CreateDockPaneCaption(DockPane pane)
{
return new VS... | 1.476014 | 7322c95069694500afe19735caee6afd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4058 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MelbourneDeveloper/Uno",
"max_stars_repo_path": "src/Uno.UWP/Generated/3.0.0.0/Windows.Perception.People/HandMeshObserver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4059"
} | starcoder | <filename>src/Uno.UWP/Generated/3.0.0.0/Windows.Perception.People/HandMeshObserver.cs<gh_stars>1-10
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Perception.People
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotIm... | 1.969664 | 4ca8d557f73ee6603a182263090f1384 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4059 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "GrantByrne/WebOsTv.Net",
"max_stars_repo_path": "src/WebOsTv.Net/Responses/Tv/SwitchInputResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4060"
} | starcoder | namespace WebOsTv.Net.Responses.Tv
{
public class SwitchInputResponse : ResponseBase
{
}
}
| 0.982946 | d6dc0ac67a47fff246fd91c4e36a5ab0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4060 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tonihenriques/cemig-gecipa",
"max_stars_repo_path": "src/Cemig.Gecipa.CoreBusiness.WebApi/Queries/CoreBusinessQueryContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4061"
} | starcoder | using Dapper;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Threading.Tasks;
namespace Cemig.Gecipa.CoreBusiness.WebApi.Queries
{
internal class CoreBusinessQueryContext
{
private readonly IDbConnection dbConnection;
private readon... | 2.455309 | 11a61b97f62f38e5352c477c051750e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4061 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dimitar-yo-dimitrov/SoftUni-Software-Engineering",
"max_stars_repo_path": "C# Advanced/Homeworks-And-Labs/MultidimensionalArrays-Exercise/demmmo/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4062"
} | starcoder | using System;
using System.Linq;
namespace demmmo
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
var matrix = new int[n, n];
for (int row = 0; row < n; row++)
{
var rowData = Console.R... | 3.45615 | e6707ff88b0dab9beee6a102fbf529eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4062 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeanluctritsch/CommunityServer",
"max_stars_repo_path": "common/ASC.Common/Notify/Recipients/IRecipientsProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4063"
} | starcoder | <filename>common/ASC.Common/Notify/Recipients/IRecipientsProvider.cs<gh_stars>0
/*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Licens... | 1.440685 | df10ad338b9c3dc46b245de539f5a2f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4063 | {
"extension": "c-sharp",
"max_stars_count": "3399.0",
"max_stars_repo_name": "anadale/hotchocolate",
"max_stars_repo_path": "src/HotChocolate/Core/test/Execution.Tests/Integration/Spec/InputObjectsCanBeVariablesTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4064"
} | starcoder | <filename>src/HotChocolate/Core/test/Execution.Tests/Integration/Spec/InputObjectsCanBeVariablesTest.cs
using System.Threading.Tasks;
using HotChocolate.Tests;
using Microsoft.Extensions.DependencyInjection;
using Snapshooter.Xunit;
using Xunit;
using static HotChocolate.Tests.TestHelper;
namespace HotChocolate.Execut... | 2.337716 | 6e68dc0c402c1d6c7ab368aaf1313ef4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4064 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mars0922/HSP_Gruppe_F",
"max_stars_repo_path": "Sprint 1/Sprint1/Sprint1/Schraubenschaft.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4065"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sprint1
{
class Schraubenschaft
{
int schraubenschaft_zahl1;
string[] schraubenschaft_array = new string[5] { "10mm", "16mm", "20mm", "30mm", "40mm" };
public ... | 3.554736 | 8f13c0f28efd03420e87a7ce5833c91f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4065 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iJungleboy/Dnn.Platform",
"max_stars_repo_path": "DNN Platform/Library/Services/FileSystem/Wrappers/DirectoryWrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4066"
} | starcoder | <gh_stars>1-10
// 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 DotNetNuke.Services.FileSystem.Internal
{
using System.IO;
using DotNetNuke.C... | 2.210152 | 9b34c67dfc7a507b97f3e48d791a2421 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4066 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "TeeNik/ProceduralAnimation",
"max_stars_repo_path": "Assets/Gecko/Scripts/Gecko/GeckoController_Simple.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4067"
} | starcoder | <filename>Assets/Gecko/Scripts/Gecko/GeckoController_Simple.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GeckoController_Simple : MonoBehaviour
{
[SerializeField] Transform target;
[Header("Head Tracking")]
[SerializeField] Transform headBone;
[Serial... | 2.391238 | 5bcc5d628938e645784620747d57bbf7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4067 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sdk-team/aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-rds/Rds/Model/V20140815/DescribeDBInstancesAsCsvResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4068"
} | starcoder | <reponame>sdk-team/aliyun-openapi-net-sdk<filename>aliyun-net-sdk-rds/Rds/Model/V20140815/DescribeDBInstancesAsCsvResponse.cs
/*
* 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
* r... | 1.408111 | 0c8944c37422392c00e2218a530e09c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4068 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "itrofimow/corefx",
"max_stars_repo_path": "src/System.Linq.Parallel/src/System/Linq/Parallel/QueryOperators/QueryOperatorEnumerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4069"
} | starcoder | <reponame>itrofimow/corefx
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+... | 2.52077 | 61fa7e5c1764e635c6be868ff27554e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4069 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/tl-result-and-certification",
"max_stars_repo_path": "src/Sfa.Tl.ResultsAndCertification.Web/Views/Help/Privacy.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:4070"
} | starcoder | @using Sfa.Tl.ResultsAndCertification.Web.Content.Help
@{
ViewData["Title"] = @Privacy.Page_Title;
}
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-xl">
@Privacy.Section_Heading
</h1>
<h2 class="govuk-heading-m">
... | 2.279876 | 6aeea7f54aac7090019d85a45a958875 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4070 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "udayupasani/Azure-Vault",
"max_stars_repo_path": "src/ServiceManagement/RemoteApp/Commands.RemoteApp.Test/Common/UserDiskObjects.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4071"
} | starcoder | <reponame>udayupasani/Azure-Vault
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a c... | 1.595217 | 87cd769eb385a58e1b434fe7126b228c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4071 | {
"extension": "c-sharp",
"max_stars_count": "590.0",
"max_stars_repo_name": "EamonHetherton/SqlClient",
"max_stars_repo_path": "src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/ProviderBase/DbBuffer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4072"
} | 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 Microsoft.Data.ProviderBase
{
using System;
using System.Diagnostics;
using System.Runtime.Com... | 2.237519 | 7d2bf27cdf54da5a7663be27ec3ff022 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4072 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "sukei9/LyricParser",
"max_stars_repo_path": "LyricParser/LyricParser/Extensions/TaskExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4073"
} | starcoder | using System;
using System.Threading.Tasks;
namespace LyricParser.Extensions
{
public static class TaskExtensions
{
public static async void SafeFireAndForget(this Task task,
bool returnToCallingContext,
Action<Exception> onException = null)
{
try
... | 2.960422 | aceaafb9a8dfd7d55acce7b845716245 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4073 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/dss-functionaltests",
"max_stars_repo_path": "NCS.DSS.FunctionalTests/Features/Session/Post.feature.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4074"
} | starcoder | // ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by SpecFlow (https://www.specflow.org/).
// SpecFlow Version:3.6.0.0
// SpecFlow Generator Version:3.6.0.0
//
// Changes to this file may cause incorrect behavior and w... | 1.770235 | 2faaf8eecb3b78519e1cdaaef79f0511 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4074 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wdwoodwa/AspNetCore.Client",
"max_stars_repo_path": "src/AspNetCore.Client.Generator/CSharp/AspNetCoreHttp/ResponseTypeDefinition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4075"
} | starcoder | using System.Linq;
using System.Net;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace AspNetCore.Client.Generator.CSharp.AspNetCoreHttp
{
public class ResponseTypeDefinition
{
public string Type { get; }
public string Status { get; }
public string StatusValue { get; }
public bool IsResponseHandler { ge... | 2.798471 | 98781f5b6bd4c040b271888188f7d690 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4075 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ginomessmer/faq-discord-bot",
"max_stars_repo_path": "src/FaqDiscordBot/Events/AnswerNotFoundEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4076"
} | starcoder | using Discord;
using MediatR;
namespace FaqDiscordBot.Events
{
public record AnswerNotFoundEvent(IUserMessage QuestionMessage) : INotification;
} | 1.188699 | 40ce00270fdb34aeae89d0c9d9510de2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4076 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Wenfengcheng/XamarinComponents",
"max_stars_repo_path": "iOS/MaterialComponents/source/MaterialComponents/ApiDefinition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4077"
} | starcoder | using System;
using CoreAnimation;
using CoreGraphics;
using Foundation;
using ObjCRuntime;
using UIKit;
using NSTextAlignment = UIKit.UITextAlignment;
namespace MaterialComponents {
// @interface MDCAnimationTiming (CAMediaTimingFunction)
[Static]
interface CAMediaTimingFunctionAnimationTiming {
// +(CAMediaTi... | 1.653873 | c574da28f90b98e24059abe12a5a27f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4077 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheSylence/VsValidate",
"max_stars_repo_path": "VsValidate/VisualStudio/Condition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4078"
} | starcoder | <gh_stars>0
namespace VsValidate.VisualStudio
{
internal class Condition : ICondition
{
public Condition(string expression)
{
Expression = expression;
}
public string Expression { get; }
}
} | 1.392443 | 1b0294079185b6a1db03138cb9a4280d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4078 | {
"extension": "c-sharp",
"max_stars_count": "669.0",
"max_stars_repo_name": "phatdear/dotnet-docs-samples",
"max_stars_repo_path": "storage/api/Storage.Samples/BucketAddLabel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4079"
} | starcoder | <gh_stars>100-1000
// Copyright 2021 Google 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | 2.292495 | f184be3d2bb378d51acb0da9c6226a9e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4079 | {
"extension": "c-sharp",
"max_stars_count": "183.0",
"max_stars_repo_name": "Katarn/bonsai",
"max_stars_repo_path": "src/Bonsai/Data/Models/Relation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4080"
} | starcoder | <filename>src/Bonsai/Data/Models/Relation.cs
using System;
using System.ComponentModel.DataAnnotations;
namespace Bonsai.Data.Models
{
/// <summary>
/// Information about a relation between two pages.
/// </summary>
public class Relation
{
/// <summary>
/// Surrogate ID.
//... | 2.655618 | 2a90eef1672e2a542c2d28c61b0bb85f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4080 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "mayuki/KumoDictionary",
"max_stars_repo_path": "test/KumoDictionary.Tests/KeySerializer/StringKeySerializerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4081"
} | starcoder | <filename>test/KumoDictionary.Tests/KeySerializer/StringKeySerializerTests.cs
using KumoDictionary.Serialization;
using KumoDictionary.Serialization.KeySerializer;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Xunit;
namespace KumoDictionary.Tests.KeySerializer
{
public... | 2.566496 | e86cbee7426bc6aca5632897a5664fb1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4081 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "spooz1/ObjectsOfInterest",
"max_stars_repo_path": "Scripts/EnvironmentalAudioController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4082"
} | starcoder | <filename>Scripts/EnvironmentalAudioController.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Audio;
using Microsoft.Acoustics;
namespace audioScripts
{
public class EnvironmentalAudioController : MonoBehaviour
{
#region Variables
public Ga... | 2.299739 | ee627d3c113c9db7715eccae4fa930a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4082 | {
"extension": "c-sharp",
"max_stars_count": "4222.0",
"max_stars_repo_name": "misiek-it/MassTransit",
"max_stars_repo_path": "src/MassTransit/Initializers/HeaderInitializers/CopyHeaderInitializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4083"
} | starcoder | <reponame>misiek-it/MassTransit
namespace MassTransit.Initializers.HeaderInitializers
{
using System;
using System.Reflection;
using System.Threading.Tasks;
using Internals.Reflection;
using Util;
/// <summary>
/// Set a header to a constant value from the input
/// </summary>
///... | 2.373715 | 1e65a37a5bd72e4bb15470a9bf3a1c32 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4083 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "SkillsFundingAgency/das-apim-endpoints",
"max_stars_repo_path": "src/SFA.DAS.EmployerDemand.UnitTests/InnerApi/WhenCreatingGetUnmetEmployerDemandsRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4084"
} | starcoder | using AutoFixture.NUnit3;
using FluentAssertions;
using NUnit.Framework;
using SFA.DAS.EmployerDemand.InnerApi.Requests;
namespace SFA.DAS.EmployerDemand.UnitTests.InnerApi
{
public class WhenCreatingGetUnmetEmployerDemandsRequest
{
[Test, AutoData]
public void Then_Creates_Url_Correctly(uint ... | 2.232839 | 9f48967444b73a544a0a2fb9598c4818 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4084 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "danroth27/AspNetCoreModules",
"max_stars_repo_path": "modules/Microsoft.AspNetCore.Identity.Module/IdentityModuleOptionsExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4085"
} | starcoder | using Microsoft.AspNetCore.Modules;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace Microsoft.AspNetCore.Identity.Module
{
public static cla... | 2.054498 | e3250fd251876932884357a2b21ac8a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4085 | {
"extension": "c-sharp",
"max_stars_count": "1705.0",
"max_stars_repo_name": "husains/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/IoT/Generated/Model/CreateJobTemplateRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4086"
} | starcoder | <gh_stars>1000+
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in ... | 1.719069 | 4ba870727a308962412a69babcd855ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4086 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ItsJustGeek/Godot.Signals",
"max_stars_repo_path": "Godot.Signals/Node/CanvasItem/Node2D/Camera2D.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4087"
} | starcoder | namespace Godot {
public static partial class Signals {
public class Camera2D : Node2D { }
}
}
| 0.684467 | 04ad08e50dbce959e4ea0e955facab49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4087 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "L-Fone/TowerDefense",
"max_stars_repo_path": "Unity/Assets/Hotfix/Logic/Behaviour/Game/NewSkill/Component/AttackComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4088"
} | starcoder | <reponame>L-Fone/TowerDefense
using Cal;
using System;
using System.Collections.Generic;
namespace ET
{
public struct BallisticData
{
public FP value;
public bool isCrit;
public void ChangeValue(FP value)
{
this.value = value;
}
public void ChangeCr... | 2.444059 | 2e4098ce802ee180c7fbb56784666cf3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4088 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "salebgmilj2/GreenMoney",
"max_stars_repo_path": "GM.Models/Public/CouncilProfileModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4089"
} | starcoder | <reponame>salebgmilj2/GreenMoney
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GM.Models.Public
{
public class CouncilProfileModel
{
public int Instance_Id { get; set; }
public int UserChallengesCount { get; set; }
// public List<UserMod... | 1.069491 | 2b1cb61c1122dd57fd9d324040b51d47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4089 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MITSustainableDesignLab/DistrictEnergyPlugIn",
"max_stars_repo_path": "DistrictEnergy/Networks/Loads/ElectricityLoads.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4090"
} | starcoder | <reponame>MITSustainableDesignLab/DistrictEnergyPlugIn<filename>DistrictEnergy/Networks/Loads/ElectricityLoads.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Media;
using DistrictEnergy.Helpers;
using DistrictEnergy.Networks.ThermalPlants;
using Rhino;
using Umi.Core;
using ... | 2.305944 | 5991b3a7d25bd3aa1c0e5d1fe9b8ec0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4090 | {
"extension": "c-sharp",
"max_stars_count": "2766.0",
"max_stars_repo_name": "palzj/OpenLiveWriter",
"max_stars_repo_path": "src/managed/OpenLiveWriter.PostEditor/Tagging/Utility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4091"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System;
using System.Drawing;
namespace OpenLiveWriter.PostEditor.Tagging
{
/// <summary>
/// Utility helper class.
/// </summary>
public sealed class Utili... | 3.267177 | 8a704a15fc8ccdef1f257284e9345b7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4091 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maririos/azure-sdk-for-net-lab",
"max_stars_repo_path": "Core/Azure.Core/ErrorAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4092"
} | starcoder | <filename>Core/Azure.Core/ErrorAttribute.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
using System;
namespace Azure.Core
{
public class KnownExceptionAttribute : Attribute
{
... | 2.479743 | 86911769b35fc0cfb80ad1e1300a00a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4092 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SHAliakbari/CoinEx.Net",
"max_stars_repo_path": "CoinEx.Net.TestConsole/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4093"
} | starcoder | using System;
using System.Runtime.CompilerServices;
using Microsoft.Extensions.Configuration;
namespace CoinEx.Net.TestConsole
{
class Program
{
static void Main(string[] args)
{
var builder = new ConfigurationBuilder().AddUserSecrets<CoinExKey>();
IConfiguration Confi... | 2.177997 | 4217b70ca865a415d73896fb141d4fa0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4093 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "beo8538/Challenge2",
"max_stars_repo_path": "GET_AWAY_HEIST - Unity/Assets/Scripts/CanvasScripts/EndMenu.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4094"
} | starcoder | <filename>GET_AWAY_HEIST - Unity/Assets/Scripts/CanvasScripts/EndMenu.cs
/****
* Created by: <NAME>
* Date Created: Feb 23, 2022
*
* Last Edited by: <NAME>
* Last Edited: 4/25/2022
*
* Description: Updates end canvas referencing the game manager
****/
/*** Using Namespaces ***/
using System.Collections;
usin... | 2.441179 | 56020f8ae5c628ba20e90e69f6e3a9e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4094 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DeviousCreation/stance",
"max_stars_repo_path": "Source/Initium.Portal.Domain/Helpers/FidoHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4095"
} | starcoder | <reponame>DeviousCreation/stance
// Copyright (c) Project Initium. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
using System.Linq;
using System.Runtime.CompilerServices;
using Fido2NetLib;
using Fido2NetLib.Objects;
using Initium.Portal.Dom... | 1.699753 | f319676bf00d2bd65d526065c57f249c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4095 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "paator/ModuleHelper",
"max_stars_repo_path": "ModuleHelper/Models/Note.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4096"
} | starcoder | <reponame>paator/ModuleHelper
namespace ModuleHelper.Models
{
public enum Note
{
C,
Csharp,
D,
Dsharp,
E,
F,
Fsharp,
G,
Gsharp,
A,
Asharp,
B
//we have 11 notes, where 12th note -> C in higher octave
}
} | 1.684561 | 1c547ceed89b03bb8fbd58786aedc416 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4096 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeBusiness/MAVN.Service.Campaign",
"max_stars_repo_path": "src/MAVN.Service.Campaign.MsSqlRepositories/Migrations/20190628112730_AddConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4097"
} | starcoder | <gh_stars>0
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace MAVN.Service.Campaign.MsSqlRepositories.Migrations
{
public partial class AddConfiguration : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... | 1.633653 | e64fea07d26dd9e13f6469414c576a40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4097 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "3F/IeXod",
"max_stars_repo_path": "src/Deprecated/Engine/Engine/IEngineCallback.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4098"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Copyright (c) <NAME> <<EMAIL>> github/3F
// Copyright (c) IeXod contributors https://github.com/3F/IeXod/graphs/contributors
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.G... | 1.978467 | 7c25ec2bdb20344c419572d46fe9c593 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4098 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mmitche/tye",
"max_stars_repo_path": "test/Test.Infrastructure/TestMethodExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4099"
} | 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.
using System.Linq;
using Xunit.Abstractions;
using Xunit.Sdk;
namespace Test.Infrastucture
{
public static cla... | 2.151665 | e6df9c8c3ec04ecd4fe771ad7635b974 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4099 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MelnikovAG/roslyn",
"max_stars_repo_path": "src/EditorFeatures/Core/Preview/SolutionPreviewResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4100"
} | 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.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.T... | 1.754907 | 4be7e42ca52c94afe847f0efd545d62b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4100 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "BruceCowan-AI/ServiceStack",
"max_stars_repo_path": "src/ServiceStack.Common/IntExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4101"
} | starcoder | <reponame>BruceCowan-AI/ServiceStack<gh_stars>1-10
// Copyright (c) ServiceStack, Inc. All Rights Reserved.
// License: https://raw.github.com/ServiceStack/ServiceStack/master/license.txt
using System;
using System.Collections.Generic;
#if NETSTANDARD1_3
using System.Threading.Tasks;
#endif
namespace Serv... | 2.486596 | 6290d9861951a20c49a20cee6d39b798 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4101 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "blyman94/maze-pathfinding-game",
"max_stars_repo_path": "PrototypeApplicationProject/Assets/Scripts/Backend/PathfindingAlgorithms/PathfindingAlgorithm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4102"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Abstract class housing methods and data members common to both the
/// Dijkstra's and AStar algorithms for pathfinding.
/// </summary>
public abstract class PathfindingAlgorithm : ScriptableObject
{
/// <summary>
/// Cell currently being ev... | 3.352707 | 88cc9bce4d9d2ceabb7305f7326dd00a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4102 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mikanwolfe/Artillery3",
"max_stars_repo_path": "src/User Interface/UserInterfaceObserver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4103"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArtillerySeries.src
{
class UserInterfaceObserver : Observer
{
UserInterface _ui;
public UserInterfaceObserver()
{
_ui = UserInterface.... | 1.88155 | 3c5eeede96dd913b23089434b6262ba1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4103 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sakisk/dotnetsheff-api",
"max_stars_repo_path": "src/dotnetsheff.Api/Meetup/MeetupApiFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4104"
} | starcoder | <reponame>sakisk/dotnetsheff-api<gh_stars>0
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using Refit;
namespace dotnetsheff.Api.Meetup
{
public class MeetupApiFactory : IMeetupApiFactory
{
private readonly IMeetupSettings _settings;
public MeetupApiFactory(IMeetupSettings settin... | 2.099881 | 42cf600695a2996af61a24f9c3a12e69 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4104 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "falberthen/SOLID_101",
"max_stars_repo_path": "src/SOLID_101/Shapes/Circle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4105"
} | starcoder | using System;
using SOLID_101.Shapes.Interfaces;
namespace SOLID_101.Shapes
{
public class Circle : Shape, ICircle
{
public double Radius { get; set; }
public Circle(double radius)
{
Radius = radius;
}
public override double CalculateArea()
{
... | 3.403957 | 288287b819f322680692de89c55b7766 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4105 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zanybaka/legacy.popupnik.core",
"max_stars_repo_path": "Sources/Server/Components/DataAccessBase/IDatabaseContextProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4106"
} | starcoder | <filename>Sources/Server/Components/DataAccessBase/IDatabaseContextProvider.cs
using System;
namespace Popupnik.Server.Components.DataAccessBase
{
public interface IDatabaseContextProvider : IDisposable
{
/// <summary>
/// Creates new context instance (opens new client connection)
/// ... | 2.188511 | b749f94e61b069f9e84a2bca291a887a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4106 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nguyendiennghia/togh",
"max_stars_repo_path": "aspnet-core-angular/aspnet-core/src/EventCloud.Repository/Entity/Event.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4107"
} | starcoder | <reponame>nguyendiennghia/togh<filename>aspnet-core-angular/aspnet-core/src/EventCloud.Repository/Entity/Event.cs
using Abp.Domain.Entities.Auditing;
using MongoDB.Bson;
using MongoDB.Bson.Serialization;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Component... | 2.122256 | 80fad6c2eed77efe6a3499a683bff299 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4107 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "med-material/Whack_A_Mole_VR",
"max_stars_repo_path": "Assets/Scripts/Pointers/BubbleDisplay.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4108"
} | starcoder | <reponame>med-material/Whack_A_Mole_VR
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
public class BubbleDisplay : MonoBehaviour
{
[SerializeField]
public SoundManager soundManager;
// The parent we will follow in terms of obj... | 2.095167 | 65a012a01d23526b649504421991c46d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4108 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Valks/tftp.net",
"max_stars_repo_path": "Tftp.Net.UnitTests/TftpClientServer_Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4109"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using System.IO;
using System.Threading;
using System.Net;
namespace Tftp.Net.UnitTests
{
[TestFixture]
class TftpClientServer_Test
{
public byte[] DemoData = { 1, 2, 3 };
private b... | 2.715185 | f194b79dea78f330e99649f1c8dd8ca4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4109 | {
"extension": "c-sharp",
"max_stars_count": "3375.0",
"max_stars_repo_name": "nul800sebastiaan/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Models/MemberGroup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4110"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Umbraco.Cms.Core.Models.Entities;
namespace Umbraco.Cms.Core.Models
{
/// <summary>
/// Represents a member type
/// </summary>
[Serializable]
[DataContract(IsReference = true)]
public class MemberGroup :... | 2.64316 | b3495ac154195dc4d34939147233bad0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4110 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "shashankvivek/dotnet-gql",
"max_stars_repo_path": "CommanderGQL/GraphQL/Commands/AddCommandInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4111"
} | starcoder | <reponame>shashankvivek/dotnet-gql
namespace CommanderGQL.GraphQL.Commands
{
public record AddCommandInput(string HowTo, string CommandLine, int PlatformId);
} | 1.022976 | 61760635de5b7667295ff50e64110f86 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4111 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "luizfbicalho/Camunda.NET",
"max_stars_repo_path": "camunda-xml-model-net/src/main/java/org/camunda/bpm/model/xml/Model.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4112"
} | starcoder | <filename>camunda-xml-model-net/src/main/java/org/camunda/bpm/model/xml/Model.cs
using System;
using System.Collections.Generic;
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for add... | 2.20318 | 577845a2ed429f4238439063cd90e059 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4112 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "goonjja/minimdb",
"max_stars_repo_path": "MiniMdb.Auth/MiniMdbRoles.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4113"
} | starcoder | namespace MiniMdb.Auth
{
public static class MiniMdbRoles
{
public const string AdminRole = "admin";
public const string AdminPolicy = "admin";
public const string UserRole = "user";
public const string UserPolicy = "user";
public const string AuthenticatedPolicy = "an... | 1.342461 | 71cabcf9a7f9bda6a8b4adb73f3a4521 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4113 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ngiakhanh/jwt-api",
"max_stars_repo_path": "tests/JWTAPI.Tests/Services/UserServiceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4114"
} | starcoder | using System.Collections.ObjectModel;
using System.Threading.Tasks;
using JWTAPI.Core.Models;
using JWTAPI.Core.Repositories;
using JWTAPI.Core.Security.Hashing;
using JWTAPI.Core.Services;
using JWTAPI.Services;
using Microsoft.AspNetCore.Identity;
using Moq;
using Xunit;
namespace JWTPAPI.Tests.Services
{
public... | 2.33683 | 22a73f2eb943b1549800e2c3fb7e7a46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4114 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ejuo/RentCar",
"max_stars_repo_path": "RentCar/RentCar.DataAccess/Data/Repositories/UserRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4115"
} | starcoder | using Microsoft.EntityFrameworkCore;
using RentCar.Domain;
using RentCar.Domain.Interfaces;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace RentCar.DataAccess.Data.Repositories
{
public class UserRepository : Repository<User, RentCarDbContext>,
IUserRepository
{
public Us... | 2.260822 | 0d61393efa1a0862369ed84274c1653f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4115 | {
"extension": "c-sharp",
"max_stars_count": "481.0",
"max_stars_repo_name": "NewLifeX/NewLife.Cube",
"max_stars_repo_path": "CubeDemo/Entity/学生.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4116"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using XCode;
using XCode.Configuration;
using XCode.DataAccessLayer;
namespace NewLife.School.Entity
{
/// <summary>学生</summary>
[Serializable]
[DataObject]
[Description("学生")]
[BindIndex("IX_Student_ClassID", false, "Clas... | 2.170872 | 20c8c5b6279c809230b7caa9b5343b43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4116 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "gitter-badger/extensions-2",
"max_stars_repo_path": "src/Librame.Extensions.Core.Abstractions/Builders/AbstractExtensionBuilderDependency.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4117"
} | starcoder | #region License
/* **************************************************************************************
* Copyright (c) <NAME> All rights reserved.
*
* https://github.com/librame
*
* You must not remove this notice, or any other, from this software.
* ********************************************************... | 2.168331 | 74e5167fb9ff319943bfc1308f21d838 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4117 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kale-Eos/CSULB_VGDA2019SummerTutorials_Paco",
"max_stars_repo_path": "IntermediateGameplayScriptingTutorial_Kale/Assets/Scripts/Lesson8_MemberHiding/Humanoid.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4118"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Humanoid
{
// parent version
public void Yell()
{
Debug.Log("Humanoid version of the Yell() method");
}
}
| 2.015296 | 2df9c3211796236fe8501b3d53a0e268 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4118 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "waflol/CloudProject",
"max_stars_repo_path": "com.unity.learn.iet-framework-master/Editor/Editors/TutorialEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4119"
} | starcoder | <filename>com.unity.learn.iet-framework-master/Editor/Editors/TutorialEditor.cs<gh_stars>0
using System;
using System.Linq;
using System.Text.RegularExpressions;
using UnityEditor;
using UnityEngine;
namespace Unity.Tutorials.Core.Editor
{
using static Localization;
[CustomEditor(typeof(Tutorial))]
class ... | 1.930598 | 183918aee0c797e3cdabdcd4d459580b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4119 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joshisachin675/SocialMediaBroadcast",
"max_stars_repo_path": "ServiceLayer/Interfaces/IActionAccessPermissionService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4120"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Core.Domain;
namespace ServiceLayer.Interfaces
{
public interface IActionAccessPermissionService
{
List<ScreenPermissionList> GetScreenPermissionByUserIdAndScreenId(string UserId, ... | 1.501905 | f64dac8ba256f63fb9f8bfa0e4bee912 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4120 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeCity/Lykke.Service.IndicesFacade",
"max_stars_repo_path": "client/Lykke.Service.IndicesFacade.Client/IndicesFacadeClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4121"
} | starcoder | using Lykke.HttpClientGenerator;
namespace Lykke.Service.IndicesFacade.Client
{
/// <summary>
/// IndicesFacade API aggregating interface.
/// </summary>
public class IndicesFacadeClient : IIndicesFacadeClient
{
// Note: Add similar Api properties for each new service controller
/... | 2.167526 | e6759db1bbf7f8bd966056642231cff5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4121 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bcampbell-prosper/google-cloud-dotnet",
"max_stars_repo_path": "apis/Google.Cloud.SecurityCenter.V1/Google.Cloud.SecurityCenter.V1.Snippets/SecurityCenterClientSnippets.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4122"
} | starcoder | <gh_stars>0
// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 1.226768 | 98f2075395dfab77e7882e0fa9dadb22 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4122 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Maersmann/Vereinsverwaltung",
"max_stars_repo_path": "Vereinsverwaltung/UI/UI.Desktop/Vereinsmeisterschaft/SchuetzenUebersichtView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4123"
} | starcoder | <gh_stars>0
using GalaSoft.MvvmLight.Messaging;
using Logic.Messages.VereinsmeisterschaftMessages;
using Logic.UI.VereinsmeisterschaftViewModels;
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Docum... | 1.520711 | f313b5accbcaadc39abc1696e62962e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4123 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SuperOffice/devnet-oidc-razor-pages-webapi",
"max_stars_repo_path": "source/SuperOffice.DevNet.RazorPages/Pages/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:4124"
} | starcoder | @page
@model IndexModel
@{
ViewData["Title"] = "SuperOffice DevNet";
}
<div>
@if (HttpContext.User.Identity.IsAuthenticated)
{
<h2>Claims</h2>
<table>
@foreach (var claim in HttpContext.User.Claims)
{
<tr>
<td><span style="font: b... | 2.575395 | 3fb38055d3fdd417d0d84df84e4506d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4124 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "EmilPopov/C-Sharp",
"max_stars_repo_path": "High-Quality-Code/High-quality Methods/Methods/Methods/Methods.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4125"
} | starcoder | <filename>High-Quality-Code/High-quality Methods/Methods/Methods/Methods.cs
using System;
namespace Methods
{
public class Methods
{
public static double CalcTriangleArea(double a, double b, double c)
{
if (a <= 0 ||
b <= 0 ||
c <= 0)
{
... | 4.024688 | bee3b1809125a3c17acd16c390314d58 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4125 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "doddgu/dapr-study-room",
"max_stars_repo_path": "Assignment07/Assignment.Shared/OverdraftException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4126"
} | starcoder | <gh_stars>10-100
namespace Assignment.Shared;
public class OverdraftException : Exception
{
public OverdraftException(decimal balance, decimal amount)
: base($"Your current balance is {balance:c} - that's not enough to withdraw {amount:c}.")
{
}
} | 2.618598 | cd6424dc7366689d447d22cb5a7abf1b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4126 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UdpToolkit/UdpToolkit",
"max_stars_repo_path": "src/shared/UdpToolkit.Framework/HostSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4127"
} | starcoder | namespace UdpToolkit.Framework
{
using System;
using System.Collections.Generic;
using UdpToolkit.Framework.Contracts;
using UdpToolkit.Logging;
using UdpToolkit.Serialization;
/// <summary>
/// Host settings.
/// </summary>
public class HostSettings
{
/// <summary>
... | 2.524557 | d8029dafdcbe914888c6b7241d04fac0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4127 | {
"extension": "c-sharp",
"max_stars_count": "165.0",
"max_stars_repo_name": "ivandrofly/Enexure.MicroBus",
"max_stars_repo_path": "src/Enexure.MicroBus/MessageTypeExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4128"
} | starcoder | using System;
using System.Linq;
using System.Reflection;
namespace Enexure.MicroBus
{
public static class MessageTypeExtensions
{
public static MessageType GetMessageType(this Type messageType)
{
var typeInfo = messageType.GetTypeInfo();
if (typeof(ICommand).GetTypeInf... | 2.750179 | f92cb986eb91707679209b5e6e4c021e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4128 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sosowjb/framework",
"max_stars_repo_path": "src/test/SOSOWJB.Framework.Tests/Authorization/Roles/RoleAppService_Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4129"
} | starcoder | <gh_stars>0
using System.Threading.Tasks;
using Shouldly;
using SOSOWJB.Framework.Authorization.Roles;
using SOSOWJB.Framework.Authorization.Roles.Dto;
using Xunit;
namespace SOSOWJB.Framework.Tests.Authorization.Roles
{
public class RoleAppService_Tests : AppTestBase
{
private readonly IRoleAppServic... | 1.406779 | 59e9b36f20b355527fca643a1f9de25c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4129 | {
"extension": "c-sharp",
"max_stars_count": "365.0",
"max_stars_repo_name": "abharath27/azure-libraries-for-net",
"max_stars_repo_path": "src/ResourceManagement/ResourceManager/Domain/Core/CollectionActions/ISupportsGettingByName.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4130"
} | starcoder | <filename>src/ResourceManagement/ResourceManager/Domain/Core/CollectionActions/ISupportsGettingByName.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Management.ResourceManager.Flu... | 2.690595 | 6d5010afc7bbe61608d0032d96d90ccb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4130 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "Igor1306/sitecore-headless-commerce-accelerator",
"max_stars_repo_path": "tests/UI/HeadlessCommerceAcceleratorUiTaf/HCA.Tests/E2EFlow/PurchaseProductE2ETests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4131"
} | starcoder | using Core;
using NUnit.Framework;
using Pages;
using Pages.Pages;
using Pages.Steps;
namespace Tests.E2EFlow
{
[TestFixture]
public class PurchaseProductE2ETests : BaseUiTest
{
[Test]
public void PurchaseProductE2ETest()
{
var confirmationPage = NavigationSteps.OpenHom... | 2.063976 | 71fd04bf4b7359477e004b34e257bcca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4131 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NeoXtreem/ireckonu-importer",
"max_stars_repo_path": "Ireckonu.Importer/Models/Interfaces/IModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4132"
} | starcoder | namespace Ireckonu.Importer.Models.Interfaces
{
public interface IModel
{
}
}
| 1.126912 | 423d397bfd0b1c43a0f6f813197fc163 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4132 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fakecoinbase/trakxslashtrakx-tools",
"max_stars_repo_path": "src/Trakx.MarketData.Collector/CryptoCompare/DTOs/Inbound/UnsubscribeAllComplete.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4133"
} | starcoder | <reponame>fakecoinbase/trakxslashtrakx-tools<gh_stars>0
using System.Text.Json.Serialization;
namespace Trakx.MarketData.Collector.CryptoCompare.DTOs.Inbound
{
public class UnsubscribeAllComplete : InboundMessageBase
{
internal const string TypeValue = "18";
[JsonPropertyName("MESSAGE")] publi... | 1.135091 | 5dfbfed9721ba7248c1853d4783a0f40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4133 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "CodeCavePro/revit-toolkit",
"max_stars_repo_path": "src/OLE/RevitTumbnailExtractor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4134"
} | starcoder | <gh_stars>10-100
using System;
using System.IO;
using CodeCave.Revit.Toolkit.OLE;
namespace CodeCave.Revit.Toolkit.Thumbnails
{
/// <summary>
/// Utility class for Revit (.rfa, .rvt etc) thumbnail creation
/// Inspired by <NAME>'s post on The Building Coder website
/// http://thebuildingcoder.typepad.... | 2.758034 | 7cf36630625af81ed8fe8948ab8666ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "locomolito/locomolito.github.io",
"max_stars_repo_path": "PortfolioFiles/Oriental Ink Slot Game/com/pacifica/slot/core/SlotModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4135"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using com.pacifica.slot.dataTypes;
using com.pacifica.slot.webService;
namespace com.pacifica.slot.core{
public class SlotModel{
//PRIVATE VARIABLES
GameInfo gameInfo;
string gameID;
int ... | 1.841861 | 6f430e020c0035b2524c833bfd2deb10 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4135 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "georgidelchev/CSharp-Programming-Advanced",
"max_stars_repo_path": "02 - [CSharp OOP]/[CSharp OOP - Exams]/07 - [C# OOP Basics Exam Retake 5 September 2017]/GrandPrix/Factories/Contracts/ITyreFactory.cs",
"provenance": "train-00000-of... | starcoder | using System.Collections.Generic;
public interface ITyreFactory
{
Tyre CreateTyre(List<string> commandArgs);
}
| 1.531705 | 796ea742d5e72e011b0706b2a31a920b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 4136 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hudaabbas/CPSC471_API",
"max_stars_repo_path": "DatabaseLibrary/Providers/MySqlDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:4137"
} | starcoder | <reponame>hudaabbas/CPSC471_API
using DatabaseLibrary.Core;
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Text;
namespace DatabaseLibrary.Providers
{
/// <summary>
/// MySQL implementation of the db context.
/// </su... | 2.804021 | 7d8cc2c8cfefae5d633055a8c1b654af |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.