added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811818 | {
"extension": "c-sharp",
"max_stars_count": "8570.0",
"max_stars_repo_name": "lbosquett/aspnetcore",
"max_stars_repo_path": "src/Components/Components/src/Infrastructure/ComponentStatePersistenceManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131038"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Components.RenderTree;
using Microsoft.Extensions.Logging;
namespace Microsoft.AspNetCore.Components.Infrastructure;
/// <summary>
/// Manages the persis... | 2.08156 | 5bf6ef06d69707f8833965dad14d9db7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811819 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "splitio/dotnet-client",
"max_stars_repo_path": "src/Splitio/Domain/Segment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131039"
} | starcoder | <filename>src/Splitio/Domain/Segment.cs
using Splitio.Services.SegmentFetcher.Interfaces;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
namespace Splitio.Domain
{
public class Segment : ISegment
{
private string name;
public long changeNumber { get; ... | 2.939505 | a8774cf5376b8d692917e3acc6f1d267 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811820 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ulkyome/laucher_server",
"max_stars_repo_path": "RCCommon/ClientMessage/GetUserListReply.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131040"
} | starcoder | <reponame>ulkyome/laucher_server<filename>RCCommon/ClientMessage/GetUserListReply.cs
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace RemoteControlSystem.ClientMessage
{
[Guid("3F784FC1-C7A5-45f0-A692-C5306900D15D")]
[Serializable]
public sealed class GetUserListReply... | 1.952741 | f09a11963ea069014947ee8973deee78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811821 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "saineshwar/Bugpoint",
"max_stars_repo_path": "BugPoint.Solution/BugPoint.Data/Masters/Queries/SmtpSettingsQueries.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131041"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using BugPoint.Data.EFContext;
using BugPoint.ViewModel.GeneralSettings;
using System.Linq.Dynamic.Core;
using BugPoint.Common;
using BugPoint.Model.GeneralSetting;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.Extensions.Caching.Memory;
n... | 2.086908 | f03fabf5d7583fe80c1634b5ad62cf05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811822 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "kanikaul-amazon/TestProjects",
"max_stars_repo_path": "net45/webapi/ASPNET-WebAPI-Sample-master/SampleWebApi/Controllers/HouseController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131042"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Http;
using System.Web.Http.OData;
using Newtonsoft.Json;
using SampleWebApi.Models;
using SampleWebApi.Repositories;
using SampleWebApi.Services;
namespace SampleWebApi.Controllers
{
[RoutePrefix("api/house"... | 2.561523 | fe9348353c97b01f4b3f33132e6f1dfa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811823 | {
"extension": "c-sharp",
"max_stars_count": "2542.0",
"max_stars_repo_name": "gridgentoo/ServiceFabricAzure",
"max_stars_repo_path": "src/prod/src/managed/Api/src/System/Fabric/btree/stateproviders/QueueStateProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131043"
} | starcoder | <gh_stars>1000+
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Syst... | 1.537191 | 4aa8ed3f43704e3dbbdf3a425a15ac09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811824 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "d605-upjv/veille-concurrentielle",
"max_stars_repo_path": "Aggregator/VeilleConcurrentielle.Aggregator.WebApp.Tests/Core/Services/AggregatorEventProcessorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131044"
} | starcoder | extern alias mywebapp;
using Moq;
using mywebapp::VeilleConcurrentielle.Aggregator.WebApp.Core.Services;
using System.Threading.Tasks;
using VeilleConcurrentielle.Infrastructure.Core.Models;
using VeilleConcurrentielle.Infrastructure.Core.Models.Events;
using VeilleConcurrentielle.Infrastructure.Core.Services;
using ... | 1.995342 | 9e69221a62e7b9bda7fd883a43958c50 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811825 | {
"extension": "c-sharp",
"max_stars_count": "1035.0",
"max_stars_repo_name": "ScriptBox99/shiny",
"max_stars_repo_path": "src/Shiny.BluetoothLE.Hosting/Platforms/Uwp/BleHostingManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131045"
} | starcoder | <filename>src/Shiny.BluetoothLE.Hosting/Platforms/Uwp/BleHostingManager.cs
using System;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Reactive.Linq;
using Windows.Storage.Streams;
using Windows.Devices.Bluetooth.Advertisement;
namespace Shiny.BluetoothLE.Hosting
{
... | 2.263264 | 35e072040572f75e32b4c42e0b8d7ea3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811826 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "szawaski/Zerra",
"max_stars_repo_path": "Framework/Zerra.Repository.Test/BaseTestRelationsModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131046"
} | starcoder | // Copyright © KaKush LLC
// Written By <NAME>
// Licensed to you under the MIT license
using System;
namespace Zerra.Repository.Test
{
[Entity("TestRelations")]
public abstract class BaseTestRelationsModel
{
[Identity]
public Guid RelationAKey { get; set; }
public Guid? Relation... | 1.475737 | b8057b487b75ac61f2cf844228fbe43c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811827 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "hahmed/libgit2sharp",
"max_stars_repo_path": "LibGit2Sharp/Core/RawContentStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131047"
} | starcoder | <reponame>hahmed/libgit2sharp
using System;
using System.Collections.Generic;
using System.IO;
using LibGit2Sharp.Core.Handles;
namespace LibGit2Sharp.Core
{
internal class RawContentStream : UnmanagedMemoryStream
{
private readonly GitObjectSafeHandle handle;
private readonly ICollection<IDisp... | 2.160717 | 7b702a17e81235f5e972c027f657c353 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811828 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "weixian-zhang/FluentKusto",
"max_stars_repo_path": "src/Tables/SynapseIntegrationPipelineRuns.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131048"
} | starcoder | <reponame>weixian-zhang/FluentKusto
using System;
using System.Linq.Expressions;
namespace FluentKusto
{
public class SynapseIntegrationPipelineRuns : TableBase<SynapseIntegrationPipelineRuns>
{
///
public string TenantId {get; set;}
/// The timestamp (UTC) o... | 1.89119 | 6edd8c2ceb72a2dec09754a60b79b824 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811829 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jlpatton/AuditBenefits",
"max_stars_repo_path": "App_Code/DsktpHist/WOdetailRecord.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131049"
} | starcoder | <filename>App_Code/DsktpHist/WOdetailRecord.cs<gh_stars>0
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlTypes... | 1.880688 | 105052d56b54ef7fbe82e0bd2db66833 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811830 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "silvaemiliaborges/Sprint2-Senai-OpFlix.Web.Api",
"max_stars_repo_path": "Senai.OpFlix.WebApi/Senai.OpFlix.WebApi/Domains/Lancamentos.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131050"
} | starcoder | <filename>Senai.OpFlix.WebApi/Senai.OpFlix.WebApi/Domains/Lancamentos.cs
using System;
using System.Collections.Generic;
namespace Senai.OpFlix.WebApi.Domains
{
public partial class Lancamentos
{
public int IdLancamento { get; set; }
public string Nome { get; set; }
public int DuracaoM... | 1.932439 | 4a16f655d9abca07df171817fde8c3e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811831 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Raimusoft/FoxDb",
"max_stars_repo_path": "FoxDb.SqlServer.2012/SqlServer2012QueryRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131051"
} | starcoder | <filename>FoxDb.SqlServer.2012/SqlServer2012QueryRenderer.cs
using FoxDb.Interfaces;
using System.Collections.Generic;
namespace FoxDb
{
public class SqlServer2012QueryRenderer : SqlServerQueryRenderer
{
public SqlServer2012QueryRenderer(IDatabase database)
: base(database)
... | 2.348099 | c80b7e814b6e333f6bdc04746205d610 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811832 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "pelife/prototyping",
"max_stars_repo_path": "B3Provider/B3Provider/Converters/B3Double100TypeConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131052"
} | starcoder | <gh_stars>10-100
#region License
/*
* B3Double100TypeConverter.cs
*
* The MIT License
*
* Copyright (c) 2018 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restric... | 2.617086 | d63378db991b6ccd9f05854029ff868d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811833 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wagnerhsu/sample-Prism4.1-WPF",
"max_stars_repo_path": "Quickstarts/Commanding/Commanding.Tests.AcceptanceTest/Commanding.Tests.AcceptanceTest/TestData/ControlIdentifiers.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1310... | starcoder | <reponame>wagnerhsu/sample-Prism4.1-WPF<filename>Quickstarts/Commanding/Commanding.Tests.AcceptanceTest/Commanding.Tests.AcceptanceTest/TestData/ControlIdentifiers.Designer.cs
//===================================================================================
// Microsoft patterns & practices
// Composite Applicati... | 1.855953 | 7fa766c541a9316800bb71e7733d569d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811834 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "panosen/panosen-collections",
"max_stars_repo_path": "Panosen.Collections/Generic/TreeItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131054"
} | starcoder | <filename>Panosen.Collections/Generic/TreeItem.cs
using System;
using System.Collections.Generic;
namespace Panosen.Collections.Generic
{
/// <summary>
/// 单个节点
/// </summary>
public class TreeItem<TData>
{
/// <summary>
/// 节点id
/// </summary>
public TData Data { g... | 3.170318 | cc98ab308d96df9a96e0b2db63948703 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811835 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wh0am15533/ImGui.NET",
"max_stars_repo_path": "src/ImGuizmo.NET/Generated/ImGuizmo.gen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131055"
} | starcoder | using System;
using UnityEngine;
using System.Runtime.InteropServices;
using System.Text;
using ImGuiNET;
namespace ImGuizmoNET
{
public static unsafe partial class ImGuizmo
{
public static void AllowAxisFlip(bool value)
{
byte native_value = value ? (byte)1 : (byte)0;
I... | 2.17489 | f310967b8eee2cbb2c8df239632a49b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811836 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rajcybage/BrightstarDB",
"max_stars_repo_path": "src/core/BrightstarDB.Tests/Sparql11TestSuite/Subquery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131056"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace BrightstarDB.Tests.Sparql11TestSuite {
[TestClass]
public partial class Subquery : SparqlTest {
public Subquery() : base()
{
}
[TestInitialize]
public void SetUp()
{
CreateStore();
... | 2.103263 | 9af94d9dacebed3a4e606b4f9bc061b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811837 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "brian-reichle/CausalityDbg",
"max_stars_repo_path": "src/CausalityDbg.Main/Windows/Main/TrackerModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131057"
} | starcoder | <reponame>brian-reichle/CausalityDbg
// Copyright (c) <NAME>. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.ObjectModel;
using System.Diagnostics;
using CausalityDbg.Core;
using CausalityDbg.DataStore;
names... | 2.090472 | 556fc7df922d6ef081eda9b716ff29c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811838 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LeviCline/osu",
"max_stars_repo_path": "osu.Game.Tournament/Components/DrawableTeamWithPlayers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131058"
} | starcoder | <gh_stars>0
// Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game.Tournament.Models;
using osu.Ga... | 1.817146 | 859d750e740e5994ebd76c396c3e3772 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811839 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nohros/nohros-must",
"max_stars_repo_path": "src/tests/platform/toolkit/messaging/MessengerMock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131059"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using Nohros.Toolkit.Messaging;
namespace Nohros.Toolkit.Tests
{
public class MessengerMock : IMessenger, IMessengerFactory
{
IMessage sent_message_;
public string Name {
get { return "messeng... | 2.048081 | 2f2a9379571c91326c29e79786dffaf1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811840 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JorTurFer/Esquio",
"max_stars_repo_path": "src/Esquio.EntityFrameworkCore.Store/Entities/HistoryEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131060"
} | starcoder | using System;
namespace Esquio.EntityFrameworkCore.Store.Entities
{
public class HistoryEntity
{
public int Id { get; set; }
public int FeatureId { get; set; }
public DateTime CreatedAt { get; set; }
public string KeyValues { get; set; }
public string NewValues { get; s... | 1.589339 | 377be63a5943e9ce3f846834951cf29a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811841 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joncrump/norml",
"max_stars_repo_path": "Libraries/Repositories/TightlyCurly.Com.Repositories/Builders/DataReaderContactInfoBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131061"
} | starcoder | <filename>Libraries/Repositories/TightlyCurly.Com.Repositories/Builders/DataReaderContactInfoBuilder.cs
using System;
using System.Data;
using TightlyCurly.Com.Common;
using TightlyCurly.Com.Common.Data;
using TightlyCurly.Com.Common.Extensions;
using TightlyCurly.Com.Common.Models;
using TightlyCurly.Com.Repositories... | 2.308403 | d2bd8dd756401f6c861f6e7e363f850c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811842 | {
"extension": "c-sharp",
"max_stars_count": "2228.0",
"max_stars_repo_name": "angelobreuer/StyleCopAnalyzers",
"max_stars_repo_path": "StyleCop.Analyzers/StyleCop.Analyzers/OrderingRules/SA1209UsingAliasDirectivesMustBePlacedAfterOtherUsingDirectives.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131062"
... | starcoder | <gh_stars>1000+
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.OrderingRules
{
using System;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
... | 2.297985 | 32dcaad890b8522019e473a22196d453 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811843 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "shmartel/azure-sdk-for-net",
"max_stars_repo_path": "sdk/anomalydetector/Azure.AI.AnomalyDetector/api/Azure.AI.AnomalyDetector.netstandard2.0.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131063"
} | starcoder | namespace Azure.AI.AnomalyDetector
{
public partial class AnomalyDetectorClient
{
protected AnomalyDetectorClient() { }
public AnomalyDetectorClient(System.Uri endpoint, Azure.AzureKeyCredential credential) { }
public AnomalyDetectorClient(System.Uri endpoint, Azure.AzureKeyCredential cr... | 1.867221 | 419e3e8de1a89a11aaaf743fdbf3108e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811844 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MysteryJump/VIPBrowser",
"max_stars_repo_path": "VIPBrowser/ch2Browser/ThreadWriteDialog.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131064"
} | starcoder | <gh_stars>0
namespace VIPBrowser.ch2Browser
{
partial class ThreadWriteDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 1.71955 | 3292f7d31726fc5bc795f6e0865ef5f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811845 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "acple/ParsecSharp",
"max_stars_repo_path": "ParsecSharp/Parser/Text/Implementations/PrimitiveParser.String.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131065"
} | starcoder | <gh_stars>10-100
using System;
using System.Linq;
namespace ParsecSharp.Internal.Parsers
{
internal sealed class StringParser : PrimitiveParser<char, string>
{
private readonly string _text;
private readonly StringComparison _comparison;
public StringParser(string text, StringComparis... | 3.060835 | e29e698628f74f671e2f996c47f81b2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811846 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "Const-me/Vrmac",
"max_stars_repo_path": "VrmacVideo/IO/Kernel/LibC.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131066"
} | starcoder | <gh_stars>10-100
using System;
using System.IO;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Vrmac.Utils;
using size_t = System.UIntPtr;
using ssize_t = System.IntPtr;
namespace VrmacVideo.IO
{
public static class LibC
{
const string libc = "libc.so.6";
[DllImport( libc, S... | 1.886333 | ce27957e37e62baab241039276971fb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811847 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Clark159/MDP.Net",
"max_stars_repo_path": "src/MDP.Identity.Hosting/MockRoleRepositoryFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131067"
} | starcoder | <reponame>Clark159/MDP.Net<filename>src/MDP.Identity.Hosting/MockRoleRepositoryFactory.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MDP.Hosting;
using Autofac;
using MDP.Identity.Mocks;
namespace MDP.Identity.Hosting
{
public class Mo... | 2.027147 | 035bad123db5a8835480fc4f7f32b20e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811848 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "nokafor/PnP-Transformation",
"max_stars_repo_path": "JDP Remediation - CSOM/JDP.Remediation.Console/JDP.Remediation.Console/DeleteMissingWebparts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131068"
} | starcoder | using JDP.Remediation.Console.Common.Base;
using JDP.Remediation.Console.Common.CSV;
using JDP.Remediation.Console.Common.Utilities;
using Microsoft.SharePoint.Client;
using Microsoft.SharePoint.Client.WebParts;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
us... | 2.737175 | 6545a8bd7c94c487846dd8d67075ed61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811849 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "bojanmisic/tarabica",
"max_stars_repo_path": "src/openmvvm/src/Core/OpenMVVM.Android/AndroidHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131069"
} | starcoder | namespace OpenMVVM.Android
{
using global::Android.App;
public static class AndroidHelpers
{
public static Activity CurrentActivity { get; set; }
}
} | 1.171421 | 83c4a4aa2227b6dcbd1477e2b34e1588 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811850 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nelson1987/ProjetoPadraoTDD",
"max_stars_repo_path": "Code/1_Presentation/WebForLink.Web/Views/Shared/_Error.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131070"
} | starcoder | <reponame>nelson1987/ProjetoPadraoTDD
Um erro ocorreu contate o administrador do sistema | 0.753615 | b709c1abd769182c0757676dc70c4867 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811851 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "skkushev/TelerikAcademy",
"max_stars_repo_path": "03.OperatorsAndExpressions/07.PointInACircle/PointInACircle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131071"
} | starcoder | /*Problem 7. Point in a Circle
Write an expression that checks if given point (x, y) is inside a circle K({0, 0}, 2).
Examples:
x y inside
0 1 true
-2 0 true
-1 2 false
1.5 -1 true
-1.5 -1.5 false
100 -30 false
0 0 true
0.2 -0.8 true
0.9 -1.93 ... | 3.973214 | 2be5bf0aa88d0f9867c4f3a348e9331c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811852 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "imyounghan/Umizoo",
"max_stars_repo_path": "src/Umizoo/Messaging/SourceInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131072"
} | starcoder | <filename>src/Umizoo/Messaging/SourceInfo.cs
// Copyright © 2015 ~ 2017 Sunsoft Studio, All rights reserved.
// Umizoo is a framework can help you develop DDD and CQRS style applications.
//
// Created by young.han with Visual Studio 2017 on 2017-08-08.
using System;
using System.Linq;
using System.Text;
using Syste... | 2.680545 | 8a53cb228b194d3db2ea995d40a3d88e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811853 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thenathanjones/burro",
"max_stars_repo_path": "Burro.Tests/BuildServers/GoServerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131073"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Burro.BuildServers;
using Burro.Parsers;
using Burro.Util;
using Moq;
using NUnit.Framework;
using Ninject;
namespace Burro.Tests.BuildServers
{
[TestFixture, Ignore]
public class GoServerTest
{
}
}
| 0.783778 | 606cbeabbdce0d0e656d852526545e40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811854 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Snoogz/WWFToCSharpClasses",
"max_stars_repo_path": "Builders/WWFActivityBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131074"
} | starcoder | <reponame>Snoogz/WWFToCSharpClasses
using System.Activities;
using System.Collections.Generic;
using System.Linq;
using WWFToCSharpClasses.Converters;
using WWFToCSharpClasses.Transfer;
using WWFToCSharpClasses.TraversalObjects;
namespace WWFToCSharpClasses.Builders
{
public static class WWFActivityBuilder
{
... | 2.771953 | c7713c995c7871e520b80f1a29573486 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811855 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rahul0tripathi/MetaNox",
"max_stars_repo_path": "Assets/MoralisWeb3ApiSdk/Nethereum/Nethereum.Signer/ISignedTransaction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131075"
} | starcoder | <filename>Assets/MoralisWeb3ApiSdk/Nethereum/Nethereum.Signer/ISignedTransaction.cs
namespace Nethereum.Signer
{
public interface ISignedTransaction
{
TransactionType TransactionType {get; }
EthECDSASignature Signature { get; }
EthECKey Key { get; }
byte[] RawHash { get; ... | 2.035269 | c183bc5596b8d5a5ee8f722a59965bf8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811856 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "salmanmkc/dotnet-apiport",
"max_stars_repo_path": "src/lib/Microsoft.Fx.Portability.Reports.Excel/OpenXmlExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131076"
} | starcoder | <filename>src/lib/Microsoft.Fx.Portability.Reports.Excel/OpenXmlExtensions.cs
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Packaging;
using DocumentForma... | 2.250903 | f1ed6cb36d51fb6625e8b75c9634cdfb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811857 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "simlex-titul2005/GE",
"max_stars_repo_path": "GE.WebUI/ViewModels/VMFGBGame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131077"
} | starcoder | using System;
namespace GE.WebUI.ViewModels
{
public sealed class VMFGBGame
{
public VMFGBGame()
{
MaterialCategories = new VMMaterialCategory[0];
}
public int Id { get; set; }
public Guid FrontPictureId { get; set; }
public string Title { get; set; ... | 1.979261 | 43f8cfa54b04552514c95f32de16e323 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811858 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DomenicoIngrati/EmbASP",
"max_stars_repo_path": "CSharp version/it/unical/mat/embasp/platforms/desktop/DesktopHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131078"
} | starcoder | using System.Collections.Generic;
namespace it.unical.mat.embasp.platforms.desktop
{
using ICallback = it.unical.mat.embasp.@base.ICallback;
using Handler = it.unical.mat.embasp.@base.Handler;
using InputProgram = it.unical.mat.embasp.@base.InputProgram;
using OptionDescriptor = it.unical.mat.embasp.@... | 2.16521 | 264319d47c874632d9093acb4eb7a388 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811859 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LeonardoVanelli/ControleMesadaServer",
"max_stars_repo_path": "Service/PrismaWEB.Application/PessoaAppService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131079"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using ProjetoModeloDDD.Application.Interface;
using ProjetoModeloDDD.Domain.Entities;
using ProjetoModeloDDD.Domain.Interfaces.Services;
namespace ProjetoModeloDDD.Application
{
public class PessoaAppService : AppServiceBase<Pessoa>, IPessoaAppService
{
... | 1.829833 | 55c352de1a4e668c5d0ea89e005e9f42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811860 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "dotnet-maestro-bot/EntityFrameworkCore",
"max_stars_repo_path": "src/EFCore.SqlServer/Extensions/SqlServerModelBuilderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131080"
} | 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 JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Utilities;
// ReSharper disable once Che... | 2.394538 | af16bb0891dd37f6aba63ccba77352e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811861 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Rappelbox/DirectOutput",
"max_stars_repo_path": "DirectOutput/Cab/Out/Pac/PacLed64.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131081"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using System.Threading;
using System.Xml.Serialization;
using DirectOutput.General;
using DirectOutput.Cab.Schedules;
using DirectOutput.Cab.Overrides;
namespace DirectOutput.Cab.Out.... | 2.607367 | 8677715d31eb86791c50f230477488db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811862 | {
"extension": "c-sharp",
"max_stars_count": "603.0",
"max_stars_repo_name": "ML-m/Adnc",
"max_stars_repo_path": "src/ServerApi/Infrastructures/Adnc.Infra.EventBus/RabbitMq/RabbitMqConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131082"
} | starcoder | using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Polly;
using RabbitMQ.Client;
using RabbitMQ.Client.Exceptions;
using System;
using System.Net.Sockets;
namespace Adnc.Infra.EventBus.RabbitMq
{
public sealed class RabbitMqConnection
{
private static volatile RabbitMqConnec... | 2.407737 | eaa5552116a91795d90170a7a4c394cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811863 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "assismarcos/efcore",
"max_stars_repo_path": "test/EFCore.Relational.Specification.Tests/Update/UpdateSqlGeneratorTestBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131083"
} | starcoder | <filename>test/EFCore.Relational.Specification.Tests/Update/UpdateSqlGeneratorTestBase.cs<gh_stars>1-10
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.EntityFrameworkCore.ChangeTracking.Internal;
using Microsoft.E... | 1.641471 | 76f37b0befec328f2e83fd703f81571a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811864 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "marrk/MyMediaLite",
"max_stars_repo_path": "src/SVM/IRangeTransform.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131084"
} | starcoder | <reponame>marrk/MyMediaLite<filename>src/SVM/IRangeTransform.cs
/*
* SVM.NET Library
* Copyright (C) 2008 <NAME>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 o... | 2.383854 | f300a6f44066cc46a929f1d75b3f0312 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811865 | {
"extension": "c-sharp",
"max_stars_count": "123.0",
"max_stars_repo_name": "BluewireTechnologies/cassette",
"max_stars_repo_path": "src/Cassette.Sass/SassServices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131085"
} | starcoder | using Cassette.TinyIoC;
namespace Cassette.Stylesheets
{
[ConfigurationOrder(20)]
public class SassServices : IConfiguration<TinyIoCContainer>
{
public void Configure(TinyIoCContainer container)
{
container.Register<ISassCompiler, SassCompiler>();
}
}
} | 1.60323 | 115832afb6f529996193396de533eb01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811866 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LibVega/Vega",
"max_stars_repo_path": "Vega/Content/ImageFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131086"
} | starcoder | <gh_stars>1-10
/*
* Microsoft Public License (Ms-PL) - Copyright (c) 2020-2021 <NAME>
* This file is subject to the terms and conditions of the Microsoft Public License, the text of which can be found in
* the 'LICENSE' file at the root of this repository, or online at <https://opensource.org/licenses/MS-PL>.
... | 2.532249 | f64bca05a6b65f5b9dadb3297c0f4c59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811867 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "timunie/Aura.UI",
"max_stars_repo_path": "src/Aura.UI/Controls/FloatingButtonBar/FloatingButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131087"
} | starcoder | <reponame>timunie/Aura.UI
using Avalonia.Controls;
using Avalonia.Media;
namespace Aura.UI.Controls
{
/// <summary>
/// The Content can be an <see cref="IImage"/> only.
/// </summary>
public class FloatingButton : Button
{
}
} | 1.641019 | 7cf3c80a695510f0482eb4628dbfd24b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811868 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Omid-Veisi/ur-scape",
"max_stars_repo_path": "Assets/Tools/NetworkDisruptionAnalysis/Scripts/CustomProcess.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131088"
} | starcoder | <gh_stars>10-100
// Copyright (C) 2021 Singapore ETH Centre, Future Cities Laboratory
// All rights reserved.
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
//
// Author: <NAME> (<EMAIL>)
using System;
using System.ComponentModel;
using Sy... | 2.349437 | 1c088445bac4af986e0b45209375a7ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811869 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "Henry00IS/ShapeEditor",
"max_stars_repo_path": "Scripts/Utilities/ShapeEditorResources.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131089"
} | starcoder | <filename>Scripts/Utilities/ShapeEditorResources.cs
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
namespace AeternumGames.ShapeEditor
{
[CreateAssetMenu(fileName = "ShapeEditorResources", menuName = "ScriptableObjects/ShapeEditorResources", order = 1)]
public class ShapeEditorResources : ScriptableOb... | 1.937528 | 66247a56d4bb40c0e7de61bc50a1146a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811870 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jagel/meal-planner-api",
"max_stars_repo_path": "MealPlanner.Domain.Entities/Auth/OrganizationUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131090"
} | starcoder | namespace JGL.Security.Auth.Domain.Entities
{
public enum EUserStatus
{
Active,
Inactive,
}
public class OrganizationUser
{
public int Id { get; set; }
public EUserStatus UserStatus { get; set; }
public int OrganizationId { get; set; }
public Organi... | 1.76678 | d413aa01cbd96a1fcb7baad84e4a3d81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Craxy/Parkitect-HideScenery",
"max_stars_repo_path": "src/HideScenery/UI/Utils/Styles.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131091"
} | starcoder | using RapidGUI;
using UnityEngine;
namespace Craxy.Parkitect.HideScenery.UI.Utils
{
public static class Styles
{
public static GUIStyle DarkWindowTitleBarStyle;
private static void InitializeDarkWindowTitleBarStyle()
{
var style = new GUIStyle(GUI.skin.box);
style.normal.background = Creat... | 2.195806 | 3060babe998f2b1333031b7bd550dc17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cfallesen/Merchello",
"max_stars_repo_path": "Plugin/Payments/Chase/src/Merchello.Plugin.Payments.Chase/Models/ChaseProcessorSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131092"
} | starcoder | <filename>Plugin/Payments/Chase/src/Merchello.Plugin.Payments.Chase/Models/ChaseProcessorSettings.cs
namespace Merchello.Plugin.Payments.Chase.Models
{
public class ChaseProcessorSettings
{
public bool UseSandbox { get; set; }
public ChaseProcessorSettings()
{
// set the de... | 1.842164 | 763ed642de9ab81365792c21b1f1d5a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811873 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "iodes/CoreDirector",
"max_stars_repo_path": "CoreDirector/Supports/EnvironmentSupport.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131093"
} | starcoder | using System;
using System.IO;
namespace CoreDirector.Supports
{
internal class EnvironmentSupport
{
#region Fields
private static readonly string _storage = $@"{Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)}\CoreDirector";
#endregion
#region Constants
... | 2.751664 | 635ac993edcd89b7ec54d7b4f5f648c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811874 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TechnologyEnhancedLearning/DLSV2",
"max_stars_repo_path": "DigitalLearningSolutions.Data.Tests/TestHelpers/SelfAssessmentHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131094"
} | starcoder | <filename>DigitalLearningSolutions.Data.Tests/TestHelpers/SelfAssessmentHelper.cs
namespace DigitalLearningSolutions.Data.Tests.TestHelpers
{
using System;
using System.Collections.Generic;
using System.Linq;
using DigitalLearningSolutions.Data.Models.SelfAssessments;
public static class Se... | 2.48659 | ed0d29527de1080f8d1d9cce78519b64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811875 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Elicon-IL/EDA-Tools",
"max_stars_repo_path": "Elicon.Wpf.UI/Controls/Spinner.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131095"
} | starcoder | <gh_stars>1-10
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Shapes;
using System.Windows.Threading;
namespace EdaTools.Controls
{
public partial class Spinner
{
private readonly DispatcherTimer _spinnerTimer;
private readon... | 2.406951 | b2f0d55acf6d6dec69ffead47aa17930 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811876 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-2021-PeriodEnd-ReportService",
"max_stars_repo_path": "src/ESFA.DC.PeriodEnd.ReportService.Reports.Interface/IReportDataPersistanceService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131096"
} | starcoder | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace ESFA.DC.PeriodEnd.ReportService.Reports.Interface
{
public interface IReportDataPersistanceService<in T>
{
Task PersistAsync(IReportServiceContext reportServiceContext, IEnumerable<T> reportModels,
... | 1.535399 | a0628911f9b0cf3723fbb9da8ed825de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811877 | {
"extension": "c-sharp",
"max_stars_count": "67.0",
"max_stars_repo_name": "SalesPad-LLC/breeze.sharp",
"max_stars_repo_path": "Breeze.Sharp/StructuralProperty.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131097"
} | starcoder | <reponame>SalesPad-LLC/breeze.sharp
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace Breeze.Sharp {
/// <summary>
/// For internal use only.
/// </summary>
internal class PropertyCollection : KeyedCollection<String, StructuralProperty> {
p... | 2.310375 | 0f05307a0477f3a1dc3e484b6f9cb895 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811878 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "michaelsjennings/code-generation",
"max_stars_repo_path": "MSJennings.CodeGeneration/MSJennings.CodeGeneration/StringExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131098"
} | starcoder | using Humanizer;
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace MSJennings.CodeGeneration
{
public static class StringExtensions
{
public static IDictionary<string, string> ToSingularSpecialCases { get; private set; } = new Dictionary<string, string>(St... | 2.993436 | c1dbc258a7cb9c24e80ab94e8451fa64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811879 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JoonghyunCho/Xamarin.Forms",
"max_stars_repo_path": "Xamarin.Forms.Platform/Xamarin.Forms.Platform.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131099"
} | starcoder | namespace Xamarin.Forms.Platform
{
internal static class Loader
{
internal static void Load()
{
}
}
internal class _BoxViewRenderer
{
}
internal class _EntryRenderer
{
}
internal class _EditorRenderer
{
}
internal class _LabelRenderer
{
}
internal class _ImageRenderer
{
}
internal class ... | 1.03874 | b10e66ee42002a9a265d2475ad582c8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811880 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hypothesisx/SqlFu",
"max_stars_repo_path": "src/SqlFu/DDL/Generators/Postgresql/PostgresDropColumnWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131100"
} | starcoder | <reponame>hypothesisx/SqlFu
using System.Text;
using SqlFu.Providers;
namespace SqlFu.DDL.Generators.Postgresql
{
internal class PostgresDropColumnWriter : AbstractDropColumnWriter
{
public PostgresDropColumnWriter(StringBuilder builder) : base(builder, DbEngine.PostgreSQL)
{
}
... | 1.712868 | 9047ff551ae8355cec3898ac7f61c593 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811881 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sciumo/Enterprise-Architect-Toolpack",
"max_stars_repo_path": "ECDMMessageComposer/SettingsWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131101"
} | starcoder | <filename>ECDMMessageComposer/SettingsWindow.cs
/*
* Created by SharpDevelop.
* User: Geert
* Date: 27/01/2016
* Time: 5:19
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace ECDMMessageComp... | 1.687803 | bab04b3fe8d1f0ff6e904d089c9d406a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CapnRat/github-for-unity",
"max_stars_repo_path": "src/GitHub.Api/Git/Tasks/GitRemoteBranchDeleteTask.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131102"
} | starcoder | using System;
using System.Threading;
namespace GitHub.Unity
{
class GitRemoteBranchDeleteTask : ProcessTask<string>
{
private readonly string arguments;
public GitRemoteBranchDeleteTask(string remote, string branch,
CancellationToken token, IOutputProcessor<string> processor = nul... | 2.630001 | 87d3a1004d5e50f1912ce79c506c7179 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811883 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "SimHacker/UnityJS",
"max_stars_repo_path": "Libraries/UnityJS/Libraries/UnityJS/Scripts/BridgeObject/Mapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131103"
} | starcoder | ////////////////////////////////////////////////////////////////////////
// Mapper.cs
// Copyright (C) 2018 by <NAME>, Ground Up Software.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Unity... | 1.428788 | 9957f6ae4bdcf9fa8ed436756955bf27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811884 | {
"extension": "c-sharp",
"max_stars_count": "738.0",
"max_stars_repo_name": "coderliz/DotSpatial",
"max_stars_repo_path": "Source/DotSpatial.Symbology/IGroup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131104"
} | starcoder | // Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Drawing;
namespace DotSpatial.Symbology
{
/// <summary>
/// Interface for Grou... | 2.610322 | d5638cbf3ae9989d049ab86b12f7c5fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "astef/IsolatedTestFixtureAttribute",
"max_stars_repo_path": "AlcAttr/IsolatedTests1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131105"
} | starcoder | using ClassLibrary2;
using NUnit.Framework;
using Shouldly;
namespace AlcAttr
{
[TestFixture]
public sealed class IsolatedTests1
{
[Test]
public void TestSharedVariableIncrement()
{
Class1.Increment(5);
Class1.SharedVariable.ShouldBe(5);
}
}
}
| 1.776953 | 6bf22621130a5d0bc46a053d1c0b7164 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811886 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "OfficeGlobal/msgraph-training-restapi",
"max_stars_repo_path": "Demos/04-leverage-msgraphsdk/MSGraphCalendarViewer/Controllers/AccountController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131106"
} | starcoder | using System.Web;
using System.Web.Mvc;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.Cookies;
using Microsoft.Owin.Security.OpenIdConnect;
using System.Security.Claims;
using MSGraphCalendarViewer.TokenStorage;
using MSGraphCalendarViewer.Helpers;
namespace MSGraphCalendarViewer.Controllers
{... | 1.883045 | 76629b7fe2d8799aaa621c183bc61a9f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811887 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "jxnkwlp/Passingwind.Blog",
"max_stars_repo_path": "Passingwind.Blog.Widgets/WidgetInstallContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131107"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Passingwind.Blog.Widgets
{
public class WidgetInstallContext
{
public IServiceProvider ServiceProvider { get; }
public WidgetInstallContext(IServiceProvider serviceProvider)
... | 1.778061 | 34ced89266cca0dd04013a3424386bba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811888 | {
"extension": "c-sharp",
"max_stars_count": "3192.0",
"max_stars_repo_name": "FroggieFrog/ExcelDataReader",
"max_stars_repo_path": "src/ExcelDataReader/Core/BinaryFormat/XlsBiffInterfaceHdr.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131108"
} | starcoder | <gh_stars>1000+
namespace ExcelDataReader.Core.BinaryFormat
{
/// <summary>
/// Represents InterfaceHdr record in Wokrbook Globals
/// </summary>
internal class XlsBiffInterfaceHdr : XlsBiffRecord
{
internal XlsBiffInterfaceHdr(byte[] bytes)
: base(bytes)
{
}
... | 2.116716 | 60e81c208c15e90c60298114c60b9901 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811889 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "haf/NodaTime",
"max_stars_repo_path": "src/NodaTime.Test/Calendars/IsoCalendarSystemTest.TimeFields.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131109"
} | starcoder | #region Copyright and license information
// Copyright 2001-2009 <NAME>
// Copyright 2009-2011 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apach... | 1.941765 | a7f7e8f801746691f4d7617a42db7b9f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mod1fy/TheraLang",
"max_stars_repo_path": "TheraLang.DLL/Piranha/Configuration/PiranhaSiteType.Configuration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131110"
} | starcoder | <gh_stars>0
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using TheraLang.DLL.Piranha.Entities;
namespace TheraLang.DLL.Piranha.Configuration
{
public class PiranhaSiteTypeConfiguration : IEntityTypeConfiguration<PiranhaSiteType>
{
public void Configure(En... | 1.70212 | e83e6a2a19076353f45b73446af4d207 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811891 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "johnathandavis/JohnChess",
"max_stars_repo_path": "JohnChess/Moves/MoveBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131111"
} | starcoder | <filename>JohnChess/Moves/MoveBuilder.cs
using System;
using System.Collections.Generic;
using System.Text;
using JohnChess.Pieces;
namespace JohnChess.Moves
{
public class MoveBuilder
{
public static Move CreateNormalMove(ChessPiece piece, Position newPosition, bool takes)
{
var ... | 2.997793 | e145ab3f5bef750c2966661ba0d6049f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811892 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "epicbrownie/Turner.Infrastructure.Mediator",
"max_stars_repo_path": "Turner.Infrastructure.Mediator.Tests/BaseUnitTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131112"
} | starcoder | <reponame>epicbrownie/Turner.Infrastructure.Mediator<filename>Turner.Infrastructure.Mediator.Tests/BaseUnitTest.cs
using System.Reflection;
using Microsoft.EntityFrameworkCore;
using NUnit.Framework;
using SimpleInjector;
using Turner.Infrastructure.Mediator.Configuration;
using Turner.Infrastructure.Mediator.Tests.Fak... | 1.783931 | 5c5a98371b4dd522c54a2dd06f3d31af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811893 | {
"extension": "c-sharp",
"max_stars_count": "205.0",
"max_stars_repo_name": "rohankhera/dicom-server",
"max_stars_repo_path": "src/Microsoft.Health.Dicom.Core/Features/Security/PrincipalClaimsExtractor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131113"
} | starcoder | // -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... | 1.912218 | baeef69e9512e72cca8bdfa5d8b58d84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811894 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "drasticactions/niconico.net",
"max_stars_repo_path": "NicoNico.Net/Managers/AuthenticationManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131114"
} | starcoder | <reponame>drasticactions/niconico.net
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using NicoNico.Net.Entities.User;
using NicoNico.Net.Entities.Web;
using NicoNico.Net.Interfaces;
using NicoNico.Net.Tools;
... | 2.192377 | 8bde4d8ae5eeadfe1d183dbb169b8e2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811895 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "andrijamilovanovicharness/ff-dotnet-server-sdk",
"max_stars_repo_path": "client/api/analytics/ICache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131115"
} | starcoder | <reponame>andrijamilovanovicharness/ff-dotnet-server-sdk
using io.harness.cfsdk.client.dto;
using System;
using System.Collections.Generic;
using System.Text;
namespace io.harness.cfsdk.client.api.analytics
{
public interface ICache
{
int get(Analytics a);
IDictionary<Analytics, int> getAll()... | 1.459392 | 14e9266145a8a51c7b5cc923bf4c340e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811896 | {
"extension": "c-sharp",
"max_stars_count": "82.0",
"max_stars_repo_name": "ksbeer/Mkh",
"max_stars_repo_path": "src/03_Module/Module.Core/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131116"
} | starcoder | namespace Mkh.Module.Core;
/// <summary>
/// 常量
/// </summary>
internal class Constants
{
/// <summary>
/// 项目前缀
/// </summary>
public const string PREFIX = "Mkh";
/// <summary>
/// 根目录
/// </summary>
public const string ROOT_DIR = "_modules";
/// <summary>
/// 模块的json文件名称
... | 1.797467 | c7125b46e65aec1fefe5015eca1873e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811897 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "smdx24/CPI-Source-Code",
"max_stars_repo_path": "ClubPenguin.Holiday/DecorationData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131117"
} | starcoder | // DecorationData
using UnityEngine;
public class DecorationData : MonoBehaviour
{
}
| 0.843162 | 991ce6a087a79c68bb99579e9f224336 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811898 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prusikt/Qart",
"max_stars_repo_path": "Src/tests/Qart.Core.Tests/DataStore/ExtendedDataStoreTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131118"
} | starcoder | <reponame>prusikt/Qart
using NUnit.Framework;
using Qart.Core.DataStore;
using Qart.Core.Io;
using System;
namespace Qart.Core.Tests.DataStore
{
[TestFixture]
class ExtendedDataStoreTests
{
[Test]
public void ResolvingAnItemSucceeds()
{
var baseDir = PathUtils.ResolveRe... | 2.00405 | d4551d7f0192fb4820cd7c2128a1ded0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811899 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "abstrakt8/osu",
"max_stars_repo_path": "osu.Game.Rulesets.Osu/Difficulty/Preprocessing/OsuDifficultyHitObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131119"
} | starcoder | // Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Game.Rulesets.Difficulty.Preprocessing;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Osu.Objects;
using osuTK;
namespace osu.Game.Rules... | 2.405592 | 35690af01219db23c0755c5a2ff56afe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811900 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bhageshpuri/wired-brain-coffee-1",
"max_stars_repo_path": "src/WiredBrainCoffee/Pages/Item.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131120"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.RazorPages;
using WiredBrainCoffee.Models;
using WiredBrainCoffee.Services;
namespace WiredBrainCoffee.Pages
{
public class ItemModel : PageModel
{
public MenuIte... | 1.915052 | 68c765ace3242b98a09810b96a51e542 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811901 | {
"extension": "c-sharp",
"max_stars_count": "631.0",
"max_stars_repo_name": "NeVeSpl/scriban",
"max_stars_repo_path": "src/Scriban/ScribanAsync.generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131121"
} | starcoder | <gh_stars>100-1000
//------------------------------------------------------------------------------
// <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>
//----------------------... | 2.143579 | 0a0ff18c7d93c9d299c0ffdf87f2dc18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811902 | {
"extension": "c-sharp",
"max_stars_count": "517.0",
"max_stars_repo_name": "venux/aspect-injector",
"max_stars_repo_path": "tests/AspectInjector.Tests.Runtime/Issues/0114.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131122"
} | starcoder | <gh_stars>100-1000
using AspectInjector.Broker;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace AspectInjector.Tests.Runtime.Issues
{
public class Issue_0114
{
[Fact]
public void Test()
{
new TestClass().Do();
... | 1.931302 | 1cc9dc5aa6619181214115e92e04845e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811903 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PrimaShouji/Prima2",
"max_stars_repo_path": "src/Prima.Stable/Handlers/Triggers/TableUnflipTrigger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131123"
} | starcoder | using System.Threading.Tasks;
using Discord.WebSocket;
namespace Prima.Stable.Handlers.Triggers
{
public class TableUnflipTrigger : BaseTrigger
{
public override bool Condition(SocketMessage message)
{
return message.Content == "(╯°□°)╯︵ ┻━┻";
}
public override Tas... | 2.091807 | 2c560c791b7bd7c678fd5f93482f9d3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811904 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "admhome/tezospayments",
"max_stars_repo_path": "packages/dotnet/TezosPayments/Utils/BytesUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131124"
} | starcoder | <filename>packages/dotnet/TezosPayments/Utils/BytesUtils.cs
namespace TezosPayments.Utils;
public static class BytesUtils
{
public static byte[] Combine(byte[] bytes1, byte[] bytes2)
{
var result = new byte[bytes1.Length + bytes2.Length];
Buffer.BlockCopy(bytes1, 0, result, 0, bytes1.Length);
... | 2.685752 | 04163044cb4ba920ca87f547db9d1c17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811905 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "anuchandy/autorest.csharp",
"max_stars_repo_path": "test/vanilla/Expected/PseudoGenericType/ISMS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131125"
} | starcoder | <reponame>anuchandy/autorest.csharp
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Zapappi.Client
{
using Microsoft.Rest;
using Models;
using System.Collec... | 1.611879 | 0db414242122acaf731fa241741fa1f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811906 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "timschreiber/SmartDapper",
"max_stars_repo_path": "SmartDapper/SmartDapper/Mapping/PropertyMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131126"
} | starcoder | <reponame>timschreiber/SmartDapper
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SmartDapper.Mapping
{
internal class PropertyMap
{
public string PropertyName { get; set; }
public Type PropertyTy... | 2.272177 | 33e8a109eb7246152521b405e7f6bf8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811907 | {
"extension": "c-sharp",
"max_stars_count": "1365.0",
"max_stars_repo_name": "taozhiyu/TileIconifier",
"max_stars_repo_path": "TileIconifier.Core/Shortcut/ShortcutItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131127"
} | starcoder | <filename>TileIconifier.Core/Shortcut/ShortcutItem.cs
#region LICENCE
// /*
// The MIT License (MIT)
//
// Copyright (c) 2021 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Softwar... | 1.858708 | 81aef113d8b859cf9e3778fedda38b9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811908 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SorenNeedsCoffee/Garbage-Can",
"max_stars_repo_path": "GarbageCan.Application/Members/Queries/MemberVm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131128"
} | starcoder | namespace GarbageCan.Application.Members.Queries
{
public class MemberVm
{
public ulong Id { get; set; }
public string Name { get; set; }
public double Xp { get; set; }
public int Level { get; set; }
public bool IsBot { get; set; }
}
}
| 1.577213 | a37753853301029bd779b0d41cb35ccc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811909 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "shrma21294/Number-Tetrix",
"max_stars_repo_path": "Assets/MagicLeap-Tools/Examples/Playspace/Code/Logic/PlayspaceExample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131129"
} | starcoder | <gh_stars>10-100
// ---------------------------------------------------------------------
//
// Copyright (c) 2018-present, Magic Leap, Inc. All Rights Reserved.
// Use of this file is governed by the Creator Agreement, located
// here: https://id.magicleap.com/terms/developer
//
// -----------------------------------... | 1.930824 | 72e47b2426e6b62af1efba7e397512d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811910 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "sillsdev/Glyssen",
"max_stars_repo_path": "GlyssenEngineTests/UndoActionsTests/UndoActionSequenceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131130"
} | starcoder | <filename>GlyssenEngineTests/UndoActionsTests/UndoActionSequenceTests.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using GlyssenEngine.UndoActions;
using NUnit.Framework;
using Rhino.Mocks;
namespace GlyssenEngineTests.UndoActionsTests
{
[TestFixture]
class UndoActionSequenceTests
{
private L... | 2.857893 | 0916c8e66d4b16232053e021b708490f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811911 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dgeshev/-Programming-Fundamentals",
"max_stars_repo_path": "Extended mode/06.Arrays-Exercises/03.Count of Given Element/Count of Given Element.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131131"
} | starcoder | using System;
using System.Linq;
namespace _03.Count_of_Given_Element
{
public class Program
{
public static void Main()
{
var numbers = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
var element = int.Parse(Console.ReadLine());
var count = 0;
... | 3.500279 | 44796f2733d2461effb8400738aa5e89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811912 | {
"extension": "c-sharp",
"max_stars_count": "97.0",
"max_stars_repo_name": "iPherian/MnB2-Bannerlord-CommunityPatch",
"max_stars_repo_path": "tools/Antijank.Debugger/Debugging/CorDebug/ICorDebugProcess3.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131132"
} | starcoder | <filename>tools/Antijank.Debugger/Debugging/CorDebug/ICorDebugProcess3.cs
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Antijank.Debugging {
[ComImport]
[Guid("2EE06488-C0D4-42B1-B26D-F3795EF606FB")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComConversion... | 1.64775 | eae48f355fbc1d9cb9be9aca8d9e291d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811913 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "2sic/oqt-theme-2shine-bs5",
"max_stars_repo_path": "Client/Menu/NavItemSidebar.razor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131133"
} | starcoder | using System.Collections.Generic;
using System.Linq;
namespace ToSic.Oqt.Themes.ToShineBs5.Client.Menu;
public partial class NavItemSidebar : NavItem
{
private IList<string> SubLiClasses()
{
var cssClasses = new List<string>
{
"position-relative"
};
return cssClass... | 2.172012 | 82173d38f27e28ef7de33fc00cd784b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811914 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Pixeval/Mako",
"max_stars_repo_path": "Mako/Util/Objects.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131134"
} | starcoder | <reponame>Pixeval/Mako
#region Copyright (c) Pixeval/Mako
// MIT License
//
// Copyright (c) Pixeval 2021 Mako/Objects.cs
//
// 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 res... | 2.411036 | c820b58a99ad8001453712f04f2d5749 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811915 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "theredheaddev/grey-jinjo-api",
"max_stars_repo_path": "Controllers/LevelsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131135"
} | starcoder | using System;
using System.IO;
using System.Threading.Tasks;
using Banjo_kazooie_api.Models.QueryObjects;
using Banjo_kazooie_api.Services.Interfaces;
using Microsoft.AspNetCore.Mvc;
namespace Banjo_kazooie_api.Controllers
{
[Route("api/[Controller]")]
[ApiController]
public class LevelsController: Control... | 2.405442 | 06cbba0ca29b0b1b550392a8570baf35 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811916 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "ltm0203/MockSchool",
"max_stars_repo_path": "MockSchoolManagement/src/MockSchoolManagement.Application/Students/Dtos/EnrollmentDateGroupDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131136"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MockSchoolManagement.Application.Students.Dtos
{
/// <summary>
/// 入学时间分组
/// </summary>
public class EnrollmentDateGroupDto
{... | 2.399734 | aa4d9c33bb15b08846783914a3db708f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811917 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "felipebaltazar/FeatureFlag.Management",
"max_stars_repo_path": "FeatureFlag.Management.Tests/BaseFeatureTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131137"
} | starcoder | using FeatureFlag.Management.Tests.Helpers;
using System.ComponentModel;
using System.Threading;
using Xunit;
namespace FeatureFlag.Management.Tests
{
[Category("BaseFeature")]
public sealed class BaseFeatureTests : BaseTests
{
public BaseFeatureTests() : base()
{
}
[Fact... | 2.360877 | 14d7534bf63beb6570beb1c990dcea7f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.