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 | 8834412 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tiagor87/tr-rabbitmq",
"max_stars_repo_path": "src/Core/Messages/Implementations/PublishMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153632"
} | starcoder | <filename>src/Core/Messages/Implementations/PublishMessage.cs<gh_stars>0
using System;
using TRRabbitMQ.Core.Options;
using TRRabbitMQ.Core.Utils;
namespace TRRabbitMQ.Core.Messages.Implementations
{
public sealed class PublishMessage : IPublishMessage
{
private readonly object _data;
private ... | 2.57113 | 2ef807e575fe6be7721c4b07aff0bdef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834413 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "brian-reichle/CausalityDbg",
"max_stars_repo_path": "src/CausalityDbg.Core/Native/CorDebugApi/Structs/COR_DEBUG_STEP_RANGE.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153633"
} | starcoder | <reponame>brian-reichle/CausalityDbg
// Copyright (c) <NAME>. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Runtime.InteropServices;
namespace CausalityDbg.Core.CorDebugApi
{
[StructLayout(LayoutKind.Sequential)]
stru... | 1.316948 | 157c65bfeddf8d22ea87bb50cddcbb42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834414 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gestotudor/Mvc_Hotel_Booking",
"max_stars_repo_path": "BookingSystem.Domain.WebUI/Account/RegisterVM.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153634"
} | starcoder | using BookingSystem.Core.CustomValidation;
using System.ComponentModel.DataAnnotations;
namespace BookingSystem.Domain.WebUI.Account
{
public class RegisterVM : IModel
{
public int Id { get; set; }
[Required]
public string Name { get; set; }
[Required]
public string L... | 1.831776 | 8f51dbddf8783af84da7fc5242cb20ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834415 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "rmznkrblt/CarRental-ReCapProject",
"max_stars_repo_path": "CarRental-BackEnd/Business/ValidationRules/FluentValidation/CarValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153635"
} | starcoder | <filename>CarRental-BackEnd/Business/ValidationRules/FluentValidation/CarValidator.cs
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using DataAccess.Concrete.EntityFramework;
using Entities.Concrete;
using Entities.DTOs;
using FluentValidation;
namespace Business.ValidationRule... | 2.440883 | a949f973b680aede500455323d6b9d8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834416 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wtor/Battleships",
"max_stars_repo_path": "Battleships.Core/Services/RandomNumberGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153636"
} | starcoder | using System;
namespace Battleships.Core.Services
{
public interface IRandomNumberGenerator
{
int Next(int min, int maxInclusive);
}
public sealed class RandomNumberGenerator : IRandomNumberGenerator
{
private readonly Random random;
public RandomNumberGenera... | 3.018546 | 5daea914cdb8fa38a8bd13f100a50fe9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834417 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "dimitarminchev/ITCareer",
"max_stars_repo_path": "05. Object Oriented Programming/2019/04. Inheritance, Abstraction, Interfaces/05_StackOfStrings/StackOfStrings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153637"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _05_StackOfStrings
{
public class StackOfStrings<T> : List<T>, IEnumerable<T>
{
private List<T> data = new List<T>();
public void Push(T elem... | 3.823895 | 88b35597422148822b297302cb8a4aa3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834418 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "dot42/SharpDevelop",
"max_stars_repo_path": "src/AddIns/Debugger/Debugger.Core/Options.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153638"
} | starcoder | using System;
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
namespace Debugger
{
[Serializable]
public class Options
{
public Options()
{
EnableJustMyCode = true;... | 2.008604 | 013328dd4ece7ef79f1c26374605a0b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834419 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "basitmir2020/shopperssquare",
"max_stars_repo_path": "Shoppers Square/obj/Debug/net5.0/Razor/Views/Admin/ViewUser.cshtml.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153639"
} | starcoder | #pragma checksum "C:\Users\basiit\source\repos\Shoppers Square\Shoppers Square\Views\Admin\ViewUser.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "a68f505b3b4c0d5fa48dc96a0b876330b8c8dbb6"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribu... | 1.277317 | bbc7fb4ab168e0944df869ed4d13bc0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834420 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "izayoijiichan/VGO",
"max_stars_repo_path": "UniVgo/Runtime/Models/ExportTextureItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153640"
} | starcoder | // ----------------------------------------------------------------------
// @Namespace : UniVgo
// @Class : ExportTextureItem
// ----------------------------------------------------------------------
namespace UniVgo
{
using System.Numerics;
using VgoGltf;
/// <summary>
/// Export Texture Item
... | 2.450074 | 34a22c63839d9bf2e167e8819cbd2df8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834421 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "MHanafy/GitP4Sync",
"max_stars_repo_path": "GitP4Sync/Repos/IUserRepo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153641"
} | starcoder | <reponame>MHanafy/GitP4Sync
using GitP4Sync.Models;
namespace GitP4Sync.Repos
{
public interface IUserRepo
{
void Load();
User Get(string githubLogin);
User Add(string githubLogin, string p4User, string name);
void Save();
}
} | 1.512148 | 2f59f65359c4bbdb4baeb725084d95a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834422 | {
"extension": "c-sharp",
"max_stars_count": "329.0",
"max_stars_repo_name": "jonfortescue/cli-lab",
"max_stars_repo_path": "src/dotnet-core-uninstall/Shared/Utils/RuntimeInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153642"
} | starcoder | <filename>src/dotnet-core-uninstall/Shared/Utils/RuntimeInfo.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.InteropServices;
namespace Microsoft.DotNet.Tools.Uninstal... | 1.85519 | 617c920e75dbf21d3a6ef16df5859a04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834423 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "someguy20336/TypeRight",
"max_stars_repo_path": "src/TypeRight.Workspaces/Parsing/ReturnSyntaxNodeHandlers/ExpressionSyntaxNodeHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153643"
} | starcoder | <reponame>someguy20336/TypeRight
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using TypeRight.CodeModel;
namespace TypeRight.Workspaces.Parsing.ReturnSyntaxNodeHandlers
{
/// <summary>
/// Handles general expressions
/// Example:
/// return (1 + 2 + 3);
/// </summary>
internal clas... | 2.759305 | 8d73895dd32124f641e66facc791ce83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834424 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yl5209/GridSnapSystem",
"max_stars_repo_path": "Assets/Script/Station/State.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153644"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace State
{
public enum StationState
{
Past,
Present
}
}
| 1.622967 | 3b8b32e2886dfb6f1f7b434016c72e1a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834425 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Nobuna-dono/Unity-Tools",
"max_stars_repo_path": "Unity-Tools/Assets/00-UNITY-TOOLS/Production/Sources/Architecture/ScriptableObjects/Variable/BoolVariable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153645"
} | starcoder | using UnityEngine;
[CreateAssetMenu(menuName = "Framework Data/Variable/Boolean", order = 1)]
public class BoolVariable : DataVariable<bool>
{
public virtual bool IsTrue()
{
return Value;
}
}
/*
public class DataConditionComparerDrawer : PropertyDrawer
{
private GUIStyle popupStyle;
pr... | 2.51482 | ca028869f4dd841090dfa5490b7c1487 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834426 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "totoki-kei/ETL2",
"max_stars_repo_path": "Utility/PartialArray.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153646"
} | starcoder | using System;
using System.Collections.Generic;
namespace Totoki.Util {
public class PartialArray<T> : IList<T> {
T[] baseArray;
int offset, count;
bool readOnly;
public T[] BaseArray { get { return baseArray; } }
public PartialArray(T[] _array, int _offset, int _count, bool _readonly) {
baseArray = _... | 2.978201 | 079519912ad376653275ba7f5d03aed8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834427 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-ILR-1718-ValidationService",
"max_stars_repo_path": "src/ESFA.DC.ILR.ValidationService.Rules/Query/LearningDeliveryFAMQueryService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153647"
} | starcoder | using ESFA.DC.ILR.ValidationService.Rules.Query.Interface;
using System.Collections.Generic;
using System.Linq;
using ESFA.DC.ILR.Model.Interface;
namespace ESFA.DC.ILR.ValidationService.Rules.Query
{
public class LearningDeliveryFAMQueryService : ILearningDeliveryFAMQueryService
{
public bool HasAnyL... | 2.122813 | f4b74015455b74de8de9de0269fb8ba0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834428 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NGTO-WONG/KishiStory",
"max_stars_repo_path": "Assets/Plugins/Pixel Crushers/Common/Scripts/Editor/Misc/TimedEventEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153648"
} | starcoder | // Copyright (c) Pixel Crushers. All rights reserved.
using UnityEngine;
using UnityEditor;
namespace PixelCrushers
{
[CustomEditor(typeof(TimedEvent), true)]
public class TimedEventEditor : Editor
{
private SerializedProperty modeProperty;
private SerializedProperty duration... | 1.941459 | 1cf2c194a7dfc246ad4a9920291aed8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834429 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "retaildevcrews/lr",
"max_stars_repo_path": "src/LodeRunner.Data/Interfaces/ISettingsValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153649"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace LodeRunner.Data.Interfaces
{
/// <summary>
/// Settings Validator Interface.
/// </summary>
public interface ISettingsValidator
{
... | 1.603009 | b58311ed83868d7428beecb8b281a6a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834430 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "eventmodeling/eventdriventhinking",
"max_stars_repo_path": "EventDrivenThinking.WPF/EventInference/QueryProcessing/QueryInvoker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153650"
} | starcoder | <gh_stars>1-10
using System;
using System.Reflection;
using System.Threading.Tasks;
using EventDrivenThinking.EventInference.Abstractions;
using EventDrivenThinking.EventInference.Abstractions.Read;
using Microsoft.Extensions.DependencyInjection;
namespace EventDrivenThinking.EventInference.QueryProcessing
{
/// ... | 2.484149 | 5d619b73ea3a1889ddc93c9e9e196da2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834431 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kolik95/Steganography",
"max_stars_repo_path": "WindowsUI/ViewModels/MainWindowViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153651"
} | starcoder |
using System.Windows;
using System.Windows.Controls;
using WindowsUI.Others;
using WindowsUI.Pages;
using WindowsUI.RelayCommands;
using Steganografie.Encryption;
namespace WindowsUI.ViewModels
{
class MainWindowViewModel : BaseViewModel
{
#region Singleton
private static MainWindowViewModel instance { get; ... | 2.218415 | fec045e0aa590fbfdd60db7e0abc8bc2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834432 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeffogata/github-cicd-dotnet-1",
"max_stars_repo_path": "src/Client/InputParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153652"
} | starcoder | // -----------------------------------------------------------------------------
// <copyright file="InputParser.cs" company="Nomach Inc">
// Copyright (c) Nomach Inc. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------------
namespace Client
{
using Sy... | 3.335432 | 32541faa54dfdd68a8d83c0a546e1e9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gonzaloiv/mlgjam",
"max_stars_repo_path": "Assets/Scripts/GameObjects/Banners/DraggableAreaController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153653"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using System;
public class DraggableAreaController : BaseMonoBehaviour, IDragHandler, IEndDragHandler {
#region Fields / Properties
public Direction closeDirection;
private Action onCloseDrag;
... | 2.476777 | cb473b03ce624e503caa555d898c5853 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834434 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kznts9v-1lya/computer-practice",
"max_stars_repo_path": "Second semester/Completed homeworks/Homework 1/Task_1_Filters/Task_1_Filters_Unit_Test/UnitTestPictures.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153654"
} | starcoder | <filename>Second semester/Completed homeworks/Homework 1/Task_1_Filters/Task_1_Filters_Unit_Test/UnitTestPictures.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// ... | 2.16536 | e17c1015d9875b82319912b5f632d5bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834435 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "duke009/caasiope-blockchain",
"max_stars_repo_path": "Caasiope.Protocol/Types/PrivateKey.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153655"
} | starcoder | using System;
using System.Diagnostics;
using System.Text;
using Helios.Common.Extensions;
using Caasiope.NBitcoin;
using Caasiope.NBitcoin.Crypto;
using Caasiope.Protocol.Formats;
namespace Caasiope.Protocol.Types
{
public class PrivateKey : Key
{
public const int KEY_SIZE = 32;
// TODO find w... | 2.536072 | f0383740b73802974d8c5835777a93b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834436 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "freewheel70/docfx",
"max_stars_repo_path": "src/docfx/config/UrlType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153656"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Docs.Build;
internal enum UrlType
{
/// <summary>
/// a.md -> /xxx/a
/// </summary>
Docs,
/// <summary>
/// a.md --> /xxx/... | 2.236959 | ddb20686271585d567a3fd83f063a6ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834437 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "serial-labs/SharedLibraries",
"max_stars_repo_path": "Source/SerialLabs.Data.AzureTable/Properties/Resources.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153657"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34011
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 2.147488 | 7a73ba77387ddd21f8869887b3f035c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834438 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jojo-WJ/SsitEngine",
"max_stars_repo_path": "Assets/SsitEngineAssets/Runtime/Data/Info/ProtoInfo/UserInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153658"
} | starcoder | using SsitEngine.Data;
namespace SSIT.proto
{
public partial class UserInfo : IInfoData
{
/// <summary>
/// 组织名称
/// </summary>
public string OrganizeName;
public string ID { get; set; }
public string Guid { get; set; }
public string I... | 1.562927 | 49ce68c1b2d95a18a4fa7bcefd7fbf94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834439 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cumpstey/robot-test",
"max_stars_repo_path": "_Tests/BusinessLogic.Tests/RotateCommandTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153659"
} | starcoder | namespace RobotTest.BusinessLogic.Tests
{
using System;
using BusinessLogic.Commands;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Utilities.Logging;
[TestClass]
public class RotateCommandTests
{
[TestMethod]
public void Rotates()
{
ILogger ... | 2.805249 | f0603fc7622447133dced9dd2492250a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834440 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zzgchina888/msdn-code-gallery-microsoft",
"max_stars_repo_path": "Visual Studio Product Team/Visual Studio 2010 SDK Samples/[C++]-Visual Studio 2010 SDK Samples/IronPython Studio VS Shell Isolated/C#,C++/studioisolated/IronPython/src/Ir... | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using IronPython.CodeDom;
namespace Microsoft.Samples.VisualStudio.CodeDomCodeModel {
internal class StringMerger : IMergeDestination {
private bool hasMerged = false;
private List<string> buffer;
public StringMerger(string... | 2.965995 | f4c03ffe55176992dbddc4e5a5d0a40a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834441 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qkmaxware/Numerics",
"max_stars_repo_path": "Numerics/src/Point2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153661"
} | starcoder | <filename>Numerics/src/Point2.cs
namespace Qkmaxware.Numerics {
/// <summary>
/// X,Y Coordinate pair
/// </summary>
/// <typeparam name="T">type of coordinate</typeparam>
public class Point2<T> {
/// <summary>
/// X coordinate
/// </summary>
public T X {get; private set;}
/// <summary>
/// Y ... | 2.941881 | 8f5430b1202ba776a732f419e5d3704e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834442 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "demonixis/ECSSharp",
"max_stars_repo_path": "ECSSharp/Framework/Component.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153662"
} | starcoder | namespace ECSSharp.Framework
{
public class Component
{
}
}
| 1.142679 | 5db32cdd88daec850abf179f784bc47e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834443 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pirocorp/Algorithms-with-CSharp",
"max_stars_repo_path": "13. EXAM PREPARATIONS/03. Exam Preparation III/02. Balls/BallsProgram.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153663"
} | starcoder | <filename>13. EXAM PREPARATIONS/03. Exam Preparation III/02. Balls/BallsProgram.cs
namespace _02._Balls
{
using System;
using System.Text;
public static class BallsProgram
{
private static int[] _result;
private static int _pockets;
private static int _capacity;
privat... | 3.567588 | d378c12856d1034f2f84409d9972a4c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kostas-vl/burstchat",
"max_stars_repo_path": "src/BurstChat.Signal/Options/ApiDomainOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153664"
} | starcoder | namespace BurstChat.Signal.Options
{
/// <summary>
/// Contains the domain of the BurstChat api.
/// </summary>
public class ApiDomainOptions
{
/// <summary>
/// The burst chat api domain url.
/// </summary>
public string BurstChatApiDomain { get; set; } = string.Empt... | 1.895866 | 1f13d817b34f71205562b758f6cc36b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834445 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "readmeio/httpsnippet",
"max_stars_repo_path": "__tests__/__fixtures__/output/csharp/restsharp/headers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153665"
} | starcoder | <filename>__tests__/__fixtures__/output/csharp/restsharp/headers.cs
var client = new RestClient("https://httpbin.org/headers");
var request = new RestRequest(Method.GET);
request.AddHeader("accept", "text/json");
request.AddHeader("x-foo", "Bar");
IRestResponse response = client.Execute(request);
| 2.199331 | 7007cc5b7e0f4d5bb77ecd3313c41e29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834446 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "doxakis/SentimentAnalysisSharp",
"max_stars_repo_path": "RedditCommentExample/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153666"
} | starcoder | <reponame>doxakis/SentimentAnalysisSharp<filename>RedditCommentExample/Program.cs
using SentimentAnalysis;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RedditCommentExample
{
class Program
{
static void Main(string[]... | 2.843741 | f245acd0edf42b6c5b54aaa5ea51176f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834447 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "nicolastakashi/flepper",
"max_stars_repo_path": "Flepper.Tests.Unit/QueryBuilder/Commands/OrderByCommandTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153667"
} | starcoder | <filename>Flepper.Tests.Unit/QueryBuilder/Commands/OrderByCommandTests.cs
using Flepper.QueryBuilder;
using FluentAssertions;
using Xunit;
using static Flepper.QueryBuilder.FlepperQueryFunction;
namespace Flepper.Tests.Unit.QueryBuilder.Commands
{
[Collection("CommandTests")]
public class OrderByCommandTests
... | 2.635462 | 911ceae40694084388b56a3b0b5f47db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834448 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "jspuij/fluentlang",
"max_stars_repo_path": "source/Compiler.Tests.Unit/Symbols/SourceSymbols/MethodBodyTests/PrefixUnaryOperatorExpressionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153668"
} | starcoder | using FluentLang.Compiler.Diagnostics;
using FluentLang.Compiler.Symbols;
using FluentLang.Compiler.Symbols.Interfaces.MethodBody;
using FluentLang.Compiler.Symbols.Source.MethodBody;
using FluentLang.TestUtils;
using System.Linq;
using Xunit;
using Xunit.Abstractions;
namespace FluentLang.Compiler.Tests.Unit.Symbols... | 2.255914 | 340d8cc6d2d940716eb702b362845569 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834449 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tabrath/cs-libp2p-utils",
"max_stars_repo_path": "src/LibP2P.Utilities/Extensions/TupleExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153669"
} | starcoder | <reponame>tabrath/cs-libp2p-utils
using System;
namespace LibP2P.Utilities.Extensions
{
public static class TupleExtensions
{
public static Tuple<T, T> Swap<T>(this Tuple<T, T> tuple) => new Tuple<T, T>(tuple.Item2, tuple.Item1);
}
} | 2.196021 | 14b7a77cd9d5800da33c7ce8c187b34b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834450 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MangoInstantMessenger/MangoMessengerAPI",
"max_stars_repo_path": "MangoAPI.BusinessLogic/ApiQueries/DiffieHellmanKeyExchanges/DownloadPartnerPublicKeyQueryValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153670"
} | starcoder | <reponame>MangoInstantMessenger/MangoMessengerAPI
using FluentValidation;
namespace MangoAPI.BusinessLogic.ApiQueries.DiffieHellmanKeyExchanges;
public class DownloadPartnerPublicKeyQueryValidator : AbstractValidator<DownloadPartnerPublicKeyQuery>
{
public DownloadPartnerPublicKeyQueryValidator()
{
R... | 1.461131 | 0c4609a36d47a0d1fcac568c79232380 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834451 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emipa606/CyberneticWarfare",
"max_stars_repo_path": "Source/CyberneticWarfare/CompWargearWeapon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153671"
} | starcoder | using System.Collections.Generic;
using Verse;
namespace CyberneticWarfare
{
// Token: 0x02000003 RID: 3
public class CompWargearWeapon : ThingComp
{
// Token: 0x17000001 RID: 1
// (get) Token: 0x06000002 RID: 2 RVA: 0x0000206A File Offset: 0x0000026A
public CompProperties_WargearW... | 2.107396 | 46ca8a7d4d3311245d8754c0354d4ed9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834452 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sh1ngekyo/macropse",
"max_stars_repo_path": "Macropse.Domain/Logic/Macro/Command/CommandVolumeMute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153672"
} | starcoder | using Macropse.Domain.Logic.Interfaces;
using Macropse.Domain.Logic.Macro.Command.Utils;
using Macropse.Domain.Logic.Settings;
using Macropse.Infrastructure.Module.Driver;
namespace Macropse.Domain.Logic.Macro.Command
{
public class CommandVolumeMute : CommandBase, IExecutable
{
public CommandVolumeMu... | 1.960981 | 6ed4f3acc622fbf18338e0f3f436d849 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834453 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MonoBrasil/CsDO",
"max_stars_repo_path": "CsDo.Lib.MockDriver/MockDataAdapter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153673"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Data.Common;
using System.Data;
namespace CsDO.Lib.MockDriver
{
public class MockDataAdapter : DbDataAdapter
{
#region Private Vars
private DbDataAdapter _dbDataAdapter = ProviderFactory.Instance.CreateDataAdapter(... | 2.363185 | 58309eb9ed63e724f64b73772185c3bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834454 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ngochivinh/maui",
"max_stars_repo_path": "src/Compatibility/ControlGallery/src/iOS/ApiLabelRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153674"
} | starcoder | <gh_stars>1-10
using System;
using Microsoft.Maui.Controls.Compatibility;
using Microsoft.Maui.Controls.Compatibility.ControlGallery;
using Microsoft.Maui.Controls.Compatibility.ControlGallery.iOS;
using Microsoft.Maui.Controls.Compatibility.Platform.iOS;
using Microsoft.Maui.Controls.Platform;
using UIKit;
[assembly... | 1.466148 | 80a801bf0d55d7dc2892b4a7945a8754 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834455 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FloppyDisk69420/Orion",
"max_stars_repo_path": "March/Scripts/Weapon/WeaponHolder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153675"
} | starcoder | <filename>March/Scripts/Weapon/WeaponHolder.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
public class WeaponHolder : MonoBehaviour {
InputManager input;
[Header("Static")]
public ComplexRecoil camRecoil;
public AmmoUIController ammo;
... | 2.273728 | d033f1101913f23f9bad148390b1ad20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834456 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Masterloop/Masterloop.Core.Types",
"max_stars_repo_path": "src/Masterloop.Core.Types/Base/HistorianType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153676"
} | starcoder | <filename>src/Masterloop.Core.Types/Base/HistorianType.cs
namespace Masterloop.Core.Types.Base
{
public enum HistorianType
{
All = 0,
None = 1,
HourlyStatistics = 2,
DailyStatistics = 3
}
} | 1.736881 | 86f68cfeb776422212e922117f40c843 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834457 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sakher-sawan/BatchProcessor",
"max_stars_repo_path": "BatchProcessor.DefaultComponents/FileSystemStore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153677"
} | starcoder | <reponame>sakher-sawan/BatchProcessor
/**********************************************************************************
* Copyright 2017-2018 <NAME> *
* *
* Licensed under the Apache License, Ver... | 2.246952 | 07fa6adf313317b55f42cbe85668dc17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834458 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CXuesong/App2",
"max_stars_repo_path": "App2/App2.WinPhone/Class1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153678"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace App2.WinPhone
{
class Class1
{
public void Test()
{
}
}
}
| 1.414364 | 450b2928138507e9dfa86def75dbc302 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834459 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MinexAutomation/R5T.Code.VS.SolutionFile.Types",
"max_stars_repo_path": "source/R5T.Code.VS.SolutionFile.Types/Code/Model/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153679"
} | starcoder | <reponame>MinexAutomation/R5T.Code.VS.SolutionFile.Types
using System;
namespace R5T.Code.VisualStudio.Model.SolutionFileSpecific
{
public static class Constants
{
public const string DependenciesSolutionFolderName = "_Dependencies";
public const string DebugSolutionFileBuildConfigura... | 1.272742 | 074c8b8d54895fd92bba14d994f69620 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834460 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "arxae/Shadowrun",
"max_stars_repo_path": "Shadowrun/Windows/CharacterCreation/CharacterCreationWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153680"
} | starcoder | using Shadowrun.Data.Character;
namespace Shadowrun.Windows.CharacterCreation
{
public partial class CharacterCreationWindow
{
public Character CurrentCharacter { get; private set; }
public CharacterCreationWindow()
{
InitializeComponent();
CurrentCharacter = new Character(Data.RaceEnum.Hu... | 2.369956 | e7f556344288546b102f0edd7cf21be3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834461 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "kennethmyhra/spark",
"max_stars_repo_path": "src/Spark.Engine/Core/FhirMediaType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153681"
} | starcoder | /*
* Copyright (c) 2014, Furore (<EMAIL>) and contributors
* See the file CONTRIBUTORS for details.
*
* This file is licensed under the BSD 3-Clause license
* available at https://raw.github.com/furore-fhir/spark/master/LICENSE
*/
using Hl7.Fhir.Model;
using Hl7.Fhir.Rest;
using System;
using System.Collectio... | 2.269311 | 502e6b0080236de19407282b9d0cdfea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834462 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "veggerby/Veggerby.Algorithm",
"max_stars_repo_path": "src/Veggerby.Algorithm/Graphs/Edge.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153682"
} | starcoder | <filename>src/Veggerby.Algorithm/Graphs/Edge.cs
using System;
namespace Veggerby.Algorithm.Graphs
{
public class Edge<T>
{
public T From { get; }
public T To { get; }
public int Weight { get; }
public Edge(T from, T to, int weight = 1)
{
if (from == null)
... | 3.326672 | 398d56b42dcc26287e11bc94c8b2ea70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834463 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheAutomatingMrLynch/NBi",
"max_stars_repo_path": "NBi.Testing.Xml/IgnoreXmlTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153683"
} | starcoder | <reponame>TheAutomatingMrLynch/NBi
using System.IO;
using System.Reflection;
using NBi.Xml;
using NUnit.Framework;
namespace NBi.Testing.Xml.Unit
{
[TestFixture]
public class IgnoreXmlTest : BaseXmlTest
{
[Test]
public void Deserialize_IgnoreAttributeNotSpecified_NotIgnored()
{
... | 2.519753 | 1a7aa083a4e71711a18b2cdc3973a183 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834464 | {
"extension": "c-sharp",
"max_stars_count": "3048.0",
"max_stars_repo_name": "ScriptBox99/DotnetSpider",
"max_stars_repo_path": "src/DotnetSpider/Infrastructure/PrintArgumentService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153684"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
namespace DotnetSpider.Infrastructure
{
public class PrintArgumentService : IHostedService
{
private readonly SpiderOptions _options;
private readonly ... | 2.331162 | 1ccc5767985734d2d7873bcbcf5fd218 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834465 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "janpuetz/gocardless-dotnet",
"max_stars_repo_path": "GoCardless/Services/CreditorService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153685"
} | starcoder |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Threading;
using System.Threading.Tasks;
using GoCardless.Internals;
using GoCardless.Resources;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace GoCardless.Services
{
/// <summar... | 2.561605 | 25d694c047b17592211ea05f7c0b7689 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834466 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emilia98/TU-OOP",
"max_stars_repo_path": "OOP/Lab-08/Problem-03-Print-Month-2/PrintNumber2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153686"
} | starcoder | <reponame>emilia98/TU-OOP<gh_stars>0
using System;
namespace Problem_03_Print_Month_2
{
class PrintNumber2
{
static void Main()
{
Console.Write("Month = ");
int month = int.Parse(Console.ReadLine());
try
{
if (month < 1 || month ... | 3.376791 | 708ec34a6aed19fc226e1b7b4a7b9549 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834467 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gallargit/Sql2SqlCloner",
"max_stars_repo_path": "ChooseSchemas.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153687"
} | starcoder | using Sql2SqlCloner.Components;
using Sql2SqlCloner.Core.DataTransfer;
using Sql2SqlCloner.Core.SchemaTransfer;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Windows.Forms;
namespace Sql2SqlCloner
{
public partial class ChooseSchemas : Form
{
... | 2.484598 | c74de358e439fcd4e53e31b71dbaec81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834468 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Seeker1437/SqaureConnect.NET",
"max_stars_repo_path": "SquareConnect/Objects/V2/TransactionProduct.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153688"
} | starcoder | <gh_stars>0
using System.ComponentModel.DataAnnotations;
namespace SquareConnect.Objects.V2
{
/// <summary>
/// Indicates the Square product used to process a transaction.
/// </summary>
public enum TransactionProduct
{
/// <summary>
/// Square Register.
/// </summary>
... | 2.122141 | b3bda6ac9511fb716a85695ae9969c22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834469 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DirectXceriD/gridgain",
"max_stars_repo_path": "modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/ReflectionUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153689"
} | starcoder | <gh_stars>1-10
/*
* GridGain Community Edition Licensing
* Copyright 2019 GridGain Systems, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License") modified with Commons Clause
* Restriction; you may not use this file except in compliance with the License. You m... | 1.892523 | 16d8f13cf5bbd992afb66ec912c14123 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834470 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hexalith/Hexalith",
"max_stars_repo_path": "src/Core/Infrastructure/Hexalith.Infrastructure.VisualComponents.FastAndFluent/Renderers/Fast/FastComponentRendererBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153690"
} | starcoder | <filename>src/Core/Infrastructure/Hexalith.Infrastructure.VisualComponents.FastAndFluent/Renderers/Fast/FastComponentRendererBase.cs<gh_stars>0
namespace Bistrotic.Infrastructure.VisualComponents.Renderers.Fast
{
using Bistrotic.Infrastructure.VisualComponents.Renderers;
public abstract record FastComponentRe... | 2.202862 | c3cd7e648c010138ec0b543b0aad2f01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834471 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "computercodeblue/QuickBooks.Net",
"max_stars_repo_path": "QuickBooks.Net/Exceptions/QuickBooksException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153691"
} | starcoder | using System;
using QuickBooks.Net.Data.Error_Responses;
namespace QuickBooks.Net.Exceptions
{
public class QuickBooksException : Exception
{
public QuickBooksErrorResponse Response;
public QuickBooksException(string message, string detail) : base(message)
{
Response = new... | 2.632366 | d61aa2111ed9291a98612125f2c5370d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834472 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chubrik/Kit",
"max_stars_repo_path": "Kit.Html/HttpServiceExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153692"
} | starcoder | <gh_stars>0
using Chubrik.Kit.Http;
using HtmlAgilityPack;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Chubrik.Kit.Html
{
public static class HttpServiceExtensions
{
public static HtmlDocument GetHtmlDoc(
this HttpService http, string url,
Cach... | 2.163457 | e74b8f6e36019dc7f4b48c375b089396 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834473 | {
"extension": "c-sharp",
"max_stars_count": "111.0",
"max_stars_repo_name": "Protobuild/Protobuild",
"max_stars_repo_path": "Protobuild.Internal/Generation/IIncludeProjectMerger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153693"
} | starcoder | using System.Collections.Generic;
using System.Xml;
namespace Protobuild
{
internal interface IIncludeProjectMerger
{
void MergeInReferencesAndPropertiesForIncludeProjects(List<LoadedDefinitionInfo> documents, XmlDocument projectDoc, string targetPlatform);
}
}
| 1.347207 | 2c28e5315ed08c4a6969221031f30f09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834474 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RossLieberman/NEST",
"max_stars_repo_path": "src/Tests/ClientConcepts/ConnectionPooling/Sniffing/OnStartup.doc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153694"
} | starcoder | using System;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using Elasticsearch.Net;
using Tests.Framework;
using static Tests.Framework.TimesHelper;
using static Elasticsearch.Net.AuditEvent;
namespace Tests.ClientConcepts.ConnectionPooling.Sniffing
{
public class OnStartupSniffing
... | 2.286123 | 0cdfeec9ebe03b6910c455b9cccf56ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834475 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bigmeaningsmall/Meatboy-Like",
"max_stars_repo_path": "Assets/Scripts/Camera/SimpleCameraFollow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153695"
} | starcoder | using UnityEngine;
public class SimpleCameraFollow : MonoBehaviour
{
public Transform target;
public Vector2 offset = new Vector2(0, 3);
public float cameraSpeed = 4;
private Transform cachedTransform;
void Awake()
{
cachedTransform = transform;
}
void FixedUpdate()
{
... | 2.274462 | 81ff788ff2a8e2f93a0c5dca4383f6a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834476 | {
"extension": "c-sharp",
"max_stars_count": "1416.0",
"max_stars_repo_name": "MyIntelligenceAgency/infer",
"max_stars_repo_path": "src/Tutorials/BugsRats.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153696"
} | starcoder | <reponame>MyIntelligenceAgency/infer
// 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 Microsoft.ML.Probabilistic.Models;
using Microsoft.ML.Proba... | 2.335897 | 59cf4e497ec34c4ee3d64ca9a6726d81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834477 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Scott-Ian/C-Sharp-MVC-Template",
"max_stars_repo_path": "ProjectName/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:153697"
} | starcoder | @{
Layout = "_Layout";
}
<div class="container">
<h1>Hello World!</h1>
</div> | 1.524123 | b0da4711fc365b8fffeb6c5161b311bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834478 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thogil/MediaBrowser.Theater",
"max_stars_repo_path": "MediaBrowser.Theater.Presentation/Pages/BasePage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153698"
} | starcoder | <reponame>thogil/MediaBrowser.Theater
using MediaBrowser.Theater.Interfaces.ViewModels;
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace MediaBrowser.Theater.Presentation.Pages
{
/// <summary>
/// Class BasePage
/// </summary>
public abstract cla... | 2.453428 | 15cb77a4f7b44d5c46c625e66c7e8385 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834479 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "epsmae/IconResizeUtility",
"max_stars_repo_path": "src/IconResizeUtility.App/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153699"
} | starcoder | using System;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.Diagnostics;
using IconResizeUtility.App.DataModel;
using IconResizeUtility.Service;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace IconResizeUtility.App
{
public class Program
... | 2.396768 | fe862575340e03e06cedacffcb64b4e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834480 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhancancan/TaidouProject",
"max_stars_repo_path": "Assets/Scripts/ZhangCanCan/ObjectPool/ObjectPoolManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153700"
} | starcoder | <reponame>zhancancan/TaidouProject
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectPoolManager : MonoBehaviour
{
private ObjectPoolManager _instance;
public ObjectPoolManager Instance
{
get { return _instance; }
}
List<GameObject> gameObj... | 2.345352 | add5f4667edfd13ea64f4379a7f0a0e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834481 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "huobiapi/huobi_csharp",
"max_stars_repo_path": "Huobi.SDK.Core/Client/AccountWebSocketClient/RequestAccountWebSocketV1Client.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153701"
} | starcoder | <gh_stars>10-100
using Huobi.SDK.Core.Client.WebSocketClientBase;
using Huobi.SDK.Core.Log;
using Huobi.SDK.Model.Response.Account;
namespace Huobi.SDK.Core.Client
{
/// <summary>
/// Responsible to handle account asset request from WebSocket
/// This need authentication version 1
/// </summary>
... | 2.022423 | 3595ff8b17b07e096e691f463708ee81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834482 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sammy-timalsina/DSA",
"max_stars_repo_path": "DSA/Recursions/Recursion.TowerOfHanoi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153702"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DSA.Recursions
{
public partial class Recursion
{
public void Toh(int n, int a, int b , int c)
{
if (n == 0)
return;
Toh(n - 1, ... | 3.125531 | 1145ce58c5cdaa9496a1ab4fc5d64492 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834483 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nowisys/Hamster",
"max_stars_repo_path": "src/Hamster.Plugin/Configuration/BindingException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153703"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Hamster.Plugin.Configuration
{
/// <summary>
/// Zeigt an, dass es einen Fehler beim Binding-Vorgang gab.
/// </summary>
[Serializable()]
public class BindingException : Exception
{
private con... | 2.928131 | 5f9bede42d01c97b38eac6b5188eb167 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834484 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jjmac/Mixture",
"max_stars_repo_path": "Packages/com.alelievr.mixture/Runtime/Nodes/Utils/EarthHeightmap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153704"
} | starcoder | <reponame>jjmac/Mixture<gh_stars>0
using UnityEngine;
using GraphProcessor;
using UnityEngine.Rendering;
using System.Collections.Generic;
using UnityEngine.Experimental.Rendering;
using System;
using Object = UnityEngine.Object;
namespace Mixture
{
[Documentation(@"
Retrieves the heightmap data of earth. This node ... | 2.069085 | c91bb4bf3d617a3a583a2c0c25bbc47e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834485 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "akobr/strong-beaver",
"max_stars_repo_path": "services/StrongBeaver.Services.Storage.Data.SqlLite.Xamarin/DataOperation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153705"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using SQLite;
using StrongBeaver.Core.Services.Logging;
namespace StrongBeaver.Services.Storage.Data
{
public class DataOperation : IDataOperation
{
private readonly ILogServ... | 2.847288 | c82a0849f3795f893dcc6240687139ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834486 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mstest123/self-managed-osdu_from_Daniel",
"max_stars_repo_path": "src/sdk/dotnet/src/OsduClient/Model/StorageMultiRecordIds.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153706"
} | starcoder | <reponame>mstest123/self-managed-osdu_from_Daniel
/*
* self-managed-osdu
*
* Rest API Documentation for Self Managed OSDU
*
* OpenAPI spec version: 0.11.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.... | 2.20966 | 7a17d25699909f12230b1b7aaf09ba9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834487 | {
"extension": "c-sharp",
"max_stars_count": "159.0",
"max_stars_repo_name": "SeanKilleen/Docs",
"max_stars_repo_path": "aspnet/web-api/overview/security/enabling-cross-origin-requests-in-web-api/samples/sample16.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153707"
} | starcoder | <filename>aspnet/web-api/overview/security/enabling-cross-origin-requests-in-web-api/samples/sample16.cs
[EnableCors(origins: "http://example.com",
headers: "accept,content-type,origin,x-my-header", methods: "*")] | 1.684902 | 49305586ca10d91b9470edaf3507890c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834488 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FantazmGameDevelopment/EcoSim",
"max_stars_repo_path": "Assets/Scripts/SceneData/VegetationRules/VegetationRule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153708"
} | starcoder | <reponame>FantazmGameDevelopment/EcoSim
using System.Collections.Generic;
using System.Xml;
using System;
using Ecosim;
using Ecosim.SceneData;
using Ecosim.SceneData.Action;
using Ecosim.SceneData.Rules;
namespace Ecosim.SceneData.VegetationRules
{
/**
* parameters of a vegetation tile can change over time, depen... | 2.127242 | 87140afc36090cb3bee5b0fd22423a20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834489 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "phuuskon/BiztalkAdminAPI",
"max_stars_repo_path": "Models/ReceiveLocation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153709"
} | starcoder | <reponame>phuuskon/BiztalkAdminAPI
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BiztalkAdminAPI.Models
{
public class ReceiveLocation
{
public string ApplicationName { get; set; }
public string ReceivePortName { get; set; }
... | 1.06139 | 25f58a2d6506a97916bf60e32f4a025e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834490 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "knat/CData",
"max_stars_repo_path": "Src/CData.Compiler/Parser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153710"
} | starcoder | <filename>Src/CData.Compiler/Parser.cs
using System;
using System.Collections.Generic;
using System.IO;
namespace CData.Compiler {
public static class ParserConstants {
public const string AbstractKeyword = "abstract";
public const string AsKeyword = "as";
public const string ClassKeyword ... | 2.386757 | ba0cf839ea3da214eeac7acb015d7eab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834491 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "stikhonov/linq2ldap.core",
"max_stars_repo_path": "Linq2Ldap.Core.Tests/Types/LDAPIntTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153711"
} | starcoder | <filename>Linq2Ldap.Core.Tests/Types/LDAPIntTests.cs
using System.Collections;
using System.Collections.Generic;
using Linq2Ldap.Core.Types;
using Xunit;
using Linq2Ldap.Core.Proxies;
namespace Linq2Ldap.Core.Tests.Types {
public class LdapIntTests {
[Fact]
public void ImplicitToInt() {
... | 2.517766 | 605cb8f8549f2331cc65c1cd0dea52f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834492 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mino-lang/TokensStandard.NET",
"max_stars_repo_path": "TokensStandard/Reflection/TypeExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153712"
} | starcoder | using System;
using System.Reflection;
namespace TokensStandard.Reflection
{
public static class TypeExtension
{
public static bool IsTypeAlias(this Type type) => type.GetCustomAttribute<TypeAliasAttributte>() != null;
public static bool IsNameConstructor(this Type type) => type.GetCustomAttri... | 2.302664 | d0de6e02dcaa529f1a538e03f3cbb1af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834493 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Silvenga/DNSimple.Net",
"max_stars_repo_path": "tests/DNSimple.Net.V1.Tests/Helpers/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153713"
} | starcoder | namespace DNSimple.Net.V1.Tests.Helpers
{
using System;
public static class Constants
{
public static Uri SandboxUrl => new Uri("https://api.sandbox.dnsimple.com");
public static string SandboxEmail => "<EMAIL>";
public static string SandboxToken => "<KEY>";
}
} | 1.627894 | 0af45c83f8d89bc4f12e1395f7f43e67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834494 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "RehanSaeed/Elysium-Extra",
"max_stars_repo_path": "Source/Framework.UI.TestHarness/Views/CommandsView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153714"
} | starcoder | <reponame>RehanSaeed/Elysium-Extra<gh_stars>10-100
namespace Framework.UI.TestHarness.Views
{
using Framework.UI.TestHarness.ViewModels;
/// <summary>
/// Interaction logic for CommandsView.xaml
/// </summary>
public partial class CommandsView
{
public CommandsView()
{
... | 1.351879 | 4b28f4c9c0be7943bd2b7794f0df527a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834495 | {
"extension": "c-sharp",
"max_stars_count": "192.0",
"max_stars_repo_name": "swoosh32us/SimpleCQRS",
"max_stars_repo_path": "src/SimpleCqrs/IRegisterComponents.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153715"
} | starcoder | <reponame>swoosh32us/SimpleCQRS
namespace SimpleCqrs
{
public interface IRegisterComponents
{
void Register(IServiceLocator serviceLocator);
}
} | 1.050647 | 55bff6aa9a1efdcf9f62aa588e1d89b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834496 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "drasticactions/DrasticMedia",
"max_stars_repo_path": "DrasticMedia.Controls/Overlays/PageOverlay/PageOverlay.Windows.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153716"
} | starcoder | // <copyright file="PageOverlay.Windows.cs" company="Drastic Actions">
// Copyright (c) Drastic Actions. All rights reserved.
// </copyright>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DrasticMedia.Core.Tools;
using Microsoft.UI.Xaml;
usin... | 1.947898 | 89cddabcabde58715db87b1206071ee1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834497 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "wang89531734/sanguoqunying2",
"max_stars_repo_path": "Assets/Scripts/InternalAffairs/GeneralsInfo/GIMagic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153717"
} | starcoder | using UnityEngine;
using System.Collections;
public class GIMagic : MonoBehaviour {
public exSpriteFont[] magic;
public void SetGeneral(int idx) {
GeneralInfo gInfo = Informations.Instance.GetGeneralInfo(idx);
for (int i=0; i<gInfo.magic.Length; i++) {
int mIdx = gInfo.magic[i];
if (mIdx == -1) {
... | 2.212705 | 5fa79dd4a3eb19f75ac26499a851f86a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834498 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mathieumack/MvvX.Plugins.OAuthClient",
"max_stars_repo_path": "MvvX.Plugins.OAuthClient/platforms/wpf/OAuthLogonWebView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153718"
} | starcoder | <reponame>mathieumack/MvvX.Plugins.OAuthClient
using System;
using System.Windows;
using System.Windows.Controls;
namespace MvvX.Plugins.OAuthClient
{
/// <summary>
/// Interaction logic for OAuthLogonWebView.xaml
/// </summary>
public partial class OAuthLogonWebView : UserControl
{
privat... | 2.098787 | 29d058f1081b9e2e7fc6accaf591988e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834499 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "appkins/SimpleIdentityServer",
"max_stars_repo_path": "SimpleIdentityServer/tests/SimpleIdentityServer.Host.Tests/FakeHttpClientFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153719"
} | starcoder | #region copyright
// Copyright 2015 <NAME>
//
// 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 required by applicable law... | 1.620218 | 95c2a9b965d4456009f020c84cef6609 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834500 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "EladGabay/pulumi-oci",
"max_stars_repo_path": "sdk/dotnet/ApiGateway/Outputs/GetApiDeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153720"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.734696 | 95e1d81f0d5b486b6841ba062caac8c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834501 | {
"extension": "c-sharp",
"max_stars_count": "5213.0",
"max_stars_repo_name": "LaudateCorpus1/StockSharp",
"max_stars_repo_path": "Algo.Export/DatabaseExporter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153721"
} | starcoder | <filename>Algo.Export/DatabaseExporter.cs
#region S# License
/******************************************************************************************
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires your acceptance of the licens... | 2.187102 | ec71b210ebc51d6dcad99c4bcc069b6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834502 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scorpdx/LibCK3",
"max_stars_repo_path": "bench/LibCK3.Benchmarks/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153722"
} | starcoder | using BenchmarkDotNet.Running;
using LibCK3.Benchmarks;
using System;
var summary = BenchmarkRunner.Run<ParsingBench>(); | 0.36607 | 241d762ef286eddd18709cedc4e669a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834503 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ZahidZafar/windows-sdk-test",
"max_stars_repo_path": "net35/Countly/Helpers/OpenUDID.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153723"
} | starcoder | using System;
using System.Diagnostics;
using System.Management;
using System.Security.Cryptography;
using System.Text;
namespace CountlySDK.Helpers
{
public class OpenUDID
{
private static String _cachedValue;
private static String _getOpenUDID()
{
if (_cachedValue == null... | 2.631351 | 64168da8f3aae88cf0ab980638cf52bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834504 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "eisk/eisk.webapi",
"max_stars_repo_path": "Core/Eisk.Core/Exceptions/NullInputEntityException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153724"
} | starcoder | namespace Eisk.Core.Exceptions;
public class NullInputEntityException<TEntity> : DomainException<TEntity>
{
public NullInputEntityException() : base("Input object to be created or updated is null.", "APP-DATA-ERROR-003")
{
}
}
| 2.013695 | 188c37c174cd19a967af3f5c4c93ccd7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834505 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MaxLevs/META_FA",
"max_stars_repo_path": "DSL_Parser/DSLGrammar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153725"
} | starcoder | using System;
using System.Collections.Generic;
using BFParser;
using BFParser.Parsers;
namespace DSL_Parser
{
public static class DSLGrammar
{
// Rule names
public const string Dsl = "dsl";
public const string DeclareArea = "declare_area";
public const string DeclareBody = "de... | 2.463587 | 1fce5d89240813f9277057f2e7981f8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834506 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SonicTheCat/CSharp-Advanced",
"max_stars_repo_path": "05.Sets And Dictionaries-Lab/07.SoftUniParty/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153726"
} | starcoder | namespace _07.SoftUniParty
{
using System;
using System.Collections.Generic;
public class Program
{
public static void Main()
{
var VIP = new HashSet<string>();
var regular = new HashSet<string>();
while (true)
{
var inpu... | 3.599511 | 03946e7cc943fd3f0b7fcb947daa84c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834507 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "madified/uRAT",
"max_stars_repo_path": "uRAT.ManagersPlugin/ProcessManager/Operations/ProcessManagerOperation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153727"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using uNet2.Channel;
using uNet2.Packet;
using uNet2.SocketOperation;
using uRAT.ManagersPlugin.ProcessManager.Packets;
namespace uRAT.ManagersPlugin.ProcessManager.Operations
{
public cl... | 1.486012 | 4b271bbb1a55e2d39226151aa55fcac6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834508 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vjacquet/WmcSoft",
"max_stars_repo_path": "WmcSoft.Core/ArrayExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153728"
} | starcoder | <gh_stars>1-10
#region Licence
/****************************************************************************
Copyright 1999-2015 <NAME>. All rights reserved.
Permission is granted to anyone to use this software for any purpose on
any computer system, and to alter it and redistribute it, subject
... | 3.229008 | d8e71210ca7ce7988b632eb789e1cf25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834509 | {
"extension": "c-sharp",
"max_stars_count": "118.0",
"max_stars_repo_name": "emperorstarfinder/Miner-Wars-2081",
"max_stars_repo_path": "Sources/MinerWars.GameLib/AppCode/Game/GUI/Helpers/MyGuiContextMenuHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153729"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MinerWars.AppCode.Game.Localization;
namespace MinerWars.AppCode.Game.GUI.Helpers
{
class MyGuiContextMenuHelper : MyGuiHelperBase
{
public List<MyGuiContextMenuItemHelper> MenuItemHelpers;
public MyGu... | 2.363319 | 5220f79f9aef7ee4d0def6804f1e0248 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834510 | {
"extension": "c-sharp",
"max_stars_count": "210.0",
"max_stars_repo_name": "SammyEnigma/MyToolkit",
"max_stars_repo_path": "src/SampleWindowsStoreApp/Views/ShareTargetPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153730"
} | starcoder | using System;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using MyToolkit.Paging;
namespace SampleWindowsStoreApp.Views
{
public sealed partial class ShareTargetPage
{
private ShareTargetActivatedEventArgs _shareTargetArgs;
public ShareTargetPage()
{
... | 2.421029 | 4705062e54b89c0049941bc72456c496 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834511 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lnmthuc/fos",
"max_stars_repo_path": "fos-api/FOS/FOS.Service/ExternalServices/IExternalService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153731"
} | starcoder | using FOS.Model.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FOS.Services.ExternalServices
{
public interface IExternalService
{
string GetNameService();
Task<List<Restaurant>> GetRestaurantsAsync(Province pr... | 1.853389 | 424d13725b0591631c59b77d5548305c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.