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.392Z | 2023-09-08T23:13:54.392Z | 94461 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-employerapprenticeshipsservice",
"max_stars_repo_path": "src/SFA.DAS.EmployerAccounts.Web.UnitTests/Orchestrators/EmployerAgreementOrchestratorTests/WhenIRemoveTheLegalAgreement.cs",
"provenance":... | starcoder | using System;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using AutoMapper;
using MediatR;
using Moq;
using NUnit.Framework;
using SFA.DAS.EmployerAccounts.Commands.RemoveLegalEntity;
using SFA.DAS.EmployerAccounts.Interfaces;
using SFA.DAS.EmployerAccounts.Web.Orchestrators;
usin... | 2.070589 | 8a6540a72da3c5aa0ac0f6116187bcf0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94462 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rmnavz/OnlineShop",
"max_stars_repo_path": "Views/Product/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:94463"
} | starcoder | <filename>Views/Product/Index.cshtml
@model ProductViewModel
<div class="row">
<div class="col-12 col-sm-6 col-lg-6 order-md-2">
<div class="card">
<div id="ProductImages@(Model.Product.ID)" class="carousel slide card-img-top" data-ride="carousel">
@if(@Model.Product.Images != n... | 2.805524 | 47cdd2abeb4fa57df6078b81329117b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94463 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "KristianR13/Work",
"max_stars_repo_path": "FYProject1Classes/UserMgmt/RandomNoGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94464"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FYProject1Classes.UserMgmt
{
public class RandomNoGenerator
{
public int RandomNumber(int min, int max)
{
Random random = new Random();
return r... | 3.126668 | d8704a82f877e42dc48b19da88fc73bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94464 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "KK578/Mandarin",
"max_stars_repo_path": "tests/Mandarin.Client.ViewModels.Tests/DevTools/DevToolsIndexPageViewModelTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94465"
} | starcoder | <reponame>KK578/Mandarin
using System.Reactive.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Mandarin.Client.ViewModels.DevTools;
using Mandarin.Inventory;
using Mandarin.Transactions.External;
using Moq;
using NodaTime;
using NodaTime.Testing;
using Xunit;
namespace Mandarin.Client.ViewModels.Tes... | 1.903377 | 0bd528a26278c54f4470d5b0dff35d41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94465 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jdm7dv/visual-studio",
"max_stars_repo_path": "Samples/NET 4.6/WF_WCF_Samples/WF/Basic/Rules/SimpleCAG/CS/SimpleCAG/simplecagworkflow.designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94466"
} | starcoder | <gh_stars>1-10
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
using System;
using System.Collections;
using System.Workflow.Activities;
namespace Microsoft.Samples.Work... | 2.234519 | 6b828e907d8f1e40faf4fa800a3d2f69 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94466 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "goncalo-oliveira/mongodb-factory",
"max_stars_repo_path": "src/Tls/ServerTlsValidationOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94467"
} | starcoder | <gh_stars>0
using System;
using System.Security.Cryptography.X509Certificates;
namespace MongoDB.Driver.Tls
{
public class ServerTlsValidationOptions
{
public X509Certificate LocalCertificate { get; set; }
public Func<ServerTlsValidationArguments, bool> ValidationCallback { get; set; }
}
}
| 1.113734 | cdf13e61e6d017b6065228018aece383 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94467 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "albcristi/parallel-and-distributed-programming",
"max_stars_repo_path": "Problems with MPI/ex11/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94468"
} | starcoder | using MPI;
using System;
using System.Collections.Generic;
namespace ex11
{
class Program
{
public static KeyValuePair<int, int> GetCoordinatesByOrderNumber(int noColumns, int orderNo)
{
if (orderNo % noColumns == 0)
return new KeyValuePair<int, int>(orderNo / noCol... | 3.059658 | c35f50c2da8ac415fd45a56e70c12799 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94468 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Sidneys1/Behaviorals",
"max_stars_repo_path": "Behaviorals/Behavior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94469"
} | starcoder | <reponame>Sidneys1/Behaviorals
using System;
namespace Behaviorals {
public class Behaviour<TSubclass> where TSubclass : IBehavioral<TSubclass> {
public Behaviour(Action<TSubclass> action) {
Action = action;
}
public Action<TSubclass> Action { get; protected set; }
}
} | 2.416461 | 29c587ddb3ec03d780992f8567faab14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94469 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "neronotte/Greg.Xrm",
"max_stars_repo_path": "src/Greg.Xrm.DataModelWikiEditor/Model/Config.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94470"
} | starcoder | <filename>src/Greg.Xrm.DataModelWikiEditor/Model/Config.cs
using Newtonsoft.Json;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Greg.Xrm.DataModelWikiEditor.Model
{
public class Config
{
public Config()
{
this.Groups = new List<Group>();
}
[JsonIgnore]
public string F... | 2.636168 | cddc0815f10179de9769066182c8e524 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94470 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mavn-alliance/MAVN.Service.PartnersIntegration",
"max_stars_repo_path": "src/MAVN.Service.PartnersIntegration.Domain/Enums/PartnerAndLocationStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94471"
} | starcoder | namespace MAVN.Service.PartnersIntegration.Domain.Enums
{
public enum PartnerAndLocationStatus
{
OK,
PartnerNotFound,
LocationNotFound
}
}
| 1.105871 | 526933fa910c78907307a960a9f32cba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94471 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "memucho/webapp",
"max_stars_repo_path": "src/TrueOrFalse/Domain/User/ActivityPoints/Ops/UserLevelCalculator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94472"
} | starcoder | using System;
public class UserLevelCalculator
{
public static int GetLevel(int points)
{
for (int level = 0; level <= 100; level++)
{
if(points >= CalculateLowerLevelBound(level) && points < CalculateUpperLevelBound(level))
return level;
}
... | 3.483646 | 57093b329b09295a34dccd7db832255e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94472 | {
"extension": "c-sharp",
"max_stars_count": "11372.0",
"max_stars_repo_name": "ganeshkumardevops/docker",
"max_stars_repo_path": "windows/modernize-traditional-apps/modernize-aspnet/v3-src/ProductLaunch/ProductLaunch.MessageHandlers.IndexProspect/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9447... | starcoder | using NATS.Client;
using ProductLaunch.MessageHandlers.IndexProspect.Indexer;
using ProductLaunch.Messaging;
using ProductLaunch.Messaging.Messages.Events;
using System;
using System.Threading;
namespace ProductLaunch.MessageHandlers.IndexProspect
{
class Program
{
private static ManualResetEvent _Res... | 2.331882 | 344adc6a8d7fbbbc8f70ed0907f9cbdc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94473 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "grendello/CaptainHook",
"max_stars_repo_path": "CaptainHook/Mail/TemplateFragment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94474"
} | starcoder | //
// Authors:
// <NAME> <EMAIL>
//
// Copyright (c) 2010, Novell, Inc (http://novell.com/)
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source co... | 2.042954 | d3caae511300673e3515ef501235261f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94474 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wmansfield/stencil.v2",
"max_stars_repo_path": "server/SourceCode/Placeholder.Plugins.RestApi/Controllers/AuthController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94475"
} | starcoder | <reponame>wmansfield/stencil.v2
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using sdk = Placeholder.SDK.Models;
using dm = Placeholder.Domain;
using Placeholder.SDK.Models.Requests;
using Placeholder.Web.Controllers;
using Z... | 1.642312 | b7792f18c9c51dd6201cdafa25a74f34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94475 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "szymanskilukasz/Lean",
"max_stars_repo_path": "Tests/Indicators/WindowIdentityTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94476"
} | starcoder | <gh_stars>1-10
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | 2.280441 | 1dd8863c985513c7485a1ae5a861a9d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94476 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deccer/OpenTK.Extended",
"max_stars_repo_path": "src/OpenTK.Extended/Graphics/ShaderFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94477"
} | starcoder | using System.Collections.Generic;
using Microsoft.Extensions.Logging;
using OpenTK.Graphics.OpenGL4;
namespace OpenTK.Extended.Graphics
{
public sealed class ShaderFactory : IShaderFactory
{
private readonly ILogger _logger;
public ShaderFactory(ILogger<IShaderFactory> logger)
{
... | 2.559278 | a05b0026c49291c932d1c130782a2580 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94477 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "jaenudin86/PointBlank",
"max_stars_repo_path": "server/Game/Network/ServerPacket/BATTLE/PROTOCOL_BATTLE_ROUND_START.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94478"
} | starcoder | /*
* C# Server Emulator Project Blackout / PointBlank
* Authors: the__all
* Copyright (C) 2015 | OZ-Network
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.Model;
namespace Game.Network.ServerPacket
{
public class PROTOCOL_BATTLE_ROUND_START : SendPacket
... | 2.131406 | 68934ad60fb8fbc2921a6dd315e54ea7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94478 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "Color-Chan/Color-Chan.Discord",
"max_stars_repo_path": "src/Color-Chan.Discord.Core/Common/Models/Select/IDiscordSelectOption.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94479"
} | starcoder | <reponame>Color-Chan/Color-Chan.Discord
using Color_Chan.Discord.Core.Common.API.DataModels.Select;
namespace Color_Chan.Discord.Core.Common.Models.Select
{
public interface IDiscordSelectOption
{
/// <summary>
/// The user-facing name of the option, max 100 characters.
/// </summar... | 2.611506 | 158255829f83c8b4bd3eddf5d8f3c028 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94479 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "bozjan/Paradox",
"max_stars_repo_path": "Paradox.WebServices.ServiceModel/Model/Device.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94480"
} | starcoder | <filename>Paradox.WebServices.ServiceModel/Model/Device.cs
namespace Paradox.WebServices.ServiceModel.Model
{
public class Device
{
public int Id { get; set; }
public string Name { get; set; }
public string DeviceType { get; set; }
}
}
| 2.067154 | 336b8d0ef622db1dad56090dfe8e8579 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94480 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kingwatam/misc-csharp",
"max_stars_repo_path": "xna-game-programming/Labs/lab8/lab8/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94481"
} | starcoder | <reponame>kingwatam/misc-csharp<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace lab8
{
class Program
{
static void Main(string[] args)
{
String data = Console.ReadLine();
int pyramidSlotNumber = int.... | 2.931196 | 276f1247299f3efdc4c806261d1ff396 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94481 | {
"extension": "c-sharp",
"max_stars_count": "93.0",
"max_stars_repo_name": "dicko2/Nimbus",
"max_stars_repo_path": "src/Nimbus/Configuration/LargeMessages/Settings/MaxSmallMessageSizeSetting.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94482"
} | starcoder | using Nimbus.Configuration.Settings;
namespace Nimbus.Configuration.LargeMessages.Settings
{
public class MaxSmallMessageSizeSetting : Setting<int>
{
public override int Default
{
get { return 64*1024; }
}
}
} | 2.020844 | 127c45d3abc91034436bf12e30178437 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94482 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "CyberSys/Mugen3D",
"max_stars_repo_path": "Old/SpriteList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94483"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SpriteList : MonoBehaviour {
[HideInInspector]
[SerializeField]
private List<Sprite> m_sprites = new List<Sprite>();
public List<Sprite> GetSprite()
{
return m_... | 2.818791 | 03d2d9b1c887698e94f8b0bffa19eb9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94483 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "smellyriver/tank-inspector-pro",
"max_stars_repo_path": "src/Smellyriver.TankInspector.Pro.TankMuseum/TankListDragHandlerImpl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94484"
} | starcoder | using System.Linq;
using System.Windows;
using Smellyriver.TankInspector.Common.Wpf.Behaviors.DragDrop;
namespace Smellyriver.TankInspector.Pro.TankMuseum
{
class TankListDragHandlerImpl : IDragSource
{
public void StartDrag(DragInfo dragInfo)
{
var tankVms = dragInfo.SourceItems.O... | 2.400029 | bb3c72d983ba977a7f4d0382714281b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94484 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "imranq2/Fabric.Identity",
"max_stars_repo_path": "Fabric.Identity.IntegrationTests/ControllerTests/CouchDb/CouchDbIdentityResourceControllerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94485"
} | starcoder | using Fabric.Identity.API;
using Fabric.Identity.IntegrationTests.ControllerTests.InMemory;
namespace Fabric.Identity.IntegrationTests.ControllerTests.CouchDb
{
public class CouchDbIdentityResourceControllerTests //: IdentityResourceControllerTests
{
public CouchDbIdentityResourceControllerTests() //:... | 1.014968 | ab1bf8eff97a0e9cd82a489b30e16308 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94485 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "wouldyougo/TRx",
"max_stars_repo_path": "TRL.Common/Data/OrderBookContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94486"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TRL.Common.Collections;
namespace TRL.Common.Data
{
/// <summary>
/// Контекст очереди заявок (стакана)
/// </summary>
public class OrderBookContext:IQuoteProvider
{
private int depth... | 2.783821 | c0ff98adcbbfdd5cadf52ff801ed4493 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94486 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ignatandrei/MvcContrib",
"max_stars_repo_path": "src/Samples/MvcContrib.Samples.IncludeHandling/MvcContrib.Samples.IncludeHandling/Global.asax.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94487"
} | starcoder | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using Demo.Site.Controllers;
using MvcContrib;
using MvcContrib.ControllerFactories;
using MvcContrib.IncludeHandling;
using MvcContrib.IncludeHandling.Configuration;
using MvcC... | 1.949342 | 852c61a966898e8575cdf1db6eca3537 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94487 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jack-cloud-platform/das-admin-service",
"max_stars_repo_path": "src/SFA.DAS.AssessorService.Api.Types/Models/Roatp/UpdateOrganisationApplicationDeterminedDateRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94488"
} | starcoder | using System;
namespace SFA.DAS.AssessorService.Api.Types.Models.Roatp
{
public class UpdateOrganisationApplicationDeterminedDateRequest
{
public DateTime ApplicationDeterminedDate { get; set; }
public Guid OrganisationId { get; set; }
public string LegalName { get; set; }
pub... | 1.25439 | 2014920c0897ee3d58f6ef9ec2d4d88f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94488 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ecarlesi/argilla",
"max_stars_repo_path": "Argilla.Core/ResolverManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94489"
} | starcoder | using System;
namespace Argilla.Core
{
public class ResolverManager
{
//TODO the provider must be configurable via settings
public static IResolver CreateInstance()
{
return new Resolvers.Server();
}
}
}
| 1.55114 | fe21f393af79e72fe999c9f0a57c948c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94489 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GschwindSoftware/lighthouse-examples-net",
"max_stars_repo_path": "Extensions/ApiResponseExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94490"
} | starcoder | using System.Net.Http;
namespace Refit {
/// <summary>
/// Stellt Erweiterungsmethoden für <see cref="ApiResponse{T}"/> zur Verfügung
/// </summary>
internal static class ApiResponseExtensions {
/// <summary>
/// Löst eine <see cref="HttpRequestException"/> aus, falls die Abfrage kein... | 2.858343 | 3716c6f4f5668e53f907cd5ada31140e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94490 | {
"extension": "c-sharp",
"max_stars_count": "1009.0",
"max_stars_repo_name": "jesterret/ReClass.NET",
"max_stars_repo_path": "ReClass.NET/Symbols/ComDisposableWrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94491"
} | starcoder | <filename>ReClass.NET/Symbols/ComDisposableWrapper.cs
using System;
using System.Diagnostics.Contracts;
using System.Runtime.InteropServices;
namespace ReClassNET.Symbols
{
class DisposableWrapper : IDisposable
{
protected object Object;
[ContractInvariantMethod]
private void ObjectInvariants()
{
Contrac... | 2.913089 | 2ad2f59f98f54b796df15c4683b1fa6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94491 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "danielrbradley/Plywood",
"max_stars_repo_path": "PlywoodCore/Utils/Hooks.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94492"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace Plywood.Utils
{
public static class Hooks
{
public static List<Hook> ParseHooks(string source)
{
return ParseHooks(new StringReader(source));
}
public s... | 3.364221 | 0072a7ab4430ecb65e35bb8476593019 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94492 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "xXxTheDarkprogramerxXx/PSPSHARP",
"max_stars_repo_path": "PSP_EMU/Allegrex/compiler/nativeCode/Sort.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94493"
} | starcoder | <gh_stars>1-10
using System;
/*
This file is part of pspsharp.
pspsharp is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
pspsharp is distr... | 2.231188 | 996d496f833591de3494d335dc69a031 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94493 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mauzerov/Sekretariat",
"max_stars_repo_path": "Desktop/View/Table/ModifiyCell.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94494"
} | starcoder | <filename>Desktop/View/Table/ModifiyCell.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Media.Imaging;
using Desktop.DataClass.Other;
using Desktop.Window;
using TableRow = System... | 2.690385 | 198d392c8ec9a72825870c681f1defbc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94494 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "drdk/dr-common-ironmq",
"max_stars_repo_path": "src/IronMq/Kermit/Model/IQueueMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94495"
} | starcoder | <reponame>drdk/dr-common-ironmq
using System;
namespace DR.Common.IronMq.Kermit.Model
{
/// <summary>
/// Interface for an translated queue message.
/// </summary>
/// <typeparam name="TIdentifier">Identifier type</typeparam>
/// <typeparam name="TVersion">Version/timestamp type</typeparam>
... | 1.964695 | f2263c9a07f49c8e7ba54a172fa914e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94495 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neptuo/Recollections",
"max_stars_repo_path": "src/Recollections.Blazor.UI/Entries/Pages/Calendar.razor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94496"
} | starcoder | <filename>src/Recollections.Blazor.UI/Entries/Pages/Calendar.razor.cs
using Microsoft.AspNetCore.Components;
using Neptuo.Logging;
using Neptuo.Recollections.Accounts.Components;
using Neptuo.Recollections.Entries.Components;
using System;
using System.Collections.Generic;
using System.Globalization;
using Syst... | 2.309836 | f4089f81503760d3174e341673934c9c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94496 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ku3mich/XUnit.Extensions",
"max_stars_repo_path": "Helper4Antlr/IParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94497"
} | starcoder | <reponame>ku3mich/XUnit.Extensions
// Copyright (C) 2020 <NAME> (<EMAIL>)
// Licensed under the terms of the MIT license. See LICENCE for details.
using Antlr4.Runtime;
using Antlr4.Runtime.Misc;
using Antlr4.Runtime.Tree;
namespace Antlr4
{
public interface IParser
{
void AddErrorListener... | 1.449032 | e49e6be2f828b24f42538d969f771e74 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94497 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "Steph55/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/D3DX11_FFT_DATA_TYPE.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94498"
} | starcoder | <reponame>Steph55/DirectN<filename>DirectN/DirectN/Generated/D3DX11_FFT_DATA_TYPE.cs
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d3dcsx.h(280,9)
namespace DirectN
{
public enum D3DX11_FFT_DATA_TYPE
{
D3DX11_FFT_DATA_TYPE_REAL = 0,
D3DX11_FFT_DATA_TYPE_COMPLEX = 1,
... | 1.353306 | 8e62c95b8405e2ddbedb3a2c97e22baf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94498 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "gfoidl/trx2jun",
"max_stars_repo_path": "tests/trx2junit.Core.Tests/Extensions/TimeExtensionsTests/ToJUnitDateTime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94499"
} | starcoder | <reponame>gfoidl/trx2jun
// (c) gfoidl, all rights reserved
using System;
using System.Collections.Generic;
using NUnit.Framework;
namespace gfoidl.Trx2Junit.Core.Tests.Extensions.TimeExtensionsTests;
[TestFixture]
public class ToJUnitDateTime
{
[Test, TestCaseSource(nameof(DateTime_given___correct_format_TestCa... | 2.632748 | fc08f2b741af57ae772c94348377c78f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94499 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Bobscorn/unity-common",
"max_stars_repo_path": "Runtime/Code/C#/Direction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94500"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Common
{
namespace Stuff
{
[System.Serializable]
public enum Direction
{
NORTH = 0,
EAST,
SOUTH,
WEST
}
[System.Serializable]
public enum DirectionWithNone
{
NONE = 0,
NORTH,
EAST,
SOUTH,
... | 3.069726 | 319461749c919e7a2ef5598b9ca0c2eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94500 | {
"extension": "c-sharp",
"max_stars_count": "167.0",
"max_stars_repo_name": "vitalii2011/Cities-Skylines-Traffic-Manager-President-Edition",
"max_stars_repo_path": "TLM/TLM/Traffic/Data/ExtCitizen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94501"
} | starcoder | <gh_stars>100-1000
using CSUtil.Commons;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TrafficManager.State;
namespace TrafficManager.Traffic.Data {
public struct ExtCitizen {
[Flags]
public enum ExtTransportMode {
/// <summary>
/// No information about which m... | 2.34902 | 9e1efadc2a47b532aa6bf992bef40176 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94501 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Devin0xFFFFFF/singed-feathers",
"max_stars_repo_path": "SingedFeathers/Assets/Scripts/Input/MapInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94502"
} | starcoder | using Assets.Scripts.Views;
using UnityEngine;
namespace Assets.Scripts.Input {
public class MapInput : MonoBehaviour {
public InputView InputManager;
public void Awake() {}
// Update is called once per frame
public void Update() {
#if !MOBILE_INPUT
if (UnityEngine.In... | 2.222039 | 603e4fa0829b8edb0950368ff6e7f17a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94502 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yaksa-ca/eShopOnWeb",
"max_stars_repo_path": "src/Yaksa.OrckestraCommerce.Client/Model/GetInventoryQuantitiesByLocationRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94503"
} | starcoder | /*
* Overture API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections;
using System.Collectio... | 1.873611 | b63f976391d2a7f881e82b9a78c9bac1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94503 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fraxion-com/mapbox-navigation-ios-xamarin",
"max_stars_repo_path": "FRAXION.MapboxNavigationNative.iOS/Structs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94504"
} | starcoder | using ObjCRuntime;
namespace MapboxNavigationNative
{
[Native]
public enum MBRouteState : long
{
Invalid,
Initialized,
Tracking,
Complete,
OffRoute,
Stale
}
[Native]
public enum MBNavigationSimulationIntent : long
{
Manual,
... | 1.340327 | 699dff66056f4a2f88dc68221fbf8e0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94504 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "TheAssociatedPress/APISamples",
"max_stars_repo_path": "APContentAPI/dotnet/apiclient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94505"
} | starcoder | <reponame>TheAssociatedPress/APISamples<filename>APContentAPI/dotnet/apiclient.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace AP.APISamples
{
class APIClient
{
static void Main(string[] args)
... | 2.55887 | e1c9e9d8b96d36ceb63d06eb179ce434 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94505 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mczachurski/community",
"max_stars_repo_path": "SunLine.Community.NUnitTests/Services/Dict/LanguageServiceTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94506"
} | starcoder | <reponame>mczachurski/community
using System.Collections.Generic;
using System.Linq;
using Microsoft.Practices.ServiceLocation;
using NUnit.Framework;
using SunLine.Community.Entities.Dict;
using SunLine.Community.Services.Dict;
namespace SunLine.Community.NUnitTests.Services.Dict
{
[TestFixture]
public class... | 2.175178 | 9e8eb011df48bb8c4c71b3f84384fc8d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94506 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KellyKey/Sigma",
"max_stars_repo_path": "VersionOne.ServiceHost.ConfigurationTool/Validation/IValidationInterceptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94507"
} | starcoder | namespace VersionOne.ServiceHost.ConfigurationTool.Validation {
public interface IValidationInterceptor {
void NotifyOnValidation();
}
} | 1.006832 | ca60aa4028dd1b556111bc03ee03ecb9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94507 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "dapplo/Dapplo.Config",
"max_stars_repo_path": "src/Dapplo.Config.Ini/Implementation/TypeDescriptorContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94508"
} | starcoder | <filename>src/Dapplo.Config.Ini/Implementation/TypeDescriptorContext.cs<gh_stars>1-10
// Copyright (c) Dapplo and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.ComponentModel;
namespace Dapplo.Config... | 2.191143 | 93348dbcaf75a61c40c9e7abeff43e8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94508 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "Dude112113/Yolol",
"max_stars_repo_path": "YololEmulator.Tests/Ladder/EstimateCosine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94509"
} | starcoder | <filename>YololEmulator.Tests/Ladder/EstimateCosine.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Yolol.Execution;
using MoreLinq;
namespace YololEmulator.Tests.Ladder
{
[TestClass]
public class Estim... | 2.634115 | 6d10062e5a1c5b24545f9daab7b9a4c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94509 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pipe-chaiprapun/CitizenCard_Reader",
"max_stars_repo_path": "ThaiNationalIDCard/AllConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94510"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ThaiNationalIDCard
{
public partial class AllConfig : Form
{
public AllConfig()
{
Initia... | 2.017363 | 1246a26ca31cfcb757eba09b16a10297 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94510 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Opdex/opdex-v1-api",
"max_stars_repo_path": "src/Opdex.Platform.WebApi/Validation/LiquidityPools/StopStakingQuoteRequestValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94511"
} | starcoder | using FluentValidation;
using Opdex.Platform.Common.Models;
using Opdex.Platform.WebApi.Models.Requests.LiquidityPools;
namespace Opdex.Platform.WebApi.Validation.LiquidityPools;
public class StopStakingQuoteRequestValidator : AbstractValidator<StopStakingQuoteRequest>
{
public StopStakingQuoteRequestValidator()
... | 1.881034 | af6b201baf70b50ed6de188a20bb33a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94511 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "chuxuantinh/data-hub-chu",
"max_stars_repo_path": "Datahub.Metadata/Migrations/20210729151853_Initial.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94512"
} | starcoder | <reponame>chuxuantinh/data-hub-chu
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Datahub.Metadata.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... | 2.068194 | 5a42f5ea070d4a14d9fe544024f09bbd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94512 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JesusFreak101/SiteFinityDemo2",
"max_stars_repo_path": "SitefinityWebApp/Mvc/Views/MyWidget1/Default.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:94513"
} | starcoder | <filename>SitefinityWebApp/Mvc/Views/MyWidget1/Default.cshtml
@model SitefinityWebApp.Mvc.Models.MyWidget1Model
<h1>
@Html.Raw(Model.Message)
</h1> | 1.981928 | 771e145a5893321a4ea4d2bc9577aa04 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94513 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JoaoLuizSevero/StoreManagement",
"max_stars_repo_path": "F_SalesManagement.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94514"
} | starcoder | <reponame>JoaoLuizSevero/StoreManagement
namespace StoreManagement
{
partial class F_SalesManagement
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resourc... | 2.123097 | ee2337300f3e354e9554bb556823f65d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94514 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "AxelMarquez/Ed-Fi-ODS",
"max_stars_repo_path": "Application/EdFi.Ods.Sandbox/Provisioners/PostgresSandboxProvisioner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94515"
} | starcoder | <reponame>AxelMarquez/Ed-Fi-ODS<filename>Application/EdFi.Ods.Sandbox/Provisioners/PostgresSandboxProvisioner.cs<gh_stars>10-100
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
/... | 1.998552 | f89857ce67a572997c2eb40f39033e6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94515 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "freemanovec/Evolution-Simulator",
"max_stars_repo_path": "Positioning/Vectors.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94516"
} | starcoder | <filename>Positioning/Vectors.cs
using Evolution_Simulator.Computing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Evolution_Simulator.Positioning
{
struct Vector2
{
private double _x, _y;
public double X
... | 3.281236 | 896a617d1cad04ff18dd0a1ac3e511d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94516 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jbratcher/GoThere",
"max_stars_repo_path": "Models/ApplicationUser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94517"
} | starcoder | <filename>Models/ApplicationUser.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.AspNetCore.Identity;
namespace GoThere.Areas.Identity.Data
{
... | 2.4888 | 8a041d18958f1e62245c96d472b65fdf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94517 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arodus/nuke-azure",
"max_stars_repo_path": "src/Nuke.Azure/Generated/AzureSecurity.Generated.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94518"
} | starcoder | <reponame>arodus/nuke-azure<gh_stars>0
// Generated from https://github.com/nuke-build/azure/blob/master/src/Nuke.Azure/specifications/AzureSecurity.json
// Generated with Nuke.CodeGeneration version 0.20.1 (OSX,.NETStandard,Version=v2.0)
using JetBrains.Annotations;
using Newtonsoft.Json;
using Nuke.Common;
using Nuk... | 1.931484 | 09897fbc8f6f7ebb715560ebb4b1483d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94518 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SmarterApp/TabulateSmarterTestAdminPackage",
"max_stars_repo_path": "ValidateSmarterTestPackage/Validators/Combined/ItemValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94519"
} | starcoder | <filename>ValidateSmarterTestPackage/Validators/Combined/ItemValidator.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using NLog;
using SmarterTestPackage.Common.Data;
using ValidateSmarterTestPackage.RestrictedValues.Enums;
namespace ValidateSmarterTestPackage.Validators.Combined
{
public class... | 2.434325 | d2f107c8668075efbc761c4bc4174e0d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94519 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "krzysztof-radzimski/InterlinearBibleEditor",
"max_stars_repo_path": "src/EIB/EIB.CommentaryEditor/MainForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94520"
} | starcoder | using DevExpress.Xpo;
using DevExpress.XtraBars;
using DevExpress.XtraBars.Navigation;
using DevExpress.XtraEditors;
using DevExpress.XtraRichEdit;
using EIB.CommentaryEditor.Controls;
using EIB.CommentaryEditor.Db.Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.... | 2.008869 | 99800626e9dbcf33191d92bc87f71797 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94520 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tgroechel/CRASHAsteroids",
"max_stars_repo_path": "Assets/Scripts/Extensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94521"
} | starcoder | using Microsoft.MixedReality.Toolkit.UI;
using System.Collections.Generic;
using UnityEngine;
namespace Crash {
public static class Extensions {
// transform extension
public static void SnapToParent(this Transform t, Transform prospectiveParent) {
t.rotation = prospectiveParent.rotat... | 2.17971 | 0224d4e34a1f8a40177b16e62815f739 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94521 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ztrouill/M1CEN_Unity-BoozeNLose",
"max_stars_repo_path": "Assets/CloudsToy/Scripts/Utils/MenuLoadLevel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94522"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MenuLoadLevel : MonoBehaviour {
public void LoadLevel(int sceneToLoad)
{
SceneManager.LoadScene(sceneToLoad);
}
}
| 1.743943 | d99795cf8326846b94ae78f56302aba1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94522 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nrstnv/CN-EA3",
"max_stars_repo_path": "Aufgabe1/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94523"
} | starcoder | <filename>Aufgabe1/Program.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
namespace Aufgabe1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("[Press Esc to stop the teleprompter, '<' or '-' to slow down and '>... | 3.554063 | 5dfb55ca5d8b1a36be97a7b0113ad826 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94523 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/netcore-sci",
"max_stars_repo_path": "netcore-sci/Number.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94524"
} | starcoder | <filename>netcore-sci/Number.cs
using static System.Math;
using SearchAThing;
using System.Collections.Generic;
using System.Linq;
using SearchAThing.Sci;
using System;
using SearchAThing.Util;
namespace SearchAThing
{
public static partial class SciExt
{
/// <summary>
/// retrieve angle betw... | 3.159695 | a2719a54c4cf638857d4d2e43774db49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94524 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "cwenger/morpheus",
"max_stars_repo_path": "Morpheus/Morpheus/AminoAcidPolymer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94525"
} | starcoder | <filename>Morpheus/Morpheus/AminoAcidPolymer.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace Morpheus
{
public abstract class AminoAcidPolymer
{
private static MassType productMassType = MassType.Monoisotopic;
pri... | 2.827788 | 0adc96c89b78ee436c41e85189afc30e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94525 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "cdoyle-kx/csharpkdb",
"max_stars_repo_path": "kx.Test/Connection/ConnectionArrayTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94526"
} | starcoder | <reponame>cdoyle-kx/csharpkdb
using NUnit.Framework;
namespace kx.Test.Connection
{
[TestFixture]
public class ConnectionArrayTests
{
[Test]
public void ConnectionReturnsExpectedLengthForDict()
{
const int expected = 1;
c.Dict dict = new c.Dict(new[] { "Key... | 2.488653 | 83b9c0a997e46282d6b84d18a598e75f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94526 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RumenNovachkov/ProgrammingFundamentalsCSharp",
"max_stars_repo_path": "ArraysExercises/10.PairsbyDifference/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94527"
} | starcoder | <filename>ArraysExercises/10.PairsbyDifference/Program.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _10.PairsbyDifference
{
class Program
{
static void Main(string[] args)
{
var sequence ... | 3.513864 | ee470f652d07535ad054dd73f42c5084 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94527 | {
"extension": "c-sharp",
"max_stars_count": "217.0",
"max_stars_repo_name": "aferin/Tizen-CSharp-Samples",
"max_stars_repo_path": "Wearable/Xamarin.Forms/Geocoding/src/Geocoding/Geocoding.Tizen.Wearable/Services/IMapServiceProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94528"
} | starcoder | /*
* Copyright (c) 2019 Samsung Electronics Co., Ltd. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | 1.959405 | 0eeb50979d2178151b203b777b0be1a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94528 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "DucThanhNguyen/MaterialCMS",
"max_stars_repo_path": "MaterialCMS/DbConfiguration/Types/VarCharMax.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94529"
} | starcoder | <reponame>DucThanhNguyen/MaterialCMS
using System;
using System.Data;
using NHibernate;
using NHibernate.SqlTypes;
namespace MaterialCMS.DbConfiguration.Types
{
[Serializable]
public class VarcharMax : BaseImmutableUserType<String>
{
public override object NullSafeGet(IDataReader rs, string[] name... | 2.339674 | 6a20a466ffa56e8d225003fcba4a2de1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94529 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "codertuhin/BotStudio",
"max_stars_repo_path": "SmartifyBotStudio/RobotDesigner/TaskView/TaskViewFrame.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94530"
} | starcoder | <reponame>codertuhin/BotStudio
using SmartifyBotStudio.RobotDesigner.Enums;
using SmartifyBotStudio.RobotDesigner.TaskView.File;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.... | 1.511562 | 58a0fbb71cb6ee48f0ca31622cd4fd4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94530 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Dot42Xna/master",
"max_stars_repo_path": "System/ServiceModel/ChannelFactoryT.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94531"
} | starcoder | <reponame>Dot42Xna/master
// Copyright (C) 2014 dot42
//
// Original filename: ChannelFactoryT.cs
//
// 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... | 2.08301 | 7bcbcd7cdf272a5d6610ed4a928f873b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94531 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "hhansell/SpeakEasy",
"max_stars_repo_path": "src/SpeakEasy.IntegrationTests/Controllers/InvoicesController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94532"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.WebUtilities;
using Microsoft.Net.Http.Headers;
using FormOptions = Microsoft.AspNetCore.Http.Features.FormOptions;
namespace S... | 2.348501 | 3beae43c44716e678063d9489d1fccbf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94532 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "UWBCoevolution/ParaMODA",
"max_stars_repo_path": "QuickGraph/Contracts/Collections/IVertexEdgeDictionaryContract.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94533"
} | starcoder | using System;
using System.Diagnostics.Contracts;
namespace QuickGraph.Collections
{
//[ContractClassFor(typeof(IVertexEdgeDictionary<,>))]
abstract class IVertexEdgeDictionaryContract<TVertex>
: IVertexEdgeDictionary<TVertex>
{
IVertexEdgeDictionary<TVertex> IVertexEdgeDictionary<TVertex>... | 2.502362 | f1c6ea5013530448d8164f905491496c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94533 | {
"extension": "c-sharp",
"max_stars_count": "11219.0",
"max_stars_repo_name": "krisums/aspnetboilerplate",
"max_stars_repo_path": "test/Abp.TestBase.SampleApplication/Crm/Branch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94534"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
namespace Abp.TestBase.SampleApplication.Crm
{
[Table("Branches")]
public class Branch : Entity, IHasCreationTime
{
public int CompanyId { get; set; }
public str... | 2.029322 | 7e58a63aa7d42ca0cc8ca6eb1b09cc55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94534 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryanheath/ravendb",
"max_stars_repo_path": "src/Raven.Server/ServerWide/Commands/Subscriptions/UpdateSubscriptionClientConnectionTime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94535"
} | starcoder | using System;
using Raven.Client.Documents.Subscriptions;
using Raven.Client.ServerWide;
using Sparrow.Json;
using Sparrow.Json.Parsing;
namespace Raven.Server.ServerWide.Commands.Subscriptions
{
public class UpdateSubscriptionClientConnectionTime : UpdateValueForDatabaseCommand {
public string S... | 1.998559 | 44da7ddf48046131e575b7ca70bd3315 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94535 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/das-content-api",
"max_stars_repo_path": "src/SFA.DAS.ContentApi.Api/Extensions/AddDatabaseExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94536"
} | starcoder | <gh_stars>1-10
using System;
using Microsoft.Azure.Services.AppAuthentication;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using SFA.DAS.ContentApi.Configuration;
using SFA.DAS.ContentApi.Data;
namespace SFA.DAS.ContentApi.Api.Extensio... | 1.790444 | 6214961db07b6ce09051a3c6b989ce5b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94536 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "opreradovic/CoopDrifting",
"max_stars_repo_path": "Assets/Scripts/PlayerConfigurationManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94537"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using UnityEngine.SceneManagement;
using UnityEngine.InputSystem;
public class PlayerConfigurationManager : MonoBehaviour
{
private List<PlayerConfiguration> playerConfigs;
[SerializeField]
private int MaxPl... | 2.507994 | 6ebe72c9ebbc19faf82003a5348ef845 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94537 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "simlex-titul2005/leavingrussia.ru",
"max_stars_repo_path": "LR.WebUI/ViewModels/VMNews.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94538"
} | starcoder | using System.Web.Mvc;
using LR.WebUI.ViewModels.Abstract;
namespace LR.WebUI.ViewModels
{
public sealed class VMNews : VMMaterial
{
}
} | 1.005977 | 5498799c7559557bce8b56324f63ec5b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94538 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "markcordova/Jira.NET",
"max_stars_repo_path": "Jira.NET/Client/IRestClientFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94539"
} | starcoder | using RestSharp;
using System;
namespace Jira.NET.Client
{
public interface IRestClientFactory
{
Uri BaseUri { get; }
IRestClient Create();
}
}
| 1.664015 | fe09a45bd4f6ff2e6410fd418fa3e22b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94539 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "samueleresca/Hands-On-RESTful-Web-Services-with-ASP.NET-Core",
"max_stars_repo_path": "Chapter 13/Catalog/src/VinylStore.Catalog.API.Client/Resources/ICatalogItemResource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94540"
} | starcoder | <reponame>samueleresca/Hands-On-RESTful-Web-Services-with-ASP.NET-Core<filename>Chapter 13/Catalog/src/VinylStore.Catalog.API.Client/Resources/ICatalogItemResource.cs<gh_stars>1-10
using System;
using System.Threading;
using System.Threading.Tasks;
using VinylStore.Catalog.API.Contract.Item;
namespace VinylStore.Catal... | 2.049801 | 1904774a6d9c2427812443a8c381c7f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94540 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Xeeynamo/RESonic",
"max_stars_repo_path": "src/StageConfig/Stage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94541"
} | starcoder | <reponame>Xeeynamo/RESonic
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace StageConfig
{
class Stage
{
public class Act
{
public string gfx;
public string clut;
public string cli;
public string hbx;
... | 2.587611 | ed7d0fa657bc15ca59228520366e67f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94541 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "stonysong/EFCoreExtend",
"max_stars_repo_path": "src/EFCoreExtend/Sql/SqlConfig/SqlConfigConst.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94542"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EFCoreExtend.Sql.SqlConfig
{
public static class SqlConfigConst
{
public const string TableNameLabel = "##tname";
public const string SqlSectionPrefixSymbol = "... | 1.683945 | 3c6b1167c68bcbd40a4caca598f219f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94542 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "foz1284/docs.particular.net",
"max_stars_repo_path": "samples/serializers/protobufnet/ProtoBufNet_2/Sample/OrderItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94543"
} | starcoder | <reponame>foz1284/docs.particular.net<filename>samples/serializers/protobufnet/ProtoBufNet_2/Sample/OrderItem.cs
using ProtoBuf;
[ProtoContract]
public class OrderItem
{
[ProtoMember(1)]
public int ItemId;
[ProtoMember(2)]
public int Quantity;
} | 1.386314 | 6221f59c6b858be240cb484d30542e4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94543 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Normsmiway/MediatorDemo",
"max_stars_repo_path": "Controllers/CreateWeatherRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94544"
} | starcoder | <gh_stars>0
namespace MediatorDemo.Controllers
{
public class CreateWeatherRequest
{
public int Temperature { get; set; }
}
}
| 1.160235 | 8ed6d1237e857753ba7539b1b0447777 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94544 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FerdinandSukhoi/CHAD",
"max_stars_repo_path": "server/src/Core/Data/KlRelStudentCourse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94545"
} | starcoder | <filename>server/src/Core/Data/KlRelStudentCourse.cs<gh_stars>0
using Microsoft.EntityFrameworkCore;
namespace Chad.Data
{
[Keyless]
public class KlRelStudentCourse
{
public string StudentId { get; set; }
public long CourseId { get; set; }
}
} | 1.731138 | ac8632761f6c55f310692af45782ab3a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94545 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "madiantech/tkcore",
"max_stars_repo_path": "Data/YJC.Toolkit.AdoData/Sys/AdoInitializtion.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94546"
} | starcoder | <reponame>madiantech/tkcore
using System;
using System.Globalization;
using YJC.Toolkit.Cache;
using YJC.Toolkit.Decoder;
using YJC.Toolkit.Properties;
namespace YJC.Toolkit.Sys
{
internal class AdoInitializtion : IInitialization
{
#region IInitialization 成员
public void AppStarting(object app... | 1.554588 | 53742826c42d82b32bd9f08eeb7b7750 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94546 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/datafactory/Microsoft.Azure.Management.DataFactory/tests/Utils/JsonSampleCommon.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94547"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace DataFactory.Tests.Utils
{
public static class JsonS... | 2.69952 | f6fa94ff191cf07f8739a1c5ee8275f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94547 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ginnfeng/eShopOnContainers",
"max_stars_repo_path": "tutorial/APIDemo/BuildingBlocks/Common/Common/Support/ErrorHandling/Exception.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94548"
} | starcoder | using System;
using System.Collections.Generic;
using System.Security.Permissions;
using System.Runtime.Serialization;
using System.Globalization;
namespace Common.Support.ErrorHandling
{
#if !SILVERLIGHT
[Serializable]
#endif
public class Exception<T> : Exception, IExceptionExt
where T:IErrorInfo,ne... | 2.563159 | 2d0a985759b71c075df129821185ee95 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94548 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AQdf/Pocket",
"max_stars_repo_path": "server/Sho.Pocket.Api/Validation/ValidateModelStateAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94549"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Sho.Pocket.Api.Models;
using System.Collections.Generic;
namespace Sho.Pocket.Api.Validation
{
public class ValidateModelStateAttribute : ActionFilterAttribute
{
public override v... | 2.413382 | 4f505c1e9e4a9e1767264ff220096c98 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94549 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Ian-Henderson06/ScapeNet",
"max_stars_repo_path": "ScapeNetLib/ScapeNetLib/Packets/OnConnectPacket.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94550"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Lidgren.Network;
namespace ScapeNetLib.Packets
{
public class OnConnectPacket : Packet<OnConnectPacket>
{
public int player_id;
public OnConnectPacket(string packet_ident... | 2.525996 | f73456f6cfb464712c4af532e67a53f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94550 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Monnick/Bequest",
"max_stars_repo_path": "BackEnd/Bequest/PictureManagement/PictureService/Modules/PictureModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94551"
} | starcoder | using Nancy;
using Nancy.Responses;
using PictureStorage.Services.Contracts;
using SharedService.Configuration;
using SharedService.Modules;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace PictureService.Modules
{
public class PictureModule : AuthorizedModule
{
pri... | 2.303218 | cc65d40b9773ffd1beeba8e99b7d3607 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94551 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ChrisBrooksbank/autoCardboard",
"max_stars_repo_path": "autoCardboard.Common/Interfaces/IGameState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94552"
} | starcoder | using System;
namespace autoCardboard.Common
{
public interface IGameState: ICloneable
{
}
}
| 1.372571 | f94c7693c4e680ac3e03082d842d73e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94552 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jiangyimin/Tbs",
"max_stars_repo_path": "src/Tbs.Web.Mvc/Controllers/TenantsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94553"
} | starcoder | using Abp.AspNetCore.Mvc.Authorization;
using Tbs.Authorization;
using Tbs.Controllers;
using Tbs.MultiTenancy;
using Microsoft.AspNetCore.Mvc;
namespace Tbs.Web.Controllers
{
[AbpMvcAuthorize(PermissionNames.HostPages)]
public class TenantsController : TbsControllerBase
{
private readonly ITenant... | 1.623655 | 72cf841c87a035a0e4a732817788b258 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94553 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ecenterhub/MagicWordCounter-MVVM-Style",
"max_stars_repo_path": "MagicWordCounter.Core/RelayCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94554"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
namespace MagicWordCounter.Core
{
public class RelayCommand : ICommand
{
/// <summary>
/// Creates a new instance of <see cref="RelayCommand"/... | 3.109144 | 850d83d8172b86c1fdde3c964fb93c6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94554 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "delta-ops-holding/TQC-Solutions",
"max_stars_repo_path": "Projects/RestAPI/Data/Interfaces/IClanAuthorityRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94555"
} | starcoder | using RestAPI.Data.Objects;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace RestAPI.Data.Interfaces
{
public interface IClanAuthorityRepository : IRepository<ClanAuthority>
{
new Task<IEnumerable<ClanAuthority>> GetById(int id);
}
}
| 1.552472 | a9a7b035c084dd6dddc98165720e90e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94555 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "daerlnaxe/DxTBoxCore",
"max_stars_repo_path": "Sources/BoxChoose/SpecialFolders.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94556"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System;
using System.Runtime.InteropServices;
namespace DxTBoxCore.BoxChoose
{
/// <summary>
/// Class containing methods to retrieve specific file system paths.
/// </summary>
public static class SpecialFolders
{
//... | 2.661759 | 1096bd98d4fb22487af5cecd120a5cf7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94556 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kenx00x/ahhhhhhhhhhhh",
"max_stars_repo_path": "ahhhhhhhhhh/Library/PackageCache/com.unity.timeline@1.2.10/Editor/Manipulators/Utils/PlacementValidity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94557"
} | starcoder | version https://git-lfs.github.com/spec/v1
oid sha256:7a4ef169ef01e0f5ca1895cdd13ed12e0dd2e9e635e71477a89aef207ada2f4e
size 270
| 0.923794 | f986f9c5aea43d758aa537fd0ab91699 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94557 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arman-tech/AlphaVantageLib",
"max_stars_repo_path": "AlphaVantage.Common/Models/TechnicalIndicators/STOCHF/AvSTOCHFMetaData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94558"
} | starcoder | <gh_stars>0
using System;
namespace AlphaVantage.Common.Models.TechnicalIndicators.STOCHF
{
public class AvSTOCHFMetaData : AvMetaDataAbs<AvSTOCHFMetaData>
{
public AvSTOCHFMetaData()
{
base.Type = AvMetaDataTypeEnum.TechnicalIndicators;
base.Function = AvFunctionEnum.S... | 1.834257 | c7939a371ef624e9ed7236fb695a4910 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94558 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BYUCS452F2021/bright-peeps",
"max_stars_repo_path": "src/BrightPeeps.Core/Models/UserData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94559"
} | starcoder | <filename>src/BrightPeeps.Core/Models/UserData.cs<gh_stars>0
namespace BrightPeeps.Core.Models
{
public sealed class UserData
{
public string Id { get; init; }
public string PeepID { get; init; }
public string Username { get; init; }
public string Password { get; init; }
}
} | 1.988311 | 2339891cda3498d62402f817cc532b4c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94559 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "7is7/SVR2.0",
"max_stars_repo_path": "Models/Stage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94560"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
using VueExample.Models.SRV6;
namespace VueExample.Models
{
[Table("Stage")]
public class Stage
{
[Key]
[Column("id_stage"... | 1.804961 | 2da553b89cb495d128c1a7b4fdeb4e6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94560 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joaquinoldani/platzi--ASP--NET--CORE",
"max_stars_repo_path": "Views/Curso/Create.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:94561"
} | starcoder | <gh_stars>0
@model Curso
@{
ViewData["Title"] = "Crear Curso";
Layout = "Simple";
}
<h1>@ViewData["Title"]</h1>
<div class="alert alert-warning" asp-validation-summary="All"></div>
<form method="POST">
<div class="row">
<div class="col-6">
<div class="py-1">
<label... | 2.08902 | 9b4ec458f04d799201aab9c5f42bb2b3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.