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 | 8832512 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "secone-io/CTAPcs",
"max_stars_repo_path": "examples/xClient/Page11.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151732"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 2.140998 | fe9d9bbe379aaf081a5dd3f860c834de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832513 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zwei222/ERGLauncher",
"max_stars_repo_path": "src/Views/AddBrandView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151733"
} | starcoder | namespace ERGLauncher.Views
{
/// <summary>
/// Add brand View.
/// </summary>
public partial class AddBrandView
{
/// <summary>
/// Constructor.
/// </summary>
public AddBrandView()
{
this.InitializeComponent();
}
}
}
| 1.549661 | 2f1120fe66b0ddd7a9fa8cea28d84efb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832514 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hanjia2014/EnlightmentSwords",
"max_stars_repo_path": "src/Orchard.Web/Modules/Orchard.Scripting.Dlr/Services/RubyScriptExpressionEvaluator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151734"
} | starcoder | <filename>src/Orchard.Web/Modules/Orchard.Scripting.Dlr/Services/RubyScriptExpressionEvaluator.cs
using System.Collections.Generic;
using System.Linq;
using Microsoft.Scripting.Hosting;
using Orchard.Caching;
namespace Orchard.Scripting.Dlr.Services {
public class RubyScriptExpressionEvaluator : IScriptExpr... | 2.391633 | 9fbd4c862144836ee5cfa8745c5add89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832515 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shuangbaojun/abp-vnext-pro",
"max_stars_repo_path": "aspnet-core/services/src/CompanyName.ProjectName.ElasticsearchRepository/Dto/PagingElasticSearchLogOutput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151735"
} | starcoder | using System;
using Nest;
namespace CompanyName.ProjectName.ElasticsearchRepository.Dto
{
[Serializable]
public class PagingElasticSearchLogOutput
{
/// <summary>
/// 日志级别
/// </summary>
public string Level { get; set; }
/// <summary>
/// 日志内容
/// <... | 1.945209 | d9132484fb0cc531587dedda78fd544a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832516 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bogdan748/generics",
"max_stars_repo_path": "Generics/Generics/Shape.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151736"
} | starcoder | <filename>Generics/Generics/Shape.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CsharpGenerics
{
public abstract class Shape : ITranslatableObject
{
public abstract double Area { get; }
public abstract void Mov... | 2.53945 | 9fe433ef3c0a308c435e82d17b9635c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832517 | {
"extension": "c-sharp",
"max_stars_count": "67.0",
"max_stars_repo_name": "Thundernerd/Unity3D-ExtendedEditor",
"max_stars_repo_path": "ExtendedEditor/Assets/ExtendedEditor/Blocks/IndentBlock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151737"
} | starcoder | #if UNITY_EDITOR
using System;
using UnityEditor;
// Taken from https://github.com/nickgravelyn/UnityToolbag/tree/master/EditorTools
namespace TNRD.Editor.Blocks {
public class IndentBlock : IDisposable {
private int indent = 1;
public IndentBlock() {
EditorGUI.indentLevel += inden... | 2.296122 | 41dfef768346966c33ace71e1dc4cfdc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832518 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NidoKota/UnityScenarioController",
"max_stars_repo_path": "Assets/Scripts/ScenarioController/AutoAnimationPlayable/AutoAnimationMixer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151738"
} | starcoder | <filename>Assets/Scripts/ScenarioController/AutoAnimationPlayable/AutoAnimationMixer.cs
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Playables;
using UnityEngine.Timeline;
using UnityEngine.Animations;
namespace ScenarioController.Au... | 2.439112 | ff5f435f99e2c081308acfc60a1d1ceb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832519 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "soluchok/aries-agent-test-harness",
"max_stars_repo_path": "aries-backchannels/dotnet/server/Handlers/CredentialHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151739"
} | starcoder | <filename>aries-backchannels/dotnet/server/Handlers/CredentialHandler.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Hyperledger.Aries.Agents;
using Hyperledger.Aries.Extensions;
using Hyperledger.Aries.Storage;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq... | 2.00883 | 944f91b8923c8a0fd063728625c41ed8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832520 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Liminiens/tp-info",
"max_stars_repo_path": "src/TPQuickInfo/Documentation/TypeProviderXmlDocAttributeReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151740"
} | starcoder | <reponame>Liminiens/tp-info
using Microsoft.CodeAnalysis;
using System;
using System.Linq;
using System.Text.RegularExpressions;
using TPQuickInfo.Documentation.Parsers;
namespace TPQuickInfo.Documentation
{
internal class TypeProviderXmlDocAttributeReader
{
private readonly SymbolInfo _symbolInfo;
... | 2.478531 | 58990363b0a79fefa14c32c1cc114dab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832521 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "rafaeldolfe/unity-plain-save-load-system",
"max_stars_repo_path": "Demo/Scripts/Attack.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151741"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace PlainSaveLoad
{
public class Attack : MonoBehaviour
{
public int damage;
public int force;
private void OnCollisionEnter(Collision collision)
{
if (collision.gameObject.CompareT... | 2.414207 | 9598bd9ee49110bd7b54fd8099daf7df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832522 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/cpu/src/vex.ops.c/vclmul.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151742"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using System.Runtime.In... | 2.107339 | e62f1eee16534c6559fa0e27e00af3ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832523 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "drdk/ffmpeg-farm",
"max_stars_repo_path": "ffmpeg-farm-server/API.WindowsService/Models/DeinterlacingJobRequestModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151743"
} | starcoder | <filename>ffmpeg-farm-server/API.WindowsService/Models/DeinterlacingJobRequestModel.cs
using System.ComponentModel.DataAnnotations;
namespace API.WindowsService.Models
{
public class DeinterlacingJobRequestModel : JobRequestModel
{
[Required]
public string VideoSourceFilename { get; set; }
... | 1.672009 | cce25acb7881fa858a3490f1f952f7d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832524 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BeshoyHindy/React-Redux-MusicStore",
"max_stars_repo_path": "src/server/React-MusicStore/Presentation/React-MusicStore.WebApi/AutoMapper/DomainToViewModelMappingProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151744"
} | starcoder | <gh_stars>1-10
using AutoMapper;
using ReactMusicStore.Core.Domain.Entities;
using ReactMusicStore.WebApi.Models;
using ReactMusicStore.WebApi.ViewModels;
namespace ReactMusicStore.WebApi.AutoMapper
{
public class ViewModelToDomainMappingProfile : Profile
{
public override string ProfileName => "ViewM... | 1.658608 | 004a186f17e105e8b921b6b4be390fd3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832525 | {
"extension": "c-sharp",
"max_stars_count": "500.0",
"max_stars_repo_name": "inorixu/KeqingNiuza",
"max_stars_repo_path": "src/KeqingNiuza.RealtimeNotes/DGP.Genshin/Common/Response/KnownReturnCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151745"
} | starcoder | <gh_stars>100-1000
namespace DGP.Genshin.Common.Response
{
public enum KnownReturnCode
{
InternalFailure = int.MinValue,
AlreadySignedIn = -5003,
AuthKeyTimeOut = -101,
OK = 0,
NotDefined = 7,
}
}
| 1.41831 | 2c9d54ffa615ed222a35151596aa2491 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832526 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Livven/AngleSharp",
"max_stars_repo_path": "AngleSharp/Events/ISubscriber.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151746"
} | starcoder | namespace AngleSharp.Events
{
/// <summary>
/// Declares the interface for an event listener.
/// </summary>
/// <typeparam name="TEvent">The type of event.</typeparam>
public interface ISubscriber<TEvent>
{
/// <summary>
/// Called once event data has been published.
//... | 2.770221 | b440858b16aacdf26589d333254d9910 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832527 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pubcrede/Framework-for-Universal",
"max_stars_repo_path": "src/Framework.WebApp/App_Start/BundleConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151747"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="BundleConfig.cs" company="Genesys Source">
// Copyright (c) 2017 Genesys Source. All rights reserved.
// All rights are reserved. Reproduction or transmission in whole or in part, in
// any form or by any means... | 1.90939 | 2ae029f3b8892d0ac157761b06fbe8c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832528 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "nICEnnnnnnnLee/CaptureScreen",
"max_stars_repo_path": "CaptrueScreen/Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151748"
} | starcoder | namespace CaptureScreen
{
partial class Form1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 ... | 2.219564 | f02678b9b04ffb6a92b13304d5b169a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832529 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "unity-game-framework/ugf-editortools",
"max_stars_repo_path": "Packages/UGF.EditorTools/Editor/IMGUI.EnabledProperty/EnabledPropertyIMGUIUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151749"
} | starcoder | using System;
using UGF.EditorTools.Editor.IMGUI.Scopes;
using UnityEditor;
using UnityEngine;
namespace UGF.EditorTools.Editor.IMGUI.EnabledProperty
{
public static class EnabledPropertyGUIUtility
{
public static bool EnabledProperty(GUIContent label, SerializedProperty serializedProperty, params GUI... | 2.113487 | 9456b05c2cb9a719d35f6389bbed8450 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832530 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "zeobviouslyfakeacc/ModComponent",
"max_stars_repo_path": "ModComponentMapper/src/ComponentMapper/RepairableMapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151750"
} | starcoder | using ModComponentAPI;
using System;
namespace ModComponentMapper.ComponentMapper
{
internal class RepairableMapper
{
internal static void Configure(ModComponent modComponent)
{
ModRepairableComponent modRepairableComponent = modComponent.GetComponent<ModRepairableComponent>();
... | 2.307697 | 7a8859c07493fcebb597253280f1b3cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832531 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "masgeek/Restaurant-App",
"max_stars_repo_path": "src/Client/Restaurant.Client/Restaurant.Mobile.UI/Pages/Android/MainPageAndroid.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151751"
} | starcoder | using System.Reactive.Linq;
using Autofac;
using ReactiveUI;
using Restaurant.Abstractions.Factories;
using Restaurant.Abstractions.ViewModels;
using Restaurant.Core;
using Restaurant.Core.ViewModels;
using Restaurant.Core.ViewModels.Android;
using Xamarin.Forms;
using System;
namespace Restaurant.Mobile.UI.Pages.And... | 2.077482 | 5d1cbb38e8404004f6a145f3561b6aab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832532 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "mikimouse77/AzureFromTheTrenches.Commanding",
"max_stars_repo_path": "Source/AzureFromTheTrenches.Commanding.AzureStorage/IAzureStorageAuditQueueProcessorFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151752"
} | starcoder | <reponame>mikimouse77/AzureFromTheTrenches.Commanding<filename>Source/AzureFromTheTrenches.Commanding.AzureStorage/IAzureStorageAuditQueueProcessorFactory.cs
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage.Queue;
namespace AzureFromTheTrenches.Commanding.AzureS... | 1.713473 | 755d57d04ce76c8e5765ebb284aab4e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832533 | {
"extension": "c-sharp",
"max_stars_count": "3359.0",
"max_stars_repo_name": "cnheider/SpaceEngineers",
"max_stars_repo_path": "Sources/VRage.Library/Compiler/IlChecker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151753"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace VRage.Compiler
{
#if XB1
#else
public class IlChecker
{
public static Dictionary<Type, HashSet<MemberInfo>> AllowedOperands = new Dictionary<Type, HashSet<MemberInfo>>();
p... | 1.974551 | d167002210774f041217648a0205d3fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832534 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ak110/ShogiBoard",
"max_stars_repo_path": "ShogiBoard/ConfigSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151754"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace ShogiBoard {
/// <summary>
/// ConfigSerializerで使用するファイル名を指定するための属性
/// </summary>
class ConfigSerializeFileNameAttribute : Attribute {
/// <summary>... | 3.280366 | 75faee125fc427f0aaa7e6b961f62914 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832535 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ozytis/albiziapp-react",
"max_stars_repo_path": "Business/MissionValidator/VerifyMissionValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151755"
} | starcoder | <reponame>Ozytis/albiziapp-react
using Entities;
using Ozytis.Common.Core.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Business.MissionValidation
{
public class VerifyMissionValidator : MissionValidator<VerificationMission... | 2.249876 | b49b28a3671944cc30f92fae53c0e983 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832536 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BohdanMosiyuk/samples",
"max_stars_repo_path": "snippets/csharp/VS_Snippets_CLR/Formatting.HowTo.WeekdayName/cs/example6.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151756"
} | starcoder | // <Snippet6>
using System;
using System.Globalization;
public class Example
{
public static void Main()
{
string dateString = "6/11/2007";
DateTime dateValue;
DateTimeOffset dateOffsetValue;
try
{
DateTimeFormatInfo dateTimeFormats;
// Convert date represen... | 3.352103 | ff7694249282b038c17352308ffabb48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832537 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hassanhgfd/HBSQLite",
"max_stars_repo_path": "IBackUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151757"
} | starcoder | <reponame>hassanhgfd/HBSQLite
namespace HBSQLite
{
/// <summary>
/// provide methods for create and read bake up
/// </summary>
public interface IBackUp
{
/// <summary>
/// this method for create bake up from current data source
/// </summary>
/// <param n... | 2.557707 | 53dc57dc4aeddb9411aa3dfb798e6ca6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832538 | {
"extension": "c-sharp",
"max_stars_count": "102.0",
"max_stars_repo_name": "ilazoja/BrawlCrate",
"max_stars_repo_path": "BrawlLib/Internal/Windows/Controls/ModelViewer/MainWindowBase/Hotkeys.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151758"
} | starcoder | using BrawlLib.Internal.Windows.Controls.ModelViewer.Editors;
using BrawlLib.Modeling;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
namespace BrawlLib.Internal.Windows.Controls.ModelViewer.MainWindowBase
{
public partial class ModelEditorBase : UserContr... | 2.330214 | ae29006d70d3a83a2581e131dd9d067e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832539 | {
"extension": "c-sharp",
"max_stars_count": "273.0",
"max_stars_repo_name": "esusini/keras-sharp",
"max_stars_repo_path": "Sources/Layers/Convolutional/Conv2D.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151759"
} | starcoder | <gh_stars>100-1000
// Keras-Sharp: C# port of the Keras library
// https://github.com/cesarsouza/keras-sharp
//
// Based under the Keras library for Python. See LICENSE text for more details.
//
// The MIT License(MIT)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// o... | 2.428022 | 13dc8f73bed8f6d21c6871cf41f5b800 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832540 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "DuLovell/Rhythm-Game",
"max_stars_repo_path": "Assets/Plugins/Ludiq/Ludiq.Peek/Editor/Toolbars/Integrations/ProjectToolbars.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151760"
} | starcoder | <gh_stars>1-10
using System;
using Ludiq.Peek;
using Ludiq.PeekCore;
using UnityEditor;
using UnityEditor.Experimental.AssetImporters;
using UnityEngine;
using UnityEngine.Profiling;
using UnityObject = UnityEngine.Object;
[assembly: InitializeAfterPlugins(typeof(ProjectToolbars))]
namespace Ludiq.Peek
{
// ReSharpe... | 1.644447 | 092479e84caf84dd57e5c2bd000a16e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832541 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marnezos/ContactsApi",
"max_stars_repo_path": "Contacts.Domain/DBModels/ContactSkill.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151761"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace Contacts.Domain.DBModels
{
public class ContactSkill
{
public int ContactSkillId { get; set; }
[Required]
public virtual Skill Skill { get; set; }
public ProficiencyScale Level { get; set; }
}
/// <summary>
/... | 2.456883 | 71a37a6220a982e058c304d5d5160d32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832542 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mmarkovic/Asp.Net.MVP",
"max_stars_repo_path": "src/bbv.MvpSimple/App_Start/NinjectWeb.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151762"
} | starcoder | <reponame>mmarkovic/Asp.Net.MVP
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="NinjectWeb.cs" company="bbv Software Services AG">
// Copyright (c) 2014
// Licensed under the Apache License, Version 2.0 (the "License");
// ... | 1.191358 | f0c597919b75637c708ee9f7d04a80fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832543 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "samtoubia/azure-sdk-for-net",
"max_stars_repo_path": "src/ResourceManagement/Scheduler/Microsoft.Azure.Management.Scheduler/Generated/Models/JobActionType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151763"
} | starcoder |
namespace Microsoft.Azure.Management.Scheduler.Models
{
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Runtime.Serialization;
/// <summary>
/// Defines values for JobActionType.
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum JobActionType... | 1.962902 | 6669120eb5c8850a5665e20d35439ee9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832544 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeorgiPopovIT/CSharp-OOP",
"max_stars_repo_path": "SOLID/2.GraphicEditor/GraphicEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151764"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace P02.Graphic_Editor
{
public class GraphicEditor
{
public void DrawShape(IShape shape)
{
//if (shape is Circle)
//{
// Console.WriteLine("I'm Circle");
//}... | 2.964439 | 7b0db86d8441d99afe2fe96cabcc5a85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832545 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "QuantumHive/HiLaarIsch",
"max_stars_repo_path": "HiLaarIsch.WebApp/Views/Customers/List.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:151765"
} | starcoder | <gh_stars>1-10
@model IEnumerable<CustomerView>
@if (Model.Any())
{
<div class="list-group">
@foreach (var customerView in Model.OrderBy(m => m.Firstname).ThenBy(m => m.Surname))
{
<a href="/customers/edit/@customerView.Id" class="list-group-item" type="button">
@custom... | 2.553093 | 30e6e84076833b04dc3ecae0a251fe68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832546 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "noahm1216/Realistically-Projected-Game-v1",
"max_stars_repo_path": "RPGv1/Assets/Blink/Tools/RPGBuilder/Scripts/Utility/UIGridRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151766"
} | starcoder | <reponame>noahm1216/Realistically-Projected-Game-v1<gh_stars>0
using UnityEngine;
using UnityEngine.UI;
namespace BLINK.RPGBuilder.Utility
{
public class UIGridRenderer : Graphic
{
public float thickness;
public Vector2Int gridSize = new Vector2Int(1, 1);
private float width;
... | 2.683579 | fd3e675b37b86a6630c3bb258f2886b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832547 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NGTO-WONG/KishiStory",
"max_stars_repo_path": "Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Inspectors/Triggers/ReferenceDatabaseDialogueEventEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151767"
} | starcoder | // Copyright (c) Pixel Crushers. All rights reserved.
using UnityEngine;
using UnityEditor;
namespace PixelCrushers.DialogueSystem
{
/// <summary>
/// This is a base class for most of the "On dialogue event" editors.
/// It simply adds a Reference Database field to the editor above
/// the... | 1.980755 | d88fad404bc9ad0acc97e022573db127 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832548 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Breakpoint21/SyncService",
"max_stars_repo_path": "src/SyncService/Pages/Account/Smtp/Edit.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151768"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FluentValidation;
using MailKit.Net.Smtp;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using MimeKit;
using Serilog;
using SyncService.Services.Account;
namespace SyncService.Pages.Acco... | 2.337988 | 9d7db8ee84155bd1c1e5d1738a141af2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832549 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "georghinkel/ttc2017smartGrids",
"max_stars_repo_path": "generator/Schema/IEC61968/AssetModels/OpenCircuitTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151769"
} | starcoder | <reponame>georghinkel/ttc2017smartGrids<gh_stars>1-10
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen ... | 1.0877 | 9c3e3d78068fa06df56620b2029a25ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832550 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mvbalaw/EtlGate",
"max_stars_repo_path": "src/EtlGate.Tests/CsvWriterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151770"
} | starcoder | <filename>src/EtlGate.Tests/CsvWriterTests.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using FluentAssert;
using JetBrains.Annotations;
using NUnit.Framework;
namespace EtlGate.Tests
{
[UsedImplicitly]
public class CsvWriterTests
{
... | 2.686313 | 706b75e304d52df7711b2f95f28153d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832551 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ludovic-henry/referencesource",
"max_stars_repo_path": "System.Data.Entity/System/Data/Mapping/StorageMappingErrorCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151771"
} | starcoder | <filename>System.Data.Entity/System/Data/Mapping/StorageMappingErrorCode.cs<gh_stars>1-10
//---------------------------------------------------------------------
// <copyright file="StorageMappingErrorCode.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//
// ... | 2.182967 | a9297df43a2229bc98bb97dc0b7d1b49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832552 | {
"extension": "c-sharp",
"max_stars_count": "117.0",
"max_stars_repo_name": "emtea/xRM-Portals-Community-Edition",
"max_stars_repo_path": "Framework/Adxstudio.Xrm/Web/UI/CrmEntityFormView/FormConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151772"
} | starcoder | <filename>Framework/Adxstudio.Xrm/Web/UI/CrmEntityFormView/FormConfiguration.cs<gh_stars>100-1000
/*
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for license information.
*/
using System;
using System.Collections.Generic;
using System... | 1.358575 | 769aabd84d5b6a736f1a066fee041869 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832553 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pinguicodes/Ryujinx",
"max_stars_repo_path": "Ryujinx.Graphics/Gal/OpenGL/OGLTexture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151773"
} | starcoder | using OpenTK.Graphics.OpenGL;
using Ryujinx.Graphics.Gal.Texture;
using System;
namespace Ryujinx.Graphics.Gal.OpenGL
{
class OGLTexture : IGalTexture
{
private OGLCachedResource<ImageHandler> TextureCache;
public OGLTexture()
{
TextureCache = new OGLCachedResource<ImageHan... | 2.3978 | 14632997650f7b0649e7c23af28a7ac6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832554 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JamieMagee/webhooks.net",
"max_stars_repo_path": "src/Octokit.Webhooks/Models/InstallationRepositorySelection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151774"
} | starcoder | <reponame>JamieMagee/webhooks.net<filename>src/Octokit.Webhooks/Models/InstallationRepositorySelection.cs
namespace Octokit.Webhooks.Models;
using System.Runtime.Serialization;
using System.Text.Json.Serialization;
[JsonConverter(typeof(JsonStringEnumMemberConverter))]
public enum InstallationRepositorySelection
{
... | 1.686104 | da1d8185311a4753190e2aa5ea23883d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832555 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "phuccoder/Network-Program",
"max_stars_repo_path": "5_2_ThreadedTcpClient/TcpChat.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151775"
} | starcoder | namespace C5_BT2_Client
{
partial class TcpChat
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <pa... | 1.885232 | 0e57e993312a2b5f44d4c75a745f97c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832556 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zi-su/GameLibrary",
"max_stars_repo_path": "Assets/Script/AssetReferencePlayer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151776"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AssetReferencePlayer
{
public enum ID
{
PLAYER,
}
}
| 1.169656 | 32b593faed966c54fc0d697020d430ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832557 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "grae22/PeepStat",
"max_stars_repo_path": "TeamTracker/SettingsLogin.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151777"
} | starcoder | using System;
using System.Data.SqlClient;
using TeamTracker;
public partial class SettingsLogin : System.Web.UI.Page
{
//---------------------------------------------------------------------------
protected string DbConnectionString = Database.DB_CONNECTION_STRING;
//-----------------------------------------... | 2.158224 | 4d6d0876bdb01e62161e9facfa22d8c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832558 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Darkseal/ASP.NET-Core-Web-API",
"max_stars_repo_path": "Chapter_05/Exercises/Controllers/SeedController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151778"
} | starcoder | using CsvHelper;
using CsvHelper.Configuration;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using MyBGList.Models;
using MyBGList.Models.Csv;
using System.Globalization;
namespace MyBGList.Controllers
{
[Route("[controller]")]
[ApiController]
publi... | 2.410194 | 10d7d1af13ff99faa393f0b310cd5efd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832559 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "daviddesmet/paseto-dotnet",
"max_stars_repo_path": "src/Paseto/PasetoDecoder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151779"
} | starcoder | <gh_stars>1-10
namespace Paseto
{
using System;
using static Utils.EncodingHelper;
/// <summary>
/// The Paseto Decoder.
/// </summary>
public sealed class PasetoDecoder
{
private readonly IPasetoConfigurator _config;
/// <summary>
/// Initializes a new instance of... | 2.805198 | 383b8c08fb39d1e00596b820bef55253 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832560 | {
"extension": "c-sharp",
"max_stars_count": "149.0",
"max_stars_repo_name": "lavataste/TizenFX",
"max_stars_repo_path": "src/Tizen.Applications.Cion/Interop/Interop.CionSecurity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151780"
} | starcoder | /*
* Copyright (c) 2021 Samsung Electronics Co., Ltd 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 requ... | 1.63873 | 091e042e58a95ac038e4d11de8124e08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832561 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CPSSw/ecdsa-dotnet",
"max_stars_repo_path": "EcdsaDotNet/EcdsaTests/TestEcdsa.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151781"
} | starcoder | <filename>EcdsaDotNet/EcdsaTests/TestEcdsa.cs
using CPSS.EllipticCurve;
using Xunit;
namespace CPCC.EcdsaTests
{
public class TestEcdsa
{
[Fact]
public void TestVerifyRightMessage()
{
PrivateKey privateKey = new();
var publicKey = privateKey.PublicKey(... | 2.193992 | 3688042658617d5533063537a5211bd2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832562 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "SmashPhil/Boats",
"max_stars_repo_path": "Source/Vehicles/Misc/CellFinderExtended.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151782"
} | starcoder | <reponame>SmashPhil/Boats
using System;
using System.Collections.Generic;
using System.Linq;
using Verse;
using RimWorld;
using SmashTools;
namespace Vehicles
{
public static class CellFinderExtended
{
public static IntVec3 RandomEdgeCell(Rot4 dir, Map map, Predicate<IntVec3> validator, int offset)
{
List<In... | 2.222607 | 73606a533680daf3812021e872c03dc2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832563 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "madiantech/tkcore",
"max_stars_repo_path": "Core/YJC.Toolkit.Core/Xml/XmlExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151783"
} | starcoder | using System.Xml.Linq;
using YJC.Toolkit.Sys;
namespace YJC.Toolkit.Xml
{
public static class XmlExtension
{
public static XName ToXName(this QName name)
{
if (name == null)
return null;
return name.HasNamespace ? XName.Get(name.LocalName, name.Namespac... | 2.379187 | 65fc0f55180ac3c403093803b76ca03f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832564 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jiwonk42/tinder-solo",
"max_stars_repo_path": "Tests/WorkTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151784"
} | starcoder | <gh_stars>0
using Xunit;
using System.Collections.Generic;
using System;
using System.Data;
using System.Data.SqlClient;
namespace TinderApp
{
public class WorkTest : IDisposable
{
public WorkTest()
{
DBConfiguration.ConnectionString = "Data Source=(localdb)\\mssqllocaldb;Initial Ca... | 2.487634 | 24a4668559e620cdd4ceb463d5d24e27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832565 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "tpeczek/WebSub.NET",
"max_stars_repo_path": "src/WebSub.Net.Http.Subscriber/Discovery/WebSubDiscoverer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151785"
} | starcoder | <reponame>tpeczek/WebSub.NET
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace WebSub.Net.Http.Subscriber.Discovery
{
internal class WebSubDiscoverer : IWebSubDiscoverer
{
#region Fields
private const strin... | 2.724486 | 873054bbb507a143c2bd632d75af6e54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832566 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "Steph55/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/WICSectionAccessLevel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151786"
} | starcoder | <filename>DirectN/DirectN/Generated/WICSectionAccessLevel.cs
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\wincodec.h(1006,1)
namespace DirectN
{
public enum WICSectionAccessLevel
{
WICSectionAccessLevelRead = 1,
WICSectionAccessLevelReadWrite = 3,
WICSectionA... | 1.472632 | 8b72a93eba44897699c9a1bc57009f45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832567 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "vkvenkat/corefx",
"max_stars_repo_path": "src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Syntax/PredefinedType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151787"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Microsoft.CSharp.RuntimeBinder.Syntax
{
internal enum PredefinedType : uint
{
PT_BYTE,
... | 2.210266 | a465a0c2a83808ae220894dfb6d1b6ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832568 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "linmos/WinFormLayout",
"max_stars_repo_path": "WinFormLayout/ExtendToolStrip.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151788"
} | starcoder | using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
namespace WinFormLayout
{
public class ExtendToolStrip : ToolStrip
{
protected override void OnPaintBackground(PaintEventArgs e)
{
base.OnPaintBackground(e);
Rectangle rect = new Rectangl... | 2.687139 | b5dd258af378bd5e399a9057835aa5fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832569 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "turkelk/Quantic",
"max_stars_repo_path": "src/Quantic.Validation/Main/ValidationQueryHandlerDecorator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151789"
} | starcoder | <reponame>turkelk/Quantic
using System.Linq;
using System.Threading.Tasks;
using FluentValidation;
using Quantic.Core;
namespace Quantic.Validation
{
public class ValidationQueryHandlerDecorator<TQuery, TResponse> : IQueryHandler<TQuery, TResponse>
where TQuery : IQuery<TResponse>
{
... | 2.368391 | 8e1cda607559b4cdb46768173b7004b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832570 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JoySky/Craig-s-Utility-Library",
"max_stars_repo_path": "Utilities/Compression/ExtensionMethods/CompressionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151790"
} | starcoder | /*
Copyright (c) 2012 <a href="http://www.gutgames.com"><NAME></a>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy,... | 2.818652 | 17bd5dd9dbfc13ecac07ca5e65ebf770 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832571 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChrisClare0/StaffIntranet3",
"max_stars_repo_path": "DCGS-StaffIntranet2/DCGS-StaffIntranet2/StudentInformation/ExamEntries.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151791"
} | starcoder | <filename>DCGS-StaffIntranet2/DCGS-StaffIntranet2/StudentInformation/ExamEntries.aspx.cs
using System;
using System.Collections;
using Cerval_Library;
namespace StudentInformation
{
public partial class ExamEntries : System.Web.UI.Page
{
public Guid PersonID = new Guid();
protected void Page_Lo... | 2.378423 | 81abcd86d4332ebb7fdc9c104f185a25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832572 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "karabasisilias92/greek-healthcare-network",
"max_stars_repo_path": "GreekHealthcareNetwork/GreekHealthcareNetwork/Models/SearchLoginViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151792"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace GreekHealthcareNetwork.Models
{
public class SearchLoginViewModel
{
public string FirstName { get; set; }
public string LastN... | 2.188282 | 80a7ecf95c32d473f1856f64bcf391b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832573 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "glucaci/apm-agent-dotnet",
"max_stars_repo_path": "src/Elastic.Apm/Helpers/UrlUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151793"
} | starcoder | <reponame>glucaci/apm-agent-dotnet<gh_stars>1-10
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System;
using Elastic.Apm.Api;
using Elastic.Apm.Logging;
... | 1.928691 | fff2f77d7546fe8a883ce1577c778bc3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832574 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "djspider117/jacked",
"max_stars_repo_path": "Jacked/Assets/Devdog/General/Managers/LocalizationManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151794"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using Devdog.General.ThirdParty.UniLinq;
using System.Reflection;
using UnityEngine;
using UnityEngine.Assertions;
namespace Devdog.General.Localization
{
[ExecuteInEditMode]
public partial class LocalizationManager : ManagerBase<LocalizationManag... | 2.407049 | f5a3df33f4fb77ebb4b15396ab368d9f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832575 | {
"extension": "c-sharp",
"max_stars_count": "448.0",
"max_stars_repo_name": "miniksa/BuildXL",
"max_stars_repo_path": "Public/Src/Cache/ContentStore/Test/Utils/NagleQueueTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151795"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using BuildXL.Cache.ContentStore.InterfacesTest;
using BuildXL.Utilities.Collections;
... | 2.14396 | bee690e3edb504b4211235c28066b59d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832576 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "domacikolaci/adamOS",
"max_stars_repo_path": "adamOS/adventureGameMain.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151796"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace adamOS
{
public class adventureGameMain
{
public static string playerName = "";
public static int playerHP = 20;
public static int playerAttack = 5;
... | 3.19427 | dd5ef85c31fbafc6b754399cec1af571 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832577 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "SherApp/Sher",
"max_stars_repo_path": "src/Sher.Api/Controllers/Access/UserController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151797"
} | starcoder | <reponame>SherApp/Sher<filename>src/Sher.Api/Controllers/Access/UserController.cs
using System.Threading.Tasks;
using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Sher.Application.Access.GetUser;
using Sher.Application.Access.RegisterUser;
namespace Sher.Api.Controllers.Acce... | 2.135191 | a8aa8c42770fbe3293248a43bc3325f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832578 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "caioqazz/blip-sdk-csharp",
"max_stars_repo_path": "src/Take.Blip.Client/Session/StateManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151798"
} | starcoder | <reponame>caioqazz/blip-sdk-csharp<filename>src/Take.Blip.Client/Session/StateManager.cs<gh_stars>10-100
using System;
using System.Threading;
using System.Threading.Tasks;
using Lime.Protocol;
using Take.Blip.Client.Extensions.Bucket;
namespace Take.Blip.Client.Session
{
/// <summary>
/// Provides the manage... | 2.467885 | 4f8ad54e5e1a91c27fefcd13d6a5ddb5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832579 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "FizzCorp/Hyper-Casual-Chat",
"max_stars_repo_path": "Assets/FizzClient/Scripts/Common/FizzRestClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151799"
} | starcoder | using System;
using System.IO;
using System.Net;
using System.Text;
using System.Collections.Generic;
using Fizz.Common.Json;
namespace Fizz.Common
{
public interface IFizzRestClient
{
void Post(string host, string path, string json, IDictionary<string, string> headers, Action<string, FizzException> c... | 2.408431 | 1773cc1e414d2e8ba1adf89cfb377756 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832580 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Novacta/analytics",
"max_stars_repo_path": "tests/Novacta.Analytics.Tests/TestableItems/SumOfSquaredDeviations/OnAllSumOfSquaredDeviations02.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151800"
} | starcoder | <reponame>Novacta/analytics
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license.
// See the LICENSE file in the project root for more information.
using Novacta.Analytics.Tests.TestableItems.Matrices;
namespace Novacta.Analytics.Tests.TestableItems.SumOfSquaredDeviations
{
/// <summa... | 2.243577 | f03ac0796676ab14ca5ca35a80086140 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832581 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "0x00000FF/nonstop-programming-2018",
"max_stars_repo_path": "Views/Shared/_Layout.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:151801"
} | starcoder | <filename>Views/Shared/_Layout.cshtml
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta property="og:title" content="@ViewBag.Language.Title" />
<meta property="og:type" content="website" />
<... | 2.133582 | e117823c67d128b87fe4356dec995ec5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832582 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sergevic/Reinforced.Typings.Knockout",
"max_stars_repo_path": "Reinforced.Typings.Tests/Core/MockFileOperations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151802"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Reinforced.Typings.Ast.Dependency;
using Reinforced.Typings.ReferencesInspection;
using Reinforced.Typings.Visitors.TypeScript;
using Reinforced.Typings.Visitors.Typings;
namespac... | 2.108761 | c14c2fde3f03be2c71b1648a33a21e5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832583 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "hdunderscore/UrhoAngelscriptIDE",
"max_stars_repo_path": "Debugger/Controls/JWrapView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151803"
} | starcoder | <reponame>hdunderscore/UrhoAngelscriptIDE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.... | 2.083016 | f8f5a9204dccc8684fc77fcdea0f93ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832584 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "hananoki/SharedModule",
"max_stars_repo_path": "UnityReflection/UnityEditor/Rendering/Universal/UnityEditorRenderingUniversalUniversalRenderPipelineMaterialUpgrader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151804"
} | starcoder | /// UnityEditor.Rendering.Universal.UniversalRenderPipelineMaterialUpgrader : 2020.3.0f1
using HananokiEditor;
using System;
namespace UnityReflection {
public sealed partial class UnityEditorRenderingUniversalUniversalRenderPipelineMaterialUpgrader {
public static class Cache<T> {
public static T c... | 1.485876 | 9cdaeaa207db23db4051d88688249b31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832585 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vncpetrov/Temp",
"max_stars_repo_path": "Data/TravelPointSystem.Data/Configurations/ReservationConfigurations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151805"
} | starcoder | <gh_stars>0
namespace TravelPointSystem.Data.Configurations
{
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using TravelPointSystem.Data.Models;
internal class ReservationConfigurations : IEntityTypeConfiguration<Reservation>
{
public void Conf... | 1.492488 | 73bff0d312024d59377c62e5dd8c84d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832586 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "riickky45/Triton",
"max_stars_repo_path": "Acuanet/Acuanet/ModParticipante.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151806"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using MySql.Data;
using MySql.Data.MySqlClient;
using System.Windows.Forms;
using System.Data;
namespace Acuanet
{
class ModParticipante
{
MySqlConnection dbConn;
//crea la conexion y prepara para operaciones sobr... | 2.664188 | 883b07dddc946be0f8345e574fe6798a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832587 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kevinmschreiner/easypostapi",
"max_stars_repo_path": "Library/TrackerLocation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151807"
} | starcoder | namespace EasyPost.Light.Library
{
public class TrackingLocation
{
public string @object;
public string city;
public string state;
public string country;
public string zip;
}
}
| 1.39984 | 0dbba813e1257d0e1161c534bfd00b14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832588 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PAHeartBeat/ISBN_978-1-84969-508-4_Parctical",
"max_stars_repo_path": "Assets/Chapter 02/Script/ProceduralTexture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151808"
} | starcoder | <filename>Assets/Chapter 02/Script/ProceduralTexture.cs
using UnityEngine;
using System.Collections;
public class ProceduralTexture : MonoBehaviour {
private Texture2D runtimeTexure;
private Material curMaterial;
private Vector3 centerPosition;
public int TextureSize = 256;
// Use this for initialization
v... | 2.778436 | d3fc2af845534d5c9f445897bf0909ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832589 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MartsTech/D-Wallet",
"max_stars_repo_path": "packages/api/src/WebApi/Modules/Common/ExceptionFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151809"
} | starcoder | <filename>packages/api/src/WebApi/Modules/Common/ExceptionFilter.cs
namespace WebApi.Modules.Common;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
public sealed class ExceptionFilter : IExceptionFilter
{
public void OnException(ExceptionContext context)
{
ProblemDetails prob... | 2.046123 | 9808f6171024de9e5c39c625cc3a7ba9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832590 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "Winzarten/SecondMonitor",
"max_stars_repo_path": "Telemetry/TelemetryApplication/Controllers/MainWindow/GraphPanel/LeftGraphPanelController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151810"
} | starcoder | <gh_stars>10-100
namespace SecondMonitor.Telemetry.TelemetryApplication.Controllers.MainWindow.GraphPanel
{
using System.Linq;
using DataModel.Extensions;
using Settings;
using Synchronization;
using Synchronization.Graphs;
using ViewModels;
using ViewModels.GraphPanel;
publi... | 1.817855 | 938f20c86be272e491d6cca4049b5d83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832591 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "itspaiva/DDTank4.1",
"max_stars_repo_path": "Source Server/SourceQuest4.5/SqlDataProvider/SqlDataProvider.Data/DataObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151811"
} | starcoder | namespace SqlDataProvider.Data
{
public class DataObject
{
protected bool _isDirty;
public bool IsDirty
{
get
{
return _isDirty;
}
set
{
_isDirty = value;
}
}
}
}
| 2.1925 | 6b03f4fb32f9bcbc818e5e68a2f94721 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832592 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mertkokusen/helix-toolkit",
"max_stars_repo_path": "Source/Examples/WPF/ExampleBrowser/Examples/Dna/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151812"
} | starcoder | <filename>Source/Examples/WPF/ExampleBrowser/Examples/Dna/MainWindow.xaml.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MainWindow.xaml.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// ... | 2.606608 | 96418c07e1640c726fea1e94633aaf94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832593 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "chemistry-lab/chemistry-lab-vr",
"max_stars_repo_path": "Assets/Scripts/Atom/Visualization/Orbital.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151813"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
using Utilities;
namespace Atom.Visualization
{
public class Orbital : MonoBehaviour
{
[Header("Effects")]
[SerializeField] private bool rotate = true;
[Header("Content")]
[SerializeField] private List<GameObject> electron... | 2.538579 | 04addf2f205c989891cdd76f6fad91ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832594 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "senxiaoxing/ABPVueDemo",
"max_stars_repo_path": "aspnet-core/src/ABPVue.EntityFrameworkCore/EntityFrameworkCore/ABPVueDbContextConfigurer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151814"
} | starcoder | <reponame>senxiaoxing/ABPVueDemo
using System;
using System.Data.Common;
using Microsoft.EntityFrameworkCore;
namespace ABPVue.EntityFrameworkCore
{
public static class ABPVueDbContextConfigurer
{
public static void Configure(DbContextOptionsBuilder<ABPVueDbContext> builder, string connectionString)
... | 1.44248 | b8751de5fa6f6bf0f33e16d6235ff2e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832595 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HunterJKavanagh/WPF-Game",
"max_stars_repo_path": "WPFGame/Damage/Poison.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151815"
} | starcoder | <filename>WPFGame/Damage/Poison.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WPFGame
{
class Poison : DamageEffect
{
public Poison(string Name = "Poison", int EffectLength = 4, int EffectDmg = 4, int Chance = 100 ) : b... | 2.405266 | 9673b871e0666eb0f5fa32ae4945ef2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832596 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dpvreony-forks/Foundatio",
"max_stars_repo_path": "src/Foundatio/Storage/FolderFileStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151816"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Foundatio.Extensions;
using Foundatio.Utility;
namespace Foundatio.Storage {
public class FolderFileStorage : IFileStorage {
private readonly object _lockObject =... | 2.91277 | 4c0a7cdff42e4678e951ac24afdef32a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832597 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "casaletto/alby.pantheon.2015",
"max_stars_repo_path": "alby.pantheon.codegen/storedProcedure/FixedIncreaseRentReviewUpdate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151817"
} | starcoder |
// This file was automatically generated by the code gen tool - do not modify.
using System ;
using scg = System.Collections.Generic ;
using sd = System.Data ;
using sds = System.Data.SqlClient ;
using sr = System.Reflection ;
using mst = Microsoft.SqlServer.Types ;
using mss = Microsoft.SqlServer.Server ;
... | 1.674219 | 4413c4f40f22448ba5ff23bc66657b91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832598 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MarketKernel/webmoney-business-tools",
"max_stars_repo_path": "Ext/Xml2WinForms/Templates/TunableShape/Controls/ControlType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151818"
} | starcoder | <filename>Ext/Xml2WinForms/Templates/TunableShape/Controls/ControlType.cs
namespace Xml2WinForms.Templates
{
public static class ControlType
{
public const string TextBox = "TextBox";
public const string ComboBox = "ComboBox";
public const string NumericUpDown = "NumericUpDown";
... | 1.850069 | e955696bed73eec3d0477b34232b66cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832599 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "tristanjthompson/umbraco-ditto",
"max_stars_repo_path": "src/Our.Umbraco.Ditto/Bootstrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151819"
} | starcoder | using Umbraco.Core;
namespace Our.Umbraco.Ditto
{
internal sealed class Bootstrapper : ApplicationEventHandler
{
protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
{
Ditto.IsDebuggingEnabled = Ditto.GetDebugF... | 1.426251 | a206cf139ace5df632f1256733a56065 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832600 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "b7c/Xabbo.Core",
"max_stars_repo_path": "Xabbo.Core/Entity/EntityStatusUpdate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151820"
} | starcoder | <filename>Xabbo.Core/Entity/EntityStatusUpdate.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using Xabbo.Messages;
namespace Xabbo.Core
{
public class EntityStatusUpdate : IEntityStatusUpdate, IReadOnlyDic... | 2.389246 | 1e284cb2a325a5e72424fe9d6274f0a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832601 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chyoon2/Music-Organizer.Solution",
"max_stars_repo_path": "MusicOrganizer/Models/Artist.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151821"
} | starcoder | using System.Collections.Generic;
namespace MusicOrganizer.Models
{
public class Format
{
private static List<Format> _instances = new List<Format> {};
public string Type { get; set; }
public int Id { get; }
public List<Record> Records { get; set; }
public Format(string FormatType)
{
... | 2.966461 | 226c0f8512bc168604ec8bc43eb8a3a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832602 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "twobrainsgmbh/CADability",
"max_stars_repo_path": "CADability/SphericalSurfaceNP.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151822"
} | starcoder | <reponame>twobrainsgmbh/CADability<filename>CADability/SphericalSurfaceNP.cs
using CADability.Curve2D;
using CADability.UserInterface;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
namespace CADability.GeoObject
{
/// <summary>
/// A spherical surface w... | 2.74025 | 2a7a91fe390d0ecc5720bf5daa4f70c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832603 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Daria-Donina/Homework",
"max_stars_repo_path": "sem2/hw2/StackCalculator/StackCalculator.Tests/StackTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151823"
} | starcoder | namespace StackCalculator.Tests
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using StackCalculator;
[TestClass]
public class StackTests
{
private ArrayStack arrayStack;
private ListStack listStack;
[TestInitialize]
public void Initialize(... | 3.058105 | 4463acbd2b10b7c6aaf4a1fcd13292f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832604 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "CalebABG/SoarBeyond",
"max_stars_repo_path": "src/SoarBeyond.Data/EntityConfigurations/JournalEntryEntityConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151824"
} | starcoder | <reponame>CalebABG/SoarBeyond
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using SoarBeyond.Data.Entities;
namespace SoarBeyond.Data.EntityConfigurations;
public class JournalEntryEntityConfiguration : IEntityTypeConfiguration<JournalEntryEntity>
{
private const int... | 2.389692 | c32f68f16e383d28f610b27c55fce4b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832605 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "Takoooooo/TextMateSharp",
"max_stars_repo_path": "src/TextMateSharp/Internal/Grammars/MetadataConsts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151825"
} | starcoder | namespace TextMateSharp.Internal.Grammars
{
/**
* Helpers to manage the "collapsed" metadata of an entire StackElement stack.
* The following assumptions have been made:
* - languageId < 256 => needs 8 bits
* - unique color count < 512 => needs 9 bits
*
* The binary format is:
* - -----------------... | 2.569 | 69edf5dd7096551403ad9427329796b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832606 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Muzsor/CookPopularControl",
"max_stars_repo_path": "CookPopularControl/Controls/Panels/AnimationPanel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151826"
} | starcoder | <filename>CookPopularControl/Controls/Panels/AnimationPanel.cs
using CookPopularControl.Expression;
using CookPopularCSharpToolkit.Communal;
using CookPopularCSharpToolkit.Windows;
using System;
using System.Diagnostics;
using System.Diagnostics.Contracts;
using System.Windows;
using System.Windows.Controls;
using Sys... | 2.196751 | 5c0412c565db0d0e0feeedfaa13f1121 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832607 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ifeanyinwodo/PolymorphicWebAPI.OnionArchitecture.Template",
"max_stars_repo_path": "PolymorphicWebAPI/PolymorphicWebAPI/PolymorphicWebAPI.Infrastructure/DBManagement/Logger/DbLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:15... | starcoder | <gh_stars>1-10
using DbUp.Engine.Output;
using Microsoft.Extensions.Logging;
namespace PolymorphicWebAPI.Infrastructure.DBManagement.Logger
{
public class DbLogger<T> : IUpgradeLog where T : class
{
private readonly ILogger<T> _logger;
public DbLogger(ILogger<T> logger)
{
... | 2.180995 | 444546f69fe6ee445378a762496acd7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832608 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pavlosmcg/neural-network",
"max_stars_repo_path": "NeuralNetwork/DigitRecognition/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151828"
} | starcoder | <filename>NeuralNetwork/DigitRecognition/Program.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using NeuralNet;
namespace DigitRecognition
{
public class Program
{
public static void Main()
{
IList<Tuple<string, IEnumerable<double>... | 3.281059 | 68efe8ff70a104ce2fe43d1e0dad0a89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832609 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Berklee-Game-Audio/Unity-Wwise-Game-Template-Trashcat",
"max_stars_repo_path": "Assets/Scripts/Characters/CharacterAccessories.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151829"
} | starcoder | using UnityEngine;
/// <summary>
/// Used as data storage for Accessory data. This script is added to any child object
/// of the Character Prefab (see in Bundles/Characters for sample characters and their accessories).
/// </summary>
public class CharacterAccessories : MonoBehaviour
{
public string acces... | 1.945647 | 0bf3a2b2214d333ea72c9ef114822261 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832610 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "stoolball-england/stoolball-org-uk",
"max_stars_repo_path": "Stoolball.Web/Views/Partials/_AddMatchMenu.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:151830"
} | starcoder | @model AddMatchMenuViewModel
@using Stoolball.Web.Matches
@using Stoolball.Matches
@using Humanizer
@{
var matchTypes = Model.MatchTypes.Where(x => x != MatchType.TrainingSession).ToList(); // treated separately, because the wording is not "match"
var enableTrainingSessions = Model.MatchTypes.Contains(MatchTyp... | 2.61565 | 54a06df6466fbdaa3bed9c044bcb227b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832611 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "taucode/taucode.cli",
"max_stars_repo_path": "test/TauCode.Cli.Tests.UnitTests/CliLexerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151831"
} | starcoder | using NUnit.Framework;
using TauCode.Cli.TextClasses;
using TauCode.Parsing.TextClasses;
using TauCode.Parsing.TextDecorations;
using TauCode.Parsing.Tokens;
namespace TauCode.Cli.Tests.UnitTests
{
[TestFixture]
public class CliLexerTests
{
[Test]
public void Lexize_ValidInput_ProducesVali... | 2.950488 | 4da5958a707d235eb19d9f08bf9955f7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.