added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845040 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "rayvega/migrate-wcf-to-web-api",
"max_stars_repo_path": "src/MigrateWcfToWebApi.Core/CodeGenerators/Common/ComplexTypesGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164260"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace MigrateWcfToWebApi.Core.CodeGenerators.Common
{
internal static class ComplexTypesGenerator
{
public static SeparatedSyntaxList<ParameterSyntax> FindComplexTypes(Sepa... | 2.786383 | d3e683f3eb26dc3b94302ccddfa7be90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845041 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "nesiptrnc/HeroesMatchTracker",
"max_stars_repo_path": "HeroesMatchTracker/Views/StartupWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164261"
} | starcoder | <filename>HeroesMatchTracker/Views/StartupWindow.xaml.cs<gh_stars>10-100
using GalaSoft.MvvmLight.Ioc;
using GalaSoft.MvvmLight.Messaging;
using HeroesMatchTracker.Core.ViewModels;
using HeroesMatchTracker.Core.ViewServices;
using HeroesMatchTracker.Data;
using System;
using System.IO;
using System.Linq;
using System.... | 1.957891 | 597ec47cee224a67c8d0ebc49021b5d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845042 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "nwisbeta/Pyro",
"max_stars_repo_path": "Pyro.Engine/Services/FhirTasks/FhirSpecLoader/IFhirSpecificationDefinitionLoaderParameters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164262"
} | starcoder | <reponame>nwisbeta/Pyro
using System.Collections.Generic;
using FhirModel = Hl7.Fhir.Model;
namespace Pyro.Engine.Services.FhirTasks.FhirSpecLoader
{
public interface IFhirSpecificationDefinitionLoaderParameters
{
FhirModel.Task.TaskStatus? TaskStatus { get; set; }
string ErrorMessage { get; set; }
Li... | 1.27899 | f60698859174494623a81d0d550b9bdb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845043 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "stormid/Nest-Searchify",
"max_stars_repo_path": "src/Nest.Searchify/Abstractions/ISearchResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164263"
} | starcoder | using System.Collections.Generic;
namespace Nest.Searchify.Abstractions
{
public interface ISearchResultAggregations<out TParameters> : ISearchResultBase<TParameters>
where TParameters : class, IPagingParameters, ISortingParameters
{
AggregateDictionary AggregationHelper { get; }
IRead... | 1.660822 | 9392e4abb50d35c1fdd618015391a8ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845044 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rixian/extensions-aspnetcore",
"max_stars_repo_path": "src/Rixian.Extensions.AspNetCore.Generators/StartupSourceGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164264"
} | starcoder | // Copyright (c) Rixian. All rights reserved.
// Licensed under the Apache License, Version 2.0 license. See LICENSE file in the project root for full license information.
namespace Rixian.Extensions.AspNetCore.Generators
{
using System;
using System.Collections.Generic;
using System.Collections.Immutable... | 1.95516 | 0781ebde5991b4a13e225b36f57a00ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845045 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Bobris/Njsast",
"max_stars_repo_path": "Njsast/Compress/UnreachableFunctionCodeEliminationTreeTransformer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164265"
} | starcoder | using Njsast.Ast;
namespace Njsast.Compress;
public class UnreachableFunctionCodeEliminationTreeTransformer : UnreachableAfterJumpCodeEliminationTreeTransformerBase<AstLambda, AstExit>
{
public UnreachableFunctionCodeEliminationTreeTransformer(ICompressOptions options) : base(options)
{
}
} | 1.242884 | 32288a85df49c0b28e2918cd35ec2ea9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845046 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "djfdyuruiry/Dukebox",
"max_stars_repo_path": "Dukebox.Desktop/ViewModel/TrackListingPreviewViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164266"
} | starcoder | <reponame>djfdyuruiry/Dukebox
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Windows;
using System.Windows.Input;
using GalaSoft.MvvmLight.Command;
using GalaSoft.MvvmLight.Messaging;
using Dukebox.Desktop.Interfaces;
using Dukebox.Desktop.Model;
u... | 2.280726 | 4ae3e360a162224f0deab722d02d47ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845047 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rafaelschlatter/Edge",
"max_stars_repo_path": "Edge.Testing/TestingMiddlewareSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164267"
} | starcoder | using Autofac;
using Autofac.Core;
using Autofac.Core.Registration;
using Autofac.Core.Resolving.Pipeline;
using Moq;
using System;
using System.Collections.Generic;
namespace RaaLabs.Edge.Testing
{
/// <summary>
/// A middleware source returning a mocked interface if the mock has been registered.
/// </su... | 2.089648 | f981fb9dc03cc8833d31c0b2384cc965 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845048 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "07JP27/switchbot-sdk-dotnet",
"max_stars_repo_path": "DoinJomain.Switchbot/Requests/DVD.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164268"
} | starcoder | <reponame>07JP27/switchbot-sdk-dotnet<filename>DoinJomain.Switchbot/Requests/DVD.cs
using DoinJomain.Switchbot.Constants;
using DoinJomain.Switchbot.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace DoinJomain.Switchbot
{
public class DVD : BaseDevi... | 2.153672 | 860e4b48743c6e36243d11b26cf30302 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845049 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "sagifogel/NCop",
"max_stars_repo_path": "NCop.Aspects/Aspects/IMethodAspectDefinition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164269"
} | starcoder | using System.Reflection;
namespace NCop.Aspects.Aspects
{
public interface IMethodAspectDefinition : IAspectDefinition<MethodInfo>
{
}
}
| 1.29433 | 82f83ae5b9f5b648533caa55ae1f3785 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845050 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Genbox/SimpleS3Net",
"max_stars_repo_path": "src/SimpleS3.Core/Network/Requests/Interfaces/IHasContentProps.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164270"
} | starcoder | <filename>src/SimpleS3.Core/Network/Requests/Interfaces/IHasContentProps.cs
using Genbox.HttpBuilders;
using JetBrains.Annotations;
namespace Genbox.SimpleS3.Core.Network.Requests.Interfaces;
[PublicAPI]
public interface IHasContentProps
{
/// <summary>Specifies presentational information for the object.</summar... | 2.228597 | bce034102a2ba59d14918a4f19b8603f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845051 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danilowwt/ap-net-sdk",
"max_stars_repo_path": "src/AlternativePayments/Models/Refund.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164271"
} | starcoder | <gh_stars>0
namespace AlternativePayments
{
public class Refund : BaseModel
{
public string Mode { get; set; }
public decimal Amount { get; set; }
public string Status { get; set; }
public string Currency { get; set; }
public string Reason { get; set; }
publ... | 1.260877 | 092e61b6391223edbd2d869c50679438 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845052 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "stzoran1/EntityFrameworkCore.TemporalTables",
"max_stars_repo_path": "EntityFrameworkCore.TemporalTables/Sql/Generation/BaseTemporalTableSqlGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164272"
} | starcoder | <reponame>stzoran1/EntityFrameworkCore.TemporalTables
using EntityFrameworkCore.TemporalTables.SqlTemplates.Helpers;
using System;
namespace EntityFrameworkCore.TemporalTables.Sql.Generation
{
/// <inheritdoc />
public abstract class BaseTemporalTableSqlGenerator : ITemporalTableSqlGenerator
{
pro... | 2.185818 | 16e250f2bb2fff9d900716b541f519ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845053 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mixu-maker/OnionProgrammingLanguage",
"max_stars_repo_path": "Onion/SourceCode/ast/lib/BoolValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164273"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OwnLang.ast.lib
{
public class BoolValue : Value
{
private bool value;
public static NumberValue ZERO = new NumberValue(0);
public BoolValue(bool ... | 2.971585 | 84af92dd3184a5b71557360da5aaf771 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845054 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yang-Onion/Daily.Practice",
"max_stars_repo_path": "Asp.NetCore/WebApi.Migration.Demo/WebApi.Migration.Demo/Migrations/20170513071457_addFk9.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164274"
} | starcoder | <reponame>Yang-Onion/Daily.Practice<filename>Asp.NetCore/WebApi.Migration.Demo/WebApi.Migration.Demo/Migrations/20170513071457_addFk9.cs<gh_stars>0
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;
namespace WebApi.Migration.Demo.Migrations
{
public partial class addF... | 1.826781 | 574161151b7d0e52baaa428c8ed470fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845055 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "riQQ/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/IGraphBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164275"
} | starcoder | // c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\strmif.h(6502,5)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[Guid("56a868a9-0ad4-11ce-b03a-0020af0ba770"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public partial interface IGraphBuilder : IFilterGraph
... | 1.38886 | 7a125fc65e5ef8bb0a670cb2aab9d6cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845056 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "RomiTT/aspnetcore-graphql-auth",
"max_stars_repo_path": "GraphQL/Authentication/AuthenticationFieldType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164276"
} | starcoder | using System;
using System.Net;
using System.Security.Claims;
using GraphQL;
using GraphQL.Resolvers;
using GraphQL.Types;
using Microsoft.AspNetCore.Http;
using Serilog;
namespace Bowgum.GraphQL.Authentication {
public class AuthenticationFieldType<TSourceType, TReturnType> : FieldType {
public Authentica... | 2.492828 | 9722db721f7d88b989192fc71a540448 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845057 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DynaSpan/homectrl-backend",
"max_stars_repo_path": "Core/Exceptions/InputException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164277"
} | starcoder | <gh_stars>0
using System;
namespace HomeCTRL.Backend.Core.Exceptions
{
public class InputException : Exception
{
public InputException(string msg): base(msg)
{
}
}
} | 1.469847 | 67b8fb231846184e90fb0f683b42646e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845058 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KelsonBall/Regolith-Lang",
"max_stars_repo_path": "lua/Kelson.Lua/Kelson.Lua.Antlr/LuaListener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164278"
} | starcoder | <filename>lua/Kelson.Lua/Kelson.Lua.Antlr/LuaListener.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// ANTLR Version: 4.7.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the c... | 2.049922 | 0b4a18c783b8f820c7d646b7faeafcf1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845059 | {
"extension": "c-sharp",
"max_stars_count": "1762.0",
"max_stars_repo_name": "Samrux/Discord.Net",
"max_stars_repo_path": "src/Discord.Net.Rest/API/Common/GameAssets.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164279"
} | starcoder | <reponame>Samrux/Discord.Net
using Newtonsoft.Json;
namespace Discord.API
{
internal class GameAssets
{
[JsonProperty("small_text")]
public Optional<string> SmallText { get; set; }
[JsonProperty("small_image")]
public Optional<string> SmallImage { get; set; }
[JsonProper... | 1.591174 | f8d6a846823089cdd80378bd2fb10da8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845060 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BastianBlokland/typedtree-generator-dotnet",
"max_stars_repo_path": "example/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164280"
} | starcoder | <filename>example/Program.cs<gh_stars>0
using System;
using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Example
{
/// <summary>
/// Entry point class for the example.
/// </summary>
public static class Program
{
/// <summary>
/// En... | 3.089645 | ffbfb7c876974d5cdaf903f0c7a611a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845061 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "isabella232/Word-Add-in-ClauseLibrary-Code-Sample",
"max_stars_repo_path": "ClauseLibrary.Web/Services/ProvisioningService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164281"
} | starcoder | // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license.
// See full license at the bottom of this file.
using System;
using System.Collections.Generic;
using ClauseLibrary.Common;
using Microsoft.SharePoint.Client;
using Site = ClauseLibrary.Common.Site;
namespace ClauseLibrary.Web.Service... | 2.259067 | b4512e1b677007eb0219b6cd9f2762ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845062 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "a-ctor/WindowsCredentialManager",
"max_stars_repo_path": "WindowsCredentialManager/Win32/SafeHandles/CredentialCoTaskSafeHandle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164282"
} | starcoder | namespace WindowsCredentialManager.Win32.SafeHandles
{
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Security;
using Types;
using static UnsafeNativeApi;
public class CredentialCoTaskSafeHandle : SafeHandle
{
/// <inheritdoc />
public override boo... | 2.231932 | 18e8addbfb25c1b8dce5f23423fe98b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845063 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "gehongyan/KaiHeiLa.Net",
"max_stars_repo_path": "src/KaiHeiLa.Net.Core/Net/Rest/RestClientProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164283"
} | starcoder | namespace KaiHeiLa.Net.Rest;
public delegate IRestClient RestClientProvider(string baseUrl); | 1.269642 | b2e4f14a8f7d33e19472756fb6fb441d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845064 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "phogue/Potato",
"max_stars_repo_path": "src/Potato.Fuzzy/Tokens/Operator/Arithmetic/SecondOrder/PowerSecondOrderArithmeticToken.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164284"
} | starcoder | #region Copyright
// Copyright 2014 Myrcon Pty. Ltd.
//
// 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 appl... | 2.228072 | bddf07c361f8858df26d534b29ffd6bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845065 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "simonmoreau/BimsyncCLI",
"max_stars_repo_path": "BimsyncCLI.Tests/ProjectTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164285"
} | starcoder | <reponame>simonmoreau/BimsyncCLI
using System;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
using BimsyncCLI.Tests.Utils;
using McMaster.Extensions.CommandLineUtils;
using Xunit;
using Xunit.Abstractions;
namespace BimsyncCLI.Tests
{
... | 2.347388 | 16a2478a966daa8e822d25d4b6eecf58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845066 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "ShekharPaatni/SDK",
"max_stars_repo_path": "integration/csharp/src/Integration.Test/Model/MdHistoryItemVOTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164286"
} | starcoder | <filename>integration/csharp/src/Integration.Test/Model/MdHistoryItemVOTests.cs
/*
* Hydrogen Integration API
*
* The Hydrogen Integration API
*
* OpenAPI spec version: 1.3.1
* Contact: <EMAIL>
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using NUnit.Framework;
using System;
using S... | 1.9023 | de149ea15d408ed207e77455016e1440 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845067 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oferns/checkout-sdk-net",
"max_stars_repo_path": "src/CheckoutSdk/Sessions/Channel/ThreeDsMethodCompletion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164287"
} | starcoder | namespace Checkout.Sessions.Channel
{
public enum ThreeDsMethodCompletion
{
Y,
N,
U
}
} | 1.271968 | 8fdf941804265934c4a96fc75cbca59b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845068 | {
"extension": "c-sharp",
"max_stars_count": "127.0",
"max_stars_repo_name": "RakhithJK/CyberCAT",
"max_stars_repo_path": "CyberCAT.Core/Classes/DumpedClasses/GameScanningTooltipElementDef.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164288"
} | starcoder | using CyberCAT.Core.Classes.Mapping;
using CyberCAT.Core.Classes.NodeRepresentations;
namespace CyberCAT.Core.Classes.DumpedClasses
{
[RealName("gameScanningTooltipElementDef")]
public class GameScanningTooltipElementDef : GenericUnknownStruct.BaseClassEntry
{
[RealName("recordID")]
public ... | 1.243465 | fe841742e308088b6f32044239b397aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845069 | {
"extension": "c-sharp",
"max_stars_count": "572.0",
"max_stars_repo_name": "awei1688/aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-iot/Iot/Transform/V20180120/GetLoraNodesTaskResponseUnmarshaller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164289"
} | starcoder | <reponame>awei1688/aliyun-openapi-net-sdk
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Lic... | 1.10271 | a1a88e4388fdd6e21a9b362ffc9f659c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845070 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moodyan/hair-salon",
"max_stars_repo_path": "Tests/StylistTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164290"
} | starcoder | using Xunit;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using Salon.Objects;
namespace Salon
{
[Collection("Salon")]
public class StylistTest : IDisposable
{
public StylistTest()
{
DBConfiguration.ConnectionString = "Data Source=(localdb)\\mssqll... | 2.773198 | 14e7ecf18c4a90e6fdfc2a6b64efe373 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845071 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ProxorGamesStudio/ReflexFightProject",
"max_stars_repo_path": "Assets/SourceCode/GamePlay/Surfaces/SurfaceHitInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164291"
} | starcoder | <gh_stars>0
using System;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
[RequireComponent(typeof(Collider))]
public class SurfaceHitInfo: MonoBehaviour, ISurfaceHitInfo
{
[SerializeField]
public SurfaceProperties surfaceProperties;
[SerializeField]
public int selected;
public Surf... | 2.014247 | 5f56702c8840985f357c123d0de36a48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845072 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "magonzalez/Should.Extensions.RestSharp",
"max_stars_repo_path": "src/Should.Extensions.RestSharp.UnitTests/Models/TestModelThree.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164292"
} | starcoder | <reponame>magonzalez/Should.Extensions.RestSharp
namespace Should.Extensions.RestSharp.UnitTests.Models
{
public class TestModelThree : TestModelTwo
{
}
}
| 0.994879 | e477f69c54fa62044c24aed7ff3c2270 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845073 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Agnael/Sero.Loxy",
"max_stars_repo_path": "Sero.Loxy/Sinks/Json/RequestInfoDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164293"
} | starcoder | <reponame>Agnael/Sero.Loxy
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Sero.Loxy.Abstractions;
using System;
using System.Collections.Generic;
using System.Text;
namespace Sero.Loxy.Sinks.Json
{
[JsonObject]
internal class RequestInfoDTO : IRequestInfo
{
public string Level { ... | 2.19088 | 976c3c1b97299d5451276a329847509b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845074 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "KDSBest/service-fabric-services-and-actors-dotnet",
"max_stars_repo_path": "src/Microsoft.ServiceFabric.Actors/IActorEvents.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164294"
} | starcoder | <filename>src/Microsoft.ServiceFabric.Actors/IActorEvents.cs
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// -----------------------------... | 1.581996 | e6d9532719c86a45e522508d3341daac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845075 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jonstodle/ReactiveExtensionsMixins",
"max_stars_repo_path": "Tests/EventObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164295"
} | starcoder | using System;
namespace Tests
{
public class EventObject
{
public event EventHandler<StringEventArgs> Fired;
public void FireEvent(string value) => Fired?.Invoke(this, new StringEventArgs(value));
}
public class StringEventArgs : EventArgs
{
public StringEventArgs(string ... | 2.778198 | ffcbf856272edf863e47cbf81ea45bbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845076 | {
"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/IWafv2WebAclRuleStatementRateBasedStatementScopeDownStatementAndStatementStatementSqliMatchStatementFieldToMatchAllQueryArguments.cs",
"provenan... | starcoder | using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiInterface(nativeType: typeof(IWafv2WebAclRuleStatementRateBasedStatementScopeDownStatementAndStatementStatementSqliMatchStatementFieldToMatchAllQueryArguments), fullyQualifiedName: "aws.Wafv2WebAclRuleStatementRate... | 1.383672 | 87cca7437542406260f0e066a05a8e21 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845077 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qqbuby/Orchid",
"max_stars_repo_path": "src/Alyio.AspNetCore.Orchid/Models/ApiDescriptionGroupModelCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164297"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Alyio.AspNetCore.Orchid.Models
{
/// <summary>
/// A cached collection of <see cref="ApiDescriptionGroupModel" />.
/// </summary>
[DataContract]
public class ApiDescriptionGroupModelCollection
{
... | 2.662059 | f19810a4e254a40bcb48b2bcc65080c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845078 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "erielmiquilino/julius",
"max_stars_repo_path": "julius-backend/Julius Application/Julius.Service/Services/ExpenseService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164298"
} | starcoder | using AutoMapper;
using Julius.Common.Extensions;
using Julius.Domain.Contracts.Repositories;
using Julius.Domain.Contracts.Services;
using Julius.Domain.Domains;
using Julius.Domain.Enums;
using Julius.Domain.Models;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using ... | 2.403404 | 76e29b8ace6e45c3c6d0fa128d975f7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845079 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "frederickrogan/LintolChallengeOne",
"max_stars_repo_path": "Lintol/Configuration/FullNameModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164299"
} | starcoder | <reponame>frederickrogan/LintolChallengeOne<filename>Lintol/Configuration/FullNameModule.cs
using System.Collections.Generic;
using Lintol.ComponentInspectors;
namespace Lintol.Configuration
{
public class FullNameModule : ICategoryModule
{
public IEnumerable<IInspectComponents> Inspectors()
{... | 1.591804 | 7df097a25e9ef9f4d7e935e3413259cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845080 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bdsowers/cutiequest",
"max_stars_repo_path": "Assets/Scripts/CinematicGame/CinematicActionSetQuestRTutorial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164300"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CinematicActionSetQuestRTutorial : CinematicAction
{
private bool mEnabled;
public override string actionName
{
get
{
return "questr_tutorial";
}
}
public override stri... | 2.171802 | 1ecfe1caf1164bd5ca76a43eb21e0524 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845081 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "nikneem/f1manager-api",
"max_stars_repo_path": "src/F1Manager.Users/Configuration/UsersOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164301"
} | starcoder | namespace F1Manager.Users.Configuration
{
public class UsersOptions
{
public string AzureStorageAccount { get; set; }
public string Secret { get; set; }
public string Issuer { get; set; }
public string Audience { get; set; }
}
}
| 1.327412 | da60ccba661c6fd6c97b5f8e2c5bdae5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845082 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fluffy-bunny/organic",
"max_stars_repo_path": "src/azfun-organics/GetProduct.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164302"
} | starcoder | <reponame>fluffy-bunny/organic
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
namespace azfun_organics
... | 2.216821 | dd3a2613a3899529b026b5cd538557fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845083 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "lucypero/BehaviorTreeCS",
"max_stars_repo_path": "BehaviorTreeCS/Components/Base Nodes/Action.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164303"
} | starcoder | using System;
namespace BehaviorTreeCS {
public abstract class Action : BehaviorComponent {
}
}
| 1.360799 | 316936b25b3fafd225b285f1674212b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845084 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FanapPlus-OpenSource/wormhole",
"max_stars_repo_path": "src/Wormhole.Api.Model/OutputChannels/KafkaOutputChannelAddRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164304"
} | starcoder | <filename>src/Wormhole.Api.Model/OutputChannels/KafkaOutputChannelAddRequest.cs
using System.ComponentModel.DataAnnotations;
namespace Wormhole.Api.Model.OutputChannels
{
public class KafkaOutputChannelAddRequest : OutputChannelAddRequest
{
[Required]
[RegularExpression(Constants.KafkaTopicReg... | 1.881295 | ecd2711225204071f39f9970af012fd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845085 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "kozlov-d/QSProjects",
"max_stars_repo_path": "QS.LibsTest/TestApp/HibernateMapping/Linked/ChildItem1Map.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164305"
} | starcoder | <reponame>kozlov-d/QSProjects
using FluentNHibernate.Mapping;
using QS.Test.TestApp.Domain.Linked;
namespace QS.Test.TestApp.HibernateMapping
{
public class ChildItem1Map : ClassMap<AlsoDeleteItem>
{
public ChildItem1Map()
{
Id(x => x.Id);
References(x => x.Root);
}
}
}
| 1.523689 | 057e5660e0b046510cd687d1600e8353 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845086 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KamilKhair/Lab08-To-Lab10",
"max_stars_repo_path": "Advanced-Lab1.2/AttribDemo/AttribDemo/C.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164306"
} | starcoder | <reponame>KamilKhair/Lab08-To-Lab10
namespace AttribDemo
{
[CodeReview("Saar", "23/7/2016", false)]
public class C
{
}
} | 1.051089 | 730e5d8f9bf2c5ab58d4580867f208c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845087 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Iliyan7/SoftUni",
"max_stars_repo_path": "CSharpOOPBasics/Polymorphism-Exercise/Vehicles/Truck.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164307"
} | starcoder | <gh_stars>0
namespace Vehicles
{
public class Truck : Vehicle
{
public Truck(double fuelQuantity, double fuelConsumption)
: base(fuelQuantity, fuelConsumption)
{
}
public override bool Drive(double distance)
{
var neededFuel = fuelConsumption * ... | 3.21025 | fdef1040ffdac483fb7f064727ee64cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845088 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "vrchatapi/vrchatapi-csharp",
"max_stars_repo_path": "src/VRChat.API/Model/Notification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164308"
} | starcoder | /*
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.6.7
* Contact: <EMAIL>
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Sys... | 1.929398 | b958cf726394c5621680e817e6e2e1e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845089 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rsaenzi/ScriptingIntro",
"max_stars_repo_path": "ScriptingIntro/Assets/Scripts/Scripting/Parte 1/Assignment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164309"
} | starcoder | #pragma warning disable CS0414 // The field x is assigned but its value is never used
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Assignment : MonoBehaviour {
// -----------------------
// Asignación de Variables
// -----------------------
// La creac... | 2.723169 | cfec92b9611da25caa7238ca8e71fbb8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845090 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "a136991481/EmitMapperCore",
"max_stars_repo_path": "EmitmapperCore/EmitMapperCore/EmitInvoker/Delegates/DelegateInvokerFunc_2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164310"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EmitMapperCore.EmitInvoker
{
public abstract class DelegateInvokerFunc_2 : DelegateInvokerBase
{
public abstract object CallFunc(object param1, object param2);
}
}
| 1.441747 | 197ffba01d2d5e2a29a6f7fc39876e9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845091 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "davidikin45/AspNetCore.Mvc.Extensions",
"max_stars_repo_path": "src/AspNetCore.Mvc.Extensions/HealthChecks/HealthCheckJsonResponseWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164311"
} | starcoder | <reponame>davidikin45/AspNetCore.Mvc.Extensions
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Diagnostics.HealthChecks;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AspNetCore.Mvc.Extensions.HealthChecks
{
public static class Hea... | 2.357457 | 5629a596664508b8f4557183cd536177 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845092 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Pavel-Durov/DesignPatterns-DN7",
"max_stars_repo_path": "StructuralDesignPatterns/Decorator/Decorators/SprinklesCupcakeDecorator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164312"
} | starcoder | <filename>StructuralDesignPatterns/Decorator/Decorators/SprinklesCupcakeDecorator.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using StructuralDesignPatterns.Decorator.Interfaces;
namespace StructuralDesignPatterns.Decorator.Decorators
{
cl... | 2.989358 | b67efd219d3019e5e33aceb2883d1fdd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845093 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rcnobles/SK",
"max_stars_repo_path": "New Unity Project/Assets/Scripts/bear.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164313"
} | starcoder | <filename>New Unity Project/Assets/Scripts/bear.cs<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum FollowerState{
idle,
walk,
}
public class bear : MonoBehaviour{
public FollowerState currentState;
private Rigidbody2D myRigidbody;
... | 2.628647 | 7888a5782ac736085c9f8cd9dbf4f1ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845094 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rafis-tatar/gps-track-filter",
"max_stars_repo_path": "Binateq.GpsTrackFilter.Viewer/MapLayers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164314"
} | starcoder | <gh_stars>1-10
namespace Binateq.GpsTrackFilter.Viewer
{
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows;
using MapControl;
public class MapLayers : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
private r... | 2.021559 | 43348dd529bede3f980933edae38e601 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845095 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ijsgaus/MicroPipes",
"max_stars_repo_path": "src/MicroPipes.Core/Transport/IPointConnector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164315"
} | starcoder | <reponame>ijsgaus/MicroPipes
using System.Threading.Tasks;
namespace MicroPipes.Transport
{
public interface IPointConnector
{
Task<IEventProducer> ConnectPipe(EventPublishEnd pipeEnd);
Task<IAsyncDisposable> ConnectPipe(EventConsumeEnd pipeEnd);
}
} | 1.394709 | efeda2177eab6b1c6f11864703d5e7e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845096 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bswanson58/NoiseMusicSystem",
"max_stars_repo_path": "Album4Matter/ViewModels/FinalStructureViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164316"
} | starcoder | using System;
using System.Collections.ObjectModel;
using System.IO;
using Album4Matter.Dto;
using Album4Matter.Interfaces;
using ReusableBits.Mvvm.ViewModelSupport;
namespace Album4Matter.ViewModels {
class FinalStructureViewModel : AutomaticCommandBase, IFinalStructureViewModel {
private const string ... | 2.251122 | 0eebf2646b82a6a606333b394c50cd2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845097 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JTOne123/smrtapi.net",
"max_stars_repo_path": "SmRtAPI/SmRtAPI/Messages/ErrorMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164317"
} | starcoder | using Newtonsoft.Json;
namespace Speechmatics.Realtime.Client.Messages
{
/// <summary>
/// Message returned from server in the case of error
/// </summary>
public class ErrorMessage : BaseMessage
{
/// <summary>
/// Reason
/// </summary>
public string reason;
... | 2.494188 | fd981fef9f5e222f168fa08bc2005acd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845098 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndreyKodzhabashev/BSPro_system",
"max_stars_repo_path": "BiesPro_System/BiesPro.Data/EntityConfiguration/TownConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164318"
} | starcoder | namespace BiesPro.Data.EntityConfiguration
{
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Models;
public class TownConfig : IEntityTypeConfiguration<Town>
{
public void Configure(EntityTypeBuilder<Town> builder)
{
bui... | 2.64792 | 81bd93e25e40d6f9cafb6cb0c21e945d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845099 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KostadinovK/CSharp-DB",
"max_stars_repo_path": "02-Entity Framework Core/01-DB Apps Intro/Homework/09-IncreaseAgeStoredProcedure/QueryHolder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164319"
} | starcoder | <reponame>KostadinovK/CSharp-DB
using System;
using System.Collections.Generic;
using System.Text;
public static class QueryHolder
{
public const string ExecProc = @"EXEC usp_GetOlder @Id";
public const string GetMinion = @"SELECT Name, Age FROM Minions WHERE Id = @Id";
}
| 1.805805 | 910f68193b883cc4516785b54e2d3ba7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845100 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DomenicP/NXTKinectDriverStation",
"max_stars_repo_path": "NXTKinectDriverStation/GestureProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164320"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NXTKinectDriverStation
{
using Microsoft.Kinect;
class Joystick
{
public enum Axis
{
X,
Y,
Z,
Twist,... | 2.621271 | a9a44c9d5a35ebd3d9ab96ee0e7751ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845101 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "devowl-net/remotedesktopterminalservice",
"max_stars_repo_path": "Rdp.Terminal.Core/WinApi/RDPCOMAPILib/RDPSRAPIAttendeeManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164321"
} | starcoder | <reponame>devowl-net/remotedesktopterminalservice<filename>Rdp.Terminal.Core/WinApi/RDPCOMAPILib/RDPSRAPIAttendeeManager.cs
using System.Runtime.InteropServices;
namespace RDPCOMAPILib
{
[Guid("BA3A37E8-33DA-4749-8DA0-07FA34DA7944")]
[CoClass(typeof(RDPSRAPIAttendeeManagerClass))]
[ComImport]
i... | 1.204468 | 5c3977313b777a78245da35c7157e79d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845102 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "ludzeller/soundstagevr",
"max_stars_repo_path": "Assets/Scripts/Turntable/generalGrip.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164322"
} | starcoder | <gh_stars>10-100
// Copyright 2017 Google LLC
//
// 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... | 1.603021 | f8a1730fba1c1674e01711a511c7d37a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845103 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "gabriele-tomassetti/transpiling-languages",
"max_stars_repo_path": "VisualBasic.Transpiler/StuctureInitializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164323"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace VisualBasic.Transpiler
{
public class StructureInitializer
{
private string Name { get; set; }
private StringBuilder Body { get; set; } = new StringBuilder();
public string Text {
get
... | 3.09597 | aa4db66b46d8a5754747fea65585d4b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845104 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Casimir255/Checkout-NET-SDK",
"max_stars_repo_path": "PayPalCheckoutSdk/Subscriptions/Plan.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164324"
} | starcoder | using PayPalCheckoutSdk.Orders;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
namespace PayPalCheckoutSdk.Subscriptions
{
[DataContract]
public class Plan
{
public Plan() { }
/// <summary>
/// The intent to either capture ... | 2.156124 | 8c7d1f5f629134733bff0757daae683d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845105 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yotkoKanchev/ApartmentsLilly",
"max_stars_repo_path": "Server/ApartmentsLilly.Server/Features/Rooms/Models/CreateRoomRequestModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164325"
} | starcoder | <gh_stars>1-10
namespace ApartmentsLilly.Server.Features.Rooms.Models
{
using System.ComponentModel.DataAnnotations;
public class CreateRoomRequestModel
{
public string Name { get; set; }
public int RoomType { get; set; }
public bool IsSleepable { get; set; }
[Required]
... | 1.84437 | 0c16ccafed52aed0db66bd90a5af6644 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845106 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SplittyDev/qolang",
"max_stars_repo_path": "libqo/Interpreter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164326"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace libqo
{
public class Interpreter {
#region Constants
/// <summary>
/// A string that contains all valid qo identifiers.
/// </summary>
public const string SYMBOLS... | 2.448914 | 96b39faaa061b0ad3a9914da1ff8460c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845107 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "McHallice/GE2-Space-Assignment",
"max_stars_repo_path": "Space Assignment/Assets/Src/ObjectManagement/TargetRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164327"
} | starcoder | <gh_stars>0
using Assets.Src.Controllers;
using Assets.Src.Targeting;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace Assets.Src.ObjectManagement
{
public static class TargetRepository
{
private static readonly Dictionary<string, List<Target>> _targets = new Dictionar... | 2.172135 | 04973afd2c9f0c3ad2d6cdc3ed1a2fd8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845108 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "5argon/E7ECS",
"max_stars_repo_path": "Extensions/MathematicsExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164328"
} | starcoder | using Unity.Mathematics;
using UnityEngine;
namespace E7.ECS
{
public static class MathematicsExtension
{
/// <summary>
/// Cannot be used in a Job!
/// RectTransform has to be aligned completely flat to the screen. Discards all Z information. The purpose is to use `Rect` in a job beca... | 2.619388 | 9f9d421f78ab53a849d00d2c35cf4951 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845109 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "grahem/polarCloud",
"max_stars_repo_path": "Views/Home/Privacy.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:164329"
} | starcoder | <reponame>grahem/polarCloud
@{
ViewData["Title"] = "Privacy Policy";
}
<html>
<head>
<meta charset="utf-8">
<title>polarCloud Consulting</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="" name="keywords">
<meta content="" nam... | 2.318793 | d219d23b926c41728d70e54616c276dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845110 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "catcherwong/dtmgrpc-csharp",
"max_stars_repo_path": "src/Dtmgrpc/Tcc/TccGlobalTransaction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164330"
} | starcoder | using DtmCommon;
using Microsoft.Extensions.Logging;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Dtmgrpc
{
public class TccGlobalTransaction
{
private readonly IDtmgRPCClient _dtmClient;
private readonly ILogger _logger;
private readonly IDtmTransFacto... | 2.267923 | 418ff5db6d0a57bd16ba31339eedeea0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845111 | {
"extension": "c-sharp",
"max_stars_count": "174.0",
"max_stars_repo_name": "iwtexplode/OpenKh",
"max_stars_repo_path": "OpenKh.Common/Exceptions/ParseException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164331"
} | starcoder | <filename>OpenKh.Common/Exceptions/ParseException.cs
using System;
namespace OpenKh.Common.Exceptions
{
public class ParseException : Exception
{
public ParseException(string value, int index, string reason) :
base(GetExceptionMessage(value, index, reason))
{ }
private sta... | 2.823668 | 28ac9519a69282b05a6144a7c3f32e46 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845112 | {
"extension": "c-sharp",
"max_stars_count": "100.0",
"max_stars_repo_name": "emman-ok/OrientDB-NET.binary",
"max_stars_repo_path": "src/Orient/Orient.Client/Protocol/Query/QueryType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164332"
} | starcoder | <reponame>emman-ok/OrientDB-NET.binary
namespace Orient.Client.Protocol
{
internal enum QueryType
{
CreateClass,
CreateProperty,
CreateCluster,
CreateEdge,
CreateVertex,
DeleteVertex,
DeleteEdge,
DeleteDocument,
Insert,
... | 1.311402 | 6934906e07976719d019b2032cc58148 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845113 | {
"extension": "c-sharp",
"max_stars_count": "95.0",
"max_stars_repo_name": "LambdaSharp/LambdaSharpTool",
"max_stars_repo_path": "Modules/LambdaSharp.Core/CommonLib/RollbarApi/RollbarClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164333"
} | starcoder | <reponame>LambdaSharp/LambdaSharpTool<filename>Modules/LambdaSharp.Core/CommonLib/RollbarApi/RollbarClient.cs
/*
* LambdaSharp (λ#)
* Copyright (C) 2018-2021
* lambdasharp.net
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* ... | 2.121453 | ac1425cdc0a665f1bc9b571720d03ce7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845114 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "Tamely/ProSwapper",
"max_stars_repo_path": "CUE4Parse/CUE4Parse-Conversion/IExporter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164334"
} | starcoder | <reponame>Tamely/ProSwapper<filename>CUE4Parse/CUE4Parse-Conversion/IExporter.cs
using System;
using System.IO;
using CUE4Parse.UE4.Assets.Exports;
using CUE4Parse.UE4.Assets.Exports.Material;
using CUE4Parse.UE4.Assets.Exports.SkeletalMesh;
using CUE4Parse.UE4.Assets.Exports.StaticMesh;
using CUE4Parse.Utils;
using C... | 2.340836 | 144d90e9fe9b22ca11925a9b137608e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845115 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "LavrentyAfanasiev/Kanban.Desktop",
"max_stars_repo_path": "Kanban.Desktop/Kanban.Desktop/KanbanBoard/KanbanViewRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164335"
} | starcoder | using Ui.Wpf.Common;
namespace Kanban.Desktop.KanbanBoard
{
public class KanbanViewRequest : ViewRequest
{
public string ConfigurtaionName { get; internal set; }
}
}
| 1.259887 | 95b05ae7f6e15111124b90859f0ffdae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845116 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "HIPERCUBE/Akka.Interfaced",
"max_stars_repo_path": "samples/Manual/Program/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164336"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Linq;
using System.Reflection;
using Akka.Actor;
using Akka.Interfaced;
namespace Manual
{
internal class Program
{
private static int Main(string[] args)
{
var demos = GetDemoList();
... | 2.65059 | 76aa5a8a1f15279aee37511b2b3694ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845117 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GmodNET/GmodNetBot",
"max_stars_repo_path": "GmodNetBot/HelperTypes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164337"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GmodNetBot
{
public record RequestStatus(bool Success, string Message);
public record DiscordOauthTokenResponse(string token_type, string access_token);
public record DiscordUserRecord(string i... | 1.927643 | 6aa5bd152bdd44f756818c9f4610a48f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845118 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KonH/GithubExplorer",
"max_stars_repo_path": "GithubExplorer.IntegrationTests/SerializerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164338"
} | starcoder | <reponame>KonH/GithubExplorer<gh_stars>0
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using NUnit.Framework;
using Octokit;
namespace GithubExplorer.IntegrationTests {
public sealed class SerializerTests {
[Test]
public void IsRepositoriesSerializedToJson() {
var expectedId = lo... | 2.43689 | 464a5083104ab0e9e733ffe988fe3ada |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845119 | {
"extension": "c-sharp",
"max_stars_count": "293.0",
"max_stars_repo_name": "igiagkiozis/CrystalAI",
"max_stars_repo_path": "CrystalAI/Source/Actions/GenericActionBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164339"
} | starcoder | // GPL v3 License
//
// Copyright (c) 2016-2017 Bismur Studios Ltd.
// Copyright (c) 2016-2017 <NAME>
//
// GenericActionBase.cs is part of Crystal AI.
//
// Crystal AI is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Softwa... | 2.673206 | ee08d0975a0cf2d5260320967fa99fcd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845120 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "oguzhaneren/ses",
"max_stars_repo_path": "src/Ses.Subscriptions/SourcePollerState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164340"
} | starcoder | <reponame>oguzhaneren/ses
namespace Ses.Subscriptions
{
public class SourcePollerState
{
private long _eventSequenceId;
public SourcePollerState(string pollerContractName, string sourceContractName)
{
PollerContractName = pollerContractName;
SourceContra... | 2.294818 | 71319b177577a2a563482e6b91fd4b05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845121 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PericR/FirstProjectsInCSharp",
"max_stars_repo_path": "4.ChapterConsoleInput&Output/Exercise2PerimeterAndAreaCirce/Exercise2PerimeterAndAreaCirce/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164341"
} | starcoder | <reponame>PericR/FirstProjectsInCSharp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercise2PerimeterAndAreaCirce
{
class PerimeterAndAreaCirce
{
static void Main(string[] args)
{
Console.Write("Enter... | 3.573206 | f574808071f569a163d0e4531aebd9c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844866 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gerrewsb/Prism_7.2_IDialogService_Example",
"max_stars_repo_path": "Prism_IDialogService_Example/ViewModels/MainWindowViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164086"
} | starcoder | using Prism.Commands;
using Prism.Mvvm;
using Prism.Services.Dialogs;
using Prism_IDialogService_Example.Models;
using Prism_IDialogService_Example.Views;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace Prism_IDi... | 2.364262 | 529de0d491453ec0d433e775d5f55cc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844867 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vpcoder/7d1n",
"max_stars_repo_path": "Assets/src/Engine/Data/Base/Part.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164087"
} | starcoder | using System;
namespace Engine.Data
{
///<summary>
/// Часть предмета
/// часть содержит ресурс и его количество
/// Все предметы состаят из каких либо частей (ресурсов)
///</summary>
[Serializable]
public struct Part
{
///<summary>
/// Идентификатор ресурса
//... | 2.595131 | 7b399fab2355344a4e3aaa182572a931 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844868 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dieg657/desafio-csharp-easy-level",
"max_stars_repo_path": "WebAPI.Domain/Models/Service/OpenWeather/CoordinatesModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164088"
} | starcoder | using Newtonsoft.Json;
namespace WebAPI.Domain.Models.Service.OpenWeather
{
public class CoordinatesModel
{
[JsonProperty("lon")]
public double Longitude { get; set; }
[JsonProperty("lat")]
public double Latitude { get; set; }
}
} | 2.028984 | 5fd4a7bf6a6ee2f4bca2b589990c3ee6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844869 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "AccelerateX-org/NINE",
"max_stars_repo_path": "Sources/TimeTable/MyStik.TimeTable.Data/Migrations/201705050822189_ThesisMarketplace.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164089"
} | starcoder | namespace MyStik.TimeTable.Data.Migrations
{
using System.Data.Entity.Migrations;
public partial class ThesisMarketplace : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.ThesisAnnouncement",
c => new
{
... | 1.884197 | 270c5b3e21d3a8613c93daba5715d258 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844870 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mofashi2011/orchardcms",
"max_stars_repo_path": "src/Orchard.Web/Modules/Orchard.Pages/Handlers/PageHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164090"
} | starcoder | <filename>src/Orchard.Web/Modules/Orchard.Pages/Handlers/PageHandler.cs
using System;
using System.Linq;
using JetBrains.Annotations;
using Orchard.ContentManagement;
using Orchard.Core.Common.Services;
using Orchard.Localization;
using Orchard.Core.Common.Models;
using Orchard.ContentManagement.Handlers;
usin... | 1.86781 | 1b37460a3932aa8bb530b519bfa90c3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844871 | {
"extension": "c-sharp",
"max_stars_count": "780.0",
"max_stars_repo_name": "OliveiraLands/cofoundry",
"max_stars_repo_path": "src/Cofoundry.Core/Web/Utilities/MimeMapping/MimeTypeRegistrationContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164091"
} | starcoder | <reponame>OliveiraLands/cofoundry
using Microsoft.AspNetCore.StaticFiles;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cofoundry.Core.Web.Internal
{
/// <summary>
/// Used for registering mime types for use with the IMimeTypeServ... | 2.641766 | a5c9b350f42b1727a8fe2cb09b7a6c4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emilti/Telerik-Academy-My-Courses",
"max_stars_repo_path": "C#-Part1/4.ConsoleInputOutput/01. Sum of 3 Numbers/Sumof3Numbers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164092"
} | starcoder | using System;
// 1.Write a program that reads 3 real numbers from the console and prints their sum.
public class Sumof3Numbers
{
public static void Main()
{
Console.WriteLine("Add three numbers which sum will be calculated:");
double x1 = double.Parse(Console.ReadLine());
double x2 = d... | 4.142116 | de140d2e42b697ea713170ba860dab6b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844873 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JeffSkyrunner/data-hunt",
"max_stars_repo_path": "Assets/Scripts/Model/Zones/Zone.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164093"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using model.cards;
namespace model.zones
{
public class Zone
{
public readonly string Name;
public List<Card> Cards = new List<Card>();
public int Count => Cards.Count;
private HashSet<IZoneAdditionObserver> additions = new HashSet<... | 2.801002 | 20e58c7e98e970100ff36ff4024b2793 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844874 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "novelhawk/AoTTG-Mod",
"max_stars_repo_path": "EventCallback.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164094"
} | starcoder | <reponame>novelhawk/AoTTG-Mod<gh_stars>1-10
using System;
public class EventCallback
{
}
| 0.974598 | e96e81d673081272b505265c98f5772e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844875 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sitecoremaster/Sitecore-Google-Assistant",
"max_stars_repo_path": "src/Foundation/xConnect/code/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164095"
} | starcoder | <filename>src/Foundation/xConnect/code/Constants.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Helixbase.Foundation.xConnect
{
public class Constants
{
public const string xConnectApiSource = "xConnectApi";
public const string UserAgent = "Mo... | 1.485419 | e576e5093a1a5fbdd1a63320e3494b07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844876 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jwramz/CEMIE-SISIP",
"max_stars_repo_path": "sievis/Views/Shared/_AppMenu.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:164096"
} | starcoder | <filename>sievis/Views/Shared/_AppMenu.cshtml
@using Microsoft.AspNet.Identity
@{
var url = HttpContext.Current.Request.Url.AbsolutePath;
var urlParts = url.Split('/');
var action = urlParts.Length >= 1 ? urlParts[urlParts.Length - 1] : "Index";
}
@if (Request.IsAuthenticated)
{
using (Html.BeginForm... | 1.91651 | 7816f32e0facfae0b53a1c704efe3766 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844877 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mzbrau/fig",
"max_stars_repo_path": "src/api/Fig.Api/Validators/ClientSecretValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164097"
} | starcoder | namespace Fig.Api.Validators;
public class ClientSecretValidator : IClientSecretValidator
{
public bool IsValid(string clientSecret)
{
return Guid.TryParse(clientSecret, out _);
}
} | 1.672107 | 127e3564dc862eda416d539783a762c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844878 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "enriqueescobar-askida/Kinito.AngularJS",
"max_stars_repo_path": "AngularStarter/App_Start/FilterConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164098"
} | starcoder | <reponame>enriqueescobar-askida/Kinito.AngularJS
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="FilterConfig.cs" company="AxonID">
// FilterConfig
// </copyright>
// <summary>
// The filter config.
// </summary>
// -------... | 1.112151 | 4fe8514c1ddafba0ed0a5d66b42d6134 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844879 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mesinger/arch-net",
"max_stars_repo_path": "src/ArchNet/Model/IContract.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164099"
} | starcoder | <reponame>mesinger/arch-net<gh_stars>0
namespace ArchNet.Model;
public interface IContract
{
// where am i?
Module Module();
// what can i do for you?
IEnumerable<ExposedCapability> Capabilities();
bool Exposes(ExposedCapability capability);
bool ExposesExactly(params ExposedCapability... | 2.011085 | c57f5c346a448882196662a6d470e2ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844880 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "xenaex/client-dotnet",
"max_stars_repo_path": "src/XenaExchange.Client/Serialization/SerializerBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164100"
} | starcoder | using System;
using System.Collections.Generic;
using Api;
using Google.Protobuf;
using Newtonsoft.Json;
using XenaExchange.Client.Messages.Constants;
namespace XenaExchange.Client.Serialization
{
/// <summary>
/// Base Xena messages serializer.
/// </summary>
/// <typeparam name="TMessageWrapper">Type... | 2.319492 | a56ad50deb41bad8461f7de117e15b8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844881 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StephAC9/websoft",
"max_stars_repo_path": "work/s07/webapp/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:164101"
} | starcoder | @using webapp
@using webapp.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.719555 | 6a5bbc6383f5b6ed4db7914d224ef658 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Killers2/K2host.WebServer",
"max_stars_repo_path": "Delegates/ODelegates.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164102"
} | starcoder | /*
' /====================================================\
'| Developed <NAME> (www.k2host.co.uk) |
'| Projected Started: 2019-07-04 |
'| Use: General |
' \====================================================/
*/
using System;
using K2host.We... | 1.786118 | 95ef8349fd08c4c1072b94e74ecd5b86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844883 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dogfuntom/GenCExpo",
"max_stars_repo_path": "Assets/Code/DisableMouseLockOnMobile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164103"
} | starcoder | <reponame>dogfuntom/GenCExpo
using TheFirstPerson;
using UnityEngine;
[RequireComponent(typeof(FPSController))]
internal sealed class DisableMouseLockOnMobile : MonoBehaviour
{
public bool DisableMouseLookCompletely = true;
public bool Simulate;
private void Awake()
{
if (!Simulate && !Applic... | 1.30981 | 1c2180c99984100e262ffad57e2fbfd1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.