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 | 8835712 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "medzumi/candle_crush",
"max_stars_repo_path": "Assets/Scripts/InteractObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154932"
} | starcoder | using System;
using UnityEngine;
using UnityEngine.Events;
public class InteractObject : MonoBehaviour
{
public UnityEvent<Player> OnTriggerWithPlayer;
public UnityEvent<Player> OnExitTriggerWithPlayer;
private void OnTriggerEnter(Collider other)
{
if (other.gameObject.TryGetComponent(out ... | 2.439175 | c4225e9bc02e85c72ef9bf47a3fa18c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835713 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "2ia/frapid",
"max_stars_repo_path": "src/Libraries/Frapid.NPoco/DatabaseTypes/OracleDatabaseType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154933"
} | starcoder | <reponame>2ia/frapid
using System;
using System.Data;
namespace Frapid.NPoco.DatabaseTypes
{
public class OracleDatabaseType : DatabaseType
{
public override string GetParameterPrefix(string connectionString)
{
return ":";
}
public override void PreExecute(IDbComma... | 2.055228 | 130992f25c4ac5841a1db319d90f63a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835714 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "MichaelOrtho/newrelic_dotnet_sdk",
"max_stars_repo_path": "NewRelic.Platform.Sdk/Extensions/ExtensionsForAssembly.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154934"
} | starcoder | using System;
using System.IO;
using System.Reflection;
namespace NewRelic.Platform.Sdk.Extensions
{
public static class ExtensionsForAssembly
{
public static string GetLocalPath(this Assembly assembly)
{
Uri uri = new Uri(assembly.CodeBase);
return Path.GetDirectoryName... | 2.326578 | 28e2a9ccc1637de560efdb38c6ea87b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835715 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "anavarro9731/datastore",
"max_stars_repo_path": "src/DataStore.Interfaces.LowLevel/DatabasePermissionInstance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154935"
} | starcoder | <filename>src/DataStore.Interfaces.LowLevel/DatabasePermissionInstance.cs
namespace DataStore.Interfaces.LowLevel
{
using System.Collections.Generic;
using DataStore.Interfaces.LowLevel.Permissions;
public class DatabasePermissionInstance : DatabasePermission
{
public DatabasePermissionInstanc... | 2.249074 | 3f0f8977e26406c2444fb20048327826 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835716 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TeamApollo/Image-Gallery",
"max_stars_repo_path": "server/ImageGallery.Api/Controllers/TagsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154936"
} | starcoder | <gh_stars>0
namespace ImageGallery.Api.Controllers
{
using System.Linq;
using System.Web.Http;
using System.Web.Http.Cors;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using ImageGallery.Models;
using Models.Tag;
using Services.Data.Contracts;
[EnableCors(... | 2.02825 | 17627ce15711e63ab4b7c54180850c10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835717 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tongko/SOS",
"max_stars_repo_path": "SOS.Common/Unsafe.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154937"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace SOS.Common
{
internal static class Unsafe
{
private const uint GENERIC_ALL = 0x10000000;
private const uint NO_INHERITANCE = 0x00;
pr... | 1.800513 | 93a5818ea7f1c1366b7410f11ee10df9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835718 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "ircnelson/enjoy-cqrs",
"max_stars_repo_path": "test/EnjoyCQRS.UnitTests/EventUpgrader/EventUpgraderTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154938"
} | starcoder | <filename>test/EnjoyCQRS.UnitTests/EventUpgrader/EventUpgraderTests.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using EnjoyCQRS.Core;
using EnjoyCQRS.Events;
using EnjoyCQRS.EventSource;
using EnjoyCQRS.EventSource.Exceptions;
using Enjoy... | 2.144031 | f29be2465ce03eca793d5b378154ad12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835719 | {
"extension": "c-sharp",
"max_stars_count": "218.0",
"max_stars_repo_name": "ericsp59/PrtgAPI",
"max_stars_repo_path": "src/PrtgAPI/Parameters/Interfaces/IJsonParameters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154939"
} | starcoder | namespace PrtgAPI.Parameters
{
interface IJsonParameters : IParameters
{
JsonFunction Function { get; }
}
}
| 1.419121 | 99859a9ecd524c75e8dd26f32dc070f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835720 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mmuu1987/EasyARWork",
"max_stars_repo_path": "Assets/Scripts/PlayMovie.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154940"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Video;
public class PlayMovie : MonoBehaviour
{
private VideoPlayer _videoPlayer;
public GameObject ShowGameObject;
private Rect _showRect;
private void Awake()
{
_videoPlayer = this.GetComp... | 2.2778 | 645882bcb969d2a4fabb2c31085df4f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835721 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bpawlik/duduchinese",
"max_stars_repo_path": "DuDuChinese/Views/ExerciseDrawPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154941"
} | starcoder | using System;
using System.Linq;
using DuDuChinese.ViewModels;
using Windows.UI.Xaml.Navigation;
using Windows.UI.Xaml.Controls;
using DuDuChinese.Models;
using Windows.UI.Input.Inking;
using Windows.UI.Xaml.Shapes;
using Windows.UI.Xaml.Media;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace... | 2.278445 | 8e01d1251cb0a1858b175795515c9f62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835722 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "misogihagi/bjd5",
"max_stars_repo_path": "BJD/option/OptionLog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154942"
} | starcoder | <filename>BJD/option/OptionLog.cs
using System.Collections.Generic;
using Bjd.ctrl;
using Bjd.util;
namespace Bjd.option {
public class OptionLog : OneOption {
public override char Mnemonic{ get { return 'L'; } }
public OptionLog(Kernel kernel, string path) :base (kernel.IsJp() ,path, "... | 2.280401 | acba4bc5e93a5395c2f216b5d7e4baa5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835723 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jfvaleroso/ASPNETBOILERPLATE-TEST",
"max_stars_repo_path": "src/Abp/Modules/Core/Abp.Modules.Core.Infrastructure.NHibernate/Modules/Core/Entities/NHibernate/Mappings/TenantMapBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1549... | starcoder | using Abp.Domain.Entities.Mapping;
using Abp.Security.Tenants;
namespace Abp.Modules.Core.Entities.NHibernate.Mappings
{
public abstract class TenantMapBase<TTenant> : EntityMap<TTenant> where TTenant : AbpTenant
{
protected TenantMapBase()
: base("AbpTenants")
{
Map(x =... | 1.89407 | c639d3a62024bb24129cbff4ebe5f8a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835724 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "f-sharp/f-sharp",
"max_stars_repo_path": "Farity.Tests/CurryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154944"
} | starcoder | <filename>Farity.Tests/CurryTests.cs
using System;
using Xunit;
namespace Farity.Tests
{
public class CurryTests
{
[Fact]
public void CurryingWorksForArity2()
{
Func<int, int, int> sum =
(a, b) => a + b;
Assert.Equal(
sum(1, 2),
... | 3.252256 | 0245dd3e3266bb3a7cc472aa3b9a4e7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835725 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zxyao145/SomeFun",
"max_stars_repo_path": "MusicDownload/src/Models/QqMusicVkeyModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154945"
} | starcoder | <filename>MusicDownload/src/Models/QqMusicVkeyModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MusicDownload.Models
{
public class ItemsItem
{
/// <summary>
///
/// </summary>
public int sub... | 2.255686 | 84603d98ecd9238545e4c1463f4250ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835726 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PiotrKantorowicz1/ScheduleManager",
"max_stars_repo_path": "src/Manager.Core/Repositories/IActivityRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154946"
} | starcoder | <reponame>PiotrKantorowicz1/ScheduleManager
using System.Threading.Tasks;
using Manager.Core.Models;
namespace Manager.Core.Repositories
{
public interface IActivityRepository : IRepositoryBase<Activity>
{
Task<Activity> GetAsync(int id);
Task<Activity> GetByTitleAsync(string title)... | 1.675938 | 77c864d6b62ad97ee9136a096395de5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835727 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "flood-hack/flood-hack-bff",
"max_stars_repo_path": "Controllers/ToolsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154947"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using flood_hackathon.Models;
using flood_hackathon.Models.Requests;
using flood_hackathon.Models.Responses;
using flood_hackathon.Services;
using Microsoft.AspNetCore.Cors;
using Microsof... | 1.972514 | 42bfab194a5dda49d90909f8ceb0127e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835728 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vienitdev/APack.Training_SearchList",
"max_stars_repo_path": "Archpack.Training/ArchUnits/RoleBaseAuth/V2/Data/TargetInTargets.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154948"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Archpack.Training.ArchUnits.RoleBaseAuth.V2.Data
{
[Table("TACTS033")]
public class TargetInTargets
{
... | 1.281608 | a8b89fb09b369b5547d761b25389edd8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835729 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "todorm85/TelerikAcademy",
"max_stars_repo_path": "Courses/Programming/Object-Orineted Programming/05. OOP Principles II/02. Bank accounts/Mortgage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154949"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bank_accounts
{
class Mortgage : Account
{
public Mortgage(Customer customer, decimal balance, decimal monthInterest)
: base(customer, balance, monthInterest)
... | 3.261718 | 36c778f11c2d1096610b5474021375ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835730 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "PacktPublishing/Windows-Application-Development-Cookbook",
"max_stars_repo_path": "Chapter 2/02-04 - Adding a password box/MainPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154950"
} | starcoder | /*
Exemplary file for Chapter 2 - Designing a User Interface.
Recipe: Adding a password box.
*/
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace CH02
{
public sealed partial class MainPage : Page
{
public MainPage()
{
InitializeComponent();
}
p... | 2.411848 | f7427fa30b3be7e0cbc8f0f6dec74f60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835731 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marivaaldo/juno-sdk-net",
"max_stars_repo_path": "src/Juno.Sdk/Models/Notifications/DefaultNotification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154951"
} | starcoder | using Juno.Sdk.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace Juno.Sdk.Models.Notifications
{
public class DefaultNotification : DefaultNotification<object>
{
}
pu... | 2.024706 | 24d4a905be2d693cc8bb4abbdad71281 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835732 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OldModz95-YTB/Gold-Resolver-source",
"max_stars_repo_path": "Gold Resolver/questionform.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154952"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Net;
namespace Gold_Resolver
{
public partial class questionform : Form
{
... | 1.995466 | 69052321ba7de54f274e5868e8941025 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835733 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "umutatmaca/imagegram",
"max_stars_repo_path": "src/Application/Imagegram.Application/Requests/GetPostCommentsByPostIdRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154953"
} | starcoder | <filename>src/Application/Imagegram.Application/Requests/GetPostCommentsByPostIdRequest.cs
using Imagegram.Application.Responses;
using MediatR;
using System;
using System.ComponentModel.DataAnnotations;
namespace Imagegram.Application.Requests
{
/// <summary>
/// fetch post comments by id query
/// </sum... | 2.720262 | bcecec7471657fd398b63cae6b868b3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835734 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jweissBHG/Amazon",
"max_stars_repo_path": "src/Amazon.Core/Security/AwsSession.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154954"
} | starcoder | <reponame>jweissBHG/Amazon
#nullable disable
using System;
using System.Threading.Tasks;
namespace Amazon
{
public sealed class AwsSession : IAwsCredential
{
public string SessionToken { get; set; }
public string SecretAccessKey { get; set; }
public DateTime Expiration ... | 2.014845 | e60b99ef5284db3f81768b5a89f91e90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835735 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "BehaviorDesigner/Runtime/Tasks/Unity/UnityGameObject/SendMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154955"
} | starcoder | <reponame>SinsofSloth/RF5-global-metadata<filename>BehaviorDesigner/Runtime/Tasks/Unity/UnityGameObject/SendMessage.cs
[TaskCategoryAttribute] // RVA: 0x153EE0 Offset: 0x153FE1 VA: 0x153EE0
[TaskDescriptionAttribute] // RVA: 0x153EE0 Offset: 0x153FE1 VA: 0x153EE0
public class SendMessage : Action // TypeDefIndex: 11303... | 1.210571 | 500954eace09bf56289a2fb4fa52a4fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835736 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "210503-Reston-NET/Embrey-James-P0",
"max_stars_repo_path": "PPModels/Manager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154956"
} | starcoder | <filename>PPModels/Manager.cs<gh_stars>0
using System.Globalization;
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace PPModels
{
public class Manager
{
public Manager (string mname)
{
this.mName = mname;
}
... | 2.561997 | 3d3b3f7f3be5c34c1279dbbb515b06f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835737 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "QuinntyneBrown/handlebars-rx-ui-example-app",
"max_stars_repo_path": "handlebars-rx-ui-example-app/Models/FragmentViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154957"
} | starcoder | using System.Collections.Generic;
namespace Handlebars.Rx.UI.Example.App.Models
{
public class FragmentViewModel
{
public FragmentViewModel()
{
}
public string Name { get; set; }
public Dictionary<string,string> Properties { get; set; }
}
} | 1.707822 | 51af21bc637c69ca16b7716d120f05ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835738 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "AlexanderDemko/BibleNote",
"max_stars_repo_path": "Middleware/AnalysisSessions/Commands/OneNote/LoadStatus/Handler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154958"
} | starcoder | <reponame>AlexanderDemko/BibleNote
using AutoMapper;
using BibleNote.Domain.Contracts;
using BibleNote.Middleware.AnalysisSessions.SharedViewModels;
using BibleNote.Providers.OneNote.Services.NavigationProvider;
using BibleNote.Services.Contracts;
using MediatR;
using System;
using System.Threading;
using System.Threa... | 1.635641 | 6243cc9d7c6649d217ec2d757d1eabf0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835739 | {
"extension": "c-sharp",
"max_stars_count": "54.0",
"max_stars_repo_name": "BrunoZell/EventStore-Client-Dotnet",
"max_stars_repo_path": "src/EventStore.Client.PersistentSubscriptions/SystemConsumerStrategies.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154959"
} | starcoder | <reponame>BrunoZell/EventStore-Client-Dotnet<gh_stars>10-100
namespace EventStore.Client {
/// <summary>
/// System supported consumer strategies for use with persistent subscriptions.
/// </summary>
public static class SystemConsumerStrategies {
/// <summary>
/// Distributes events to a single client until it ... | 2.225176 | 1eb0aed9a1322d690704c1921f7d7c7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835740 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "appodeal/appodeal-unity-plugin-upm",
"max_stars_repo_path": "Runtime/Platforms/Appodeal/Android/AppodealNonSkippableVideoCallbacks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154960"
} | starcoder | using System.Diagnostics.CodeAnalysis;
using AppodealAds.Unity.Common;
namespace AppodealAds.Unity.Platforms.Android
{
[SuppressMessage("ReSharper", "InconsistentNaming")]
[SuppressMessage("ReSharper", "UnusedParameter.Local")]
public class AppodealNonSkippableVideoCallbacks
#if UNITY_ANDROID
: Uni... | 1.968016 | 1bd227e49f4391700f00f645804947f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835741 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "hez2010/DncUpdatesMonitor",
"max_stars_repo_path": "DncUpdatesMonitor/ViewModels/ChannelVersionPageViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154961"
} | starcoder | <reponame>hez2010/DncUpdatesMonitor
using DncUpdatesMonitor.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DncUpdatesMonitor.ViewModels
{
class ChannelVersionPageViewModel : INotifyPropertyChanged
... | 1.618442 | 0f37e5c80f98100a8f34a912a1b811ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835742 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sh1ngekyo/macropse",
"max_stars_repo_path": "Macropse.Domain/Logic/Macro/Command/Factory/CommandShowMsgBoxCreator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154962"
} | starcoder | using Macropse.Domain.Logic.Interfaces;
using Macropse.Domain.Logic.Settings;
using System.Collections.Generic;
namespace Macropse.Domain.Logic.Macro.Command.Factory
{
class CommandShowMsgBoxCreator : CommandFactory
{
public override IExecutable Create(IList<dynamic> parameters, uint repeats)
... | 1.962539 | 7827bc916379bfcdc9a261b2620e6157 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835743 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ThomasLamb/efmvc",
"max_stars_repo_path": "EFMVC.Data/EFMVCDataContex.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154963"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using EFMVC.Model;
using System.Data.Entity.Infrastructure;
using EFMVC.Data.Configurations;
namespace EFMVC.Data
{
public class EFMVCDataContex : DbContext
{
public DbSet<Category> Categorie... | 2.044898 | 85e1dddaa5dd12fce940efdfc7f55f33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835744 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "webbju/gdb-mi",
"max_stars_repo_path": "src/GdbMi/Records/PromptRecord.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154964"
} | starcoder | <filename>src/GdbMi/Records/PromptRecord.cs
namespace GdbMi.Records
{
/// <summary>
/// <c>PromptRecord</c> represents the GDB/MI response when idle and/or waiting for user input.
/// </summary>
public class PromptRecord : Record
{
/// <summary>
/// GDB/MI user prompt.
/// <... | 2.325717 | 11b576197c17d8a7d415e1e23f7695f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835745 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CSCI-C292/midterm-project-cnfarmer99",
"max_stars_repo_path": "Escape/Assets/EscapeKey2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154965"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class EscapeKey2 : MonoBehaviour
{
Vector3 goal = new Vector3(-3.29999995f,-2.68000007f,-2f);
float buffer = 1f;
bool canEscape = false;
// Start is called before the first fram... | 2.220712 | 901e3dd8ddf9784c77d5fa977a142e17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835746 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "corle-bell/MineSweeping",
"max_stars_repo_path": "Assets/BmFramework/Third/Infinity Code/uContext/Scripts/Editor/Interfaces/IValidatableLayoutItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154966"
} | starcoder | /* INFINITY CODE */
/* https://infinity-code.com */
namespace InfinityCode.uContext
{
public interface IValidatableLayoutItem
{
bool Validate();
}
} | 1.533541 | 2a39b3dbc61415a58c49101858d36c11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835747 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrayy/Embodied-Driven-Design",
"max_stars_repo_path": "Embodied-Driven Design/Assets/Libraries/Klak/Wiring/Filter/RotationFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154967"
} | starcoder | //
// Klak - Utilities for creative coding with Unity
//
// Copyright (C) 2016 <NAME>
//
// 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 t... | 1.999987 | 72a9151fe0f47ca76e3ef07329869188 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835748 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moljac/mobileapp",
"max_stars_repo_path": "Toggl.iOS/ViewControllers/Calendar/CalendarViewController.KeyCommands.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154968"
} | starcoder | <reponame>moljac/mobileapp<filename>Toggl.iOS/ViewControllers/Calendar/CalendarViewController.KeyCommands.cs
using System.Reactive.Linq;
using Foundation;
using ObjCRuntime;
using Toggl.Core.UI.ViewModels;
using Toggl.iOS.Helper;
using Toggl.Shared;
using Toggl.Shared.Extensions;
using UIKit;
namespace Toggl.iOS.ViewC... | 1.730405 | 8c1033bc30a27b70f4d594ee91ba3cd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835749 | {
"extension": "c-sharp",
"max_stars_count": "74.0",
"max_stars_repo_name": "dotnetshop/Resgrid-Core",
"max_stars_repo_path": "Web/Resgrid.WebCore/Areas/User/Models/Departments/RecipientJson.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154969"
} | starcoder | namespace Resgrid.Web.Areas.User.Models.Departments
{
public class RecipientJson
{
public string Id { get; set; }
public string Type { get; set; }
public string Name { get; set; }
}
} | 1.227009 | e0a31f6e0376e63d693797a731c3a6c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835750 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ytkaczyk/DbContextScope",
"max_stars_repo_path": "DbContextScope/DbContextScopeServiceExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154970"
} | starcoder | using EntityFrameworkCore.DbContextScope.Implementations;
using Microsoft.Extensions.DependencyInjection;
namespace EntityFrameworkCore.DbContextScope
{
public static class DbContextScopeServiceExtensions
{
public static IServiceCollection AddDbContextScope(this IServiceCollection self)
{
self.AddSc... | 1.599856 | b62a99bfc1609f972236628b9a5866dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835751 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "bvisonl/dackup",
"max_stars_repo_path": "src/Backup/MongoDBBackupTask.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154971"
} | starcoder | <reponame>bvisonl/dackup
using System;
using System.IO;
using System.Text;
using System.Diagnostics;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
using MongoDB.Driver;
namespace Dackup.Backup
{
public class MongoDBBackupTask : DatabaseBackupTask
{
private readonly ILogger log... | 2.255397 | e5ffff67aead27dff28a0b7a19176213 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835752 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Haruma-K/GoogleSheetFetcher",
"max_stars_repo_path": "Packages/com.harumak.googlesheetfetcher/Editor/MimeType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154972"
} | starcoder | using System;
namespace GoogleSheetFetcher.Editor
{
/// <summary>
/// The MimeTypes.
/// </summary>
internal static class MimeType
{
/// <summary>
/// MimeType of the folder.
/// </summary>
private const string Folder = "application/vnd.google-apps.folder";
... | 3.220372 | 76104908ffc2430326644ea17f205ff2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835753 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dlsteuer/VisualRust",
"max_stars_repo_path": "Microsoft.VisualStudio.Project/ProjectPackage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154973"
} | starcoder | //*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, ... | 2.301913 | 617eb82de8733b1b3f925519b4b711cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835754 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "SciSharp/CodeMinion",
"max_stars_repo_path": "src/Torch/Models/nn/torch.nn.parallel.DistributedDataParallel.gen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154974"
} | starcoder | // Code generated by CodeMinion: https://github.com/SciSharp/CodeMinion
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using Python.Runtime;
using Numpy;
using Numpy.Models;
namespace T... | 2.56335 | 8e2335555294ce9a59a03ad02a4c033d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835755 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mantra002/chess-2",
"max_stars_repo_path": "chess-app/Game/Board.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154975"
} | starcoder | <reponame>mantra002/chess-2
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Chess.Game
{
using static Enums;
public class Board : ICloneable
{
public byte[] GameBoard = new byte[64];
public Colors ColorToMove = ... | 2.4382 | a7f8a886fa9f96c4424a0e824202a425 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835756 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "veloman86/SoftUni-CSharp",
"max_stars_repo_path": "C# Advanced/10 Final Exam/Advanced Retake Exam - 17 December 2019/Exam/Christmas/Bag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154976"
} | starcoder | <filename>C# Advanced/10 Final Exam/Advanced Retake Exam - 17 December 2019/Exam/Christmas/Bag.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace Christmas
{
public class Bag
{
private readonly List<Present> data;
... | 3.645014 | 3e31d09fc6cbab0d06a852c9e4a24b8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835757 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "quilin/dm-auto-testing-core",
"max_stars_repo_path": "DmAutoTesting/Core/Browsers/Pool/BrowserPool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154977"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Core.Browsers.Factories;
using Core.Configuration;
using Microsoft.Extensions.Options;
namespace Core.Browsers.Pool
{
public class BrowserPool : IBrowserPool
{
private readonly IBrowserFactory browserFacto... | 2.774262 | 3764886024903f5eb3a56574f5e5a5c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835758 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tagglink/Target",
"max_stars_repo_path": "Assets/Scripts/HUDManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154978"
} | starcoder | <filename>Assets/Scripts/HUDManager.cs<gh_stars>0
using UnityEngine;
using System.Collections;
public class HUDManager : MonoBehaviour {
void Update () {
}
}
| 1.668493 | 35ba543a33a17f15fb03594d9b4b950d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835759 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mtakagi/MacacaUnity",
"max_stars_repo_path": "Assets/Tests/ParserTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154979"
} | starcoder | using System.Collections.Generic;
using NUnit.Framework;
using Macaca;
public class ParserTest
{
[Test]
public void ParseLetTest()
{
var tests = new[] {
new { input = "let x = 5;", identifier = "x", value = (object)5},
new { input = "let y = true;", identifier = "y", value =... | 2.918513 | a81d04838c305c25ee9647697cb1db3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835760 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "Arkhorse/RelhaxModpack",
"max_stars_repo_path": "RelhaxLegacy/RelicModManager/LegacyComponents/DatabaseListGenerater.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154980"
} | starcoder | namespace RelhaxModpack
{
partial class DatabaseListGenerater
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.106096 | 68be06f8547d15e0ca9d106aa6b60815 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835761 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "Mono/Security/Protocol/Ntlm/ChallengeResponse2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154981"
} | starcoder | public static class ChallengeResponse2 // TypeDefIndex: 1564
{
// Fields
private static byte[] magic; // 0x0
private static byte[] nullEncMagic; // 0x8
// Methods
// RVA: 0x1A6F890 Offset: 0x1A6F991 VA: 0x1A6F890
private static byte[] Compute_LM(string password, byte[] challenge) { }
// RVA: 0x1A70070 Offset:... | 1.580499 | 68a85d0838d71be27d96f9b1b16e7185 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835762 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fu-yujie/guangyang",
"max_stars_repo_path": "Areas/BasicDataArea/Views/Camera/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:154982"
} | starcoder | @using BasicUPMS.Areas.BasicDataArea.Models
@model IPagedList<CameraIndexModel>
@{
Layout = "~/Views/Shared/_ListPageLayout.cshtml";
ViewBag.Title = "视频监控点管理";
}
@section SearchCondition
{
<tr>
<th>
<label>摄像头资源名称</label>
</th>
<td>
<input type="text" name="N... | 1.981106 | 76456b1ab48812971795212279d5d375 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835763 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jewmin/astd",
"max_stars_repo_path": "com.lover.common/hook/KeyboardInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154983"
} | starcoder | using System;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace com.lover.common.hook
{
public class KeyboardInfo
{
private KeyboardInfo()
{
}
[DllImport("user32")]
private static extern short GetKeyState(int vKey);
public static KeyStateInfo GetKeyState(Keys key)
{
int v... | 2.536684 | f1d9a76a2d8ec4c155624f9fa0dab1f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835764 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "bmcdavid/DotNetStarter",
"max_stars_repo_path": "src/DotNetStarter/Internal/ShutdownHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154984"
} | starcoder | <filename>src/DotNetStarter/Internal/ShutdownHandler.cs
namespace DotNetStarter.Internal
{
using Abstractions;
using System;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// Handles shutdown process
/// </summary>
[Registration(typeof(IShutdownHandler), Lifecycle.... | 2.599459 | 71d3d77018224b6d8cb0c13f83a2c26e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835765 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deletescape/atanet",
"max_stars_repo_path": "api/Atanet.Validation/Data/Post/PostValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154985"
} | starcoder | <gh_stars>0
namespace Atanet.Validation.Data.Post
{
using Atanet.Model.Data;
using Atanet.Validation.Common;
public class PostValidator : AbstractAtanetValidator<Post>
{
protected override void Initalize()
{
this.AddRuleForPostText(x => x.Text, 10, 1000);
}
}
}
| 1.619627 | 69086d34fc9f4f2a8052cd8d2b753da2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835766 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kedlly/XDFramework",
"max_stars_repo_path": "Assets/Scripts/Framework/Core/AssetSource/AssetResource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154986"
} | starcoder | <gh_stars>1-10
using Framework.Core.FlowControl;
using Framework.Library.ObjectPool;
using Framework.Utils.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using UObject = UnityEngine.Object;
namespace Framework.Core
{
public interface IAssetBundle<... | 1.828508 | d48042f6f7dc319e2dd888ede52ca736 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835767 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "recreationx/uberstrok",
"max_stars_repo_path": "src/UberStrok.Core.Serialization/UInt16Proxy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154987"
} | starcoder | using System;
using System.IO;
namespace UberStrok.Core.Serialization
{
// Apparently there is also a UShortProxy, but they are same thing.
public static class UInt16Proxy
{
public static ushort Deserialize(Stream bytes)
{
byte[] buffer = new byte[2];
bytes.Read(buffer, 0, 2);
return ... | 2.775928 | 9d6c612a6771befa595f0b553568101f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835768 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jaymcole/NatureSim",
"max_stars_repo_path": "MonoSimulation/EnvironmentProperties/Elevation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154988"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace MonoSimulator.EnvironmentProperties
{
public class Elevation
{
public static int SEA_LEVEL = 0;
public double elevation;
public Elevation()
{
elevation = 0;
}
... | 2.261134 | d2732b5961a176f00044ba7a30261992 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835769 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "batu/NavAssist",
"max_stars_repo_path": "PythonLibraries/ml-agents/Project/Assets/ML-Agents/Examples/PushBlockWithInput/Scripts/PushBlockWithInputAgentBasic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154989"
} | starcoder | <gh_stars>0
//Put this script on your blue cube.
using System;
using System.Collections;
using UnityEngine;
using Unity.MLAgents;
using Unity.MLAgents.Actuators;
using Random = UnityEngine.Random;
public class PushBlockWithInputAgentBasic : Agent
{
/// <summary>
/// The ground. The bounds are used to spawn th... | 2.20942 | 1c62272ed5750f8534b8e82ff412cfb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835770 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ByteDev/ByteDev.Azure.Cosmos.Table",
"max_stars_repo_path": "src/ByteDev.Azure.Cosmos.Table/TableEntityExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154990"
} | starcoder | <reponame>ByteDev/ByteDev.Azure.Cosmos.Table<gh_stars>0
using System;
using Microsoft.Azure.Cosmos.Table;
namespace ByteDev.Azure.Cosmos.Table
{
/// <summary>
/// Extension methods for <see cref="T:Microsoft.Azure.Cosmos.Table.TableEntity" />.
/// </summary>
public static class TableEntityExtensions
... | 2.438513 | e15845a0412324ff2991d183d4397fb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835771 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "walnut-brain/Astral",
"max_stars_repo_path": "src/Astral.Core/Schema/ICallSchema.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154991"
} | starcoder | using System;
namespace Astral.Schema
{
public interface ICallSchema : IEndpointSchema
{
ITypeSchema RequestType { get; }
ITypeSchema ResponseType { get; }
}
} | 1.717807 | 4322e7c9daabdfd8de87fc0e3a6ac498 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835772 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "HectorRPC/Toggl2Excel",
"max_stars_repo_path": "Toggl.Foundation/Autocomplete/QueryInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154992"
} | starcoder | <filename>Toggl.Foundation/Autocomplete/QueryInfo.cs
using System;
using System.Linq;
using Toggl.Foundation.Autocomplete.Span;
using Toggl.Foundation.Autocomplete.Suggestions;
using Toggl.Multivac.Extensions;
namespace Toggl.Foundation.Autocomplete
{
public struct QueryInfo
{
public string Text { get... | 2.727549 | 29de99911d653cab0f98db7c644cce24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835773 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lsfera/dotnet_sample",
"max_stars_repo_path": "src/TestHarness.Compose/Dependency.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154993"
} | starcoder | <reponame>lsfera/dotnet_sample
using System;
using Ductus.FluentDocker.Services;
using Microsoft.Extensions.Configuration;
namespace TestHarness.Compose
{
public abstract class Dependency
{
internal readonly String FileName;
internal readonly ValueTuple<String, Func<IContainerService, Int32, In... | 2.117376 | c80646e9122e518e242c181c47eb7841 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835774 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NealGao/JTNewEnergy",
"max_stars_repo_path": "src/JTNE.Protocol.Test/MessageBody/JTNE_0x02_0x05Test.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154994"
} | starcoder | using JTNE.Protocol.MessageBody;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using JTNE.Protocol.Extensions;
namespace JTNE.Protocol.Test.MessageBody
{
public class JTNE_0x02_0x05Test
{
[Fact]
public void Test1()
{
JTNE_0x02_0x05 jTNE_0X0... | 2.323486 | 03afdbac7f3a4cdf8b178c0d7f467c3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835775 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "givolaj/plr",
"max_stars_repo_path": "LatinSquares/Controllers/HomeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154995"
} | starcoder | <gh_stars>0
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using static LatinSquares.Models.DbModels;
namespace LatinSquares.Controllers
{
public class HomeController : Controller
{
public ActionRe... | 2.240877 | dc326203147e4918374da58c4f7368f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835776 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rnandon/ThemedeCommerceAPI",
"max_stars_repo_path": "eCommerceStarterCode/Models/Product.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154996"
} | starcoder | <reponame>rnandon/ThemedeCommerceAPI<filename>eCommerceStarterCode/Models/Product.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace eCommerceStarterCode.Models
{
public class Product
{
publi... | 2.314043 | 6797eb3c9b69ea895b1ddf1a054f4610 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835777 | {
"extension": "c-sharp",
"max_stars_count": "228.0",
"max_stars_repo_name": "michaelmittermair/SparkleXrm",
"max_stars_repo_path": "SparkleXrmSource/SparkleXrmUI/GridEditor/XrmLookupEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154997"
} | starcoder | // DataEditor.cs
//
using jQueryApi;
using jQueryApi.UI;
using jQueryApi.UI.Widgets;
using Slick;
using SparkleXrm.CustomBinding;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using Xrm;
using Xrm.Sdk;
using Xrm.Sdk.Metadata;
namespace SparkleXrm.Gri... | 2.10871 | 582a1fc183d841c320204c6337b0df0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835778 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "richarddowner/Humidifier",
"max_stars_repo_path": "src/Humidifier/IoTAnalytics/Pipeline.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154998"
} | starcoder | namespace Humidifier.IoTAnalytics
{
using System.Collections.Generic;
using PipelineTypes;
public class Pipeline : Humidifier.Resource
{
public override string AWSTypeName
{
get
{
return @"AWS::IoTAnalytics::Pipeline";
}
}
... | 2.168591 | f8c74445cf989386758684d151f2e5e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835779 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iwoplaza/DreamHack-2018",
"max_stars_repo_path": "DreamHack 2018 - UnityProject/Assets/Scripts/UI/PopUp/WorkerDetailsPopUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154999"
} | starcoder | <reponame>iwoplaza/DreamHack-2018
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace Game.UI.PopUp
{
public class WorkerDetailsPopUp : PopUpWindow
{
public override bool IsSingluar { get { return true; } }
... | 2.209683 | 362f0b28b7183d953772fc79e3fea355 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835780 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "madsj20/Project-Timmy",
"max_stars_repo_path": "Assets/Scripts/Player/HitEnemy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155000"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HitEnemy : MonoBehaviour
{
public GameObject hitSquare;
public bool hasHit;
public Transform enemy;
public float angle;
public Transform rockThrowerTrans;
public Rigidbody2D rock;
priva... | 2.246678 | 162b238334763f687ef853710c8c0048 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835781 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Alword/plantopia",
"max_stars_repo_path": "WebApi/Plantopia.WebApi/Plantopia.WebApi/Domains/Model/PlantopiaDataContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155001"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Plantopia.WebApi.Domains.Model.Device;
using Plantopia.WebApi.Domains.Model.Person;
using Plantopia.WebApi.Domains.Model.Plant;
namespace Plantopia.WebApi.Domains.Model
{
public class PlantopiaDataContext : DbContext
{
private static bool _created;
p... | 2.320406 | ac691b1db94a55a00f25e8508d1683e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835782 | {
"extension": "c-sharp",
"max_stars_count": "587.0",
"max_stars_repo_name": "kreeben/resin",
"max_stars_repo_path": "src/Sir.Search/Session/DocumentStreamSession.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155002"
} | starcoder | <gh_stars>100-1000
using Sir.Documents;
using Sir.VectorSpace;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace Sir.Search
{
public class DocumentStreamSession : IDisposable
{
protected readonly SessionFactory SessionFactory;
private readonly Concu... | 2.550484 | 67e41fdcba1d6dc84b54e659ae39b13b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835783 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "linyuan5856/RayTracy",
"max_stars_repo_path": "RayTracy/Assets/Script/DiffuseAndReflectScene.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155003"
} | starcoder | using UnityEngine;
namespace RayTrace
{
public class DiffuseAndReflectScene
{
public const int SAMPLETIMES = 50;
public const int MAX_SCATTER_TIME = 10;
static Color GetColorForTestMetal(Ray ray, HitableList hitableList, int depth)
{
HitRecord record = new HitRecord()... | 2.524221 | 7dd0b9f4f0a8850b86f6a01333ecd8ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835784 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jokersaw/2d-roguelike",
"max_stars_repo_path": "Assets/Scripts/Watersound.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155004"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Watersound : MonoBehaviour {
public AudioClip water_sound;
// Use this for initialization
void Start ()
{
SoundManager.instance.PlaySingle(water_sound);
}
}
| 1.810633 | be78ba61942e192a7a6a09f7df26faed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835785 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "liuxx001/BodeAbp",
"max_stars_repo_path": "src/frame/Abp/Net/Remoting/RemotingUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155005"
} | starcoder | using Abp.Net.Remoting.Args;
using System;
namespace Abp.Net.Remoting
{
public class RemotingUtils
{
public static byte[] BuildRequestMessage(RemotingRequest request)
{
var sequenceBytes = BitConverter.GetBytes(request.Sequence);
var codeBytes = BitConverter.GetBytes(re... | 2.469474 | b8366f1df8891a7591058e8044d1d76e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835786 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "creeperlv/CLUNL",
"max_stars_repo_path": "Creeper Lv's Universal dotNet Library/Utilities/CommandLineTool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155006"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CLUNL.Utilities
{
/// <summary>
/// CommandLine class, contains the analyzed results.
/// </summary>
public class CommandLine
{
/// <summary>
/// Real Parameters.
/// </summary>
... | 3.041502 | bd22e7bc938f2263e769b96e40482a74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835787 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "eriove/FastLinq",
"max_stars_repo_path": "src/Benchmark/SkipTakeListBenchmark.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155007"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Benchmark
{
using System.Collections.ObjectModel;
using BenchmarkDotNet.Attributes;
public class SkipTakeListBenchmark
{
[Params(true, false)] public bool EnumerateAf... | 3.03369 | b6f640c452a5dea8227d38ad74a0f886 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835788 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "spar/PiHoleApiClient",
"max_stars_repo_path": "PiHoleApiClient/Models/TopItems.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155008"
} | starcoder | using Newtonsoft.Json;
using System.Collections.Generic;
namespace PiHoleApiClient.Models
{
public class TopItems
{
[JsonProperty("top_queries")]
public Dictionary<string, long> TopQueries { get; set; }
[JsonProperty("top_ads")]
public Dictionary<string, long> TopAds { get; se... | 1.7407 | fd54a61403ce636f3d4b3883e6873e89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835789 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SSalehin/First-Web-Service",
"max_stars_repo_path": "CourseService_Server/CourseService/Course.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155009"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
namespace CourseService {
class Course {
public string id;
public int maxStudents;
public List<string> prerequisite;
public ... | 2.690465 | 160f120dae79d2efef263956b131ffb8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835790 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ianlee74/GadgeteerSponsorBoard",
"max_stars_repo_path": "Software/SponsorBoardTest/Program.generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155010"
} | starcoder | <filename>Software/SponsorBoardTest/Program.generated.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18051
//
// Changes to this file may cause incorrect behavior and will be lost if
/... | 1.651278 | 35beb0ed89b9defcaa759d0a2f75cbc6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835791 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "HamzaLee/interceptron",
"max_stars_repo_path": "Interceptron.DispatchProxy/DispatchProxyInvocation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155011"
} | starcoder | using System.Reflection;
namespace Interceptron.DispatchProxy
{
public class DispatchProxyInvocation
{
public DispatchProxyInvocation(MethodInfo targetMethod, object[] args, object target)
{
MethodInfo = targetMethod;
Args = args;
Target = target;
}
... | 2.570835 | aa840f08567bc0c02f55a74ba9f38978 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835792 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stefanseibert/WindowControls",
"max_stars_repo_path": "WindowControls/Settings.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155012"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut gener... | 1.758385 | 49f0e6c00502807a9e598a9201ea9e65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835793 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "progressonderwijs/ProgressOnderwijsUtils",
"max_stars_repo_path": "src/ProgressOnderwijsUtils/Html/HtmlAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155013"
} | starcoder | <filename>src/ProgressOnderwijsUtils/Html/HtmlAttribute.cs
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Linq;
using System;
using ProgressOnderwijsUtils.Collections;
namespace ProgressOnderwijsUtils.Html
{
#pragma warn... | 3.02467 | bc2b154cef6f755326c0f1ecde8b89a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835794 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "erikbarke/apinterest",
"max_stars_repo_path": "src/server/webapi/Apinterest/RouteExplorerService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155014"
} | starcoder | <filename>src/server/webapi/Apinterest/RouteExplorerService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Reflection;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Description;
using Apinterest.Contracts;
using Apint... | 2.371966 | e95127f891560b5190b83481687fcb9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835795 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "bgiot/mqexplorerplus",
"max_stars_repo_path": "src/Dotc.Wpf/Controls/TreeListView/TreeListViewConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155015"
} | starcoder | using System;
using System.Windows.Data;
namespace Dotc.Wpf.Controls.TreeListView
{
/// <summary>
/// Represents a converter thats converts an TreeListViewExpander in a TreeListViewItem level to its left distance
/// </summary>
public class TreeListViewConverter : IValueConverter
{
/// <s... | 2.988388 | 989da7e395d70cc7dc6389173579c64d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835796 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterkollerlv/hulaf",
"max_stars_repo_path": "HULAF.Application/Mapping/LocationProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155016"
} | starcoder | using AutoMapper;
using HULAF.Application.Dto.Location;
using HULAF.Domain.Locator;
using System;
using System.Collections.Generic;
using System.Text;
namespace HULAF.Application.Mapping
{
public class LocationConfig : Profile
{
public LocationConfig()
{
CreateMap<Location, Locatio... | 1.922633 | d6768d57317c06bcf207944308ab8d6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835797 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ObsidianBunny/MiniSubmarine",
"max_stars_repo_path": "Assets/ViewChanger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155017"
} | starcoder | <reponame>ObsidianBunny/MiniSubmarine
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ViewChanger : MonoBehaviour {
[SerializeField] private Camera firstCamera;
[SerializeField] private Camera thirdCamera;
private GameObject bluePanel;
public bool ... | 1.983 | fd3aadcf4ee8ba266df0e20b7386b0a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835798 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OdieHerpaderp/OstaraBoard",
"max_stars_repo_path": "S3/Globals.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155018"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace S3
{
class Globals
{
public static InformationUpdate CurrentInformationUpdate;
public static BracketUpdate bracketInfo;
public static Settings settings = new Se... | 1.376982 | 3157abd5a5af0014a7f72e3a55d4ece2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835799 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MaxKot/Log4JDash",
"max_stars_repo_path": "src/Log4JParserNet.Tests/EventExpectation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155019"
} | starcoder | <filename>src/Log4JParserNet.Tests/EventExpectation.cs
using System;
using System.Collections.Generic;
using NUnit.Framework;
namespace Log4JParserNet.Tests
{
public sealed class EventExpectation : IEquatable<Event>
{
public string Level { get; set; }
public string Logger { get; set; }
... | 2.466499 | bc7f3b1044b36d64cd7fa14f45b9afdf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835800 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ziriax/SkiaSharp",
"max_stars_repo_path": "binding/Binding/SKManagedStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155020"
} | starcoder | <gh_stars>0
using System;
using System.Buffers;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
namespace SkiaSharp
{
public class SKManagedStream : SKAbstractManagedStream
{
private Stream stream;
private bool isAsEnd;
private bool disposeStream;
private bool wasCopied;
privat... | 2.106192 | d5651ba981632a2b695f2e52d1462341 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835801 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MCKanpolat/StubMiddleware",
"max_stars_repo_path": "src/StubMiddleware.Core/Core/FakeDataGenerators/UserNameValueGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155021"
} | starcoder | namespace StubGenerator.Core.FakeDataGenerators
{
public class UserNameValueGenerator : IValueGenerator
{
public object Generate()
{
return Faker.Internet.UserName();
}
}
}
| 2.283306 | 7e2f6743e569d3e36c5db734c62f0701 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835802 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "MakoLab/RomanticWeb",
"max_stars_repo_path": "Tests/RomanticWeb.Tests/EntityContextFactoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155022"
} | starcoder | <filename>Tests/RomanticWeb.Tests/EntityContextFactoryTests.cs
using System;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using RomanticWeb.Mapping;
using RomanticWeb.Ontologies;
using RomanticWeb.TestEntities;
namespace RomanticWeb.Tests
{
[TestFixture]
public class EntityContextFacto... | 2.260161 | aee8ae59dbf6d136d9c2f90fd64b334e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835803 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mxttwoods/ISM240ClassMaterial",
"max_stars_repo_path": "archive/ISM240HW1/FlagsHW/Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155023"
} | starcoder | namespace FlagsHW
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name... | 2.24637 | cb26057bf7915149cb4ff7efa77d50a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835804 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "jtillman/vue.net",
"max_stars_repo_path": "src/Vue.Net/JavascriptConverters/VueComputedConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155024"
} | starcoder | <filename>src/Vue.Net/JavascriptConverters/VueComputedConverter.cs
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Newtonsoft.Json;
using Vue.Net.Javascript;
namespace Vue.Net
{
public class VueComputedConverter : JavascriptConverter<VueComputed>
{
public override void WriteJavascript(JavascriptText... | 2.578668 | 5a1d99f14e5332ac924f3323bd5777a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835805 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bobo4aces/04.SoftUni-CSharpFundamentals",
"max_stars_repo_path": "02. CSharp OOP Basics - 02. Working With Abstraction/Exercises/AbstractionExercises/06. Sneaking/Guard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155025"
} | starcoder | <reponame>bobo4aces/04.SoftUni-CSharpFundamentals<filename>02. CSharp OOP Basics - 02. Working With Abstraction/Exercises/AbstractionExercises/06. Sneaking/Guard.cs<gh_stars>1-10
namespace Sneaking
{
public class Guard
{
static public void MoveGuards(char[][] matrix)
{
for (int row ... | 3.550997 | f1aead6e281167d424232265dad12c19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835806 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BotMaster3000/NewsMoose",
"max_stars_repo_path": "NewsMooseClassLibrary/Interfaces/IDataBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155026"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NewsMooseClassLibrary.Models;
namespace NewsMooseClassLibrary.Interfaces
{
interface IDataBase
{
List<NewsPaper> GetNewsPapers();
List<NewsPaper> GetNewsPapers(Publisher pu... | 2.225056 | e4fad4ce4c015966a445f6f55043de54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835807 | {
"extension": "c-sharp",
"max_stars_count": "2818.0",
"max_stars_repo_name": "bonfirestudios/github-for-unity",
"max_stars_repo_path": "src/tests/IntegrationTests/Download/BaseTestWithHttpServer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155027"
} | starcoder | <reponame>bonfirestudios/github-for-unity
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using GitHub.Logging;
using GitHub.Unity;
namespace IntegrationTests
{
class BaseTestWithHttpServer : BaseIntegrationTest
{
protected virtual int Timeou... | 1.432525 | eb9e5021d4aef4651eaf0fe9e8b1f381 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835808 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/AccidentalFish.Foundations",
"max_stars_repo_path": "Source/AccidentalFish.Foundations.Resources.Abstractions/Queues/LargeMessageReference.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155028"
} | starcoder | <filename>Source/AccidentalFish.Foundations.Resources.Abstractions/Queues/LargeMessageReference.cs
namespace AccidentalFish.Foundations.Resources.Abstractions.Queues
{
/// <summary>
/// Used by the ILargeMessageQueueFactory and underlying queue to provide a reference to a blob containing the
/// large mess... | 2.283864 | 734b56ed3519ddbf45cfe45c5044b441 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ignatandrei/NetCoreRetarder",
"max_stars_repo_path": "src/NetCoreRetarder/NetCoreRetarderCore/RetarderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155029"
} | starcoder | using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Text;
namespace NetCoreRetarderCore
{
public static class RetarderExtensions
{
public static void AddRetarder(this IServiceCollection serviceCollection)
... | 2.264449 | b5727b619817a5a1327743edfaad339d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835810 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "noobwu/DotNetSamples",
"max_stars_repo_path": "NET6/NoobCore/Interfaces/Messaging/WorkerStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155030"
} | starcoder | namespace NoobCore.Messaging
{
/// <summary>
///
/// </summary>
public static class WorkerStatus
{
/// <summary>
/// The disposed
/// </summary>
public const int Disposed = -1;
/// <summary>
/// The stopped
/// </summary>
public const ... | 3.00582 | d5201055d01290ac9fc60e3e6d2d87c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835811 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kidfearless/kfgo",
"max_stars_repo_path": "code/swb_base/deathmatch_dep/ui/InventoryBar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155031"
} | starcoder | //using Sandbox;
//using Sandbox.UI;
//using SWB_Base;
//using System.Collections.Generic;
//using System.Diagnostics;
//using System.Linq;
///// <summary>
///// The main inventory panel, top left of the screen.
///// </summary>
//public class InventoryBar : Panel
//{
// List<InventoryColumn> _Columns = new();
// L... | 2.072274 | 90f73023f9cca29cbba7b16345294932 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.