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 | 74833 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "harujoh/NChainer",
"max_stars_repo_path": "NChainer/Functions/Connection/Linear.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74834"
} | starcoder | <gh_stars>1-10
using System.Runtime.CompilerServices;
using NConstrictor;
namespace NChainer
{
public struct Linear<T>
{
private PyObject _linear;
public Variable<T> W => _linear["W"];
public Variable<T> b => _linear["b"];
public Linear(int inSize, int outSize, bool noBias = ... | 2.276726 | f6f6263ef4c5831db89b7b3521fe2b25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74834 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "csf-dev/ZPT-Sharp",
"max_stars_repo_path": "ZptSharp/Dom/DocumentReaderWriterRegistry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74835"
} | starcoder | <reponame>csf-dev/ZPT-Sharp
using System;
using System.Collections.Generic;
using System.Linq;
using ZptSharp.Hosting;
using Microsoft.Extensions.DependencyInjection;
namespace ZptSharp.Dom
{
/// <summary>
/// An implementation of <see cref="IGetsDocumentReaderWriterForFile"/> which makes use
/// of <see c... | 2.518579 | 9e8e36f05f1ce5ce969885dc820fd077 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74835 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rgn/stellar-playground",
"max_stars_repo_path": "Vendor/Mapsui.Rendering.Skia/ExtensionMethods/SKRectExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74836"
} | starcoder | using Mapsui.Geometries;
using SkiaSharp;
namespace Mapsui.Rendering.Skia
{
static class SKRectExtensions
{
public static BoundingBox ToMapsui(this SKRect rect)
{
return new BoundingBox(rect.Left, rect.Top, rect.Right, rect.Bottom);
}
}
}
| 2.101273 | f0bcf7b725d7a226defbbe50695d5d65 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74836 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kant/BuildXL",
"max_stars_repo_path": "Public/Src/FrontEnd/Script/Ast/Types/PrimitiveTypeKind.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74837"
} | starcoder | <filename>Public/Src/FrontEnd/Script/Ast/Types/PrimitiveTypeKind.cs
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace BuildXL.FrontEnd.Script.Types
{
/// <summary>
/// Kinds of primitive type
... | 2.116607 | 9cbfe5f702470f78a24f7b54aaeceeb6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74837 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dino-cosic/user-management",
"max_stars_repo_path": "UserManagement/UserManagement.Core/UserManagement.Core/Exceptions/PermissionAlreadyAssignedException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74838"
} | starcoder | <filename>UserManagement/UserManagement.Core/UserManagement.Core/Exceptions/PermissionAlreadyAssignedException.cs
using System;
namespace UserManagement.Core.Exceptions
{
public class PermissionAlreadyAssignedException : Exception
{
public PermissionAlreadyAssignedException()
: base("Choos... | 2.405758 | 4925b93e9d73488fd795dd4f8c74a6e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74838 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "RupertAvery/SparseBitsets",
"max_stars_repo_path": "SparseBitsetUnitTests/SparseBitsetValuesAndNotTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74839"
} | starcoder | <reponame>RupertAvery/SparseBitsets
using NUnit.Framework;
namespace SparseBitsetUnitTests
{
[TestFixture]
public class SparseBitsetValuesAndNotTests
{
[TestCase()]
public void AndNot_With_Empty_Matching_Values()
{
var ____left = BitsetHelpers.ToValues(0, "--------------... | 2.723725 | 430153cee94abd256e88ec6c1f437008 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74839 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Quilt4/Quilt4.Api",
"max_stars_repo_path": "Quil4.Service.Interface/Business/IVersionBusiness.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74840"
} | starcoder | using System;
using System.Collections.Generic;
using Quilt4.Service.Entity;
using Version = Quilt4.Service.Entity.Version;
namespace Quilt4.Service.Interface.Business
{
public interface IVersionBusiness
{
VersionDetail GetVersion(string userName, Guid versionKey);
VersionDetail GetVersion(Gui... | 1.523574 | 8b8258b254f2109a3f304f78e6cf8097 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74840 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Yttrmin/CSharpTo2600",
"max_stars_repo_path": "Samples/RawTemplateSample.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74841"
} | starcoder | using VCSFramework;
using VCSFramework.Templates;
using static VCSFramework.Registers;
namespace Samples
{
// @TODO - Should copy old NtscBackgroundColorsSample.
[TemplatedProgram(typeof(RawTemplate))] // Attribute is optional, RawTemplate is implied if it's absent.
public static class RawTemplateSample
... | 1.917694 | fa4c2ed6369002ec856e7a6ceaf1940f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74841 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "gabrielweyer/aspnet-core-app-insights",
"max_stars_repo_path": "src/SimpleAppInsights/Telemetry/AuthenticatedUserInitializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74842"
} | starcoder | using Microsoft.ApplicationInsights.Channel;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.AspNetCore.Http;
namespace SimpleAppInsights.Telemetry
{
public class AuthenticatedUserInitializer : ITelemetryInitializer
{
private readonly IHttpContextAccessor _httpContextAccessor;
... | 2.249268 | f649e9b017fe14b9fa1b6b8332308bbd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74842 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "812169562/sandcore",
"max_stars_repo_path": "src/Sand/Cloud/Tencent/Ocr/IdCard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74843"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Sand.Cloud.Tencent.Ocr
{
/// <summary>
/// 身份证识别
/// </summary>
public class IdCard
{
/// <summary>
/// 姓名(人像面)
/// </summary>
public string Name { get; set; }
/// <summary>
... | 2.400094 | 5f768e0ca54ed35bd75f1a8ea6811191 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74843 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "geolba/StyleFileCreator",
"max_stars_repo_path": "StyleFileCreator.App/Utils/EnumToBoolConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74844"
} | starcoder | using System;
using System.Windows.Data;
namespace StyleFileCreator.App.Utils
{
[ValueConversion(typeof(Enum), typeof(bool))]
public class EnumToBoolConverter : IValueConverter
{
#region IValueConverter Members
public object Convert(object value, Type targetType, object parameter, System.... | 3.017804 | 2654d7eb1d2b2bd1cf0f72bf3d6a4db7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74844 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarkPThomas/MPT.Net",
"max_stars_repo_path": "MPT/CSI/API/MPT.CSI.Serialize.EndToEndTests/SAP2000/SAP2000ReaderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74845"
} | starcoder | using MPT.CSI.Serialize.Models.Components.Analysis;
using MPT.CSI.Serialize.Models.Components.Design;
using MPT.CSI.Serialize.Models.Components.ProjectSettings;
using MPT.CSI.Serialize.Models.Components.ProjectSettings.Misc;
using MPT.CSI.Serialize.Models.Helpers.Analysis;
using MPT.CSI.Serialize.Models.Helpers.Struct... | 1.970274 | 9223f9128ce11171ef16a26aff2a1f60 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74845 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "dongdapeng110/SharpDevelopTest",
"max_stars_repo_path": "src/Main/Base/Project/Src/Gui/Components/FontSelectionPanel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74846"
} | starcoder | <filename>src/Main/Base/Project/Src/Gui/Components/FontSelectionPanel.cs<gh_stars>10-100
// 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 System.Collection... | 2.159235 | ff583c1179f944b60c73a681c1d8a296 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74846 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Azato21/nhitomi",
"max_stars_repo_path": "nhitomi-idx/nhitomi/Models/Queries/SuggestItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74847"
} | starcoder | <gh_stars>1-10
using System.ComponentModel.DataAnnotations;
namespace nhitomi.Models.Queries
{
public class SuggestItem
{
/// <summary>
/// ID of the object related to this suggestion.
/// </summary>
[Required]
public string Id { get; set; }
/// <summary>
... | 2.074972 | 82d89c5ebd8d494d3cec1aeaea98f2ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74847 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "silano08/UnityPrac",
"max_stars_repo_path": "bubblebubble/Assets/Scripts/square.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74848"
} | starcoder | <reponame>silano08/UnityPrac<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class square : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
float x = Random.Range(-2.0f, 2.0f);
float y = Random.Range(3.0f, 5.0f... | 2.03835 | 50c45bbf084413b450c7ff2c41661690 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74848 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HelioFlux/Heliosphere",
"max_stars_repo_path": "src/services/batchq/HFX.BatchQ.Application/Features/BatchQueues/Commands/DeleteBatchByBatchId/DeleteBatchByBatchIdCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74849"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HFX.BatchQ.App.Features.BatchQueues.Commands.DeleteBatchByBatchId
{
public class DeleteBatchByBatchIdCommand
{
public string BatchId { get; set; }
}
}
| 0.970214 | 76ed34e106c3fee5c2066c04c73cd162 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74849 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "gerfen/vc-community-master",
"max_stars_repo_path": "PLATFORM/Modules/PaymentGateways/Paypal.DirectPayments/Managers/PaypalDirectPaymentsPaymentMethod.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74850"
} | starcoder | <reponame>gerfen/vc-community-master<filename>PLATFORM/Modules/PaymentGateways/Paypal.DirectPayments/Managers/PaypalDirectPaymentsPaymentMethod.cs
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Globalization;
using System.Linq;
using System.Text;
using PayPal.PayPalA... | 1.7297 | f363dcbc3920bf64e90ca1b7abdcd0e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74850 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DevArcana/draughts",
"max_stars_repo_path": "src/Draughts.Server/Hubs/GamesHub.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74851"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR;
namespace Draughts.Server.Hubs
{
public class GamesHub : Hub
{
private readonly IDictionary<string, string> _groups = new Dictionary<string, string>();
public async Task WatchBoard(string board)... | 2.499528 | ddc6707966dfe284314a218d3d640bc5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74851 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sev15/SEVFramework",
"max_stars_repo_path": "SEV.Service/DIContainerExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74852"
} | starcoder | <gh_stars>0
using SEV.DI;
using SEV.Domain.Services.Validation;
using SEV.Service.Contract;
namespace SEV.Service.DI
{
public static class DIContainerExtensions
{
public static IDIContainer RegisterApplicationServices(this IDIContainer container)
{
container.Register<IQueryService,... | 1.305337 | 4c5dd813b9afec5172797d938e40b95a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74852 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Juxce/tuneage-api-dotnet",
"max_stars_repo_path": "Tuneage.WebApi/Controllers/Api/ReleasesController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74853"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Tuneage.Data.Constants;
using Tuneage.Data.Repositories.Sql.EfCore;
using Tuneage.Domain.Entities;
using Tuneage.Domain.Services;
namespace Tuneage.We... | 2.571938 | 4508b1ad36cced25bce348eb81a93fad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74853 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "exyi/redwood",
"max_stars_repo_path": "src/Redwood.Framework/Routing/RouteBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74854"
} | starcoder | <reponame>exyi/redwood
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Redwood.Framework.Hosting;
namespace Redwood.Framework.Routing
{
public abstract class RouteBase
{
/// <summary>
/// Gets the URL pattern for the route.
/// </... | 2.60691 | d838085db8b93e8ff52db02298f137b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74854 | {
"extension": "c-sharp",
"max_stars_count": "250.0",
"max_stars_repo_name": "Tonymmm/xamarin-forms-book-preview-2",
"max_stars_repo_path": "Chapter12/BasicStyleCode/BasicStyleCode/BasicStyleCode/BasicStyleCodePage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74855"
} | starcoder | using System;
using Xamarin.Forms;
namespace BasicStyleCode
{
public class BasicStyleCodePage : ContentPage
{
public BasicStyleCodePage()
{
Resources = new ResourceDictionary
{
{ "buttonStyle", new Style(typeof(Button))
{
... | 2.827972 | 5cd4fcc0c1a207236667508a553ef834 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74855 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RezaHoque/ComPro",
"max_stars_repo_path": "ComPro/ComPro/Views/Event/MyEvent.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:74856"
} | starcoder | <reponame>RezaHoque/ComPro<gh_stars>0
@model IEnumerable<ComPro.Models.EventViewModel>
@using Microsoft.AspNet.Identity;
@using ComPro.Models;
@using ComPro.Models;
@if (Model.Count() <= 0)
{
<div class="alert alert-primary" role="alert">
Currently there are no events for you !!
</div>
}
<div class="... | 2.371284 | 672a9a034aa7a1affb093ae6b14c4557 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74856 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "andyyu2004/bit",
"max_stars_repo_path": "libbit/tests/repos/ribble/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74857"
} | starcoder | using System;
using RibbleChatServer.Services;
using RibbleChatServer.GraphQL.ResultTypes;
using HotChocolate.AspNetCore.GraphiQL;
using HotChocolate.AspNetCore.Playground;
using HotChocolate.AspNetCore.Voyager;
using HotChocolate;
using StackExchange.Redis;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCor... | 1.675253 | 60e33cb8d63c3ab17157da117aaf0164 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74857 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BitHighlander/EthDenverHackathon",
"max_stars_repo_path": "EthDenver2022/Library/PackageCache/com.unity.xr.interaction.toolkit@2.0.0-pre.7/Runtime/Interaction/XRInteractionUpdateOrder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:... | starcoder | <reponame>BitHighlander/EthDenverHackathon<gh_stars>1-10
using UnityEngine.XR.Interaction.Toolkit.Inputs.Simulation;
using UnityEngine.XR.Interaction.Toolkit.UI;
namespace UnityEngine.XR.Interaction.Toolkit
{
/// <summary>
/// The update order for <see cref="MonoBehaviour"/>s in XR Interaction.
/// </summa... | 1.983357 | 9dfa24281fe2c5545fccf03a89c750c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74858 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "jargoman/RippleLibSharp",
"max_stars_repo_path": "RippleLibSharp/Source/Third-Party/ripple-dot-net-master/vendor/chaos/Chaos.NaCl.Tests/Poly1305Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74859"
} | starcoder | <reponame>jargoman/RippleLibSharp
using System;
using System.Collections.Generic;
using System.Linq;
//using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Chaos.NaCl.Tests
{
// [TestClass]
class Poly1305Tests
{
// [TestMethod]
public void KeySizeIs32()
{
// Asser... | 1.568828 | e9fdb5c642ac5e34f13d501d9b4b5509 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74859 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "ejricahuerta/hopeline",
"max_stars_repo_path": "PRJ/HopeLine.Web/Pages/InstantChat.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:74860"
} | starcoder | <gh_stars>10-100
@page
@model InstantChatModel
@{
Layout = "~/Pages/Shared/_Layout.cshtml";
ViewData["Title"] = "Talk to Mentor";
}
@section Styles {
<style>
#local-media{
position:fixed;
top:10px;
right:10px;
z-index: 5
}
#local-... | 2.2043 | cc5adfc7467350bb6f49d58c105e365a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74860 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "n-khosh/SamplePersianAdminPanel",
"max_stars_repo_path": "PersianAdminPanel/PersianAdminPanel/Utils/IPAddressHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74861"
} | starcoder | <reponame>n-khosh/SamplePersianAdminPanel<gh_stars>0
using System;
using System.Linq;
using System.Net;
using System.Web;
namespace PersianAdminPanel.Utils
{
public class IPAddressHelper
{
public static string GetClientIpAddress(HttpRequestBase request)
{
try
{
... | 2.798249 | 3d8f155105ac51b9e1811dafecc8e70c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74861 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "zachmu/escape-from-enceladus",
"max_stars_repo_path": "EscapeFromEnceladus/EscapeFromEnceladus/Map/VisitationMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74862"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Enceladus.Entity;
using Enceladus.Event;
using Enceladus.Util;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
namespace Enceladus.Map {
/// <summary>
... | 2.729126 | 3bdd4672fba76916382c842d31fe326e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74862 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "widecommerce/kore-cms",
"max_stars_repo_path": "Plugins/Kore.Plugins.Messaging.Forums/Views/Forums/_UploadFile.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:74863"
} | starcoder | <gh_stars>1-10
<div class="modal fade" id="UploadModal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Up... | 2.258965 | 7254b2f2eb2584975abd46b3dd5a737a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74863 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "colin08/yun_gitwms",
"max_stars_repo_path": "Git.WMS.Web/Git.WMS.Sdk/ApiName/WarnApiName.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74864"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Git.WMS.Sdk.ApiName
{
public partial class WarnApiName
{
/// <summary>
/// 查询库存预警
/// </summary>
public static string WarnApiName_GetList = "/Api/Store/Warn/GetList";
}
}
| 1.362713 | 9698395dc8d494ba2bfcc93df723920c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74864 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "EmilyEdna/KilyCore",
"max_stars_repo_path": "KilyCore.DataEntity/RequestMapper/Enterprise/RequestEnterpriseCheckMaterial.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74865"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
#region << 版 本 注 释 >>
/*----------------------------------------------------------------
* 类 名 称 :RequestEnterpriseCheckMaterial
* 类 描 述 :
* 命名空间 :KilyCore.DataEntity.RequestMapper.Enterprise
* 机器名称 :DESKTOP-QPIVQ28
* CLR 版本 :4.0.30319.42000
* 作 者... | 1.759984 | 024973d8de86ee5d48a9a438f4c93749 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74865 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mdx0111/mass-transit-examples",
"max_stars_repo_path": "src/MessageOutbox/Outbox/MessageOutboxEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74866"
} | starcoder | using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
namespace MessageOutbox.Outbox
{
public class MessageOutboxEntity
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string Id { get; set; }
public string MessageId { get; set; }
pub... | 1.816712 | 6d4ba7a184054e39d0c33a8e8dc76a9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74866 | {
"extension": "c-sharp",
"max_stars_count": "191.0",
"max_stars_repo_name": "raindigi/Merchello",
"max_stars_repo_path": "src/Merchello.Core/Gateways/Shipping/ShipmentRateQuoteStrategyBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74867"
} | starcoder | namespace Merchello.Core.Gateways.Shipping
{
using System.Collections.Generic;
using Merchello.Core.Models;
using Umbraco.Core;
using Umbraco.Core.Cache;
/// <summary>
/// Represents a Shipment Rate Quote Strategy
/// </summary>
public abstract class ShipmentRateQuoteStrategyBase : I... | 2.72912 | d43090e3fbf657d0da5c2250b6c92388 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74867 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "michielbos/HorseMoon",
"max_stars_repo_path": "Assets/Scripts/TilemapManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74868"
} | starcoder | <reponame>michielbos/HorseMoon<filename>Assets/Scripts/TilemapManager.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Objects;
using UnityEngine;
using UnityEngine.Tilemaps;
using Random = UnityEngine.Random;
namespace HorseMoon {
public class TilemapManager : SingletonMonoBehaviour<Tilema... | 2.209776 | 8a6c6e8e2c25749b834db2c854027146 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74868 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "markekraus/TwitchDiscordNotificationBot",
"max_stars_repo_path": "configtool/pages/BotConfigPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74869"
} | starcoder | <filename>configtool/pages/BotConfigPage.cs<gh_stars>1-10
using System;
using System.IO;
using EasyConsole;
using Newtonsoft.Json;
namespace configtool.pages
{
public class BotConfigPage : MenuPage
{
public BotConfigPage(Program program)
: base ("Bot Settings Configuration", progr... | 2.784587 | f9fff492bf7db7cb0ddb4352f8e8b433 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74869 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "mysharp/ContosoCrafts",
"max_stars_repo_path": "src/ContosoCrafts.WebSite/Models/CartItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74870"
} | starcoder | namespace ContosoCrafts.WebSite.Models
{
public class CartItem
{
public int Quantity { get; set; }
public string Title { get; set; }
}
} | 1.635916 | e70d61f44f74416b3e550f3975104505 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74870 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ngoduongkha/Hotel-JustFriend",
"max_stars_repo_path": "Hotel JustFriend/Hotel JustFriend/Views/MyMessageBoxes/MyMessageBoxWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74871"
} | starcoder | using System.Windows;
using System.Windows.Input;
namespace Hotel_JustFriend.Views.MyMessageBoxes
{
/// <summary>
/// Interaction logic for MMBYesNoWindow.xaml
/// </summary>
public partial class MyMessageBoxWindow : Window
{
public MessageBoxResult Result { get; set; }
public MyMe... | 2.39866 | edfba5219a641783aa0d283cdcd22835 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "imgen/Algorithms",
"max_stars_repo_path": "src/Algorithms/MiscUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74872"
} | starcoder | using System;
using System.Collections.Generic;
namespace Algorithms
{
static class MiscUtils
{
public static void PrintOut<T>(this IList<T> a)
{
Console.WriteLine($"The contents of the array with length {a.Count} is as below:");
foreach (var item in a)
{
... | 3.91345 | a23b5e43573c061bee7bd6ffb4642f0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74872 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "pkskelly/AzureFunctionsForOffice",
"max_stars_repo_path": "AzureFunctionsForOffice.Functions/FunctionBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74873"
} | starcoder | <gh_stars>1-10
namespace AzureFunctionsForOffice.Functions
{
/// <summary>
/// Functionality common to individual functions
/// </summary>
public class FunctionBase
{
/// <summary>
/// A simple notification event. Listeners to this event can log messages as needed.
... | 2.808311 | 18d139348f069e3bf1528835801a93a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74873 | {
"extension": "c-sharp",
"max_stars_count": "3557.0",
"max_stars_repo_name": "agocke/winforms",
"max_stars_repo_path": "src/System.Windows.Forms/src/System/Windows/Forms/NativeWindow.WindowClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74874"
} | starcoder | <reponame>agocke/winforms<filename>src/System.Windows.Forms/src/System/Windows/Forms/NativeWindow.WindowClass.cs<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 i... | 2.431619 | b3443c6575ddaa28f19ace52ea3f69eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74874 | {
"extension": "c-sharp",
"max_stars_count": "1110.0",
"max_stars_repo_name": "bstordrup/CoreWCF",
"max_stars_repo_path": "src/CoreWCF.Primitives/src/CoreWCF/MessageHeaderAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74875"
} | starcoder | <reponame>bstordrup/CoreWCF<filename>src/CoreWCF.Primitives/src/CoreWCF/MessageHeaderAttribute.cs<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.
using System;
namespace CoreWCF
{
[AttributeUsage(CoreWCFAttrib... | 2.034965 | 2f4ec91e16e5c0362168ccbef4166c2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74875 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SardineFish/CytarMP",
"max_stars_repo_path": "Cytar/APIContextCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74876"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace Cytar
{
public class APIContextChildren: List<APIContext>
{
public APIContext CurrentContext { get; private set; }
public new void Add(APIContext context)
{
context.Parent = ... | 1.625752 | 7dc64255a7026523b818f5aadb86d492 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74876 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/tl-results-and-certification",
"max_stars_repo_path": "src/Sfa.Tl.ResultsAndCertification.Web/ViewModel/TrainingProvider/Manual/LearnerRecordDetailsViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74877"... | starcoder | <filename>src/Sfa.Tl.ResultsAndCertification.Web/ViewModel/TrainingProvider/Manual/LearnerRecordDetailsViewModel.cs
using Sfa.Tl.ResultsAndCertification.Common.Helpers;
using Sfa.Tl.ResultsAndCertification.Web.ViewComponents.Breadcrumb;
using Sfa.Tl.ResultsAndCertification.Web.ViewComponents.Summary.SummaryItem;
using... | 1.831279 | 6b65da8994db22237b76e2fb84fc8463 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74877 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cdzhoubin/Infrastructure.Net.Core",
"max_stars_repo_path": "Source/Common.Document.Pdf/PdfDocumentBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74878"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using iTextSharp.text;
using iTextSharp.text.io;
using iTextSharp.text.pdf;
namespace Zhoubin.Infrastructure.Common.Document.Pdf
{
/// <summary>
/// Pdf文档生成对象基类
/// </summary>
/// <typeparam name="T">文档类型</typeparam>
public abstract ... | 2.274802 | 465c2e53d3b205238b63edf51d4d5d26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74878 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mastercs999/fn-trading",
"max_stars_repo_path": "src/Accord/Accord.Statistics/Filters/Codification.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74879"
} | starcoder | // Accord Statistics Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © <NAME>, 2009-2015
// cesarsouza at gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as publis... | 2.967493 | a3e73dc0766c1e0ed98997e101fa0b12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74879 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NAPCON/UA-ModelCompiler",
"max_stars_repo_path": "Core/Stack/Tcp/TcpMessageType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74880"
} | starcoder | /* ========================================================================
* Copyright (c) 2005-2019 The OPC Foundation, Inc. All rights reserved.
*
* OPC Reciprocal Community License ("RCL") Version 1.00
*
* Unless explicitly acquired and licensed from Licensor under another
* license, the contents of thi... | 2.380636 | f36524775a76ba258ee31fa6285c2046 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74880 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ProjectIxian/Spixi-bot",
"max_stars_repo_path": "SpixiBot/API/APIServer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74881"
} | starcoder | using IXICore;
using IXICore.SpixiBot;
using Org.BouncyCastle.Utilities.Encoders;
using SpixiBot.Meta;
using SpixiBot.Network;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Text;
namespace SpixiBot
{
class APIServer : GenericAPIServer
{
public APIServe... | 1.92753 | 172e8cd964f474903c79de8219a80a27 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74881 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "raphaelquati/serilog-sinks-grafana-loki",
"max_stars_repo_path": "test/Serilog.Sinks.Grafana.Loki.Tests/IntegrationTests/LokiJsonTextFormatterRequestPayloadTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74882"
} | starcoder | <filename>test/Serilog.Sinks.Grafana.Loki.Tests/IntegrationTests/LokiJsonTextFormatterRequestPayloadTests.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using Serilog.Sinks.Grafana.Loki.Tests.TestHelpers;
using Shouldly;
using Xunit;
namespace Serilog.S... | 2.080821 | 259034f598df35cf4b332f04e7948de8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74882 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "CoolDadTx/Kraken",
"max_stars_repo_path": "Tests/Tests.P3Net.Kraken/Diagnostics/IntegralArgumentConstraintExtensionsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74883"
} | starcoder | <reponame>CoolDadTx/Kraken<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using P3Net.Kraken.Diagnostics;
using P3Net.Kraken.UnitTesting;
namespace Tests.P3Net.Kraken.Diagnostics
{
[TestClass]
public... | 1.973768 | d3a1505f1c4106bcb8be9ef52c467599 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74883 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "romariodarocha/curso-csharp",
"max_stars_repo_path": "CursoCSharp/EstruturasDeControle/UsandoBreak.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74884"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace CursoCSharp.EstruturasDeControle
{
class UsandoBreak
{
public static void Executar()
{
Random random = new Random();
int numero = random.Next(1, 51);
Console.WriteLine(... | 3.085385 | 81d12743db644f8fea7bdcef481efb6f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74884 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "fhcodegit/src",
"max_stars_repo_path": "src/HealthCheckBlogDemo/HealthCheckBlogDemo/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74885"
} | starcoder | <filename>src/HealthCheckBlogDemo/HealthCheckBlogDemo/Startup.cs
using HealthChecks.UI.Client;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Diagnostics.HealthChecks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extension... | 2.27909 | 672032d3f7e154bec4778c6108dd54a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74885 | {
"extension": "c-sharp",
"max_stars_count": "3336.0",
"max_stars_repo_name": "mbentancour/azure-powershell",
"max_stars_repo_path": "src/Accounts/Accounts.Test/SubscriptionClientSwitchTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74886"
} | starcoder | <filename>src/Accounts/Accounts.Test/SubscriptionClientSwitchTest.cs
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with ... | 1.513144 | 80c9665fbb2d35ea1e9b80a54ccb785c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74886 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "PeterPann23/FireWall",
"max_stars_repo_path": "Samples/IGeoFactory implementation/Walter.Web.FireWall.Geo.IP2Loaction/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74887"
} | starcoder | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Newtonsoft.Json.Serialization;
using System;
using Walter.BOM.Geo;
using Walter.Web... | 1.952111 | 1709412011de770500f14261138e8742 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74887 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "quytm2239/qmanager",
"max_stars_repo_path": "QManager/QManager/GUI/MainScreen.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74888"
} | starcoder | namespace QManager.GUI
{
partial class MainScreen
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <... | 1.901711 | b49379a4a1e6b2d504da0475f50849d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74888 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ansohxxn/tidy_mommy_3",
"max_stars_repo_path": "Assets/Script/Scene/MainScene.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74889"
} | starcoder | <filename>Assets/Script/Scene/MainScene.cs<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MainScene : BaseScene
{
protected override void Init()
{
SceneType = Define.Scene.Main;
Managers.Game.Init();
Managers.Pool.Init();
... | 1.962195 | acd695583969ee31f932a60f897aa0c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74889 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "barry-jones/live-documenter",
"max_stars_repo_path": "Source/TheBoxSoftware.DeveloperSuite.LiveDocumenter/Pages/Elements/ExceptionEntry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74890"
} | starcoder | <filename>Source/TheBoxSoftware.DeveloperSuite.LiveDocumenter/Pages/Elements/ExceptionEntry.cs
namespace TheBoxSoftware.DeveloperSuite.LiveDocumenter.Pages.Elements
{
using System.Collections.Generic;
using System.Windows.Documents;
/// <summary>
/// Represents a container for details about an except... | 2.833604 | 3f464efb6c507401b334897b473a24c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidroth/EntityFrameworkCore",
"max_stars_repo_path": "src/Microsoft.EntityFrameworkCore.Relational/Storage/RelationalTypeMapperExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74891"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Internal;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.E... | 1.935787 | 4edd8ed12dda1f00812e04c31418872f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74891 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wvaneck/StackExchange.Redis",
"max_stars_repo_path": "StackExchange.Redis/StackExchange/Redis/RedisKey.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74892"
} | starcoder | <reponame>wvaneck/StackExchange.Redis<gh_stars>1-10
using System;
using System.Text;
namespace StackExchange.Redis
{
/// <summary>
/// Represents a key that can be stored in redis
/// </summary>
public struct RedisKey : IEquatable<RedisKey>
{
internal static readonly RedisKey[] EmptyArray ... | 3.038385 | 4830c275d87d3ab5ac9654e941f9bc38 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74892 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mannaan/Tenants",
"max_stars_repo_path": "src/Services/TenantContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74893"
} | starcoder | <gh_stars>1-10
using Microsoft.AspNetCore.Http;
using Shigar.Core.Tenants.Contracts;
using System;
namespace Shigar.Core.Tenants.Services
{
public class TenantContext : ITenantContext
{
private readonly IHttpContextAccessor _httpContextAccessor;
public TenantContext(IHttpContextAcce... | 2.259625 | 6f461f9273ec038dad9b1324ef0fe82e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74893 | {
"extension": "c-sharp",
"max_stars_count": "196.0",
"max_stars_repo_name": "Devdiegoadias/MMALSharp",
"max_stars_repo_path": "tests/MMALSharp.Tests/Data/VideoData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74894"
} | starcoder | <reponame>Devdiegoadias/MMALSharp
// <copyright file="VideoData.cs" company="Techyian">
// Copyright (c) <NAME> and contributors. All rights reserved.
// Licensed under the MIT License. Please see LICENSE.txt for License info.
// </copyright>
using System.Collections.Generic;
namespace MMALSharp.Tests
{
public cl... | 1.319421 | a3e3af939f97994da3546edb0eb9cc0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74894 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "kogoia/MRTD.NET",
"max_stars_repo_path": "SmartCardApi/Cryptography/RandomKeys/RNDic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74895"
} | starcoder | using SmartCardApi.Commands;
using SmartCardApi.Infrastructure;
using SmartCardApi.Infrastructure.Interfaces;
using SmartCardApi.ISO7816.ResponseAPDU.Body;
using SmartCardApi.SecureMessaging;
using SmartCardApi.SmartCardReader;
namespace SmartCardApi.Cryptography.RandomKeys
{
public class RNDic : IBinary
{
... | 2.028186 | 7df608306de5381bf98322a711172601 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74895 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xray/Chorizo",
"max_stars_repo_path": "src/Logger/Configuration/LogConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74896"
} | starcoder | <filename>src/Logger/Configuration/LogConfig.cs
namespace Chorizo.Logger.Configuration
{
public class LogConfig
{
public readonly string Level;
public LogConfig(string level)
{
Level = level;
}
}
}
| 2.036872 | 6ff29603fc1ceb64449d7c8fd62fbfea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74896 | {
"extension": "c-sharp",
"max_stars_count": "106.0",
"max_stars_repo_name": "WamWooWam/Unicord",
"max_stars_repo_path": "Unicord.Universal/Pages/VideoEditor.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74897"
} | starcoder | <reponame>WamWooWam/Unicord
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading.Tasks;
using Microsoft.AppCenter.Analytics;
using Microsoft.Toolkit.Uwp.UI.Controls;
using Unicord.Univer... | 1.593146 | fecd547259507c1aeb075818fe20cd93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74897 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "markjohnnah/TheIdServer",
"max_stars_repo_path": "src/BlazorApp/Aguacongas.TheIdServer.BlazorApp.Infrastructure/Models/AccessTokenType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74898"
} | starcoder | <reponame>markjohnnah/TheIdServer
// Project: Aguafrommars/TheIdServer
// Copyright (c) 2020 @<NAME>
namespace Aguacongas.TheIdServer.BlazorApp.Models
{
/// <summary>
/// Access token type
/// </summary>
public enum AccessTokenType
{
/// <summary>
/// Self-contained Json Web Token
... | 1.733546 | e959318966fd93e90b5e92c22d581cbd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74898 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SeyDutch/Airbrush",
"max_stars_repo_path": "src/Orchard.Web/Modules/Airbrush/Views/ContactAdmin/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:74899"
} | starcoder | @model Airbrush.ViewModels.ContactFormEntryListViewModel
Index of ContactAdmin => not used | 1.160902 | 41171eb62bf61339e31ce7d7ba3be553 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74899 | {
"extension": "c-sharp",
"max_stars_count": "135.0",
"max_stars_repo_name": "saeedhalab/bitframework",
"max_stars_repo_path": "src/Client/Web/Bit.Client.Web.BlazorUI/Components/ColorPicker/BitColorPicker.razor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74900"
} | starcoder | <reponame>saeedhalab/bitframework<filename>src/Client/Web/Bit.Client.Web.BlazorUI/Components/ColorPicker/BitColorPicker.razor.cs
using System;
using System.Globalization;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.JSInterop;
namespac... | 2.114479 | 4b35aff3edef25a9d7a3d6224c51ede1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74900 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TaiwanSpring/L1CSharpTW",
"max_stars_repo_path": "LineageServer/Serverpackets/S_MPUpdate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74901"
} | starcoder | using LineageServer.Server;
namespace LineageServer.Serverpackets
{
class S_MPUpdate : ServerBasePacket
{
public S_MPUpdate(int currentmp, int maxmp)
{
WriteC(Opcodes.S_OPCODE_MPUPDATE);
if (currentmp < 0)
{
WriteH(0);
}
... | 2.324234 | 823191fdea6b388a961bb1b1c0fd65f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74901 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maooson/squidex",
"max_stars_repo_path": "src/Squidex.Domain.Apps.Core/Schemas/Field.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74902"
} | starcoder | // ==========================================================================
// Field.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// ==================================================================... | 2.0584 | a9215a818829faf06b1680d630779e0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74902 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "christides11/touhou-unlimited-fantasies",
"max_stars_repo_path": "Assets/_Project/Scripts/Entities/Characters/States/Float/CFloatDodge.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74903"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using TUF.Core;
using TUF.Entities.Characters;
using UnityEngine;
namespace TUF.Entities.Characters.States
{
public class CFloatDodge : EntityState
{
private CharacterStats Stats { get { return (CharacterStats)controller.EntityStats; } }
... | 1.948987 | 43057cc8a549ab9e2510effe390dff02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74903 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/SentenceSentimentInternal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74904"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
using Azure.AI.TextAnalytics;
namespace Azure.AI.TextAnalytics.Models
{
/// <summary> The SentenceSentiment. <... | 2.051629 | d6d4abafa4cf6d68f6ea4fb33579e3c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74904 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pramilasoni/EcommerceBasicSetupStoreFront",
"max_stars_repo_path": "sitecore/shell/client/Business Component Library/Layouts/Renderings/Containers/Repeaters/Repeater.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:74905"
} | starcoder | @using Sitecore.Mvc
@using Sitecore.Web.UI.Controls.Containers.Repeaters
@model Sitecore.Mvc.Presentation.RenderingModel
@Html.Sitecore().Controls().Repeater(Model.Rendering) | 1.716074 | edf70294878c0bd450ad90cc426c619c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74905 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "juanitomemelas/rh_BolsaTrabajo",
"max_stars_repo_path": "WebApplication1/obj/x86/Release/Package/PackageTmp/rh/servicios/Vacantes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74906"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace RHVacantes.rh.servicios
{
public class Registro
{
public int Id { get; set; }
public string Puesto{ get; set; }
public string Descripcion { get; set; }
public string Ubica... | 1.248292 | 2b7842d847f94a668822c68ba9521240 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74906 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "forki/dedilib",
"max_stars_repo_path": "src/test/DediLib.Tests/IO/TestStreamTransferrer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74907"
} | starcoder | using System.IO;
using System.Text;
using DediLib.IO;
using NUnit.Framework;
namespace DediLib.Tests.IO
{
[TestFixture]
public class TestStreamTransferrer
{
[Test]
public void Transfer_bufsize_smaller_content()
{
const string content = "Hello World";
using ... | 2.61325 | 516eb3c1d9be6cb7b1b646a52759ae7e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74907 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "timjenks/Asp.Net-Core-Api-Example",
"max_stars_repo_path": "Tests/MockData/Data/MockUserManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74908"
} | starcoder | #region Imports
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using Moq;
using TodoApi.Models.EntityModels;
#endregion
namespace Tests.MockData.Data
{
/// <inheritdoc />
/// <summary>
... | 2.169747 | 24c5a6be295dcbd64b3e7882d25bb117 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74908 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chengxulvtu/Meiam.System",
"max_stars_repo_path": "Meiam.System.Interfaces/IService/IBaseProductProcessService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74909"
} | starcoder | <filename>Meiam.System.Interfaces/IService/IBaseProductProcessService.cs
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码已从模板生成手动更改此文件可能导致应用程序出现意外的行为。
// 如果重新生成代码,将覆盖对此文件的手动更改。
// author MEIAM
// </auto-generated>
//---------------------------------... | 2.012203 | 7252c9fe87cc5cc5641ee3fece28b0a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74909 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Iceybones/grizzy",
"max_stars_repo_path": "Assets/Scripts/DropButtonHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74910"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class DropButtonHandler : MonoBehaviour {
public Text buttonText;
public string type;
public GameObject selectedItem;
public Slot selectedSlot;
public GameObject weaponEquipSlot;... | 1.792784 | 6b2c5147ea87523e0b2c740a594b7d73 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74910 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AddLevel/adfs",
"max_stars_repo_path": "src/tests/adfs.attributestore.tests/ClaimsGroupsStoreTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74911"
} | starcoder | <gh_stars>0
namespace adfs.attributestore.tests
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class ClaimsGroupsStoreTests
{
[TestMethod]
public void TestMethod1()
{
}
}
}
| 0.770182 | dfd6b3ac51acc807f0cb68f788e3a3d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74911 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "twenzel/CGM",
"max_stars_repo_path": "src/Commands/ClipIndicator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74912"
} | starcoder | namespace codessentials.CGM.Commands
{
/// <summary>
/// Class=3, ElementId=6
/// </summary>
public class ClipIndicator : Command
{
public bool Flag { get; private set; }
public ClipIndicator(CgmFile container)
: base(new CommandConstructorArguments(ClassCode.ControlEle... | 2.753974 | c9a78359116123826922bf55a6a8f444 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74912 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kranjbar/LINQ_Fundamentals_Practice_Project",
"max_stars_repo_path": "QueriesPractice/MyOwnLinq.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74913"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QueriesPractice
{
static class MyOwnLinq
{
public static IEnumerable<int> Random()
{
var random = new Random();
while (true)
{
... | 3.247582 | 5919479917a2630bd086019ebebf1473 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74913 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "DNN-Connect/razor-helpers",
"max_stars_repo_path": "Razor Blades Tests/HtmlTagsTests/Script_JsonLdTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74914"
} | starcoder | <reponame>DNN-Connect/razor-helpers<gh_stars>10-100
using Connect.Razor.Blade.Html5;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Razor_Blades_Tests.HtmlTagsTests
{
[TestClass]
public class Script_JsonLdTests : TagTestBase
{
[TestMethod]
public void JsonLdString()
... | 1.891573 | 694c73d128848b8df64021770ee8f844 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74914 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dilomo/Pterodactyl",
"max_stars_repo_path": "Pterodactyl/GraphSettingsGH.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74915"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using Grasshopper.Kernel;
using PterodactylCharts;
using Rhino.Geometry;
namespace Pterodactyl
{
public class GraphSettingsGH : GH_Component
{
public GraphSettingsGH()
: base("Graph Settings", "Graph Settings",
... | 2.41237 | a3b27f73be1bffcf9091a1eb8b1569e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74915 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dagonar/Serial-Port-Listener",
"max_stars_repo_path": "SerialPortListener/MainForm.designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74916"
} | starcoder | <filename>SerialPortListener/MainForm.designer.cs
namespace SerialPortListener
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any reso... | 2.175675 | a5e3b77562bbf649a0f69078cf7365dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74916 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ondrovic/cipher",
"max_stars_repo_path": "Cipher/Cipher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74917"
} | starcoder | <filename>Cipher/Cipher.cs
using Common;
using System;
using System.Reflection;
using System.Windows.Forms;
namespace Cipher
{
public partial class Cipher : DevExpress.XtraEditors.XtraForm
{
public Cipher()
{
InitializeComponent();
labelUsername.Text = string.Format("We... | 2.907682 | 57bf8c8c384b68e63ed96eae1d76bb1e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74917 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hkedwards/MSExample",
"max_stars_repo_path": "ContosoLtd/Telemetry/TelemetryInitializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74918"
} | starcoder | using System;
using System.Reflection;
using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.ApplicationInsights.Extensibility;
namespace ContosoLtd.Telemetry
{
public class TelemetryInitializer : IContextInitializer
{
private string _operatingSystem;
private string _sess... | 2.227885 | 8497a1b7bd784b8634a191703c2186c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74918 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ptanlam/eShop",
"max_stars_repo_path": "services/notification-service/tests/NotificationService.IntegrationTests/Controllers/NotificationControllerIntegrationTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74919"
} | starcoder | using FluentAssertions;
using Microsoft.AspNetCore.Mvc.Authorization;
using Microsoft.AspNetCore.Mvc.Testing;
using Microsoft.Extensions.DependencyInjection;
using NotificationService.API;
using NotificationService.Core.NotificationAggregateRoot;
using System.Collections.Generic;
using System.Net;
using System.Net.Htt... | 1.984204 | 4c767af6c219221ee85258025bb666d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74919 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "devedse/DeveImageOptimizer",
"max_stars_repo_path": "DeveImageOptimizer.Tests/Helpers/ImageComparerFacts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74920"
} | starcoder | using DeveImageOptimizer.Helpers;
using System.IO;
using System.Threading.Tasks;
using Xunit;
namespace DeveImageOptimizer.Tests.Helpers
{
public class ImageComparerFacts
{
[Fact]
public async Task AreImagesEqual1()
{
var imageApath = Path.Combine(FolderHelperMethods.Intern... | 2.503705 | 2e1b5dc9d7c27fd28e303c33afccfec8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74920 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "legistek/AspNetCore",
"max_stars_repo_path": "src/Components/test/testassets/BasicTestApp/FocusEventComponent.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:74921"
} | starcoder | @using System.Collections.Generic
<h2>Focus and activation</h2>
<p onfocusin="@OnFocusIn" onfocusout="@OnFocusOut">
Input: <input id="input" type="text" onfocus="@OnFocus" onblur="@OnBlur"/>
</p>
<p>
Output: <span id="output">@message</span>
</p>
<p>
<button onclick="@Clear">Clear</button>
</p>
<p>
... | 2.627194 | 67f194a7e0d118dae41527f01186c3a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74921 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fdieulle/Minotaur",
"max_stars_repo_path": "bck/Lz4Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74922"
} | starcoder | using System;
using System.Diagnostics;
using Minotaur.Codecs;
using Minotaur.Codecs.LZ4;
using Minotaur.Core;
using Minotaur.Native;
using NUnit.Framework;
namespace Minotaur.Tests.Codecs
{
[TestFixture]
public unsafe class Lz4Tests
{
[Test]
public void NominaleTest()
{
... | 2.38465 | a3370954e7ec4f9b2a07f3d410d3480c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74922 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "codiply/epsilon",
"max_stars_repo_path": "Epsilon/Epsilon.Logic/Wrappers/Interfaces/IGeoipRotatingClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74923"
} | starcoder | <reponame>codiply/epsilon
using Epsilon.Logic.Models;
using System.Threading.Tasks;
namespace Epsilon.Logic.Wrappers.Interfaces
{
public interface IGeoipRotatingClient
{
Task<GeoipClientResponse> Geoip(string ipAddress, int rotationNo = 1);
}
}
| 1.486944 | 9d5e603299caa7b158e3ebb940563556 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74923 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gclodge/Themis.Geometry.Server",
"max_stars_repo_path": "tests/Themis.Geometry.Server.Tests/Handlers/SetProjectionWktHandlerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74924"
} | starcoder | <filename>tests/Themis.Geometry.Server.Tests/Handlers/SetProjectionWktHandlerTests.cs
using System.Threading;
using Themis.Geometry.Server.Commands;
using Themis.Geometry.Server.Handlers;
using Themis.Geometry.Server.Services;
using Bogus;
using Xunit;
using Assert = Xunit.Assert;
namespace Themis.Geometry.Server.T... | 1.94944 | 6c78d66763dcf0d2c4b8e8ce5c972181 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74924 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "naushard/EclipsePOS",
"max_stars_repo_path": "V.1.0.8/EclipsePOS.WPF.SystemManager/EclipsePOS.WPF.SystemManager.Data/posParamDataSet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74925"
} | starcoder | namespace EclipsePOS.WPF.SystemManager.Data
{
}
namespace EclipsePOS.WPF.SystemManager.Data
{
}
namespace EclipsePOS.WPF.SystemManager.Data
{
}
namespace EclipsePOS.WPF.SystemManager.Data
{
}
| 0.307083 | fc5b44f1720f4e8cf3c33e533aa6dc6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74925 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "DucThanhNguyen/MaterialCMS",
"max_stars_repo_path": "MaterialCMS/DbConfiguration/CreateSqlServer2012Database.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74926"
} | starcoder | using MaterialCMS.Settings;
namespace MaterialCMS.DbConfiguration
{
public class CreateSqlServer2012Database : CreateSqlServerDatabase, ICreateDatabase<SqlServer2012Provider>
{
protected override IDatabaseProvider GetProvider(string connectionString)
{
return new SqlServer2012Provi... | 1.835929 | 62a5289c9ebdb5c6abbfa8b35c9c862d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74926 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "obivandamme/MSTest.Fluent",
"max_stars_repo_path": "MSTest.Fluent/Not/NotObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74927"
} | starcoder | namespace MSTest.Fluent.Not
{
using System;
using MSTest.Fluent.Expect;
using MSTest.Fluent.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
public class NotObject
{
private readonly ExpectObject expect;
public NotObject(ExpectObject expect)
{
... | 2.524602 | c79e994ef430253cb16c2ce3987dfa04 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74927 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "glav/glav.gardening",
"max_stars_repo_path": "Core/Glav.Gardening.Communications/DaprCommunicationProxy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74928"
} | starcoder | <filename>Core/Glav.Gardening.Communications/DaprCommunicationProxy.cs
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace Glav.Gardening.Communications
{
public class DaprCommunicationProxy : IDaprCommunicationProxy
{
public async Task<string> GetContentAsync(string a... | 2.534754 | 910c2d9eb0c3953cd0f5eb9fdda05446 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74928 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dave-br/CSClassroom",
"max_stars_repo_path": "Services/src/BuildService/BuildService.Service/Docker/DockerResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74929"
} | starcoder | <filename>Services/src/BuildService/BuildService.Service/Docker/DockerResult.cs
namespace CSC.BuildService.Service.Docker
{
/// <summary>
/// The result of running a docker container.
/// </summary>
public class DockerResult
{
/// <summary>
/// Whether or not the container executed in the time alloted.
/// ... | 2.563588 | b5d6744da6238ac0371dc4ea667e5bbb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74929 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "taylus/nexmo-dotnet",
"max_stars_repo_path": "Nexmo.Api/Client/Redact.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74930"
} | starcoder | using Nexmo.Api.Request;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Nexmo.Api.Redact;
namespace Nexmo.Api.ClientMethods
{
public class Redact
{
public Credentials Credentials { get; set; }
public Redact(Cred... | 1.788385 | 6991949a1df8dff2f95cd9514e2c6905 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74930 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DFEAGILEDEVOPS/Schools.Financial.Benchmarking",
"max_stars_repo_path": "Web/SFB.Web.UI/Views/BenchmarkCriteria/ChooseRegion.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:74931"
} | starcoder | <filename>Web/SFB.Web.UI/Views/BenchmarkCriteria/ChooseRegion.cshtml
@using SFB.Web.ApplicationCore.Helpers.Enums
@model SFB.Web.UI.Models.SchoolViewModel
@{
ViewBag.ErrorPrefix = Model.HasError() ? "Error: " : "";
ViewBag.Title = "Where should comparison schools come from?";
ViewBag.pageClass = "comparis... | 2.229191 | 4486cfd61a679cc3ce1f94b4affbdac7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74931 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ipl-adm/xray-oxygen",
"max_stars_repo_path": "code/editors/xrSdkControls/Controls/ColorPicker/ColorPicker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74932"
} | starcoder | using System;
using System.Drawing;
using System.Windows.Forms;
namespace XRay.SdkControls
{
// XXX nitrocaster: implement hex color TextBox (NumericBox)
public sealed partial class ColorPicker : UserControl
{
public delegate void ColorChangedEventHandler(object sender, Color color);
priv... | 2.526263 | b8514537c800bb3b6aab696936f54766 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74932 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "trondr/AdTools",
"max_stars_repo_path": "src/AdTools.Library/Services/GpmcWindowsFeature.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74933"
} | starcoder | using System;
using System.IO;
namespace AdTools.Library.Services
{
public class GpmcWindowsFeature : IGpmcWindowsFeature
{
public bool IsInstalled()
{
var gpMcAssemblyCacheFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Windows), "Microsoft.NET", "assembly... | 2.106943 | 6b210c9faa91ad046b5a9c1ebeb318ba |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.