added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811918 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MicroNetCore/MicroNetCore.Probes",
"max_stars_repo_path": "samples/MicroNetCore.Probes.Kubernetes.Sample/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131138"
} | starcoder | using MicroNetCore.Probes.Kubernetes.Extensions;
using MicroNetCore.Probes.Kubernetes.Sample.Probes;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
namespace MicroNetCore.Probes.Kubernetes.Sample
{
public cla... | 2.062786 | 8869c6e099bea89485a5948de3a733de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811919 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "szaszm/ahk-github-monitor",
"max_stars_repo_path": "src/Helpers/PayloadValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131139"
} | starcoder | using System;
using System.Security.Cryptography;
using System.Text;
namespace Ahk.GitHub.Monitor
{
public static class PayloadValidator
{
public static bool IsSignatureValid(byte[] payloadBytes, string receivedSignature, string secret)
{
if (string.IsNullOrEmpty(receivedSignature)... | 2.994008 | d0009668c23fd85d5273e52009692865 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811920 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oskvr/TodoApp",
"max_stars_repo_path": "Todo.Core/Pages/Shared/_AddTaskPartial.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131140"
} | starcoder | <reponame>oskvr/TodoApp
@model TodoTask
@*Partial for displaying the add task-box in lists*@
<div class="pb-20">
<form method="post" class="add-task-form my-3 lg:my-0 rounded shadow-md transition hover:shadow absolute">
<div asp-validation-summary="ModelOnly" class="text-red-500"></div>
<input asp-... | 2.259967 | 1e7ecf396fd5249f5debda76de125389 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811921 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "walt-liuzw/iCalendar",
"max_stars_repo_path": "DDay.iCal/DataTypes/Period.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131141"
} | starcoder | <filename>DDay.iCal/DataTypes/Period.cs<gh_stars>1-10
using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
using DDay.iCal.Serialization.iCalendar;
namespace DDay.iCal
{
/// <summary>
/// Represents an iCalendar period of time.
///... | 2.94396 | f21b2d614b1ed2edd3d4a3762f64879b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811922 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "przemekwa/PrimeEwsi",
"max_stars_repo_path": "UrbanCodeMetaFileCreator/Dto/ControlFileDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131142"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
namespace UrbanCodeMetaFileCreator.Dto
{
public class ControlFileDto
{
public Svncredential SvnCredential { get; set; }
public Deploymentpackage[] DeploymentPackage { get; set; }
}
public class Svncredential
{
publ... | 1.072194 | 6edc5cd73af206398de616225e1b83e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811923 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "isabella232/SES-7.5",
"max_stars_repo_path": "code/Core/Sitecore.Ecommerce.Shell/Applications/Catalogs/Models/Search/ItemCatalogSearchProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131143"
} | starcoder | // -------------------------------------------------------------------------------------------
// <copyright file="ItemCatalogSearchProvider.cs" company="Sitecore Corporation">
// Copyright (c) Sitecore Corporation 1999-2015
// </copyright>
// ----------------------------------------------------------------------... | 1.894844 | 0f595ec55977de6c29f8dda843f542a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811924 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "keutmann/SPM",
"max_stars_repo_path": "SharePoint Manager 2010 v2/Src/Main/SPM2.Framework.WPF/Components/BrowserControl.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131144"
} | starcoder | <reponame>keutmann/SPM
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using ... | 2.029151 | fdd6063b90c6753408dd0c56749d9f99 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811925 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "NoelWidmer/UnityGameplayFramework",
"max_stars_repo_path": "Assets/InspectorReflector/Attributes/InspectAsSByteSliderAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131145"
} | starcoder | using System;
namespace InspectorReflector
{
/// <summary>
/// Properties and Fields marked with this attribute can be inspected by the IR.<br>
/// If the member is of type <see cref="sbyte"/> the IR will display a dragable slider.
/// </summary>
[AttributeUsage(AttributeTargets.Pr... | 3.119159 | fc9e564bfe9fb79dfd02d848a6708dc4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811926 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CaptainSandman/DarkHavoc",
"max_stars_repo_path": "Dark Havoc/DarkHavoc.Engine/JoshoEngine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131146"
} | starcoder | <reponame>CaptainSandman/DarkHavoc<gh_stars>1-10
using System;
using System.Diagnostics;
using Microsoft.Xna.Framework;
namespace DarkHavoc.Engine
{
/// <summary>
/// Handles the JoshoEngine as a whole.
/// </summary>
public static class JoshoEngine
{
private static ScreenManager myScreenM... | 2.914774 | d791a2ad4b112cac52530dc4e8bd142a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811927 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mjrousos/logging-application-block",
"max_stars_repo_path": "source/Tests/Logging.TestSupport/TraceListeners/MockTraceListenerData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131147"
} | starcoder | <filename>source/Tests/Logging.TestSupport/TraceListeners/MockTraceListenerData.cs
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System.Diagnostics;
using Microsoft.Practices.EnterpriseLibrary.Logging.Configuration;
namespace Microsoft.... | 2.058047 | b6a026af7963e55f67d657189e51b5a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811928 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tr4nc3/SOAPFuzzer",
"max_stars_repo_path": "Backup1/WindowsApplication1/PayloadGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131148"
} | starcoder | <reponame>tr4nc3/SOAPFuzzer
using System;
namespace WindowsApplication1
{
abstract class PayloadGenerator
{
public abstract string StrNextPayload()
{
}
public abstract string[] StrExpectedOutput(int payloadid)
{
}
}
}
| 1.327075 | d7963f4b71b6118dd3807b6881525cb0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811929 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "Chamberlain91/heirloom",
"max_stars_repo_path": "Modules/Heirloom.OpenGLES/Native/Enums/Buffers/DrawElementType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131149"
} | starcoder | namespace Heirloom.OpenGLES
{
internal enum DrawElementType
{
UnsignedByte = 0x1401,
UnsignedShort = 0x1403
}
}
| 1.405655 | cde62523dd272471c461e3f8ee53a423 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811930 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dimitar-v/CSharp-OOP-Advanced",
"max_stars_repo_path": "Exam20181216/01. Business Logic_Skeleton (.NET Core)/Skeleton (.NET Core)/TheTankGame/TheTankGame/Core/Engine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131150"
} | starcoder | namespace TheTankGame.Core
{
using System;
using System.Linq;
using System.Reflection;
using Contracts;
using IO.Contracts;
public class Engine : IEngine
{
private bool isRunning;
private readonly IReader reader;
private readonly IWriter writer;
private read... | 3.112136 | fbf96260ee2379ce90574dce91c6b152 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811931 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "irshyn/AsteroidField",
"max_stars_repo_path": "Gold.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131151"
} | starcoder | <reponame>irshyn/AsteroidField
/*
* Gold class represent an pot of gold element of the game
* and its logic
* Final Project
* Revision History
* <NAME>: 30.11.2018 Created
*/
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace AsteroidField
{
/// <summary>
... | 2.944196 | e612a27452ff47cab4eaea6b2a0a8056 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811932 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CvetelinLozanov/SoftUni-C-",
"max_stars_repo_path": "Programing Fundamentals C#/Functional Programming - Exercise/AppliedArithmetics/AppliedArithmetics.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131152"
} | starcoder | using System;
using System.Linq;
namespace AppliedArithmetics
{
class AppliedArithmetics
{
static void Main(string[] args)
{
Func<int[], int[]> addOne = nums => nums.Select(n => n + 1).ToArray();
Func<int[], int[]> multiplyByTwo = nums => nums.Select(n => n * 2).ToArray... | 4.129716 | 34df56e9df30395b3805dcf91e16ff2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811933 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sbully/TP_ABC_Dev",
"max_stars_repo_path": "ExoKiloutou/VoitureTri/Voiture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131153"
} | starcoder | <reponame>sbully/TP_ABC_Dev<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VoitureTri
{
public class Voiture
{
private string numeroDeSerie;
private string modele;
private string marque;
... | 2.488981 | cf421b5aa28d63efa9bf9bc252c36250 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811934 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "suxrobGM/GitLabAPI",
"max_stars_repo_path": "GitLab.API/RepositoryTree.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131154"
} | starcoder | <filename>GitLab.API/RepositoryTree.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GitLab.API
{
public class RepositoryTree
{
public string Id { get; internal set; }
public string Name { get; internal set; }
... | 2.133413 | 2156092d8f6632be971b85ce7410c8c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811935 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lelouch99/bot_cc",
"max_stars_repo_path": "Discord.Net/src/Discord.Net.Rpc/Entities/VoiceSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131155"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Model = Discord.API.Rpc.VoiceSettings;
namespace Discord.Rpc
{
public class VoiceSettings
{
public string InputDeviceId { get; private set; }
public float InputVolume { get; pri... | 1.957516 | edd31f0c2f42f244e46285b7148cc9d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811936 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FoldingCoin/StatsDownloadDotNet",
"max_stars_repo_path": "StatsDownload/StatsDownload.Core.Tests/TestFilePayloadUploadProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131156"
} | starcoder | <gh_stars>1-10
namespace StatsDownload.Core.Tests
{
using System;
using NSubstitute;
using NUnit.Framework;
using StatsDownload.Core.Implementations;
using StatsDownload.Core.Interfaces;
using StatsDownload.Core.Interfaces.DataTransfer;
using StatsDownload.Core.Interfaces.Exceptions;
... | 1.981099 | a9f0fc1cead0e808338b5b6b20104ba6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811937 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zvet80/TelerikAcademy",
"max_stars_repo_path": "01.C#1/4.ConsoleInputOutput/06.QuadraticEquation/QuadraticEquation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131157"
} | starcoder | <gh_stars>0
//Problem 6. Quadratic Equation
//Write a program that reads the coefficients a, b and c of a quadratic equation ax2 + bx + c = 0 and solves it (prints its real roots).
using System;
class QuadraticEquation
{
static void Main()
{
Console.Write("Enter number a: ");
double a = doubl... | 4.000185 | 4ab5463de304c502f20ab88a04d94aad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811938 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WebDevIsac/battleship-game",
"max_stars_repo_path": "battleship-game/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131158"
} | starcoder | <filename>battleship-game/Program.cs
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
namespace battleship_game
{
class Program
{
public static int borderWidth = 30;
public static int borderHeight = 20;
public static bool rotate = false;
... | 3.036619 | d92874c3473e27618fbcac8caf53f44e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811939 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Chr0n0AP/flashdevelop",
"max_stars_repo_path": "External/Plugins/ProjectManager/Controls/TreeView/ProjectContextMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131159"
} | starcoder | <gh_stars>0
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using System.ComponentModel;
using ProjectManager.Projects;
using PluginCore.Localization;
using PluginCore.Helpers;
using PluginCore;
using PluginCore.Utilities;
nam... | 1.658686 | 0356be219eb011708a8028547a92da68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811940 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BohdanMosiyuk/samples",
"max_stars_repo_path": "csharp/expression-trees/BlockVisitor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131160"
} | starcoder | using System;
using System.Linq.Expressions;
namespace ExpressionVisitor
{
public class BlockVisitor : Visitor
{
private readonly BlockExpression node;
public BlockVisitor(BlockExpression node) : base(node)
{
this.node = node;
}
public override void Visit(st... | 3.448739 | af0212d81a60f1508fc3186142596712 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811941 | {
"extension": "c-sharp",
"max_stars_count": "75.0",
"max_stars_repo_name": "thomz12/h5",
"max_stars_repo_path": "External/NRefactory/ICSharpCode.NRefactory.CSharp/Resolver/OverloadResolutionErrors.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131161"
} | starcoder | <reponame>thomz12/h5
// 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 limita... | 1.932959 | 933b14cc9e3d28b6414e450ac551c2d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811942 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TheRealAdamKemp/FragmentActivityTest",
"max_stars_repo_path": "MainActivity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131162"
} | starcoder | using Android.App;
using Android.Views;
using Android.Widget;
using Android.OS;
namespace FragmentActivityTest
{
[Activity(Label = "FragmentActivityTest", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : FragmentActivity<MainActivityFragment>
{
}
public class... | 2.626032 | 5eebc6e5e65e100936d3cd934e868ca3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811943 | {
"extension": "c-sharp",
"max_stars_count": "57.0",
"max_stars_repo_name": "cnbluefire/MaterialLibs",
"max_stars_repo_path": "MaterialLibs/CustomTransitions/Bases/HideTransitionBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131163"
} | starcoder | <reponame>cnbluefire/MaterialLibs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Composition;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Hosting;
namespace MaterialLibs.CustomTransitions
{
public cla... | 1.694537 | b5484b0d9eeac1b164b745b8d551a873 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811944 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "micro-elements/MicroElements.Metadata",
"max_stars_repo_path": "src/MicroElements.Metadata/Metadata/ParserBehavior.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131164"
} | starcoder | // Copyright (c) MicroElements. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Linq;
using MicroElements.Functional;
namespace MicroElements.Metadata
{
// IParserBehavior
public interfac... | 2.279225 | 48f7ecf8ed274afaaed090c0f906e611 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811945 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ninekorn/SCCoreSystems-rerelease",
"max_stars_repo_path": "sc_impulse_physics/SC_Physiks_CSharp/SC_Console_APP/SC_Graphics/SC_Models/SC_VR_Chunk.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131165"
} | starcoder | <filename>sc_impulse_physics/SC_Physiks_CSharp/SC_Console_APP/SC_Graphics/SC_Models/SC_VR_Chunk.cs
using SharpDX;
using SharpDX.Direct3D;
using SharpDX.Direct3D11;
using SharpDX.DXGI;
using System.Linq;
using System;
using System.Runtime.InteropServices;
using System.Collections;
using System.Collections.Generic;
na... | 2.063716 | 259869a0589acc7ce1b70c4674a1cf0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811946 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LTUDQL1-1660401-1660426/QuanLyNhaSach",
"max_stars_repo_path": "QuanLyNhaSach/Objects/Function.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131166"
} | starcoder | <filename>QuanLyNhaSach/Objects/Function.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QuanLyNhaSach.Objects
{
public class Function
{
public string Title { get; set; }
pub... | 2.491477 | c42e067209ad896b5100c73d436a5743 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811947 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Moet42/QAZE",
"max_stars_repo_path": "Assets/Scripts/game/music.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131167"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class music : MonoBehaviour
{
[HideInInspector]public bool on = false, did = true;
[SerializeField]GameObject fade;
public float musicLong_seconds;
void Update()
{
if(Time.timeSinceLevelLoad>=4.0f){
... | 2.202366 | 03c287de54904b6b9c765465d4447329 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811948 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Krzysow/CritterWorld",
"max_stars_repo_path": "CritterWorld/Things/Terrain.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131168"
} | starcoder | using SCG.TurboSprite;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace CritterWorld
{
public class Terrain : PolygonSprite, IVisible
{
public Terrain(int X1, int X2, int Y1, int ... | 2.610315 | 701fdae948a68652d210495cbd41b2a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811949 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GuruCharan94/dotnet",
"max_stars_repo_path": "tests/MiniProfiler.Tests/Async/AsyncTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131169"
} | starcoder | using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace StackExchange.Profiling.Tests.Async
{
[Collection(NonParallel)]
public class AsyncTests : BaseTest
{
publ... | 2.516354 | 34eb6832ead684dcd73f1f9d01bc5f31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811950 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "labiel1/DreamHouse_Gaminp",
"max_stars_repo_path": "Assets/Scripts/guliSpawn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131170"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using System.Collections;
public class guliSpawn : MonoBehaviour {
public GameObject guli;
float timer;
public float delayTime = .5f;
// public audioManager am;
void awake()
{
// am.guliSound.Play();
}
// Use this for initialization
void Start () {
time... | 1.969531 | 87f2271293c262004d2776dcea44ca88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811951 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rose-daniel/open-pdd-net-sdk",
"max_stars_repo_path": "PddOpenSdk/PddOpenSdk/Models/Request/Util/BatchOpenKmsSearchRequestModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131171"
} | starcoder | <reponame>rose-daniel/open-pdd-net-sdk<filename>PddOpenSdk/PddOpenSdk/Models/Request/Util/BatchOpenKmsSearchRequestModel.cs
using System.Collections.Generic;
using Newtonsoft.Json;
namespace PddOpenSdk.Models.Request.Util
{
public partial class BatchOpenKmsSearchRequestModel : PddRequestModel
{
/// <sum... | 1.922362 | 847b8047c7ea4bcc38d746ff79b05d57 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811952 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "rafaelbaade/docsbr.net",
"max_stars_repo_path": "DocsBr/Validation/IE/IEAmazonasValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131172"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DocsBr.Utils;
namespace DocsBr.Validation.IE
{
/// <summary>
/// Validação da IE do Amazonas
/// </summary>
/// <remarks>
/// ROTEIRO DE CRÍTICA DA INSCRIÇÃO ESTADUAL:
///... | 2.895653 | 212100faa8c232db9119bb433c90a7f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811953 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "nottvlike/simple_game_tool_ecs",
"max_stars_repo_path": "Assets/Scripts/Common/Constant.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131173"
} | starcoder | using System;
public partial class Constant
{
public const int NETWORK_CACHE_SIZE = 65535;
public const int NOTIFICATION_TYPE_NETWORK = 1;
public const int NOTIFICATION_TYPE_RESOURCE_PRELOAD = 2;
public const int NOTIFICATION_TYPE_UI = 3;
public const int NOTIFICATION_TYPE_ITEM = 1000;
p... | 1.45907 | 7fce87be74ba684932604ddea711245e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811954 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Marguelgtz/explorer",
"max_stars_repo_path": "unity-client/Assets/Scripts/MainScripts/DCL/Controllers/HUD/BuildModeHUD/Tests/CatalogBtnControllerShould.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131174"
} | starcoder | using NSubstitute;
using NUnit.Framework;
using UnityEngine.EventSystems;
namespace Tests.BuildModeHUDControllers
{
public class CatalogBtnControllerShould
{
private CatalogBtnController catalogBtnController;
[SetUp]
public void SetUp()
{
catalogBtnController = new ... | 2.213634 | c2a57df6e958c8151e6c9e06fe73fc2d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811955 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skacofonix/WhatTheMovie",
"max_stars_repo_path": "WTM.Api/Controllers/ShotOverviewController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131175"
} | starcoder | <gh_stars>0
using System;
using System.Web.Http;
using WTM.Core.Services;
using WTM.Crawler;
using WTM.Crawler.Services;
using WTM.Domain;
namespace WTM.Api.Controllers
{
public class ShotOverviewController : BaseController
{
private readonly IShotOverviewService shotOverviewService;
public S... | 2.096133 | 23c5669c3ccfaa1249b91a757a1aa74a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811956 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JoanDGG/Proyecto-Marte",
"max_stars_repo_path": "Assets/Scripts/scriptsIndustrial/ScriptsPruebaAutomovil/ObtenCualidades.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131176"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/*
Script para obtener las cualidades dependiendo de las partes escogidas y asignarlas al automóvil.
Autor: <NAME> A01378248
Última actualización: 21 de abril de 2021
*/
public class ObtenCualidades : MonoBehaviour
{
// Tablas de has... | 2.337343 | 2eb54cfeb54b336e09206f2603ecbfc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811957 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kruemelkatze/4thWinterKluJam",
"max_stars_repo_path": "Assets/Scripts/Extensions/EnumerableExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131177"
} | starcoder | <filename>Assets/Scripts/Extensions/EnumerableExtensions.cs
using UnityEngine;
namespace Extensions
{
public static class EnumerableExtensions
{
public static T RandomEntry<T>(this T[] arr)
{
if (arr.Length == 0)
{
return default;
}
... | 2.439844 | ccf066d985115e9464addbf0b52d2420 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Duslerke/social-care-case-viewer-api",
"max_stars_repo_path": "SocialCareCaseViewerApi/V1/Gateways/MashReferralGateway.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131178"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using MongoDB.Bson;
using MongoDB.Driver;
using SocialCareCaseViewerApi.V1.Factories;
using SocialCareCaseViewerApi.V1.Gateways.Interfaces;
using MashReferral = SocialCareCaseViewerApi.V1.Domain.MashReferral;
#nullable enable
namespace SocialCareCaseViewerApi.V1.Gat... | 2.272572 | 136248ef774dd5b0dd22dff9ff63bb8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811959 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JimmyCushnie/runtime",
"max_stars_repo_path": "src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/CollectionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131179"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Text.Json.Serialization.Tests
{
public sealed partial class CollectionTestsDynamic : CollectionTests
{
public CollectionTestsDynamic() : base(JsonSe... | 1.252931 | 6f340d215fcf1c941feda2ecae6610ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811960 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "weibaohui/blazork8s",
"max_stars_repo_path": "Blazor/Pages/ReplicaSet/ReplicaSetDetailView.razor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131180"
} | starcoder | using System;
using AntDesign;
using k8s.Models;
namespace Blazor.Pages.ReplicaSet
{
public partial class ReplicaSetDetailView : FeedbackComponent<V1ReplicaSet, bool>
{
public V1ReplicaSet RsItem;
protected override void OnInitialized()
{
RsItem = base.Options;
... | 1.348949 | 9b7801e36e5b36ead24a129dd884574c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811961 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "AccelerateX-org/NINE",
"max_stars_repo_path": "Sources/TimeTable/MyStik.TimeTable.Web/Views/Reservation/CreateDate.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131181"
} | starcoder | @using System.Web.Mvc.Html
@model MyStik.TimeTable.Web.Models.CourseDateCreatenModel
@{
ViewBag.Title = "Neuen Termin anlegen";
}
@section styles
{
<link rel="stylesheet" href="@Url.Content("~/Assets/global/plugins/Jquery-ui/jquery-ui.min.css")" />
<link rel="stylesheet" type="text/css" href="@Url.Content("~/Asse... | 2.216379 | a54b20787e5bcc15bb1667df9dca5c3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811962 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "csf-dev/CSF.Screenplay.Selenium",
"max_stars_repo_path": "CSF.Screenplay.Selenium.BrowserFlags/GetBrowserFlagsDefinitions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131182"
} | starcoder | <reponame>csf-dev/CSF.Screenplay.Selenium<filename>CSF.Screenplay.Selenium.BrowserFlags/GetBrowserFlagsDefinitions.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using CSF.WebDriverExtras.Flags;
namespace CSF.Screenplay.Selenium
{
/// <summary>
/// Helper type which... | 2.672523 | d63fb324b130be3a0cd6a7059321fd05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811963 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eyeonus/TDHelper",
"max_stars_repo_path": "TradeDangerousGUI/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131183"
} | starcoder | <filename>TradeDangerousGUI/Program.cs
using System;
using System.IO;
using System.Reflection;
using System.Threading;
using System.Windows.Forms;
namespace TDHelper
{
internal static class Program
{
public static bool updateOverride = false;
/// <summary>
/// The main entry point for... | 2.584267 | 4d748f4185e94b1c911efe101e018550 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811964 | {
"extension": "c-sharp",
"max_stars_count": "953.0",
"max_stars_repo_name": "ike709/space-station-14",
"max_stars_repo_path": "Content.Shared/Movement/Components/IMoverComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131184"
} | starcoder | <reponame>ike709/space-station-14<gh_stars>100-1000
using Robust.Shared.GameObjects;
using Robust.Shared.Maths;
namespace Content.Shared.Movement.Components
{
// Does nothing except ensure uniqueness between mover components.
// There can only be one.
public interface IMoverComponent : IComponent
{
... | 2.521035 | 26bfadab6a5f31b7d44c58fcac8626e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811965 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AlexeyDerepa/AnimalRescue",
"max_stars_repo_path": "Backend/AnimalRescue/AnimalRescue.API/Models/Configurations/Info/BaseInfoModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131185"
} | starcoder | using Newtonsoft.Json;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
using common = AnimalRescue.Contracts.Common.Constants.PropertyConstants.Common;
namespace AnimalRescue.API.Models.Configurations.Info
{
public class BaseInfoModel
... | 1.892984 | c97f855bde531a8217827fbbfb870e9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811966 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "poglodek/Movin",
"max_stars_repo_path": "Movin.TestingMethod/Test.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131186"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Movin.Database.Enum;
using Movin.Dto.Host;
using Movin.Dto.Test;
using Movin.Dto.TestResult;
using Movin.Exception;
using Movin.Services.IServices;
namespace Movin.TestingMethod
{
... | 2.093456 | 59ff297c0c48668e247fbc6e9de1ea68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811967 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "laurentiustamate94/dissertation-thesis",
"max_stars_repo_path": "EdgeApps/MobileApp.Android/MainActivity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131187"
} | starcoder | <gh_stars>1-10
using System.Net;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.OS;
using Android.Runtime;
using MobileApp.Droid.Services;
using MobileApp.Interfaces;
using MobileApp.Messages;
using Xamarin.Forms;
namespace MobileApp.Droid
{
[Activity(Label = "MobileApp", Icon ... | 1.653484 | bcd6736768f53842d4ee956a6ebb735b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811968 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fbrosseau/SimpleProcessFramework",
"max_stars_repo_path": "SimpleProcessFramework/Runtime/Exceptions/ProcessAlreadyExistsException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131188"
} | starcoder | <filename>SimpleProcessFramework/Runtime/Exceptions/ProcessAlreadyExistsException.cs
using System.Runtime.Serialization;
namespace Spfx.Runtime.Exceptions
{
[DataContract]
public class ProcessAlreadyExistsException : SerializableException
{
[DataMember]
public string ProcessId { ge... | 2.697666 | dd3f32d793f09fde6956b1dcd5a561b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811969 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rutkowskit/VRT.Resume",
"max_stars_repo_path": "VRT.Resume.Persistence/Data/Configurations/PersonSkillConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131189"
} | starcoder | <reponame>rutkowskit/VRT.Resume<filename>VRT.Resume.Persistence/Data/Configurations/PersonSkillConfiguration.cs
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Microsoft.EntityFrameworkCore.Metadata;
using Micr... | 2.051561 | 0b8c7ef5abfc5583af160045d508cd64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811970 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "NikGovorov/MassTransit",
"max_stars_repo_path": "src/MassTransit.Tests/Saga/RegisterUserController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131190"
} | starcoder | <filename>src/MassTransit.Tests/Saga/RegisterUserController.cs
// Copyright 2007-2011 <NAME>, <NAME>, <NAME>, et. al.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// ... | 2.193511 | b2a188145ceb584dcad0c2253f6bcd9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811971 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brezaie/apm-agent-dotnet",
"max_stars_repo_path": "test/Elastic.Apm.Tests/TestHelpers/JsonUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131191"
} | starcoder | using System.Globalization;
using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Elastic.Apm.Tests.TestHelpers
{
public static class JsonUtils
{
public static string PrettyFormat(string inputJson)
{
using (var stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
us... | 2.410314 | 7671a58837af1ad3a6d53dbc9ae623a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811972 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cryma/CryV.Net",
"max_stars_repo_path": "CryV.Net.Server.Common/src/Events/PlayerConnectedEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131192"
} | starcoder | <reponame>Cryma/CryV.Net
using CryV.Net.Server.Common.Interfaces;
using Micky5991.EventAggregator.Interfaces;
namespace CryV.Net.Server.Common.Events
{
public class PlayerConnectedEvent : IEvent
{
public IServerPlayer Player { get; set; }
public PlayerConnectedEvent()
{
}
... | 1.972835 | d6412b61e1a42b24540c0fed44832f4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811973 | {
"extension": "c-sharp",
"max_stars_count": "92.0",
"max_stars_repo_name": "RhubarbVR/CefNet",
"max_stars_repo_path": "CefNet/JSInterop/V8Undefined.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131193"
} | starcoder | <filename>CefNet/JSInterop/V8Undefined.cs
using System;
using System.ComponentModel;
using System.Globalization;
using System.Diagnostics;
using System.Collections;
namespace CefNet.JSInterop
{
[TypeConverter(typeof(V8UndefinedConverter)) , DebuggerDisplay("undefined"), DebuggerStepThrough]
public struct V8Undefine... | 2.145953 | cc95944644de5927f42cfbf17a8f7681 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811974 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "happysammy/DeepCoveCapital",
"max_stars_repo_path": "DeepCoveCapital.Core/InstrumentUniverse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131194"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace DeepCoveCapital.Core
{
public class InstrumentUniverse
{
//TODO add list of instruments to be traded in the strategy
}
}
| 0.985209 | b9309be6e6311be266c037114f3a650c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811975 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daerlnaxe/Sapp-Pas-Root",
"max_stars_repo_path": "Sources/Models/I_ModelFolders.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131195"
} | starcoder | <filename>Sources/Models/I_ModelFolders.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace SPR.Models
{
interface I_ModelFolders
{
string GamesFName { get; set; }
}
}
| 1.802078 | d61d4335b39f2d8f89b91e780c7cf318 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811976 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CristovaoTorres/WebApiNetCore_GenericRepositoryPattnerJwt",
"max_stars_repo_path": "VcmSuite3x_api/Extensions/ExtensionMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131196"
} | starcoder | <gh_stars>0
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Threading.Tasks;
using VcmSuite3x_api.Core.Interface;
using VcmSuite3x_api.Models;
... | 2.374652 | c8adf7ff36f1470d061ead3a93c2ee2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811977 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Ankanmook/benchmarkdotnet.analyser",
"max_stars_repo_path": "test/BenchmarkDotNetAnalyser.Tests.Unit/Commands/AggregateBenchmarksExecutorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131197"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BenchmarkDotNetAnalyser.Aggregation;
using BenchmarkDotNetAnalyser.Benchmarks;
using BenchmarkDotNetAnalyser.Commands;
using BenchmarkDotNetAnalyser.Instrumentation;
using BenchmarkDotNetAnalyser.IO;
u... | 2.202157 | e8d70cb925818e78fee6c57d28ced95c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811978 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jirikadlec2/hydrodata",
"max_stars_repo_path": "hydrodatainfo/grafy/plaveniny01/Logic/BinaryFileHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131198"
} | starcoder | using jk.plaveninycz.Interfaces;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace jk.plaveninycz.Logic
{
public class BinaryFileHelper
{
public static void ReadBinaryFile(string fileName, DateTime startTime, DateTime endTime, TimeStep timeStep,
... | 2.843536 | 53cfbaf97588687de5d4208ad66eeff4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811979 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pinterweb/dotnet-webapi-template",
"max_stars_repo_path": "CSharp/src/BusinessApp.Infrastructure/CompositePostCommitHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131199"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using BusinessApp.Kernel;
namespace BusinessApp.Infrastructure
{
/// <summary>
/// Runs multiple post commit handlers
/// </summary>
public class CompositePostCommitHandler<TRequest, TResponse> : IPost... | 2.526518 | 880d81d12d2e289039f3d3cd45f85180 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811980 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ar-dev-1983/Gizmo.HardwareAudit",
"max_stars_repo_path": "Gizmo.HardwareAudit/Gizmo.HardwareAudit/Models/ReportItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131200"
} | starcoder | using Gizmo.HardwareAudit.Enums;
using Gizmo.HardwareAudit.Interfaces;
using Gizmo.HardwareAuditClasses.Enums;
using Gizmo.HardwareAuditWPF;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Data;
using ... | 2.376758 | 3c4e959b4660a4ebd47569976e55e12a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811981 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BlacBaron/Equ",
"max_stars_repo_path": "Sources/Equ.Test/ElementwiseSequenceEqualityComparerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131201"
} | starcoder | <filename>Sources/Equ.Test/ElementwiseSequenceEqualityComparerTest.cs<gh_stars>0
namespace Equ.Test
{
using System.Collections.Generic;
using Equ;
using Xunit;
public class ElementwiseSequenceEqualityComparerTest
{
[Fact]
public void Equal_sequences_are_reported_equal(... | 3.053656 | 6cc5d71a1c2bc92fd117f9ff18f116a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811982 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ankasani/react-native-windows",
"max_stars_repo_path": "ReactWindows/ReactNative/Modules/Network/DefaultHttpClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131202"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using Windows.Web.Http;
namespace ReactNative.Modules.Network
{
class DefaultHttpClient : IHttpClient
{
private readonly HttpClient _client;
public DefaultHttpClient()
: this(new HttpClient())
{
}
... | 2.571251 | e8003ee852e3dd10bead0f001c0d6c93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811983 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lemoissonneur/VariableReference",
"max_stars_repo_path": "Scripts/Runtime/PrimitiveVariables/Vector2VariableReference/Vector2ScriptableObjectVariable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131203"
} | starcoder | <filename>Scripts/Runtime/PrimitiveVariables/Vector2VariableReference/Vector2ScriptableObjectVariable.cs
using System;
using UnityEngine;
namespace CobayeStudio.VariableReference
{
[Serializable, CreateAssetMenu(menuName = "Cobaye Studio/Variables/Vector2 Variable", order = 1)]
public class Vector2ScriptableObj... | 1.700002 | e49ba16c55a74c70edce53e0f5435441 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811984 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kmdhossain/eisk.webapi",
"max_stars_repo_path": "Core/Eisk.Core/Exceptions/NonExistantEntityException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131204"
} | starcoder | <filename>Core/Eisk.Core/Exceptions/NonExistantEntityException.cs
namespace Eisk.Core.Exceptions
{
public class NonExistantEntityException<TEntity> : InvalidOperationException<TEntity>
{
public NonExistantEntityException(object paramValue, string paramName = "id") : base(
$"No {typeof(TEnt... | 2.605212 | f3e41d6355ced6dfbea54755a1b6b123 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811985 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "univesp/bienvenidos-a-buenaventura",
"max_stars_repo_path": "Bienvenidos A Buenaventura/Assets/_Scripts/Shared/ProtectObjectFromDestruction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131205"
} | starcoder | <filename>Bienvenidos A Buenaventura/Assets/_Scripts/Shared/ProtectObjectFromDestruction.cs
using UnityEngine;
//Qualquer objeto que conter esse script não será destruído na troca de cenas
public class ProtectObjectFromDestruction : MonoBehaviour {
public static ProtectObjectFromDestruction instance;
//Se o... | 2.752953 | 18f06756445c1b8a3e41a0f657e8677b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811986 | {
"extension": "c-sharp",
"max_stars_count": "171.0",
"max_stars_repo_name": "Elders/Cronus",
"max_stars_repo_path": "src/Elders.Cronus/Cluster/Job/JobExecutionStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131206"
} | starcoder | <filename>src/Elders.Cronus/Cluster/Job/JobExecutionStatus.cs
namespace Elders.Cronus.Cluster.Job
{
public enum JobExecutionStatus
{
Completed,
Failed,
Running
}
}
| 1.39792 | 4e674000be10364709b777e09c6a468b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811987 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "d-wall/fhir-server",
"max_stars_repo_path": "src/Microsoft.Health.CosmosDb/Configs/CosmosDataStoreConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131207"
} | starcoder | // -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... | 1.864806 | 8aa75b19140515ce540d4cb7b5c2d398 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811988 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sgabriel190/Meal-Application",
"max_stars_repo_path": "UnitTestController/TestUnitClassAPIClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131208"
} | starcoder | using System;
using ClientApi;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json.Linq;
namespace UnitTestController
{
[TestClass]
public class TestUnitClassAPIClass
{
[TestMethod]
public void TestMethod1()
{
ClientAPI clientAPI = ClientA... | 2.249437 | b45e44db72ec7e6c5f610049d9f79212 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811989 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "steffibreuer/identity",
"max_stars_repo_path": "src/Codeworx.Identity.Cryptography/Argon2/Argon2Mode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131209"
} | starcoder | using System;
namespace Codeworx.Identity.Cryptography.Argon2
{
[Flags]
public enum Argon2Mode
{
None = 0x00,
Argon2i = 0x01,
Argon2d = 0x02,
Argon2id = Argon2i | Argon2d,
}
} | 1.674757 | a25b51b8ff92412d86a7fb2b39142fdd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811990 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joel-bitscopic/hilleman-core",
"max_stars_repo_path": "hilleman-core/src/domain/pooling/AbstractResourceThread.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131210"
} | starcoder | using System;
using System.Threading;
namespace com.bitscopic.hilleman.core.domain.pooling
{
public class AbstractResourceThread
{
public Thread Thread { get; set; }
public DateTime Timestamp { get; set; }
public AbstractPoolSource Source { get; set; }
}
}
| 1.601663 | 5d7fe651003ea39e7ae83f37aa663acd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811991 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wolsk1/VolskSoft",
"max_stars_repo_path": "src/VolskSoft.Configuration/ConfigurationSection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131211"
} | starcoder | namespace VolskSoft.Bibliotheca.Configuration
{
using System.Collections.Specialized;
/// <summary>
/// Contains information about settings provider read from application configuration file.
/// </summary>
public class ConfigurationSection
{
/// <summary>
/// Gets or sets the v... | 2.646238 | d66cbb370cf25007f783c3b2c779f90f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811992 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AxelMarquez/Ed-Fi-ODS",
"max_stars_repo_path": "tests/EdFi.Ods.WebApi.CompositeSpecFlowTests/Steps.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131212"
} | starcoder | <filename>tests/EdFi.Ods.WebApi.CompositeSpecFlowTests/Steps.cs
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more ... | 1.635677 | fc4841ae84789ab1a742f0ecffc97c14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811993 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jimevans/selenium-auth-with-proxy-examples",
"max_stars_repo_path": "SeleniumAuthWithProxyExamples/SeleniumAuthWithProxyExamples/AuthenticationKind.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131213"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace SeleniumAuthWithProxyExamples
{
/// <summary>
/// Represents the types of authentication supported
/// </summary>
public enum AuthenticationKind
{
/// <summary>
/// HTTP Basic Authentication
/// </... | 2.185008 | 3781edef10d507e7bbfe1ef2e6b50ed3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811994 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Viveci/Viveci-MIX_Hand_In_OG-MT",
"max_stars_repo_path": "Assets/Scripts/depreceted/HitDetect.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131214"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HitDetect : MonoBehaviour {
public GameControl gm;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update()
{
if (Input.GetMouseButtonDown(0))
{... | 2.46164 | 449b1f5b71e37aec6aa0e4e658d02359 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811995 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "929496959/Open-XML-SDK",
"max_stars_repo_path": "src/DocumentFormat.OpenXml/GeneratedCode/schemas_microsoft_com_office_spreadsheetml_2011_1_ac.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131215"
} | starcoder | <reponame>929496959/Open-XML-SDK
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#nullable enable
#pragma warning disable CS0618 // Type or member is obsolete
using DocumentFormat.OpenXml;
using DocumentFormat.Ope... | 2.083557 | 1fdb9b4c223ec3730d78835ebba6c10b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811996 | {
"extension": "c-sharp",
"max_stars_count": "9402.0",
"max_stars_repo_name": "pyracanda/runtime",
"max_stars_repo_path": "src/libraries/System.Reflection.Context/src/System/Reflection/Context/Virtual/VirtualPropertyInfo.PropertySetter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131216"
} | starcoder | <reponame>pyracanda/runtime
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Reflection.Context.Custom;
namespace System.Reflecti... | 1.953407 | b7ee41f4bfbfe85c3214738d1caa0336 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811997 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "Respawnsive/Apizr",
"max_stars_repo_path": "Apizr/Samples/Apizr.Sample.Console/Models/UserInfos.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131217"
} | starcoder | <reponame>Respawnsive/Apizr<gh_stars>10-100
using System;
using Apizr.Mapping;
using Apizr.Sample.Api.Models;
namespace Apizr.Sample.Console.Models
{
[MappedCrudEntity("https://reqres.in/api/users", typeof(UserDetails))] // this one is for crud auto registration with mapping example
[MappedWith(typeof(UserDet... | 1.986435 | eb98ffe40f02738e7ab833625e9b5ffd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811998 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "meziantou/Meziantou.GitLabClient",
"max_stars_repo_path": "src/Meziantou.GitLabClient/Models/SharedGroup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131218"
} | starcoder | namespace Meziantou.GitLab
{
public partial class SharedGroup
{
public override string ToString()
{
return $"{GroupName} - {GroupAccessLevel}";
}
}
}
| 2.193379 | 7e1c4a908446bacf176f152b6484678e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811999 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "diddily/BizHawk",
"max_stars_repo_path": "src/BizHawk.Client.EmuHawk/Api/Libraries/SaveStateAPI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131219"
} | starcoder | <filename>src/BizHawk.Client.EmuHawk/Api/Libraries/SaveStateAPI.cs
using System;
using System.IO;
using BizHawk.Client.Common;
using BizHawk.Common;
namespace BizHawk.Client.EmuHawk
{
public sealed class SaveStateApi : ISaveStateApi
{
private readonly MainForm _mainForm;
private readonly Action<string> LogCal... | 2.493746 | 4a7c5c31a9547ad7834da456707b2bbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812000 | {
"extension": "c-sharp",
"max_stars_count": "170.0",
"max_stars_repo_name": "danieloff/HtmlRenderer",
"max_stars_repo_path": "Source/TestMobile/Droid/GLView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131220"
} | starcoder | <filename>Source/TestMobile/Droid/GLView.cs
//MIT, 2017, <NAME>(github/zwcloud)
//MIT, 2017, WinterDev (modified from Xamarin's Android code template)
using System;
using System.Collections.Generic;
using System.IO;
using OpenTK;
using OpenTK.Graphics;
using OpenTK.Platform.Android;
using Android.Views;
using Android.... | 2.501266 | a4cdc75c1cd3a0db090616ecf7312d2d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812001 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bartelink/EventStore",
"max_stars_repo_path": "src/EventStore.ClientAPI/Transport.Http/HttpResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131221"
} | starcoder | <filename>src/EventStore.ClientAPI/Transport.Http/HttpResponse.cs
using System.Net;
namespace EventStore.ClientAPI.Transport.Http
{
internal class HttpResponse
{
public readonly string CharacterSet;
public readonly string ContentEncoding;
public readonly long ContentLength;
pu... | 2.194906 | 3d3ed2f921e9fd1665679c7f3630c344 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812002 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MarkusMokler/photomsmsk-by",
"max_stars_repo_path": "PhotoMSK/Core/PhotoMSK.ViewModels/Widgets/SplitWidget.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131222"
} | starcoder | <gh_stars>1-10
using System;
namespace PhotoMSK.ViewModels.Widgets
{
public static class SplitWidgetViewModel
{
public class Details : BaseWidgetViewModel.Details
{
public string Type = "splitWidget";
public Guid LeftID { get; set; }
public BaseWidgetViewMod... | 1.619616 | 0ff323e1e32d3c3cd0e94d332f1b2e07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812003 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alexandrejulien/BELLATRIX",
"max_stars_repo_path": "templates/Bellatrix.Desktop.GettingStarted/TestsInitialize.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131223"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bellatrix.Desktop.GettingStarted
{
[TestClass]
public class TestsInitialize
{
[AssemblyInitialize]
public static void AssemblyInitialize(TestContext testContext)
{
////App.StartWinAppDriver();
}
... | 1.863792 | bc425fd5f3f38c5a088f5fef7a388d66 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812004 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SalimUlusoy/HaberPortal",
"max_stars_repo_path": "HaberPortal/HaberPortal/UC_AnaSayfa.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131224"
} | starcoder | using HaberPortal.Database.Model;
using HaberPortal.Model.Repository;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace HaberPortal
{
public... | 2.358676 | 8961980db3d95847aa2aedcb87b06707 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812005 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ChristopherButtars/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/CustomerProfiles/Generated/Model/SearchProfilesRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131225"
} | starcoder | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 1.819596 | a281605dd61b8d6e6289b893eaaa326f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812006 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dkleczko/FilmViewer",
"max_stars_repo_path": "FilmViewer.Business/Dto/Domain/MetadataDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131226"
} | starcoder | <reponame>dkleczko/FilmViewer<gh_stars>0
namespace FilmViewer.Business.Dto.Domain
{
public class MetadataDto
{
public int MetadataId { get; set; }
public string MetadataName { get; set; }
}
}
| 1.396844 | 15c723e47f4ad07755309e2ceb1a75f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812007 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sedc-codecademy/skwd8-08-aspnetmvc",
"max_stars_repo_path": "g5/Class02/Class02/Class02/Views/Student/Details.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131227"
} | starcoder | <filename>g5/Class02/Class02/Class02/Views/Student/Details.cshtml
<h1>Details</h1>
<p>@ViewBag.StudentDetails.FullName</p>
<p>@ViewBag.StudentDetails.Age</p>
<p>@ViewBag.StudentDetails.Other</p> | 1.895063 | 1af4c34c47a100c5ea080fdb050e114b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812008 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "i3arnon/Humanizer",
"max_stars_repo_path": "src/Humanizer/Configuration/LocaliserRegistry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131228"
} | starcoder | using System.Collections.Generic;
using System.Globalization;
namespace Humanizer.Configuration
{
/// <summary>
/// A registry of localised system components with their associated locales
/// </summary>
/// <typeparam name="TLocaliser"></typeparam>
public class LocaliserRegistry<TLocalise... | 3.28486 | 7b94b2753e4ed0fc825c134293c16d29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812009 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "nicoversity/unity_ios_of_osc",
"max_stars_repo_path": "unity/Assets/_Scripts/OSCTransmitter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131229"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using UnityOSC;
public class OSCTransmitter : MonoBehaviour {
// reference to the Unity Player Controller GameObject
public GameObject unity_player_controller;
// list of defined OSC add... | 2.564289 | cf08396db78480a590474536bc2fd71d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812010 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "LorenVS/bacstack",
"max_stars_repo_path": "BACnet.Ashrae/Generated/SubscribeCOVPropertyRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131230"
} | starcoder | using System;
using BACnet.Types;
using BACnet.Types.Schemas;
namespace BACnet.Ashrae
{
public partial class SubscribeCOVPropertyRequest
{
public uint SubscriberProcessIdentifier { get; private set; }
public ObjectId MonitoredObjectIdentifier { get; private set; }
public Option<bool> IssueConfirmedNotificat... | 2.314054 | 221806cde3b3afb30c867aa3f13c1c67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812011 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "BillBaird/aries-framework-dotnet",
"max_stars_repo_path": "src/AgentFramework.Core/Models/Credentials/CredentialPreviewAttributeConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131231"
} | starcoder | <gh_stars>10-100
using System;
using AgentFramework.Core.Utils;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace AgentFramework.Core.Models.Credentials
{
internal class CredentialPreviewAttributeConverter : JsonConverter<CredentialPreviewAttribute>
{
public override void WriteJson(JsonWrit... | 2.494159 | 800e56ded4bd1508ac0eb9af305d5271 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812012 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "jeffmaley/PerpetuumServer",
"max_stars_repo_path": "src/Perpetuum.RequestHandlers/Corporations/YellowPages/YellowPagesGet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131232"
} | starcoder | <reponame>jeffmaley/PerpetuumServer<gh_stars>10-100
using System.Collections.Generic;
using Perpetuum.Groups.Corporations;
using Perpetuum.Host.Requests;
namespace Perpetuum.RequestHandlers.Corporations.YellowPages
{
public class YellowPagesGet : IRequestHandler
{
private readonly ICorporationManager _... | 1.807988 | ea30e73759f9d347df8166ffb1115ae0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812013 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "landorphan/DotNetCoreBuildMap",
"max_stars_repo_path": "DotNetCoreBuildTools/Parsers/SolutionFileParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131233"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection.Metadata.Ecma335;
using System.Text;
using System.Text.RegularExpressions;
using ProjectOrder.Helpers;
using ProjectOrder.Model;
namespace ProjectOrder.Parsers
{
public class SolutionFileParser
{
public... | 2.445236 | 150b5dee452ce45a2c9fe84d0f302b24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812014 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NazimNaibResidov/DotNetCore.BlogSite",
"max_stars_repo_path": "Blog.WebUI/Controllers/CategoryController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131234"
} | starcoder | <filename>Blog.WebUI/Controllers/CategoryController.cs
using Blog.Data.Core.IUnit;
using Blog.Entity.Data;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System.Linq;
using System.Threading.Tasks;
namespace Blog.WebUI.Controllers
{
public class CategoryController : Controller
{
... | 2.408633 | f1a01ad5c14fd710567a931d6d53be26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812015 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aparant777/Artificial-Intelligence-Modules",
"max_stars_repo_path": "Final/Path Optimization april 6 - Copy/Assets/Scripts/BestFirstSearch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131235"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BestFirstSearch : MonoBehaviour{
public int nodesVisited;
private int count;
public int tempCount;
public Stack<GameObject> BestFirstCompute ( GameObject start, GameObject goal ) {
Dictionary<GameObject,... | 2.520848 | 4cd703ae1b66cef171fe8399bcbb6ccb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812016 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "cheeseytoastie/UmbMembersFullTutorial",
"max_stars_repo_path": "Views/EditProfile.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131236"
} | starcoder | <filename>Views/EditProfile.cshtml
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage<ContentModels.EditProfile>
@using ContentModels = Umbraco.Web.PublishedContentModels;
@{
Layout = "Master.cshtml";
}<div id="main-container">
<div id="main" class="wrapper clearfix">
<section>
@(Model.Content.GetP... | 1.492657 | fe8dab0afdb2579de31cbd7e6a55e72a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812017 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "npocmaka/Windows-Server-2003",
"max_stars_repo_path": "com/netfx/src/framework/xml/system/newxml/xpath/xpathnavigator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131237"
} | starcoder | //------------------------------------------------------------------------------
// <copyright file="XPathNavigator.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
/******... | 2.024039 | 8749747378d089ffadc92ddef7f47d34 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.