added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810718 | {
"extension": "c-sharp",
"max_stars_count": "1700.0",
"max_stars_repo_name": "Jordan466/marten",
"max_stars_repo_path": "src/Marten.Testing/Bugs/Bug_479_select_datetime_fields.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129938"
} | starcoder | using System;
using System.Linq;
using Baseline.Dates;
using Marten.Testing.Harness;
using Shouldly;
using Weasel.Core;
using Weasel.Postgresql;
using Xunit;
namespace Marten.Testing.Bugs
{
public class Bug_479_select_datetime_fields: BugIntegrationContext
{
public Bug_479_select_datetime_fields()
... | 2.206242 | 7daac47f568897f0299b0e4f46202aa4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810719 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pdaniil/FictionBook",
"max_stars_repo_path": "FictionBook/Formating/EpigraphType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129939"
} | starcoder | <reponame>pdaniil/FictionBook
using System.Xml.Serialization;
using FictionBook.Library.Base;
using FictionBook.Library.Data;
namespace FictionBook.Library.Formating
{
/// <summary>
/// The epigraph type.
/// </summary>
[XmlType(Namespace = "http://www.gribuser.ru/xml/fictionbook/2.0")]
public clas... | 1.976299 | 6248df806de8a83c6f1b79d4d72454f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810720 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "Switcheo/NeoModules",
"max_stars_repo_path": "src/NeoModules.RPC/Services/Block/NeoGetBlockHash.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129940"
} | starcoder | <filename>src/NeoModules.RPC/Services/Block/NeoGetBlockHash.cs
using System;
using System.Threading.Tasks;
using NeoModules.JsonRpc.Client;
namespace NeoModules.RPC.Services.Block
{
/// <Summary>
/// getblockhash
/// Returns the hash value of the corresponding block, based on the specified index.
... | 2.617218 | 17d1e5c2d0c01bda93b0438a6581e74c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810721 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "microsoftgraph/Microsoft-Graph-UWP-Excel-REST-API-Explorer",
"max_stars_repo_path": "src/ExcelRESTService.UWP/WebService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129941"
} | starcoder | <gh_stars>0
/*
* Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license.
* See LICENSE in the source repository root for complete license information.
*/
using System;
using System.Threading.Tasks;
using System.Net.Http;
namespace Office365Service
{
public class WebService
{
... | 2.052968 | 69f8407e1974614a8abcb7f395e84844 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810722 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DrewKestell/JotunnModStub",
"max_stars_repo_path": "PlutoModUnity/Assets/Scripts/assembly_steamworks/Steamworks/EGameSearchErrorCode_t.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129942"
} | starcoder | namespace Steamworks
{
public enum EGameSearchErrorCode_t
{
k_EGameSearchErrorCode_OK = 1,
k_EGameSearchErrorCode_Failed_Search_Already_In_Progress,
k_EGameSearchErrorCode_Failed_No_Search_In_Progress,
k_EGameSearchErrorCode_Failed_Not_Lobby_Leader,
k_EGameSearchErrorCode_Failed_No_Host_Available,
k_EGame... | 1.375542 | 151f7fa60acf58a105c560e0615be076 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810723 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aviationexam/Checkout-NET-SDK",
"max_stars_repo_path": "tests/PayPal.Sdk.Checkout.Test/Infrastructure/HttpClientLoggingFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129943"
} | starcoder | using Microsoft.Extensions.Http;
using Microsoft.Extensions.Logging;
using System;
namespace PayPal.Sdk.Checkout.Test.Infrastructure
{
public class HttpClientLoggingFilter : IHttpMessageHandlerBuilderFilter
{
private readonly ILoggerFactory _loggerFactory;
public HttpClientLoggingFil... | 2.148723 | 7728537300352ebf0edf00daf2cf6a59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810724 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JorgeCandeias/orleans",
"max_stars_repo_path": "test/Grains/TestGrains/SimpleObserverableGrain.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129944"
} | starcoder | <reponame>JorgeCandeias/orleans<filename>test/Grains/TestGrains/SimpleObserverableGrain.cs
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Orleans;
using Orleans.Runtime;
using UnitTests.GrainInterfaces;
namespace UnitTests.Grains
{
public class Simple... | 2.309226 | 0242715c82b9c6446b74d2c4c0fc5d84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810725 | {
"extension": "c-sharp",
"max_stars_count": "903.0",
"max_stars_repo_name": "sireniaeu/white",
"max_stars_repo_path": "src/TestStack.White.ScreenObjects/Services/WorkSnapshotAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129945"
} | starcoder | using System;
namespace TestStack.White.ScreenObjects.Services
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public class WorkSnapshotAttribute : Attribute {}
} | 1.251776 | 37899833866f624fa28ac2501b456a0a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810726 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "pfpack/pfpack-dependency-pipeline",
"max_stars_repo_path": "src/dependency-core/Core.Tests/Tests.Dependency.06/With.08/With.08.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129946"
} | starcoder | <reponame>pfpack/pfpack-dependency-pipeline
using System;
using PrimeFuncPack.UnitTest;
using Xunit;
using static PrimeFuncPack.UnitTest.TestData;
namespace PrimeFuncPack.Tests;
partial class SixDependencyTest
{
[Theory]
[MemberData(nameof(TestEntitySource.RecordTypes), MemberType = typeof(TestEntitySource))]... | 2.009785 | 72cffe60807f567913261a0cfb34a607 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810727 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ashblue/unity-simple-notifications",
"max_stars_repo_path": "Assets/com.fluid.simple-notifications/Runtime/Scripts/NotificationSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129947"
} | starcoder | using CleverCrow.Fluid.SimpleSettings;
using UnityEngine;
namespace CleverCrow.Fluid.SimpleNotifications {
[CreateAssetMenu(menuName = "Fluid/Simple Notifications/Settings", fileName = "NotificationSettings")]
public class NotificationSettings : SettingsBase<NotificationSettings> {
[SerializeField]
... | 1.542388 | d7120eb3507f39684faa37f74075eab9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810728 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "channeladam/ChannelAdam.Wcf",
"max_stars_repo_path": "src/ChannelAdam.Wcf.BehaviourSpecs/ConsumingServicesUnitSteps.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129948"
} | starcoder | <gh_stars>1-10
//-----------------------------------------------------------------------
// <copyright file="ConsumingServicesUnitSteps.cs">
// Copyright (c) 2014-2016 <NAME>. All rights reserved.
// </copyright>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this fi... | 1.443852 | 3d6c1fe9681641898ccaba8855a6bda9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810729 | {
"extension": "c-sharp",
"max_stars_count": "602.0",
"max_stars_repo_name": "rus-art/efcore.pg",
"max_stars_repo_path": "src/EFCore.PG/Extensions/PropertyInfoExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129949"
} | starcoder |
// ReSharper disable once CheckNamespace
namespace System.Reflection;
[DebuggerStepThrough]
internal static class PropertyInfoExtensions
{
public static bool IsStatic(this PropertyInfo property)
=> (property.GetMethod ?? property.SetMethod)!.IsStatic;
public static bool IsIndexerProperty(this Proper... | 2.287525 | 96f123de48cdc0d98914d8074dc6f3cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810730 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JamieMagee/Docker.Registry.Client",
"max_stars_repo_path": "Source/Docker.Registry.Client/Models/ManifestList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129950"
} | starcoder | <reponame>JamieMagee/Docker.Registry.Client<gh_stars>0
namespace Docker.Registry.Client.Models
{
using System.Text.Json.Serialization;
/// <summary>
/// The manifest list is the “fat manifest” which points to specific image manifests for one or more platforms. Its use
/// is optional, and relatively f... | 2.103058 | 6b9b1a7631c6552a3901bb457a93dade |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810731 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlicePolk/Bundle-file",
"max_stars_repo_path": "HackLoli/FrmMain.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129951"
} | starcoder | using ICSharpCode.SharpZipLib.Zip;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Text;
using System.Windows.Forms;
namespace HackLoli
{
public partial class FrmMain : Form
... | 2.664537 | f6556c7425982a963fe8214cf6a62a87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810732 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nix63/Catel",
"max_stars_repo_path": "src/Catel.Core/Catel.Core.Shared/ComponentModel/IDataErrorInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129952"
} | starcoder | <reponame>nix63/Catel<filename>src/Catel.Core/Catel.Core.Shared/ComponentModel/IDataErrorInfo.cs<gh_stars>0
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IDataErrorInfo.cs" company="Catel development team">
// Copyright (c)... | 2.106766 | 3dd2318c54e9da9c0289d8213c064deb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810733 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "TeaDrivenDev/Graphology",
"max_stars_repo_path": "Src/TeaDriven.Graphology/Traversal/IGraphTraversal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129953"
} | starcoder | namespace TeaDriven.Graphology.Traversal
{
public interface IGraphTraversal
{
GraphNode Traverse(object targetObject);
}
} | 1.690301 | 00b839e2fef0bb5cc4600685d898f141 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810734 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gamenet2/GameNetCore",
"max_stars_repo_path": "src/Hosting/Hosting/src/Internal/HostingRequestFinishedLog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129954"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#if NETX
using Microsoft.AspNetCore.Http;
using ProtoContext = Microsoft.AspNetCore.Http.HttpContext;
#else
using Contoso.GameNetCore.Proto;
#e... | 2.147998 | 4ea3ce9cf6a248d013bfd04ee46c31bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810735 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Lotes/how-to-build-a-lexer",
"max_stars_repo_path": "Lexer/Automaton/AutomatonBuilderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129955"
} | starcoder | using System.Collections.Generic;
using System.Linq;
namespace Lexer.Automaton
{
public static class AutomatonBuilderExtensions
{
public static void AddTransition(this IAutomatonBuilder @this, int source, char c, int target)
{
var charset = new CharSet(c);
@this.AddTran... | 3.05887 | e0c9746f03234dc8950aa6ef58d70d38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810736 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NWebsec/NWebsec.TestSites",
"max_stars_repo_path": "NWebsec.Tests.Integration/Mvc4Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129956"
} | starcoder | // Copyright (c) <NAME>. See License.txt in the project root for license information.
using System.Configuration;
using NUnit.Framework;
namespace NWebsec.Tests.Integration
{
[TestFixture]
public class Mvc4Tests : MvcTestsBase
{
protected override string BaseUri => ConfigurationManager.... | 1.316817 | df3f1d8d3206450d7b84b411104a7acd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810737 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "codemeyer/ArgData",
"max_stars_repo_path": "Source/ArgData/TrackReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129957"
} | starcoder | <filename>Source/ArgData/TrackReader.cs
using System;
using System.IO;
using ArgData.Entities;
using ArgData.Internals;
using ArgData.IO;
namespace ArgData
{
/// <summary>
/// Reads track data from an F1GP track file into a Track object.
/// </summary>
public class TrackReader
{
/// <summar... | 2.225966 | 3f3f07e1bb3b928d5f3a750da3f41247 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810738 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joedayz/joerp",
"max_stars_repo_path": "Source/Business Layer/JOERP.Business.Entity/Validations/FormularioValidation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129958"
} | starcoder | <reponame>joedayz/joerp<filename>Source/Business Layer/JOERP.Business.Entity/Validations/FormularioValidation.cs
namespace JOERP.Business.Entity.Validations
{
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
public class FormularioValidation
{
[DataType(DataType.Text)... | 2.262837 | 71ef079806c83c348626e62d53edf5d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810739 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "namralkeeg/kettle.net",
"max_stars_repo_path": "src/Kettle/Sorting/RadixSort.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129959"
} | starcoder | #region Copyright
/*
* Copyright (C) 2018 <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 the Software without restriction, including without limitation the
* rights to use, copy, modify,... | 2.802852 | ad9ccc5e1db0b36a2048c0165e925923 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810740 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rusmass/wealthland_client",
"max_stars_repo_path": "arpg_prg/nativeclient_prg/Assets/Code/Client/UI/UISelfChooseRole/UISelfChooseWindowLayout.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129960"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Client.UI
{
public partial class UISelfChooseWindow
{
class Layout
{
#region 个人信息主要UI
/// <summary>
/// 职业
/// </summary>
... | 2.151354 | 826866e99ea966ed1652a5e40bacebac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810741 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khalilme/HopeSystemUniversal",
"max_stars_repo_path": "WCFServiceWebRole1/Words/WordType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129961"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
namespace WCFServiceWebRole
{
[DataContract]
public enum CloudWordType
{
Word=1,
Image,
NameFinger,
NameFingerImage,
NameImage
}
[DataCo... | 1.889557 | 0b3f681861abe31bd926bf82fa983e3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810742 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "justeat/JE.ApiExceptions",
"max_stars_repo_path": "src/JE.ApiExceptions.Tests/WhenExceptionIsThrown.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129962"
} | starcoder | using System.Threading;
using System.Web.Http.ExceptionHandling;
namespace JE.ApiExceptions.Tests
{
public abstract class WhenExceptionIsThrown<T>
where T : class, IExceptionLogger
{
private ExceptionLoggerContext _context;
private readonly T SystemUnderTest;
protected WhenExce... | 2.343428 | 211757bf2926ce29de3a30c3aa8f4170 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810743 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RyotaMurohoshi/snippets",
"max_stars_repo_path": "csharp/IxExample/ix_example/UnitTests/Single/SkipLastExample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129963"
} | starcoder | using NUnit.Framework;
using System.Linq;
using System.Collections.Generic;
namespace IxExample
{
[TestFixture ()]
public class SkipLastExample
{
// see https://github.com/Reactive-Extensions/Rx.NET/blob/master/Ix.NET/Source/System.Interactive/EnumerableEx.Single.cs#L610
[Test ()]
public void TestSkipLast ()... | 2.344867 | 0a7d2ed6de01d42ad265c6ea7fc44b75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810744 | {
"extension": "c-sharp",
"max_stars_count": "101.0",
"max_stars_repo_name": "dfederm/component-detection",
"max_stars_repo_path": "src/Microsoft.ComponentDetection.Orchestrator/Exceptions/InvalidDetectorCategoriesException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129964"
} | starcoder | <gh_stars>100-1000
using System;
using System.Runtime.Serialization;
namespace Microsoft.ComponentDetection.Orchestrator.Exceptions
{
[Serializable]
public class InvalidDetectorCategoriesException : Exception
{
public InvalidDetectorCategoriesException()
{
}
public Invalid... | 1.990861 | 02632f49c89ec53ec9a8923058afb1b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810745 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SvetoslavPorozhanov/AsphaltDelivery",
"max_stars_repo_path": "Web/AsphaltDelivery.Web/Views/Emails/Email.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:129965"
} | starcoder | @{
ViewData["Title"] = "Send Email";
}
<h1>Send Email</h1>
<p>
<a class="btn btn-success" asp-area="" asp-controller="Emails" asp-action="SendEmail">Send email</a>
</p>
| 2.125666 | 7c156e6509297a009a2ec02af424cdd7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810746 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "m17n-dev/BookSearchWpfApp",
"max_stars_repo_path": "ModuleA/Views/BookView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129966"
} | starcoder | using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Windows.Controls;
namespace ModuleA.Views {
/// <summary>
/// Interaction logic for BookView.xaml
/// </summary>
public partial class BookView : UserControl {
public BookView() {
InitializeCompone... | 2.650424 | 34aa4e177d1deae441938b848281b7b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810747 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "klaus-liebler/sensact",
"max_stars_repo_path": "configware/Klli.Sensact.Config/Event.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129967"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Klli.Sensact.Config
{
public class Event
{
public string SourceAppId;
public EventType EventType; //Prüfung: Kann die SourceApp dieses Event generieren?
public... | 2.768329 | 4efb2c4fcabf4ef0c4ea55541588c3ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810748 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "shurupin/OpenSource.Common",
"max_stars_repo_path": "splicer-99885/src/Splicer/Renderer/PercentageProgressParticipant.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129968"
} | starcoder | <reponame>shurupin/OpenSource.Common
using System;
using Splicer.Timeline;
namespace Splicer.Renderer
{
public class ProgressChangedEventArgs : EventArgs
{
private double _progress;
public ProgressChangedEventArgs(double progress)
{
_progress = progress;
}
... | 2.618003 | ee759f74ad6e747180555778f8ae3acb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810749 | {
"extension": "c-sharp",
"max_stars_count": "1618.0",
"max_stars_repo_name": "emlstudio/Nez",
"max_stars_repo_path": "Nez.FarseerPhysics/Nez/HighLevel/Components/Joints/FSGearJoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129969"
} | starcoder | <filename>Nez.FarseerPhysics/Nez/HighLevel/Components/Joints/FSGearJoint.cs<gh_stars>1000+
namespace Nez.Farseer
{
public class FSGearJoint : FSJoint
{
FSGearJointDef _jointDef = new FSGearJointDef();
FSJoint _ownerJoint;
FSJoint _otherJoint;
#region Configuration
public FSGearJoint SetOwnerJoint(FSJoin... | 2.381809 | 680245121fdfaed8f1d2d1bdbd92245b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810750 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ThyWoof/VGAudio",
"max_stars_repo_path": "build/SplitProject/Split.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129970"
} | starcoder | using System.IO;
using System.Linq;
using Cake.Common.IO;
using Cake.Common.Tools.DotNetCore;
using Cake.Core.IO;
using Cake.Frosting;
namespace Build.SplitProject
{
public sealed class Split : FrostingTask<Context>
{
public override void Run(Context context)
{
Directo... | 2.20663 | 5551ca0d58c2bf7c12a75203e6cc8319 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810751 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Wrennsun/SpaceEngineers",
"max_stars_repo_path": "Sources/Sandbox.Common/ObjectBuilders/Definitions/MyObjectBuilder_LightingBlockDefinition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129971"
} | starcoder | <reponame>Wrennsun/SpaceEngineers
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ProtoBuf;
using Sandbox.Common.ObjectBuilders.VRageData;
namespace Sandbox.Common.ObjectBuilders.Definitions
{
[ProtoContract]
[MyObjectBuilderDefinition]
public class MyObjectBuil... | 1.75937 | 7696a47063056ce1be2503d6ecaf261c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810752 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "CXuesong/DesignerCanvas",
"max_stars_repo_path": "DesignerCanvas/CanvasItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129972"
} | starcoder | using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Windows;
using System.Windows.Media;
namespace Undefined.DesignerCanvas
{
public class CanvasItem : INotifyPropertyChanged, IBoxCanvasItem, ISizeConstraint
{
private bool _Resizeable = true;
protecte... | 2.590135 | ddaef74c9906346da00b0419e415ebf9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810753 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MDsolucoesTI/LojaVirtual",
"max_stars_repo_path": "MD.LojaVirtual.Web/Models/ModalidadeSubGrupoViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129973"
} | starcoder | <reponame>MDsolucoesTI/LojaVirtual
//////////////////////////////////////////////////////////////////////////
// Criacao...........: 06/2014
// Sistema...........: Loja Virtual
// Analistas.........: <NAME> & <NAME>
// Desenvolvedores...: <NAME> & <NAME>
// Copyright.........: <NAME> & <NAME>
/////////////////////////... | 1.365646 | 6ea3a92325c1d81c40672b10d44226b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810754 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "max-ieremenko/SqlDatabase",
"max_stars_repo_path": "Sources/SqlDatabase.Test/Log/CombinedLoggerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129974"
} | starcoder | using System;
using Moq;
using NUnit.Framework;
using Shouldly;
namespace SqlDatabase.Log
{
[TestFixture]
public class CombinedLoggerTest
{
private CombinedLogger _sut;
private Mock<IDisposableLogger> _logger1;
private Mock<IDisposableLogger> _logger2;
public interface IDi... | 2.588321 | 1c500412a5a391a4b4ec546dee46a4b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810755 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DiyanLyubchev/CarSolution",
"max_stars_repo_path": "CarGasMsSolution/Domain/Application/CarManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129975"
} | starcoder | using Domain.Adaptors;
using Domain.CustomException;
using Domain.Factory;
using Domain.Model;
using GasCarDataAccess.Database;
using GasCarDataAccess.DbManager;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Domain.Application
{
public class CarManager : ICarManager
{
priva... | 2.753674 | 112934135912177d7203c7be7a2dee10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810756 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Miguel-Gremy/AspApiSample",
"max_stars_repo_path": "AspApiSample.API/Services/EmailSender.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129976"
} | starcoder | using System.Net;
using System.Net.Mail;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity.UI.Services;
using Microsoft.Extensions.Configuration;
namespace AspApiSample.API.Services
{
public class EmailSender : IEmailSender
{
private readonly string _fromMail;
private readonly s... | 2.548982 | 95f01ef74615bf1c94cc35161e9b2914 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810757 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Chroma-2D/Chroma.Audio.Sfxr",
"max_stars_repo_path": "Chroma.Audio.Sfxr/SfxrWaveform.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129977"
} | starcoder | using System;
using Chroma.Audio.Sources;
namespace Chroma.Audio.Sfxr
{
public class SfxrWaveform : Waveform
{
private WaveShape _waveShape;
private readonly Random _random = new();
private readonly SfxrParams _localParams;
private double _masterVolume;
private double _... | 2.065053 | c0ef8540fd90a8a150f207c44c63afc7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810758 | {
"extension": "c-sharp",
"max_stars_count": "191.0",
"max_stars_repo_name": "jvg/SharpDocx",
"max_stars_repo_path": "Samples/SampleProjects/Tutorial/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129978"
} | starcoder | <filename>Samples/SampleProjects/Tutorial/Program.cs<gh_stars>100-1000
using System.IO;
using SharpDocx;
namespace Tutorial
{
internal class Program
{
private static readonly string BasePath =
Path.GetDirectoryName(typeof(Program).Assembly.Location) + @"/../../../../..";
private s... | 2.355605 | cc8b51052d978f7ccf32181552c448dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810759 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "juner/IoControl",
"max_stars_repo_path": "IoControlExtensions/Controller/AtaPassThroughExWithSmartData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129979"
} | starcoder | <gh_stars>1-10
using static System.Linq.Enumerable;
using System.Runtime.InteropServices;
using static IoControl.Controller.AtaPassThroughUtils;
namespace IoControl.Controller
{
[StructLayout(LayoutKind.Sequential, Pack =8)]
public readonly struct AtaPassThroughExWithSmartData : IAtaPassThroughEx<SmartData>
... | 1.904453 | 533e19c8dc99c75dfc926c82283850f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810760 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sfba96/Gilgamesh-Enkidu-Meets-Shepherd",
"max_stars_repo_path": "Gilgamesh/Assets/CharacterCreator2D/Creator UI/Scripts/UICreator/DropdownShifter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129980"
} | starcoder | <reponame>sfba96/Gilgamesh-Enkidu-Meets-Shepherd
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
namespace CharacterCreator2D.UI
{
public class DropdownShifter : MonoBehaviour, IPointerClickHandler {
public Dropdown dropdown;
public bool next;
public bool previous;
public void On... | 2.351755 | 84213a119ccbba62ee2b1313dd8766ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810761 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Wizard2D/MyCSKernel",
"max_stars_repo_path": "source/MemMM.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129981"
} | starcoder | <gh_stars>0
namespace Kernel
{
class MemMM
{
public static unsafe void memset(byte* ptr, int c, int count)
{
for (byte* p = ptr; p < ptr + count; p++)
*p = (byte)c;
}
}
} | 1.907476 | 0f3223debd6d8f675dcd7723f37256d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810762 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "eabasir/sms-portal",
"max_stars_repo_path": "Thought.vCards/vCardDeliveryAddressTypes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129982"
} | starcoder | <reponame>eabasir/sms-portal
/* =======================================================================
* vCard Library for .NET
* Copyright (c) 2007-2009 <NAME>; http://wwww.thoughtproject.com
* See LICENSE.TXT for licensing information.
* ======================================================================= */... | 2.072152 | 53ff8b44d04ec1cdb9bca2884b600b4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810763 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "drake7707/journal",
"max_stars_repo_path": "Domain/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129983"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using Dapper;
using System.Reflection;
using Microsoft.Data.Sqlite;
namespace Journal.Domain
{
public static class Extensions
{
public static void CreateIndex<T>(this Sql... | 2.746648 | c08574cd181603af18b19e64267481bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810764 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "bigtlb/XmlDocMarkdown",
"max_stars_repo_path": "tools/ExampleAssembly/ExampleTriGenericClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129984"
} | starcoder | using System.Collections.Generic;
namespace ExampleAssembly
{
/// <summary>
/// A generic class with three generic type parameters.
/// </summary>
/// <typeparam name="TOne">The first generic type.</typeparam>
/// <typeparam name="TTwo">The second generic type.</typeparam>
/// <typeparam name="TThree">The third ... | 2.781559 | f232556d5ed15f86c4a6b6f7f590f733 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810765 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "paulrus123/MagicPutt",
"max_stars_repo_path": "MagicPuttArCoreClient/Assets/Scripts/UI/ButtonHandlers/MyButtonHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129985"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using UnityEngine.EventSystems;
public class MyButtonHandler : MonoBehaviour, IPointerDownHandler, IPointerUpHandler
{
public bool buttonPressed;
public void OnPointerDown(PointerEventData eventData)
{
buttonPressed = true;
}
public void OnPointerUp(Poin... | 2.126562 | 9555c91ffbf917b8f0479b7cb0e0cec4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810766 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vladimir1965/LargoComposer",
"max_stars_repo_path": "LargoSharedClasses/Music/FiguralNumber.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129986"
} | starcoder | <filename>LargoSharedClasses/Music/FiguralNumber.cs
// <copyright file="FiguralNumber.cs" company="Traced-Ideas, Czech republic">
// Copyright (c) 1990-2021 All Right Reserved
// </copyright>
// <author>vl</author>
// <email></email>
// <date>2021-09-01</date>
// <summary>Part of Largo Composer</summary>
using System... | 2.808223 | ccefd0efdf74891dec5949c28d498b30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810767 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "PacktPublishing/An-Atypical-ASP.NET-Core-6-Design-Patterns-Guide",
"max_stars_repo_path": "C17/src/PageController/TagHelpers/MinifierTagHelperComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129987"
} | starcoder | using Microsoft.AspNetCore.Razor.TagHelpers;
namespace PageController.TagHelpers;
public class MinifierTagHelperComponent : TagHelperComponent
{
public override int Order => int.MaxValue;
public async override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
{
var childContent... | 2.920468 | d43204dfa51709da1039923f6095a8ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810768 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "NathanielGlover/Bronze",
"max_stars_repo_path": "Bronze/src/Maths/Vector/Vector2D.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129988"
} | starcoder | <gh_stars>1-10
using System;
using System.Diagnostics.CodeAnalysis;
using static Bronze.Maths.Math;
namespace Bronze.Maths
{
public struct Vector2D : IEquatable<Vector2D>
{
public static readonly Vector2D Zero = new Vector2D();
public static readonly Vector2D BasisX = new Vector2D {X = 1};
... | 3.157549 | a64f7bdb3886585c6675d479ae7e4edb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810769 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Potapy4/EntityFrameworkCore",
"max_stars_repo_path": "src/EFCore/Query/ShapedQueryExpression.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129989"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Linq.Expressions;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Diagnostics;
using Micr... | 2.427047 | 48fbd8f91394e2b7cea638eaa8f80d75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810770 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "ylatuya/oxyplot",
"max_stars_repo_path": "Source/OxyPlot/Axes/DateTimeAxis.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129990"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="DateTimeAxis.cs" company="OxyPlot">
// The MIT License (MIT)
//
// Copyright (c) 2012 <NAME>
//
// Permission is hereby granted, free of charge, to any person ob... | 2.804079 | 0228cde058ee18afd1b754df3cd7b141 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810771 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CreativeCodersTeam/Core",
"max_stars_repo_path": "source/Validation/CreativeCoders.Validation/IPropertyValidationContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129991"
} | starcoder | <filename>source/Validation/CreativeCoders.Validation/IPropertyValidationContext.cs
using System.Collections.Generic;
using JetBrains.Annotations;
namespace CreativeCoders.Validation
{
[PublicAPI]
public interface IPropertyValidationContext<out T, out TProperty>
where T : class
{
void AddF... | 2.156689 | 3645267a66a79a0e22e8da3dfd83d020 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810772 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PavelTorgashov/nfx",
"max_stars_repo_path": "Source/NFX/Erlang/Types/ErlTupleBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129992"
} | starcoder | <filename>Source/NFX/Erlang/Types/ErlTupleBase.cs<gh_stars>1-10
/*<FILE_LICENSE>
* NFX (.NET Framework Extension) Unistack Library
* Copyright 2003-2014 IT Adapter Inc / 2015 Aum Code LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the L... | 2.393313 | ef487e01ee7c7e35a9e5ea4292862bcf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810773 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "DavidLievrouw/Nancy.Session.InProc",
"max_stars_repo_path": "src/Nancy.Session.InProc/InProcSessionsManagement/ISessionIdFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129993"
} | starcoder | namespace Nancy.Session.InProc.InProcSessionsManagement {
internal interface ISessionIdFactory {
SessionId CreateNew();
SessionId CreateFrom(string sessionIdString);
}
} | 1.412447 | a4aba4118d1ca95b936f4fa4e3a63435 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810774 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lombiq/Associativy-Internal-Link-Graph-Builder",
"max_stars_repo_path": "Drivers/Pages/Admin/AssociativyInternalLinkGraphManageGraphPartDriver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129994"
} | starcoder | <gh_stars>0
using Associativy.Administration.Models.Pages.Admin;
using Associativy.InternalLinkGraphBuilder.Models.Pages.Admin;
using Associativy.InternalLinkGraphBuilder.Services;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Drivers;
namespace Associativy.InternalLinkGraphBuilder.Drivers.Pa... | 1.629243 | 59a57c830e29b48a5f414b41facab04e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810775 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "WindowsCE/System.Reactive",
"max_stars_repo_path": "src/System.Reactive.WindowsCE/Concurrency/AsyncLock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129995"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
namespace System.Reactive.Concurrency
{
/// <summary>
/// Asynch... | 3.005601 | 9c605188439c16384fa98dfefb52a1ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810776 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TimHannMSFT/roslyn-analyzers",
"max_stars_repo_path": "src/NetAnalyzers/CSharp/Microsoft.CodeQuality.Analyzers/ApiDesignGuidelines/CSharpStaticHolderTypes.Fixer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129996"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Analyzer.Utilities;... | 1.753654 | 6db541456991cd3a092f9df442ccbb26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810777 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "genexuslabs/GXtestTools",
"max_stars_repo_path": "TestConvert.BL/Generation/Commands/ControlCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129997"
} | starcoder | <reponame>genexuslabs/GXtestTools
using GeneXus.GXtest.Tools.TestConvert.BL.Generation.Helpers;
using GeneXus.GXtest.Tools.TestConvert.BL.v3;
using System.Text;
namespace GeneXus.GXtest.Tools.TestConvert.BL.Generation.Commands
{
abstract class ControlCommand : CommandGenerator
{
// Control
// ... | 2.303965 | 7158eb6bfa0cbf45e09267eda43a6651 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810778 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OsOmE1/Art.Net",
"max_stars_repo_path": "ArtNet/Packets/Codes/FirmwareReplyCodes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129998"
} | starcoder | namespace ArtNet.Packets.Codes
{
public enum FirmwareReplyCodes : byte
{
/// <summary>
/// Last packet received successfully.
/// </summary>
FirmBlockGood = 0x00,
/// <summary>
/// Good All firmware received successfully.
/// </summary>
FirmAll = ... | 2.131163 | 0e158f8db4ce6c9812cfebdb3ad6c465 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810779 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "moto2002/mobahero_src",
"max_stars_repo_path": "PlayAnimator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129999"
} | starcoder | using System;
using UnityEngine;
public class PlayAnimator : MonoBehaviour
{
public string[] animations;
private Animator curAnimator;
private void Awake()
{
this.curAnimator = base.GetComponentInChildren<Animator>();
int num = UnityEngine.Random.Range(0, this.animations.Length);
this.curAnima... | 2.211922 | f7e20fb08ee4346ce66677fcdf794ace |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810780 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Devin0xFFFFFF/Comp3020",
"max_stars_repo_path": "Comp3020A3/User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130000"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Comp3020A3
{
public class User
{
public static int MIN_UNAME_LENGTH = 6, MAX_UNAME_LENGTH = 20;
public static int MIN_PASS_LENGTH =... | 2.824967 | 8a4637a44ccbff6f418d01a517bf60ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810781 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jonmcquade/csharp-snippets",
"max_stars_repo_path": "SmartStoreNET-3.x/src/Libraries/SmartStore.Data/EfDataProviderFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130001"
} | starcoder | <reponame>jonmcquade/csharp-snippets
using System;
using SmartStore.Core;
using SmartStore.Core.Data;
namespace SmartStore.Data
{
public partial class EfDataProviderFactory : DataProviderFactory
{
public EfDataProviderFactory()
: this(DataSettings.Current)
{
}
public EfDataProviderFactory(DataSe... | 2.414313 | eca7ed9781172cfbdbc5d19aa03b24c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810782 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-ILR-1819-ValidationService",
"max_stars_repo_path": "src/ESFA.DC.ILR.ValidationService.Rules/HE/TYPEYR/TYPEYR_02Rule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130002"
} | starcoder | using System;
using System.Collections.Generic;
using ESFA.DC.ILR.Model.Interface;
using ESFA.DC.ILR.ValidationService.Data.Internal.AcademicYear.Interface;
using ESFA.DC.ILR.ValidationService.Interface;
using ESFA.DC.ILR.ValidationService.Rules.Abstract;
using ESFA.DC.ILR.ValidationService.Rules.Constants;
namespace... | 1.976074 | ce44780698a6d827dabf8fe5288bc4f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810783 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "wieslawsoltes/SvgToXaml",
"max_stars_repo_path": "src/SvgToXamlConverter/Generator/XamlGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130003"
} | starcoder | <filename>src/SvgToXamlConverter/Generator/XamlGenerator.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using SvgToXamlConverter.Model.Containers;
using SvgToXamlConverter.Model.Drawing;
using SvgToXamlConverter.Model.Paint;
using SvgToXamlConverter... | 2.497458 | 4d8f7cfe2a7d1af9cacfb4696c273199 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810784 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "kennux/OsFPS",
"max_stars_repo_path": "Assets/UnityTK/Code/EditorCode/Tests/Audio/AudioEventMock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130004"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityTK.Audio;
namespace UnityTK.Test.Audio
{
public class AudioEventMock : AudioEvent
{
public event System.Action<IUTKAudioSource, bool> onPlay;
public override void Play(IUTKAudioSource audioSource, bool l... | 1.977395 | 71c0758517c07a556f722bd146d8dbf4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810785 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "brjohnstmsft/azure-sdk-tools",
"max_stars_repo_path": "src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CmdLetTests/NewClusterCmdletTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130005"
} | starcoder | // ----------------------------------------------------------------------------------
//
// 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 at
// http://w... | 1.634659 | 304698ecf76f91516607c479e9eeedcb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810786 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Damakshn/AlphaTest",
"max_stars_repo_path": "src/AlphaTest.Core/Tests/TestSettings/TestFlow/NavigationMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130006"
} | starcoder | <filename>src/AlphaTest.Core/Tests/TestSettings/TestFlow/NavigationMode.cs
using AlphaTest.Core.Common.Abstractions;
namespace AlphaTest.Core.Tests.TestSettings.TestFlow
{
public class NavigationMode: Enumeration<NavigationMode>
{
public NavigationMode(int id, string name) : base(id, name) { }
... | 2.336674 | 1f506330d293b4162a4a2e3f62c2e8dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810787 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "jugstalt/gview5",
"max_stars_repo_path": "gView.Interoperability.GeoServices/Rest/Json/JsonFeatureServiceLayer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130007"
} | starcoder | <reponame>jugstalt/gview5
using gView.Framework.Geometry;
using gView.Interoperability.GeoServices.Rest.Reflection;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace gView.Interoperability.GeoServices.Rest.Json
{
[ServiceMethod("Query", "query")... | 1.827379 | ff580d9dd0d4df8bd2241d7e6f6f7c4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810788 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mareklinka/blazing-roller",
"max_stars_repo_path": "src/BlazingRoller/Data/Migrations/20200604084101_Initial.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130008"
} | starcoder | <gh_stars>1-10
// <auto-generated />
using System;
using BlazingRoller.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion... | 2.055492 | c0b4ac3ed1ecbc169554bf08615f2208 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810789 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cesar1986BR/Cad-Funcionario",
"max_stars_repo_path": "TesteEntrevista/Views/Funcionarios/Edit.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:130009"
} | starcoder | <gh_stars>0
@model CadFuncionario.Models.Funcionario
@{
ViewBag.Title = "Edit";
}
<h2>Edit</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Funcionario</h4>
<hr />
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
... | 1.827448 | 56cc0a515c92b2e392b4b1630094e5a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810790 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shannon-morahan/Connect-Four-Console",
"max_stars_repo_path": "ConnectFour.Tests/Automation/TestScenariosRunner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130010"
} | starcoder | <filename>ConnectFour.Tests/Automation/TestScenariosRunner.cs
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Xml.Serialization;
using NUnit.Framework;
using TestScenario = ConnectFour.Tests.Automation.ConsoleTestScenariosConsoleTestScenario;
using Exp... | 2.824883 | 2b85e08f4719ac4e6e385aa1d1277b4e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810791 | {
"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/IWafv2WebAclRuleStatementAndStatementStatementNotStatementStatementAndStatementStatementSqliMatchStatementFieldToMatchBody.cs",
"provenance": "t... | starcoder | <filename>resources/.gen/aws/aws/IWafv2WebAclRuleStatementAndStatementStatementNotStatementStatementAndStatementStatementSqliMatchStatementFieldToMatchBody.cs
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiInterface(nativeType: typeof(IWafv2WebAclRuleStatementA... | 1.521463 | 49d70634f7ebcabd0d94785a6e7d8111 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810792 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "sachinpatil2/botauth",
"max_stars_repo_path": "CSharp/SampleMultiProviderBot/Dialogs/RootDialog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130012"
} | starcoder | <gh_stars>10-100
using Microsoft.Bot.Builder.Dialogs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Threading.Tasks;
using Microsoft.Bot.Connector;
using System.Threading;
using BotAuth.Models;
using BotAuth.Dialogs;
using SampleMultiProviderBot.Models;
using BotAuth... | 2.321916 | b3b22599f24e43b3387a23ebbd664dc7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810793 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hsravat-4590/Telepathy",
"max_stars_repo_path": "Telepathy/Common.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130013"
} | starcoder | // common code used by server and client
using System;
using System.Collections.Concurrent;
using System.Net.Sockets;
using System.Threading;
using System.IO;
using System.Net.Security;
namespace Telepathy
{
public abstract class Common
{
// IMPORTANT: DO NOT SHARE STATE ACROSS SEND/RECV LOOPS (DATA R... | 2.678551 | 7ac5b3468f145c6a5e14b2a58d6cc938 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810794 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mukund333/sneal",
"max_stars_repo_path": "Assets/other/FunctionLogicTest/GameObjectSpawner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130014"
} | starcoder | <reponame>mukund333/sneal<filename>Assets/other/FunctionLogicTest/GameObjectSpawner.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameObjectSpawner : MonoBehaviour
{
public float minRadius = 3f;
public float maxRadius = 7f;
public int pointAmo... | 2.268789 | 32988bca2dc39e9d97306dbe9c8c7f23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810795 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xced/minver",
"max_stars_repo_path": "MinVerTests.Lib/MinMajorMinor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130015"
} | starcoder | <filename>MinVerTests.Lib/MinMajorMinor.cs
using System.Reflection;
using MinVer.Lib;
using MinVerTests.Infra;
using MinVerTests.Lib.Infra;
using Xbehave;
using Xunit;
using static MinVerTests.Infra.Git;
using Version = MinVer.Lib.Version;
namespace MinVerTests.Lib
{
public static class MinMajorMinor
... | 2.444408 | f9f00146a179194767ea026d37059133 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810796 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "seungilpark/ClaimManager",
"max_stars_repo_path": "ClaimManager.Web/SharedResource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130016"
} | starcoder | <gh_stars>1-10
namespace ClaimManager.Web
{
public class SharedResource
{
}
} | 0.892553 | c8a1236faa3a2e2863e4ded0732f5c5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810797 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mjrousos/logging-application-block",
"max_stars_repo_path": "source/Src/Logging/TraceListeners/AsynchronousTraceListenerWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130017"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Practices.EnterpriseLi... | 2.282173 | 7c93a32fc67bce7862c0996d4d764395 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810798 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "Eduardo-Thiesen/Onboxframework",
"max_stars_repo_path": "tests/Onbox.Revit.Tests/Mapping/Dummies/Person.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130018"
} | starcoder | <filename>tests/Onbox.Revit.Tests/Mapping/Dummies/Person.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Onbox.Revit.Tests.Mapping.Dummies
{
public class Person
{
public string FirstName { get; set; }
... | 2.915803 | 6cff05f9b56183ff226ddfb767488014 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810799 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sway0308/GHM-PY",
"max_stars_repo_path": "BusinessLibrary/Gat.Business.Hum/Model/Employee/DepartEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130019"
} | starcoder | using Gat.Define;
using System;
using System.Collections.Generic;
using System.Text;
namespace Gat.Business.Hum
{
/// <summary>
/// 部門基本資料
/// </summary>
public class DepartEntity : EntityRow
{
/// <summary>
/// 公司編號
/// </summary>
public Guid SYS_CompanyId { get; s... | 1.951746 | d436ebe701f3e8f11f557b45be179dd8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810800 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "spoconnor/ElixirMessagingServer",
"max_stars_repo_path": "DotNet/TestClient/Hosts/CharacterHost.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130020"
} | starcoder | <gh_stars>1-10
using System;
using System.Diagnostics;
using System.Linq;
using OpenTK;
using OpenTK.Graphics.OpenGL;
using System.Collections.Generic;
using Hexpoint.Blox.GameObjects.Units;
using Hexpoint.Blox.Hosts.World;
using AiKnowledgeEngine;
using Hexpoint.Blox.Hosts.Ui;
using Hexpoint.Blox.Textures;
namespace ... | 2.05265 | ff40cd5a70c05b0d05a6dddcd34694e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810801 | {
"extension": "c-sharp",
"max_stars_count": "498.0",
"max_stars_repo_name": "D31m05z/VelcroPhysics",
"max_stars_repo_path": "src/VelcroPhysics/Definitions/Joints/MotorJointDef.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130021"
} | starcoder | using Genbox.VelcroPhysics.Dynamics;
using Genbox.VelcroPhysics.Dynamics.Joints.Misc;
using Microsoft.Xna.Framework;
namespace Genbox.VelcroPhysics.Definitions.Joints
{
public sealed class MotorJointDef : JointDef
{
public MotorJointDef() : base(JointType.Motor)
{
SetDefau... | 2.552635 | 3db2604b47eb89089452b30b0a4b8a35 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810802 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AccelByte/accelbyte-csharp-sdk",
"max_stars_repo_path": "AccelByte.Sdk/Api/Matchmaking/Operation/Matchmaking/ImportChannels.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130022"
} | starcoder | <reponame>AccelByte/accelbyte-csharp-sdk
// Copyright (c) 2022 AccelByte Inc. All Rights Reserved.
// This is licensed software from AccelByte Inc, for limitations
// and restrictions contact your company contract manager.
// This code is generated by tool. DO NOT EDIT.
using System.Net;
using System.IO;
using System... | 1.807353 | f529cc9ef3ef20c7ed0e860dfa264933 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810803 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Gimpii/procedural-gen-game",
"max_stars_repo_path": "2d-shooty-prototype/Assets/enemyBehaviour.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130023"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class enemyBehaviour : MonoBehaviour
{
public float speed = 1.5f;
[SerializeField] Transform enemyProj;
bool projActive = true;
Vector2 direction;
Vector3 pos;
void Update()
{
pos = GameObject.Fi... | 2.320433 | d10fbaadec15fc86cba55fac787ec336 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810804 | {
"extension": "c-sharp",
"max_stars_count": "212.0",
"max_stars_repo_name": "ql190990/Asp.netcore-Permission-Access",
"max_stars_repo_path": "RolesToPermission/PermissionConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130024"
} | starcoder | <reponame>ql190990/Asp.netcore-Permission-Access
// Copyright (c) 2018 <NAME>, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/
// Licensed under MIT license. See License.txt in the project root for license information.
namespace RolesToPermission
{
public static class PermissionConstants
{
... | 1.487743 | 49783681c04e0a72ec526cf9950d5b28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810805 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "philmiller84/chat",
"max_stars_repo_path": "Need4Chat/Server/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130025"
} | starcoder | <gh_stars>0
using Blazorise;
using Blazorise.Bootstrap;
using Blazorise.Icons.FontAwesome;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.ResponseCompression;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Ex... | 1.597012 | a77c09c79b6c3573b6ad47dee3f10044 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810806 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "tshannon/PillarBox",
"max_stars_repo_path": "src/PillarBox.Data/Migrations/20180316142024_AddingFieldsToMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130026"
} | starcoder | <filename>src/PillarBox.Data/Migrations/20180316142024_AddingFieldsToMessage.cs
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace PillarBox.Data.Migrations
{
public partial class AddingFieldsToMessage : Migration
{
protected override void Up(Migr... | 2.254799 | 438998571bd34f391aa0bef300c6fc3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810807 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "fdstar/BankEnterpriseDirectAttach",
"max_stars_repo_path": "src/BEDA.CITIC/Contracts/Responses/ElectronicBill/RS_DLBCMBDQ.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130027"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace BEDA.CITIC.Contracts.Responses
{
/// <summary>
/// 票据信息查询响应内容
/// </summary>
[XmlRoot("stream")]
... | 2.034902 | 5852004c4f22b16720393aba25e348a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810808 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ahives/MassTransit",
"max_stars_repo_path": "src/MassTransit/Configuration/Metadata/BusHostInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130028"
} | starcoder | namespace MassTransit.Metadata
{
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
[Serializable]
public class BusHostInfo :
HostInfo
{
public BusHostInfo()
{
}
public BusHostInfo(bool initialize)
{
... | 2.405068 | 16067983696742fd15d6d97f8f7c1ccf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VladimirKyuranov/Programming-Basics-CSharp",
"max_stars_repo_path": "Exams/Exam-2017-11-05/04-ExternalEvaluation/ExternalEvaluation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130029"
} | starcoder | <gh_stars>0
using System;
class ExternalEvaluation
{
static void Main(string[] args)
{
int students = int.Parse(Console.ReadLine());
int badMarks = 0;
int satisfactoryMarks = 0;
int goodMarks = 0;
int veryGoodMarks = 0;
int excellentMarks = 0;
for (int... | 3.35754 | 9147d4f100c41e9c4cf45f6c205506fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810810 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "SeppPenner/DotNetEasyRandom",
"max_stars_repo_path": "src/DotNetEasyRandom/EasyRandom.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130030"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="EasyRandom.cs" company="Hämmer Electronics">
// Copyright (c) All rights reserved.
// </copyright>
// <summary>
// The easy random class.
// </summary>
// --------------------... | 3.141259 | 999a8e0fcfeb3d6114a703febe6c86bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810811 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yazgelder/Yazgelder.com",
"max_stars_repo_path": "src/Config/SiteConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130031"
} | starcoder | namespace Yazgelder.Config
{
public class SiteConfig
{
public string GoogleReCaptchaSiteKey { get; set; }
public string ApiVerificationEndpoint { get; set; }
public string GoogleReCaptchaSecret { get; set; }
public string GoogleMapApi { get; set; }
}
} | 1.130616 | 8204869227bb33a38b55bcbfb4f0c784 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810812 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yujunnan666666/DncZeusApi",
"max_stars_repo_path": "DncZeus.Api/Migrations/20200515062034_MyMigration889.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130032"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace DncZeus.Api.Migrations
{
public partial class MyMigration889 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "unitcode",
... | 1.891062 | 718f5211d9c5d39c4afffd23b2430675 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810813 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "muaddibco/O10city",
"max_stars_repo_path": "Node/O10.Node.Network/Interfaces/IPacketsHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130033"
} | starcoder | <reponame>muaddibco/O10city
using System.Threading;
using O10.Transactions.Core.Enums;
using O10.Core.Architecture;
using O10.Transactions.Core.Ledgers;
namespace O10.Network.Interfaces
{
[ExtensionPoint]
public interface ILedgerPacketsHandler
{
string Name { get; }
LedgerType LedgerType ... | 1.292084 | b972878d24b876c7a5d306cb00daed47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810814 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Pixytech/Frameworks",
"max_stars_repo_path": "Pixytech.Desktop.Infrastructure/Modulatiry/ModuleManagerEx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130034"
} | starcoder | <reponame>Pixytech/Frameworks<filename>Pixytech.Desktop.Infrastructure/Modulatiry/ModuleManagerEx.cs
using System;
using System.Collections.Generic;
using Microsoft.Practices.Prism.PubSubEvents;
using Microsoft.Practices.Prism.Logging;
using Microsoft.Practices.Prism.Modularity;
using Microsoft.Practices.ServiceLocati... | 2.304807 | 3061cf72ccf2b946038afe438fd0c1e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810815 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jacor1996/supreme-lift",
"max_stars_repo_path": "WebApplication/WebApplication/Views/User/GetUserData.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:130035"
} | starcoder | @using WebApplication.Controllers
@model WebApplication.Models.UserViewModel
@{
ViewBag.Title = "User";
}
<h3>Manage user data</h3>
<div class="jumbotron">
<div>
<p>User: <b>@Model.User.Name</b></p>
<p>Age: @Model.User.Age</p>
<p>Height [m]: @Model.User.Height.ToString("F")</p>
... | 2.471975 | e0e68b3ff66c60e58c0ef394299e7f7c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810816 | {
"extension": "c-sharp",
"max_stars_count": "1703.0",
"max_stars_repo_name": "astorch/npoi",
"max_stars_repo_path": "main/SS/Formula/Functions/Roman.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130036"
} | starcoder | /* ====================================================================
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 ... | 2.791039 | 84c8f363d78fb0d012757b1269702235 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810817 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bumbuledin/Online-Fitness-Shop",
"max_stars_repo_path": "OnlineFitnessShop/ViewModels/AdministratorVMs/DodajKupacVM.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130037"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.OData.Edm;
namespace OnlineFitnessShop.ViewModels.AdministratorVMs
{
public class DodajKupacVM
{
pub... | 2.239159 | a19b3e7fc6097fa41b19d4e6a195fb99 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.