added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1409 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MarkusMokler/photomsmsk-by",
"max_stars_repo_path": "PhotoMSK/Tests/PhotoMSK.UI.Tests/Extension/ExtensionDriver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1410"
} | starcoder | <gh_stars>1-10
using System.Linq;
using OpenQA.Selenium.Interactions;
using OpenQA.Selenium.Remote;
using PhotoMSK.Data;
namespace PhotoMSK.UI.Tests.Extension
{
public static class ExtensionDriver
{
#region HomeControllerTests
public static RemoteWebDriver ToPhotolab(this RemoteWebDriver drive... | 2.149244 | 7116ed2c35b88d02a2e7916ee8f4b17b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1410 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "GlobalcachingEU/GSAKWrapper",
"max_stars_repo_path": "GSAKWrapper/Dialogs/WindowShapeFileTest.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1411"
} | starcoder | using GSAKWrapper.Shapefiles;
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... | 2.343338 | db4300dc218a4b1ef34fcd00ad9bcedf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1411 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cdbuzzell/TheParkingLot",
"max_stars_repo_path": "src/TheParkingLot/Areas/Admin/Views/Courses/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:1412"
} | starcoder | <gh_stars>0
@inject IOptions<AppSettings> AppSettings
@{
ViewData["Title"] = "Courses";
}
blah blah | 1.215201 | 22c903e4f4939ea8b3ad132b424a5ada |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1412 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "voidstar69/softray",
"max_stars_repo_path": "Engine3D/Engine3D-Tests/Raytrace/RendererTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1413"
} | starcoder | <gh_stars>1-10
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Color = Engine3D.Color;
using GeometryCollection = Engine3D.Raytrace.GeometryCollection;
using Renderer = Engine3D.Renderer;
using Sphere = Engine3D.Raytrace.Spher... | 2.408081 | efdcfd46118dd738112cf1df0b1ae8e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1413 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mgdagpin/BlogNetCore",
"max_stars_repo_path": "Src/Arcturus.Infrastructure/Persistence/Configurations/User_Configuration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1414"
} | starcoder | <filename>Src/Arcturus.Infrastructure/Persistence/Configurations/User_Configuration.cs
using Arcturus.Domain;
using Arcturus.Domain.Entities;
using Microsoft.EntityFrameworkCore;
namespace Arcturus.Infrastructure.Persistence.Configurations
{
public partial class User_Configuration : BaseConfiguration<User>
{
... | 2.741835 | d8b0425cc553a0922d5f25609d5c6437 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1414 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mo-esmp/p2pcopy",
"max_stars_repo_path": "StunClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1415"
} | starcoder | <reponame>mo-esmp/p2pcopy<gh_stars>1-10
using System;
using System.Net.Sockets;
using System.Net;
using System.Text;
namespace p2pcopy
{
/// <summary>
/// This enum specifies STUN message type.
/// </summary>
internal enum StunMessageType
{
/// <summary>
/// STUN messa... | 2.258909 | 09ab53979abbcabad23f4d5a65d25c65 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1415 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rebell81/AvaRaspberry",
"max_stars_repo_path": "AvaCharts/MicrochartControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1416"
} | starcoder | <filename>AvaCharts/MicrochartControl.cs
using System;
using Avalonia.Controls;
using Avalonia.Media;
using Avalonia.Platform;
using Avalonia.Rendering.SceneGraph;
using Avalonia.Skia;
using SkiaSharp;
namespace Avalonia.Microcharts
{
public class MicrochartControl : Control
{
private CustomDrawingOper... | 2.566781 | e7c0ed42a6e5c4a3ac2eb4771d406365 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1416 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lntel/R6-Tools",
"max_stars_repo_path": "Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1417"
} | starcoder | namespace R6RS
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="d... | 1.894465 | 31e0f3fca3cf1963b8550e7a8f308ec1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1417 | {
"extension": "c-sharp",
"max_stars_count": "117.0",
"max_stars_repo_name": "txl0591/grpc",
"max_stars_repo_path": "src/csharp/Grpc.IntegrationTesting/Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1418"
} | starcoder | <gh_stars>100-1000
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: src/proto/grpc/testing/test.proto
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.R... | 1.439968 | f9f3fcfef542b451c26a7c30f30f6b7e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1418 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "multinerd/Maya",
"max_stars_repo_path": "Maya.Core/Reflection/Extensions/TypeExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1419"
} | starcoder | using JetBrains.Annotations;
using System;
using System.Reflection;
namespace Maya.Core.Reflection.Extensions
{
[UsedImplicitly(ImplicitUseTargetFlags.WithMembers)]
public static class TypeExtensions
{
public static Assembly GetAssembly(this Type type)
{
return type.GetTypeInfo... | 2.014409 | 6abf52a2eaf868e4dc451f66dcd89b85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1419 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ihtfw/LiteDbExplorer",
"max_stars_repo_path": "source/LiteDbExplorer/Controls/CollectionListView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1420"
} | starcoder | <filename>source/LiteDbExplorer/Controls/CollectionListView.xaml.cs<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Contro... | 2.235224 | aff1bae2252041b2bf1b37f970a91c9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1420 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yilmazanil/SFeed",
"max_stars_repo_path": "SFeed.SqlRepository/Implementation/ApplicationConfigurationRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1421"
} | starcoder | <reponame>yilmazanil/SFeed
using SFeed.Core.Models.Configuration;
using System.Collections.Generic;
using System.Linq;
namespace SFeed.SqlRepository.Implementation
{
public class ApplicationConfigurationRepository
{
public List<ConfigurationParameter> FetchConfiguration()
{
using (... | 2.366991 | 6fc0ba8e153bcc77cd0a967e5cccdee6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1421 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aurlaw/VueCore",
"max_stars_repo_path": "VueCore/Services/Security/PasswordHasher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1422"
} | starcoder | <reponame>aurlaw/VueCore
using VueCore.Models;
using Microsoft.AspNetCore.Cryptography.KeyDerivation;
using System.Security.Cryptography;
namespace VueCore.Services.Security
{
public class PasswordHasher : IPasswordHasher
{
public HashedPassword HashPassword(string password)
{
// Ge... | 2.561377 | cafc25463c3c3d4fa42fda4212c64177 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1422 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mika-f/SharpX",
"max_stars_repo_path": "Source/SharpX.Compiler.ShaderLab/Models/Shader/ShaderSourceContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1423"
} | starcoder | using System.Collections.Generic;
using SharpX.Compiler.Composition.Abstractions;
using SharpX.Compiler.Composition.Interfaces;
namespace SharpX.Compiler.ShaderLab.Models.Shader
{
internal class ShaderSourceContext : ISourceContext
{
public string Name { get; set; } = "SharpX.Placeholder";
p... | 2.369759 | 669abf5b8b24f924883465605c80075d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1423 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Scott-Caldwell/CSDiscord",
"max_stars_repo_path": "CSharpRepl/Controllers/ILController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1424"
} | starcoder | <reponame>Scott-Caldwell/CSDiscord<filename>CSharpRepl/Controllers/ILController.cs<gh_stars>10-100
//using Microsoft.ApplicationInsights;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using CSDiscordService.Eval... | 2.015987 | f0a12cfc79df156e2bd2538be0492545 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1424 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yamamoto2002/bitspersampleconv2",
"max_stars_repo_path": "WWMath/WWTimeDependentInverseFourierTransform.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1425"
} | starcoder | // 日本語。
using System;
using System.Collections.Generic;
namespace WWMath {
/// <summary>
/// Time Dependent Fourier Synthesis
/// Short-time Fourier Transform
/// </summary>
public class WWTimeDependentInverseFourierTransform {
private int mProcessBlockSize;
private int mPr... | 2.992361 | 8830f4958107675a2ffc321781f9e423 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1425 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "petrsnd/tetrad",
"max_stars_repo_path": "WPF/Board.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1426"
} | starcoder | 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 System.Windows.Navigati... | 2.435789 | 19e0146897e5359f87cbf7a600e64354 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1426 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheSevenDev/ESW---Projecto",
"max_stars_repo_path": "CIMOB_IPS/Views/Application/FileTest.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:1427"
} | starcoder | @model CIMOB_IPS.Models.ViewModels.FileViewModel
@{
ViewData["Title"] = "FileTest";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>FileTest</h2>
<h4>TestFile</h4>
<hr />
<div class="row">
<div class="col-md-4">
<form method="post" enctype="multipart/form-data" asp-controller="Application" asp-a... | 2.030024 | 48cf98e5cd4f9b826aedb0a1181867b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1427 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "demchuknick6/WebAlbum",
"max_stars_repo_path": "WebAlbum/WebAlbum.Web/Areas/Users/Models/SearchAlbumViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1428"
} | starcoder | <filename>WebAlbum/WebAlbum.Web/Areas/Users/Models/SearchAlbumViewModel.cs<gh_stars>0
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using WebAlbum.Web.Models.Photos;
namespace WebAlbum.Web.Areas.Users.Models
{
public class SearchAlbumViewModel
{
[... | 1.954592 | 7e1f3f7832c383c4385001c0d45ee014 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1428 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JiYangJi/QFramework",
"max_stars_repo_path": "Unity2020Test/Assets/QFramework/Framework/Plugins/Editor/PackageKit/PackageManager/Model/PackageManagerModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1429"
} | starcoder | using System.Collections.Generic;
using UnityEditor;
namespace QFramework
{
public interface IPackageManagerModel : IModel
{
List<PackageRepository> Repositories { get; set; }
}
class PackageManagerModel : AbstractModel, IPackageManagerModel
{
public PackageManagerModel()
{... | 2.119952 | 9708462c5f963b1dfa80b31589b9c09f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1429 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scidatasoft/osdr-core",
"max_stars_repo_path": "Sds.Osdr.WebPage/Domain/Commands/UpdateWebPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1430"
} | starcoder | <gh_stars>0
using MassTransit;
using System;
namespace Sds.Osdr.WebPage.Domain.Commands
{
public interface UpdateWebPage: CorrelatedBy<Guid>
{
Guid JsonBlobId { get; set; }
string Bucket { get; set; }
Guid Id { get; set; }
Guid UserId { get; set; }
}
}
| 0.896541 | 257b5bf949cb8c4f10067a23e629e935 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1430 | {
"extension": "c-sharp",
"max_stars_count": "116.0",
"max_stars_repo_name": "microserviceframe/Silky",
"max_stars_repo_path": "samples/microservices/account/Silky.Account.Application.Contracts/Accounts/Dtos/GetAccountOutput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1431"
} | starcoder |
using Silky.Caching;
namespace Silky.Account.Application.Contracts.Accounts.Dtos
{
[CacheName("GetAccountOutput")]
public class GetAccountOutput
{
/// <summary>
/// 账号Id
/// </summary>
public string Id { get; set; }
/// <summary>
/// 账号名称
/// </summ... | 2.081522 | c30e3a296481a86ab92fe20a13a75d1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1431 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ThomasGoetzmann/MoulinTDD",
"max_stars_repo_path": "source/MoulinTDD/MoulinTDD/Player.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1432"
} | starcoder | <filename>source/MoulinTDD/MoulinTDD/Player.cs
namespace MoulinTDD
{
public class Player : IPlayer
{
public Color Color { get; set; }
public string Name { get; set; }
}
}
| 2.069278 | 964c26c112863c2d190eb47fca51c00a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1432 | {
"extension": "c-sharp",
"max_stars_count": "65.0",
"max_stars_repo_name": "SynHub/syn-speech",
"max_stars_repo_path": "Syn.Speech/Decoder/Search/SimpleBreadthFirstSearchManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1433"
} | starcoder | <reponame>SynHub/syn-speech
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using Syn.Speech.Common.FrontEnd;
using Syn.Speech.Decoder.Pruner;
using Syn.Speech.Decoder.Scorer;
using Syn.Speech.Helper;
using Syn.Speech.Linguist;
using Syn.Speech.Results;
using Syn.Speech.Util;... | 2.141742 | 71677bdf1e5105f85b17b4b0a2a57756 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abadillo/bases-uno",
"max_stars_repo_path": "bases-uno/bases-uno/Reports/DataSets/DataSet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1434"
} | starcoder | namespace bases_uno.Reports.DataSets
{
partial class DataSet
{
partial class lugarDataTable
{
}
}
}
namespace bases_uno.Reports.DataSets.DataSetTableAdapters
{
partial class interesTableAdapter
{
}
public partial class lugarTableAdapter {
}
}
| 1.300711 | 3f321dc816bdf5886d1a2d74364d2039 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1434 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pdubb29/GitDepend",
"max_stars_repo_path": "GitDepend/CommandLine/AddSubOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1435"
} | starcoder | <reponame>pdubb29/GitDepend
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CommandLine;
namespace GitDepend.CommandLine
{
/// <summary>
/// SubOptions for the Add class.
/// </summary>
public class AddSubOptions : CommonSubOpti... | 2.243103 | b612655633cdebcc74ef97a67e793251 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1435 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jona8690/DataSearchEngine",
"max_stars_repo_path": "LogReader/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1436"
} | starcoder | <filename>LogReader/Program.cs
using System;
using System.Threading.Tasks;
using EasyNetQ;
using Common.Logger;
using System.Threading;
namespace LogReader {
public class Program {
private IBus bus;
private ManualResetEvent _resetEvent = new ManualResetEvent(false);
public static void Main(string[] args) {
... | 2.839209 | 9290f319c67ac99d8b6a6d4f14b8e9d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1436 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sgryphon/JsonApiDotNetCore",
"max_stars_repo_path": "test/UnitTests/Serialization/Client/RequestSerializerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1437"
} | starcoder | <reponame>sgryphon/JsonApiDotNetCore
using System.Collections.Generic;
using System.Text.RegularExpressions;
using JsonApiDotNetCore.Resources;
using JsonApiDotNetCore.Serialization.Building;
using JsonApiDotNetCore.Serialization.Client.Internal;
using UnitTests.TestModels;
using Xunit;
namespace UnitTests.Serializati... | 1.860908 | 26df5a10a87eb852ce2c30d1f1e4964f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1437 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "goverdovskiy/configuration",
"max_stars_repo_path": "Vostok.Configuration/ObservableBinding/IObservableBinder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1438"
} | starcoder | using System;
using Vostok.Configuration.Abstractions.SettingsTree;
using Vostok.Configuration.Cache;
namespace Vostok.Configuration.ObservableBinding
{
internal interface IObservableBinder
{
IObservable<(TSettings settings, Exception error)> SelectBound<TSettings>(IObservable<(ISettingsNode settings, ... | 1.541719 | a1113a4887edfcdd29fb1ac74ad5906d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1438 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LagoVista/ISY",
"max_stars_repo_path": "src/LagoVista.ISY994i.Core/Models/Device.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1439"
} | starcoder | using LagoVista.Core.Commanding;
using LagoVista.Core.Models;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using LagoVista.ISY994i.Core.Resources;
using LagoVista.ISY994i.Core.Services;
namespace LagoVista.ISY994i.Core.Models
{
[DataContract]
public cl... | 1.767442 | 6248930bccceafea242f5eee177c1976 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1439 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yjj-life/AccessProvider",
"max_stars_repo_path": "src/Provider/Interface/Implemention/JoinTableQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1440"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using Provider.Error;
using Provider.Sql;
using Provider.Schema;
namespace Provider.Interface.Implemention
{
internal class JoinTableQuery<TTab... | 2.409258 | 470129c28a81cf77b4331349ecbfd3e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1440 | {
"extension": "c-sharp",
"max_stars_count": "5380.0",
"max_stars_repo_name": "zcsizmadia/graphql-dotnet",
"max_stars_repo_path": "src/GraphQL/Language/AST/NameNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1441"
} | starcoder | using System;
using System.Collections.Generic;
namespace GraphQL.Language.AST
{
/// <summary>
/// Represents a name within a document. This could be the name of a field, type, argument, directive, alias, etc.
/// </summary>
public readonly struct NameNode : INode
{
/// <summary>
//... | 2.83058 | 81a8c1c9ccb53b762f7bb3e20327bbb9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1441 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NHSChoices/nhs111-online",
"max_stars_repo_path": "NHS111/NHS111.Business.ITKDispatcher.Api/Mappings/FromItkDispatchRequestToSubmitEncounterToServiceRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1442"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using AutoMapper;
using NHS111.Business.ITKDispatcher.Api.ITKDispatcherSOAPService;
using NHS111.Models.Models.Web.ITK;
namespace NHS111.Business.ITKDispatcher.Api.Mappings
{
public class FromItkDispatchRequestToSubmitEncounterTo... | 1.939789 | 8bcb9a9fab61702a4bff20a0efe7c382 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1442 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "ViRGIS-Team/ViRGiS_v2",
"max_stars_repo_path": "Runtime/Scripts/Basic Types/MeshlayerPrototype.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1443"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
using Project;
using g3;
using System;
using UniRx;
namespace Virgis
{
public abstract class MeshlayerProtoype : VirgisLayer<RecordSet, List<DMesh3>>
{
// The prefab for the data points to be instantiated
public GameObject Mesh;
pub... | 1.934613 | 68deeebb5de42a997a943520cc506706 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1443 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dhchenx/ICD11-CAC",
"max_stars_repo_path": "ICD-11-coding-tool-using-api/SimpleICD11CodingTool/SimpleICD11CodingTool/MainForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1444"
} | starcoder | namespace ICD11CodingTool
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.179612 | e9768695ef590f5d715234130b184f48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1444 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SNBnani/Xian",
"max_stars_repo_path": "Ris/Application/Services/PatientNoteAssembler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1445"
} | starcoder | #region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using System.Collections.Generic;
using ClearCan... | 2.042411 | 1b5c7fe9c4e92295c3dfe5f4655ea3f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1445 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "microsoft/CognitiveServicesLanguageUtilities",
"max_stars_repo_path": "CustomTextAnalytics.CognitiveSearch/Solution/IndexingCliTool/Tests/CognitiveSearchIntegration.Tests/Validations/CustomSkillsetValidationTest.cs",
"provenance": "tr... | starcoder | using CognitiveSearchIntegration.Runners.Models.ConfigsModel;
using CognitiveSearchIntegration.Runners.Services.Validation.ConfigsValidation;
using CognitiveSearchIntegration.Tests.Configs;
using Microsoft.CognitiveSearchIntegration.Definitions.Models;
using System;
using System.Threading.Tasks;
using Xunit;
namespac... | 1.730244 | 333db19754dd1fa1813509275cf8ada4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1446 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "matiias/MVC",
"max_stars_repo_path": "OData/test/System.Web.OData.Test/OData/Batch/ODataBatchResponseItemTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1447"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System.IO;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Web.OData.Batch;
using System.Web.OData.Formatter;
using M... | 1.933381 | da42bb0f743d6f8a668fbd7e787d2890 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1447 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "urothis/Anvil",
"max_stars_repo_path": "NWN.Anvil/src/main/API/Nui/Widgets/NuiTextEdit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1448"
} | starcoder | <gh_stars>1-10
using Newtonsoft.Json;
namespace Anvil.API
{
/// <summary>
/// An editable text field. Can be optionally configured as multi-line.
/// </summary>
public sealed class NuiTextEdit : NuiWidget
{
[JsonConstructor]
public NuiTextEdit(NuiProperty<string> label, NuiProperty<string> value, ush... | 2.461062 | 3e5a9cd8b6cae498e5847932450d6dbe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1448 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "tortis/CodeWithFriends-Spring2020",
"max_stars_repo_path": "projects/hnguye24/LetsStayConsistent/Models/GoalLog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1449"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace LetsStayConsistent.Models
{
public class GoalLog
{
[Display(Name = "Log's id")]
public int Id { get; set; }
[Display(Name = "Date logged")]
... | 2.342645 | 91c593371263cd048d622392f4e0a645 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1449 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bmwalters/Play",
"max_stars_repo_path": "UltraStar Play/Assets/Common/Model/Setting/SongEditorSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1450"
} | starcoder | <reponame>bmwalters/Play
using System;
[Serializable]
public class SongEditorSettings
{
// Recording in SongEditorScene
public ESongEditorRecordingSource RecordingSource { get; set; }
public int MicOctaveOffset { get; set; }
public int MicDelayInMillis { get; set; } = 450;
public int MidiNoteForBut... | 1.527852 | c57e695154caf72684dd73f18b11285d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1450 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "asxuen/Nexus",
"max_stars_repo_path": "Developer/Models/FilesViewModels/DeleteFileViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1451"
} | starcoder | using Aiursoft.Pylon.Models.Developer;
using Aiursoft.Developer.Models.AppsViewModels;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Aiursoft.Developer.Models.FilesViewModels
{
public class DeleteFileViewMode... | 1.815083 | f32099e6e70b27ba61120dd12137fe3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1451 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "lisearcheleeds/VariableInventorySystem",
"max_stars_repo_path": "Unity/Assets/VariableInventorySystem/Standard/IStandardCaseCellData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1452"
} | starcoder | <filename>Unity/Assets/VariableInventorySystem/Standard/IStandardCaseCellData.cs
namespace VariableInventorySystem
{
public interface IStandardCaseCellData : IVariableInventoryCellData
{
StandardCaseViewData CaseData { get; }
}
}
| 1.698193 | ac80ffeb53484cd90c98c174bd447a21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1452 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NaskoVasilev/Databases-Advanced-EntityFramework-Core",
"max_stars_repo_path": "Retake Exam - 05.01.2018/Pet Clinic/PetClinic/DataProcessor/Dtos/Import/AnimalAidDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1453"
} | starcoder | <reponame>NaskoVasilev/Databases-Advanced-EntityFramework-Core<filename>Retake Exam - 05.01.2018/Pet Clinic/PetClinic/DataProcessor/Dtos/Import/AnimalAidDto.cs
using System.ComponentModel.DataAnnotations;
using System.Xml.Serialization;
namespace PetClinic.DataProcessor.Dtos.Import
{
[XmlType("AnimalAid")]
pu... | 1.946837 | 50747d0d6c50b2cd980bd341e0a22177 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1453 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "miguelcjalmeida/MnB2-Bannerlord-CommunityPatch",
"max_stars_repo_path": "src/CommunityPatch/Patches/Perks/Cunning/Scouting/HealthyScoutPatch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1454"
} | starcoder | <reponame>miguelcjalmeida/MnB2-Bannerlord-CommunityPatch<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.CompilerServices;
using HarmonyLib;
using Helpers;
using TaleWorlds.CampaignSystem;
using TaleWorlds.CampaignSystem.SandBox.GameComponents;
using TaleWorld... | 2.116646 | bcef03d5ae8ff9f4df5fb868b6b6445c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1454 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "dellis1972/LibZipSharp",
"max_stars_repo_path": "ExtraField_InfoZipUnixType2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1455"
} | starcoder | <filename>ExtraField_InfoZipUnixType2.cs
//
// ExtraField_InfoZipUnixType2.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2016 Xamarin, Inc (http://xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the... | 2.115978 | d9ca9263063858a6c9f85526d5d9e2f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1455 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mmmrbm/MovieDbAppByM",
"max_stars_repo_path": "MovieDbAppByM/Persistance/UnitOfWork/IUnitOfWork.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1456"
} | starcoder | <gh_stars>0
using System.Threading.Tasks;
namespace MovieDbAppByM.Persistance.UnitOfWork
{
/// <summary>
/// Unit of work contract.
/// </summary>
public interface IUnitOfWork
{
void Complete();
}
}
| 1.656938 | 4a82c9025bcb733f2d6d725d4b3ab418 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1456 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "envyvox/Hinode.Izumi",
"max_stars_repo_path": "Hinode.Izumi.Commands/UserCommands/MarketCommands/MarketBuyCommands/MarketDirectBuyCommand/MarketDirectBuyCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1457"
} | starcoder | using System;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Hinode.Izumi.Data.Enums;
using Hinode.Izumi.Data.Enums.AchievementEnums;
using Hinode.Izumi.Data.Enums.MessageEnums;
using Hinode.Izumi.Framework.Autofac;
using Hinode.Izumi.Services.DiscordServices.DiscordEmbedService.Commands;
u... | 2.090775 | ee83339506b226918d7b52cc1c072f75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1457 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mwwhited/PlaygroundGames",
"max_stars_repo_path": "src/xna/ZuneTest1/wingame/GameState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1458"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace PongWin
{
public enum GameState
{
SplashScreen,
TitleScreen,
MainMenu,
SettingsMenu,
ScalingScreen,
Running,
Paused,
ExitScreen,
GameOver
}
}
| 1.017035 | cf27cae159c780b95ae10b7556fdc5da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1458 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "clinia/marten",
"max_stars_repo_path": "src/Marten/IQuerySession.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1459"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Marten.Linq;
using Marten.Schema;
using Marten.Services.BatchQuerying;
using Marten.Storage;
using Marten.Storage.Metadata;
using Npgsql;
#nullable enable
namespace Marten
{
public interface IQuerySession: ID... | 2.25888 | 2e5bf6e2e868dd8efd8cab266a2724a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1459 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "Maghoumi/CarveSharp",
"max_stars_repo_path": "Examples/Window.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1460"
} | starcoder | using CodeFull.Graphics3D;
using System;
using System.Windows.Forms;
namespace CodeFull.CarveSharp.Examples
{
public partial class Window : Form
{
public Window()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
/... | 2.71083 | d83227f5b8e8bb67eac96e66810e8644 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1460 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "clavery/sfcc-tools",
"max_stars_repo_path": "src/SFCCTools.Core/Cartridges/Cartridge.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1461"
} | starcoder | using System.IO;
namespace SFCCTools.Core.Cartridges
{
public class Cartridge
{
public string Name { get; set; }
public string Path { get; set; }
}
} | 1.878218 | c1ad3bc7419e019b37d56a8696dfbec1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1461 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "wizcas/TinyBehaviourTree",
"max_stars_repo_path": "Assets/BehaviourTree/Editor/SelectorUnitTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1462"
} | starcoder | <filename>Assets/BehaviourTree/Editor/SelectorUnitTests.cs
/*****************************************************
/* Created by <NAME> (http://wizcas.me)
/* Please contact me if you have any question
/* E-mail: <EMAIL>
/* 2017 © All copyrights reserved by <NAME>
*****************************************************/
... | 2.248178 | eac8ac22b6813ea79958b6257f10f35f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1462 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MKenin/rmku",
"max_stars_repo_path": "test/Sandbox/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1463"
} | starcoder | using System;
using System.Threading.Tasks;
using rmku;
namespace Sandbox
{
class Program
{
static async Task Main(string[] args)
{
var connection = new Connection("localhost");
await connection.Open();
Console.WriteLine("Estabilished connection");
Console.WriteLine("Finished");
}
}
}
| 2.483384 | 177fd2606761b1f5bcd5ace367728afe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1463 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mattleibow/TicTacToe-Workshops",
"max_stars_repo_path": "TicTacToe/TicTacToe/Models/GameState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1464"
} | starcoder | <filename>TicTacToe/TicTacToe/Models/GameState.cs
namespace TicTacToe
{
public enum GameState
{
NotStarted,
InProgress,
GameOver
}
}
| 1.638034 | fc781b2095fc2a9e7f64ace10f82408c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1464 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Impertatore/trados-studio-api-samples",
"max_stars_repo_path": "Verification/Sdl.Verification.Sdk.IdenticalCheck.Extended/GUI/IdenticalVerifierUI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1465"
} | starcoder | <filename>Verification/Sdl.Verification.Sdk.IdenticalCheck.Extended/GUI/IdenticalVerifierUI.cs<gh_stars>0
using System.Windows.Forms;
namespace Sdl.Verification.Sdk.IdenticalCheck.Extended
{
public partial class IdenticalVerifierUI : UserControl
{
#region "text field control"
/// <summa... | 2.351286 | b07bf64733621974e05a072606c1ebe7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1465 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "memucho/webapp",
"max_stars_repo_path": "src/TrueOrFalse/Domain/Message/Ops/MessageUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1466"
} | starcoder | <filename>src/TrueOrFalse/Domain/Message/Ops/MessageUtils.cs
using System;
public class MessageUtils
{
public static User LoadUser(int receiverId)
{
var user = Sl.R<UserRepo>().GetById(receiverId);
if (user == null)
throw new Exception("user '" + receiverId + "' not found");
... | 2.19974 | 26cb060ee76418428338a90e0a45c208 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1466 | {
"extension": "c-sharp",
"max_stars_count": "213.0",
"max_stars_repo_name": "legistek/AspNetCore",
"max_stars_repo_path": "src/Middleware/Diagnostics/src/DeveloperExceptionPage/Views/CompilationErrorPage.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:1467"
} | starcoder | <filename>src/Middleware/Diagnostics/src/DeveloperExceptionPage/Views/CompilationErrorPage.cshtml
@using System
@using System.Globalization
@using System.Linq
@using System.Net
@using Microsoft.AspNetCore.Diagnostics
@using Microsoft.AspNetCore.Diagnostics.RazorViews
@functions
{
public CompilationErrorPageModel M... | 2.092422 | 3d68f8eb768c0f2b8e50f0ac8b970498 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1467 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dafei2015/UnityExcel2JsonGenCSharper",
"max_stars_repo_path": "GetFile.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1468"
} | starcoder | namespace Xamasoft.JsonClassGenerator.UI
{
partial class GetFile
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary... | 1.947466 | a5240c17f3e08b60cda4300f474bc1ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1468 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "niello/deusexmachina",
"max_stars_repo_path": "Tools/CreatorIDE/CreatorIDE/EngineAPI/Entities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1469"
} | starcoder | <gh_stars>10-100
using System.Text;
using System.Runtime.InteropServices;
namespace CreatorIDE.EngineAPI
{
public static class Entities
{
[DllImport(Engine.DllName, EntryPoint = "Entities_GetCount")]
public static extern int GetCount();
[DllImport(Engine.DllName, EntryPoint = "Entitie... | 2.031644 | 2d2f0a50d22f5b9f7d56fc1faa907340 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1469 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "HirenBodhi/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK",
"max_stars_repo_path": "External Libs/net-ipfs-http-client-master/src/CoreApi/SwarmApi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1470"
} | starcoder | <gh_stars>10-100
using Common.Logging;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Ipfs.CoreApi;
namespace Ipfs.Http
{
class SwarmApi : ISwarmA... | 2.292067 | b574d154f4692a622434d55c3a393108 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1470 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Aspose/Aspose.Cells-for-.NET",
"max_stars_repo_path": "Examples/CSharp/Articles/SetBackgroundPicture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1471"
} | starcoder | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.CSharp.Articles
{
public class SetBackgroundPicture
{
public static void Run()
{
// ExStart:1
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir(S... | 3.251946 | 699498062edde6e63f5e4fa631da41a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1471 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "theMickster/contoso-university-razor-pages",
"max_stars_repo_path": "src/ContosoUniversity.Web/Pages/Departments/Edit.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:1472"
} | starcoder | @page "{id}"
@model ContosoUniversity.Web.Pages.Departments.EditModel
@{
ViewData["Title"] = "Edit";
}
<h2>Edit</h2>
<h4>Department</h4>
<hr />
<div class="row">
<div class="col-md-4">
<form method="post">
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
<i... | 2.069731 | 10fe5be86ca9f100508a8caa261ba12b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1472 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cfo82/Magmageddon",
"max_stars_repo_path": "src/ProjectMagma/ProjectMagma/Simulation/Properties/Player/Input/RandomInputProperty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1473"
} | starcoder | <reponame>cfo82/Magmageddon
using System;
using ProjectMagma.Framework;
namespace ProjectMagma.Simulation
{
public class RandomInputProperty : InputProperty
{
private RandomControllerInput controllerInput = new RandomControllerInput();
override internal ControllerInput ControllerIn... | 2.480322 | 699e563258697ad4e868f08bbd2980a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1473 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bruce979527682/Finance",
"max_stars_repo_path": "Finance/obj/Debug/netcoreapp2.2/Razor/Views/Account/Register.g.cshtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1474"
} | starcoder | <reponame>Bruce979527682/Finance
#pragma checksum "C:\Users\Bruce\Desktop\Finance\Finance\Views\Account\Register.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "bc661b5ffb210f81614139831c91748f0ad5a413"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompil... | 1.71648 | 39714cc098ce5afd2697634adffad7f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1474 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danxmc/T05_F1",
"max_stars_repo_path": "Assets/Scripts/SpawnObjects.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1475"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnObjects : MonoBehaviour {
public GameObject blockPrefab;
public Transform player;
public Vector3 center;
public Vector3 size;
// Use this for initialization
void Start () {
for (int i = 0; i ... | 2.387841 | f5dd39c8c3b7448edc031523b177e340 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1475 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kmate95/iot",
"max_stars_repo_path": "src/devices/Pca95x4/samples/Pca95x4.Sample.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1476"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Device.Gpio;
using System.Device.I2c;
using System.Device.I2c.Drivers;
using System.Thre... | 2.453769 | eb8da22549efade8d83b3eafc714623b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1476 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tlarsen7572/RootCauseTree",
"max_stars_repo_path": "RootCauseTreeTests/SequentialIdTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1477"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using com.PorcupineSupernova.RootCauseTreeCore;
namespace com.PorcupineSupernova.RootCauseTreeTests
{
[TestClass]
public class SequentialIdTests
{
[TestMethod]
public void TestSequentiality()
{
long[] ids = new long[10... | 2.305686 | a107e1b3eea3ca7d05c62bb89f2d2a4b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1477 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "roybalderama/mongo-csharp-driver",
"max_stars_repo_path": "src/MongoDB.Driver.Core/Core/Misc/Feature.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1478"
} | starcoder | <gh_stars>0
/* Copyright 2016-present MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 1.118336 | 8bad1a8b402e754360eb7c136422f13b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1478 | {
"extension": "c-sharp",
"max_stars_count": "541.0",
"max_stars_repo_name": "endolith/ExcelMerge",
"max_stars_repo_path": "ExcelMerge.GUI/Behaviors/DragAcceptBehavior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1479"
} | starcoder | using System.Windows;
using System.Windows.Interactivity;
namespace ExcelMerge.GUI.Behaviors
{
public sealed class DragAcceptBehavior : Behavior<FrameworkElement>
{
public DragAcceptDescription Description
{
get { return (DragAcceptDescription)GetValue(DescriptionProperty); }
... | 2.311671 | 210b63f42b84776a2de5ced213323173 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1479 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pleb/TeeSquare",
"max_stars_repo_path": "src/TeeSquare.Tests/TypeScriptWriterTest/TypeScriptWriterTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1480"
} | starcoder | using System;
using System.IO;
using BlurkCompare;
using NUnit.Framework;
using TeeSquare.Reflection;
using TeeSquare.TypeMetadata;
using TeeSquare.Writers;
namespace TeeSquare.Tests.TypeScriptWriterTest
{
[TestFixture]
public class TypeScriptWriterTests
{
[Test]
public void WriteInterface... | 2.552755 | 6e88e5a87bb698d7ce6f48ca327bb33d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1480 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ausarb/testcontainers-dotnet",
"max_stars_repo_path": "TestContainers/Core/Containers/RedisContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1481"
} | starcoder | using Polly;
using System;
using System.Threading.Tasks;
using StackExchange.Redis;
using System.Linq;
namespace TestContainers.Core.Containers
{
public sealed class RedisContainer : DatabaseContainer
{
public override string ConnectionString
{
get
{
var... | 2.450964 | 271a3a9b7b104e1a315eeb8bc8659327 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1481 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "bartosz-jarmuz/RandomFriendlyNameGenerator",
"max_stars_repo_path": "src/RandomFriendlyNameGenerator/NameGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1482"
} | starcoder | using System.Runtime.CompilerServices;
using System.Text;
namespace RandomFriendlyNameGenerator
{
/// <summary>
/// Simple but flexible and powerful utility for generating random names
/// <para>- human like, e.g. <NAME>, <NAME>, <NAME>, <NAME></para>
/// <para>- or identifiers, like Sympathetic_Allig... | 3.186645 | f23d3e3f1b7c9b7505e3e0a1471f3374 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1482 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "zhaopeiym/-project-template",
"max_stars_repo_path": "ProjectNameTemplate.WebApi/Attributes/AuthorizeAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1483"
} | starcoder | <reponame>zhaopeiym/-project-template
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ProjectNameTemplate.WebApi.Filters
{
/// <summary>
/// 权限验证特性
/// </summary>
public class AuthorizeAttribute : Attribute
{
/// <summary>
... | 2.102883 | 774de9083413a5a38d911ef904bf9ef1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1483 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "d2funlife/brick-plus",
"max_stars_repo_path": "Tetris/Tetris.Shared/Models/Suspend/SuspendingBoardBlock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1484"
} | starcoder | <filename>Tetris/Tetris.Shared/Models/Suspend/SuspendingBoardBlock.cs
using Tetris.Models.Scene;
namespace Tetris.Models.Suspend
{
public class SuspendingBoardBlock
{
public SuspendingBoardBlock()
{
}
public SuspendingBoardBlock(int x, int y, int colorIndex)
{
... | 2.170337 | cf04277b06bfc595f11a0171b35fceb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1484 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LBHackney-IT/lbh-notifications-api",
"max_stars_repo_path": "LbhNotificationsApi/V1/CorrelationMiddleware.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1485"
} | starcoder | <reponame>LBHackney-IT/lbh-notifications-api
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
namespace LbhNotificationsApi.V1.Controllers
{
public class CorrelationMiddleware
{
private readonly RequestDelegate _next;
public Corre... | 2.207983 | 7715f96b5824bcf408abbd9b69ffc9a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1485 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dmoskalyk/Plugly",
"max_stars_repo_path": "src/Plugly/SingleCustomizerLocator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1486"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Plugly
{
/// <summary>
/// A default customizer locator which always returns the same customizer instance.
/// </summary>
public sealed class SingleCustomizerLocator : ICustomi... | 2.925386 | 458776108560949aed58ceb794fe51b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1486 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VeselinaSidova/Healthy-Lifestyle-Tracking-App",
"max_stars_repo_path": "HealthyLifestyleTrackingApp/Data/Models/TrackedExercise.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1487"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
namespace HealthyLifestyleTrackingApp.Data.Models
{
public class TrackedExercise
{
public int Id { get; set; }
[Required]
public string UserId { get; set; }
public User User { get; set; }
public int ExerciseI... | 2.024174 | f35613a52496740a9dc50df3def2d51d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1487 | {
"extension": "c-sharp",
"max_stars_count": "1671.0",
"max_stars_repo_name": "Potapy4/dotnet-sdk",
"max_stars_repo_path": "src/Cli/dotnet/ShellShim/IApphostShellShimMaker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1488"
} | starcoder | using Microsoft.Extensions.EnvironmentAbstractions;
namespace Microsoft.DotNet.ShellShim
{
internal interface IAppHostShellShimMaker
{
void CreateApphostShellShim(FilePath entryPoint, FilePath shimPath);
}
}
| 1.635312 | 512d17ea323a739d7a7c85174394b231 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1488 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "coderling/ComponentLab",
"max_stars_repo_path": "Assets/SpringMassSystem/Scripts/Runtime/LinearSpring.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1489"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
namespace MassSpring
{
[Serializable]
public class LinearSpring : IMassSpringData
{
public SystemParams sys_params;
public SystemParams system_params { get { return sys_params; } }
... | 2.243156 | 48edf7d819f8d00aec9238387d1cc755 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1489 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "breno-sapucaia/SantafeApi",
"max_stars_repo_path": "Contracts/V1/External/FacebookTokenValidationResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1490"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SantafeApi.Contracts.V1.External
{
public class FacebookTokenValidationResult
{
[JsonProperty("data")]
public Data Data { get; set; }
}
public class Data
... | 1.869364 | e95a4054324b3aefed7b50086f7da70b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1490 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VictorBalbo/Investment-Aggregator",
"max_stars_repo_path": "src/InvestmentHub/Providers/Nubank/InvestmentHub.Providers.Models.NuInvest/InvestmentType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1491"
} | starcoder | <filename>src/InvestmentHub/Providers/Nubank/InvestmentHub.Providers.Models.NuInvest/InvestmentType.cs
using System.Text.Json.Serialization;
namespace InvestmentHub.Providers.Models.NuInvest
{
public class InvestmentType
{
[JsonPropertyName("color")]
public string Color { get; set; }
... | 1.974298 | 32aee171a0f24c8a18dc264f6bc1c121 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1491 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "memucho/webapp",
"max_stars_repo_path": "src/TrueOrFalse.Tests/2 Domain/Question/Delete_question.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1492"
} | starcoder | <filename>src/TrueOrFalse.Tests/2 Domain/Question/Delete_question.cs
using System;
using System.Collections.Generic;
using System.Linq;
using NHibernate;
using NUnit.Framework;
namespace TrueOrFalse.Tests
{
class Delete_question : BaseTest
{
[Test]
public void Delete_question_right_after_creat... | 2.488856 | beeafa5803bb08ec767032a5e6dc8d0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1492 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stroev-ao/ColorHelper",
"max_stars_repo_path": "ColorHelper/FColorTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1493"
} | starcoder | <gh_stars>0
using System;
using System.Drawing;
using System.Windows.Forms;
namespace ColorHelper
{
public partial class FColorTable : Form
{
public FColorTable()
{
InitializeComponent();
}
private void FColorTable_Load(object sender, EventArgs e)
... | 2.420841 | 2cbbbf5803b87162b8cdfc2924716af6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1493 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tersoo-atsen/expenses-app",
"max_stars_repo_path": "tests/Expenses.Api.IntegrationTests/Expenses/PutShould.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1494"
} | starcoder | using System;
using System.Threading.Tasks;
using Expenses.Api.IntegrationTests.Fixtures;
using Expenses.Api.IntegrationTests.Helpers;
using Expenses.Api.Models.Expenses;
using FluentAssertions;
using Xunit;
namespace Expenses.Api.IntegrationTests.Expenses
{
[Collection("ApiCollection")]
public class P... | 2.192306 | c1a405edbd986c225b97077442b84412 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1494 | {
"extension": "c-sharp",
"max_stars_count": "278.0",
"max_stars_repo_name": "zhwongbo/uMVVM",
"max_stars_repo_path": "Assets/Sources/Core/Repository/DbRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1495"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SQLite4Unity3d;
namespace Assets.Sources.Core.Repository
{
public class DbRepository<T> : IRepository<T> where T : class, new()
{
private readonly SQLiteConnection _connection;
public void Delete(T inst... | 2.765848 | 9056a1ea05c3d5c84d5317ed359f2401 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1495 | {
"extension": "c-sharp",
"max_stars_count": "2542.0",
"max_stars_repo_name": "gridgentoo/ServiceFabricAzure",
"max_stars_repo_path": "src/prod/src/managed/FabricBRS/src/System/Fabric/BackupRestore/BackupRestoreCommon/Model/BackupPartitionStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1496"
} | starcoder | <filename>src/prod/src/managed/FabricBRS/src/System/Fabric/BackupRestore/BackupRestoreCommon/Model/BackupPartitionStatus.cs<gh_stars>1000+
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.tx... | 1.971208 | 5c3116aabebf373beebadad2fe94eb53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1496 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "riQQ/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/D3D12DDI_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_0053.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1497"
} | starcoder | <gh_stars>1-10
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d3d12umddi.h(9719,9)
namespace DirectN
{
public enum D3D12DDI_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_0053
{
D3D12DDI_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_0053_QUARTER_PEL = 0,
}
}
| 1.114634 | a5b82e12e5e0e10e31c028c865c068d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1497 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Distrotech/mono",
"max_stars_repo_path": "external/aspnetwebstack/test/System.Web.Http.SelfHost.Test/DeeplyNestedTypeTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1498"
} | starcoder | <reponame>Distrotech/mono
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System.IO;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using Newtonsoft.Json.Linq;
using Xunit;
using System.Xml.Linq... | 2.263474 | d29679d1d42d381405e40aafa0d9dd4f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1498 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NHSChoices/nhs111-online",
"max_stars_repo_path": "NHS111/NHS111.Domain.Api/Controllers/CategoryController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1499"
} | starcoder | <reponame>NHSChoices/nhs111-online
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using NHS111.Domain.Repository;
using NHS111.Utils.Attributes;
using NHS111.Utils.Extensions;
namespace NHS111.Domain.Api.Controllers
{
[LogHandleErrorForApi]
public class CategoryController : ApiCon... | 2.087625 | 709a252047f716511334cf706519a59a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1499 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "m-krivov/MiCoSi",
"max_stars_repo_path": "Sources/Apps/Visualizer/Capture/ImageSaver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1500"
} | starcoder | <reponame>m-krivov/MiCoSi
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Drawing.Imaging;
namespace Mitosis
{
internal class ImageSaver : IDisposable
{
private IFileNamingTemplate _fileNaming;
private String _fileExt;
private ImageFormat _format;
... | 2.484899 | 9b6833cd1c8ed128a5aef35b7f5c9f36 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1500 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nowhh01/sorting-visualiser",
"max_stars_repo_path": "Commands/MarkAsSortedCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1501"
} | starcoder | <gh_stars>0
using System;
namespace SortingVisualiser.Commands
{
public class MarkAsSortedCommand : ICommand
{
private readonly Controller mController;
private readonly int mIndex;
private Tuple<int, int>? mPrevIndices;
public MarkAsSortedCommand(Controller controller, int in... | 2.484721 | bd8f48bb1b9b88d66c5c339ada152d9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1501 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "suryasnath/csharp",
"max_stars_repo_path": "src/EntityFramework.Relational/Migrations/IMigrator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1502"
} | starcoder | <gh_stars>0
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using JetBrains.Annotations;
namespace Microsoft.Data.Entity.Migrations
{
public interface IMigrator
... | 1.588128 | 4237dd6001588e14edbcb94b2493b658 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1502 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hc-hub/LogisticsManager",
"max_stars_repo_path": "LogisticsManager/LogisticsManagerDAL/UserInfoDAL.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1503"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using LogisticsManagerModel;
using System.Data.SqlClient;
namespace LogisticsManagerDAL
{
public class UserInfoDAL
{
public static List<Users> Login(Users u)
{... | 2.247936 | 9118dcb9f6b560eda09777054dc07bd9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1503 | {
"extension": "c-sharp",
"max_stars_count": "11219.0",
"max_stars_repo_name": "obedurena/aspnetboilerplate",
"max_stars_repo_path": "src/Abp/BackgroundJobs/BackgroundJobException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1504"
} | starcoder | using System;
using System.Runtime.Serialization;
using JetBrains.Annotations;
namespace Abp.BackgroundJobs
{
[Serializable]
public class BackgroundJobException : AbpException
{
[CanBeNull]
public BackgroundJobInfo BackgroundJob { get; set; }
[CanBeNull]
public object JobO... | 2.360426 | c4db08a16fb17a3770c25577ab447118 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1504 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mr-watts/MixedRealityToolkit-Unity",
"max_stars_repo_path": "Assets/MRTK/Core/Providers/InputSimulation/InputPlaybackService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1505"
} | starcoder | <reponame>mr-watts/MixedRealityToolkit-Unity<filename>Assets/MRTK/Core/Providers/InputSimulation/InputPlaybackService.cs
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.Utilities;
using System;
using System.IO;
using System.Threading.Tasks;
using UnityEn... | 2.042065 | cb702ac8fbc3c389908856c8b6f42d99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1505 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alipay/alipay-sdk-net",
"max_stars_repo_path": "AlipaySDKNet/Domain/AlipayFundEnterprisepaySignModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1506"
} | starcoder | <gh_stars>0
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayFundEnterprisepaySignModel Data Structure.
/// </summary>
[Serializable]
public class AlipayFundEnterprisepaySignModel : AopObject
{
/// <summary>
/// 企业简称,传空采用默认规则命名,使用公... | 1.606065 | 51db2190ea983fdd526fbfe3c9511d45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1506 | {
"extension": "c-sharp",
"max_stars_count": "55.0",
"max_stars_repo_name": "GPUPeople/cuRE",
"max_stars_repo_path": "build/dependencies/CUDA_build_tools/embedCUDA/source/nvlink.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1507"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Diagnostics;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace embedCUDA
{
public class nvlink : Task
{
[Required]
public ITaskItem[] Inputs
{
get;
set;
}
... | 2.268728 | 2076f3fed3b6f691de01f758cdfc9e80 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1507 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Constructor0987/MeisterGeister",
"max_stars_repo_path": "ViewModel/Helden/AllgemeinViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1508"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
//Eigene Usings
using M = MeisterGeister.Model;
using MeisterGeister.Logic.General;
namespace MeisterGeister.ViewModel.Helden {
public class AllgemeinViewModel : Base.ViewModelBase {
... | 2.230391 | 6b35d1f0d18a29964fefa22549f5a974 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1508 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "KAL-ATM-Software/KAL_XFS4IoT_SP-Dev",
"max_stars_repo_path": "Framework/Core/Keyboard/Events/KeyEvent_g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1509"
} | starcoder | <gh_stars>10-100
/***********************************************************************************************\
* (C) KAL ATM Software GmbH, 2021
* KAL ATM Software GmbH licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
*
* This file was created au... | 2.45953 | 403bbef6bfa5180c1ab0f744b8ab4bb9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.