added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834312 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xier2012/reverse-proxy",
"max_stars_repo_path": "src/OperatorFramework/src/Controller/Rate/Limiter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153532"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.Extensions.Internal;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.Kubernetes.Controller.Rate
{
/// <summary>
/// <para>
/// Class Limiter controls how frequently events ar... | 2.732011 | 2cbb98fe11ac14cf255f0da6be31ed89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834313 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Zinofi/umbrella",
"max_stars_repo_path": "TypeScript/src/Umbrella.TypeScript/Generators/KnockoutInterfaceGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153533"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Umbrella.Utilities.Extensions;
using Umbrella.TypeScript.Generators.Interfaces;
namespace Umbrella.TypeScript.Generators
{
public class KnockoutInterfaceGenerator : Ba... | 2.570076 | 890c0142834bf51333960a454cd66c22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "knackname/UiSon",
"max_stars_repo_path": "UiSon.View/ElementSelectorView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153534"
} | starcoder | // UiSon, by <NAME> 2022
using UiSon.Element;
using UiSon.View.Interface;
namespace UiSon.View
{
public class ElementSelectorView : NPCBase, ISelectorView
{
/// <inheritdoc/>
public object? Value
{
get => _value ?? _decorated.Value;
set => TrySetValue(value);
... | 2.534917 | 924288e8491346bd786229c18661fcec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834315 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nicoleajoy/lockstep-sdk-csharp",
"max_stars_repo_path": "src/models/PaymentAppliedModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153535"
} | starcoder | /***
* Lockstep Platform SDK for C#
*
* (c) 2021-2022 Lockstep, Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author <NAME> <<EMAIL>>
* @copyright 2021-2022 Lockstep, Inc.
* @link https://github.com/Lockstep-... | 2.188552 | d803d1263fafef417477a017e3ef2d65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834316 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cjuenger/Scrummy",
"max_stars_repo_path": "src/Scrummy.Scrum.Contracts/Models/Velocity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153536"
} | starcoder | <reponame>cjuenger/Scrummy
using System;
namespace Scrummy.Scrum.Contracts.Models
{
public class Velocity
{
public DateTime Start { get; set; }
public DateTime End { get; set; }
public float AverageVelocity { get; set; }
public float DayAverageVelocity { get; set; }
... | 1.869755 | 58273f3ee883612eda471bca95332670 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834317 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hMatoba/tetsujin",
"max_stars_repo_path": "tetsujin/tetsujin/Views/Master/Edit.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:153537"
} | starcoder | @model tetsujin.Models.Entry
@{
Layout = "/Views/Shared/_MasterLayout.cshtml";
ViewBag.Title = "Edit | Master Page";
var blobUrl = tetsujin.Models.BlobFile.Url;
}
<form action="/Master/Edit" method="post">
<input type="hidden" name="EntryID" value="@ViewBag.entry.EntryID" />
<div>
@Htm... | 2.260042 | e9f4af38232c0079c61b03766ec50983 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834318 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "emmanuelbenitez/Be.Stateless.Dsl.Configuration",
"max_stars_repo_path": "src/Be.Stateless.Dsl.Configuration.Tests/Dsl/Configuration/Resolver/ClrConfigurationFileResolverStrategyFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz... | starcoder | <reponame>emmanuelbenitez/Be.Stateless.Dsl.Configuration<filename>src/Be.Stateless.Dsl.Configuration.Tests/Dsl/Configuration/Resolver/ClrConfigurationFileResolverStrategyFixture.cs<gh_stars>1-10
#region Copyright & License
// Copyright © 2012 - 2021 <NAME> & <NAME>
//
// Licensed under the Apache License, Version 2.... | 1.98889 | 0d7146851b43beba22a0e0c948a5af04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834319 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gostareh-Negar/TeleNet",
"max_stars_repo_path": "MTProto.NET/Schema/TL/_generated/Updates/TLDifferenceTooLong.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153539"
} | starcoder | <gh_stars>0
using MTProto.NET.Attributes;
namespace MTProto.NET.Schema.TL.Updates
{
[MTObject(0x4afe8f6d)]
public class TLDifferenceTooLong : TLAbsDifference
{
public override uint Constructor
{
get
{
return 0x4afe8f6d;
}
}
... | 1.452584 | e8d279bb6c477bd40381721cb2cf8c0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834320 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "slorion/multiagent-system-example",
"max_stars_repo_path": "DLC.Framework/DLC.Framework/IO/CopyOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153540"
} | starcoder | <gh_stars>1-10
using System;
namespace DLC.Framework.IO
{
[Flags]
public enum CopyOptions
{
None = 0x0,
DisableBuffering = 0x1,
AllowHardLinkCreation = 0x2
}
} | 1.482007 | d238fd2f0f13c77908486771b0e45b7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834321 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hcyang1227/Proj-Fin-",
"max_stars_repo_path": "002_RPG-Game/Library/PackageCache/com.unity.purchasing@4.1.2/Samples~/05 LocalReceiptValidation/MissingTangleClassesWarning.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153541"
} | starcoder | #if UNITY_EDITOR
using System;
using UnityEngine;
using UnityEditor;
namespace Samples.Purchasing.Core.LocalReceiptValidation
{
/// <summary>
/// Shows an editor warning then the AppleTangle or GooglePlayTangle classes are missing.
/// This class is for informational purposes only, see LocalReceiptValidati... | 2.266428 | e293569f94301bf65c64a038a64f175d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834322 | {
"extension": "c-sharp",
"max_stars_count": "173.0",
"max_stars_repo_name": "Can-Bot/hackathon22",
"max_stars_repo_path": "SDK/Platforms/Runner/RoslynRunner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153542"
} | starcoder | <reponame>Can-Bot/hackathon22
//
// Copyright (c) <NAME>, Pixel Vision 8. All rights reserved.
//
// Licensed under the Microsoft Public License (MS-PL) except for a few
// portions of the code. See LICENSE file in the project root for full
// license information. Third-party libraries used by Pixel Vision 8 a... | 2.108992 | 2cb4d32332125e5360d5201009d377cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834323 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kamlesh-microsoft/ConfigServer",
"max_stars_repo_path": "src/ConfigServer.Server/ModelBuilders/ConfigurationSetModelBuilder/ConfigurationSetModelBuilderConfigExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153543"
} | starcoder | <gh_stars>0
using ConfigServer.Core;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace ConfigServer.Server
{
/// <summary>
/// Extension to add Config to ConfigSetModel
/// </summary>
public static class ConfigurationSetModelBuilderConfigExtensions
{
... | 2.3776 | 0d82906452bd53765b8175a88524e631 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834324 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thenucleus/nuclei.exceptionhandling",
"max_stars_repo_path": "src/nuclei.exceptionhandling/EventType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153544"
} | starcoder | //-----------------------------------------------------------------------
// <copyright company="TheNucleus">
// Copyright (c) TheNucleus. All rights reserved.
// Licensed under the Apache License, Version 2.0 license. See LICENCE.md file in the project root for full license information.
// </copyright>
//-------... | 2.06961 | f1e3ed775bd9ddf6ac2f15ce18bda449 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834325 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "georghinkel/ttc2017smartGrids",
"max_stars_repo_path": "generator/Schema/IEC61970/OperationalLimits/IOperationalLimitSet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153545"
} | starcoder | <reponame>georghinkel/ttc2017smartGrids
//------------------------------------------------------------------------------
// <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 verl... | 1.379633 | c0fbb772cd480c224e899aaa9e988783 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834326 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mrkara/ServicesDAO",
"max_stars_repo_path": "DAO_LogService/Models/ApplicationLog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153546"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace DAO_LogService.Models
{
public class ApplicationLog
{
[Key]
public int ApplicationLogID { get; set; }
public string Application { get;... | 1.841561 | 2efca4fbe99d63bf9c2b7f2469773297 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834327 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lowcodeunit/state-api-guided-tour",
"max_stars_repo_path": "state-api-guided-tour/State/JourneysManagementStateHarness.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153547"
} | starcoder | <gh_stars>0
using System;
using System.IO;
using System.Linq;
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 Newtonsoft.Json;
using Microsoft.Azure.WebJ... | 1.938575 | db1580651d8d7bbae85af9be52a800d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834328 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "anfulu36484/ODEGenerator",
"max_stars_repo_path": "ODEGenerator/ODEGenerator/Formatter/CsharpVisitor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153548"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using ODEGenerator.SyntaxTree.Numerical;
using ODEGenerator.SyntaxTree.Operators.Binary;
namespace ODEGenerator.Formatter
{
class CsharpVisitor:Progr... | 2.584092 | 13b7dc37489bf61d5bb00474411032dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834329 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vikigenius/ToyBox",
"max_stars_repo_path": "ToyBox/classes/MainUI/Actions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153549"
} | starcoder | // Copyright < 2021 > Narria (github user Cabarius) - License: MIT
using UnityEngine;
using System;
using System.Collections.Generic;
using System.Linq;
using Kingmaker;
using Kingmaker.AreaLogic.Etudes;
using Kingmaker.Armies;
using Kingmaker.Armies.Blueprints;
using Kingmaker.Blueprints;
using Kingmaker.Blueprints.C... | 1.618881 | f24e4bdc754ba46c5bf115937993a727 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834330 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "giorgiozoppi/fleetadmiral",
"max_stars_repo_path": "src/webapi/Controllers/OData/ColorsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153550"
} | starcoder | <filename>src/webapi/Controllers/OData/ColorsController.cs
using KarveDto;
using KarveModel;
using KarveRepository;
using System.Web.Http.Cors;
namespace WebApi.Controllers.OData
{
[EnableCors(origins: "*", headers: "*", methods: "*")]
public class ColorsController : BaseODataController<Color, Colors>... | 1.93676 | 0906cb68c379af9cce872dee8aef80ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834331 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daviddays/ChromeDevTools",
"max_stars_repo_path": "source/Messages/CustomMethodTypeMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153551"
} | starcoder | <reponame>daviddays/ChromeDevTools<filename>source/Messages/CustomMethodTypeMap.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using MasterDevs.ChromeDevTools.Protocol.Chrome.Network;
namespace MasterDevs.ChromeDevTools.Messages {
public class CustomMethodTy... | 2.392582 | 880aa1494ecf07f3f49a1a693604e3d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834332 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "fluenthub-community/FluentHub",
"max_stars_repo_path": "src/FluentHub.Octokit/Models/UserStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153552"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FluentHub.Octokit.Models
{
public class UserStatus
{
public string Emoji { get; set; }
public DateTimeOffset? ExpiresAt { get; set; }
public string Message { ... | 1.665957 | 2a284c31971e3e7dcb73adb4088651c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834333 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DCDCWaterSim/WaterSim_Base_Phx_Extended",
"max_stars_repo_path": "WaterSimDCDC_API_PolicyData_v_1_0.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153553"
} | starcoder | // ===========================================================
// WaterSimDCDC Regional Water Demand and Supply Model Version 5.0
// A Class the adds Support for Data Not Derived from the WaterSim Model
// WaterSimDCDC_API_Process
// Version 5.0
// <NAME> <EMAIL>
// Copyright (C) ... | 2.053305 | 02f96609628c5641d18df1d2f6042561 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834334 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "ldom66/clever-dock",
"max_stars_repo_path": "CleverDock/CleverDock/Views/WidgetsWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153554"
} | starcoder | <gh_stars>10-100
using CleverDock.Helpers;
using CleverDock.Interop;
using CleverDock.Managers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using ... | 2.358504 | d61d6efe7474db10243a5663bd78a0dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834335 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SeanECogan/advent-of-code-2017",
"max_stars_repo_path": "AdventOfCode2017.Day2.Test/PuzzleA/FileParser.Test.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153555"
} | starcoder | <filename>AdventOfCode2017.Day2.Test/PuzzleA/FileParser.Test.cs<gh_stars>1-10
using AdventOfCode2017.Day2.PuzzleA;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AdventOfCode2017.Day2.Test.PuzzleA
{
[TestClass]
public class FileParserTest
{
[TestMethod]
public void ComputeFi... | 2.74028 | d92a88c7c5d26b8e121d98d8e71cedb5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FeodorFitsner/ANTLR4ParseTreeVisualizer",
"max_stars_repo_path": "Shared/ConfigContractResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153556"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System;
using System.Collections.Generic;
using System.Linq;
using ParseTreeVisualizer.Util;
namespace ParseTreeVisualizer {
internal class ConfigContractResolver : DefaultContractResolver {
private static readonly string[] globalNames = ne... | 2.632251 | 272ac77aa8b396e1e86c3f1f9e01470d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834337 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "MoosheTV/PropHuntV",
"max_stars_repo_path": "PropHuntV.Client/Game/WorldController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153557"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using CitizenFX.Core.Native;
using PropHuntV.SharedModels;
using PropHuntV.Util;
namespace PropHuntV.Client.Game
{
public class WorldController : ClientAccessor
{
private static readonly Dictionary<CloudHatType, string> CloudHats = new... | 2.068554 | 3a98b8f9039a1b0f7e45183ad7a0307d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834338 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Samiris/adyen-dotnet-api-library",
"max_stars_repo_path": "Adyen/Security/EncryptionDerivedKey.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153558"
} | starcoder | #region Licence
// /*
// * ######
// * ######
// * ############ ####( ###### #####. ###### ############ ############
// * ############# #####( ###### #####. ###### ############# #############
// * ###### #####( ###### #####. ###### ##### ###### ##... | 1.61269 | b90c2d3922d15390c575bee40b319a49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834339 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rattenfengar/Parking",
"max_stars_repo_path": "Server/CloudServer/Console/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153559"
} | starcoder | <reponame>Rattenfengar/Parking
using System;
using System.IO.Ports;
namespace Console
{
public class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
| 1.506853 | c992bc895c15fde52d5de436e90aa098 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834340 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ysdy44/Retouch-Photo2-UWP",
"max_stars_repo_path": "Retouch Photo2.ViewModels/MethodViewModels/MethodViewModel.Text.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153560"
} | starcoder | using Microsoft.Graphics.Canvas.Text;
using Retouch_Photo2.Historys;
using Retouch_Photo2.Layers;
using Retouch_Photo2.Texts;
using System;
using System.ComponentModel;
using Windows.UI.Text;
namespace Retouch_Photo2.ViewModels
{
public partial class ViewModel : INotifyPropertyChanged
{
//@Converter
... | 2.714582 | 54acf3fa4703d09ce4176633345eae33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834341 | {
"extension": "c-sharp",
"max_stars_count": "250.0",
"max_stars_repo_name": "mfolker/auth0.net",
"max_stars_repo_path": "src/Auth0.ManagementApi/Models/SigningKey.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153561"
} | starcoder | <filename>src/Auth0.ManagementApi/Models/SigningKey.cs
using Newtonsoft.Json;
namespace Auth0.ManagementApi.Models
{
/// <summary>
///
/// </summary>
public class SigningKey
{
/// <summary>
///
/// </summary>
[JsonProperty("cert")]
public string Cert { ge... | 2.203514 | 240bde28cec3df0c519213e08405404a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834342 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Refsa/PlayerLoopInjector",
"max_stars_repo_path": "Tests/Runtime/InjectorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153562"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
namespace PlayerLoopInjector.Tests
{
class InitializationSystem : IPlayerLoopInitialization
{
public float Count = 0;
public void PlayerLoopIni... | 2.079848 | fe4c758272b9b124640528719bd02ba5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834343 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DuLovell/Rhythm-Game",
"max_stars_repo_path": "Assets/Plugins/Feel/MMTools/Tools/MMAudio/MMAudioListener/MMAudioListener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153563"
} | starcoder | <reponame>DuLovell/Rhythm-Game
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MoreMountains.Tools
{
/// <summary>
/// A simple component that will ensure (if put on ALL audio listeners in your game)
/// that you never see a "There are two audio liste... | 2.624394 | 9a41988444dd532ec94731d778904302 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834344 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "csurfleet/JaegerSamplingFilters",
"max_stars_repo_path": "JaegerSamplingFilters.Tests/Mocks/MockSampler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153564"
} | starcoder | using Jaeger;
using Jaeger.Samplers;
using Moq;
using System;
using System.Collections.Generic;
namespace JaegerSamplingFilters.Tests.Mocks
{
/// <summary>
/// A mock <see cref="ISampler"/> which will let you easily query the sampled items through <see cref="Samples"/>.
/// </summary>
public class Moc... | 2.546317 | 6f54aa75c2a5a101608b0bddc2ba6c4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834345 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tdecroyere/CoreEngine-Tools",
"max_stars_repo_path": "src/CoreEngine.Tools.ResourceCompilers/Graphics/Meshes/MeshData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153565"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Numerics;
namespace CoreEngine.Tools.ResourceCompilers.Graphics.Meshes
{
public class MeshData
{
public List<MeshVertex> Vertices { get; } = new List<MeshVertex>();
public List<uint> ... | 2.355755 | ff2733b09cb1aa7e1168572227dae812 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834346 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "redss/ImmutableCollections",
"max_stars_repo_path": "source/ImmutableCollections/DataStructures/TwoThreeTreeStructure/TwoNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153566"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace ImmutableCollections.DataStructures.TwoThreeTreeStructure
{
/// <summary>
/// 2-node from 2-3 Tree. Can grow to 3-node if value is inserted into it.
/// </summary>
/// <typeparam name="T">Type stored in the tree.</type... | 3.183485 | 6fb6943bf6bdcffdc9d5da1d2ca89e31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834347 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheSin-/btcpayserver",
"max_stars_repo_path": "BTCPayServer/Hosting/OpenApi/IncludeInOpenApiDocs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153567"
} | starcoder | using System;
namespace BTCPayServer.Hosting.OpenApi
{
public class IncludeInOpenApiDocs : Attribute
{
}
}
| 1.116198 | ce5fa99442c3a286a2bd17a01f8d24f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834348 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TedStathamHome/Advent-of-Code-2021",
"max_stars_repo_path": "Day17/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153568"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
namespace Day17
{
// Puzzle Description: https://adventofcode.com/2021/day/17
class Program
{
private static short xAxisTargetRangeStart;
private static short xAxisTargetRangeEnd;
private static short y... | 3.073926 | 736d396bed448d3ce92efb74791f53fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834349 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Dirkster99/KB",
"max_stars_repo_path": "00_HelloWorld/KnowledgeBase - Sample 5 LocalZipSchemeHandler/KnowledgeBase/Models/Zip/ZipExtractor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153569"
} | starcoder | namespace KnowledgeBase.Models.Zip
{
using System;
using System.IO;
using System.IO.Compression; // requires a reference to System.IO.Compression.dll
using System.Text;
/// <summary>
/// Helper class to wrap around zip archive API.
/// </summary>
class ZipExtractor
{
/// <summary>
/// Extract a zip entr... | 3.350566 | 2337d5f430427b3711f99c514a00360c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cactus-ar/C-Sharp-Bundle",
"max_stars_repo_path": "Core30apiMulticapa/Clientes.Core/Servicios/IComprasServicio.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153570"
} | starcoder | <filename>Core30apiMulticapa/Clientes.Core/Servicios/IComprasServicio.cs<gh_stars>0
using Clientes.Core.Modelos;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Clientes.Core.Servicios
{
public interface IComprasServicio
{
Task<IEnumerable<Com... | 1.904832 | 8edc8f125861336a253ab454f8101325 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834351 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ValkovStoil/newCoursec",
"max_stars_repo_path": "StudentsTracker/SchoolTracker/PayRoll.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153571"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SchoolTracker
{
interface IPayee
{
void Pay();
}
class PayRoll
{
List<IPayee> payees = new List<IPayee>();
public PayRoll()
{
p... | 2.967011 | f657fdf8d5cec88e60fe08199e01dd7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834352 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "bolatbek1997/HospitalManagment",
"max_stars_repo_path": "Hospital/Hospital.Server/Services/HomeService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153572"
} | starcoder | <gh_stars>1-10
namespace Hospital.Server.Services
{
using AutoMapper.QueryableExtensions;
using Contracts;
using Data.Repository;
using Models;
using System.Collections.Generic;
using System.Linq;
public class HomeService : IHomeService
{
private IUnitOfWork Data;
publ... | 2.161324 | e5d98f352516703515312c8b088b7cb8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834353 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "System.Activities.Core.Presentation/System/Activities/Core/Presentation/DynamicActivityPropertyChooserViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153573"
} | starcoder | //----------------------------------------------------------------
// <copyright company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//----------------------------------------------------------------
namespace System.Activities.Core.Presentation
{
usi... | 2.494214 | 1cdb68d188c1feb2103b1246c9e44404 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834354 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheXDS/Trit-n",
"max_stars_repo_path": "src/Bundles/Triton.SecurityEssentials/Services/VerifyPasswordResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153574"
} | starcoder | using TheXDS.Triton.Models;
namespace TheXDS.Triton.Services
{
/// <summary>
/// Representa el resultado de una comprobación de contraseña.
/// </summary>
public class VerifyPasswordResult
{
/// <summary>
/// Obtiene un resultado inválido sin credencial.
/// </summary>
... | 2.899663 | 18b2cc88651ca699ec149f0297092be2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834355 | {
"extension": "c-sharp",
"max_stars_count": "572.0",
"max_stars_repo_name": "awei1688/aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-ram/Ram/Transform/V20150501/ListUsersForGroupResponseUnmarshaller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153575"
} | starcoder | <gh_stars>100-1000
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
... | 1.19914 | e81c42381ebfbd30e4208833d687a9ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834356 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MatfRS2/SeminarskiRadovi",
"max_stars_repo_path": "programski-projekti/Matf-RS2-FocusOpen/FocusOPEN_OS_Source_3_3_9_5/FocusOPEN.Website/Components/Exporting/FileGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153576"
} | starcoder | <filename>programski-projekti/Matf-RS2-FocusOpen/FocusOPEN_OS_Source_3_3_9_5/FocusOPEN.Website/Components/Exporting/FileGenerator.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using FocusOP... | 2.716277 | 311d65ce944e1f8e124fcd1d8842ae2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834357 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jiangzhongbo/DPhysics3D",
"max_stars_repo_path": "Assets/Physics/Components/CapsuleComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153577"
} | starcoder | <filename>Assets/Physics/Components/CapsuleComponent.cs<gh_stars>0
using UnityEngine;
using FixedMath;
public class CapsuleComponent : ColliderComponent
{
public Vector3 center;
public float radius;
/// <summary>
/// Draws the collider as a sphere.
/// </summary>
void OnDrawGizmos()
{
... | 2.729276 | d13b159819e4db4f8ca09eee214c70e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834358 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ataillefer/wopi-validator-core",
"max_stars_repo_path": "test/WopiValidator.Core.Tests/Validators/ResponseContentValidatorUnitTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153578"
} | starcoder | <reponame>ataillefer/wopi-validator-core
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Office.WopiValidator.Core;
using Microsoft.O... | 2.027868 | 575d01d3c8ac50d65cda499694333ff1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834359 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "InsanityBot/InsanityBot",
"max_stars_repo_path": "InsanityBot.Utility.Permissions/Data/PermissionBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153579"
} | starcoder | namespace InsanityBot.Utility.Permissions.Data;
using System;
using System.Collections.Generic;
public abstract class PermissionBase
{
public Dictionary<String, PermissionValue> Permissions { get; set; }
public Boolean IsAdministrator { get; set; }
public UInt64 SnowflakeIdentifier { get; set; }
public Guid Updat... | 2.255121 | 335be864d54e43f16445fe0ed56d9111 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeSwifterGit/adwenture-works",
"max_stars_repo_path": "src/AdventureWorks.Application/DataEngine/Purchasing/VendorContact/Commands/CreateVendorContact/CreateVendorContactCommandValidator.cs",
"provenance": "train-00027-of-00045.json... | starcoder | using FluentValidation;
namespace AdventureWorks.Application.DataEngine.Purchasing.VendorContact.Commands.CreateVendorContact
{
public partial class CreateVendorContactCommandValidator : AbstractValidator<CreateVendorContactCommand>
{
public CreateVendorContactCommandValidator()
{
R... | 1.854623 | 429e3bcb65cddc92dd5fdd964222580a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834361 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MagicalMontra/gamespace_test",
"max_stars_repo_path": "SETD/Assets/PlayFabSdk/Shared/Public/Pipeline/IEventPipeline.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153581"
} | starcoder | <gh_stars>0
#if !NET_4_6 && (NET_2_0_SUBSET || NET_2_0)
#define TPL_35
#endif
using System.Threading.Tasks;
namespace PlayFab.Pipeline
{
public interface IEventPipeline
{
#if TPL_35
void StartAsync(); // Start pipeline's worker thread
#else
Task StartAsync(); // Start pipeline's worker thread... | 1.958122 | 7f6bbd421e2e46512362146ea3592943 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834362 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tmaciulis22/VideoLibrary",
"max_stars_repo_path": "backend/DataAccess/Utils/Hasher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153582"
} | starcoder | <gh_stars>0
using Microsoft.AspNetCore.Cryptography.KeyDerivation;
using System;
using System.Security.Cryptography;
namespace DataAccess.Utils
{
public class Hasher
{
// Returns `byte[] salt` and hashed password `string hashed`
public static (byte[], string) HashPassword(string password, byte... | 2.796299 | cbde2a6f15bf356d1f69b57dde753131 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834363 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "little3388/Jitex",
"max_stars_repo_path": "src/Jitex/Utils/NativeAPI/POSIX/Mman.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153583"
} | starcoder | using System;
using Mono.Unix.Native;
namespace Jitex.Utils.NativeAPI.POSIX
{
// ReSharper disable InconsistentNaming
/// <summary>
/// Interface to mman.h from POSIX.
/// </summary>
internal static class Mman
{
/// <summary>
/// Allocate memory block.
/// </summary>
... | 2.79728 | ed2696117ebe396106485ec0ee5a94a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rhyx14/SNNS",
"max_stars_repo_path": "SNNS_Core/NeuronGroup/NeuronGroup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153584"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace SNNS_Core
{
/// <summary>
/// 神经元组
/// 方便建立网络使用,本身不存储神经元和突触的实例
/// </summary>
public partial class NeuronGroup<T> where T:NeuronBase
{
public string Name { get; set; }
public int Count { g... | 2.558832 | 6ab66d07d040fc26580ccc2249194b20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834365 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DmalleWors/Nrunner2d",
"max_stars_repo_path": "Assets/Scripts/Deathzone.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153585"
} | starcoder | <reponame>DmalleWors/Nrunner2d
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Deathzone : MonoBehaviour
{
public void OnTriggerEnter2D(Collider2D other){
Destroy(other.gameObject);
}
}
| 1.284695 | 9035aeff03e19949b1dc8180fa6084a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834366 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kidobreva/Programming-Basics-C-Exams",
"max_stars_repo_path": "Uprajneniq Izpit/Hospital/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153586"
} | starcoder | <reponame>kidobreva/Programming-Basics-C-Exams
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hospital
{
class Program
{
static void Main(string[] args)
{
var dayNumber = int.Parse(Console.ReadLine());
... | 3.162542 | 67cc81681460aaedfd57a4595fea598c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834367 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ZensYue/MotionFramework",
"max_stars_repo_path": "Assets/MotionFramework/Scripts/Runtime/Engine/Engine.Resource/Loader/AssetBundleLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153587"
} | starcoder | //--------------------------------------------------
// Motion Framework
// Copyright©2018-2020 何冠峰
// Licensed under the MIT license
//--------------------------------------------------
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MotionFramework.Resource
{
... | 2.09428 | 7b45176f45c8998b12851c8755bea5a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834368 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "rhodosaur/jerrycurl-merge1",
"max_stars_repo_path": "test/unit/src/Vendors/Jerrycurl.Vendors.Oracle.Test/OracleConvention.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153588"
} | starcoder | using Jerrycurl.Mvc;
using Jerrycurl.Test;
using Oracle.ManagedDataAccess.Client;
namespace Jerrycurl.Vendors.Oracle.Test
{
public class OracleConvention : DatabaseConvention
{
public override bool Skip => string.IsNullOrEmpty(GetConnectionString());
public override string SkipReason => "Pleas... | 1.697816 | 18a2c794b5a73f120073bf497f015d03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834369 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "Silverdark/OSDP.Net",
"max_stars_repo_path": "src/OSDP.Net.Tests/Messages/InputStatusReportCommandTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153589"
} | starcoder | using System;
using System.Collections;
using NUnit.Framework;
using OSDP.Net.Messages;
namespace OSDP.Net.Tests.Messages
{
[TestFixture]
public class InputStatusReportCommandTest
{
[TestCaseSource(typeof(InputStatusReportCommandTestClass), nameof(InputStatusReportCommandTestClass.TestCases))]
... | 2.216149 | a851245e4cab605917801c0894e77b8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834370 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "honda-tatsuya/MagicOnion",
"max_stars_repo_path": "src/MagicOnion/Server/Hubs/StreamingHubFilterAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153590"
} | starcoder | using System;
using System.Threading.Tasks;
namespace MagicOnion.Server.Hubs
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = true)]
public abstract class StreamingHubFilterAttribute : Attribute
{
int order = int.MaxValue;
public int Ord... | 2.593687 | 91809e665d79119d30c4305dc7b7cf65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834371 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DeusInnomen/LuciusIncidentLogbook",
"max_stars_repo_path": "LuciusIncidentLogbook/frmTournamentRound.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153591"
} | starcoder | namespace KitchenGeeks
{
partial class frmTournamentRound
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.103343 | 7e66e5dea722933a7d2c34cc6b0ff14c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834372 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EJBQ/Bae-Zeus-X",
"max_stars_repo_path": "Assets/Scripts/Background/StripScroller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153592"
} | starcoder | <reponame>EJBQ/Bae-Zeus-X
using UnityEngine;
using System.Collections;
public class StripScroller : MonoBehaviour {
public float scrollSpeed;
public float tileSizeX;
private Vector2 savedOffset;
private Vector3 startPosition;
void Start ()
{
startPosition = transform.position;
savedOffset = GetComponen... | 1.860995 | a6cb1209efb5d1b30ea739931f11d0fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834373 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "bjstone82/das-recruit",
"max_stars_repo_path": "src/Jobs/Recruit.Vacancies.Jobs/DomainEvents/Handlers/Vacancy/DraftVacancyUpdatedHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153593"
} | starcoder | <reponame>bjstone82/das-recruit
using System;
using System.Threading.Tasks;
using Esfa.Recruit.Vacancies.Client.Domain.Events;
using Esfa.Recruit.Vacancies.Client.Infrastructure.Client;
using Microsoft.Extensions.Logging;
namespace Esfa.Recruit.Vacancies.Jobs.DomainEvents.Handlers.Vacancy
{
public class DraftVacan... | 2.18799 | bf4f2e431197e87dfae58c4e57ed946e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834374 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "malaybaku/UArmDotNet",
"max_stars_repo_path": "UArmDotNet/UArmDotNet/Connector/UArmSearch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153594"
} | starcoder | <reponame>malaybaku/UArmDotNet
#if !UNITY_EDITOR && !UNITY_STANDALONE
using System.Collections.Generic;
using System.Linq;
using System.Management;
using System.Text.RegularExpressions;
namespace Baku.UArmDotNet
{
/// <summary> UArmの接続状態を確認するメソッドを提供します。 </summary>
public static class UArmSearch
{
... | 2.779393 | 2b819b26366cb50ef09cecb2e233a70c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834375 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dem123456789/STF-Ivy-Dream-Works-MBTI-Test",
"max_stars_repo_path": "Stanford/Stanford/Models/University.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153595"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Stanford.Models
{
public class University
{
public int Id { get; set; }
public String name { get; set; }
public String address { get; set; }
public String SAT { get; set; }
pu... | 2.300134 | 64ec21be5501281bdd29a386946e7fef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834376 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iulianPeiu6/Labs.NET",
"max_stars_repo_path": "Lab5/INET.Lab05.ISP/INET.Lab05.ISP/RefactoredV2/Abstractions/ICalculateFreelancerWage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153596"
} | starcoder | namespace INET.Lab05.ISP.RefactoredV2.Abstractions
{
public interface ICalculateFreelancerWage
{
decimal GetRate();
}
} | 1.562822 | 70fe6a8976d2be2810a43aa67875f6ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834377 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VinsantSavov/SoftUni-Software-Engineering",
"max_stars_repo_path": "CSharp-Fundamentals/Fundamentals - 2018/ObjectsAndClasses/ObjectsAndClasses/7.StoreBoxes/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153597"
} | starcoder | <reponame>VinsantSavov/SoftUni-Software-Engineering
using System;
using System.Collections.Generic;
namespace _7.StoreBoxes
{
class Program
{
class Item
{
public string Name { get; set; }
public string Price { get; set; }
}
class Box
{
... | 3.510931 | 5918f3543e41db180bfc428c8e44abe9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834378 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mrprintedwall/public-private-key-signature",
"max_stars_repo_path": "DigitalSignature/Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153598"
} | starcoder | <filename>DigitalSignature/Form1.Designer.cs
namespace DigitalSignature
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources bein... | 1.930726 | 3379b7b32c26ecb89098b410d72dde43 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834379 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fossabot/ThingAppraiser",
"max_stars_repo_path": "ThingAppraiser/Applications/ThingAppraiser.DesktopApp/Models/Toplists/ToplistFormat.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153599"
} | starcoder | namespace ThingAppraiser.DesktopApp.Models.Toplists
{
internal enum ToplistFormat
{
Forward,
Reverse
}
}
| 1.182264 | 2fc0e634a297b8ee157ea4ad91789e75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834380 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xknife-erian/nknife.jeelusrc",
"max_stars_repo_path": "NKnife.App.WebsiteBuilder/SimplusD/Client/Win/Core/Workbench/TabNavigationForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153600"
} | starcoder | namespace Jeelu.SimplusD.Client.Win
{
partial class TabNavigationForm
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposin... | 1.749579 | 3a64414b41eb1a49663bc0e73da26c29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834381 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vasilivanov93/SOFTUNI",
"max_stars_repo_path": "C#/02. Programming Fundamentals C# - Extended/Programming Fundamentals - Project/39. Exam 30.04.2017/02. WormIpsum/WormIpsum.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153601"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _02.WormIpsum
{
public class WormIpsum
{
public static void Main()
{
string inputLine = Console.ReadLine();
string result = string.Empty;
... | 3.331015 | 7639c1782871a3600442aa2786163204 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834382 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wcss2010/RobotSpeaker",
"max_stars_repo_path": "Project/RobotSpeaker/RobotSpeaker/Forms/Player/TextPlayerUI.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153602"
} | starcoder | <reponame>wcss2010/RobotSpeaker
namespace RobotSpeaker.Forms.Player
{
partial class TextPlayerUI
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources b... | 1.921223 | 8cc376333359334144866799a6a397ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834383 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Uendy/Tech-Module",
"max_stars_repo_path": "L11 Test/Test 25.08.18/Test 25.08.18/Q01 Hogswatch/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153603"
} | starcoder | <gh_stars>0
using System;
public class Program
{
public static void Main()
{
//check questions: https://judge.softuni.bg/Contests/Practice/Index/1147#0
#region
//You are given the number of homes N the Hogfather has to visit, on the first line.
//And then the total number of pr... | 3.709775 | 7565c7f30898960abfd1e7665035fba1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834384 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "James-Havinga99/Covid_Test_Managment",
"max_stars_repo_path": "test-managment/Models/TestTypeVM.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153604"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace test_managment.Models
{
public class TestTypeVM
{
public int Id { get; set; }
[Required]
public string Name { get; set; }
[Req... | 2.330881 | 0041ffcb70b2d4a25584636460b755ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834385 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "WaleedChayeb/Syriatech.org",
"max_stars_repo_path": "Syriatech.Application/Events/Queries/GetEvent/EventViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153605"
} | starcoder | <gh_stars>1-10
using AutoMapper;
using Syriatech.Application.Interfaces.Mapping;
using Syriatech.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace Syriatech.Application.Events.Queries.GetEvent
{
public class EventViewModel : IHaveCustomMapping
{
public int Ev... | 2.107185 | 80c4f5bf92f724826bde6c8f0ef3952d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834386 | {
"extension": "c-sharp",
"max_stars_count": "138.0",
"max_stars_repo_name": "jackfrancis/acr",
"max_stars_repo_path": "samples/dotnetcore/registry-artifact-transfer/src/RepositoryProvider/CatalogApiResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153606"
} | starcoder | using System.Collections.Generic;
using Newtonsoft.Json;
namespace RegistryArtifactTransfer
{
public class CatalogApiResponse
{
[JsonProperty(PropertyName = "repositories")]
public List<string> Repositories;
}
}
| 1.620167 | 0b30fb011408687cafd82648fffa3bbe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834387 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vinothsparrow/SparrowToolkit",
"max_stars_repo_path": "Work/Source/Sparrow.Chart/WindowsForms/Collections/PartCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153607"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
namespace Sparrow.Chart
{
public class PartCollection : ObservableCollection<SeriesPart>
{
}
}
| 1.321808 | db3a75bf6c058b3d6a684217c11ee42f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834388 | {
"extension": "c-sharp",
"max_stars_count": "88.0",
"max_stars_repo_name": "IliyanAng/PressCenters.com",
"max_stars_repo_path": "src/Tests/PressCenters.Services.Sources.Tests/BgInstitutions/ApiBgSourceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153608"
} | starcoder | namespace PressCenters.Services.Sources.Tests.BgInstitutions
{
using System;
using System.Linq;
using PressCenters.Services.Sources.BgInstitutions;
using Xunit;
public class ApiBgSourceTests
{
[Fact]
public void ExtractIdFromUrlShouldWorkCorrectlyWithDashAtTheEnd()
{
... | 2.344055 | 808ceae2e7625d121966c2e75d2b95b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834389 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mattiascibien/trowel",
"max_stars_repo_path": "Trowel.BspEditor.Editing/Commands/Quick/HideUnselectedObjects.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153609"
} | starcoder | <reponame>mattiascibien/trowel
using Trowel.BspEditor.Commands;
using Trowel.BspEditor.Documents;
using Trowel.BspEditor.Editing.Properties;
using Trowel.BspEditor.Modification;
using Trowel.BspEditor.Modification.Operations.Data;
using Trowel.BspEditor.Primitives.MapObjectData;
using Trowel.BspEditor.Primitives.MapOb... | 1.509794 | 97fa4a50e964c17c2efafa674da7317e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834390 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bitrvmpd/wuffSonic",
"max_stars_repo_path": "wuffSonic/Models/Media retrieval/GetLyrics.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153610"
} | starcoder | <reponame>bitrvmpd/wuffSonic<filename>wuffSonic/Models/Media retrieval/GetLyrics.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace wuffSonic.Models
{
[XmlRoot(ElementName = "subsonic-response", Namespace... | 2.313924 | e1e9aee8037a4288ef38b910477f62e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834391 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GandhiGames/fractal_trees_with_spring",
"max_stars_repo_path": "fractal_tree/Assets/FT/Scripts/Trees/DefaultTree.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153611"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace FractalTree
{
/// <summary>
/// Spawns a fractal tree.
/// </summary>
public class DefaultTree : Tree
{
private int m_GrowthCount;
private float m_InitialLength;
private float m_Angle;
p... | 2.896552 | 2d386c91e44db8c22adcea35c042f6c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834392 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "phillserrazina/ClawsAndPaws",
"max_stars_repo_path": "ClawsAndPawsProject/Assets/Scripts/Misc/AttackItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153612"
} | starcoder | <reponame>phillserrazina/ClawsAndPaws<filename>ClawsAndPawsProject/Assets/Scripts/Misc/AttackItem.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
public class AttackItem : MonoBehaviour, IPointerEnterHandler, IPointerEx... | 1.811897 | 89bb25f9c65c6b873fd48e4c421abf13 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834393 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ForNeVeR/Avalonia",
"max_stars_repo_path": "tests/Perspex.Controls.UnitTests/ScrollViewerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153613"
} | starcoder | <reponame>ForNeVeR/Avalonia<gh_stars>1-10
// Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Linq;
using Perspex.Controls;
using Perspex.Controls.Presenters;
using Perspex.Controls.Primitives;... | 2.167354 | 051d305c52390cfececcf0d837c2b9d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834394 | {
"extension": "c-sharp",
"max_stars_count": "184.0",
"max_stars_repo_name": "tuandoi1/simple-assembly-exploror",
"max_stars_repo_path": "ILSpy/NRefactory/ICSharpCode.NRefactory.CSharp/Refactoring/CodeIssues/AccessToClosureIssues/LocalVariableNamePicker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153614... | starcoder | //
// NamePicker.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2012 <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 Software without restriction, ... | 2.304079 | 297903848044b40702f4ecf817d55c3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834395 | {
"extension": "c-sharp",
"max_stars_count": "121.0",
"max_stars_repo_name": "lonelyxmas/BeetleX.Redis",
"max_stars_repo_path": "PerformanceTest/GET_JSON.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153615"
} | starcoder | using BeetleX.Redis;
using CodeBenchmark;
using Northwind.Data;
using StackExchange.Redis;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace PerformanceTest
{
[System.ComponentModel.Category("Redis.Get")]
public class BeetleX_Get : BeetleX_Base
{
... | 2.225159 | b597cc49bedf8628b93a194a5228e9b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834396 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Arvtesh/UnityFx.Tasks",
"max_stars_repo_path": "Assets/Plugins/UnityFx.Tasks/Runtime/Scripts/CompilerServices/AssetBundleRequestAwaitable{T}.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153616"
} | starcoder | // Copyright (c) <NAME>.
// Licensed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using UnityEngine;
using UnityEngine.Networking;
namespace UnityFx.Tasks.CompilerServices
{
/// <summary>
/// Provides an awaitable object that allows for configured awaits on... | 2.110273 | 940906ad7fdc1c174cb34eb12c8ae9de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834397 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nachmore/WindowsMultiKeyboard",
"max_stars_repo_path": "MultiKeyboardDemo/MultiKeyboardDemo/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153617"
} | starcoder | <reponame>nachmore/WindowsMultiKeyboard
using MultiKeyboardLib;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Syste... | 2.493495 | 2b1547ec7abfe91da698004d41f0e771 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834398 | {
"extension": "c-sharp",
"max_stars_count": "148.0",
"max_stars_repo_name": "ScriptBox99/Money",
"max_stars_repo_path": "src/Money.UI.Universal/Services/CurrencyCache.Model.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153618"
} | starcoder | <filename>src/Money.UI.Universal/Services/CurrencyCache.Model.cs<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Money.Services
{
partial class CurrencyCache
{
private class Model
{
publ... | 1.956483 | bfd2600341c361acf0cca99eac22bc79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834399 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skela/MonoKit",
"max_stars_repo_path": "MonoKit.iOS/UI/TableViewController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153619"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file=".cs" company="sgmunn">
// (c) sgmunn 2012
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentati... | 2.331291 | c797b63f269f79a3d82b9b1e6ed04ded |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834400 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "vassdeniss/software-university-courses",
"max_stars_repo_path": "csharp-advanced/12.ClassesExercise/E06.SpeedRacing/Car.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153620"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace DefiningClasses
{
public class Car
{
private string model;
private double fuelAmount;
private double fuelRate;
private double travelledDistance;
public Car()
{
... | 3.789641 | 5fe144f3d9450f8dee92abc1440fa9ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834401 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rj2Skipper/ManagedDism",
"max_stars_repo_path": "src/Microsoft.Dism.Tests/Base/DismStructTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153621"
} | starcoder | <reponame>rj2Skipper/ManagedDism
// Copyright (c). All rights reserved.
//
// Licensed under the MIT license.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Xunit;
namespace Microsoft.Dism.Tests
{
public abstract class DismStructTest<T> : TestBase
where T : cl... | 2.24102 | d2553d598633d57f0b1705ff55dda58a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834402 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MiniverCheevy/voodoo-reports",
"max_stars_repo_path": "Voodoo.Reports/RenderingLogic/BorderBuilders/InlineOutlineBorder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153622"
} | starcoder | using System;
using System.Drawing;
using Voodoo.Reports.RenderingLogic;
namespace Voodoo.Reports.Models
{
public abstract class OutlineInlineBorder
{
public Color Color { get; set; }
public BorderStyle BorderStyle { get; set; }
public Cell[] Cells { get; set; }
public abstract... | 2.373217 | 973031eab1582115fa697526c912df17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834403 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NextsenseMK/Inno-VacationRequests",
"max_stars_repo_path": "VacationRequests/NS.Inno.Business/Implementations/UserSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153623"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Transactions;
using System.Xml.Linq;
using Microsoft.Extensions.Options;
using NS.Inno.Business.Interfaces;
using NS.Inno.Common;
using NS.Inno.Common.Enums;
using NS.... | 2.347292 | 0a67fd6c5168029d28cbb6b0b5db9bb7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834404 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mmcoulombe/sino-db-api",
"max_stars_repo_path": "Utils/PayloadsConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153624"
} | starcoder | using SinoDbAPI.Models;
using SinoDbAPI.Payloads;
using System;
using System.Collections;
using System.Linq;
namespace SinoDbAPI.Utils
{
public class PayloadsConverter
{
public static ColosseumResult ToColosseumResult(ColosseumResultRequest request)
{
ColosseumResult result = new Co... | 2.39715 | 16e9af4a3e6c88871f1734f51acce3a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834405 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "EarsKilla-fork-stuff/ShikimoriSharp",
"max_stars_repo_path": "ShikimoriSharp/Classes/Constants/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153625"
} | starcoder | <gh_stars>1-10
using Newtonsoft.Json;
namespace ShikimoriSharp.Classes.Constants
{
public class ConstantsSmileys
{
[JsonProperty("bbcode")] public string Bbcode { get; set; }
[JsonProperty("path")] public string Path { get; set; }
}
public class ConstantsClub
{
[JsonPrope... | 1.548015 | 8690cb13ceacfcc5b4e48a602d521d20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834406 | {
"extension": "c-sharp",
"max_stars_count": "764.0",
"max_stars_repo_name": "bluesugardog/Core5.Specification",
"max_stars_repo_path": "Specification/tests/Ardalis.Specification.UnitTests/BuilderTests/IncludableBuilderExtensions_ThenInclude.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153626"
} | starcoder | <gh_stars>100-1000
using FluentAssertions;
using Ardalis.Specification.UnitTests.Fixture.Entities;
using Ardalis.Specification.UnitTests.Fixture.Specs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace Ardalis.Specification.UnitTests
{
public class Includ... | 2.097606 | a99714198fcaa2cae7e92a2fba5adec3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834407 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "PacktPublishing/Blazor-Quick-Start-Guide",
"max_stars_repo_path": "Chapter02/BlazorDemo/Pages/ChildComp.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:153627"
} | starcoder | <gh_stars>10-100
<hr/>
<h3> Welcome to the Child Component</h3>
<div>@ChildContent</div>
@functions {
[Parameter]
private RenderFragment ChildContent { get; set; }
}
| 2.062209 | 0bc2a6172e577348070f55f76b95d7b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834408 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Zergatul/ZergatulLib",
"max_stars_repo_path": "Zergatul/Security/SymmetricCipherParameters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153628"
} | starcoder | namespace Zergatul.Security
{
public class SymmetricCipherParameters
{
public BlockCipherMode Mode { get; set; }
public Padding Padding { get; set; }
public SecureRandom Random { get; set; }
public byte[] IV { get; set; }
}
} | 1.669717 | 7a69278f0a722264911c12d2e4d089b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834409 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ahmtsenlik/BookStore",
"max_stars_repo_path": "WebApi/Application/GenreOperations/Commands/CreateGenre/CreateGenreCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153629"
} | starcoder | using System;
using System.Linq;
using WebApi.Application.DBOperations;
using WebApi.Entities;
namespace WebApi.Application.GenreOperations.Commands.CreateGenre
{
public class CreateGenreCommand
{
public CreateGenreModel Model{get; set;}
private readonly IBookStoreDbContext _context;
p... | 2.912726 | 860fde3a66ff16d8660d30c235d57f96 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ForNeVeR/Reinforced.Tecture",
"max_stars_repo_path": "Features/Reinforced.Tecture.Features.Orm/Testing/Checks/Delete/DeletePredicateCheck.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153630"
} | starcoder | <filename>Features/Reinforced.Tecture.Features.Orm/Testing/Checks/Delete/DeletePredicateCheck.cs
using System;
using Reinforced.Tecture.Commands;
using Reinforced.Tecture.Testing;
using Reinforced.Tecture.Testing.Validation;
namespace Reinforced.Tecture.Features.Orm.Testing.Checks.Delete
{
public class DeletePred... | 2.733061 | e1263ec2de4160f1b92f0d9f051bbeb2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834411 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BeardyC/graphql-client",
"max_stars_repo_path": "tests/GraphQL.Client.Tests/GraphQLRequestTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153631"
} | starcoder | using Xunit;
namespace GraphQL.Client.Tests {
public class GraphQLRequestTest {
[Fact]
public void ConstructorFact() {
var graphQLRequest = new GraphQLRequest<string> { Query = "{hero{name}}" };
Assert.NotNull(graphQLRequest.Query);
Assert.Null(graphQLRequest.OperationName);
Assert.Null(graphQLRequ... | 2.491811 | cab79de86b1bb60846830ba5cf4e6025 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.