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 | 8847140 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sky-uk/NDomain",
"max_stars_repo_path": "source/NDomain/CQRS/Projections/IQueryMutator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166360"
} | starcoder | using System;
namespace NDomain.CQRS.Projections
{
public interface IQueryMutator<TProjection>
where TProjection : new()
{
TProjection InvokeEventMutator(TProjection currentProjection, IAggregateEvent @event);
}
} | 1.526963 | 1cbeb92c9414d46dd5d79ef988be5595 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847141 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mavroskardia/BetterTodo",
"max_stars_repo_path": "BetterToDo/BetterToDo/MainForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166361"
} | starcoder | <reponame>mavroskardia/BetterTodo<filename>BetterToDo/BetterToDo/MainForm.cs
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using BetterToDo.Properties;
namespace BetterToDo
{
public partial class MainForm : Form
{
private GlobalHotkeys globalHotKeys;
... | 2.230426 | 69871e9ca57061525c41da7bdbed4529 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847142 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "cmac994/KerbalWeatherProject",
"max_stars_repo_path": "KerbalWeatherProject/ToolbarRegistration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166362"
} | starcoder | <reponame>cmac994/KerbalWeatherProject<gh_stars>1-10
using UnityEngine;
using ToolbarControl_NS;
namespace KerbalWeatherProject
{
[KSPAddon(KSPAddon.Startup.MainMenu, true)]
//Toolbar registration class
public class RegisterToolbar : MonoBehaviour
{
void Start()
{
... | 1.28714 | 4b66582002a36adfa9aa99b4e732d31f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847143 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WorthyD/steam-achievement-tracker",
"max_stars_repo_path": "src/sat-dal/Models/GameAchievement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166363"
} | starcoder | <reponame>WorthyD/steam-achievement-tracker<gh_stars>0
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using sat_contracts.models;
namespace sat_dal.Mod... | 2.020348 | 9483ed807693712a2e40c01e5a116264 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847144 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ap0llo/changelo",
"max_stars_repo_path": "src/ChangeLog.Test/ConventionalCommits/_Parser/CommitMessageParserTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166364"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Grynwald.ChangeLog.ConventionalCommits;
using Xunit;
using Xunit.Abstractions;
namespace Grynwald.ChangeLog.Test.ConventionalCommits
{
/// <summary>
/// Tests for <see cref="CommitMessageParser"/>
/// </summary>
public class Comm... | 2.725916 | 2e170ff94b4db40b2b04e37206702af2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847145 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zlxy/Genesis-3D",
"max_stars_repo_path": "Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/FirebirdSql.Data.Firebird/FirebirdSql.Data.Embedded/FesServiceManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166365"
} | starcoder | /*
* Firebird ADO.NET Data provider for .NET and Mono
*
* The contents of this file are subject to the Initial
* Developer's Public License Version 1.0 (the "License");
* you may not use this file except in compliance with the
* License. You may obtain a copy of the License at
* http://www.f... | 1.940902 | ff34a49d8f8e57f75c95c07813b2e622 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847146 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "interaction-lab/MoveToCode",
"max_stars_repo_path": "Assets/Scripts/KuriController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166366"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MoveToCode {
/// <summary>
/// Base class that controls Kuri's Behaviors.
/// Both physical and virtual KuriControllers inherit/implement this interface
/// </summary>
public abstract class Ku... | 2.606122 | 5754de113371f51903c6b65e0874fb13 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847147 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "fablecode/ygo-scheduled-tasks",
"max_stars_repo_path": "src/Domain/ygo-scheduled-tasks.domain/ETL/ArticleList/Processor/ArticleProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166367"
} | starcoder | <reponame>fablecode/ygo-scheduled-tasks<gh_stars>1-10
using System.Threading.Tasks;
using wikia.Models.Article.AlphabeticalList;
using ygo_scheduled_tasks.domain.ETL.ArticleList.Processor.Handler;
using ygo_scheduled_tasks.domain.ETL.ArticleList.Processor.Model;
namespace ygo_scheduled_tasks.domain.ETL.ArticleList.Pr... | 2.048473 | 0426601ad7cd1f06e4f11f757b60cf6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847148 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "starcraft3D/XamarinMediaManager",
"max_stars_repo_path": "Samples/ElementPlayer.Core/ViewModels/SettingsViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166368"
} | starcoder | <filename>Samples/ElementPlayer.Core/ViewModels/SettingsViewModel.cs
using System;
using System.Collections.Generic;
using System.Text;
using MvvmCross.Logging;
using MvvmCross.Navigation;
using MvvmCross.ViewModels;
namespace ElementPlayer.Core.ViewModels
{
public class SettingsViewModel : BaseViewModel
{
... | 1.608385 | 4d33a8f179632db91a733c94c3ce1ff2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847149 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarinMarinov/C-Sharp-OOP",
"max_stars_repo_path": "HW04- OOP Principles - Part 1/Problem 3. Animal hierarchy/Gender.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166369"
} | starcoder | <filename>HW04- OOP Principles - Part 1/Problem 3. Animal hierarchy/Gender.cs
namespace Problem_3.Animal_hierarchy
{
public enum Gender
{
Male, Female
}
}
| 2.157565 | 45224b867128a80435d6ac81c2134424 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847150 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bcgov/JAG-SPD-SPICE",
"max_stars_repo_path": "spd-ess-portal/Utils/DynamicsUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166370"
} | starcoder | using Gov.Jag.Spice.Interfaces;
using Gov.Jag.Spice.Interfaces.Models;
using Gov.Jag.Spice.Public.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Gov.Jag.Spice.Public.Utils
{
public static class DynamicsUtility
{
public static asyn... | 2.196434 | c62e284b5408ee9202461d6609dcc460 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847151 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "uwesinha/pv-entitygenerator",
"max_stars_repo_path": "PVEntityGenerator/Util/PasswordHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166371"
} | starcoder | <filename>PVEntityGenerator/Util/PasswordHelper.cs
using System;
using System.Text;
using System.Security.Cryptography;
namespace PVEntityGenerator.Util {
public class PasswordHelper {
private static byte[] DES_KEY = Encoding.ASCII.GetBytes("The Key.");
private static byte[] DES_IV = Encoding.ASCI... | 3.058757 | 04e8b17f9c17903d7d71084f4f76d23f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847152 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ParadoxARG/Recognizers-Text",
"max_stars_repo_path": ".NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateExtractor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166372"
} | starcoder | <reponame>ParadoxARG/Recognizers-Text
// Enable GetYearFromText method
using System.Text.RegularExpressions;
namespace Microsoft.Recognizers.Text.DateTime
{
public interface IDateExtractor : IDateTimeExtractor
{
int GetYearFromText(Match match);
}
}
| 1.728754 | c66196fd1fa11a61de6ce7b61fd8476f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847153 | {
"extension": "c-sharp",
"max_stars_count": "89.0",
"max_stars_repo_name": "kissxic/EasyCMS",
"max_stars_repo_path": "Atlass.Framework.ViewModels/SystemApp/CitySelDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166373"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Atlass.Framework.ViewModels
{
public class CitySelDto
{
public CitySelDto()
{
Children=new List<CitySelDto>();
}
public long Id { get; set; ... | 1.931738 | debae63adc05d13074b3c172d39ab038 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "intensifier/NeoAxisEngine",
"max_stars_repo_path": "Sources/Engine/NeoAxis.Core/Libraries/OggVorbisTheora/Theora.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166374"
} | starcoder | <gh_stars>0
// Copyright (C) NeoAxis Group Ltd. 8 Copthall, Roseau Valley, 00152 Commonwealth of Dominica.
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Security;
using System.Reflection;
namespace NeoAxis.OggVorbisTheora
{
public static class th... | 1.999564 | be33a51c0b7869cd240e84a7399f2d2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847155 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "timjen3/ttrpg-engine",
"max_stars_repo_path": "TTRPG.Engine/Equations/Extensions/RandomFunctionExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166375"
} | starcoder | using org.mariuszgromada.math.mxparser;
using System;
using System.Linq;
namespace TTRPG.Engine.Equations.Extensions
{
public class RandomFunctionExtension : FunctionExtension
{
private static readonly Random Gen = new Random();
const int CountIndex = 0;
const int MinRangeIndex = 1;
const int MaxRangeIndex ... | 3.246978 | 5eef24b4efb05c9681cb7449dd55d751 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847156 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asimarslan/hazelcast-csharp-client",
"max_stars_repo_path": "Hazelcast.Test/Hazelcast.Client.Test/ClientExecutorServiceTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166376"
} | starcoder | <gh_stars>0
// Copyright (c) 2008-2018, Hazelcast, Inc. 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless... | 1.559872 | 199538d30e361075d0fbd26a4d6846fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847157 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "mutobo/SandboxDatabaseManager",
"max_stars_repo_path": "SandboxDatabaseManager/SandboxDatabaseManager/Configuration/CopyFileLocations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166377"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
namespace SandboxDatabaseManager.Configuration
{
public class CopyFileLocations : System.Configuration.ConfigurationSection
{
private const string _sectionName = "CopyFileLoc... | 2.498039 | 997a01f63c9edbb100c70fea38a3019a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vincecao/ZeroChan-Searcher-in-UWP",
"max_stars_repo_path": "ZC/MainPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166378"
} | starcoder | using System;
using Windows.Foundation.Metadata;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace ZC
{
public sealed partial class MainPage : Page
{
public MainPage()
{
this.InitializeComponent();
... | 1.922116 | 5cb435371124ef1dfaebf2b1f6029cea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847159 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IlyaKurmaz/DIT.NET",
"max_stars_repo_path": "DIT.Domain/Models/Connectors/QuickBooks/QuickBooksOnlineConnector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166379"
} | starcoder | <filename>DIT.Domain/Models/Connectors/QuickBooks/QuickBooksOnlineConnector.cs
namespace DIT.Domain.Models.Connectors.QuickBooks
{
public sealed class QuickBooksOnlineConnector: Connector
{
public string AccessToken { get; set; }
public string RefreshToken { get; set; }
public string ... | 1.672926 | 4f65d76de2bd0f4b938523ccad545706 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847160 | {
"extension": "c-sharp",
"max_stars_count": "127.0",
"max_stars_repo_name": "t4n6a1ka/api-v1-client-csharp",
"max_stars_repo_path": "src/Tests/IntegrationTests/TransactionBroadcasterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166380"
} | starcoder | using Info.Blockchain.API.Client;
using Xunit;
namespace Info.Blockchain.API.Tests.IntegrationTests
{
public class TransactionPusherTests
{
[Fact]
public async void PushTransaction_BadTransaction_ServerError()
{
// Don't want to add transactions, check to see if the server responds
ServerApiException se... | 2.119666 | b53c7ff010734b9212d865bff5c2d1f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847161 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "collabratech/HangfireOrchestratorPOC",
"max_stars_repo_path": "src/Hangfire.Pipeline/PipelineJobContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166381"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
namespace Hangfire.Pipeline
{
public class PipelineJobContext : IPipelineJobContext
{
public virtual string Id { get; set; }
public virtual string HangfireId { get; set; }
public virtual string HangfireQueue { get; set; }
... | 1.240558 | acd9144dca425dd965994a8cea4c947e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847162 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "UniGameTeam/UniGame.Core",
"max_stars_repo_path": "Runtime/Rx/RecycleActionObserver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166382"
} | starcoder | namespace UniModules.UniCore.Runtime.Rx
{
using System;
using ObjectPool;
using ObjectPool.Runtime.Extensions;
using UniGame.Core.Runtime.Interfaces.Rx;
public class RecycleActionObserver<T> : IRecycleObserver<T>
{
private Action<T> _onNext;
private Action _onComplete;
... | 2.500358 | ad598ec9a694b2192f6fe37f3095d28c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847163 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "elsa-workflows/experimental",
"max_stars_repo_path": "src/activities/Elsa.Activities.Http/Models/HttpRequestModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166383"
} | starcoder | using System;
namespace Elsa.Activities.Http;
public class HttpRequestModel
{
public Uri Url { get; set; } = default!;
} | 1.665532 | 6e6dad4fa5110dc035b28b1922159542 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847164 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "hex11/Naive",
"max_stars_repo_path": "NaiveSvrLib/NaiveSvrShared/IO/FilterBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166384"
} | starcoder | <filename>NaiveSvrLib/NaiveSvrShared/IO/FilterBase.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Security.Cryptography;
namespace Naive.HttpSvr
{
public interface IIVEncryptor
{
void Update(BytesSegment bs);
byt... | 2.376624 | 702b008887fdc31b0e8b3e590f27a98b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847165 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "eggry/sdnuoj",
"max_stars_repo_path": "website/SDNUOJ.Controllers/Status/JudgeOnlineStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166385"
} | starcoder | using System;
using System.Collections.Generic;
namespace SDNUOJ.Controllers.Status
{
/// <summary>
/// 评测机状态管理器
/// </summary>
public static class JudgeOnlineStatus
{
#region 状态存储
private static Dictionary<String, DateTime> _lastDate = null;
static JudgeOnlin... | 2.831788 | 3bdf831e053e64210ed8cf1df2d5dcd3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847166 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oberbichler/Rhino-Ibra",
"max_stars_repo_path": "IbraExport/Item.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166386"
} | starcoder | <filename>IbraExport/Item.cs
using Rhino.Geometry;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace IbraExport
{
public struct Item : IEnumerable<KeyValuePair<string, object>>
{
public Item(string key, string type)
{
... | 2.914363 | 5e1f815f950acf8c3418934a6713ae74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847167 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TakeAsh/cs-TakeAshUtility",
"max_stars_repo_path": "TakeAshUtility/ThreadExecutionState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166387"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace TakeAshUtility {
public static class ThreadExecutionState {
/// <summary>
/// Inform the system that it is in use.
/// </summary>
///... | 2.766944 | a414a83ec5ac723abaf7eb17d11ce9fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847168 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "handrake/SubtitleRenamer",
"max_stars_repo_path": "SubtitleRenamer/Interop.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166388"
} | starcoder | <gh_stars>1-10
using System;
using System.Text;
using System.Runtime.InteropServices;
/* This code block is directly copied from http://www.pinvoke.net/default.aspx/shlwapi.assocquerystring */
namespace SubtitleRenamer
{
internal static class NativeMethods
{
[Flags]
internal enum AssocF : uin... | 1.991643 | 837293c78bc43053cad671361aec7270 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847169 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "WildGenie/gtav-sc-tools",
"max_stars_repo_path": "src/Core/ScriptLang/DiagnosticsReport.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166389"
} | starcoder | #nullable enable
namespace ScTools.ScriptLang
{
using System.Collections.Generic;
using System.IO;
using System.Linq;
public abstract class Diagnostic
{
public string FilePath { get; }
public string Message { get; }
public SourceRange Source { get; }
public Diagnos... | 2.817627 | b2b8dbde5c408b89fcb64e57f4ce972c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846914 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SerVerXPlanet/JoyLaunch",
"max_stars_repo_path": "JoyLaunch/NotificationIcon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166134"
} | starcoder | <filename>JoyLaunch/NotificationIcon.cs<gh_stars>0
/*
* Создано в SharpDevelop.
* Пользователь: SerVer
* Дата: 20.07.2016
* Время: 18:12
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.IO;... | 2.25652 | 00f15c6414ebcdb454cc972cfbc9feb3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846915 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "connorhaigh/Provisum",
"max_stars_repo_path": "Provisum.Wpf/Converters/EnumerableToVisibilityConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166135"
} | starcoder | <reponame>connorhaigh/Provisum
using System;
using System.Collections;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace Provisum.Wpf.Converters
{
/// <summary>
/// Represents an <see cref="IEnumerable" /> to <see cref="Visibility" /> converter.
/// Returns a specific... | 3.170449 | 5826b41e6401ee1fadc95f4abb97480a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846916 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jencyraj/HumanResourceManagementProject",
"max_stars_repo_path": "src/HRM.Web/AttendanceRegularizationRequest.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166136"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HRM.BAL;
using HRM.BOL;
public partial class AttendanceRegularizationRequest : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
b... | 1.945761 | d8fb19c1038d9f640073eb196442716f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846917 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dannydwarren/machine-configs",
"max_stars_repo_path": "Configurator/Configurator.UnitTests/ManifestRepositoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166137"
} | starcoder | <filename>Configurator/Configurator.UnitTests/ManifestRepositoryTests.cs
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Configurator.Apps;
using Configurator.Configuration;
using Configurator.Utilities;
using Moq;
using Shouldly;
using ... | 2.287459 | 8848a581bce82df7b4d1ba9d13524fda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846918 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gortegaMS/loderunner",
"max_stars_repo_path": "src/LodeRunner.Test/UnitTests/TestRunValidatorTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166138"
} | starcoder | <gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Threading;
using LodeRunner.Core.Models;
using LodeRunner.Data.Interf... | 2.191481 | 851a5e4642dfd108ce2bfb2bcf4b32a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846919 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Assiance/Microservice.BuildingBlocks",
"max_stars_repo_path": "Omni.BuildingBlocks/Authentication/OmniJwtToken.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166139"
} | starcoder | using Newtonsoft.Json;
namespace Omni.BuildingBlocks.Authentication
{
public class OmniJwtToken
{
[JsonProperty("access_token")]
public string AccessToken { get; set; }
[JsonProperty("refresh_token")]
public string RefreshToken { get; set; }
[JsonProperty("id_... | 1.922694 | 70dabe76a947b225b70798069e71e976 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846920 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SIDL-Corporation/MANAGER-NETWORK-DETECTOR-FOR-WINDOWS-10",
"max_stars_repo_path": "NetworkAppsPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166140"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Wind... | 1.796267 | ef4a61b5347faed36a9a93965b4cccec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846921 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "ni/rustywires",
"max_stars_repo_path": "src/Rebar/RebarTarget/LLVM/FunctionAllocationSet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166141"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using LLVMSharp;
using NationalInstruments.DataTypes;
using Rebar.Common;
namespace Rebar.RebarTarget.LLVM
{
internal class FunctionAllocationSet
{
private class LocalAllocation
{
public LocalAlloca... | 2.047873 | 0e87e090ffb4c49d68f10db02f4a3bce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846922 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Chilllli/Sally.NET",
"max_stars_repo_path": "Sally/Command/AdminCommands.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166142"
} | starcoder | <reponame>Chilllli/Sally.NET
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using Newtonsoft.Json;
using Sally.NET.Core;
using Sally.NET.Module;
using Sally.NET.Service;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;... | 2.473466 | fda6b2595d4fa15d33344c10ba598e6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846923 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DavidWise/DWPSUtil",
"max_stars_repo_path": "DWPowerShell.Utility/DWPSUtilExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166143"
} | starcoder | namespace DWPowerShell.Utility
{
public static class DWPSUtilExtensions
{
public static string[] TrimAll(this string[] values)
{
if (values == null || values.Length<1) return values;
var result = new string[values.Length];
for (int pos = 0; pos < values.Leng... | 3.194746 | 4e023e1f950edb067dfd37514811ccfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846924 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hansievanstraaten/ERD-Application",
"max_stars_repo_path": "ERD SourceCode/REPORT.Data/Migrations/202011040720223_ReportTablesMigration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166144"
} | starcoder | namespace REPORT.Data.Migrations.ReportTablesConfig
{
using System;
using System.Data.Entity.Migrations;
public partial class ReportTablesMigration : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.ReportCategory",
c => new
... | 2.112144 | 66ad3db2e1a32a38e3898c746c8dae5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846925 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vikekh/filmtipset-export",
"max_stars_repo_path": "src/Vikekh.FilmtipsetExport.Cli/Models/Movie.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166145"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Vikekh.FilmtipsetExport.Cli.Models
{
public class Movie
{
public string ImdbId { get; set; }
public IEnumerable<MovieRating> Ratings { get; set; }
public string Slug { get; set; }
public string Swed... | 1.912985 | 30415a641730dc9bf4d2af52a6762d73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846926 | {
"extension": "c-sharp",
"max_stars_count": "68.0",
"max_stars_repo_name": "wcoder/Xamarin.Plugin.DeviceOrientation",
"max_stars_repo_path": "src/DeviceOrientation/Plugin.DeviceOrientation.Android/DeviceOrientationImplementation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166146"
} | starcoder | using System;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.Content.Res;
using Android.Hardware;
using Android.Runtime;
using Android.Views;
using Plugin.CurrentActivity;
using Plugin.DeviceOrientation.Abstractions;
namespace Plugin.DeviceOrientation
{
public class DeviceOrienta... | 2.297776 | f432bdbf4fef48c909d18a8b4e3f2494 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846927 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "taoprajjwal/Calculate-",
"max_stars_repo_path": "Assets/Scripts/QuestionHandle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166147"
} | starcoder | <reponame>taoprajjwal/Calculate-<gh_stars>0
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class QuestionHandle : MonoBehaviour {
public Text Question;
public static int Answer{ set; get; }
void Start () {
Starting ();
}
public void Starting (){
string Op = RandomOp ();
in... | 2.7697 | 7717e6262326753373f4d29ad6c44abd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846928 | {
"extension": "c-sharp",
"max_stars_count": "110.0",
"max_stars_repo_name": "patridge/FlatRedBall",
"max_stars_repo_path": "Tiled/TMXGlueLib/Reduced/MapLayerReduced.Read.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166148"
} | starcoder | <filename>Tiled/TMXGlueLib/Reduced/MapLayerReduced.Read.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TMXGlueLib.Reduced
{
public partial class MapLayerReduced
{
}
}
| 1.343524 | 6381394a7761cbde517b166ba75ab47b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846929 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leddt/lets-game",
"max_stars_repo_path": "LetsGame.Web/GraphQL/Types/UpcomingSessionGraphType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166149"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using HotChocolate;
using HotChocolate.Resolvers;
using LetsGame.Web.Data;
using LetsGame.Web.Extensions;
using LetsGame.Web.Services;
using NodaTime;
namespace LetsGame.Web.GraphQL.Types
{
public class UpcomingSessionG... | 2.145072 | 72e743be428d23966607d18d604ea09b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846930 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brutalzinn/ButtonDeck",
"max_stars_repo_path": "BackendAPI/Minecraft/RCONMessageAnswer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166150"
} | starcoder | using System;
using System.Text;
namespace MinecraftServerRCON
{
internal sealed class RCONMessageAnswer
{
public static readonly RCONMessageAnswer EMPTY = new RCONMessageAnswer(false, new byte[] {});
private bool success = false;
private string answer = string.Empty;
private byte[] data = null;
privat... | 2.836932 | fc307deec07af8dc0006018f910888bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846931 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "AZDeveloper777/BigCommerce4Net",
"max_stars_repo_path": "BigCommerce4Net.Api_Tests/Coupons/ClientCoupons_TF.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166151"
} | starcoder | #region License
// Copyright 2013 <NAME> - <NAME> & Company 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unles... | 1.890345 | 0b83a33beff13de4eec585df41f0703f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846932 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wangyan1248728751/GolfClinet",
"max_stars_repo_path": "Assets/GameMain/Scripts/Game/GameStartEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166152"
} | starcoder | <filename>Assets/GameMain/Scripts/Game/GameStartEventArgs.cs
using GameFramework.Event;
public class GameStartEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(GameStartEventArgs).GetHashCode();
public override int Id
{
get
{
return EventId;
}
}
public GameStartEventArgs()
{
}... | 2.052854 | 7ec666e3171097662a42fb2778d8dfc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846933 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "James231/Web-Image-Extractor-Blazor",
"max_stars_repo_path": "WebImageExtractor.Blazor/Pages/Index.razor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166153"
} | starcoder | // -------------------------------------------------------------------------------------------------
// WebImageExtractor - © Copyright 2020 - Jam-Es.com
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -------------------------------------------------------------------... | 2.279295 | b5b46f1ef824a88d17bb0187a8cc5d05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846934 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "858project/net.858project.dll",
"max_stars_repo_path": "858project/858project.Management/PrivilegeException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166154"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Project858.Management
{
/// <summary>
/// The exception that is thrown when an error occures when requesting a specific privilege.
/// </summary>
public class PrivilegeException : Exception
{
#region - Constructor... | 2.906932 | b477ecb98c9f155ad360ee8b6520edea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846935 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "moto2002/mobahero_src",
"max_stars_repo_path": "AkTriggerMouseDown.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166155"
} | starcoder | using System;
public class AkTriggerMouseDown : AkTriggerBase
{
private void OnMouseDown()
{
if (this.triggerDelegate != null)
{
this.triggerDelegate(null);
}
}
}
| 1.617059 | da898c12bf1d2c43a98eb29b7692c8a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846936 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ManuelPeise/AbcClub",
"max_stars_repo_path": "Abc-Club/Shared.Models/CalculationUnit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166156"
} | starcoder | <reponame>ManuelPeise/AbcClub<filename>Abc-Club/Shared.Models/CalculationUnit.cs
using Shared.Enums;
namespace Shared.Models
{
public class CalculationUnit
{
public int NumberOne { get; set; }
public int NumberTwo { get; set; }
public CalculationRuleEnum CalculationRule { get; set; }
... | 1.819171 | 3953ff5f14d4aa5749018b1dbbffadd2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846937 | {
"extension": "c-sharp",
"max_stars_count": "136.0",
"max_stars_repo_name": "surfsky/WebDAVSharpCore",
"max_stars_repo_path": "NetFramework/WebDAVSharp.Server/MethodHandlers/WebDAVOptionsMethodHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166157"
} | starcoder | using System.Collections.Generic;
using WebDAVSharp.Server.Adapters;
using WebDAVSharp.Server.Stores;
namespace WebDAVSharp.Server.MethodHandlers
{
/// <summary>
/// This class implements the <c>OPTIONS</c> HTTP method for WebDAV#.
/// </summary>
internal class WebDavOptionsMethodHandler : WebDavMethod... | 2.723464 | 2488bc95c4a433c8286b5bb61c43ada9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846938 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "XardasLord/BitClub7",
"max_stars_repo_path": "BC7.Infrastructure.Implementation/Payments/BitBayPayFacade.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166158"
} | starcoder | <filename>BC7.Infrastructure.Implementation/Payments/BitBayPayFacade.cs
using System;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using BC7.Common.Settings;
using BC7.Infrastructure.Payments;
using BC7.Infrastructure.Payments.BodyModels;
using Microsoft.Extensions.Options;
usin... | 2.46228 | 08a5a35c7acaa899d300db294b57dbf4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846939 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "simonep77/hfs",
"max_stars_repo_path": "Hfs.Server/HfsCore/FileHandling/FTP/DirHandlerFtp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166159"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Xml;
using System.Text.RegularExpressions;
using Hfs.Server.CODICE.CLASSI;
using Hfs.Server.CODICE.UTILITY;
using FluentFTP;
namespace Hfs.Server.CODICE.CLASSI.FileHandling
{
/// <summary>
/// File handler per directory su hfs remot... | 2.51722 | 72bde4d191df9425e1d345043ed2ff0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846940 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "akshay-s-770/login-page-demos",
"max_stars_repo_path": "dot-net-idx-demo/Source/LoginRadiusSDK.V2/Models/ResponseModels/OtherObjects/Events.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166160"
} | starcoder | <filename>dot-net-idx-demo/Source/LoginRadiusSDK.V2/Models/ResponseModels/OtherObjects/Events.cs<gh_stars>1-10
//-----------------------------------------------------------------------
// <copyright file="ModelClass" company="LoginRadius">
// Created by LoginRadius Development Team
// Copyright 2019 LoginRadius... | 2.085826 | dee5675726c26e2c238a3faf8e976f13 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846941 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amironov73/ManagedClient.45",
"max_stars_repo_path": "Source/Classic/Apps/QuintEssence/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166161"
} | starcoder | <reponame>amironov73/ManagedClient.45
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using AM;
using ManagedIrbis.Direct;
// ReSharper disable LocalizableElement
namespace QuintEssence
{
class Program
{
static void ProcessFile(string inputFile, string out... | 2.428925 | fbc67dccd057cf3977ae77c7738c8448 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846942 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "hbnrmx/SeeSharp",
"max_stars_repo_path": "SeeSharp/Text/SpeedInfoText.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166162"
} | starcoder | <gh_stars>1-10
using osu.Framework.Graphics;
using SeeSharp.Models;
namespace SeeSharp.Text
{
public class SpeedInfoText : InfoText
{
private readonly BindablePage _page = new BindablePage();
public SpeedInfoText(BindablePage page)
{
_page.BindTo(page);
... | 2.512743 | 340655da8b184645eeebce51f5e1a6ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846943 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "vrchatapi/vrchatapi-csharp",
"max_stars_repo_path": "src/VRChat.API/Model/InfoPushData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166163"
} | starcoder | <reponame>vrchatapi/vrchatapi-csharp
/*
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.6.7
* Contact: <EMAIL>
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Obje... | 1.782251 | 95c1a0c3fdf581ea175dc99db7f36d36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846944 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Realtao/corefx",
"max_stars_repo_path": "src/System.Diagnostics.Contracts/tests/ValueTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166164"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
namespace System.Diagnostics.Contracts.Tests
{
public class ValueTests
{
[Fact]
public static void OldValueReturnsDefault()
... | 2.371093 | 7710df678aca2fa46057fab35e694d22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846945 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "acidicsoftware/dotnet-quantify",
"max_stars_repo_path": "src/Quantify/QuantityConversion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166165"
} | starcoder | <reponame>acidicsoftware/dotnet-quantify<filename>src/Quantify/QuantityConversion.cs
using System;
namespace Quantify
{
public partial class Quantity<TValue, TUnit, TQuantity>
{
/// <summary>
/// Convert the quantity to a different unit.
/// </summary>
/// <param name="targetUn... | 3.110026 | 25a41d7f48073620c3c39c7e7e79f795 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "athulrajts/StockFischer",
"max_stars_repo_path": "OpenPGN/Models/MoveText/MoveTextEntry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166166"
} | starcoder | using OpenPGN.Format;
namespace OpenPGN.Models;
public abstract class MoveTextEntry
{
public int? MoveNumber { get; set; }
public MoveTextEntryType Type { get; set; }
protected MoveTextEntry(MoveTextEntryType type)
{
Type = type;
}
public override string ToString()
{
re... | 2.385076 | 6d2b7f51ed6ae8ea65afbb31dd09f722 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846947 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "admariner/Augmented-Reality",
"max_stars_repo_path": "Unity/Hololens2/Messaging-SampleApp/Assets/CloudMessaging-HololensSample/SampleViewController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166167"
} | starcoder | <filename>Unity/Hololens2/Messaging-SampleApp/Assets/CloudMessaging-HololensSample/SampleViewController.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
using UnityEngine.Events;
using TIBCO.LABS.EFTL;
using TIBCO.UX; // to be removed when view will be ... | 2.420504 | e56373e4ca302451aea444ab65e4977c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846948 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Valax321/PostProcessEffects",
"max_stars_repo_path": "Effects/Runtime/Palette.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166168"
} | starcoder | <filename>Effects/Runtime/Palette.cs
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering.PostProcessing;
using UnityEngine.Scripting;
namespace Valax321.PostProcess.Runtime
{
[Preserve, Serializable]
[PostProcess(typeof(PaletteRenderer), Pos... | 2.129857 | 6da2551714f5dc475934af3f40ed7953 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846949 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ankush0512/coolstore-microservices",
"max_stars_repo_path": "src/microservices/shopping-cart-service/VND.CoolStore.ShoppingCart/Data/ShoppingCartDataContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166169"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using CloudNativeKit.Domain;
using CloudNativeKit.Infrastructure.Data.EfCore.Core;
using CloudNativeKit.Utils.Extensions;
using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
using VND.CoolStore.ProductCatalog.DataContracts.Dto.V1;
using VND.CoolSt... | 2.265684 | 55994c09d2320f06327aedbaed64a7ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846950 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lnans/personal.budget",
"max_stars_repo_path": "src/Infrastructure/Persistence/Migrations/20220404112325_account-initial-balance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166170"
} | starcoder | <filename>src/Infrastructure/Persistence/Migrations/20220404112325_account-initial-balance.cs<gh_stars>0
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Infrastructure.Persistence.Migrations
{
public partial class accountinitialbalance : Migration
{
protected overr... | 2.141735 | dd18f3a5937981d471ff6e7a5ae65a28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846951 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PascalPieper/Portfolio_TileGame",
"max_stars_repo_path": "TileGame/Tiles/Mountains.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166171"
} | starcoder | using TileGame.Game;
namespace TileGame.Tiles
{
internal class Mountains : Tile
{
public Mountains()
{
TileRect.Texture = ResourceManager.Instance.LoadTexture("resources/mountains.png");
Node.Walkable = false;
}
}
} | 1.969815 | 59b5a7f6a51fbf48a8de656c63c6e40e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846952 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jmenashe/UserManagement",
"max_stars_repo_path": "UserManagement/Pages/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:166172"
} | starcoder | <gh_stars>1-10
@using Microsoft.AspNetCore.Identity
@using UserManagement
@using UserManagement.Data
@using UserManagement.Models
@namespace UserManagement.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.333101 | 0297dfd1cdf3c376e887d05c406a0a3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846953 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ajlopez/Mass",
"max_stars_repo_path": "Src/Mass.Core.Tests/Expressions/CallExpressionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166173"
} | starcoder | namespace Mass.Core.Tests.Expressions
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Mass.Core.Expressions;
using Mass.Core.Functions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
pub... | 2.776351 | ce03110c331d9b321966f32e6eb5b237 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846954 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "aqa510415008/Zop.identity",
"max_stars_repo_path": "UserInterface/Zop.IdentityCenter/Application/Interface/IClientService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166174"
} | starcoder | <reponame>aqa510415008/Zop.identity<filename>UserInterface/Zop.IdentityCenter/Application/Interface/IClientService.cs
using IdentityServer4.Services;
using IdentityServer4.Stores;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Zop.IdentityCenter.Application
... | 1.065422 | 362c12f5e606dc759422a6ad9b879569 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846955 | {
"extension": "c-sharp",
"max_stars_count": "75.0",
"max_stars_repo_name": "jianxuanbing/Bing",
"max_stars_repo_path": "src/Bing.Utils.Webs/Helpers/Web.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166175"
} | starcoder | <filename>src/Bing.Utils.Webs/Helpers/Web.cs
namespace Bing.Utils.Webs.Helpers
{
/// <summary>
/// Web操作
/// </summary>
public static partial class Web
{
#region Client(客户端)
/// <summary>
/// Web客户端,用于发送Http请求
/// </summary>
/// <returns></returns>
pu... | 2.521918 | 5fcf0660d273a237d30fb7da22203e36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846956 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "INOS-soft/notifo",
"max_stars_repo_path": "backend/src/Notifo.Domain/Apps/UpsertAppIntegration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166176"
} | starcoder | // ==========================================================================
// Notifo.io
// ==========================================================================
// Copyright (c) <NAME>
// All rights reserved. Licensed under the MIT license.
// ================================================================... | 1.972247 | c0e20622e5224e7b0a3fda31f3af6b2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846957 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexandrateneva/CSharp-Fundamentals-SoftUni",
"max_stars_repo_path": "CSharp OOP Advanced/Reflection/2. Black Box Integer/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166177"
} | starcoder | <filename>CSharp OOP Advanced/Reflection/2. Black Box Integer/Startup.cs
namespace _2.Black_Box_Integer
{
using System;
using System.Linq;
using System.Reflection;
using _2.Black_Box_Integer.Models;
public class Startup
{
public static void Main()
{
var constructors... | 3.580909 | 18f1d6374499567ea72ce9c1dc652ec5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trdwll/Heartbeat",
"max_stars_repo_path": "src/Forms/MainForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166178"
} | starcoder | /*
* Copyright (c) 2016-2019 Russ 'trdwll' Treadwell. All rights reserved.
* Licensed under the MIT License. See LICENSE.md file in the project root for full license information.
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Lin... | 2.126888 | 8d84dd00d30ca6097790616a67fc2779 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846959 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "AlexP11223/EightPuzzleSolver",
"max_stars_repo_path": "EightPuzzleSolver.Tests/EightPuzzle/PositionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166179"
} | starcoder | <reponame>AlexP11223/EightPuzzleSolver
using EightPuzzleSolver.EightPuzzle;
using Xunit;
namespace EightPuzzleSolver.Tests.EightPuzzle
{
public class PositionTests
{
[Fact]
public void EqualsTest()
{
var pos1 = new Position(1, 2);
var pos2 = new Posit... | 2.454027 | 9342eaa10144c4161c0ef758969bfe68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846960 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "karcagtamas/PlanManager-Backend",
"max_stars_repo_path": "ManagerAPI.Shared/DTOs/PM/PlanListDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166180"
} | starcoder | namespace ManagerAPI.Shared.DTOs.PM
{
/// <summary>
/// Plan list DTO
/// </summary>
public class PlanListDto
{
/// <summary>
/// Id
/// </summary>
public int Id { get; set; }
}
} | 1.66797 | de473ae9f317568a22c5e1bebdd52af9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846961 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jpdillingham/HMACAuth",
"max_stars_repo_path": "src/Security/Cryptography/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166181"
} | starcoder | namespace HMACAuth.Security.Cryptography
{
using System.Security.Cryptography;
using System.Text;
public static class Extensions
{
public static string ComputeMd5Hash(this string text)
{
using var md5 = MD5.Create();
byte[] data = md5.ComputeHash(Encoding.UTF8.G... | 3.056755 | e2e0d0305961240b1ef52409359b72aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846962 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Douglas-Cleghorn/Npgsql.EntityFrameworkCore.PostgreSQL",
"max_stars_repo_path": "src/EFCore.PG/Metadata/Internal/NpgsqlAnnotationNames.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166182"
} | starcoder | #region License
// The PostgreSQL License
//
// Copyright (C) 2016 The Npgsql Development Team
//
// Permission to use, copy, modify, and distribute this software and its
// documentation for any purpose, without fee, and without a written
// agreement is hereby granted, provided that the above copyright notice
// and... | 1.634336 | 7f90816d5fb8dfac9a4aab43d0811196 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846963 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AsierFox/LudumDareFrameworkECS-MonoGame",
"max_stars_repo_path": "Core/ECS/Systems/MoveActionSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166183"
} | starcoder | <gh_stars>1-10
using Microsoft.Xna.Framework;
using System.Collections.Generic;
using Core.ECS.Components;
using Core.ECS.Components.Types;
namespace Core.ECS.Systems
{
class MoveActionSystem : System
{
public void EstablishAction(IMovableActions movableEntity, IMovableActions.Actions actionToPerform)
{
mova... | 2.387403 | c6981eb9a50b5e5b7a041489fc796f8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846964 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "steele123/Trials-Of-Titan",
"max_stars_repo_path": "Library/TitanCore/Data/Components/Projectiles/BoomerangProjectileData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166184"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Utils.NET.Geometry;
using Utils.NET.IO.Xml;
namespace TitanCore.Data.Components.Projectiles
{
public class BoomerangProjectileData : ProjectileData
{
public override ProjectileType Type => ProjectileType.Boomerang;
/// <... | 2.642811 | 9962ea96da9cb673f4b7374892b32a77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846965 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pavelhristov/CSharpOOP",
"max_stars_repo_path": "OOPPrinciplesPartTwo/Shapes/Models/Abstract/Shape.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166185"
} | starcoder | namespace Shapes.Models.Abstract
{
using Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public abstract class Shape:IShapeable
{
private double width;
private double height;
public Shape()
... | 3.216956 | cdac278d11466afcead1eba9211d7014 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846966 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "paulgartner1/DisposableFixer",
"max_stars_repo_path": "src/DisposableFixer.Test/Extensions/NameSyntaxExtensionSpecs/NameSyntaxExtensionSpec.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166186"
} | starcoder | <reponame>paulgartner1/DisposableFixer
using System;
using System.Collections.Generic;
using System.Linq;
using DisposableFixer.Extensions;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using NUnit.Framework;
namespace DisposableFixer.Test.Extensions.NameSyntaxExtensionSpecs
{
[TestFixture]
public class If_chec... | 2.57588 | 7decb9e7baf04c0144c0408aa8769633 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846967 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arkoc/EntityFramework.Guardian.Entities",
"max_stars_repo_path": "EntityFramework.Guardian.Entities/ProtectionResults.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166187"
} | starcoder | <reponame>arkoc/EntityFramework.Guardian.Entities<filename>EntityFramework.Guardian.Entities/ProtectionResults.cs
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace EntityFramework.Guardian.Entities
{
/// <summary>
... | 2.047608 | 05502b5a75d947384134cc0cdb174a08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846968 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "brianmains/Nucleo.NET",
"max_stars_repo_path": "src/Nucleo/Reflection/ReflectionUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166188"
} | starcoder | <filename>src/Nucleo/Reflection/ReflectionUtility.cs
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Nucleo.Reflection
{
[Obsolete("This will be going away soon")]
public static class ReflectionUtility
{
#region " Properties "
public static BindingFlags InstanceFlags
{
... | 3.194906 | fa98e55d50e4964b54af4a8db070a2bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846969 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "wireless-r/Light-Switch",
"max_stars_repo_path": "src/Light Switch/Light Switch/Storage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166189"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
namespace LightSwitch
{
internal class Storage : TypeSafeEnum
{
/// <summary>
/// Instantiates a <see cref="Storage"/> with the provided parameters.
/// </summary>
/// <param name="name... | 3.095772 | d0a8a70d94fcf0fe13341cd8cb16d753 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846970 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "NickCuso/HardlyCommonUnity",
"max_stars_repo_path": "Extensions/QuaternionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166190"
} | starcoder | <reponame>NickCuso/HardlyCommonUnity<filename>Extensions/QuaternionExtensions.cs
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using UnityEngine;
namespace HD
{
public static class QuaternionExtensions
{
public static bool IsValid(
this Quaternion quaternion)
{
... | 2.614687 | f434e7bba2f53e7c3900fb7d3dbc23e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846971 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "crossthefrog/testtask1",
"max_stars_repo_path": "arch/Assets/Scripts/Extensions/Vector3Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166191"
} | starcoder | using UnityEngine;
namespace DefaultNamespace
{
internal static class Vector3Extensions
{
public static Vector3 Projection(this Vector3 direction)
{
Vector3 proj = Vector3.zero;
proj.z = direction.y;
proj.x = direction.x;
return proj;
}
}
} | 2.395296 | 5a95b89293cdd7378c8380e88d3fe7cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846972 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BlazesRus/BlazesRusSharedCode",
"max_stars_repo_path": "BlazesCSharpSharedCode/ExperimentalCode/MediumDec_OperatorFunctions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166192"
} | starcoder | <gh_stars>1-10
/* Code Created by <NAME> (https://github.com/BlazesRus)
Latest Code Release at https://github.com/BlazesRus/BlazesRusSharedCode
*/
using System;
//Does not need BigMath library to compile
//CSharpSharedCode.ExperimentalCode.MediumDec
namespace CSharpSharedCode.ExperimentalCode
{
u... | 2.79209 | eacbbbd5de62a1743ed0b96d2d2ad5f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846973 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Alfred-PictoCube/LunaMultiplayer",
"max_stars_repo_path": "LmpClient/Windows/Locks/VesselLockDisplay.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166193"
} | starcoder | using LmpClient.Systems.SettingsSys;
using System;
namespace LmpClient.Windows.Locks
{
internal class VesselLockDisplay
{
public Guid VesselId { get; set; }
public string VesselName { get; set; }
public bool Selected { get; set; }
public bool Loaded { get; set; }
public... | 2.122432 | 613fc65f377dd63fd236fea0f0fc2168 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846974 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fschoening/Helligdage.NET",
"max_stars_repo_path": "Helligdage.NET/Model/Domain/Holiday.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166194"
} | starcoder | <filename>Helligdage.NET/Model/Domain/Holiday.cs
using System;
using Helligdage.NET.Model.Enums;
namespace Helligdage.NET.Model.Domain
{
public class Holiday
{
public Holiday(DateTime date, HolidayType holidayType)
{
this.Date = date;
this.HolidayType = holidayType;
this.Name = this.HolidayType.ToStri... | 3.244857 | 46efeac1ef22c6d90a384d0ad7a137cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846975 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marufbd/MvcSiteMapProvider",
"max_stars_repo_path": "src/MvcSiteMapProvider/MvcSiteMapProvider/Extensibility/DynamicNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166195"
} | starcoder | #region Using directives
using System;
using System.Collections.Generic;
#endregion
namespace MvcSiteMapProvider.Extensibility
{
/// <summary>
/// DynamicNode class
/// </summary>
public class DynamicNode
{
/// <summary>
/// Gets or sets the route.
/// <... | 2.141984 | 52cab58a089beabae1e3081a81b8dd12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846976 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AliMusaev/VertexCode",
"max_stars_repo_path": "VertexCodeMakerDomain/VertexFrame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166196"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using VertexCodeMakerDomain.Interfaces;
namespace VertexCodeMakerDomain
{
public class VertexFrame
{
private List<VertexSection> _sectionsList;
public... | 2.562367 | b1dcf245d1691fe6c357e074af945b00 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846977 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jgador/StashCache",
"max_stars_repo_path": "src/StashCache/ILocalCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166197"
} | starcoder | using Microsoft.Extensions.Caching.Memory;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace StashCache
{
/// <summary>
/// Represents a local in-memory cache.
/// </summary>
public interface ILocalCache
{
/// <summary>
/// Creates a cache entry to the <... | 3.152843 | e2716dd0698db5eff4d0b7d9c8f3e56c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846978 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "martinmladenov/AuctionSystem",
"max_stars_repo_path": "src/Web/AuctionSystem.Web/Views/Items/Create.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:166198"
} | starcoder | <filename>src/Web/AuctionSystem.Web/Views/Items/Create.cshtml
@model ItemCreateBindingModel
@{
ViewData["Title"] = "Create item listing";
}
<div class="container">
<div class="text-center w-md-75 w-lg-50 mx-auto my-4">
<h2>@ViewData["Title"]</h2>
<form method="post" id="createForm" enctype="mu... | 2.314959 | bb31d735febe199e5f5682e06f342085 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846979 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "benjymous/AdventOfCode",
"max_stars_repo_path": "Advent2015/Day17_NoSuchThingAsTooMuch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166199"
} | starcoder | <reponame>benjymous/AdventOfCode
using System;
using System.Collections.Generic;
using System.Linq;
namespace AoC.Advent2015
{
public class Day17 : IPuzzle
{
public string Name => "2015-17";
private static Dictionary<string, int> Noggify(string input)
{
int i = 0;
... | 2.991954 | fbc64b098c53a735f2f10382d51b0288 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846980 | {
"extension": "c-sharp",
"max_stars_count": "148.0",
"max_stars_repo_name": "TerribleDev/HardHat",
"max_stars_repo_path": "src/HardHat/Builders/HpKpHeaderBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166200"
} | starcoder | <reponame>TerribleDev/HardHat
using HardHat;
using System;
using System.Collections.Generic;
using System.Text;
namespace HardHat.Builders
{
internal static class HpKpHeaderBuilder
{
internal static string Build(ulong maxAge, ICollection<PublicKeyPin> keys, bool includeSubDomains = false, string repor... | 2.584142 | 8d995ebe3a60d11459f3fda67286e619 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846981 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NinevaStudios/Unity-Android-Google-Awareness-API-Native-Plugin",
"max_stars_repo_path": "unity-proj/Assets/GoogleAwarenessApi/Scripts/Snapshot/Place.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166201"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using GoogleAwarenessApi.Scripts.Internal;
using JetBrains.Annotations;
using UnityEngine;
namespace NinevaStudios.AwarenessApi
{
[PublicAPI]
public class Place
{
[PublicAPI]
public enum PlaceType
{
[PublicAPI]
Other = 0,
[PublicAPI]
Accountin... | 1.667593 | 14ccac845da397b34a2373527854b79a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846982 | {
"extension": "c-sharp",
"max_stars_count": "1749.0",
"max_stars_repo_name": "danielbanda/gong-wpf-dragdrop",
"max_stars_repo_path": "src/GongSolutions.WPF.DragDrop/IDragInfoBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166202"
} | starcoder | using System.Windows.Input;
namespace GongSolutions.Wpf.DragDrop
{
/// <summary>
/// Interface implemented by Drag Info Builders.
/// It enables custom construction of DragInfo objects to support 3rd party controls like DevExpress, Telerik, etc.
/// </summary>
public interface IDragInfoBuilder
... | 2.593132 | 650572f0424193ae21fdefe5f71e9783 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846983 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "pipaslot/Mediator",
"max_stars_repo_path": "Demo/Shared/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166203"
} | starcoder | namespace Demo.Shared
{
public static class Constants
{
public static string CustomMediatorUrl = "api/mediator";
}
}
| 1.250903 | 9d5438209abb5ef853414e9690f072f5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.