added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811118 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abennet1314/abp-samples",
"max_stars_repo_path": "TelerikBlazorSample/src/TelerikBlazorSample.Application/TelerikBlazorSampleAppService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130338"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using TelerikBlazorSample.Localization;
using Volo.Abp.Application.Services;
namespace TelerikBlazorSample;
/* Inherit your application services from this class.
*/
public abstract class TelerikBlazorSampleAppService : ApplicationService
{
prote... | 1.743944 | af2d9fef63e0696688f2ed30b250ef25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811119 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guildenstern70/SmartBlazor",
"max_stars_repo_path": "SmartBlazor/Service/SessionService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130339"
} | starcoder | <filename>SmartBlazor/Service/SessionService.cs
/**
*
* Project SmartBlazor
* Copyright (C) 2022 <NAME> '<EMAIL>'
* This software is licensed under MIT License. See LICENSE.
*
**/
namespace SmartBlazor.Service;
public class SessionService : ISessionService
{
private readonly ILocalStorageService _localSt... | 2.501583 | b5e7b49c16e5914f3e8eeeebfccaf280 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811120 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "YoNeXia/VREyeTrackingAccuracyTest",
"max_stars_repo_path": "Assets/Scripts/PupilLabData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130340"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PupilLabData : MonoBehaviour
{
//left and right confidence text
public Text lconf;
public Text rconf;
//left and right pupil frame GO
public GameObject leftPupil;
public GameObje... | 2.422709 | cab719bafb580c857da964a175316280 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811121 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "markjohnnah/TheIdServer",
"max_stars_repo_path": "src/BlazorApp/Aguacongas.TheIdServer.BlazorApp.Infrastructure/Services/StringLocalizer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130341"
} | starcoder | <reponame>markjohnnah/TheIdServer
// Project: Aguafrommars/TheIdServer
// Copyright (c) 2020 @<NAME>
using Aguacongas.IdentityServer.Store;
using Aguacongas.IdentityServer.Store.Entity;
using FluentValidation.Results;
using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Logging;
using System;
using Syst... | 2.088657 | bc8c0fb97a24a95360196041912dcba3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811122 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "h7ga40/BlockFactory",
"max_stars_repo_path": "BlockFactory/Properties/Resources.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130342"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// このコードはツールによって生成されました。
// ランタイム バージョン:4.0.30319.42000
//
// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
// コードが再生成されるときに損失したりします。
// </auto-generated>
//---------------------------------------------------------... | 1.805575 | 3f061f9e53acbdbbb3cabc07d2744247 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811123 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "YevgenNabokov/ForgedOnce.TSLanguageServices",
"max_stars_repo_path": "ForgedOnce.TsLanguageServices.AstDescription/Model/TypeReferenceLiteral.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130343"
} | starcoder | <reponame>YevgenNabokov/ForgedOnce.TSLanguageServices
using System;
using System.Collections.Generic;
using System.Text;
namespace ForgedOnce.TsLanguageServices.AstDescription.Model
{
public class TypeReferenceLiteral
{
public List<TypeElement> Elements;
}
}
| 1.168373 | ef25a1764e05669511bca917a3bd8b02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811124 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "Moliman/BizHawk",
"max_stars_repo_path": "BizHawk.Client.DBMan/DBMan_MainForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130344"
} | starcoder | namespace BizHawk.Client.DBMan
{
partial class DBMan_MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if... | 1.660951 | 9e5e2bbdc5ed4644afd8f6e1aebdddaf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811125 | {
"extension": "c-sharp",
"max_stars_count": "67.0",
"max_stars_repo_name": "lissi-id/aries-framework-dotnet",
"max_stars_repo_path": "samples/blazorHosted/Source/Client/Features/Connection/Actions/FetchConnection/FetchConnectionHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130345"
} | starcoder | <gh_stars>10-100
namespace Hyperledger.Aries.AspNetCore.Features.Connections
{
using Hyperledger.Aries.AspNetCore.Features.Bases;
using BlazorState;
using MediatR;
using Newtonsoft.Json;
using System.Net.Http;
using System.Net.Http.Json;
using System.Threading;
using System.Threading.Tasks;
internal ... | 2.044775 | 5b874fa869f04bd115c50781d19fb5ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811126 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BSK-Baesick/Partita",
"max_stars_repo_path": "Assets/Naninovel/Runtime/UI/Title/TitleMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130346"
} | starcoder | <gh_stars>1-10
// Copyright 2017-2020 Elringus (<NAME>). All Rights Reserved.
using UniRx.Async;
using UnityEngine;
namespace Naninovel.UI
{
[RequireComponent(typeof(CanvasGroup))]
public class TitleMenu : CustomUI, ITitleUI
{
private IScriptPlayer scriptPlayer;
private string titleScript... | 1.915137 | f9468bc6e0e8dd941c197148e11ddcb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811127 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "horker/pscntk",
"max_stars_repo_path": "source/Horker.PSCNTK/Composite functions/Convolution.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130347"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
using System.Reflection;
using CNTK;
namespace Horker.PSCNTK
{
public partial class Composite
{
public static Function Convolution(Variable input, int[] filterShape, int numFilters, string activation, CNTKDictionary initializer, bool useBias, CNTKDiction... | 2.386047 | cca8a1c6248e022993d7cddf5d1a134f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811128 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrHarrisonBarker/OpenEvent",
"max_stars_repo_path": "OpenEvent.Web/Controllers/UserController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130348"
} | starcoder | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using OpenEvent.Data.Models.Analytic;
using OpenEvent.Data.Models.User;
using OpenEvent.Web.Services;
namespace OpenEvent.Web.Controllers
{
/// <summary>
///... | 2.536833 | 70f6a820a8f5cd5c03b585e4835f3133 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811129 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "fanlanweiy/luban_examples",
"max_stars_repo_path": "Projects/Csharp_Unity_bin_use_UnityEngine_Vector/Assets/Gen/condition/MultiRoleCondition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130349"
} | starcoder |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--------------------------------------------... | 2.137273 | 2508b74fcffa31b5614a145e70df4b6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811130 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mccallsolutions/UmbracoBase",
"max_stars_repo_path": "Source/UmbracoBase.Web/Globals/Attributes/ValidateAntiForgeryTokenOnAllPosts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130350"
} | starcoder | namespace UmbracoBase.Web.Globals.Attributes
{
using System.Net;
using System.Web.Helpers;
using System.Web.Mvc;
public class ValidateAntiForgeryTokenOnAllPosts : AuthorizeAttribute
{
public override void OnAuthorization(AuthorizationContext filterContext)
{
var request... | 1.899034 | 99b2c7c5572c5368e71cccd428c4c371 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811131 | {
"extension": "c-sharp",
"max_stars_count": "174.0",
"max_stars_repo_name": "Dasync/Dasync",
"max_stars_repo_path": "src/IoC/DependencyInjection/ServiceCollectionDasyncExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130351"
} | starcoder | <reponame>Dasync/Dasync
using Dasync.EETypes;
using Dasync.EETypes.Proxy;
using Dasync.Modeling;
using Microsoft.Extensions.DependencyInjection;
namespace Dasync.DependencyInjection
{
public static class ServiceCollectionDasyncExtensions
{
public static IServiceCollection AddCommunicationModel(this IS... | 2.073361 | 511add4c5bdf95ac3848018af37e513d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811132 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EazyCollectServices/EazyCollectSDK-Dotnet",
"max_stars_repo_path": "EazySDK/Utilities/SchedulesReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130352"
} | starcoder | <filename>EazySDK/Utilities/SchedulesReader.cs
using System;
using System.IO;
using Newtonsoft.Json.Linq;
using Microsoft.Extensions.Configuration;
namespace EazySDK.Utilities
{
public class SchedulesReader
{
private static string Schedules { get; set; }
private static string Environment { get... | 2.670548 | cf16cbafe92803cc55356cf2ef7a96a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811133 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "mdamyanova/C-Sharp-Web-Development",
"max_stars_repo_path": "03.Object-Oriented Programming/Homework/01.Defining Classes/03.PCCatalog/Component.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130353"
} | starcoder | using System;
namespace _03.PCCatalog
{
public class Component
{
private string name;
private string details;
private decimal price;
public string Name
{
get { return this.name; }
set
{
if (value.Length < 3)
... | 3.770315 | d933f6713708d55013c5ad575877f3df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mitch528/SignalR-Server",
"max_stars_repo_path": "src/Microsoft.AspNet.SignalR.Server/Hubs/HubConnectionContextBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130354"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using Microsoft.AspNet.SignalR.Infrastructure;
namespace Microsoft.AspNet.SignalR.Hubs
{
public cl... | 2.16696 | df674c0790faa46c55e69e9563a5a074 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811135 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "knutjelitto/Mean",
"max_stars_repo_path": "Mean.Tree/Items/TypeId.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130355"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Mean.Tree.Items
{
public class TypeId : IdItem
{
public TypeId(Identifier identifier)
: base(identifier)
{
}
}
}
| 1.718633 | 38e86e4744fc7095f3df0042aeb13395 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811136 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "matatabi-ux/UniRx",
"max_stars_repo_path": "Assets/Plugins/UniRx/Scripts/Operators/Merge.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130356"
} | starcoder | using System;
using System.Collections.Generic;
#if SystemReactive
using System.Reactive.Disposables;
namespace System.Reactive.Linq
#else
namespace UniRx.Operators
#endif
{
internal class MergeObservable<T> : OperatorObservableBase<T>
{
private readonly IObservable<IObservable<T>> sources;
p... | 2.38486 | f4865d09a65cfe36935605210c7f5d8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811137 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "mrumeshkumar/PocoSqlGenerator",
"max_stars_repo_path": "PocoSqlGenerator/MainForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130357"
} | starcoder | <reponame>mrumeshkumar/PocoSqlGenerator<gh_stars>1-10
namespace PocoSqlGenerator
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any re... | 1.983425 | df847314d5029615dce3f6735f7f8a98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811138 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "Emma-ms/Cognitive-Services-Voice-Assistant",
"max_stars_repo_path": "clients/csharp-uwp/UWPVoiceAssistantSample/DirectLineSpeechDialogBackend.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130358"
} | starcoder | <filename>clients/csharp-uwp/UWPVoiceAssistantSample/DirectLineSpeechDialogBackend.cs<gh_stars>10-100
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace UWPVoiceAssistantSample
{
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
... | 1.918348 | b6dd78b1881f28cf755b7a18559cb7c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811139 | {
"extension": "c-sharp",
"max_stars_count": "429.0",
"max_stars_repo_name": "skeptycal/RTVS",
"max_stars_repo_path": "src/R/Core/Impl/Tokens/RToken.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130359"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Diagnostics;
using Microsoft.Languages.Core.Text;
using Microsoft.Languages.Core.Tokens;
namespace Microsoft.R.Core.Tokens {
[Debugge... | 2.674345 | dccbe01cb6e8e9269c83ae81f113c956 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811140 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "unity-game-framework/ugf-build",
"max_stars_repo_path": "Packages/UGF.Build/Editor/BuildLogScope.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130360"
} | starcoder | <gh_stars>0
using System;
using UnityEngine;
namespace UGF.Build.Editor
{
public readonly struct BuildLogScope : IDisposable
{
private readonly bool m_enable;
private readonly LogType m_filter;
public BuildLogScope(bool enable, LogType filter)
{
m_enable = Debug.un... | 1.594067 | b2505067d8a79e1422d78a680b04449c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811141 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "twenzel/Cake.Docker",
"max_stars_repo_path": "src/Cake.Docker/Network/Connect/Docker.Aliases.NetworkConnect.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130361"
} | starcoder | <reponame>twenzel/Cake.Docker
using Cake.Core;
using Cake.Core.Annotations;
using System;
using System.Collections.Generic;
namespace Cake.Docker
{
// Contains functionality for working with network connect command.
partial class DockerAliases
{
/// <summary>
/// Connects a container to a ... | 2.34016 | 91c6b7de7c8613363493158f22733af1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811142 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nicotruchi/cottle",
"max_stars_repo_path": "Cottle.Demo/src/NodeData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130362"
} | starcoder | <filename>Cottle.Demo/src/NodeData.cs
using System;
namespace Cottle.Demo
{
public class NodeData
{
#region Properties
public int ImageIndex
{
get
{
return (int)this.value.Type;
}
}
public string Key
{
get
{
return this.key;
}
}
public Value Value
{
get
{
ret... | 2.571381 | fa95f9400891dc2a11245165796608b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811143 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "tgsstdio/Magnesium",
"max_stars_repo_path": "Queue/MgSubmitInfoWaitSemaphoreInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130363"
} | starcoder | namespace Magnesium
{
public class MgSubmitInfoWaitSemaphoreInfo
{
public IMgSemaphore WaitSemaphore { get; set; }
public MgPipelineStageFlagBits WaitDstStageMask { get; set;}
}
}
| 1.484441 | 63653ca277da0dd0b71012afc983d5fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811144 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "crupest/Timeline",
"max_stars_repo_path": "BackEnd/Timeline/Services/User/BasicUserService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130364"
} | starcoder | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Timeline.Entities;
using Timeline.Models.Validation;
namespace Timeline.Services.User
{
public class BasicUserService : IBasicUserService
{
private re... | 2.672949 | 7bf41cd6c96d4f0639193d7f6bafb418 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811145 | {
"extension": "c-sharp",
"max_stars_count": "446.0",
"max_stars_repo_name": "aumcode/nfx",
"max_stars_repo_path": "Source/Testing/NUnit/NFX.NUnit/Erlang/ErlTermTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130365"
} | starcoder | /*<FILE_LICENSE>
* NFX (.NET Framework Extension) Unistack Library
* Copyright 2003-2018 Agnicore Inc. portions ITAdapter Corp. Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... | 2.008159 | 653c0cd1b3d6a96dc7824f1102b0756f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811146 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OksXen/Employee-Activity",
"max_stars_repo_path": "src/Tech Solutions DotNet Library/Settings/DBSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130366"
} | starcoder | using Microsoft.Extensions.Configuration;
using TechSolutionsLibs.Settings.Interface;
namespace TechSolutionsLibs.Settings
{
public class DBSettings : IDBSettings
{
string _connectionString;
public string ConnectionString { get { return _connectionString; } set { _connectionString = value; } }... | 2.415391 | ca9b27c4fc06c0fecfc414d668d23f30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811147 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "salesforce/MagiQL",
"max_stars_repo_path": "src/ScenarioTests/Scenarios/Scenario3-PlayerStatistics/Secnarios.Scenario3.Tests.Integration/MatchStatisticsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130367"
} | starcoder | <gh_stars>1-10
using NUnit.Framework;
namespace Scenarios.Scenario3.Tests.Integration
{
[TestFixture]
public class MatchStatisticsTests
{
// group by PlayerMatchStatistics_ID
// summarize by Match_ID
//-------------------
// find match with most goals
// find matc... | 1.201887 | 8a141311a199f746368dc3885d847724 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811148 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JorgeCandeias/orleans",
"max_stars_repo_path": "test/Extensions/TesterAdoNet/Reminders/ReminderTests_AdoNet_SqlServer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130368"
} | starcoder | <reponame>JorgeCandeias/orleans
//#define USE_SQL_SERVER
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Orleans.Hosting;
using Orleans.TestingHost;
using TestExtensions;
using UnitTests.General;
using UnitTests.GrainInterfaces;
using UnitTe... | 1.426818 | f27379575089f74d6a346a420d251f7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811149 | {
"extension": "c-sharp",
"max_stars_count": "568.0",
"max_stars_repo_name": "heroboy/XUnity.AutoTranslator",
"max_stars_repo_path": "src/XUnity.AutoTranslator.Plugin.Core/Hooks/ImageHooks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130369"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using UnityEngine;
using XUnity.AutoTranslator.Plugin.Core.Constants;
using XUnity.AutoTranslator.Plugin.Core.Extensions;
using XUnity.Common.Constants;
using XUni... | 1.52536 | b8caff0d41c3d95c1c74d3f9f79bf1e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sauceforge/SauceryX",
"max_stars_repo_path": "SauceryXTester/Tests/GlobalSetup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130370"
} | starcoder | <filename>SauceryXTester/Tests/GlobalSetup.cs<gh_stars>0
using System;
using System.Collections.Generic;
namespace SauceryXTester.Tests {
[SetUpFixture]
public class GlobalSetup {
[OneTimeSetUp]
public void RunBeforeAnyTests() {
var validator = new ActivationValidator();
... | 2.356261 | afc43067a859a302f2418c5e6b417ef5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811151 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vozhyk96/BankSystem",
"max_stars_repo_path": "BankSystem/Models/ViewModels/ChangeMoney.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130371"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BankSystem.Models.ViewModels
{
public class ChangeMoney
{
public int CardId { get; set; }
public double money { get; set; }
public bool isAdd { get; set; }
}
} | 1.605555 | 0b39f5b08f23ef96bec354871067f69a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811152 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gazchap/CmdQueue",
"max_stars_repo_path": "frmMain.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130372"
} | starcoder | using System;
using System.Data;
using System.Linq;
using System.Windows.Forms;
using System.Diagnostics;
using System.Runtime.InteropServices;
using Newtonsoft.Json;
using System.Collections.Specialized;
using System.IO;
namespace CmdQueue
{
public partial class frmMain : Form
{
private bool queueStarted = false... | 2.396806 | 8a7f95c91a545e45b2582ec09af59b34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811153 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hjaelp-jeg-er-en-fisk/video-store",
"max_stars_repo_path": "src/VideoStore/Services/IPriceCalculatorService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130373"
} | starcoder | <reponame>hjaelp-jeg-er-en-fisk/video-store
using VideoStore.Enums;
using VideoStore.Models;
namespace VideoStore.Services
{
public interface IPriceCalculatorService
{
double GetSingleRentalPrice(PriceCode code, int daysRented);
}
} | 1.101661 | 13fe01360597012c42b63e275c46c475 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811154 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sedc-codecademy/skwd9-net-08-aspnetmvc",
"max_stars_repo_path": "G4/Class02/SEDC.PizzaApp/SEDC.PizzaApp/Views/Order/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:130374"
} | starcoder | <h1>Hello from Order/Index</h1> | 0.709158 | ca233b34382bfcb422bb6c3bbe85cafe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811155 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TryStatic/nw-tradingpost-price-extractor",
"max_stars_repo_path": "TradingPostDataExtractor/NonInvasiveKeyboardHookLibrary/ModifierKeys.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130375"
} | starcoder | using System;
namespace TradingPostDataExtractor.NonInvasiveKeyboardHookLibrary
{
[Flags]
public enum ModifierKeys
{
Alt = 1,
Control = 2,
Shift = 4,
WindowsKey = 8,
}
public static class ModifierKeysUtilities
{
public static ModifierKeys? GetModifierKe... | 2.617231 | 94e54d1c1c8ad27647fb9e4674e188d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811156 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jslicer/elasticsearch-net",
"max_stars_repo_path": "src/Tests/ClientConcepts/Certificates/SslAndKpiXPackCluster.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130376"
} | starcoder | <reponame>jslicer/elasticsearch-net
using System.IO;
using System.IO.Compression;
using System.Linq;
using Nest;
using Tests.Framework;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Tests.Framework.ManagedElasticsearch.Nodes;
using Tests.Framework.ManagedElasticsearch.Plugins;
using Tests.Framework.Manage... | 1.750567 | 9479ac6c4a62f5d106e257afc8d72849 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811157 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "georghinkel/ttc2017smartGrids",
"max_stars_repo_path": "generator/Schema/IEC61970/Informative/InfWork/IMiscCostItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130377"
} | starcoder | <reponame>georghinkel/ttc2017smartGrids<filename>generator/Schema/IEC61970/Informative/InfWork/IMiscCostItem.cs
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderun... | 1.258654 | ce4deeba94b99716ac1650e7cb0c6e87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811158 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ChristopherSchubert/com.appalachia.unity3d.appa.collections",
"max_stars_repo_path": "src/Implementations/List/AppaList_ParentConstraint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130378"
} | starcoder | #region
using System;
using UnityEngine.Animations;
#endregion
namespace collections.src.Implementations.List
{
[Serializable]
public sealed class AppaList_ParentConstraint : AppaList<ParentConstraint>
{
public AppaList_ParentConstraint()
{
}
public AppaList_ParentConstra... | 1.715575 | 8596ff0f33190e2e031d789b4de563e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811159 | {
"extension": "c-sharp",
"max_stars_count": "6451.0",
"max_stars_repo_name": "hadi-zamani/Xamarin.Forms",
"max_stars_repo_path": "Xamarin.Forms.Core/Slider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130379"
} | starcoder | <filename>Xamarin.Forms.Core/Slider.cs
using System;
using System.ComponentModel;
using System.Windows.Input;
using Xamarin.Forms.Internals;
using Xamarin.Forms.Platform;
namespace Xamarin.Forms
{
[RenderWith(typeof(_SliderRenderer))]
public class Slider : View, ISliderController, IElementConfiguration<Slider>
{
... | 2.366703 | 7760ef9a4191a744832b2fcc3690bcbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811160 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ddieruf/kubernetes-client-csharp",
"max_stars_repo_path": "src/KubernetesClient/generated/Models/V2beta2HPAScalingRules.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130380"
} | starcoder | // <auto-generated>
// Code generated by https://github.com/kubernetes-client/csharp/tree/master/gen/KubernetesGenerator
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace k8s.Models
{
using Microsoft.Rest;
using Newtonsoft.Json;
using Sys... | 2.162633 | 2eb746018b65a5fe06c8bb22ac282ad9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811161 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "dennis-kuypers-gcx/Alexa.NET.Management",
"max_stars_repo_path": "Alexa.NET.Management/Nlu/CreateEvaluationRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130381"
} | starcoder | <reponame>dennis-kuypers-gcx/Alexa.NET.Management
using Alexa.NET.Management.Api;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Alexa.NET.Management.Nlu.Evaluation
{
public class CreateEvaluationRequest
{
public CreateEvaluationRequest() { }
public CreateEvaluationRequest... | 1.783275 | c36e628421b1ce396420b864e6d41d95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811162 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "monounity/GetGit",
"max_stars_repo_path": "src/Application/src/Tfs/Api/Implementation/Changeset.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130382"
} | starcoder | using System;
using System.Diagnostics.CodeAnalysis;
using GetGit.Tfs.Api.Interface;
using tfs = Microsoft.TeamFoundation.VersionControl.Client;
namespace GetGit.Tfs.Api.Implementation
{
[ExcludeFromCodeCoverage]
public class Changeset : IChangeset
{
private readonly tfs.Changeset _changeset;
... | 2.401949 | 61253ca53057ab42d45afdb59ce5b53f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811163 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterson1/FreshCopy",
"max_stars_repo_path": "FreshCopy.Client.Lib45/ProblemReporters/ProblemReportWindow1.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130383"
} | starcoder | <reponame>peterson1/FreshCopy
using System.Windows;
namespace FreshCopy.Client.Lib45.ProblemReporters
{
public partial class ProblemReportWindow1 : Window
{
public ProblemReportWindow1()
{
InitializeComponent();
Loaded += (a, b) =>
{
VM.Close... | 1.569968 | 289224d90cf0eee7be4dff47435af878 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811164 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lordhollow/NPVA",
"max_stars_repo_path": "npva/DB/PartPv.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130384"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace npva.DB
{
/// <summary>
/// 部分別PV1日分
/// </summary>
[XmlType("ppv")]
public class PartPv
{
/// <summary>
/// 部分
... | 2.435152 | e3cf2c715eab5b1ccb6c66487841a6be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811165 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeertvanHorrik/OctopusCLI",
"max_stars_repo_path": "source/Octopus.Cli/Commands/Releases/CreateReleaseCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130385"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Octopus.Cli.Commands.Deployment;
using Octopus.Cli.Repositories;
using Octopus.Cli.Util;
using Octopus.Client;
using Octopus.Client.Exceptions;
using Octopus.Client.Model;
using Octopus.Client.Model.... | 1.993591 | 1f44ef05ddceb6b8d92afc818cd3f105 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811166 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mkalkbrenner/flexdmd",
"max_stars_repo_path": "FlexDMD/Scenes/Scene.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130386"
} | starcoder | <reponame>mkalkbrenner/flexdmd
/* Copyright 2019 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable... | 2.65107 | 161ef9cc68a671633d9be20b242ca086 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811167 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "skunklab/SkunkLab.Core",
"max_stars_repo_path": "src/SkunkLab.Protocols/Coap/ICoapRequestDispatch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130387"
} | starcoder | using System;
using System.Threading.Tasks;
namespace SkunkLab.Protocols.Coap
{
public interface ICoapRequestDispatch : IDisposable
{
string Identity { set; }
Task<CoapMessage> PostAsync(CoapMessage message);
Task<CoapMessage> GetAsync(CoapMessage message);
Task<CoapMessage> ... | 1.692848 | 17aabe55a0f72cec16bef43b008cdd3b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811168 | {
"extension": "c-sharp",
"max_stars_count": "86.0",
"max_stars_repo_name": "M-Mommsen/BinaryKits.Zpl",
"max_stars_repo_path": "src/BinaryKits.Zpl.Label/ZplEngine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130388"
} | starcoder | <gh_stars>10-100
using BinaryKits.Zpl.Label.Elements;
using System;
using System.Collections.Generic;
using System.Linq;
namespace BinaryKits.Zpl.Label
{
public class ZplEngine : List<ZplElementBase>
{
/// <summary>
/// Start an empty engine
/// </summary>
public ZplEngine() { ... | 2.660387 | e1184f54a013f7dca1abd98d4c7b0b83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811169 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "swedishboy/smartakartan3.0",
"max_stars_repo_path": "Source/SmartMap.Web/Infrastructure/IBusinessRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130389"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using SmartMap.Web.Models;
using SmartMap.Web.Util;
namespace SmartMap.Web.Infrastructure
{
public interface IBusinessRepository
{
Task<IList<BusinessElasticModel>> GetAll(int from = 0, int size = CmsVariable.ElasticSize);
Task<bo... | 1.868373 | 9c56581de9a1e560ca8ed0e8d0cba482 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811170 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BoundfoxStudios/object-pooling",
"max_stars_repo_path": "Assets/Game/Player/PlayerController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130390"
} | starcoder | using BoundfoxStudios.ObjectPoolingSample.Laser;
using UnityEngine;
namespace BoundfoxStudios.ObjectPoolingSample.Player
{
[RequireComponent(typeof(Rigidbody2D))]
public class PlayerController : MonoBehaviour
{
private Rigidbody2D _rigidbody;
public Camera Camera;
public LaserShooter LaserShooter;
... | 2.420714 | c498f085718d01c07566bafd3bb5d10e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811171 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "insightmind/MORR",
"max_stars_repo_path": "application/Common/SharedTest/TestHelpers/Producer-Consumer/TestProducer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130391"
} | starcoder | <gh_stars>1-10
using System;
using System.Diagnostics;
using System.Threading;
using MORR.Shared.Events.Queue.Strategy;
using SharedTest.TestHelpers.Event;
using SharedTest.TestHelpers.Result;
namespace SharedTest.TestHelpers
{
/*
* The TestProducer class provides a mock for a simple producer of TestEvents w... | 2.715615 | 4901dafdce22a6fc336bda9319d88918 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811172 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "palzj/OpenLiveWriter",
"max_stars_repo_path": "src/managed/OpenLiveWriter.PostEditor/Configuration/TemporaryBlogSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130392"
} | starcoder | <reponame>palzj/OpenLiveWriter<gh_stars>1-10
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Collections;
using System... | 1.433284 | c95b005f4ccc1bb3d4366c33712cda81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811173 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "forki/AkkaActorModel",
"max_stars_repo_path": "AkkaActor.Demos/Communication.Demo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130393"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AkkaActor.Demos
{
using System;
using Akka.Actor;
public class Communication
{
private static ActorSystem system;
private static IActorRef fbActor;
private static I... | 3.052313 | 8952ed4a21eb2d3ca10b3cf25bcdd001 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811174 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hussinhassan80/Nethereum",
"max_stars_repo_path": "src/Nethereum.Quorum/RPC/Permission/QuorumPermissionGetOrgDetails.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130394"
} | starcoder | <filename>src/Nethereum.Quorum/RPC/Permission/QuorumPermissionGetOrgDetails.cs
using Nethereum.JsonRpc.Client;
using Newtonsoft.Json.Linq;
using System.Threading.Tasks;
namespace Nethereum.Quorum.RPC.Permission
{
///<Summary>
/// Returns lists of accounts, nodes, roles, and sub-organizations linked to the spe... | 2.403429 | 5b9d01e5b11174dc17ce606c16f93954 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811175 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "maidsafe/sn_app_mobile",
"max_stars_repo_path": "MobileSnapp/MobileSnapp/ViewModels/Common/BaseViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130395"
} | starcoder | using MobileSnapp.Services;
using Xamarin.Forms;
namespace MobileSnapp.ViewModels.Common
{
public class BaseViewModel : MvvmHelpers.BaseViewModel
{
public IPlatformService PlatformService =>
DependencyService.Get<IPlatformService>();
}
}
| 1.289677 | 4c6b50f4e4846aef2b9f287722317911 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811176 | {
"extension": "c-sharp",
"max_stars_count": "87.0",
"max_stars_repo_name": "bovorasr/DotMarkdown",
"max_stars_repo_path": "src/DotMarkdown/BulletListStyle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130396"
} | starcoder | <reponame>bovorasr/DotMarkdown
// Copyright (c) <NAME>. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace DotMarkdown
{
public enum BulletListStyle
{
Asterisk = 0,
Plus = 1,
Minus = 2,
}
}
| 1.481906 | 2255067c28285ad641a83b8a5ec40db6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811177 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RocketSurgeonsGuild/FluentValidation",
"max_stars_repo_path": "src/Extensions.FluentValidation/PolymorphicPropertyValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130397"
} | starcoder | // using System;
// using System.Collections.Concurrent;
// using System.Collections.Generic;
// using System.Linq;
// using System.Threading;
// using System.Threading.Tasks;
// using FluentValidation;
// using FluentValidation.Internal;
// using FluentValidation.Results;
// using FluentValidation.Validators;
// using... | 2.124758 | b00d3f99be12061de013ece374da7c37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811178 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Anberm/Blazorise",
"max_stars_repo_path": "Source/Blazorise.Bulma/Config.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130398"
} | starcoder | <filename>Source/Blazorise.Bulma/Config.cs<gh_stars>0
#region Using directives
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
#if NETSTANDARD2_0
using Microsoft.AspNetCore.Components.Builder;
#elif NETCORE3_0
using Microsoft.AspNetCore.Builder;
#endif
using Microsoft.E... | 1.910195 | ef6bc16daadc6c3ac4f59b0f5a5e6d02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811179 | {
"extension": "c-sharp",
"max_stars_count": "121.0",
"max_stars_repo_name": "sisisin/pulumi-gcp",
"max_stars_repo_path": "sdk/dotnet/AccessContextManager/Inputs/ServicePerimeterSpecIngressPolicyIngressFromArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130399"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.799266 | f3ecd96d9e808e9f34460d2dce9584d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811180 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "liviumuraru/newspaper-coreASP-webAPI",
"max_stars_repo_path": "Services/Abstract/Removal/IRemovalService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130400"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Services.Abstract.Removal
{
public interface IRemovalService<in T_id>
{
void Remove(T_id id);
}
}
| 1.739363 | c97b34a0189549c4d6ce8bee2b90c2a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811181 | {
"extension": "c-sharp",
"max_stars_count": "3557.0",
"max_stars_repo_name": "YuliiaKovalova/winforms",
"max_stars_repo_path": "src/System.Windows.Forms.Analyzers/tests/UnitTests/Verifiers/VisualBasicCodeFixVerifier`2+Test.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130401"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Test... | 1.259638 | 9ca2a4d89c869145a19aafa5474ee40e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811182 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yatagarasu25/UE4AssistantCLI",
"max_stars_repo_path": "UE4AssistantCLI/CommandLineVerbs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130402"
} | starcoder | #if false
namespace UE4AssistantCLI
{
[Verb("add", HelpText = "Add item to the project.")]
internal class AddVerb
{
[Value(0, Required = true, HelpText = "Item type.")]
public string ItemType { get; set; }
[Value(1, Required = false, HelpText = "Item parameters.", Hidden = true)]
public IEnumerable<string... | 2.086777 | a7db2f91c2bc8c79f6c07411576de403 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811183 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mschlege1838/tes3-net",
"max_stars_repo_path": "TES3.Records/Processing/Definitions/LEVC/Names.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130403"
} | starcoder | <gh_stars>0
namespace TES3.Records.Processing.Definitions.LEVC
{
static class Names
{
internal static readonly string[] InitialSubRecordOrder = new string[]
{
"NAME",
"DELE",
"DATA",
"NNAM",
"INDX"
};
}
}
| 0.787699 | 75d5d4efc4eaac726eede49ec51864b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811184 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "casper-a-hansen/CodeSignal",
"max_stars_repo_path": "CodeSignalSolutions/TheCore/IntroGates/maxMultipleClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130404"
} | starcoder | /*
Status: Solved
Imported: 2020-05-02 12:08
By: Casper
Url: https://app.codesignal.com/arcade/code-arcade/intro-gates/HEsmEacHr2s9wahjr
Description:
Given a divisor and a bound, find the largest integer N such that:
N is divisible by divisor.
N is less than or ... | 2.913444 | 03028add703ecc5fd0918039db40ff5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811185 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "proftom/SteamDatabaseBackend",
"max_stars_repo_path": "Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130405"
} | starcoder | <reponame>proftom/SteamDatabaseBackend
/*
* Copyright (c) 2013, SteamDB. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: AssemblyTitl... | 1.675689 | 0da33638f56dcb8d358119e2f509c37e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811186 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "stack72/pulumi-scaleway",
"max_stars_repo_path": "sdk/dotnet/GetKubernetesNodePool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130406"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
using ... | 1.759139 | 13bd440faf20f4cb631b7f8d060aefdc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811187 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "scscgit/XchangeCrypt-Backend",
"max_stars_repo_path": "DatabaseAccess/Control/VersionControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130407"
} | starcoder | <gh_stars>1-10
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace XchangeCrypt.Backend.DatabaseAccess.Control
{
public class VersionControl
{
private readonly ILogger<VersionControl> _logger;
private readonly SemaphoreSlim _semaphor... | 2.873563 | afe1c0c877560a00818f70b5d745e375 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811188 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "hananoki/SharedModule",
"max_stars_repo_path": "UnityReflection/UnityEditor/UnityEditorEditorUserBuildSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130408"
} | starcoder | /// UnityEditor.EditorUserBuildSettings : 2019.4.5f1
using HananokiEditor;
using System;
using System.Reflection;
namespace UnityReflection {
public sealed partial class UnityEditorEditorUserBuildSettings {
public static class Cache<T> {
public static T cache;
}
public static UnityEditor.BuildTargetGrou... | 1.763054 | 00cf923ac84d79ebf671fcae231b71af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811189 | {
"extension": "c-sharp",
"max_stars_count": "94.0",
"max_stars_repo_name": "vladyslav-burylov/resharper-structured-logging",
"max_stars_repo_path": "test/data/Analyzers/ContextualLoggerConstructor/MicrosoftCorrectContextType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130409"
} | starcoder | <gh_stars>10-100
using Microsoft.Extensions.Logging;
class A
{
ILogger<A> _log;
public A(ILogger<A> log)
{
_log = log;
}
}
| 2.101054 | c739839d340fea068f0cfec3f43dc0a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811190 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LarsFin/API-Farm",
"max_stars_repo_path": "csharp/aspnet/ApiFarm.Test/Repositories/InMemoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130410"
} | starcoder | using System.Collections.Generic;
using ApiFarm.Models;
using ApiFarm.Repositories;
using ApiFarm.Utils;
using Moq;
using NUnit.Framework;
using Shouldly;
namespace ApiFarm.Test.Repositories
{
public class InMemoryTests
{
private InMemory<Model> subject;
private Mock<ICloner<Model>> mockClone... | 2.568814 | 8207872c744e981849348459369b3f15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811191 | {
"extension": "c-sharp",
"max_stars_count": "87.0",
"max_stars_repo_name": "blaxdev/rhino-mocks",
"max_stars_repo_path": "Rhino.Mocks.Tests/FieldsProblem/FieldProblem_Sander.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130411"
} | starcoder | <reponame>blaxdev/rhino-mocks
using System;
using Xunit;
namespace Rhino.Mocks.Tests.FieldsProblem
{
public class FieldProblem_Sander
{
[Fact]
public void CanUseOutIntPtr()
{
MockRepository mocks = new MockRepository();
IFooWithOutIntPtr mock = m... | 2.414363 | d9bea5898c0949e3c492435de3a6725c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811192 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mkfeuhrer/Vision",
"max_stars_repo_path": "Assets/bot/animationController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130412"
} | starcoder | <reponame>mkfeuhrer/Vision
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class animationController : MonoBehaviour {
Animator anim ;
void Start () {
anim = this.GetComponent<Animator> ();
}
/*void Update () {
float vertical = Input.GetAxis ("Vertical");
if (vertic... | 2.019552 | 8428a8b887ab479c2a9d370934ecc8fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811193 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "starpeng/JdSdk2",
"max_stars_repo_path": "Source/JdSdk/response/supplier/ReturnOrderDetailForJosDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130413"
} | starcoder | <gh_stars>10-100
using System;
using System.Xml.Serialization;
using System.Collections;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace JdSdk.Response.Supplier
{
[Serializable]
public class ReturnOrderDetailForJosDto : JdObject
{
[JsonProperty("skuId")]
public String ... | 1.536074 | c9cefd0cb0c297e8b54eb694799ebcef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811194 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "SmashPhil/Boats",
"max_stars_repo_path": "Source/Vehicles/CustomFeatures/Spawner/VehicleGenerationRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130414"
} | starcoder | <reponame>SmashPhil/Boats<filename>Source/Vehicles/CustomFeatures/Spawner/VehicleGenerationRequest.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Verse;
using RimWorld;
using UnityEngine;
namespace Vehicles
{
public struct VehicleGenerationRequest
{
public VehicleDef VehicleDef { get;... | 2.212389 | cef3821b4cc8906ef620ef27f288164d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811195 | {
"extension": "c-sharp",
"max_stars_count": "679.0",
"max_stars_repo_name": "mzucca/Orchard.JabbR",
"max_stars_repo_path": "Commands/MemeCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130415"
} | starcoder | <gh_stars>100-1000
using System;
using JabbR.Models;
using Microsoft.AspNet.SignalR;
namespace JabbR.Commands
{
[Command("meme","Meme_CommandInfo", "meme-type top-line bottom-line", "user")]
public class MemeCommand : UserCommand
{
public override void Execute(CommandContext context, CallerContext... | 2.373958 | 1526844747262d9ff27e8928e7fac5ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811196 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "turhaltemizer/botframework-solutions",
"max_stars_repo_path": "skills/csharp/tests/todoskill.tests/Flow/DeleteToDoFlowTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130416"
} | starcoder | <gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Specialized;
using System.Threading.Tasks;
using Microsoft.Bot.Schema;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ToDoSkill.Responses.DeleteToDo;
using T... | 1.631172 | ef55f269e1abac981de0875a5263b1f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811197 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AccelByte/accelbyte-csharp-sdk",
"max_stars_repo_path": "samples/AccelByte.Sdk.Sample.Cli/ApiCommand/Iam/OAuth20/Verify2faCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130417"
} | starcoder | <gh_stars>0
// Copyright (c) 2022 AccelByte Inc. All Rights Reserved.
// This is licensed software from AccelByte Inc, for limitations
// and restrictions contact your company contract manager.
// This code is generated by tool. DO NOT EDIT.
using System;
using System.IO;
using System.Collections.Generic;
using Acce... | 1.565832 | def0e533e564b7cba71214c30d4dc06f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811198 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UndeadRat22/OSPF",
"max_stars_repo_path": "OSPF/OSPF/Network.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130418"
} | starcoder | <filename>OSPF/OSPF/Network.cs
using OSPF.Settings;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace OSPF
{
public class Network
{
private List<Router> _routers;
public Network()
{
_routers = new List<Router>();
... | 3.205974 | b38b6263d6d823f988565fde90a51f9f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811199 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "nano-byte/common",
"max_stars_repo_path": "src/Common/Storage/Locations.Directories.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130419"
} | starcoder | <reponame>nano-byte/common
// Copyright <NAME>
// Licensed under the MIT License
using NanoByte.Common.Native;
namespace NanoByte.Common.Storage;
partial class Locations
{
/// <summary>
/// The home/profile directory of the current user.
/// </summary>
public static string HomeDir => Envi... | 2.421416 | 929f9b23ae510b844b49d49d4b36d042 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811200 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "nerzhul250/MetaTrader4.Manager.Wrapper",
"max_stars_repo_path": "src/P23.MetaTrader4.Manager.Contracts/Configuration/Time.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130420"
} | starcoder | using System.Collections.Generic;
namespace P23.MetaTrader4.Manager.Contracts.Configuration
{
/// <summary>
/// Object that represents time configuration
/// </summary>
public class Time
{
/// <summary>
/// Server's accessebility (7 days-24 hours, 0-denied, 1-allowed)
/// <... | 2.289879 | 7be960f66813204009a463ae77ca6d87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811201 | {
"extension": "c-sharp",
"max_stars_count": "113.0",
"max_stars_repo_name": "tedvanderveen/octokit.graphql.net",
"max_stars_repo_path": "Octokit.GraphQL/Model/SecurityVulnerability.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130421"
} | starcoder | namespace Octokit.GraphQL.Model
{
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using Octokit.GraphQL.Core;
using Octokit.GraphQL.Core.Builders;
/// <summary>
/// An individual vulnerability within an Advisory
/// </summary>
public class SecurityVuln... | 2.630425 | 22765b96327a822b3fef4ac196e18599 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811202 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Jbond312/PlexRequestsApi",
"max_stars_repo_path": "src/PlexRequests.Functions/Features/Requests/Queries/GetTvPagedRequestQueryHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130422"
} | starcoder | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using MediatR;
using PlexRequests.Core.Services;
using PlexRequests.Functions.Features.Requests.Models.Detail;
namespace PlexRequests.Functions.Features.Requests.Queries
{
public class GetTvPagedRequestQueryHa... | 2.289429 | 94d3650fd6ecadc3f7d750c879b1bdc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811203 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "xdedzl/XFramework",
"max_stars_repo_path": "XFramework/Assets/XFramework/Core/Runtime/Tools/Serialize/ProtocolBytes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130423"
} | starcoder | <gh_stars>10-100
// ==========================================
// 描述:
// 作者: HAK
// 时间: 2018-11-13 08:38:23
// 版本: V 1.0
// ==========================================
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using UnityEngine;
namespace XFramework
{
/// <summary>... | 2.770005 | 646b078b1b9aa23323485f5538cd4579 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811204 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "xoofx/GitLib.NET",
"max_stars_repo_path": "src/GitLib.Tests/transaction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130424"
} | starcoder | <gh_stars>10-100
using System;
using System.IO;
using NUnit.Framework;
namespace GitLib.Tests
{
using static libgit2;
public partial class TransactionTests
{
[Test]
public void Test_git_transaction_new()
{
Assert.Fail($"Tests for method `{nameof(git_transaction_ne... | 1.746321 | 1bda6bdd0515fd245897874151199fa4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811205 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "seomse/seomse-kiwoom-api",
"max_stars_repo_path": "KiwoomApi/Control/Api/SocketApi/Message/KWTRD001.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130425"
} | starcoder | using KiwoomApi.Control.Api.KiwoomApi;
using KiwoomApi.Model.Def;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KiwoomApi.Control.Api.SocketApi.Message
{
class KWTRD001 : ISocketMessage
{
private Logger<KWTRD001> logger = ... | 2.02641 | 05932f29af7a66d82353d6298ed9e2da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811206 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DouglasMoraiis/dotnet-cli-projects",
"max_stars_repo_path": "Balta/BaltaDataAccess/Models/Career.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130426"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
namespace BaltaDataAcces.Models
{
public class Career
{
public Career()
{
Items = new List<CareerItem>();
}
public Guid Id { get; set; }
public string Title { get; set; }
public IList<CareerItem> Items { g... | 1.921102 | 70fda019044c0acc825827c1eec2c2bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811207 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nrcpp/MicrosoftTeamsManager",
"max_stars_repo_path": "MsTeamsManager.Web/source/Models/ResultsItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130427"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MSTeamsManager.Models
{
public class ResultsItem
{
// The ID and display name for the entity's radio button.
public string Id { get; set; }
public string Display { get; set; }
... | 1.902039 | d95b401c9fcf1d4b3a7a389d22d98c54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811208 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "rampaa/JL",
"max_stars_repo_path": "JL.Core/Anki/AnkiConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130428"
} | starcoder | using System.Text.Json;
using System.Text.Json.Serialization;
using JL.Core.Utilities;
namespace JL.Core.Anki;
public class AnkiConfig
{
[JsonPropertyName("deckName")] public string DeckName { get; set; }
[JsonPropertyName("modelName")] public string ModelName { get; set; }
[JsonPropertyName("fields")]... | 2.295353 | e761a7ac7b97536f4bf3b1104a6bb90c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811209 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bbojkov/MushroomMusicLibrary",
"max_stars_repo_path": "MusicLibrary.Services/CountryService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130429"
} | starcoder | namespace MusicLibrary.Services
{
using Data;
using Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class CountryService : ICountryService
{
readonly IMusicLibraryContext musicLibraryContext;... | 2.745926 | b5c583ba3925db0e4da486e9dc8e7056 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811210 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lukasy14/RoguelikeRoom",
"max_stars_repo_path": "Assets/Scripts/Room.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130430"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Room : MonoBehaviour
{
public GameObject doorLeft, doorRight, doorUp, doorDown;
public bool roomLeft, roomRight, roomUp, roomDown;
public Text text;
public int stepToStart;
pub... | 2.526542 | 75b43ee41f4eabee64dc900134dc0969 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811211 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pcharlesmoran/roslyn",
"max_stars_repo_path": "src/Compilers/CSharp/Portable/FlowAnalysis/NullableWalker.PlaceholderLocal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130431"
} | starcoder | <filename>src/Compilers/CSharp/Portable/FlowAnalysis/NullableWalker.PlaceholderLocal.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Diagnostics;
using M... | 2.113853 | 67201ae016c27ca19f1265b6ce6ef3f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811212 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marcpiechura/akka.net",
"max_stars_repo_path": "src/core/Akka/Util/AtomicBoolean.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130432"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="AtomicBoolean.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
/... | 3.058641 | b664f7eee2981f8318735c673d19e7ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811213 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alex-davidson/caber",
"max_stars_repo_path": "Caber/FileSystem/Filters/FileExtensionToRegexCompiler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130433"
} | starcoder | <filename>Caber/FileSystem/Filters/FileExtensionToRegexCompiler.cs
using System.Text.RegularExpressions;
namespace Caber.FileSystem.Filters
{
public class FileExtensionToRegexCompiler
{
public Regex CompileRegex(string fileExtension, FileSystemCasing casing)
{
var trimmed =... | 2.855827 | 6b6afbaac7306c4bef739899dbb46dc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811214 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "giacomelli/DevAchievements",
"max_stars_repo_path": "src/DevAchievements.Infrastructure.Web/Security/IAuthenticationProviderUserRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130434"
} | starcoder | <gh_stars>0
using System;
using Skahal.Infrastructure.Framework.Repositories;
namespace DevAchievements.Infrastructure.Web.Security
{
public interface IAuthenticationProviderUserRepository : IRepository<AuthenticationProviderUser>
{
}
}
| 0.977578 | b47794d4a94a3b28ca4aef6ed094e260 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811215 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Engin-Boot/assist-purchase-s21b2",
"max_stars_repo_path": "AssistToPurchase/Converters/ModelsObjectToId.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130435"
} | starcoder | using AssistToPurchase.Model;
using System;
using System.Globalization;
using System.Windows.Data;
namespace AssistToPurchase.Converters
{
class ModelsObjectToId : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
throw ... | 2.606273 | 5bd089270b765762cf287edea80b0e61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811216 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "HyperSphereStudio/JULIA.Net",
"max_stars_repo_path": "src/csharp/NativeSharp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130436"
} | starcoder | <reponame>HyperSphereStudio/JULIA.Net<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
using System.Reflection;
//Written by <NAME>
namespace JuliaInterface
{
internal class NativeSharp
{
... | 2.403093 | b2ef96e3e8a375c366ac04d593c9a24e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811217 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "geeklevi/EnterpriseMVVM",
"max_stars_repo_path": "Tests/EnterpriseMVVM.Windows.Tests/UnitTests/ViewModelTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130437"
} | starcoder | <gh_stars>0
// -----------------------------------------------------------------------------
// <copyright file="ViewModelTests.cs" company="DCOM Engineering, LLC">
// Copyright (c) DCOM Engineering, LLC. All rights reserved.
// </copyright>
// --------------------------------------------------------------... | 2.094902 | e8fdecb5bc64e26b839fd86ba880f0d0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.