added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70733 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MartinLRodrigues/GitflowTest",
"max_stars_repo_path": "GitflowTest/GitflowTestApp/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70734"
} | starcoder | <gh_stars>0
using System;
namespace GitflowTestApp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello Gitflow!");
Console.WriteLine("New message added in feature branch");
Console.WriteLine("Hotfix 1");
Console.WriteLine... | 1.78993 | 717e32a961356cc8f72585ac7546c233 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70734 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ck-alien/wckgj22",
"max_stars_repo_path": "WCKGJ-2022/Assets/Scripts/Game/GameStateMachine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70735"
} | starcoder | <filename>WCKGJ-2022/Assets/Scripts/Game/GameStateMachine.cs
using EarthIsMine.FSM;
using UnityEngine;
namespace EarthIsMine.Game
{
public enum StageTypes
{
Day, Night
}
public class GameStateMachine : StateMachine
{
[field: SerializeField]
public Vector2 EnemySpawnPosition... | 1.93295 | 22060fca6fb55302e6b6702e144e554f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70735 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dst3p/x9",
"max_stars_repo_path": "Framework/Models/CheckDetailAddendumB.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70736"
} | starcoder | namespace X9.Models
{
public class CheckDetailAddendumB : X9Record
{
public override string RecordType { get; set; } = "27";
}
}
| 1.082514 | 5e255d62d860e8f7e637f966325890ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70736 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bmjoy/Regulus",
"max_stars_repo_path": "Regulus.Utility/Serialization/Varint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70737"
} | starcoder | <reponame>bmjoy/Regulus
namespace Regulus.Serialization
{
public class Varint
{
public static int NumberToBuffer(byte[] buffer, int offset, int value)
{
return Varint.NumberToBuffer(buffer, offset, (ulong)value);
}
public static int NumberToBuffer(byte[] buffer, in... | 2.740619 | 8a424c9761677510102a43a8c6cff4d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70737 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IVOBrugge/CsCourse.ClassesAndObjects",
"max_stars_repo_path": "CsCourse.ClassesAndObjects.WPF/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70738"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 2.624869 | a572395cae90523f55baafbbc92847ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70738 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "moto2002/tianqi_src",
"max_stars_repo_path": "src/AchievementUI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70739"
} | starcoder | using Foundation.Core.Databinding;
using GameData;
using Package;
using System;
using System.Collections.Generic;
using UnityEngine.UI;
public class AchievementUI : UIBase
{
public ListView2 list;
private List<HuoYueDu> activis;
private int getBoxed;
private void Awake()
{
base.AwakeBase(BindingContext.Bindi... | 1.525243 | b74cf03436eadf5e43ed1348346345b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70739 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thisnullptr/ImageProcessing",
"max_stars_repo_path": "src/ShapeRecognition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70740"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Text;
namespace ArtificialApplication
{
class ShapeRecognition
{
ShapeRecognition()
{
}
~ShapeRecognition()
{
}
public stati... | 3.106392 | fffcc1ead2beede7aaaa8a8ba0603619 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70740 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "grazies/Phoenix",
"max_stars_repo_path": "CMP/Setup/SetupCMP/Helpers/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70741"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="SetupConstants.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <summary> Provides constants for use in the setup.
// </summary>
//---------------------------------... | 1.913869 | b150a82300bf3578c22e47eb4c78d0ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70741 | {
"extension": "c-sharp",
"max_stars_count": "1472.0",
"max_stars_repo_name": "sattew/XamarinCommunityToolkit",
"max_stars_repo_path": "samples/XCT.Sample/Pages/Views/BadgeViewPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70742"
} | starcoder | <reponame>sattew/XamarinCommunityToolkit<gh_stars>1000+
using Xamarin.Forms;
namespace Xamarin.CommunityToolkit.Sample.Pages.Views
{
public partial class BadgeViewPage : BasePage
{
public BadgeViewPage() => InitializeComponent();
}
} | 1.068869 | 2aa4475782fc4b42e3eac1e175db1975 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70742 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "velunin/MassTransit",
"max_stars_repo_path": "src/MassTransit/DiagnosticSourceExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70743"
} | starcoder | namespace MassTransit
{
using System.Collections.Generic;
using System.Linq;
using Context;
using Logging;
public static class DiagnosticSourceExtensions
{
public static void AddSendContextHeaders(this StartedActivity? startedActivity, SendContext context)
{
if (!st... | 2.030856 | 263f66461507720147680560261dd769 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70743 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AlexanderSher/RTVS-Old",
"max_stars_repo_path": "src/SetupCustomActions/YesNoMessageBox.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70744"
} | starcoder | namespace SetupCustomActions {
partial class YesNoMessageBox {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.94471 | f2e45e5c5479fcb7d276a811ebe011b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70744 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "Zechsu/OpenNefia",
"max_stars_repo_path": "OpenNefia.Core/GameObjects/EntityCreationException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70745"
} | starcoder | using System;
using System.Runtime.Serialization;
namespace OpenNefia.Core.GameObjects
{
/// <summary>
/// Thrown if an entity fails to be created due to an exception inside a component.
/// </summary>
/// <remarks>
/// See the <see cref="Exception.InnerException"/> for the actual exception... | 2.65355 | f96285654196f8c45a38c4de69a88f9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70745 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexanderPetrovv/Programming-Basics-December-2016",
"max_stars_repo_path": "SimpleCalculations/CurrencyConverterWithElseIf/CurrencyConverterWithElseIf.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70746"
} | starcoder | <filename>SimpleCalculations/CurrencyConverterWithElseIf/CurrencyConverterWithElseIf.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CurrencyConverterWithElseIf
{
class CurrencyConverterWithElseIf
{
static void Main(strin... | 3.50324 | 1b49ecc3fd0af1ccb99e78e9c05174d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70746 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pirocorp/Databases-Advanced---Entity-Framework",
"max_stars_repo_path": "12. Workshops/Adding a persistence layer to an OOP Exam/Solution/AcTester.Helpers/Enumerations/EnergyEfficiencyRating.cs",
"provenance": "train-00000-of-00045.js... | starcoder | namespace AcTester.Helpers.Enumerations
{
public enum EnergyEfficiencyRating
{
A = 999,
B = 1250,
C = 1500,
D = 2000,
E = 2001
}
}
| 1.81958 | 8dcc84eedaae2895618f812e0c97edb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70747 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tenhobi-masters-thesis/backend",
"max_stars_repo_path": "KingKarel/KingKarel/Repository/Contract/IUserRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70748"
} | starcoder | using KingKarel.Dto;
namespace KingKarel.Repository.Contract;
public interface IUserRepository
{
public Task<UserWithHashDto?> GetUser(int id);
public Task<UserWithHashDto?> GetUserByUsername(string username);
public Task<UserWithHashDto?> CreateUser(RegisterDto userData, string passwordHash);
} | 1.704562 | 8482256e6a99eb7511b862550201fd38 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70748 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HttpSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70749"
} | starcoder | <filename>sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HttpSource.cs
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) Au... | 1.853261 | 780bf679753d47ac7877f17fa8c5f1aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70749 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Joppe-A/rce-checkers2",
"max_stars_repo_path": "CheckersManager/Views/Profile/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:70750"
} | starcoder | @model IEnumerable<Trezorix.ResourceRepository.Resource<Trezorix.Checkers.DocumentChecker.Profiles.Profile>>
@{
ViewBag.Title = "Index";
}
<h2>Profile index</h2>
<table border="0" cellpadding="0" cellspacing="0">
<thead>
<tr>
<th>Id</th>
<th>Name</th>
<th>Language... | 2.390493 | ecce7dc2f6ba4664581e11a2b9f5828c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70750 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "longqinsi/Immutable-Collections-For-.Net-4.0",
"max_stars_repo_path": "System/Collections/Immutable/IImmutableList!1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70751"
} | starcoder | <gh_stars>0
using System.Collections.Generic.V40;
namespace System.Collections.Immutable
{
using System;
using System.Collections;
using System.Collections.Generic;
public interface IImmutableList<T> : IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable
{
IImmutableList<... | 2.208155 | 512f3cc873d128a485452f98aca566b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70751 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexProkhor/DotNext-Moscow-2020",
"max_stars_repo_path": "infrastructure/Infrastructure/AspNetCore/ActionResultBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70752"
} | starcoder | <filename>infrastructure/Infrastructure/AspNetCore/ActionResultBuilder.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Force.Ccc;
using Infrastructure.Validation;
using Infrastructure.Workflow;
using Microsoft.AspNet... | 2.239347 | 0ecac855ae946329aab1cb18dc0b75a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70752 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "erinloy/Towel",
"max_stars_repo_path": "Sources/Towel.Physics/Shapes/Sphere.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70753"
} | starcoder | <gh_stars>0
using System;
using Towel.Mathematics;
using static Towel.Syntax;
namespace Towel.Physics.Shapes
{
public class Sphere<T> : XenoScan<T>
{
private Vector<T> _position;
private Quaternion<T> _orientation;
private T _radius;
public Sphere() : base()
{
... | 2.716761 | 272440489f49bc7d675f6e279f3d58af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70753 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "catcherwong-archive/EasyCaching",
"max_stars_repo_path": "test/EasyCaching.UnitTests/CachingTests/HybridCachingTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70754"
} | starcoder | namespace EasyCaching.UnitTests
{
using EasyCaching.Bus.Redis;
using EasyCaching.Core;
using EasyCaching.Core.Bus;
using EasyCaching.HybridCache;
using EasyCaching.InMemory;
using EasyCaching.Redis;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
... | 1.988726 | 187f769bcd985945d3a7ebd6bdd43946 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70754 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "coseguera/saveit",
"max_stars_repo_path": "SaveIt.Common/SaveIt.Common/ISaveItService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70755"
} | starcoder | using SaveIt.Common.Repositories;
namespace SaveIt.Common
{
public interface ISaveItService
{
ISaveItUserRepository Users { get; set; }
ISaveItEntityRepository<Account> Accounts { get; set; }
ISaveItEntityRepository<AccountTransaction> AccountTransactions { get; set; }
ISaveI... | 1.506828 | 727e52c243be4538c1f0b8b690e94030 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70755 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "theoners/Programming-Fundamentals",
"max_stars_repo_path": "Arrays - Exercises/08. Most Frequent Number/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70756"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
namespace _08._Most_Frequent_Number
{
class Program
{
static void Main(string[] args)
{
long[] array =Console.ReadLine().Split(' ').Select(long.Parse).ToArray();
long count = 0;
long maxCount = 1;
l... | 3.547157 | 371ba2cb9855045dcec95f220787045f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70756 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CyborTronik/commanddotnet",
"max_stars_repo_path": "CommandDotNet/Indent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70757"
} | starcoder | namespace CommandDotNet
{
/// <summary>
/// Encapsulates logic for creating indents, providing consistency across composed reporting methods.
/// </summary>
public class Indent
{
private readonly Indent _previousDepth;
private Indent _nextDepth;
/// <summary>The value of a ... | 3.469801 | ffc05090ac089e9db12a75d1fd3a5e19 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70757 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Yakusari/miningcore",
"max_stars_repo_path": "src/Miningcore/Persistence/Repositories/IShareRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70758"
} | starcoder | using System.Data;
using Miningcore.Persistence.Model;
using Miningcore.Persistence.Model.Projections;
namespace Miningcore.Persistence.Repositories;
public interface IShareRepository
{
Task InsertAsync(IDbConnection con, IDbTransaction tx, Share share);
Task BatchInsertAsync(IDbConnection con, IDbTransaction... | 1.545458 | 9d7286cda6471669b8ac435fd0ba6f0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70758 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "IHunelI/-Prototype-IdleMinerTycoon",
"max_stars_repo_path": "IdleClicker/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/UI/Core/Layout/LayoutElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70759"
} | starcoder | <gh_stars>10-100
using UnityEngine.EventSystems;
namespace UnityEngine.UI
{
[AddComponentMenu("Layout/Layout Element", 140)]
[RequireComponent(typeof(RectTransform))]
[ExecuteAlways]
/// <summary>
/// Add this component to a GameObject to make it into a layout element or override values on an exist... | 2.482001 | e7433c92a902fe0ac89c9f125d3e51ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70759 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gfoidl-Tests/ExpressionEvaluator",
"max_stars_repo_path": "source/ExpressionCompiler/Tokens/Operations/Modulo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70760"
} | starcoder | <reponame>gfoidl-Tests/ExpressionEvaluator
using ExpressionCompiler.Expressions;
namespace ExpressionCompiler.Tokens
{
internal class Modulo : Operation
{
public Modulo(Position position) : base("Modulo", 3, position) { }
//---------------------------------------------------------------------
... | 1.616553 | b3fde858da91f6e464366260c6485564 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70760 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "better-reports/HelpScoutSharp",
"max_stars_repo_path": "HelpScoutSharp/Conversations/ConversationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70761"
} | starcoder | <filename>HelpScoutSharp/Conversations/ConversationService.cs
using Flurl;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace HelpScoutSharp
{
public class ConversationService : ServiceBase, IListableService<Conversation, ListConversationsOptions>
{
... | 2.492429 | 71377cbfe040a517a16ee17fa4fb72f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70761 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dananden/amazon-gamelift-plugin-unity",
"max_stars_repo_path": "Runtime/Core/InstalledJavaVersionCheck/InstalledJavaVersionProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70762"
} | starcoder | <gh_stars>0
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Diagnostics;
using System.Text.RegularExpressions;
using AmazonGameLiftPlugin.Core.JavaCheck.Models;
using AmazonGameLiftPlugin.Core.Shared;
using AmazonGameLiftPlugin.Cor... | 2.227735 | 04736ce3fc80f4786e87411907a7b1a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70762 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/synapse/Azure.Analytics.Synapse.ManagedPrivateEndpoints/src/Customization/ManagedPrivateEndpointsClientOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70763"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Azure.Core;
[assembly: Azure.Core.CodeGenSuppressTypeAttribute("ManagedPrivateEndpointsClientOptions")]
#pragma warning disable SA1402 // File may only contain a single type
namespace Azure.Analytics... | 2.526774 | 7972ca15432cf3a12057ee040499b8c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70763 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Bhaskers-Blu-Org2/bion",
"max_stars_repo_path": "csharp/BSOA/BSOA.Generator/Schema/Table.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70764"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
namespace BSOA.Generator.Schema
{
public class Table
{
public string Name { get; set; }
public IList<Column> Columns { get; set; }
public Table(string name... | 1.94012 | e92f946e71719d3f0fa1334a92503ff2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70764 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PolarGoose/PrinterWebInterface",
"max_stars_repo_path": "src/Printer/LinuxPrinter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70765"
} | starcoder | using Microsoft.Extensions.Configuration;
using PrinterWebInterface.Utils;
namespace PrinterWebInterface.Printer
{
public class LinuxPrinter : IPrinter
{
private readonly string PrinterName;
public LinuxPrinter(IConfiguration configuration)
{
PrinterName = configuration["Pr... | 2.531106 | 937128e71a4f3bafaca5303668b3c4bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70765 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "jerrytang67/orleans",
"max_stars_repo_path": "src/Orleans.Core/IDs/TypeConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70766"
} | starcoder | <reponame>jerrytang67/orleans<filename>src/Orleans.Core/IDs/TypeConverter.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Orleans.Utilities;
namespace Orleans.Runtime
{
/// <summary>
/// Formats and parses <see cref="Type"/> instances using configured rules.
/// </summary>
p... | 2.661621 | 22a13ab82dfd577f8554aee820aa932b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70766 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "dlemstra/line-bot-sdk-dotnet",
"max_stars_repo_path": "tests/LineBot.Tests/Messages/Template/CarouselColumnTests/TheConstructor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70767"
} | starcoder | <reponame>dlemstra/line-bot-sdk-dotnet<filename>tests/LineBot.Tests/Messages/Template/CarouselColumnTests/TheConstructor.cs
// Copyright <NAME> (https://github.com/dlemstra/line-bot-sdk-dotnet).
// Licensed under the Apache License, Version 2.0.
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
names... | 2.354831 | f08584aaf0c82e3e696ac51d66adccc4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70767 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cpoliselo/backend-projects-test",
"max_stars_repo_path": "Application/AutoMapper/AutoMapperConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70768"
} | starcoder | using Application.AutoMapper.MappingProfile;
using AutoMapper;
namespace Application.AutoMapper
{
public static class AutoMapperConfig
{
public static void RegisterMappings()
{
Mapper.Initialize(x =>
{
x.AddProfile<DomainToViewModelMappingProfile>();
... | 1.705571 | 2a9de3542f418cae27c5e255e943101e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70768 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jacklong1979/QICore",
"max_stars_repo_path": "QICore.CoreMvc/Pages/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:70769"
} | starcoder | <filename>QICore.CoreMvc/Pages/_ViewImports.cshtml<gh_stars>1-10
@using QICore.CoreMvc
@namespace QICore.CoreMvc.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.21079 | 6b8958a8ebb44e2db197a8caa87ba359 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70769 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "opheliah95/GameDev.tv-Jam",
"max_stars_repo_path": "Assets/Scripts/Player/PlayerManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70770"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using CommonsPattern;
using UnityConstants;
public class PlayerManager : SingletonManager<PlayerManager>
{
[Tooltip("Player Character prefab")]
public GameObject playerCharacterPrefab;
private bool m_HasSpawnedPlayerCharacter... | 2.489799 | e2bdba80958166bc6b15ff109116825c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70770 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tmijieux/maui",
"max_stars_repo_path": "src/Core/src/Handlers/Toolbar/ToolbarHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70771"
} | starcoder | <gh_stars>0
#if IOS || MACCATALYST
using PlatformView = UIKit.UINavigationBar;
#elif MONOANDROID
using PlatformView = Google.Android.Material.AppBar.MaterialToolbar;
#elif WINDOWS
using PlatformView = Microsoft.Maui.Platform.MauiToolbar;
#elif TIZEN
using PlatformView =ElmSharp.Toolbar;
#elif NETSTANDARD || (NET6_0 &&... | 1.399268 | edefed9fa5e4afb0bf2004f0212b75f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70771 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "herix001/ElectronicObserver",
"max_stars_repo_path": "PluginsEx/KanProtector/ProtectionData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70772"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using ElectronicObserver.Data;
namespace KanProtector
{
public sealed class ProtectionData
{
public static ProtectionData Instance;
public bool... | 2.029342 | 2292a8537b0dee7722fb5716776def80 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70772 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Saibamen/BriskChat",
"max_stars_repo_path": "BriskChat.BusinessLogic.Tests/Actions/UserRoom/GetUserRoomByIdsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70773"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using BriskChat.BusinessLogic.Actions.UserRoom.Implementations;
using BriskChat.DataAccess.Repositories.Interfaces;
using Moq;
using Xunit;
namespace BriskChat.BusinessLogic.Tests.Actions.UserRoom
{
[Collection("mapp... | 2.254545 | b6f90e0a0f420e49baa89d66d131a416 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70773 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "giuliobosco/cs-01-MVVM",
"max_stars_repo_path": "04-VideoGioco/400-Videogiochi.DA/Model/VideoGioco.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70774"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _400_Videogiochi.DA.Model {
[Table("Videogiochi")]
public class VideoGioco {
... | 1.938807 | 7f129c8901328f17b1a6f872025c7d77 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70774 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "phongnguyend/Practical.Jwt",
"max_stars_repo_path": "src/Practical.Jwt/Practical.Jwt.Api/Extensions/HttpRequestExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70775"
} | starcoder | using Microsoft.AspNetCore.Http;
using System;
using System.Text;
namespace Practical.Jwt.Api.Extensions
{
public static class HttpRequestExtensions
{
public static bool TryGetBearerToken(this HttpRequest httpRequest, out string token)
{
string authorization = httpRequest.Headers.C... | 3.09498 | c582dbdf70772b39bc4bf6b395957695 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70775 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lexa044/cryptoxchange",
"max_stars_repo_path": "src/CryptoXchange/Exchanges/BitfinexExchangeRateProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70776"
} | starcoder | using System.Net.Http;
using Newtonsoft.Json.Linq;
namespace CryptoXchange.Exchanges
{
public class BitfinexExchangeRateProvider : IExchangeRateProvider
{
private const string API_ENDPOINT = "https://api.bitfinex.com/v1/ticker/btcusd";
private readonly HttpClient _client;
public Bitfi... | 2.87028 | d2b2e777f8791bced0f1499c3bc6a315 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70776 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "captainjono/rxns",
"max_stars_repo_path": "Rxns.Azure/AzureTableAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70777"
} | starcoder | using System;
namespace Rxns.Azure
{
/// <summary>
/// Define table information
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public class AzureTableAttribute : Attribute
{
/// <summary>
/// Initializes a new instance of the <see cref="AzureTabl... | 2.84992 | 8e2acb54985eae44df9ba3c4198eb62b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70777 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tznind/StarshipWanderer",
"max_stars_repo_path": "SharedAssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70778"
} | starcoder | using System.Reflection;
[assembly: AssemblyProduct("Wanderer")]
[assembly: AssemblyCopyright("Copyright (c) 2018 - 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// These should be replaced with correct values by the release process
[assembly: AssemblyVersion("0.0.14")]
[assembly: Assembly... | 1.535781 | 410b8de2d6610b281f07bc5a4aedf502 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70778 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "afonsoft/EAF",
"max_stars_repo_path": "src/Eaf/Events/Bus/Exceptions/EafHandledExceptionData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70779"
} | starcoder | using System;
namespace Eaf.Events.Bus.Exceptions
{
/// <summary>
/// This type of events are used to notify for exceptions handled by eaf infrastructure.
/// </summary>
public class EafHandledExceptionData : ExceptionData
{
/// <summary>
/// Constructor.
/// </summary>
... | 2.279818 | e929f2295140fe9ea3498fabe0a78ccc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70779 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "AwesomeTrading/LeanParameterOptimization",
"max_stars_repo_path": "Jtc.Optimization.LeanOptimizer/Handlers/EmptyApiHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70780"
} | starcoder | <filename>Jtc.Optimization.LeanOptimizer/Handlers/EmptyApiHandler.cs
using QuantConnect;
using QuantConnect.Api;
using QuantConnect.Data;
using QuantConnect.Securities;
using System;
using System.Collections.Generic;
namespace Jtc.Optimization.LeanOptimizer
{
class EmptyApiHandler : QuantConnect.Api.Api
... | 1.958212 | e51a7a457406c7bf57b71cb5e37b63b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70780 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MKuckert/bindings",
"max_stars_repo_path": "Bindings.Core/Binding/BindingContext/BindingContextStack.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70781"
} | starcoder | <reponame>MKuckert/bindings
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MS-PL license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
namespace Bindings.Core.Binding.BindingContext
{
... | 1.721788 | 809f5137a2d10a506a51ef5e5b520794 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70781 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "InventoryLab/selling-partner-api-models",
"max_stars_repo_path": "clients/IL/Tokens/Models/CreateRestrictedDataTokenHeaders.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70782"
} | starcoder | <reponame>InventoryLab/selling-partner-api-models
// <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 IL.Library.Amazon.SPAPI.Tokens.Models
{
using Newtonsoft.Json;
... | 1.633805 | f3f66567ae96428c9676583f790e01ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70782 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NServiceBusExtensions/NServiceBus.Hyperion",
"max_stars_repo_path": "src/Sample/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70783"
} | starcoder | <reponame>NServiceBusExtensions/NServiceBus.Hyperion<gh_stars>1-10
using System;
using System.Threading.Tasks;
using NServiceBus;
using NServiceBus.Hyperion;
class Program
{
static async Task Main()
{
var configuration = new EndpointConfiguration("HyperionSerializerSample");
configuration.UseS... | 2.155877 | 705acb591bfd031ad9ef90a16db459c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70783 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "dimitarminchev/ITCareer",
"max_stars_repo_path": "12. Internet Programming/2020/04. HTTP Server/MiniServer.Demo/Launcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70784"
} | starcoder | using MiniServer.HTTP.Enums;
using MiniServer.WebServer;
using MiniServer.WebServer.Routing;
using System;
namespace MiniServer.Demo
{
public class Launcher
{
public static void Main(string[] args)
{
// Create Web Routing Table
IServerRoutingTable serverRoutingTable = n... | 2.295015 | b2a0c21260269a1b0b83831f97278f63 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70784 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "artakhak/IoC.Configuration-",
"max_stars_repo_path": "IoC.Configuration.Tests/AutoServiceCustom/AutoServiceSuccessfulCustomLoadTestsNinject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70785"
} | starcoder | using NUnit.Framework;
using TestsSharedLibrary.DependencyInjection;
namespace IoC.Configuration.Tests.AutoServiceCustom;
[TestFixture]
public class AutoServiceSuccessfulCustomLoadTestsNinject : AutoServiceCustomSuccessfulLoadTests
{
[OneTimeSetUp]
public static void ClassInitialize()
{
OnClassIn... | 1.289899 | 2d1895641688be6f8fe7d26e05e488a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70785 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mdaniyalkhann/SampleTests",
"max_stars_repo_path": "TestNinjaCore.Tests/MathTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70786"
} | starcoder | using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using NUnit.Framework;
using Shouldly;
using TestNinja.Fundamentals;
namespace TestNinja.UnitTests
{
[TestFixture]
[ExcludeFromCodeCoverage]
public class MathTests
{
private Math _math;
private i... | 3.018889 | c1be53d4ed5eab880868e30b93d58f54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70786 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nickbenj/sdk-dotNet",
"max_stars_repo_path": "EncoreTickets.SDK/Basket/Models/RequestModels/ApplyPromotionRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70787"
} | starcoder | <gh_stars>1-10
namespace EncoreTickets.SDK.Basket.Models.RequestModels
{
internal class ApplyPromotionRequest
{
public Coupon Coupon { get; set; }
}
}
| 1.077463 | 80df87fcc540178130ba1f2427266d14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70787 | {
"extension": "c-sharp",
"max_stars_count": "709.0",
"max_stars_repo_name": "hazzik/System.Linq.Dynamic.Core",
"max_stars_repo_path": "src/System.Linq.Dynamic.Core/CustomTypeProviders/IDynamicLinqCustomTypeProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70788"
} | starcoder | <filename>src/System.Linq.Dynamic.Core/CustomTypeProviders/IDynamicLinqCustomTypeProvider.cs
using JetBrains.Annotations;
using System.Collections.Generic;
using System.Reflection;
namespace System.Linq.Dynamic.Core.CustomTypeProviders
{
/// <summary>
/// Interface for providing functionality to find custom t... | 2.805351 | dc3fb8a4eaf78b20bad440b7c35558d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70788 | {
"extension": "c-sharp",
"max_stars_count": "8570.0",
"max_stars_repo_name": "johnri/aspnetcore",
"max_stars_repo_path": "src/Hosting/Hosting/test/WebHostTests.AsyncDisposable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70789"
} | 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.Extensions.DependencyInjection;
namespace Microsoft.AspNetCore.Hosting;
public partial class WebHostTests
{
[Fact]
public async Task DisposingHostCallsDispo... | 2.058709 | 8d6618eae5f9831143d301a79f588c99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70789 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "soulis64/ArcGISPro-Bug-CreateAsyncTopology",
"max_stars_repo_path": "ReproFeatureDatasetTopologyCreateAsyncIssue/UI/CreateNonTopologyDatasetFeaturesButton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70790"
} | starcoder | using System.Diagnostics;
using ArcGIS.Desktop.Framework.Contracts;
using ArcGIS.Desktop.Framework.Threading.Tasks;
using ReproFeatureDatasetTopologyCreateAsyncIssue.Utilities;
namespace ReproFeatureDatasetTopologyCreateAsyncIssue.UI
{
internal class CreateNonTopologyDatasetFeaturesButton : Button
{
p... | 2.098323 | 5a9739d19fc5e0f2291b7fa928619ec1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70790 | {
"extension": "c-sharp",
"max_stars_count": "2357.0",
"max_stars_repo_name": "internetsimple/Bulk-Crap-Uninstaller",
"max_stars_repo_path": "source/BulkCrapUninstaller/Controls/Settings/CacheSettings.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70791"
} | starcoder | <reponame>internetsimple/Bulk-Crap-Uninstaller<filename>source/BulkCrapUninstaller/Controls/Settings/CacheSettings.Designer.cs
namespace BulkCrapUninstaller.Controls.Settings
{
partial class CacheSettings
{
/// <summary>
/// Required designer variable.
/// </summary>
pri... | 1.994528 | be87f1d325942608230fec3264a93e05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70791 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KokiOishi/Volley",
"max_stars_repo_path": "Volley.Core/Receive.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70792"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Volley.Players;
using Volley.Pointing;
namespace Volley
{
/// <summary>
/// Represents a Receive action.
/// </summary>
public readonly struct Receive : IEquatable<Receive>
{
/// <summary>
/// TODO:XML DOCUMEN... | 3.019263 | 6c82f2b6b645759b7152e3e89730eb25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70792 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fireheadmx/ProjectEuler",
"max_stars_repo_path": "Problems/Problem51.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70793"
} | starcoder | <filename>Problems/Problem51.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ProjectEuler.Problems
{
class Problem51
{
private Sieve p = new Sieve(999999);
public int primes(string template)
{
int count = 0;
for... | 3.720687 | fd8ba40b82d7c21961d7c0edf54b3327 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70793 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "glucaci/thor-client",
"max_stars_repo_path": "src/Clients/HotChocolate/ServiceCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70794"
} | starcoder | <gh_stars>0
using System;
using HotChocolate.Execution;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Thor.Core.Abstractions;
namespace Thor.Extensions.HotChocolate
{
/// <summary>
/// A bunch of convenient extensions methods for <see cref="IS... | 1.611783 | e658fa6e15df06ee4a73eceb4c49d792 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70794 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arnoud67/Disruptor-net",
"max_stars_repo_path": "src/Disruptor.Tests/ValueRingBufferTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70795"
} | starcoder | <filename>src/Disruptor.Tests/ValueRingBufferTests.cs<gh_stars>0
using System;
using Disruptor.Dsl;
using Disruptor.Tests.Support;
using NUnit.Framework;
namespace Disruptor.Tests
{
public class ValueRingBufferTests : ValueRingBufferFixture<StubValueEvent>
{
protected override IValueRingBuffer<StubValu... | 2.29846 | 55c802d1714a6604c76e46f9c7a2b501 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70795 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AudibleShapes/AudibleShapes",
"max_stars_repo_path": "Assets/Scripts/MagneticPinch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70796"
} | starcoder | <filename>Assets/Scripts/MagneticPinch.cs
/******************************************************************************\
* Copyright (C) Leap Motion, Inc. 2011-2014. *
* Leap Motion proprietary. Licensed under Apache 2.0 *
* Available at http://www.apache.o... | 2.30874 | da5c5e98fa595e81e92a36216722dc86 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70796 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "messier51a/ChronicNetCore",
"max_stars_repo_path": "src/ChronicNetCore/Tags/OrdinalScanner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70797"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace ChronicNetCore
{
public class OrdinalScanner : ITokenScanner
{
protected static readonly Regex Pattern = new Regex(
@"^(\d*)(st|nd|rd|th)$",
RegexOptions.Singlelin... | 3.175343 | 83cd3ca7b8b00f2a1739d0b5cbcd7c2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70797 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jinjupeng/FileServer",
"max_stars_repo_path": "src/FileServer.ImageResize/DynamicResizingMiddleware.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70798"
} | starcoder | <gh_stars>1-10
using FileServer.Common.Helper;
using FileServer.FileProvider;
using FileServer.ImageResize.Utils;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using System;
using System.IO;
using System.Net;
using System.Threading.Tasks;
namespace FileServer.ImageResize
{
public class Dyna... | 2.341474 | 322cbff0b1c6a264cc44eb78346e98dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70798 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "nightingaleproject/csharp-fhir-death-record",
"max_stars_repo_path": "VRDR.Messaging/AcknowledgementMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70799"
} | starcoder | <reponame>nightingaleproject/csharp-fhir-death-record
using Hl7.Fhir.Model;
namespace VRDR
{
/// <summary>Class <c>AcknowledgementMessage</c> supports the acknowledgment of other messages.</summary>
public class AcknowledgementMessage : BaseMessage
{
/// <summary>
/// The Event URI for Ackn... | 2.568158 | 91fd69114642fcf1f6d85bd202fa3887 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70799 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "DavidKarlas/mono",
"max_stars_repo_path": "mcs/class/System.Web.Mvc2/System.Web.Mvc/FilterAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70800"
} | starcoder | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* This software is subject to the Microsoft Public License (Ms-PL).
* A copy of the license can be found in the license.htm file included
* in this distribution.... | 2.106674 | f8dff6fd6d442fd50ca59edd080c36f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70800 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JustCallMeAD/CleanArchitectureWithBlazorServer",
"max_stars_repo_path": "src/Application/Common/Behaviours/CacheInvalidationBehaviour.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70801"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using LazyCache;
namespace CleanArchitecture.Blazor.Application.Common.Behaviours;
public class CacheInvalidationBehaviour<TRequest, TResponse> : IPipelineBehavior<TRequest, TRespo... | 2.276119 | 58731be6e2fa115b32dd8dd419f7e1a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70801 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rubetoman/Stardust-Raiders",
"max_stars_repo_path": "Stardust Raiders/Assets/Scripts/Objects/BonusItems/BonusObjController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70802"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Script to controll every bonus pick-upable GameObject. It lets them to rotate, flick between materials and being picked up.
/// </summary>
public class BonusObjController : MonoBehaviour {
// Axis around which the Ga... | 2.777077 | 93115dfc7b61b12e8fd0b4266742e118 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70802 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aweistory/UITA",
"max_stars_repo_path": "Assets/Devion Games/Utilities/Scripts/Runtime/Blackboard/BoolVariable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70803"
} | starcoder | <filename>Assets/Devion Games/Utilities/Scripts/Runtime/Blackboard/BoolVariable.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DevionGames
{
[System.Serializable]
public class BoolVariable:Variable
{
[SerializeField]
private bool m_Value;
public bool Value {
g... | 2.864787 | 4a886b81b1f332cbefc3286467092637 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70803 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CarloMicieli/dotnetcore-clean-architecture",
"max_stars_repo_path": "Src/Domain/Catalog/CatalogItems/RollingStocks/MinRadius.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70804"
} | starcoder | using System;
using TreniniDotNet.SharedKernel.Lengths;
namespace TreniniDotNet.Domain.Catalog.CatalogItems.RollingStocks
{
/// <summary>
/// Minimum curve radius for rolling stocks, in millimeters.
/// </summary>
public sealed class MinRadius : IComparable<MinRadius>
{
private MinRadius(Le... | 3.054313 | a689cb2ad557527832cac976f0ee4184 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70804 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jstavrev/Dorm-System",
"max_stars_repo_path": "smartDormitory/SmartDormitory.Tests/SmartDormitory.ServicesTests/UserServiceTests/FilterUsersAsync_Should.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70805"
} | starcoder | <filename>smartDormitory/SmartDormitory.Tests/SmartDormitory.ServicesTests/UserServiceTests/FilterUsersAsync_Should.cs
using Microsoft.EntityFrameworkCore;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SmartDormitory.Data.Data;
using SmartDormitory.Services.Services;
using System;
using System.Threading.Ta... | 2.086528 | aec657c074b5446319d11232cc1669fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70805 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JeevanJames/Basics",
"max_stars_repo_path": "Basics.Data.Dapper/Config/DapperConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70806"
} | starcoder | using System;
using System.ComponentModel;
using System.Configuration;
namespace Basics.Data.Dapper.Config
{
public static class DapperConfig
{
static DapperConfig()
{
Current = (DapperSection)ConfigurationManager.GetSection("basics/dapper");
}
public static Dapper... | 2.4643 | ec3f262400bee90b5df5c66c6b480f02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70806 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kalpit56/Zoo-Rush-Roundup",
"max_stars_repo_path": "Assets/MPUIKit/Runtime/Scripts/Enums.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70807"
} | starcoder | <reponame>kalpit56/Zoo-Rush-Roundup<gh_stars>0
namespace MPUIKIT
{
public enum ShadingType
{
SOLID, GRADIENT_LINEAR, GRADIENT_RADIAL
}
} | 0.890461 | 9b55d720b12f5343b05ad342dc6df5b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70807 | {
"extension": "c-sharp",
"max_stars_count": "1142.0",
"max_stars_repo_name": "qhdwight/silk-net",
"max_stars_repo_path": "src/OpenGL/Silk.NET.OpenGL/Enums/GetVariantValueEXT.gen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70808"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Silk.NET.Core.Attributes;
#pragma warning disable 1591
namespace Silk.NET.OpenGL
{
[NativeName("Name", "GetVariantValueEXT")]
public enum GetVariantVal... | 1.703546 | 22a80719c4d5e5d41ca1ead26693e5ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70808 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "danylo-boiko/Lishl",
"max_stars_repo_path": "Lishl.Core/Repositories/IUsersRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70809"
} | starcoder | <reponame>danylo-boiko/Lishl
using System;
using System.Threading.Tasks;
using Lishl.Core.Models;
namespace Lishl.Core.Repositories
{
public interface IUsersRepository : IGenericRepository<User, Guid>
{
public Task<User> GetByEmailAsync(string email);
}
} | 1.573829 | be8804d9ab5ceea564363e34ef05c2df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "suxinde2009/opalvoip-opal",
"max_stars_repo_path": "src/csharp/OpalParamSetUpCall.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70810"
} | starcoder | <reponame>suxinde2009/opalvoip-opal<gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.1
//
// Do not make changes to this file unless you know what you are doing--mod... | 1.761426 | cdebfd972552ce24f8de7cad658f5e8f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70810 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "alelievr/ProceduralTerrainGPU",
"max_stars_repo_path": "Assets/Scripts/TerrainGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70811"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEditor.Experimental.Rendering;
using UnityEngine.Rendering;
using System.Diagnostics;
using System.Runtime.InteropServices;
using UnityEngine.Experimental.Rendering;
using Debug = UnityEngine.Debug;
[ExecuteI... | 1.984244 | ae6a1f1c2a92e78c09a3dc09e1d276bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70811 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sebnil/shiny",
"max_stars_repo_path": "src/Shiny.Push/Platforms/Android/PushManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70812"
} | starcoder | <gh_stars>0
using System;
using System.Threading.Tasks;
using Android.Gms.Tasks;
using Android.Runtime;
using Firebase.Iid;
using Firebase.Messaging;
namespace Shiny.Push
{
public class PushManager : Java.Lang.Object, IOnCompleteListener, IPushManager
{
TaskCompletionSource<string>? taskSrc = null;
... | 1.841717 | 46f7fef757ce435089491f154fdb8ed9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70812 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "museumsvictoria/digital-labels",
"max_stars_repo_path": "src/DigitalLabels.Import/Factories/StandingStrongLabelImportFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70813"
} | starcoder | <reponame>museumsvictoria/digital-labels<filename>src/DigitalLabels.Import/Factories/StandingStrongLabelImportFactory.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using DigitalLabels.Core.Config;
using DigitalLabels.Core.DomainModels;
using DigitalLabe... | 2.293561 | 1d69c7309d4e3518144674d49f854e2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70813 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "anteatergames/ludustack",
"max_stars_repo_path": "LuduStack.Domain.Messaging/Queries/Gamification/GetGamificationQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70814"
} | starcoder | <reponame>anteatergames/ludustack<filename>LuduStack.Domain.Messaging/Queries/Gamification/GetGamificationQuery.cs<gh_stars>1-10
using LuduStack.Domain.Interfaces.Repository;
using LuduStack.Domain.ValueObjects;
using LuduStack.Infra.CrossCutting.Messaging;
using MediatR;
using System;
using System.Collections.Generic... | 2.325022 | 28e841225e0f82928c6a96c2105d965a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70814 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cairnswm/ChatApp-SignalR",
"max_stars_repo_path": "ChatApp/DataAccess/ChatDAL.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70815"
} | starcoder | <reponame>cairnswm/ChatApp-SignalR<filename>ChatApp/DataAccess/ChatDAL.cs
using ChatApp.Data;
using ChatApp.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ChatApp.DataAccess
{
public interface IChatD... | 2.818552 | 9b9138cea48fd841823c82cf8eb335b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70815 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "MaxDehn/Zammad.Client",
"max_stars_repo_path": "samples/Zammad.Connector/Core/Commands/Annotations/CliCommandAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70816"
} | starcoder | using System;
using System.Reflection;
namespace Zammad.Connector.Core.Commands.Annotations
{
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class CliCommandAttribute : Attribute
{
public CliCommandAttribute(string verb, string noun)
{
... | 2.658242 | 4bb8356fd723ea179060940ced4f4529 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70816 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nancyeiceblue/Free-Spire.Doc-for-.NET",
"max_stars_repo_path": "CS-Examples/09_PageSetup/PageSetup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70817"
} | starcoder | <filename>CS-Examples/09_PageSetup/PageSetup.cs
using System;
using System.Drawing;
using System.Windows.Forms;
using Spire.Doc;
using Spire.Doc.Documents;
using Spire.Doc.Fields;
namespace PageSetup
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
... | 2.587189 | ddeb53404ea5160c9295a59f296d4783 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70817 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VicentDong/Hawk",
"max_stars_repo_path": "Hawk.Core/Properties/Resources.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70818"
} | starcoder | <reponame>VicentDong/Hawk<gh_stars>1-10
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//---------------------------------------------------... | 1.909274 | dba27ec80b6024736eec9efd1f7cb5b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70818 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adrianwells/Intune-PowerShell-SDK",
"max_stars_repo_path": "Common/Utils/AuthUtils_NetFramework.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70819"
} | starcoder | <filename>Common/Utils/AuthUtils_NetFramework.cs<gh_stars>0
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
#if NETFRAMEWORK
namespace Microsoft.Intune.PowerShellGraphSDK
{
using System;
using System.Coll... | 2.454068 | 46a499cdad2796a80a3f67aabe31675d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70819 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pseudomarkets/FinnHubSharp",
"max_stars_repo_path": "FinnHubSharp/Interfaces/IFinnHubClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70820"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Threading.Tasks;
using FinnHubSharp.DataModels.Response;
namespace FinnHubSharp.Interfaces
{
public interface IFinnHubClient
{
Task<Quote> GetQuoteAsync(string symbol);
Task<SymbolInfo> GetSymbolInfoAsync(string symbolOrSecurityName);
... | 1.405031 | 57b8acd50edc4e73e3dc8022bfca1ffc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70820 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "nam178/MicroHttpd",
"max_stars_repo_path": "src/MicroHttpd.Core/BinaryStack.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70821"
} | starcoder | <reponame>nam178/MicroHttpd<filename>src/MicroHttpd.Core/BinaryStack.cs
using System;
namespace MicroHttpd.Core
{
/// <summary>
/// Utility to store binary data as a stack,
/// allows fast push/pop a block of binary data
/// into/from the stack by utilizing Buffer.BlockCopy;
///
/// Used by the HttpBufferedRe... | 3.126643 | 1013f10c4977eb530b5eafd59725368b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70821 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkiTles55/Blazorise",
"max_stars_repo_path": "Source/Blazorise/Enums/Orientation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70822"
} | starcoder | <filename>Source/Blazorise/Enums/Orientation.cs
#region Using directives
#endregion
namespace Blazorise
{
/// <summary>
/// Defines the orientation of the elements.
/// </summary>
public enum Orientation
{
/// <summary>
/// Elements will be stacked horizontally.
/// </summa... | 2.817736 | 999a495d9084f9dafd25bb419e496e9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70822 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Serviceware/Dibix",
"max_stars_repo_path": "src/Dibix.Sdk/CodeGeneration/Parser/RawValueReferenceParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70823"
} | starcoder | <reponame>Serviceware/Dibix
namespace Dibix.Sdk.CodeGeneration
{
internal static class RawValueReferenceParser
{
public static ValueReference Parse(TypeReference targetType, object value, string filePath, int line, int column, ILogger logger)
{
if (value == null)
ret... | 2.227507 | 7f71252ef33352983362f3c9deaf6474 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70823 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Christian-Bennett/API",
"max_stars_repo_path": "MovieInfo_Client/MovieInfo.Client/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70824"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Net.Http;
namespace MovieInfo.Client
{
class Program
{
static void Main(string[] args)
{
HttpClient client = new HttpClient();
var res = client.GetAsync("http://localhost:5000/SW").GetAwaiter().GetResult();
... | 1.867537 | 863268b8bf30c1a4c9938600143c85e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70824 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "jbramwell/VSTS-Tools",
"max_stars_repo_path": "VSTS-Get/Shared/Entities/Item.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70825"
} | starcoder | <reponame>jbramwell/VSTS-Tools
namespace VSTSShared.Entities
{
public class ItemResponse
{
public int Count { get; set; }
public ItemDescriptor[] Value { get; set; }
}
public class ItemDescriptor
{
public string ObjectId { get; set; }
public string GitObjectType {... | 1.800804 | d96f4462e230cb4c3265bb3bb221c58f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70825 | {
"extension": "c-sharp",
"max_stars_count": "244.0",
"max_stars_repo_name": "Eibwen/Musoq",
"max_stars_repo_path": "Musoq.Schema.Disk.Tests/DiskSchemaProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70826"
} | starcoder | <reponame>Eibwen/Musoq<gh_stars>100-1000
namespace Musoq.Schema.Disk.Tests
{
internal class DiskSchemaProvider : ISchemaProvider
{
public ISchema GetSchema(string schema)
{
return new DiskSchema();
}
}
} | 1.410839 | bf41f925b98d3a4c0415e88a553671c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70826 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jewer3330/face3d",
"max_stars_repo_path": "face/Assets/UnityARKitPlugin/ARKitRemote/UnityRemoteVideo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70827"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.XR.iOS.Utils;
namespace UnityEngine.XR.iOS
{
public class UnityRemoteVideo : MonoBehaviour
{
public ConnectToEditor co... | 1.883771 | 757a8d29d53b32a8b36ebb96e9c137f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70827 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "amazing-andrew/Quartz.TextToSchedule",
"max_stars_repo_path": "src/Quartz.TextToSchedule/Grammars/IGrammar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70828"
} | starcoder | <reponame>amazing-andrew/Quartz.TextToSchedule
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Quartz.TextToSchedule.Grammars
{
/// <summary>
/// Provides expression to a <see cref="ITextToSchedule"/> instance.
/// </summary>
... | 2.830352 | edeadd5dc14848a81db498837a7ac420 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70828 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "donblas/magecrawl",
"max_stars_repo_path": "Trunk/GameUI/Dialogs/Requests/SaveDialogMoveLeft.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70829"
} | starcoder | <reponame>donblas/magecrawl
using System;
namespace Magecrawl.GameUI.Dialogs.Requests
{
public class SaveDialogMoveLeft : RequestBase
{
internal override void DoRequest(IHandlePainterRequest painter)
{
SaveGamePainter q = painter as SaveGamePainter;
if (q != nu... | 1.582808 | 2c6cf08c43b1b5df580e44dbe13d5676 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70829 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/formrecognizer/Azure.AI.FormRecognizer/src/DocumentSelectionMark.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70830"
} | starcoder | <filename>sdk/formrecognizer/Azure.AI.FormRecognizer/src/DocumentSelectionMark.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using Azure.Core;
namespace Azure.AI.FormRecognizer.DocumentAnalysis
{
[CodeGenModel("D... | 2.366334 | 6b931ece1c35e117f4e0b4d757a5c0f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70830 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "woshisunzewei/EIP",
"max_stars_repo_path": "Plug/Job/EIP.Job.Service/System/DatabaseBackupJob.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70831"
} | starcoder | using System;
using System.Diagnostics;
using System.Text;
using EIP.Common.Core.Log;
using Quartz;
namespace EIP.Job.Service.System
{
/// <summary>
/// 数据库定时备份作业
/// </summary>
public class DatabaseBackupJob : IJob
{
/// <summary>
/// 执行
/// </summary>
/// <param n... | 2.154437 | 6749d64f6be6e8e4cfbeb2f20acb01a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70831 | {
"extension": "c-sharp",
"max_stars_count": "83.0",
"max_stars_repo_name": "LuohuaRain/ProfessionalCSharp2021",
"max_stars_repo_path": "1_CS/ReflectionAndSourceGenerators/DynamicSamples/DynamicFileReader/DynamicFileHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70832"
} | starcoder | using System;
using System.Collections.Generic;
using System.Dynamic;
using System.IO;
using System.Linq;
namespace DynamicFileReader
{
public static class DynamicFileHelper
{
public static IEnumerable<dynamic> ParseFile(string fileName)
{
List<dynamic> retList = new();
... | 3.316265 | d878695b15f35377a3a81f848b6050c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70832 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "fdevelop/codescreen.me",
"max_stars_repo_path": "codescreenme/Data/Processing/UserRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70833"
} | starcoder | <filename>codescreenme/Data/Processing/UserRepository.cs
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace codescreenme.Data.Processing
{
public class UserRepository : IUserRepository
{
private readonly IHttpContextAcces... | 2.628146 | b4cb2daca056417be00062d529ef47d5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.