added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813318 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "edumserrano/dot-net-sdk-extensions",
"max_stars_repo_path": "tests/DotNet.Sdk.Extensions.Testing.Tests/HostedServices/Auxiliary/HostedServicesWebApplicationFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132538"
} | starcoder | <gh_stars>1-10
using DotNet.Sdk.Extensions.Testing.Configuration;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Testing;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace DotNet.Sdk.Extensions.Testing.Tests.HostedServices.Auxiliary
{
// For more information on w... | 1.700556 | b26a242fb0b4d7a5e9f8b781af6cdda9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813319 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chengming0916/FileExplorer",
"max_stars_repo_path": "src/FileExplorer3/app/FileExplorer.UIEventHub/Scripts/v2/AdornerCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132539"
} | starcoder | <reponame>chengming0916/FileExplorer
using FileExplorer.Script;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Documents;
namespace FileExplorer.UIEventHub
{
public static partial class HubScriptCommands
{
... | 2.444443 | 8c8b0cf66d7dc6d3f2294f18a31fbe26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813320 | {
"extension": "c-sharp",
"max_stars_count": "647.0",
"max_stars_repo_name": "shubhamranjan/DistributedLock",
"max_stars_repo_path": "DistributedLock.Redis/RedLock/RedLockAcquire.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132540"
} | starcoder | <filename>DistributedLock.Redis/RedLock/RedLockAcquire.cs
using Medallion.Threading.Internal;
using StackExchange.Redis;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Medallion.Threading.R... | 2.529676 | 5ed2fb962f1e22db7b8b9a90194aaae6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813321 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jagilber/service-fabric-observer",
"max_stars_repo_path": "FabricObserver/Observers/SFConfigurationObserver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132541"
} | starcoder | <filename>FabricObserver/Observers/SFConfigurationObserver.cs
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------... | 2.095471 | 9d5703bd687cca67765eb28171c2711e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813322 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Muzsor/Masuit.MyBlogs",
"max_stars_repo_path": "src/Masuit.MyBlogs.Core/Extensions/Firewall/IRequestLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132542"
} | starcoder | using System.Collections.Concurrent;
using System.Diagnostics;
using Masuit.MyBlogs.Core.Common;
using Masuit.MyBlogs.Core.Infrastructure;
using Masuit.MyBlogs.Core.Models.Entity;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace Masuit.MyBlogs.Core.Extensions.F... | 2.029915 | 91074f52d18694ba06a119d7414a7758 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813323 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "MicrosoftArchive/opengax",
"max_stars_repo_path": "Library/CodeModel/Actions/AddEventAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132543"
} | starcoder | //===================================================================================
// Microsoft patterns & practices
// Guidance Automation Extensions
//===================================================================================
// Copyright (c) Microsoft Corporation. All rights reserved.
// THIS CODE ... | 2.398157 | 4b834ab612d1711b4d67fe662461d489 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813324 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "moto2002/jiandangjianghu",
"max_stars_repo_path": "src/UnityEngine_ShaderWrap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132544"
} | starcoder | using LuaInterface;
using System;
using UnityEngine;
public class UnityEngine_ShaderWrap
{
public static void Register(LuaState L)
{
L.BeginClass(typeof(Shader), typeof(UnityEngine.Object), null);
L.RegFunction("Find", new LuaCSFunction(UnityEngine_ShaderWrap.Find));
L.RegFunction("EnableKeyword", new LuaCSFun... | 1.672637 | f44834dc0ef21543d9e5e3a3e55f07db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813325 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Anapher/PhotoFolder",
"max_stars_repo_path": "src/PhotoFolder.Wpf/Views/PhotoFolderStatisticsView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132545"
} | starcoder | <reponame>Anapher/PhotoFolder<gh_stars>0
using PhotoFolder.Core.Interfaces.Gateways;
using PhotoFolder.Wpf.Utilities;
using PhotoFolder.Wpf.ViewModels;
namespace PhotoFolder.Wpf.Views
{
/// <summary>
/// Interaction logic for PhotoFolderStatisticsView.xaml
/// </summary>
public partial class Photo... | 1.684469 | 7e2748b7c33c501fa421024bdc1b94dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813326 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GridProtectionAlliance/Adapt",
"max_stars_repo_path": "Source/Library/AdaptLogic/SignalReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132546"
} | starcoder | // ******************************************************************************************************
// SignalReader.tsx - Gbtc
//
// Copyright © 2021, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// ... | 2.517736 | 158cb80a73b4d48f65fcc728553aaa33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813327 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "Kosmonaut3d/Modelviewer",
"max_stars_repo_path": "ModelViewer/Logic/Input.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132547"
} | starcoder | using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using ModelViewer.Static;
namespace ModelViewer.Logic
{
public static class Input
{
public static KeyboardState keyboardState, keyboardLastState;
public static MouseState mouseState, mouseLastState;
pub... | 2.590803 | 271318092316bd53097b2781984cc333 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813328 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kinosang/SpeedTest.Net",
"max_stars_repo_path": "SpeedTest.Net/Models/FileUrl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132548"
} | starcoder | <filename>SpeedTest.Net/Models/FileUrl.cs
using System;
using System.Text.Json.Serialization;
namespace SpeedTest.Net.Models
{
public partial class FileUrl
{
[JsonPropertyName("url")]
public Uri Url { get; set; }
}
}
| 1.985214 | b3725852b3ae31ca677b2c15245ed3e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813329 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/identity/Azure.Identity/tests/ManagedIdentityCredentialFederatedTokenLiveTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132549"
} | starcoder | <reponame>gjy5885/azure-sdk-for-net
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.... | 1.567597 | 63a8e41fab2e0e5e142291270bd07cfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813330 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dbpieter/TraffiSnooze",
"max_stars_repo_path": "TraffiSnooze.Data/Common/UrlParam.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132550"
} | starcoder | <filename>TraffiSnooze.Data/Common/UrlParam.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TraffiSnooze.Data.Common
{
public class UrlParam
{
public string ParamName { get; set; }
public string ParamValue { get; ... | 2.806559 | d046a997128744513882eaae437f0892 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813331 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bryanspiteri/voxelgame-opensource",
"max_stars_repo_path": "VoxelGame/Client/Engine/VoxelWorldHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132551"
} | starcoder | using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VoxelGame.Engine
{
public class VoxelWorldHandler
{
}
}
| 0.94035 | a57b7482da1b5386592ff9e200232ae3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813332 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DamianReeves/Fody",
"max_stars_repo_path": "FodyIsolated/SymbolsFinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132552"
} | starcoder | using System.IO;
using Mono.Cecil.Cil;
using Mono.Cecil.Mdb;
using Mono.Cecil.Pdb;
public partial class InnerWeaver
{
bool pdbFound;
bool mdbFound;
ISymbolReaderProvider debugReaderProvider;
ISymbolWriterProvider debugWriterProvider;
string mdbPath;
string pdbPath;
void GetSymbolProviders(... | 2.422824 | 70cd1fb1ec5dd275cc4b17460478b256 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813333 | {
"extension": "c-sharp",
"max_stars_count": "1520.0",
"max_stars_repo_name": "splaroche/nuke",
"max_stars_repo_path": "source/Nuke.Common/Tools/OctoVersion/OctoVersion.Generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132553"
} | starcoder | <reponame>splaroche/nuke
// Generated from https://github.com/nuke-build/nuke/blob/master/source/Nuke.Common/Tools/OctoVersion/OctoVersion.json
using JetBrains.Annotations;
using Newtonsoft.Json;
using Nuke.Common;
using Nuke.Common.Execution;
using Nuke.Common.Tooling;
using Nuke.Common.Tools;
using Nuke.Common.Utili... | 1.868858 | 9351aa3942b5f20c54776cccb3930712 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813334 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "aspose-slides/Aspose.Slides-for-.NET",
"max_stars_repo_path": "Examples/CSharp/Text/SetTransparencyOfTextInShadow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132554"
} | starcoder | using Aspose.Slides;
using Aspose.Slides.Effects;
using Aspose.Slides.Examples.CSharp;
using Aspose.Slides.Export;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharp.Text
{
class SetTransparencyOfT... | 2.641417 | 1b2a523b4866b0b1e7eca0394f82de56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813335 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrei-bozhilov/PhoneSystemAsp",
"max_stars_repo_path": "PhoneSystem.Web/PhoneSystem.Web/BindModels/Admin/GiveOrderOldUserBindingModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132555"
} | starcoder | <filename>PhoneSystem.Web/PhoneSystem.Web/BindModels/Admin/GiveOrderOldUserBindingModel.cs
namespace PhoneSystem.Web.BindModels.Admin
{
using System.ComponentModel.DataAnnotations;
public class GiveOrderOldUserBindingModel
{
//[Required]
public string OldUser { get; set; }
public ... | 2.006616 | 49748678fd9ac350aa57147ab376658d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813336 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "drmathias/csharp-skynet",
"max_stars_repo_path": "test/Sia.Skynet.Tests/UploadItemTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132556"
} | starcoder | <gh_stars>1-10
using Microsoft.Extensions.FileProviders;
using Moq;
using NUnit.Framework;
using Sia.Skynet.Tests.Helpers;
using System.Net.Http.Headers;
namespace Sia.Skynet.Tests
{
public class UploadItemTests
{
[Test]
public void Construction_FileInfoIsNull_ThrowsArgumentNullException()
... | 2.269277 | d986450804cf6f1c0eaddb568390784e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813337 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Alnirel/com.stansassets.running-dinosaur-clone",
"max_stars_repo_path": "Assets/Plugins/StansAssets/NativePlugins/IOSNativePro/Runtime/API/AuthenticationServices/Enums/ISN_ASAuthorizationScope.cs",
"provenance": "train-00027-of-00045.... | starcoder | namespace SA.iOS.AuthenticationServices
{
/// <summary>
/// The kinds of contact information that can be requested from the user.
/// </summary>
public enum ISN_ASAuthorizationScope
{
/// <summary>
/// A scope that includes the user’s email address.
/// </summary>
Ema... | 2.200059 | c5a8fb1905038db6a426f0a9c4576e5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813338 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "TheMatiaz0/BluePlayer",
"max_stars_repo_path": "BluePlayer/Playlist.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132558"
} | starcoder | <gh_stars>1-10
using BluePlayer;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace BluePlayer
{
[Serializable]
public class Playlist
{
[XmlArray("Playlist"), XmlArrayItem(typeof(MusicTrack), ElementName = ... | 1.963593 | 861be8fe6f29a58a140c93604632d16c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813339 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "wynnforthework/xasset",
"max_stars_repo_path": "Assets/Versions/Editor/Builds/BuildScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132559"
} | starcoder | <reponame>wynnforthework/xasset<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEngine;
namespace VEngine.Editor.Builds
{
public static class BuildScript
{
public static Action<BuildTask> postprocessBuildBundles;
public static Action... | 1.795571 | 4b284239abfb86ec2f398b87b41a9f1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813340 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Spaier/Spaier.Recaptcha",
"max_stars_repo_path": "src/Spaier.Recaptcha/ValidateRecaptchaAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132560"
} | starcoder | <filename>src/Spaier.Recaptcha/ValidateRecaptchaAttribute.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.DependencyInjection;
using Spaier.Recaptcha.Http;
using Spaier... | 2.228736 | 795197be16e794a61dec4e2da310b593 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813341 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexeyEvlampiev/Solitons.Core",
"max_stars_repo_path": "src/Solitons.Core/Extensions.Observable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132561"
} | starcoder | <reponame>AlexeyEvlampiev/Solitons.Core
using System;
using System.Reactive.Linq;
using System.Runtime.CompilerServices;
namespace Solitons
{
public static partial class Extensions
{
/// <summary>
///
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name... | 2.820303 | 569c10c35344ffa3654c22d497805b44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813342 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lukaspj/Torque6-Embedded-C-",
"max_stars_repo_path": "Torque6/Engine/SimObjects/GuiControls/GuiInspectorField.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132562"
} | starcoder | using System;
using System.Linq;
using System.Runtime.InteropServices;
using Torque6.Engine.SimObjects;
using Torque6.Engine.SimObjects.Scene;
using Torque6.Engine.Namespaces;
using Torque6.Utility;
namespace Torque6.Engine.SimObjects.GuiControls
{
public unsafe class GuiInspectorField : GuiControl
{
... | 2.076393 | 2130533317c96f70d85567ac8d0354db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813343 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "npm-game/api",
"max_stars_repo_path": "NPMGame.API/Extensions/Api/AuthenticationExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132563"
} | starcoder | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using NPMGame.API.Models.Config;
namespace NPMGame.API.Extensions.Api
{
public static class Auth... | 2.173187 | ea8a0c760b15135a3d7f50449739c7c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813344 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "schmid/Unity-Moog-Synth",
"max_stars_repo_path": "MoogSynthUnity/Assets/EventQueue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132564"
} | starcoder | // Copyright (c) 2018 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publi... | 2.463777 | 5d05c1f20a98425568d01dd5bda57204 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813345 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xamarin-automation-service/rockford",
"max_stars_repo_path": "Support/Templates/cs/Files/ReadOnlyChildBindingList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132565"
} | starcoder | using System;
using System.Collections.Generic;
using Csla;
namespace Templates
{
[Serializable]
public class ReadOnlyChildBindingList :
ReadOnlyBindingListBase<ReadOnlyChildBindingList, ReadOnlyChild>
{
#region Authorization Rules
private static void AddObjectAuthorizationRules()
{
// TO... | 2.175114 | e98a273ec436d9b10faffd58c8a2f216 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813346 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "M0n7y5/HandyControl",
"max_stars_repo_path": "src/Net_35/HandyControl_Net_35/Shell/Standard/SIATTRIBFLAGS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132566"
} | starcoder | namespace Standard
{
using System;
internal enum SIATTRIBFLAGS
{
AND = 1,
APPCOMPAT = 3,
OR = 2
}
}
| 1.121401 | 3d1b997f174ce877ce5ae6625b7c7f21 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813347 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "urmatgit/RazorPageCleanArchitecture",
"max_stars_repo_path": "src/SmartAdmin.WebUI/Pages/AspNetCore/Interactive.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132567"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CleanArchitecture.Razor.Infrastructure.Persistence;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace SmartAdmin.WebUI.Pages.AspNetCore
{
pub... | 2.123498 | d84485c0a3e5ca208de527a8af30c991 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813348 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GSerjo/Algorithms",
"max_stars_repo_path": "Source/UnitTests/Algorithms/SorterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132568"
} | starcoder | using System;
using System.Collections.Generic;
using Algorithms;
using Xunit;
namespace UnitTests.Algorithms
{
public sealed class SorterTests
{
[Fact]
public void Insert()
{
var source = new List<int> { 3, 5, 1, 0, 7 };
var expected = new List<int> { 0, 1, 3, ... | 3.007252 | ce04f3cd249637ad0e40adeb7d22a743 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813349 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NorekZ/IdentityServer3",
"max_stars_repo_path": "source/Core/Configuration/AppBuilderExtensions/UseIdentityServerExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132569"
} | starcoder | /*
* Copyright 2014, 2015 <NAME>, <NAME>
*
* 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 law or ag... | 1.531139 | c85964dc9058d9b0347ee278922ec31e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TCC-CIMATEC/Controle_Financeiro",
"max_stars_repo_path": "Models/ControleFinanceiroContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132570"
} | starcoder | using Microsoft.EntityFrameworkCore;
namespace controleFinanceiro.Models
{
public class ControleFinanceiroContext : DbContext
{
public ControleFinanceiroContext(DbContextOptions<ControleFinanceiroContext> options) : base(options){
}
public DbSet<Financa> Financa {get;set;}
publ... | 1.771256 | 04c1311fa37df1646545a8f0603ed7f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813351 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kevin-montrose/aspnetcore",
"max_stars_repo_path": "src/Middleware/HostFiltering/src/LoggerExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132571"
} | starcoder | <gh_stars>1-10
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.Extensions.Logging;
namespace Microsoft.AspNetCore.HostFiltering
{
internal static class LoggerExtensi... | 2.082101 | 20dbf464f30239ae17ca08d7f9207da9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813352 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "fanslead/WeyhdBot",
"max_stars_repo_path": "Libraries/Bot.Builder.Redis.Storage/RedisStorageOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132572"
} | starcoder | <reponame>fanslead/WeyhdBot
using System;
using System.Collections.Generic;
using System.Text;
namespace Bot.Builder.Redis.Storage
{
public class RedisStorageOptions
{
public string StorageName { get; set; }
/// <summary>
/// "127.0.0.1:6379,pass=<PASSWORD>,defaultDatabase=13,poolsize... | 1.631345 | 2e9d4a1bb4aa9d52f09be5de47c160bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813353 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Equilibrium-Games/Acid-Editor",
"max_stars_repo_path": "Acid.Forms/Controls/DarkListBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132573"
} | starcoder | <reponame>Equilibrium-Games/Acid-Editor
using Acid.Forms.Config;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace Acid.Forms.Controls
{
public class DarkListBox : ListBox
{
public DarkListBox()
{
BackColor = Colours.LightBackground;
... | 2.513475 | c9b83e2340f536afa15d6afdc4ac6746 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813354 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "asxuen/Nexus",
"max_stars_repo_path": "Pylon/Models/OSS/Bucket.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132574"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace Aiursoft.Pylon.Models.OSS
{
public class Bucket
{
public int BucketId { get; set; }
public string BucketName { g... | 1.921211 | 5b96fe70d938d76a20210387e9d87673 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813355 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NiclasBackman/FindDuplicateFiles",
"max_stars_repo_path": "DuplicatesGui/Interface/ISettingsService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132575"
} | starcoder | using DuplicatesGui.Interface;
using DuplicatesGui.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DuplicatesGui.Interface
{
public interface ISettingsService
{
ObservableProperty<Settings> SettingsSavedObservable... | 1.503683 | 20b1db66979db5f56520c0351fcebd52 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813356 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Saplonily/PVZ-gd-frame",
"max_stars_repo_path": "pvz_gd_frame/Board/GridNormal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132576"
} | starcoder | <gh_stars>0
using Godot;
using PVZGDFrame;
//普通的非特殊形式的方正格子
//挂载在格子场景中
//此借口要求:
//存在
// SprPlaceable -> 可放置时显示的Spr
// SprUnplaceable -> 不可放置显示的Spr
// Area2D -> 碰撞箱,即自己的范围
namespace PVZGDFrame
{
class GridNormal : Node2D
{
[Signal]
delegate void OnReadyPlace();
[Signal]
delegate void OffReadyPlace();
//可用状态
... | 2.161124 | 34c6635622075d0a444396db4587887a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813357 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kpocza/AbevWebForm",
"max_stars_repo_path": "src/WebForm/FormHost.Logic/FormHostService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132577"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FormHost.Model.Interfaces;
using FormHost.DataAccess;
namespace FormHost.Logic
{
public class FormHostService : IFormHostService
{
protected FormHostService()
{
}
public FormHostService... | 2.378416 | 246fce4c55654bf1febcfdb82cd37270 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813358 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MobiliyaTechnologies/MobileApplication",
"max_stars_repo_path": "EM_PORTABLE/EM_PORTABLE/EM_PORTABLE.iOS/ClassRoomController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132578"
} | starcoder | <filename>EM_PORTABLE/EM_PORTABLE/EM_PORTABLE.iOS/ClassRoomController.cs
using Foundation;
using System;
using UIKit;
using EM_PORTABLE.Models;
using System.Collections.Generic;
using Newtonsoft.Json;
using EM_PORTABLE.Utils;
using EM_PORTABLE.iOS.Utils;
using System.Net.Http;
namespace EM_PORTABLE.iOS
{
public p... | 2.434041 | b2cf1f864dd98d8490b1540697c9f06b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813359 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HenrikDK/MergeOpenApi",
"max_stars_repo_path": "MergeOpenApi.Ui/GlobalUsings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132579"
} | starcoder | <filename>MergeOpenApi.Ui/GlobalUsings.cs
global using System;
global using System.Data;
global using System.Diagnostics;
global using System.Linq;
global using Microsoft.AspNetCore;
global using Microsoft.AspNetCore.Builder;
global using Microsoft.AspNetCore.Hosting;
global using Microsoft.AspNetCore.Mvc;
gl... | 1.053958 | a690876d5e0821f25e8ec1ca53c03d5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "apurplecaboose/Project-Parkour",
"max_stars_repo_path": "ImaRunnerImaTrackstar/Assets/Polaris - Low Poly Ecosystem/TextureGraph/Core/Runtime/Parameters/TCullModeParameter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132580"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Pinwheel.TextureGraph;
using UnityEngine.Rendering;
namespace Pinwheel.TextureGraph
{
[System.Serializable]
public sealed class TCullModeParameter : TGenericParameter<CullMode>
{
}
}
| 1.19172 | 80e2c1d5a6ed177defa572dfd3ecbc22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813361 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "see241/KataNote_VR",
"max_stars_repo_path": "Assets/Katanote/Resource/Scripts/StartScene.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132581"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace HoloToolkit.Unity.InputModule.Tests
{
[RequireComponent(typeof(Renderer))]
public class StartScene: MonoBehaviour, IInputClickHandler
{
public GameStartModule mGameStartModule;
public MusicListModule m... | 2.048692 | 203173b98763a6c0a9de3b20db8d716e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813362 | {
"extension": "c-sharp",
"max_stars_count": "89.0",
"max_stars_repo_name": "JulioBorges/lime-csharp",
"max_stars_repo_path": "src/Lime.Protocol.UnitTests/Network/Modules/ResendMessagesChannelModuleTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132582"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Lime.Protocol.Network;
using Lime.Protocol.Network.Modules;
using Lime.Protocol.Network.Modules.Resend;
using Moq;
using NUnit.Framework;
using Shouldly;
... | 1.983526 | e787eccc759eff87cfc4d71db6e6c5d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813363 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "RomanGL/VKSaver",
"max_stars_repo_path": "VKSaver2/Core/VKSaver.Core.Models.Shared/Transfer/IUpload.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132583"
} | starcoder | <gh_stars>1-10
namespace VKSaver.Core.Models.Transfer
{
public interface IUpload
{
string UploadUrl { get; }
IUploadable Uploadable { get; }
}
}
| 1.603772 | 92cffcbb57adfa8b74e7912e56a0a364 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DavidBaranovsky/SuperKing",
"max_stars_repo_path": "Scripts/Player/P_CameraFollow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132584"
} | starcoder | <reponame>DavidBaranovsky/SuperKing<filename>Scripts/Player/P_CameraFollow.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class P_CameraFollow : MonoBehaviour
{
Transform player;
Vector3 newPos; //New camera position
[Header("The speed of the camera following the... | 2.458287 | 9051cb795bc86642ccf4186f676c60fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813365 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AppRopio/AppRopio.Models",
"max_stars_repo_path": "src/AppRopio.Models.Payments/Responses/PaymentOrderInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132585"
} | starcoder | using System;
using System.Collections.Generic;
namespace AppRopio.Models.Payments.Responses
{
/// <summary>
/// Информация о заказе для оплаты
/// </summary>
public class PaymentOrderInfo
{
/// <summary>
/// Сумма к оплате
/// </summary>
public decimal Amount { get... | 2.429469 | 6b70d9b31e5d9b1007f3f418455c55f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813366 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "homerZh/ElectronicObserver",
"max_stars_repo_path": "ElectronicObserver/Observer/kcsapi/api_req_kousyou/createitem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132586"
} | starcoder | <reponame>homerZh/ElectronicObserver
using ElectronicObserver.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicObserver.Observer.kcsapi.api_req_kousyou
{
public class createitem : APIBase
{
public override void OnRequest... | 1.957419 | 4ddd7bc8c62f1538bc50f9653e462fb5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tobik312/LabProgramowanie_II",
"max_stars_repo_path": "API/Controllers/CalculateController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132587"
} | starcoder | <reponame>tobik312/LabProgramowanie_II
using System;
using Microsoft.AspNetCore.Mvc;
using LabProgramowanie_II.Models;
using LabProgramowanie_II.RPN;
using LabProgramowanie_II.Filters;
namespace LabProgramowanie_I.Controllers{
[Route("api/[controller]")]
[TypeFilter(typeof(ExceptionHandlerFilters))]
[Pr... | 2.50981 | e22b7c6254abc83ac269d7799e1254fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813368 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "TerraVenil/entityframework",
"max_stars_repo_path": "src/EntityFramework/Core/Common/internal/materialization/Shaper`.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132588"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Data.Entity.Core.Common.Internal.Materialization
{
using System.Collections;
using System.Data.Common;
using System.Data.Entity.Core.Metadata.Edm;
... | 2.096523 | af8be3a5f6d325d036942a29dd8d0389 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813369 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "metaseed/MetaStudio",
"max_stars_repo_path": "src/Metaseed.MetaShell/Framework/Browser/BrowserDocumentView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132589"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
... | 2.095086 | 80dd458994100d2366c5a6c79566759a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813370 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "jagalembu/RulesDoer",
"max_stars_repo_path": "test/RulesDoer.Core.Tests/Expressions/FEEL/Eval/ContextDataTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132590"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using RulesDoer.Core.Runtime.Context;
namespace RulesDoer.Core.Tests.Expressions.FEEL.Eval {
public class ContextDataTests : IEnumerable<object[]> {
private readonly List<object[]> _data = new List<object[]> {
new object... | 1.9626 | e66bee937454dc0b886a62ebd30b1b7c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813371 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KevinKao809/OPC_UA_Publisher_CDSHelper",
"max_stars_repo_path": "src/PublisherNodeConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132591"
} | starcoder | <filename>src/PublisherNodeConfiguration.cs
using Newtonsoft.Json;
using Opc.Ua;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace OpcPublisher
{
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Threading;
using static OpcMonitore... | 2.429152 | 21f583bd0d825c24a3ce468b89af2735 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813372 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "sungsoosmess/janelia-unity-toolkit",
"max_stars_repo_path": "org.janelia.fictrac/Runtime/ExampleUsingFicTrac.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132592"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEngine;
namespace Janelia
{
public class ExampleUsingFicTrac : MonoBehaviour
{
public string ficTracServerAddress = "127.0.0.1";
public int ficTracServerPort = 2000;
public void Start()
{
_ficTracReader = n... | 2.342508 | 2f28a0cbf0c2604bb3874e57c6676c84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813373 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dcl-glb/unity-renderer",
"max_stars_repo_path": "unity-renderer/Assets/DCLPlugins/BuilderInWorld/Tests/BIWModeControllerShould.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132593"
} | starcoder | <reponame>dcl-glb/unity-renderer
using System.Collections;
using System.Collections.Generic;
using DCL;
using DCL.Builder;
using DCL.Controllers;
using DCL.Helpers;
using NUnit.Framework;
using UnityEngine;
public class BIWModeControllerShould : IntegrationTestSuite_Legacy
{
private BIWModeController biwModeContr... | 1.543886 | 4bfcbe380dbed605dc156772078df904 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813374 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bestcolour/Linear-Event-Manager",
"max_stars_repo_path": "LEM_Editor_Files/Node_LEM/Editor Commands/Commands/CreateNodeCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132594"
} | starcoder | using System.Linq;
using System.Collections.Generic;
using UnityEngine;
using LEM_Effects;
namespace LEM_Editor
{
public class CreateNodeCommand : INodeCommand
{
public int CommandType => NodeCommandType.CREATENODE;
Vector2 m_Position = default;
string m_NodeType = default;
L... | 2.396469 | aeac07a3ac1dd390de79af64a63cce22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813375 | {
"extension": "c-sharp",
"max_stars_count": "74.0",
"max_stars_repo_name": "mind-owner/vczh-libraries_Tools",
"max_stars_repo_path": "DeprecatedTools/DocTools/DocIndex/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132595"
} | starcoder | <filename>DeprecatedTools/DocTools/DocIndex/Program.cs<gh_stars>10-100
using DocSymbol;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace DocIndex
{
class Program
{
static void Main(stri... | 2.522302 | 4fd0b2d9add55000ea9449fb6a54cddf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813376 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RobertAcksel/UnrealCS",
"max_stars_repo_path": "Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Game_64bits/UParticleLODLevel_FixSize.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132596"
} | starcoder | <filename>Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Game_64bits/UParticleLODLevel_FixSize.cs<gh_stars>1-10
#if WITH_GAME
#if PLATFORM_64BITS
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace UnrealEngine
{
public partial class UParticleLO... | 1.729132 | 56a1f4bf330212253f450adad5c3fab7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813377 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Awesome-Of-the-Internet/osu",
"max_stars_repo_path": "osu.Game/Users/UserActivity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132597"
} | starcoder | <reponame>Awesome-Of-the-Internet/osu<filename>osu.Game/Users/UserActivity.cs
// Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.Online.Rooms;
using osu.Game.Ru... | 2.197367 | 27037337f361843481781a14f3046b72 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813378 | {
"extension": "c-sharp",
"max_stars_count": "448.0",
"max_stars_repo_name": "miniksa/BuildXL",
"max_stars_repo_path": "Public/Src/FrontEnd/UnitTests/Script.Debugger/Tests/StepOverTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132598"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using BuildXL.FrontEnd.Script.Evaluator;
using Test.BuildXL.FrontEnd.Core;
using Xunit;
using Xunit.Abstractions;
namespace Test.DScript.Debugger
{
public class StepOverTest : SteppingTest
{
protected override Debug... | 1.898289 | 2ba1ded1587e1169ad5f62ebc6476631 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813379 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "cmertz11/OpenTraumaRegistry",
"max_stars_repo_path": "Data/Models/HomeResidence.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132599"
} | starcoder | <reponame>cmertz11/OpenTraumaRegistry<gh_stars>1-10
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace OpenTraumaRegistry.Data.Models
{
public class HomeResidence
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
publ... | 1.917768 | b9956fc11dae1adb5e638048ccc1009f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813380 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "foobardog/Borogove",
"max_stars_repo_path": "Borogove.Model/TagSet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132600"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Borogove.Model
{
public class TagSet : IEnumerable<Tag>
{
public IEnumerator<Tag> GetEnumerator()
{
throw new NotImplementedExcept... | 2.021612 | 67bad5cbf0764cfa9ac4bac5783514e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813381 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "3posol/coin-exchange-backend",
"max_stars_repo_path": "src/IdentityAccess/CoinExchange.IdentityAccess.Infrastructure.Services/MfaServices/MfaSmsService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132601"
} | starcoder | <reponame>3posol/coin-exchange-backend
/*****************************************************************************
* Copyright 2016 Aurora Solutions
*
* http://www.aurorasolutions.io
*
* Aurora Solutions is an innovative services and product company at
* the forefront of the software industry, with pr... | 2.140179 | f027cc284ebf8976e3c880a5e5f59b5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813382 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yu-kopylov/cloud-app-browser",
"max_stars_repo_path": "CloudAppBrowser.ViewModels/ObservableCollectionWatcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132602"
} | starcoder | <reponame>yu-kopylov/cloud-app-browser
using System;
using System.Collections;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.ComponentModel;
namespace CloudAppBrowser.ViewModels
{
public class ObservableCollectionWatcher<T> where T : INotifyPropertyChanged
{... | 2.752142 | 0656c2b5a980d840669918f6ba22f001 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813383 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Finitive-LLC/Helpful-Libraries",
"max_stars_repo_path": "Lombiq.HelpfulLibraries.OrchardCore/Contents/ContentExceptionHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132603"
} | starcoder | using OrchardCore.ContentManagement;
using System;
namespace Lombiq.HelpfulLibraries.OrchardCore.Contents;
public static class ContentExceptionHelpers
{
public static void ThrowIfNotValidContentType(IContent content, string expectedType, string paramName)
{
if (content.ContentItem.ContentType != expec... | 2.747462 | eb139a1c9c97e02046e50869f34fcdad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813384 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sverigesradio/nuget-ember-plus-consumer-lib",
"max_stars_repo_path": "src/EmberLibConsumer.net/Lawo/IO/NonSeekableStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132604"
} | starcoder | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright 2008-2012 <NAME>, original from http://phuse.codeplex.com.
// <copyright>Copyright 2012-2017 Lawo AG (http://www.lawo.com).</copyright>
// Distributed under the Boost Software License, ... | 2.783119 | 8704a72f7fa3fccdbb5b3e73e3efbfbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813385 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "balloman/GigaHurtzFrontEnd",
"max_stars_repo_path": "GigaHurtzApi/Controllers/RefugeeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132605"
} | starcoder | <gh_stars>1-10
using GigaHurtz.Common.Models;
using GigaHurtzApi.Services;
using Microsoft.AspNetCore.Mvc;
namespace GigaHurtzApi.Controllers;
[ApiController]
[Route("[controller]")]
public class RefugeeController : ControllerBase
{
private readonly IDbService _dbService;
public RefugeeController(IDbService... | 2.218036 | dc48a70d17a544a2e2c597110f36c467 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813386 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "lsalomao/70-483",
"max_stars_repo_path": "Weblank.EXAM-REF-70-483/CAP 3.1 - VALIDATE APPLICATION INPUT/3.2.03.Using-Hashing/Listing/MainListing3X22.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132606"
} | starcoder | using System.Collections.Generic;
namespace _3._2._3.Using_Hashing
{
// A Set Implementation that uses Hashing
public class MainListing3X22<T>
{
private List<T>[] buckets = new List<T>[100];
public MainListing3X22()
{
}
public void Insert(T item)
... | 3.760453 | 7690b22ba2a01624d2887ab367f22579 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813387 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "bacca87/great2",
"max_stars_repo_path": "Great/ViewModels/FDLViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132607"
} | starcoder | using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using GalaSoft.MvvmLight.Ioc;
using GalaSoft.MvvmLight.Messaging;
using Great2.Models;
using Great2.Models.Database;
using Great2.Models.DTO;
using Great2.Utils;
using Great2.Utils.Extensions;
using Great2.Utils.Messages;
using Great2.ViewModels.Database;
usi... | 1.568138 | 2e4faec15d139c372a49025c4a5fed97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813388 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thinkgandhi/Azure-Media-Service-Explorer",
"max_stars_repo_path": "RibbonControlsLibrary/Microsoft/Windows/Controls/GenericValueConverters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132608"
} | starcoder | <reponame>thinkgandhi/Azure-Media-Service-Explorer<gh_stars>0
using System;
using System.Globalization;
using System.Windows.Data;
namespace Microsoft.Windows.Controls
{
/// <summary>
/// Used for comparing an array of objects for referential equality.
/// </summary>
internal sealed class Referential... | 2.844502 | 515814d763414b299d5322c7c57139db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813389 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OndrejSpanel/quickRoute-gps",
"max_stars_repo_path": "QuickRoute.UI/Forms/ColorRangeIntervalEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132609"
} | starcoder | <reponame>OndrejSpanel/quickRoute-gps<filename>QuickRoute.UI/Forms/ColorRangeIntervalEditor.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using QuickRoute.BusinessEntities.Numeric;
namespa... | 2.301796 | b15775a8629e5c3b576a2b1a5ce130aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813390 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shoter/OldiEraser",
"max_stars_repo_path": "OldiEraser.Wpf/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132610"
} | starcoder | <gh_stars>0
using OldiEraser.Common;
using OldiEraser.Core.Configuration;
using OldiEraser.Core.Scanning;
using OldiEraser.Core.Settings;
using OldiEraser.Wpf.Dialogs;
using OldiEraser.Wpf.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Thread... | 1.871253 | 6e4f45046dbc52caa4689c3ce9b47ebd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813391 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alexnortn/neo",
"max_stars_repo_path": "Unity/project/Assets/Editor/MultiMaterial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132611"
} | starcoder | <filename>Unity/project/Assets/Editor/MultiMaterial.cs
using UnityEngine;
using System.Collections;
public class ExampleClass : MonoBehaviour {
public GameObject go;
void Start() {
Mesh mesh = go.GetComponent<MeshFilter>().mesh;
Debug.Log("Submeshes: " + mesh.subMeshCount);
}
} | 1.956908 | d349630c5e0346646df58faa59334902 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813392 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maxole/project_core",
"max_stars_repo_path": "gateway/efawateer/scr/gateway/Proxy/Service/IBillInquiry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132612"
} | starcoder | <filename>gateway/efawateer/scr/gateway/Proxy/Service/IBillInquiry.cs<gh_stars>0
namespace EfawateerGateway.Proxy.Service
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName = "BillInquiry.IBillInquiry")]
publi... | 1.956316 | 04aa53a53331cec917f6c25bc4af8110 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813393 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Felix-Dev/microsoft-ui-xaml",
"max_stars_repo_path": "test/MUXControlsReleaseTest/MUXControls.ReleaseTest/NugetTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132613"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.Windows.Apps.Test.Foundation.Controls;
using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Common;
using Windows.UI.Xaml.Tests.MUXControls.Inter... | 1.629045 | 9ed06047241b97fde80491ed5a7ad214 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813394 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "a952135763/osharp",
"max_stars_repo_path": "samples/kapai/KaPai.Pay.Web/Areas/Admin/Controllers/Merchant/OrdersController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132614"
} | starcoder | // -----------------------------------------------------------------------
// <once-generated>
// 这个文件只生成一次,再次生成不会被覆盖。
// 可以在此类进行继承重写来扩展基类 OrdersControllerBase
// </once-generated>
//
// <copyright file="Orders.cs">
// KaPai©2019 Microsoft Corporation. All rights reserved.
// </copyright>
// <site></si... | 1.826448 | a49e6a897ea270e8452058b1930a8615 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813395 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nathnael/cats",
"max_stars_repo_path": "Web/Areas/Settings/Models/ViewModels/AdminUnitViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132615"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Cats.Areas.Settings.Models.ViewModels
{
public class AdminUnitViewModel
{
public int AdminUnitID { get; set; }
public string AdminUnitName { get; set; }
public int AdminUnitTypeID { get; set;... | 1.381288 | 1cf6ad3d81cc0aeca4554bad7ca45267 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813396 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DocumentExplorer/Api",
"max_stars_repo_path": "DocumentExplorer.Core/Repositories/IUserRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132616"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using DocumentExplorer.Core.Domain;
namespace DocumentExplorer.Core.Repositories
{
public interface IUserRepository
{
Task<User> GetAsync(string username);
Task<User> GetAsync(Guid id);
Task<IEnumer... | 2.008785 | a8ef3709990d5302f4bfba188b591dd6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813397 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fjiang2/sqlcli",
"max_stars_repo_path": "systie/Console/Command/Command.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132617"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tie;
namespace Sys.Stdio.Cli
{
public class Command : ICommand
{
public bool InvalidCommand { get; private set; }
protected List<string> paths = new List<string>();
... | 2.761908 | fc539276d6cb1f914cb39dcbf1063e08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813398 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PawelTwardawa/CarRentalSystem_UI",
"max_stars_repo_path": "Proj2_PTwardawa/DodajKlienta.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132618"
} | starcoder | <filename>Proj2_PTwardawa/DodajKlienta.Designer.cs<gh_stars>0
namespace Proj2_PTwardawa
{
partial class DodajKlienta
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clea... | 2.293597 | cf9c7db82f3d09c3cbba135bbcf8eeb6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813399 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "broersa/mylorawan",
"max_stars_repo_path": "Com.Bekijkhet.MyRouter.BrokerClientImpl/Message.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132619"
} | starcoder |
using System;
using Newtonsoft.Json;
using Com.Bekijkhet.Semtech;
namespace Com.Bekijkhet.MyRouter.BrokerClientImpl
{
public class Message
{
[JsonProperty("rxpk")]
public Rxpk Rxpk {get;set;}
}
}
| 1.14799 | 429d900c8b5eafc777450c55bc38b003 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813400 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "h3zjp/EDCB",
"max_stars_repo_path": "EpgTimer/EpgTimer/UserCtrlView/StatusView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132620"
} | starcoder | <reponame>h3zjp/EDCB
using System;
using System.Windows.Controls;
using System.Windows.Threading;
namespace EpgTimer
{
/// <summary>
/// StatusView.xaml の相互作用ロジック
/// </summary>
public partial class StatusView : UserControl
{
private string[] st = { "", "", "", "" };
private Dispat... | 2.574864 | 6f8f1054354247331b7f1d0724900e6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813401 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "muguangyi/unscript",
"max_stars_repo_path": "src/UNLang.Editor/Inspector/LangTypeInspector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132621"
} | starcoder | <filename>src/UNLang.Editor/Inspector/LangTypeInspector.cs
/*
* This file is part of the UNLang package.
*
* (c) MuGuangyi <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
using UnityEditor;
namespace UNLang.Editor
{
... | 2.189136 | 80015b4f5f0d410d4726e09adec4c8f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813402 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "Benkei/ioSender",
"max_stars_repo_path": "CNC Core/CNC Core/MeasureViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132622"
} | starcoder | <reponame>Benkei/ioSender
/*
* MeasureViewModel.cs - part of CNC Controls library
*
* v0.33 / 2021-05-16 / Io Engineering (<NAME>)
*
*/
/*
Copyright (c) 2020-2021, Io Engineering (<NAME>)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provide... | 1.819662 | feb77cc9c5a62b4469dbb99893176c53 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813403 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PofyTeam/PofyTools.Framework",
"max_stars_repo_path": "CategoryGraph/Nodes/Editor/CategoryNodeEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132623"
} | starcoder | using UnityEditor;
using XNodeEditor;
namespace PofyTools
{
[CustomNodeEditor(typeof(CategoryNode))]
public class CategoryNodeEditor : NodeEditor
{
//CategoryNode _categoryNode;
public override void OnHeaderGUI()
{
//this.target.name = ObjectNames.NicifyVariableName(th... | 2.155883 | 6a403ee73232a8ef738a7620d035da46 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813404 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "workgroupengineering/ConfuserEx",
"max_stars_repo_path": "Confuser.Core/ProtectionSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132624"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace Confuser.Core {
/// <summary>
/// Protection settings for a certain component
/// </summary>
public class ProtectionSettings : Dictionary<IConfuserComponent, IDictionary<string, string>>, IProtectionSettings {
/// <summary>
/// ... | 2.880585 | dcd1826fee71555138d514bb4067ade6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813405 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zykt/C-Component-Programming-Technology",
"max_stars_repo_path": "Task4/Task4/Output.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132625"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Task4
{
public partial class Output : UserControl
{
public Output(... | 2.442955 | 24b4a015afbd3fac884608614cb502c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813406 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mrvux/SharpDX-Samples",
"max_stars_repo_path": "WindowsDesktop/DirectCompute/MinMaxGPUApp/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132626"
} | starcoder | <filename>WindowsDesktop/DirectCompute/MinMaxGPUApp/Program.cs
// Copyright (c) 2010-2013 SharpDX - <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, inc... | 2.342485 | 9e4695ab685f3144ed9453a814511d19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813407 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LazyV1llain/UniProjects",
"max_stars_repo_path": "ProjectManager/ConsoleApp/User_Console.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132627"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using ClassLibrary;
using Newtonsoft.Json;
namespace ConsoleApp
{
/// <summary>
/// Класс исполнителей с функционалом, расширенным для консольного интерфейса.
/// </summary>
class User_Console : User
{
/// <summ... | 2.783549 | 7f88ff7d3c7dc4a681699ad3bd3d93e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813408 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amat27/sql-ha",
"max_stars_repo_path": "HighAvailabilityModule.E2ETest.TestCases/Infrastructure/AlgorithmController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132628"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
namespace HighAvailabilityModule.E2ETest.TestCases.Infrastructure
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using HighAvailabilityModule... | 2.225938 | d03b684a21aa653b58bc84d6e745222d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813409 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lianghaiqiang12345/WeihanLi.Common",
"max_stars_repo_path": "src/WeihanLi.Common/Extensions/DataExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132629"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
#if NET45
using System.Data.SqlClient;
#endif
using System.Diagnostics;
using System.Dynamic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threadin... | 2.504977 | 9d83712a2d75b42b30969e4072ca1395 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813410 | {
"extension": "c-sharp",
"max_stars_count": "779.0",
"max_stars_repo_name": "twgraham/fluid",
"max_stars_repo_path": "Fluid/Accessors/DelegateAccessorOfT.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132630"
} | starcoder | using System;
namespace Fluid.Accessors
{
public class DelegateAccessor<T, TResult> : IMemberAccessor
{
private readonly Func<T, string, TemplateContext, TResult> _getter;
public DelegateAccessor(Func<T, string, TemplateContext, TResult> getter)
{
_getter = getter;
... | 2.655762 | 3370ed8d3c1737f2e1e6e57bac508ba1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813411 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "kogoia/MRTD.NET",
"max_stars_repo_path": "SmartCardApi/Cryptography/Kmac.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132631"
} | starcoder | using System.Linq;
using SmartCardApi.Infrastructure;
using SmartCardApi.Infrastructure.Interfaces;
namespace SmartCardApi.Cryptography
{
public class Kmac : IBinary
{
private readonly IBinary _c = new BinaryHex("00000002");
private readonly IBinary _kSeed;
public Kmac(IBinary kSeed)
... | 2.422576 | d2f07dd72f886a76c240d9008a7caa2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813412 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wayneyaoo/Typin",
"max_stars_repo_path": "src/Typin/Typin.Core/Schemas/RootSchema.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132632"
} | starcoder | namespace Typin.Schemas
{
using System;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// Stores all schemas of commands and directives in the application.
/// </summary>
public class RootSchema
{
/// <summary>
/// List of defined directives in the ... | 2.977244 | d87d9980583183a8491bd5d681dd1887 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813413 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ap185327/PMA",
"max_stars_repo_path": "PMA.Application/Managers/MorphCombinationManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132633"
} | starcoder | // <copyright file="MorphCombinationManager.cs" company="<NAME>">
// Copyright 2017-2021 <NAME>. All rights reserved.
// </copyright>
using PMA.Application.Extensions;
using PMA.Domain.Interfaces.Managers;
using PMA.Domain.Interfaces.Providers;
using System.Collections.Concurrent;
using System.Collections.Generic... | 2.536505 | 446eb6ebd5817de32c1869bfa36372df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813414 | {
"extension": "c-sharp",
"max_stars_count": "429.0",
"max_stars_repo_name": "skeptycal/RTVS",
"max_stars_repo_path": "src/Windows/EditorTestApp/Host/EditorViewModelFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132634"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Diagnostics.CodeAnalysis;
using Microsoft.Common.Core.Services;
using Microsoft.Languages.Editor.Services;
using Microsoft.Languages.Editor.Text;
using ... | 1.443236 | 750ff9356144383e6b4055b170fd98bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813415 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DevSplash/runtime",
"max_stars_repo_path": "src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/RuntimeSettingParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132635"
} | 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.
using System.Globalization;
namespace System.Net.Http
{
internal static class RuntimeSettingParser
{
/// <summary>
/// Parse a <see cref="bool... | 2.706714 | 7c385f40fab770f08143ea6ab824890a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813416 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zherar7ordoya/AP3",
"max_stars_repo_path": "(CSharp)/1) Mark Price/Code/Chapter05_Mine/PacktLibrary/Person.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132636"
} | starcoder | using System;
using System.Collections.Generic;
namespace Packt.Shared
{
public class Person : object
{
public string Name;
public DateTime DateOfBirth;
public WondersOfTheAncientWorld FavoriteAncientWonder;
public WondersOfTheAncientWorld BucketList;
public List<Person... | 1.998421 | 06a178425c5ba4fdc76d242a583d0dc5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813417 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "matir8/TelerikAcademy-2016-2017",
"max_stars_repo_path": "Homework/C# Advanced/06. Strings-and-Text-Processing/15. Replace tags with regex/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132637"
} | starcoder | <filename>Homework/C# Advanced/06. Strings-and-Text-Processing/15. Replace tags with regex/Program.cs
using System;
using System.Text.RegularExpressions;
class ReplaceATag
{
static void Main()
{
string input = Console.ReadLine();
string pattern = @"<a\s+href=([^>]+)>([^<]+)</a>";
Regex... | 3.605646 | c2522b741aca9bd5b006084ee9e28565 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.