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 | 8841012 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jsonkenl/energy.net",
"max_stars_repo_path": "Energy.Core/Employee.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160232"
} | starcoder | using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Energy.Core
{
public class Employee
{
public int EmployeeId { get; set; }
public string Title { get; set; }
public string Location { get; set; }
public bool Contract { g... | 2.423734 | 967685297aebe11ca983d10cee0b5c44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841013 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Matteo-Moriani/HellForOne",
"max_stars_repo_path": "project/Hell For One/Assets/Scripts/HordeSystem/HordeManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160233"
} | starcoder | <filename>project/Hell For One/Assets/Scripts/HordeSystem/HordeManager.cs
using System;
using System.Collections.Generic;
using UnityEngine;
namespace HordeSystem
{
public class HordeManager : MonoBehaviour
{
[SerializeField] private GameObject impPrefab;
private readonly List<HordeIm... | 2.947322 | 89c2a72d680cfbf881038c7b51fb68d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841014 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wdq/SensorSeed",
"max_stars_repo_path": "SensorSeed/HomeOutsideWeatherStation/Models/Home/HomeTenDayHistoryGraphDayModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160234"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using HomeOutsideWeatherStation.Models.Shared;
namespace HomeOutsideWeatherStation.Models.Home
{
public class HomeTenDayHistoryGraphDayModel
{
public DateTime Date { get; set; }
public double? TemperatureHigh ... | 2.622546 | d07cc89bc4e334f8f8b22ce13c19b15a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841015 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lee1761/3D-avatar",
"max_stars_repo_path": "3D chatbot/Assets/Voxon/SRC/Types/NativeTypes/VXVoxel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160235"
} | starcoder | <filename>3D chatbot/Assets/Voxon/SRC/Types/NativeTypes/VXVoxel.cs
using UnityEngine;
namespace Voxon
{
public class VXVoxel : IDrawable
{
VoxelView _voxelView;
public VXVoxel(Vector3 pos, Color32 col) : this(pos, col, null)
{
}
public VXVoxel(Vector3 pos, Color32 col... | 2.349172 | 054b0bc7547929af0b11ab24ea1dcbfa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841016 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Theo-Farnole/Ultimate-Automatic-Cheats-Menu",
"max_stars_repo_path": "Runtime/CheatsMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160236"
} | starcoder | <reponame>Theo-Farnole/Ultimate-Automatic-Cheats-Menu
namespace TF.CheatsGUI
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using TF.CheatsGUI.Utilities;
using UnityEngine;
using UnityEngine.InputSystem;
[AddComponentMenu("Cheats/CheatsMenu")]
internal class Chea... | 2.150266 | 5aebe38a65caddad1618d5de040dbb4e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841017 | {
"extension": "c-sharp",
"max_stars_count": "461.0",
"max_stars_repo_name": "RichLogan/unity-atoms",
"max_stars_repo_path": "Packages/MonoHooks/Runtime/Events/Collision2DGameObjectPairEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160237"
} | starcoder | using UnityEngine;
using UnityAtoms.MonoHooks;
namespace UnityAtoms.MonoHooks
{
/// <summary>
/// Event of type `Collision2DGameObjectPair`. Inherits from `AtomEvent<Collision2DGameObjectPair>`.
/// </summary>
[EditorIcon("atom-icon-cherry")]
[CreateAssetMenu(menuName = "Unity Atoms/Events/Co... | 1.921275 | 66373fcb47fbbf3c9b31b2b2de8189f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841018 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chengming0916/FileExplorer",
"max_stars_repo_path": "src/FileExplorer3/app/FileExplorer3/Models/IProfileCommands.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160238"
} | starcoder | <filename>src/FileExplorer3/app/FileExplorer3/Models/IProfileCommands.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FileExplorer.Script;
namespace FileExplorer.Models
{
/// <summary>
/// Implemented by IProfile for docume... | 2.507943 | 34b78526fcc6b0638bf569cb31e80719 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841019 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "pramilasoni/EcommerceBasicSetupStoreFront",
"max_stars_repo_path": "Views/Storefront/Catalog/ChildCategoryNavigation.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:160239"
} | starcoder | @*//-----------------------------------------------------------------------
// Copyright 2016 Sitecore Corporation A/S
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
// except in compliance with the License. You may obtain a copy of the License at
// http://www.apach... | 2.30485 | a1402128bd6c9054924299bfdd336fe1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841020 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "derigel23/resharper-xunit",
"max_stars_repo_path": "resharper/test/src/tests/AcceptanceTests/UnitTestTaskRunnerTestBase.9.2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160240"
} | starcoder | <reponame>derigel23/resharper-xunit
using System.Collections.Generic;
using System.IO;
using System.Threading;
using JetBrains.Metadata.Reader.API;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.TaskRunnerFramework;
using JetBrains.ReSharper.TestFramework.Components.UnitTestSupport;
using JetBrains.ReSharper.U... | 1.574371 | dcab614592ff6828eb260102d529577c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841021 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "Esri/puma",
"max_stars_repo_path": "PumaGrasshopper/RuleAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160241"
} | starcoder | <gh_stars>10-100
/**
* Puma - CityEngine Plugin for Rhinoceros
*
* See https://esri.github.io/cityengine/puma for documentation.
*
* Copyright (c) 2021 Esri R&D Center Zurich
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... | 2.318878 | f9d253a8b16cd77e6a5aee62ef189c47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841022 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BrightSoul/xamarin-sqlite-youtube",
"max_stars_repo_path": "XamarinApp1/XamarinApp1.Droid/Resources/Resource.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160242"
} | starcoder | #pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// Il codice è stato generato da uno strumento.
// Versione runtime:4.0.30319.34014
//
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e a... | 1.802696 | f994b2631b9db92923bfff6b7a85b2ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841023 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "jsdelivrbot/Web-Services-and-Cloud",
"max_stars_repo_path": "Exams/2015-Real-Estates/Solution/Web/Teleimot.Web.Api/Models/RealEstates/RealEstateDetailsResponseModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160243"
} | starcoder | namespace Teleimot.Web.Api.Models.RealEstates
{
using System;
using AutoMapper;
using Data.Models;
using Infrastructure.Mappings;
public class RealEstateDetailsResponseModel : ListedRealEstateResponseModel, IHaveCustomMappings
{
public DateTime CreatedOn { get; set; }
public i... | 2.143036 | ba3281777a23c2f7cdd22d850ee7219c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841024 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "chstein/sportdiary",
"max_stars_repo_path": "sources/Sporty/Models/AccountModels.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160244"
} | starcoder | <reponame>chstein/sportdiary
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Web.Security;
namespace Sporty.Models
{
public class UserProfile
{
public int UserId { get; set; }
public string UserName { get; se... | 2.340484 | 1c1640b4892f9433a95245508c1ee380 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841025 | {
"extension": "c-sharp",
"max_stars_count": "2320.0",
"max_stars_repo_name": "riezebosch/AutoFixture",
"max_stars_repo_path": "Src/TestTypeFoundation/GuardedConstructorHost.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160245"
} | starcoder | <gh_stars>1000+
using System;
namespace TestTypeFoundation
{
public class GuardedConstructorHost<T>
where T : class
{
public GuardedConstructorHost(T item)
{
if (item == null)
{
throw new ArgumentNullException(nameof(item));
}
... | 2.276162 | 6978e3f69ba2aaca90c603a1b9d21b6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841026 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Nenkai/GTEventGenerator",
"max_stars_repo_path": "GTEventGenerator2/NewWeatherDataSettingsWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160246"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows... | 2.47578 | 3c510ce7a6097428fc968a63ff443bee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841027 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "142-Bupa-Acibadem-FullStack-Bootcamp/week-5-assignment-1-nacarct",
"max_stars_repo_path": "Northwind.Dal/Concrete/EntityFramework/Repository/ProductRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160247"
} | starcoder | using System.Linq;
using Microsoft.EntityFrameworkCore;
using Northwind.Dal.Abstract;
using Northwind.Entity.Models;
namespace Northwind.Dal.Concrete.EntityFramework.Repository
{
public class ProductRepository : GenericRepository<Product>, IProductRepository
{
public ProductRepository(DbContext contex... | 2.244983 | 30e77e47597b9d56c387560a9572fafc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841028 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Marwa457/WebApplication1",
"max_stars_repo_path": "WebApplication1/Controllers/PersonnesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160248"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using WebApplication1.Models;
namespace WebApplication1.Controllers
{
public class PersonnesController : Controller
{
pr... | 2.075665 | 41d9c9b25ea38869b922ea07a54958c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841029 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "IEvangelist/apisof.net",
"max_stars_repo_path": "src/ApiCatalog/CatalogModel/ApiCatalogModel.Converter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160249"
} | starcoder | <reponame>IEvangelist/apisof.net<gh_stars>10-100
using System;
using System.Buffers.Binary;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dapper;
using Microsoft.Data.Sqlite;
namespa... | 2.180579 | d6caa3fdf1cc9fff94e6b57d7534b748 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841030 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "InstantBusinessNetwork/IBN",
"max_stars_repo_path": "Source/Server/Mediachase.Ibn.Configuration/Public/IConfigurationParameter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160250"
} | starcoder | <reponame>InstantBusinessNetwork/IBN
using System;
using System.Collections.Generic;
using System.Text;
namespace Mediachase.Ibn.Configuration
{
public interface IConfigurationParameter
{
string Name { get; }
string Value { get; }
string Type { get; }
}
}
| 1.300747 | cba9673bb537243a7be77523b6c3fe57 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841031 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "adbindal/LtiLibrary",
"max_stars_repo_path": "test/LtiLibrary.AspNetCore.Tests/Membership/MembershipClientShould.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160251"
} | starcoder | using System;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using LtiLibrary.AspNetCore.Tests.SimpleHelpers;
using LtiLibrary.NetCore.Clients;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Xunit;
namespace LtiLibrary.AspNetCore.Tests.Membershi... | 2.224368 | 739128e990469cbc47b5d9af790c14ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841032 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Wind010/Twine",
"max_stars_repo_path": "Build/MSBuild/Tasks/Src/CheckInFile/CheckInFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160252"
} | starcoder | //---------------------------------------------------------------------------------------------------------
// <copyright file="CheckInFile.cs" holder="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
// <summary>
// Check in specified file.
// </summary>
//-----------------------------... | 2.45533 | 839f34542b92fd6387968b35b639dbda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841033 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LaudateCorpus1/nosql-dotnet-sdk",
"max_stars_repo_path": "Oracle.NoSQL.SDK/src/DataModel/FieldValue.Operations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160253"
} | starcoder | /*-
* Copyright (c) 2020, 2022 Oracle and/or its affiliates. All rights reserved.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* https://oss.oracle.com/licenses/upl/
*/
namespace Oracle.NoSQL.SDK
{
using System;
public abstract partial class FieldValue
{
/// <summary... | 2.66472 | a2d226c77e00a2fc95a72ef1c4f7d3ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841034 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Alxandr/KRuntime",
"max_stars_repo_path": "src/Microsoft.Framework.Runtime/DesignTime/DesignTimeHostProjectReferenceProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160254"
} | starcoder | <filename>src/Microsoft.Framework.Runtime/DesignTime/DesignTimeHostProjectReferenceProvider.cs
using System;
using System.Collections.Generic;
using System.Runtime.Versioning;
namespace Microsoft.Framework.Runtime
{
public class DesignTimeHostProjectReferenceProvider : IProjectReferenceProvider
{
priv... | 1.915847 | 87b8b3af5521f6c1a0f7b24db7ea92dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841035 | {
"extension": "c-sharp",
"max_stars_count": "81.0",
"max_stars_repo_name": "endink/Thrifty",
"max_stars_repo_path": "src/Thrifty.Services/Codecs/Internal/Builtin/AbstractThriftCodec.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160255"
} | starcoder | <filename>src/Thrifty.Services/Codecs/Internal/Builtin/AbstractThriftCodec.cs
using Thrifty.Codecs.Metadata;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Thrift.Protocol;
namespace Thrifty.Codecs.Internal.Builtin
{
public abstract class AbstractThriftCodec... | 2.540682 | d09447b473786ed9c91b99465abad8a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841036 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-2021-PeriodEnd-ReportService",
"max_stars_repo_path": "src/ESFA.DC.PeriodEnd.ReportService.Reports.Data/AppsAdditionalPayments/Das/PaymentsDataProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160256"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Dapper;
using ESFA.DC.PeriodEnd.ReportService.Reports.Interface.AppsAdditionalPayments.DataProvider;
using ESFA.DC.PeriodEnd.ReportService.Reports.Interface.AppsAd... | 2.256866 | eb54331e0208669761261d2eed01d0fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841037 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PedroMR/cardboard-shoot",
"max_stars_repo_path": "Assets/Shoot/Config/Runtime/WavesData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160257"
} | starcoder | using UnityEngine;
using System.Collections;
///
/// !!! Machine generated code !!!
/// !!! DO NOT CHANGE Tabs to Spaces !!!
///
[System.Serializable]
public class WavesData
{
[SerializeField]
int _Wave;
public int Wave { get {return _Wave; } set { _Wave = value;} }
[SerializeField]
string[] _GroupIDs = new str... | 1.95093 | 5150791b283305e828aafcf33881abf1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841038 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andburn/hdt-lab",
"max_stars_repo_path": "endgame-archetypes/EndGameTests/Archetype/ArchetypeManagerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160258"
} | starcoder | <reponame>andburn/hdt-lab
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using HDT.Plugins.EndGame.Archetype;
using HDT.Plugins.EndGame.Enums;
using Hearthstone_Deck_Tracker.Enums;
using Hearthstone_Deck_Tracker.Stats;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ... | 2.299617 | f546614d625d676856fcf4658a351b9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841039 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "GlobalX/SbManager",
"max_stars_repo_path": "src/SbManager/CQRS/Commands/ICommandSender.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160259"
} | starcoder | namespace SbManager.CQRS.Commands
{
public interface ICommandSender
{
void Send<TCommand>(TCommand command) where TCommand : class, ICommand;
TResult SendWithResult<TCommand, TResult>(TCommand command) where TCommand : class, ICommand;
}
public interface ICommandHandlerBase { }
pub... | 2.259487 | 28dfcc2e1767095d8db7ab9a8a2c0277 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841040 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "davidbritch/dotnet-maui-samples",
"max_stars_repo_path": "Fundamentals/ResourceDictionaryDemo/ResourceDictionaryDemo/MainPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160260"
} | starcoder | namespace ResourceDictionaryDemo;
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
}
async void OnNavigateButtonClicked(object sender, EventArgs e)
{
await Navigation.PushAsync(new ListDataPage());
}
}
| 1.375519 | ddb10340290f2a0a6baee8f04ca0a523 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841041 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zlzforever/MetabaseEmbedding",
"max_stars_repo_path": "src/MetabaseEmbedding/IIFrameUrlGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160261"
} | starcoder | using System.Collections.Generic;
namespace MetabaseEmbedding
{
public interface IIFrameUrlGenerator
{
string Create(Payload payload, Dictionary<string, string> displayOptions = null);
/// <summary>
/// Generate a iframe url
/// </summary>
/// <param name="type"></param... | 2.075538 | 47c264780ef5f7fce10147732e4eba22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841042 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ISI-Extensions/ISI.Extensions",
"max_stars_repo_path": "src/ISI.Extensions.Aspose.Cells/Extensions/DocumentPropertiesExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160262"
} | starcoder | <reponame>ISI-Extensions/ISI.Extensions<gh_stars>0
#region Copyright & License
/*
Copyright (c) 2022, Integrated Solutions, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of so... | 2.01639 | 9b008c0e88de47c86262538d86ed3db5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841043 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wildmichael/rk45",
"max_stars_repo_path": "rk45/OdeNaive.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160263"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace rk45
{
public abstract class OdeNaive : OdeBase
{
public static IEnumerable<(double, double[])> Rk45(
Func<double, IEnumerable<double>, IEnumerable<double>> func,
double[] y0,
double t0,
... | 2.607504 | 062f83bce80931e49c77aa57185361c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841044 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iDudiHU/Bigger-Numbers",
"max_stars_repo_path": "Assets/Heureka/AssetHunterPRO/Editor/Scripts/AH_SerializedAssetInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160264"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
[System.Serializable]
public class AH_SerializableAssetInfo
{
public string ID;
/// <summary>
/// In 2.1.5 and older this property is a list of paths
/// </summary>
public List<string> Refs;
public AH_Serializable... | 2.075069 | 3fb782ec4df30330a2ef287aa56cb544 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841045 | {
"extension": "c-sharp",
"max_stars_count": "100.0",
"max_stars_repo_name": "kant2002/gir.core",
"max_stars_repo_path": "src/Generation/Generator/Extensions/ParameterListExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160265"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GirLoader;
using GirLoader.Output;
using Array = System.Array;
using String = GirLoader.Output.String;
namespace Generator
{
internal static class ParameterListExtension
{
public static IEnumerable<SingleParame... | 2.52571 | 5fbcf92c59727c37efa83d0864dd7ecd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841046 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tugberkugurlu/DNX",
"max_stars_repo_path": "src/Microsoft.Framework.Runtime/Loader/CompilationException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160266"
} | starcoder | <filename>src/Microsoft.Framework.Runtime/Loader/CompilationException.cs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
namespace Mi... | 2.057406 | c4d41eaa1d0ee893c78b6f43fa985642 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841047 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xtt129/LeetCode",
"max_stars_repo_path": "C#/TwoSum.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160267"
} | starcoder | <reponame>xtt129/LeetCode
public class Solution {
public int[] TwoSum(int[] nums, int target) {
if(null == nums || nums.Length == 0) return null;
Dictionary<int, int> dict = new Dictionary<int, int>();
for(int i = 0 ; i < nums.Length; ++i)
{
if(!dict.ContainsKey(target - ... | 3.030137 | 72729e4852089c7bc2e5cdaf51418175 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841048 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MagicalBottle/HbCrm",
"max_stars_repo_path": "src/Libraries/HbCrm.Data/EfRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160268"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using HbCrm.Core;
using HbCrm.Core.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.ChangeTracking;
namespace HbCrm.Data
{
publ... | 2.621759 | 843700fc8072c0fd837cf09abd77a4a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841049 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Cursoft-Development-Consultancy-NV/DotNetOpenMail-0.5.8b-src",
"max_stars_repo_path": "DotNetOpenMailTests/SmtpAuth/MockedSlowProxy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160269"
} | starcoder | using System;
using System.Net.Sockets;
using DotNetOpenMail;
using DotNetOpenMail.SmtpAuth;
namespace DotNetOpenMailTests.SmtpAuth
{
/// <summary>
/// Summary description for MockedSlowServer.
/// </summary>
public class MockedSlowProxy : MockedSmtpProxy
{
public MockedSlowProxy()
{
}
public override S... | 2.178551 | dafcd43eb711faedeaf23526b37addc9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841050 | {
"extension": "c-sharp",
"max_stars_count": "523.0",
"max_stars_repo_name": "fossabot/PropertyTools",
"max_stars_repo_path": "Source/Examples/PropertyGrid/UndoRedoDemo/UndoRedo/IUndoRedoAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160270"
} | starcoder | <gh_stars>100-1000
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IUndoRedoAction.cs" company="PropertyTools">
// Copyright (c) 2014 PropertyTools contributors
// </copyright>
// -----------------------------------------... | 1.247408 | 5daa34f1ba6b212967f2b88920550807 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841051 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "isse-augsburg/ssharp",
"max_stars_repo_path": "Source/SafetySharp/CompilerServices/StateMachineHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160271"
} | starcoder | // The MIT License (MIT)
//
// Copyright (c) 2014-2017, Institute for Software & Systems Engineering
//
// 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 wi... | 2.549764 | 398f7e2c84b2a29d0efab4f456da294b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841052 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "dapplo/Dapplo.Jira",
"max_stars_repo_path": "src/Dapplo.Jira/Entities/Transitions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160272"
} | starcoder | // Copyright (c) Dapplo and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Dapplo.Jira.Entities
{
/// <summary>
/// Transitions information
/// ... | 1.989697 | 02ab28bbe9c0b5e80e7e68ea01ff00e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841053 | {
"extension": "c-sharp",
"max_stars_count": "2445.0",
"max_stars_repo_name": "amrityam/omnisharp-vscode",
"max_stars_repo_path": "test/integrationTests/testAssets/slnWithCsproj/src/app/reference.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160273"
} | starcoder | using System;
namespace minimal
{
public class Foo
{
public void Baz() {}
}
public class Bar
{
public Bar()
{
new Foo().Baz();
}
}
} | 2.402635 | db467f3854b987afdee57cafb1f9ab75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841054 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "isap-team/namespace2xml",
"max_stars_repo_path": "src/Syntax/Parsers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160274"
} | starcoder | <reponame>isap-team/namespace2xml<gh_stars>1-10
using Sprache;
using System.Collections.Generic;
namespace Namespace2Xml.Syntax
{
public static class Parsers
{
public static Parser<IEnumerable<IProfileEntry>> GetProfile(int fileNumber, string fileName)
{
var nameChar = Parse.Char('... | 2.416732 | 39de60fb706a0263c90344178da6db17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841055 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alex-kulakov/dataobjects-net",
"max_stars_repo_path": "Orm/Xtensive.Orm/Orm/Transaction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160275"
} | starcoder | <filename>Orm/Xtensive.Orm/Orm/Transaction.cs
// Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: <NAME>
// Created: 2008.08.20
using System;
using System.Collections.Generic;
using System.Transactions;
using JetBrains.Anno... | 1.918155 | b059637208271287da726e6e5673d8e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841056 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "simplic/simplic-filestructure",
"max_stars_repo_path": "src/Simplic.FileStructure/Model/DirectoryTypeClassification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160276"
} | starcoder | <reponame>simplic/simplic-filestructure
using System;
namespace Simplic.FileStructure
{
/// <summary>
/// represents the different directory classifications a directory type can have
/// </summary>
public class DirectoryTypeClassification
{
/// <summary>
/// Gets or the sets the GU... | 2.341496 | 8187c47a5fa541ae789292ea711efb50 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841057 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jjhegedus/jaackd-reality",
"max_stars_repo_path": "jaackd-reality-oculus/Assets/MeshBaker/scripts/core/TextureCombiner/MB3_TextureCombinerNonTextureProperties.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160277"
} | starcoder | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
namespace DigitalOpus.MB.Core
{
public class MB3_TextureCombinerNonTextureProperties
{
public interface MaterialProperty
{
string PropertyName { get; set; }
... | 2.33362 | 7703f2d45fb1e0d299d45d81ab9a3497 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841058 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "DataJuggler/BlazorImageGallery",
"max_stars_repo_path": "Data/DataAccessComponent/DataManager/Writers/ArtistWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160278"
} | starcoder |
#region using statements
using DataAccessComponent.StoredProcedureManager.DeleteProcedures;
using DataAccessComponent.StoredProcedureManager.FetchProcedures;
using DataAccessComponent.StoredProcedureManager.InsertProcedures;
using DataAccessComponent.StoredProcedureManager.UpdateProcedures;
using ObjectLibrary.Busine... | 3.126783 | 20451bfdc5f6bce6fdd5081fe06320de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841059 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "microsoftgraph/universalprint-react-sample",
"max_stars_repo_path": "S2S Integration Samples/S2SIntegration_CreateGraphEntities/S2SIntegration_CreateGraphEntities/Helpers/TaskDefinitionHelper.cs",
"provenance": "train-00027-of-00045.j... | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using Microsoft.Graph;
using System.Threading.Tasks;
namespace S2SIntegration_CreateGraphEntities
{
public class TaskDefinitionHelper
{
private GraphSdkClient graphClient;
public TaskDefinitionHel... | 2.309246 | 8315ebcf4a2f16badf39785f527b7ea8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841060 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lleraromero/contractor-net",
"max_stars_repo_path": "Analysis.Cci/CciExpressionPrettyPrinter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160280"
} | starcoder | using CSharpSourceEmitter;
using Microsoft.Cci;
using SourceEmitter = CSharpSourceEmitter.SourceEmitter;
namespace Analysis.Cci
{
public class CciExpressionPrettyPrinter
{
public string PrintExpression(IExpression expression)
{
//TODO (lleraromero): CCI no se comporta bien con para... | 2.239317 | 5f0cc233ac8f51e0f90f041d32222808 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841061 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AlFasGD/AdventOfCSharp",
"max_stars_repo_path": "AdventOfCSharp.Analyzers.Tests/SecretStringProperties/CookiesTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160281"
} | starcoder | <reponame>AlFasGD/AdventOfCSharp<filename>AdventOfCSharp.Analyzers.Tests/SecretStringProperties/CookiesTests.cs
using Microsoft.CodeAnalysis;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AdventOfCSharp.Analyzers.Tests.SecretStringProperties;
[TestClass]
public sealed class CookiesTests : SecretStrin... | 1.7047 | b4c2d8b4e70ff0faddc7ae047a07d12c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841062 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ga-explorer/GMac",
"max_stars_repo_path": "GraphicsComposerLib/GraphicsComposerLib/SVG/Values/SvgValueNumbersList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160282"
} | starcoder | using System.Collections.Generic;
using System.Text;
namespace GraphicsComposerLib.SVG.Values
{
public class SvgValueNumbersList : SvgComputedValue
{
public static SvgValueNumbersList Create()
{
return new SvgValueNumbersList();
}
//public static SvgValueNumbersLis... | 2.972035 | 2afe553550d3ef6aecb6507f046d7ee4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841063 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "jansater/TypeLess",
"max_stars_repo_path": "TypeLess.Id/IIdSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160283"
} | starcoder | <reponame>jansater/TypeLess
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TypeLess.Id
{
class IIdSource
{
}
}
| 1.057494 | 8891eedf2d7e506eda596f28811bf600 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841064 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SilvinWillemsen/ModularPhysModVR",
"max_stars_repo_path": "Assets/Scripts/GetPresetList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160284"
} | starcoder | <reponame>SilvinWillemsen/ModularPhysModVR<filename>Assets/Scripts/GetPresetList.cs
using AOT;
using System;
using System.Runtime.InteropServices;
using UnityEngine;
public class GetPresetList : MonoBehaviour
{
// Use this for initialization
void OnEnable()
{
Debug.Log(getNumPresets());
fo... | 1.929427 | f02a0aecbc1776f748f34001d5c08e02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841065 | {
"extension": "c-sharp",
"max_stars_count": "122.0",
"max_stars_repo_name": "plunix/identityserverv2",
"max_stars_repo_path": "src/OnPremise/WebSite/Areas/Admin/ViewModels/OAuthRefreshTokenIndexViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160285"
} | starcoder | <reponame>plunix/identityserverv2<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web.Mvc;
using Thinktecture.IdentityServer.Models;
using Thinktecture.IdentityServer.Repositories;
namespace Thinktecture.IdentityServer.Web.... | 1.974375 | 544a555b7e839a760dbc52acb373724e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841066 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aliaslab-1984/Code.Scheduler",
"max_stars_repo_path": "src/Code.Scheduler.ClientUtils/Impl/PeriodicHttpRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160286"
} | starcoder | using Code.Scheduler.Service.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
namespace Code.Scheduler.ClientUtils.Impl
{
public class PeriodicHttpRequest : IPeriodicHttpRequest
{
protected TimeSp... | 2.664712 | 7bac79705652e3f711997cffc26d8bd3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841067 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bbigcd/codestore",
"max_stars_repo_path": "src/netcore/design patterns/CQRS1/Diary.CQRS/Events/ItemDescriptionChangedEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160287"
} | starcoder | using System;
namespace Diary.CQRS.Events
{
public class ItemDescriptionChangedEvent : Event
{
public string Description { get; internal set; }
public ItemDescriptionChangedEvent(Guid aggregateId, string description)
{
AggregateId = aggregateId;
Description = desc... | 2.205601 | ea12f4ae2704e44e43b93054993d41cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841068 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasinskib/Software_Engineering_2_ProjectGame",
"max_stars_repo_path": "src/PlayerTests/ConnectionMock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160288"
} | starcoder | <reponame>jasinskib/Software_Engineering_2_ProjectGame
using Common.Connection;
using System;
using Common.Connection.EventArg;
using System.Net.Sockets;
namespace PlayerTests
{
public class ConnectionMock : IConnection
{
public event EventHandler<ConnectEventArgs> OnConnection;
public event E... | 1.808682 | 9997aadfa0cd97b514fcfd8d22148c3b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841069 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "simonlaszcz/vd-view",
"max_stars_repo_path": "ViewDataViewer/Views/Shared/_KoViewDataView.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:160289"
} | starcoder | <table class="viewdata-view" data-bind="css: {revealed: IsRevealed, 'show-grid': ShowGrid, 'enable-flash': EnableFlash}">
<tbody>
<!-- ko if: ShowGrid -->
<tr class="viewdata-view-row">
<td></td>
<!-- ko foreach: _.range(1, Constants.MaxCols + 1, 1) -->
<td data-... | 2.081016 | c637646423f7dd07b9e39c6ad879b7ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841070 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yp-creative/yop-net-sdk",
"max_stars_repo_path": "SDK/enums/HttpMethodType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160290"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace SDK.enums
{
public enum HttpMethodType
{
GET,
POST
}
}
| 1.399847 | 2a271f78479b001a041e1a4148f30d58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841071 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "selcukkutuk/ADManager",
"max_stars_repo_path": "ADManager/Presentation/User/UserAdmin/AdminUye.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160291"
} | starcoder | namespace ADManager
{
partial class AdminUye
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param... | 1.967895 | fbe943c423b52e027eaafe62ab99481a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841072 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/das-apprenticeship-programs-api",
"max_stars_repo_path": "src/SFA.DAS.Apprenticeships.Api.Types/Providers/ProviderSearchResponseItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160292"
} | starcoder | <filename>src/SFA.DAS.Apprenticeships.Api.Types/Providers/ProviderSearchResponseItem.cs<gh_stars>0
using System.Collections.Generic;
namespace SFA.DAS.Apprenticeships.Api.Types.Providers
{
public class ProviderSearchResponseItem
{
public string Ukprn { get; set; }
public bool IsHigherEducatio... | 1.824983 | 963c57dc853cc39124ec8f81911a0da7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841073 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LostSoulfly/BifrostNext",
"max_stars_repo_path": "BifrostNext/BifrostLSF/Ciphers/IdentityCipher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160293"
} | starcoder | namespace BifrostNext.BifrostLSF.Ciphers
{
public class IdentityCipher : ICipher
{
public const ushort Identifier = 0;
public ushort CipherIdentifier { get { return Identifier; } }
public string HumanName { get { return "Identity(no encryption)"; } }
public byte[] Key { get; se... | 2.314185 | e49253d8d5eec785bb988805408257fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841074 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "alex-held/RemoteControlledProcess",
"max_stars_repo_path": "RemoteControlledProcess/ProcessOutputRecorderFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160294"
} | starcoder | namespace RemoteControlledProcess
{
internal class ProcessOutputRecorderFactory : IProcessOutputRecorderFactory
{
public IProcessOutputRecorder Create() => new ProcessOutputRecorder();
}
} | 1.703713 | 37364e7d74d021b22ed261d1d6c56988 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841075 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "luizfbicalho/Camunda.NET",
"max_stars_repo_path": "camunda-bpmn-model-net/src/main/java/org/camunda/bpm/model/bpmn/impl/instance/InterfaceImpl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160295"
} | starcoder | using System.Collections.Generic;
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under t... | 2.039155 | ded9f47d4f5de57a4f5aedf35c42e584 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841076 | {
"extension": "c-sharp",
"max_stars_count": "3266.0",
"max_stars_repo_name": "legistek/AspNetCore",
"max_stars_repo_path": "src/Middleware/SpaServices/samples/Webpack/Views/Shared/_Layout.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:160296"
} | starcoder | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>@ViewData["Title"]</title>
<environment names="Production">
<link rel="stylesheet" href="dist/my-styles.css" />
</environment>
</head>
<body>
@RenderBody()
@RenderSection("scripts", requ... | 1.898255 | 9db501c177b437345536d4ba2cd7d85a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841077 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ssinno28/GitTracker",
"max_stars_repo_path": "GitTracker/Interfaces/IGitRepo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160297"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Threading.Tasks;
using GitTracker.Models;
using LibGit2Sharp;
namespace GitTracker.Interfaces
{
public interface IGitRepo
{
IList<string> GetUnstagedItems();
IList<string> GetStagedItems();
string Commit(string message, stri... | 2.101697 | d597ddba28668252fc0c12479f1d062d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841078 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sabino/ShooterAttack",
"max_stars_repo_path": "ShooterAttack/PathFinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160298"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
namespace ShooterAttack
{
class PathFinder
{
private enum NodeStatus { Open, Closed };
private static Dictionary<Vector2, NodeStatus> nodeStatus = new Dictionary<Vector2, NodeStatus>();
private const ... | 2.712858 | c0e8c431fb81f71e7f3f63f1acd5c4f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841079 | {
"extension": "c-sharp",
"max_stars_count": "117.0",
"max_stars_repo_name": "alipay/alipay-sdk-net",
"max_stars_repo_path": "AlipaySDKNet/Domain/NotifyUserVo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160299"
} | starcoder | using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// NotifyUserVo Data Structure.
/// </summary>
[Serializable]
public class NotifyUserVo : AopObject
{
/// <summary>
/// 删除标志,已删除:deleted, 未删除:not_deleted
/// </summary>
... | 1.678198 | ea739fe8c694587601bf9e23a0666ff9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841080 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gaybro8777/ImageViewer",
"max_stars_repo_path": "ImageFramework/Model/SharedModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160300"
} | starcoder | <reponame>gaybro8777/ImageViewer<filename>ImageFramework/Model/SharedModel.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using ImageFramework.DirectX;
using ImageFramework.DirectX.Query;
using ImageFramewo... | 2.2173 | 87c4a3e53bf4db2eeb057cab60e5981c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841081 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sinjai/MCForge",
"max_stars_repo_path": "Commands/CmdLavaSurvival.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160301"
} | starcoder | <filename>Commands/CmdLavaSurvival.cs
/*
Copyright 2011 MCForge
Created by Techjar (<NAME>.)
Dual-licensed under the Educational Community License, Version 2.0 and
the GNU General Public License, Version 3 (the "Licenses"); you may
not use this file except in compliance with the Licenses. You may
obtain a ... | 2.191239 | 1dbd6849ccf480a15713d45bf93d446c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841082 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dev-vinicius-andrade/SnakeGame",
"max_stars_repo_path": "src/Domain/SnakeGame.Domain.Player/Directions/Left.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160302"
} | starcoder | using SnakeGame.Infrastructure.Enums;
using SnakeGame.Infrastructure.Interfaces;
namespace SnakeGame.Domain.Player.Directions
{
public class Left:IDirection
{
public Left()
{
Direction = DirectionsEnum.Left;
XSpeed = -1;
YSpeed = 0;
ZSpeed = 0;
... | 2.664176 | d74647f94fdc85030832c3696a30e71e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841083 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thfm/stone-and-ice",
"max_stars_repo_path": "Stone & Ice/Assets/Scripts/Obstacles/ObstacleMovement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160303"
} | starcoder | using UnityEngine;
public class ObstacleMovement : MonoBehaviour
{
public Vector3 motionOffset;
public float speed;
private Vector3 initialPosition;
void Start()
{
initialPosition = transform.position;
}
void FixedUpdate()
{
transform.position = Vector3.Slerp(
... | 2.250453 | e77a97c42558481c9889cecc0cb4d125 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841084 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "waughn/data-exchange-restful-provider",
"max_stars_repo_path": "5.0.0/src/DataExchange/Providers.RESTful/website/Extensions/PluginExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160304"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Sitecore.DataExchange;
namespace DataExchange.Providers.RESTful.Extensions
{
public static class PluginExtension
{
public static Dictionary<string, string> ConvertToTokenDictionary(this IPlugin plugin)
... | 2.623342 | cab40d7153378ad23cebc8fe4445bfea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841085 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "tamasvajk/SkyScanner",
"max_stars_repo_path": "src/SkyScanner/Data/AgentType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160305"
} | starcoder | <reponame>tamasvajk/SkyScanner
// Copyright (c) 2015-2016 <NAME>. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information.
namespace SkyScanner.Data
{
public enum AgentType
{
Airline,
TravelAgent
//todo what else can come here?
... | 1.138507 | c9f8b0500bf86d49999dd698074e0d05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841086 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hris91/C-Development-New",
"max_stars_repo_path": "C# OOP Advanced/Exercises/04.Reflection-Exercise/P07_InfernoInfinity/Core/Commands/Command.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160306"
} | starcoder | <reponame>Hris91/C-Development-New<filename>C# OOP Advanced/Exercises/04.Reflection-Exercise/P07_InfernoInfinity/Core/Commands/Command.cs
using System;
using System.Collections.Generic;
using P07_InfernoInfinity.Contracts;
namespace P07_InfernoInfinity.Core.Commands
{
public abstract class Command : ICommand
... | 2.212531 | 8a643e3e7eb94b2527a3809e0454db57 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841087 | {
"extension": "c-sharp",
"max_stars_count": "81.0",
"max_stars_repo_name": "rusuly/MySqlCdc",
"max_stars_repo_path": "src/MySqlCdc/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160307"
} | starcoder | using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("MySqlCdc.Tests")] | 0.588607 | 2abde16946310adca0c7599d4b6eb7cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841088 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HelioFlux/Heliosphere",
"max_stars_repo_path": "src/services/historian/HFX.Historian.API/IntegrationEvents/EventHandling/IHeliopauseEventTriggeredIntegrationEventHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160308"
} | starcoder | <filename>src/services/historian/HFX.Historian.API/IntegrationEvents/EventHandling/IHeliopauseEventTriggeredIntegrationEventHandler.cs
namespace HFX.Historian.API.IntegrationEvents.EventHandling
{
public interface IHeliopauseEventTriggeredIntegrationEventHandler
{
}
} | 1.220749 | 0e8ccc82dc6f38556f2dae1e6563de73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841089 | {
"extension": "c-sharp",
"max_stars_count": "79.0",
"max_stars_repo_name": "i-e-b/DiskQueue",
"max_stars_repo_path": "src/DiskQueue.Tests/MultipleProcessAccessTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160309"
} | starcoder | <filename>src/DiskQueue.Tests/MultipleProcessAccessTests.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Threading;
using NUnit.Framework;
// ReSharper disable PossibleNullReferenceException
namespace DiskQueue.Tests
{
[TestFixture]
public class MultipleProcessAccessTests
... | 2.821891 | b2cf3b8d0e2cb3e833e8d70a2ee58fe1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841090 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "messerli-informatik-ag/server-communication",
"max_stars_repo_path": "ServerCommunication/UnavailableResourceException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160310"
} | starcoder | <filename>ServerCommunication/UnavailableResourceException.cs<gh_stars>1-10
using System;
namespace Messerli.ServerCommunication
{
public class UnavailableResourceException : Exception
{
public UnavailableResourceException()
{
}
public UnavailableResourceException(st... | 2.485055 | 4ee85866bf9e513a3f335f586819f708 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841091 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "retosjalisco/mujeres-empoderadas",
"max_stars_repo_path": "MujeresEmpoderadas/Models/SMS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160311"
} | starcoder | /**
* Mujeres Empoderadas
*
* Desarrollado por Nicotina Estudio
* http://www.nicotinaestudio.com - <EMAIL>
*
* Creado por: <NAME>.
* Fecha de creación: 16/09/2016
**/
using System.ComponentModel.DataAnnotations;
namespace MujeresEmpoderadas.Models
{
public class SMS
{
[DataType(Data... | 2.06318 | 6e70cb3c2d326ea65e1844c133bed5d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841092 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "ndrwrbgs/service-fabric-client-dotnet",
"max_stars_repo_path": "src/Microsoft.ServiceFabric.Powershell.Http/Generated/GetClusterHealthChunkUsingPolicyAndAdvancedFiltersCmdlet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160312"
... | starcoder | <filename>src/Microsoft.ServiceFabric.Powershell.Http/Generated/GetClusterHealthChunkUsingPolicyAndAdvancedFiltersCmdlet.cs
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo ro... | 2.121558 | 1b7b637065aced7cf217f8f88ad03a7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841093 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bazile/Training",
"max_stars_repo_path": "Homework-Tests/ComplexNumber.Tests/ComplexNumberFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160313"
} | starcoder | <reponame>bazile/Training
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Reflection;
using NUnit.Framework;
namespace ComplexNumber.Tests
{
//
// Unit-тесты для класса Compl... | 2.872174 | 8dc68b101a37d5999cafa211ca85718a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841094 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "inku25253/Nico.net",
"max_stars_repo_path": "CookedCookie/BrowserType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160314"
} | starcoder | <filename>CookedCookie/BrowserType.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CookedCookie
{
public class BrowserType
{
public static readonly BrowserType Other = new BrowserType(null);
[Obsolete("IEは未対応!", true)]
public sta... | 2.58129 | 33288636bd00f46ea9848e6988d9bb05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841095 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Master109/open-brush",
"max_stars_repo_path": "Assets/New Assets/New Standard Assets/Scripts/Concepts/Circle2D.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160315"
} | starcoder | using System;
using UnityEngine;
using Extensions;
using System.Collections.Generic;
// using System.Drawing;
// using System.Drawing.Drawing2D;
[Serializable]
public struct Circle2D
{
public Vector2 center;
public float radius;
public float Diameter
{
get
{
return radius * 2;
}
set
{
radius = valu... | 2.791046 | e32180381c24965d9ac6678d0d0af3c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841096 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "ousttrue/UniVRM_1_0",
"max_stars_repo_path": "Assets/Vrm10/vrmlib/Runtime/Vrm/BlendShapePreset.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160316"
} | starcoder | namespace VrmLib
{
public enum BlendShapePreset
{
Custom,
Aa,
Ih,
Ou,
Ee,
Oh,
Blink,
Joy,
Angry,
Sorrow,
Fun,
LookUp,
LookDown,
LookLeft,
LookRight,
BlinkLeft,
... | 1.730619 | 7c7638a3a387a03762a1ee8e0a296b02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841097 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scubawhere/scubawhere-api-c-sharp-client",
"max_stars_repo_path": "src/IO.Swagger.Test/Api/CompanyApiTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160317"
} | starcoder | /*
* Scubawhere API Documentation
*
* This is the documentation for scubawhere's RMS API. This API is only to be used by authorized parties with valid auth tokens. [Learn about scubawhere](http://www.scubawhere.com) to become an authorized consumer of our API
*
* OpenAPI spec version: 1.0.0
* Contact: <EMAIL>
... | 1.909612 | 5ef207e0ec61f858058ea5bafcbfbe0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841098 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "vbilopav/CodeFirstConfig",
"max_stars_repo_path": "WebExample/Controllers/SampleClassController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160318"
} | starcoder | <reponame>vbilopav/CodeFirstConfig
using System;
using System.Web;
using System.Web.Http;
namespace WebExample.Controllers
{
public class SampleClassController : ApiController
{
// GET: api/SampleClass
public SampleClass Get()
{
var ret = SampleClassConfigManager.Config;
... | 1.672353 | baec2e96fc14066f3a352169d8530e7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841099 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pierre-galaup/globalgamejam2016",
"max_stars_repo_path": "Assets/End Clock/_makeYOURlevel_LITE/PREFAB_makeYOURlevel_LITE/6_scripts/uScriptProjectFiles/uScripts/_GeneratedCode/push.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1603... | starcoder | <filename>Assets/End Clock/_makeYOURlevel_LITE/PREFAB_makeYOURlevel_LITE/6_scripts/uScriptProjectFiles/uScripts/_GeneratedCode/push.cs
//uScript Generated Code - Build 1.0.3018
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
[NodePath("Graphs")]
[System.Serializable]
[FriendlyName("Untit... | 1.613228 | d758f46336932b1a629a8a2ac1a09a9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841100 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RunoLight/ProjectColoring",
"max_stars_repo_path": "Assets/PaintIn3D/InGame/Scripts/P3dPaintable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160320"
} | starcoder | using UnityEngine;
using UnityEngine.Events;
using System.Collections.Generic;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace PaintIn3D
{
/// <summary>This component marks the current GameObject as being paintable.
/// NOTE: This GameObject must has a MeshFilter + MeshRenderer, or a SkinnedMeshRenderer.
/// ... | 2.417598 | a0a1f11e413d1440998f5f4d06dd247b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841101 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Wscar/WebHis",
"max_stars_repo_path": "src/IdentityServer/Ymb.IdntityServer4/src/Ymb.IdntityServer4.Admin.EntityFramework.Shared/UnitOfWork.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160321"
} | starcoder | <reponame>Wscar/WebHis
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ymb.IdentityServer4.Admin.EntityFramework.Shared
{
public class UnitOfWork : IUnitOfWork<DbContext>
{
private readon... | 2.269681 | 08fde529ed99b118a7cdad11aae827da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841102 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SineSwiper/RimWorld-RimLoot",
"max_stars_repo_path": "Source/Classes/LootAffixModifier/ObjectChanger/LootAffixModifier_ToolsChange_ExtraDamage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160322"
} | starcoder | <reponame>SineSwiper/RimWorld-RimLoot<filename>Source/Classes/LootAffixModifier/ObjectChanger/LootAffixModifier_ToolsChange_ExtraDamage.cs
using HarmonyLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using RimWorld;
using UnityEngine;
using Verse;
namespace Ri... | 2.0408 | d73dee8e7b2b27cfcdc1a6240bfc720d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841103 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "evident-digital/evi-match-maker",
"max_stars_repo_path": "EviMatch/Application/Events/PlayerMatchedEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160323"
} | starcoder | <reponame>evident-digital/evi-match-maker<gh_stars>0
using Domain;
using MediatR;
namespace Application.Events
{
public class PlayerMatchedEvent : INotification
{
public PlayerMatchedEvent(Match match)
{
this.Match = match;
}
public Match Match { get; }
}
}
| 1.695221 | 80502754e270e9bd2651f1a6f0c62508 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841104 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "nataren/mono",
"max_stars_repo_path": "mcs/class/corlib/System.Diagnostics/DebuggerTypeProxyAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160324"
} | starcoder | <filename>mcs/class/corlib/System.Diagnostics/DebuggerTypeProxyAttribute.cs
//
// System.Diagnostics.DebuggerTypeProxyAttribute.cs
//
// Author:
// <NAME> (<EMAIL>)
//
//
// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of... | 1.901162 | b1e33948b6e30230ae8160e08669106d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841105 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Reality-Hack-2022/TEAM-44",
"max_stars_repo_path": "MagicLeapUnity/Assets/Samples/Magic Leap XR Plugin/6.4.1/MagicLeap Rendering Samples/Tests/StabilizationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160325"
} | starcoder | <filename>MagicLeapUnity/Assets/Samples/Magic Leap XR Plugin/6.4.1/MagicLeap Rendering Samples/Tests/StabilizationTests.cs
using System.Collections;
using UnityEngine;
using UnityEngine.TestTools;
using System;
using NUnit.Framework;
using NUnit.Framework.Interfaces;
using NUnit.Framework.Internal;
using UnityRandom =... | 2.212804 | 68a7cb4c20fea0afbfa50a98af000d4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841106 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tronsoft/TronAesCrypt",
"max_stars_repo_path": "TronAesCrypt.Main.Tests/AesCryptProcessRunner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160326"
} | starcoder | <gh_stars>0
using System;
namespace TronAesCrypt.Main.Tests
{
/// <summary>
/// Class to do some basic operations on AesCrypt.
/// </summary>
public static class AesCryptProcessRunner
{
public static bool CanEncrypt(string fileName, string outputFileName, string password) => CanCrypt(fileNa... | 2.671062 | d04188320a4562cb5d7a8a72037f72df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841107 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tgrymnak/watchdocker",
"max_stars_repo_path": "WatchDocker/WatchDocker/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160327"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using WatchDocker.Constants;
using WatchDocker.Models;
using WatchDocker.Utils;
namespace WatchDocker
{
class Program
{
static DockerCommands DockerCommands;
static Arguments Arguments;
static void Main(string[] args)
{
Arguments = ... | 2.699233 | 192803fe688f402e71e44e63158d6c76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841108 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Guillemsc/Barista",
"max_stars_repo_path": "Assets/Juce/Juce-Logic/Runtime/Nodes/Conditionals/IfNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160328"
} | starcoder | using Juce.Logic.Compiler;
using Juce.Logic.Graphs;
using Juce.Scripting;
using Juce.Scripting.Instructions;
using Juce.Logic.Attributes;
using System;
using XNode;
namespace Juce.Logic.Nodes
{
[LogicNode(
"If",
"Conditionals",
new Type[] { typeof(BaseLogicGraph) })
]
public cl... | 2.224316 | 0b5948310e97b1ab078fcb9fe6c1b6b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841109 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "htna/HCsbLib",
"max_stars_repo_path": "HCsbLib/HCsbLib/HTLib2.Bioinfo/Universe/Minimize/Universe.Minimize.ConjugateGradient.AtomwiseUpdate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160329"
} | starcoder | <filename>HCsbLib/HCsbLib/HTLib2.Bioinfo/Universe/Minimize/Universe.Minimize.ConjugateGradient.AtomwiseUpdate.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HTLib2.Bioinfo
{
public partial class Universe
{
public int Minimize_Conjugat... | 2.264057 | 97982444a4b42f173abfef451ebdc0f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841110 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cactooz/StarWarsMonogame",
"max_stars_repo_path": "StarWars/Cursor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160330"
} | starcoder | using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace StarWars
{
class Cursor:GameObject
{
//The current state of the cursor
private CursorState cursorState;
//Current and old state of the mouse
private MouseState mNewState;
private Mou... | 3.339634 | d865111c722f52a910f3d6b32d38a9cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841111 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "phillip-hopper/libpalaso",
"max_stars_repo_path": "BuildTaskTests/UpdateBuildTypeFileTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160331"
} | starcoder | using System;
using System.Text;
using NUnit.Framework;
using Palaso.BuildTasks.UpdateBuildTypeFile;
namespace Palaso.BuildTask.Tests
{
[TestFixture]
public class UpdateBuildTypeFileTests
{
[Test]
public void GetVersionTypes_AlphaBetaRcProduction_GetsAllFourTypes()
{
var buildTypeFileMaker = new UpdateBui... | 2.481939 | df1ac62ba76470d388ebe174e47a59cf |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.