added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6237 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gostareh-Negar/TeleNet",
"max_stars_repo_path": "MTProto.Net.Server/Infrastructure/Storage/IPrivateChatData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6238"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace MTProto.NET.Server.Infrastructure.Storage
{
public interface IPrivateChatData : IChatData
{
int UserId1 { get; set; }
int UserId2 { get; set; }
}
public class PrivateChatData : IPrivateChatData
{
public int Id { get; set; }
pub... | 1.962978 | 3e958cdc4a412bc0028ed961ba5d1e46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6238 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "yongjiema/akka.net",
"max_stars_repo_path": "src/core/Akka.Tests/Actor/SupervisorStrategySpecs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6239"
} | starcoder | <filename>src/core/Akka.Tests/Actor/SupervisorStrategySpecs.cs
//-----------------------------------------------------------------------
// <copyright file="SupervisorStrategySpecs.cs" company="Akka.NET Project">
// Copyright (C) 2009-2018 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2018 .N... | 1.935822 | b404081cb9f95327e1b83f12f49adfc5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6239 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "vkvenkat/corefx",
"max_stars_repo_path": "src/System.Data.SqlClient/tests/ManualTests/SQL/SqlBulkCopyTest/CopySomeFromDatatable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6240"
} | starcoder | <filename>src/System.Data.SqlClient/tests/ManualTests/SQL/SqlBulkCopyTest/CopySomeFromDatatable.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
usin... | 2.376586 | 03dbd651bb871f53cd8679a023dcbd73 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6240 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "brianmains/Nucleo.NET",
"max_stars_repo_path": "src/Nucleo.Web.Mvc/Web/Context/Providers/MvcApplicationContextServiceRegistry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6241"
} | starcoder | <reponame>brianmains/Nucleo.NET
using System;
using System.Collections.Generic;
using System.Linq;
using Nucleo.Collections;
using Nucleo.Context;
using Nucleo.Context.Services;
using Nucleo.Context.Providers;
using Nucleo.Web.Context.Services;
namespace Nucleo.Web.Context.Providers
{
public class MvcApplicationCo... | 1.58402 | 8e7b8b04b49f6f3642e66616599e90ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6241 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "drinoff/C-Advanced",
"max_stars_repo_path": "IteratorsAndComparators/collection/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6242"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace collection
{
class Program
{
static void Main(string[] args)
{
var input = Console.ReadLine().Split().ToList();
input.RemoveAt(0);
var list = new List<string>(input);
va... | 3.480432 | 2f59eb6d91680a86b2a24fddd2fed934 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6242 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prixladi/expendity-server",
"max_stars_repo_path": "src/Shamyr.Expendity.Server.Service/PermissionValidation/PermissionValidationPipeline.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6243"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
using MediatR.Pipeline;
using Shamyr.Expendity.Server.Service.Factories;
namespace Shamyr.Expendity.Server.Service.PermissionValidation
{
public class PermissionValidationPipeline<TRequest>: IRequestPreProcessor<TRequest>
where TRequest : notnull
{
pri... | 2.091386 | e0bb3d55292ae732f48dbebe69d04c88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6243 | {
"extension": "c-sharp",
"max_stars_count": "57.0",
"max_stars_repo_name": "NaldoDj/Fast-Factorial-Functions",
"max_stars_repo_path": "SilverFactorial64/Sharith/Factorial/FactorialFactors.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6244"
} | starcoder | // -------- ToujoursEnBeta
// Author & Copyright : <NAME>
// License: LGPL version 3.0 or (at your option)
// Creative Commons Attribution-ShareAlike 3.0
// Comments mail to: peter(at)luschny.de
// Created: 2010-03-01
namespace Sharith.Factorial
{
using System.IO;
using Sharith.Primes;
using XMath = MathUt... | 2.971353 | aaadd3bcc271cda5d7931154d73e1add |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6244 | {
"extension": "c-sharp",
"max_stars_count": "85.0",
"max_stars_repo_name": "HeavenWu/slimdx",
"max_stars_repo_path": "samples/DirectWrite/HelloWorld/HelloWorldSample.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6245"
} | starcoder | /*
* Copyright (c) 2007-2012 SlimDX Group
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publi... | 2.591698 | 4160c090895957fafb95ca34b19e70d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6245 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lun3322/LunaFramework",
"max_stars_repo_path": "src/Luna.Core/TopologicalSorting/OrderedProcess.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6246"
} | starcoder | <filename>src/Luna.Core/TopologicalSorting/OrderedProcess.cs
using System.Collections.Generic;
namespace Luna.TopologicalSorting
{
public class OrderedProcess
{
private readonly HashSet<OrderedProcess> _followers = new HashSet<OrderedProcess>();
private readonly HashSet<OrderedProcess> _predec... | 2.847915 | 2dab4b8043422caed539568aafb1e1cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6246 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jorgeyanesdiez/HueUpdater",
"max_stars_repo_path": "HueUpdater/Settings/JenkinsSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6247"
} | starcoder | namespace HueUpdater.Settings
{
/// <summary>
/// Settings for Jenkins services.
/// </summary>
public class JenkinsSettings
{
public string BaseEndpoint { get; set; }
public string JobNameRegexFilter { get; set; }
public string User { get; set; }
public ... | 1.515701 | e2ae248fef3700403026f1b1ba93bb25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6247 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AmirChabok/IrisStore",
"max_stars_repo_path": "Iris.ViewModels/SearchProductViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6248"
} | starcoder | namespace Iris.ViewModels
{
#region SearchProductViewModel
public class SearchProductViewModel
{
#region Properties
public int PageNumber { get; set; }
public int PageSize { get; set; }
public string SortBy { get; set; }
public string SortOrder { get; set; }
... | 1.834191 | 9f76cb516fb7e03b607f919ab0298bde |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6248 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PhilipDaniels/Lithogen",
"max_stars_repo_path": "Lithogen.TestSites/Lithogen.TestSite1/Plugins/EmbeddedProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6249"
} | starcoder | using Lithogen.Core;
using Lithogen.Core.Interfaces;
using BassUtils;
namespace Lithogen.TestSite1.Plugins
{
/// <summary>
/// This class exists simply to test that loading of plugins
/// from within the website works. It should show up in the Output window
/// (assuming you have a mapping es... | 2.207407 | da2b4021cd21f6d6a81918812c472df4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6249 | {
"extension": "c-sharp",
"max_stars_count": "74.0",
"max_stars_repo_name": "ntfox0001/yuan",
"max_stars_repo_path": "Assets/Standard Assets/unity-ui-extensions/Scripts/Utilities/Serialization/Non-Mono Classes/SceneObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6250"
} | starcoder | //This class holds is meant to hold all the data of a GameObject in the scene which has an ObjectIdentifier component.
//The values from the OI component are mirrored here, along with misc. stuff like the activation state of the gameObect (bool active), and of course it's components.
using System.Collections.Generic;... | 2.187213 | 423494e6b66226e37e7b783e1c895e18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6250 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "omarjuul/MTGAHelper-Windows-Client",
"max_stars_repo_path": "MtgaHelper.Web.Models/Response/User/CollectionResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6251"
} | starcoder | using AutoMapper;
using MTGAHelper.Entity;
using MTGAHelper.Lib.Config.Users;
using MTGAHelper.Web.UI.Model.SharedDto;
using System;
using System.Collections.Generic;
using System.Linq;
namespace MTGAHelper.Web.UI.Model.Response.User
{
public class CollectionResponse
{
public string PlayerName { get; ... | 2.116914 | 63553fee11f76462ebc8268d5e5833fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6251 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "playgen/it-alert",
"max_stars_repo_path": "Unity/PlayGen.ITAlert.Unity/PlayGen.Photon.Unity/Client/ClientState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6252"
} | starcoder | <gh_stars>1-10
namespace PlayGen.Photon.Unity.Client
{
public enum ClientState
{
Disconnected = 0,
Connecting,
Connected,
Room
}
} | 1.175132 | 5bee8fd5a3ee6f0d2a3b776238e4767a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6252 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "shimonmagal/ILSpy",
"max_stars_repo_path": "ICSharpCode.Decompiler/TypeSystem/TypeParameterSubstitution.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6253"
} | starcoder | // Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to us... | 2.51385 | 2c7420f817dcfc7533b105da2c9fdefb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6253 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "publichealthengland/fingertips-open",
"max_stars_repo_path": "PholioVisualisationWS/ServicesTest/GetDataDownload_PracticeProfilesTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6254"
} | starcoder | using System.Net;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PholioVisualisation.PholioObjects;
namespace PholioVisualisation.ServicesTest
{
[TestClass]
public class GetDataDownload_PracticeProfilesTest
{
/// <summary>
/// Asserts population data can be downloaded where the ... | 2.204948 | 657a7bc540f71c8ff2b06cbcd34a15f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6254 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "kalintsenkov/SoftUni-Software-Engineering",
"max_stars_repo_path": "CSharp-Advanced/Homeworks-And-Labs/09IteratorsAndComparatorsExercise/01ListyIterator/StartUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6255"
} | starcoder | using System;
using System.Linq;
namespace IteratorsAndComparators
{
public class StartUp
{
public static void Main()
{
var createCommand = Console.ReadLine()
.Split(new string[] { "Create", " " }, StringSplitOptions.RemoveEmptyEntries)
.ToArray();
... | 3.582823 | e191da13c1b7d0cf9710167feb309a92 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6255 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sfmskywalker/Orchard-Pros",
"max_stars_repo_path": "src/Orchard.Web/Modules/OrchardPros/Services/Content/ISubscriptionService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6256"
} | starcoder | <reponame>sfmskywalker/Orchard-Pros
using System.Collections.Generic;
using Orchard;
using Orchard.Security;
using OrchardPros.Models;
namespace OrchardPros.Services.Content {
public interface ISubscriptionService : IDependency {
IEnumerable<IUser> GetSubscribers(SubscriptionSourcePart subscriptionSource);... | 1.630031 | 08842ba369e8361e8b6761c53033b189 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6256 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "crlucero/WordCounter.Solution-MVC",
"max_stars_repo_path": "WordCounter/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6257"
} | starcoder | <h1>Welcome to the Word Counter game!</h1>
<button><a href="/game">Play</a></button> | 1.276501 | 6a4e21b8f4985874d0a57a9e8f3ce62c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6257 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "igor-toporet/SampleCashRegister",
"max_stars_repo_path": "Source/OrderItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6258"
} | starcoder | <reponame>igor-toporet/SampleCashRegister
namespace SampleCashRegister
{
public class OrderItem
{
public string Product { get; set; }
public decimal PricePerUnit { get; set; }
public decimal Quantity { get; set; }
}
}
| 1.814866 | 16a6ae47fece980d90125398cba4939f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6258 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LanguageDev/SynKit",
"max_stars_repo_path": "Sources/SynKit.Grammar.Tests/SlrParsingTableTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6259"
} | starcoder | <filename>Sources/SynKit.Grammar.Tests/SlrParsingTableTests.cs<gh_stars>0
using SynKit.Grammar.Lr;
using SynKit.Grammar.Lr.Items;
using SynKit.Grammar.Lr.Tables;
using Xunit;
namespace SynKit.Grammar.Tests;
public class SlrParsingTableTests : LrTestBase<Lr0Item>
{
[Fact]
public void FromLr0Grammar()
{
... | 2.270448 | 93dce29b1d0302f016cb499242bcf08a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6259 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sarisia/Tera-custom-cooldowns",
"max_stars_repo_path": "TCC.Core/WindowSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6260"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Threading;
using System.Xml.Linq;
using TCC.Data;
using TCC.Parsing;
using TCC.ViewModels;
using TCC.Windows;
using MessageBoxImage = TCC.Data.MessageBoxImage;
namespace TCC
{
public class WindowSettings : TSPro... | 1.946409 | d87feb60d4454de5eb166f0415ce4845 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6260 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Frederick-S/NinetyNineProblems",
"max_stars_repo_path": "NinetyNineProblems/Lists/P08.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6261"
} | starcoder | <reponame>Frederick-S/NinetyNineProblems
using System.Collections.Generic;
using System.Linq;
namespace NinetyNineProblems.Lists
{
public class P08
{
public static List<T> Compress<T>(List<T> list)
{
return CompressInternal(list, 0);
}
private static List<T> Compres... | 3.128746 | 8a948ce664fac29cfc7cdb2f17b14f91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6261 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nesfit/Coffee",
"max_stars_repo_path": "Barista.Contracts/Commands/Swipe/IConfirmSwipe.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6262"
} | starcoder | <filename>Barista.Contracts/Commands/Swipe/IConfirmSwipe.cs<gh_stars>0
using System;
namespace Barista.Contracts.Commands.Swipe
{
public interface IConfirmSwipe : ICommand
{
Guid PointOfSaleId { get; }
Guid SaleId { get; }
}
}
| 1.732237 | cf205f6dc40a9107c875013a3ab196a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6262 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dtdimi/IronJS",
"max_stars_repo_path": "IronJS/Runtime/Binders/JsInvokeBinder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6263"
} | starcoder | using System;
using System.Dynamic;
using System.Reflection;
using IronJS.Runtime.Utils;
using Microsoft.Scripting.Utils;
using AstUtils = Microsoft.Scripting.Ast.Utils;
using Et = System.Linq.Expressions.Expression;
using Meta = System.Dynamic.DynamicMetaObject;
using Restrict = System.Dynamic.BindingRestrictions;
n... | 2.16159 | cfb53861fec6fc429698d7bf8788ed70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6263 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Statev7/Manga.Application",
"max_stars_repo_path": "src/CreateManga.Application/CreateManga.Application/Areas/Designing/Views/Manga/Create.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6264"
} | starcoder | @model CreateMangaBindingModel
@{
ViewData["Title"] = "Create manga";
}
<div class="d-flex justify-content-between align-items-center" style="border-bottom: 1px solid white">
<div>
<a class="btn btn-outline-secondary mb-2" asp-action="Index">Back to List</a>
</div>
<div>
<h1>Create ne... | 2.299519 | 886dd742bdfd13eb492ee6f54304d17c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6264 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "adenisov/Weave",
"max_stars_repo_path": "src/providers/MassTransit/Weave.Messaging.MassTransit/Endpoint/Behaviors/Container/IReceiveEndpointConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6265"
} | starcoder | <reponame>adenisov/Weave
using MassTransit;
namespace Weave.Messaging.MassTransit.Endpoint.Behaviors.Container
{
/// <summary>
///
/// </summary>
public interface IReceiveEndpointConfiguration
{
/// <summary>
///
/// </summary>
IReceiveEndpointConfigurator Configur... | 1.073083 | f08b38fc459beaedf6d9cc857ae85eef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6265 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "damonsiusta/Brighter",
"max_stars_repo_path": "src/Paramore.Brighter.MessagingGateway.RMQ/RmqMessageConsumer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6266"
} | starcoder | <filename>src/Paramore.Brighter.MessagingGateway.RMQ/RmqMessageConsumer.cs
#region Licence
/* The MIT License (MIT)
Copyright © 2014 <NAME> <<EMAIL>>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Softw... | 1.956977 | 4af8003e2d559c2a437e3e1b9d9af5fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6266 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "georghinkel/ttc2017smartGrids",
"max_stars_repo_path": "generator/Schema/IEC61970/Informative/InfWork/CUGroup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6267"
} | starcoder | <gh_stars>1-10
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Cod... | 1.014598 | 950f118dd0669f7bc2e40c629a297945 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6267 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JannoTjarks/Eastfrisian-Invaders",
"max_stars_repo_path": "Assets/Scripts/Player/PlayerSiMovement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6268"
} | starcoder | using UnityEngine;
using UnityEngine.SceneManagement;
public class PlayerSiMovement : MonoBehaviour
{
// Physics
private Rigidbody2D _rb2d;
// Movement
private float _moveX;
private const int MOVESPEED = 6;
// Shoot
public GameObject LaserPrefab;
private const float LASERSPEED = 500F... | 2.224689 | 6d1da987ace2ea05adaa0cbcef3a6917 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6268 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Prissmelo/PriscilaVoando",
"max_stars_repo_path": "Controllers/ClienteController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6269"
} | starcoder | using CRUDMVC.Data;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using CRUDMVC.Models;
using System;
using CRUDMVC.Enum;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace CRUDMVC.Controllers
{
public class ClienteController : Controller
... | 2.305197 | 632f9bc1b6745624f7cb7570c772db8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6269 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sdrmaps/dotspatial",
"max_stars_repo_path": "Source/DotSpatial.Projections/IRandomizable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6270"
} | starcoder | <reponame>sdrmaps/dotspatial
// ********************************************************************************************************
// Product Name: DotSpatial.Projection
// Description: The basic module for MapWindow version 6.0
// ******************************************************************************... | 1.937206 | 24be36ff857dab583310d0d6293caecd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6270 | {
"extension": "c-sharp",
"max_stars_count": "3375.0",
"max_stars_repo_name": "nul800sebastiaan/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Models/Membership/ContentPermissionSet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6271"
} | starcoder | <reponame>nul800sebastiaan/Umbraco-CMS
using System;
using Umbraco.Cms.Core.Models.Entities;
namespace Umbraco.Cms.Core.Models.Membership
{
/// <summary>
/// Represents an <see cref="IContent"/> -> user group & permission key value pair collection
/// </summary>
/// <remarks>
/// This implements <... | 2.35676 | 2cc5e6d829cedc3f23ba131bab4c8f4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6271 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aragas/Aragas.TupleEventSystem",
"max_stars_repo_path": "src/Aragas.TupleEventSystem/BaseEventHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6272"
} | starcoder | <filename>src/Aragas.TupleEventSystem/BaseEventHandler.cs
using System;
using System.Runtime.CompilerServices;
namespace Aragas.TupleEventSystem
{
/// <summary>
/// Event system that provides a reference to the subscriber.
/// </summary>
public abstract class BaseEventHandler<TEventArgs> : IDisposable... | 2.774561 | e0eea756866cc0f3e64b4e29de16212b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6272 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EdwinKaburu/JOLT",
"max_stars_repo_path": "src/Models/OpinionItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6273"
} | starcoder | /// <summary>
/// Class to store opinions
/// </summary>
namespace ContosoCrafts.WebSite.Models
{
/// <summary>
/// Two opinion items in each poll, each has a specific number count
/// </summary>
public class OpinionItem
{
/// <summary>
/// get and set the string of each opinion ite... | 3.333839 | f05d241930a296c78e0e320d23bc4332 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6273 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Rdlprmpf/iot",
"max_stars_repo_path": "src/devices/Nmea0183/Sentences/MeteorologicalComposite.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6274"
} | starcoder | <filename>src/devices/Nmea0183/Sentences/MeteorologicalComposite.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using UnitsNet;
us... | 2.838887 | eb12d0f19ae107418a0072684ee1b7ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6274 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dsvgdeveloper/Tactical",
"max_stars_repo_path": "mockup/Assets/Script/ItemDataBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6275"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using LitJson;
using Assets.Scripts;
using System.IO;
using System;
public class ItemDataBase : MonoBehaviour {
List<Item> database = new List<Item>();
//Dictionary<string, Item> database = new Dictionary<string, Item>(... | 2.199628 | 0b5212e22837e6f24a4830adbf7425f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6275 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Li-Yanzhi/MonkeysApp-Workshop",
"max_stars_repo_path": "MonkeyApp/MonkeyApp/View/MonkeyPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6276"
} | starcoder | using MonkeyApp.Interfaces;
using MonkeyApp.Model;
using MonkeyApp.ViewModel;
using Refractored.Xam.TTS;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace MonkeyApp.View
{
public partial class MonkeyPage : ContentPag... | 1.745462 | 14d411c82668159cf0c05fac9ac049c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6276 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DamianSODW/AI-RPG-Battler",
"max_stars_repo_path": "Assets/Scripts/BehaviorTree/Node.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6277"
} | starcoder | using System.Collections;
using System.Collections.Generic;
namespace BehaviorTree
{
public enum NodeState
{
Running,
Success,
Failure
}
public class Node
{
protected NodeState state;
public Node parent;
protected List<Node> children = new List<Node... | 3.21743 | 28497b69f2ed5d443d686bcf6982aee5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6277 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tarik-Colakhodzic/Real-estate-agency-api",
"max_stars_repo_path": "RealEstateAgency/RealEstateAgency/Services/VisitService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6278"
} | starcoder | <reponame>Tarik-Colakhodzic/Real-estate-agency-api
using AutoMapper;
using Microsoft.EntityFrameworkCore;
using RealEstateAgency.Database;
using System.Collections.Generic;
using System.Linq;
namespace RealEstateAgency.Services
{
public class VisitService : BaseCRUDService<Model.Visit, Database.Visit, Model.Reque... | 2.589348 | dcfc60248714b80d78258f4cf4f425b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6278 | {
"extension": "c-sharp",
"max_stars_count": "748.0",
"max_stars_repo_name": "MrKelvinChen/bililive_dm",
"max_stars_repo_path": "Bililive_dm_UWPViewer/App.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6279"
} | starcoder | <reponame>MrKelvinChen/bililive_dm
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Wi... | 1.984438 | 129a437b7b1b727a41fe996c15765be2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6279 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Opdex/opdex-v1-api",
"max_stars_repo_path": "src/Opdex.Platform.Application/Assemblers/MiningGovernanceDtoAssembler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6280"
} | starcoder | using MediatR;
using Opdex.Platform.Application.Abstractions.Models.MiningGovernances;
using Opdex.Platform.Application.Abstractions.Queries.Blocks;
using Opdex.Platform.Application.Abstractions.Queries.Tokens;
using Opdex.Platform.Common.Constants.SmartContracts;
using Opdex.Platform.Common.Extensions;
using Opdex.Pla... | 2.076618 | f7cf80971cce54e1e438d760f91e4567 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6280 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HackerBaloo/GitSharp",
"max_stars_repo_path": "Tests/Patch/BasePatchTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6281"
} | starcoder | using System.IO;
using System.Text;
using GitSharp.Patch;
using NUnit.Framework;
namespace GitSharp.Tests.Patch
{
public class BasePatchTest
{
protected const string DiffsDir = "../../../Tests/Diff/Resources/";
protected const string PatchsDir = "../../../Tests/Patch/Resources/";
protected static GitSharp.Pa... | 2.434798 | 04d00991bf66ab48d62e2527dcbcff9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6281 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "acidburn0zzz/JuvoPlayer",
"max_stars_repo_path": "MpdParser/TemplateRepresentationStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6282"
} | starcoder | /*!
* https://github.com/SamsungDForum/JuvoPlayer
* Copyright 2018, Samsung Electronics Co., Ltd
* Licensed under the MIT license
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES... | 2.169421 | 6438285fae08751d9c9c972d88e51993 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6282 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kotori7/MastodonImageBot",
"max_stars_repo_path": "MastodonImageBot/BotConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6283"
} | starcoder | using Newtonsoft.Json;
namespace MastodonImageBot
{
public struct BotConfig
{
[JsonProperty("instance")]
public string Instance { get; private set; }
[JsonProperty("username")]
public string Username { get; private set; }
[JsonProperty("email")]
public string Em... | 1.750289 | 22b639cac753c4c81ea77e22b92e7fb0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6283 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "brandiweekes/CalculatorCode",
"max_stars_repo_path": "TimeCalculator/Controllers/PasswordStrengthCalculatorController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6284"
} | starcoder | using System;
using Microsoft.AspNetCore.Mvc;
using CalculatorCode.Models;
namespace CalculatorCode.Controllers
{
public class PasswordStrengthCalculatorController : Controller
{
public IActionResult Index()
{
SetViewBagValues();
return View();
}
[HttpP... | 2.625339 | 4fe1d554c5989472dab126160559dde0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6284 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bharanijayasuri/umbraco8",
"max_stars_repo_path": "src/Umbraco.Web/UI/Controls/UmbracoUserControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6285"
} | starcoder | <gh_stars>0
using System;
using System.Web.Mvc;
using System.Web.UI;
using Umbraco.Core.Cache;
using Umbraco.Core.Composing;
using Umbraco.Core.Logging;
using Umbraco.Core.Services;
using Umbraco.Web.Security;
using Umbraco.Web.UI.Pages;
using Current = Umbraco.Web.Composing.Current;
namespace Umbraco.Web.UI.Controls... | 1.768112 | 4403a43313c18a3337f3f2aaf10a55e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6285 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "octansIt/environmentassessment",
"max_stars_repo_path": "EnvironmentAssessment.Wizard/Common/VimApi/V/VVolVmConfigFileUpdateResultFailedVmConfigFileInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6286"
} | starcoder | namespace EnvironmentAssessment.Common.VimApi
{
public class VVolVmConfigFileUpdateResultFailedVmConfigFileInfo : DynamicData
{
protected string _targetConfigVVolId;
protected LocalizedMethodFault _fault;
public string TargetConfigVVolId
{
get
{
return this._targetConfigVVolId;
}
set
{
... | 1.32188 | 982810339a0e9a9c6962a6cccdd26aa4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6286 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "elena-andonova/telerik-academy",
"max_stars_repo_path": "Programming with C#/Codes/Libraries/DSA/data-structures-csharp-master/data-structures-csharp/data-structures-csharp/QuadTree/QuadTree.cs",
"provenance": "train-00000-of-00045.js... | starcoder | using System;
using System.Diagnostics.Contracts;
namespace DataStructures.QuadTreeSpace
{
[Serializable]
public class QuadTree<T>
{
public readonly int MaximumElementsPerNode;
private readonly Rectangle region;
private readonly Node<T> root;
public Rectangle Region
... | 3.224816 | 838e7b99959835775a1f44b5f55e3f77 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6287 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KonstantinLackner/CtrlX2",
"max_stars_repo_path": "Assets/Scripts/Manager/WordEndingChange.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6288"
} | starcoder | using System;
using UnityEngine;
using UnityEngine.UI;
namespace DefaultNamespace
{
// Has to be attached to ever adjective and verb
public class WordEndingChange : MonoBehaviour
{
// You walk over the burning bridge
// You walking over the burn bridge
// You burn the br... | 2.7017 | aa711c8f0268552240bf7c86aa7f9939 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6288 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mhamadrashid/basic-project-c-sharp-console",
"max_stars_repo_path": "menu caffetteria/program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6289"
} | starcoder | <filename>menu caffetteria/program.cs<gh_stars>1-10
using System;
namespace mhamad_rashid
{
internal class Program
{
static void Main(string[] args)
{
short cha = 0; short qawa = 0; short shir = 0; short chuklata = 0; short niskafa = 0; short nerla = 0; short nerglav = 0;... | 2.688819 | b99d778b258ce0871ae8b8fc78719bb0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6289 | {
"extension": "c-sharp",
"max_stars_count": "290.0",
"max_stars_repo_name": "chengliang-git/Revo",
"max_stars_repo_path": "Extensions/Revo.Extensions.History/ChangeTracking/Model/EntityAttributeData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6290"
} | starcoder | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Revo.DataAccess.Entities;
using Revo.Domain.ReadModel;
namespace Revo.Extensions.History.ChangeTracking.Model
{
[TablePrefix(NamespacePrefix = "RHI", ColumnPrefix = "EAD")]
public class EntityAttributeData : EntityReadModel
{
p... | 2.317111 | 14ffbd784ba4bbd8aa16d12ab26d150e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6290 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Ninchuga/AspNetMicroservicesShop",
"max_stars_repo_path": "Src/Functions/EmailFunction/SendGridEmailQueueTriggerFunction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6291"
} | starcoder | <reponame>Ninchuga/AspNetMicroservicesShop<gh_stars>1-10
// The 'From' and 'To' fields are automatically populated with the values specified by the binding settings.
//
// You can also optionally configure the default From/To addresses globally via host.config, e.g.:
//
// {
// "sendGrid": {
// "to": "<EMAIL>",
... | 2.187407 | f6c17c22ef4aa822e370d7d8a33685bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6291 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MohammedBenSaidCoding/AMProject",
"max_stars_repo_path": "src/AM.Domain/LawnAggregate/Abstractions/IMowerSection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6292"
} | starcoder | namespace AM.Domain.LawnAggregate.Abstractions;
public interface IMowerSection
{
public ILawnBuildSection CreateMowers();
} | 1.178898 | ccafcca71892ca2dc842020c0a806a3c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6292 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jadugarr/PetTheKitties",
"max_stars_repo_path": "Assets/Scripts/Scene/Systems/ExitMainMenuStateSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6293"
} | starcoder | using System.Collections.Generic;
using Entitas;
using Entitas.Common;
public class ExitMainMenuStateSystem : GameReactiveSystem
{
public ExitMainMenuStateSystem(GameContext context) : base(context)
{
}
protected override ICollector<GameEntity> GetTrigger(IContext<GameEntity> context)
{
r... | 1.699636 | c3942e6a3eea6fb0c5b8c508c58af950 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6293 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Regenhardt/Librelancer",
"max_stars_repo_path": "src/LibreLancer.Data/Ini/IniFile.Reflection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6294"
} | starcoder | // MIT License - Copyright (c) <NAME>
// This file is subject to the terms and conditions defined in
// LICENSE, which is part of this source code package
using System;
using System.Collections;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Collections.Generic;
using System.Numerics;
using... | 2.74116 | aca219709453ac44ca31738b73d9ecc7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6294 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StrannikX/FFmpeg.NET",
"max_stars_repo_path": "src/FFmpeg.NET/StandardInputWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6295"
} | starcoder | <filename>src/FFmpeg.NET/StandardInputWriter.cs
using System;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace FFmpeg.NET
{
public class StandardInputWriter : IInputArgument, IProcessExecutionHandler
{
private const int ChannelClosedHResult = -... | 2.633755 | 26cef9b2d2609a6b22cc7c7bf045b1ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6295 | {
"extension": "c-sharp",
"max_stars_count": "481.0",
"max_stars_repo_name": "SpringLeee/NewLife.Cube",
"max_stars_repo_path": "NewLife.Cube/Views/Shared/_Form_Item.generated.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6296"
} | starcoder | <gh_stars>100-1000
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//----------------------------------... | 1.647138 | 7e37eb4de7950073a9f79fc19a5f3e40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6296 | {
"extension": "c-sharp",
"max_stars_count": "1442.0",
"max_stars_repo_name": "alanta/Wyam",
"max_stars_repo_path": "tests/core/Wyam.Core.Tests/Modules/Metadata/FileNameFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6297"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Wyam.Common.Documents;
using Wyam.Common.IO;
using Wyam.Common.Meta;
using Wyam.Common.Execution;
using Wyam.Common.Modules;
using Wyam.Common.Util;
using Wyam.Core.Documents;
using Wyam.Core.Modules.Metadata;
using Wyam.Co... | 2.302277 | 29cdbd6bcc12a53701080d5a5cf0afb7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6297 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "equinor/fusion-app-resources",
"max_stars_repo_path": "src/backend/api/Fusion.Resources.Api/Swagger/FusionSwaggerConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6298"
} | starcoder | <reponame>equinor/fusion-app-resources
using Swashbuckle.AspNetCore.SwaggerGen;
using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace Microsoft.Extensions.DependencyInjection
{
public class FusionSwaggerConfig
{
internal static bool UseFusionSwaggerSetup = false;
... | 1.939902 | 11ffe97b97ca48fd81eaf77d12660044 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6298 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "piquark6046/FilterLists",
"max_stars_repo_path": "services/Directory/FilterLists.Directory.Infrastructure/Persistence/Queries/Entities/License.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6299"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace FilterLists.Directory.Infrastructure.Persistence.Queries.Entities;
public record License : EntityRequiringApproval
{
public string Name { get; init; } = default!;
public Uri? Url { get; init; }
public bo... | 2.033085 | cd2f4e27deb0660629b98d79e04059ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6299 | {
"extension": "c-sharp",
"max_stars_count": "5213.0",
"max_stars_repo_name": "LaudateCorpus1/StockSharp",
"max_stars_repo_path": "Algo/Storages/IPositionStorage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6300"
} | starcoder | namespace StockSharp.Algo.Storages
{
using System;
using System.Collections.Generic;
using Ecng.Collections;
using Ecng.Common;
using StockSharp.BusinessEntities;
using StockSharp.Messages;
using Key = System.Tuple<BusinessEntities.Portfolio, BusinessEntities.Security, string, Messages.Sides?, string, string,... | 2.582399 | a0b61ae05da71bc39b1a9a79eea14338 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6300 | {
"extension": "c-sharp",
"max_stars_count": "525.0",
"max_stars_repo_name": "PoisnFang/Myra",
"max_stars_repo_path": "src/Myra/Graphics2D/UI/Styles/WidgetStyle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6301"
} | starcoder | namespace Myra.Graphics2D.UI.Styles
{
public class WidgetStyle
{
public string Id { get; set; }
public int? Width { get; set; }
public int? Height { get; set; }
public int? MinWidth { get; set; }
public int? MinHeight { get; set; }
public int? MaxWidth { get; set; }
public int? MaxHeight { get; set;... | 2.687463 | 7f37a9998b747ea8035d2bc80563ed49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6301 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TheGoddessInari/NiceHashMiner",
"max_stars_repo_path": "src/NHM.DeviceMonitoring/DeviceMonitor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6302"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NHM.DeviceMonitoring
{
public class DeviceMonitor
{
public string UUID { get; internal set; }
}
}
| 1.426551 | 82ab42ab09050aa7b3f69712d3efcfe1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6302 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pieterh/energy-management-system",
"max_stars_repo_path": "backend/EMS.WebHost/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6303"
} | starcoder | using System.IdentityModel.Tokens.Jwt;
using System.IO;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Diagnostics;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extens... | 1.947138 | 99a4069635e38b594a942f96725c0965 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6303 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HulinCedric/codin-game",
"max_stars_repo_path": "src/Puzzles/Easy/Defibrillators/Solution.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6304"
} | starcoder | <gh_stars>0
namespace CodinGame.Puzzles.Easy.Defibrillators
{
using System;
class Solution
{
static void Main(string[] args)
{
var lonA = double.Parse(Console.ReadLine().Replace(',', '.'));
var latA = double.Parse(Console.ReadLine().Replace(',', '.'));
... | 2.870488 | 96d0a1b8e47ee1754bea4d7411eeff3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6304 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SoftwareAG/cumulocity-sdk-cs",
"max_stars_repo_path": "REST-SDK/src/Cumulocity.SDK.Client/Rest/Representation/Identity/ExternalIDCollectionRepresentation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6305"
} | starcoder | using Newtonsoft.Json;
using System.Collections.Generic;
namespace Cumulocity.SDK.Client.Rest.Representation.Identity
{
[JsonObject]
public class ExternalIDCollectionRepresentation : BaseCollectionRepresentation<ExternalIDRepresentation>
{
private IList<ExternalIDRepresentation> externalIds = new List<ExternalIDR... | 2.107288 | e7e722ed88e956d9b867e858cde303d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6305 | {
"extension": "c-sharp",
"max_stars_count": "557.0",
"max_stars_repo_name": "Manny27nyc/stripe-dotnet",
"max_stars_repo_path": "src/Stripe.net/Entities/StripeError.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6306"
} | starcoder | <filename>src/Stripe.net/Entities/StripeError.cs
namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class StripeError : StripeEntity<StripeError>
{
/*
* For regular API errors:
*/
/// <summary>For card errors, the ID of the failed charge.</s... | 2.417353 | 5b65d5b908fc22db413aec834e20a494 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6306 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "minute/mpv.net",
"max_stars_repo_path": "mpv.net/mpv/mp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6307"
} | starcoder | <reponame>minute/mpv.net
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Threading;
using System... | 1.500624 | 8be62719a2f79f0c3408ca96607ef5f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6307 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "verloka/Networking",
"max_stars_repo_path": "src/URITest/URITest/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6308"
} | starcoder | using System;
namespace URITest
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(GetVerlokaURI());
Console.WriteLine(GetVerlokaURICtor());
Console.WriteLine("Press any key to exit.");
Console.Read();
}
... | 2.930652 | 70c2f33d920c062770a455211d747be3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6308 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Szune/eilang",
"max_stars_repo_path": "eilang/OperationCodes/TemporaryReference.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6309"
} | starcoder | using eilang.Interfaces;
using eilang.Interpreting;
using eilang.Values;
namespace eilang.OperationCodes
{
public class TemporaryReference : IOperationCode
{
private readonly IValue _variableName;
public TemporaryReference (IValue variableName)
{
_variableName = variableNa... | 2.449421 | 7bca8d28c3c7fe3ef064219266eb798b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6309 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hajekj/microsoft-identity-web",
"max_stars_repo_path": "tests/AzureFunctions/SampleFunc/SampleFunc.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6310"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Microsof... | 2.310461 | 21e9ef74257c450e9915b11749447009 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6310 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TomMeinhold/Hexa-Engine",
"max_stars_repo_path": "FontTool/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6311"
} | starcoder | namespace FontTool
{
using CommandLine;
internal class Program
{
private class Options
{
[Option('p', "path", Required = true, HelpText = "path to font")]
public string Path { get; set; }
[Option('t', "texture", Required = true, HelpText = "path to text... | 3.037747 | c25ca69447ce4d3f72638cd29e654f21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6311 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "GEOTEST-AG/BioDivCollector",
"max_stars_repo_path": "Server/BioDivCollector.DB/Migrations/20201026202253_Transparency.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6312"
} | starcoder | <gh_stars>1-10
using Microsoft.EntityFrameworkCore.Migrations;
namespace BioDivCollector.DB.Migrations
{
public partial class Transparency : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<double>(
name: "transp... | 1.851296 | 9a25c5d9ef13c77a74aca751d1e7ca84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6312 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JonSnowbd/Nez",
"max_stars_repo_path": "Ash.Portable/Utils/Extensions/GameServiceContainerExt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6313"
} | starcoder | using Microsoft.Xna.Framework;
namespace Ash
{
public static class GameServiceContainerExt
{
/// <summary>
/// Adds the service and returns the added service for method chaining
/// </summary>
/// <returns>The service.</returns>
/// <param name="self">Self.</param>
/// <param name="provider">Provider.</... | 2.976523 | 004cfed5445db0177ba76af0bc1731cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6313 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "BrianJerez/Opera",
"max_stars_repo_path": "Models/Question.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6314"
} | starcoder | <gh_stars>1-10
using System.ComponentModel.DataAnnotations;
using System;
namespace Opera.Models
{
public class Question
{
[Key]
public int QuestionId { get; set; }
public string QuestionTitle { get; set; }
public string QuestionDescription { get; set; }
... | 1.890705 | 9c77b0bc36a742c046b8c551b41cdf7f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "petar-m/JustEvaluate",
"max_stars_repo_path": "src/JustEvaluate/Builder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6315"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace JustEvaluate
{
public class Builder
{
private static readonly Expression Zero = Expression.Constant(0m, typeof(decimal));
private static readonly Exp... | 2.636989 | deeb567d1d21da9e658a1faa70edec0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6315 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sreeks/Selenium2",
"max_stars_repo_path": "dotnet/src/Selenium.WebDriverBackedSelenium/Internal/SeleniumEmulation/GetAllFields.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6316"
} | starcoder | <filename>dotnet/src/Selenium.WebDriverBackedSelenium/Internal/SeleniumEmulation/GetAllFields.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using OpenQA.Selenium;
namespace Selenium.Internal.SeleniumEmulation
{
/// <summary>
... | 2.722879 | ed7926c3bf153724d266415a5dc761e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6316 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "thygesteffensen/PowerAutomateMockUp",
"max_stars_repo_path": "Test/ActionTests/SwitchActionTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6317"
} | starcoder | <filename>Test/ActionTests/SwitchActionTest.cs
using System.Collections.Generic;
using System.Threading.Tasks;
using Moq;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using Parser;
using Parser.ExpressionParser;
using Parser.FlowParser.ActionExecutors;
using Parser.FlowParser.ActionExecutors.Implementations;
usi... | 2.005416 | 4f64e9e63bf5f2751edbd4f0e06dc151 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6317 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mhbsti/CocosSharp",
"max_stars_repo_path": "src/tileMap_parallax_nodes/CCTMXLayerInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6318"
} | starcoder | using System.Collections.Generic;
namespace CocosSharp
{
public class CCTMXLayerInfo
{
#region Properties
public bool OwnTiles { get; set; }
public bool Visible { get; set; }
public byte Opacity { get; set; }
public string Name { get; set; }
public uint MaxGID... | 2.237925 | 50d4153009f95a5503ddf70cf858b4e8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6318 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "kozlov-d/QSProjects",
"max_stars_repo_path": "QS.Project.Gtk/Views/Resolve/RegisteredGtkViewResolver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6319"
} | starcoder | using System;
using System.Collections.Generic;
using Gtk;
using QS.ViewModels;
using QS.ViewModels.Dialog;
namespace QS.Views.Resolve
{
public class RegisteredGtkViewResolver : IGtkViewResolver
{
List<ResolveRule> registeredViews = new List<ResolveRule>();
readonly IGtkViewResolver nextResolver;
public Regi... | 2.759401 | d6e15aaa96ab5badcfb252d89ddad6e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6319 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "MinaPecheux/UnityTutorials-FiniteStateMachines",
"max_stars_repo_path": "Assets/Scripts/States/Moving.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6320"
} | starcoder | <filename>Assets/Scripts/States/Moving.cs
using UnityEngine;
public class Moving : Grounded
{
private float _horizontalInput;
public Moving(MovementSM stateMachine) : base("Moving", stateMachine) {}
public override void Enter()
{
base.Enter();
sm.spriteRenderer.color = Color.red;
... | 2.53985 | 31afbb2dfa4bc980457f8735f92982c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6320 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "SvanBoxel/OrchardCore",
"max_stars_repo_path": "src/OrchardCore.Modules/OrchardCore.Workflows/Views/Items/WhileLoopTask.Fields.Design.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6321"
} | starcoder | <filename>src/OrchardCore.Modules/OrchardCore.Workflows/Views/Items/WhileLoopTask.Fields.Design.cshtml
@model ActivityViewModel<WhileLoopTask>
<header>
<h4><i class="fa fa-circle-o-notch"></i>@Model.Activity.GetTitleOrDefault(() => T["While Loop"])</h4>
</header>
<span>@T["Loop while <em>{0}</em> is true", Model.A... | 2.159174 | 14f25cdb5271a1588e82e99cceabe773 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6321 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "wagnerhsu/bookcode-AspNetCore.Mvc.2.0.Cookbook",
"max_stars_repo_path": "Chapter05/4-ImplementingDIWithDryIoc/IocDiExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6322"
} | starcoder | <filename>Chapter05/4-ImplementingDIWithDryIoc/IocDiExtensions.cs
using System;
using DryIoc;
public static class IocDiExtensions
{
public static IServiceProvider ConfigureDI(this IServiceProvider services, Action<Registrator> configureServices)
{
var container = new Container().WithDependencyIn... | 2.229911 | db2c4272bf858bd10bb3d1a9594d95cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6322 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "PACTCare/Pact.Fhir",
"max_stars_repo_path": "Iota/Pact.Fhir.Iota.Tests/Services/InMemoryResourceTracker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6323"
} | starcoder | namespace Pact.Fhir.Iota.Tests.Services
{
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Pact.Fhir.Iota.Entity;
using Pact.Fhir.Iota.Services;
internal class InMemoryResourceTracker : IResourceTracker
{
public InMemoryResourceTracker()
{
this.Entr... | 2.30488 | e415a41de1b0ad18c267ff80475840bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6323 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "archi-Doc/Arc.Threading",
"max_stars_repo_path": "Arc.Threading/ThreadWorker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6324"
} | starcoder | <reponame>archi-Doc/Arc.Threading
// Copyright (c) All contributors. All rights reserved. Licensed under the MIT license.
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using Sy... | 2.636618 | 78d67391d6c12726d7a2d91acd076691 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6324 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "jeneaux/Leprechaun",
"max_stars_repo_path": "src/Leprechaun/Execution/Ascii.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6325"
} | starcoder | <reponame>jeneaux/Leprechaun
using System;
using System.Linq;
using System.Reflection;
namespace Leprechaun.Execution
{
public static class Ascii
{
public static void Leprechaun()
{
// credit 'jgs' http://ascii.co.uk/art/leprechaun
// with minor alterations
Console.ForegroundColor = ConsoleColor.Green... | 2.661919 | 8fc17a25ececb9d5f1b980f6ef1d95e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6325 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gliljas/nhibernate.nodatime",
"max_stars_repo_path": "test/NHibernate.NodaTime.Tests/OffsetTime/OffsetTimeAsDateTimeOffsetPersistenceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6326"
} | starcoder | using NHibernate.NodaTime.Tests.Fixtures;
using NodaTime;
namespace NHibernate.NodaTime.Tests
{
public class OffsetTimeAsDateTimeOffsetPersistenceTests : AbstractOffsetTimePersistenceTests<OffsetTimeAsDateTimeOffsetType>
{
public OffsetTimeAsDateTimeOffsetPersistenceTests(NHibernateFixture nhibernateF... | 2.031187 | 1ce98a565c7ca734a57b143e65766d3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6326 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "torbiq/AInput",
"max_stars_repo_path": "Assets/AInput/TestScene/Scripts/TestAInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6327"
} | starcoder | <filename>Assets/AInput/TestScene/Scripts/TestAInput.cs<gh_stars>0
using UnityEngine;
using System.Collections.Generic;
//using DG.Tweening;
using AInput;
public class TestAInput : MonoBehaviour {
private DragAndDropAction _dragRedToYellow;
[SerializeField]
private List<Collider2D> _grayColliders = new L... | 2.186789 | d685eede4fb050245e6b53bdf8d8605d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6327 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qkmaxware/Astro.Celestia",
"max_stars_repo_path": "Astro.Celestia/src/DSOs/DeepSkyObject.Catalogue.NGC.index6.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6328"
} | starcoder | <reponame>qkmaxware/Astro.Celestia
using System;
using System.Linq;
using System.Collections.Generic;
using Qkmaxware.Astro.Coordinates;
using Qkmaxware.Measurement;
namespace Qkmaxware.Astro.Celestia {
public static partial class DeepSkyObjectCatalogue {
private static void _addNGC_6() {
_NGC.Add(
new DeepSkyObj... | 1.959163 | 6a7894452f1d54bd1068db907b9b1724 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6328 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Valersd/CarService",
"max_stars_repo_path": "CarService.Web/ViewModels/CategoryBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6329"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Web.Mvc;
namespace CarService.Web.ViewModels
{
public class CategoryBase
{
[Required]
[Display(Name = "Name")]
[StringLength(50, MinimumLength... | 2.163471 | 6d719266eeb1299bfd96ef05b73cebb4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6329 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZEISS-PiWeb/PiWeb-Volume",
"max_stars_repo_path": "src/PiWeb.Volume/NativeMethods.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6330"
} | starcoder | #region Copyright
/* * * * * * * * * * * * * * * * * * * * * * * * * */
/* <NAME> IMT (IZfM Dresden) */
/* Softwaresystem PiWeb */
/* (c) <NAME> 2020 */
/* * * * * * * * * * * * * * * * * * * * * * * * * */
#endregion
namespace Zeiss... | 1.76776 | 67bd30408bf4417f8fc1e34b3d770162 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6330 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "bfinl/UnityBCI",
"max_stars_repo_path": "Assets/Scripts/Particle/SplatOnCollision.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6331"
} | starcoder | <filename>Assets/Scripts/Particle/SplatOnCollision.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SplatOnCollision : MonoBehaviour {
public ParticleSystem particleLauncher;
public Gradient particleColorGradient;
public ParticleDecalPool dropletDecalPool;
List<Part... | 2.479013 | 9af9daaa698b79ea4a44b75ffe4fdd32 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6331 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fisnik97/csharp_tcpClient-",
"max_stars_repo_path": "Client_/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6332"
} | starcoder | using System;
using System.Net.Sockets;
using System.Threading.Tasks;
namespace Client_
{
class Program
{
static Client client;
static void Main(string[] args)
{
client = new Client("127.0.0.1", 81, OnMessageReceive);
Console.WriteLine("Write a message to server: ");
... | 3.326653 | 96fe5890668b71cb2b319fc09e669570 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6332 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "jonike/CubeRoom",
"max_stars_repo_path": "Assets/Plugins/TouchSystem/Recognizer/TapRecognizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6333"
} | starcoder | <reponame>jonike/CubeRoom
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
public class TapRecognizer : AbstractRecognizer
{
public event Action<TapRecognizer> gestureRecognizedEvent;
public Vector2 startPosition;
public Vector2 position;
public Vector2 last... | 1.891851 | 6f7a651c45f1dae7a20e2b8346bd8167 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6333 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rmarmer1/Breeze",
"max_stars_repo_path": "_Internal/Model_NorthwindIB_EDMX_Oracle/User.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6334"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerate... | 1.608737 | aea1bd634084738348d741ba2809c8e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6334 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "RoushTech/RollbarDotNet",
"max_stars_repo_path": "src/RollbarDotNet/Builder/ExceptionBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6335"
} | starcoder | <gh_stars>1-10
namespace RollbarDotNet.Builder
{
using System;
using System.Collections.Generic;
using System.Linq;
using Payloads;
using Exception = System.Exception;
public class ExceptionBuilder : IExceptionBuilder
{
public void Execute(Payload payload, Exception exception)
... | 2.522066 | 525132740d2e6d06acfe0a726746aac3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6335 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jcapellman/jcPVS",
"max_stars_repo_path": "jcPVS.Tests.WebAPI/Controllers/ValuesController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6336"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using jcPVS.Library;
using jcPVS.Tests.WebAPI.Objects;
namespace jcPVS.Tests.WebAPI.Controllers {
public class ValuesController : jcPVSAPIController {
[HttpGet]... | 1.876492 | 84888c419506583df279690052f1fc92 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6336 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ERNI-Academy/starterkit-mobile-application",
"max_stars_repo_path": "src/CrossPlatform/MAUI/Erni.Mobile.MAUI.Test/LifeCycle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6337"
} | starcoder | <gh_stars>1-10
using System.Reflection;
using TestWare.Core;
using TestWare.Core.Configuration;
using TestWare.Core.Interfaces;
using TestWare.Engines.Appium;
using TestWare.Engines.Appium.WinAppDriver;
namespace Erni.Mobile.MAUI.Test;
internal class LifeCycle : AutomationLifeCycleBase
{
protected override IEnum... | 1.621267 | b3a9ba0b2c909449b56e80191456c4f1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.