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 | 88261 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ctstone/azure-sdk-for-net",
"max_stars_repo_path": "sdk/search/Azure.Search/src/Generated/Models/SearchServiceStatistics.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88262"
} | starcoder | <reponame>ctstone/azure-sdk-for-net
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.Search.Models
{
/// <summary> Response from a get service statistics request. If successful, it includes service level counter... | 1.641346 | f82666cbfb58c560ec82ec65a18d722f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88262 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "poettlr/DefaultEcs",
"max_stars_repo_path": "source/DefaultEcs/Technical/Debug/IComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88263"
} | starcoder | <reponame>poettlr/DefaultEcs
using System;
namespace DefaultEcs.Technical.Debug
{
internal interface IComponent
{
Type Type { get; }
}
}
| 0.743138 | 51a2a5bd4ddefa7147a3e7127ea593f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88263 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "snakefoot/Loupe.Agent.Core",
"max_stars_repo_path": "src/Core/Server/Client/IClientLogger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88264"
} | starcoder | <gh_stars>1-10
using System;
using Loupe.Extensibility.Data;
namespace Gibraltar.Server.Client
{
/// <summary>
/// HTTP Client logging interface
/// </summary>
public interface IClientLogger
{
/// <summary>
/// Indicates if only minimal logging should be performed
/// </sum... | 2.499298 | b5340c8723b0412538167898977dc4d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88264 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cancanbolat/ExpenseTracker",
"max_stars_repo_path": "src/Services/Expense/Expense.Core/Interfaces/IRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88265"
} | starcoder | <reponame>cancanbolat/ExpenseTracker<filename>src/Services/Expense/Expense.Core/Interfaces/IRepository.cs
using Expense.Core.DTOs;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Expense.Core.Interfaces
{
public interface IRepository<T> where ... | 2.079673 | fa5023d8a07fea5a5f5263de102be8fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88265 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "stnrepin/SharpGraphEditor",
"max_stars_repo_path": "src/SharpGraphEditor/ViewModels/GraphPropertiesViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88266"
} | starcoder | using Caliburn.Micro;
using SharpGraphEditor.Graph.Core;
using SharpGraphEditor.Models;
namespace SharpGraphEditor.ViewModels
{
internal class GraphPropertiesViewModel : PropertyChangedBase
{
public GraphProperties Properties { get; }
public GraphPropertiesViewModel(IGraph graph)
{
... | 1.912154 | e8bcc996e14d7d7fa12f8a404abde597 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88266 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yuriyarabskyy/SpeedTanks-Unity-",
"max_stars_repo_path": "Assets/speedup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88267"
} | starcoder | <filename>Assets/speedup.cs
using UnityEngine;
using System.Collections;
public class speedup : MonoBehaviour {
public GameObject speeding1,speeding2;
void OnTriggerEnter2D(Collider2D other)
{
if (other.gameObject.name == "Player1") {
if(GameObject.FindGameObjectWithTag("speeding1")==null)
speeduper();
... | 2.622592 | af1706d86b9f712acc75fed4dfdc7b30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88267 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dsalunga/mPortal",
"max_stars_repo_path": "Portal/WebSystem/WebSystem-MVC/Content/Parts/Central/Tools/UserSessionManager.ascx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88268"
} | starcoder | <filename>Portal/WebSystem/WebSystem-MVC/Content/Parts/Central/Tools/UserSessionManager.ascx.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using WCMS.Common;
using WCMS.Common.Utilities;
us... | 1.970736 | 6ea847a406a98edc8955589943ecc952 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88268 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Okashiou/OkashiVRwalkTest",
"max_stars_repo_path": "Assets/Quiz/ObjectTimeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88269"
} | starcoder | <reponame>Okashiou/OkashiVRwalkTest
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectTimeController : MonoBehaviour
{
[Header("問題")]
[SerializeField]
private GameObject quiz;
[Header("答え")]
[SerializeField]
private GameObject[] Ans;
[Header(... | 2.209169 | 9e087f2e693edd43b507af6f904c36ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88269 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "trondr/NMultiTool",
"max_stars_repo_path": "src/NMultiTool.Library/Module/Commands/BackupGitRepositories/BackupGitRepositoriesConfigurationProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88270"
} | starcoder | using System.Collections.Generic;
using System.IO;
using NMultiTool.Library.Module.Commands.ConvertSvgToIco;
namespace NMultiTool.Library.Module.Commands.BackupGitRepositories
{
public class BackupGitRepositoriesConfigurationProvider : IBackupGitRepositoriesConfigurationProvider
{
private readonly ICo... | 2.390542 | fa371c1db8e869d9b9236bab3f781bc1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88270 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlanDuOl/ITTalents",
"max_stars_repo_path": "UnitTest/FakeRepositories/FakeUserRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88271"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using EasyTalents.Models;
using EasyTalents.Repositories;
using EasyTalents.ViewModels;
using UnitTest.FakeServices;
namespace UnitTest.FakeRepositories
{
public class FakeUserRepositorySuccess : IUserRepository
{
public ILi... | 2.044832 | 9c3464af5e9750323e714af03d7387c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88271 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ketiko/fubumvc",
"max_stars_repo_path": "src/FubuMVC.Tests/Registration/Conventions/Handlers/HandlersMarker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88272"
} | starcoder | namespace FubuMVC.Tests.Registration.Conventions.Handlers
{
public class HandlersMarker
{
}
} | 0.9739 | f963d7cd21b501099040db3f688c0f3c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88272 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "flarestudiopl/shiny-system-rpi",
"max_stars_repo_path": "HeatingControl.Domain/AuditLog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88273"
} | starcoder | <filename>HeatingControl.Domain/AuditLog.cs
using System;
using System.Collections.Generic;
namespace Domain
{
public class AuditLog
{
public int AuditLogId { get; set; }
public string TableName { get; set; }
public DateTime EventTs { get; set; }
public IDictionary<string, obje... | 2.006959 | 6b8ce5ceeacef8431e9e1c8e4dfe2278 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88273 | {
"extension": "c-sharp",
"max_stars_count": "83.0",
"max_stars_repo_name": "DevTeam/Pure.DI",
"max_stars_repo_path": "Pure.DI.Tests/Integration/FactoryTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88274"
} | starcoder | namespace Pure.DI.Tests.Integration
{
using Microsoft.CodeAnalysis.CSharp;
using Shouldly;
using Xunit;
public class FactoryTests
{
[Fact]
public void ShouldImplementDisposingViaFactory()
{
// Given
const string? statements = "var root = Composer.Res... | 2.602104 | 19c6a7a129a051818b8a9ca3c3c92baa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88274 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gaybro8777/FM-ULO",
"max_stars_repo_path": "ULO/src/GSA.UnliquidatedObligations.Web/Views/Pdn/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:88275"
} | starcoder | @using GSA.UnliquidatedObligations.BusinessLayer.Authorization
@using GSA.UnliquidatedObligations.BusinessLayer.Data
@using GSA.UnliquidatedObligations.Web.Controllers
@model IEnumerable<GSA.UnliquidatedObligations.Web.Models.PdnAttributeListItem>
@{
this.SetTitles(PageKeys.PdnAttributes, "Manage Excluded PDNs");... | 2.242558 | 32635705d87e561a61e326783b507a84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88275 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "stzoran1/EntityFrameworkCore.TemporalTables",
"max_stars_repo_path": "EntityFrameworkCore.TemporalTables/Sql/Generation/NoSqlTemporalTableGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88276"
} | starcoder | using System;
namespace EntityFrameworkCore.TemporalTables.Sql.Generation
{
/// <summary>
/// No real SQL code generation for temporal tables. Refer to the Null object pattern for more details.
/// </summary>
public class NoSqlTemporalTableGenerator : BaseTemporalTableSqlGenerator
{
public... | 2.640469 | 3652271d0229625bea5e33c838ac5021 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88276 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ronab2k/CognitiveSutff",
"max_stars_repo_path": "Src/See4Me.Shared/Services/ISpeechService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88277"
} | starcoder | <gh_stars>0
using System.Threading.Tasks;
namespace See4Me.Services
{
public interface ISpeechService
{
string Language { get; set; }
Task SpeechAsync(string text, string languge = null);
}
} | 1.833999 | 29cca01c41bef2c934b53e6842847e9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88277 | {
"extension": "c-sharp",
"max_stars_count": "676.0",
"max_stars_repo_name": "studentutu/VContainer",
"max_stars_repo_path": "VContainer/Assets/VContainer/Runtime/CodeGen/Dummy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88278"
} | starcoder | <reponame>studentutu/VContainer
// This file marks empty asmdefs to prevent them from being deleted
namespace VContainer.CodeGen
{
}
| 0.451366 | 58f0ed7ab1d0da98392b6caf234e735f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88278 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "barjonas/ACN",
"max_stars_repo_path": "Acn/Rdm/Packets/Net/BindingControlFields.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88279"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Acn.Rdm.Packets.Net
{
public class BindingControlFields
{
public class Get : RdmRequestPacket
{
public Get()
: base(RdmCommands.Get, RdmParameters.BindingControlFields)
... | 2.104759 | 1615f7b6f1cbc5c3a07d6e1436f0a38c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88279 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/storage/Azure.Storage.Files.DataLake/src/Models/RolePermissions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88280"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Azure.Storage.Files.DataLake.Models
{
/// <summary>
/// Represents file permissions for a specific role.
/// </summary>
[Flags]
public enum RolePermissions
{
/// <su... | 2.126407 | 3f9e965f50f6f23f1ca334beffa7cfbf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88280 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasonwbaxter/tools",
"max_stars_repo_path": "TeamsSampleHub/SampleHubHTMLCSSVersion/SampleHub/Source/Views/ApplicationConfigurations/Surveys.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:88281"
} | starcoder | <reponame>jasonwbaxter/tools<gh_stars>0
@{
Layout = "";
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="~/lib/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
<link href="~/css/surveys.css"... | 2.114494 | 5258d8c3aefd24c9779ee27e019aeb51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88281 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Edwinroman30/RadiologySystem",
"max_stars_repo_path": "RadiologySoftware.backup/DesktopApp/Loginform.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88282"
} | starcoder | <filename>RadiologySoftware.backup/DesktopApp/Loginform.cs
using System;
using System.Windows.Forms;
namespace DesktopApp
{
public partial class Loginform : Form
{
public Loginform()
{
InitializeComponent();
}
private void btnAcceder_Click(object sender, EventArgs ... | 2.186513 | c2c6cf0402749b56da600276efb7a041 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88282 | {
"extension": "c-sharp",
"max_stars_count": "247.0",
"max_stars_repo_name": "vishal-bold/OpenNlp",
"max_stars_repo_path": "OpenNLP/Tools/Trees/TRegex/Tsurgeon/TsurgeonRuntimeException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88283"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpenNLP.Tools.Trees.TRegex.Tsurgeon
{
/// <summary>
/// Something has gone wrong internally in Tsurgeon
///
/// @author <NAME>
/// </summary>
public class TsurgeonRunt... | 2.337737 | 4682daaee8c09de7b728d6b30c72be89 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88283 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tsvilans/tas",
"max_stars_repo_path": "Machine.GH/Components/Cmpt_Processor2Settings_Form.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88284"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Grasshopper.Kernel;
namespace tas.Machine.GH
{
public partial class tasTP_Pro... | 2.036738 | fb4db8deb041339e23ee60e27ba725f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88284 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "codingwatching/blox",
"max_stars_repo_path": "Assets/Scripts/Actions/RemoveBlockFromWorldAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88285"
} | starcoder | using Blox.ConfigurationNS;
using Blox.EnvironmentNS;
using Blox.PlayerNS;
using Blox.UINS;
using UnityEngine;
namespace Blox.ActionsNS
{
/// <summary>
/// This component controls the removing of a block from the world and putting it into the inventory.
/// </summary>
public class RemoveBlockFromWorld... | 2.40815 | bbb587e32f4e8dc45e08c700b1629cc9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88285 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tk-yoshimura/TensorShaderAVX",
"max_stars_repo_path": "TensorShaderTest/Operators/Quaternion/QuaternionConvolution/QuaternionKernelProduct2DTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88286"
} | starcoder | using System;
using System.Diagnostics;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TensorShader;
using TensorShader.Operators.QuaternionConvolution;
namespace TensorShaderTest.Operators.Quaternion {
[TestClass]
public class QuaternionKernelProduct2DTest {
[TestMethod]
... | 2.459852 | 1fb24339d715482954803f7ccaa015b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88286 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "HaxThePlanet/TinderSharp",
"max_stars_repo_path": "TinderSharp/Services/Authentication/IAuthenticator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88287"
} | starcoder | <filename>TinderSharp/Services/Authentication/IAuthenticator.cs
namespace TinderSharp.Services.Authentication
{
public interface IAuthenticator
{
string GetXAuthToken();
void Authenticate();
}
} | 1.710629 | 5d00e7cb489e679925889528679d746f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88287 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ciprian-stingu/c-sharp-hw-day2",
"max_stars_repo_path": "CarStoreApp/Helpers/Order.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88288"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace CarStoreApp.Helpers
{
class Order : Interface.IOrder
{
public Order()
{
Canceled = false;
Confirmed = false;
}
public string Model
{
get
{
... | 2.605211 | a857d6637d48e9973d7b979019ecfd1e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88288 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "StefanSturm87/SharpRemote",
"max_stars_repo_path": "SharpRemote.Test/Types/Interfaces/IByReferenceParemeterMethodInterface.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88289"
} | starcoder | <filename>SharpRemote.Test/Types/Interfaces/IByReferenceParemeterMethodInterface.cs<gh_stars>10-100
using SharpRemote.Test.Types.Interfaces.NativeTypes;
namespace SharpRemote.Test.Types.Interfaces
{
public interface IByReferenceParemeterMethodInterface
{
void AddListener(IVoidMethodStringParameter listener);
vo... | 1.572753 | 04afb7e3c29c50e30ebc1ed272f59074 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88289 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SimeonVSimeonov/MusacaWebApp",
"max_stars_repo_path": "src/MusacaApp/Musaca.Web/Controllers/ProductsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88290"
} | starcoder | using Musaca.App.BindingModels.Products;
using Musaca.App.ViewModels.Products;
using Musaca.Models;
using Musaca.Services;
using SIS.MvcFramework;
using SIS.MvcFramework.Attributes;
using SIS.MvcFramework.Attributes.Security;
using SIS.MvcFramework.Result;
using System.Linq;
namespace Musaca.App.Controllers
{
pub... | 2.202485 | 611c61485c8cf959a8ac5b2075310b8c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88290 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dudinda/Image-Processing",
"max_stars_repo_path": "Tests/ImageProcessing.App.Integration/Monolith/ServiceLayer/Services/Logger/Implementation/LoggerServiceWrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88291"
} | starcoder | <gh_stars>1-10
using System.Diagnostics;
using ImageProcessing.App.Integration.Monolith.ServiceLayer.Services.Logger.Interface;
using ImageProcessing.App.ServiceLayer.Win.Services.Logger.Implementation;
namespace ImageProcessing.App.Integration.Monolith.ServiceLayer.Services.Logger.Implementation
{
internal class... | 1.675993 | c7c341c7f67d21fdb7396ecb3ab0dd21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88291 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mczachurski/Bibliotheca.Server.Depository.FileSystem",
"max_stars_repo_path": "src/Bibliotheca.Server.Depository.FileSystem.Core/Services/IDocumentsService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88292"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using Bibliotheca.Server.Depository.FileSystem.Core.DataTransferObjects;
namespace Bibliotheca.Server.Depository.FileSystem.Core.Services
{
public interface IDocumentsService
{
Task<IList<BaseDocumentDto>> GetDocumentsAsync(string projectI... | 1.783176 | ea5014fbf00f92cb65b047a9dd8448c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88292 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TUD-INF-IAI-MCI/Tangram_Interfaces",
"max_stars_repo_path": "OrderedConcurrentDictionary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88293"
} | starcoder | using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
namespace tud.mci.tangram.TangramLector.Classes
{
/// <summary>
/// A Dictionary that can be sorted
/// </summary>
/// <typeparam name="TKey">The type of the key.</typepara... | 2.939839 | fa515c96cf8f4494d222edebb1c9add8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88293 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Larsspawn/dilo-chapter-8-survivalshooter",
"max_stars_repo_path": "Assets/Scripts/Managers/ScoreManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88294"
} | starcoder | <gh_stars>0
using UnityEngine;
using UnityEngine.UI;
public class ScoreManager : MonoBehaviour
{
public static int score;
private Text text;
private void Awake()
{
text = GetComponent<Text>();
score = 0;
}
private void Update()
{
text.text = "Score: " + score;
... | 1.830246 | a9867eeb3e280b78dc0eb13da687b812 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88294 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tessin/tessin-bladerunner",
"max_stars_repo_path": "Tessin.Bladerunner/Controls/PropertyListBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88295"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Tessin.Bladerunner.Controls
{
public static class PropertyListBuilder
{
public static _PropertyListBuilder<T> Cre... | 2.885695 | 8c12e129105ed05c425874307915d2d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88295 | {
"extension": "c-sharp",
"max_stars_count": "174.0",
"max_stars_repo_name": "iwtexplode/OpenKh",
"max_stars_repo_path": "OpenKh.Tools.Common/Rendering/SpriteDrawingDirect3D.Drawing.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88296"
} | starcoder | <filename>OpenKh.Tools.Common/Rendering/SpriteDrawingDirect3D.Drawing.cs
// MIT License
//
// Copyright(c) 2017 Luciano (Xeeynamo) Ciccariello
//
// 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 ... | 2.106947 | 3a5565a9c22cef8d4c2d5a04f16b6119 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88296 | {
"extension": "c-sharp",
"max_stars_count": "115.0",
"max_stars_repo_name": "VAllens/Mages",
"max_stars_repo_path": "src/Mages.Repl.Base/ITutorialSnippet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88297"
} | starcoder | namespace Mages.Repl
{
using System;
using System.Collections.Generic;
public interface ITutorialSnippet
{
String Title { get; }
String Description { get; }
String ExampleCommand { get; }
String Task { get; }
String Solution { get; }
IEnumerable<Str... | 1.966147 | 79382f617952de73e9a8f3a8e9d97340 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88297 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Atvaark/DarkSoulsII.DebugView",
"max_stars_repo_path": "DarkSoulsII.DebugView.Model/Map/Item/MapItemPackTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88298"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using DarkSoulsII.DebugView.Core;
namespace DarkSoulsII.DebugView.Model.Map.Item
{
public class MapItemPackTable : IReadable<MapItemPackTable>
{
public MapItemPackTable()
{
Table = new Dictionary<MapItemListType, MapItemPack>();
... | 2.597389 | d82506541b68bb63151e863dc05b2208 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88298 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "philasmar/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/LexModelsV2/Generated/Model/MessageGroup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88299"
} | starcoder | <reponame>philasmar/aws-sdk-net
/*
* 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/... | 1.657054 | f3397aedca97f725567eef8b0063f137 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88299 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kasimira/CSharp-Web-Server",
"max_stars_repo_path": "BasicWebServer.Server/HTTP/Response.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88300"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BasicWebServer.Server.HTTP
{
public class Response
{
public Response(StatusCode statusCode)
{
this.StatusCode = statusCode;
this.He... | 2.157458 | 2ba0b55facc83cbc5e887e27799e586e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88300 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "denis-adamchuk/mrHelper",
"max_stars_repo_path": "src/Core/src/Context/ContextMakingHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88301"
} | starcoder | using System;
using mrHelper.Core.Matching;
namespace mrHelper.Core.Context
{
public static class Helpers
{
public static bool IsValidPosition(DiffPosition position)
{
if (position == null)
{
return false;
}
string leftLine = position.LeftLine;
... | 2.69808 | 7177cf68da0c4be4f05b8891a180c7ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88301 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "schleicher-dev/Sammlung",
"max_stars_repo_path": "Sammlung.Collections.CircularBuffers/StaticCircularBuffer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88302"
} | starcoder | <reponame>schleicher-dev/Sammlung
using System;
using Sammlung.Werkzeug;
namespace Sammlung.Collections.CircularBuffers
{
/// <summary>
/// The <see cref="StaticCircularBuffer{T}"/> type is a circular buffer which has a fixed size.
/// </summary>
/// <typeparam name="T">the buffered type</typeparam>
... | 2.911196 | e9e7dc54c5a55ea0e96bac7aea7dfab1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88302 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MertYumer/Tech-Module-2018",
"max_stars_repo_path": "02. Data Types and Variables/P04-Elevator/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88303"
} | starcoder | <gh_stars>1-10
namespace P04_Elevator
{
using System;
public class Program
{
public static void Main()
{
int people = int.Parse(Console.ReadLine());
int capacity = int.Parse(Console.ReadLine());
int courses = 0;
if (people % capacity == 0)
... | 3.364013 | 7daf00d2b8ebb78cf06e4cce3d7a6826 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88303 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Grunnskola/CriptoProxy",
"max_stars_repo_path": "ProxyServer/ProxyServer/ConnectionInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88304"
} | starcoder | <reponame>Grunnskola/CriptoProxy<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
namespace ProxyServer
{
class ConnectionInfo
{
public IPAddress ServerIP { get; set; }
public IPAddress LocalIP { ge... | 2.117171 | 3f21588bc27b1166c3587cf6d7f667d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88304 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "RapidScada/scada-v6",
"max_stars_repo_path": "ScadaServer/ScadaServer/ScadaServerEngine/ICalcContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88305"
} | starcoder | /*
* Copyright 2021 Rapid Software 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 2.378446 | fd552eb59cf53058e2fc41942cd64972 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88305 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "derily/RBAC",
"max_stars_repo_path": "Views/Admin/_userDetails.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:88306"
} | starcoder | <filename>Views/Admin/_userDetails.cshtml
@model RBACv3.Models.ApplicationUser
@{if (Model != null)
{
<div id="expanderContent">
<table style='width: 100%'>
<tr>
<td style='width: 10%; font-weight: bold' class='userTable'>
User Name:
</... | 2.564619 | caa81c9a919fb40437796e830188b4d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88306 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "niello/deusexmachina",
"max_stars_repo_path": "Tools/DialogEditor/DialogEditor/FormDialogEditor.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88307"
} | starcoder | using System.Collections.Generic;
using DialogLogic;
namespace DialogDesigner
{
partial class FormDialogEditor
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up ... | 1.552294 | c6cb85fe71dafca601893ba473168084 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88307 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "synesissoftware/recls.NET",
"max_stars_repo_path": "src/recls.Core/Internal/DirectorySearchNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88308"
} | starcoder |
/* /////////////////////////////////////////////////////////////////////////
* File: Internal/DirectorySearchNode.cs
*
* Created: 5th June 2009
* Updated: 24th September 2017
*
* Home: http://recls.net/
*
* Copyright (c) 2009-2017, <NAME> and Synesis Software
* All rights reserved.
*
... | 2.046698 | d299ace45ef98304286f478c0a767e5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88308 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "vividos/WhereToFly",
"max_stars_repo_path": "src/App/Core/IDataService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88309"
} | starcoder | <filename>src/App/Core/IDataService.cs
using System;
using System.Threading;
using System.Threading.Tasks;
using WhereToFly.App.Model;
using WhereToFly.Shared.Model;
namespace WhereToFly.App.Core
{
/// <summary>
/// Data service for the app; provides access to data storage.
/// </summary>
public inter... | 2.728611 | e2fddc288d464666c8640e7b97770b76 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88309 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IowaComputerGurus/GearhostUtilities",
"max_stars_repo_path": "IowaComputerGurus.Utility.GearHost/Services/HttpClientService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88310"
} | starcoder | <filename>IowaComputerGurus.Utility.GearHost/Services/HttpClientService.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using Newtonsoft.Json;
namespace IowaComputerGurus.Utility.GearHost.Services
{
... | 2.766745 | 58e81b9dc8e23656b07af0a45f6878c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88310 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Maxunit/XivToolsWpf",
"max_stars_repo_path": "DependencyInjection/DependencyFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88311"
} | starcoder | // © XIV-Tools.
// Licensed under the MIT license.
namespace XivToolsWpf.DependencyInjection;
using System;
using System.Collections.Generic;
public static class DependencyFactory
{
private static readonly Dictionary<Type, IDependency> Dependencies = new Dictionary<Type, IDependency>();
public static void Regist... | 2.611192 | 54c139d4b0f0ddf33788b330ce7fab9a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88311 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BryanApellanes/bam.net.shared",
"max_stars_repo_path": "Logging/BlockingLogger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88312"
} | starcoder | /*
Copyright © <NAME> 2015
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Bam.Net.Logging
{
public abstract class BlockingLogger: Logger
{
public override ILogger RestartLoggingThread()
{
// this is a blocking logger
... | 2.033178 | 0f3a093f2cf656811b0b04e603eac55f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88312 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "brazenRazin/goodreads-dotnet",
"max_stars_repo_path": "Goodreads/Models/Response/FriendGroupResource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88313"
} | starcoder | <gh_stars>10-100
using System;
using System.Diagnostics;
using System.Globalization;
using System.Xml.Linq;
using Goodreads.Extensions;
namespace Goodreads.Models.Response
{
/// <summary>
/// This class models areas of the API where Goodreads returns
/// information about a friend group resource.
/// ... | 2.657453 | cbc1c413a601e9aa88498b625ad915d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88313 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "68B09/CSLibrary",
"max_stars_repo_path": "src/ExDrawString.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88314"
} | starcoder | /*
MIT License
Copyright (c) 2021 68B09(https://twitter.com/MB68C09)
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, ... | 2.677261 | 319d5d8226bd161550f36ff18e9f1976 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "x3n0r/VeriStore",
"max_stars_repo_path": "BIMStore/UI/frmPurchaseAndSales.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88315"
} | starcoder | <reponame>x3n0r/VeriStore
namespace BIMStore.UI
{
partial class frmPurchaseAndSales
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 1.865727 | cb5303049b0fd1526580bdd40faba95d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88315 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mahmoud-syr/FluentOlap",
"max_stars_repo_path": "SW.FluentOlap/Models/TypeMapDifference.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88316"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace SW.FluentOlap.Models
{
public enum DifferenceType
{
DataTypeChange,
AddedColumn,
RemovedColumn,
ChangedColumnOrder
}
public class TypeMapDifference
{
private readonly string columnK... | 2.324035 | 9f36a67c0f12927a025e40ebd5b5f589 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88316 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "awfurtado/feature-model-dsl",
"max_stars_repo_path": "DslPackage/Confeaturator/CtrlConfeaturator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88317"
} | starcoder | <reponame>awfurtado/feature-model-dsl<filename>DslPackage/Confeaturator/CtrlConfeaturator.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Web;
using System.Windows.Forms;
using System.Xml.Serialization;
using EnvDTE;
using Microsoft.VisualStudio.Modeling.Shell;... | 2.334442 | e831c919d6790b8f4366b2596621850f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88317 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kingofalpha/MeaMod.DNS",
"max_stars_repo_path": "test/Model/EdnsKeepaliveOptionTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88318"
} | starcoder | <filename>test/Model/EdnsKeepaliveOptionTest.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace MeaMod.DNS.Model
{
[TestClass]
public class EdnsKeepaliveOptionTest
{
[TestMethod]
public void Roundtrip()
{
var opt1 = new OPTRecord();
... | 2.565219 | 692e867e106c3d112797668c981d8ee4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88318 | {
"extension": "c-sharp",
"max_stars_count": "451.0",
"max_stars_repo_name": "ScriptBox99/BlazoredToast",
"max_stars_repo_path": "tests/Blazored.Toast.Tests/ToastServiceTests/ClearCustomToasts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88319"
} | starcoder | <filename>tests/Blazored.Toast.Tests/ToastServiceTests/ClearCustomToasts.cs
using Blazored.Toast.Services;
using Xunit;
namespace Blazored.Toast.Tests.ToastServiceTests
{
public class ClearCustomToasts
{
private readonly ToastService _sut;
public ClearCustomToasts()
{
_sut ... | 2.406936 | ea3506850b52197a0840f7bb55120280 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88319 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Paulina-Dyulgerska/CSharp_ASP.NET_Core",
"max_stars_repo_path": "ConformityCheck/Web/ConformityCheck.Web/Views/ConformityTypes/_ConformityTypesIndexTable.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:88320"
} | starcoder | <reponame>Paulina-Dyulgerska/CSharp_ASP.NET_Core<gh_stars>1-10
@model ConformityTypesIndexModel
<section class="table-container">
<article class="table-header"></article>
<table class="table dataTable">
<thead>
<tr>
<th class="col-xs">
<a asp-action="@Mo... | 2.42542 | eaf01297b4aef137a963e5671e64af7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88320 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SwissLife-OSS/thor-analyzer",
"max_stars_repo_path": "src/Analyzer/Rules/BestPracticeRuleSet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88321"
} | starcoder | <reponame>SwissLife-OSS/thor-analyzer
using System.Collections.Generic;
namespace Thor.Analyzer.Rules
{
/// <summary>
/// A rule set which contains best practice rules.
/// </summary>
public class BestPracticeRuleSet
: IRuleSet
{
/// <summary>
/// Initiates a new instance o... | 2.22315 | a35b993a07ee1164bcba1a1cc46bbc91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88321 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "dioram/Elektronik-Tools-2.0",
"max_stars_repo_path": "Assets/Scripts/UI/SpeedWidget.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88322"
} | starcoder | <reponame>dioram/Elektronik-Tools-2.0<filename>Assets/Scripts/UI/SpeedWidget.cs
using System.Linq;
using Elektronik.PluginsSystem;
using Elektronik.PluginsSystem.UnitySide;
using Elektronik.Settings;
using UniRx;
using UnityEngine;
using UnityEngine.UI;
namespace Elektronik.UI
{
public class SpeedWidget : MonoBeh... | 1.941613 | 096e46bfa5b9dde8653b0d41a9f26a05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88322 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "narasimhandl/Prism-HelloWorld",
"max_stars_repo_path": "ReferenceImplementation/AdventureWorks.UILogic/ViewModels/ShoppingCartTabUserControlViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88323"
} | starcoder | <reponame>narasimhandl/Prism-HelloWorld<gh_stars>0
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corpo... | 1.978862 | 90b3a1fb05245a73b6d22e3baeab8e76 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88323 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cetysuniversidad/IMI359-18Q2",
"max_stars_repo_path": "Clasificador/Algoritmos/Basico.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88324"
} | starcoder | <reponame>cetysuniversidad/IMI359-18Q2
using System;
using CETYS.Posgrado.imi359.Clasificador.Models;
namespace CETYS.Posgrado.imi359.Clasificador.Algoritmos
{
public class Basico : IAlgoritmo
{
public bool Correr(Perturbacion perturbacion)
{
// hacer el random de false y true
... | 2.323428 | 414c4170ec93f49140aada7ec92f8d44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88324 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bienhuynh/MENU-GAME-CONTROL",
"max_stars_repo_path": "Source Code/FaceRecognition/FaceRecognition/Properties/Resources.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88325"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 1.947236 | 02e1d92da584b0c4331e309583313a26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88325 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "favedit/MoCross",
"max_stars_repo_path": "Tools/1 - Common/MoCommon/Content/FCsvHead.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88326"
} | starcoder | <filename>Tools/1 - Common/MoCommon/Content/FCsvHead.cs<gh_stars>1-10
using System;
using MO.Common.Lang;
namespace MO.Common.Content {
public class FCsvHead : IName<String>, IDump {
public const string HEAD_TYPE = "Head";
public const string PTY_ID = "id";
public const string PTY_TYPE = "type... | 2.19531 | 2112950e298a75e3038168faeab2efd7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88326 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "AlbertoMonteiro/Serilog.Enrichers.Sensitive",
"max_stars_repo_path": "src/Serilog.Enrichers.Sensitive/EmailAddressMaskingOperator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88327"
} | starcoder | using System.Text.RegularExpressions;
namespace Serilog.Enrichers.Sensitive
{
public class EmailAddressMaskingOperator : RegexMaskingOperator
{
private const string EmailPattern =
"(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\... | 2.583113 | 49b315ee335e0c63c96eadc6791f7f8d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88327 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "aliahmedaspose/Aspose.Diagram-for-.NET",
"max_stars_repo_path": "Examples/CSharp/Visio-ActiveX-Controls/InsertActiveXControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88328"
} | starcoder | using Aspose.Diagram;
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Aspose.Diagram.ActiveXControls;
namespace Aspose.Diagram.Examples.CSharp.Visio_ActiveX_Controls
{
public class InsertActiveXControl
{
public static void Run()
{
... | 2.508477 | d50120dbaadff90045532975a2e539cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88328 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArielMAJ/CSharp_course",
"max_stars_repo_path": "Lessons_and_assignments/Lesson_201/Aula_192/Entities/SummaryToCSV.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88329"
} | starcoder | <reponame>ArielMAJ/CSharp_course<filename>Lessons_and_assignments/Lesson_201/Aula_192/Entities/SummaryToCSV.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
namespace Aula_192.Entities
{
internal class SummaryToCSV
{
List<ProductSalesSummary> list;
... | 3.49343 | 1abc4d6c0ee8f0970fd9b73f67744ed8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88329 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iNTERVR/ManusGlovePlugin",
"max_stars_repo_path": "Runtime/SDK/Engine/Apollo/ApolloSDK.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88330"
} | starcoder | // Copyright (c) 2018 ManusVR
using System;
using System.Runtime.InteropServices;
using UnityEngine;
namespace ManusVR.SDK.Apollo
{
#region DATA_STRUCTS
[StructLayout(LayoutKind.Sequential)]
public struct ApolloSuccessPayload
{
public IntPtr pointer;
public string text => Marshal.Pt... | 2.569289 | 1f6fd609657ed49a7e4efe3ef0badc1f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88330 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "baliestri/yoru-bot",
"max_stars_repo_path": "src/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88331"
} | starcoder | <gh_stars>0
/**
* @author: <NAME> <<EMAIL>>
* @date: Friday, October 9th 2020, 08:34:55
* @lastModifiedBy: <NAME> <<EMAIL>>
* @lastModifiedAt: Friday, October 9th 2020, 10:10:21
*/
namespace Yoru {
public class Program {
public static void Main(string[] args)
=> new Bot().StartupAsync().GetAwaiter().... | 1.443426 | f90cd3d5ae68799198d31183b2607313 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88331 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vijayraavi/ApplicationInsights-Kubernetes",
"max_stars_repo_path": "src/ApplicationInsights.Kubernetes/K8sHttpClient/KubeHttpClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88332"
} | starcoder | using System.Net.Http;
using System.Net.Http.Headers;
using Microsoft.Extensions.Logging;
namespace Microsoft.ApplicationInsights.Kubernetes
{
internal class KubeHttpClient : HttpClient, IKubeHttpClient
{
public IKubeHttpClientSettingsProvider Settings { get; private set; }
public KubeHttpCli... | 2.243727 | 9c6fefb878cfcc7625dae33c57c3c464 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88332 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Batarian711/MagicalLife",
"max_stars_repo_path": "MagicalLifeGUIWindows/GUI/New World Menu/NewWorldMenuContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88333"
} | starcoder | <reponame>Batarian711/MagicalLife<filename>MagicalLifeGUIWindows/GUI/New World Menu/NewWorldMenuContainer.cs
using MagicalLifeGUIWindows.GUI.New_World_Menu.Buttons;
using MagicalLifeGUIWindows.GUI.New_World_Menu.Input_Boxes;
using MagicalLifeGUIWindows.GUI.New_World_Menu.Labels;
using MagicalLifeGUIWindows.GUI.Reusabl... | 2.225439 | 3ab09f05b0214ecec4cb6955c473d0a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88333 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SpikyObject/Concerto",
"max_stars_repo_path": "Concerto/Assets/Scripts/Camera/CamBehavior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88334"
} | starcoder | using UnityEngine;
using System.Collections;
public class CamBehavior : MonoBehaviour {
public GameObject player;
public Canvas can;
public float bobModAmount;
private float bobMod = 0f;
public float lerpTime;
private Vector3 lerpDestination;
void Start()
{
BeatMan.startBeat ... | 2.01617 | e92c9c519eec160175ec796075010ad4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88334 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "unbekanntunity/JokesOnYou",
"max_stars_repo_path": "Server/JokesOnYou.Web.Api/Data/DataContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88335"
} | starcoder | using JokesOnYou.Web.Api.Models;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace JokesOnYou.Web.Api.Data
{
public class DataContext : IdentityDbContext<User>
{
public DataContext(DbContextOptions<DataContext> options) : base(options)
{
... | 2.266772 | 24070a961a5df96c97e20c323b402cc3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88335 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dzrhythm/docker-dotnet-vscode",
"max_stars_repo_path": "src/WebUI/Controllers/RuntimeEnvironmentController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88336"
} | starcoder | <filename>src/WebUI/Controllers/RuntimeEnvironmentController.cs
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using SharedLib;
using WebUI.Config;
namespace WebUI.Controlle... | 2.67275 | 80fda11322643f55f73378b6e6eecb82 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NickersWeb/dBParser",
"max_stars_repo_path": "ConfigManager/ConfigHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88337"
} | starcoder | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.FileProviders;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Diagnostics;
using System.IO;
using System.Text.RegularExpressions;
namespace dBParser.ConfigManager
{
public class ConfigHelper
{
public st... | 2.265806 | 59b0ac29f53f84e7b6186571124ec781 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88337 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iliyaST/TelericAcademy",
"max_stars_repo_path": "OOP/7-Exams/11-July-2016-Evening/01.Dealership/Dealership-Skeleton/Dealership/Models/Motorcycle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88338"
} | starcoder | <reponame>iliyaST/TelericAcademy
namespace Dealership.Models
{
using System;
using Dealership.Contracts;
using Dealership.Common;
using Dealership.Common.Enums;
using System.Text;
public class Motorcycle : Vehicle, IMotorcycle
{
private string category;
private int wheels ... | 3.117395 | 7fb4df4fb0d9d2766e6403caaa1c096e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88338 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TechnologicalPizza/SixLabors.Shapes",
"max_stars_repo_path": "tests/SixLabors.Shapes.Tests/PolygonClipper/ClipperTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88339"
} | starcoder | <filename>tests/SixLabors.Shapes.Tests/PolygonClipper/ClipperTests.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Moq;
namespace SixLabors.Shapes.Tests.PolygonClipper
{
using System.Collections.Immutable;
using System.Numerics;
using SixLabors.Sh... | 2.660563 | 89748bda7d58ae944af0c98b89ce6694 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88339 | {
"extension": "c-sharp",
"max_stars_count": "1037.0",
"max_stars_repo_name": "DigitalPlatform/Vanara",
"max_stars_repo_path": "PInvoke/Shared/AssociateAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88340"
} | starcoder | <reponame>DigitalPlatform/Vanara
using System;
using System.Linq;
using System.Reflection;
using Vanara.Extensions;
namespace Vanara.PInvoke
{
/// <summary>Associates a Guid with an element.</summary>
/// <seealso cref="Attribute"/>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Delegate | AttributeTarg... | 3.009424 | 0fbb5c0bf6b4d37faf63fe3a02c58af5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88340 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Orwel/PathEditor",
"max_stars_repo_path": "src/PathEditor.Core/EnvironmentVariablePath/FormattedProcessEnvironmentVariablePath.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88341"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
namespace PathEditor.Core.EnvironmentVariablePath
{
public sealed class FormattedProcessEnvironmentVariablePath
{
private readonly IFormattedEnvironmentVariablePath _formatted;
public FormattedProcessEnvironmentVariablePath(IFormattedEnvironment... | 2.69189 | 403473212cd3329c77e481971910a252 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88341 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "forestbat/il2cpp",
"max_stars_repo_path": "deprecated/il2cpp/TypeGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88342"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
using dnlib.DotNet;
namespace il2cpp
{
// 类型对应的代码
internal class TypeCppCode
{
// 类型名
public readonly string Name;
// 声明代码
public StringBuilder DeclCode = new StringBu... | 2.42779 | 4698ca482ba96828bba9303dd7e90cbe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88342 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joao-neves95/Braces",
"max_stars_repo_path": "Braces.UI.Curses/UIControls/TextEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88343"
} | starcoder | <reponame>joao-neves95/Braces<filename>Braces.UI.Curses/UIControls/TextEditor.cs
using System;
using System.Collections.Generic;
using System.Text;
using Terminal.Gui;
namespace Braces.UI.Curses.UIControls
{
internal class TextEditor
{
public TextEditor(bool init = true)
{
if (init... | 2.342261 | fdae0f7f35a701676e4e51ccf65d1e64 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88343 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "havit/HavitFramework",
"max_stars_repo_path": "Havit.Data.EntityFrameworkCore.Patterns/DependencyInjection/ServiceCollectionEntityPatternsInstaller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88344"
} | starcoder | <reponame>havit/HavitFramework<filename>Havit.Data.EntityFrameworkCore.Patterns/DependencyInjection/ServiceCollectionEntityPatternsInstaller.cs
using Havit.Data.EntityFrameworkCore.Patterns.DependencyInjection.Infrastructure;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generi... | 1.716121 | ee4838b90b582d7929abda18e14ac920 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88344 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ruiflexa/WebApiXamarin",
"max_stars_repo_path": "WebApiXamarin/WebApiXamarin/Service/DataService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88345"
} | starcoder | <filename>WebApiXamarin/WebApiXamarin/Service/DataService.cs
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using WebApiXamarin.Models;
namespace WebApiXamarin.Service
{
public class DataService
{
HttpClien... | 3.066628 | c8e05383b1c54c9a9e50e934a390faaa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88345 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "enklu/orchid",
"max_stars_repo_path": "Orchid.Chakra/Interop/JsInterop.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88346"
} | starcoder | <reponame>enklu/orchid<filename>Orchid.Chakra/Interop/JsInterop.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace Enklu.Orchid.Chakra.Interop
{
/// <summary>
/// This class is used to to convert types between JavaScript and ... | 2.635658 | 7c5385ceda3449bc02746ed47456b945 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88346 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "matzet99/TesteEstagioC-",
"max_stars_repo_path": "src/Business/Services/TurmaService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88347"
} | starcoder | <reponame>matzet99/TesteEstagioC-
using Business.Intefaces;
using Business.Models;
using Business.Models.DTO;
using Business.Models.Validations;
using FluentValidation.Results;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Business.Services
{
public cla... | 2.633875 | d5f2c91c11702e3536b32ca343e2561f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88347 | {
"extension": "c-sharp",
"max_stars_count": "450.0",
"max_stars_repo_name": "monkey0506/ags",
"max_stars_repo_path": "Editor/AGS.Editor/GUI/TextEntryDialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88348"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace AGS.Editor
{
public partial class TextEntryDialog : Form
{
private TextEntryDialog(string titleText, string headerTe... | 2.685037 | 39bebff5d47409c9ce89ba739006da59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88348 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "QuinntyneBrown/secret-santa-app",
"max_stars_repo_path": "Features/Recipients/RecipientsCacheKeyFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88349"
} | starcoder | using System;
namespace SecretSantaApp.Features.Recipients
{
public class RecipientsCacheKeyFactory
{
public static string Get(Guid tenantId) => $"[Recipients] Get {tenantId}";
public static string GetById(Guid tenantId, int id) => $"[Recipients] GetById {tenantId}-{id}";
}
}
| 1.693814 | 42f30a4ea8b6e00300f1ebe923a43e2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88349 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "wwestlake/Lyzard",
"max_stars_repo_path": "WaveFormRendererLib/PeakProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88350"
} | starcoder | /* naudio/NAudio.WaveFormRenderer is licensed under the
* MIT License
* https://github.com/naudio/NAudio.WaveFormRenderer/blob/master/LICENSE
*/
using NAudio.Wave;
namespace WaveFormRendererLib
{
public abstract class PeakProvider : IPeakProvider
{
protected ISampleProvider Provider { get; private... | 2.51015 | 65a2eb63e64b16e960aa0d8b84851e7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Superzer0/abstrakcyjne2015",
"max_stars_repo_path": "Abstrakcyjne1/Abstrakcyjne1/Store/Data.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88351"
} | starcoder | <filename>Abstrakcyjne1/Abstrakcyjne1/Store/Data.cs
namespace Abstrakcyjne1.Store
{
public abstract class Data
{
}
}
| 1.465137 | 7b09e0e3d7f125350691d07c3256e251 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88351 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skhatiwada01/STAC",
"max_stars_repo_path": "src/SourceCodeIndexer.UI/LocMetricWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88352"
} | starcoder | <filename>src/SourceCodeIndexer.UI/LocMetricWindow.xaml.cs
using SourceCodeIndexer.UI.ViewModels;
namespace SourceCodeIndexer.UI
{
/// <summary>
/// Interaction logic for LocMetric.xaml
/// </summary>
public partial class LocMetricWindow
{
public LocMetricWindowViewModel ViewModel... | 2.221055 | f9dafeac403c7e021a46335d556519eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88352 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FalconNL93/fwutil",
"max_stars_repo_path": "FwUtil.Cli/Extensions/FirewallRuleExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88353"
} | starcoder | using FwUtil.Core.Models;
namespace FwUtil.Cli.Extensions;
public static class FirewallRuleExtensions
{
public static IEnumerable<FirewallRule> InboundRules(this IEnumerable<FirewallRule> firewallRules,
FirewallRule.Protocols protocol)
{
return firewallRules.Where(x => x.Direction == Firewall... | 2.383186 | 54aa61625e24dcd24e809e425a0b2b6c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88353 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wdichler/Stl.Fusion",
"max_stars_repo_path": "src/Stl/Resilience/RetryPolicy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88354"
} | starcoder | using System;
namespace Stl.Resilience
{
public interface IRetryPolicy<in TTarget>
{
bool MustRetry(TTarget target, Exception error, int tryIndex);
}
public class RetryPolicy<TTarget> : IRetryPolicy<TTarget>
{
public static readonly IRetryPolicy<TTarget> Default = new RetryPolicy<T... | 2.776761 | 05bac360f4cbfa2c44f75e87e413480f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88354 | {
"extension": "c-sharp",
"max_stars_count": "346.0",
"max_stars_repo_name": "elephtera/T4MVC",
"max_stars_repo_path": "T4MVCHostMvcApp/Controllers/ControllerWithoutSuffix.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88355"
} | starcoder | using System.Web.Mvc;
namespace T4MVCHostMvcApp.Controllers
{
[HandleError]
public partial class ControllerWithoutSuffix : Controller
{
public virtual ActionResult Index()
{
return View();
}
}
}
| 1.483839 | e11048e74b38c696a95ba5680c201bcb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88355 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheRealKoeDev/EventDllImport",
"max_stars_repo_path": "ModularServices/TestApi/Controllers/ValuesController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88356"
} | starcoder | <filename>ModularServices/TestApi/Controllers/ValuesController.cs
using TestLibrary;
using KoeLib.ModularServices;
using Microsoft.AspNetCore.Mvc;
namespace TestApi.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class ValuesController : ControllerBase
{
TestService Service;
... | 2.488357 | f877f7252f1124acd0f38a5766139b76 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88356 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "System.ServiceModel/System/ServiceModel/Configuration/NamedServiceModelExtensionCollectionElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88357"
} | starcoder | <gh_stars>100-1000
//-----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace System.ServiceModel.Configuration
{
using System;
using Syst... | 2.357562 | 0c67b799cc35787df04a1465fc9cd1dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88357 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "simlex-titul2005/valliulina.ru",
"max_stars_repo_path": "vru/Controllers/ErrorsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88358"
} | starcoder | using SX.WebCore.MvcControllers;
namespace vru.Controllers
{
public sealed class ErrorsController : SxErrorsController
{
}
} | 0.566256 | ea86dbdb192f84b73ed76dc6fe824e2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88358 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/TheBallPlatform",
"max_stars_repo_path": "Apps/AzureSupport/TheBall.Index/PrepareAndExecuteQueryImplementation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88359"
} | starcoder | using System;
using System.Security.Cryptography;
using System.Text;
using TheBall.CORE;
namespace TheBall.Index
{
public class PrepareAndExecuteQueryImplementation
{
public static QueryRequest GetTarget_RequestObject(string queryString, string defaultFieldName, string indexName)
{
... | 2.05882 | c8ed9b0c39d45541b07d3d135b91609a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88359 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Azure/Sia-Gateway",
"max_stars_repo_path": "src/Sia.Gateway/Controllers/TicketsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88360"
} | starcoder | <gh_stars>1-10
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Sia.Domain;
using Sia.Domain.ApiModels;
using Sia.Core.Authentication;
using Sia.Gateway.Requests;
using System.Collections.Generic;
using System.Threading.Tasks;
using Sia.Core.Controllers;
namespace Sia.Gateway.Controllers
{
[Route("[controller... | 1.787111 | 032076970484cbd41716256913544943 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "smg-bg/pragmatic-csharp-dotnet-course-oct2018-lecture-11",
"max_stars_repo_path": "Abstract/Mammal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88361"
} | starcoder | <reponame>smg-bg/pragmatic-csharp-dotnet-course-oct2018-lecture-11
using System;
namespace Abstract
{
public abstract class Mammal
{
protected string _name;
public Mammal(string name)
{
_name = name;
}
}
}
| 2.253186 | deab513b911a27703c8f3aa36952f9fb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.