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 | 67833 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "jolmari/NetCore-Wcf-Service-Proxy",
"max_stars_repo_path": "NetCoreWebApp/Models/ServiceEndpointOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67834"
} | starcoder | namespace NetCoreWebApp.Models
{
public class ServiceEndpointOptions
{
public string CountryService { get; set; }
public string PersonService { get; set; }
}
}
| 1.446741 | a199205d7aca9ddb1672b564d3e8af75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67834 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sgyalta/Titanium--for-experiments--Web-Proxy",
"max_stars_repo_path": "Titanium.Web.Proxy/Helpers/Tcp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67835"
} | starcoder | <filename>Titanium.Web.Proxy/Helpers/Tcp.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using Titanium.Web.Proxy.Extensions;
using Titanium.Web.Proxy.Network.Tcp;
namespace Titanium.Web.Proxy.Helpers
{
internal enum ... | 2.387087 | 71ade6418a2219cf19e75745e8b6beb1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67835 | {
"extension": "c-sharp",
"max_stars_count": "102.0",
"max_stars_repo_name": "Flutterish/tau",
"max_stars_repo_path": "osu.Game.Rulesets.Tau/Beatmaps/TauBeatmap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67836"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Tau.Objects;
using osuTK;
namespace osu.Game.Rulesets.Tau.Beatmaps
{
public class TauBeatmap : Beatmap<TauHitObject>
{
public override IEnumerable<Beat... | 2.414874 | 72f5f7a39cf0c30786827e916de2339f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67836 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "dolkensp/HoloXPLOR",
"max_stars_repo_path": "HoloXPLOR/Views/Home/Thanks.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:67837"
} | starcoder | <reponame>dolkensp/HoloXPLOR
@{
ViewBag.Title = "Thanks";
}
<hgroup>
<h1>Thanks.</h1>
<h2>Your donation is appreciated.</h2>
</hgroup>
<p>All donations go towards covering the hosting costs of HoloXPLOR.</p> | 1.509624 | f64bf9938a4d1dfbc60e5ba990cf1a2b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67837 | {
"extension": "c-sharp",
"max_stars_count": "3359.0",
"max_stars_repo_name": "cnheider/SpaceEngineers",
"max_stars_repo_path": "Sources/Sandbox.Game/Game/Screens/MyGuiScreenCubeBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67838"
} | starcoder | <reponame>cnheider/SpaceEngineers
#region Using
using System;
using System.Collections.Generic;
using Sandbox.Common.ObjectBuilders;
using Sandbox.Common;
using Sandbox.Definitions;
using Sandbox.Game.Entities;
using Sandbox.Game.Localization;
using Sandbox.Game.Screens.Helpers;
using Sandbox.Game.SessionComponents;
... | 1.542576 | 1449744a58d7027a03415d01c001b939 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67838 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rikupin1105/line-bot-sdk-csharp",
"max_stars_repo_path": "src/line-bot-sdk-csharp/LineObjects/GroupSummary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67839"
} | starcoder | <reponame>rikupin1105/line-bot-sdk-csharp<gh_stars>1-10
namespace LineMessagingAPI
{
/// <summary>
/// https://developers.line.biz/ja/reference/messaging-api/#get-group-summary
/// https://developers.line.biz/en/reference/messaging-api/#get-group-summary
/// </summary>
public class GroupSummary
... | 1.999882 | db732ad075f27b1253970b87c89698b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67839 | {
"extension": "c-sharp",
"max_stars_count": "1472.0",
"max_stars_repo_name": "rxDietel/XamarinCommunityToolkit",
"max_stars_repo_path": "src/CommunityToolkit/Xamarin.CommunityToolkit/Views/Snackbar/Options/ToastOptions.shared.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67840"
} | starcoder | <filename>src/CommunityToolkit/Xamarin.CommunityToolkit/Views/Snackbar/Options/ToastOptions.shared.cs
using System;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace Xamarin.CommunityToolkit.UI.Views.Options
{
/// <summary>
/// Toast options
/// </summary>
public class ToastOptions
{
public ToastOpti... | 2.578482 | f38b3e76e2951f67fba9da4459568068 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67840 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexandru-bagu/ftsemu",
"max_stars_repo_path": "src/FTServer.Network/Message/Character/CreateCharacterRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67841"
} | starcoder | using FTServer.Contracts.MemoryManagement;
using System;
using System.Text;
namespace FTServer.Network.Message.Character
{
[NetworkMessage(MessageId)]
public class CreateCharacterRequest : NetworkMessage
{
public const ushort MessageId = 0x101B;
public override int MaximumSize => 32;
... | 2.478081 | d7be0ed6a35eb35de7f6b12793438286 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67841 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dfds/kafka-janitor",
"max_stars_repo_path": "src/Specifications/Features/Topics/DescribeATopicWithConfigurationsScenario.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67842"
} | starcoder | <filename>src/Specifications/Features/Topics/DescribeATopicWithConfigurationsScenario.cs<gh_stars>1-10
using System;
using System.Linq;
using System.Threading.Tasks;
using KafkaJanitor.RestClient;
using KafkaJanitor.RestClient.Factories;
using KafkaJanitor.RestClient.Features.Topics.Models;
using Microsoft.AspNetCore.T... | 2.32708 | b9a275f37835451ddde66b8a146b9ea0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67842 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mailkoba/CS2TSInterfaces",
"max_stars_repo_path": "CS2TSInterfaces/GenerateTypeScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67843"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace CS2TSInterfaces... | 2.409375 | 9e792e83439a23cb5c07494a9ead22cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67843 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bcgov/tno",
"max_stars_repo_path": "services/net/syndication/Xml/Rss/RssHour.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67844"
} | starcoder | using System.Xml;
using System.Xml.Linq;
using System.Xml.Serialization;
namespace TNO.Services.Syndication.Xml;
/// <summary>
/// RssHour class, provides an object to read and write RSS hours element.
/// </summary>
[XmlRoot("hours")]
public class RssHour
{
#region Properties
/// <summary>
/// get/set -
... | 2.816274 | 6703f02536762245af279e0df6ffabad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67844 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PeaStew/Nfantom",
"max_stars_repo_path": "Nfantom.JsonRpc.Client/Streaming/SubscriptionState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67845"
} | starcoder | namespace Nfantom.JsonRpc.Client.Streaming
{
public enum SubscriptionState
{
Idle,
Subscribing,
Subscribed,
Unsubscribing,
Unsubscribed
}
} | 1.516159 | 0a35aea965a328793cd148b28255d67f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67845 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "petriw/MageDefenderDeluxe",
"max_stars_repo_path": "BossEditor/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67846"
} | starcoder | <filename>BossEditor/MainWindow.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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.Medi... | 2.65303 | 1faa0a916f95de18fcc316efbd0b2a0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67846 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "inputfalken/Sharpy",
"max_stars_repo_path": "src/Sharpy.Builder/Implementation/DateTimeRandomizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67847"
} | starcoder | using System;
using RandomExtended;
using Sharpy.Builder.Providers;
using static System.DateTime;
namespace Sharpy.Builder.Implementation
{
/// <summary>
/// Randomizes <see cref="System.DateTime" /> elements by using <see cref="Random" />.
/// </summary>
public sealed class DateTimeRandomizer : I... | 3.1826 | 56519c0214455d3f8fecb18d00f59e16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67847 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Marguelgtz/explorer",
"max_stars_repo_path": "unity-client/Assets/Scripts/MainScripts/DCL/Components/LoadableShapes/NFTShape/Scripts/NFTImageAsset.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67848"
} | starcoder | <gh_stars>1-10
using System;
using DCL;
using UnityEngine;
namespace NFTShape_Internal
{
public class NFTImageAsset : INFTAsset
{
public bool isHQ => hqTexture != null;
public int hqResolution { private set; get; }
public ITexture previewAsset { get; }
public ITexture hqAsset =... | 1.969216 | 217f544489b4e73b1311e66867205170 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67848 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "starburst997/.NET-Ogg-Vorbis-Encoder",
"max_stars_repo_path": "OggVorbisEncoder/Setup/Templates/BookBlocks/Stereo44/Uncoupled/Chapter4/Chapter4Short.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67849"
} | starcoder | <filename>OggVorbisEncoder/Setup/Templates/BookBlocks/Stereo44/Uncoupled/Chapter4/Chapter4Short.cs
namespace OggVorbisEncoder.Setup.Templates.BookBlocks.Stereo44.Uncoupled.Chapter4
{
public class Chapter4Short : IStaticCodeBook
{
public int Dimensions { get; } = 2;
public byte[] LengthList { ge... | 1.982612 | 83f856a402b8d683d54afc34dc9e7253 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67849 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skorae/SoftUni-kdinev",
"max_stars_repo_path": "C#TechModule 3.0 May 2018/Methods, Debugging and Troubleshooting Code/Methods, Debugging and Troubleshooting Code/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67850"
} | starcoder | using System;
namespace Blank_Receipt
{
class Program
{
static void Main(string[] args)
{
printReceiptHeader();
printReceiptBody();
printReceiptFooter();
}
static void printReceiptHeader()
{
Console.WriteLine("CASH RECEIP... | 2.825227 | 0504663588ab97256821eb283ec74929 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67850 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BetterLifeGroup/quartznet-RavenDB",
"max_stars_repo_path": "src/Quartz.Impl.RavenDB.Tests/RavenJobStoreUnitTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67851"
} | starcoder | #region License
/*
* All content copyright Terracotta, Inc., unless otherwise indicated. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* htt... | 1.780143 | a43971ccad99964a256d9795b93886b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67851 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "douchedetector/mvc-razor",
"max_stars_repo_path": "src/Microsoft.Web.Http.Data.EntityFramework/Metadata/DbMetadataProviderAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67852"
} | starcoder | using System;
using System.Data.Entity;
using System.Web.Http;
using Microsoft.Web.Http.Data.Metadata;
namespace Microsoft.Web.Http.Data.EntityFramework.Metadata
{
/// <summary>
/// Attribute applied to a <see cref="DbDataController{DbContext}"/> that exposes LINQ to Entities mapped
/// Types.
/// </s... | 2.626573 | 671815cc61cb47657cd51ec42151a7a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67852 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "mariofv/SuperMarioGo",
"max_stars_repo_path": "src/Assets/scripts/menu/collectionMenu/CollectionMenu.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67853"
} | starcoder | <filename>src/Assets/scripts/menu/collectionMenu/CollectionMenu.cs<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CollectionMenu : Menu {
private Scroll3DMenu scrollMenu;
public List<PiecedCollectible> piecemadeCollectibles;
/... | 2.403066 | 267dcc99b05fd424ebec387bfe9620f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67853 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "arise-project/iso3",
"max_stars_repo_path": "AstGraphDbConnector/AstArangoDbConnector/SyntaxCollections/SyntaxDotEnumMemberDeclarationSyntax.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67854"
} | starcoder | namespace AstArangoDbConnector.Syntax
{
public sealed class SyntaxDotEnumMemberDeclarationSyntax : BaseSyntaxCollection
{
}
} | 0.964212 | f90896412409820a9aef1739f726905b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67854 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "git-custom-code/AutomatedTesting",
"max_stars_repo_path": "src/AutomatedTesting.Mocks/Mock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67855"
} | starcoder | namespace CustomCode.AutomatedTesting.Mocks
{
using Dependencies;
using LightInject;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
/// <summary>
/// Static entry point for the fluent api that allows the creation of <see cref="IMocked{T}"/> i... | 2.746089 | f36801cf0cea53144b117185c763caa3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67855 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kamcio819/EgzoBattle",
"max_stars_repo_path": "EgzoBattle/Assets/Scripts/Metor/MeteorSpawner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67856"
} | starcoder | <filename>EgzoBattle/Assets/Scripts/Metor/MeteorSpawner.cs
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MeteorSpawner : MonoBehaviour, IInteractable
{
[Range(2, 7)]
public int meteorCount = 5;
[SerializeField]
private MeteorSpawnerControlle... | 2.131932 | 91f9f941938ea9e61a68ac11fd50680b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67856 | {
"extension": "c-sharp",
"max_stars_count": "741.0",
"max_stars_repo_name": "tothalexlaszlo/BedrockFramework",
"max_stars_repo_path": "src/Bedrock.Framework.Experimental/Protocols/Http2ClientProtocol.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67857"
} | starcoder | using System;
using System.Buffers;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Bedrock.Framework.Protocols.Http2;
using Microsoft.AspNetCore.Connections;
namespace Bedrock.Framework.Protocols
{
internal class Http2ClientProtocol : Http2Protocol
... | 2.205393 | a9eda494d91fb1eb461fea71c2094749 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67857 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SeppPenner/LogCleanClient",
"max_stars_repo_path": "src/LogCleanClient/Main.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67858"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Main.cs" company="Hämmer Electronics">
// Copyright (c) All rights reserved.
// </copyright>
// <summary>
// The main form.
// </summary>
// ----------------------------------... | 2.383811 | 4ebc3605157ee2343a9e56bb1de6d317 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67858 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zr3/the-deja-brew",
"max_stars_repo_path": "ld47/Assets/GateInteractable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67859"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GateInteractable : Interactable
{
public GameObject Gate;
public GameObject Curtain;
public override void OnSecondaryActionFinished()
{
if (GameConductor.IsPlayerAWarrior)
... | 1.260409 | af2924aee52d8b2a80b234d872fba60c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67859 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "mParticle/mparticle-json",
"max_stars_repo_path": "MP.Json.Test/generated/Format/Iri.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67860"
} | starcoder | // Copyright (c) 2020, mParticle, Inc
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 2.164391 | 88d3d3b51644fc0584cbf171519251c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67860 | {
"extension": "c-sharp",
"max_stars_count": "450.0",
"max_stars_repo_name": "fernewelten/ags",
"max_stars_repo_path": "Editor/AGS.Editor/Audio/MidiPlayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67861"
} | starcoder | <gh_stars>100-1000
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using AGS.Types;
namespace AGS.Editor
{
internal class MidiPlayer : IAudioPreviewer
{
public event PlayFinishedHandler PlayFinished;
private AudioClip _audioClip;
priv... | 2.477935 | 50d56f39a5d057cab4e58774c1cab6d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67861 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "li223/OKCSharp",
"max_stars_repo_path": "OKCSharp/Search/OrientationTags.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67862"
} | starcoder | <gh_stars>0
namespace OKCSharp.Search
{
public enum OrientationTags : int
{
Straight = 0,
Bisexual = 1,
Gay = 2
}
} | 1.292927 | 773c9f86c8c6cf3f0f2d5cfdb9a72caa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67862 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ssivazhalezau/exadel_discounts_be",
"max_stars_repo_path": "src/Exadel.CrazyPrice/Exadel.CrazyPrice.WebApi/Controllers/CompaniesController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67863"
} | starcoder | using Exadel.CrazyPrice.Common.Extentions;
using Exadel.CrazyPrice.Common.Interfaces;
using Exadel.CrazyPrice.WebApi.Extentions;
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
usin... | 2.453021 | 52f7831a3de76e74da49f93f4bf42daf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67863 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jakinchan/Furion",
"max_stars_repo_path": "framework/Furion.Pure/DataEncryption/Encryptions/Pbkdf2Encryption.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67864"
} | starcoder | // -----------------------------------------------------------------------------
// 让 .NET 开发更简单,更通用,更流行。
// Copyright © 2020-2021 Furion, 百小僧, Baiqian Co.,Ltd.
//
// 框架名称:Furion
// 框架作者:百小僧
// 框架版本:2.8.9
// 源码地址:Gitee: https://gitee.com/dotnetchina/Furion
// Github:https://github.com/monksoul/Furion
// 开源协... | 2.484607 | f6a77bcaa92e34898cf37de3036422ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67864 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "behreajj/CSharpWork",
"max_stars_repo_path": "Complex.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67865"
} | starcoder | <gh_stars>0
using System;
using System.Collections;
using System.Text;
/// <summary>
/// A two-dimensional complex number. The imag component is a
/// coefficient of i, or the square-root of negative one.
/// </summary>
[Serializable]
public readonly struct Complex : IComparable<Complex>, IEquatable<Complex>, IEnumera... | 3.035934 | 2be2826bda61b7433b79adc2524f16d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67865 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DevSubmarine/LukeDictionary",
"max_stars_repo_path": "LukeDictionary.Bot/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67866"
} | starcoder | <gh_stars>1-10
using System;
using System.Threading.Tasks;
using DevSubmarine.LukeDictionary.Database;
using DevSubmarine.LukeDictionary.Discord;
using DevSubmarine.LukeDictionary.PasteMyst;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
us... | 2.404809 | a840a65ab746a3817dab6f390bbaaa2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67866 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JTOne123/Kugar.Core",
"max_stars_repo_path": "Kugar.Core/Collections/CircularQueue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67867"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using Kugar.Core.ExtMethod;
namespace Kugar.Core.Collections
{
/// <summary>
/// 环形队列
/// </summary>
/// <typeparam name="T"></typeparam>
public cl... | 2.675186 | 2093251a4fafc24fe8611505c610a54f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67867 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mvandevy/Rebus-NetCore",
"max_stars_repo_path": "Rebus.Tests/Workers/ThreadWorkerIntegrationTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67868"
} | starcoder | using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Rebus.Activation;
using Rebus.Bus;
using Rebus.Config;
using Rebus.Routing.TypeBased;
using Rebus.Tests.Contracts;
using Rebus.Transport.InMem;
using Xunit;
namespace Rebus.Tests.Workers
{
p... | 2.293348 | 48e9ee6f1f56c41059d54dc78a482d7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67868 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aavilaco/PdfSharpCore",
"max_stars_repo_path": "PdfSharpCore/Pdf.Signatures/PositionTracker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67869"
} | starcoder | <reponame>aavilaco/PdfSharpCore
namespace PdfSharpCore.Pdf.Signatures
{
internal class PositionTracker
{
public PositionTracker(PdfItem item)
{
Item = item;
Item.BeforeWrite += (s, e) => Start = e.Position;
Item.AfterWrite += (s, e) => End = e.Position;
... | 1.894297 | 2091f566da52dc4223bf4d726ae041b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67869 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adrianwright109/razor-tooling",
"max_stars_repo_path": "src/Razor/src/Microsoft.VisualStudio.LiveShare.Razor/Host/DefaultProjectHierarchyProxyFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67870"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See License.txt in the project root for license information.
#nullable disable
using System;
using System.ComponentModel.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Razor;
usi... | 1.400966 | 273e96e2c76dc3dea56a6c9715e839f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67870 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "mvondracek/NetfoxDetective",
"max_stars_repo_path": "Web/Netfox.Web.BL/DTO/ExportCallDetail.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67871"
} | starcoder | <reponame>mvondracek/NetfoxDetective<gh_stars>10-100
using System;
using System.Collections.Generic;
namespace Netfox.Web.BL.DTO
{
public class ExportCallDetailDTO
{
public DateTime FirstSeen { get; set; }
public string From { get; set; }
public string To { get; set; }
public D... | 1.483627 | 67c31f6b72e8fd0c3576089b8b31eb05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RustyXP/projectflamingo",
"max_stars_repo_path": "Assets/Affdex/Examples/Scripts/Listener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67872"
} | starcoder | using UnityEngine;
using System.Collections.Generic;
using UnityEngine.UI;
using Affdex;
public class Listener : ImageResultsListener
{
public Text textArea;
public override void onFaceFound(float timestamp, int faceId)
{
Debug.Log("Found the face");
}
public override void onFaceLost(floa... | 2.246664 | 486e43c79dfbee1a182782a2044f70bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SpiremtSCM/GVFS",
"max_stars_repo_path": "GVFS/GVFS/CommandLine/MountVerb.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67873"
} | starcoder | <filename>GVFS/GVFS/CommandLine/MountVerb.cs
using CommandLine;
using GVFS.Common;
using GVFS.Common.Git;
using GVFS.Common.Http;
using GVFS.Common.NamedPipes;
using GVFS.Common.Physical;
using GVFS.Common.Tracing;
using Microsoft.Diagnostics.Tracing;
using System;
using System.IO;
namespace GVFS.CommandLi... | 1.871249 | 58c82ad5f15e1af9b3a4a78ec27990fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67873 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gabrielsimas/desafio-stone-01",
"max_stars_repo_path": "src/SimasoftCorp.DesafioStone.WebApi/Controllers/FinanceiroController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67874"
} | starcoder | <reponame>gabrielsimas/desafio-stone-01
using AutoMapper;
using SimasoftCorp.DesafioStone.Aplicacao.Financeiro.Contratos;
using SimasoftCorp.DesafioStone.Crosscutting.Mapper;
using System.Web.Http;
using System.Web.Http.Cors;
namespace SimasoftCorp.DesafioStone.WebApi.Controllers
{
[EnableCors(origins: "*", heade... | 1.423002 | bbf93e569432e623a9ae08d064824f41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67874 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1Schema/Open-Source",
"max_stars_repo_path": "Decia.Business.Domain.Formulas/Operations/Math/MathUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67875"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Decia.Business.Domain.ChronometricValues;
namespace Decia.Business.Domain.Formulas.Operations.Math
{
public static class MathUtils
{
public const string MathCategoryName = "Basic Math";
public const int... | 2.411501 | fe625c31de766a32017629b841668a84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67875 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stho32/DBDeltaWatcher",
"max_stars_repo_path": "source/dotnet/DbDeltaWatcher/DbDeltaWatcher.Classes/Repositories/TaskRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67876"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Data;
using DbDeltaWatcher.Classes.Database;
using DbDeltaWatcher.Classes.Entities;
using DbDeltaWatcher.Classes.ExtensionMethods;
using DbDeltaWatcher.Interfaces.Database;
using DbDeltaWatcher.Interfaces.Database.DatabaseConnections;
using DbDeltaWatcher.Inter... | 2.295416 | 5e00e1e339011f8a4c86923512f09d1f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67876 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Just4pLeisure/T5SuiteII",
"max_stars_repo_path": "Trionic5Controls/SRAMCompareResults.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67877"
} | starcoder | <filename>Trionic5Controls/SRAMCompareResults.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using DevExpress.XtraGrid;
using DevExpress.XtraGrid.Views.Grid;
using Trion... | 2.224217 | f9d227ee97f772813e29b28df1e4bb66 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67877 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "tompipe/Umbraco-CMS",
"max_stars_repo_path": "src/umbraco.MacroEngines/RazorDynamicNode/ExamineSearchUtill.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67878"
} | starcoder | <reponame>tompipe/Umbraco-CMS<filename>src/umbraco.MacroEngines/RazorDynamicNode/ExamineSearchUtill.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
namespace umbraco.MacroEngines
{
class ExamineSearchUtill
{
internal static DynamicNo... | 2.256877 | ceb1e669bc6123c4c9521a345db1647c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67878 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "4L474Y/Ixian-DLT",
"max_stars_repo_path": "IxianDLT/Network/NetworkProtocol.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67879"
} | starcoder | <gh_stars>0
// Copyright (C) 2017-2020 <NAME>
// This file is part of Ixian DLT - www.github.com/ProjectIxian/Ixian-DLT
//
// Ixian DLT is free software: you can redistribute it and/or modify
// it under the terms of the MIT License as published
// by the Open Source Initiative.
//
// Ixian DLT is distributed i... | 1.498441 | ace11948b3662c96e1c8a99d89c6e065 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67879 | {
"extension": "c-sharp",
"max_stars_count": "493.0",
"max_stars_repo_name": "Mohamedahmedkhedr/RemoteDesktop",
"max_stars_repo_path": "Network/Message.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67880"
} | starcoder | using System;
using Lidgren.Network;
using Network.Extensions;
namespace Network
{
/// <remarks>
/// Extends Lidgren's networking library by implementing custom messages.
/// </remarks>
public abstract class Message
{
/// <summary>
/// Gets the unique identifier for thi... | 3.174472 | 23cbf2ca111d346b7c80a2c799a028c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67880 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "willbush/hunt-the-wumpus-2d",
"max_stars_repo_path": "hunt-the-wumpus-2d/hunt-the-wumpus-2d/Entities/Entity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67881"
} | starcoder | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using MonoGame.Extended.Sprites;
using MonoGame.Extended.TextureAtlases;
namespace hunt_the_wumpus_2d.Entities
{
public abstract class Entity
{
protected Entity(int roomNumber, TextureRegion2D texture, Vector2 position)
{
... | 2.763803 | 8e987cf1639361b1337e3c81e78a65d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67881 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "davifiamenghi/my-personal-finances",
"max_stars_repo_path": "Src/Core/Finance.Application/Incomes/Queries/GetTotalIncomesByYear/GetIncomesByYearListQueryHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67882"
} | starcoder | namespace Finance.Application.Incomes.Queries.GetTotalIncomesByYear
{
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using Finance.Application.Common.Interfaces;
using Finance.Common.GlobalContants;
using Medi... | 2.275528 | fdbd239c48ab270615524f78a1342d8d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67882 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "KNShrindhi/Xamarin",
"max_stars_repo_path": "DependencyService/DependencyServiceSample/WinPhone/TextToSpeech.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67883"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DependencyServiceSample;
using Windows.Media.SpeechSynthesis;
using Windows.UI.Xaml.Controls;
using DependencyServiceSample.WinPhone;
[assembly: Xamarin.Forms.Dependency(typeof(TextToSpeechImpleme... | 2.464456 | 997362c2f52546227ab872b353051526 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67883 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "VeritasOS/assisted-review-portal",
"max_stars_repo_path": "ARP.Helpers/EqualityHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67884"
} | starcoder | /*
Copyright (c) 2019 Veritas Technologies LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... | 2.48601 | 206ea0e1af0b2c9769b67ca7375fd1c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67884 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mode777/OpenGL.Net",
"max_stars_repo_path": "Tgl.Net.Core/TglState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67885"
} | starcoder | using OpenGL;
using System;
using System.Collections.Generic;
using System.Text;
namespace Tgl.Net.Core
{
public interface IAccessor<T>
{
event EventHandler<T> Changed;
void Set(T value, bool cacheOnly = false);
T Get();
}
public class TglState
{
public TglState()
... | 2.548509 | 275d35e490d1a1f9f93d9ee9af3f4f62 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JacobCohenIsrael/SpaceShooter2D",
"max_stars_repo_path": "Assets/Scripts/Enemy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67886"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : MonoBehaviour
{
public const string ENEMY_TAG = "Enemy";
private const string TRIGGER_ON_ENEMY_DESTROYED = "OnEnemyDestroyed";
[SerializeField] private float speed = 1.0f;
private Anima... | 2.323704 | 30cea5f65073a0649f2565784c811671 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67886 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dongdapeng110/SharpDevelopTest",
"max_stars_repo_path": "src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Extensions/RenderTransformOriginExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67887"
} | starcoder | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using ICSha... | 1.702208 | 971cd1026394de6428bac804f39e072c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67887 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "afferenslucem/bookolog",
"max_stars_repo_path": "backend.v2/backend.v2.tests/Authentication/Services/JWTTokenServiceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67888"
} | starcoder | using System;
using System.Threading.Tasks;
using backend.v2.Authentication.Models;
using backend.v2.Authentication.Services;
using backend.v2.Exceptions.AuthenticationExceptions;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
... | 2.174349 | 0c5a22017a880b5d229d067d783d9abd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67888 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CaconCaco/BraindeadLauncher",
"max_stars_repo_path": "BattleLauncher/UserInterface.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67889"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using BattleLauncher.Controls;
using BattleLauncher.Extensions;
using static BattleLauncher.Data.OverAll;
namespace BattleLauncher
{
/// <summary>
/... | 1.830979 | 05e55960d6062d119c40108f0f17c689 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67889 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cenktrms/ntwain",
"max_stars_repo_path": "src/NTwain/Triplets/Control/Event.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67890"
} | starcoder | <reponame>cenktrms/ntwain
using NTwain.Data;
using NTwain.Internals;
namespace NTwain.Triplets.Control
{
sealed class Event : BaseTriplet
{
internal Event(TwainSession session) : base(session) { }
public ReturnCode ProcessEvent(ref TW_EVENT evt)
{
if (Is32Bit)
... | 1.899135 | 56ed9c55158fe766a1134c9564681a00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67890 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "StefH/GraphQL.EntityFrameworkCore.DynamicLinq",
"max_stars_repo_path": "examples/GraphQL.Api/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67891"
} | starcoder | using GraphQL.EntityFrameworkCore.DynamicLinq.DependencyInjection;
using GraphQL.EntityFrameworkCore.DynamicLinq.Options;
using GraphQL.Server;
using GraphQL.Server.Ui.Playground;
using GraphQL.Types;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Server.Kestrel.Core;... | 1.575423 | c06d8fd7c76e4a20f2fffbd263695e8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67891 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "lemonmojo/Dubrovnik",
"max_stars_repo_path": "dotNET/Dubrovnik.Tools/Dubrovnik.Tools/Net2ObjC.Class.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67892"
} | starcoder | <filename>dotNET/Dubrovnik.Tools/Dubrovnik.Tools/Net2ObjC.Class.cs
using Dubrovnik.Tools.Facets;
using System.Collections.Generic;
namespace Dubrovnik.Tools {
public partial class Net2ObjC {
//
// WriteClass
//
public void WriteClass(ClassFacet facet) {
if (!Config.GenerateFacetBinding(facet)) {
retu... | 2.221991 | a2ca5ad57b959f582a6b31d9020f408d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67892 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stehlika/SEP4C-MemoryPursuit",
"max_stars_repo_path": "SEP3-memory pursuit/Assets/Scripts/Nametag.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67893"
} | starcoder | <filename>SEP3-memory pursuit/Assets/Scripts/Nametag.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Nametag : MonoBehaviour {
[SerializeField] public string value;
}
| 1.401677 | 7057db8e7217ba30206d5a0e63f032ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67893 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RemigiuszZalewski/MyBook",
"max_stars_repo_path": "MyBookAPI.Application.UnitTests/Books/Queries/GetBooksByAuthor/GetBooksByAuthorQueryHandlerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67894"
} | starcoder | using MyBookAPI.Application.Books.Queries.GetBooksByAuthor;
using MyBookAPI.Application.Common.Exceptions;
using MyBookAPI.Application.UnitTests.Common;
using Shouldly;
using System;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace MyBookAPI.Application.UnitTests.Books.Queries.GetBooksByAu... | 2.481054 | 900c581b87fd41110b36c9dc0233cb45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67894 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kyoryo/test",
"max_stars_repo_path": "Grabacr07.KanColleViewer/Views/Controls/ColorIndicator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67895"
} | starcoder | <reponame>kyoryo/test<gh_stars>0
using Grabacr07.KanColleWrapper.Models;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace Grabacr07.KanColleViewer.Views.Controls
{
/// <summary>
///
/// </summary>
public class ColorIndicator : ProgressBar
{
static ColorInd... | 2.625207 | 76360e21e4f66738547c9a80cfc08252 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67895 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Packo0/SoftUniProgrammingFundamentals",
"max_stars_repo_path": "exercise/t10_DictionariesLambdaAndLinq/p01_Phonebook/p01_Phonebook.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67896"
} | starcoder | using System;
using System.Collections.Generic;
namespace p01_Phonebook
{
class p01_Phonebook
{
static void Main(string[] args)
{
string command = Console.ReadLine();
Dictionary<string, string> peoplePhones = new Dictionary<string, string>();
while (command... | 3.560623 | f3e4d69eb20a40eaa71dee15cb3939c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67896 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "grazies/Phoenix",
"max_stars_repo_path": "CMP/CmpServiceLib/Models/vw_MigrationStatusByDay.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67897"
} | starcoder | using System;
using System.Collections.Generic;
namespace CmpServiceLib.Models
{
public partial class vw_MigrationStatusByDay
{
public Nullable<System.DateTime> StartDatePST { get; set; }
public string Status { get; set; }
public Nullable<int> NumberOfBuilds { get; set; }
public... | 1.639596 | 2b21826eab0923a518c9a6873a596254 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67897 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JeremyKuhne/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/Windows/um/CommCtrl/CDIS.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67898"
} | starcoder | <filename>sources/Interop/Windows/Windows/um/CommCtrl/CDIS.cs
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/CommCtrl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All r... | 1.081389 | bf9de73b42760bf93a4b40c12465f890 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67898 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "ecole/testcentric-gui",
"max_stars_repo_path": "src/TestModel/model/ITestItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67899"
} | starcoder | // ***********************************************************************
// Copyright (c) <NAME> and TestCentric GUI contributors.
// Licensed under the MIT License. See LICENSE file in root directory.
// ***********************************************************************
namespace TestCentric.Gui.Model
{
//... | 2.041837 | e01cf74fa00d959e77c734701d03382e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67899 | {
"extension": "c-sharp",
"max_stars_count": "121.0",
"max_stars_repo_name": "sisisin/pulumi-gcp",
"max_stars_repo_path": "sdk/dotnet/CloudRun/Outputs/GetServiceStatusResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67900"
} | starcoder | <reponame>sisisin/pulumi-gcp
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using... | 1.313088 | 954b98407757ef37f1632ef2c5efeb47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67900 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edblackburn/NDC-2016",
"max_stars_repo_path": "hacks/hacks/modelling/4 - memento/when_journeys_are_compared.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67901"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace hacks.modelling.memento
{
[TestFixture]
public class when_journeys_are_compared
{
[Test]
public void should_be_sortable()
{
const string bank = "Bank";
const string princeR... | 2.875326 | 8856221cba8716d25f97d47952e1041d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67901 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "commentatorboy/PizzaWaiter",
"max_stars_repo_path": "PizzaWaiterServiceApp/PizzaWaiterServiceLibrary/Models/Ingredient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67902"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using CustomHandlers.DatabaseLibrary;
namespace Models
{
/* Describes an object */
[DataContract]
public class Ingredient : SqlModel
... | 3.044377 | f106eb9f899da241d764c0b985b5f15e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67902 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "dropmi/CloudConvert.NET",
"max_stars_repo_path": "SourceCodes/03_Services/CloudConvert.Wrapper/DataFormats/Font.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67903"
} | starcoder | <filename>SourceCodes/03_Services/CloudConvert.Wrapper/DataFormats/Font.cs
namespace Aliencube.CloudConvert.Wrapper.DataFormats
{
/// <summary>
/// This represents the font format entity.
/// </summary>
public class Font
{
/// <summary>
/// Embedded OpenType
/// </summary>
... | 2.509685 | 6585393e5fbfab4de9d4b9356bb8a5e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67903 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IvanKupriyanov/Catel",
"max_stars_repo_path": "src/Catel.Test/Catel.Test.Shared/Reflection/ReflectionExtensionsFacts.type.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67904"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ReflectionExtensionsFacts.type.cs" company="Catel development team">
// Copyright (c) 2008 - 2014 Catel development team. All rights reserved.
// </copyright>
// ---------------... | 2.582699 | 257e3321adc82a293b323a11cf3bbadc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67904 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "fabriciomurta/BridgeUnified",
"max_stars_repo_path": "Bridge/Attributes/ConstructorAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67905"
} | starcoder | using System;
namespace Bridge
{
[Ignore]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
public sealed class ConstructorAttribute : Attribute
{
public ConstructorAttribute(string value)
{
}
}
} | 2.057077 | 936df951d9cc2b4c89dc267f30a76715 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67905 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "undeadinu/mobileapp",
"max_stars_repo_path": "Toggl.Foundation.Tests/Sync/States/Pull/TrySetDefaultWorkspaceStateTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67906"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
using System.Reactive.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using FsCheck.Xunit;
using NSubstitute;
using Toggl.Foundation.DataSources;
using Toggl.Foundation.Exceptions;
using Toggl.Foundation.Models.Interfaces;
using Toggl.Foundation.Sync.States.P... | 1.960205 | e71f9f1444698cb69a0ccde1bb4467ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67906 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lukaspj/T3DSharp-Sample",
"max_stars_repo_path": "t3dsharp/T3DSharpFramework/Generated/Classes/Sim/MeshRoad.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67907"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using T3DSharpFramework.Engine;
using T3DSharpFramework.Engine.Util;
using T3DSharpFramework.Generated.Classes.Global;
using T3DSharpFramework.Generated.Classes.Reflection;
using T3DSharpFramework.Generated.Classes.Sim;
using T3DSharp... | 2.120956 | 9680ec34bc959d49628e0518c8bc1f7f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67907 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "luthfiampas/Avalonia",
"max_stars_repo_path": "src/Avalonia.Base/AvaloniaPropertyRegistry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67908"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace Avalonia
{
/// <summary>
/// Tracks registered <see cref="AvaloniaProperty"/> instances.
/// </summary>
public class AvaloniaPropertyRegistry
{
private readonly Dictionary<int, Av... | 2.508214 | a5061d70c4e792836a27f79247b31ca0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67908 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Nikismyname/SoftUniHomeworks",
"max_stars_repo_path": "C# Web Development Basics/SIS/Exercise 2/SIS.HTTP/Headers/HttpHeaderCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67909"
} | starcoder | namespace SIS.HTTP.Headers
{
using SIS.HTTP.Headers.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
public class HttpHeaderCollection : IHttpHeaderCollection
{
private readonly Dictionary<string, HttpHeader> headers;
public HttpHeaderCollection()
... | 3.213785 | 9f505041ee8faea07e3e8eb2d54bb2cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67909 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "workgroupengineering/FtpServer",
"max_stars_repo_path": "src/FubarDev.FtpServer/FtpConnection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67910"
} | starcoder | <filename>src/FubarDev.FtpServer/FtpConnection.cs
//-----------------------------------------------------------------------
// <copyright file="FtpConnection.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
// <author><NAME></author>
//---------... | 1.457618 | 40f631d6d1ec7c38a81c891f2641e210 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67910 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "suzu-devworks/examples-dotnet-web",
"max_stars_repo_path": "src/Examples.WebApi/Controllers/SerializationController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67911"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Examples.WebApi.Applications.Serialization.Models;
namespace Examples.WebApi.Controllers
{
[ApiController]
[Route("api/v1/[controller]")]
public class Serializat... | 2.137381 | 1624bfb8ca62a7898ad9246c9104c1a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67911 | {
"extension": "c-sharp",
"max_stars_count": "81.0",
"max_stars_repo_name": "rusuly/MySqlCdc",
"max_stars_repo_path": "tests/MySqlCdc.Tests/Network/EventStreamChannelTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67912"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using MySqlCdc.Constants;
using MySqlCdc.Network;
using MySqlCdc.Protocol;
using Xunit;
namespace MySqlCdc.Tests.Network;
public class EventStreamChannelTests
{
private const string SkipReason = "This test is CPU and Me... | 2.474205 | bbb74440570c0ec033eb34b4623acc4f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67912 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "Battlerax/MTGRP",
"max_stars_repo_path": "dotnet/resources/mtgvrp/property_system/ItemManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67913"
} | starcoder | using System.Collections.Generic;
namespace mtgvrp.property_system
{
public static class ItemManager
{
public static void SetDefaultPrices(Property prop)
{
prop.ItemPrices = new Dictionary<string, int>();
switch (prop.Type)
{
case PropertyMana... | 2.621488 | eb958aedc601c36f96d65cf5977eb0c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67913 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CraigOrendi/xenadmin",
"max_stars_repo_path": "XenAdmin/Wizards/NewPolicyWizard/DaysWeekCheckboxes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67914"
} | starcoder | /* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice... | 2.213611 | c4f8b35cd3b5fb2457ab95e41ed23021 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67914 | {
"extension": "c-sharp",
"max_stars_count": "410.0",
"max_stars_repo_name": "maxedoutstudio/RoomAlive",
"max_stars_repo_path": "ProCamCalibration/CalibrateEnsemble/UnsavedChangesDialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67915"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace RoomAliveToolkit
{
public partial class UnsavedChangesDialog : Form
{
... | 2.051638 | 3d6f299be0a76d32f8cd2eb9f33ba9f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67915 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Remi-Tech/compass-core",
"max_stars_repo_path": "Compass.Domain/Services/SendToEndpoint/ISendToEndpointPolicy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67916"
} | starcoder | using Polly;
namespace Compass.Domain.Services.SendToEndpoint
{
public interface ISendToEndpointPolicy
{
Policy GetPolicy();
}
}
| 1.395571 | fafe0c030470d0b1e72e2b22ea31a738 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67916 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marinasundstrom/YourCompany",
"max_stars_repo_path": "Customers/Customers/Domain/Entities/Person.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67917"
} | starcoder | using System;
using YourBrand.Customers.Domain.Common;
using YourBrand.Customers.Domain.Events;
namespace YourBrand.Customers.Domain.Entities;
public class Person : AuditableEntity
{
readonly HashSet<Address> _addresses = new HashSet<Address>();
protected Person() { }
public Person(string... | 2.636694 | 617ca9ee895baae474da33fdff5d4ffe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67917 | {
"extension": "c-sharp",
"max_stars_count": "212.0",
"max_stars_repo_name": "SpriteMaster-Ext/StructLinq",
"max_stars_repo_path": "src/StructLinq.Tests/Utils/Collections/PooledListVisitorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67918"
} | starcoder | <reponame>SpriteMaster-Ext/StructLinq
using System.Buffers;
using System.Linq;
using StructLinq.Utils.Collections;
using Xunit;
namespace StructLinq.Tests.Utils.Collections
{
public class PooledListVisitorTests
{
[Fact]
public void ShouldCopyArray()
{
var visitor = new Pool... | 2.406194 | 5ec8fde4510a7fa95639b91d34f7b4c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67918 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrHarrisonBarker/OpenEvent",
"max_stars_repo_path": "OpenEvent.Web/Controllers/BankingController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67919"
} | starcoder | <reponame>MrHarrisonBarker/OpenEvent
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using OpenEvent.Data.Models.BankAccount;
using OpenEvent.Web.Services;
namespace OpenEvent.Web.Controllers
{
/// <summary>
/// API controller for all banking rela... | 2.402787 | 1c8a19c8cc7df15f551a2ea956b6fa25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67919 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "drrky-g/FinancialPortal",
"max_stars_repo_path": "FinancialPortal/Views/Households/CreateHouseWithWizard.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:67920"
} | starcoder | @using FinancialPortal.ViewModels
@model HouseWizardVM
@{
ViewBag.Title = "Build House";
ViewBag.Header = "";
ViewBag.SubHeader = "";
}
<div class="row">
<div class="col-md-12">
@using (Html.BeginForm())
{
@Html.AntiForgeryToken();
@Html... | 2.437513 | fb8518e11c5a8a3a5dca8476693d0f38 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67920 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "sgermosen/MersyLotteryBasic",
"max_stars_repo_path": "Core/Mersy.Web/Controllers/OptionsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67921"
} | starcoder | namespace Mersy.Web.Areas.Administration.Controllers
{
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
[Authorize(Roles = "Admin,SuperUser,Supervisor,User")]
public class OptionsController : Controller
{
public IActionResult Index()
{
retu... | 1.536272 | 3fd0c613b2bf74cdaef014ae05c69119 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67921 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "OsvaldoMartini/Blazor_Projects",
"max_stars_repo_path": "Blazume/Blazume.App/Pages/Single.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:67922"
} | starcoder | <filename>Blazume/Blazume.App/Pages/Single.cshtml
@page "/single"
@page "/single/{image}"
<div id="single" class="container">
<h2>Single Work @image</h2>
<br>
<img styel="width:100%;" src="/img/@(image).jpg" />
<br>
<h3>Lorem ipsum dolor sit amet, consectetur adipiscing elit, se... | 2.408474 | 165a15ddf975b73cba75bac344a722d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67922 | {
"extension": "c-sharp",
"max_stars_count": "272.0",
"max_stars_repo_name": "landlogicit/beyourmarket",
"max_stars_repo_path": "src/BeYourMarket.Model/Models/Mapping/MetaCategoryMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67923"
} | starcoder | <filename>src/BeYourMarket.Model/Models/Mapping/MetaCategoryMap.cs
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace BeYourMarket.Model.Models.Mapping
{
public class MetaCategoryMap : EntityTypeConfiguration<MetaCategory>
{
public MetaCategoryMap... | 2.81981 | 844d15dee385167a3aa3ad53bbdba50d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67923 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "DavidKarlas/mono",
"max_stars_repo_path": "mcs/class/System.Data/System.Data.Common/DbConnectionStringBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67924"
} | starcoder | <filename>mcs/class/System.Data/System.Data.Common/DbConnectionStringBuilder.cs
//
// System.Data.Common.DbConnectionStringBuilder.cs
//
// Author:
// <NAME> (<EMAIL>)
// <NAME> (<EMAIL>
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtain... | 2.006679 | d478ec2dba4b839a0fc1d883e6bf6d3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67924 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "radoslavvv/Programming-Fundamentals-Extended-May-2017",
"max_stars_repo_path": "Labs/02.CSharpConditionalStatementsAndLoops/12.NumberChecker/12.NumberChecker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67925"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program
{
static void Main()
{
string input = Console.ReadLine();
int number = 0;
if (int.TryParse(input, out number))
{
Console.WriteLine("It ... | 3.106423 | baf748a04d7d31437d7a07281d7990c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67925 | {
"extension": "c-sharp",
"max_stars_count": "319.0",
"max_stars_repo_name": "Mu-L/EntitiesBT",
"max_stars_repo_path": "Packages/essential/Dependencies/Nuwa/Core/Editor/Drawers/HideIfAttributeDrawercs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67926"
} | starcoder | using UnityEditor;
using UnityEngine;
namespace Nuwa.Editor
{
[CustomMultiPropertyDrawer(typeof(HideIfAttribute))]
public class HideIfAttributeDrawer : BaseMultiPropertyDrawer
{
private HideIfAttribute _attribute => (HideIfAttribute) Decorator;
private bool ShouldHide(SerializedProperty pr... | 2.147595 | aa03fcbc787d4a961237fdb549936b39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67926 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sotirona/SoftUni",
"max_stars_repo_path": "AdvancedCSharpCourseSoftUniMay2017/StacksAndQueues/04.BasicQueueOperations/BasicQueueOperations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67927"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _04.BasicQueueOperations
{
public class BasicQueueOperations
{
public static void Main()
{
int[] commandArgs = Console.ReadLine().Split().Select(int.Parse)... | 3.720162 | 19dc05d75696a83e661316851a74ff0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67927 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Skarbor/OrionSDK",
"max_stars_repo_path": "Src/SwqlStudio/ProductSpecific/OrionInfoServiceCompressed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67928"
} | starcoder | using System.ServiceModel.Channels;
using SolarWinds.InformationService.Contract2;
using SwqlStudio.Properties;
namespace SwqlStudio
{
internal class OrionInfoServiceCompressed : InfoServiceBase
{
public OrionInfoServiceCompressed(string username, string password, bool v3 = false)
{
... | 1.961192 | e5ef330d547c709bde4bb5df3818c042 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67928 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ebradim/OlxClone_dotNET5_Angular11",
"max_stars_repo_path": "API/Middlewares/ErrorHandlingMiddleware.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67929"
} | starcoder | <gh_stars>1-10
using Application;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System.Threading.Tasks;
namespace API.Middlewares
{
public class ErrorHandlingMiddleware
{
private readonly RequestDelegate _next;
private readonly ILogger<ErrorH... | 2.739512 | 0185635282cf69e030068d12ac1aa62d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67929 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yazawa-ichio/UVMBinding",
"max_stars_repo_path": "Unity/Assets/UVMBinding/uGUI/Binders/EnumPopupBinderBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67930"
} | starcoder | <reponame>yazawa-ichio/UVMBinding
using System;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
namespace UVMBinding.Binders
{
public abstract class EnumPopupBinderBase<T> : Binder<T, Dropdown> where T : Enum
{
static readonly T[] s_Values = (T[])Enum.GetValues(typeof(T));
[SerializeField]
T[] m_... | 2.301312 | d96798a5e9835eb806ce41307f9148a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67930 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "GEOTEST-AG/BioDivCollector",
"max_stars_repo_path": "Server/BioDivCollector.DB/Models/Domain/User.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67931"
} | starcoder | <reponame>GEOTEST-AG/BioDivCollector<filename>Server/BioDivCollector.DB/Models/Domain/User.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using System.Text.Json.Serialization;
namespace BioDivCollec... | 2.090165 | 91a121d5cfebfad7b75e6ac0c27f5137 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67931 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "KirillOsenkov/LayoutDesigner",
"max_stars_repo_path": "LayoutDesigner/DragDrop/DropLocation/InsertRowGridDropLocation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67932"
} | starcoder | <reponame>KirillOsenkov/LayoutDesigner
using System.Windows;
namespace GuiLabs.LayoutDesigner
{
public class InsertRowGridDropLocation : IDropLocation
{
private readonly DragDropGrid panel;
private readonly int column;
private readonly int row;
private readonly Rect in... | 2.141523 | a45d385e279e678e317b4c753aa5101b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67932 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Anastasiya5883/NoteApp",
"max_stars_repo_path": "NoteApp/Testing/NoteApp.UnitTests/Routes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67933"
} | starcoder | <reponame>Anastasiya5883/NoteApp
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Reflection;
namespace NoteApp.UnitTests
{
class Routes
{
public static string DataFolderForTest()
{
var location = Assembly.GetExecutingAssembly().Locat... | 1.98712 | 0e5d0698609d1eb8352e2dfebdf39470 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.