added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831612 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "djsteinmetz/headstart",
"max_stars_repo_path": "src/Middleware/src/Headstart.API/Controllers/NotificationController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150832"
} | starcoder | using System.Threading.Tasks;
using Headstart.API.Commands;
using Headstart.API.Controllers;
using Headstart.Common.Services.CMS.Models;
using Headstart.Models;
using Microsoft.AspNetCore.Mvc;
using ordercloud.integrations.library;
using OrderCloud.SDK;
namespace Headstart.Common.Controllers
{
[DocComments("Notifica... | 1.617655 | 0d1b032427801fa9b113020701d9028b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831613 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mbrenn/datenmeister-new",
"max_stars_repo_path": "src/Tests/DatenMeister.Tests/Integration/ScopeStorageTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150833"
} | starcoder | <filename>src/Tests/DatenMeister.Tests/Integration/ScopeStorageTests.cs
using System.Drawing;
using DatenMeister.Core;
using DatenMeister.DependencyInjection;
using DatenMeister.Provider.CSV;
using NUnit.Framework;
namespace DatenMeister.Tests.Integration
{
[TestFixture]
public class ScopeStorageTests
{
... | 2.374835 | afda24befba5ab05c96182fe79e69df9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831614 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "xCONFLiCTiONx/XtendedMenu",
"max_stars_repo_path": "IconPack/Utility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150834"
} | starcoder | using System;
using System.IO;
using System.Runtime.InteropServices;
namespace TAFactory.Utilities
{
/// <summary>
/// Holds a set of utilities.
/// </summary>
public static class Utility
{
#region Stream Utilities
/// <summary>
/// Reads a structure of type T from the input... | 3.341675 | 75f3a5130f51754c2a9ec85a4f9f5f5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831615 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Thecentury/SharpLearning",
"max_stars_repo_path": "src/SharpLearning.Neural/Activations/IActivation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150835"
} | starcoder | using MathNet.Numerics.LinearAlgebra;
namespace SharpLearning.Neural.Activations
{
/// <summary>
/// Neural net activiation interface
/// </summary>
public interface IActivation
{
/// <summary>
/// Calcualtes the activation and stores the result in x
/// </summary>
... | 2.762042 | 90834ff4af9324c2b93c2feed28073bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831616 | {
"extension": "c-sharp",
"max_stars_count": "403.0",
"max_stars_repo_name": "samruddhikhandale/Oryx",
"max_stars_repo_path": "tests/BuildScriptGenerator.Common.Tests/VersionInfoTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150836"
} | starcoder | <filename>tests/BuildScriptGenerator.Common.Tests/VersionInfoTest.cs
// --------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
// ----------------------------------------------------... | 2.051709 | 526f8ef8007b17f330d90db5513fc49e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831617 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CefNet/crdtp",
"max_stars_repo_path": "src/Tools/Xilium.Crdtp.CSharp.Syntax/Unit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150837"
} | starcoder | <filename>src/Tools/Xilium.Crdtp.CSharp.Syntax/Unit.cs
namespace Xilium.Chromium.DevTools.Syntax
{
using System.Collections.Generic;
public sealed class Unit : SyntaxObject
{
public Unit(
IEnumerable<SyntaxObject> members
)
{
Members = members.... | 2.29087 | e19957ea45776e489b20ee59d1dba2a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831618 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lurienanofab/labels",
"max_stars_repo_path": "Labels/Controllers/ChemicalsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150838"
} | starcoder | <filename>Labels/Controllers/ChemicalsController.cs
using Labels.Models;
using LNF.Cache;
using LNF.Models.Data;
using LNF.Repository;
using LNF.Repository.Inventory;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
using System.Web.Mvc;
using System.Xml.Linq;
namespace Labels... | 2.143546 | b286dbe081ca7ac93a8daa717471da78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831619 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "claudioct/moovies",
"max_stars_repo_path": "Moovies/Services/OmdbApiService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150839"
} | starcoder | <filename>Moovies/Services/OmdbApiService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Moovies.Services
{
public class OmdbApiService
{
}
} | 1.299207 | 14d7943d7066ada5cd68153020707232 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831620 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "arqueror/eliteK",
"max_stars_repo_path": "src/Forms/eliteKit_Src/eliteElements/eliteColorCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150840"
} | starcoder | using eliteKit.eliteEnums;
using SkiaSharp;
using SkiaSharp.Views.Forms;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Windows.Input;
using Xamarin.Forms;
#pragma warning disable ALL
namespace eliteKit.eliteElements
{
/// <summary>
/// EliteColorCollection ... | 2.466772 | f5511f6b6590c4efcd5ca1c5b205a3ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831621 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Anupam-/fubumvc-contrib",
"max_stars_repo_path": "Addons/FubuMVC.Validation/src/CommonAssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150841"
} | starcoder |
using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCopyrightAttribute("Copyright 2008 <NAME>, <NAME>, <NAME>, <NAME>, et al. All rights reserved.")]
[assembly: AssemblyVersionAttribute("0.1.0.0")]
[assembly: AssemblyInformationalVersionAttribute("0.1.0.0")]
[assemb... | 1.127853 | b17d4cc111d5550af8f5744fdbafdf20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831622 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KredikShaw/CourseSystem",
"max_stars_repo_path": "Services/CourseSystem.Services.Data/UsersLessonsService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150842"
} | starcoder | namespace CourseSystem.Services.Data
{
using System.Collections.Generic;
using System.Linq;
using CourseSystem.Data.Common.Repositories;
using CourseSystem.Data.Models;
public class UsersLessonsService : IUsersLessonsService
{
private readonly IRepository<UserLesson> userLessonReposit... | 2.433834 | 4fa9358fcc5d867c8bd409dde17864a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831623 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yasintuncel/BTO-Client-Unity",
"max_stars_repo_path": "Assets/Scripts/Managers/ScreenManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150843"
} | starcoder | <gh_stars>0
// created by yasintuncel
using System;
using UnityEngine;
namespace BattleTacticsOnline.Managers
{
public enum ScreenTypes
{
NONE,
LOGIN,
LOADING,
HOME
}
[Serializable]
public class ScreenObject
{
public ScreenTypes screenType;
publ... | 2.185763 | c06ad235be4164e147ab8b7fef7a5ae9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831624 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dance2die/Project.MyAnimeList",
"max_stars_repo_path": "Project.MyAnimeList/Project.MyAnimeList/Enums/Priority.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150844"
} | starcoder | <gh_stars>1-10
namespace MyAnimeListSharp.Enums
{
/// <summary>
/// Priority values for Anime/Manga values.
/// </summary>
/// <remarks>
/// Test manually against MyAnimeValue.net web api.
/// This is not documented.
/// </remarks>
public enum Priority
{
Undefined... | 1.928315 | 524426f5175a929b46b2c29214603e37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831625 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "danstoyanov/CSharp-OOP",
"max_stars_repo_path": "Unit Testing/Unit Testing Exercise Problems/Database.Tests/DatabaseTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150845"
} | starcoder | <reponame>danstoyanov/CSharp-OOP
using NUnit.Framework;
namespace Tests
{
[TestFixture]
public class DatabaseTests
{
private readonly int[] array = new int[16];
private Database.Database data;
[SetUp]
public void Setup()
{
this.data = new Database.Databa... | 2.930851 | d6848e58ff44039c4ea360c64b08c83a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831626 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "trile127/CEX-NET",
"max_stars_repo_path": "CEX Library/Legacy/Fusion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150846"
} | starcoder | <filename>CEX Library/Legacy/Fusion.cs
#region Directives
using System;
using System.ComponentModel;
using VTDev.Libraries.CEXEngine.Crypto.Common;
using VTDev.Libraries.CEXEngine.Crypto.Digest;
using VTDev.Libraries.CEXEngine.Crypto.Enumeration;
using VTDev.Libraries.CEXEngine.Crypto.Generator;
using VTDev.Libraries.... | 2.03928 | b1fcc984715ff9fdb821d8638e2869ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831627 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-commitments",
"max_stars_repo_path": "src/SFA.DAS.Commitments.Api/Controllers/TransferController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150847"
} | starcoder | using System;
using System.Threading.Tasks;
using System.Web.Http;
using SFA.DAS.Commitments.Api.Orchestrators;
using SFA.DAS.Commitments.Api.Types.Commitment;
using SFA.DAS.Commitments.Domain;
using SFA.DAS.Commitments.Infrastructure.Authorization;
namespace SFA.DAS.Commitments.Api.Controllers
{
[RoutePrefix("ap... | 1.693268 | ddb6374359cecba4d81598a90815a7a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831628 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RolandoMagico/ESP32NodeMCU",
"max_stars_repo_path": "Source/Display/Fonts/IPixelFont.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150848"
} | starcoder | <filename>Source/Display/Fonts/IPixelFont.cs
// <copyright file="IPixelFont.cs" company="RolandoMagico">
// MIT License
//
// Copyright (c) 2020 by RolandoMagico
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), t... | 2.731449 | 44b4c3dbd149ee7a216f1226a4106052 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831629 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "neocra/Neocra.Markgen",
"max_stars_repo_path": "Neocra.Markgen/Domain/Markdig/RapidocConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150849"
} | starcoder | <filename>Neocra.Markgen/Domain/Markdig/RapidocConfig.cs
namespace Neocra.Markgen.Domain.Markdig;
public class RapidocConfig
{
public string? SpecUrl { get; set; }
public string? MatchPaths { get; set; }
public string? PathsExpanded { get; set; }
public string? MatchType { get; set; }
public string... | 1.359354 | 79ae55729bc470cb5641cb8cdfa37ea3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831630 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mikebluestein/learning_monotouch_code",
"max_stars_repo_path": "ch5/LMT5-1/LMT5-1/Main.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150850"
} | starcoder |
using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace LMT51
{
public class Application
{
static void Main (string[] args)
{
UIApplication.Main (args);
}
}
// The name AppDelegate is reference... | 2.144771 | d95a3491ab4fb20b199742041284d9e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831631 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Morgawr/Midi-Scale-Enforcer",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150851"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using NAudio.Midi;
namespace Midi_Scale_Enforcer {
public static class Scale {
#region scales
// Taken from Overtone scale list :) Thanks overtone!
// https://github.com/overtone/overtone/bl... | 2.167392 | 25dc6c7dff6142849807963aa77a0adc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831632 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "EarthCompass/BiliCommenter",
"max_stars_repo_path": "BiliCommenter.Console/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150852"
} | starcoder | <reponame>EarthCompass/BiliCommenter<gh_stars>10-100
using BiliCommenter.Core;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.IO;
namespace BiliCommenter.Console
{
class Program
{
static void Main(string[] args)
{
if (!File.Exists("tasks.json"))
... | 2.367866 | ca114e1de2e41a5e966883ffe92ee909 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831633 | {
"extension": "c-sharp",
"max_stars_count": "544.0",
"max_stars_repo_name": "workgroupengineering/NetOffice",
"max_stars_repo_path": "Source/Excel/DispatchInterfaces/DataLabels.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150853"
} | starcoder | <filename>Source/Excel/DispatchInterfaces/DataLabels.cs<gh_stars>100-1000
using System.Collections;
using System.Collections.Generic;
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
using NetOffice.CollectionsGeneric;
namespace NetOffice.ExcelApi
{
/// <summary... | 1.380875 | fbd4b38c69b6808ee7faa5c25e22a3f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jaffe1337/Frost",
"max_stars_repo_path": "Frost/Merge.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150854"
} | starcoder | // Frost Library
//
// A random world generation library for Unity.
// Authors: <NAME> & <NAME>
// Date: Spring 2022
using System;
using System.Collections.Generic;
using System.Text;
namespace Frost
{
/// <summary>
/// Handles merging of tiles/biomes after generation so that one biome don't just cut right ... | 3.027274 | 57f05ac06847614cddb2df69d092aa6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831635 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "onovotny/AppCenter-SDK-DotNet",
"max_stars_repo_path": "Tests/Microsoft.AppCenter.NET/DeviceInformationHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150855"
} | starcoder | <gh_stars>0
using System;
namespace Microsoft.AppCenter.Utils
{
public class DeviceInformationHelper : AbstractDeviceInformationHelper
{
private const string DefaultValue = "default";
public static event EventHandler InformationInvalidated;
protected override string GetSdkName()
... | 1.920657 | 684a887ddc8fe10207e41eb1d83f9e6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831636 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SharpCloud/FileSynchronizer",
"max_stars_repo_path": "FileSynchronizer/Services/DirectoryDiffService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150856"
} | starcoder | using FileSynchronizer.Models;
using Newtonsoft.Json;
using System.IO;
using System.Linq;
namespace FileSynchronizer.Services
{
public class DirectoryDiffService
{
private const string LastRunDataFileName = "file_synchronizer_last_run.txt";
private readonly IFileListDiffService _fileListDiffS... | 2.715458 | a5510dd443112701e1390c401ce2369c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831637 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cheng219/tianyu",
"max_stars_repo_path": "Assets/Scripts/Model/ToolTipMng.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150857"
} | starcoder | //==============================
//作者:吴江
//日期:2015/6/16
//用途:信息展示管理类
//================================
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// 信息展示管理类 by吴江
/// </summary>
public class ToolTipMng {
/// <summary>
/// 展示类型 by吴江
/// </summary>
... | 2.056817 | bc9a2aa0c838077609a9aa23fd82be07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831638 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tigeryzx/MediaShare",
"max_stars_repo_path": "aspnet-core/src/MediaShare.Core/Media/ResDir.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150858"
} | starcoder | using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace MediaShare.Media
{
public class ResDir :Entity
{
public string DirName { get; set; }
}
}
| 1.56981 | 0f322d36385f7564e272f008d9a0724e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831639 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "twsouthwick/poshgit2",
"max_stars_repo_path": "src/PoshGit2/Status/UpdateableRepositoryStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150859"
} | starcoder | using LibGit2Sharp;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace PoshGit2
{
public sealed class UpdateableRepositoryStatus : IDisposable, IRepositoryStatus
{
pr... | 2.619787 | 4f3421f5863f5cf63731b0c6c2602d4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831640 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adnang/pulumi-azure",
"max_stars_repo_path": "sdk/dotnet/Storage/Outputs/GetPolicyRuleActionSnapshotResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150860"
} | starcoder | <reponame>adnang/pulumi-azure
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
usin... | 1.234713 | 6dcbca9b720b4e989123b455e510b18b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831641 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "a975409/todo",
"max_stars_repo_path": "Todo/Dto/TodoListPutDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150861"
} | starcoder | <gh_stars>0
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Todo.ValidationAttributes;
namespace Todo.Dto
{
public class TodoListPutDto
{
public string Name { get; set; }
public bool? Enable { get; set; }
... | 1.319232 | 98fa00bdb04019f213f40be69ce59159 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831642 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "4-Roads/FourRoads.Common",
"max_stars_repo_path": "src/tests/FourRoads.Common.Web.Tests/MockCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150862"
} | starcoder | <filename>src/tests/FourRoads.Common.Web.Tests/MockCache.cs
using System;
using System.Web;
using System.Web.Caching;
using FourRoads.Common.Interfaces;
namespace FourRoads.Common.Web.Tests
{
public class MockCache : ICache
{
private readonly Cache _cache = HttpRuntime.Cache;
public void Inser... | 2.469593 | 19847c2f90647141c1ed1e0e3fd5c7dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831643 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PaulBraetz/CitizenBank",
"max_stars_repo_path": "CBApplication/Services/Abstractions/IEventfulTransactionService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150863"
} | starcoder |
using CBData.Abstractions;
using CBData.Entities;
using PBApplication.Events;
using PBApplication.Services.Abstractions;
using System;
using System.Collections.Generic;
using static CBCommon.Enums.CitizenBankEnums;
namespace CBApplication.Services.Abstractions
{
public interface IEventfulTransactionService : IT... | 1.611213 | 0ccee9fe2fb182a81b67ad4b9f7d4d4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831644 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maskx/OrchestrationService",
"max_stars_repo_path": "src/OrchestrationService/NameVersionDICreator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150864"
} | starcoder | using System;
namespace maskx.OrchestrationService
{
public class NameVersionDICreator<T> : DICreator<T>
{
public NameVersionDICreator(IServiceProvider serviceProvider, string name, string version, Type type) : base(serviceProvider, type)
{
this.Name = name;
this.Versio... | 1.867244 | ef186de13259a611bc0d4a9b5deff55a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831645 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IceRaptor/FieldRepairs",
"max_stars_repo_path": "FieldRepairs/FieldRepairs/Patches/AbstractActorPatches.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150865"
} | starcoder | using BattleTech;
using Harmony;
using System.Collections.Generic;
namespace FieldRepairs.Patches {
//[HarmonyPatch(typeof(AbstractActor), "CreateSpawnEffectByTag")]
//public static class AbstractActor_CreateSpawnEffectByTag {
// public static void Prefix(AbstractActor __instance) {
// Mod.L... | 2.311315 | 4eeb8793421a8950bf6082d8ad3ec6d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831646 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alsami/Autofac.Extras.AttributeMetadata",
"max_stars_repo_path": "test/Autofac.Extras.AttributeMetadata.Test/ScenarioTypes/CombinationalWeakTypedAttributeScenario/CombinationalWeakTypedScenario.cs",
"provenance": "train-00027-of-00045... | starcoder | <reponame>alsami/Autofac.Extras.AttributeMetadata<gh_stars>0
using System;
namespace Autofac.Extras.AttributeMetadata.Test.ScenarioTypes.CombinationalWeakTypedAttributeScenario
{
[CombinationalWeakNameMetadata("Hello")]
[CombinationalWeakAgeMetadata(42)]
public class CombinationalWeakTypedScenario : IComb... | 1.352523 | 586eb883b1c91291ca334744880319d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831647 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TelAPI/telapi-dotnet",
"max_stars_repo_path": "library/TelAPI.InboundXML/Element/Sip.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150867"
} | starcoder | <filename>library/TelAPI.InboundXML/Element/Sip.cs<gh_stars>0
using System;
using System.Collections.Generic;
using YAXLib;
using TelAPI.InboundXML.Enum;
namespace TelAPI.InboundXML.Element
{
[YAXSerializeAs("Sip")]
public class Sip : DialElement
{
[YAXValueForClass]
public st... | 2.791976 | f555b33a6696013303c4cc254897125f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831648 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Pentan/ResolutionFreeImage-Unity",
"max_stars_repo_path": "ResolutionFreeImage/Assets/Editor/FragmentPatternUIShaderEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150868"
} | starcoder | <gh_stars>10-100
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace ResFreeImage.UI {
public class FragmentPatternUIShaderEditor : ShaderGUI
{
private struct PatternSpec {
public string name;
public bool useCo... | 1.964349 | d2fb512429d3b145bdf4adb1dbdeabf3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831649 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NoNameSet/RPH.Utilities",
"max_stars_repo_path": "RPH.Utilities.Physics/Particle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150869"
} | starcoder | <gh_stars>1-10
namespace RPH.Utilities.Physics
{
// RPH
using Rage;
public class Particle : IPhysicsObject
{
public float Mass { get; set; }
private Vector3 position, pinPosition/*or offset if pinEntity exists*/;
private Entity pinEntity;
public Vector3 Position { get ... | 2.279359 | fd04e15c90843e58674d6b67f20944ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831650 | {
"extension": "c-sharp",
"max_stars_count": "201.0",
"max_stars_repo_name": "Xuntar/Blazor.Diagrams",
"max_stars_repo_path": "src/Blazor.Diagrams.Core/Geometry/IShape.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150870"
} | starcoder | using System.Collections.Generic;
namespace Blazor.Diagrams.Core.Geometry
{
public interface IShape
{
public IEnumerable<Point> GetIntersectionsWithLine(Line line);
}
}
| 1.927892 | c9359870e08ee68f5e7e575e47de3595 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831651 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rodolfograve/EventStore",
"max_stars_repo_path": "src/EventStore.Core.Tests/Index/Index64Bit/when_opening_ptable_without_right_flag_in_header.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150871"
} | starcoder | using EventStore.Core.Index;
using NUnit.Framework;
namespace EventStore.Core.Tests.Index.Index64Bit
{
[TestFixture]
public class when_opening_ptable_without_right_flag_in_header: Index32Bit.when_opening_ptable_without_right_flag_in_header
{
public when_opening_ptable_without_right_flag_in_header()... | 1.514979 | c0458fe15e601e57d3221b69e894da4e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831652 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "stoyanovmiroslav/CSharp-DB-Fundamentals-SoftUni",
"max_stars_repo_path": "Databases Advanced/DB Advanced Exam - 06.10.2017/Instagraph.DataProcessor/Serializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150872"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using Instagraph.Data;
using Instagraph.DataProcessor.Dtos.Export;
using Instagraph.Models;
using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
namespace Instagraph.DataProcessor
{
public class Serializer
... | 2.444824 | 915d5ac67ebbc8cffd693c03be8718c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hermes-jr/stankin-csharp-excercises",
"max_stars_repo_path": "num25/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150873"
} | starcoder | <reponame>hermes-jr/stankin-csharp-excercises
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace conapp_test
{
// Константы для удобства (вместо #define в Си)
class Constants
{
// Для классов
public const ushort MAX_RND = 4;
// Для задачи
public const ushort M... | 3.452622 | 23282dcf54e4a5154a7a7da3c3bb0d58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831654 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Creative-Safety-Supply/NounSharp",
"max_stars_repo_path": "src/NounSharp/NounSharp.Test/NounProjectServiceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150874"
} | starcoder | using Moq;
using System.Threading.Tasks;
using Xunit;
namespace NounSharp.Test
{
public class NounProjectServiceTests
{
[Fact]
public void CanCreateNounServiceWithoutApiKey()
{
// Arrange
INounProjectService target;
// Act
target = new N... | 2.223458 | c9705a075b8b0ebd4452bb1bf843c8f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831655 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stianleroux/.NET-CleanArchitecture",
"max_stars_repo_path": "CleanArchitecture.Common/Logging/Logging.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150875"
} | starcoder | <filename>CleanArchitecture.Common/Logging/Logging.cs
namespace CleanArchitecture.Common.Logging
{
using System;
using System.Text.Json;
using Serilog;
public static class Logging
{
public static void LogInfo(string name, object data)
{
Setup();
Log.Informat... | 2.918136 | 8c4e05ead0668b6efff78c24cc7aa161 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831656 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Martinus-1453/NWN.FinalFantasy",
"max_stars_repo_path": "NWN.FinalFantasy/Core/NWScript/Enum/StandardFaction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150876"
} | starcoder | <filename>NWN.FinalFantasy/Core/NWScript/Enum/StandardFaction.cs
namespace NWN.FinalFantasy.Core.NWScript.Enum
{
public enum StandardFaction
{
Hostile,
Commoner,
Merchant,
Defender
}
} | 1.518032 | 07d5aa0491b436d8457cb565e41c8490 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831657 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "re-al-7/ReAl.Lumino.Encuestas",
"max_stars_repo_path": "ReAl.Lumino.Encuestas/Controllers/SegUsuariosRestriccionController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150877"
} | starcoder | <reponame>re-al-7/ReAl.Lumino.Encuestas
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authorization;
using Microsoft.A... | 1.955957 | 714d7be57f79e3c2c4a123d0da2faf12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831658 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hellocrex/KrakenApi",
"max_stars_repo_path": "PoissonSoft.KrakenApi/Contracts/Filters/SymbolFilterType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150878"
} | starcoder | <reponame>hellocrex/KrakenApi
using System.Runtime.Serialization;
namespace PoissonSoft.KrakenApi.Contracts.Filters
{
/// <summary>
/// Типы фильтров для торговых инструментов
/// https://binance-docs.github.io/apidocs/spot/en/#filters
/// </summary>
public enum SymbolFilterType
{
///... | 2.150772 | d53705fe4e0fab0ed635c345dd1230ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831659 | {
"extension": "c-sharp",
"max_stars_count": "227.0",
"max_stars_repo_name": "ckalvin-hub/Sheng.Winform.IDE",
"max_stars_repo_path": "SourceCode/Source/EnterpriseLibrary/Common/Src/Instrumentation/EnterpriseLibraryPerformanceCounter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150879"
} | starcoder | /*********************************************
作者:曹旭升
QQ:279060597
访问博客了解详细介绍及更多内容:
http://blog.shengxunwei.com
**********************************************/
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
namespace Microsoft.Practices.E... | 2.548065 | 3f146f8a3345a4d5f05aef231a014a2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831660 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "meda22/CitiesSkylines-Ragnarok",
"max_stars_repo_path": "Ragnarok/Model/DisasterInfoNames.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150880"
} | starcoder | namespace SexyFishHorse.CitiesSkylines.Ragnarok.Model
{
public static class DisasterInfoNames
{
public const string Chirpynado = "Chirpynado";
public const string Earthquake = "Earthquake";
public const string ForestFire = "Forest Fire";
public const string GenericFlood = "Ge... | 1.542212 | 1ab9e9b6947fd2d6ab9bd6ab4f0e3128 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831661 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "liyanjie8712/SignalApi",
"max_stars_repo_path": "src/Liyanjie.SignalApi.Common/IApiClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150881"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
namespace Liyanjie.SignalApi.Common
{
public interface IApiClient
{
Task Trace(string message);
Task Handle(SignalResult result);
Task Error(string message, int code = 0, IDictionary<string, string[]> errors = null);
}... | 1.75141 | ab1ab2c46e6e6e41fd00757ba2d354dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831662 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FalconWu2017/Swashbuckle.AspNetCore",
"max_stars_repo_path": "test/Swashbuckle.AspNetCore.SwaggerGen.Test/Fixtures/Fakes/FakeConstructedControllerWithXmlComments.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150882"
} | starcoder | namespace Swashbuckle.AspNetCore.SwaggerGen.Test
{
public class FakeConstructedControllerWithXmlComments : FakeGenericControllerWithXmlComments<string>
{ }
public class FakeGenericControllerWithXmlComments<T>
{
/// <summary>
/// Summary for ActionWithGenericTypeParameter
/// </... | 2.090551 | be91feb4a3d403956a615187fb032f0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831663 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "coffeelabor/CIS174_Reed_James",
"max_stars_repo_path": "Ch03Ex1FutureValue/FutureValue/Controllers/HomeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150883"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using FutureValue.Models;
namespace FutureValue.Controllers
{
public class HomeController : Controller
{
[HttpGet]
public IActionResult Index()
{
ViewBag.FutureValue = "";
return View();
}
[HttpPost]
publi... | 2.517668 | fef1384530d085a207c4786981e509f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831664 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cbojar/gtksharpcalculator",
"max_stars_repo_path": "src/UI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150884"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using Gtk;
using Pango;
public class UI
{
private static readonly Regex VALID_COMPUTATION = new Regex(@"^\-?\d+(\.\d+)?( [\+\-\*/] \-?\d+(\.\d+)?)*$");
private const uint BUTTONS_WIDE = 4;
private const uint BUTT... | 2.512607 | 9dffc5c38090c7e4d81fc8e642f5ef26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831665 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ConstantineMarkov/DataStructuresAndAlgorithms",
"max_stars_repo_path": "Trees/Tree.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150885"
} | starcoder | <reponame>ConstantineMarkov/DataStructuresAndAlgorithms
using System;
using System.Collections.Generic;
using System.Text;
namespace Trees
{
public class Tree<T>
{
public TreeNode<T> Root { get; set; }
}
}
| 1.930179 | 0445348872b8e561832c959272bbcb75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831666 | {
"extension": "c-sharp",
"max_stars_count": "629.0",
"max_stars_repo_name": "Sreejithpin/odata.net",
"max_stars_repo_path": "test/FunctionalTests/Taupo/Source/Taupo/EntityModel/Edm/InternalExtensionMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150886"
} | starcoder | <reponame>Sreejithpin/odata.net
//---------------------------------------------------------------------
// <copyright file="InternalExtensionMethods.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>... | 2.632102 | 853d3a7cc97fa6d2958ef32c39440447 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831667 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lneninger/quickbookdestop-integrator",
"max_stars_repo_path": "src/solution/ApplicationLogic/Commands/QuickbooksIntegrator/SyncInventoryItems/ISyncInventoryItemsCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150887"
} | starcoder | using ApplicationLogic.Commands.QuickbooksIntegrator.GetInventoryItems.Models;
using Framework.Core.Messages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ApplicationLogic.Commands.QuickbooksIntegrator.SyncInventoryItems
{
public int... | 1.166503 | aa3539c713e507ba487b61f960fbaf48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831668 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Flynt56/not-steam",
"max_stars_repo_path": "src/NotSteam.Core/Requests/GameTagPaginationRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150888"
} | starcoder | <reponame>Flynt56/not-steam
using System.Linq;
using NotSteam.Core.ViewModels.GameTags;
using NotSteam.Shared.Pagination;
namespace NotSteam.Core.Requests
{
public class GameTagPaginationRequest : AbstractPagingRequest<GameTagsList>
{
private const string ValidOrderByValues = "game,tag";
publ... | 2.540627 | 42986fd0e07b47ec5407b5242e084718 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831669 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marxjmoura/dev-netcore",
"max_stars_repo_path": "src/Developing.Tests/Functional/Brands/DeleteBrandTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150889"
} | starcoder | using System.Net;
using System.Threading.Tasks;
using Developing.API.Authorization;
using Developing.API.Infrastructure.Database.DataModel.Brands;
using Developing.API.Infrastructure.Database.DataModel.Models;
using Developing.API.Models;
using Developing.Tests.Factories.Brands;
using Developing.Tests.Factories.Models;... | 2.176674 | 27f365611ee6a00443362b09c2345213 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831670 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GregAskew/Countries",
"max_stars_repo_path": "DomainModel.Tests/CountryInfoTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150890"
} | starcoder | namespace Countries.DomainModel.Tests {
#region Usings
using Extensions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Core.Objects.DataClasses;
using System.Data.SqlClient;
usi... | 2.528415 | a02ecb04d59ae9c6e04d06224e5ffe45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831671 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rpinski/taskington",
"max_stars_repo_path": "Taskington.Gui.Extension/NewStepTemplate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150891"
} | starcoder | <gh_stars>0
using System;
using Taskington.Base.Steps;
namespace Taskington.Gui.Extension
{
public class NewStepTemplate
{
public string? Icon { get; set; }
public string? Caption { get; set; }
public Func<PlanStep>? Creator { get; set; }
}
}
| 1.034621 | 286873775f877c3285cfa31b08922ac5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831672 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Meowmaritus/FlverMaterialStudio",
"max_stars_repo_path": "FlverMaterialStudio/SFHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150892"
} | starcoder | using SoulsFormats;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace FlverMaterialStudio
{
public static class SFHelper
{
private static readonly char[] _dirSep = new char[] { '\\', '/' ... | 2.741996 | 792f2260539ae3d472f83f1f1b5a046a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831673 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GenesisGateway/genesis_dotnet",
"max_stars_repo_path": "Genesis.NET/Entities/Requests/Referential/Refund.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150893"
} | starcoder | using System;
using System.Linq;
using System.Xml.Serialization;
namespace Genesis.Net.Entities.Requests.Referential
{
[XmlRoot("payment_transaction", Namespace = "Refund")]
public class Refund : QuantitativeReferentialRequest
{
public Refund()
{
Type = TransactionTypes.Refund;... | 1.781539 | 5ef9ae8471c131b5cd2f7cc19164ef59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831674 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shuvo0057/Simple2D",
"max_stars_repo_path": "Assets/Scripts/characterControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150894"
} | starcoder | <filename>Assets/Scripts/characterControl.cs
using UnityEngine;
public class characterControl : MonoBehaviour
{
private Rigidbody2D rb;
public float speed;
private float moveInput;
private bool isGrounded;
public Transform feetPos;
public float checkRadius;
public LayerMask whatI... | 2.321369 | a4135b3229ca036dd646e921da2d0bf7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831675 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "francescorignanese/Nextpath",
"max_stars_repo_path": "DataReader/DataReader/Sensors/VirtualCoordinatesSensor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150895"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataReader.Sensors
{
class VirtualCoordinatesSensor : ICoordinatesSensor, ISensor
{
public void SetCoordinates(double lat, double longit)
{ }
public double Get... | 3.179455 | 696d1d714282c4cda32cd57463a7fcc5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831676 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mihai-MaximFII/DungeonsAndDragons-Online-IP2020-B1",
"max_stars_repo_path": "UnityProject/Assets/Scripts/Lobby/PlayerPanel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150896"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerPanel : MonoBehaviour
{
public Text PlayerNumber;
public Text PlayerLevel;
public Text PlayerName;
public Text PlayerRole;
public Text MuteText;
public LobbyPlayer lobbyPlaye... | 2.493755 | 5e7b5e576cfe96fa8e53aa4e3be3e944 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831677 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "studio752/DayNightTime",
"max_stars_repo_path": "Mod.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150897"
} | starcoder | <reponame>studio752/DayNightTime<filename>Mod.cs
// Main module
using ICities;
namespace DayNightTime
{
public class Mod : IUserMod
{
public string Name => "DayNightTime";
public string Description =>
" Display current time of day/night cycle";
// UI Panel
public s... | 2.131982 | c2d9970831affc7d11b5aeaea5086ce3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831678 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "netmatze/NetML",
"max_stars_repo_path": "NetMLTests/NetMLLanguageTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150898"
} | starcoder | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using netMLLanguage.Parser;
using System.Diagnostics;
using System.Collections.Generic;
namespace NetMLTests
{
[TestClass]
public class NetMLLanguageTests
{
[TestMethod]
public void kNNLanguageTest()
{
... | 2.867391 | 1acff86ee02a20e23972fd9eb6e7c7ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831679 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "etechi/ServiceFramework",
"max_stars_repo_path": "Projects/Server/Sys/SF.Sys.Entities/IEntityExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150899"
} | starcoder | <filename>Projects/Server/Sys/SF.Sys.Entities/IEntityExtension.cs
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2017 <NAME> (<EMAIL>)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
except in compliance with th... | 2.246502 | baac8653b644649fce3ac0b2ab213fb2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831680 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "mutobo/SandboxDatabaseManager",
"max_stars_repo_path": "SandboxDatabaseManager/SandboxDatabaseManager/Models/BackupDatabaseDetails.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150900"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace SandboxDatabaseManager.Models
{
public class BackupDatabaseDetails
{
public string SourceDatabaseServer { get; set; }
public string SourceDatabaseName { ... | 1.9767 | 1f99fad079cfc5fa4154170387dd34b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831681 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "210342/Sound-Processing",
"max_stars_repo_path": "src/SoundManipulation/LinqExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150901"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Linq;
namespace SoundManipulation
{
public static class LinqExtension
{
public static IEnumerable<double> MergeSimilar(this IEnumerable<double> source, double similarityThreshold)
{
List<double> encountered = new List<doub... | 3.091178 | 3f8d93ac22284cbc2b2bb1dfec69d53c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831682 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Roarster/Thrift.Net",
"max_stars_repo_path": "src/Thrift.Net.Compilation/Symbols/Builders/SetTypeBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150902"
} | starcoder | namespace Thrift.Net.Compilation.Symbols.Builders
{
using static Thrift.Net.Antlr.ThriftParser;
/// <summary>
/// Builds <see cref="SetType" /> objects.
/// </summary>
public class SetTypeBuilder : SymbolBuilder<SetTypeContext, SetType, ISymbol, SetTypeBuilder>
{
/// <inheritdoc/>
... | 1.89249 | 28d3f87a570a305b00e1f5d2716617f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831683 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rohanebarrett/funnyaccentscore",
"max_stars_repo_path": "XUnitTestCoreFileSearch/XUnitTestCoreFileSearch/Models/SearchCriteria.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150903"
} | starcoder | using Funny.Accents.Core.FileSearch.Abstractions;
using Funny.Accents.Core.FileSearch.Enum;
namespace XUnitTestCoreFileSearch.Models
{
internal class SearchCriteria : SearchCriteriaBase
{
public SearchCriteria(TimePeriod timePeriod,
int retentionThreshold, bool resetRetentionTimePortion,
... | 1.754978 | 0b98074040873e4e3acbcd239e1d07b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831684 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "canyouseethroughme/blaster",
"max_stars_repo_path": "src/Blaster.WebApi/Features/Capabilities/Models/MessageContractInput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150904"
} | starcoder | <filename>src/Blaster.WebApi/Features/Capabilities/Models/MessageContractInput.cs
namespace Blaster.WebApi.Features.Capabilities.Models
{
public class MessageContractInput
{
public string Description { get; set; }
public string Type { get; set; }
public string Content { get; set; }... | 1.886828 | c31293d076803064ee2400511112a0b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831685 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kenswan/AutomationIoC",
"max_stars_repo_path": "test/integration/Startup/TestSDKStartup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150905"
} | starcoder | <gh_stars>0
using AutomationIoC.Runtime;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace AutomationIoC.Integration.Startup;
public class TestSDKStartup : IIoCStartup
{
public IConfiguration Configuration { get; set; }
public IAutomationEnvironment Automati... | 0.86827 | 40806531607ac22eff494c6e7aeedc8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831686 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "arnovb-github/CmcScriptNet.WPF",
"max_stars_repo_path": "SCide.WPF/Commands/CommenceCommands.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150906"
} | starcoder | <reponame>arnovb-github/CmcScriptNet.WPF
using System.Windows.Input;
namespace SCide.WPF.Commands
{
public static class CommenceCommands
{
public static readonly RoutedUICommand CheckInScript = new RoutedUICommand
(
"Save script (Ctrl+F7)",
"Save",
... | 1.626318 | 3faa9cb1bf3e3ab289c0c1cc3f140243 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831687 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "india-rose/webservice-collection",
"max_stars_repo_path": "WebAPI.Common/Responses/FileDownloadResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150907"
} | starcoder | namespace WebAPI.Common.Responses
{
public class FileDownloadResponse
{
public string FileName { get; set; }
public byte[] Content { get; set; }
}
}
| 1.751299 | 3fc385f14708db2fffbe262d37a37268 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831688 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "MonarchSolutions/Ballance",
"max_stars_repo_path": "Assets/System/Scripts/UI/Core/Controls/I18NText.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150908"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
using Ballance2.Services.I18N;
#if UNITY_EDITOR
using UnityEditor;
#endif
/*
* Copyright(c) 2021 mengyu
*
* 模块名:
* Progress.cs
*
* 用途:
* 一个自动加载I18N字符串的文字组件。
*
* 作者:
* mengyu
*/
namespace Ballance2.UI.Core.Controls
{
/// <summary>
/// 一个自动加载I18N字符串的文字组件。
/// </summ... | 2.136883 | 4644e1de9469b5785c48177ba9acfd5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831689 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "SimonG96/LightweightIocContainer",
"max_stars_repo_path": "LightweightIocContainer/TypeExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150909"
} | starcoder | // Author: <NAME>
// Created: 2019-07-01
// Copyright(c) 2019 SimonG. All Rights Reserved.
using System;
namespace LightweightIocContainer
{
internal static class TypeExtension
{
/// <summary>
/// Returns the default value for a given <see cref="Type"/>
/// </summary>
/// <par... | 2.565533 | 0e03070c07e22f870ef9f0997b98c503 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831690 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "ultraleap/playrecorder",
"max_stars_repo_path": "Scripts/Editor/PlaybackManagerEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150910"
} | starcoder | <filename>Scripts/Editor/PlaybackManagerEditor.cs
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System;
using PlayRecorder.Tools;
namespace PlayRecorder
{
[CustomEditor(typeof(PlaybackManager), true)]
public class PlaybackManagerEditor : Editor
{
private Vector2 _f... | 1.843869 | 1186110ecfcc9bbb3406641cbd9dc8eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831691 | {
"extension": "c-sharp",
"max_stars_count": "1796.0",
"max_stars_repo_name": "jackalstar/Blockchain-game",
"max_stars_repo_path": "Assets/MoralisWeb3ApiSdk/Nethereum/Nethereum.RPC/INetApiService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150911"
} | starcoder | <gh_stars>1000+
using Nethereum.RPC.Net;
namespace Nethereum.RPC
{
public interface INetApiService
{
INetListening Listening { get; }
INetPeerCount PeerCount { get; }
INetVersion Version { get; }
}
} | 1.156189 | fa06c16e4d146b3f9c274de52204468d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831692 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-ILR-1718-ValidationService",
"max_stars_repo_path": "src/ESFA.DC.ILR.ValidationService.Rules/Learner/DateOfBirth/DateOfBirth_07Rule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150912"
} | starcoder | <filename>src/ESFA.DC.ILR.ValidationService.Rules/Learner/DateOfBirth/DateOfBirth_07Rule.cs
using ESFA.DC.ILR.Model.Interface;
using ESFA.DC.ILR.ValidationService.Interface;
using ESFA.DC.ILR.ValidationService.Rules.Abstract;
using ESFA.DC.ILR.ValidationService.Rules.Constants;
using ESFA.DC.ILR.ValidationService.Rule... | 2.151947 | cb7aacb643ed1fa59e9d0af9b1844ef0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831693 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "andrew-hardy/clinical-document-library-dotnet",
"max_stars_repo_path": "src/DigitalHealth.HL7.Common/DataStructure/FC.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150913"
} | starcoder | <gh_stars>10-100
namespace DigitalHealth.HL7.Common.DataStructure
{
/// <summary>
/// The Financial Class assigned to a person.
/// </summary>
public class FC
{
public string FinancialClass;
public TS EffectiveDate;
}
} | 1.595598 | 167c9b97569fbb5df0504ac3293aee23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831694 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dnelly/azure-sdk-for-net",
"max_stars_repo_path": "src/ClientRuntime/Microsoft.Rest.ClientRuntime/Serialization/PolymorphicJsonConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150914"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Reflection;
using Newtonsoft.Json;
namespace Microsoft.Rest.Serialization
{
/// <summary>
/// Base JSON co... | 2.675578 | 1953d1e3876906635d329657a83b8c73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831695 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhaifanhua/ZhaiFanhuaBlog",
"max_stars_repo_path": "ZhaiFanhuaBlog.Framework/ZhaiFanhuaBlog.ViewModels/Response/Enum/ResultCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150915"
} | starcoder | // ----------------------------------------------------------------
// Copyright ©2022 ZhaiFanhua All Rights Reserved.
// FileName:ResultCode
// Guid:ddb456f8-1a70-45ba-b968-397a0691dae4
// Author:zhaifanhua
// Email:<EMAIL>
// CreateTime:2022-05-08 下午 11:41:35
// ------------------------------------------------------... | 2.245387 | dd845869f99f6320bf76636cf2d5e848 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831696 | {
"extension": "c-sharp",
"max_stars_count": "157.0",
"max_stars_repo_name": "mehrdad-shokri/Stove",
"max_stars_repo_path": "src/Stove.NHibernate/NHibernate/StoveNHibernateBootstrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150916"
} | starcoder | using System;
using System.Linq;
using Stove.Bootstrapping;
using Stove.Extensions;
using Stove.NHibernate.Configuration;
using Stove.NHibernate.Interceptors;
namespace Stove.NHibernate
{
[DependsOn(typeof(StoveKernelBootstrapper))]
public class StoveNHibernateBootstrapper : StoveBootstra... | 1.706289 | 343c857637131e2b82d5f224a77cc6ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831697 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MatthiasWald/Backend.Fx",
"max_stars_repo_path": "tests/Backend.Fx.SimpleInjectorDependencyInjection.Tests/DummyImpl/Domain/AnAggregateAuthorization.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150917"
} | starcoder | <gh_stars>0
using Backend.Fx.Patterns.Authorization;
namespace Backend.Fx.SimpleInjectorDependencyInjection.Tests.DummyImpl.Domain
{
public class AnAggregateAuthorization : AllowAll<AnAggregate> { }
}
| 0.830942 | 3b537b87d201f334b957214d9c2f7c05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831698 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "misiek-it/MassTransit",
"max_stars_repo_path": "src/MassTransit/Serialization/StaticHeaders.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150918"
} | starcoder | namespace MassTransit.Serialization
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Messaging;
public class StaticHeaders :
Headers
{
readonly Header[] _headers;
public Stati... | 2.501709 | b1035ccd9c32c862bc9169be65abc47d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831699 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DalSoft/DalSoft.Examples.Selenium.Functional.Tests",
"max_stars_repo_path": "DalSoft.Examples.Selenium.Functional.Tests/PageObjects/SearchResultsPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150919"
} | starcoder | <reponame>DalSoft/DalSoft.Examples.Selenium.Functional.Tests<filename>DalSoft.Examples.Selenium.Functional.Tests/PageObjects/SearchResultsPage.cs
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
namespace DalSoft.Examples.Selenium.Functional.Tests.PageObjects
{
public class SearchResultsPage : Goo... | 2.141838 | 0c97bfeef4c20474c688b1499563c294 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831700 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "sambott/PortableWikiViewer",
"max_stars_repo_path": "src/XZ.Net/Filters/BlockFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150920"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
namespace XZ.Net.Filters
{
public abstract class BlockFilter : ReadOnlyStream
{
public enum FilterTypes : ulong
{
... | 2.31275 | 517b4fc7991e354fddc41d21084f0ecb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831701 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jdaigle/FriendsOfDT",
"max_stars_repo_path": "src/friendsofdt/Views/Shared/CommonFoot.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:150921"
} | starcoder | <gh_stars>1-10
<div class="foot">
@if (ViewBag.CanSeeAdminLink) {
<p><a href="@Url.Action(MVC.Admin.Index())" title="admin">Admin</a></p>
}
<p>© @DateTime.Now.Year Friends Of DramaTech</p>
<p>Contact the <a href="mailto:<EMAIL>">webmaster</a></p>
</div> | 1.737162 | 7d0629c204eb853f259c34fee2eedf5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831702 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "joncloud/rlx-net",
"max_stars_repo_path": "src/Rlx.MvcCore/ErrorNoContentResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150922"
} | starcoder | <reponame>joncloud/rlx-net
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace Rlx.MvcCore
{
class ErrorNoContentResult<T> : StatusCodeResult
{
readonly T _error;
public ErrorNoContentResult(T error, int statusCode) : base(statusCode) =>
_error = error;
... | 1.804257 | 81eb947a6e07739b83d39f56f90f2664 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831703 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "slgrobotics/TrackRoamer",
"max_stars_repo_path": "src/TrackRoamer/TrackRoamerBehaviors/DriveBehaviorServoAndGun.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150923"
} | starcoder | <filename>src/TrackRoamer/TrackRoamerBehaviors/DriveBehaviorServoAndGun.cs
//#define TRACEDEBUG
//#define TRACEDEBUGTICKS
//#define TRACELOG
using System;
using System.Linq;
using System.Collections.Generic;
using Microsoft.Ccr.Core;
using Microsoft.Dss.ServiceModel.DsspServiceBase;
using TrackRoamer.Rob... | 1.982442 | 8d9b8a0822d3b7f4d9e7509011911b99 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831704 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Quali-tv/OrleansDashboard",
"max_stars_repo_path": "Tests/PerformanceTests/DashboardGrainBenchmark.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150924"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using BenchmarkDotNet.Attributes;
using OrleansDashboard.Model;
using OrleansDashboard.Metrics.History;
using System.Collections;
namespace PerformanceTests
{
[ShortRunJob]
[MemoryDiagnoser]
public class DashboardGrainBenchmark
{
... | 2.229186 | bd0ffd83f214bec8993899614fa6a09b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831705 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NathanClouseAX/AAXDataEntityPerfTest",
"max_stars_repo_path": "Projects/AAXDataEntityPerfTest/ConsoleApp1/Connected Services/D365/LedgerJournalLine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150925"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 2.005203 | e45048e52ef47947cf1edb15e1c3fad4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831706 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Derneuca/KitchenPCTeamwork",
"max_stars_repo_path": "KitchenPC/Core/Ingredients/Ingredient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150926"
} | starcoder | namespace KitchenPC.Ingredients
{
using System;
public class Ingredient
{
public Ingredient(Guid id, string name, IngredientMetadata metadata)
{
this.Id = id;
this.Name = name;
this.Metadata = metadata;
}
public Ingredient(G... | 3.00171 | 8428c46a8c51eb406d5db416f4ea94c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831707 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chumak84/html-builder",
"max_stars_repo_path": "EasyGoing.HtmlBuilder/EasyGoing.HtmlBuilder.Tests/DivTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150927"
} | starcoder | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EasyGoing.HtmlBuilder.Tests
{
[TestFixture]
class DivTests
{
[Test]
public void CreateDiv_ToString_ReturnsEmptyTag()
{
Di... | 3.15706 | a6aa1ccdc8fa56b0749de029e144dcc2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831708 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cjaliaga/connectivity-checker",
"max_stars_repo_path": "src/ConnectivityChecker.Core/Providers/AzureStorageConnectionCheckerProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150928"
} | starcoder | <reponame>cjaliaga/connectivity-checker
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using ConnectivityChecker.Contracts;
using ConnectivityChecker.Contracts.Providers;
using Microsoft.WindowsAzure.Storage;
namespace ConnectivityChecker.Core.Providers
{
public class AzureStorageCo... | 2.497601 | abc3d3371bc52330583579d4cecd742e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831709 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Labelix/Labelix",
"max_stars_repo_path": "backend/Labelix-Backend/Labelix.Contracts/Persistence/IAIModelConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150929"
} | starcoder | using System.Collections;
using System.Collections.Generic;
namespace Labelix.Contracts.Persistence
{
public interface IAIModelConfig : IIdentifiable, ICopyable<IAIModelConfig>
{
public string Name { get; set; }
public string DockerImageName { get; set; }
public string Parameter { get;... | 1.570609 | 30fbc47c89795b20310352c0ae1a58e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831710 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Shakartoon/BOUNCE_BACK",
"max_stars_repo_path": "Assets/_Codes/GameManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150930"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameManager : MonoBehaviour {
private AudioSource myAudioSource;
private bool isPaused = false;
private float timeScale;
private InstantiateBeatBall InstantiateBeatBallScript;
// U... | 1.940409 | f346946689abd4cc880ee4a50c6ef670 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831711 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cddldg/dgblog",
"max_stars_repo_path": "src/DG.Blog.Application.Contracts/Wallpaper/Params/QueryWallpapersInput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150931"
} | starcoder | <filename>src/DG.Blog.Application.Contracts/Wallpaper/Params/QueryWallpapersInput.cs
using DG.Blog.Domain.Shared.Enum;
namespace DG.Blog.Application.Contracts.Wallpaper.Params
{
public class QueryWallpapersInput : PagingInput
{
/// <summary>
/// 类型
/// <see cref="WallpaperEnum"/>
... | 1.867418 | 538923da0a6ae9f0556dd045ab07d039 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.