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 | 66433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jnm2/StyleCopAnalyzers",
"max_stars_repo_path": "StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1101CSharp7UnitTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66434"
} | starcoder | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using System.Threading;
using System.Threading.Tasks;
using StyleC... | 2.026101 | d80f08b9c59cf78481e79c07b80d26f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66434 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "UniverseRealms/LOE-V6-SERVER",
"max_stars_repo_path": "dungeon/Templates/Difficult 1/Pirate Cave/PirateCaveTemplate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66435"
} | starcoder | <reponame>UniverseRealms/LOE-V6-SERVER
using System;
using LoESoft.Dungeon.utils;
using RotMG.Common;
using LoESoft.Dungeon.engine;
namespace LoESoft.Dungeon.templates.Difficult_1.Pirate_Cave
{
public class PirateCaveTemplate : DungeonTemplate
{
internal static readonly TileType LightSand = new TileTy... | 1.978099 | 1821d5be2985467187e9a838273b923a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66435 | {
"extension": "c-sharp",
"max_stars_count": "95.0",
"max_stars_repo_name": "MilleBo/Unima",
"max_stars_repo_path": "src/Testura.Mutation.Wpf/Sections/Shell/ShellViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66436"
} | starcoder | using System;
using System.Collections.Generic;
using Prism.Mvvm;
using Testura.Mutation.Wpf.Helpers.Openers;
namespace Testura.Mutation.Wpf.Sections.Shell
{
public class ShellViewModel : BindableBase
{
private readonly TesturaMutationProjectOpener _projectOpener;
private readonly MutationRepo... | 2.135334 | cc0f007ec12911ebe721e81a629477d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66436 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "nutellarlz/geckofx-33.0",
"max_stars_repo_path": "Geckofx-Core/Generated/nsICancelableRunnable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66437"
} | starcoder | // --------------------------------------------------------------------------------------------
// Version: MPL 1.1/GPL 2.0/LGPL 2.1
//
// The contents of this file are subject to the Mozilla Public License Version
// 1.1 (the "License"); you may not use this file except in compliance with
// the License. You may... | 2.069779 | f2b0e8d113aae50e905877e8f9d791d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66437 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "dolittle/Runtime",
"max_stars_repo_path": "Source/Events.Processing/Streams/Partitioned/ScopedStreamProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66438"
} | starcoder | <filename>Source/Events.Processing/Streams/Partitioned/ScopedStreamProcessor.cs
// Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading... | 1.976364 | f777dacffa0ddddbe63006583881470e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66438 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "znickle24/ZanderProjects",
"max_stars_repo_path": "C#.NetSQLLinq/LMS/LMS/Views/Student/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:66439"
} | starcoder | <gh_stars>0
@{
ViewData["Title"] = "StudentHome";
Layout = "~/Views/Shared/StudentLayout.cshtml";
}
<h4 id="StudentInfo"></h4>
<h4 id="Major"></h4>
<div class="col-md-12">
<h4>My Classes</h4>
<table id="tblClasses" class="table table-bordered table-striped table-responsive table-hover">
<thead>
<t... | 2.377772 | c9826db1c85631d1c41cd14f14946e24 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66439 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "seanpconkie/SBTCustomerManager",
"max_stars_repo_path": "Views/Manage/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:66440"
} | starcoder | <gh_stars>0
@using SBTCustomerManager.Views.Manage | 1.116918 | f265c9cd73218b7158fbd6141ef3b7da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66440 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "pulumi/pulumi-newrelic",
"max_stars_repo_path": "sdk/dotnet/Outputs/NrqlAlertConditionTerm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66441"
} | 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... | 2.172781 | 6ba62f323852a7f557a20d912944cf13 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66441 | {
"extension": "c-sharp",
"max_stars_count": "1629.0",
"max_stars_repo_name": "aTiKhan/CommunityServer",
"max_stars_repo_path": "web/studio/ASC.Web.Studio/Products/People/Resources/PeopleJSResource.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66442"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 1.985331 | a8f03a65361876f56aeb4f3e8f800f12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66442 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yschuurmans/ACT_Chat",
"max_stars_repo_path": "ACT_Chat/ACT_Chat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66443"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using Advanced_Combat_Tracker;
using System.IO;
using System.Reflection;
using System.Xml;
using ACT_FFXIV.Aetherbridge;
using ACT_Chat.ACT;
u... | 1.54239 | c8e227cb3958e5d07b0279f0734ef328 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66443 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VictorioBerra/SearchExtensions",
"max_stars_repo_path": "NinjaNye.SearchExtensions.Tests/Fluent/SoundexSearchTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66444"
} | starcoder | <filename>NinjaNye.SearchExtensions.Tests/Fluent/SoundexSearchTests.cs
using System.Collections.Generic;
using System.Linq;
using Xunit;
using NinjaNye.SearchExtensions.Soundex;
using NinjaNye.SearchExtensions.Tests.SearchExtensionTests;
namespace NinjaNye.SearchExtensions.Tests.Fluent
{
public class Soundex... | 3.10306 | 4336f80ee8c3ee70bb386c3d3829856b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66444 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pakrym/ApplicationInsights-dotnet",
"max_stars_repo_path": "Test/ServerTelemetryChannel.Test/Shared.Tests/Implementation/ThrottlingTransmissionPolicyTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66445"
} | starcoder | namespace Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.Implementation
{
using System;
#if NET45
using System.Diagnostics.Tracing;
#endif
using System.Globalization;
using System.Linq;
using System.Net;
using System.Threading;
using Microsoft.ApplicationInsights.Web.TestFrame... | 1.971564 | 31e203f5000232871252050799d7394e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66445 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "willhl/GraphData-MEP",
"max_stars_repo_path": "HLApps.Revit.Graph/RevitToGraphPublisher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66446"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Autodesk.Revit.DB;
namespace HLApps.Revit.Graph
{
public class RevitToGraphPublisher
{
Document _rdoc;
public RevitToGraphPublisher(Document doc)
{
_rdo... | 2.243847 | 0bc18c764c6f45fa872f809b222ca4fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66446 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "janeshparnami/BookContents",
"max_stars_repo_path": "Chapters/Chapter8/Assets/Review.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66447"
} | starcoder | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Chapter 8.2 Review *
* *
* Copyright © 2018 <NAME> *
* ... | 2.751173 | f16b7035ae52a50611ddd40c1425a6a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66447 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jacksonporter/raceregquickexample",
"max_stars_repo_path": "raceregquickexample/Tests/ValidationTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66448"
} | starcoder | using NUnit.Framework;
using RaceRegQuickExample.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tests
{
[TestFixture]
public class ValidationTests
{
[Test]
public void ValidateHasSpacesFirstName()
... | 2.779599 | 761fa430d18597382280c55f038e71b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66448 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "manojkulkarni30/GitTrends",
"max_stars_repo_path": "GitTrends.Shared/Models/User.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66449"
} | starcoder | <reponame>manojkulkarni30/GitTrends
using System;
using System.Text;
using Newtonsoft.Json;
namespace GitTrends.Shared
{
public class User
{
public User(RepositoryConnection repositories, string name, string company, DateTimeOffset createdAt, string login, Uri avatarUrl, GitHubFollowers? followers)
... | 1.897393 | b63f1532cc9de149ff2262c3af1ef8a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66449 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "econmed/ImageServer20",
"max_stars_repo_path": "ImageViewer/Volume/Mpr/SR.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66450"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3603
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>... | 1.760679 | 6270f9b05d15f029cc3a39623e1c9950 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66450 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Spinariaz/BookApplication",
"max_stars_repo_path": "BusinessObjects/BusinessRules/ValidationDataType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66451"
} | starcoder | <filename>BusinessObjects/BusinessRules/ValidationDataType.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusinessObjects
{
public enum ValidationDataType
{
String,
Integer,
Double,
Dec... | 1.995347 | 02504dadd14a1667a833284b8793bfe5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66451 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jpda/azure-activedirectory-library-for-dotnet",
"max_stars_repo_path": "src/Microsoft.IdentityModel.Clients.ActiveDirectory/Platforms/net45/WindowsFormsWebAuthenticationDialogBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6645... | starcoder | <reponame>jpda/azure-activedirectory-library-for-dotnet
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtain... | 1.726689 | 24936386383db1ec1fa7111458068433 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66452 | {
"extension": "c-sharp",
"max_stars_count": "277.0",
"max_stars_repo_name": "xen2/SharpLang",
"max_stars_repo_path": "src/SharpLang.Compiler/Compiler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66453"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection.PortableExecutable;
using System.Text.RegularExpressions;
using Mono.Cecil;
using SharpLang.CompilerServices.Cecil;
using SharpLLVM;
using AssemblyDefinition = Mono.Cecil.AssemblyDefinition;
using TypeDefinition... | 2.014641 | abacd06c4fe64b86ddf2d9e1bf7bf11a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66453 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "focus-creative-games/behavior_tree",
"max_stars_repo_path": "Bright.BehaviorTreeUnitTest/Basics/Test_Sequence.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66454"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Pefect.BehaviorTreeUnitTest.Services;
using Pefect.BehaviorTreeUnitTest.Tasks;
using Bright.BehaviorTree;
using Bright.BehaviorTree.Composites;
using Bright.BehaviorTreeUnitTest.Tasks;
namespac... | 1.97457 | 49165fd5ad1c39e8f049fadf507f7edc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66454 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "athipp/azure-powershell",
"max_stars_repo_path": "src/ResourceManager/KeyVault/Commands.KeyVault/Models/ByokWebKeyConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66455"
} | starcoder | <gh_stars>1-10
// ----------------------------------------------------------------------------------
//
// Copyright 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 ... | 2.076844 | f88e010a897e7be14ab419adde8799ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66455 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kyleadams-fm/authorization",
"max_stars_repo_path": "src/GraphQL.Authorization/GraphQLAuthorizeAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66456"
} | starcoder | using GraphQL.Utilities;
namespace GraphQL.Authorization
{
public class GraphQLAuthorizeAttribute : GraphQLAttribute
{
public string Policy { get; set; }
public override void Modify(TypeConfig type)
{
type.AuthorizeWith(Policy);
}
public override void Modif... | 2.211136 | 764e5e8c2d78347bb636480e7d3f2dfc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66456 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "pgallik/swagger",
"max_stars_repo_path": "src/Be.Vlaanderen.Basisregisters.AspNetCore.Swagger.ReDoc/UseSwaggerDocumentationExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66457"
} | starcoder | <filename>src/Be.Vlaanderen.Basisregisters.AspNetCore.Swagger.ReDoc/UseSwaggerDocumentationExtensions.cs
namespace Be.Vlaanderen.Basisregisters.AspNetCore.Swagger.ReDoc
{
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore... | 2.200709 | 40843f7ec3e35ace58a6013612b64e98 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66457 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DZabavchik/WampSharp",
"max_stars_repo_path": "src/net45/WampSharp/WAMP2/V2/PubSub/Subscriber/LocalSubscriber.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66458"
} | starcoder | <reponame>DZabavchik/WampSharp
using System.Collections.Generic;
using WampSharp.Core.Serialization;
using WampSharp.V2.Core;
using WampSharp.V2.Core.Contracts;
namespace WampSharp.V2.PubSub
{
public abstract class LocalSubscriber : IWampRawTopicClientSubscriber
{
protected readonly static IWampFormat... | 1.782831 | 0d34964636f69888f12aade25014d89f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66458 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zamhsu/ecShopWebApiCSharp",
"max_stars_repo_path": "WebApi/Dtos/Pagination.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66459"
} | starcoder | <reponame>zamhsu/ecShopWebApiCSharp
namespace WebApi.Dtos
{
public class Pagination
{
/// <summary>
/// 總頁數
/// </summary>
/// <value></value>
public int TotalPage { get; set; }
/// <summary>
/// 目前頁數
/// </summary>
/// <value></value>
... | 1.894296 | fc8984939a605954f44acb76f2554446 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66459 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "antoinne85/DotNetMove",
"max_stars_repo_path": "src/DotNetSolutionTools/ProjectLanguage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66460"
} | starcoder | namespace DotNetSolutionTools
{
public enum ProjectLanguage
{
Unknown = 0,
CSharp = 1,
FSharp = 2,
VisualBasic = 3
}
} | 1.677719 | abe6be26e2ace8c08873887af57c8d52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66460 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "PyriteServer/PyriteCli",
"max_stars_repo_path": "PyriteLib/Vector3D.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66461"
} | starcoder | using PyriteLib.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PyriteLib
{
public class Vector3D
{
public double X { get; set; }
public double Y { get; set; }
public double Z { get; set; }
public Vector3D(double X, ... | 3.291338 | c06f8f63ed8f6f1b9a7983b642ac9b08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66461 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "q2kPetrov/SoftUni",
"max_stars_repo_path": "C# Fundamentals/01_BasicSyntaxConditionalStatementsAndLoops/Exercises/MoreExercises/02_EnglishNameofTheLastDigit/02_EnglishNameOfTheLastDigit.cs",
"provenance": "train-00000-of-00045.jsonl.g... | starcoder | <filename>C# Fundamentals/01_BasicSyntaxConditionalStatementsAndLoops/Exercises/MoreExercises/02_EnglishNameofTheLastDigit/02_EnglishNameOfTheLastDigit.cs
using System;
namespace EnglishNameOfTheLastDigit
{
class Program
{
static void Main()
{
int input = int.Parse(Console.R... | 3.871827 | 6129a960d16b1002be1b1a78595776be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66462 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yubzee/tatum-csharp",
"max_stars_repo_path": "Tatum/Clients/IVechainClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66463"
} | starcoder | <filename>Tatum/Clients/IVechainClient.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Threading.Tasks;
/// <summary>
/// Summary description for IVechainClient
/// </summary>
///
namespace Tatum
{
public interface IVechainClient
{... | 1.866979 | 21430aa0ae04eb808df90a754fd919c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66463 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "huruiyi/MicroServices",
"max_stars_repo_path": "MicroServices/Other/ocelotserver3/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66464"
} | starcoder | using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
namespace ocelotserver3
{
public class Program
{
public static void Main(string[] args)
{
WebHost.CreateDefaultBuilder(args).UseStartup<Startup>()
.UseUrls("htt... | 1.941865 | c7a907e559f052f55351f3e5cf31236f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66464 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PabloGaspar/TecWeb-1-2021",
"max_stars_repo_path": "VideoGameAPI/VideoGameAPI/Services/ICompaniesService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66465"
} | starcoder | <reponame>PabloGaspar/TecWeb-1-2021
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using VideoGameAPI.Models;
namespace VideoGameAPI.Services
{
public interface ICompaniesService
{
Task<IEnumerable<CompanyModel>> GetCompaniesAsync(string orderBy, bool ... | 1.953407 | 08480975140425ca8f52fc8fc1214104 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66465 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "soniamaryc/ARUI_RandomObjectManipulation",
"max_stars_repo_path": "Assets/BT_Library/Demos/Bluetooth Joystick Tutorial/JoystickHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66466"
} | starcoder | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using TechTweaking.Bluetooth;
public class JoystickHandler : MonoBehaviour {
private BluetoothDevice device;
public Text statusText;
public Text logsOnScreen;
public Transform cube;
public float speed = 1.0f;
void Awake () {
statusText.t... | 2.803005 | f6dee8d7b873cd0824db72ac10928d35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66466 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EwoutSchrotenboer/AdventOfCode",
"max_stars_repo_path": "AoC.Y2018/Day22/Day22.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66467"
} | starcoder | <filename>AoC.Y2018/Day22/Day22.cs
using AoC.Helpers.Days;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
namespace AoC.Y2018.Days
{
public class Day22 : BaseDay
{
private static int depth;
private static (int x, int y) dest;
public Day22() : ... | 2.963572 | 6f9ec3ddb1c4678c00d7871e83002581 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66467 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "CorsiRiccardo/Frequencify",
"max_stars_repo_path": "_Frequencify/Assets/Scripts/AudioSpectrum/AudioReactiveComponents/Transform/SE_TransformScale.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66468"
} | starcoder | <filename>_Frequencify/Assets/Scripts/AudioSpectrum/AudioReactiveComponents/Transform/SE_TransformScale.cs
using UnityEngine;
namespace WordsManagement.AudioReactiveComponents {
public class SE_TransformScale : SE_Transform {
protected override void PostClampUpdate(float amount) {
var lScale = transform.local... | 2.056848 | a87941e38ac56aa1662721337d033e97 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66468 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "dongdapeng110/SharpDevelopTest",
"max_stars_repo_path": "src/AddIns/Misc/PackageManagement/Cmdlets/Test/Helpers/TestableUpdatePackageCmdlet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66469"
} | starcoder | <reponame>dongdapeng110/SharpDevelopTest
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.PackageManagement.Cmdlets;
using ICSharpCode.PackageM... | 1.3383 | 6d5cf2d3fa87882ab2af66d0e0284c37 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66469 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Revolutionary-Games/ThriveDevCenter",
"max_stars_repo_path": "Shared/Notifications/ListItemChangeType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66470"
} | starcoder | namespace ThriveDevCenter.Shared.Notifications
{
/// <summary>
/// Specifies what happened in a list change notification
/// </summary>
public enum ListItemChangeType
{
/// <summary>
/// An item's properties were updated
/// </summary>
ItemUpdated,
/// <su... | 2.094422 | d182750f6a16d93835f342ae85f7e2f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66470 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Benny1007/PowerShellEditorServices",
"max_stars_repo_path": "src/PowerShellEditorServices.Protocol/LanguageServer/EditorCommands.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66471"
} | starcoder | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class Exte... | 1.797374 | 908e2564e5600ff762273226b3e0392c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66471 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Wrennsun/SpaceEngineers",
"max_stars_repo_path": "Sources/Sandbox.Common/ObjectBuilders/MyObjectBuilder_ToolbarItemTerminal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66472"
} | starcoder | <filename>Sources/Sandbox.Common/ObjectBuilders/MyObjectBuilder_ToolbarItemTerminal.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VRageMath;
using ProtoBuf;
using Sandbox.Common.ObjectBuilders.Definitions;
namespace Sandbox.Common.ObjectBuilders
{
[ProtoContract]
... | 2.146131 | acb7247a46f737d89b29d91dad92f0ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66472 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "cratis/cratis",
"max_stars_repo_path": "Source/ApplicationModel/Tooling/Templates/templates/aspnet/Integration.Specs/AccountHolders/for_AccountHolderDetailsAdapter/when_importing_for_the_second_time_without_changes.cs",
"provenance": ... | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Events.AccountHolders;
namespace Integration.AccountHolders.for_AccountHolderDetailsAdapter;
public class when_importing_for_the_second_time_without_changes : give... | 1.694091 | 61a28adcf484dae48bb8605c310a2a47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66473 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Tiltification/sonic-tilt",
"max_stars_repo_path": "android/PdCore/src/main/jni/libpd/csharp/Hooks.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66474"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace LibPDBinding
{
public delegate void LibPDPrint (string text);
public delegate void LibPDBang (string recv);
public delegate void LibPDFloat (string recv, float x);
public delegate void LibPDSymbol (string recv, string sym);
public delegate void LibPDLi... | 2.094395 | 2df43d4d7f881725a1545c91f88ab6fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66474 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Joe4evr/Discord.Net",
"max_stars_repo_path": "src/Discord.Net/Net/Queue/WebSocketRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66475"
} | starcoder | using Discord.Net.WebSockets;
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace Discord.Net.Queue
{
internal class WebSocketRequest : IQueuedRequest
{
public IWebSocketClient Client { get; }
public byte[] Data { get; }
public int DataIndex {... | 2.465083 | ce7ac4b9b334fb4f9bf2a9a7c5e55aa3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66475 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "abjerner/Skybrud.Umbraco.PackageManifests",
"max_stars_repo_path": "src/Skybrud.Umbraco.PackageManifests/Models/PackageManifest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66476"
} | starcoder | using System;
using System.Linq;
using System.Text.RegularExpressions;
using Newtonsoft.Json;
using Skybrud.Essentials.Json;
using Skybrud.Umbraco.PackageManifests.Models.Umbraco;
using Umbraco.Core.IO;
namespace Skybrud.Umbraco.PackageManifests.Models {
public class PackageManifest {
[JsonIgnore]
... | 2.356391 | a5f70ac15cebb0e2e50b92adf5d7d3d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66476 | {
"extension": "c-sharp",
"max_stars_count": "55.0",
"max_stars_repo_name": "dnikolovv/cafe",
"max_stars_repo_path": "server/src/server/Cafe.Domain/Repositories/IManagerViewRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66477"
} | starcoder | using Cafe.Domain.Views;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Cafe.Domain.Repositories
{
public interface IManagerViewRepository
{
Task<IList<ManagerView>> GetAll();
}
}
| 1.493804 | ea265e361004ba21c65aca4be58764dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66477 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emipa606/GhostGear",
"max_stars_repo_path": "Source/GhostGear/Notify_DamageApplied_PostPatch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66478"
} | starcoder | using HarmonyLib;
using RimWorld;
using UnityEngine;
using Verse;
namespace GhostGear
{
// Token: 0x02000021 RID: 33
[HarmonyPatch(typeof(StunHandler), "Notify_DamageApplied", typeof(DamageInfo))]
public class Notify_DamageApplied_PostPatch
{
// Token: 0x060000A9 RID: 169 RVA: 0x00005E84 File ... | 1.801258 | dfe8ca9529d1307631ab75975fa373e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66478 | {
"extension": "c-sharp",
"max_stars_count": "361.0",
"max_stars_repo_name": "Jopie64/WampSharp",
"max_stars_repo_path": "src/net45/Samples/WAMP1/WampSharp.RpcServerSample/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66479"
} | starcoder | <filename>src/net45/Samples/WAMP1/WampSharp.RpcServerSample/Program.cs<gh_stars>100-1000
using System;
using WampSharp.V1;
using WampSharp.V1.Rpc;
namespace WampSharp.RpcServerSample
{
public interface ICalculator
{
[WampRpcMethod("http://example.com/simple/calc#add")]
int Add(int x, int y);
... | 2.652744 | cd0faff93ac03007866068d8f26b7260 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66479 | {
"extension": "c-sharp",
"max_stars_count": "159.0",
"max_stars_repo_name": "harujoh/KelpNet",
"max_stars_repo_path": "KelpNet.Tests/UnitTest/Functions/Poolings/TestMaxPooling2D.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66480"
} | starcoder | using System;
using KelpNet.CL;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NChainer;
using NConstrictor;
#if DOUBLE
#elif NETCOREAPP2_0
using Math = System.MathF;
#else
using Math = KelpNet.MathF;
#endif
//using Real = System.Double;
using Real = System.Single;
namespace KelpNet.Tests
{
[TestClas... | 2.163936 | 6d22becf9e737d47747662b7772e0cb7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66480 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "reynarzz/UnityTextHighlight",
"max_stars_repo_path": "TalkSystem/Assets/TalkSystem/Code/Utils/SDictionary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66481"
} | starcoder | //MIT License
//Copyright (c) 2020 <NAME> (Reynarz)
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including without limitation the rights
//to use, copy, modify, mer... | 2.216944 | 3620219d313e474b5fb6ae618ebbe77d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66481 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Forczu/Homunculus",
"max_stars_repo_path": "Homunculus/MarekMotykaBot/Services/ImgurService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66482"
} | starcoder | using Imgur.API.Authentication.Impl;
using Imgur.API.Endpoints.Impl;
using Microsoft.Extensions.Configuration;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace MarekMotykaBot.Services
{
public class ImgurService: IDiscordService
{
private readonly Random _rng;
private r... | 2.608047 | e918744d134b1d69dd4c1031af2e27fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66482 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MauroPachecoCano/DAEA-2021-2-B",
"max_stars_repo_path": "DAEA-2021-2-B-lab10/Lab10/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66483"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab10
{
class Program
{
static void Main(string[] args)
{
NorthwndDataContext context = new NorthwndDataContext();
//var query = fr... | 2.751332 | 6ccb69b4116a6a8bfa78629935db5455 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66483 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gmilani/bilmo",
"max_stars_repo_path": "api/Financial.Identity/Services/UsersService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66484"
} | starcoder | using Financial.Domain.Data;
using Financial.Domain.Entities;
using Financial.Domain.Interfaces;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Financial.Domain.Services
{
public class UsersService : IService
{
private readonly BilmoDbContext _context;
public UsersSe... | 2.895167 | 7f71a1ef4032ce8368202adcfa2f8083 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66484 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vad3x/filehook",
"max_stars_repo_path": "src/Filehook.AspNetCore.Http/FileFormatsAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66485"
} | starcoder | <reponame>vad3x/filehook
using Microsoft.AspNetCore.Http;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
namespace Filehook.AspNetCore.Http
{
public class FileFormatsAttribute : ValidationAttribute
{
public FileFormatsAttribute(params string[] formats)
{
... | 2.381278 | 84a14fa2f81d77b535cbf902ee7ec6dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66485 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fossabot/Jaya",
"max_stars_repo_path": "Jaya.Ui/Services/NavigationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66486"
} | starcoder | <filename>Jaya.Ui/Services/NavigationService.cs
using Avalonia;
using Jaya.Shared;
using Jaya.Shared.Models;
using Jaya.Shared.Services;
using Jaya.Ui.ViewModels.Windows;
using Jaya.Ui.Views.Windows;
using System;
using System.Collections.Generic;
using System.Composition;
namespace Jaya.Ui.Services
{
[Export(nam... | 2.281117 | ca9623ca999f0902b3898cf364968d3c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66486 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WestDiscGolf/azure-cosmos-dotnet-repository",
"max_stars_repo_path": "tests/Microsoft.Azure.CosmosEventSourcingTests/Aggregates/AggregateRootTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66487"
} | starcoder | <reponame>WestDiscGolf/azure-cosmos-dotnet-repository
// Copyright (c) IEvangelist. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using FluentAssertions;
using Microsoft.Azure.CosmosEventSourcing.Aggregates;
using Microsoft.Azure.CosmosEventSourcing.Events;
usi... | 2.234411 | 9aaca3f60b70bfb28b33ff4ae22fb340 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66487 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JesterWang/FineUI",
"max_stars_repo_path": "FineUI_v6/FineUI.Examples/form/layout_panel_column.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66488"
} | starcoder | using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FineUI.Examples.form
{
public partial class layout_panel_column : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
}
... | 1.633187 | 0b6a4082abf5fadd677063d4a71a66c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66488 | {
"extension": "c-sharp",
"max_stars_count": "395.0",
"max_stars_repo_name": "davidezordan/Prism-Samples-Forms",
"max_stars_repo_path": "53-Logging-Loggly/src/PrismSample/ViewModels/MainPageViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66489"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Prism.Commands;
using Prism.Events;
using Prism.Logging.Loggly;
using Prism.Mvvm;
using Prism.Navigation;
using PrismSample.Events;
using PrismSample.Models;
namespace PrismSample.ViewModels
{
public class MainPageViewModel : BindableBase
... | 2.33042 | e9be6f0d6457e5f79af349634414de80 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66489 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nanase/Sharp98",
"max_stars_repo_path": "Sharp98/VGM/Header.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66490"
} | starcoder | <filename>Sharp98/VGM/Header.cs
//
// Header.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// The MIT License (MIT)
//
// Copyright (c) 2015 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in t... | 2.174624 | 5cc091a22b9d4ae88e4f68088c0d16c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66490 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YukiGibson/Presupuestos",
"max_stars_repo_path": "Presupuestos/Models/A_Vista_OConversion.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66491"
} | starcoder | namespace Presupuestos.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class A_Vista_OConversion
{
[DatabaseGenerated(DatabaseGe... | 1.743871 | 5d2be323a4d4d2e288485d63e6f6a3cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66491 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "anadale/hotchocolate",
"max_stars_repo_path": "src/HotChocolate/Core/src/Execution/Processing/ISelectionVariants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66492"
} | starcoder | using System.Collections.Generic;
using HotChocolate.Language;
using HotChocolate.Types;
namespace HotChocolate.Execution.Processing;
public interface ISelectionVariants
{
SelectionSetNode SelectionSet { get; }
IEnumerable<IObjectType> GetPossibleTypes();
ISelectionSet GetSelectionSet(IObjectType typeCo... | 1.516865 | f25910d82e73c3f6199136fab8b36c27 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66492 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "alexandrvslv/datawf",
"max_stars_repo_path": "DataWF.Gui/Misc/ToolWindow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66493"
} | starcoder | using DataWF.Common;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using Xwt;
namespace DataWF.Gui
{
public class ToolWindow : Window
{
protected System.Timers.Timer timerHide = new System.Timers.Timer();
protected System.Timers.Timer... | 1.942716 | 0d56e9f9f739aeff77466d85c0302933 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66493 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "simeonovanton/TelerikALPHA_nov2017",
"max_stars_repo_path": "04.OOP/hw_OOP_Principles_2/Shapes/Program/Triangle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66494"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Program
{
public class Triangle : Shape
{
public override double CalculateSurface()
{
return height * width / 2;
}
}
}
| 2.677027 | 910365bfdbb4a7424a82070d291f5ec2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66494 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "17783/MechEngineer",
"max_stars_repo_path": "source/Features/MechLabSlots/Patches/MechLabPanel_LoadMech_Patch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66495"
} | starcoder | using System;
using BattleTech.UI;
using Harmony;
using UnityEngine;
using UnityEngine.UI;
namespace MechEngineer.Features.MechLabSlots.Patches
{
[HarmonyPatch(typeof(MechLabPanel), "LoadMech")]
public static class MechLabPanel_LoadMech_Patch
{
public static void Postfix(MechLabPanel __instance)
... | 1.844596 | 0a9a84874fbdf0f3265dc1427a0fc9de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66495 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eltra-ch/eltra-mplayer",
"max_stars_repo_path": "Common/MPlayerCommon/Definitions/MediaStatusWordValue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66496"
} | starcoder | namespace MPlayerCommon.Definitions
{
public enum MediaStatusWordValue
{
Unknown,
Playing,
Stopped,
Stopping
}
}
| 1.318582 | c19240212001d9cc3ad949c1695987c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66496 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ilovepilav/MovieDB-MultiAPI-CMS",
"max_stars_repo_path": "ClientService/Areas/Movie/Models/TokenModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66497"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ClientService.Areas.Movie.Models
{
public class TokenModel
{
public string Token { get; set; }
public DateTime Expiration { get; set; }
}
}
| 1.62553 | d98e060d966c53d1125acb8c4cc2dd59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66497 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "phamxuanlu/MLP-NeuralNetwork-OCR",
"max_stars_repo_path": "MTAOCR/MLP/MLP.OCR/fMain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66498"
} | starcoder | <gh_stars>1-10
using MLP.ImagePreceeding;
using MLP.Network;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization.Formatters.Binary;... | 2.212065 | 960e567e86c116dd45542dae5c2e4365 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66498 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tamifist/Transcendence",
"max_stars_repo_path": "TranscendenceChatServer/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66499"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Owin;
using Microsoft.Owin.StaticFiles;
using Newtonsoft.Json;
using Owin;
using TranscendenceChat.ServiceBusShared;
using TranscendenceChat.ServiceBusShared.Entities;
using TranscendenceChatServer.Core;
us... | 2.26464 | c8fc6ac14c8a7e4f9285965e694806d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66499 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "olydis/lambada",
"max_stars_repo_path": "runtime/csharp/LambadaRuntime/BuiltIn/NatNumber/Pow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66500"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using LambadaRuntime.Basic;
namespace LambadaRuntime.BuiltIn
{
public class Pow : BuiltinExpression
{
public static string Literal { get { return "pow"; } }
public static readonly Node Instance = new Pow().AsNode();
pr... | 2.819597 | 9472ba8d9936de6495a1daae5671451c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66500 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DeveloperBird/DialogueSystem_YT",
"max_stars_repo_path": "DialogueManager_Options/Assets/Scripts/UnityEventHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66501"
} | starcoder | <reponame>DeveloperBird/DialogueSystem_YT
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.EventSystems;
public class UnityEventHandler : MonoBehaviour, IPointerDownHandler
{
public UnityEvent eventHandler;
public DialogueBase myDialogu... | 1.700086 | f2e2caf8d3a6adf379f585ecf517da90 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66501 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SCPET/SCP_ET_Plugin_Framework",
"max_stars_repo_path": "SCP_ET.API/Classes/PluginPriorityComparer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66502"
} | starcoder | using SCP_ET.API.Interfaces;
using System.Collections.Generic;
namespace SCP_ET.API.Classes
{
public sealed class PluginPriorityComparer : IComparer<IPlugin<IConfig>>
{
public static readonly PluginPriorityComparer Instance = new PluginPriorityComparer();
public int Compare(IPlugin<IConfig> x,... | 2.589984 | 9cac067730a64357d38795338ab8059c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66502 | {
"extension": "c-sharp",
"max_stars_count": "125.0",
"max_stars_repo_name": "abyssal/Qmmands",
"max_stars_repo_path": "src/Qmmands/Parsing/TypeParsers/Primitive/NullablePrimitiveTypeParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66503"
} | starcoder | <filename>src/Qmmands/Parsing/TypeParsers/Primitive/NullablePrimitiveTypeParser.cs<gh_stars>100-1000
using System.Linq;
namespace Qmmands
{
internal sealed class NullablePrimitiveTypeParser<T> : IPrimitiveTypeParser
where T : struct
{
private readonly PrimitiveTypeParser<T> _primitiveTypeParse... | 2.933747 | 0e98e13127dec0e058d03ee01cf8b183 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66503 | {
"extension": "c-sharp",
"max_stars_count": "359.0",
"max_stars_repo_name": "rnwelsh/MagicGradients",
"max_stars_repo_path": "tests/MagicGradients.Tests/Xaml/OffsetTypeConverterTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66504"
} | starcoder | <reponame>rnwelsh/MagicGradients<gh_stars>100-1000
using FluentAssertions;
using FluentAssertions.Execution;
using MagicGradients.Xaml;
using System.Collections.Generic;
using Xunit;
namespace MagicGradients.Tests.Xaml
{
[Trait("Feature", "Xaml")]
public class OffsetTypeConverterTests : TypeConverterTests<Off... | 2.571408 | ae86280d61085d016ba56b0bcf6569da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66504 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mdiller/DiscordChatExporter",
"max_stars_repo_path": "DiscordChatExporter.Core/Models/ChannelType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66505"
} | starcoder | namespace DiscordChatExporter.Core.Models
{
public enum ChannelType
{
GuildTextChat,
DirectTextChat,
GuildVoiceChat,
DirectGroupTextChat,
Category
}
} | 1.359268 | 7209f92b03e7210ae26d5e68895cdb85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66505 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "edwinhuish/eipcore2",
"max_stars_repo_path": "Api/Service/System/EIP.System.Models/Entities/SystemDataBaseBackUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66506"
} | starcoder | <gh_stars>10-100
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace EIP.System.Models.Entities
{
/// <summary>
/// System_DataBaseBackUp表实体类
/// </summary>
[Serializable]
[Table("System_DataBaseBackUp")]
public class SystemDataBase... | 2.198608 | e7ea42d20ee26981ae68d3fd917884ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66506 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "610yilingliu/leetcode",
"max_stars_repo_path": "C#/2.add-two-numbers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66507"
} | starcoder | <filename>C#/2.add-two-numbers.cs
/*
* @lc app=leetcode id=2 lang=csharp
*
* [2] Add Two Numbers
*/
// @lc code=start
// using System.Collections.Generic;
// public class ListNode {
// public int val;
// public ListNode next;
// public ListNode(int val=0, ListNode next=null) {
// this.val ... | 3.635193 | 8eb47ea9b833ba7f68052ff18e3ac484 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66507 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "razsilev/TelerikAcademy_Homework",
"max_stars_repo_path": "CSharp programing part 2/1.Arrays/08SequenceOfMaximalSum/SequenceOfMaximalSum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66508"
} | starcoder | using System;
class SequenceOfMaximalSum
{
static void Main()
{
int[] array = { 2, 3, -6, -1, 2, -1, 6, 4, -8, 8 };
int startMaxSumIndex = 0;
int count = 1;
int maxSum = 0;
int currentStartIndex = 0;
int currentCount = 1;
int currentMaxSum = 0;
... | 3.569347 | 2958a81023ff354009dedafdc6c437e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66508 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jmojiwat/SparkPostFun",
"max_stars_repo_path": "src/SparkPostFun/Sending/RetrieveSnippetResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66509"
} | starcoder | namespace SparkPostFun.Sending;
public record RetrieveSnippetResponse
{
public RetrieveSnippetResponseResult Results { get; init; } = new();
} | 1.188823 | 95bf7a8a103026eea6e45d393cef50f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66509 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "christianbumann/Cake.AzureDevOps",
"max_stars_repo_path": "src/Cake.AzureDevOps.Tests/PullRequest/Fakes/FakeAllSetGitClientFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66510"
} | starcoder | <reponame>christianbumann/Cake.AzureDevOps
namespace Cake.AzureDevOps.Tests.PullRequest.Fakes
{
using System;
using System.Collections.Generic;
using System.Threading;
using Cake.AzureDevOps.Authentication;
using Cake.AzureDevOps.PullRequest;
using Microsoft.TeamFoundation.SourceControl.WebApi;... | 1.910017 | a89737366a0b7d21d45bf5538981f481 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66510 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeBusiness/MAVN.Service.Campaign",
"max_stars_repo_path": "src/MAVN.Service.Campaign.Domain/Services/IBonusTypeValidationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66511"
} | starcoder | <reponame>LykkeBusiness/MAVN.Service.Campaign
using MAVN.Service.Campaign.Domain.Models;
namespace MAVN.Service.Campaign.Domain.Services
{
public interface IBonusTypeValidationService
{
ValidationResult ValidateBonusType(string bonusType, bool validateIfStakeable = false);
}
}
| 1.177044 | 0ad1ad70f89235a263dd4b1afa00d692 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66511 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bletblab/StormKitty",
"max_stars_repo_path": "StormKitty/stub/Neko/Modules/Implant/StringsCrypt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66512"
} | starcoder | using System;
using System.IO;
using System.Text;
using System.Linq;
using System.Security.Cryptography;
namespace StormKitty.Implant
{
internal sealed class StringsCrypt
{
// Salt
public static string ArchivePassword = GenerateRandomData();
private static readonly byte[] saltBytes = n... | 2.683763 | 9f6ac73bf1b1ea4244b1dde273685851 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66512 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "ScyllaNet/ScyllaNet",
"max_stars_repo_path": "src/ScyllaNet/Observers/MetricsConnectionObserver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66513"
} | starcoder | <filename>src/ScyllaNet/Observers/MetricsConnectionObserver.cs
// Copyright (c) 2014-2020 DataStax Inc.
// Copyright (c) 2020, <NAME> (ralmsdevelper)
// Licensed under the Apache License, Version 2.0. See LICENCE in the project root for license information.
using System;
using Scylla.Net.Metrics.Registries;
using Sc... | 1.747191 | 5f89de311719bb38a62284928cc25c84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66513 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AGGP-NHTI/Undesirables",
"max_stars_repo_path": "Assets/Scripts/WinTransition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66514"
} | starcoder | <filename>Assets/Scripts/WinTransition.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class WinTransition : MonoBehaviour
{
public GameObject player;
// Start is called before the first frame update
void Awake()
{
St... | 2.058768 | 754095c09bf39601e9273552838f293e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66514 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SteffenRossberg/FileArchive",
"max_stars_repo_path": "src/FileArchive/Ioc/IocContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66515"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Linq;
namespace FileArchive.Ioc
{
public class IocContainer : IIocContainer, IDisposable
{
private readonly string _defaultKey = Guid.NewGuid().ToString();
private readonly ConcurrentDictionary<(string Key, Type Interface), Deleg... | 2.502823 | 47734fcb0dadcbc91c381d27f6c21dac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66515 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "MagmaWorks/Calcs",
"max_stars_repo_path": "EssentialCalcs/Moment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66516"
} | starcoder | using CalcCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace EssentialCalcs
{
public class Moment : CalcBase
{
CalcDouble span;
CalcDouble udl;
CalcDouble moment;
CalcDouble s... | 2.64772 | 184ed8a4330c071123258e3be146a7e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66516 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "idontcare1996/ua_mei_im_fusion",
"max_stars_repo_path": "DiscreteGestureBasics-WPF/GestureDetector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66517"
} | starcoder | <gh_stars>0
namespace Microsoft.Samples.Kinect.DiscreteGestureBasics
{
using System;
using System.Collections.Generic;
using Microsoft.Kinect;
using Microsoft.Kinect.VisualGestureBuilder;
using mmisharp;
public class GestureDetector : IDisposable
{
/// <sum... | 2.057615 | 4cbf1919d2c940eab9b0af1c409b7745 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66517 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Split82/HMGGJ2015",
"max_stars_repo_path": "GGJ2015/Assets/Scripts/Enemies/BasicMovementCheck.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66518"
} | starcoder | <reponame>Split82/HMGGJ2015
using UnityEngine;
using System.Collections;
using System;
public class BasicMovementCheck : MonoBehaviour {
public GroundedCheck _fallGroundedCheck;
public GroundedCheck _wallGroundedCheck;
public float _checkInterval = 0.1f;
public event Action CanNotMoveInTheSameDirectionEvent;
... | 2.281167 | 9764379e7a55b593568ce9bf77818255 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66518 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RWE-Nexus/EnergyTrading-MDM-Sample",
"max_stars_repo_path": "Code/AdminUi/Admin.ReferenceDataModule/Views/ReferenceDataEditView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66519"
} | starcoder | namespace Admin.ReferenceDataModule.Views
{
using System.Windows.Controls;
using Admin.ReferenceDataModule.ViewModels;
/// <summary>
/// Interaction logic for ReferenceDataEditView.xaml
/// </summary>
public partial class ReferenceDataEditView : UserControl
{
public ReferenceDataEd... | 1.57134 | 8ee3dba490ff4b0e6c2f0cb8cd2d1e8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66519 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "damikun/hotchocolate-mutation-errors",
"max_stars_repo_path": "Src/Persistence/Migrations/AppDbContextModelSnapshot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66520"
} | starcoder | // <auto-generated />
using ErrorHandling.Persistence;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace ErrorHandling.Persistence.Migrations
{
[DbContext(typeof(AppDbContext))]
partial class AppDbCon... | 2.09008 | ab82eb5487d323c5b639bfa8dd21526c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66520 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "abod1944/maui",
"max_stars_repo_path": "src/Controls/tests/Xaml.UnitTests/Issues/Gh12763.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66521"
} | starcoder | <reponame>abod1944/maui<gh_stars>1-10
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using Microsoft.Maui.Controls;
using Microsoft.Maui.Controls.Core.UnitTests;
using NUnit.Framework;
namespace Microsoft.Maui.Controls.Xaml.UnitTests
{
public... | 1.953616 | 3ed73625e731aae5791d18e349dd53f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66521 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eskye/globoTicket-management-app",
"max_stars_repo_path": "src/Core/GloboTicket.ManagementApp.Application/Contracts/Persistence/IEventRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66522"
} | starcoder | <reponame>eskye/globoTicket-management-app<filename>src/Core/GloboTicket.ManagementApp.Application/Contracts/Persistence/IEventRepository.cs
using System;
using System.Threading.Tasks;
using GloboTicket.ManagementApp.Domain.Entities;
namespace GloboTicket.ManagementApp.Application.Contracts.Persistence
{
public in... | 1.644666 | 6ec8bf5dd6f7d61484817ce33f916391 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66522 | {
"extension": "c-sharp",
"max_stars_count": "55.0",
"max_stars_repo_name": "PhilJollans/AnkhSVN",
"max_stars_repo_path": "src/Ankh.Services/Scc/ProjectMap/SccDocumentData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66523"
} | starcoder | <reponame>PhilJollans/AnkhSVN
// Copyright 2008-2009 The AnkhSVN Project
//
// 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
//
// Unle... | 1.586573 | 15a08f158ec111e5bfb33338307385a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66523 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "X-Sharp/SHFB",
"max_stars_repo_path": "SHFB/Source/SandcastleBuilderPackage/PropertyPages/BuildPropertiesPageControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66524"
} | starcoder | <filename>SHFB/Source/SandcastleBuilderPackage/PropertyPages/BuildPropertiesPageControl.cs
//===============================================================================================================
// System : Sandcastle Help File Builder Visual Studio Package
// File : BuildPropertiesPageControl.cs
// A... | 1.737971 | 97f36d076e9acfd025c9c3e29b769aba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66524 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ambyte/ConfuserEx",
"max_stars_repo_path": "Confuser.Protections/ReferenceProxy/RPContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66525"
} | starcoder | using System;
using System.Collections.Generic;
using Confuser.Core;
using Confuser.Core.Services;
using Confuser.DynCipher;
using Confuser.Renamer;
using dnlib.DotNet;
using dnlib.DotNet.Emit;
namespace Confuser.Protections.ReferenceProxy {
internal enum Mode {
Mild,
Strong,
Ftn
}
internal enum EncodingTyp... | 1.23952 | 21db5211bc5b406b737de6dbcf695d9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66525 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BorislavBarov/OOP-Advanced-With-C-Sharp",
"max_stars_repo_path": "Exercise/02. Generics - Exercise/03.GenericSwapMethodString/StartUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66526"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
public class StartUp
{
public static void Main()
{
var numberOfLines = int.Parse(Console.ReadLine());
var listOfBoxes = new List<Box<string>>();
for (int i = 0; i < numberOfLines; i++)
{
var input =... | 3.462642 | f8fc4d5a62764ad76ad8f4f19a8f66f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66526 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "sakuka47/Ryujinx",
"max_stars_repo_path": "Spv.Generator/Instruction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66527"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace Spv.Generator
{
public sealed class Instruction : Operand, IEquatable<Instruction>
{
public const uint InvalidId = uint.MaxValue;
public Specification.Op Opcode { get; priva... | 2.827165 | 1c1820db3b1d4eb9cbd4f7e12dfd7e95 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66527 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "xlf1024/AdvancedRoads",
"max_stars_repo_path": "AdaptiveRoads/Patches/Managers_RenderOverlay.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66528"
} | starcoder | <filename>AdaptiveRoads/Patches/Managers_RenderOverlay.cs
namespace AdaptiveRoads.Patches {
using AdaptiveRoads.UI.RoadEditor;
using HarmonyLib;
[HarmonyPatch(typeof(RenderManager), "Managers_RenderOverlay")]
public static class Managers_RenderOverlay {
public static void Postfix(RenderManager.... | 1.474135 | 9361d412b6997c976b20fae9b4f4a798 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66528 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EifelMono/EifelMono.Fluent",
"max_stars_repo_path": "src/EifelMono.Fluent/Bindings/BindingCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66529"
} | starcoder | <filename>src/EifelMono.Fluent/Bindings/BindingCommand.cs
using System;
using System.Windows.Input;
namespace EifelMono.Fluent.Bindings
{
public class BindingCommand : ICommand
{
private readonly Func<object, bool> _canExecute;
private readonly Action<object> _execute;
public BindingC... | 2.947064 | 5f5e01ee34478242e635677af994e6ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66529 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "forki/SuperGlue",
"max_stars_repo_path": "src/SuperGlue.Web.Validation.FluentValidation/FluenValidationValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66530"
} | starcoder | <filename>src/SuperGlue.Web.Validation.FluentValidation/FluenValidationValidator.cs
using System.Linq;
using System.Threading.Tasks;
using FluentValidation;
using SuperGlue.Web.Validation.InputValidation;
namespace SuperGlue.Web.Validation.FluentValidation
{
public class FluenValidationValidator<TInput> : Abstrac... | 2.595707 | 97531a49ff2743b71c49bcaa86dc08ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66530 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Noah1989/CodeConverter",
"max_stars_repo_path": "Tests/CSharp/TriviaWithAddedRootNamespaceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66531"
} | starcoder | <reponame>Noah1989/CodeConverter
using System.Threading.Tasks;
using ICSharpCode.CodeConverter.Tests.TestRunners;
using Xunit;
namespace ICSharpCode.CodeConverter.Tests.CSharp;
public class TriviaWithAddedRootNamespaceTests : ConverterTestBase
{
public TriviaWithAddedRootNamespaceTests() : base("ANamespa... | 1.929615 | 4a506dae1aece9b3d8014019f62bc380 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66531 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RecepCil/Barcode-based-Stock-Management-System",
"max_stars_repo_path": "Web/CustomerWeb/Views/Account/AccessDenied.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:66532"
} | starcoder | <h3>Access Denied</h3>
Go to <a asp-controller="Home" asp-action="Index">Home</a> | 1.691159 | 899bd9b97cadde9aa6adc378d1d3b7f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66532 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jonas-lomholdt/MassTransit",
"max_stars_repo_path": "src/Persistence/MassTransit.Azure.Table/AzureTable/Saga/EntityPropertyConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66533"
} | starcoder | namespace MassTransit.AzureTable.Saga
{
using System.Collections.Generic;
using System.Text.Json;
using Initializers;
using Internals;
using Microsoft.Azure.Cosmos.Table;
using Serialization;
public class EntityPropertyConverter<TEntity, TProperty> :
IEntityPropertyConverter<TEntit... | 2.282722 | abcddbe9591b3e1f175a563c1728b282 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.