added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849312 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IntelOrca/OrcaML",
"max_stars_repo_path": "src/OrcaML.Graphics.OpenGL/OpenGLServiceCollectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168532"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using OrcaML.Graphics.Abstractions;
namespace OrcaML.Graphics.OpenGL
{
public static class OpenGLServiceCollectionExtensions
{
public static IOpenGLBuilder AddOpenGL(this IServiceCollection services)
{
services.AddSingleton<OpenGLCont... | 1.958752 | 774f4f341077a481fcd102afd6f9c96a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849313 | {
"extension": "c-sharp",
"max_stars_count": "76.0",
"max_stars_repo_name": "sora-jp/leak",
"max_stars_repo_path": "sources/Leak.Events/HandshakeRejected.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168533"
} | starcoder | <gh_stars>10-100
using Leak.Common;
using Leak.Networking.Core;
namespace Leak.Events
{
public class HandshakeRejected
{
public NetworkConnection Connection;
}
} | 1.153336 | 74e8fcd1e208cb3a3f9a547a0815fadb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oathx/myactx",
"max_stars_repo_path": "actx/code/Source/XEffect/XEffect.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168534"
} | starcoder | using UnityEngine;
using System.Collections;
using System.IO;
using SLua;
#if UNITY_EDITOR
using UnityEditor;
#endif
[CustomLuaClass]
public class XEffect : XEffectComponent
{
#if UNITY_EDITOR
[ContextMenu("Generate Effect Config")]
protected void generateEffectConfig()
{
string prefabPath = Asse... | 2.018183 | e7e83773b4820640ef18b52929278bc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849315 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tomlazelle/CommandQuery.Framing",
"max_stars_repo_path": "test/CommandTests/DomainTests/CanGetMessageFromDomainPublisherTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168535"
} | starcoder | <gh_stars>1-10
using System;
using System.Threading.Tasks;
using CommandQuery.Framing;
using Microsoft.Extensions.DependencyInjection;
using Shouldly;
namespace CommandTests.DomainTests
{
public class CanGetMessageFromDomainPublisherTest
{
public async Task can_get_message_from_domain_publisher()
... | 2.38091 | 2a8de6a71d3b5ee4fa20fe64d571f870 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849316 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rusev12/ArtShop-ASP.NET-Core-MVC",
"max_stars_repo_path": "ArtShop.Web/ArtShop.Web/Views/ArtProduct/Details.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168536"
} | starcoder | <filename>ArtShop.Web/ArtShop.Web/Views/ArtProduct/Details.cshtml
@model AllArtProducts
@{
ViewData["Title"] = "Details";
}
<h2>Details about this item.</h2>
<div class="container">
<article>
<header>
<h2>
@Model.Name
</h2>
</header>
<p>
... | 2.427333 | 73c99cc82d14f0e3115db39972d22f08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849317 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "georghirn/fin-trans-converter",
"max_stars_repo_path": "src/finTransConverterLib/FinanceEintity/Homebank/HBAssignment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168537"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using FinTransConverterLib.Helpers;
namespace FinTransConverterLib.FinanceEntities.Homebank {
public class HBAssignment {
public const uint XmlPosition = 7;
public const string XmlTagName = "asg";
... | 2.347681 | 2754d0eab0a783ec7c85d949c2ccc722 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849318 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pylonboard/dotnet-pylonboard-monolith",
"max_stars_repo_path": "src/TerraDotnet/TerraFcd/TerraTransactionValueFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168538"
} | starcoder | <filename>src/TerraDotnet/TerraFcd/TerraTransactionValueFactory.cs
using TerraDotnet.Extensions;
using TerraDotnet.TerraFcd.Messages;
namespace TerraDotnet.TerraFcd;
public static class TerraTransactionValueFactory
{
public static CoreStdTx GetIt(TerraTxWrapper tx)
{
return tx.Tx.Type switch
{... | 2.222484 | 31e29505831a6f31c7042bd02f425bb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849319 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pulumi-bot/pulumi-azure-native",
"max_stars_repo_path": "examples/cs-simple/MyStack.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168539"
} | starcoder | <reponame>pulumi-bot/pulumi-azure-native
using System.Threading.Tasks;
using Microsoft.Azure.Management.Storage;
using EncryptionScope = Microsoft.Azure.Management.Storage.Models.EncryptionScope;
using Microsoft.Rest;
using Pulumi;
using Pulumi.AzureNative.Authorization;
using Pulumi.AzureNative.Resources;
using Pulumi... | 1.980672 | 7015f1b2a269beb34a239d78310032aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849320 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "burakoner/BitMax.Net",
"max_stars_repo_path": "BitMax.Net/RestObjects/Futures/BitMaxFuturesAsset.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168540"
} | starcoder | using BitMax.Net.Converters;
using BitMax.Net.Enums;
using Newtonsoft.Json;
namespace BitMax.Net.RestObjects
{
public class BitMaxFuturesAsset
{
[JsonProperty("asset")]
public string Asset { get; set; }
[JsonProperty("assetName")]
public string AssetName { get; set; }
... | 1.883668 | 4f37473214a5b1b9ce98bd1e14c52979 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849321 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "986547004/ElectronicObserver",
"max_stars_repo_path": "ElectronicObserver/Window/Control/StatusBar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168541"
} | starcoder | <filename>ElectronicObserver/Window/Control/StatusBar.cs
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 ElectronicObserver.Window.Control {
... | 2.302218 | 6fc4821e3e0bfe8eddc8089425dbdd68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849322 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "KonH/udbase",
"max_stars_repo_path": "Scripts/Controllers/Content/Runtime/ContentConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168542"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
namespace UDBase.Controllers.ContentSystem {
/// <summary>
/// Set of content for Content Loaders in project
/// </summary>
public class ContentConfig : ScriptableObject {
/// <summary>
/// All items in config
/// </summary>
public List<ContentId> Ite... | 1.824754 | 31b3dee0b6dcac4f75e567b3a40a5e5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849323 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "busstoptaktik/trlib",
"max_stars_repo_path": ".NET/Interface.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168543"
} | starcoder | <reponame>busstoptaktik/trlib
/*
* Copyright (c) 2013, National Geodata Agency, Denmark
* (Geodatastyrelsen), <EMAIL>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission ... | 2.203235 | 69cc21e96dd01fd5a50840bee3911b11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849324 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gcaufield/FitFileTools",
"max_stars_repo_path": "FitFileTools.Tools/Converters/FitWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168544"
} | starcoder | <gh_stars>0
using System.IO;
using System.Threading.Tasks;
using Dynastream.Fit;
using FitFileTools.Tools.Converters;
using DateTime = System.DateTime;
using File = Dynastream.Fit.File;
namespace FitFileTools.Tools
{
public class FitWriter
{
private readonly IDataStream _dataStream;
private rea... | 2.155275 | fc3377983f51305b121bb0e9a805c457 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849325 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iam-mholle/NullableReferenceTypesRewriter",
"max_stars_repo_path": "Core/MethodArguments/MethodParameterNullAnnotator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168545"
} | starcoder | <gh_stars>0
// Copyright (c) rubicon IT GmbH
//
// 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, p... | 2.05604 | ae16609cf2b14e3237e8edf99e7717d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849326 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrPIvanov/ASP.NET-Core-MVC-Exam",
"max_stars_repo_path": "src/Ehealth.Web/Views/Admin/BlogRemoveRestore.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168546"
} | starcoder | <gh_stars>0
@using Ehealth.ViewModels.Blog
@model RemoveRestoreSingleBlogViewModel
@{
ViewData["Title"] = "BlogRemoveRestore";
}
<div class="container">
<div class="row">
<div class="col-lg-3 p-0">
<h1 class="my-4">E-Health</h1>
<h2 class="my-4">Admin Area</h2>
... | 1.837898 | 04cac4a8596fd623c79af07a8eb2a476 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849327 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "digitaldrummerj-ionic/allReady",
"max_stars_repo_path": "AllReadyApp/Web-App/AllReady/Areas/Admin/ViewModels/Itinerary/ItineraryDetailsViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168547"
} | starcoder | using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace AllReady.Areas.Admin.ViewModels.Itinerary
{
/// <summary>
/// Defines data used by the admin itinerary details page
/// </summary>
public class ItineraryDetailsViewModel
{
/// <summary>
... | 2.091626 | d198692a1576325d003f031a037c3eab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849328 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nelson1987/Anunnaki",
"max_stars_repo_path": "Annunaki.Services/Interfaces/IClienteService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168548"
} | starcoder | using Anunnaki.Domain.Entities;
namespace Annunaki.Service.Interfaces
{
public interface IClienteService
{
void Cadastrar(Cliente cliente);
}
}
| 1.606653 | 570d52ac05760582a5f1591cc5bdc5c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849329 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "johanneshanek/metabase",
"max_stars_repo_path": "backend/src/GraphQl/Users/ResetUserPasswordErrorCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168549"
} | starcoder | namespace Metabase.GraphQl.Users
{
public enum ResetUserPasswordErrorCode
{
UNKNOWN,
INVALID_RESET_CODE,
PASSWORD_CONFIRMATION_MISMATCH,
PASSWORD_REQUIRES_DIGIT,
PASSWORD_REQUIRES_LOWER,
PASSWORD_REQUIRES_NON_ALPHANUMERIC,
PASSWORD_REQUIRES_UPPER,
... | 1.621965 | 684dedbfc1e40191ccbe27d76b475802 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849330 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hlhielkema/krypto",
"max_stars_repo_path": "src/ProjectBluefox/ProjectBluefox.Data/Models/CommentModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168550"
} | starcoder | <reponame>hlhielkema/krypto<filename>src/ProjectBluefox/ProjectBluefox.Data/Models/CommentModel.cs
using System;
namespace ProjectBluefox.Models
{
public class CommentModel
{
public Guid Id { get; set; }
public string CreatedBy { get; set; }
public Dat... | 2.138149 | c4fad3008694250f6be1069a76d4669d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849331 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ErikSchierboom/xunit.codeanalysis",
"max_stars_repo_path": "tests/xUnit.CodeAnalysis.Tests/ValidTestMethodTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168551"
} | starcoder | <gh_stars>0
using xUnit.CodeAnalysis.Test.Helpers;
using Xunit;
namespace xUnit.CodeAnalysis.Test
{
public class ValidTestMethodTests : DiagnosticVerifier
{
[Theory]
[InlineData("[Fact]")]
[InlineData("[Fact][Trait(\"c\",\"d\")]")]
[InlineData("[Trait(\"a\",\"b\")][Fact]")]
... | 1.889619 | 9d61c20a1c0ba45edd48441c9befa753 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849332 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "phonght89/NoteForMe",
"max_stars_repo_path": "Note.Data/Service/LogsHs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168552"
} | starcoder | <reponame>phonght89/NoteForMe
namespace Note.Data.Service
{
public class LogsHs
{
}
}
| 0.523254 | 9b6ffdc53803b98898a6febf788586da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849333 | {
"extension": "c-sharp",
"max_stars_count": "1416.0",
"max_stars_repo_name": "ThePiranha/infer",
"max_stars_repo_path": "src/Runtime/Factors/StringCapitalizedOfMinMaxLengthOp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168553"
} | starcoder | <gh_stars>1000+
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Microsoft.ML.Probabilistic.Factors
{
using Microsoft.ML.Probabilistic.Distributions;
... | 2.167061 | d6a4d60df60289fa87d2704d41d7eac5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849334 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Grosbo/CoreValidation",
"max_stars_repo_path": "src/CoreValidation/Translations/DuplicateTranslationException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168554"
} | starcoder | using System;
using CoreValidation.Exceptions;
namespace CoreValidation.Translations
{
public sealed class DuplicateTranslationException : InvalidOperationException, ICoreValidationException
{
public DuplicateTranslationException(string message) : base(message)
{
}
}
} | 1.892051 | 931fe98ea6e40f6a1294d393a76d8dff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849335 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "maxstralin/csharp-to-js",
"max_stars_repo_path": "samples/ClassLibrarySample/Models/DerivedClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168555"
} | starcoder | <reponame>maxstralin/csharp-to-js
using System;
using System.Collections.Generic;
using System.Text;
namespace ClassLibrarySample.Models
{
public class DerivedClass : Model
{
public string IAmDerived { get; set; } = "Like a cool class";
}
}
| 2.092491 | e2feadfab1f422673153a6fd3a0a5433 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849336 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xiangxingxing/AElf",
"max_stars_repo_path": "src/AElf.Kernel.SmartContract/Application/CalculateFeeStrategy/ICalculateWay.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168556"
} | starcoder | using System.Collections.Generic;
namespace AElf.Kernel.SmartContract.Application
{
public interface ICalculateWay
{
int PieceKey { get; set; }
long GetCost(int initValue);
void InitParameter(IDictionary<string, int> param);
IDictionary<string, int> GetParameterDic();
int... | 1.710555 | 40b948a1cb892a64878663ce5e796315 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849337 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "grhm/AgentMulder",
"max_stars_repo_path": "src/Test/Data/Types/MyStruct.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168557"
} | starcoder | <reponame>grhm/AgentMulder
namespace TestApplication.Types
{
public struct MyStruct { }
} | 1.015755 | 080606a10d155cda52c11d0ea4c41e88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849338 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rh/poplar",
"max_stars_repo_path": "src/Poplar/Commands/ExportCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168558"
} | starcoder | using System.IO;
using Optional.Attributes;
using Optional.Commands;
using Poplar.Strategies;
namespace Poplar.Commands
{
[Description("Exports a generator to a .zip file")]
[Usage("<generator>")]
public class ExportCommand : Command, IArgumentsAware
{
public override int Execute()
{
// 'export' is the f... | 2.860272 | 2e66b93fde396e64d55c3cb6fbca1dcf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849339 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "ousttrue/UniVRM_1_0",
"max_stars_repo_path": "Assets/Vrm10/UniVRM0XReader/Runtime/GltfFormat/EqualUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168559"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Numerics;
namespace GltfFormat
{
/// UnitTest 向けの微妙な Equal
public static class EqualUtil
{
public static bool IsEqual(Dictionary<string, float[]> lhs, Dictionary<string, float[]> rhs)
{
if (lhs.Count !=... | 3.236941 | 86b7d3689d662fc1c66540eabe564ae4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849340 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SautinSoft/Document-Net",
"max_stars_repo_path": "CSharp/Paragraph/06. Delete paragraph/Sample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168560"
} | starcoder | <reponame>SautinSoft/Document-Net<gh_stars>0
using System;
using System.IO;
using System.Linq;
using SautinSoft.Document;
namespace Example
{
class Program
{
static void Main(string[] args)
{
DeleteParagraphs();
}
/// <summary>
/// Deletes a spe... | 3.148319 | 97611ff34ea6483cbf34282b1f4b5025 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849341 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Atrejoe/NCrontab",
"max_stars_repo_path": "NCrontabConsole/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168561"
} | starcoder | <reponame>Atrejoe/NCrontab
#region License and Terms
//
// NCrontab - Crontab for .NET
// Copyright (c) 2008 <NAME>. 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.
// You may obtain a copy of the License at
/... | 2.651163 | 549c85b8cd3164502fb6c0a5993068b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849342 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "dongdapeng110/SharpDevelopTest",
"max_stars_repo_path": "src/AddIns/BackendBindings/AspNet.Mvc/Test/Helpers/FakeMvcFileService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168562"
} | starcoder | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.AspNet.Mvc;
namespace AspNet.Mvc.Tests.Helpers
{
public class FakeMvcFileService : IMvcFileS... | 1.776605 | cfc72c8467bb82270d6fc5d7467fca74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849343 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "balaganesanr/Tournament-Organizer",
"max_stars_repo_path": "TournamentOrganizer/TournamentOrganizer/Application_Code/ApplicationUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168563"
} | starcoder | <reponame>balaganesanr/Tournament-Organizer<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using TournamentOrganizer.Model;
using TournamentOrganizer.M... | 1.892588 | c7e12e7e725662920265f710057184c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849344 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "senkz/HUSACCT",
"max_stars_repo_path": "testprojects/csharp/benchmark/domain/Direct/Alowed/InheritanceExtends.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168564"
} | starcoder | namespace Domain.Direct.Allowed
{
public class InheritanceExtends : Technology.Direct.Dao.HistoryDAO
{
}
}
| 0.780279 | e33f1a579ba3b19cc743af63252cf0e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849345 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "beaudeanadams/ServiceBusDriver",
"max_stars_repo_path": "Server/Features/Topic/GetSubscriptions/GetSubscriptionsHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168565"
} | starcoder | <reponame>beaudeanadams/ServiceBusDriver
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using MediatR;
using Microsoft.Extensions.Logging;
using ServiceBusDriver.Core.Components.Subscription;
using ServiceBusDriver.Shared.Features.Subscription;
using ServiceBu... | 2.053666 | 74a239e8b45052b4498b86a1c1e0648d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849346 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "idg10/BoDi",
"max_stars_repo_path": "BoDi.Performance.Tests/Benchmarks/ResolveMultiThreadedMultipleContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168566"
} | starcoder | using System.Linq;
using System.Threading;
using BenchmarkDotNet.Attributes;
using BODi.Performance.Tests.Benchmarks;
namespace BoDi.Performance.Tests.Benchmarks
{
public class ResolveMultiThreadedMultipleContainer : MultipleContainerBenchmarkBase
{
[Params(2, 4, 8, 16)]
public int T... | 2.262643 | 18ff0ea70b5ac97113e944f59ba8ad6b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849347 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uareurapid/balloonquest",
"max_stars_repo_path": "Assets/scripts/EnlargeScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168567"
} | starcoder | using UnityEngine;
using System.Collections;
public class EnlargeScript : MonoBehaviour {
public float duration = 1.5f; //in seconds
public float scaleAmount = 0.2f;//how much enlarge each time
public float repeatFrequency = 0.2f;//repeat effect every x seconds
public int maxRepetitions = 5;//number ... | 2.424308 | 14eb53ab6bf0ed011eb2c521af89c919 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849348 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HuberAndrea/Picturepark.SDK.DotNet",
"max_stars_repo_path": "samples/Picturepark.Microsite.Example/Services/IPictureparkPerRequestService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168568"
} | starcoder | <reponame>HuberAndrea/Picturepark.SDK.DotNet
using Picturepark.SDK.V1.Contract;
namespace Picturepark.Microsite.Example.Services
{
public interface IPictureparkPerRequestService : IPictureparkService
{
}
}
| 0.779669 | 8ce8f8cec660b00b2388036d8730b262 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849349 | {
"extension": "c-sharp",
"max_stars_count": "13846.0",
"max_stars_repo_name": "tomaswesterlund/aspnetcore",
"max_stars_repo_path": "src/Shared/Components/ServerComponentSerializationSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168569"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Microsoft.AspNetCore.Components
{
internal static class ServerComponentSerializationSetting... | 2.124877 | 379befefb1658013280c009a3ee0aeaa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vesy53/SoftUni",
"max_stars_repo_path": "Tech Module/Programming Fundamentals/Exams/ExamPreparationIII/p03.01.RageQuit/RageQuit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168570"
} | starcoder | <gh_stars>0
namespace p03._01.RageQuit
{
using System;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
class RageQuit
{
static void Main(string[] args)
{
StringBuilder builder = new StringBuilder();
string input = Console.Rea... | 3.450979 | 0e86a84bb3c16f6ffe0be0c91857054c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849351 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dialock/TempleGame",
"max_stars_repo_path": "Common/SoundBoard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168571"
} | starcoder | <filename>Common/SoundBoard.cs
#region Using Statements
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Media;
#endregion
namespace TempleGardens
{
public static class SoundBoard
{
//private static Soun... | 2.126589 | aab8c7a4856ccedcf3762db0d5263287 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849352 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zzgchina888/msdn-code-gallery-microsoft",
"max_stars_repo_path": "Official Windows Platform Sample/Windows Phone 8.1 samples/[C#]-Windows Phone 8.1 samples/Scheduled notifications sample/C#/Shared/Scenario1_Schedule.xaml.cs",
"provena... | starcoder | // Copyright (c) Microsoft. All rights reserved.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
using Windows... | 2.189612 | 3b0d1773fa0e6b707ba299b4020eb4b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849353 | {
"extension": "c-sharp",
"max_stars_count": "288.0",
"max_stars_repo_name": "syberside/CMS",
"max_stars_repo_path": "Kooboo.CMS/Kooboo.CMS.Sites/Services/SiteTextFolderManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168573"
} | starcoder | #region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using Kooboo.CMS.Common.Persistence.Non_Relational;
using Kooboo.CMS.Content.Models;
using Kooboo.CMS.Content.Persistence;
using Kooboo.CMS.Sites.DataRule;
using Kooboo.C... | 1.835115 | 0261a823f2a1c6063fad8a8d0436ef2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849354 | {
"extension": "c-sharp",
"max_stars_count": "196.0",
"max_stars_repo_name": "mfoitzik/cloudscribe.SimpleContent",
"max_stars_repo_path": "src/cloudscribe.SimpleContent.Web/Services/Page/PageEditContextRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168574"
} | starcoder | <reponame>mfoitzik/cloudscribe.SimpleContent<gh_stars>100-1000
using MediatR;
using System;
using System.Security.Claims;
namespace cloudscribe.SimpleContent.Web.Services
{
public class PageEditContextRequest : IRequest<PageEditContext>
{
public PageEditContextRequest(
ClaimsPrincipal user... | 1.798595 | 5cdf559ac44894bc9151bb6a9df147de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849355 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emteq-ltd/emteqvr-unity",
"max_stars_repo_path": "Samples/EmteqVR/Widgets/ContactPrompt/GUI/EmteqVRMaskGUI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168575"
} | starcoder | <filename>Samples/EmteqVR/Widgets/ContactPrompt/GUI/EmteqVRMaskGUI.cs
using System.Collections.Generic;
using EmteqLabs.Faceplate;
using EmteqLabs.MaskProtocol;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
namespace EmteqLabs
{
public class EmteqVRMaskGUI : MonoBehaviour
{
... | 2.125423 | 796f6ec40ef45c8cf92157f74845af35 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849356 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aac-donosiciele/backend",
"max_stars_repo_path": "DonosServer/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168576"
} | starcoder | using Core.Interfaces;
using DonosServer.API.Authorization;
using Infrastructure;
using Infrastructure.Services;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Mi... | 1.697731 | ec7f4fb899b1fbf5c48ec7ead255b6df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849357 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ghstahl/IdentityServer4-asp.net-Identity-Problem",
"max_stars_repo_path": "src/ScopedHelpers/Extensions/TokenStoreExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168577"
} | starcoder | <reponame>ghstahl/IdentityServer4-asp.net-Identity-Problem
using Microsoft.Extensions.DependencyInjection;
namespace ScopedHelpers.Extensions
{
public static class TokenStoreExtensions
{
public static IServiceCollection AddTokenStore(this IServiceCollection services)
{
services.Add... | 1.489532 | ac8074271e8d7de9b0f2a16ef757e106 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849358 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "TurkMvc/lol",
"max_stars_repo_path": "tools/vslol/VsLol.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168578"
} | starcoder | <gh_stars>1-10
//
// Lol Engine - VsLol add-in for Visual Studio
//
// Copyright: (c) 2010-2013 <NAME> <<EMAIL>>
// This program is free software; you can redistribute it and/or
// modify it under the terms of the Do What The Fuck You Want To
// Public License, Version 2, as published by Sam Hocevar. See
// htt... | 1.653508 | 7c6c722f35a52aef514bdeb490a69253 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849359 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Song2017/TFSTool",
"max_stars_repo_path": "Helper/LocalFileFunction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168579"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using TFSUtils;
namespace Helper
{
public static class LocalFileFunction
{
private static readonly string outputFolder = "result";
public static bool SaveWorkItemList(this List<VKWorkItem> V... | 2.905392 | 6f4659290248448399278914ba15dab2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849360 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "swilkinson-bluebolt/hotcakes-commerce-core",
"max_stars_repo_path": "Website/DesktopModules/Hotcakes/Core/Admin/Orders/EditOrder.aspx.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168580"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | 1.28837 | 832fd312cbd674aed5caf9a6392d5b40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849361 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hammadahmad120/Enterprize-App-Development-EAD-",
"max_stars_repo_path": "AspDotNet MVC Users Managing/MvcApplication1/MvcApplication1/Views/User/NewPassword.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168581"
} | starcoder | <filename>AspDotNet MVC Users Managing/MvcApplication1/MvcApplication1/Views/User/NewPassword.cshtml
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>NewPassword</title>
</head>
<body>
<div>
<h1>Enter New Password</h1>
<fo... | 2.333942 | 258886a96c1532f2f2ab9e42b454513e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849362 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "indrivo/GR.Core",
"max_stars_repo_path": "GR.Core/Helpers/Pagination/PageRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168582"
} | starcoder | <filename>GR.Core/Helpers/Pagination/PageRequest.cs
namespace GR.Core.Helpers.Pagination
{
public class PageRequest
{
public bool Deleted { get; set; }
public int Page { get; set; }
public int PageSize { get; set; }
public bool Descending { get; set; }
public string Att... | 1.894763 | c820b547b97b7e9e7ce76c4d2fb51cbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849363 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "colinjacobsorckestra/BetterRetail",
"max_stars_repo_path": "src/Orckestra.Composer.MyAccount/ViewModels/AccountHeaderViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168583"
} | starcoder | using Orckestra.Composer.ViewModels;
namespace Orckestra.Composer.MyAccount.ViewModels
{
/// <summary>
/// ViewModel to display the Account Header
/// </summary>
public sealed class AccountHeaderViewModel : BaseViewModel
{
/// <summary>
/// The FirstName for the User account
... | 2.031338 | 8009b6ce1c52ccff2d57acbb84cd0c92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tencho0/SoftuniEducation",
"max_stars_repo_path": "C# Advanced/advanced-jan22/MultidimensionalArrays-Exercise/T5.SnakeMoves/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168584"
} | starcoder | using System;
using System.Linq;
namespace T5.SnakeMoves
{
internal class Program
{
static void Main(string[] args)
{
int[] inputData = Console.ReadLine().Split().Select(int.Parse).ToArray();
string snake = Console.ReadLine();
char[,] matrix = new char[inpu... | 3.629541 | 306fdbdc51bc74e73fd836418cce58b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849365 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/glue/msvs/MsvsVarNames.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168585"
} | starcoder | <filename>src/glue/msvs/MsvsVarNames.cs
//-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
/// <summary>
/// Defines select MSVS en... | 1.895052 | b1f931b1b4d5292cab1066cc8dca2486 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849366 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "FreeApophis/Funcky",
"max_stars_repo_path": "Funcky.Async/Monads/Result/ResultAsyncExtensions.Traversable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168586"
} | starcoder | using System.Diagnostics.CodeAnalysis;
using static Funcky.Async.ValueTaskFactory;
namespace Funcky.Monads;
public static class ResultAsyncExtensions
{
[Pure]
public static IAsyncEnumerable<Result<T>> Traverse<TValidResult, T>(
this Result<TValidResult> result,
Func<TValidResult, IAsyncEnumera... | 2.257109 | de046dc2405a6f2e227de9790ff599a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849367 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mylab6/BasicUnityProceduralTileGen",
"max_stars_repo_path": "Assets/Basic3dTileGridGen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168587"
} | starcoder | <filename>Assets/Basic3dTileGridGen.cs<gh_stars>1-10
using UnityEngine;
using System.Collections.Generic;
using System;
using System.Collections;
using System.Linq;
using UnityEditor;
public enum SpawnDir {
X,
Y,
Z
}
[Serializable]
public class titleHolderObject
{
public GameObject tileHolder;
public Boun... | 2.295715 | ab1406f97e71ac4457f60191f543d0aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849368 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "icefoxen/finished-havoc",
"max_stars_repo_path": "havocasm/Assembler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168588"
} | starcoder | /* Okay, this is where we put the machinery to actually do stuff.
Steps to complete:
1) Read and parse directives and stick them into a list and symbol table.
1.5) Detect unused, reused and nonexistant labels.
2) Go through and count instructions, and find the locations of all labels,
resolving memory-al... | 2.855701 | cb2a8aa35e8dc44376f503d5475c73f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849369 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kayateia/scriptdotnet",
"max_stars_repo_path": "ZNotation/Runtime/ObjectBinderHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168589"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using ScriptNET.Runtime.MutantFramework;
namespace ScriptNET.Runtime
{
public partial class ObjectBinder
{
protected static bool CanBind(MemberInfo member)
{
BindableAttribute bindable ... | 2.359745 | 98224b649786682771d459be14c7baf3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849370 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Zinofi/umbrella",
"max_stars_repo_path": "DataAccess/src/Umbrella.DataAccess.Abstractions/Exceptions/UmbrellaForbiddenDataAccessException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168590"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Umbrella.DataAccess.Abstractions.Exceptions
{
public sealed class UmbrellaForbiddenDataAccessException : UmbrellaDataAccessException
{
internal Umbrella... | 2.39616 | a102fcd9305a1ad49ca696067540607a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849371 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Expense-Tracker-Team/portfolio-manager",
"max_stars_repo_path": "src/microservices/users/tests/UnitTests/Api/Helpers/TestServerCallContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168591"
} | starcoder | namespace UnitTests.Api.Helpers
{
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Grpc.Core;
public class TestServerCallContext : ServerCallContext
{
private readonly Metadata requestHeaders;
private readonly Cance... | 2.064137 | d3f17000e842e69ca7ac246caec9c42f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849372 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "joruiz/robot-master",
"max_stars_repo_path": "Robots/Pingajo/PingajoRobot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168592"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Robots.Pingajo
{
public class PingajoRobot : Robot
{
public PingajoRobot()
{
this.id = RobotIds.Pingajo;
}
}
}
| 1.678403 | 3b90376381c83af38b475a5b3f022229 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849373 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tarasbiletsky24/pomodoro",
"max_stars_repo_path": "PomodoroTimer/PomodoroTimer/Models/MasterViewMenuItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168593"
} | starcoder | using System;
namespace PomodoroTimer.Models
{
public class MasterViewMenuItem
{
public int Id { get; set; }
public string Title { get; set; }
public string Icon { get; set; }
public Type TargetType { get; set; }
}
} | 1.680512 | 1cee7f485ca8bdc202a2820f24e2d1e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849374 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrwizard82d1/Rick",
"max_stars_repo_path": "Rick.Tests/OhmValueCalculatorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168594"
} | starcoder | <reponame>mrwizard82d1/Rick
using NUnit.Framework;
namespace Rick.Tests
{
/// <summary>
/// Defines the unit tests for the <see cref="OhmValueCalculator"/> class.
/// </summary>
[TestFixture]
public class OhmValueCalculatorTests
{
[TestCase("Black", "", "", "", 0)]
[... | 2.651323 | 311a2e027c1edf866eced4185c54b0e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849375 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JasonBock/WSharp",
"max_stars_repo_path": "WSharp.Compiler/Binding/Conversion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168595"
} | starcoder | <reponame>JasonBock/WSharp<gh_stars>0
using WSharp.Compiler.Symbols;
namespace WSharp.Compiler.Binding
{
public sealed class Conversion
{
public static readonly Conversion Explicit = new Conversion(ConversionFlags.Exists);
public static readonly Conversion Identity = new Conversion(ConversionFlags.Exists | Conv... | 2.399001 | 7d5632055d8c169f58547d04abd1e8f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849376 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "CosmosProgramme/Cosmos.Standard",
"max_stars_repo_path": "src/Cosmos.Logging/Cosmos/Logging/Exceptions/Configurations/ExceptionConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168596"
} | starcoder | using Cosmos.Logging.Configurations;
using Cosmos.Logging.Core.Extensions;
using Cosmos.Logging.Exceptions.Core;
using EnumsNET;
namespace Cosmos.Logging.Exceptions.Configurations {
/// <summary>
/// Exception configuration
/// </summary>
public class ExceptionConfiguration : SinkConfiguration {
... | 2.070957 | 41e79a7fda26e7636adcbaf3e14f523f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849377 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhangbao138208/financeAndpersonnel",
"max_stars_repo_path": "DncZeus.Api/Models/UploadFileSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168597"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DncZeus.Api.Models
{
public class UploadFileSettings
{
/// <summary>
/// 文件上传根目录
/// </summary>
public string UploadRoot { get; set; }
/// <summary>
/// 系... | 1.789472 | 1600cd8e4d685d769c4fd35f76c10cad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849378 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nelov87/C-OOP-Basics",
"max_stars_repo_path": "Exam - 18 November 2018/AnimalCentre/IO/Writer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168598"
} | starcoder | <gh_stars>0
using AnimalCentre.IO.Contracts;
using System;
using System.Collections.Generic;
using System.Text;
namespace AnimalCentre.IO
{
public class Writer : IWriter
{
public Writer()
{
}
public void Write(string str)
{
Console.Write(str);
}
... | 2.229834 | 7d75aa963195661bc9a54a84bec92d22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849379 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "yapi-net/YandexDirect",
"max_stars_repo_path": "Yandex.Direct/Serialization/YesNo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168599"
} | starcoder | using System;
using Newtonsoft.Json;
namespace Yandex.Direct.Serialization
{
[JsonConverter(typeof(YesNoConverter))]
public struct YesNo
{
public static YesNo Yes = new YesNo(true);
public static YesNo No = new YesNo(false);
private readonly bool _value;
public YesNo(bool... | 3.134868 | b9e232af14dd6599bad7bb4f8405cdad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849380 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "phucan1108/letportal",
"max_stars_repo_path": "src/web-apis/LetPortal.Microservices.Client/Channels/ILogCollectorChannel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168600"
} | starcoder | <reponame>phucan1108/letportal
using System;
using System.Threading.Channels;
using LetPortal.Microservices.LogCollector;
namespace LetPortal.Microservices.Client.Channels
{
public interface ILogCollectorChannel
{
Channel<LogCollectorRequest> GetChannel();
}
}
| 1.069354 | efd2fbc5453f20dfb3cccd242f46b718 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849381 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "pglet/pglet-powershell",
"max_stars_repo_path": "src/Pglet.PowerShell/SwitchPgletEventsCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168601"
} | starcoder | using Pglet.PowerShell.Controls;
using System;
using System.Management.Automation;
using System.Management.Automation.Runspaces;
using System.Threading;
namespace Pglet.PowerShell
{
[Cmdlet(VerbsCommon.Switch, "PgletEvents")]
[OutputType(typeof(Event))]
public class SwitchPgletEventsCommand : PSCmdlet
... | 2.356792 | 0c924e185c6f990bdc203bb3e61c4b7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849382 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Prog-Party/ProgParty.Phone.Core",
"max_stars_repo_path": "ProgParty.Core/Language.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168602"
} | starcoder | <reponame>Prog-Party/ProgParty.Phone.Core<gh_stars>0
namespace ProgParty.Core
{
public enum Language { Dutch, English, };
}
| 1.544908 | 95c8298babbc6bbcafc91855522fd396 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849383 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "redy81/GpibCmd",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168603"
} | starcoder | <reponame>redy81/GpibCmd
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
namespace GpibCmd
{
internal enum OperationType
{
Delay,
OpenInstrument,
Command
}
internal class Operation
... | 2.932758 | dc210afa4cb819319833c36321d37449 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849384 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "BlazesRus/PoESkillTree_BlazesRus.Engine",
"max_stars_repo_path": "PoESkillTree.Engine.Computation.Builders/Resolving/UnresolvedBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168604"
} | starcoder | <reponame>BlazesRus/PoESkillTree_BlazesRus.Engine
using System;
using System.Collections.Generic;
using PoESkillTree.Engine.Computation.Builders.Stats;
using PoESkillTree.Engine.Computation.Builders.Values;
using PoESkillTree.Engine.Computation.Common.Builders;
using PoESkillTree.Engine.Computation.Common.Builders.Ent... | 2.420857 | 4a1a6a1ce1feac3affbee6bc2a1f1161 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849385 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mokadev-vn/thuantv",
"max_stars_repo_path": "Source/BELibrary/Entity/OrderDetail.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168605"
} | starcoder | <gh_stars>0
namespace BELibrary.Entity
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("OrderDetail")]
public partial class OrderDetail
{... | 1.677705 | 1dac6fd8b937e3009af9281686519d63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849386 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "todorm85/TelerikAcademy",
"max_stars_repo_path": "Courses/Programming/Data-Structures-and-Algorithms/Homework/11-DynamicProgramming/03-Tribonachi/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168606"
} | starcoder | // TASK
// http://bgcoder.com/Contests/Practice/DownloadResource/164
namespace _03_Tribonachi
{
using System;
using System.IO;
internal class Program
{
private static void Main()
{
//GetSampleInputStream();
var input = Console.ReadLine().Split(' ');
... | 3.213097 | bb4fa5e4f8420fd1af08c6148222e5f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849387 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cezarypiatekGC/activemq-nms-amqp",
"max_stars_repo_path": "test/Apache-NMS-AMQP-Interop-Test/NmsSessionTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168607"
} | starcoder | using System.Threading.Tasks;
using Apache.NMS;
using NUnit.Framework;
namespace NMS.AMQP.Test
{
public class NmsSessionTest : AmqpTestSupport
{
[Test, Timeout(10_000)]
public void TestCreateMultipleSessionsFromDifferentThreadsWhenConnectionNotStarted()
{
Connection = Create... | 1.998389 | 8a2e962478f7faa006fe94f2c0413c29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849388 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Wincent01/InfectedRose-Editor",
"max_stars_repo_path": "Assets/Scripts/Utilities/Hotkeys.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168608"
} | starcoder | <gh_stars>1-10
using UnityEngine;
namespace Utilities
{
public class Hotkeys : MonoBehaviour
{
private bool FullScreen { get; set; }
private int WindowedWidth { get; set; }
private int WindowedHeight { get; set; }
private void Awake()
{
Ful... | 2.45364 | fd9b1e2df8f554c3686835d6cd265824 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849389 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "riktothepast/GGJ16",
"max_stars_repo_path": "Assets/Scripts/Utils/ObjectRecycler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168609"
} | starcoder | using UnityEngine;
using System.Collections;
public class ObjectRecycler : MonoBehaviour {
public float ttl;
// Use this for initialization
void OnEnable () {
if(ttl > 0)
Invoke("Clear", ttl);
}
public void Clear()
{
this.gameObject.Recycle();
}
} | 2.260273 | 5cdb55b6f51941da8c3dca4e1fe3b64c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849390 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stackdeveloper11/dama",
"max_stars_repo_path": "akset/obj/Release/Package/PackageTmp/Areas/Admin/Views/Markas/Marka.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168610"
} | starcoder | <reponame>stackdeveloper11/dama<gh_stars>0
@model IEnumerable<akset.data.Marka>
@{
ViewBag.Title = "Index";
}
@{
int say = 0;
}
<div id="content">
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<h1 class="page-title txt-color-blueDark">
<i clas... | 2.345771 | d74efe85f347993af7a9656f9f1fa25e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849391 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "onerain88/Parse-SDK-dotNET-Standard",
"max_stars_repo_path": "Parse/Public/ParseClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168611"
} | starcoder | <reponame>onerain88/Parse-SDK-dotNET-Standard
using System;
using ParseSDK.Internal.Http;
namespace ParseSDK {
public class ParseClient {
private static string appId;
private static string server;
public static ParseHttpClient HttpClient {
get; private set;
}
... | 2.060794 | 04b58a7bbb5735ba636f29177c85a6e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849392 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "msalmquist/TimeTrack",
"max_stars_repo_path": "TimeTrack/MonthlyReport.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168612"
} | starcoder | <filename>TimeTrack/MonthlyReport.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace TimeTrack
{
public class MonthlyReport
{
static public void Write(List<TaskRecord> tasklist, string savePath, decimal tota... | 3.123607 | 6422ecafeebe5808f43473af5ff8be39 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849393 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "starfury1927/UltraPowaCOC",
"max_stars_repo_path": "Ultrapowa Clash Server/Packets/Messages/Client/ExecuteCommandsMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168613"
} | starcoder | using System;
using System.IO;
using UCS.Core;
using UCS.Helpers;
using UCS.Logic;
namespace UCS.PacketProcessing.Messages.Client
{
// Packet 14102
internal class ExecuteCommandsMessage : Message
{
public ExecuteCommandsMessage(PacketProcessing.Client client, PacketReader br) : base(client, br)
... | 2.500864 | da2cc31ce35a50ae0349b329a07c40d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849394 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Kaydax/CSG",
"max_stars_repo_path": "test/CSG.Test/Shapes/ShapeTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168614"
} | starcoder | <gh_stars>10-100
namespace CSG.Shapes
{
using System.Numerics;
using Xunit;
using Xunit.Abstractions;
public class ShapeTest : Test
{
public ShapeTest(ITestOutputHelper output)
: base(output)
{
}
/// <summary>
/// This is the exampel given at h... | 2.775489 | 0a42e045af5bf5445899fd570ddee30c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849395 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tosog/mercury",
"max_stars_repo_path": "cs/ThingMagic.Reader/ReaderUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168615"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Runtime.CompilerServices;
using System.Threading;
namespace ThingMagic
{
class ReaderUtil
{
//static Socket socket = new Socket(AddressFamily.InterNetwork, Socke... | 2.578351 | 645b6fe5df41c7982d84a9c5bcf91652 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849396 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "antan87/AOC21",
"max_stars_repo_path": "AOC21/Shared/Parse/ParserCreator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168616"
} | starcoder | namespace AOC21.Shared.Parse;
public static class ParserCreator
{
public static Int32Parser Int32Parser = new Int32Parser();
public static StringParser StringParser = new StringParser();
} | 1.248759 | 175dba35246e36ef688b3a69e80f57a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849397 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ErikMoczi/EducationGame_BachelorThesis",
"max_stars_repo_path": "Assets/Scripts/Managers/TransitionScene/TransitionElement/ITransitionElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168617"
} | starcoder | <reponame>ErikMoczi/EducationGame_BachelorThesis
using Bachelor.Managers.Transition.Base;
namespace Bachelor.Managers.Transition
{
public interface ITransitionElement
{
ITransitionDetails TransitionDetails { get; }
string Name { get; }
}
} | 1.33467 | b812f8382a8dffcf285dd07fcf185176 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849398 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "magne/unicode-trie",
"max_stars_repo_path": "unicode-trie.tests/AbstractTestLog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168618"
} | starcoder | <filename>unicode-trie.tests/AbstractTestLog.cs
using Xunit.Sdk;
namespace CodeHive.unicode_trie.tests
{
public abstract class AbstractTestLog
{
/**
* Report an error.
*/
public static void Err(string message)
{
throw new XunitException(message);
... | 2.147528 | 6350749b7426b2f68fe86c3f837bf5fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849399 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "karl-rao/Kalendar",
"max_stars_repo_path": "Libraries/Data/Entities/KalendarEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168619"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace Kalendar.Zero.Data.Entities
{
[Serializable]
[DataContract]
public class KalendarEvent
{
[DataMember(Name = "id")]
public int EventId { get; set; }
... | 2.048781 | 88528a36a8bd83c269efe9dc8d7cbe17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849400 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "eleks/EventStore",
"max_stars_repo_path": "src/EventStore/EventStore.Core.Tests/TransactionLog/when_writing_commit_record_to_file.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168620"
} | starcoder | <filename>src/EventStore/EventStore.Core.Tests/TransactionLog/when_writing_commit_record_to_file.cs<gh_stars>1-10
// Copyright (c) 2012, Event Store LLP
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions... | 2.158894 | ce0f07c36526e0c1b8087803d2d2285b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849401 | {
"extension": "c-sharp",
"max_stars_count": "387.0",
"max_stars_repo_name": "n-l-vasilyev/DemoCode",
"max_stars_repo_path": "Drums/VDrumExplorer.Console/ListAerophoneStudioSets.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168621"
} | starcoder | <reponame>n-l-vasilyev/DemoCode
// Copyright 2020 <NAME>. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System.CommandLine;
using System.CommandLine.Invocation;
using System.CommandLine.IO;
using System.Text;
using System.Threading;
u... | 2.248657 | b62bce26a98b8f0f3d9691887e0beb7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849402 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Obelixx/AASmartHouse",
"max_stars_repo_path": "AAWebSmartHouse/Common/AAWebSmartHouse.Common/AdminUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168622"
} | starcoder | namespace AAWebSmartHouse.Common
{
public class AdminUser
{
public const string Name = "Admin";
public const string UserName = "admin";
public const string Password = "<PASSWORD>";
}
}
| 1.503468 | aac2535f24e4c4346afbdf0d31bf20a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849403 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tyiki-badwell/momiji-csharp",
"max_stars_repo_path": "momiji/core/Momiji.Core.WebMidi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168623"
} | starcoder | <reponame>tyiki-badwell/momiji-csharp
namespace Momiji.Core.WebMidi
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1815:equals および operator equals を値型でオーバーライドします", Justification = "<保留中>")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1051:参照可能なインスタンス フィールドを宣言しません", Justi... | 1.985814 | dff786f2e2f39072624849c7108e9dfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849404 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Elgolfin/PokerBot",
"max_stars_repo_path": "PokerBotUnitTests/Hands/StraightUnitTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168624"
} | starcoder | using System;
using System.Collections.Generic;
using Xunit;
using Nicomputer.PokerBot.Cards.Hands;
namespace Nicomputer.PokerBot.UnitTests.Hands
{
public class StraightUnitTests
{
[Fact]
public void Straight_1()
{
var straightHands = new Dictionary<long, string>()
... | 2.69242 | 796715a005958a0b8a746cc7e200c619 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849405 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "felipebz/ndapi",
"max_stars_repo_path": "Ndapi/MenuItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168625"
} | starcoder | using Ndapi.Core;
using Ndapi.Core.Handles;
using Ndapi.Enums;
using System.Collections.Generic;
namespace Ndapi
{
/// <summary>
/// Represents a menu item.
/// </summary>
public class MenuItem : NdapiObject<MenuItem>
{
/// <summary>
/// Creates a menu item.
/// </summary>
... | 2.470604 | 58e2538fabb46de55114b546ca5db587 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849406 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SimonPilkington/DiceBot",
"max_stars_repo_path": "DiceBotCommon/Skype/Wrappers/MessageStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168626"
} | starcoder | <reponame>SimonPilkington/DiceBot<filename>DiceBotCommon/Skype/Wrappers/MessageStatus.cs<gh_stars>0
namespace DiceBot.Skype.Wrappers
{
public enum MessageStatus
{
Unknown = -1,
Sending,
Sent,
Received,
Read
}
public static class MessageStatusMethods
{
public static MessageStatus ToWrappedType(this SK... | 2.420011 | 744647d5cce2e926855cf7e4db180e69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849407 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YuryStrelkov/AhoraCore",
"max_stars_repo_path": "AhoraCore/AhoraCore/Core/Buffers/IBuffers/BindableObject/IBindable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168627"
} | starcoder | <reponame>YuryStrelkov/AhoraCore
namespace AhoraCore.Core.Buffers.IBuffers.BindableObject
{
public interface IBindable
{
void Bind();
void Create();
void Delete();
void Unbind();
void Clear();
}
}
| 1.688578 | 4a7a290bf0701416c22d15540424bb01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849408 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Euphoric/Euphoric.Logging.Memory",
"max_stars_repo_path": "Euphoric.Logging.Memory/MemoryLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168628"
} | starcoder | using System;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
namespace Euphoric.Logging.Memory
{
/// <summary>
/// Logger that is created by <see cref="MemoryLoggerProvider"/> and logs into it's parents log collection.
/// </summary>
internal class MemoryLogger : ILogger
{
... | 2.839988 | c87b151306cd11ec17a2581d0c8f3dcf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849409 | {
"extension": "c-sharp",
"max_stars_count": "440.0",
"max_stars_repo_name": "WeiiWang/AgileMapper",
"max_stars_repo_path": "AgileMapper/MappingTypes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168629"
} | starcoder | namespace AgileObjects.AgileMapper
{
using System;
using Extensions.Internal;
using NetStandardPolyfills;
internal class MappingTypes
{
private readonly int _hashCode;
public MappingTypes(
Type sourceType,
Type targetType,
bool runtimeTypesAreThe... | 2.558985 | 716b052e6c16f2f60ab1cae2fc0e95b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849410 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "nsipid/Brew",
"max_stars_repo_path": "Brew/Brew/ViewModels/Ingredients/FermentableListItemViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168630"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Brew.ViewModels.Ingredients
{
public class FermentableListItemViewModel
{
public double Color { get; set; }
public string Name { get; set; }
public double IBUs { get; set; }
}
} | 1.719661 | 3382914f27713159cb030e77f25883da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849411 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lukas-lansky/CSharpFormatting",
"max_stars_repo_path": "CSharpFormatting/CSharpFormatting.Library/CSharpFormatter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168631"
} | starcoder | using CSharpFormatting.Common.Chunk;
using CSharpFormatting.Export.Html;
using CSharpFormatting.Parsing.Roslyn;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace CSharpFormatting.Library
{
public class CSharpFormatter
{
/// <summary>
/// Throws `Comp... | 2.519873 | 83678b8b771fc0e4afe860757837e595 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.