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 | 92289 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tawfikkh/stripe-dotnet",
"max_stars_repo_path": "src/Stripe.net.Tests/fileuploads/when_listing_fileuploads.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92290"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Machine.Specifications;
namespace Stripe.Tests
{
public class when_listing_fileuploads
{
private static StripeFileUploadService _fileService;
private static List<StripeFileUpload> _fileUploads;
Establi... | 2.181235 | e7a6afc464f0fc1f5e72884a3556174f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92290 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "reghrafa/PrintBot",
"max_stars_repo_path": "App/PrintBot/PrintBot.Infrastructure/ViewModels/ModuleSetupViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92291"
} | starcoder | <filename>App/PrintBot/PrintBot.Infrastructure/ViewModels/ModuleSetupViewModel.cs
using Newtonsoft.Json;
using PrintBot.Domain;
using PrintBot.Domain.Models;
using PrintBot.Infrastructure.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
name... | 2.715996 | 31516c035b140be0860347774f314961 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92291 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "penCsharpener/LargeFileFilter",
"max_stars_repo_path": "src/LargeFileFilter.Core/Services/Evaluators/IncludeEvaluator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92292"
} | starcoder | using LargeFileFilter.Core.Models;
namespace LargeFileFilter.Core.Services.Evaluators;
public class IncludeEvaluator : Evaluator
{
private readonly IncludeFilter _filter;
public IncludeEvaluator(IncludeFilter filter)
{
_filter = filter;
}
public override bool IncludeLine(string line)
... | 2.813061 | f2dadaccb660775248f2d0ddd9ca3ce2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92292 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "agissc/GitReleaseNotes",
"max_stars_repo_path": "src/GitReleaseNotes/Git/GitRemoteRepositoryContextFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92293"
} | starcoder | <reponame>agissc/GitReleaseNotes<gh_stars>10-100
using System;
using System.IO;
using LibGit2Sharp;
namespace GitReleaseNotes.Git
{
public class GitRemoteRepositoryContextFactory : IGitRepositoryContextFactory
{
private static readonly ILog Log = GitReleaseNotesEnvironment.Log;
private reado... | 2.725926 | 1a114d52064a9a81409bbd66da56c58c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92293 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "Nirad/Infusion",
"max_stars_repo_path": "Infusion.Proxy/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92294"
} | starcoder | <gh_stars>10-100
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Infusion.Proxy")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: Guid("5e814151-7f4c-4d71-bcb2-97fd303f04a8")]
[assembly: InternalsVi... | 1.277524 | 0e01e151dd91fff3c4c65d63326d64db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92294 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mechgt/record-book",
"max_stars_repo_path": "Record Book/Settings/UserData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92295"
} | starcoder | <reponame>mechgt/record-book
namespace RecordBook.Settings
{
using System.Text;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Xml.Serialization;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Bi... | 1.98169 | 7459f71529c3b3c02a10f7152aacba93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92295 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "yamahiex/NCsv",
"max_stars_repo_path": "src/NCsv/NCsv/Converters/ConvertToCsvItemContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92296"
} | starcoder | <reponame>yamahiex/NCsv<gh_stars>1-10
namespace NCsv.Converters
{
/// <summary>
/// <see cref="CsvConverter.ConvertToCsvItem(ConvertToCsvItemContext)"/>に関する情報です。
/// </summary>
public class ConvertToCsvItemContext : CsvConvertContext
{
/// <summary>
/// オブジェクト項目を取得します。
... | 2.393709 | 32c7f31f4ca7dd1e124a0930cb5f0504 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92296 | {
"extension": "c-sharp",
"max_stars_count": "392.0",
"max_stars_repo_name": "JMayrbaeurl/Industrial-IoT",
"max_stars_repo_path": "deploy/src/Microsoft.Azure.IIoT.Deployment/Configuration/ResourceGroupSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92297"
} | 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.Azure.I... | 1.236502 | a13a7d41ed7a4aa0d0b95681a5a50788 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92297 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "rwth-acis/GaMR",
"max_stars_repo_path": "Frontend/GaMR/Assets/Tests/Editor/TestComponentGetter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92298"
} | starcoder | using UnityEngine;
using UnityEditor;
using UnityEngine.TestTools;
using NUnit.Framework;
using System.Collections;
public class TestComponentGetter {
InformationManager originalInfoManager;
GameObject informationGameobject;
[SetUp]
public void SetUp()
{
informationGameobject = new GameO... | 2.124007 | 6f056b3afc37d65e8aa6736e9b47d73f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92298 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zzzprojects/mysql-connector-net",
"max_stars_repo_path": "MySQL.Data/MySql.Replication.Tests/BaseTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92299"
} | starcoder | // Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License, version 2.0, as
// published by the Free Software Foundation.
//
// This program is also distributed with cert... | 1.616801 | 64587c330f59efab5aa273bee0b926ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92043 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "atefth/accountable",
"max_stars_repo_path": "Stakeholders/Companies/CompanyExpenditure.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92044"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Accountable.Stakeholders.Stakes.Expense;
using System.ComponentModel.DataAnnotations.Schema;
namespace Accountable.Stakeholders.Companies
{
class CompanyExpenditure : Expenditure
... | 1.903266 | 1cadcee5a93d253574a3ce54960ed967 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92044 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dnelly/azure-sdk-for-net",
"max_stars_repo_path": "src/ResourceManagement/RecoveryServices.Backup/Microsoft.Azure.Management.RecoveryServices.Backup/Generated/Models/ResourceList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92045... | starcoder | <reponame>dnelly/azure-sdk-for-net
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
// Changes may cause incorrect behavior and will be lost ... | 1.949607 | f280d166d4e4a800956257e7fc9d985d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92045 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "znoop333/RMQWonderwareAdapter",
"max_stars_repo_path": "RMQWonderwareAdapter/lib/Win32Helper/WindowHandleInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92046"
} | starcoder | <reponame>znoop333/RMQWonderwareAdapter
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
using static NativeMethods.Win32Constants;
namespace NativeMethods
{
/// <summary>
/// GetAllChildHandles() returns a List<IntPtr> of all descendent windows... | 2.867709 | 8a2523550e9ff962c73e62aef5e09267 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92046 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saleguas/prefixes-for-enemies-REVAMPED",
"max_stars_repo_path": "Items/Tokens/tier2/Weapons/heavycrossbow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92047"
} | starcoder | using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using Terraria.DataStructures;
using Microsoft.Xna.Framework;
using System;
namespace prefixtest.Items.Tokens.tier2.Weapons {
public class heavycrossbow: ModItem {
public override void SetStaticDefaults() {
DisplayName.SetDefault("Heavy Crossbow"... | 2.210853 | 5cf6794fd9c3211ef10d05b1c8010a78 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92047 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JakeGinnivan/White",
"max_stars_repo_path": "src/TestStack.White.UITests/ControlTests/VScrollBarTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92048"
} | starcoder | <reponame>JakeGinnivan/White
using System.Collections.Generic;
using TestStack.White.UIItems;
using TestStack.White.UIItems.ListBoxItems;
using TestStack.White.UIItems.Scrolling;
using Xunit;
namespace TestStack.White.UITests.ControlTests
{
public class VScrollBarTest : WhiteTestBase
{
privat... | 2.353666 | 02cf3d474ab0dddf0267ef7261f734d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92048 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MinexAutomation/R5T.Ilioupoli.Base",
"max_stars_repo_path": "source/R5T.Ilioupoli.Base/Code/Services/Definitions/ITestingDataDirectoryContentConventions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92049"
} | starcoder | <gh_stars>0
using System;using R5T.T0064;
namespace R5T.Ilioupoli
{[ServiceDefinitionMarker]
public interface ITestingDataDirectoryContentConventions:IServiceDefinition
{
string BasicTextFileName { get; }
// Visual Studio solution files.
string NewVisualStudio2017SolutionFil... | 0.683457 | ee64abc3706b58a23786f982fb3e77c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92049 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PacktPublishing/gRPC-Powered-Blazor-WebAssembly-Development",
"max_stars_repo_path": "ch5/demo/MediaLibrary/MediaLibrary/Client/Shared/Model/TableColumn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92050"
} | starcoder | <filename>ch5/demo/MediaLibrary/MediaLibrary/Client/Shared/Model/TableColumn.cs
using System.Reflection;
namespace MediaLibrary.Client.Shared.Model;
public class TableColumn
{
public string Name { get; set; } = string.Empty;
public PropertyInfo PropertyInfo { get; set; } = null!;
}
| 1.777337 | f318fd1131a5bdb04899b2366a6842ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92050 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "npiani/reactive-domain",
"max_stars_repo_path": "src/ReactiveDomain.Tools/Shovel/EventShovelConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92051"
} | starcoder | using EventStore.ClientAPI;
using EventStore.ClientAPI.SystemData;
using System.Collections.Generic;
namespace Shovel
{
public class EventShovelConfig
{
public IEventStoreConnection SourceConnection { get; set; }
public IEventStoreConnection TargetConnection { get; set; }
public User... | 1.75627 | f702f57c80d17551c553ca4570ef3010 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92051 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "eddygarros/bicep",
"max_stars_repo_path": "src/Bicep.Cli/Constants/CliConstants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92052"
} | starcoder | <reponame>eddygarros/bicep
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Bicep.Cli.Constants
{
public static class Command
{
public const string Build = "build";
public const string Decompile = "decompile";
public const string Root = "";
}
... | 1.3362 | d431b367bcc460085dadcbb3731ca2b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92052 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "akmvihfan/osu-RP",
"max_stars_repo_path": "osu.Game.Rulesets.Mania/Mods/ManiaMod.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92053"
} | starcoder | <filename>osu.Game.Rulesets.Mania/Mods/ManiaMod.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <<EMAIL>>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Graphics;
using osu.Game.Rulesets.Mods;
using System;
using System.Linq;
using osu.Framework.Extension... | 1.885981 | 4a72c9d2a54de5c54d66cfc062be04a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Harbaruk/FitnessTracker.Server",
"max_stars_repo_path": "FitnessTracker.DataModel/ExpirationTokenModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92054"
} | starcoder | using System;
namespace FitnessTracker.DataModel
{
public class ExpirationTokenModel
{
public int UserId { get; set; }
public DateTimeOffset LastActivityDateTime { get; set; }
}
}
| 1.598576 | ebada3d65b346797ba72af09f24d3e73 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92054 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "Microsoft/psi",
"max_stars_repo_path": "Sources/Spatial/Microsoft.Psi.Spatial.Euclidean.Visualization.Windows/LinearVelocity3DListVisualizationObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92055"
} | starcoder | <gh_stars>10-100
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace Microsoft.Psi.Spatial.Euclidean.Visualization
{
using Microsoft.Psi.Spatial.Euclidean;
using Microsoft.Psi.Visualization.VisualizationObjects;
/// <summary>
/// Implements a visu... | 1.628288 | 6f202256d6e2fa387eb60e4784e2b9ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92055 | {
"extension": "c-sharp",
"max_stars_count": "555.0",
"max_stars_repo_name": "zhiqiang-hu/scada",
"max_stars_repo_path": "ScadaServer/OpenModules/ModDbExport/DbExport/Triggers/ClassifiedTriggers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92056"
} | starcoder | /*
* Copyright 2021 <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 agreed to i... | 2.456514 | d9ec0cf9f9a6b913b9f1ac2cac4f8543 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92056 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cacayue/MicroService",
"max_stars_repo_path": "src/User.Identity/Services/TestAuthCodeService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92057"
} | starcoder | namespace User.Identity.Services
{
public class TestAuthCodeService:IAuthCodeService
{
public bool Validate(string phone, string code)
{
return true;
}
}
} | 1.673664 | 89802659c6797a84aa3832d65d1c52ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92057 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexanderMorou/AbstractionProject",
"max_stars_repo_path": "Libraries/Slf/Ast/Ast/Expressions/NewLineExpression.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92058"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllenCopeland.Abstraction.Slf.Ast.Expressions
{
public class NewLineExpression :
DecorationExpression,
INewLineExpression
{
public override Expressi... | 2.932314 | 5527a4293a330573500b7c08e4dd2b00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92058 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "george-polevoy/mysql-data-mover",
"max_stars_repo_path": "src/Dodo.DataMover/DataManipulation/SourceSchemaReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92059"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using Dodo.DataMover.DataManipulation.DatabaseMapping;... | 1.992853 | bd87edc3d4978a45dcbbb7519c29af27 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92059 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "ccgould/FCStudios_SubnauticaMods",
"max_stars_repo_path": "FCStudioDebugger/Patchers/Player_Patches.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92060"
} | starcoder | <reponame>ccgould/FCStudios_SubnauticaMods<gh_stars>10-100
namespace FCStudioDebugger.Patchers
{
//[HarmonyPatch(typeof(Player))]
//[HarmonyPatch("CanBreathe")]
//internal class Player_Patches
//{
// public static bool Prefix(ref Player __instance)
// {
// if (DebugMenu.main ==... | 1.885768 | 4ffdb052c98caeabb009219d7b8a57fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92060 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nventive/RequestsSignature",
"max_stars_repo_path": "RequestsSignature.Core/SignatureBodySourceComponents.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92061"
} | starcoder | using System;
namespace RequestsSignature.Core
{
/// <summary>
/// Constants that represents signature body source components.
/// </summary>
public static class SignatureBodySourceComponents
{
/// <summary>
/// The Request Method.
/// </summary>
public const string... | 2.903241 | 5272f251a83a134944791dc541a35573 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92061 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shopOFF/TelerikAcademyCourses",
"max_stars_repo_path": "CSharp-Part-2/Exams/2016-12-07/2016-12-07-Morning/3. Snacky the Snake/Solution.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92062"
} | starcoder | <reponame>shopOFF/TelerikAcademyCourses
using System;
using System.Linq;
class Solution
{
// Better use constants, rather than strings in the code. Easyer to modify if needed
const string GET_OUT_MSG = "Snacky will get out with length {0}";
const string BUMP_IN_ROCK_MSG = "Snacky will hit a rock at [{1},{... | 3.39654 | 9777c3a6f95db21f583fb574498b0e28 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92062 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "coolOrangeLabs/powerload-samples",
"max_stars_repo_path": "IDB/Load/BCP/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92063"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
using Dapper;
using IDB.Core;
using IDB.Core.Data.Relation;
using IDB.Core.Data.Unique... | 1.946784 | c358a2ca68bc341a5769a4a6ff8bbb8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92063 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johnktims/pulumi-aws",
"max_stars_repo_path": "sdk/dotnet/S3/Outputs/AnalyticsConfigurationStorageClassAnalysisDataExportDestination.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92064"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.483029 | 1e309b2cdc82087459781f4026f6b166 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92064 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "WeihanLi/dtmcli-csharp",
"max_stars_repo_path": "src/Dtmcli/DtmClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92065"
} | starcoder | using DtmCommon;
using Microsoft.Extensions.Options;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading;
using System.Threading.Tasks;
namespace Dtmcli
{
public class DtmClient : IDtmClient
... | 2.163311 | 8084b9a88abea8a66d9e5e930472d555 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92065 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "stanriders/den0bot",
"max_stars_repo_path": "den0bot.Modules.Osu/Types/Enums/ScoreGrade.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92066"
} | starcoder | // den0bot (c) StanR 2021 - MIT License
using System.ComponentModel;
namespace den0bot.Modules.Osu.Types.Enums
{
public enum ScoreGrade
{
[Description(@"F")]
F,
[Description(@"D")]
D,
[Description(@"C")]
C,
[Description(@"B")]
B,
[Description(@"A")]
A,
[Description... | 1.751412 | 0b323fb7454bc83af3481db3700f79d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92066 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sinaioutlander/Dataminer",
"max_stars_repo_path": "src/Model/Effect/Effects/DM_PunctualDamageAoE.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92067"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Dataminer
{
public class DM_PunctualDamageAoE : DM_PunctualDamage
{
public float Radius;
public Shooter.TargetTypes TargetType;
public bool IgnoreShooter;
public override void Seria... | 2.382947 | c00d0174944d0d0e0178bbb39f41fad5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92067 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "equinor/sepes",
"max_stars_repo_path": "src/Sepes.Azure/Dto/AzureDiskPriceForRegion.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92068"
} | starcoder | using System.Collections.Generic;
namespace Sepes.Azure.Dto
{
public class AzureDiskPriceForRegion
{
public Dictionary<string, DiskType> Types { get; set; } = new Dictionary<string, DiskType>();
}
public class DiskType
{
public int size { get; set; }
public double price;
... | 1.923574 | 025227b867fe751ac1d5dc011a815ff3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92068 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sekmenhuseyin/Birikim.WMS",
"max_stars_repo_path": "Wms12m.Presentation/Areas/Reports/Controllers/CrmController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92069"
} | starcoder | using System;
using System.Linq;
using System.Web.Mvc;
namespace Wms12m.Presentation.Areas.Reports.Controllers
{
public class CrmController : RootController
{
/// <summary>
/// teklif analizi
/// </summary>
public ActionResult Bid()
{
var id = Url.RequestCon... | 2.086743 | 70a6469a6b57ad90642a376422bfe3fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92069 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheName/EventSourcing",
"max_stars_repo_path": "Helpers/TestHelpers/Attributes/AutoMoqDataAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92070"
} | starcoder | <gh_stars>0
using AutoFixture.Xunit2;
using TestHelpers.AutoFixture;
namespace TestHelpers.Attributes
{
public class AutoMoqDataAttribute: AutoDataAttribute
{
public AutoMoqDataAttribute() : base(AutoFixtureFactory.Create)
{
}
}
} | 0.897454 | 81095c2229773e99a31b6e60fe6469e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92070 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vjacquet/WmcSoft",
"max_stars_repo_path": "WmcSoft.Core/Collections/Generic/AnonymousEqualityComparer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92071"
} | starcoder | #region Licence
/****************************************************************************
Copyright 1999-2015 <NAME>. All rights reserved.
Permission is granted to anyone to use this software for any purpose on
any computer system, and to alter it and redistribute it, subject
to the follow... | 2.949611 | b7f8dc675d685893db279b7cc79e9f22 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92071 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KrzysztofLipka/Stock-Expert-System",
"max_stars_repo_path": "Externals/CsvHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92072"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
using System.IO;
namespace Externals
{
public class CsvHelper
{
public string GetCSV(string url)
{
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
HttpWebResponse resp =... | 2.682581 | 4e5f834d9343e1c6cf63022b9ee8fcc1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92072 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TravisTX/leetcode",
"max_stars_repo_path": "LeetCode/ShuffleTheArray.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92073"
} | starcoder | using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
namespace LeetCode
{
[TestClass]
public class ShuffleTheArray
{
/*
https://leetcod... | 3.499844 | 5677ed4bd872352759784b822b716422 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92073 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "watfordgnf/Jwt",
"max_stars_repo_path": "test/JsonWebToken.SecurityEventTokens.Tests/SecEventValidationTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92074"
} | starcoder | <filename>test/JsonWebToken.SecurityEventTokens.Tests/SecEventValidationTests.cs
using Xunit;
namespace JsonWebToken.Tests
{
public class SecEventValidationTests : IClassFixture<KeyFixture>
{
private readonly KeyFixture _keys;
public SecEventValidationTests(KeyFixture keys)
{
... | 2.254342 | d2ba52791b4c381650b79e437b8145bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92074 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "immersal/demo-app-2021",
"max_stars_repo_path": "Assets/Scripts/DemoApp/AROPlacer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92075"
} | starcoder | using UnityEngine;
namespace Immersal.Samples.DemoApp
{
public class AROPlacer : MonoBehaviour
{
[SerializeField]
private bool useGazer = true;
[SerializeField]
private Gazer gazer;
[SerializeField]
private Vector3 nonGazeOffset = new Vector3(0, 0... | 2.134665 | b727a3fe0f71ec3e51a362b1955ddd44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92075 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scottenriquez/cdktf-alpha-csharp-testing",
"max_stars_repo_path": "resources/.gen/aws/aws/AutoscalingAttachment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92076"
} | starcoder | <gh_stars>0
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiClass(nativeType: typeof(aws.AutoscalingAttachment), fullyQualifiedName: "aws.AutoscalingAttachment", parametersJson: "[{\"name\":\"scope\",\"type\":{\"fqn\":\"constructs.Construct\"}},{\"name\":\"id\",... | 1.727915 | d0956b5567b6e7ad78ad233f8dcecd80 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92076 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "System/Runtime/InteropServices/_ParameterInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92077"
} | starcoder | [InterfaceTypeAttribute] // RVA: 0xB2750 Offset: 0xB2851 VA: 0xB2750
[CLSCompliantAttribute] // RVA: 0xB2750 Offset: 0xB2851 VA: 0xB2750
[ComVisibleAttribute] // RVA: 0xB2750 Offset: 0xB2851 VA: 0xB2750
[GuidAttribute] // RVA: 0xB2750 Offset: 0xB2851 VA: 0xB2750
public interface _ParameterInfo // TypeDefIndex: 1337
{}
... | 1.064895 | a61602dab1ccfe1e826ebdf99d13ccfb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92077 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/runtime",
"max_stars_repo_path": "src/libraries/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92078"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// ------------------------------------------------------------------------------
// Changes to this file must follow the https://aka.ms/api-review process.
// -----------------------... | 1.954969 | 538b6155586c520bc9eb20313cb98d6c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92078 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "foorzy/labs",
"max_stars_repo_path": "lab3cube/Graficslab2/Plate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92079"
} | starcoder | <reponame>foorzy/labs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
namespace Graficslab2
{
class Plate
{
public int A { get; set; }
public int B { get; set; }
public int C { get; set; }
... | 2.802677 | 9bed19b02013dcbb0f8feba989d87e51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92079 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jones-Adam/UniversalProcessor",
"max_stars_repo_path": "UniversalProcessor/DataDescriber.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92080"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace UniversalProcessor
{
public abstract class DataDescriber
{
public abstract bool CanProcess(object data);
public abstract List<SDDDataViewDefinition> GenerateViews(object data);
public DataDescrib... | 2.208714 | 06ee0505e3c7eb523d96f908a16b3959 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92080 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "djkhz/monoxna",
"max_stars_repo_path": "src/Microsoft.Xna.Framework/Media/Album.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92081"
} | starcoder | <filename>src/Microsoft.Xna.Framework/Media/Album.cs
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
namespace Microsoft.Xna.Framework.Media
{
public sealed class Album : IEquatable<Album>, IDisposable
{
private string name;
... | 2.885962 | ac86e04faf214f0939e05c4afb149f4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92081 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidaramant/PashuaNetBindings",
"max_stars_repo_path": "src/PashuaNetBindings.Tests/TextTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92082"
} | starcoder | using FluentAssertions;
using Xunit;
namespace Pashua.Tests
{
public class TextTests
{
[Fact]
public void ShouldValidateThatDefaultIsSet()
{
var text = new Text();
text.GetValidationIssues().Should().HaveCount(1);
}
}
}
| 1.917686 | 4b469ad2da5f1e5c94bd9983d0279d06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92082 | {
"extension": "c-sharp",
"max_stars_count": "110.0",
"max_stars_repo_name": "patridge/FlatRedBall",
"max_stars_repo_path": "FRBDK/FlatRedBallProfiler/FlatRedBallProfiler/ViewModels/PositionedObjectViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92083"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FlatRedBallProfiler.ViewModels
{
public class PositionedObjectViewModel
{
public string Name
{
get;
set;
}
}
}
| 1.526451 | 837a4f973452c3383e816c4d8faf2a17 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92083 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Velociraptor115/DSPMods_UIBuilder",
"max_stars_repo_path": "UIBuilder/Components/UIModWindowBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92084"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace DysonSphereProgram.Modding.UI.Builder
{
using static UIBuilderDSL;
public class UIModWindowBase: ManualBehaviour,
IInitializeFromContext<FancyWindowContext>, I... | 1.918295 | 443f17db5d76d0e1fed38201d28e6318 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92084 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "zVcXr/KingmakerRebalance",
"max_stars_repo_path": "CallOfTheWild/NewMechanics/WeatherMechanics.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92085"
} | starcoder | <reponame>zVcXr/KingmakerRebalance
using Kingmaker;
using Kingmaker.Blueprints;
using Kingmaker.Blueprints.Facts;
using Kingmaker.Blueprints.Root;
using Kingmaker.Designers.Mechanics.Facts;
using Kingmaker.EntitySystem.Entities;
using Kingmaker.Enums;
using Kingmaker.Items;
using Kingmaker.RuleSystem;
using Kingmaker.... | 1.702165 | cb1f4bdaee94d0b1d493e80866987f0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92085 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DLPUIT/TrainingField2019",
"max_stars_repo_path": "171CS_JingYanhong/Member_management_system/WindowsFormsApp1/Find.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92086"
} | starcoder | <reponame>DLPUIT/TrainingField2019<filename>171CS_JingYanhong/Member_management_system/WindowsFormsApp1/Find.cs
using Member_management_system;
using Member_management_system.Service;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq... | 2.23947 | 3619234630db7801e822ab73295bc612 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92086 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GreenApple-jsy/Coding_Town",
"max_stars_repo_path": "Scripts/BattleRoomResultManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92087"
} | starcoder | using System.Collections;
using UnityEngine;
using Photon;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using Amazon.DynamoDBv2.DataModel;
public class BattleRoomResultManager : PunBehaviour
{
//현재 임시 설정해둔 기획
// 돈 -> 승리(점수 * 20), 무승부 (점수 * 15), 패배(점수 * 10)
// 경험치 -> 승리(점수 * 0... | 2.103426 | cfb8433fed97a94373d19eba95354e18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92087 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "James226/persistent-planet",
"max_stars_repo_path": "PersistentPlanet.Graphics.DirectX11/Win32.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92088"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace PersistentPlanet.Graphics.DirectX11
{
public static class Win32
{
[DllImport("Kernel32.dll")]
public static extern bool QueryPerformanceFrequency(out long freq);
[DllImport("kernel32.dll")]
public static extern bool ... | 1.680617 | 79bcf49bbdc8b7527d4dcf1b3b20a6af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92088 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "badhaloninja/MaterialTipAutoScoop",
"max_stars_repo_path": "MaterialTipAutoScoop/MaterialTipAutoScoop.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92089"
} | starcoder | <reponame>badhaloninja/MaterialTipAutoScoop<gh_stars>1-10
using FrooxEngine;
using HarmonyLib;
using NeosModLoader;
using System;
using BaseX;
using System.Collections.Generic;
namespace MaterialTipAutoScoop
{
public class MaterialTipAutoScoop : NeosMod
{
public override string Name => "MaterialTipAuto... | 2.253202 | df9d9cc0954da9dbcc744c786c2e1e39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92089 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Dreat/RelayTask",
"max_stars_repo_path": "RelayTask/Infrastructure/Abstract/IDeadMessageQueue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92090"
} | starcoder | <filename>RelayTask/Infrastructure/Abstract/IDeadMessageQueue.cs<gh_stars>1-10
using System.Threading.Tasks;
using RelayTask.Messages;
namespace RelayTask.Infrastructure.Abstract
{
public interface IDeadMessageQueue
{
Task ReceiveMsg(Message msg);
}
} | 1.978285 | 261776f89905ba4df7f01643a864854b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92090 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "cloudsmithconsulting/Dynamics365-VsCode-Samples",
"max_stars_repo_path": "src/CloudSmith.Dynamics365.CrmSvcUtil/Configuration/Filter/FilterListElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92091"
} | starcoder | using System.Configuration;
using System.Linq;
namespace CloudSmith.Dynamics365.CrmSvcUtil.Configuration.Filter
{
public class WhitelistElement : FilterListElement
{
public WhitelistElement()
: base(FilterListStrategy.Whitelist)
{
}
[ConfigurationProperty("filter",... | 2.200175 | ebe2f4bd8f8b5d9283df4c2cba271db5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92091 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArchimedesXXI/CODILITY_challenges_solutions",
"max_stars_repo_path": "Codility_lesson_9_3/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92092"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Codility_lesson_9_3
{
/// <summary>
/// CODILITY: Lesson 9 - Maximum slice problem, Task 3 - MaxDoubleSiceSum
/// </summary>
class Program
{
static void Main(string... | 2.86844 | 6cb8edf8bb99bd7f6cac749ba75f0a26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92092 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "futouyiba/ClubET",
"max_stars_repo_path": "Server/Model/NKGMOBA/Battle/Box2D/Utility/B2S_BodyUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92093"
} | starcoder | //------------------------------------------------------------
// Author: 烟雨迷离半世殇
// Mail: <EMAIL>
// Data: 2019年7月20日 18:47:57
//------------------------------------------------------------
using Box2DSharp.Dynamics;
namespace ET
{
/// <summary>
/// Box2D刚体实用函数集
/// </summary>
public static class B2S... | 2.444282 | 15ce52cec46ee48d1b10cdbe1a09082e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92093 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RWE-Nexus/EnergyTrading-MDM-Sample",
"max_stars_repo_path": "Code/Service/MDM.UnitTest.Sample/Search/SearchServiceFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92094"
} | starcoder | namespace EnergyTrading.MDM.Test.Search
{
using System;
using System.Collections.Generic;
using NUnit.Framework;
using Moq;
using EnergyTrading.Contracts.Search;
using EnergyTrading.Data;
using EnergyTrading.MDM.Data.Search;
using EnergyTrading.Search;
using EnergyTrading.Test;
... | 2.102512 | bef8e36014373541b6e442276012bd53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92094 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "howest-gp-wba/cu-aspnetcore-statemgmt",
"max_stars_repo_path": "src/CoreCourse.StateMgmt.Web/Controllers/ClientStateController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92095"
} | starcoder | <filename>src/CoreCourse.StateMgmt.Web/Controllers/ClientStateController.cs
using CoreCourse.StateMgmt.Web.Models.ClientState;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
namespace CoreCourse.StateMgmt.Web.Controllers
{
public class ClientStateController : Controller
{
public IActionResult Inde... | 2.626114 | a85a5a0f780a72ab0e2fa062912afafe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92095 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Reza-Neyestani/CleanArchitectureTemplate",
"max_stars_repo_path": "src/Application/Common/Configuration/ApplicationConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92096"
} | starcoder | namespace Application.Common.Configuration
{
public class ApplicationConfiguration
{
public int DefaultPageSize { get; set; }
public SerilogConfiguration SerilogConfiguration { get; set; }
public JwtConfiguration JwtConfiguration { get; set; }
public IdentityConfiguration... | 1.433307 | 3b8b1890d8dc548d648a143fde6fb70f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92096 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vov4uk/FinancistoAdapter",
"max_stars_repo_path": "src/Tests/Financier.Adapter.Tests/EntityExtensionsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92097"
} | starcoder | <filename>src/Tests/Financier.Adapter.Tests/EntityExtensionsTests.cs
namespace Financier.Adapter.Tests
{
using System.Collections.Generic;
using Financier.Tests.Common;
using Xunit;
public class EntityExtensionsTests
{
[Fact]
public void ToBackupLines_TransfromTransactionToString_S... | 1.838513 | c0eebc8ecf91f8b7970293873f8cf4d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92097 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "aalitor/AltoMultiThreadDownloadManager-master",
"max_stars_repo_path": "AltoMultiThreadDownloadManager/Helpers/FileHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92098"
} | starcoder | using AltoMultiThreadDownloadManager.Exceptions;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Security.Cryptography;
namespace AltoMultiThreadDownloadManager.Helpers
{
/// <summary>
/// Description of FileHelper.
/// </summary>
public static cl... | 3.183787 | d3dbf8a7b2e68cc872764c81b354ce14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92098 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "platformdotnet/Platform",
"max_stars_repo_path": "src/Platform/Validation/ValuePatternConstraint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92099"
} | starcoder | using System;
using System.Linq.Expressions;
using System.Text.RegularExpressions;
namespace Platform.Validation
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter)]
public class ValuePatternConstraint
: ValidationAttribute
{
public string Pattern
{
get
{
return ... | 2.650097 | 0de346f688321482e78afc082799c5c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92099 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jetelain/NetWebScript",
"max_stars_repo_path": "NetWebScript/NetWebScript/JsClr/TypeSystem/IdentifierGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92100"
} | starcoder | <filename>NetWebScript/NetWebScript/JsClr/TypeSystem/IdentifierGenerator.cs
using System;
using System.Text;
using System.Diagnostics.Contracts;
namespace NetWebScript.JsClr.TypeSystem
{
/// <summary>
/// Generateur incremental d'identifiants alphabetiques
/// a -> z, aa -> az, ba -> bz ...
... | 3.223514 | e818ea15e8406818dd37a173e0ac4702 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92100 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scottenriquez/cdktf-alpha-csharp-testing",
"max_stars_repo_path": "resources/.gen/aws/aws/IWafRuleGroupActivatedRule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92101"
} | starcoder | using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiInterface(nativeType: typeof(IWafRuleGroupActivatedRule), fullyQualifiedName: "aws.WafRuleGroupActivatedRule")]
public interface IWafRuleGroupActivatedRule
{
/// <summary>action block.</summary>
... | 2.053526 | 2dc51682b474ed1ea5810e4333cbf8ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92101 | {
"extension": "c-sharp",
"max_stars_count": "80.0",
"max_stars_repo_name": "McHarny/tankinspector",
"max_stars_repo_path": "TankInspector/UIComponents/ModelViewModel.CollisionModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92102"
} | starcoder | <filename>TankInspector/UIComponents/ModelViewModel.CollisionModel.cs
using System.Linq;
using System.Windows.Media;
namespace Smellyriver.TankInspector.UIComponents
{
internal partial class ModelViewModel
{
private bool _isHitTestEnabled;
public bool IsHitTestEnabled
{
get =... | 2.375204 | 3834b764b9b42bac0c10b17927bb8feb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92102 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "Yubico/Yubico.NET.SDK",
"max_stars_repo_path": "Yubico.Core/src/Yubico/Core/Devices/Hid/HidDevice.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92103"
} | starcoder | <reponame>Yubico/Yubico.NET.SDK<filename>Yubico.Core/src/Yubico/Core/Devices/Hid/HidDevice.cs
// Copyright 2021 Yubico AB
//
// 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://... | 1.857606 | dc9c853672c3bb5146016c3be2d1925f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92103 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "thenitro/algorithms-tests",
"max_stars_repo_path": "Algorithms/AlgorithmsTesting/Algorithms/Sort/TestKeyIndexedCounting.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92104"
} | starcoder | <gh_stars>1-10
using System;
using Algorithms.Sort;
using NUnit.Framework;
namespace AlgorithmsTesting.Algorithms.Sort
{
[TestFixture]
public class TestKeyIndexedCounting
{
[Test]
public void SmokeTest()
{
var arrayToSort = new[] { 'd', 'a', 'c', 'f', 'f', 'b', 'd', 'b',... | 2.97721 | 34d033022ad1531cc3ba0220585ca0d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92104 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kartverket/Geonorge.Symbol",
"max_stars_repo_path": "Geonorge.Symbol/Services/BatchService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92105"
} | starcoder | using Geonorge.Symbol.Models;
using ImageMagick;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
namespace Geonorge.Symbol.Services
{
public class BatchService
{
private readonly SymbolDbContext _dbContext;
string _targetFolder;
pu... | 2.787456 | 548ebdc402a4970484c0d9cf97b47cd1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92105 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "swordz36/FinalBootstrap",
"max_stars_repo_path": "FinalBoostrapIntro/DAL/BookInitializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92106"
} | starcoder | <gh_stars>0
using System.Data.Entity;
namespace FinalBoostrapIntro.DAL
{
internal class BookInitializer : IDatabaseInitializer<object>
{
}
} | 1.156003 | 7aee3e1d1e0cc36072d3877b4f554f35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92106 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Luxoft/BSSFramework",
"max_stars_repo_path": "src/_DomainDriven/Framework.DomainDriven.Core/BLL/Default/DefaultDomainBLLBase.Legacy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92107"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Framework.Core;
using Framework.Exceptions;
using Framework.Persistent;
namespace Framework.DomainDriven.BLL
{
public abstract partial class DefaultDomainBLLBase<TBLLContext, TPersistentDomainObject... | 2.156807 | e62084b23f93aca3c67196cf785e84f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92107 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PhilShishov/Design-Patterns",
"max_stars_repo_path": "CreationalDesignPatterns/BuilderPattern/Vehicle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92108"
} | starcoder | <reponame>PhilShishov/Design-Patterns<filename>CreationalDesignPatterns/BuilderPattern/Vehicle.cs<gh_stars>0
using System;
using System.Collections.Generic;
namespace BuilderPattern
{
/// <summary>
/// The 'Product' class
/// </summary>
public class Vehicle
{
private readonly string vehic... | 3.340894 | 874c5fd3e72a0713ecd5268ae9374677 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92108 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "binbin1987/ECG",
"max_stars_repo_path": "Definition/Signals.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92109"
} | starcoder | namespace ECG.Definition
{
public class Signals
{
public float SamplePerSeconds
{
get;
set;
}
public float Resolution
{
get;
set;
}
public Signal[] Leads
{
get;
... | 3.054356 | 3af5a93c15dbaa8cbdb21a35c8f20c21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92109 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amanbhagat77/Connectify",
"max_stars_repo_path": "Controllers/Api/JobsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92110"
} | starcoder | <filename>Controllers/Api/JobsController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web.Http;
using Microsoft.AspNet.Identity.Owin;
using Connectify.Models;
using Connectify.Dto;
using Connectify.Controllers;
using AutoMapper;
using System.Data.Entity;
namespa... | 2.555812 | 72425050f27d1271b1381d345d0a3652 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92110 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VladimirKyuranov/CSharp-OOP-Basics",
"max_stars_repo_path": "Exercises/Ex06-Polymorphism/02-VehiclesExtension/Exceptions/BusOutOfFuelException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92111"
} | starcoder | public class BusOutOfFuelException : OutOfFuelException
{
public override string Message => "Bus" + base.Message;
} | 1.882533 | 9e40fa473704e1af7db6d22b1ec9d0ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92111 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheUnforg1ven/GameStore",
"max_stars_repo_path": "GameStore/Views/Game/List.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:92112"
} | starcoder | <div>
<h2>All games shown here</h2>
</div>
<h2>@Model.CurrentCategory</h2>
<div class="row">
@foreach (Game game in Model.Games)
{
@await Html.PartialAsync("GameSummary", game)
}
</div>
| 2.31713 | fc7b0aa0dab7a660be687037d71f1820 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92112 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ekzyis/CrypTool-2",
"max_stars_repo_path": "CrypPlugins/SZ42/Properties/Resources.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92113"
} | starcoder | <reponame>ekzyis/CrypTool-2
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
... | 2.047326 | 3687b47dd429e7a72486bfd6c9223f57 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92113 | {
"extension": "c-sharp",
"max_stars_count": "820.0",
"max_stars_repo_name": "ducthinhdeveloper/aspnetboilerplate-samples",
"max_stars_repo_path": "OrganizationUnitsDemo/OrganizationUnitsDemo.Core/OrganizationUnitsDemoCoreModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92114"
} | starcoder | <reponame>ducthinhdeveloper/aspnetboilerplate-samples
using System.Reflection;
using Abp.Localization.Dictionaries;
using Abp.Localization.Dictionaries.Xml;
using Abp.Modules;
using Abp.Zero;
using Abp.Zero.Configuration;
using OrganizationUnitsDemo.Authorization;
using OrganizationUnitsDemo.Authorization.Roles;
name... | 1.509637 | f2f750fee2b5b03d895e14564b0e34e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92114 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Filirien/CSharp-Fundamentals",
"max_stars_repo_path": "C# OOP Basic/Exams/NFS/Garage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92115"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class Garage
{
}
| 0.992818 | e08b5bb555e8580de7a5fa96de7f2417 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92115 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "game-forest/Citrus",
"max_stars_repo_path": "Orange/NodeExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92116"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Lime;
namespace Orange
{
public static class NodeExtensions
{
public static int RemoveDanglingAnimators(this Node self)
{
var node = self;
var scope = new Dictionary<string, int>();
... | 2.834579 | 014214dadf5c7aba1a1fb31928f2ad6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92116 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "antmdvs/docs",
"max_stars_repo_path": "samples/snippets/csharp/VS_Snippets_WebNet/configbrowser/cs/section.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92117"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
// <Snippet63>
using System.Web.UI.HtmlControls;
// </Snippet63>
public partial class Section : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{... | 2.189205 | 9f83e6ef7159068ec72c3a7c7f2092b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92117 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rinsen/IdentityProvider",
"max_stars_repo_path": "src/Rinsen.IdentityProvider/IdentityStorage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92118"
} | starcoder | <filename>src/Rinsen.IdentityProvider/IdentityStorage.cs
using Rinsen.IdentityProvider;
using System;
using System.Data.SqlClient;
using System.Threading.Tasks;
namespace Rinsen.IdentityProvider
{
public class IdentityStorage : IIdentityStorage
{
private readonly IdentityOptions _identityOptions;
... | 2.685257 | a19205aad2010ea4108b0cbe9f1930a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92118 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "davidrevoledo/GixDotNet",
"max_stars_repo_path": "src/GixDotnet/Infrastructure/Services/BaseServices.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92119"
} | starcoder | <gh_stars>1-10
using GixDotnet.Infrastructure.Http;
namespace GixDotnet.Infrastructure.Services
{
/// <summary>
/// Base Services.
/// </summary>
public abstract class BaseServices
{
protected BaseServices()
{
}
protected BaseServices(GixRequestOptions defaultO... | 1.889699 | 5fb19c498002dc59b829d4054611402b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92119 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kawaharas/VisAssets",
"max_stars_repo_path": "Assets/VisAssets/Scripts/DataElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92120"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace VisAssets
{
[System.Serializable]
public class DataElement
{
public int[] dims;
public int ndim;
public int size;
public int steps;
[System.NonSerialized]
public float[][] c... | 2.508011 | e45dc949e64b8a1849617c467e601f27 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92120 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DEFRA/prsd-iws",
"max_stars_repo_path": "src/EA.Iws.Web/Areas/ImportNotification/ViewModels/WasteCodes/WasteCodesViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92121"
} | starcoder | namespace EA.Iws.Web.Areas.ImportNotification.ViewModels.WasteCodes
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web.Mvc;
using Core.ImportNotification.Draft;
using Core.WasteCodes;
using Shared;
publ... | 1.719399 | 26ab8ef13bc491ad3912b97bd82d9499 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92121 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stoyanov7/DistributedShop",
"max_stars_repo_path": "src/DistributedShop.Identity/Handlers/SignInHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92122"
} | starcoder | namespace DistributedShop.Identity.Handlers
{
using DistributedShop.Common.Authentication;
using DistributedShop.Common.Mediator.Types;
using DistributedShop.Identity.Domain;
using DistributedShop.Identity.Dto;
using DistributedShop.Identity.Infrastructure.Services;
using DistributedShop.Identi... | 2.17462 | 2de8a3725c4ddb9a47ded07ab2e0c39b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92122 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "jaschrep-msft/azure-storage-net",
"max_stars_repo_path": "Lib/AspNet/Microsoft.WindowsAzure.Storage.Facade/FacadeLib/Microsoft.WindowsAzure.Storage.Queue.Protocol.GetMessagesResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9... | starcoder | <filename>Lib/AspNet/Microsoft.WindowsAzure.Storage.Facade/FacadeLib/Microsoft.WindowsAzure.Storage.Queue.Protocol.GetMessagesResponse.cs<gh_stars>1-10
using Microsoft.WindowsAzure.Storage.Shared.Protocol;
using System;
using System.Collections.Generic;
using System.IO;
namespace Microsoft.WindowsAzure.Storage.Queue.Pr... | 2.077099 | 1bb442deece32141f9ea9680c81ea0bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92123 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "YiB-PC/BeUtl",
"max_stars_repo_path": "src/BeUtl.Graphics/Styling/IStyleable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92124"
} | starcoder | <gh_stars>10-100
namespace BeUtl.Styling;
public interface IStyleable : IElement
{
Styles Styles { get; set; }
void StyleApplied(IStyleInstance instance);
void InvalidateStyles();
IStyleInstance? GetStyleInstance(IStyle style);
}
| 1.628769 | d4629887c7e84342f61243b0b260323e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92124 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Atharv24/NEAT",
"max_stars_repo_path": "Assets/Scripts/Genome.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92125"
} | starcoder | <reponame>Atharv24/NEAT<filename>Assets/Scripts/Genome.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
public class Genome
{
private List<int> connectionKeys; //list of innovation numbers of connections
private List<NodeGene> nodeList; //... | 2.756504 | 751ca37c83836f0560fb458ef01617cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92125 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mcridah/xawords",
"max_stars_repo_path": "WordnikLib/Enums.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92126"
} | starcoder | <filename>WordnikLib/Enums.cs
namespace WordnikLib.ParameterProviders
{
public enum SourceDictionary
{
_none = 0,
all,
ahd,
century,
wiktionary,
webster,
wordnet
}
public enum ExpandTerm
{
_none = 0,
synonym,
... | 2.083369 | d15c7677199755b0ecceb7e0a863f211 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92126 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xforever1313/VoiceMacro.Plugins.Coding",
"max_stars_repo_path": "src/VoiceMacro.Plugins.Coding/BaseInVarToCaseOutVarCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92127"
} | starcoder | //
// Copyright <NAME> 2021.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
using System;
using vmAPI;
namespace VoiceMacro.Plugins.Coding
{
public abstract class BaseInVarToCaseOu... | 2.116906 | 11bf351a2837bd6f7170f5ca7a8cc453 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92127 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "moviecollection/movie-file-library",
"max_stars_repo_path": "Source/Demo/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92128"
} | starcoder | using System;
namespace Demo
{
class Program
{
static void Main()
{
// Create a new instance of the MovieDetector class.
var movieDetector = new MovieFileLibrary.MovieDetector();
// Sample files.
string[] files =
{
"D... | 2.940176 | 5d814417af71e5b103181c630315eafc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92128 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "etechi/ServiceFramework",
"max_stars_repo_path": "Projects/Server/Sys/SF.Sys.HttpClient.Implements/HttpClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92129"
} | starcoder | #region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2017 <NAME> (<EMAIL>)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of the License at
http://www.apac... | 2.306035 | c1784d7c0e41fea92a2ec04b1474ae12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92129 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "m-sadegh-sh/WebPlex",
"max_stars_repo_path": "src/WebPlex.Web/Mvc/UI/Components/NavbarComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92130"
} | starcoder | <reponame>m-sadegh-sh/WebPlex
namespace WebPlex.Web.Mvc.UI.Components {
using System.Collections.Generic;
public sealed class NavbarComponent : ComponentBase {
private IList<NavItemComponent> _items;
public IList<NavItemComponent> Items {
get { return _items ?? (_items = new List<NavItemComponent>()); }
... | 1.887676 | f38a4107891ad6d8fa8953a6bbb16c0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92130 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TakafumiKii/unity-chan-shooting_Unity",
"max_stars_repo_path": "unity-chan-shooting/Assets/UnityChanShooting/Scripts/UnityChanShooting/MainGame/PlayerInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92131"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityChanShooting
{
public class PlayerInput : MonoBehaviour {
[SerializeField]
Rect InputAria;
Vector2 AreaMin;
Vector2 AreaMax;
PlayerController PlayerCtrl;
void Start() {
... | 2.315978 | 4a9ff0c87e3de93ce9d292ea5f2fdb7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92131 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "petartotev/PT_Demo_UltimateCollection",
"max_stars_repo_path": "src/Personal/Dapper/CarDemo.Services/Contracts/ICarService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92132"
} | starcoder | using CarDemo.Services.Models.Car;
using System;
using System.Collections.Generic;
namespace CarDemo.Services.Contracts
{
public interface ICarService
{
IEnumerable<CarServiceModel> GetAllCars();
CarServiceModel GetCarById(Guid id);
}
}
| 1.924976 | 4a9f4e959b7e4ded56cd081455443513 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92132 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chrisckc/HttpApiClientDemo",
"max_stars_repo_path": "DemoClient/Extensions/JsonExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92133"
} | starcoder | <gh_stars>0
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace DemoClient.Extensions
{
public static class JsonExtensions
{
public static void PopulateObject<T>(this JToken jToken, T obj)
{
if (jToken == null) {
throw new System.ArgumentNullException(nameof... | 2.599857 | 90c77f38d22c8cb733ff1462dfa990bb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.