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 | 8813218 | {
"extension": "c-sharp",
"max_stars_count": "13846.0",
"max_stars_repo_name": "tomaswesterlund/aspnetcore",
"max_stars_repo_path": "src/Mvc/test/Mvc.FunctionalTests/GlobalAuthorizationFilterEndpointRoutingTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132438"
} | starcoder | <filename>src/Mvc/test/Mvc.FunctionalTests/GlobalAuthorizationFilterEndpointRoutingTest.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Linq;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Testi... | 1.406706 | 1b2c6de53c8b3a44a3b8922c9ba1ca85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813219 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "Whathecode/Framework-Class-Library-Extension",
"max_stars_repo_path": "Whathecode.System/Windows/WindowManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132439"
} | starcoder | <filename>Whathecode.System/Windows/WindowManager.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using Whathecode.Interop;
using Whathecode.System.Runtime.InteropServices;
namespace Whathecode.System.Windows
{
/// <summary>
... | 2.789269 | c8871d0ceed06d47dd3237de3f1b2cb3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813220 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "m-sadegh-sh/FaraMedia",
"max_stars_repo_path": "src/Libraries/FaraMedia.Services/Validations/Security/FriendRelationValidation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132440"
} | starcoder | <filename>src/Libraries/FaraMedia.Services/Validations/Security/FriendRelationValidation.cs<gh_stars>0
namespace FaraMedia.Services.Validations.Security {
using FaraMedia.Core.Domain.Security;
using FaraMedia.Data.Schemas.Security;
using FaraMedia.Services.Validations.Extensions;
public sealed class F... | 2.000457 | 8b39b5896b2a5513fd42f52f62e839f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813221 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hondarer/RestrictInputBehaviorSample",
"max_stars_repo_path": "RestrictInputBehavior.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132441"
} | starcoder | <reponame>Hondarer/RestrictInputBehaviorSample<gh_stars>0
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace RestrictInputBehaviorSample
{
/// <summary>
/// <see cref="DependencyObject"/> に、入力可能な文字に... | 2.551008 | 3b7ed56fcb1a39dfce64bebdf7180cc4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813222 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rynaret/Orang",
"max_stars_repo_path": "src/CommandLine/CommandLineExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132442"
} | starcoder | <filename>src/CommandLine/CommandLineExtensions.cs
// 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;
using System.Collections.Generic;
namespace Orang
{
internal static class CommandLineExtensio... | 2.516893 | 3d08f39793885d98039b3c2e20c23b44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813223 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "immmdreza/ModernTLSharp",
"max_stars_repo_path": "ModernTlSharp/TLSharp.Tl/TL/TLPageBlockCollage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132443"
} | starcoder | <gh_stars>1-10
using System.IO;
namespace ModernTlSharp.TLSharp.Tl.TL
{
[TLObject(145955919)]
public class TLPageBlockCollage : TLAbsPageBlock
{
public override int Constructor => 145955919;
public TLVector<TLAbsPageBlock> Items { get; set; }
public TLAbsRichText Caption { get; set;... | 2.082205 | 0a6cd0c275b34fcab0c2d0777e63b6ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813224 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "brunoss/Toolbox",
"max_stars_repo_path": "ToolBox/Sequence.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132444"
} | starcoder | using System;
using System.Collections.Generic;
namespace ToolBox
{
public static class Sequence
{
public static IEnumerable<int> NonRepeatingRandomSequence(int min, int max, int count, int? seed = null)
{
var random = seed != null ? new Random(seed.Value) : new Random();
... | 3.36166 | 43ac891e66eff3a03b3465df06ce4c28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813225 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0x0ade/Ryujinx",
"max_stars_repo_path": "Ryujinx.HLE/HOS/Kernel/KProcessScheduler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132445"
} | starcoder | using Ryujinx.HLE.Logging;
using System;
using System.Collections.Concurrent;
using System.Threading;
namespace Ryujinx.HLE.HOS.Kernel
{
class KProcessScheduler : IDisposable
{
private ConcurrentDictionary<KThread, SchedulerThread> AllThreads;
private ThreadQueue WaitingToRun;
private... | 2.32673 | f5f077b685bc142b1851a5129ce6ac41 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813226 | {
"extension": "c-sharp",
"max_stars_count": "2577.0",
"max_stars_repo_name": "saluransains/Cosmos",
"max_stars_repo_path": "source/Cosmos.Build.Builder/Models/VisualStudioInstance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132446"
} | starcoder | using Microsoft.VisualStudio.Setup.Configuration;
namespace Cosmos.Build.Builder.Models
{
internal class VisualStudioInstance
{
public ISetupInstance2 SetupInstance { get; }
public string ID => SetupInstance.GetInstanceId();
public string Name => SetupInstance.GetDisplayName();
... | 1.9375 | 494214e7341f5cdd8c6f910c46c908ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813227 | {
"extension": "c-sharp",
"max_stars_count": "390.0",
"max_stars_repo_name": "YAFNET/YAFNET",
"max_stars_repo_path": "yafsrc/YetAnotherForum.NET/Pages/Topics.ascx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132447"
} | starcoder | <gh_stars>100-1000
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 <NAME>
* Copyright (C) 2006-2013 <NAME>
* Copyright (C) 2014-2021 <NAME>
* https://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
... | 1.939527 | 5738b44ba93881715e2e08bcdaa78c5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813228 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "csharplang/SocketProgramming",
"max_stars_repo_path": "RnD2.0/Sln.ClientSocketProgramGUI/ClientSocketProgramGUI/Helper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132448"
} | starcoder | using System.Net.Sockets;
using System.Text;
using System.Windows.Forms;
namespace ClientSocketProgramGUI
{
public static class Helper
{
public static void SendDataToServer(RichTextBox richTextBox2)
{
TcpClient clientSocket = new TcpClient();
NetworkStream serverS... | 2.747603 | 0419cc5a855ebdc2e4835cd27dc45b43 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813229 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ASP-MVC/Restaurant-System",
"max_stars_repo_path": "RestaurantSystem/RestaurantSystem.Models/BindingModel/SubCategoryUpdateBindingModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132449"
} | starcoder | <gh_stars>0
using RestaurantSystem.Infrastructure.Mappings;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RestaurantSystem.Models.BindingModel
{
public class SubCategoryUpdateBind... | 1.388049 | fcac6394bda7348b9b58dd1c573ff81b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813230 | {
"extension": "c-sharp",
"max_stars_count": "129.0",
"max_stars_repo_name": "george-alisson/3DS-Theme-Editor",
"max_stars_repo_path": "ThemeEditor.WPF/Controls/Renderers/BottomFolderRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132450"
} | starcoder | <filename>ThemeEditor.WPF/Controls/Renderers/BottomFolderRenderer.cs
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Media;
using ThemeEditor.WPF.RenderTools;
using ThemeEditor.WPF.Themes;
namespace ThemeEditor.WPF.Controls.Renderers
{
class BottomFolderRenderer : FrameworkElem... | 2.468687 | 5f93c56fc41d73e78b760cc235ab726a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813231 | {
"extension": "c-sharp",
"max_stars_count": "384.0",
"max_stars_repo_name": "vascofernandes/NetEscapades.AspNetCore.SecurityHeaders",
"max_stars_repo_path": "src/NetEscapades.AspNetCore.SecurityHeaders/Headers/FeaturePolicy/SynchronousXhrFeaturePolicyDirectiveBuilder.cs",
"provenance": "train-00027-of-00045.... | starcoder | <reponame>vascofernandes/NetEscapades.AspNetCore.SecurityHeaders<filename>src/NetEscapades.AspNetCore.SecurityHeaders/Headers/FeaturePolicy/SynchronousXhrFeaturePolicyDirectiveBuilder.cs
namespace NetEscapades.AspNetCore.SecurityHeaders.Headers.FeaturePolicy
{
/// <summary>
/// Controls whether the current doc... | 2.269167 | ed4226fd71d0ebd7ac38b2e49692ab32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813232 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "talaryonlabs/remato",
"max_stars_repo_path": "src/Remato/Core/Params/IDeviceParams.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132452"
} | starcoder | <filename>src/Remato/Core/Params/IDeviceParams.cs
using Remato.Shared;
namespace Remato
{
public interface IDeviceParams
{
IDeviceParams Id(string userId);
IDeviceParams State(RematoDeviceState state);
IDeviceParams Name(string name);
IDeviceParams Manufacturer(string manufactu... | 1.836846 | 4c97e6863c68db8ca5e88ed741c84a44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813233 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dinikolaeva/BeGorgeous",
"max_stars_repo_path": "Web/BeGorgeous.Web.ViewModels/Appointments/AppointmentInputModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132453"
} | starcoder | namespace BeGorgeous.Web.ViewModels.Appointments
{
using System.ComponentModel.DataAnnotations;
using BeGorgeous.Common;
using BeGorgeous.Web.ViewModels.Common;
using BeGorgeous.Web.ViewModels.Common.CustomValidationAttributes;
public class AppointmentInputModel
{
[Required]... | 2.058347 | 7859167edb30b94adfcf8cb629fa76be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813234 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AD-7/ProgramowanieUrz-dze-Mobilnych",
"max_stars_repo_path": "Client/ServerLogic/OrderManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132454"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using Dane;
namespace ServerLogic
{
public class OrderManager
{
public List<Order> ActiveOrders { get; private set; }
public List<Order> CompletedOrde... | 2.736691 | 3e74b8f8713f7749490ad9d0e8cbf23f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813235 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oafd1986/btfb",
"max_stars_repo_path": "btfb/Models/ComboBoxViewModels.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132455"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using btfb.Models.DbAccessModel;
using btfb.Models.DataAccessClasses;
namespace btfb.Models
{
public class ComboBoxViewModels
{
public string ComboId { get; set; }
public string ... | 1.629789 | 9f901d46203f76f24fc847aeda0558a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813236 | {
"extension": "c-sharp",
"max_stars_count": "2279.0",
"max_stars_repo_name": "aTiKhan/Magick.NET",
"max_stars_repo_path": "tests/Magick.NET.Tests/Factories/MatrixFactoryTests/TheCreateConvolveMatrixMethod.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132456"
} | starcoder | // Copyright <NAME> https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using ImageMagick;
using Xunit;
namespace Magick.NET.Tests
{
public partial class MatrixFactoryTests
{
public class TheCreateConvolveMatrixMethod
{
[Fact]
pub... | 2.469278 | fdf9dfe7d3b6b9332e45db97a7d51e2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813237 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "codedesignplus/CodeDesignPlus.EFCore",
"max_stars_repo_path": "tests/CodeDesignPlus.Abstractions/CodeDesignPlus.Abstractions/IRolePermissionRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132457"
} | starcoder | using CodeDesignPlus.EFCore.Repository;
namespace CodeDesignPlus.Abstractions
{
public interface IRolePermissionRepository : IRepositoryBase<long, int>
{
}
}
| 1.230271 | 4df15d43c6d7378bb93df32a07388d6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813238 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edargham/SocketSample",
"max_stars_repo_path": "Server/Controllers/TransactionController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132458"
} | starcoder | <reponame>edargham/SocketSample
#nullable enable
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Common;
namespace Server.Controllers
{
public class TransactionController
{
private readonly List<SubmitBasketRequest> _transactions = new List<Submit... | 2.259404 | 462855f68f61f0caa522229fe906043b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813239 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "rdavisau/tbc",
"max_stars_repo_path": "src/components/tbc.target/Requests/HostCommandRequestedEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132459"
} | starcoder | <gh_stars>1-10
using System;
namespace Tbc.Target.Requests
{
public class HostCommandRequestedEventArgs : EventArgs
{
public CommandRequest Command { get; set; }
}
} | 1.260142 | 5b1976e4e869d0f11674d5a18222df08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813240 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "pvivera/FluentSecurity.Nancy",
"max_stars_repo_path": "FluentSecurity/FluentSecurity.Specification/Configuration/DefaultPolicyAppenderSpec.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132460"
} | starcoder | using System;
using System.Collections.Generic;
using FluentSecurity.Configuration;
using FluentSecurity.Policy;
using NUnit.Framework;
namespace FluentSecurity.Specification.Configuration
{
[TestFixture]
[Category("DefaultPolicyAppenderSpec")]
public class When_updating_policies
{
[Test]
public v... | 2.389427 | 3f2515932c38b9388e19e40a43b663e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813241 | {
"extension": "c-sharp",
"max_stars_count": "3269.0",
"max_stars_repo_name": "PhantomGamers/Mirror",
"max_stars_repo_path": "Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourTargetRpc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132461"
} | starcoder | using Mirror;
using UnityEngine;
namespace WeaverMonoBehaviourTests.MonoBehaviourTargetRpc
{
class MonoBehaviourTargetRpc : MonoBehaviour
{
[TargetRpc]
void TargetThisCantBeOutsideNetworkBehaviour(NetworkConnection nc) { }
}
}
| 1.298648 | 3fae6c5bfdefe0c0f6bcdb36cd42a4f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813242 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndreiLuis/MySqlConnector",
"max_stars_repo_path": "src/MySqlConnector/Utilities/SocketExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132462"
} | starcoder | using System;
using System.Net.Sockets;
namespace MySqlConnector.Utilities
{
internal static class SocketExtensions
{
#if !NETSTANDARD2_1 && !NETCOREAPP3_0
public static SocketAwaitable ReceiveAsync(this Socket socket, SocketAwaitable awaitable)
{
awaitable.Reset();
if (!socket.ReceiveAsync(awaitable.Event... | 2.54348 | 6f3d385ad85f63158281f75580fb8e84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813243 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adamralph/elasticsearch-net",
"max_stars_repo_path": "tests/Examples/Analysis/Tokenfilters/ClassicTokenfilterPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132463"
} | starcoder | <reponame>adamralph/elasticsearch-net<filename>tests/Examples/Analysis/Tokenfilters/ClassicTokenfilterPage.cs<gh_stars>0
using Elastic.Xunit.XunitPlumbing;
using Nest;
using System.ComponentModel;
namespace Examples.Analysis.Tokenfilters
{
public class ClassicTokenfilterPage : ExampleBase
{
[U(Skip = "Example not ... | 1.938394 | 605312eac751869feded1e73ebac8e50 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813244 | {
"extension": "c-sharp",
"max_stars_count": "2670.0",
"max_stars_repo_name": "yangbingqi155/Nagrace",
"max_stars_repo_path": "src/Orchard/FileSystems/Dependencies/DefaultExtensionDependenciesManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132464"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using Orchard.Caching;
using Orchard.FileSystems.AppData;
using Orchard.Logging;
using Orchard.Exceptions;
namespace Orchard.FileSystems.Dependencies {
/// <summary>
/// Similar to "Dependencies.xml" file, except we also... | 2.388118 | c7daa958703c7767777a3b898924ceb9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813245 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tlaster/NiL.JS",
"max_stars_repo_path": "IntegrationTests/BaseLibrary/JsonTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132465"
} | starcoder | <reponame>Tlaster/NiL.JS<filename>IntegrationTests/BaseLibrary/JsonTests.cs<gh_stars>0
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NiL.JS.BaseLibrary;
using NiL.JS.Core;
namespace IntegrationTests.BaseLibrary
{
using Array = NiL.JS.BaseLibrary.Array;
... | 2.534585 | 4a7614e462c5a3fd02ce267adc3e1330 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813246 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ROM-II/rom_db_editor",
"max_stars_repo_path": "RunesDataBase/TableObjects/TreasureObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132466"
} | starcoder | using System;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using Runes.Net.Db;
using Runes.Net.Shared;
using Runes.Net.Shared.Html;
namespace RunesDataBase.TableObjects
{
public class TreasureObject : BasicTableObject
{
public uint ItemCount
{
get { return ... | 2.618477 | 6df3b0fd17d2d81845e041b5989ecc05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813247 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yongyan-gh/template-analyzer",
"max_stars_repo_path": "src/Analyzer.Reports/InternalsVisibleTo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132467"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Runtime.CompilerServices;
[assembly:InternalsVisibleTo("Microsoft.Azure.Templates.Analyzer.Reports.UnitTests")] | 0.694858 | 89241b343161f2445e5bc59ff6badd17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813248 | {
"extension": "c-sharp",
"max_stars_count": "755.0",
"max_stars_repo_name": "N500/WindowsTemplateStudio",
"max_stars_repo_path": "templates/Wpf/_comp/Prism/Project.SplitView.AddHamburgerMenuItem.Settings/ViewModels/ShellViewModel_postaction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132468"
} | starcoder | namespace Param_RootNamespace.ViewModels
{
public class ShellViewModel : BindableBase
{
private HamburgerMenuItem _selectedMenuItem;
//{[{
private HamburgerMenuItem _selectedOptionsMenuItem;
//}]}
private ICommand _menuItemInvokedCommand;
//{[{
private ICommand _option... | 2.29414 | 02dc47133011cdf2f0c007f03540100b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813249 | {
"extension": "c-sharp",
"max_stars_count": "500.0",
"max_stars_repo_name": "ICMYS/KeqingNiuza",
"max_stars_repo_path": "src/KeqingNiuza.RealtimeNotes/DGP.Genshin/MiHoYoAPI/Record/RecordProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132469"
} | starcoder | using DGP.Genshin.Common.Request;
using DGP.Genshin.Common.Request.DynamicSecret;
using DGP.Genshin.MiHoYoAPI.Record.Avatar;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading.Tasks;
namespace DGP.Genshin.MiHoYoAPI.Record
{
public class RecordProvide... | 2.000744 | 8d1149333f16ce82910531990deaae39 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813250 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GeorgiSv/QuizItUp",
"max_stars_repo_path": "Web/QuizItUp.Web/Areas/Administration/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:132470"
} | starcoder | @using QuizItUp.Web
@using QuizItUp.Web.ViewModels
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, QuizItUp.Web
| 1.471633 | 5e948190c39ad1af0f7cfa9ebd9ffe61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813251 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "li5414/RPGCore",
"max_stars_repo_path": "RPGCore/Assets/RPGCore/Scripts/Inventory/Item Slot/Behaviours/Slot_EquippableSlot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132471"
} | starcoder | using RPGCore.Behaviour;
namespace RPGCore.Inventories
{
public class Slot_EquippableSlot : ItemSlotBehaviour
{
public override void OnEnterSlot (ItemSlot target)
{
EquiptableItemNode equiptable = target.Item.Template.GetNode<EquiptableItemNode> ();
if (equiptable == null)
return;
equiptable.Equ... | 1.931321 | 9429a41f95aacde80294a5749b8ec8b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813252 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "theouteredge/cmdR",
"max_stars_repo_path": "src/cmdR/Exceptions/InvalidMethodSignatureException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132472"
} | starcoder | <gh_stars>1-10
using System;
namespace cmdR.Exceptions
{
public class InvalidMethodSignatureException : Exception
{
public InvalidMethodSignatureException(string message) : base(message)
{
}
}
} | 1.814182 | c201ac006f2c418cf22d9d543447e8e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813253 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Qkrisi/tp-score-saver",
"max_stars_repo_path": "Assets/tpData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132473"
} | starcoder | <filename>Assets/tpData.cs
public static class tpData
{
public static string IP = "ip:port";
public static string Name = "streamer_name";
public static string pwd = "<PASSWORD>";
public static string[] datas = new string[] { "SolveCount", "StrikeCount", "SolveScore", "Rank", "TotalSoloClears" };
}
| 1.629088 | 793f75105703d62e3073f952d2f49f76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813254 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "livingston12/sistema-financiera",
"max_stars_repo_path": "SistemaImbrino/Controllers/Conciliacion Bancaria/DebitosBancariosController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132474"
} | starcoder | using SistemaImbrino.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using static SistemaImbrino.Models.Parameters;
namespace SistemaImbrino.Controllers.Conciliacion_Bancaria
{
[Authorize(Roles = "debitos,admin")]
public class DebitosBancariosController : BaseC... | 2.083411 | 007803319ca07144a6a4dfa333203349 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813255 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Judopay/DotNetSDK",
"max_stars_repo_path": "JudoPayDotNetIntegrationTests/JudoPaymentsFactoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132475"
} | starcoder | using JudoPayDotNet;
using NUnit.Framework;
namespace JudoPayDotNetIntegrationTests
{
using JudoPayDotNet.Authentication;
public class JudoPaymentsFactoryTests : IntegrationTestsBase
{
[Test]
public void TestProjectOnlyCreateMethod()
{
// Given I create a new Judo clie... | 2.280476 | 06ab7bba6db439d4e98b58f36ec8c7ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813256 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pulpago/Meadow_Project_Samples",
"max_stars_repo_path": "source/Hackster/WifiWeatherClock/Services/DateTimeService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132476"
} | starcoder | <gh_stars>0
using System;
using System.Diagnostics;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
using WifiWeatherClock.Models;
namespace WifiWeatherClock.Services
{
public static class DateTimeService
{
static string clockDataUri = "http://worldtimeapi.org/api/timezone... | 2.854467 | a5dfefc3c7f2cc6b53fa9c083741f693 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813257 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chi-rei-den/Silverfish",
"max_stars_repo_path": "cards/LOOTAPALOOZA/LOOTA/Sim_LOOTA_842be.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132477"
} | starcoder | <gh_stars>1-10
/* _BEGIN_TEMPLATE_
{
"id": "LOOTA_842be",
"name": [
"武装?",
"Armed?"
],
"text": [
"+3/+3。",
"+3/+3."
],
"cardClass": "NEUTRAL",
"type": "ENCHANTMENT",
"cost": 1,
"rarity": null,
"set": "LOOTAPALOOZA",
"collectible": null,
"dbfId": 47047
}
_END_TEMPLATE_ */
namespa... | 1.358854 | 8eb52328e07066ebaba0e5e660df5a1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813258 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "natureprit/web-api-correlation-id",
"max_stars_repo_path": "src/WebApi.CorrelationId/WebApi.CorrelationId/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132478"
} | starcoder | <filename>src/WebApi.CorrelationId/WebApi.CorrelationId/Startup.cs
using System.Web.Http;
using Owin;
using Serilog;
using WebApi.CorrelationId.MessageHandlers;
namespace WebApi.CorrelationId
{
public class Startup
{
public Startup()
{
Log.Logger = new LoggerConfiguration()
... | 2.224829 | af3053f264fce76146b7223b6c0a322a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813259 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "antoanio/programacionIIIaap",
"max_stars_repo_path": "Segundo Parcial/ejercicio2.singleton/ejercicio2.singleton/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132479"
} | starcoder | <filename>Segundo Parcial/ejercicio2.singleton/ejercicio2.singleton/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ejercicio2.singleton
{
class Program
{
static void Main(string[] args)
{
Oper... | 3.294267 | 58b8bcbca5d8a64fcfd44c2d1bc089cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813260 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GschwindSoftware/lighthouse-examples-net",
"max_stars_repo_path": "Models/Data/Taxation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132480"
} | starcoder | namespace Gschwind.Lighthouse.Example.Models.Data {
/// <summary>
/// Besteuerung des Verkaufs
/// </summary>
public enum Taxation {
/// <summary>
/// Steuerfrei
/// </summary>
None,
/// <summary>
/// Einkommensteuer
/// </summary>
IncomeT... | 2.481776 | a657853ef85c6db88526544d2709567d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813261 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "SammyEnigma/code-generator-winform",
"max_stars_repo_path": "XSLTTemplate/All/Output/BLL/Topmenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132481"
} | starcoder | <filename>XSLTTemplate/All/Output/BLL/Topmenu.cs
using System.Collections.Generic;
using Johnny.CMS.OM;
using Johnny.CMS.DAL;
namespace Johnny.EEE.BLL.Admin
{
/// <summary>
/// A business component to manage Topmenu
/// </summary>
public class Topmenu
{
// Get an instance of the Topmenu DAL
// Making thi... | 2.389714 | 1a787271da1425f1563192b58fdacda9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813262 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "henrikfroehling/Trakt.NET",
"max_stars_repo_path": "Source/Lib/Trakt.NET/Requests/Interfaces/Base/IDeleteRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132482"
} | starcoder | namespace TraktNet.Requests.Interfaces.Base
{
internal interface IDeleteRequest : IRequest
{
}
}
| 1.138279 | 8560ccdca8622de59f6c637c247370d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813263 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LeoGigliotti/bitstrap",
"max_stars_repo_path": "Assets/Editor/AssetImporter/AnimationEventsData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132483"
} | starcoder | using System;
using System.Collections.Generic;
[Serializable]
public class AnimationEventsData
{
public int FPS;
public string Character;
public FrameMarker[] TimelineMarkers;
public ActionToAnimationMarker[] ActionsMarkers;
}
[Serializable]
public class ActionToAnimationMarker
{
public string Name;
public F... | 2.030437 | 92a752572519ed97c0eb070af992a918 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813264 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dougbu/xunit",
"max_stars_repo_path": "src/xunit.v3.common/Internal/EnumerableExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132484"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
namespace Xunit.Internal;
/// <summary>
/// INTERNAL CLASS. DO NOT USE.
/// </summary>
public static class EnumerableExtensions
{
static readonly Func<object, bool> notNullTest = x => x is not null;
/// <summ... | 2.950521 | 22589ff306c717ce0349a751cf424bc9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813265 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ServerlessVideoIngestion/IPCameraClient",
"max_stars_repo_path": "Console/StreamRipper/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132485"
} | starcoder | using System;
using System.Diagnostics;
using System.IO;
using System.Threading;
using ExtensionGoo.Standard.Extensions;
namespace StreamRipper
{
class Program
{
static void Main(string[] args)
{
if (args.Length == 0)
{
Console.WriteLine("Please pass in ... | 2.615271 | 20ec4bcefed6a22d6e6807accf41351d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813266 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bakiya-sefer/bakiya-sefer",
"max_stars_repo_path": "Assets/Scripts/Pool/TriggerZoneController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132486"
} | starcoder | using UnityEngine;
using System.Collections;
using FullInspector;
public class TriggerZoneSharedData : PoolSharedData
{
public string tag = string.Empty;
public GameController.Event enter_call = null;
public GameController.Event exit_call = null;
}
public class TriggerZoneController : PoolObject
{
Tri... | 2.021918 | 0d8a6ee31b03c1aa433cd5a11fe3947b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813267 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "mbikovitsky/BrainTools",
"max_stars_repo_path": "BFLib/Brainloller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132487"
} | starcoder | <gh_stars>10-100
using System.Drawing;
namespace BrainTools
{
/// <summary>
/// Methods for working with Brainloller.
/// </summary>
public static class Brainloller
{
private enum Direction
{
east, west, north, south
};
/// <summary>
/// Encodes... | 3.299308 | 573901116e8fa33b804dd052e805c4ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813268 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bjornharrtell/JsonApiDotNetCore",
"max_stars_repo_path": "test/JsonApiDotNetCoreExampleTests/Acceptance/Spec/EagerLoadTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132488"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Bogus;
using JsonApiDotNetCore.Models;
using JsonApiDotNetCoreExample.Data;
using JsonApiDotNetCoreExample.Models;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json;
using Xunit;
us... | 2.345622 | aff04ec88557ca4a005f89a096e4854c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813269 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Commvault/CVPowershellSDKV2",
"max_stars_repo_path": "generated/api/Models/OverrideReplicationOptionsAmazon.PowerShell.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132489"
} | starcoder | <gh_stars>0
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6365, generator: {generator})
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Commvault.Powershell.Models
{
using Commvault.Powershell.Runtime.PowerShell;
/// <summary>Replicati... | 1.767582 | bd084e0c152a6bd685b98a36dab75a6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813270 | {
"extension": "c-sharp",
"max_stars_count": "90.0",
"max_stars_repo_name": "mr0ng/unity-renderer",
"max_stars_repo_path": "unity-renderer/Assets/Plugins/bc-csharp/crypto/src/asn1/Asn1UniversalTypes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132490"
} | starcoder | <gh_stars>10-100
using System;
namespace Org.BouncyCastle.Asn1
{
internal sealed class Asn1UniversalTypes
{
private Asn1UniversalTypes()
{
}
internal static Asn1UniversalType Get(int tagNo)
{
switch (tagNo)
{
case Asn1Tags.Boolean:
... | 1.934571 | 2cfcd1482e0a44f64744a93482147469 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813271 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "publichealthengland/fingertips-open",
"max_stars_repo_path": "PholioVisualisationWS/DataAccessTest/Repositories/FpmIndicatorMetadataTextValueRepositoryTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132491"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PholioVisualisation.DataAccess.Repositories;
using PholioVisualisation.PholioObjects;
namespace PholioVisualisation.DataAccessTes... | 2.34811 | d1708a2a27e5d7e0eb5ee21970ea49bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813272 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "craigb/namogram-generator",
"max_stars_repo_path": "test/anagrammer.tests/LetterBagTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132492"
} | starcoder | <filename>test/anagrammer.tests/LetterBagTests.cs
using System;
using Xunit;
namespace anagrammer.tests
{
public class WordTests
{
[Theory]
[InlineData("cat", "tac")]
[InlineData("asdf", "FASD")]
[InlineData("taco", "ta", "co")]
public void AreAnagrams(string ... | 3.12974 | d2a4dc64168e016ae3c99163084eb592 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813273 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anibalvelarde/Rocks",
"max_stars_repo_path": "Rocks/Construction/Persistence/PersistenceMethodInformationBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132493"
} | starcoder | <reponame>anibalvelarde/Rocks<filename>Rocks/Construction/Persistence/PersistenceMethodInformationBuilder.cs
using Rocks.Extensions;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
namespace Rocks.Construction.Persistence
{
internal sealed class... | 2.525104 | 014dfc043f73dce4a65a6f37d8bf5376 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813274 | {
"extension": "c-sharp",
"max_stars_count": "174.0",
"max_stars_repo_name": "anuragvajpayee/opentelemetry-dotnet-instrumentation",
"max_stars_repo_path": "src/Datadog.Trace/Vendors/StatsdClient/Transport/NamedPipeTransport.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132494"
} | starcoder | <gh_stars>100-1000
//------------------------------------------------------------------------------
// <auto-generated />
// This file was automatically generated by the UpdateVendors tool.
//------------------------------------------------------------------------------
#if NAMED_PIPE_AVAILABLE
using System;
using Syst... | 2.286727 | 3cd3ff012308a830ed1ba7dd28456a08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813275 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marcospgp/StyleCopAnalyzers",
"max_stars_repo_path": "StyleCop.Analyzers/StyleCop.Analyzers.Test/LightJson/Serialization/JsonReaderTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132495"
} | starcoder | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.Test.LightJson.Serialization
{
using System;
using System.IO;
using global::LightJson;
usin... | 2.44496 | 0dc7a53bb740f7a3df445a32c4a7857e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813276 | {
"extension": "c-sharp",
"max_stars_count": "325.0",
"max_stars_repo_name": "Esri/arcgis-runtime-samples-dotne",
"max_stars_repo_path": "src/WinUI/ArcGISRuntime.WinUI.Viewer/WinUIHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132496"
} | starcoder | <filename>src/WinUI/ArcGISRuntime.WinUI.Viewer/WinUIHelpers.cs<gh_stars>100-1000
using ArcGISRuntime.WinUI.Viewer;
using System.Collections.Generic;
using Windows.Foundation;
using Windows.UI.Popups;
namespace ArcGISRuntime.WinUI
{
/// <summary>
/// Wrapper around MessageDialog that simplifies hooking the win... | 2.237193 | d969482a7c0ad89a1f8f9a6307758952 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813277 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anydream/corert",
"max_stars_repo_path": "src/System.Private.CoreLib/shared/System/MemoryDebugView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132497"
} | starcoder | <reponame>anydream/corert<filename>src/System.Private.CoreLib/shared/System/MemoryDebugView.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnost... | 2.170703 | 0edc002b8f3b92753d814b5ceaea28c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813278 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "zmjack/NStd",
"max_stars_repo_path": "NStandard/~System/XArray - Multiple - ToJagged.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132498"
} | starcoder | namespace NStandard
{
public static partial class XArray
{
#region Multidimensional Array ToJaggedArray
/// <summary>
/// Converts jagged array to multidimensional array.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="this"></param>
... | 2.838264 | 7fbd023029a4b33987638146815f8c82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813279 | {
"extension": "c-sharp",
"max_stars_count": "269.0",
"max_stars_repo_name": "mi8/azure-mobile-services",
"max_stars_repo_path": "test/ZumoE2EServerApp/Controllers/AuthenticatedController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132499"
} | starcoder | <reponame>mi8/azure-mobile-services<filename>test/ZumoE2EServerApp/Controllers/AuthenticatedController.cs
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ---------------------------------------------------------------------... | 1.769226 | 166bbfa5cd73dd9239dcb776ecefe62e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813280 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "niuniuzhu/AnimalRunning",
"max_stars_repo_path": "Project/Protocol/Gen/_PACKET_ROOM_QCMD_LEAVE_ROOM.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132500"
} | starcoder | using Core.Net;
using Core.Net.Protocol;
namespace Protocol.Gen
{
[Packet( 103, 0 )]
public class _PACKET_ROOM_QCMD_LEAVE_ROOM : Packet
{
public _PACKET_ROOM_QCMD_LEAVE_ROOM() : base( 103, 0 )
{
}
protected override void InternalSerialize( StreamBuffer buffer )
{
base.InternalSerialize( buffe... | 2.072609 | 4f0551df660cae1495a3a05f357ff322 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813281 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "josephmyers/libpalaso",
"max_stars_repo_path": "SIL.Windows.Forms/Reporting/ExceptionReportingDialog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132501"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using L10NSharp;
using SIL.Email;
using SIL.Reporting;
using SIL.Windows.Forms.Miscellaneous;
using static System.String;
namespace SIL.Windows.Forms.Re... | 2.396907 | 232e253b681c7570d2a84290b0abccbf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813282 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Google-Patika-dev-Casual-Game-Bootcapms/galaxy-destroyer",
"max_stars_repo_path": "Assets/Game/Components/InGame/EnemyFactory/HeliA17.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132502"
} | starcoder | <reponame>Google-Patika-dev-Casual-Game-Bootcapms/galaxy-destroyer
namespace SpaceShooterProject.Component
{
using UnityEngine;
using System.Collections;
public class HeliA17 : Enemy
{
public override void Attack()
{
}
public override void Death()
{
... | 1.488027 | 71ec65f9fc6563a15e4b0ab7daa90d6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813283 | {
"extension": "c-sharp",
"max_stars_count": "109.0",
"max_stars_repo_name": "leonio/RestLess",
"max_stars_repo_path": "src/RestLess.Tasks/Extensions/RoslynExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132503"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using RestLess.Tasks;
using RestLess.Tasks.Helpers;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
using System;
namespace RestLess
{
inter... | 2.376538 | 9ed58a719d3f78a988b6a4c9192e1974 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813284 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TClaypool00/ShoelessJoeApiV2",
"max_stars_repo_path": "ShoelessJoeWebApi.DataAccess/DataModels/Comment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132504"
} | starcoder | <reponame>TClaypool00/ShoelessJoeApiV2
using ShoelessJoeWebApi.DataAccess.PartialClassees;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace ShoelessJoeWebApi.DataAccess.DataModels
{
public class Comment : PartialPost
{
[Key]
public int CommentId { get; s... | 1.649906 | 532ae764d64c8c12627b8ffe32add597 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813285 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "georgiakalyva/Kinemat-Desktop",
"max_stars_repo_path": "Kinemat - Desktop/Dependencies/Microsoft.Kinect.Toolkit.Controls/HandType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132505"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="HandType.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Microsoft.Kinect.Toolk... | 2.574701 | 9e6109bdd6651cae51cc879c95519ac1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813286 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "std66/TomiSoft.Launcher",
"max_stars_repo_path": "TomiSoft.Launcher.UI/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132506"
} | starcoder | <gh_stars>0
using Microsoft.Extensions.DependencyInjection;
using System;
using System.IO;
using System.Windows;
namespace TomiSoft.Launcher.UI
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
protected override void OnStartup(Start... | 2.264081 | 0bf0ae598ecded94e8f6079bba8a6fd8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813287 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "astro-panda/BasicRepos",
"max_stars_repo_path": "tests/Repositories/MoamrathRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132507"
} | starcoder | using BasicRepos.Test.Setup;
namespace BasicRepos.Test.Repositories
{
public class MoamrathRepository : GuidKeyedRepository<Moamrath>
{
public MoamrathRepository(TestDbContext db) : base(db)
{
}
}
}
| 1.50848 | f08d8a3315ed8fa9b1f161fc7ebf5cd4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813288 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ga-explorer/NumericalGeometryLib",
"max_stars_repo_path": "TextComposerLib/TextComposerLib/Text/Parametric/StringSequenceTemplate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132508"
} | starcoder | namespace TextComposerLib.Text.Parametric
{
public sealed class StringSequenceTemplate : ParametricTextComposer
{
public static readonly string IndexParamName = "index";
public static readonly string NameParamName = "name";
public string IndexFormatString { get; set; }
publi... | 2.941564 | 4c6ffbe5fe004ebb34098b75d3d663fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813289 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "gainorloss/Apsk",
"max_stars_repo_path": "framework/src/Apsk/Abstractions/IEventStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132509"
} | starcoder | // <copyright file="IEventStorage.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
namespace Apsk.Abstractions
{
using System;
using System.Threading.Tasks;
/// <summary>
/// 事件存储器.
/// </summary>
public interface IEventStorage : IDis... | 2.315828 | 83465ea864bc28de3554a1ec773891e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813290 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "codeno47/efc",
"max_stars_repo_path": "trunk/dev/EFC.Framework/src/EFC.Components/Events/Event.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132510"
} | starcoder | <filename>trunk/dev/EFC.Framework/src/EFC.Components/Events/Event.cs
// ----------------------------------------------------------------------------
// <copyright company="EFC" file ="Event.cs">
// All rights reserved Copyright 2015 Enterprise Foundation Classes
//
// </copyright>
// <summary>
// The <see cref="Ev... | 2.723278 | a6b679d55c779a64c254f94f0ed3eff3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813291 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "SharpKit/SharpKit-SDK",
"max_stars_repo_path": "Defs/NodeJs/zlib/Unzip.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132511"
} | starcoder | using System;
using System.Collections.Generic;
using SharpKit.JavaScript;
namespace SharpKit.NodeJs.zlib
{
/// <summary>
/// <p>Decompress either a Gzip- or Deflate-compressed stream by auto-detecting
/// the header.
/// </p>
/// </summary>
public partial class Unzip
{
}
}
| 1.755571 | e16283e4fb1c9cff5bb4fd415865d4f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813292 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexlo94/Tailwind",
"max_stars_repo_path": "Tailwind/Assets/Scripts/RotatingCollectible.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132512"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RotatingCollectible : MonoBehaviour {
public float speed = 10f;
void Update(){
transform.Rotate (transform.up, speed*Time.deltaTime);
}
}
| 2.019047 | ec9c3098d70cd4d30075212875b4659f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813293 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeanluctritsch/CommunityServer",
"max_stars_repo_path": "web/studio/ASC.Web.Studio/Products/Community/Modules/Forum/Core/Shared/Thread.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132513"
} | starcoder | <filename>web/studio/ASC.Web.Studio/Products/Community/Modules/Forum/Core/Shared/Thread.cs
/*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* 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... | 1.929986 | 4fbe693b8566dd2a7ecae32395e5632b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813294 | {
"extension": "c-sharp",
"max_stars_count": "279.0",
"max_stars_repo_name": "b1pb1p/DotNetClub",
"max_stars_repo_path": "src/DotNetClub.Web/ViewModels/My/MessagesViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132514"
} | starcoder | using DotNetClub.Core.Model.Message;
using System.Collections.Generic;
namespace DotNetClub.Web.ViewModels.My
{
public class MessagesViewModel
{
public List<MessageModel> UnreadMessageList { get; set; }
public List<MessageModel> HistoryMessageList { get; set; }
}
}
| 1.378997 | 69ffef399db21bad9175ddaa6cbae2cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813295 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rosenbjerg/AgentDeploy",
"max_stars_repo_path": "server/AgentDeploy.Models/Exceptions/WebsocketSessionNotFoundException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132515"
} | starcoder | <filename>server/AgentDeploy.Models/Exceptions/WebsocketSessionNotFoundException.cs
using System;
using System.Runtime.Serialization;
namespace AgentDeploy.Models.Exceptions
{
[Serializable]
public sealed class WebsocketSessionNotFoundException : WebsocketException
{
public WebsocketSessionNotFound... | 2.043812 | f1229317db11ea51bd0a1e74d19624a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813296 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "geeooff/dotnet-nginx-auth-request",
"max_stars_repo_path": "Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132516"
} | starcoder | <reponame>geeooff/dotnet-nginx-auth-request
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.... | 1.862686 | 42ccec0686484102330750551f1628b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813297 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "polklabs/Project-Bit",
"max_stars_repo_path": "Assets/Scripts/IntegratedCircuits/PQ210G_SftRegister8Bit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132517"
} | starcoder | using System.Runtime.Serialization;
namespace IntegratedCircuits
{
[DataContract]
public class PQ210G_SftRegister8Bit : IntegratedCircuit
{
[DataMember]
private readonly Chips.Shift_Register_8Bit Chip;
public PQ210G_SftRegister8Bit() : base(16)
{
IcType = ICTyp... | 2.265658 | 312a77929bdea43002e9e7f6150b773f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813298 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dupeng0811/ExportSqlserverToMySql",
"max_stars_repo_path": "ExportSqlserverToMySqlConsole/ExportSqlserverToMySqlConsole/BookSharings/WechatKeyWordAutoReply.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132518"
} | starcoder | <filename>ExportSqlserverToMySqlConsole/ExportSqlserverToMySqlConsole/BookSharings/WechatKeyWordAutoReply.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace ReadBook.ManagementPlatform
{
public class WechatKeyWordAutoReply
{
[Required]
... | 1.826123 | 347baf461713c6e3027c8b5161d42dc9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813299 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "normj/discoverdotnet",
"max_stars_repo_path": "src/DiscoverDotnet/Pipelines/Issues/AllIssuePages.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132519"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DiscoverDotnet.Models;
using DiscoverDotnet.Modules;
using Statiq.Common;
using Statiq.Core;
using Statiq.Json;
using Statiq.Minification;
using Statiq.Yaml;
namespace DiscoverDotnet.Pipelines.Issues
{
public class AllIssu... | 1.871302 | 4982f8dedb8ed2ee082088b0f866580c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813300 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DaemonUmbra/NHTI-Capstone",
"max_stars_repo_path": "Assets/Scripts/Projectile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132520"
} | starcoder | using UnityEngine;
using UnityEngine.Collections;
using System.Collections.Generic;
// Enum of projectile types
//public enum ProjectileType { BULLET, LAZER };
[RequireComponent(typeof(Rigidbody))]
public class Projectile : MonoBehaviour
{
private Rigidbody rb;
protected GameObject _shooter;
protected P... | 2.148857 | 50e512e83bbf6127a2f130895286a496 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813301 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DovetailSoftware/fubuvalidation",
"max_stars_repo_path": "src/FubuMVC.Validation/ValidationFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132521"
} | starcoder | <reponame>DovetailSoftware/fubuvalidation<filename>src/FubuMVC.Validation/ValidationFilter.cs
using FubuValidation;
namespace FubuMVC.Validation
{
public interface IValidationFilter<T>
{
Notification Validate(T input);
}
public class ValidationFilter<T> : IValidationFilter<T>
{
... | 2.316572 | f23a1750ff286a0b2c850315f1407db1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813302 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DSvinka/2DMobileGame",
"max_stars_repo_path": "Assets/Code/UnityUtils/UnityNotificationTools.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132522"
} | starcoder | using System;
using UnityEngine;
#if UNITY_ANDROID
using Unity.Notifications.Android;
#elif UNITY_IOS
using Unity.Notifications.iOS;
#endif
namespace Code.UnityUtils
{
public sealed class UnityNotificationTools
{
private const string AndroidNotifierId = "dsvinka_racinggame2d_id";
public void... | 2.099778 | 09f242100cdd5d75f434ae304db7cde2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813303 | {
"extension": "c-sharp",
"max_stars_count": "793.0",
"max_stars_repo_name": "akrisiun/Mvc5",
"max_stars_repo_path": "test/System.Web.Http.WebHost.Test/SeekableBufferedRequestStreamTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132523"
} | 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 System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Text;
using System.Thread... | 2.561219 | 789f9690b23a4cc358ffa725859968a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813304 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PheonixScale9094/ImperatorToCK3",
"max_stars_repo_path": "ImperatorToCK3.UnitTests/Outputter/DynastiesOutputterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132524"
} | starcoder | using commonItems;
using commonItems.Localization;
using ImperatorToCK3.CK3.Dynasties;
using ImperatorToCK3.Imperator.Families;
using ImperatorToCK3.Outputter;
using System.IO;
using Xunit;
namespace ImperatorToCK3.UnitTests.Outputter;
public class DynastiesOutputterTests {
[Fact]
public void DynastiesAreOutputted... | 2.486449 | 21f769d7bf58c2f4e9e491c68418005e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813305 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Cyl18/UnoSharp",
"max_stars_repo_path": "UnoSharp/Config.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132525"
} | starcoder | <filename>UnoSharp/Config.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UnoSharp
{
public class Config
{
private const string ConfigPath = "UnoSharp.json";
public void Save()
{
... | 2.597219 | 8a04f9e3c1ce636e2fe16f97bcacaf89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813306 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Milliy-Dasturchilar/RTM-Margilan",
"max_stars_repo_path": "BackEnd/DavomatProject.Api/Controllers/CourseCategoryController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132526"
} | starcoder | <filename>BackEnd/DavomatProject.Api/Controllers/CourseCategoryController.cs
using Microsoft.AspNetCore.Mvc;
using ProjectDavomat.BL.Interface;
using ProjectDavomat.Domain;
using System;
using System.Threading.Tasks;
namespace DavomatProject.Api.Controllers
{
[ApiController, Route("api/[controller]")]
public ... | 2.33176 | 97978eedc221ab75e3077054ff15448d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813307 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gl0/alkahest",
"max_stars_repo_path": "Alkahest.Core/Game/Appearance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132527"
} | starcoder | <reponame>Gl0/alkahest
using System;
namespace Alkahest.Core.Game
{
public readonly struct Appearance : IEquatable<Appearance>
{
public ulong Raw { get; }
public byte Unknown => (byte)Bits.Extract(Raw, 0, 8);
public byte SkinColor => (byte)Bits.Extract(Raw, 8, 8);
public byte... | 2.918022 | 32c6dd07e75ac0ed97f7d4ac38fb6d37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813308 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sguzunov/Telerik-Academy-2015-2016",
"max_stars_repo_path": "KPK/Code Tuning and Optimization/CompareAdvancedMath/Tester.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132528"
} | starcoder | namespace CompareAdvancedMath
{
using System;
public class Tester
{
public static void Main(string[] args)
{
var tester = new MathPerformanceComperator();
//tester.TestPerformance(Functions.Sqrt);
//tester.TestPerformance(Functions.log);
//t... | 2.245146 | 2fd9e5e9253491baa2926daec27ddf9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813309 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dewanto/TA4Net",
"max_stars_repo_path": "TA4Net/Extensions/DateTimeExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132529"
} | starcoder | <reponame>dewanto/TA4Net<gh_stars>1-10
using System;
using System.Globalization;
namespace TA4Net.Extensions
{
public static class DateTimeExtensions
{
public static bool IsBefore(this DateTime one, DateTime other)
{
return other > one;
}
public static bool IsAfter... | 3.544876 | ed75b735f8486733c9ceef369c0d1ced |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813310 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ScriptBox99/Power-Fx",
"max_stars_repo_path": "src/libraries/Microsoft.PowerFx.Core/Texl/Builtins/Text.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132530"
} | starcoder | <reponame>ScriptBox99/Power-Fx
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Collections.Generic;
using Microsoft.PowerFx.Core.App.ErrorContainers;
using Microsoft.PowerFx.Core.Errors;
using Microsoft.PowerFx.Core.Functions;
using Microsoft.PowerFx.Core.Localization;
using Mi... | 1.908291 | b93ec37061bdf38d16e76c80e2e1ce5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813311 | {
"extension": "c-sharp",
"max_stars_count": "117.0",
"max_stars_repo_name": "Arainsd/Wms",
"max_stars_repo_path": "src/TygaSoft/WcfModel/OrderReceiptProductFmModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132531"
} | starcoder | <gh_stars>100-1000
using System;
using System.Runtime.Serialization;
namespace TygaSoft.WcfModel
{
[DataContract(Name = "OrderReceiptProductFmModel")]
public class OrderReceiptProductFmModel
{
[DataMember]
public object Id { get; set; }
[DataMember]
public object OrderId {... | 1.694242 | 88f7778917949a59b93c0b599cd7d537 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813312 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "0ceal0t/Dalamud-VFXEditor",
"max_stars_repo_path": "VFXEditor/Avfx/Vfx/Emitter/Data/UIEmitterDataSphereModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132532"
} | starcoder | <reponame>0ceal0t/Dalamud-VFXEditor
using AVFXLib.Models;
using ImGuiNET;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VFXEditor.Avfx.Vfx
{
public class UIEmitterDataSphereModel : UIData {
public AVFXEmitterDataSphereModel Dat... | 1.864388 | a03d3077d40e62800abf0697868560dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813313 | {
"extension": "c-sharp",
"max_stars_count": "149.0",
"max_stars_repo_name": "dkdk-ryu/TizenFX",
"max_stars_repo_path": "test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/internal/Common/TSDefaultRuler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132533"
} | starcoder | <gh_stars>100-1000
using global::System;
using NUnit.Framework;
using NUnit.Framework.TUnit;
using Tizen.NUI.Components;
using Tizen.NUI.BaseComponents;
namespace Tizen.NUI.Devel.Tests
{
using tlog = Tizen.Log;
[TestFixture]
[Description("internal/Common/DefaultRuler")]
public class InternalDefaultRu... | 2.115054 | d01b87042c1dd9d427424e0624c59858 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813314 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "SaladLab/TicTacToe",
"max_stars_repo_path": "src/GameServer/GameService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132534"
} | starcoder | <reponame>SaladLab/TicTacToe<filename>src/GameServer/GameService.cs
using System;
using System.Configuration;
using Aim.ClusterNode;
using Akka.Configuration.Hocon;
using Common.Logging;
using Domain;
using Topshelf;
namespace GameServer
{
public class GameService : ServiceControl
{
private ILog _log ... | 2.138132 | 32a836acee988233c24fdee4b4430d9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813315 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kodoftw/LeetCode",
"max_stars_repo_path": "LeetCode/561-ArrayPartitionI/Solution.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132535"
} | starcoder | using System;
namespace _561_ArrayPartitionI
{
internal class Solution
{
public int ArrayPairSum(int[] nums)
{
Array.Sort(nums);
int sum = 0;
for (int i = 0; i < nums.Length; i += 2)
{
sum += nums[i];
}
r... | 3.042493 | 5e9379439768d1b6e0e5a7fc9bb00894 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813316 | {
"extension": "c-sharp",
"max_stars_count": "108.0",
"max_stars_repo_name": "nezdolik/reproto",
"max_stars_repo_path": "it/interfaces/structures/default/csharp/Test/Entry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132536"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Text;
namespace Test {
[JsonObject(ItemNullValueHandling = NullValueHandling.Ignore)]
public class Entry {
[JsonProperty("tagged")]
public Tagged tagged {
get;
}
[JsonProperty("untagged")]
public Untagged untagged {
get;
}
[... | 2.855932 | 63647b56288a361f2bbeba6ad71977e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813317 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TechnologyEnhancedLearning/DLSV2",
"max_stars_repo_path": "DigitalLearningSolutions.Web/Views/Frameworks/Developer/RemoveDefaultQuestion.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:132537"
} | starcoder | <filename>DigitalLearningSolutions.Web/Views/Frameworks/Developer/RemoveDefaultQuestion.cshtml
@using DigitalLearningSolutions.Web.ViewModels.Frameworks
@model RemoveDefaultQuestionViewModel;
@{
ViewData["Title"] = "Remove Default Questions";
ViewData["Application"] = "Framework Service";
}
<link rel="stylesheet" ... | 1.913211 | 3af9bbe5645ab07ee445a9c3961ab1b8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.