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 | 8813818 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheUnforg1ven/GameStore",
"max_stars_repo_path": "GameStore/Views/Account/ResetPassword.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:133038"
} | starcoder | <filename>GameStore/Views/Account/ResetPassword.cshtml
@model LoginViewModel
<h1>Reset Your Password</h1>
<div class="row justify-content-center align-items-center h-100 loginForm">
<div class="col-md-8 col-md-offset-2">
<form asp-controller="Account" asp-action="ResetPassword" method="post">
... | 2.504647 | dbb05652f2958033aaabcf965fc99d4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813819 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AscenKeeprov/CSharp-OOP-Advanced",
"max_stars_repo_path": "Exercise7-ExamPreparation/TheLastArmy.App/Entities/Missions/Medium.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133039"
} | starcoder | <reponame>AscenKeeprov/CSharp-OOP-Advanced<gh_stars>0
public class Medium : Mission
{
private const string MediumName = "Capturing dangerous criminals";
private const double MediumEnduranceRequired = 50;
private const double MediumWearLevelDecrement = 50;
public override string Name => MediumName;
... | 2.904426 | 72899d356d50e874bc8bc449eda3022c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813820 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "coffeelabor/CIS174_Reed_James",
"max_stars_repo_path": "Ch14Ex1ClassScheduleJames/ClassSchedule/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:133040"
} | starcoder | @using ClassSchedule
@using ClassSchedule.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.758353 | 3dfc0e9bf27e1b9c81c909b761ffe628 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813821 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ekohlenberg/lift",
"max_stars_repo_path": "LiftApp/App_Code/LiftMembershipProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133041"
} | starcoder | using LiftDomain;
using System;
using System.Collections.Generic;
using System.Collections;
using System.Collections.Specialized;
using System.Configuration.Provider;
using System.Security.Cryptography;
using System.Data;
using System.Text;
using System.Web.Hosting;
using System.Web.Security;
namespace ... | 2.11034 | 51a931341c8c4f483e2974da2ad35bb2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813822 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OrangeLV/HoloLensCompanionKit",
"max_stars_repo_path": "SpectatorView/Samples/SharedHolograms/Assets/HoloToolkit/Build/Editor/BuildDeployPortal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133042"
} | starcoder | //
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
//
using UnityEngine;
using System.Collections;
using System.Net;
using System;
using System.IO;
using System.Collections.Generic;
namespace HoloTool... | 2.211238 | 38dd9694e4fa1fbcf5c73cdcd8be4632 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813823 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jensoleg/aspnet5-angular2-typescript",
"max_stars_repo_path": "src/PhotoGallery/Infrastructure/Core/StatusCodeResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133043"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PhotoGallery.Infrastructure.Core
{
public class StatusCodeResult
{
private int _status;
private string _message;
public int Status {
get
{
... | 2.69929 | ff6cdc85f82ead1919f43a22ef8f971b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813824 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bgorven/NJsonSchema",
"max_stars_repo_path": "src/NJsonSchema.Tests/Generation/XmlDocTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133044"
} | starcoder | using System.Linq;
using System.Threading.Tasks;
using NJsonSchema.Infrastructure;
using Xunit;
namespace NJsonSchema.Tests.Generation
{
public class XmlDocTests
{
public class WithComplexXmlDoc
{
/// <summary>
/// Query and manages users.
///
... | 2.859241 | ec520b8d1927c7b623ca556dfa5b2596 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813825 | {
"extension": "c-sharp",
"max_stars_count": "159.0",
"max_stars_repo_name": "rsdn/nitra",
"max_stars_repo_path": "Ide/NitraCommonVSIX/Utils/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133045"
} | starcoder | <filename>Ide/NitraCommonVSIX/Utils/Constants.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.Text.Tagging;
namespace Nitra.VisualStudio
{
internal static class Constants
{
public const string Outlin... | 1.356144 | 6c170c24a78fc3709b2bbe8f1fde2af7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813826 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DrItanium/ImageProcessingApplication",
"max_stars_repo_path": "src/main/MainForm-ApplyToImageBaseOperation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133046"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Reflection;
using System.IO;
using System.Globalization;
using System.Collections;
using Libraries.Imaging;
using Libraries... | 2.124243 | 37d2d64d32029b1393d544ad5d5ef35a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813827 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "masonchu/Wcf.ChannelFactory.Helper",
"max_stars_repo_path": "Wcf.ChannelFactory.Helper/OperatorEndpointBehavior.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133047"
} | starcoder | using System.Configuration;
using System.ServiceModel;
using System.ServiceModel.Configuration;
using System.ServiceModel.Dispatcher;
using System.ServiceModel.Channels;
using System.ServiceModel.Description;
using System.Xml;
using System;
namespace Wcf.ChannelFactory.Helper
{
public class OperatorEndpointBehavi... | 1.837369 | ec8b51a89e1765b9965c655d16149232 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813828 | {
"extension": "c-sharp",
"max_stars_count": "89.0",
"max_stars_repo_name": "H-man/UTween",
"max_stars_repo_path": "Core/Script/Editor/TweenMaterial/TweenMaterialFloatEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133048"
} | starcoder | /////////////////////////////////////////////////////////////////////////////
//
// Script : TweenMaterialFloatEditor.cs
// Info : TweenMaterialFloat 编辑器
// Author : ls9512 2021
// E-mail : <EMAIL>
//
/////////////////////////////////////////////////////////////////////////////
#if UNITY_EDITOR
namespac... | 1.900022 | a0a5241b10fac0feaa91fc7200448f1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813829 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "reakain/ClimberSpider",
"max_stars_repo_path": "ClimberSpider/Assets/Scripts/Utils/Utils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133049"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class Utils
{
public static float Sin (float x, float min, float max, float period)
{
return (max - min) / 2f * (1f + Mathf.Sin(x * Mathf.PI * 2 / period)) + min;
}
public static float ManhattanDista... | 3.257084 | 9c86b8a757bc7dd33c78d92ab7db9e64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813830 | {
"extension": "c-sharp",
"max_stars_count": "54.0",
"max_stars_repo_name": "reputage/seedQuest",
"max_stars_repo_path": "Unity/SeedQuest/Assets/SeedQuestSandbox/Scripts/Menu/SceneSelectedIndicator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133050"
} | starcoder | <reponame>reputage/seedQuest
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SceneSelectedIndicator : MonoBehaviour
{
Image[] indicators;
public bool[] activeNums;
int counter;
void Awake()
{
indicators = GetC... | 2.317209 | 5f0c3398778ca55592a9febbacf0c4c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813831 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ke4vtw/FSQL",
"max_stars_repo_path": "FSQL/ProgramParts/FSQLStructs/FolderTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133051"
} | starcoder | <reponame>ke4vtw/FSQL
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Threading.Tasks;
using System.Xml.Schema;
using FSQL.Exceptions;
using FSQL.Interfaces;
namespace FSQL.ProgramParts.FSQLStructs {
public cla... | 2.528917 | b66366ff98b267d76d2e8912a1c4daae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813832 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gridsum/NHaseAPI",
"max_stars_repo_path": "NHBaseThrift/Comparator/ByteArrayComparator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133052"
} | starcoder | <gh_stars>1-10
using Gridsum.NHBaseThrift.Enums;
namespace Gridsum.NHBaseThrift.Comparator
{
/// <summary>
/// 字节数组比较器
/// </summary>
public class ByteArrayComparator : IByteArrayComparator
{
#region Methods.
/// <summary>
/// 按字节比较两字符串.
/// <para>*两字符串按字节逐位比较</para>
/// <para>*如果对应位置上arr1的字节大于等于a... | 2.917998 | a9b7621eaba48a1de150ce0772e88f31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813833 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "absynce/Raven.Assure",
"max_stars_repo_path": "src/Raven.Assure/Restore/IRestoreDatabase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133053"
} | starcoder | <filename>src/Raven.Assure/Restore/IRestoreDatabase.cs
using Raven.Assure.Fluent;
namespace Raven.Assure.Restore
{
public interface IRestoreDatabase<out T> : IRestore<IRestoreDatabase<T>>, IAssureDataBase, IRunAssure, ISetupAssure<T>
{
new IRestoreDatabase<T> To(string databaseName);
}
} | 1.52439 | d73e6c65c8269b638eb5c7b3c6730030 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813834 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alireza-rezaee/interactive",
"max_stars_repo_path": "src/Microsoft.DotNet.Interactive.CSharpProject/Servers/Roslyn/Instrumentation/InstrumentedOutputExtractor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133054"
} | starcoder | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text.RegularExpression... | 2.221577 | deac629e4bbaf34a7abb10074dd69a61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813835 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Pankaj-chhatani/stumps",
"max_stars_repo_path": "src/main/dot-net/Stumps.Base/ReadOnlyHttpHeaders.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133055"
} | starcoder | <filename>src/main/dot-net/Stumps.Base/ReadOnlyHttpHeaders.cs<gh_stars>1-10
namespace Stumps
{
using System;
/// <summary>
/// A read-only implementation of <see cref="IHttpHeaders" /> that can be used to protect HTTP requests from being altered.
/// </summary>
internal class ReadOnlyHttpHeader... | 3.059068 | a4a7508aff3dcc2191302fda5aca756a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813836 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "athipp/azure-powershell",
"max_stars_repo_path": "src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/Commands/NewAzureRmDataLakeAnalyticsCatalogCredential.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133056"
} | starcoder | <filename>src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/Commands/NewAzureRmDataLakeAnalyticsCatalogCredential.cs<gh_stars>1-10
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version ... | 2.082202 | fb3bba7267e2a03ddd35ef5e9e5fdca7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813837 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "davidrevoledo/Inyector",
"max_stars_repo_path": "src/Inyector/InyectorEngine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133057"
} | starcoder | <filename>src/Inyector/InyectorEngine.cs<gh_stars>10-100
/*
* MIT License
Copyright (c) 2017 <NAME>
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, includin... | 2.46868 | a2c072f4055ea8c18b4844f8275cfb78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813838 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kegbeach/ErsatzTV",
"max_stars_repo_path": "ErsatzTV.Application/Streaming/Queries/GetWrappedProcessByChannelNumberHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133058"
} | starcoder | <reponame>kegbeach/ErsatzTV
using CliWrap;
using ErsatzTV.Core;
using ErsatzTV.Core.Domain;
using ErsatzTV.Core.Interfaces.FFmpeg;
using ErsatzTV.Infrastructure.Data;
using ErsatzTV.Infrastructure.Extensions;
using Microsoft.EntityFrameworkCore;
namespace ErsatzTV.Application.Streaming;
public class GetWrappedProces... | 1.543625 | 51aa800331d7f8f6915787c74f0ad648 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813839 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MattLisson/OpenVIII",
"max_stars_repo_path": "Core/Field/Sections.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133059"
} | starcoder | using System;
namespace OpenVIII.Fields
{
[Flags]
public enum Sections : uint
{
None = 0,
/// <summary>
/// Field Character Models
/// </summary>
MCH = 0x1,
/// <summary>
/// Field Character Models Container
/// </summary>
ONE = 0x2... | 2.364422 | 2a42026384e215bb858fe78fb64662fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813840 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-employer-incentives-functions",
"max_stars_repo_path": "src/SFA.DAS.EmployerIncentives.Functions.LegalEntities/Services/LegalEntities/ILegalEntitiesService.cs",
"provenance": "train-00027-of-00045... | starcoder | using SFA.DAS.EmployerIncentives.Functions.LegalEntities.Services.LegalEntities.Types;
using System.Threading.Tasks;
namespace SFA.DAS.EmployerIncentives.Functions.LegalEntities.Services.LegalEntities
{
public interface ILegalEntitiesService
{
Task Refresh();
Task Refresh(int pageNumber, int p... | 1.238265 | f778f3f8e89889fb4d7c00c96c916b3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813841 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "brokeneast/FloatingSpace",
"max_stars_repo_path": "Assets/Script/Movement/Character.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133061"
} | starcoder | <filename>Assets/Script/Movement/Character.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Character : RigidMovement
{
[SerializeField] TextMesh nameText = null;
public Seat seat;//席位及個人資訊
public enum MovingMode {FLOATING, REST, IN_SEAT};//移動狀態
... | 2.506783 | 8d5b3defc54b465b0f5321246f417e2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813842 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alstelmach/Troom",
"max_stars_repo_path": "User.Application/Contracts/Authentication/AuthenticationQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133062"
} | starcoder | using AsCore.Application.Abstractions.Messaging;
using AsCore.Application.Abstractions.Messaging.Queries;
using User.Application.Dto;
namespace User.Application.Contracts.Authentication
{
public sealed record AuthenticationQuery(string Login, string Password) : Contract, IQuery<AuthenticationResultDto>;
}
| 1.387682 | d11a6a0c50595055fe4b0f0e0aad4333 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813843 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "XamYu/XamarinExamples",
"max_stars_repo_path": "DemoSqlite/DemoSqlite/Paginas/PaginaAmigo.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133063"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DemoSqlite.Clases;
using Xamarin.Forms;
namespace DemoSqlite.Paginas {
public partial class PaginaAmigo : ContentPage {
public string ID = "";
public PaginaAmigo () {
... | 2.236608 | b878e77000f7b8c7178e107dee11cf80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813844 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "QualityInformationFramework/QIFRulesEditor",
"max_stars_repo_path": "src/rules_editor_test/Re.Test.TestDocumentToRules.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133064"
} | starcoder | ///////////////////////////////////////////////////////////////////////////////
///
/// Copyright 2018-2020, Capvidia, Metrosage, and project contributors
/// https://www.capvidia.com/
///
/// This software is provided for free use to the QIF Community under the
/// following license:
///
/// Boost Software License... | 1.943543 | 1381cce27623ad292b79bd28ec1fd3a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813845 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "jklarenbeek/Dlrsoft.VBScript",
"max_stars_repo_path": "src/Dlrsoft.VBScript/Compiler/VBScriptAnalyzer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133065"
} | starcoder | <reponame>jklarenbeek/Dlrsoft.VBScript
using System;
using System.Collections.Generic;
using System.Text;
using VB = Dlrsoft.VBScript.Parser;
using Microsoft.Scripting.Runtime;
using System.Dynamic;
#if USE35
using Microsoft.Scripting.Ast;
#else
using System.Linq.Expressions;
#endif
using Microsoft.Scripting.Utils;
... | 2.191133 | 6ad95d86b8d31222e0c5b6a83128a62e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813846 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "netcore-jroger/Chloe",
"max_stars_repo_path": "src/DotNetCore/Chloe.Extension/QueryExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133066"
} | starcoder | using Chloe.Descriptors;
using Chloe.Extension;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
namespace Chloe
{
public static class QueryExtension
{
public static IQuery<TSource> WhereIfNotNullOrEmpty<TSour... | 2.72541 | d9b4afbdf98d2d50c9d1d34edaa5b29d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813847 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TsvetanMilanov/TelerikAcademyHW",
"max_stars_repo_path": "02.CSharpPartTwo/05_UsingClassesAndObjects/UsingClassesAndObjects/06SumIntegers/SumIntegers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133067"
} | starcoder | <reponame>TsvetanMilanov/TelerikAcademyHW
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/*Problem 6. Sum integers
You are given a sequence of positive integer values written into a string, separated by spaces.
Write a function that reads these val... | 4.054861 | aa174b844997358f8a528f28ab3f5b63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813848 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mungojam/dotnetrdf-fork",
"max_stars_repo_path": "Libraries/core/net40/Core/BaseTripleCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133068"
} | starcoder | /*
dotNetRDF is free and open source software licensed under the MIT License
-----------------------------------------------------------------------------
Copyright (c) 2009-2012 dotNetRDF Project (<EMAIL>)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated d... | 2.85972 | 52895ff40940b518658b382a47beb270 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813849 | {
"extension": "c-sharp",
"max_stars_count": "86.0",
"max_stars_repo_name": "mgblackwater/DataMasker",
"max_stars_repo_path": "src/DataMasker/Models/Config.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133069"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json;
namespace DataMasker.Models
{
/// <summary>
///
/// </summary>
public class Config
{
private Config()
{
}
/// <summary>
/// Gets or sets the data source config
... | 2.845201 | 5653663a572a4d34cc1467ac7612e96d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813850 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "colinjacobsorckestra/BetterRetail",
"max_stars_repo_path": "src/Orckestra.Composer.Store/Parameters/GetEmptyStoreLocatorViewModelParam.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133070"
} | starcoder | <reponame>colinjacobsorckestra/BetterRetail<filename>src/Orckestra.Composer.Store/Parameters/GetEmptyStoreLocatorViewModelParam.cs
using System.Globalization;
namespace Orckestra.Composer.Store.Parameters
{
public class GetEmptyStoreLocatorViewModelParam
{
public string BaseUrl { get; set; }
... | 1.503664 | 0a7ff2e7d17f2f96dda84fac191790ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813851 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nutellarlz/geckofx-33.0",
"max_stars_repo_path": "Geckofx-Core/Generated/nsIThread.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133071"
} | starcoder | // --------------------------------------------------------------------------------------------
// Version: MPL 1.1/GPL 2.0/LGPL 2.1
//
// The contents of this file are subject to the Mozilla Public License Version
// 1.1 (the "License"); you may not use this file except in compliance with
// the License. You may... | 2.171374 | 25988fc044f8570f100182f9d2f39483 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813852 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kayien/Medical_Journals",
"max_stars_repo_path": "Medical_Journals_Client/Medical_Journals_Client/Frm_MainView.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133072"
} | starcoder | <gh_stars>1-10
namespace Medical_Journals_Client
{
partial class Frm_MainView
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 1.877063 | cf303a7a89408809ffaaeb4c67bcb9a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813853 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EssentialNRG/MimeKit",
"max_stars_repo_path": "MimeKit/MimeEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133073"
} | starcoder | <filename>MimeKit/MimeEntity.cs
//
// MimeEntity.cs
//
// Author: <NAME> <<EMAIL>>
//
// Copyright (c) 2013-2020 Xamarin Inc. (www.xamarin.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 S... | 2.333989 | 3817d6dd5dc4fb33f1cb77fd5dfb5d69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813854 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "pglet/pglet-powershell",
"max_stars_repo_path": "src/Pglet/Controls/ToolbarOverflow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133074"
} | starcoder | <reponame>pglet/pglet-powershell
using System.Collections.Generic;
namespace Pglet.Controls
{
public class ToolbarOverflow : Control
{
IList<MenuItem> _menuItems = new List<MenuItem>();
protected override string ControlName => "overflow";
public IList<MenuItem> MenuItems
{
... | 2.203126 | f2385886b680e553f7725a46dade4b32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813855 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "AdamFrisby/unity3d-ttftext",
"max_stars_repo_path": "ParseExpr/Parser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133075"
} | starcoder | using System;
using System.Text;
namespace Jyc.Expr
{
/// <summary>
/// parse expr
/// </summary>
public class Parser
{
Scanner _scanner;
Context _current;
Tree _tree;
public Parser()
{
}
internal Token PeekToken()
{
... | 2.694238 | d14c4b8ea3415010a2a9b301fb6d7753 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813856 | {
"extension": "c-sharp",
"max_stars_count": "1841.0",
"max_stars_repo_name": "qiangvei/NetWinformControl",
"max_stars_repo_path": "HZH_Controls/HZH_Controls/Controls/Process/UCProcessExt.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133076"
} | starcoder | // ***********************************************************************
// Assembly : HZH_Controls
// Created : 08-08-2019
//
// ***********************************************************************
// <copyright file="UCProcessExt.Designer.cs">
// Copyright by <NAME>(黄正辉) All, QQ group:56801... | 1.804441 | 1a0ede3fe32a21c1e6eab8eaa4ef2b5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813857 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "joelverhagen/Knapcode.CommonLibrary.NET",
"max_stars_repo_path": "src/Tools/HtmlConverter/Core/TextConversionContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133077"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ComLib.TextConverter
{
public class TextConversionContext
{
}
}
| 1.185101 | d283cd7059128749072f65d210869b93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813858 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johnyk87/interceptor-poc",
"max_stars_repo_path": "InterceptorPOC.Tests/Helpers/AssertHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133078"
} | starcoder | <reponame>johnyk87/interceptor-poc
namespace InterceptorPOC.Tests.Helpers
{
using Castle.DynamicProxy;
using Xunit;
public static class AssertHelper
{
public static void Proxy(object target)
{
Assert.True(IsProxy(target));
}
public static void NotProxy(obje... | 1.764996 | 54bbeae9a59a15c5d3210e5d530946af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813859 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bkjuice/teaq",
"max_stars_repo_path": "src/Teaq/QueryGeneration/SqlParameterExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133079"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Runtime.CompilerServices;
using Teaq.Configuration;
using Teaq.FastReflection;
namespace Teaq.QueryGeneration
{
internal static class SqlParameterExte... | 2.391363 | bca54fb78dcbc50b2c8779cb94d0b4af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813860 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "servicetitan/Stl",
"max_stars_repo_path": "src/Stl.Fusion/Interception/ArgumentHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133080"
} | starcoder | using Castle.DynamicProxy;
namespace Stl.Fusion.Interception;
public class ArgumentHandler
{
public static ArgumentHandler Default { get; } = new();
public Func<object?, int> GetHashCodeFunc { get; init; } =
o => o?.GetHashCode() ?? 0;
public Func<object?, object?, bool> EqualsFunc { get; init; }... | 1.984327 | 226c0c8e1044b5b2571315588f441fab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813861 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "muhammetkaya/Abyssinian",
"max_stars_repo_path": "src/Common/Abyssinian.Messaging/Message/Message.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133081"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Abyssinian.Messaging
{
public class Message : MessageBase
{
public string Content { get; set; }
public Message(Guid producerId): base(producerId)
{
}
public override string ToStr... | 2.484746 | bb782bb3cfe2b514a928909ad2be46af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/ListSortHelper",
"max_stars_repo_path": "Resource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133082"
} | starcoder | namespace IListSortHelper
{
/// <summary>
/// A class to contain all the resource strings.
/// </summary>
/// <remarks>
/// Use this until there's a clearer way to use resx with dotnet.
/// </remarks>
internal static class Resource
{
internal const string Arg_BogusIComparer = "Unable to sort because... | 2.450951 | b0399be723b3724a131e7e49b59ebd07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813863 | {
"extension": "c-sharp",
"max_stars_count": "76.0",
"max_stars_repo_name": "marekr/borkedLabs.CrestScribe",
"max_stars_repo_path": "evelib/EveLib.EveAuth/IEveAuth.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133083"
} | starcoder | <filename>evelib/EveLib.EveAuth/IEveAuth.cs<gh_stars>10-100
using System.Threading.Tasks;
namespace eZet.EveLib.EveAuthModule {
/// <summary>
/// Interface IEveAuth
/// </summary>
public interface IEveAuth {
/// <summary>
/// Authenticates the specified encoded key.
///... | 2.367455 | 5e62ebe7752364d7012e2fa0187c21e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813864 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "salyu9/Untitled.Sexp",
"max_stars_repo_path": "Src/Untitled.Sexp/Conversion/AsListConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133084"
} | starcoder | <reponame>salyu9/Untitled.Sexp
using System;
using System.Collections.Generic;
using System.Linq;
using Untitled.Sexp.Formatting;
using Untitled.Sexp.Utilities;
namespace Untitled.Sexp.Conversion
{
internal sealed class AsListConverter : MembersConverter
{
private List<MemberHolder> _members;
... | 2.523682 | 14d1f73feef0869f11d5b86d57c62042 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813865 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "ihsoft/KIS",
"max_stars_repo_path": "Source/ModuleKISItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133085"
} | starcoder | // Kerbal Inventory System
// Mod's author: KospY (http://forum.kerbalspaceprogram.com/index.php?/profile/33868-kospy/)
// Module authors: KospY, <EMAIL>
// License: Restricted
using KSPDev.DebugUtils;
using KSPDev.GUIUtils;
using KSPDev.GUIUtils.TypeFormatters;
using KSPDev.KSPInterfaces;
using KSPDev.LogUtils;
usin... | 1.860654 | bc72bb2d4a9f689610d1add2e90b8e5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813866 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "george7378/chunked-terrain",
"max_stars_repo_path": "ChunkedTerrainCore/Environment/HeightProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133086"
} | starcoder | using Microsoft.Xna.Framework;
namespace ChunkedTerrainCore.Environment
{
public abstract class HeightProvider
{
#region Constants
private const float NormalSampleOffset = 0.5f;
#endregion
#region Methods
public abstract float GetHeight(float x, float z);
p... | 2.761851 | e089a00b2b85689aae3163e457deb297 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813867 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "PacktPublishing/Building-Microservices-with-DotNET-Core",
"max_stars_repo_path": "Chapter04/FlixOne.BookStore.ProductService/test/FlixOne.BookStore.ProductService.UnitTests/Services/ProductTests.cs",
"provenance": "train-00027-of-000... | starcoder | using System.Collections.Generic;
using System.Linq;
using FlixOne.BookStore.ProductService.Controllers;
using FlixOne.BookStore.ProductService.Models;
using FlixOne.BookStore.ProductService.Persistence;
using FlixOne.BookStore.ProductService.UnitTests.Fake;
using Microsoft.AspNetCore.Mvc;
using Moq;
using Xun... | 2.228333 | 9d0cd1a0a1db2620abd5028e8ef7e5be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813868 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bramborman/Area42",
"max_stars_repo_path": "C#/WPF/PAP/PAP/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133088"
} | starcoder | <reponame>bramborman/Area42
using System.Windows;
namespace PAP
{
public sealed partial class App : Application
{
protected override async void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
await PAP.MainWindow.Instance.ShowAnimatedAsync();
}
}
}
/*
*... | 1.241821 | 3e23b31b64994531d826c4fdcb222b28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813869 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "theresadower/VO-Directory",
"max_stars_repo_path": "directory/getRecord.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133089"
} | starcoder | using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Net;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml;
using System.Xml.Xsl;
... | 1.955791 | 00038123cd1d13ffb998a2d596630df1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813870 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "luthfiampas/Avalonia",
"max_stars_repo_path": "src/Web/Avalonia.Web.Blazor/BlazorSkiaSurface.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133090"
} | starcoder | using Avalonia.Web.Blazor.Interop;
using SkiaSharp;
namespace Avalonia.Web.Blazor
{
internal class BlazorSkiaSurface
{
public BlazorSkiaSurface(GRContext context, SKHtmlCanvasInterop.GLInfo glInfo, SKColorType colorType, PixelSize size, double scaling, GRSurfaceOrigin origin)
{
Cont... | 2.059857 | a5627ab4254e634feaff92dc84413fbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amenkes/HL7Parser",
"max_stars_repo_path": "Contracts/Messages/AdmitDischargeTransferMessages/IChangeAlternateVisitId.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133091"
} | starcoder | namespace HL7Data.Contracts.Messages.AdmitDischargeTransferMessages
{
//ADT_A51
public interface IChangeAlternateVisitId : IBaseAdmitDischargeTransferMessage
{
}
} | 0.899462 | 01c0f1d479247dea4bf7a9718f7819d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "griffinpuc/tangen-dataportal",
"max_stars_repo_path": "Views/Home/_PartialButton.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:133092"
} | starcoder | @model int
@using Portal.Models;
<script src="~/assets/bootstrap/js/bootstrap.min.js"></script>
<link href="~/assets/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
<link href="~/css/Animate.css" rel="stylesheet" />
@if (Model > 0)
{
<div class="animated pulse"><i class="fas fa-exclamation-triangle" style=... | 2.593003 | 0dedd96da304716bfd89eafe2a72825a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813873 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "mrahhal/Konsola",
"max_stars_repo_path": "test/Konsola.Tests/Parser/BinderTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133093"
} | starcoder | using Xunit;
namespace Konsola.Parser.Tests
{
public class BinderTests
{
[Fact]
public void Bind_WithEmptySources()
{
// Arrange
var c = new BindingContext
{
Sources = new DataSource[0],
Targets = new PropertyTarget[0],
};
// Act + Assert
Binder.Bind(c);
}
[Fact]
public void ... | 2.58916 | e0f6983f0167d8de6e4f300d8463ee24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813874 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Game4Freak/CashBank",
"max_stars_repo_path": "Note.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133094"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace Game4Freak.CashBank
{
public class Note
{
[XmlAttribute("name")]
public string name;
[XmlElement("worth")]
public decimal worth;
[XmlElement("... | 2.532451 | b0c5be21082c85acd48251b4e8eb40ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813875 | {
"extension": "c-sharp",
"max_stars_count": "126.0",
"max_stars_repo_name": "alantan/SharpAvi",
"max_stars_repo_path": "SharpAvi/Output/AudioStreamWrapperBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133095"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
#if FX45
using System.Threading.Tasks;
#endif
namespace SharpAvi.Output
{
/// <summary>
/// Base class for wrappers around <see cref="IAviAudioStreamInternal"/>.
/// </summary>
///... | 2.537971 | df1825080ef841737337d626296063bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813876 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "danroth27/BSim",
"max_stars_repo_path": "Assets/RobotPanelController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133096"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class RobotPanelController : MonoBehaviour
{
public WorldController world;
public Button programRobotButton;
public RobotSensorDisplayController robotSensorDisplay;
private RobotController robot;... | 2.177469 | dfb279237d82d979c4034318ed6d494d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813877 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MohamedIsseAhmed/ShootAll",
"max_stars_repo_path": "New Unity Project (1)/Assets/Scripts/GameManager/GameManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133097"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour
{
public static GameManager Instance;
public Stack<Transform> freinds = new Stack<Transform>();
public bool isPunchingTime;
public enum MovementType
{
Normal... | 2.195137 | ac9235aea62aa864d876751eb7a82164 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813878 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kenkendk/slimdht",
"max_stars_repo_path": "SlimDHT/PeerConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133098"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using CoCoL;
namespace SlimDHT
{
/// <summary>
/// Handler class for running a single connection
/// </summary>
public static class PeerConnection
{
/// <summary>
/// The log m... | 2.516419 | f3228720117739936159812ef021fb91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813879 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "artmind-net/appflow",
"max_stars_repo_path": "src/ArtMind.AppFlow/AppFlowHost.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133099"
} | starcoder | <filename>src/ArtMind.AppFlow/AppFlowHost.cs<gh_stars>1-10
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace ArtMind.AppFlow
{
... | 2.382841 | 7e10cadc04665180856702864bbfd147 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813880 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "prajapatichintan/Xero-Net-With-oAuth2.0-Support",
"max_stars_repo_path": "Xero.Api/Payroll/America/Endpoints/SettingsEndpoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133100"
} | starcoder | <filename>Xero.Api/Payroll/America/Endpoints/SettingsEndpoint.cs
using Xero.Api.Common;
using Xero.Api.Infrastructure.Http;
using Xero.Api.Payroll.America.Model;
using Xero.Api.Payroll.America.Response;
namespace Xero.Api.Payroll.America.Endpoints
{
public class SettingsEndpoint : XeroReadEndpoint<SettingsEndpoin... | 1.585416 | fe71dfcbf74ad6b7e292f41bbb2ab6b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813881 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vego1mar/KD",
"max_stars_repo_path": "Kompresja danych/ShannonFanoCoding/DictionaryDesuccessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133101"
} | starcoder | using System.Collections.Generic;
namespace ShannonFanoCoding
{
class DictionaryDesuccessor
{
private int Counts { get; set; }
private char[] Keys { get; set; }
private ulong[] Values { get; set; }
public int Index { get; private set; }
public ulong Sum { get; private ... | 3.494561 | b8600ca802752efe8a138aa8c8a67570 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813882 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "EvaSRGitHub/NopCommerce-HomePageNewProductsPlugin",
"max_stars_repo_path": "src/Presentation/Nop.Web/Controllers/CountryController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133102"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using Nop.Web.Factories;
using Nop.Web.Framework.Mvc.Filters;
namespace Nop.Web.Controllers
{
public partial class CountryController : BasePublicController
{
#region Fields
private readonly ICountryModelFactory _countryModelFactory;
#endregion
... | 1.981603 | 69e002409aef8adec7683dd45e8b5249 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813883 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "flaviogf/Cursos",
"max_stars_repo_path": "pluralsight/buildinganasyncapiwithaspnetcore/src/Books.Api/Contexts/BooksContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133103"
} | starcoder | <reponame>flaviogf/Cursos
using System;
using Books.Api.Entities;
using Microsoft.EntityFrameworkCore;
namespace Books.Api.Contexts
{
public class BooksContext : DbContext
{
public BooksContext(DbContextOptions<BooksContext> options) : base(options)
{
}
public DbSet<Book> Books... | 2.74175 | fcf8fb7398b257a27972f2159e915ba1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813884 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "h3zjp/EDCB",
"max_stars_repo_path": "EpgTimer/EpgTimer/CtrlCmdDefEx/RecSettingDataEx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133104"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace EpgTimer
{
public interface IRecSetttingData
{
RecSettingData RecSettingInfo { get; set; }
bool IsManual { get; }
}
public static class RecSettingDataEx
{... | 2.127316 | 33bbc05ab202521821d95cb38baaa32d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lebeg134/TradeCity",
"max_stars_repo_path": "Assets/Module/Resources/StandardResource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133105"
} | starcoder | /**
* @(#) StandardResource.cs
*/
using Lebeg134.Module.MarketNS;
using System;
namespace Lebeg134.Module.Resources
{
[Serializable]
public abstract class StandardResource : Resource, ISellable
{
public StandardResource(int amount) : base(amount) { }
public abstract double GetValue();
... | 2.373739 | e4766ca2567f1a221823894636f97abd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813886 | {
"extension": "c-sharp",
"max_stars_count": "65.0",
"max_stars_repo_name": "idodin/osu",
"max_stars_repo_path": "osu.Game.Tests/Visual/Multiplayer/TestSceneGameplayChatDisplay.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133106"
} | starcoder | // Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using Moq;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Gr... | 1.756763 | 98a4ebe734eae3f31e644d978166c96f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813887 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "li-rongcheng/NetCoreUtils",
"max_stars_repo_path": "NetCoreUtils/Text/Table/ConsoleTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133107"
} | starcoder | <filename>NetCoreUtils/Text/Table/ConsoleTable.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace NetCoreUtils.Text.Table
{
public class ConsoleTable
{
ConsoleTableRow header = new ConsoleTableRow();
List<bool> leftAlignSetting = new List<bool>();
List<Cons... | 3.346448 | 416945d72b6ec24596a99dc929d588cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813888 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SergeyKotyushkin/MergeMessage",
"max_stars_repo_path": "MergeMessage.Common/Models/AlertEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133108"
} | starcoder | using MergeMessage.Common.Contracts.Models;
using MergeMessage.Common.Enums;
namespace MergeMessage.Common.Models
{
public class AlertEntity : IAlertEntity
{
public AlertEntity(string header, string text, AlertType alertType)
: this(alertType)
{
Header = header;
... | 2.629429 | 342a9100aed9d97cb73f161074ee7d0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813889 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "amagus/LetsPlay",
"max_stars_repo_path": "app.nw/node_modules/edge/test/tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133109"
} | starcoder | <filename>app.nw/node_modules/edge/test/tests.cs
/**
* Portions Copyright (c) Microsoft Corporation. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www... | 2.116906 | 3c42cff11b8ebf1bfcbd50bc54af9eb2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813890 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "danmosemsft/coreclr",
"max_stars_repo_path": "tests/src/JIT/Performance/CodeQuality/BenchI/Ackermann/Ackermann.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133110"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//
using Microsoft.Xunit.Performance;
using System;
using System.Runtime.CompilerServices;
using Xunit;
[assembly: ... | 2.56165 | 07e390844472d0b117e140b67b0cfbc4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813891 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lauchacarro/ColoursApp-AM101A",
"max_stars_repo_path": "src/ColoursWeb/Pages/Shared/_Layout.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:133111"
} | starcoder | <filename>src/ColoursWeb/Pages/Shared/_Layout.cshtml
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no" />
<title>@ViewData["Title"] - ColourWeb</title>
<link rel="stylesheet" href="https://cdnjs.cloudfla... | 1.879293 | ef4335bc940f8d7c451a752289a05288 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813892 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ap0llo/mddocs",
"max_stars_repo_path": "src/MdDocs.ApiReference/Model/_Ids/TypeId.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133112"
} | starcoder | <reponame>ap0llo/mddocs
using System;
namespace Grynwald.MdDocs.ApiReference.Model
{
/// <summary>
/// Identifies a type.
/// </summary>
public abstract class TypeId : MemberId, IEquatable<TypeId>
{
/// <summary>
/// Gets the namespace the type is defined in.
/// </summary>... | 3.135797 | f048fea5f928b394edcdf16a8c668763 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813893 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "colbylwilliams/NomadCode.ProjectTemplates",
"max_stars_repo_path": "NomadCode.ProjectTemplates/NomadCode.ProjectTemplates/Templates/Projects/Native/Droid/Settings/SettingUtilities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1331... | starcoder | <reponame>colbylwilliams/NomadCode.ProjectTemplates<gh_stars>1-10
using System;
using Android.App;
using Android.Preferences;
namespace ${SolutionName}
{
public static partial class Settings
{
const string zero = "0";
#region Utilities
public static void RegisterDefaultSettings () ... | 2.486098 | ca26f732a45ac9584dea7dc83d6ea9b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813894 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "weiplanet/uno",
"max_stars_repo_path": "src/Uno.UI/UI/Xaml/Media/Brush.debugging.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133114"
} | starcoder | <reponame>weiplanet/uno
#if DEBUG
#nullable enable
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.Diagnostics.Contracts;
using Windows.UI.Xaml.Controls;
using Windows.UI;
using Uno.UI.Xaml;
namespace Windows.UI.Xaml.Media
{
partial class Brush
{
/// <... | 2.048332 | 1de85dcf799fd5cb3d1002350fbc5706 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813895 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "soheilpro/Ledger",
"max_stars_repo_path": "Sources/Ledger.Reports/TableBooleanColumn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133115"
} | starcoder | <gh_stars>1-10
using System;
namespace Ledger.Reports
{
public class TableBooleanColumn<TRow> : TableColumn where TRow : class
{
private Func<TRow, bool> _selector;
private string _trueText;
private string _falseText;
public TableBooleanColumn(string title, Func<TRow, bool> sel... | 2.870636 | 65b32d24ab89a91acd4e7f30b3f5bdd4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813896 | {
"extension": "c-sharp",
"max_stars_count": "495.0",
"max_stars_repo_name": "mzakrzewski/Steeltoe",
"max_stars_repo_path": "src/Common/src/Abstractions/Converter/IConverterRegistry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133116"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
namespace Steeltoe.Common.Converter
{
/// <summary>
/// For registering converters with a type conve... | 1.920054 | 2c7203efc9f8b1ffd741186289eeca73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813897 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "frankhaugen/Frank.Apps",
"max_stars_repo_path": "Frank.Apps.BuildTool.Cli/RoslynTool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133117"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.Build.Evaluation;
namespace Frank.Apps.BuildTool.Cli;
public class RoslynTool
{
public List<FileInfo> GetProjectFiles(DirectoryInfo directory)
{
var files = directory.EnumerateFiles("*.csproj", SearchOptio... | 2.248713 | cf1f776774fe434f00d183582db928ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813898 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pengweiqhca/aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-config/Config/Transform/V20190108/ListRemediationTemplatesResponseUnmarshaller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133118"
} | starcoder | <reponame>pengweiqhca/aliyun-openapi-net-sdk<filename>aliyun-net-sdk-config/Config/Transform/V20190108/ListRemediationTemplatesResponseUnmarshaller.cs
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additi... | 1.236243 | c45ff4ad6c395b2265b243d98838e91b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813899 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eXish/KTaNENomai",
"max_stars_repo_path": "Assets/StatusLightState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133119"
} | starcoder | <filename>Assets/StatusLightState.cs<gh_stars>0
namespace Nomai
{
public enum StatusLightState
{
Off,
Green,
Red,
Random
}
}
| 1.640877 | c674762ed7115651369a56135bc4eaf4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813900 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "ephebe/netbpm",
"max_stars_repo_path": "src/NetBpm/Util/Xml/XmlParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133120"
} | starcoder | using System;
using System.Collections;
using System.IO;
using System.Xml;
using log4net;
namespace NetBpm.Util.Xml
{
/// <summary> convenience class for parsing and/or validating xml documents.
/// </summary>
public class XmlParser
{
private static readonly ILog log = LogManager.GetLogger(typeof (XmlParser));
... | 2.75649 | 7a1d6deac3f2c3eeef2f0648aa56ea4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813901 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "SeanKilleen/Docs",
"max_stars_repo_path": "aspnetcore/mvc/models/validation/sample/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:133121"
} | starcoder | <reponame>SeanKilleen/Docs
@using MVCMovie.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.457113 | 32b95506c75676aa6b27f08e7488afbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813902 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "JohnDebono/orleans",
"max_stars_repo_path": "src/Orleans.Runtime/Transactions/DisabledTransactionAgent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133122"
} | starcoder | <reponame>JohnDebono/orleans<filename>src/Orleans.Runtime/Transactions/DisabledTransactionAgent.cs
using System;
using System.Threading.Tasks;
namespace Orleans.Transactions
{
internal class DisabledTransactionAgent : ITransactionAgent
{
public Task Abort(ITransactionInfo transactionInfo)
{
... | 1.791102 | 1441ddddea397f5eb08efadf5aa23dbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813903 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "pierredepaz/alternate-realities",
"max_stars_repo_path": "projects/Alia/Main Projects/01_hope/Assets/cubescript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133123"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class cubescript : MonoBehaviour {
public float xpos = 0;
float x = 0.3f;
public Color lblue = new Color(0.2f, 0.3f, 0.5f);
public Color mblue = new Color(0.2f, 0.3f, 0.7f);
public Color hblue = new Color(0.2... | 2.11004 | 1b8482f34756697d9df83284be5a149e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813904 | {
"extension": "c-sharp",
"max_stars_count": "90.0",
"max_stars_repo_name": "bodrick/AsyncFixer",
"max_stars_repo_path": "AsyncFixer/BlockingCallInsideAsync/BlockingCallInsideAsyncAnalyzer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133124"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
namespace AsyncFixer.BlockingCallInsideAsync
{
[DiagnosticAnalyzer... | 2.323043 | 0a697855b1742fcc6b2b9a936da10292 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813905 | {
"extension": "c-sharp",
"max_stars_count": "1240.0",
"max_stars_repo_name": "radioegor146/embedio",
"max_stars_repo_path": "src/tests/EmbedIO.Tests/TestObjects/TestLocalSessionController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133125"
} | starcoder | using System.Text;
using System.Threading.Tasks;
using EmbedIO.Routing;
using EmbedIO.Sessions;
using EmbedIO.WebApi;
using Swan;
namespace EmbedIO.Tests.TestObjects
{
public class TestLocalSessionController : WebApiController
{
public const string DeleteSessionPath = "api/deletesession";
publ... | 2.223308 | 88f0f5201fe0de4a10e6764f00d9dcba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813906 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "Microsoft/psi",
"max_stars_repo_path": "Sources/Audio/Microsoft.Psi.Audio.Windows/MFResampler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133126"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace Microsoft.Psi.Audio
{
using System;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using Microsoft.Psi.Audio.ComInterop;
/// <summary>
/// The Media Foundation audio ... | 2.4351 | 7069dbfd7aee915a2fa453f2c62b592c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813907 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "pja35/LogicGates-Last",
"max_stars_repo_path": "UnityProject/Assets/OurScripts/Porte/AlgoCable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133127"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Gère le tracé des cables
/// </summary>
public class AlgoCable : MonoBehaviour {
/// <summary>Résolution de l'algorithme des cables.</summary>
/// <param name="start">Le gameObject de départ, ici donc le OutPut</param>
/// <para... | 2.541784 | 7ea8c8754d376d0f8bb4368930413429 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813908 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "muayyat/Skclusive.Blazor.Samples",
"max_stars_repo_path": "Skclusive.Blazor.FlightFinder/FlightFinder.State/Models/DateTime.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133128"
} | starcoder | <reponame>muayyat/Skclusive.Blazor.Samples<gh_stars>1-10
using System;
using Skclusive.Mobx.StateTree;
namespace Skclusive.Blazor.FlightFinder.Models
{
internal class DateTimeOptions : ICustomTypeOptions<DateTime, DateTime>
{
public string Name => "DateTime";
public DateTime FromSnapshot(DateT... | 2.147303 | 688f41c09bedf238743c7456d8619f6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813909 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ramazanulucay/supersocket",
"max_stars_repo_path": "QuickStart/CustomProtocol/CustomProtocolSession.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133129"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SuperSocket.ProtoBase;
using SuperSocket.SocketBase;
using SuperSocket.SocketBase.Command;
using SuperSocket.ProtoBase;
namespace SuperSocket.QuickStart.CustomProtocol
{
public class CustomProtocolSession : ... | 1.285604 | 5b27c0464421635c290ba31c18bb460c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813910 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DarkMio/ValveResourceFormat",
"max_stars_repo_path": "GUI/Types/WorldNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133130"
} | starcoder | using System;
using GUI.Types.Renderer;
using GUI.Utils;
using OpenTK;
using ValveResourceFormat;
using ValveResourceFormat.Blocks;
using ValveResourceFormat.ResourceTypes;
using ValveResourceFormat.ResourceTypes.NTROSerialization;
using Vector4 = ValveResourceFormat.ResourceTypes.NTROSerialization.Vector4;
using Stea... | 2.184314 | 43ff1f54f40f668fc608102c7401df95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813911 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Saibamen/BriskChat",
"max_stars_repo_path": "BriskChat.BusinessLogic.Tests/Actions/Room/GetRoomInformationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133131"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using BriskChat.BusinessLogic.Actions.Room.Implementations;
using BriskChat.DataAccess.Repositories.Interfaces;
using Moq;
using Xunit;
namespace BriskChat.BusinessLogic.Tests.Actions.Room
{
[Collection("mapper")]
public class GetRoomInformati... | 2.414726 | 18bdf23644b24e3b86109e41bab6df8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813912 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SebastianStehle/graphql-dotnet",
"max_stars_repo_path": "src/GraphQL/Language/AST/Fields.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133132"
} | starcoder | using System.Collections;
using System.Collections.Generic;
namespace GraphQL.Language.AST
{
/// <summary>
/// Represents a list of field nodes within a document.
/// </summary>
public class Fields : IEnumerable<Field>
{
private readonly Dictionary<string, Field> _fields;
private F... | 2.896647 | ccad362e5de9d77991bb64235f960b96 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813913 | {
"extension": "c-sharp",
"max_stars_count": "1796.0",
"max_stars_repo_name": "earizon/Nethereum",
"max_stars_repo_path": "src/Nethereum.Geth/RPC/GethDebug/IDebugStacks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133133"
} | starcoder | using Nethereum.RPC.Infrastructure;
namespace Nethereum.Geth.RPC.Debug
{
public interface IDebugStacks : IGenericRpcRequestResponseHandlerNoParam<string>
{
}
} | 0.873853 | 7ac03a625eed73703c7d7613b2773006 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813914 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fhmanwar/PostSeminarFeedback",
"max_stars_repo_path": "API/ViewModels/TrainerVM.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133134"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace API.ViewModels
{
public class TrainerVM
{
public string EmpId { get; set; }
public string EmployeeName { get; set; }
public int TrainingId { get; set; }
pub... | 1.985203 | ea92698f885ab202cc2f0184ee2d512c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813915 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "greeduomacro/vivre-uo",
"max_stars_repo_path": "Scripts/Mobiles/Vendors/SBInfo/SBWaiter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133135"
} | starcoder | <filename>Scripts/Mobiles/Vendors/SBInfo/SBWaiter.cs
using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
public class SBWaiter : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public... | 2.234646 | f2e8542c4eb5791100c204ba36adeaaa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813916 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kstrauss/slab",
"max_stars_repo_path": "BVT/SLAB.Tests/SemanticLogging.InProc.Tests/Sinks/RollingFlatFileSinkFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133136"
} | starcoder | <filename>BVT/SLAB.Tests/SemanticLogging.InProc.Tests/Sinks/RollingFlatFileSinkFixture.cs
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Formatters;
using Microsoft.Practices.Enterpri... | 1.95182 | 80dc9de651ac4cb5aba7075f6764e508 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813917 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Jerajo/WorkTimeTracker",
"max_stars_repo_path": "Source/TimeTracker.Xamarin/Configuration/ApplicationModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133137"
} | starcoder | using FluentValidation;
using Ninject.Modules;
using System.Windows.Input;
using TimeTracker.Application.Commands;
using TimeTracker.Application.Contracts;
using TimeTracker.Application.Factories;
using TimeTracker.Application.Queries;
using TimeTracker.Application.Validators;
using IValidatorFactory = TimeTracker.App... | 2.023008 | c3fc0c654f5dff00a419867220347a56 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.