added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849712 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "icarus-consulting/Yaapii.Atoms",
"max_stars_repo_path": "tests/Yaapii.Atoms.Tests/Map/JoinedMapTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168932"
} | starcoder | // MIT License
//
// Copyright(c) 2021 ICARUS Consulting GmbH
//
// 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, cop... | 2.165656 | 26858e9656512d017e728064472a69c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849713 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aceryan-consulting/aceryansoft.codeflow",
"max_stars_repo_path": "src/aceryan.codeflow.samples/ShowCase/ExceptionHandlingMiddleware.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168933"
} | starcoder | using System;
using aceryansoft.codeflow.model.Middlewares;
using aceryansoft.codeflow.model.Config;
using aceryansoft.codeflow.model.Filter;
namespace aceryan.codeflow.samples.ShowCase
{
public interface IExceptionHandlingMiddleware : ICodeFlowMiddleWare
{
}
public class ExceptionHandlingMiddleware ... | 2.404261 | 7c2776e8d4acae9c170032b1ac2bd82e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849714 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "undancer/oni-data",
"max_stars_repo_path": "Managed/main/OilWellCap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168934"
} | starcoder | using Klei;
using KSerialization;
using STRINGS;
using TUNING;
using UnityEngine;
[SerializationConfig(MemberSerialization.OptIn)]
[AddComponentMenu("KMonoBehaviour/Workable/OilWellCap")]
public class OilWellCap : Workable, ISingleSliderControl, ISliderControl, IElementEmitter
{
public class StatesInstance : GameStat... | 1.834978 | 85758dc6e1b24107c2e0b87eaf115ef5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849715 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "denis417/ForTea",
"max_stars_repo_path": "Backend/test/ForTea.Tests/Features/T4FormatterTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168935"
} | starcoder | using GammaJul.ForTea.Core.Psi.FileType;
using JetBrains.Annotations;
using JetBrains.Application.Progress;
using JetBrains.DocumentModel;
using JetBrains.DocumentModel.Transactions;
using JetBrains.Lifetimes;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Feature.Services.CodeCleanup;
using JetBrains.ReSharpe... | 1.529971 | e9f9005c7b073465709fe5c0001115ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849716 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chi-rei-den/Silverfish",
"max_stars_repo_path": "cards/TROLL/TRLA/Sim_TRLA_163.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168936"
} | starcoder | /* _BEGIN_TEMPLATE_
{
"id": "TRLA_163",
"name": [
"哈尔拉兹的假面",
"Halazzi's Guise"
],
"text": [
"<b>神龛</b>\n当你召唤一个野兽时,使其获得<b>突袭</b>,<b>嘲讽</b>或<b>剧毒</b>中的一种。",
"[x]<b>Shrine</b>\nWhenever you summon a\nBeast, it gains <b>Rush</b>,\n<b>Taunt</b>, or <b>Poisonous</b>"
],
"cardClass": "HUNTER",
"t... | 1.995357 | 42984884f73629973ea6e4fac024f225 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849717 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "avegaraju/Imposter",
"max_stars_repo_path": "tests/FluentImposter.Core.Tests.Unit/RequestHeaderTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168937"
} | starcoder | using FluentAssertions;
using FluentImposter.Core.Entities;
using Xunit;
namespace FluentImposter.Core.Tests.Unit
{
public class RequestHeaderTests
{
[Fact]
public void Add_CanAddRequestHeaderKeyValuePair()
{
RequestHeader header = new RequestHeader();
header... | 2.592227 | 5aadc1a4dd44296fd0fae869a1705015 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849718 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YakaryBovine/AzerothWarsCSharp",
"max_stars_repo_path": "src/War3Api.Object/Generated/1.32.10.17734/Abilities/RuneOfTheWatcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168938"
} | starcoder | <reponame>YakaryBovine/AzerothWarsCSharp
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using War3Api.Object.Abilities;
using War3Api.Object.Enums;
using War3Net.Build.Object;
using War3Net.Common.Extensions;
namespace War3Api.Object.Abilities
{
public sea... | 1.935174 | 4316840c1dec648f52e34f9c777a416d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849719 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sakapon/AtCoder-Contests",
"max_stars_repo_path": "CSharp/Contests2021/ABC204/B.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168939"
} | starcoder | <filename>CSharp/Contests2021/ABC204/B.cs
using System;
using System.Linq;
class B
{
static int[] Read() => Array.ConvertAll(Console.ReadLine().Split(), int.Parse);
static void Main() => Console.WriteLine(Solve());
static object Solve()
{
var n = int.Parse(Console.ReadLine());
var a = Read();
r... | 3.265586 | 4a275a5ece19092a84c682d1103bdeba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849720 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Michelle-99/DiscordManager",
"max_stars_repo_path": "DiscordManager/Events/Discord/ThreadMemberJoinedEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168940"
} | starcoder | using DCM.Interfaces;
using Discord.WebSocket;
namespace DCM.Events.Discord
{
public class ThreadMemberJoinedEvent : Event
{
public ThreadMemberJoinedEvent(SocketThreadUser user)
{
User = user;
}
public SocketThreadUser User { get; }
}
}
| 2.011484 | 725513a56ffebd563f73eb8482581615 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849721 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NeSh74/Programing-Basic-CSharp-October-2020",
"max_stars_repo_path": "06_Conditional Statements Advanced - Exercise/05_Journey/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168941"
} | starcoder | <reponame>NeSh74/Programing-Basic-CSharp-October-2020<gh_stars>0
using System;
namespace _05_Journey
{
class Program
{
static void Main(string[] args)
{
double budget = double.Parse(Console.ReadLine());
string season = Console.ReadLine();
string destination ... | 2.910449 | 6e8a1a70dd8350963bf646cdbe3984da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849722 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrepraska/andre",
"max_stars_repo_path": "trunk/ArcBruTile/app/forms/AddTileServiceForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168942"
} | starcoder | <gh_stars>0
using System;
using System.Windows.Forms;
namespace BrutileArcGIS.forms
{
public partial class AddTileServiceForm : Form
{
public string Url { get; set; }
public string LayerName { get; set; }
public AddTileServiceForm()
{
InitializeComponent();
... | 1.976674 | c177e62db35f06bbb321584ccd271beb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849723 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fairday/Dissertation",
"max_stars_repo_path": "src/Dissertation.Modeling/UI/TabControlBehaviors.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168943"
} | starcoder | using MaterialDesignThemes.Wpf;
using System.Windows;
namespace Dissertation.Modeling.UI
{
public static class TabControlBehaviors
{
public static PackIconKind GetTabItemIcon(DependencyObject obj)
{
return (PackIconKind)obj.GetValue(TabItemIconProperty);
}
public s... | 2.260383 | 8b6a1c45251d9324e29dc3236b49ef2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849724 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asipe/Maddir",
"max_stars_repo_path": "src/Maddir.Core/Model/EntryFunc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168944"
} | starcoder | <gh_stars>0
using System;
namespace Maddir.Core.Model {
public class EntryFunc<T> {
public EntryFunc(Func<FileEntry, T> onFile,
Func<DirectoryEntry, T> onDirectory) {
mOnFile = onFile;
mOnDirectory = onDirectory;
}
public T Execute(IEntry entry) {
switc... | 2.508119 | 4e78a41f8ab94be02116f29e895908f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849725 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "noflashbang/odata.net",
"max_stars_repo_path": "src/OData/Microsoft/OData/Core/Json/GeoJsonWriterAdapter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168945"
} | starcoder | <reponame>noflashbang/odata.net
// OData .NET Libraries
// Copyright (c) Microsoft Corporation. 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... | 2.300322 | 3b322d57d35ab8b58e2a404a43e9de96 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849726 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jreina/new-csharp-features",
"max_stars_repo_path": "c-sharp-7-1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168946"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using static System.Console;
namespace new_csharp_features
{
class async_main_method
{
static async Task Main(string[] args)
{
await Task.Run(() => WriteLine("Hello World!"));
... | 3.365306 | 9414949938773f304d13081767eb64de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849727 | {
"extension": "c-sharp",
"max_stars_count": "137.0",
"max_stars_repo_name": "conceptdev/AndroidX",
"max_stars_repo_path": "source/androidx.constraintlayout/constraintlayout-core/Additions/AndroidX.ConstraintLayout.Core.Additions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168947"
} | starcoder | <filename>source/androidx.constraintlayout/constraintlayout-core/Additions/AndroidX.ConstraintLayout.Core.Additions.cs
using System;
using System.Collections.Generic;
using Android.Runtime;
namespace AndroidX.ConstraintLayout.Core
{
}
| 0.751586 | 20ad766874f79a56f5e652d9948be912 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849728 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mike111177/OWLib",
"max_stars_repo_path": "TankLib/STU/Types/STU_CF8C7CC5.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168948"
} | starcoder | <reponame>Mike111177/OWLib<filename>TankLib/STU/Types/STU_CF8C7CC5.cs
// Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0xCF8C7CC5)]
public class STU_CF8C7CC5 : STU_5C5EA990 {
}
}
| 1.130404 | e0ca30459cf9b4ac828110f9fba242c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849729 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "TobySalusky/MonoGameHtml",
"max_stars_repo_path": "Example/Examples/LiveEdit/LiveEditGame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168949"
} | starcoder | using System;
using System.IO;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using MonoGameHtml;
namespace Example {
public class LiveEditGame : Game {
private GraphicsDeviceManager _graphics;
private SpriteBatch _spriteBatch;
... | 2.278743 | 9dfea79a7c2edd2b3e854cf68e2f0b29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849730 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dekizard/CQRSApiTemplate",
"max_stars_repo_path": "src/CQRSApiTemplate.Application/Features/Categories/Commands/CreateCategory/CreateCategoryCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168950"
} | starcoder | using CQRSApiTemplate.Application.Common.ResultModel;
using CQRSApiTemplate.Application.Interfaces;
using CQRSApiTemplate.Domain.Entities;
using CQRSApiTemplate.Resources;
using MediatR;
using Microsoft.Extensions.Logging;
using System.Threading;
using System.Threading.Tasks;
namespace CQRSApiTemplate.Application.Fea... | 2.323747 | 8e15945cc4c3638b4b61e1f02fce2fc9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849731 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TonyChoiMS/UnrealMMO",
"max_stars_repo_path": "TimeTravel/Source/TimeTravel.Target.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168951"
} | starcoder | <filename>TimeTravel/Source/TimeTravel.Target.cs
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class TimeTravelTarget : TargetRules
{
public TimeTravelTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Game;
ExtraModuleName... | 1.806623 | 3e0dce4a37fc88e819a386148fcfd02e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849732 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "jxnkwlp/Passingwind.Blog",
"max_stars_repo_path": "Passingwind.Blog.Web.Core/TagHelpers/GravatarTagHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168952"
} | starcoder | <filename>Passingwind.Blog.Web.Core/TagHelpers/GravatarTagHelper.cs
using Microsoft.AspNetCore.Razor.TagHelpers;
using System.Security.Cryptography;
using System.Text;
namespace Passingwind.Blog.Web.TagHelpers
{
[HtmlTargetElement("gravatar")]
[HtmlTargetElement("img", Attributes = "gravatar")]
public class Gravata... | 2.509895 | 2f214c67248bbf926a7c68c98c49d1fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849733 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "patrikulus/ServerlessPlayground",
"max_stars_repo_path": "ServerlessPlayground/WebApp/WebAppCoreFramework/Views/Manage/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168953"
} | starcoder | @using WebAppCoreFramework.Views.Manage | 0.722216 | 214cf811b58b7ec29ae16aa5c6388c9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849734 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ecarloslopes/Programacao_Jogos",
"max_stars_repo_path": "ProjetoNaveV0.2/Assets/Scripts/EnemyRed.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168954"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyRed : MonoBehaviour
{
public float speed;
public Vector2 direction;
private Rigidbody2D _rb2dBody;
[SerializeField]
private GameObject prefabExplosion;
[SerializeField]
private GameObject pre... | 2.078987 | 2a06025bfae24da74684015216176696 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849735 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Cube6/Cube",
"max_stars_repo_path": "src/Services/Board/Board.Infrastructure/Repositories/IBoardRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168955"
} | starcoder | using Cube.Board.Domain;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Cube.Board.Respository
{
public interface IBoardRepository
{
Task UpdateBoardAsync(DisscussionBoard disscussionBoard);
Task<int> CreateBoardAsync(DisscussionBoard disscussionBoard);
Task<List<DisscussionBoard>> ... | 2.06297 | 24061f4665aff79474f4115ed6bdd459 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849736 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rkhomyk/FFT.Oanda",
"max_stars_repo_path": "src/FFT.Oanda/Orders/OrderTriggerCondition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168956"
} | starcoder | <gh_stars>1-10
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace FFT.Oanda.Orders
{
using System.Text.Json.Serialization;
/// <summary>
/// Specification of which price component should be used when dete... | 2.591989 | 27121b18bd6a6b9ec059b109d956293d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849737 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "fengrui358/NetLibCore",
"max_stars_repo_path": "NetLib.Core.Wpf/UiConverters/TimeSpanDisplayConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168957"
} | starcoder | using System;
using System.Globalization;
using System.Windows;
namespace FrHello.NetLib.Core.Wpf.UiConverters
{
/// <summary>
/// 时间显示转换
/// </summary>
public class TimeSpanDisplayConverter : MarkupConverter
{
private static TimeSpanDisplayConverter _instance;
/// <summary>
... | 2.809974 | 23dd351345a0caa59d41b38195ce0df5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849738 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "israellot/signalr-cluster",
"max_stars_repo_path": "src/SignalRCluster/Internal/Directory/ClusterNodeHubDirectory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168958"
} | starcoder | <reponame>israellot/signalr-cluster
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.SignalR;
usin... | 2.197267 | 020e99f1300f694f4bc771451029b472 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849739 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "Ud0o/ZendeskApiClient",
"max_stars_repo_path": "src/ZendeskApi.Client/Responses/HelpCenter/SingleHelpCenterCategoryResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168959"
} | starcoder | <reponame>Ud0o/ZendeskApiClient
using Newtonsoft.Json;
using ZendeskApi.Client.Models;
namespace ZendeskApi.Client.Responses
{
public class SingleHelpCenterCategoryResponse
{
[JsonProperty("category")]
public HelpCenterCategory Category { get; set; }
}
} | 1.230802 | 3b346d7a47f2e2bbadf835d94072fb9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849740 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "elena-andonova/telerik-academy",
"max_stars_repo_path": "Programming with C#/Codes/Download from Internet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168960"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
class DownloadInternet
{
static void Main()
{
//Menu Soon Will Have More Options You Can Call It Menu v1.0 Beta Version :)
Console.WriteLine("Choose Action.");
Con... | 3.354779 | 8e9aa7d82c26e515117ff34b448ca393 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849741 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "camypaper/complib",
"max_stars_repo_path": "Library/Collections/SegmentTree.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168961"
} | starcoder | using System;
namespace CompLib.Collections {
using RmQ = SegmentTree<long, MinData>;
using RMQ = SegmentTree<long, MaxData>;
#region SegTree Operator
public interface IData<T> {
T Merge(T l, T r);
T Identity { get; }
}
#endregion
#region Segment Tree
public class SegmentTree<T, U>
where U : struct, ID... | 2.606012 | 295c1551ef2bfa4407c01d34d91c2e90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849742 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jcapellman/XATF",
"max_stars_repo_path": "src/XATF.GameLibrary/Enums/MovementTypes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168962"
} | starcoder | namespace XATF.GameLibrary.Enums
{
public enum MovementTypes
{
LEFT,
RIGHT,
UP,
DOWN
}
} | 1.701384 | 011d8f979d7fb632037ad0281460cd65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849743 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vhatsura/sourcelizer",
"max_stars_repo_path": "src/Sourcelyzer/EnumerableExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168963"
} | starcoder | <reponame>vhatsura/sourcelizer
using System.Collections.Generic;
namespace Sourcelyzer
{
public static class EnumerableExtensions
{
public static IEnumerable<TEntity> Yield<TEntity>(this TEntity entity)
{
yield return entity;
}
}
}
| 1.761088 | fbec1e21bf7e5c126afd23254e91d53e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849744 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CyAScott/MediaBrowser",
"max_stars_repo_path": "src/MediaBrowser.Core/Models/SearchUsersRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168964"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace MediaBrowser.Models
{
/// <summary>
/// The search parameters for finding users.
/// </summary>
public class SearchUsersRequest
{
/// <summary>
/// Optional filter option.
/// </summary>
public UserFilterOptions... | 3.002454 | 36af10b3229e222c2fcf2c8692ba8c4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849745 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "andrewalford1/CPU_online",
"max_stars_repo_path": "CPUonline/Assets/scripts/AssemblyLanguage/Assembler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168965"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using UnityEngine;
[Serializable]
public class LineOfCode {
public int lineNumber;
public string label = null;
public string command = null;
public List<string> parameters = null;
public string data = null;
}
/*... | 3.013996 | c759b51d8946e083638fbd14f91e2c65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849746 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "a-kozhanov/codewars_csharp",
"max_stars_repo_path": "CodeWarsTests/8kyu/MilesPerGallonToKilometersPerLiterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168966"
} | starcoder | <filename>CodeWarsTests/8kyu/MilesPerGallonToKilometersPerLiterTests.cs
using CodeWars;
using NUnit.Framework;
namespace CodeWarsTests
{
[TestFixture]
public class MilesPerGallonToKilometersPerLiterTests
{
[Test]
public void Basic_Tests()
{
Assert.AreEqual(4.25, MilesPe... | 2.787965 | 2fe522b01aa2594561fc92eca030650c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849747 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sbergot/gifttracker",
"max_stars_repo_path": "WebApplication/Pages/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168967"
} | starcoder | <filename>WebApplication/Pages/_ViewImports.cshtml
@using WebApplication
@using WebApplication.Models.Mvc
@using Microsoft.AspNetCore.Identity
@using Microsoft.AspNetCore.Mvc.RazorPages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.504695 | ba6d3d41af7259d818e1c8f648f6a2da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849748 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "CircuitCodes/NewsAPI.Net",
"max_stars_repo_path": "NewsAPI.Net/NewsApiClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168968"
} | starcoder | using NewsAPI.Net.Extensions;
using NewsAPI.Net.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
namespace NewsAPI.Net
{
public class NewsClient : IDisposable
{
private readonly string _key;
private string _base... | 2.990679 | 53cf0cdbb5363be235c56a213a51cca3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849749 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WTobor/MyNozbe",
"max_stars_repo_path": "MyNozbe.API.E2ETests/TestModels/TaskTestModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168969"
} | starcoder | <reponame>WTobor/MyNozbe<gh_stars>0
using System.Collections.Generic;
namespace MyNozbe.API.E2ETests.TestModels
{
public class TaskTestModel
{
public int Id { get; set; }
public string Name { get; set; }
public bool IsCompleted { get; set; }
public int? ProjectId { g... | 1.448231 | 7c57ca4c6e1dc24643416805d4b1b659 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849750 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "granaderainer/mosBuergerPortal",
"max_stars_repo_path": "mosPortal/Views/Shared/_Modal.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168970"
} | starcoder | @model LoginViewModel
<div class="modal fade" id="modal" tabindex="-1" role="dialog" aria-labelledby="login-modalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
@{
<form asp-action="Login" method="post" asp-controller="Account">... | 2.438487 | 96aae33ee674c1daaee643d530722c54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849751 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndreyKodzhabashev/CSharpProgrFundAllExercisesSolutions",
"max_stars_repo_path": "Lecture_06_Lists/Ex02 Change List/Ex06_Pr02_Change_List.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168971"
} | starcoder | using System;
using System.Linq;
using System.Collections.Generic;
namespace Ex06_Pr02_Change_List
{
class Ex06_Pr02_Change_List
{
// 100/100
static void Main()
{
//TODO - read the input
List<int> listNumbers = Console.ReadLine()
.Split(' ')
... | 3.848022 | 1a5d948521f6c0503eed24e0501ed4c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849752 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rinconsebastian/seguimiento",
"max_stars_repo_path": "seguimiento/Views/Shared/Components/Adjunto/Default.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168972"
} | starcoder |
<a href="@ViewBag.Url" target="_blank">
<i class="@ViewBag.Icon mr-2"></i> @ViewBag.Name
</a>
| 1.667509 | 5626f5abef464989618774fb421e48a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849753 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ACG8/Westport",
"max_stars_repo_path": "Assets/Assets/Scripts/Buildings/Trader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168973"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
// Trader buildings trade one resource for another.
public class Trader : DestructibleBuilding {
public string buildingName;
public Text offerText;
public Good[] offer;
// times per minute that resour... | 2.47963 | f7241f29ec2e9bb3cb411c044c3dc51a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849754 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "EIDSS/EIDSS-Legacy",
"max_stars_repo_path": "EIDSS v6/eidss.webclient/Views/Personnel/InvestigatedBy.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168974"
} | starcoder | @using eidss.web.common.Utils
@using eidss.webclient.Utils
@using eidss.model.Core
@using eidss.model.Schema
<div class="sectionTitle">
@Translator.GetMessageString("titleSectionInvetigated")
</div>
@Html.Action("SelectPerson", "Personnel", new { vcase = Model, idfsOfficePropertyName = "idfInvestigatedB... | 1.765861 | 6a7c0fc2d250593d78a1a4823885ac81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849755 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vitorbellotto/LoadProfileGenerator",
"max_stars_repo_path": "Common/CalcDto/CalcEnergyStorageDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168975"
} | starcoder | <filename>Common/CalcDto/CalcEnergyStorageDto.cs
using System.Collections.Generic;
using Automation;
using Automation.ResultFiles;
using JetBrains.Annotations;
namespace Common.CalcDto {
public class CalcEnergyStorageDto {
[NotNull]
public HouseholdKey HouseholdKey { get; }
public StrGuid G... | 2.445189 | 8c6cb3d3925d48e02ffb85a9fe2ce04a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849756 | {
"extension": "c-sharp",
"max_stars_count": "515.0",
"max_stars_repo_name": "timgates42/LuaScriptCore",
"max_stars_repo_path": "Source/Unity3D/UnityProject/Assets/Scripts/ModulesSceneController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168976"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using cn.vimfung.game.u3d.ui;
using System;
using cn.vimfung.luascriptcore;
public class ModulesSceneController : MonoBehaviour {
public ListViewController listVC;
private string _selectedItem = null;... | 2.03918 | de9b5428a54b11be8258111f26ac6b84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849757 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "denniskalla/Asia---SOLID",
"max_stars_repo_path": "src/Asia.Solid.Domain/Services/Interfaces/ILogisticaService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168977"
} | starcoder | <reponame>denniskalla/Asia---SOLID
using Asia.Solid.Domain.Entities;
namespace Asia.Solid.Domain.Services.Interfaces
{
public interface ILogisticaService
{
void SolicitarProdutos(Carrinho carrinho);
}
}
| 1.140022 | 4c454d68893edbca4b7f4b0a1cff4ea6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849758 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "ericmutta/AngleSharp.Css",
"max_stars_repo_path": "src/AngleSharp.Css.Tests/TestExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168978"
} | starcoder | <filename>src/AngleSharp.Css.Tests/TestExtensions.cs
namespace AngleSharp.Css.Tests
{
using AngleSharp.Css.Tests.Mocks;
using AngleSharp.Dom;
using AngleSharp.Html.Parser;
using AngleSharp.Io;
using AngleSharp.Text;
using NUnit.Framework;
using System;
using System.IO;
using System.R... | 2.510445 | 1a457eb526950681665421d69076d7db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849759 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thor1824/FunWithSet",
"max_stars_repo_path": "DMath/Sets/Set.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168979"
} | starcoder | using System.Collections.Generic;
using System.Linq;
namespace DMath.Sets
{
public class Set : ISet
{
private readonly BinaryTree _tree = new();
public Set(int[] values)
{
AddRange(values);
}
public void Add(int value)
{
_tree.Add(value... | 3.464029 | ab571ddb2ee3314fbbffe8492db3c107 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849760 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "FarhadJabiyev/EntityGraphOperations",
"max_stars_repo_path": "EntityGraphOperations/Internal/HelperExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168980"
} | starcoder | <filename>EntityGraphOperations/Internal/HelperExtensions.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Extensions.General;
using System.Data.Entity.Infrastructure;
using System.Data.Entity;
using System.Data.Entity.Core.Objects;
usi... | 2.695102 | f415623b7d1b8a70f39b225e2bf56c35 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849761 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "melnx/Bermuda",
"max_stars_repo_path": "Bermuda.ExpressionGenerator/QL/CollectionExpression.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168981"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Bermuda.ExpressionGeneration
{
public class CollectionExpression : DimensionExpression
{
}
}
| 1.076364 | 1938b19d6ecda076468fb804d37c5918 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849762 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RenePeuser/Extensions",
"max_stars_repo_path": "Extensions/Extensions/ExpressionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168982"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace Extensions
{
public static class ExpressionExtensions
{
public static string ExtractPropertyName<T>(this Expression<Func<T>> property... | 3.220221 | 4bcb93fef568199d6f4fe35c0b69b68a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849763 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "YasinBulut/Object-Oriented-Programming",
"max_stars_repo_path": "OOP/Object-Oriented-ProgrammingWindowsForm/OOP2/Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168983"
} | starcoder |
namespace OOP2
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name... | 2.359538 | e8d6c16d9fd022b4ed61f910816f9405 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849764 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Badca52/LunaMultiplayer",
"max_stars_repo_path": "Server/Utilities/ExtensionMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168984"
} | starcoder | <filename>Server/Utilities/ExtensionMethods.cs
using System.Collections.Concurrent;
namespace Server.Utilities
{
public static class ExtensionMethods
{
public static ConcurrentQueue<T> CloneConcurrentQueue<T>(this ConcurrentQueue<T> queue)
{
var messages = new T[queue.Count];
... | 2.547394 | ccdfa04e1bbc4c8e5648177b86d9a309 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849765 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AugustDG/spotmicro-companion-windows",
"max_stars_repo_path": "BLCommunicatorGUI/Logic/SerialCommunicator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168985"
} | starcoder | using System;
using System.IO.Ports;
using System.Linq;
namespace BLCommunicatorGUI.Logic
{
/// <summary>
/// Class used to communicate through the serial port with the Bot. It's semi-specific to the current use case.
/// </summary>
public class SerialCommunicator
{
public bool ShouldFilte... | 3.326287 | 69c765e5712167f709f92f7cbc4333a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849766 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "VaLiuM09/VPG-Core",
"max_stars_repo_path": "Source/Core/Tests/Editor/StepWindow/RenameTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168986"
} | starcoder | // Copyright (c) 2013-2019 Innoactive GmbH
// Licensed under the Apache License, Version 2.0
// Modifications copyright (c) 2021 MindPort GmbH
using VRBuilder.Editor.UI.Windows;
using NUnit.Framework;
namespace VRBuilder.Core.Tests.Editor.StepWindowTests
{
internal class RenameTest : BaseStepWindowTest
{
... | 2.072369 | f07e9bc628c98613257d84ac941c37a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849767 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "histefanov/ASP-NET-Project-Movies-Recommendation-System",
"max_stars_repo_path": "MoviesRecommendationSystem/Services/Movies/Models/MovieDetailsServiceModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168987"
} | starcoder | <reponame>histefanov/ASP-NET-Project-Movies-Recommendation-System<gh_stars>0
namespace MoviesRecommendationSystem.Services.Movies.Models
{
using System.Collections.Generic;
using MoviesRecommendationSystem.Models.Reviews;
using MoviesRecommendationSystem.Services.Reviews.Reviews;
public class MovieDe... | 1.739978 | 6ff934abae27ef190047ee945c6d76b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849768 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "ansel86castro/cybtans-sdk",
"max_stars_repo_path": "CybtansSDK/Tests/Cybtans.Tests.Clients/ClientsStub.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168988"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Cybtans.Tests.Clients
{
public class ClientsStub
{
}
}
| 0.875497 | 0796afb2819ce3ee90ea406932f78c3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849769 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NadiaKaradjova/SoftUni",
"max_stars_repo_path": "Programming Fundamentals/Exams/Exam Preparation II/Problem 1 Charity Marathon/Charity Marathon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168989"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Problem_1_Charity_Marathon
{
public class Problem_1_Charity_Marathon
{
public static void Main()
{
var days = int.Parse(Console.ReadLine());
... | 3.030977 | c6d7fea0f449666fd97683c1e5db759d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849770 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "the-pet-projects/micro-transactions-read-api",
"max_stars_repo_path": "src/Data.ReadModelRepositories/CassandraConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168990"
} | starcoder | <reponame>the-pet-projects/micro-transactions-read-api
namespace PetProjects.MicroTransactionsApi.Data.ReadModelRepositories
{
using System.Collections.Generic;
public class CassandraConfiguration
{
public string[] ContactPoints { get; set; }
public string Keyspace { get; set; }
... | 1.267894 | b1e9acef2851bedeca36d3708d6384b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849771 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vasildimov98/web-project",
"max_stars_repo_path": "Web/ForumSystem.Web/Controllers/APIs/UsersApiController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168991"
} | starcoder | <filename>Web/ForumSystem.Web/Controllers/APIs/UsersApiController.cs<gh_stars>0
namespace ForumSystem.Web.Controllers.APIs
{
using System;
using System.IO;
using System.Threading.Tasks;
using ForumSystem.Data.Models;
using ForumSystem.Services.Data;
using ForumSystem.Web.ViewModels.Users;
... | 2.225505 | 862d7197d142c9c52bbce4a1eb0660bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849772 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eric-bach/Pecuniary-SecurityCommand",
"max_stars_repo_path": "Pecuniary.Security.Data/Events/SecurityCreatedEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168992"
} | starcoder | using System;
using EricBach.CQRS.Events;
using Pecuniary.Security.Data.Requests;
namespace Pecuniary.Security.Data.Events
{
public class SecurityCreatedEvent : Event
{
private const int _eventVersion = 1;
public CreateSecurityRequest Security { get; internal set; }
public SecurityCr... | 2.211149 | 5a7beafd164d4e13293349d95fc180f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849773 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ERamaM/Cosmos",
"max_stars_repo_path": "source/Unused/Cosmos.Kernel.FileSystems/MBR.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168993"
} | starcoder | <filename>source/Unused/Cosmos.Kernel.FileSystems/MBR.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cosmos.Hardware2;
namespace Cosmos.Sys.FileSystem
{
public class MBR : PartitionManager
{
protected Disk blockdevice;
... | 2.575606 | c1e5a9cde0a79e2eff9a6e0569c44693 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849774 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pdgr-pg/azure-devops-migration-tools",
"max_stars_repo_path": "src/MigrationTools.Tests/Core/Configuration/EngineConfigurationBuilderStub.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168994"
} | starcoder | using Microsoft.Extensions.Logging;
namespace MigrationTools.Configuration.Tests
{
public class EngineConfigurationBuilderStub : IEngineConfigurationBuilder
{
IEngineConfigurationBuilder ecb;
public EngineConfigurationBuilderStub(ILogger<EngineConfigurationBuilder> logger)
{
... | 2.043862 | e2b28da55cfcc77acf726d817bd14ec9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849775 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danstoyanov/CSharp-Advanced",
"max_stars_repo_path": "Stacks and Queues/Stacks and Queues Lab Problems/5. Print Even Numbers/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168995"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace _5._Print_Even_Numbers
{
class Program
{
static void Main()
{
var numsInput = Console.ReadLine()
.Split()
.Select(int.Parse)
.ToArr... | 3.551405 | c8ac642027501fb45f6a51385bb29dbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849776 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "zKevz/RhapsodyServer",
"max_stars_repo_path": "Event/Base/BasePacketModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168996"
} | starcoder | <gh_stars>1-10
using RhapsodyServer.Client;
using RhapsodyServer.Event.Structs;
using RhapsodyServer.Proton;
using RhapsodyServer.Worlds;
namespace RhapsodyServer.Event.Base
{
public abstract class BasePacketModule
{
public RTVar Rt { get; set; }
public World World { get; set; }
... | 1.400744 | 6299f0d6e0dfb0758a940ee34c4c1012 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849777 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tnakamura/IssueHub",
"max_stars_repo_path": "src/IssueHub.Core/States/IssueFormState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168997"
} | starcoder | using System.Collections.Immutable;
using Octokit;
namespace IssueHub.States
{
public sealed class IssueFormState
{
public IssueFormState() { }
public IssueFormState(
Issue editingIssue,
string title,
ImmutableList<User> assignees,
ImmutableList... | 2.310161 | aeca8b7c88053eaa0637ddeaf69c46bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849778 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "rcsteiner/WindowsSourcePreviewer",
"max_stars_repo_path": "Previewer/Language/LanguageManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168998"
} | starcoder | <reponame>rcsteiner/WindowsSourcePreviewer<gh_stars>1-10
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Description: Manage multiple languages.
// Author: <NAME>
//
//=====================================================[ History ]===... | 2.40823 | f9fc031f9f3099b61010a4ccdb81b55f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849779 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gbelcheva/MovieMind",
"max_stars_repo_path": "Source/Web/MovieMind.Web/ViewModels/Movies/MovieDetailsViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168999"
} | starcoder | <gh_stars>1-10
namespace MovieMind.Web.ViewModels.Movies
{
using System.Collections.Generic;
using System.Linq;
using System.Web;
using AutoMapper;
using MovieMind.Data.Models;
using MovieMind.Services.Web;
using MovieMind.Web.Infrastructure.Mapping;
public class MovieDetailsViewModel ... | 2.305283 | f53e234ca6fff5ddbac93cc4d3eb93db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849780 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "gibbed/Gibbed.SleepingDogs",
"max_stars_repo_path": "Gibbed.SleepingDogs.PropertySetConvert/XPathNavigatorHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169000"
} | starcoder | /* Copyright (c) 2015 Rick (rick 'at' gibbed 'dot' us)
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any pu... | 2.544281 | bc6fd41e92298d36561caecc34bbd0f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849781 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "technodesigner/Perspective",
"max_stars_repo_path": "Library/Perspective.Core/ChangedEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169001"
} | starcoder | //------------------------------------------------------------------
//
// For licensing information and to get the latest version go to:
// http://www.codeplex.com/perspective
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT... | 3.061262 | 5fdaf8f03905760d46d41f4032078124 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849782 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "919506114/chord",
"max_stars_repo_path": "DigitalPlatform.Z3950/bib1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169002"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
namespace DigitalPlatform.Z3950
{
//
/*
<item name = "ISSN" value=8 uni_name = "Identifier-ISSN" />
* */
public class Bib1Use
{
public string Name = "";
public string Value = "";
public st... | 2.941665 | 13cdd2b2986fe8a306d2439fc4e5027a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849783 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adimosh/IX.StandardExtensions",
"max_stars_repo_path": "src/IX.StandardExtensions/Observable/Adapters/ListListAdapter{T}.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169003"
} | starcoder | // <copyright file="ListListAdapter{T}.cs" company="<NAME>">
// Copyright (c) <NAME> with all rights reserved. Part of the IX Framework.
// </copyright>
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace IX.Observable.Adapters
{
[CollectionDataContract(
Namespace = Constants.D... | 2.658864 | 43d5eb3e797096c6088f12c2af68b4c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849784 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skolbin-ssi/crthandyman",
"max_stars_repo_path": "Handyman.VisualStudio/Settings/OptionPageGrid.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169004"
} | starcoder | <reponame>skolbin-ssi/crthandyman<gh_stars>0
using System.ComponentModel;
using Handyman.Settings;
using Microsoft.VisualStudio.Shell;
namespace CommerceRuntimeHandyman.Settings
{
public class OptionPageGrid : DialogPage, IGlobalSettings
{
internal const string Category = "CommerceRuntimeHandyman";
... | 2.034664 | 271684cfbaa192d9bc8f28424a396bf2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849785 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sharemee/Dicom",
"max_stars_repo_path": "ClearCanvas.Dicom/Iod/Macros/ImageSopInstanceReferenceMacro.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169005"
} | starcoder | <reponame>Sharemee/Dicom
#region License
// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it... | 2.163519 | 7035c539fcec58616705d106b29ff916 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849786 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hassmann/lib-CoreLibrary",
"max_stars_repo_path": "source/nanoFramework.CoreLibrary/System/Single.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169006"
} | starcoder | //
// Copyright (c) 2017 The nanoFramework project contributors
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
// See LICENSE file in the project root for full license information.
//
namespace System
{
using Globalization;
/// <summary>
/// Represents a single-precision floating-p... | 2.740451 | 0fa9266f9c925615492c80070918006c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849787 | {
"extension": "c-sharp",
"max_stars_count": "1351.0",
"max_stars_repo_name": "ClrsDream/NetModular",
"max_stars_repo_path": "src/Admin/Library/Infrastructure/ModuleServicesConfigurator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169007"
} | starcoder | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using NetModular.Lib.Module.Abstractions;
namespace NetModular.Module.Admin.Infrastructure
{
/// <summary>
/// 模块服务配置器
/// </summary>
public class ModuleServicesConfigurator : ... | 1.532173 | d3e467c1eb203ba16810ba85a3110258 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849788 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "theezak/BloomFilters",
"max_stars_repo_path": "TBag.BloomFilter.Test/Invertible/Standard/CompressTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169008"
} | starcoder | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TBag.BloomFilter.Test.Infrastructure;
using System.Linq;
using TBag.BloomFilters.Invertible;
namespace TBag.BloomFilter.Test.Invertible.Standard
{
/// <summary>
/// Compresion test on a regular Bloom filter.
/// </summary>
... | 2.367104 | ab0bfadd840719e7efa5d93b5fd910b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849789 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dotnet-campus/DocumentFormat.OpenXml.Extensions",
"max_stars_repo_path": "src/dotnetCampus.OpenXMLUnitConverter/Angle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169009"
} | starcoder | <filename>src/dotnetCampus.OpenXMLUnitConverter/Angle.cs
using System;
using DocumentFormat.OpenXml;
namespace dotnetCampus.OpenXmlUnitConverter
{
/// <summary>
/// 角度的表示,角度有两个表示方法,一个是 0-360 度的 Degree 角度,另一个是 0-2π 范围的 Radians 弧度表示。默认 OpenXML 里面采用 60000 倍的 Degree 角度数值
/// </summary>
public readonly str... | 3.406169 | 48f745878e8760652d7b7bb167f45c27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849790 | {
"extension": "c-sharp",
"max_stars_count": "226.0",
"max_stars_repo_name": "overtools/OWLib",
"max_stars_repo_path": "TankLib/STU/Types/STUStat.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169010"
} | starcoder | // Generated by TankLibHelper
using TankLib.STU.Types.Enums;
// ReSharper disable All
namespace TankLib.STU.Types
{
[STU(0xC7BAA017, 208)]
public class STUStat : STUInstance
{
[STUField(0xB48F1D22, 8)] // size: 16
public teStructuredDataAssetRef<ulong> m_name;
[STUField(0x9... | 1.262718 | 723966da8805582483ce0d17cfb11fa9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849791 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AndersAndreen/TwoTrack",
"max_stars_repo_path": "TwoTrackCore/TwoTrackError.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169011"
} | starcoder | using System;
using System.Diagnostics;
using TwoTrackCore.Defaults;
namespace TwoTrackCore
{
public class TwoTrackError : TwoTrackErrorBase
{
private static TwoTrackError MakeError(ErrorLevel errorLevel, string category, string description, string stackTrace)
{
if (category is nul... | 2.490518 | dfab8cc587dd6b6fea72896b6c603744 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849792 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "isabella232/NullabilityInference",
"max_stars_repo_path": "NullabilityInference/Statistics.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169012"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace ICSharpCode.NullabilityInference
{
public struct Statistics
{
public int NullableCount;
public int NonNullCount;
public int NotNullWhenCount;
internal void Update(in Statistics s)
... | 2.300344 | 30738e2a0d8eb63f7f33d41e44f5effb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849793 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "echoprotocol/echo-unity-lib",
"max_stars_repo_path": "Plugins/CustomTools/TriggerBehaviour.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169013"
} | starcoder | using System;
using CustomTools.Attributes;
using CustomTools.Extensions.Core;
using CustomTools.Extensions.Core.Enum;
using CustomTools.Extensions.Core.LayerMask;
using UnityEngine;
namespace CustomTools.TriggerBehaviour {
[RequireComponent( typeof( Collider ) )]
public abstract class TriggerMonoBehavi... | 2.311507 | fc25c2455c9ee24620c559c0d2442775 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849794 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "fenrick/VisioCleanup",
"max_stars_repo_path": "VisioCleanup.Core/Contracts/IVisioApplication.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169014"
} | starcoder | <reponame>fenrick/VisioCleanup<filename>VisioCleanup.Core/Contracts/IVisioApplication.cs
// -----------------------------------------------------------------------
// <copyright file="IVisioApplication.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE fi... | 2.264513 | ce024c271fb5f962d59d943da02f1f58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849795 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JimmyCushnie/Unicode-Batch-Converter",
"max_stars_repo_path": "UnicodeConverter/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169015"
} | starcoder | <filename>UnicodeConverter/Program.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Windows;
namespace UnicodeConverter
{
class Program
{
[STAThread]
static void Main(string[] args)
{
Console.Title = "Unicode Batch Converter";
WriteL... | 3.516241 | f00150a92ec2ad90e22d42a87acc14d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849796 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SpaceDandy-Tama/ArdaViewer",
"max_stars_repo_path": "ArdaBing/BingImageData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169016"
} | starcoder | namespace ArdaBing
{
public class BingImageData
{
public string Date = null;
public string Url = null;
public BingImageData(string date, string url)
{
Date = date;
Url = url;
}
}
}
| 2.212611 | 32e40913603a2559da62283a74e883f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849797 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "conductor-sdk/conductor-csharp",
"max_stars_repo_path": "conductor-csharp.Test/Api/MetadataResourceApiTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169017"
} | starcoder | <filename>conductor-csharp.Test/Api/MetadataResourceApiTests.cs<gh_stars>1-10
/*
* Conductor API Server
*
* Conductor API Server
*
* The version of the OpenAPI document: v0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.IO;
using System.Collections.Generic;
u... | 1.913174 | ffa256795a97688b64c801c5bc8bfcff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849798 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Orlys/Adnc",
"max_stars_repo_path": "src/ServerApi/Portal/Adnc.Warehouse/Adnc.Warehouse.Migrations/Migrations/20210203122338_init-20210203.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169018"
} | starcoder | <filename>src/ServerApi/Portal/Adnc.Warehouse/Adnc.Warehouse.Migrations/Migrations/20210203122338_init-20210203.cs
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Adnc.Warehouse.Migrations.Migrations
{
public partial class init20210203 : Migration
{
... | 2.19004 | ce3b2df99e25f2736aa26628551a70f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849799 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AdmiralTool/Admiral",
"max_stars_repo_path": "smartadmiral.dns.tests/CreatePtrRecordTaskTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169019"
} | starcoder | using smartadmiral.dns.Tasks;
using smartadmiral.tests.common;
using Xunit;
namespace smartadmiral.dns.tests
{
public class CreatePtrRecordTaskTests
{
[Fact]
public void Execute_InvokesCorrectPowerShellCommand()
{
var input = "name=25 zone=\"1.168.192.in-arpa.zone\" ttl=\"0... | 2.25752 | ccd25122e58ed3a88375e3ecd40d78fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849800 | {
"extension": "c-sharp",
"max_stars_count": "658.0",
"max_stars_repo_name": "wyfish/taskt",
"max_stars_repo_path": "taskt/Core/Client.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169020"
} | starcoder | <reponame>wyfish/taskt
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace taskt.Core
{
public static class Client
{
private static bool engineBusy;
public static bool EngineBusy
{
get
{... | 2.277503 | f621bc58c19cfe9ff9a4c7b54f5363ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849801 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yimlu/Xemi",
"max_stars_repo_path": "src/Tests/Xemi.Core.UnitTests/ConfigResolverTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169021"
} | starcoder | <gh_stars>1-10
using Moq;
using NUnit.Framework;
using Xemi.Core.Configuration;
namespace Xemi.Core.UnitTests
{
[TestFixture]
public class ConfigResolverTests
{
[Test]
public void ReadConfig()
{
var moqResolver = new Mock<IConfigResolver>();
moqResolver.Setu... | 2.142528 | bb6794260f29b86b4e082fc1aed04228 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849802 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "HSR-BusinessApplications/CampusApp",
"max_stars_repo_path": "Hsr.Campus.Core/OAuth/OAuth2Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169022"
} | starcoder | <gh_stars>1-10
// Copyright (c) Hochschule für Technik Rapperswil. All Rights Reserved.
// Licensed under the Apache 2.0 license. See LICENSE.txt in the project root for license information.
// This code is based on Thinktecture.IdentityModel:
// Copyright (c) 2013 <NAME>, <NAME>. All rights reserverd.
// See {p... | 1.556226 | 577bbe26c2c1da2f789367d7238aa2d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849803 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ryanhorath/Rybird.Framework",
"max_stars_repo_path": "Uwp/Framework/Converters/FrameworkSizeConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169023"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.UI.Xaml.Data;
namespace Rybird.Framework
{
public class FrameworkSizeConverter : IValueConverter
{
public object Convert(object value,... | 2.582614 | bc3ba6465ebf4d8bba6a110357423552 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849804 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leventkalkavan/kodluyoruzilkrepo",
"max_stars_repo_path": "donguler_for_loop/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169024"
} | starcoder | using System;
namespace donguler_for_loop {
class Program{
static void Main(string[] args)
{
Console.WriteLine("Sayı girin");
int sayac = int.Parse(Console.ReadLine());
for(int i = 0; i <= sayac; i++)
{
if(i%2==1)
... | 3.707066 | 86912ffbcf2395371aaa2495955f528e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849805 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GMihalkow/CSharp",
"max_stars_repo_path": "CSharp Web 2018/Csharp MVC Frameworks - ASP.NET Core/Exercise Introduction To ASP.NET CORE/ChushkaToAsp/Chushka.Web/ViewModels/Account/RegisterUserViewModel.cs",
"provenance": "train-00027-of... | starcoder | namespace Chushka.Web.ViewModels.Account
{
using System.ComponentModel.DataAnnotations;
public class RegisterUserViewModel
{
[Required(ErrorMessage = "You must enter an username")]
[StringLength(100, ErrorMessage = "Username length must between 6 and 100 characters", MinimumLength = 6)]
... | 2.609266 | 48325505877f6435b089951d612789ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849806 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "offical-Cromatin/Mitternacht-NEW",
"max_stars_repo_path": "MitternachtWeb/Areas/Guild/Models/EditGuildConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169026"
} | starcoder | <filename>MitternachtWeb/Areas/Guild/Models/EditGuildConfig.cs
using Mitternacht.Database.Models;
namespace MitternachtWeb.Areas.Guild.Models {
public class EditGuildConfig {
public ulong GuildId { get; set; }
public string Prefix { get; set; }
public bool DeleteMessageOnCommand { get; set; }
public ulong A... | 1.634099 | da2886c5a7d6ce135d6849899942ef07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849807 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ayxue/Stocks",
"max_stars_repo_path": "src/Chatbot.Server/Chatbot.Server - Copy/Chatbot.Unit/Model/ChatResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169027"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Chatbot.Unit.Model
{
public class ChatResult
{
[JsonProperty("timestamp")]
public string Timestemp { get; set; }
[JsonProperty("service_... | 1.598429 | 08871241cabc2f59587add532169ab78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849808 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hansmbakker/WindowsCommunityToolkit",
"max_stars_repo_path": "Microsoft.Toolkit.Mvvm/ComponentModel/ObservableValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169028"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.... | 2.586508 | cc19cb481cb9ea98e837999c623d640d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849809 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HelloWindows/AccountBook-",
"max_stars_repo_path": "client/framework/UnityCsReference-master/Modules/UIElements/Events/LayoutEvents.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169029"
} | starcoder | // Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
namespace UnityEngine.UIElements
{
public class GeometryChangedEvent : EventBase<GeometryChangedEvent>
{
public static GeometryChangedEvent GetPoole... | 2.045173 | f4fcf00adf0e388c9fb309f27df2e778 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849810 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jencyraj/HumanResourceManagementProject",
"max_stars_repo_path": "src/HRM.Web/RequestCancel.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169030"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using HRM.BAL;
using HRM.BOL;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!I... | 1.741149 | 044750bdd9b8e2ce443184dafeea70e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849811 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "v-kaifazhang/azure-sdk-for-net",
"max_stars_repo_path": "sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/ForecastHorizon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169031"
} | starcoder | <gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.MachineLearning.Models
{
/// <summary>
/// The desired maximum forecast horizon in units of time-series frequency.
/// Please ... | 2.398316 | 69feeea3226c0f867e753bb9f2ba331e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.