added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72233 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Daymortel/Stump",
"max_stars_repo_path": "src/Stump.DofusProtocol/Messages/Messages/Game/Actions/Fight/GameActionFightDispellSpellMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72234"
} | starcoder | <reponame>Daymortel/Stump
namespace Stump.DofusProtocol.Messages
{
using System;
using System.Linq;
using System.Text;
using Stump.DofusProtocol.Types;
using Stump.Core.IO;
[Serializable]
public class GameActionFightDispellSpellMessage : GameActionFightDispellMessage
{
public n... | 2.122783 | d37c4af3b38ed05a4e89219674f05a84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72234 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "weirdyang/SqCore",
"max_stars_repo_path": "src/WebServer/SqCoreWeb/Controllers/UserAccountController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72235"
} | starcoder | using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namesp... | 2.256857 | 37e7a2bb65d9011996a10cd74ff2b551 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72235 | {
"extension": "c-sharp",
"max_stars_count": "490.0",
"max_stars_repo_name": "saber-wang/Element-Blazor",
"max_stars_repo_path": "src/Components/RenderConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72236"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
namespace Element
{
public class RenderConfig
{
public RenderConfig()
{
Console.WriteLine("create render config");
}
public bool IsRequired { get; set; }
public strin... | 2.113294 | 0b05630240c474fd678ba55af369d4be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72236 | {
"extension": "c-sharp",
"max_stars_count": "895.0",
"max_stars_repo_name": "carlwoodhouse/yessql",
"max_stars_repo_path": "src/YesSql.Provider.SqlServer/SqlServerComandInterpreter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72237"
} | starcoder | using System.Text;
using YesSql.Sql;
using YesSql.Sql.Schema;
namespace YesSql.Provider.SqlServer
{
public class SqlServerCommandInterpreter : BaseCommandInterpreter
{
public SqlServerCommandInterpreter(ISqlDialect dialect) : base(dialect)
{
}
public override void Run(StringBui... | 2.13342 | f9e20bc7c5daef8df1ac1ffefd8d820e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72237 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "FluentProSoftware/FluentPS",
"max_stars_repo_path": "Source/FluentPro.FluentPS/FluentPro.FluentPS.Psi/Network/Bindings/HttpPsiWcfBinding.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72238"
} | starcoder | namespace FluentPro.FluentPS.Psi.Network.Bindings
{
using System.ServiceModel;
public class HttpPsiWcfBinding : PsiWcfBinding
{
public HttpPsiWcfBinding()
: base(BasicHttpSecurityMode.TransportCredentialOnly)
{
}
}
}
| 1.465316 | 195c32e05a6ed78057daf1917c84c443 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72238 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lquentawav/breeze.sharp",
"max_stars_repo_path": "Tests/Internal/Tests/JsonQuerySerializationTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72239"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Foo;
using Breeze.Sharp.Json;
namespace Breeze.Sharp.Tests {
/// <summary> Test whether EntityQuery is serialized to JSON correctly </summary>
[TestClass]
public class JsonQue... | 2.220756 | b596ba90f46f573c09627a7ffa6717f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72239 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "meinsiedler/ExcelTableConverter",
"max_stars_repo_path": "Source/ExcelTableConverter.LatexTableConverter/CellFormaters/AllStylesCellFormatter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72240"
} | starcoder | <filename>Source/ExcelTableConverter.LatexTableConverter/CellFormaters/AllStylesCellFormatter.cs<gh_stars>1-10
using System.Linq;
using ExcelTableConverter.ExcelContent.Model;
using ExcelTableConverter.LatexTableConverter.ColorStylers;
using ExcelTableConverter.LatexTableConverter.EmphTextStylers;
using ExcelTableConv... | 2.80951 | 1f9307d032258623038a8518b0711cad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72240 | {
"extension": "c-sharp",
"max_stars_count": "1998.0",
"max_stars_repo_name": "Aliacf21/BotBuilder-Samples",
"max_stars_repo_path": "samples/csharp_dotnetcore/language-generation/06.using-cards/Bots/DialogAndWelcomeBot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72241"
} | starcoder | <reponame>Aliacf21/BotBuilder-Samples
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Schema;
us... | 2.296852 | ee46c47f58ad7c3a36a1729201641f82 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72241 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "victoralvesp/poke-trader",
"max_stars_repo_path": "src/PokeTrader.Data/Services/DefaultPokemonRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72242"
} | starcoder | <gh_stars>0
using PokeTrader.Core.Pokemons.Models;
using PokeTrader.Core.Repositories.Abstractions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PokeApiNet;
using Pokemon = PokeTrader.Core.Pokemons.Models.Pokemon;
namespace PokeTrader.Data.S... | 2.348597 | feaba4d23c91f69206fbe3d301710c37 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72242 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "h0ss3in88/ChinookDotNetCore2",
"max_stars_repo_path": "Chinook.Web/Controllers/CustomerController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72243"
} | starcoder | using Chinook.Model;
using Chinook.Model.Data;
using Microsoft.AspNetCore.Mvc;
namespace Chinook.Web.Controllers
{
public class CustomerController : Controller
{
private readonly IQuery<Customer> _customer;
public CustomerController(IQuery<Customer> customer)
{
_customer =... | 2.339107 | ffa2584524456480352976aac3062a31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72243 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "prosser/SatisfactoryExtractor",
"max_stars_repo_path": "dotnet/samples/SampleProgram/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72244"
} | starcoder | <reponame>prosser/SatisfactoryExtractor
// This is a sample written for .NET 6.0 You must have Visual Studio 2022 or VS Code w/ .NET 6.0 SDK to compile it!
// (and you must have .NET 6.0 runtime installed to run it...)
using System;
using System.IO;
using Rosser.SatisfactoryExtractor;
// configure options
var option... | 2.251123 | c14df156f7dbbdddd867db3b3e906639 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72244 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kurtdekker/Leanplum-Unity-SDK",
"max_stars_repo_path": "LeanplumSample/Assets/LeanplumSDK/LeanplumNative/SocketWrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72245"
} | starcoder | // ------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Mono Runtime Version: 4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerat... | 2.088427 | ca49630afa4e3d2f569247e87c1015eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72245 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "sts-CAD-Software/PCB-Investigator-Scripts",
"max_stars_repo_path": "Import/ImportCadenceAllegroDrills.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72246"
} | starcoder | //Synchronous template
//-----------------------------------------------------------------------------------
// PCB-Investigator Automation Script
// Created on 11.04.2016
// Autor Fabio.Gruber
//
// Import gerber and excellon file output from Cadence Allegro (tools defined as comments beginning with ; and much ... | 2.125564 | 436137b191d3415b3f18a588413d1b02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72246 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "econmed/ImageServer20",
"max_stars_repo_path": "Dicom/Iod/Sequences/PerformedSeriesSequenceIod.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72247"
} | starcoder | #region License
// Copyright (c) 2009, ClearCanvas Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright not... | 2.292403 | 7aa5d0782fef574aa3cad8f88d57e11d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72247 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "MedAnd/service-fabric-client-dotnet",
"max_stars_repo_path": "src/Microsoft.ServiceFabric.Common/Generated/DeployedStatelessServiceInstanceInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72248"
} | starcoder | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.ServiceFabr... | 2.213809 | fe819d791b88e434a3d727b89292c1cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72248 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "Michsior14/PullRequestQuantifier",
"max_stars_repo_path": "src/Clients/PullRequestQuantifier.GitHub.Client/Events/PullRequestEventHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72249"
} | starcoder | <reponame>Michsior14/PullRequestQuantifier<gh_stars>10-100
namespace PullRequestQuantifier.GitHub.Client.Events
{
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Ext... | 1.947634 | 4ce915cfb89e1fa807a06407eff988e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72249 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rintindon/SSH.NET.dotnetcore",
"max_stars_repo_path": "src/Renci.SshNet.Core.Test/Classes/Security/AlgorithmTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72250"
} | starcoder | <gh_stars>0
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Renci.SshNetCore.Security;
using Renci.SshNetCore.Tests.Common;
namespace Renci.SshNetCore.Tests.Classes.Security
{
/// <summary>
///This is a test class for AlgorithmTest and is intended
///to contain all AlgorithmTest Unit Tests
/... | 2.061526 | 85dc8fad56886a4750f4bb7da9ac94a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72250 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brendon1982/PeanutButter",
"max_stars_repo_path": "source/TestUtils/PeanutButter.TestUtils.Generic/ConstructorTestUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72251"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using NSubstitute;
using PeanutButter.TestUtils.Generic.NUnitAbstractions;
using PeanutButter.Utils;
// Author notice: most of this is not written by me and may be subject to removal at the
// behest of the original author: <... | 2.791066 | 077c761fe0090ebeff29a79b1d8d940a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72251 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VytautasBoznis/CoinMonitorService",
"max_stars_repo_path": "Business/CoinMonitorService/CoinMonitor.Domain/Enums/ExchangePairTypeEnum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72252"
} | starcoder | namespace CoinMonitor.Domain.Enums
{
public enum ExchangePairTypeEnum: short
{
BTC_USD = 1,
ETH_USD = 2,
ETH_BTC = 3,
ETH_EUR = 4,
BTC_EUR = 5
}
}
| 1.812322 | 4e68e6c6522ccd30802d35cf7dce093e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72252 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "LeCantaloop/OctoHook",
"max_stars_repo_path": "Console/TraceEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72253"
} | starcoder | <reponame>LeCantaloop/OctoHook
namespace OctoHook
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
/// <summary>
/// Payload data to send to the hub about the traced event.
/// </summary>
partial class TraceEvent
... | 1.860633 | 343cc571719420a277b27de636a5b382 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72253 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JokerFunny/ProjectManagement",
"max_stars_repo_path": "ProjectManagementApp/ProjectManagementFramework/RegistrationWithServices.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72254"
} | starcoder | using Autofac;
using BLL.Interfaces;
using ProjectManagementFramework.RegistrationMQService;
using ProjectManagementFramework.RegistrationASMXService;
using System;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows... | 2.150198 | 42f5d33dd6524d5bf4612f7edd305e11 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72254 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "techhowdy/CMS_CORE_NG",
"max_stars_repo_path": "ModelService/DashboardModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72255"
} | starcoder | <reponame>techhowdy/CMS_CORE_NG
using System;
namespace ModelService
{
public class DashboardModel
{
public int TotalUsers { get; set; }
public int NewUsers { get; set; }
public int PendingRequests { get; set; }
public int TotalPosts { get; set; }
}
}
| 1.276748 | 6749efaebd974b2a9d33e8bb1b9d8771 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72255 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "sarangan12/azure-openapi-arm-validator",
"max_stars_repo_path": "src/dotnet/AutoRest/JsonRpc/ProtocolExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72256"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.Perks.JsonRPC
{
public static class ProtocolExtensions
{
p... | 3.107981 | 0174d4b0bb667cc439605f8af4f62e79 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72256 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Amnetan-Bifurbrot/Epidemic-Models",
"max_stars_repo_path": "Edge.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72257"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Epidemic_Models {
public class Edge<T> {
public Node<T> From { get; set; }
public Node<T> To { get; set; }
public int Weight { get; set; }
public Edge(Node... | 3.026596 | b447e59be4ef21a34add9f4ea7d667d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72257 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "mburbea/koar-item-editor",
"max_stars_repo_path": "KoAR.SaveEditor/Constructs/MouseDoubleClick.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72258"
} | starcoder | <reponame>mburbea/koar-item-editor<gh_stars>10-100
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace KoAR.SaveEditor.Constructs
{
public static class MouseDoubleClick
{
public static readonly DependencyProperty CommandParameterProperty = Dependenc... | 2.31309 | 1a4618da8607a718ecedb822bbd5b37e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72258 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CraigRichards/pact-workshop-dotnet-core-v3",
"max_stars_repo_path": "Consumer/src/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72259"
} | starcoder | <gh_stars>0
using System;
namespace Consumer
{
class Program
{
static void Main(string[] args)
{
var ApiClient = new ApiClient(new Uri("http://localhost:9001"));
Console.WriteLine("**Retrieving product list**");
var response = ApiClient.GetAllPro... | 2.343699 | fcb67c529b8816e650493256504e71a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72259 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "BrightstarDB/odata-sparql",
"max_stars_repo_path": "ODataLib/EdmLib/Silverlight/Microsoft/Data/Edm/Library/EdmNavigationProperty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72260"
} | starcoder | // Copyright 2011 Microsoft Corporation
//
// 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 applicabl... | 2.222532 | b7a6fd83d16fd0474fd38ecfa3525f18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72260 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LutzBoeckelmann/YADA",
"max_stars_repo_path": "ArchRuleExample/Core/CoreModule1/UI/View1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72261"
} | starcoder | <reponame>LutzBoeckelmann/YADA
using ArchRuleExample.Core.CoreModule1.Data;
namespace ArchRuleExample.Core.CoreModule1.UI
{
public class View1
{
readonly Module1DataClass1 m_AllowedAccess;
public Module1DataClass1 AllowedAccess => m_AllowedAccess;
public View1(Module1DataClass1 allowed... | 1.918725 | 401f002a8d7f19cf262d5365de675ad0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72261 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ngxuansang/squidex",
"max_stars_repo_path": "backend/src/Squidex.Domain.Apps.Entities.MongoDb/Text/MongoTextIndex.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72262"
} | starcoder | <reponame>ngxuansang/squidex
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
/... | 1.804979 | 688c1f913e7037d612ab894194d7d64d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72262 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndreasElgaard/airplane-traffic-monitor",
"max_stars_repo_path": "ATM/ATM/OutputValidation/OutputFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72263"
} | starcoder | <filename>ATM/ATM/OutputValidation/OutputFilter.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ATM.OutputValidation
{
class OutputFilter
{
private ILogger _consoleLogger;
private ILogger _ILogger;
private... | 2.484529 | 731d02c4d40717f40827d47287f83ed1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72263 | {
"extension": "c-sharp",
"max_stars_count": "4075.0",
"max_stars_repo_name": "YellowAfterlife/asm-dude",
"max_stars_repo_path": "VS/CSHARP/asm-dude-vsix/CodeFormatting/VsPkg.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72264"
} | starcoder | /***************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
PURPOSE, MERCHANTABILITY, OR NON-I... | 2.032904 | b4e9aec1effc8f8175cf1a2cb5e1cb22 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72264 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "boombuler/adventofcode",
"max_stars_repo_path": "2016/Day25.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72265"
} | starcoder | namespace AdventOfCode._2016;
using System.Collections.Generic;
using AdventOfCode.Utils;
class Day25 : Solution
{
enum OpCode { cpy, inc, dec, jnz, @out };
class VM : AsmVM<OpCode>
{
public VM(string code)
: base(code)
{ }
public IEnumerable<int> RunCode(int a)
... | 3.110233 | 6298833c1940cc7bea2ea4d25524896b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72265 | {
"extension": "c-sharp",
"max_stars_count": "294.0",
"max_stars_repo_name": "charsleysa/MOSA-Project",
"max_stars_repo_path": "Source/Mosa.Demo.VBEWorld.x86/Components/Button.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72266"
} | starcoder | <reponame>charsleysa/MOSA-Project
// Copyright (c) MOSA Project. Licensed under the New BSD License.
using System;
using System.Drawing;
namespace Mosa.Demo.VBEWorld.x86.Components
{
public class Button
{
public int X, Y, Width, Height;
public string Text;
public Color BackColor, ForeColor, HoverColor;
... | 2.600822 | f21845ab3d98599c40baa370695814d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72266 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danvy/sigfox",
"max_stars_repo_path": "src/SigfoxLib/DecodedMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72267"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SensitLib
{
public class DecodedMessage
{
private Version version;
public string Device { get; set; }
public string Data { get; set; }
public Mode Mode ... | 2.147282 | d94208f0c9a82fc1e41b23756bdd2297 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72267 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wgcv/Ayudantias-Programacion-en-Capas",
"max_stars_repo_path": "Clase 2 SQL y Maestra/Maestra/Maestra/Default.aspx.designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72268"
} | starcoder | //------------------------------------------------------------------------------
// <generado automáticamente>
// Este código fue generado por una herramienta.
//
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
// se vuelve a generar el código.
// </genera... | 1.55812 | de4219b4e80e93c67b02f7d9886e4ae2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72268 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "herrylau/wwzkushop",
"max_stars_repo_path": "MxWeiXinPF.Model/plugs/wx_diancai_form_control.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72269"
} | starcoder | using System;
namespace MxWeiXinPF.Model
{
/// <summary>
/// 预约的表单字段
/// </summary>
[Serializable]
public partial class wx_diancai_form_control
{
public wx_diancai_form_control()
{}
#region Model
private int _id;
private int? _shopinfoid;
private string _cname;
private string _ctype;
private int?... | 2.199958 | 4ebed7d267b9ae584db779368e8bf762 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72269 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "BobDoleOwndU/FoxTool",
"max_stars_repo_path": "FoxTool/Tpp/Classes/Data.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72270"
} | starcoder | <reponame>BobDoleOwndU/FoxTool<filename>FoxTool/Tpp/Classes/Data.cs
using FoxTool.Fox.Types.Values;
namespace FoxTool.Tpp.Classes
{
public class Data : Entity
{
// Static properties
public FoxString Name { get; set; }
public FoxEntityHandle DataSet { get; set; }
}
}
| 1.380268 | e84f4141ac7d8b2ef19ee61f6f53ad56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72270 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "doordie1991/EasyModular",
"max_stars_repo_path": "test/EasyModular.SqlSugar.Test/RepositoryTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72271"
} | starcoder |
using EasyModular.Utils;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace EasyModular.SqlSugar.Test
{
[TestClass]
public class RepositoryTest
{
[TestMethod]
public void Test_Transaction()
... | 2.23864 | 114c0601856756dcbce229b0bbddd9b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72271 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "luthfiampas/Avalonia",
"max_stars_repo_path": "samples/SampleControls/HamburgerMenu/HamburgerMenu.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72272"
} | starcoder | <gh_stars>1-10
using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
using Avalonia.Media;
namespace ControlSamples
{
public class HamburgerMenu : TabControl
{
private SplitView? _splitView;
public static readonly StyledProperty<IBrush?> PaneBackgroundProperty =
... | 2.244814 | ddfaf4386e57ab8fdf3358f44d0d01f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72272 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "iamscottxu/SimpleBlog",
"max_stars_repo_path": "Scottxu.Blog/Views/Shared/_Layout.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:72273"
} | starcoder | <gh_stars>1-10
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="renderer" content="webkit"/>
<title>@ViewBag.Title</title>
@RenderSection("Head... | 1.630186 | 6787ffb0e2558ca4a67fe65c0a1c42de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72273 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "The-Krystal-Ship/Inquisition.Reporting",
"max_stars_repo_path": "Inquisition.Reporting/Models/EmailProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72274"
} | starcoder | <gh_stars>1-10
namespace Inquisition.Reporting
{
public enum EmailProvider
{
/// <summary>
/// Host: smtp.gmail.com, Port:
/// </summary>
Google,
/// <summary>
/// Host: , Port:
/// </summary>
Microsoft,
/// <summary>
/// Use S... | 1.924507 | f589cde6d9a11438ace0ef06966a555d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72274 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ITA-Dnipro/WhatBackend",
"max_stars_repo_path": "CharlieBackend.AdminPanel/Services/CalendarService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72275"
} | starcoder | using AutoMapper;
using CharlieBackend.AdminPanel.Models.Calendar;
using CharlieBackend.AdminPanel.Services.Interfaces;
using CharlieBackend.AdminPanel.Utils.Interfaces;
using CharlieBackend.Core.DTO.Course;
using CharlieBackend.Core.DTO.Mentor;
using CharlieBackend.Core.DTO.Schedule;
using CharlieBackend.Core.DTO.Stu... | 2.497849 | 2aca598bc1bf38610f948ae09f56601d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72275 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivanBalev/ASP.NET-Core",
"max_stars_repo_path": "Web/BDInSelfLove.Web/Controllers/CommentsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72276"
} | starcoder | namespace BDInSelfLove.Web.Controllers
{
using System.Linq;
using System.Threading.Tasks;
using BDInSelfLove.Common;
using BDInSelfLove.Data.Models;
using BDInSelfLove.Services.Data.Comments;
using BDInSelfLove.Services.Mapping;
using BDInSelfLove.Services.Messaging;
using BDInSelfLove... | 1.91208 | a3aaef3d2d1aa21cffa9ca445573f713 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72276 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Xhine0/LevelGen",
"max_stars_repo_path": "LevelGen/Editor/Editor_Level.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72277"
} | starcoder | <reponame>Xhine0/LevelGen<gh_stars>0
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
using static UnityEditor.EditorGUILayout;
[CustomEditor(typeof(Level))]
public class Editor_Level : AbstractEditor<Level> {
private LevelGenerator2D gen = null;
private LevelGenerator2D LG {
get {
if (gen == null) gen =... | 1.825457 | fcba76f4e0b0cdb651e7c849276ad788 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72277 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leixf2005/Alipay.AopSdk.Core",
"max_stars_repo_path": "Alipay.AopSdk.Core/Domain/KoubeiCateringOrderInfoModifyModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72278"
} | starcoder | using System;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// KoubeiCateringOrderInfoModifyModel Data Structure.
/// </summary>
[Serializable]
public class KoubeiCateringOrderInfoModifyModel : AopObject
{
/// <sum... | 1.846396 | 51b83b2804d3b42911846644d31e72d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72278 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ayganv/TileGame",
"max_stars_repo_path": "Assets/Scripts/TileScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72279"
} | starcoder | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TileScript : MonoBehaviour
{
[SerializeField] public TileTypes greentile;
[SerializeField] public TileTypes bluetile;
[SerializeField] public TileTypes yellowtile;
... | 1.955726 | ef27c25d2404c818b983d54dcbd18d25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72279 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Maeloo/Little_Heroes",
"max_stars_repo_path": "Assets/Scripts/UI/Buttons/CustoPanelButton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72280"
} | starcoder | <filename>Assets/Scripts/UI/Buttons/CustoPanelButton.cs
namespace LittleHeroes {
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class CustoPanelButton : ABasicButton {
[SerializeField] private ABasicPanel _panel;
[SerializeField] private CustoMenu _panelParent;
private int ind... | 2.120281 | e8d8f4615e0157f1ada794466f34c10b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72280 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NNNIC/hug-unity-browser",
"max_stars_repo_path": "M14/Assets/htmlProject/Source/hug_u/_html/hglRender.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72281"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
using hug_u;
namespace hug_u {
public class hglRender {
public Camera m_camera;
public hglHtmlRenderInfo m_renderInfo;
public hglHtmlColor m_htmlColor;
public hglAnchor m_anchor;
p... | 2.018178 | 9d6e36847ace2294b05d360052518a35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72281 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wootra/TestNetConnector",
"max_stars_repo_path": "CommonModules/GraphModules/MultiLineGraphWinRealTime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72282"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Gigasoft.ProEssentials;
using Gigasoft.ProEssentials.Enums;
using Gigasoft.ProEssentials.EventArg;
using GigsStructs = Gigasoft.P... | 1.867533 | cfad33a6d6ed63c97a6950ce07a45b8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72282 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChrisAtanasov056/FitForLife",
"max_stars_repo_path": "Web/FitForLife.Web/Areas/Administration/Views/Shared/_AdminHeaderPartial.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:72283"
} | starcoder | <gh_stars>0
<div>
<a asp-area="" asp-controller="Home" asp-action="Index"><span>Fit4Life</span></a>
</div> | 1.125064 | 1d87aa9275aaf16df35e9a3556159b95 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72283 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kubalav/Flow.Launcher",
"max_stars_repo_path": "Flow.Launcher/CustomQueryHotkeySetting.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72284"
} | starcoder | using Flow.Launcher.Core.Resource;
using Flow.Launcher.Helper;
using Flow.Launcher.Infrastructure.Hotkey;
using Flow.Launcher.Infrastructure.UserSettings;
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Windows;
using System.Windows.Input;
using System.Windows.Controls;
namespace F... | 1.923217 | 6c70d2f6126b4903ed8bdd3381e0c44c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72284 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "paperdropio/gymcheckin",
"max_stars_repo_path": "GymCheckin/GymCheckin/Views/SelectIdentificationProof.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72285"
} | starcoder | using Plugin.Media;
using Stormlion.ImageCropper;
using System;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace GymCheckin.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class SelectIdentificationProof : ContentPage
{
private ViewMo... | 2.202084 | 85ad3e2ce863cdd8f749defb3dee514a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72285 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "Kukks/i2p-cs",
"max_stars_repo_path": "I2PCore/Data/I2PKeyType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72286"
} | starcoder | <reponame>Kukks/i2p-cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Org.BouncyCastle.Math;
using I2PCore.Utils;
namespace I2PCore.Data
{
public abstract class I2PKeyType: I2PType
{
public BufLen Key;
public enum KeyTypes : ushort
... | 2.381596 | 69524c137825e95d22ac48b49c22a907 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72286 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iwenli/ILI",
"max_stars_repo_path": "Iwenli.Mobile/Platform/ReqMsg.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72287"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Iwenli.Mobile.Platform
{
/// <summary>
/// 接受到的消息
/// </summary>
public abstract class ReqMsg
{
/// <summary>
/// 归属平台信息
/// </summary>
publ... | 2.420391 | ea7b760046149de68bf4fde196755e76 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72287 | {
"extension": "c-sharp",
"max_stars_count": "92.0",
"max_stars_repo_name": "ADefWebserver/EventHorizon.Blazor.TypeScript.Interop.Generator",
"max_stars_repo_path": "Tests/EventHorizon.Blazor.TypeScript.Interop.Generator.Tests/GenerateClassStatementStringTests/MethodScenarioTests.cs",
"provenance": "train-000... | starcoder | namespace EventHorizon.Blazor.TypeScript.Interop.Generator.Tests.GenerateClassStatementStringTests
{
using System.IO;
using EventHorizon.Blazor.TypeScript.Interop.Generator.AstParser.Model;
using Xunit;
public class MethodScenarioTests
: GenerateStringTestBase
{
[Theory(DisplayName ... | 2.127258 | c83bee08c28747e152c2a8c654bf7d87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72288 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "phoenix214/BisnerXamarin",
"max_stars_repo_path": "Bisner.Mobile.Core/Service/ITokenService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72289"
} | starcoder | <gh_stars>1-10
using System.Threading.Tasks;
using Bisner.Mobile.Core.Communication;
namespace Bisner.Mobile.Core.Service
{
public interface ITokenService
{
/// <summary>
/// Get the token by supplying the username and password
/// </summary>
/// <param name="username"></param>
... | 2.246327 | e45cf6a7f4bafbdccb57a3caae36702b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72289 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "eraydin/DDDify",
"max_stars_repo_path": "DDDify.Tests/ProductContext/Aggregates/Product.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72290"
} | starcoder | using System;
using DDDify.Aggregates;
using DDDify.Tests.ProductContext.Aggregates.Events;
namespace DDDify.Tests.ProductContext.Aggregates
{
public partial class Product : AggregateRoot<Guid>
{
protected Product()
{
Register<ProductNameChanged>(When);
Register<Produc... | 2.48509 | 525901d702e053ae55c36bd087a840c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72290 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "yusufsahinhamza/darkorbit-emulators",
"max_stars_repo_path": "DarkOrbit 7.5.3/Net/netty/Handler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72291"
} | starcoder | using Ow.Game;
using Ow.Managers;
using Ow.Net.netty.commands;
using Ow.Net.netty.handlers;
using Ow.Net.netty.requests;
using Ow.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ow.Net.netty
{
class Handler
{
private ... | 1.754969 | 6849e42f52504f407053055fb13ef832 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72291 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lovachen/Blade",
"max_stars_repo_path": "Blade/Blade.Provider.Consul/IConsulClientFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72292"
} | starcoder | using Consul;
using System;
using System.Collections.Generic;
using System.Text;
namespace Blade.Grpc.Provider.Consul
{
/// <summary>
/// 获取 Consul Client 工厂
/// </summary>
public interface IConsulClientFactory
{
/// <summary>
///
/// </summary>
/// <param name="co... | 1.56117 | 571e346748bcd789df10d0f36d055d3a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72292 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SuperBonny/Machine",
"max_stars_repo_path": "Machine/Machine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72293"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
namespace Emulator
{
public class Machine
{
private Code code;
private Memory<char> memory;
public Memory<char> Memory { get { return memory; } }
private string state;
public string State { get { ... | 3.294368 | 311a2044fc4e9028a352d51c8e0c88cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72293 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "geexboxs/MongoDB.Entities",
"max_stars_repo_path": "Tests/Models/Flower.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72294"
} | starcoder | namespace MongoDB.Entities.Tests.Models
{
public class Flower : Entity
{
public string Name { get; set; }
public string Color { get; set; }
public Many<CustomerWithCustomId> Customers { get; set; }
public Flower()
{
this.InitOneToMany(x => Customers);
... | 2.225816 | 3264569f2ce02361a830f50125530f33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72294 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "xun-yxkf/UnitySDK",
"max_stars_repo_path": "Source/PlayFabSDK/Events/PlayFabEventsModels.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72295"
} | starcoder | <gh_stars>1-10
#if !DISABLE_PLAYFABENTITY_API
using System;
using System.Collections.Generic;
using PlayFab.SharedModels;
namespace PlayFab.EventsModels
{
/// <summary>
/// Combined entity type and ID structure which uniquely identifies a single entity.
/// </summary>
[Serializable]
public class En... | 2.415363 | fa7b7a82f4fe082fd1e6c5a13f2f50cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72295 | {
"extension": "c-sharp",
"max_stars_count": "885.0",
"max_stars_repo_name": "Sollertix/PnP",
"max_stars_repo_path": "Samples/Core.BulkUserProfileUpdater/Entities/PropertyCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72296"
} | starcoder | <reponame>Sollertix/PnP<gh_stars>100-1000
namespace Contoso.Core
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Xml.Serialization;
/// <summary>
/// The collection of properties
/// </summary>
[XmlRoot("Properties")]
[Serializab... | 2.175364 | abc3f89513f1a109ade73f6275017f59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72296 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gsteinbacher/Decade",
"max_stars_repo_path": "Obacher.CardGame.Core/IDeck.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72297"
} | starcoder | using System.Collections.Generic;
namespace Obacher.CardGame.Core
{
public interface IDeck
{
Card DealCard();
IEnumerable<Card> Deal(int number);
void Shuffle();
IDeck SetFaceCardValues(int value = 10);
IDeck SetTwoValue(int numericValue);
IDeck SetThreeValue(... | 2.744328 | eb940b12a5a01704ff4f5f790ffb5194 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72297 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "naivetang/ET_Tank",
"max_stars_repo_path": "Unity/Assets/Resources/Gaia/Scripts/Common/Editor/EditorUtils EditorGUILayout.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72298"
} | starcoder | // Copyright © 2018 Procedural Worlds Pty Limited. All Rights Reserved.
using UnityEngine;
using UnityEditor;
using System;
using System.Collections.Generic;
using GaiaCommon1.Localization;
namespace GaiaCommon1
{
/// <summary>
/// Handy editor utils - EditorGUILayout Compatibility Layer
/// </summary>
... | 2.511683 | f07290771a94fea232c004bd31f683b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72298 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "YondernautsGames/LayerManager",
"max_stars_repo_path": "Assets/LayerManager/Editor/LayerManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72299"
} | starcoder | <reponame>YondernautsGames/LayerManager
using System;
using System.Text;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using UnityEditorInternal;
using UnityEditor.SceneManagement;
namespace Yondernauts.LayerManager
{
public class LayerManager : EditorWindow
{
const string in... | 2.135892 | 301bea404b0d303fe9e25229e6937d93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72299 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cston/dotnet-api-docs",
"max_stars_repo_path": "snippets/csharp/VS_Snippets_Wpf/HitTestSample/CSharp/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72300"
} | starcoder | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Shapes;
namespace HitTestSample_CS
{
class HitTestSampleApp : Application
{
Window myWindow;
Canvas myCanvas;
Ink... | 2.649719 | a0518c882d59a65bf3131a029066cda7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72300 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "opheliah95/GameDev.tv-Jam",
"max_stars_repo_path": "Assets/Scripts/Case/SuspectData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72301"
} | starcoder | <reponame>opheliah95/GameDev.tv-Jam
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityConstants;
using UnityEngine.Serialization;
[CreateAssetMenu(fileName = "SuspectData", menuName = "ScriptableObjects/Suspect Data")]
public class SuspectData : ScriptableObject
{
... | 1.542774 | eaeb3884b7aacc464a0722ef49660015 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72301 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "KinaUna/KinaUnaXamarin",
"max_stars_repo_path": "KinaUnaXamarin/KinaUnaXamarin/Models/DateHeader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72302"
} | starcoder | <reponame>KinaUna/KinaUnaXamarin
namespace KinaUnaXamarin.Models
{
public class DateHeader
{
public string DateText { get; set; }
}
}
| 1.217455 | cac93472c53151569048fa8d87ca7260 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72302 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ahotko/ImageProcessing",
"max_stars_repo_path": "ImageProcessing/ImageProcessing.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72303"
} | starcoder | <filename>ImageProcessing/ImageProcessing.cs
using System.Drawing;
namespace ImageManipulation
{
public partial class ImageProcessing
{
string _path = "";
public Bitmap Image { get; private set; }
public bool LoadFromFile(string path)
{
Image = new Bitmap(path);
... | 3.216753 | b4ff64c9b9d2a452f51c64dd66166d41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72303 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "chaowlert/algorithm",
"max_stars_repo_path": "Sample/Samples/Combinatorics/Divisor_.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72304"
} | starcoder | <reponame>chaowlert/algorithm
using System;
using System.Linq;
using Chaow.Extensions;
using Chaow.Numeric.Sequence;
namespace Chaow.Combinatorics
{
//Divisor allows you to get divisors of a number
public static class Divisor_
{
public static void Divisor_Create()
{
//this exam... | 3.947057 | 268b18d7031d50654e27f70781099c4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72304 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moshtaba/bit-framework",
"max_stars_repo_path": "src/CSharpClient/Bit.CSharpClient.All/ViewModel/Implementations/DefaultSecurityService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72305"
} | starcoder | <reponame>moshtaba/bit-framework<gh_stars>0
using Autofac;
using Bit.ViewModel.Contracts;
using IdentityModel.Client;
using Newtonsoft.Json;
using Prism.Autofac;
using Prism.Ioc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Xamarin.Auth;... | 1.910505 | 347eb93bec8644f867f08533ef6634c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72305 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "randomCharacter/Enigma",
"max_stars_repo_path": "Enigma/Enigma.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72306"
} | starcoder | namespace Enigma
{
/// <summary>
/// Enigma machine
/// </summary>
public class Enigma
{
// Components
private readonly Plugboard _plugboard;
private readonly Rotor _left;
private readonly Rotor _right;
private readonly Rotor _center;
private readonly... | 3.223469 | bb5147e75953daf8a0c8a16e01738506 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72306 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "factset/enterprise-sdk",
"max_stars_repo_path": "code/dotnet/OptimizationEngineAPIMultiperiod/v1/src/FactSet.SDK.OptimizationEngineAPIMultiperiod/Model/OptimizerInputsFrontierSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:... | starcoder | <gh_stars>1-10
/*
* fpo_mp_input
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections;
using Syste... | 1.994731 | f8401edb2a6a4ee749d847fc49f02af7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72307 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Takym/DotnetExlib",
"max_stars_repo_path": "DotnetExlib/Yeckthone/Token.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72308"
} | starcoder | <filename>DotnetExlib/Yeckthone/Token.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DotnetExlib.Properties;
namespace DotnetExlib.Yeckthone
{
[Author("Takym", copyright: "Copyright (C) 2017 Takym.")]
public class Token
{
}
}
| 1.772675 | 0b82bb71677f0d79cee46495020a4881 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72308 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "ChrisPJohn/SolastaCommunityExpansion",
"max_stars_repo_path": "SolastaCommunityExpansion/Patches/LevelUp/SpellsByLevelGroupPatcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72309"
} | starcoder | using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using HarmonyLib;
using SolastaCommunityExpansion.Api.Infrastructure;
using SolastaCommunityExpansion.Models;
namespace SolastaCommunityExpansion.Patches.LevelUp;
// filters how spells are displayed during level up
[HarmonyPa... | 2.511838 | a410b518cc99bc8bd566e90c230b49d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72309 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "JacksonDorsett/Podium",
"max_stars_repo_path": "New Unity Project/Assets/NetPeer/ServerCommand/CommandHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72310"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace Assets.NetPeer.ServerCommand
{
public abstract class CommandHandler
{
public abstract void Send(IServerCommand command);
public abstract void Recieve... | 1.625547 | 7f407cb3a4d9e7068df67b3b5f94aea0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72310 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brian-nelson/traveller-tools",
"max_stars_repo_path": "src/Apps/Common/Generators/SectorGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72311"
} | starcoder | <gh_stars>0
using TravellerUtils.Libraries.Common.Objects;
namespace TravellerUtils.Libraries.Common.Generators
{
public static class SectorGenerator
{
public static Sector Generate()
{
Sector output = new Sector();
for (int i = 0; i < 4; i++)
{
... | 2.02625 | 3ccfebf55d058a760216cf022273bcef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72311 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "LazyTarget/Lux",
"max_stars_repo_path": "src/Lux/Serialization/Xml/Base/XmlList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72312"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using Lux.Model;
namespace Lux.Serialization.Xml
{
public class XmlList<T> : XmlObject, IXmlArray<T>, IArray<T>
where T : IXmlNode
{
protected readonly IList<T> Data = new List<T>();
... | 2.809837 | f5292a47d26911d1e0ff74382e35339e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72312 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "mastersign/Mastersign.Expressions",
"max_stars_repo_path": "Mastersign.Expressions/Language/NumericHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72313"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Mastersign.Expressions.Language
{
static class NumericHelper
{
public static bool IsNumeric(Type type)
{
if (type == null) return false;
if (!type.IsValueType)... | 2.940046 | 36f648e1ad14e1780e0044ae6ae92940 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72313 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NamidaSai/Soul-Jump",
"max_stars_repo_path": "Assets/Scripts/EndTimesSwitch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72314"
} | starcoder | <filename>Assets/Scripts/EndTimesSwitch.cs
using UnityEngine;
public class EndTimesSwitch : MonoBehaviour
{
private void Start()
{
bool timerEnabled = FindObjectOfType<SettingsHolder>().isTimerEnabled();
if (!timerEnabled)
{
this.gameObject.SetActive(false);
}
}... | 1.937493 | 6cdbf730a844281fa3a464614040ad96 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72314 | {
"extension": "c-sharp",
"max_stars_count": "540.0",
"max_stars_repo_name": "ErQing/cshotfix",
"max_stars_repo_path": "CSHotFix_ILRuntimeSimpleFramework/Assets/CSHotFixLibaray/Generated/AdapterGen/IGameHotFixInterfaceAdapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72315"
} | starcoder | <gh_stars>100-1000
/*
* LCL support c# hotfix here.
*Copyright(C) LCL.All rights reserved
* URL:https://github.com/qq576067421/cshotfix
*QQ:576067421
* QQ Group: 673735733
* Licensed under the MIT License (the 'License'); you may not use this file except in compliance with the License. You may obtain a copy of the Lice... | 2.048974 | 40d99252b1df316a10806fbb06c379b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72315 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amironov73/ManagedIrbis5",
"max_stars_repo_path": "Source/Libs/AM.Core5/Source/Commands/DelegateDescriptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72316"
} | starcoder | <filename>Source/Libs/AM.Core5/Source/Commands/DelegateDescriptor.cs
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// ReSharper disable CheckNamespace
// ReSharper disable ClassNeverInstantiated.Global
//... | 2.135945 | 3e5b13c607c8cc052335fba016cb8824 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72316 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "arakis/ProcEngine",
"max_stars_repo_path": "Common/VertexData/Primitives/IPrimitive.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72317"
} | starcoder | <gh_stars>10-100
// This file is part of Aximo, a Game Engine written in C#. Web: https://github.com/AximoGames
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
namespace Aximo.VertexData
{
public interface IPrimitive
{
... | 1.95008 | 6f4c5eb6b64ca716cfbb1ab2b0ac30b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72317 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "torbiq/AInput",
"max_stars_repo_path": "Assets/Scripts/Core/Controllers/MonoInterfaces/ILateUpdatable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72318"
} | starcoder | namespace AppCore {
public interface ILateUpdatable {
void OnLateUpdate();
}
} | 1.828782 | b351db2b498b211069f3be94b9498fd3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72318 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Therobodavo/DreamDungeon",
"max_stars_repo_path": "Assets/Scripts/Camera/C_PostEffects.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72319"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class C_PostEffects : MonoBehaviour
{
[Header("Shader Materials")]
public Material invertMaterial;
private void OnRenderImage(RenderTexture source, RenderTexture destination)
{
if(true && invertMaterial != n... | 1.966446 | 7256c9bdca0b7c2c8c18990f5083dbd6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72319 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Waterball12/Discord.Net",
"max_stars_repo_path": "src/Discord.Net.Core/Logging/DefaultLogger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72320"
} | starcoder | using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Discord.Logging
{
internal class DefaultLogger : ILogger
{
private static readonly object _lock = new object();
private LogLevel Min... | 2.982319 | a056ae1a3bbbb4e26f01d6adf34e288e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72320 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Brightspace/WireMock.Net",
"max_stars_repo_path": "src/WireMock.Net/Admin/Mappings/ParamModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72321"
} | starcoder | using System.Collections.Generic;
namespace WireMock.Admin.Mappings
{
/// <summary>
/// Param Model
/// </summary>
public class ParamModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public... | 1.967424 | 08bba4704bd507e45c901fb93e0c5075 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72321 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mapatrocinio/CursoCoti.AspNet.Core",
"max_stars_repo_path": "Aula31/Projeto.Domain/Services/PlanoDomainService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72322"
} | starcoder | using Projeto.Domain.Contracts.Repositories;
using Projeto.Domain.Contracts.Services;
using Projeto.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace Projeto.Domain.Services
{
public class PlanoDomainService
: BaseDomainService<PlanoEntity>, IPlanoDomainService
{... | 2.181526 | f1dba071e30133f4f1d8af1e09f1a91b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72322 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bassclefstudio/UWP-Libraries",
"max_stars_repo_path": "BassClefStudio.UWP.Background.Extensions/AppServiceActivationHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72323"
} | starcoder | <reponame>bassclefstudio/UWP-Libraries
using BassClefStudio.NET.Core;
using BassClefStudio.UWP.Background.AppServices;
using BassClefStudio.UWP.Lifecycle;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Applicat... | 2.252266 | 094625ae9ed4696e98d14261c700b270 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72323 | {
"extension": "c-sharp",
"max_stars_count": "9402.0",
"max_stars_repo_name": "pyracanda/runtime",
"max_stars_repo_path": "src/tests/JIT/Regression/JitBlue/GitHub_23199/GitHub_23199.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72324"
} | starcoder | <filename>src/tests/JIT/Regression/JitBlue/GitHub_23199/GitHub_23199.cs
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
// The test revealed some problems of GCStress infrastructure on platforms with multi reg returns (arm64, amd64 Unix).
// It required GCStress=0xc and GcStressOnDirectC... | 2.529027 | c373cb5ac3899cacf75d5e988350dd75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72324 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "develmax/Crm.Sdk.Core",
"max_stars_repo_path": "Microsoft.Xrm.Sdk/ManagedProperty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72325"
} | starcoder | <filename>Microsoft.Xrm.Sdk/ManagedProperty.cs
using Microsoft.Xrm.Sdk.Metadata;
using System.Runtime.Serialization;
namespace Microsoft.Xrm.Sdk
{
/// <summary>Represents a strongly typed managed property.</summary>
[DataContract(Name = "ManagedProperty{0}", Namespace = "http://schemas.microsoft.com/xrm/2011... | 2.499896 | e359715642bef4b482cc399e368d7447 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72325 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "luke-h1/explore-education-statistics",
"max_stars_repo_path": "src/GovUk.Education.ExploreEducationStatistics.Data.Model/FilterFootnote.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72326"
} | starcoder | using System;
namespace GovUk.Education.ExploreEducationStatistics.Data.Model
{
public class FilterFootnote
{
public Filter Filter { get; set; }
public Guid FilterId { get; set; }
public Footnote Footnote { get; set; }
public Guid FootnoteId { get; set; }
}
} | 1.372696 | 02ac4e80a79ee0fa538391226ba04e43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72326 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "nudaca/simplehttpserver.uwp",
"max_stars_repo_path": "WebServerTask/BackgroundTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72327"
} | starcoder | <reponame>nudaca/simplehttpserver.uwp
// Copyright (c) Microsoft. All rights reserved.
using System;
using System.Text;
using Windows.Foundation.Collections;
using Windows.ApplicationModel.Background;
using Windows.ApplicationModel.AppService;
using Windows.Networking.Sockets;
using System.IO;
using Windows.Storage.Str... | 2.178333 | 3da0dea2ec7748b82822af3d04d46c75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72327 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TaiwanSpring/L1CSharpTW",
"max_stars_repo_path": "LineageServer/DataBase/DataSources/UbSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72328"
} | starcoder | <filename>LineageServer/DataBase/DataSources/UbSettings.cs
using System.Data;
using LineageServer.Enum;
using MySql.Data.MySqlClient;
namespace LineageServer.DataBase.DataSources
{
class UbSettings : DataSource
{
public const string TableName = "ub_settings";
public const string Column_ub_name ... | 2.085557 | 5e5ec87a658decdc5ea5ed9f9db1ab03 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72328 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lopla/Language",
"max_stars_repo_path": "Lopla.Libs/Interfaces/IBIdirect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72329"
} | starcoder | namespace Lopla.Libs.Interfaces
{
public interface IBidirect : ISender, ISubscribe
{
void Stop();
}
}
| 1.474821 | 95ac9479edbd728d1e001b3be814e769 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72329 | {
"extension": "c-sharp",
"max_stars_count": "55.0",
"max_stars_repo_name": "RolfKal/libopenmetaverse",
"max_stars_repo_path": "OpenMetaverse/Rendering/LindenSkeleton.Xsd.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72330"
} | starcoder | <filename>OpenMetaverse/Rendering/LindenSkeleton.Xsd.cs
namespace OpenMetaverse.Rendering
{
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to ... | 1.94889 | de7555a582e1a4eb32386faf547c4584 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72330 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "uoyoCsharp/MiCake",
"max_stars_repo_path": "src/framework/MiCake.DDD.Domain/Modules/MiCakeDomainModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72331"
} | starcoder | <gh_stars>10-100
using MiCake.Core.Modularity;
using MiCake.DDD.Domain.EventDispatch;
using MiCake.DDD.Domain.Internal;
using Microsoft.Extensions.DependencyInjection;
namespace MiCake.DDD.Domain.Modules
{
public class MiCakeDomainModule : MiCakeModule
{
public override bool IsFrameworkLevel => true;
... | 1.641441 | 4e0ba3abf4ba366ae250dc3226a393be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72331 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "StephenMP/QuartzCronBuilder",
"max_stars_repo_path": "QuartzCronBuilder/Builders/HoursExpressionBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72332"
} | starcoder | using QuartzCronBuilder.Models;
namespace QuartzCronBuilder.Builders
{
public class HoursExpressionBuilder : ExpressionBuilder<HoursField, DayOfTheMonthExpressionBuilder>
{
public HoursExpressionBuilder(CronExpressionBuilder cronExpressionBuilder)
{
this.field = new HoursField();
... | 2.73052 | b470608b990a390d4499c08bc3866be0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72332 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marlonluft/HowMuchItCostProject",
"max_stars_repo_path": "HowMuchItCost/HowMuchItCost/Controllers/PingController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72333"
} | starcoder | using Microsoft.AspNetCore.Mvc;
namespace HowMuchItCost.API.Controllers
{
[ApiController]
[Route("[controller]")]
public class PingController : BaseController
{
[HttpGet]
public IActionResult Index()
{
return Ok("Pong");
}
}
}
| 1.773239 | abcf271969f782a02d22892ceca4f745 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.