added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812618 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "titto/ReClass.NET",
"max_stars_repo_path": "ReClass.NET/Forms/ScannerForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131838"
} | starcoder | using System;
using System.ComponentModel;
using System.Diagnostics.Contracts;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using ReClassNET.DataExchange.Scanner;
using ReClassNET.Extensions;
using R... | 1.98903 | d5ce6e272cbd0ef9ccaaefa8c80e77bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812619 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dkamau/e-commerce-backend",
"max_stars_repo_path": "src/ECommerceBackend.Web/Endpoints/ProductEndpoints/Search.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131839"
} | starcoder | <reponame>dkamau/e-commerce-backend
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Ardalis.ApiEndpoints;
using ECommerceBackend.Core.Entities.ProductEntities;
using ECommerceBackend.Core.Exceptions;
using ECommerceBackend.Core.Interfaces;
... | 2.198663 | 8bbe4309847700982b3719c751c20dac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812620 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wally232/StardewMods-2",
"max_stars_repo_path": "archived/XSPlus/Features/StashToChestFeature.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131840"
} | starcoder | <reponame>wally232/StardewMods-2<gh_stars>0
namespace XSPlus.Features;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using Common.Helpers;
using Services;
using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewModdingAPI.Utilities;
using StardewValley;
usin... | 2.159339 | 510bb7b94eaaa104daeeba0e89582b46 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812621 | {
"extension": "c-sharp",
"max_stars_count": "217.0",
"max_stars_repo_name": "jinek/Consolonia",
"max_stars_repo_path": "src/Consolonia.Gallery/Gallery/GalleryViews/GalleryCheckBox.axaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131841"
} | starcoder | <filename>src/Consolonia.Gallery/Gallery/GalleryViews/GalleryCheckBox.axaml.cs
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using JetBrains.Annotations;
namespace Consolonia.Gallery.Gallery.GalleryViews
{
[UsedImplicitly]
[GalleryOrder(40)]
public class GalleryCheckBox : UserControl
{
p... | 1.6992 | e4b90d01fc5423a9a184656533c824f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812622 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "veloman86/SoftUni-CSharp",
"max_stars_repo_path": "Tech Modul/08 Text Processing/Text Processing - Exercise/03ExtractFile/StartUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131842"
} | starcoder | <filename>Tech Modul/08 Text Processing/Text Processing - Exercise/03ExtractFile/StartUp.cs<gh_stars>1-10
using System;
using System.ComponentModel.DataAnnotations;
namespace _03ExtractFile
{
class StartUp
{
static void Main(string[] args)
{
var file = Console.ReadLine().Split(@"\"... | 3.275108 | c613137a6ffab270f691bd4611787f87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812623 | {
"extension": "c-sharp",
"max_stars_count": "252.0",
"max_stars_repo_name": "rsdn/CodeJam",
"max_stars_repo_path": "CodeJam.Main/Ranges/Range.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131843"
} | starcoder | using System.Runtime.CompilerServices;
using JetBrains.Annotations;
using static CodeJam.Ranges.RangeInternal;
using static CodeJam.Targeting.MethodImplOptionsEx;
namespace CodeJam.Ranges
{
// TODO: Conflict with System.Range
/// <summary>Helper methods for the <seealso cref="Range{T}"/>.</summary>
[P... | 2.617014 | c1619f12d56082fc6673042b68981ca8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812624 | {
"extension": "c-sharp",
"max_stars_count": "106.0",
"max_stars_repo_name": "Lolle2000la/Aurora.Music",
"max_stars_repo_path": "Source/Aurora.Music/Controls/ListItems/SongItem.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131844"
} | starcoder | // Copyright (c) Aurora Studio. All rights reserved.
//
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Aurora.Music.ViewModels;
using System;
using System.Threading.Tasks;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
//https://g... | 2.184412 | 7bb0ef6ab901c9366901f1110f6bbbac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812625 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ascentis/infrastructure",
"max_stars_repo_path": "Ascentis.Infrastructure.Sql/DataPipeline/TargetAdapter/Sql/SQLite/Bulk/SQLiteAdapterBulkInsert.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131845"
} | starcoder | <reponame>Ascentis/infrastructure
using System.Collections.Generic;
using System.Data.Common;
using System.Data.SQLite;
using Ascentis.Infrastructure.DataPipeline.TargetAdapter.Sql.Generic;
using Ascentis.Infrastructure.DataPipeline.TargetAdapter.Sql.Utils;
using Ascentis.Infrastructure.Sql.DataPipeline.TargetAdapter.... | 1.801887 | 7871bd4eaf7429db26e2bb373c6b4d53 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812626 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Elgaard1/I4DAB_Assignment2",
"max_stars_repo_path": "DabAflevering2/Migrations/20191111035433_testdata.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131846"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
namespace DabAflevering2.Migrations
{
public partial class testdata : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.UpdateData(
table: "Resturent",
keyColu... | 2.298329 | a15cf2f4310c30c1b4b748d357408a9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xpertdev/Airline-Microservices",
"max_stars_repo_path": "src/Services/Airline.Passenger/src/Passenger/Passengers/Features/GetPassengerById/GetPassengerQueryByIdHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131847"
} | starcoder | using Ardalis.GuardClauses;
using MapsterMapper;
using MediatR;
using Microsoft.EntityFrameworkCore;
using Passenger.Data;
using Passenger.Passengers.Dtos;
using Passenger.Passengers.Exceptions;
namespace Passenger.Passengers.Features.GetPassengerById;
public class GetPassengerQueryByIdHandler : IRequestHandler<GetPa... | 2.303105 | 4679e74e9de46b014e4d1fdb6a023871 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812628 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "dukemiller/anime-downloader",
"max_stars_repo_path": "anime-downloader/Classes/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131848"
} | starcoder | <reponame>dukemiller/anime-downloader<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Xml;
using anime_downloader.Enums;
using HtmlAgilityPack;
using Optional;
namespace anime_downloader.Classes
{
public static class Extensions
{
... | 3.161056 | a58b51784676ff3f233ff13e4662bed4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812629 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "6Axel9/PocketTheater",
"max_stars_repo_path": "Assets/Scripts/Focus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131849"
} | starcoder | <reponame>6Axel9/PocketTheater
using Pixelplacement;
using UnityEngine;
public class Focus : MonoBehaviour
{
[SerializeField]
private Transform close;
[SerializeField]
private Transform far;
private ShowroomController showroomController => ShowroomController.Instance;
public void Awake()
... | 1.747795 | 8cd5ac47589b589592254b70fb7b9a61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StephenDRodger/TCS-Gauge-Example",
"max_stars_repo_path": "Implementation/sdrBankingCreateCustomerSpec.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131850"
} | starcoder | <filename>Implementation/sdrBankingCreateCustomerSpec.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Gauge.CSharp.Lib;
using Gauge.CSharp.Lib.Attribute;
using Gauge.Example.Implementation.Pages;
using OpenQA.Selenium;
using NUnit.Framework;
... | 2.553636 | 1a9e53ea9cd07beedf7ae0691894943f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812631 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StarlordTheCoder/SchinkZeShips",
"max_stars_repo_path": "SchinkZeShips.Core/GameLogic/InGame/InGameViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131851"
} | starcoder | <reponame>StarlordTheCoder/SchinkZeShips
using System;
using System.Linq;
using System.ServiceModel;
using SchinkZeShips.Core.ExtensionMethods;
using SchinkZeShips.Core.GameLobby;
using SchinkZeShips.Core.GameLogic.Board;
using SchinkZeShips.Core.Infrastructure;
using SchinkZeShips.Core.SchinkZeShipsReference;
using X... | 2.162458 | c39c217ed4c9a34548e5ee8c7b1021f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812632 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "mortenbock/MXTires.Microdata",
"max_stars_repo_path": "Actions/Action.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131852"
} | starcoder | #region License
// Copyright (c) 2015 1010Tires.com
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy, mod... | 2.623633 | becec73cc3441b3a043304804d07a9c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812633 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeremii/edusent",
"max_stars_repo_path": "backend/edusent-service/Controllers/RatingsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131853"
} | starcoder | <reponame>jeremii/edusent
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Web;
using AutoMapper;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mv... | 2.164067 | a371beb83b307240565d58762776b64d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hueifeng/Ctrl.Framework",
"max_stars_repo_path": "src/Domain/System/Ctrl.Domain.Business/Permission/ISystemMenuButtonLogic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131854"
} | starcoder | using Ctrl.Core.Business;
using Ctrl.Core.Entities;
using Ctrl.Core.Entities.Dtos;
using Ctrl.Core.Entities.Paging;
using Ctrl.Domain.Models.Dtos;
using Ctrl.Domain.Models.Dtos.Permission;
using Ctrl.System.Models.Entities;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Ctrl.System.Business
... | 1.918165 | d8645727d8bcea87062b57420a71d33f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812635 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "red-gate/MicroLibraries",
"max_stars_repo_path": "Source/Ulibs.Tests/TinyJsonSer/CustomReadOnlyList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131855"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
namespace Ulibs.Tests.TinyJsonSer
{
/// <summary>
/// Simple implementation of <see cref="IReadOnlyList{T}"/> that doesn't implement any other
/// collection interface.
/// </summary>
public class CustomReadOnlyLis... | 3.052052 | f39028d0950801e914942574caba8b83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812636 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rafael-biz/clean-architecture",
"max_stars_repo_path": "CleanArchitecture.Controllers/IUserRegistrationEmail.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131856"
} | starcoder | <gh_stars>0
using System;
namespace CleanArchitecture.Controllers
{
public interface IUserRegistrationEmail
{
/// <summary>
/// Sends a confirmation email with a confirmation token.
/// </summary>
/// <param name="email">
/// User's e-mail.
/// </para... | 1.6927 | 1845f66b2b83514096dfc390ed91e4e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812637 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "millinon/SillyVM",
"max_stars_repo_path": "SillyVM/Instruction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131857"
} | starcoder | <reponame>millinon/SillyVM<filename>SillyVM/Instruction.cs<gh_stars>0
using System;
using System.Linq;
using System.Collections.Generic;
namespace SillyVM
{
public class Instruction
{
public readonly string OpCode;
public readonly Value[] Arguments;
public readonly string Label;
... | 2.140618 | 7ceab206a7f39947ee752598b7b8dcda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812638 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "john-h-k/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/um/d3d11shader/ID3D11FunctionReflection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131858"
} | starcoder | <filename>sources/Interop/Windows/um/d3d11shader/ID3D11FunctionReflection.cs
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d3d11shader.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright ... | 1.676266 | 34f20f2a2b0b6c3bbfbc49d8d8e94ad6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812639 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "kumaakh/PlayFabCLI",
"max_stars_repo_path": "PlayFabPowerTools/Packages/SetupStoresPackage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131859"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PlayFabPowerTools.Services;
namespace PlayFabPowerTools.Packages
{
public class SetupStoresPackage : iStatePackage
{
/// <summary>
/// Register self with MainLoop Package
... | 2.756704 | e32a52e85c7921f4af77ac095af6e8fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812640 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhao365845726/ML.Core",
"max_stars_repo_path": "ML.Core/ML.Blend/Cloud/Netease/Signal/OneClickLogin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131860"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace ML.Blend.Cloud.Netease.Signal
{
class OneClickLogin
{
}
}
| 0.838083 | cbb9384caa6f3c440379eee36e4435ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812641 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "microsoft/MTC_SmartHive",
"max_stars_repo_path": "SmartHive.LevelMapApp/SmartHive.LevelMapApp/SmartHive.LevelMapApp.UWP/Controllers/AppManagerUwp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131861"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SmartHive.LevelMapApp.Controllers;
using Microsoft.HockeyApp;
using Microsoft.HockeyApp.DataContracts;
using SmartHive.Models.Events;
using System.Reflection;
using Windows.Applicati... | 2.137707 | 5928d385a278baf3f75784b4f74567bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812642 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "buzzytom/System.Linq.Sql",
"max_stars_repo_path": "src/LinqSql/Visitors/LinqTranslatorVisitor/LinqTranslatorVisitor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131862"
} | starcoder | using System.Linq.Expressions;
namespace System.Linq.Sql
{
/// <summary>
/// <see cref="LinqTranslatorVisitor"/> translates an expression call to an sql expression tree.
/// </summary>
public partial class LinqTranslatorVisitor : ExpressionVisitor
{
private ASourceExpression[] sources = nu... | 3.152658 | 4a20657f7973ccf239d9dad609d4bd73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812643 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aooshi/adf",
"max_stars_repo_path": "Adf/Db/DbLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131863"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Adf.Db
{
/// <summary>
/// 日志书写器
/// </summary>
public static class DbLogger
{
/// <summary>
/// 默认实例
/// </summary>
public static readonly LogManager Instance = new LogManager("db");
}... | 1.930226 | 76014ee1a71784ac0fb1f3d53cbf5256 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812644 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "RyuaNerin/libpuzzle-sharp",
"max_stars_repo_path": "test/UnitTest/UnitTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131864"
} | starcoder | using LibPuzzle;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Test
{
[TestClass]
public class UnitTest
{
[TestMethod]
public void Regress1()
{
var context = new PuzzleContext();
var cvec1 = context.FromPath("pics/luxmarket_tshirt01.jpg");
... | 2.423298 | 5f70107de65a1fc2fbd6ecd0b54f5806 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812645 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "Helpsypoo/PrimerTools",
"max_stars_repo_path": "SceneManager/Helpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131865"
} | starcoder | <filename>SceneManager/Helpers.cs
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
/*
This is where I put code when I don't know where else to put it.
There is a 100% chance this could be better organized.
*/
public enum CoordinateFrame ... | 3.02775 | e05327cdfc05d3ce0a4a71db373bb6e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812646 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "glazier44/FenitToolbox",
"max_stars_repo_path": "Fenit.Toolbox.UserManager.Web/ApplicationUserManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131866"
} | starcoder | <gh_stars>0
using System;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Security;
using Fenit.Toolbox.Core.Answers;
using Fenit.Toolbox.UserManager.Enum;
using Fenit.Toolbox.UserManager.Helper;
using Fenit.Toolbox.UserManager.Model;
using Fenit.Toolbox.UserManager.ViewModel;
namespac... | 2.087921 | d6cb5c868e127047bc24169c969f5f4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812647 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JeromePeru/SearchFight",
"max_stars_repo_path": "SearchFight.Shared/Configuration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131867"
} | starcoder | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Text.RegularExpressions;
namespace SearchFight.Shared
{
public class Configuration
{
public static String ReadSetting(string key)
{
try
{
var appSettings = Configura... | 2.592303 | 7feebf6dea48cdac61fc31dc7d68fc63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812648 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hue2/xunit",
"max_stars_repo_path": "src/xunit.v3.runner.common/Reporters/VstsReporterMessageHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131868"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using Xunit.Abstractions;
namespace Xunit.Runner.Common
{
/// <summary>
/// An implementation of <see cref="IMessageSink" /> and <see cref="IMessageSinkWithTypes" /> that
... | 2.319091 | f916b0e9eceaad9042f0e7b65e20c413 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812649 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "li-haobin/O2DESNet.Optimizer",
"max_stars_repo_path": "O2DESNet.Optimizer/Class1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131869"
} | starcoder | <reponame>li-haobin/O2DESNet.Optimizer
using MathNet.Numerics.Distributions;
using System;
using System.Collections.Generic;
using System.Text;
namespace O2DESNet.Optimizer
{
class Class1
{
public Class1()
{
ContinuousUniform
}
}
}
| 1.232981 | f59e365ef6b1cc3013483894fea1d36b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812650 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ganeshkumarsv/dd-trace-dotnet",
"max_stars_repo_path": "test/Datadog.Trace.Tests/Sampling/RuleBasedSamplerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131870"
} | starcoder | // <copyright file="RuleBasedSamplerTests.cs" company="Datadog">
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc.
// </copyright>
using System;
us... | 1.979496 | 495266f823f1269bb80d23034dd9f97a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812651 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "krishnavamshiballari/pickr",
"max_stars_repo_path": "Main.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131871"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Main : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void signIn_Click(object sender... | 1.693815 | 470709f6ce8c8bba11ea1b5c90926d1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "buxiaoyang/JSYCRM",
"max_stars_repo_path": "JSYCRM/Models/m_return_fee_rule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131872"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace JSYCRM.Models
{
/// <summary>
/// m_return_fee_rule:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class m_return_fee_rule
{
public m_return_fee_rule()
... | 2.146377 | f8ccd1b1ee8ee70d77cf573b0e07e460 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812653 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "HakanL/animatroller",
"max_stars_repo_path": "Utils/DMXrecorder/Common/IO/PCapAcnFileWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131873"
} | starcoder | <reponame>HakanL/animatroller
using Haukcode.sACN.Model;
using System;
using System.Net;
namespace Animatroller.Common.IO
{
public class PCapAcnFileWriter : PCapFileWriter, IFileWriter
{
public readonly Guid AcnId = new Guid("{29D35C91-702E-4B7E-9ACD-D343FD15DDEE}");
public const string AcnSou... | 2.13925 | d65068845e0b563823866cfcabff7a78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812654 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "npolyak/NP.Avalonia.UniDock",
"max_stars_repo_path": "Prototypes/NP.Demos.UniDockCustomizationDemo/MainWindow.axaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131874"
} | starcoder | // (c) <NAME> 2021 - http://awebpros.com/
// License: MIT License (https://opensource.org/licenses/MIT)
//
// short overview of copyright rules:
// 1. you can use this framework in any commercial or non-commercial
// product as long as you retain this copyright message
// 2. Do not blame the author of this software... | 2.078087 | 9d4f5a3284a431449d241b48197cb420 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812655 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Reavenk/PxPre-MIDI",
"max_stars_repo_path": "Plugins/Android/MIDIInputAnd.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131875"
} | starcoder | //MIT License
//
//Copyright (c) 2020 Pixel Precision LLC
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including without limitation the rights
//to use, copy, modi... | 1.804213 | 61f81b856e72e4e758f3e9d947a57b0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812656 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SixHourDays/WrathOfKhan",
"max_stars_repo_path": "WrathOfKhan/Assets/Networking/TransmissionObjects/TransmissionInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131876"
} | starcoder | using UnityEngine;
using System.Collections;
using System;
[Serializable]
public class TransmissionInfo
{
// name that corresponds to the static Name field of each Transmission
public string transmission_name;
// playerID that the transmission originated from. Used to tell if we should propegate or not.
... | 2.196092 | 76cf4a074d39783515a85274c438f438 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812657 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marosicsaba91/MarosiUtility",
"max_stars_repo_path": "Editor/GUITable/Column/EditableColumn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131877"
} | starcoder | <reponame>marosicsaba91/MarosiUtility
#if UNITY_EDITOR
using System;
using UnityEngine;
namespace MUtility
{
public abstract class EditableColumn<TRow, TValue> : Column<TRow> where TValue : IEquatable<TValue>
{
protected readonly Func<TRow, TValue> valueGetter;
protected readonly Action<TRow, TValu... | 2.710362 | 19f1bf9ed065b0da70d0e33c3d9b63d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812658 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "Teroneko-NET-Tools/Teronis.NetStandard.Core",
"max_stars_repo_path": "src/Core/src/Extensions/ICollection{`1}Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131878"
} | starcoder | <gh_stars>10-100
// Copyright (c) Teroneko.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
namespace Teronis.Extensions
{
public static class ICollectionGenericExtensions
{
public static bool TryAdd<T>(this IColl... | 2.543173 | 4cd4eefdd30ffe2c90cfdc12383899a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812659 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Karnah/Avalonia",
"max_stars_repo_path": "tests/Avalonia.Controls.UnitTests/DesktopStyleApplicationLifetimeTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131879"
} | starcoder | using System;
using System.Collections.Generic;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Platform;
using Avalonia.Threading;
using Avalonia.UnitTests;
using Moq;
using Xunit;
namespace Avalonia.Controls.UnitTests
{
public class DesktopStyleApplicationLifetimeTests
{
[Fact]
... | 2.244697 | 0d5679cb9a028ef7a9c3606c7a1dec8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812660 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "picrap/Mono.Security",
"max_stars_repo_path": "Mono.Security/X509Certificate2Impl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131880"
} | starcoder | public class X509Certificate2Impl { }
| 0.378206 | 720b4d7d84bf339ad855f2fff47a1c90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812661 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "axionbio/SpiceSharpParser",
"max_stars_repo_path": "src/SpiceSharpParser/Common/Evaluation/Functions/ExpressionFunction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131881"
} | starcoder | <reponame>axionbio/SpiceSharpParser<filename>src/SpiceSharpParser/Common/Evaluation/Functions/ExpressionFunction.cs
using SpiceSharpBehavioral.Parsers;
using SpiceSharpParser.Common.Evaluation.Expressions;
using System;
using System.Collections.Generic;
namespace SpiceSharpParser.Common.Evaluation.Functions
{
... | 2.597189 | 22b3bf15c795cf19361890b908a66363 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812662 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "afgalvan/Tilia",
"max_stars_repo_path": "src/Server/Api/Migrations/20211126105900_RemoveScheduler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131882"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Server.Migrations
{
public partial class RemoveScheduler : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "fk_medical_appointm... | 1.929344 | 7b21aa1ba8346c61051fc9f09379d04a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812663 | {
"extension": "c-sharp",
"max_stars_count": "63.0",
"max_stars_repo_name": "Kleptine/conditions-unity",
"max_stars_repo_path": "src/Conditions.Tests/StringTests/StringDoesNotStartWithTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131883"
} | starcoder | using System;
using System.Globalization;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Conditions.Tests.StringTests
{
/// <summary>
/// Tests the ValidatorExtensions.DoesNotStartWith method.
/// </summary>
[TestClass]
public class StringDoesNotStartWithTests... | 2.791652 | 54a8b514a77fafdc9b0f9031a7c9ff51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812664 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "inPact/PartsUnlimitedMRPmicro",
"max_stars_repo_path": "DealerService/Models/MongoDealersRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131884"
} | starcoder | <reponame>inPact/PartsUnlimitedMRPmicro
using MongoDB.Driver;
using MongoDB.Driver.Builders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DealerApi.Models
{
public class MongoDealersRepository : DealersRepository
{
MongoClient _client;
... | 1.67226 | 926709aeadd2280f33a7d4be0883383c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812665 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "heholek/httplaceholder",
"max_stars_repo_path": "src/HttPlaceholder.Application/StubExecution/ResponseVariableParsingHandlers/LocalNowResponseVariableParsingHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131885"
} | starcoder | using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
using HttPlaceholder.Common;
namespace HttPlaceholder.Application.StubExecution.ResponseVariableParsingHandlers;
/// <summary>
/// Response variable parsing handler to insert the local date/time into... | 2.868615 | 2dc863500a09f31a0218cd358d743c81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812666 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xoposhiy/design-course",
"max_stars_repo_path": "02-DDD/Darts/Darts.Domain/Domain/Repositories/ThrowJsonConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131886"
} | starcoder | using System;
using Darts.Domain.Models;
using Newtonsoft.Json;
namespace Darts.Domain.Repositories
{
public class ThrowJsonConverter : JsonConverter
{
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
{
writer.WriteToken(JsonToken.String, ((ThrowResult)value).ToString... | 2.821541 | 3b906fe4d712740b49c46ccc3b65af48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812667 | {
"extension": "c-sharp",
"max_stars_count": "229.0",
"max_stars_repo_name": "lulzzz/SimpleIdServer",
"max_stars_repo_path": "src/OAuth/SimpleIdServer.OAuth/Api/Authorization/ResponseTypes/TokenResponseTypeHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131887"
} | starcoder | // Copyright (c) SimpleIdServer. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using SimpleIdServer.OAuth.Api.Token.TokenBuilders;
using SimpleIdServer.OAuth.DTOs;
using SimpleIdServer.OAuth.Extensions;
using System.Collections.Generic;... | 1.937457 | d354118b7202d5b580856d49896f0da2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812668 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tafpi/unity-kinect-navigation",
"max_stars_repo_path": "Assets/Scripts/Gestures Sagittal/_unused/GestureHalfStepForwardTest2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131888"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Windows.Kinect;
public class GestureHalfStepForwardTest2 : MonoBehaviour
{
// NOTES: feet don't have to be both on the ground
public GameObject _bodySourceManager;
private BodySourceManager _bodyManager;
publi... | 1.981312 | 1a893cbd994387162d1f69479866da73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812669 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kaizendevsio/XFramework",
"max_stars_repo_path": "XFramework/XFramework/Server/XFramework.Api/Installers/ServicesInstaller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131889"
} | starcoder | <reponame>kaizendevsio/XFramework
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using XFramework.Core.Interfaces;
using XFramework.Core.Services;
using XFramework.Integration.Drivers;
using XFramework.Integration.Interfaces;
using XFramework.Integration.Interfaces.Wrappers;
... | 1.401634 | 80cab754bc503863a55fb4c9ef236b94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812670 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "qqj1228/ProScan",
"max_stars_repo_path": "ProScan/OBD/OBDDeviceELM327.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131890"
} | starcoder | using System;
namespace ProScan
{
public class OBDDeviceELM327 : OBDDevice
{
private ProtocolType m_iProtocol;
public OBDDeviceELM327(OBDCommLog log)
: base(log)
{
try
{
m_iProtocol = ProtocolType.Unknown;
}
catch (Exception ex)
{
throw ex;
}
}
public override bool Initializ... | 2.108831 | 9396c95f573034043446a41f7ba6b648 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812671 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "smuki/Dapper",
"max_stars_repo_path": "src/Util/ZZCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131891"
} | starcoder | using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO.Compression;
using System.Threading;
using Volte.Data.Json;
namespace Volte.Data.Dapper
{
public class ZZCache {
const string ... | 2.356791 | 787f7d203f778c877ad13b274bf75e7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812672 | {
"extension": "c-sharp",
"max_stars_count": "116.0",
"max_stars_repo_name": "microserviceframe/Silky",
"max_stars_repo_path": "framework/src/Silky.Transaction.Tcc/Handlers/StarterTccTransactionHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131892"
} | starcoder | <filename>framework/src/Silky.Transaction.Tcc/Handlers/StarterTccTransactionHandler.cs
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Silky.Core.DynamicProxy;
using Silky.Core.Logging;
using Silky.Rpc.Exte... | 1.711826 | 8098e23cd9346423149b830178e0cf4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812673 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "matjmase/DialogueProgrammer",
"max_stars_repo_path": "DialogueProgrammer/Serialization/SerializedNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131893"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace DialogueProgrammer.Serialization
{
[Serializable()]
public class SerializedNode
{
[XmlElement]
public int NodeId { get; set; }
... | 1.936337 | 38f149e1b36a3fc313ae1e655628220a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812674 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jaropawlak/BudujemyRobota",
"max_stars_repo_path": "Programy/WindowsIoT/Robot/RobotModule/RobotModule/StartupTask.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131894"
} | starcoder | <filename>Programy/WindowsIoT/Robot/RobotModule/RobotModule/StartupTask.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Http;
using Windows.ApplicationModel.Background;
using Windows.ApplicationModel.AppService;
// The Background Application template is docume... | 2.539551 | be0f00d154f172dc8bc05c5308a9dc0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812675 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pip-services3-dotnet/pip-services3-expressions-dotnet",
"max_stars_repo_path": "src/Mustache/MustacheException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131895"
} | starcoder | using System;
using System.Runtime.Serialization;
using PipServices3.Commons.Errors;
namespace PipServices3.Expressions.Mustache
{
/// <summary>
/// Exception that can be thrown by Mustache Template.
/// </summary>
public class MustacheException : BadRequestException
{
public MustacheExc... | 2.2491 | 5b1d2f24f22b88fbc219b5fa84d04194 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812676 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wilcommerce/Wilcommerce.Registries",
"max_stars_repo_path": "Wilcommerce.Registries.Test/Events/Customer/BillingInformationChangedEventTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131896"
} | starcoder | <reponame>wilcommerce/Wilcommerce.Registries
using System;
using Wilcommerce.Registries.Events.Customer;
using Xunit;
namespace Wilcommerce.Registries.Test.Events.Customer
{
public class BillingInformationChangedEventTest
{
[Fact]
public void Ctor_Should_Set_All_Values_Correctly()
{
... | 2.742584 | 02321c5295a320f2cc9759c80161391c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812677 | {
"extension": "c-sharp",
"max_stars_count": "448.0",
"max_stars_repo_name": "miniksa/BuildXL",
"max_stars_repo_path": "Public/Src/FrontEnd/TypeScript.Net/TypeScript.Net.UnitTests/Parsing/NamespaceDeclarations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131897"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using TypeScript.Net.Reformatter;
using TypeScript.Net.Types;
using TypeScript.Net.UnitTests.Utils;
using Xunit;
namespace TypeScript.Net.UnitTests.Parsing
{
public class NamespaceDeclarations
{
[Fact]
publ... | 2.289361 | 96dd04dae7734393096f0b99bcd323d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812678 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pastushenkoy/pyrusapi-csharp",
"max_stars_repo_path": "Enums/ChannelType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131898"
} | starcoder | <gh_stars>0
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Pyrus.ApiClient.JsonConverters;
namespace PyrusApiClient
{
[JsonConverter(typeof(StringEnumWithDefaultConverter), (int)Unknown)]
public enum ChannelType
{
Unknown = 0,
[EnumMember(Value = "email")]
Email = 1,
[EnumMember(Value =... | 1.595028 | e5008fea4f6473a27023af24d8852543 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812679 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "heathen-engineering/SteamworksFoundation",
"max_stars_repo_path": "com.heathen.steamworksfoundation/Runtime/SteamworksCreator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131899"
} | starcoder | <reponame>heathen-engineering/SteamworksFoundation
#if HE_SYSCORE && STEAMWORKS_NET
using HeathenEngineering.Events;
using UnityEngine;
using UnityEngine.Events;
namespace HeathenEngineering.SteamworksIntegration
{
[HelpURL("https://kb.heathenengineering.com/assets/steamworks")]
[DisallowMultipleComponent]
... | 1.858993 | a5ab70f95b6507319eee97ef13b1f10f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812680 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kagikn/GlowingPickup",
"max_stars_repo_path": "GlowingPickups/Win32Native.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131900"
} | starcoder | <filename>GlowingPickups/Win32Native.cs<gh_stars>0
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace GlowingPickups
{
public static class Win32Native
{
[DllImport("kernel32.dll")]
public static extern IntPtr GetCurrentProcess();
[DllImport("kernel32.dll"... | 2.416364 | a23646ef255a67e864396aa2918c47c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812681 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "GoteborgsStad/smartakartan3.0",
"max_stars_repo_path": "Source/SmartMap.Web/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131901"
} | starcoder | <filename>Source/SmartMap.Web/Views/Home/Index.cshtml
@using SmartMap.Web.Util
@model SmartMap.Web.ViewModels.HomeViewModel
@{
ViewData["Title"] = "Start";
ViewData["MetaDescription"] = StringHelper.StripHtml(Model.WelcomeContent);
}
@section head {
@await Html.PartialAsync("_ogp", Model.Ogp)
}
<div cla... | 2.12478 | dc595440372e72bbf4ca432b67d9755c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812682 | {
"extension": "c-sharp",
"max_stars_count": "3470.0",
"max_stars_repo_name": "danrayson/Live-Charts",
"max_stars_repo_path": "WpfView/Points/HeatPoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131902"
} | starcoder | //The MIT License(MIT)
//Copyright(c) 2016 <NAME> & LiveCharts Contributors
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including without limitation the rights
//t... | 2.049139 | 18805cc6a5726e647b33d4549b475899 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812683 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "sizingservers/vApus",
"max_stars_repo_path": "vApus.Stresstest/Connections/Proxies/ConnectionProxy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131903"
} | starcoder | /*
* 2010 Sizing Servers Lab, affiliated with IT bachelor degree NMCT
* University College of West-Flanders, Department GKG (www.sizingservers.be, www.nmct.be, www.howest.be/en)
*
* Author(s):
* <NAME>
*/
using System;
using System.ComponentModel;
using System.Runtime.Serialization;
using System.... | 2.11346 | 03e1dc35620a9da38d441cda32a797af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812684 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hAhmadz/ivvy-sdk-net",
"max_stars_repo_path": "src/Batch/RestartResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131904"
} | starcoder | using Newtonsoft.Json;
namespace Ivvy.API.Batch
{
public class RestartResponse
{
[JsonProperty("restarted")]
public bool Restarted
{
get; set;
}
}
} | 1.546261 | 2d25d9873f935bc48bebbda7f585d193 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812685 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marknic/BicepXray",
"max_stars_repo_path": "src/Bicep.Core.UnitTests/TypeSystem/StringLiteralTypeTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131905"
} | starcoder | // Copyright (c) <NAME>. All Rights Reserved.
// Licensed under the MIT License.
using Bicep.Core.TypeSystem;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bicep.Core.UnitTests.TypeSystem
{
[TestClass]
public class StringLiteralTypeTests
{
[TestMethod]
... | 2.618499 | 82221a54528d3c122fb7ec8167f9c62d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812686 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FacioRatio/CSharpRailway",
"max_stars_repo_path": "FacioRatio.CSharpRailway.Tests/ResultLastTaskTExtensionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131906"
} | starcoder | <reponame>FacioRatio/CSharpRailway
using System.Collections.Generic;
using System.Threading.Tasks;
using Xunit;
namespace FacioRatio.CSharpRailway.Tests
{
public class ResultLastTaskTExtensionsTests
{
[Fact]
public async Task Last_IEnumerable_Fails()
{
var sut = Task.FromRe... | 2.48541 | 75c161758e88b539c3c527dae9606b44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812687 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Lakerfield/bunqsdk",
"max_stars_repo_path": "src/Lakerfield.BunqSdk/Model/Generated/MonetaryAccountProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131907"
} | starcoder | <filename>src/Lakerfield.BunqSdk/Model/Generated/MonetaryAccountProfile.cs
using Newtonsoft.Json;
namespace Lakerfield.BunqSdk.Model
{
[BunqObject("MonetaryAccountProfile")]
public class MonetaryAccountProfile
{
/// <summary>
/// The profile settings for triggering the fill of a monetary account.
///... | 1.954114 | 5dfdf44edd12ebac14d1fe51734ea384 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812688 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "keithbabinec/Archivial",
"max_stars_repo_path": "ArchivialPowerShell/Functions/Public/UpdateArchivialCloudBackupCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131908"
} | starcoder | using ArchivialPowerShell.Exceptions;
using ArchivialPowerShell.Utility;
using System.Management.Automation;
namespace ArchivialPowerShell.Functions.Public
{
/// <summary>
/// <para type="synopsis">Updates the Archivial Cloud Backup software on this computer.</para>
/// <para type="description">IMPORT... | 2.529918 | 453f277b25f46f6d38c58698ded5afe2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812689 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jonathanread/feather",
"max_stars_repo_path": "Tests/Telerik.Sitefinity.Frontend.TestUtilities/DummyClasses/ResourceResolvers/DummyVirtualFileResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131909"
} | starcoder | <gh_stars>0
using System;
using Telerik.Sitefinity.Abstractions.VirtualPath;
namespace Telerik.Sitefinity.Frontend.TestUtilities.DummyClasses.ResourceResolvers
{
/// <summary>
/// This is dummy class implements <see cref="Telerik.Sitefinity.Abstractions.VirtualPath.IVirtualFileResolver"/> for testing purposes... | 2.101835 | 497ba58d83998e57227497e55ed3505e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812690 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gendalf90/TractorNet",
"max_stars_repo_path": "src/Attractor/IPayload.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131910"
} | starcoder | <reponame>gendalf90/TractorNet<gh_stars>0
using System;
namespace Attractor
{
public interface IPayload
{
ReadOnlyMemory<byte> GetBytes();
}
}
| 1.392471 | 339b688b2a5a93f8d6df16d1e8255043 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812691 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "peacecwz/NLog.Targets.Gelf",
"max_stars_repo_path": "src/Pompa/DnsWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131911"
} | starcoder | using System.Net;
namespace Pompa
{
public class DnsWrapper : DnsBase
{
public override IPAddress[] GetHostAddresses(string hostNameOrAddress)
{
return Dns.GetHostAddresses(hostNameOrAddress);
}
}
} | 2.064212 | 83047acb3f3d30df4325c8467b5cb2ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812692 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oeloe100/SNProductImporter",
"max_stars_repo_path": "SNPIHelperLibrary/DMHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131912"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SNPIHelperLibrary
{
public static class DMHelper
{
public static string ErrBuilder(string component)
{
switch (component)
{
case... | 2.600049 | f5c888f3b73b8a87647143e293bff53f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812693 | {
"extension": "c-sharp",
"max_stars_count": "864.0",
"max_stars_repo_name": "sabitertan/MobileBlazorBindings",
"max_stars_repo_path": "samples/HybridApp/HybridApp/App.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131913"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileProviders;
using Microsoft.MobileBlazorBindings;
using Xamarin.Forms;
namespace HybridApp
{
public class App : Application
{
public App(string[] ar... | 2.017766 | e16bcb0ea97ecc9ea1d9463395b68433 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812694 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wangrui-msft/azure-sdk-for-net",
"max_stars_repo_path": "sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/AfdCustomDomainPatch.Serialization.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131914"
} | starcoder | <gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.Cdn.Models
{
public partial class AfdCustomDomainPatch : IUtf8JsonSerializable
{
... | 1.350307 | d3f5d764c3ef74d6fc4977ac5996f63c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812695 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nermiin/-Object_Oriented_Programming-",
"max_stars_repo_path": "Contacts _ windows App/2.odev/Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131915"
} | starcoder | <reponame>nermiin/-Object_Oriented_Programming-
namespace _2.odev
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used... | 2.07766 | 33fbd21e6894a459e7fe52d775e809cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812696 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "joebhaktiarDOL/Section14C",
"max_stars_repo_path": "DOL.WHD.Section14c.Test/Domain/ViewModels/VerifyAttachmentViewModelTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131916"
} | starcoder | <reponame>joebhaktiarDOL/Section14C<gh_stars>10-100
using DOL.WHD.Section14c.Domain.ViewModels;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DOL.WHD.Section14c.Test.Domain.ViewModels
{
[TestClass]
public class VerifyAttachmentViewModelTests
{
[TestMethod]
public void Verif... | 1.702189 | c0bfc899f3bb86a14164f8e0ece12345 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812697 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scleaver/Elvanto.Net",
"max_stars_repo_path": "Tests/Elvanto.Net.Tests/PeopleFlowTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131917"
} | starcoder | using Elvanto.Net.Models;
using System.Linq;
using System.Text.Json;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace Elvanto.Net.Tests
{
public class PeopleFlowTest : ElvantoTest
{
private readonly ITestOutputHelper output;
public PeopleFlowTest(ITes... | 2.453211 | 207c30cb4855ca798d8010ff0d6d3d38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812698 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iperezmx87/dotnetconf2021maui",
"max_stars_repo_path": "HolaXamarin/HolaXamarin/HolaXamarin/PlatformSpecific/IAppVersionSpecific.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131918"
} | starcoder | namespace HolaXamarin.PlatformSpecific
{
public interface IAppVersionSpecific
{
string GetAppVersion();
}
}
| 1.537323 | e52a1579ae914d391c1394bf26c85d5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812699 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "BlakeRaymond-AI/examples",
"max_stars_repo_path": "TimeSeries/PublicApis/SdkExamples/SharpShooterReportsRunner/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131919"
} | starcoder | using System.Reflection;
[assembly: AssemblyTitle("SharpShooterReportsRunner")]
[assembly: AssemblyCompany("Aquatic Informatics Inc.")]
[assembly: AssemblyProduct("SharpShooterReportsRunner")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0... | 1.260903 | f617871b139daec6665038e06dae1a45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812700 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thenitro/orbitality",
"max_stars_repo_path": "Orbitality/Assets/Scripts/Generated/Gameplay/GameplayAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131920"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Entitas.CodeGeneration.Plugins.ContextAttributeGenerator.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-gener... | 1.298665 | 10c87646da81dcaf67739d9d752e3b77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812701 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emrekenci/CommonConcerns",
"max_stars_repo_path": "CommonConcerns/Services/ILogService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131921"
} | starcoder | <reponame>emrekenci/CommonConcerns
namespace CommonConcerns.Services
{
using System.Threading.Tasks;
public interface ILogService
{
void Write(string message, LogType type, LogDestination destination = LogDestination.None);
Task WriteAsync(string message, LogType type, LogDestination desti... | 2.411612 | 9ec02ed28261e25daaa75728f5d4b4a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812702 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nota8ot/gungeon-mod-lostitems",
"max_stars_repo_path": "LostGunAlt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131922"
} | starcoder | <reponame>nota8ot/gungeon-mod-lostitems
using System;
using Brave.BulletScript;
using Gungeon;
using HutongGames.PlayMaker.Actions;
using ItemAPI;
using MultiplayerBasicExample;
using UnityEngine;
namespace LostItems
{
// Token: 0x02000020 RID: 32
public class LostGunAlt : GunBehaviour
{
private PlayerControlle... | 1.59808 | f22c28b616154df2e44498d7daebb7f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812703 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mattiascibien/trowel",
"max_stars_repo_path": "Trowel.Common/Shell/Settings/ISettingEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131923"
} | starcoder | <reponame>mattiascibien/trowel
using System;
namespace Trowel.Common.Shell.Settings
{
/// <summary>
/// An editor interface for a setting key.
/// </summary>
public interface ISettingEditor : IDisposable
{
/// <summary>
/// Fires when the setting value has changed
/// </sum... | 1.936762 | 3c9f7cb3e611ee31e6ff60a1869e909d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812704 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Luxulicious/Luxulicious.github.io",
"max_stars_repo_path": "excluded files/Works that don't make the cut (Don't represent current skill nor showcase worthy)/Ball Trail/Scripts/MonoBehaviours/RandomlyColorColorables.cs",
"provenance": ... | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Photon.Pun;
using Photon.Realtime;
using UnityEngine;
public class RandomlyColorColorables : MonoBehaviour, IPunObservable
{
public List<Colorable> colorables = new List<Colorable>();
private PhotonView photonView;
void ... | 2.071926 | 55b191b939b721cb58bfcfdc5ba3d418 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812705 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jmguazzo/ComparePG",
"max_stars_repo_path": "ComparePG/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131925"
} | starcoder | <reponame>jmguazzo/ComparePG
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComparePG
{
class Constants
{
public const string REPLACEMENT_SCHEMA= "$TARGETSCHEMA$";
public const string ELEMENT_NAME = "element_name";
... | 1.553348 | 4afa4e6612a6e48266c9dadf429422ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812706 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Airex/messageformat.net",
"max_stars_repo_path": "src/Jeffijoe.MessageFormat/Parsing/LiteralParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131926"
} | starcoder | // MessageFormat for .NET
// - LiteralParser.cs
// Author: <NAME> <<EMAIL>>
// Copyright (C) <NAME> 2014. All rights reserved.
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace Jeffijoe.MessageFormat.Parsing
{
/// <summary>
/// Parser for extracting brace matches fr... | 2.951491 | 379dd53321ee7c33b6404998970eae37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812707 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mjebrahimi/raccoonLog",
"max_stars_repo_path": "src/raccoonLog.Http/HttpLoggingProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131927"
} | starcoder | <filename>src/raccoonLog.Http/HttpLoggingProvider.cs
using System;
using System.IO;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using raccoonLog.Http.Handlers;
namespace raccoonLo... | 2.564264 | 14d671df12193af7bcba8250cfea509a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812708 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "benniegant/PlayerControllerMultiView",
"max_stars_repo_path": "Assets/Platform.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131928"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Platform : MonoBehaviour
{
// Start is called before the first frame update
private GameObject target = null;
private Vector3 offset;
void Start()
{
target = null;
}
... | 2.385554 | 3460e03116cb412c2f7596a98e256e5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812709 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wangluci/MZFrame",
"max_stars_repo_path": "MyAccess/Json/Processing/Nodes/DataTableNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131929"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
namespace MyAccess.Json.Processing.Nodes
{
class DataTableNode : IEncodingNode, IDecodingNode
{
internal DataTableNode()
{
}
public IEnumerable<EncodingInstruction> ExecuteEncode(EncodingContext con... | 2.753341 | 5e34bef3dc51330819acf08ffee3cc31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812710 | {
"extension": "c-sharp",
"max_stars_count": "539.0",
"max_stars_repo_name": "glenfe/microsoft.bond",
"max_stars_repo_path": "examples/cs/grpc/streaming/StreamingService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131930"
} | starcoder | <gh_stars>100-1000
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Examples.GrpcStreaming
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Bond;
using Bond.Grpc;
... | 2.671194 | 0eea9300a4a577a42d56870238dbd23e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812711 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "n0tic/BotScraperV2",
"max_stars_repo_path": "BotScraperV2/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131931"
} | starcoder | #pragma warning disable IDE0044, IDE0060, IDE0059
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Threading;
namespace BotScraperV2
{
internal class Program
{
//"Loopers"
static bool runMainMenu = true, runWo... | 2.599393 | 305ef5f8cffa2c317c039b7b285da2a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812712 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "thewindev/CryBot",
"max_stars_repo_path": "CryBot.Core/Infrastructure/TradingExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131932"
} | starcoder | <reponame>thewindev/CryBot
using Bittrex.Net.Objects;
using CryBot.Core.Trader;
using CryBot.Core.Exchange.Models;
using System;
namespace CryBot.Core.Infrastructure
{
public static class TradingExtensions
{
public static CoinBalance ConvertToCoinBalance(this BittrexBalance bittrexBalance)
... | 2.421171 | e87b33f49bb290b27ef8db5ab64e8b7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812713 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "UniverseRealms/LOE-V6-SERVER",
"max_stars_repo_path": "gameserver/realm/TradeManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131933"
} | starcoder | #region
using log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using LoESoft.GameServer.networking.incoming;
using LoESoft.GameServer.networking.outgoing;
using LoESoft.GameServer.realm.entity.player;
#endregion
namespace LoESoft.GameServer.realm
{
public class TradeManager
{
... | 2.062861 | 9e67f59de788825ecea2bc42087209c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812714 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "manprit-sahota/shipmanagement",
"max_stars_repo_path": "webservice/Shipmanagement.ViewModels/AddEditShipViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131934"
} | starcoder | <reponame>manprit-sahota/shipmanagement
using System;
using System.Collections.Generic;
using System.Text;
namespace Shipmanagement.ViewModels
{
public class AddEditShipViewModel
{
public Guid Id { get; set; }
public string Name { get; set; }
public string Code { get; set; }
pu... | 1.397449 | 406b7d705c2c872763f642b38f4bbf27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812715 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "DiskRP-Swagger/azure-sdk-for-net",
"max_stars_repo_path": "sdk/cognitivelanguage/Azure.AI.Language.QuestionAnswering/src/QuestionAnsweringClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131935"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Core.Pipeline;
namespace Azure.AI.Language.QuestionAnswering
{
/// <summary>
/// T... | 2.437909 | a973da1b7cf2dbfae931aab6348aa718 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812716 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "bytewizer/microserver",
"max_stars_repo_path": "src/Bytewizer.TinyCLR.Hosting/Hosting/Internal/Host.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131936"
} | starcoder | <filename>src/Bytewizer.TinyCLR.Hosting/Hosting/Internal/Host.cs
using System;
using System.Threading;
using System.Collections;
using Bytewizer.TinyCLR.Logging;
using System.Text;
namespace Bytewizer.TinyCLR.Hosting.Internal
{
internal class Host : IHost, IDisposable
{
private readonly ILogger _logg... | 2.514038 | 30d7158636061ffb9aa139c7cdd68896 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812717 | {
"extension": "c-sharp",
"max_stars_count": "65.0",
"max_stars_repo_name": "pascalberger/breeze.js.samples",
"max_stars_repo_path": "net/CarBones/CarBones/Models/Option.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131937"
} | starcoder | <reponame>pascalberger/breeze.js.samples
namespace CarBones.Models
{
public class Option
{
public int Id { get; set; }
public string Name { get; set; }
public int CarId { get; set; }
public Car Car { get; set; }
}
} | 1.641077 | a1799b3ebb0a485e6a1d4569b05d2300 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.