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 | 8830812 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amir-pma/Modopod",
"max_stars_repo_path": "Data/EcommerceContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150032"
} | starcoder | using System;
using ECommerce.Data.Entities;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace ECommerce.Data
{
public class EcommerceContext : IdentityDbContext<AppUser, AppRole, string>
{
public EcommerceContext(DbContextOptions<EcommerceContext> ... | 2.330757 | c1801284027469f38097e874a5d0a7a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830813 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Remixninja/EarTrumpet",
"max_stars_repo_path": "EarTrumpet/UI/Services/StartupUWPDialogDisplayService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150033"
} | starcoder | using EarTrumpet.Extensions;
using EarTrumpet.UI.Helpers;
using System;
using System.Diagnostics;
namespace EarTrumpet.UI.Services
{
// Note: We can't trust the Windows.Storage APIs, so make sure errors are handled in all cases.
class StartupUWPDialogDisplayService
{
private static strin... | 2.38369 | ac4b6d3e0baf1d444aa411d32623d53e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830814 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WilliamGMota/XamarinSamples",
"max_stars_repo_path": "CompressVideo/CompressVideo/CompressVideo.Android/Services/FileServiceImplementation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150034"
} | starcoder | <filename>CompressVideo/CompressVideo/CompressVideo.Android/Services/FileServiceImplementation.cs<gh_stars>0
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using CompressVideo.Droid.Services;
using System;
using System.Collections.Generic;
... | 2.583081 | 67599267931d06209a02824bebf5c828 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830815 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "njmube/Mysqlbackup.net",
"max_stars_repo_path": "source code/MySql.Data.6.9.10/Connection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150035"
} | starcoder | // Copyright ?2004, 2014, Oracle and/or its affiliates. All rights reserved.
//
// MySQL Connector/NET is licensed under the terms of the GPLv2
// <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
// MySQL Connectors. There are special exceptions to the terms and
// conditions of the GPLv2 as it is a... | 1.682348 | 6330d4e150f53bc85b5f1992e0bed4f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830816 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "omid-ahmadpour/CleanArchitecture-Template",
"max_stars_repo_path": "src/Infrastructure/Persistance/AppDbContextFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150036"
} | starcoder | <filename>src/Infrastructure/Persistance/AppDbContextFactory.cs
namespace CleanTemplate.Persistance
{
using CleanTemplate.Persistance.Db;
using Microsoft.EntityFrameworkCore;
public class AppDbContextFactory : DesignTimeDbContextFactoryBase<AppDbContext>
{
public AppDbContextFactory()
... | 2.152055 | 057a9d712a34361e3f28dc890b1c4a01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830817 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Team5V/DataMasters",
"max_stars_repo_path": "BookStore/BookStore.Client/Core/Contracts/ICommandProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150037"
} | starcoder | <gh_stars>0
namespace BookStore.Client.Core
{
public interface ICommandProcessor
{
string ProcessCommand(string fullCommand);
}
}
| 1.183781 | 9d37986035f2c5795e1a08a5a7e0c9a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830818 | {
"extension": "c-sharp",
"max_stars_count": "149.0",
"max_stars_repo_name": "trimbaken/TizenFX",
"max_stars_repo_path": "test/NUITestSample/NUITestSample/examples/as-is-test-sample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150038"
} | starcoder | using System;
using Tizen.NUI.BaseComponents;
using Tizen.NUI;
namespace AsIsTest
{
class Example : NUIApplication
{
private Timer myTimer;
private View myView;
private TextLabel myTextLabel;
//===========================
Layer layer;
View vi1, vi2, vi3;
... | 2.454142 | 70b94b5d32f4387342217311b7de5470 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830819 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "philprett/SqlSchemaComparer",
"max_stars_repo_path": "src/SqlSchemaComparer/Forms/FormMain.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150039"
} | starcoder | namespace SqlSchemaComparer.Forms
{
partial class FormMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.883003 | 18355459b3a59c88e8b5cab0fcb7f6bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830820 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VelinoStudio/Updater",
"max_stars_repo_path": "Updater/Update/Updater.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150040"
} | starcoder | <reponame>VelinoStudio/Updater
using System;
using System.IO;
using System.Windows.Forms;
using System.Collections.Generic;
using System.Text;
namespace VelinoStudio.Updater
{
using Download;
using UpdateInformation;
public class Updater
{
private UpdateInfo _UpdateInfo;
bool beginUpdat... | 2.039237 | f2a1adb0c9c746ec57bc0a8a1ff29c64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830821 | {
"extension": "c-sharp",
"max_stars_count": "669.0",
"max_stars_repo_name": "phatdear/dotnet-docs-samples",
"max_stars_repo_path": "pubsub/api/Pubsub.Samples/UpdatePushConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150041"
} | starcoder | // Copyright 2020 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 1.597126 | 9694becbd7f7ae4d2701e0591d327753 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830822 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arnaudleclerc/azure-appinsights-api-wrapper",
"max_stars_repo_path": "src/AppInsights.Http/Analytics/IAnalyticsQueryBuilderFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150042"
} | starcoder | namespace AppInsights.Http.Analytics
{
/// <summary>
/// Exposes methods to create query builders
/// </summary>
public interface IAnalyticsQueryBuilderFactory
{
/// <summary>
/// Create a query builder on the given application insights schema
/// </summary>
/// <par... | 2.410699 | 3e2698edc9f085c6302dcdae3c747967 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830823 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "juanfranblanco/AvalonStudio",
"max_stars_repo_path": "AvalonStudio/AvalonStudio.Toolchains.CustomGCC/CustomGCCToolchainProfiles.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150043"
} | starcoder | using AvalonStudio.Extensibility.Plugin;
using AvalonStudio.Platforms;
using AvalonStudio.Utils;
using System.Collections.Generic;
using System.IO;
namespace AvalonStudio.Toolchains.CustomGCC
{
class CustomGCCToolchainProfile
{
public string BasePath { get; set; } = "";
}
class CustomGCCToolc... | 2.076204 | 017cd67056f52ec91612d04a29da64b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830824 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "drago-draganov/SyndicationFeedReaderWriter-1",
"max_stars_repo_path": "src/Atom/AtomFeedReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150044"
} | starcoder | <gh_stars>1-10
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Threading.Tasks;
using System.Xml;
namespace Microsoft.SyndicationFeed.A... | 2.542708 | b5c725d7b2c7d9fcad849b22736dd180 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830825 | {
"extension": "c-sharp",
"max_stars_count": "234.0",
"max_stars_repo_name": "LeTBr/sdrsharp",
"max_stars_repo_path": "FUNcube/FCDControllerDialog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150045"
} | starcoder | <gh_stars>100-1000
using System;
using System.Globalization;
using System.Windows.Forms;
using SDRSharp.Radio;
namespace SDRSharp.FUNcube
{
public partial class FCDControllerDialog : Form
{
private bool _updating;
private readonly FunCubeIO _owner;
public FCDControllerDial... | 1.851992 | a14386ba848b355f4c95bcda2cae6f2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830826 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HassaanAbbasi/Robo-Repair",
"max_stars_repo_path": "Assets/Scripts/MUSCLEROOM.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150046"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MUSCLEROOM : MonoBehaviour
{
public Transform molePosition;
public GameObject Mole;
public Transform targetDoorPos;
public GameObject door;
public bool moveDoor = false;
public AudioClip rise;
// U... | 2.113171 | 2b7e14c7bf93754cbe52a8fcbc0782fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830827 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "HolAutisme/PopBalloon",
"max_stars_repo_path": "Assets/Scripts/HRMConnect.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150047"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using UnityEngine.UI;
using System;
using System.Collections.Generic;
using WSAUnityHRMStub;
public class HRMConnect : MonoBehaviour
{
private const float HEART_SCALE_MIN = 0.25f;
private const float HEART_SCALE_MAX = 0.26f;
private const float HEART_SCALE_RANGE = HEART_SC... | 1.937989 | 8b055ad6a339debd105e819f97f10482 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830828 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rocker8942/Utility",
"max_stars_repo_path": "Utility/ConfigManage/AppConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150048"
} | starcoder | using System;
using System.Configuration;
using System.Linq;
using System.Reflection;
namespace Utility.ConfigManage
{
public abstract class AppConfig : IDisposable
{
public static AppConfig Change(string path)
{
return new ChangeAppConfig(path);
}
public abstract ... | 2.623203 | 4c6cbac9a955500f3e56d1131dbd35a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830829 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "devfabricioalmeida/DapperRepository",
"max_stars_repo_path": "DapperRepository/DapperRepository/DataBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150049"
} | starcoder | <gh_stars>1-10
using DapperRepository.Interfaces;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Reflection;
namespace DapperRepository
{
public abstract partial class DataBase : IDataBase
{
public IDbConnection Connection { get; set; }
publi... | 2.701505 | 93733e88b12f1a432d4cd6cfd7b145c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830830 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ScriptBox99/MinimalApis.Extensions",
"max_stars_repo_path": "src/MinimalApis.Extensions/Binding/SuppressBindingOfT.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150050"
} | starcoder | using System.Reflection;
using MinimalApis.Extensions.Metadata;
namespace MinimalApis.Extensions.Binding;
/// <summary>
/// Suprresses the default binding logic of RequestDelegateFactory when accepted as a parameter to a route handler.
/// </summary>
/// <typeparam name="TValue">The <see cref="Type"/> of the paramet... | 2.453196 | 7fc2a28e1017626cc35bb878692e6c1d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830831 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Soneritics/ServiceBusMonitor",
"max_stars_repo_path": "ServiceBusMonitor/Areas/Api/Exceptions/NoNameForAppConfigurationValueException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150051"
} | starcoder | namespace ServiceBusMonitor.Areas.Api.Exceptions;
public class NoNameForAppConfigurationValueException : Exception
{
} | 1.170401 | 68603b3560578e7160b4b781b0f7c0f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830832 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "vladislav-karamfilov/TelerikAcademy",
"max_stars_repo_path": "Web Services Projects/Homework-TeamWork/CrowdSourcedNews-MegasXLR/CrowdSourcedNews.Mappers/CommentsMapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150052"
} | starcoder | <reponame>vladislav-karamfilov/TelerikAcademy<filename>Web Services Projects/Homework-TeamWork/CrowdSourcedNews-MegasXLR/CrowdSourcedNews.Mappers/CommentsMapper.cs
namespace CrowdSourcedNews.Mappers
{
using CrowdSourcedNews.DataTransferObjects;
using CrowdSourcedNews.Models;
using CrowdSourcedNews.Reposito... | 2.405671 | 49a5a894aae3836bd4572d613db7d2c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830833 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "690486439/docFx",
"max_stars_repo_path": "src/docfx/HelpTextGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150053"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode
{
using CommandLine;
using CommandLine.Text;
using System;
using System.Linq;
using System.Reflection;
static cla... | 2.62496 | 47d66e3460a4933a482707c4ec90954c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830834 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "vagrod/zara",
"max_stars_repo_path": "zara-demo-unity/Assets/Zara/Injuries/Stages/Fluent/InjuryStageBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150054"
} | starcoder | <filename>zara-demo-unity/Assets/Zara/Injuries/Stages/Fluent/InjuryStageBuilder.cs
using System;
using ZaraEngine.Diseases;
using ZaraEngine.Inventory;
namespace ZaraEngine.Injuries.Stages.Fluent
{
public class InjuryStageBuilder : IInjuryStageNodeStart, IInjuryStageEnd, IInjuryStageControls, IInjuryStageTreatment... | 2.091895 | ab0c3ddb8b2b095528b57b74a0ce5de1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830835 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BigETI/Akasha",
"max_stars_repo_path": "Assets/Akasha/Scripts/Data/WeatherData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150055"
} | starcoder | <gh_stars>1-10
using System;
using UnityEngine;
/// <summary>
/// Akasha data namespace
/// </summary>
namespace Akasha.Data
{
/// <summary>
/// Weather data class
/// </summary>
[Serializable]
public class WeatherData : IWeatherData
{
/// <summary>
/// Minimal required tempera... | 2.767792 | 68929a0455d7cebd04cff4be6bb098ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830836 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zachrybaker/ReactAdminNetCoreServerAPI.Common",
"max_stars_repo_path": "ReactAdminRestServer.DemoAPI/Domain/Models/UserRoleCreateModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150056"
} | starcoder | using System;
using System.Collections.Generic;
namespace ReactAdminRestServer.DemoAPI.Domain.Models
{
public partial class UserRoleCreateModel
{
#region Generated Properties
public Guid UserId { get; set; }
public Guid RoleId { get; set; }
#endregion
/// <sum... | 2.403646 | 455703b47261ecfe721371d906e2c62b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830837 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "jbuedel/AgentRalphPlugin",
"max_stars_repo_path": "Ralph.Core.Tests/AstCompareTests/TestCases/Test007.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150057"
} | starcoder | <gh_stars>1-10
// NotMatch
class FooBar007
{
string Foo()
{
return "Josh";
}
string Bar()
{
return "Buedel";
}
}
| 2.293698 | b26d439753bb5bb9feb4b4154d6cac8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830838 | {
"extension": "c-sharp",
"max_stars_count": "16061.0",
"max_stars_repo_name": "andreas-nesheim/maui",
"max_stars_repo_path": "src/Compatibility/Core/src/Android/Renderers/IShellFlyoutContentRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150058"
} | starcoder | using System;
using Microsoft.Maui.Controls.Platform;
using AView = Android.Views.View;
namespace Microsoft.Maui.Controls.Compatibility.Platform.Android
{
public interface IShellFlyoutContentRenderer : IShellFlyoutContentView
{
}
} | 0.965612 | 46944dc42b9c71579cefe4dc70703ef4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830839 | {
"extension": "c-sharp",
"max_stars_count": "231.0",
"max_stars_repo_name": "yanghuan/bridge.lua",
"max_stars_repo_path": "Bridge/System/Diagnostics/Contracts/Contract.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150059"
} | starcoder | <reponame>yanghuan/bridge.lua
using Bridge;
namespace System.Diagnostics.Contracts {
[External]
public static class Contract {
[Template("assert({condition})")]
public static void Assert(bool condition) {
}
[Template("assert({condition}, {userMessage})")]
public static... | 1.707454 | 2eba1704bcecbae3969664ca804c521a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830840 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jrsouza95/DesafioItau",
"max_stars_repo_path": "src/DesafioItau.Presentation.API/Config/ExceptionHandler/Responses/ResponseError.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150060"
} | starcoder | namespace DesafioItau.Presentation.API.ExceptionHandler.Responses;
/// <summary>
/// Base class to convert errors responses
/// </summary>
public abstract class ResponseError
{
/// <summary>
/// Error messages
/// </summary>
public string Errors { get; protected set; }
/// <summary>
/// Error... | 2.722497 | ac1c69b4aed736c807935028f738b80f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830841 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nohros/nohros-must",
"max_stars_repo_path": "src/base/common/concurrent/SerialExecutorState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150061"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace Nohros.Concurrent
{
/// <summary>
/// A <see cref="ExecutorState{T}"/> that encapsulates a
/// <see cref="RunnableDelegate"/> and a <see cref="ExecutorState{T}"/>.
/// </summary>
/// <remarks>
... | 2.767141 | 10709da54304a898f983beceb9ce972b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830842 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "zpublic/cozy",
"max_stars_repo_path": "src/Practice/CozyAdventure/Public/Controls/CozyControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150062"
} | starcoder | <reponame>zpublic/cozy
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CocosSharp;
namespace CozyAdventure.Public.Controls
{
public class CozyControl : CCNode
{
#region Display
public float MarginLeft { get; set; }
... | 2.322062 | 4a8f372b10a88e910c9632bd5b497cf3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830843 | {
"extension": "c-sharp",
"max_stars_count": "381.0",
"max_stars_repo_name": "5118234/comcms_core",
"max_stars_repo_path": "COMCMS.Web/Controllers/WeixinController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150063"
} | starcoder | <filename>COMCMS.Web/Controllers/WeixinController.cs<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Senparc.Weixin.MP.Entities.Request;
using COMCMS.Web.Common;
using Senparc.Weixin.MP;
using NewLife.Log;
using CO... | 1.998415 | 1f353f51727fecb85d9f2126c3d6634f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830844 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "DANaini13/2022GGJ",
"max_stars_repo_path": "Assets/AmplifyShaderEditor/Plugins/Editor/Nodes/LogicalOperators/Compare.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150064"
} | starcoder | <reponame>DANaini13/2022GGJ
// Amplify Shader Editor - Visual Shader Editing Tool
// Copyright (c) Amplify Creations, Lda <<EMAIL>>
using UnityEngine;
using UnityEditor;
using System;
using System.CodeDom;
namespace AmplifyShaderEditor
{
[Serializable]
[NodeAttributes( "Compare", "Logical Operators", "Compare A to ... | 2.217399 | 972463baf43fcda0ae095f5dbc6041a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830845 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vlko/vlko",
"max_stars_repo_path": "vlko.core.tests/DBAccess.PostgreSQL/StoreLoadInTransaction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150065"
} | starcoder | using Dapper.Contrib.Extensions;
using Shouldly;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using vlko.core.DBAccess;
using vlko.core.DBAccess.PostgreSQL;
using Xunit;
namespace vlko.core.tests.DBAccess.PostgreSQL
{
public class StoreLoadInT... | 2.385611 | f57c30f251932e5f502fbfa6a74b76ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830846 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "koderon/Full-Sources-Game",
"max_stars_repo_path": "Scripts/Game/GameLogicLoop.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150066"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using theGame;
using UnityEngine;
using UnityEngine.U2D;
namespace Game
{
public class GameLogicLoop
{
private Dictionary<TypeDataModel, List<IGameDataParticleModel>> _data = new Dictionary<TypeDataModel, List<IGameDataParticle... | 2.338596 | c6a092bd4bf774fcf0785e005b2d5ab4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830847 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TalkTakesTime/LiveSplit.VampireSurvivors",
"max_stars_repo_path": "Attributes/DescriptionAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150067"
} | starcoder | using System;
namespace LiveSplit.VampireSurvivors.Attributes {
[AttributeUsage(AttributeTargets.Field)]
public class DescriptionAttribute : Attribute {
public string Description { get; }
public DescriptionAttribute(string desc) {
Description = desc;
}
}
} | 2.320113 | 7e8606679fd4b737724b8a7ff79ed73e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830848 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mgreau/windows-installers",
"max_stars_repo_path": "src/Installer/Elastic.Installer.Domain/Properties/TextResources.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150068"
} | starcoder | <reponame>mgreau/windows-installers
//------------------------------------------------------------------------------
// <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 re... | 1.86127 | 205386fb6b531925181eee72321f278f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830849 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LuisFernandoVL/CountCoin",
"max_stars_repo_path": "CountCoin/CountCoin/frmSplashScreen.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150069"
} | starcoder | namespace CountCoin
{
partial class frmSplashScreen
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
///... | 1.937154 | b18035d67027c449bbe90ccd765ae746 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830850 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "chrhodes/VNC",
"max_stars_repo_path": "VNC.CodeAnalysis/VNC.CodeAnalysis/SyntaxWalkers/VB/SyntaxToken.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150070"
} | starcoder | <reponame>chrhodes/VNC
using System;
namespace VNC.CodeAnalysis.SyntaxWalkers.VB
{
public class SyntaxToken : VNCVBSyntaxWalkerBase
{
public override void VisitToken(Microsoft.CodeAnalysis.SyntaxToken token)
{
if (_targetPatternRegEx.Match(token.ToString()).Success)
{
... | 1.921497 | c7cf98735b054a3bae9583ee1d155f0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830851 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "gpby/ASStoredProcedures",
"max_stars_repo_path": "ASSP/Percentiles.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150071"
} | starcoder | <gh_stars>10-100
/*============================================================================
File: Percentiles.cs
Summary: Functions that calculate percentile related values
Date: September 13, 2012
----------------------------------------------------------------------------
This file is ... | 2.947616 | b580779d4c478263250547a6826b543c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830852 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mastenbroek-Development/MollieApi",
"max_stars_repo_path": "Mollie.Api/Models/Profile/ReviewStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150072"
} | starcoder | <filename>Mollie.Api/Models/Profile/ReviewStatus.cs<gh_stars>0
namespace Mollie.Api.Models.Profile {
public enum ReviewStatus {
/// <summary>
/// The changes are pending review. We will review your changes soon.
/// </summary>
Pending,
/// <summary>
/// We'v... | 2.348272 | c672eb6e6d1312fc92cdcd1c4e239f4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830853 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Ravendarke8/MonoGame",
"max_stars_repo_path": "Tools/MonoGame.Effect.Compiler/Effect/ShaderStage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150073"
} | starcoder | <filename>Tools/MonoGame.Effect.Compiler/Effect/ShaderStage.cs
using System;
namespace MonoGame.Effect
{
public enum ShaderStage
{
VertexShader,
PixelShader,
HullShader,
DomainShader,
GeometryShader,
ComputeShader,
}
}
| 1.493405 | 063d07c7ae097a019f0f6a6c9a494f83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830854 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arafat-bin-reza/aspdotnet_practice",
"max_stars_repo_path": "CSharp_Practice/switch statement in CSharp/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150074"
} | starcoder | using System;
namespace switch_statement_in_CSharp
{
class Program
{
static void Main(string[] args)
{
//C# Tutorial - switch statement in C#
//Example - 1
Console.WriteLine("Please enter a number");
int userNumber4 = int.Parse(Console.ReadLin... | 4.266885 | d976a36a4847f4fac342fb2d51357fce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830855 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peppesicilia/my-blog-sample",
"max_stars_repo_path": "Magicianred.LearnByDoing.MyBlog.Web/Views/Home/Categories.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:150075"
} | starcoder | <reponame>peppesicilia/my-blog-sample
@model List<Magicianred.LearnByDoing.MyBlog.Domain.Models.Category>
@{
ViewData["Title"] = "Home Page";
}
<div class="text-center">
<h1 class="display-4">Welcome</h1>
<p>Learn more <a href="@Url.Action("About", "Home")">about this project</a>.</p>
<div class="cat... | 2.49086 | 07abb1549efc210932ec4e68b67926d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830856 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "YanaPIIDXer/MapsSDKForUnityTest",
"max_stars_repo_path": "Assets/GoogleMaps/Examples/SharedAssets/Scripts/Label.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150076"
} | starcoder | <gh_stars>10-100
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace Google.Maps.Examples.Shared {
/// <summary>
/// Class for showing an in-scene, <see cref="Camera.main"/> aligned Label.
/// </summary>
[RequireComponent(typeof(CanvasGroup))]
public... | 2.613591 | 8ff2d473a79cf81521d324cf09944e38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830857 | {
"extension": "c-sharp",
"max_stars_count": "104.0",
"max_stars_repo_name": "steveisok/dasblog",
"max_stars_repo_path": "source/Import/BlogSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150077"
} | starcoder | <gh_stars>100-1000
using System;
namespace DasBlog.Import
{
/// <summary>
/// An enumeration of the various blog sources that are supported.
/// </summary>
public enum BlogSourceType
{
// Lower case used below because it appears in the help text.
// This is used so that we can default to none and error out.
... | 1.908218 | 46a43b901bc21c4688ed29826a8de918 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830858 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "javadbayzavi/SignalPro",
"max_stars_repo_path": "SingalerLibrary/Security/Identity/Seeds/DefaultRoles.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150078"
} | starcoder | using Microsoft.AspNetCore.Identity;
using Signaler.Library.identity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Signaler.Library.Security.identity.Seeds
{
public static class DefaultRoles
{
public static async Task SeedAsync(UserManager<... | 2.063799 | 9c79cfb444672a3c4c21adbec6738684 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830859 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jbattermann/JB.Common",
"max_stars_repo_path": "JB.Common.TeamFoundationServer.Reactive.Client/TeamProjectCollectionClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150079"
} | starcoder | <reponame>jbattermann/JB.Common<gh_stars>1-10
using System;
using Microsoft.VisualStudio.Services.Client;
using Microsoft.VisualStudio.Services.Common;
using Microsoft.VisualStudio.Services.WebApi;
namespace JB.TeamFoundationServer.Reactive.Client
{
/// <summary>
/// Base class for VSTS / TFS clients on the T... | 2.077384 | e157a0caf5048a9d914059dbb05f98fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830860 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "murat1347/DotNet-Core-Blog",
"max_stars_repo_path": "BusinessLayer/Concrete/AboutManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150080"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BusinessLayer.Abstract;
using DataAccessLayer.Abstract;
using DataAccessLayer.EntityFramework;
using EntityLayer.Concrete;
namespace BusinessLayer.Concrete
{
public class AboutManager : IAbout... | 2.360054 | 12e3ec7a4f31c412f986bfba5a4a077c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830861 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MinexAutomation/R5T.Antium.Default",
"max_stars_repo_path": "source/R5T.Antium.Default/Code/Classes/LocalDeploymentSecretsSerialization.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150081"
} | starcoder | using System;
namespace R5T.Antium.Default
{
/// <summary>
/// A serialization type for local deployment secrets.
/// </summary>
public class LocalDeploymentSecretsSerialization
{
public string DirectoryPath { get; set; }
}
}
| 1.647062 | f96583316212db39342de8dab7c86a98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andweller/bioinformatics",
"max_stars_repo_path": "Bioinformatics/Algorithms/Neighbor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150082"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bioinformatics.Algorithms
{
public static class NucleotideNeighbors
{
/// <summary>
/// Generates the neighborhood for a given nucleotide strand.
/// </summary... | 3.601219 | fd69e4fb8b3b5fd5113426b5bd9a19d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830863 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Arlodotexe/OwlCore",
"max_stars_repo_path": "src/Services/IInstanceCacheRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150083"
} | starcoder | using System;
namespace OwlCore.Services
{
/// <summary>
/// Handles creating a new or getting an existing instance of an object.
/// </summary>
public interface IInstanceCacheRepository<T>
{
/// <summary>
/// Get or create an instance of an object.
/// </summary>
/... | 3.225859 | d0ef2907eeb233c72390f47b6c69a84a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830864 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "nbarnwell/Inforigami.Regalo",
"max_stars_repo_path": "Inforigami.Regalo.Messaging/ThrowExceptionNoHandlerFoundStrategy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150084"
} | starcoder | <reponame>nbarnwell/Inforigami.Regalo<filename>Inforigami.Regalo.Messaging/ThrowExceptionNoHandlerFoundStrategy.cs
using System;
namespace Inforigami.Regalo.Messaging
{
public class ThrowExceptionNoHandlerFoundStrategy : INoHandlerFoundStrategy
{
public void Invoke(object message)
{
... | 2.371792 | e61fb7dd7be2619300204f59e821c502 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830865 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "david-knopp/Atlas",
"max_stars_repo_path": "Assets/Scripts/Editor/Internal/Version.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150085"
} | starcoder | namespace Atlas.Internal
{
internal static class Version
{
public static int Major
{
get { return 0; }
}
public static int Minor
{
get { return 9; }
}
public static int Revision
{
get { return 7; }
}
... | 2.256425 | 2d830c1f44c9db929dcd360f4916843f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830866 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eognianov/359.news",
"max_stars_repo_path": "src/ViewModels/NewsSystem.ViewModels/OfficeNewsListViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150086"
} | starcoder | using System.Collections.Generic;
namespace NewsSystem.ViewModels
{
public class OfficeNewsListViewModel
{
public IEnumerable<NewsViewModel> News { get; set; }
}
}
| 1.480224 | 29f67bdbe4d063e757aa3f6cd548c7be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830867 | {
"extension": "c-sharp",
"max_stars_count": "139.0",
"max_stars_repo_name": "gitjosephbeer/silverback",
"max_stars_repo_path": "src/Silverback.Integration/Messaging/Outbound/IntegrationBehaviorsSortIndexes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150087"
} | starcoder | // Copyright (c) 2020 <NAME>
// This code is licensed under MIT license (see LICENSE file for details)
using Silverback.Messaging.Outbound.Routing;
using Silverback.Messaging.Publishing;
namespace Silverback.Messaging.Outbound
{
/// <summary>
/// Contains the sort index constants of the default <see cref=... | 1.6505 | 963048880623cd0ee208630ecefde3ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830868 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chrisfactory/TreeBranch.Microsoft.Extensions.DependencyInjection",
"max_stars_repo_path": "src/TreeNodes/TreeBranchProvider/Services/ServiceValueResolver/ValueResolver/Resolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150088"... | starcoder | <filename>src/TreeNodes/TreeBranchProvider/Services/ServiceValueResolver/ValueResolver/Resolver.cs
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
namespace TreeNodes.Microsoft.Extensions.DependencyInjection
{
internal class Resolver
{
... | 2.417193 | 05f50c266bc26446caea30488160cdbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830869 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aasf86/identity-server-3",
"max_stars_repo_path": "source/Core/Configuration/X509CertificateDataProtector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150089"
} | starcoder | /*
* Copyright 2014, 2015 <NAME>, <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | 2.359991 | e796cc88e660165b53057dcda4c985df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830870 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LordOfTheBees/StockDataDownloader",
"max_stars_repo_path": "StockDataDownloader/Enums/TimeFormat.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150090"
} | starcoder | namespace StockDataDownloader.Enums
{
/// <summary>
/// h - hour | m - minute | s - second | _ - :
/// </summary>
public enum TimeFormat
{
HHMMSS = 1,
HHMM = 2,
HH_MM_SS = 3,
HH_MM = 4
}
} | 2.469888 | 23e601cfdc0c38bfd1305fff7257f791 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gartenriese2/TransitCity",
"max_stars_repo_path": "TransitCity/CityEditor/AppBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150091"
} | starcoder | <filename>TransitCity/CityEditor/AppBuilder.cs<gh_stars>0
namespace CityEditor
{
using System;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Threading;
using System.Windows;
public static class AppBuilder
{
/// ... | 2.768261 | d1ef5c2000c176b6975816ff1d35736e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KrisiKostadinov/Apartments",
"max_stars_repo_path": "Api/Models/Apartment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150092"
} | starcoder | <filename>Api/Models/Apartment.cs
namespace Apartments.Models
{
public class Apartment
{
public int Id { get; set; }
public int Meters { get; set; }
public string Status { get; set; }
public int Floor { get; set; }
public string Construction { get; set; }
pu... | 2.056693 | 5b5d9fb6d4c2bc02b4493bbfdb013bb5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830873 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "evilsyncope/Neo4jClient",
"max_stars_repo_path": "Neo4jClient/IRelationshipAllowingTargetNode`TNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150093"
} | starcoder | namespace Neo4jClient
{
public interface IRelationshipAllowingTargetNode<out TNode>
: IRelationshipAllowingParticipantNode<TNode>
{
}
} | 1.230322 | 9def1ed6fc75b8d3e4df663a75ac0f9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830874 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mconnew/Blog",
"max_stars_repo_path": "src/LargeContracts/Contract/Contract/IService52.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150094"
} | starcoder | <reponame>mconnew/Blog<filename>src/LargeContracts/Contract/Contract/IService52.cs
using System;
using System.ServiceModel;
namespace Sample.Services
{
[ServiceContract()]
public interface IService52
{
[OperationContract]
[FaultContract(typeof(Byte[]))]
int Z001_52(int num);
... | 1.638189 | 4da5fff3d61cc079e97f7153cdb315a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830875 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "eatplayhate/versionr",
"max_stars_repo_path": "VersionrWeb/Models/LogModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150095"
} | starcoder | <reponame>eatplayhate/versionr
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Versionr;
namespace VersionrWeb.Models
{
public class LogModel
{
public List<Versionr.Objects.Version> Versions;
public int PageNumber;
public i... | 1.974404 | a8a2a8861f2dbecf73232de8ee8c198f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830876 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "TereanYu/BeatNest",
"max_stars_repo_path": "Beat&Nest/Assets/SC Post Effects/Editor/SCPE.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150096"
} | starcoder | // SC Post Effects
// Staggart Creations
// http://staggart.xyz
using UnityEngine;
using System.IO;
using UnityEditor;
using System.Net;
using System.Text.RegularExpressions;
#if UNITY_2018_1_OR_NEWER
using UnityEditor.PackageManager;
#endif
namespace SCPE
{
public class SCPE : Editor
{
//Asset speci... | 1.573437 | 1dd3d673efa5a64f214aa3b5a021961c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830877 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bangush/MineCase",
"max_stars_repo_path": "src/MineCase.Protocol/Protocol/Login/Client/SetCompression.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150097"
} | starcoder | <reponame>bangush/MineCase<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using MineCase.Serialization;
namespace MineCase.Protocol.Protocol.Login.Client
{
[Packet(0x03, ProtocolType.Login, PacketDirection.ClientBound)]
public sealed class SetCompression : IS... | 1.941223 | 4dd4476e195963b426a553976042b240 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830878 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jjfeng520/Mochimoji-Mac",
"max_stars_repo_path": "Assets/Scripts/InGame/DestroyerScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150098"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class DestroyerScript : MonoBehaviour {
void OnTriggerEnter2D(Collider2D other)
{
// Check if Player has entered the Destroyer.
if (other.tag == "Player")
{
... | 2.497484 | c8eab96c0ae54a57b793293044416917 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830879 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DenicaAtanasova/Cosiness",
"max_stars_repo_path": "Data/Cosiness.Models/ProductMaterial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150099"
} | starcoder | namespace Cosiness.Models
{
public class ProductMaterial
{
public string ProductId { get; set; }
public Product Product { get; set; }
public string MaterialId { get; set; }
public Material Material { get; set; }
}
}
| 1.866106 | 9c3423ad548fe23b940bd96046fb6cab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830880 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PaandaB/Total_Beantastrofe",
"max_stars_repo_path": "Assets/Scripts/RoundManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150100"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RoundManager : MonoBehaviour
{
public float progress;
private List<TileInfo> totalTiles = new List<TileInfo>();
private GridManager grid;
private float maxProgress, currentProgress;
public bool gam... | 2.470617 | 57f4bbc8b25b1df30a979151d553db09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830881 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kantlove/win81rt-google-login",
"max_stars_repo_path": "GoogleLogin/GoogleLogin.WindowsPhone/MainPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150101"
} | starcoder | <gh_stars>0
using System;
using System.Threading;
using System.Threading.Tasks;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using Google.Apis.Auth.OAuth2;
using Google.Apis.Services;
using Google.Apis.Util.Store;
using GoogleLogin.... | 1.678273 | 88ddfa492fc0ccab25a7be2c82c08b53 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Teleopti/Stardust",
"max_stars_repo_path": "Manager/ManagerTest/Database/DatabaseTasks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150102"
} | starcoder | using System;
using System.Collections.Generic;
namespace ManagerTest.Database
{
public class DatabaseTasks
{
private readonly ExecuteSql _executeMaster;
public DatabaseTasks(ExecuteSql executeMaster)
{
_executeMaster = executeMaster;
}
public bool Exists(string databaseName)
{
return
Conver... | 2.519825 | 00c81b4d6592641a902ed3e78ad5b161 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830883 | {
"extension": "c-sharp",
"max_stars_count": "128.0",
"max_stars_repo_name": "iii-PaulCridland/azure-search-power-skills",
"max_stars_repo_path": "Video/VideoIndexer/VideoIndexerAppSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150103"
} | starcoder | namespace AzureCognitiveSearch.PowerSkills.Video.VideoIndexer
{
public static class VideoIndexerAppSettings
{
public static readonly string MediaIndexerLocationAppSetting = "MediaIndexer_Location";
public static readonly string MediaIndexerAccountIdAppSetting = "MediaIndexer_AccountId";
... | 1.040075 | 7438a4dbdfb5289a9eb7cbdf71687ed0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830884 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "buibup/Car",
"max_stars_repo_path": "Car.Api/Controllers/CustomersController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150104"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Car.Services.Interfaces;
using Car.Services.ViewModels;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace Car.Api.Controllers
{
[Route("api/[controller]")]
[ApiController]
public... | 2.462006 | bdbddd5f66b9e62f2902c61b034e2f18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanielOaks/UnityResponseSystem",
"max_stars_repo_path": "RSCriterion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150105"
} | starcoder | /*
* DanielOaks' ResponseSystem library for Unity (https://github.com/DanielOaks/UnityResponseSystem)
* ResponseSystem code distributed under CC0 Public Domain.
* With MIT-licensed components.
*/
using System;
namespace DanielOaks.RS
{
public class RSCriterion {
public string Matchkey;
string... | 2.956934 | 2ef8d374b96259a627d3a5aace3ffb4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830886 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "danielcirket/OpenEventSourcing",
"max_stars_repo_path": "tests/OpenEventSourcing.Tests/Queries/QueryDispatcher/DispatchAsync.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150106"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using OpenEventSourcing.Extensions;
using OpenEventSourcing.Queries;
using OpenEventSourcing.Tests.Fakes;
using Xunit;
namespace OpenEventSourcing.Tests.Queries.QueryDispatcher
{... | 2.234003 | 7417d57e3b475c8b39a9c0aa51d2c165 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830887 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChurroLoco/swrve-unity-sdk",
"max_stars_repo_path": "unity3d/Assets/Swrve/SwrveSDK/Helpers/MiniJsonHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150107"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
namespace Swrve.Helpers
{
/// <summary>
/// Used internally to extend the functionality of MiniJSON.
/// </summary>
public static class MiniJsonHelper
{
public static int GetInt (Dictionary<string, object> json, string key)
{
return GetInt (js... | 2.40113 | 543dff1fc36f476892579d09309d0227 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830888 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ztittle/ZWaveControllerClient",
"max_stars_repo_path": "ZWaveControllerClient/FrameType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150108"
} | starcoder | namespace ZWaveControllerClient
{
public enum FrameType : byte
{
Request = 0x00,
Response = 0x01
}
}
| 1.898887 | 36ffc20b2047f99143159fc9c0b1d3b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830889 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ARLM-Attic/ExEn",
"max_stars_repo_path": "ExEnCore/CurveKey.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150109"
} | starcoder | <reponame>ARLM-Attic/ExEn<filename>ExEnCore/CurveKey.cs
using System;
using System.ComponentModel;
namespace Microsoft.Xna.Framework
{
[Serializable]
public class CurveKey : IEquatable<CurveKey>, IComparable<CurveKey>
{
#region Private Fields
private CurveContinuity continuity;
private float posit... | 2.692456 | df309c91483f98a5b5f14006c82d5e11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "knrdk/AdventOfCode",
"max_stars_repo_path": "2018/11/src/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150110"
} | starcoder | using System;
namespace src
{
class Program
{
static void Main(string[] args)
{
const int size = 300;
int serialNumber = int.Parse(args[0]);
int[,] powerLevels = new int[size, size];
for (int i = 0; i < size; i++)
{
... | 3.512788 | e8cc34aeb8eb7f1cb2d4e98fa397d9dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830891 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rumdood/Bolognese",
"max_stars_repo_path": "src/BolognesePlayer/Media/FileSystemSongFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150111"
} | starcoder | <filename>src/BolognesePlayer/Media/FileSystemSongFactory.cs<gh_stars>1-10
using TagLib;
using Bolognese.Common.Media;
using System;
using System.IO.Abstractions;
using System.Collections.Generic;
namespace Bolognese.Desktop
{
public class FileSystemSongFactory : ISongFactory
{
private readonly IFileS... | 2.906276 | dccbf38d602b98f201e3cea777671815 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830892 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eskaufel/Yale",
"max_stars_repo_path": "src/Yale/Expression/Elements/MemberElements/ExpressionMemberElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150112"
} | starcoder | using System;
using Yale.Expression.Elements.Base;
using Yale.Parser.Internal;
namespace Yale.Expression.Elements.MemberElements
{
internal class ExpressionMemberElement : MemberElement
{
private readonly BaseExpressionElement _myElement;
public ExpressionMemberElement(BaseExpressionElement e... | 2.155757 | fa9bbad36851a9769c24fe8297e071c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830893 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "chirokov/ACQ",
"max_stars_repo_path": "ACQ.Math/Interpolation/BiAkimaInterpolation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150113"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ACQ.Math.Interpolation
{
public class BiAkimaInterpolation : BiInterpolation<AkimaInterpolation>
{
public BiAkimaInterpolation(double[] x1, double[] x2, double[,] y)
: base(x1, x2, y, ... | 2.447398 | e267e665a5f8049cfb3b83702904068e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830894 | {
"extension": "c-sharp",
"max_stars_count": "158.0",
"max_stars_repo_name": "cpt-max/DeferredEngine",
"max_stars_repo_path": "DeferredEngine/Renderer/Helper/HelperGeometry/OctahedronMesh.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150114"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace DeferredEngine.Renderer.Helper
{
class OctahedronMesh
{
private VertexBuffer _vertexBuffer;
priva... | 2.805704 | ab94ffc995a777ba061f7ed9344ad9d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830895 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BaseTech-Inc/Server",
"max_stars_repo_path": "src/Infrastructure/Persistence/Migrations/20211103210926_Update Ponto Risco.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150115"
} | starcoder | <reponame>BaseTech-Inc/Server<filename>src/Infrastructure/Persistence/Migrations/20211103210926_Update Ponto Risco.Designer.cs
// <auto-generated />
using System;
using Infrastructure.Persistence;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCo... | 1.971625 | e23f96bf9c8af4f7a20af4c0fbc6cbf7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830896 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "srollinet/testcontainers-dotnet",
"max_stars_repo_path": "src/Container.Abstractions/Utilities/GoLang/StringExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150116"
} | starcoder | namespace TestContainers.Container.Abstractions.Utilities.GoLang
{
/// <summary>
/// Extensions used by GoLangFileMatch
/// </summary>
public static class StringExtensions
{
/// <summary>
/// Java implementation of substring uses endIndex as the second parameter instead of length
... | 2.901104 | 918369d40f7842e164980ba60f96dfff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830897 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thombrink/ZigbeeNet",
"max_stars_repo_path": "ZigBeeNet/ZDO/Command/ManagementNetworkDiscoveryResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150117"
} | starcoder | using System;
using System.Text;
using ZigBeeNet.Transaction;
using ZigBeeNet.ZCL;
using ZigBeeNet.ZCL.Protocol;
namespace ZigBeeNet.ZDO.Command
{
/**
* Management Network Discovery Response value object class.
*
* The Mgmt_NWK_Disc_rsp is generated in response to an
* Mgmt_NWK_Disc_req. If this m... | 1.765499 | 2061a02111ed09752c4fabb204ca3e69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830898 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "depfac/dfakto.states.workers",
"max_stars_repo_path": "dFakto.States.Workers.Tests/SqlBulkInsertWorkerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150118"
} | starcoder | <filename>dFakto.States.Workers.Tests/SqlBulkInsertWorkerTests.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using dFakto.States.Workers.FileStores;
using dFakto.States.Workers.Interfaces;
using dFakto.Stat... | 2.391915 | 1e90909f5a6aedbe89757a216080e8ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830899 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kamentr/Programming-Fundamentals",
"max_stars_repo_path": "Regex/RegularExpresiion/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150119"
} | starcoder | <gh_stars>0
using System;
using System.Text.RegularExpressions;
public class Example
{
public static void Main()
{
string pattern = @"\b0?x?[0-9A-F]+\b";
string input = @"0x10 0xAB 0x1F 10 AB 1F FF
0xG G 0x4G 4G 0xFG FG";
RegexOptions options = RegexOptions.Multiline;
foreac... | 3.214983 | 58b9772d2ef3e476c505451033a9388e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830900 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ga-explorer/GeometricAlgebraLib",
"max_stars_repo_path": "GraphicsComposerLib/SharpGLTF/SharpGLTF.Core/Runtime/DrawableInstance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150120"
} | starcoder | <filename>GraphicsComposerLib/SharpGLTF/SharpGLTF.Core/Runtime/DrawableInstance.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace SharpGLTF.Runtime
{
[System.Diagnostics.DebuggerDisplay("{_ToDebuggerDisplayString(),nq}")]
public readonly struct DrawableInstance
{
#reg... | 2.897313 | b28561fd2184e86dfaa0685629514469 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830901 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "itspaiva/DDTank4.1",
"max_stars_repo_path": "Source Server/SourceQuest4.5/SqlDataProvider/SqlDataProvider.Data/AchievementDataInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150121"
} | starcoder | using System;
namespace SqlDataProvider.Data
{
public class AchievementDataInfo : DataObject
{
private int _achievementID;
private DateTime _completedDate;
private bool _isComplete;
private int _userID;
public int AchievementID
{
get
{
return _achievementID;
}
set
{
_achievemen... | 2.363642 | 8530fd531f7e0ae6a308d03f3df70a88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830902 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DimchoLakov/Architecture-Of-ASP-NET-Core-Microservices-Apps",
"max_stars_repo_path": "MyOnlineShop/MyOnlineShop.WebMVC/Views/ShoppingCarts/Checkout.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:150122"
} | starcoder | @model ShoppingCartOrderWrapperViewModel
@{
ViewData["Title"] = "Checkout";
}
@if (!string.IsNullOrWhiteSpace(ViewBag.ShoppingCartInoperativeMsg))
{
<p class="text-white bg-danger">@ViewBag.ShoppingCartInoperativeMsg</p>
}
<div class="row">
<div class="col-md-12">
@foreach (var cartItem in Model... | 2.509015 | 5616d9730b6161edf9f7c1e03330dc83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830903 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zl33842901/DiagnosticLogCenter",
"max_stars_repo_path": "xLiAd.DiagnosticLogCenter.CollectServer/Repositories/LogRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150123"
} | starcoder | <reponame>zl33842901/DiagnosticLogCenter
using LinqKit;
using MongoDB.Driver;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using xLiAd.DiagnosticLogCenter.CollectServer.Models;
using xLiAd.MongoEx.Re... | 2.289803 | 3e5f1d6ef6df6b00b219b72218faf6db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830904 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alexmullans/Siftables-Emulator",
"max_stars_repo_path": "Siftables/Siftables.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150124"
} | starcoder | using System;
using System.Runtime.InteropServices.Automation;
using System.Windows;
using System.Windows.Controls.Primitives;
namespace Siftables
{
public partial class Siftables
{
public Siftables()
{
Startup += ApplicationStartup;
Exit += Application_Exit;
... | 2.364605 | c7434436f68727330e4e108364ddf349 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830905 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alisonjonck/reactnetcore",
"max_stars_repo_path": "App.Tests/Controllers/FeedDataControllerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150125"
} | starcoder | <gh_stars>1-10
using App.Controllers;
using App.Domain.Interfaces.Services;
using App.Domain.Models;
using App.ViewModels;
using Moq;
using NUnit.Framework;
using System.Collections.Generic;
namespace App.Tests.Controllers
{
[TestFixture]
public class FeedDataControllerTests
{
[Test]
publi... | 2.46209 | 404ff910dae76395e0acc3298332796e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830906 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sgwatgit/feature-dashboard",
"max_stars_repo_path": "FeatureDashboard.Web/Pages/ApplicationEnvironments/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:150126"
} | starcoder | @page
@model ApplicationEnvironments.IndexModel
@{
ViewData["Title"] = "Application Environments";
}
<h2>@ViewData["Title"]</h2>
<a asp-page="./Create">Create</a>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.ApplicationEnvironments[0].Name)... | 2.532608 | aa09ae302bfcf2ab449ff45ad3f18eea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830907 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mbevier/ArchaicQuest-II",
"max_stars_repo_path": "WhoPK.GameLogic/Skill/Model/Requirements.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150127"
} | starcoder | using WhoPK.GameLogic.Character.Model;
using WhoPK.GameLogic.Character.Status;
namespace WhoPK.GameLogic.Skill.Model
{
public class Requirements
{
public int MinLevel { get; set; }
public bool Good { get; set; }
public bool Neutral { get; set; }
public bool Evil { get; set; }
... | 2.126354 | 75e0948bbe1ac43f4cd4a60f84a2552e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830908 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aetos382/CodeEmbed",
"max_stars_repo_path": "CodeEmbed.GitHubClient/Models/IAuthorizedUser.Generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150128"
} | starcoder | <reponame>aetos382/CodeEmbed
namespace CodeEmbed.GitHubClient.Models
{
using System;
using System.CodeDom.Compiler;
using System.Diagnostics.Contracts;
[GeneratedCode("ModelInterface.tt", "1.0")]
public partial interface IAuthorizedUser
: IUser
{
/// <summary>Map to "t... | 1.354235 | fd65f0edd737030f3b1bff149e95a985 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830909 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daniel-leinweber/auto-save-notepad",
"max_stars_repo_path": "AutoSaveNotepad/AutoSaveNotepad/ViewModels/ViewModelBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150129"
} | starcoder | using AutoSaveNotepad.Helper;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Security.Policy;
using System.Windows.Input;
namespace AutoSaveNotepad.ViewModels
{
public class ViewModelBase : INotifyPropertyChanged
{
#regi... | 2.73741 | a1db70c1803ae659b81682fce6a227df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830910 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "diplinfmarkodrews/MadExchange",
"max_stars_repo_path": "MadXchange.Exchange/Infrastructure/Stores/InstrumentStore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150130"
} | starcoder | <gh_stars>1-10
using MadXchange.Exchange.Domain.Cache;
using MadXchange.Exchange.Domain.Types;
using MadXchange.Exchange.Types;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Text;
namespace MadXchange.Exchange.Infrastructure.Stores
{
public interface IInstrument... | 2.188693 | 0c01f88b604903e2c6711fb3b9b1d9d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830911 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dampee/friendly-sitemap",
"max_stars_repo_path": "src/Our.Umbraco.FriendlySitemap/Builders/SitemapBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150131"
} | starcoder | using System.Linq;
using System.Xml.Linq;
using Our.Umbraco.FriendlySitemap.Extensions;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Web;
namespace Our.Umbraco.FriendlySitemap.Builders
{
public class SitemapBuilder : ISitemapBuilder
{
private readonly XNamespace _xmlns = XNamespace.Get("h... | 2.490756 | 00ca0b9323cec9b757564639f8e0bc01 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.