added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67633 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lishewen/JT809",
"max_stars_repo_path": "src/JT809.Protocol/SubMessageBody/JT809_0x9400_0x9401.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67634"
} | starcoder | using JT809.Protocol.Attributes;
using JT809.Protocol.Enums;
using JT809.Protocol.Formatters.SubMessageBodyFormatters;
using System;
using System.Collections.Generic;
using System.Text;
namespace JT809.Protocol.SubMessageBody
{
/// <summary>
/// 报警督办请求消息
/// <para>子业务类型标识:DOWN_WARN_MSG_URGE_TODO_REQ</para... | 1.915684 | 5b8a37700c1490b5a55d1dd2e7bbf5a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "training4developers/angular_03142016",
"max_stars_repo_path": "WidgetsApp/Views/Home/IndexTabs.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:67635"
} | starcoder | <reponame>training4developers/angular_03142016
<style>
.tabs ul {
list-style-type: none;
margin:0;
padding:0;
}
.tabs ul > li {
display: inline-block;
margin:0;
padding:5px;
border: 1px solid black;
}
.tabs ul > li.active {
border: 1px solid blue;
}
.tabs > div {
border: 1px solid blue;
}... | 2.18729 | 91df9c40e80dc89a413ff3d9967fdb01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67635 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "artemiusgreat/Trade-View",
"max_stars_repo_path": "src/DevelopmentInProgress.TradeView.Wpf.Common/Model/Symbol.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67636"
} | starcoder | <reponame>artemiusgreat/Trade-View
using DevelopmentInProgress.TradeView.Core.Enums;
using DevelopmentInProgress.TradeView.Core.Extensions;
using System.Collections.Generic;
namespace DevelopmentInProgress.TradeView.Wpf.Common.Model
{
public class Symbol : EntityBase
{
private int lastPriceChangeDirec... | 2.076724 | 3ed628933748a50fc136b1ff252130d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67636 | {
"extension": "c-sharp",
"max_stars_count": "327.0",
"max_stars_repo_name": "linbin524/YC.Boilerplate",
"max_stars_repo_path": "src/MicroService/YC.Micro.UserService/YC.Micro.UserWebService/Extensions/TenantDbIServiceCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67637"
} | starcoder | using FreeSql;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Security.Claims;
using System.Threading.Tasks;
using YC.Core;
using YC.Core.Autofac;
using Y... | 1.758913 | f226575af24dd6dc75f6b5190e8cb856 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67637 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uysallevent/LastikOteli",
"max_stars_repo_path": "Lastikoteli/Models/Complex/Response/SaklamaDetayResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67638"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace Lastikoteli.Models.Complex.Response
{
public class SaklamaDetayResponse
{
public int LNGKOD { get; set; }
public int LNGSAKLAMABASLIKKOD { get; set; }
public int LNGURUNTIP { get; set; }
pu... | 1.065484 | 3e86eaa1b4979dedc545f8586d6a4c04 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67638 | {
"extension": "c-sharp",
"max_stars_count": "3375.0",
"max_stars_repo_name": "nul800sebastiaan/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Web.BackOffice/Security/ConfigureBackOfficeIdentityOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67639"
} | starcoder | using System;
using System.Security.Claims;
using Microsoft.Extensions.Options;
using Umbraco.Cms.Core.Configuration.Models;
using Umbraco.Cms.Core.Security;
using Umbraco.Extensions;
using Constants = Umbraco.Cms.Core.Constants;
namespace Umbraco.Cms.Web.BackOffice.Security
{
/// <summary>
/// Used to configu... | 1.998446 | f9ed142001e34386ba4bf3040b98124e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67639 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "razvalex/Hesira",
"max_stars_repo_path": "src/Hesira/Helpers/General/Attributes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67640"
} | starcoder | <reponame>razvalex/Hesira<filename>src/Hesira/Helpers/General/Attributes.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using BForms.Models;
using Hesira.Controllers;
using Hesira.Entities;
namespace Hesira.Helpers.General
{
... | 2.01325 | 2b320d765f42799cd2190bfd2b46b1b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67640 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Dolfik1/hotchocolate",
"max_stars_repo_path": "src/Core/Types/Types/TypeExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67641"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using HotChocolate.Language;
using HotChocolate.Properties;
namespace HotChocolate.Types
{
public static class TypeExtensions
{
public static bool IsNonNullType(this IType type)
{
return (type is NonNullType... | 2.557484 | ebaffa3121220ae3378b311e3669efaa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67641 | {
"extension": "c-sharp",
"max_stars_count": "450.0",
"max_stars_repo_name": "aTiKhan/SharpVectors",
"max_stars_repo_path": "Source/SharpVectorCore/Utils/Polynomials/SqrtPolynomial.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67642"
} | starcoder | using System;
namespace SharpVectors.Polynomials
{
/// <summary>
/// This class overrides Polynomial's evaluate method to return the square root of that value.
/// We need to integrate the square root of a polynomial when finding the arc length of a Bezier curve.
/// </summary>
public seale... | 3.662446 | b1377b6a9d49437e5cd3cd8e4e35c7ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67642 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ravimad/SEAL",
"max_stars_repo_path": "Tests/BasicTests/BasicTests - Copy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67643"
} | starcoder | using System;
using System.IO;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SafetyAnalysis.Testutils;
namespace PurityTest
{
/// <summary>
///This is a test class for CheckerTest and is intended
///to contain all C... | 2.318539 | 06826bfd930d1d1fe67a858415786c6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67643 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DerHulk/Sternzeit",
"max_stars_repo_path": "src/Sternzeit.Server/Models/RegisterPreconditionsModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67644"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Sternzeit.Server.Models
{
public class RegisterPreconditionsModel
{
public string Challenge { get; set; }
public string RelayingPartyId { get; set; }
public string RelayingPartyNa... | 1.492984 | 736cc3d47efc8bce5953501b75a3c248 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67644 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MustAl-Du/IoMT",
"max_stars_repo_path": "test/Microsoft.Health.Fhir.Ingest.UnitTests/Service/CachedResourceIdentityServiceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67645"
} | starcoder | <filename>test/Microsoft.Health.Fhir.Ingest.UnitTests/Service/CachedResourceIdentityServiceTests.cs
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in t... | 1.922681 | cdd80a41019e9582bdc8f57e2af6c5dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67645 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mikebarker/Plethora.NET",
"max_stars_repo_path": "src/Test/Plethora.Test.Xaml/Converters/Arithmetic/ModulusConverter_Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67646"
} | starcoder | <filename>src/Test/Plethora.Test.Xaml/Converters/Arithmetic/ModulusConverter_Test.cs
using System;
using System.Globalization;
using System.Windows;
using NUnit.Framework;
using Plethora.Xaml.Converters;
namespace Plethora.Test.Xaml.Converters.Arithmetic
{
[TestFixture]
public class ModulusConverter_Test
... | 2.511905 | 556102a7ffbd48fd12304be1cb4d6d90 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67646 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "gmich/Gem",
"max_stars_repo_path": "Gem.Infrastructure/Input/TouchInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67647"
} | starcoder | <reponame>gmich/Gem<gh_stars>10-100
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
namespace Gem.Infrastructure.Input
{
public class TouchInput : IInput
{
public void Flush()
{
throw new System.NotImplementedException();
}
}
} | 1.730603 | 4c5f2f616d31ee29130abca69a786099 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67647 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "purrmiaw/Blogifier",
"max_stars_repo_path": "Blogifier.Core/Data/Interfaces/IProfileRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67648"
} | starcoder | <reponame>purrmiaw/Blogifier
using Blogifier.Core.Common;
using Blogifier.Core.Data.Domain;
using Blogifier.Core.Data.Models;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace Blogifier.Core.Data.Interfaces
{
public interface IProfileRepository : IRepository<Profile>
{
... | 1.466839 | acbfb6ae099aa64e50961ecd3d3b0e95 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67648 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MagicTelecom/mt_csharp_sdk",
"max_stars_repo_path": "MagicTelecomAPI.PCL/Models/DidItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67649"
} | starcoder | /*
* MagicTelecomAPI.PCL
*
* This file was automatically generated by APIMATIC v2.0 on 06/24/2016
*/
using System;
using System.IO;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.... | 2.022629 | 327b1cd50f2e73334e3280e4b3db383a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67649 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kjacobsen16/RunoffModelingServices",
"max_stars_repo_path": "RationalMethodAgent/Resources/RationalMethod.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67650"
} | starcoder | <filename>RationalMethodAgent/Resources/RationalMethod.cs
//------------------------------------------------------------------------------
//----- Example ----------------------------------------------------------------
//------------------------------------------------------------------------------
//-------1-------... | 2.407211 | 77bd4fb7b531b2fd451ed6b654221f59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67650 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "madsstorm/Analyzers.Episerver",
"max_stars_repo_path": "test/CodeAnalyzers.Episerver.Test/ContentReferencePropertyHasAllowedTypesAttributeTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67651"
} | starcoder | using Verify = CodeAnalyzers.Episerver.Test.CSharpVerifier<CodeAnalyzers.Episerver.DiagnosticAnalyzers.CSharp.ContentReferencePropertyHasAllowedTypesAttributeAnalyzer>;
using System.Threading.Tasks;
using Xunit;
namespace CodeAnalyzers.Episerver.Test
{
public class ContentReferencePropertyHasAllowedTypesAttributeT... | 1.903905 | 7529c2aecfb1a60f5d51edeb434e2b2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67651 | {
"extension": "c-sharp",
"max_stars_count": "3422.0",
"max_stars_repo_name": "dabingpenguins/Quasar",
"max_stars_repo_path": "Quasar.Client/Messages/TaskManagerHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67652"
} | starcoder | <filename>Quasar.Client/Messages/TaskManagerHandler.cs<gh_stars>1000+
using Quasar.Client.Networking;
using Quasar.Client.Setup;
using Quasar.Common;
using Quasar.Common.Enums;
using Quasar.Common.Helpers;
using Quasar.Common.Messages;
using Quasar.Common.Networking;
using System;
using System.ComponentModel;
using Sy... | 2.242811 | 0d4e2d671fca57473fb692df39712e49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67652 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ly774508966/samurai",
"max_stars_repo_path": "samurai/Assets/Scripts/GOAP/Actions/GOAPActionStepIn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67653"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GOAPActionStepIn : GOAPAction
{
public GOAPActionStepIn(Agent owner)
:base(GOAPActionType.STEP_IN, owner)
{
}
public override bool IsPreConditionSatisfied(WorldState ws)
{
... | 2.253674 | c950e55adf68a5cd7f681405bba9c431 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "11-VRapp/VR-project",
"max_stars_repo_path": "The RegnAnt/Assets/Scripts/DialogueManager/Stage1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67654"
} | starcoder | <gh_stars>0
using UnityEngine;
using UnityEngine.UI;
public class Stage1 : MonoBehaviour
{
public GameObject imageBox;
public GameObject followBtn;
public Text nameText;
public Text dialogueText;
public string dialogueText_text;
}
| 0.810367 | e7fde95a83e0e360fdae357a3a2552e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67654 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Augustpi/Backbone",
"max_stars_repo_path": "DataObjects/Migrations/V_0_1_2_Updates.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67655"
} | starcoder | <filename>DataObjects/Migrations/V_0_1_2_Updates.cs
namespace forCrowd.Backbone.DataObjects.Migrations
{
using BusinessObjects.Entities;
using DataObjects;
using Framework;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Linq;
... | 2.41981 | 80c87316191f3aebcdec952058a156f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67655 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mie-ll/praktisk-programmering",
"max_stars_repo_path": "homework/plots/B/main.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67656"
} | starcoder | <reponame>mie-ll/praktisk-programmering<gh_stars>0
using System;
using static System.Console;
using static System.Math;
class main{
public static double gamma(double x){
///single precision gamma function (<NAME>, from Wikipedia)
if(x<0)return PI/Sin(PI*x)/gamma(1-x);
if(x<9)return gamma(x+1)/x;
double lngamma... | 3.247354 | 38791ae4587185e1310708c54cb73b2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67656 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abod1944/maui",
"max_stars_repo_path": "src/Core/src/Fonts/FontRegistrar.Tizen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67657"
} | starcoder | <filename>src/Core/src/Fonts/FontRegistrar.Tizen.cs
#nullable enable
using System.IO;
namespace Microsoft.Maui
{
public partial class FontRegistrar : IFontRegistrar
{
string? LoadNativeAppFont(string font, string filename, string? alias)
{
using var stream = GetNativeFontStream(filename, alias);
return Lo... | 2.568809 | a49a23de5a5c4ad1d139610cba7c3d2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67657 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "tapika/cs-script",
"max_stars_repo_path": "Source/.NET Core/CSScriptLib/src/CSScriptLib/CSScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67658"
} | starcoder | using System;
using System.Linq;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using System.Diagnostics;
using Microsoft.CodeAnalysis.Scripting;
using System.Runtime.Loader;
using Microsoft.CodeAnalysis.CSharp.Scripting;
... | 2.597912 | 1d757451ef537037fd635099bbb7b36f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67658 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "spmarco/IdentityServer4.Admin",
"max_stars_repo_path": "src/Skoruba.IdentityServer4.Admin.BusinessLogic/Services/IdentityResourceService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67659"
} | starcoder | <filename>src/Skoruba.IdentityServer4.Admin.BusinessLogic/Services/IdentityResourceService.cs
using System.Threading.Tasks;
using Skoruba.IdentityServer4.Admin.BusinessLogic.Dtos.Configuration;
using Skoruba.IdentityServer4.Admin.BusinessLogic.ExceptionHandling;
using Skoruba.IdentityServer4.Admin.BusinessLogic.Helper... | 2.08575 | 5206dade0add95d447e65e082262c0d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67659 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "inyutin-maxim/resharper-testlinker",
"max_stars_repo_path": "src/dotnet/ReSharperPlugin.TestLinker/Navigation/LinkedTypesSearchDescriptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67660"
} | starcoder | <reponame>inyutin-maxim/resharper-testlinker
using System;
using System.Collections.Generic;
using JetBrains.ReSharper.Feature.Services.Diagrams;
using JetBrains.ReSharper.Feature.Services.Navigation.Descriptors;
using JetBrains.ReSharper.Feature.Services.Navigation.Requests;
using JetBrains.ReSharper.Feature.Services.... | 1.813161 | 171086d6207cb191828fb8b4f8e1c522 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67660 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "eyassug/ucommerce",
"max_stars_repo_path": "tools/Deploy/PackageGen/PackageGen/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67661"
} | starcoder | using System;
namespace PackageGen
{
using System.IO;
using NDesk.Options;
class Program
{
static void Main(string[] args)
{
bool show_help = false;
bool verbose = false;
var packageName = string.Empty;
var packageId = ... | 2.876312 | bc213e9593be57f911067c4cffc79ca2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67661 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ourcredit/School",
"max_stars_repo_path": "aspnet-core/src/School.EntityFrameworkCore/EntityFrameworkCore/SchoolDbContextConfigurer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67662"
} | starcoder | using System.Data.Common;
using Microsoft.EntityFrameworkCore;
namespace School.EntityFrameworkCore
{
public static class SchoolDbContextConfigurer
{
public static void Configure(DbContextOptionsBuilder<SchoolDbContext> builder, string connectionString)
{
builder.UseMySql(connection... | 2.274103 | 9560267d2b9c0c32d38095407a03a6e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67662 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "texas16/Dialog",
"max_stars_repo_path": "XPlatformMenus.Core/ViewModels/Base/MainViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67663"
} | starcoder | <gh_stars>0
namespace XPlatformMenus.Core.ViewModels
{
public class MainViewModel : BaseViewModel
{
public void ShowMenu()
{
ShowViewModel<HomeViewModel>();
ShowViewModel<MenuViewModel>();
}
public void Init(object hint)
{
//... | 1.976999 | fd945c44360b703270c04788e284f2de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67663 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "captainjono/rxns",
"max_stars_repo_path": "src/Rxns/Reliability/CircuitBreaker/ICircuitBreakerState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67664"
} | starcoder | using System;
namespace Rxns.Reliability.CircuitBreaker
{
internal interface ICircuitBreakerState
{
Exception LastException { get; }
bool IsBroken { get; }
void Reset();
void TryBreak(Exception ex);
}
} | 2.111884 | ef79a1c18ad00e0467ba7a289ca65c83 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67664 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PaulKolozsvari/Figlut-Suite",
"max_stars_repo_path": "source/trunk/WindowsMobile/EmitCF/SystemCF.Reflection/GenericParameterAttributes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67665"
} | starcoder | using System.Collections.Generic;
using Mono.Cecil;
using SystemCF.Reflection;
using SystemCF.Reflection.Emit;
namespace SystemCF.Reflection
{
/// <summary>
/// Describes the constraints on a generic type parameter of a generic type or method.
/// </summary>
[System.Flags]
public enum GenericParameterAttributes... | 2.58443 | 3a89dd6e2b68f1715ac27d444676e03f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67665 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "nice-digital/consultations",
"max_stars_repo_path": "Comments/Services/ConsultationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67666"
} | starcoder | using Comments.Common;
using Comments.Configuration;
using Comments.Models;
using Comments.ViewModels;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DocumentFormat.OpenXml.Office2010.Word;
using NICE.Feeds.Indev;
using NICE.Fe... | 1.812129 | ec766ef1707438420bc929d5f157d0ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67666 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Myggski/snaek",
"max_stars_repo_path": "Assets/Scripts/AStar/Pathfinding.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67667"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace AStar
{
[RequireComponent(typeof(Grid), typeof(PathRequestManager))]
public class Pathfinding : MonoBehaviour
{
private Grid _grid;
private PathRequestManager _pathRequestManager;
... | 2.688731 | 18b0406bbfc452cdce542895e152e679 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67667 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "twsouthwick/poshgit2",
"max_stars_repo_path": "src/PoshGit2.NamedPipes/Commands.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67668"
} | starcoder | using System.Diagnostics;
using System.IO;
using System.Threading.Tasks;
namespace PoshGit2
{
internal enum NamedPipeCommand : byte
{
FindRepo,
GetAllRepos,
RemoveRepo,
ClearCache,
ExpandGitCommand,
Ready,
BadCommand,
Success,
... | 2.472304 | 225003b3536ffcaaa84e45ae3b08918f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67668 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "wail0152/IPASS",
"max_stars_repo_path": "A-Star/Library/PackageCache/com.unity.inputsystem@1.0.0/InputSystem/Devices/Commands/QueryDimensionsCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67669"
} | starcoder | using System.Runtime.InteropServices;
using UnityEngine.InputSystem.Utilities;
namespace UnityEngine.InputSystem.LowLevel
{
/// <summary>
/// Query dimensions of a device.
/// </summary>
/// <remarks>
/// This is usually used to query screen dimensions from pointer devices.
/// </remarks>
[... | 2.371806 | 95e4a5bac1802221b46917916b839cd8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67669 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ajlopez/Mass",
"max_stars_repo_path": "Src/Mass.Core/Expressions/SuperCallExpression.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67670"
} | starcoder | <gh_stars>1-10
namespace Mass.Core.Expressions
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Mass.Core.Functions;
using Mass.Core.Language;
public class SuperCallExpression : IExpression
{
private static int hashcode = ... | 2.757497 | 26a0504291463c0401d6a3f59f0326bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67670 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gcwhitfield/Global-Game-Jam-S22",
"max_stars_repo_path": "Assets/Plugins/FMOD/src/Editor/BankRefresher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67671"
} | starcoder | <filename>Assets/Plugins/FMOD/src/Editor/BankRefresher.cs
using System;
using System.IO;
using UnityEditor;
using UnityEngine;
namespace FMODUnity
{
[InitializeOnLoad]
public class BankRefresher
{
private static string currentWatchPath;
private static FileSystemWatcher sourceFil... | 2.49033 | 10b6469b7a2cdbf5e167feecd635beb2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67671 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GataullinRR/TinyConfig",
"max_stars_repo_path": "SpecificMarshallers/BinaryMarshaller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67672"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Threading.Tasks;
using TinyConfig;
using Utilities;
using Utilities.Extensions;
namespace SpecificMarshallers
{
public class BinaryMarshaller<T> : Ex... | 2.104309 | 777fcdd7b2b512b1b4fa379a927a4333 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67672 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fel88/GeomPad",
"max_stars_repo_path": "GeomPad/IntFieldEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67673"
} | starcoder | using System.Reflection;
namespace GeomPad
{
public class IntFieldEditor : AbstractFieldEditor
{
public IntFieldEditor(FieldInfo f)
{
Field = f;
Name = f.Name;
}
public IntFieldEditor(PropertyInfo f)
{
Property = f;
Name =... | 2.748102 | 53cd276b2cb84b6e50957d26a654637c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67673 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gnoon/lv1",
"max_stars_repo_path": "LeaveCore/TimeDB.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67674"
} | starcoder | using System.Configuration;
using System.Web.Configuration;
using System.Data.SqlClient;
using System.Reflection;
using System;
using System.IO;
using System.Threading;
using System.Globalization;
using System.Security.Principal;
namespace LeaveCore
{
public class TimeDB : BaseDB
{
public TimeDB(IPrin... | 2.387042 | 38261877cebd0f8b50d0be611d490d53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67674 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "RimWorld-CCL-Reborn/BetterMiniMap",
"max_stars_repo_path": "Source/BetterMiniMap/GameComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67675"
} | starcoder | <filename>Source/BetterMiniMap/GameComponent.cs<gh_stars>10-100
using Verse;
using RimWorld;
using HarmonyLib;
using System.Linq;
using System.Collections.Generic;
namespace BetterMiniMap
{
// NOTE: patches must be delayed till defs are loaded and settings initilized
public static class MiniMap_GameComponentH... | 1.900144 | 74685e4a126345a7d1ea548bde172c36 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67675 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "devlights/try-csharp",
"max_stars_repo_path": "TryCSharp.Samples/Basic/CompileDirectiveSamples01.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67676"
} | starcoder | <gh_stars>1-10
using TryCSharp.Common;
namespace TryCSharp.Samples.Basic
{
/// <summary>
/// コンパイルディレクティブのサンプル1です。
/// </summary>
[Sample]
public class CompileDirectiveSamples01 : IExecutable
{
public void Execute()
{
Output.WriteLine("001:HELLO C#");
#if(DEBUG... | 2.131949 | 80229e2cfd0657bd3fd19fd876bbb3d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67676 | {
"extension": "c-sharp",
"max_stars_count": "280.0",
"max_stars_repo_name": "zrajnis/revenj",
"max_stars_repo_path": "csharp/Core/Revenj.Core/DatabasePersistence/Relinq/Parsing/ThrowingExpressionTreeVisitor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67677"
} | starcoder | // Copyright (c) rubicon IT GmbH, www.rubicon.eu
//
// See the NOTICE file distributed with this work for additional information
// regarding copyright ownership. rubicon licenses this file to you under
// the Apache License, Version 2.0 (the "License"); you may not use this
// file except in compliance with th... | 2.496288 | d6e5a7e41df8c068604d9a29c34cdb26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67677 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "TigrisCallidus/QuantumBlurUnity",
"max_stars_repo_path": "Assets/Qiskit/QuantumBlur/QuantumImageHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67678"
} | starcoder | <reponame>TigrisCallidus/QuantumBlurUnity
// -*- coding: utf-8 -*-
// This code is part of Qiskit.
//
// (C) Copyright IBM 2020.
//
// This code is licensed under the Apache License, Version 2.0. You may
// obtain a copy of this license in the LICENSE.txt file in the root directory
// of this source tree or at http:/... | 2.380849 | 8909d1929f26d9bc5bae44af336e5117 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67678 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NanoFabricFX/iotgateway",
"max_stars_repo_path": "Plugins/Drivers/DriverSimTcpClient/SimTcpClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67679"
} | starcoder | using PluginInterface;
using SimpleTCP;
using System;
using System.Text;
namespace DriverSimTcpClient
{
[DriverSupported("SimTcpServerDevice")]
[DriverInfoAttribute("SimTcpClient", "V1.0.0", "Copyright IoTGateway© 2022-06-04")]
public class SimTcpClient : IDriver
{
/// <summary>
/// tc... | 2.647314 | 9848b1824d13953ccc3970b5190370ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67679 | {
"extension": "c-sharp",
"max_stars_count": "133.0",
"max_stars_repo_name": "allisterb/nledger",
"max_stars_repo_path": "Source/NLedger/Select.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67680"
} | starcoder | // **********************************************************************************
// Copyright (c) 2015-2021, <NAME>. All rights reserved.
// Licensed under the FreeBSD Public License. See LICENSE file included with the distribution for details and disclaimer.
//
// This file is part of NLedger that is a .Ne... | 2.149069 | dacb7dfb951cdc72d0cd72d9c72408d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67680 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Mihael-Harangus/groupsharekit.net",
"max_stars_repo_path": "Sdl.Community.GroupShareKit.Tests.Integration/Clients/TranslationMemoryClientLanguageResourceTemplateTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67681"
} | starcoder | using Sdl.Community.GroupShareKit.Clients;
using Sdl.Community.GroupShareKit.Models.Response.TranslationMemory;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xunit;
namespace Sdl.Community.GroupShareKit.Tests.Integration.Clients
{
public class TranslationMemoryClientLanguageR... | 2.055103 | f208901f0ad1ea1ba100b35d05fed9d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67681 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "airzero24/Atlas",
"max_stars_repo_path": "support_assemblies/run/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67682"
} | starcoder | <filename>support_assemblies/run/Program.cs
using Microsoft.Win32.SafeHandles;
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace run
{
class Program
{
public static string ExecuteShellCommand(int P... | 2.056824 | f150839165de922cb561e07c23d40c9e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67682 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GuoQqizz/SmartChinese",
"max_stars_repo_path": "AbhsChinese.Web/Views/SecurityCenter/_LoginRecords.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:67683"
} | starcoder | <div class="itemlist" style="display: none;">
<div class="logintable">
<table class="logintypebox">
<thead>
<th>时间</th>
<th>IP</th>
<th>地区</th>
<th>登录方式</th>
</thead>
<tbody id="table_records">
... | 1.562457 | a1a19dc0428f7f0036134bc2113be274 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67683 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "felyperennan/Example-Validation-System",
"max_stars_repo_path": "Validationtools/Interfaces/IValidatable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67684"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace ValidationTools.Interfaces {
public interface IValidatable<T> {
IEnumerable<IRule<T>> ValidationRules { get; }
}
}
| 1.721833 | 0d5da21e7438d7982960299c546549be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67684 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "michaellperry/Correspondence",
"max_stars_repo_path": "Tools/Correspondence.Factual/Metadata/Query.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67685"
} | starcoder | using System;
using System.Collections.Generic;
namespace Correspondence.Factual.Metadata
{
public class Query
{
private string _name;
private List<Join> _joins = new List<Join>();
public Query(string name)
{
_name = name;
}
public string Name
... | 2.726828 | 6495a952265e45f686f574aedb51cc34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67685 | {
"extension": "c-sharp",
"max_stars_count": "495.0",
"max_stars_repo_name": "mzakrzewski/Steeltoe",
"max_stars_repo_path": "src/Common/src/Common/Converter/ArrayToStringConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67686"
} | starcoder | <filename>src/Common/src/Common/Converter/ArrayToStringConverter.cs
// 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;
using System.Collections.G... | 2.630666 | 3e3ca2e1da3b86d28ddf2f39c7da6fdf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67686 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "exocad/exoAlphaFS",
"max_stars_repo_path": "AlphaFS/Filesystem/Enumerations/PathFormat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67687"
} | starcoder | <filename>AlphaFS/Filesystem/Enumerations/PathFormat.cs<gh_stars>1-10
/* Copyright (C) 2008-2015 <NAME>, <NAME>, <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 r... | 3.019948 | ae043b5dda18956acc35646824420229 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67687 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ADefWebserver/EventHorizon.Blazor.TypeScript.Interop.Generator",
"max_stars_repo_path": "Sample/_generated/EventHorizon.Blazor.BabylonJS.WASM/EngineOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67688"
} | starcoder | <filename>Sample/_generated/EventHorizon.Blazor.BabylonJS.WASM/EngineOptions.cs
/// Generated - Do Not Edit
namespace BABYLON
{
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using EventHorizon.Blazor.Interop;
using EventHorizo... | 1.498325 | 52f4eb7d7323fa15669efcfcdb539892 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67688 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "ludovic-henry/referencesource",
"max_stars_repo_path": "System.Data.Entity/System/Data/Common/CommandTrees/Internal/ParameterRetriever.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67689"
} | starcoder | <reponame>ludovic-henry/referencesource
//---------------------------------------------------------------------
// <copyright file="ParameterRetriever.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//
// @owner [....]
// @backupOwner [....]
//---------------... | 2.156707 | 3ec2370fd775631d80b3e6182475aefa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67689 | {
"extension": "c-sharp",
"max_stars_count": "387.0",
"max_stars_repo_name": "n-l-vasilyev/DemoCode",
"max_stars_repo_path": "Drums/VDrumExplorer.Model/Data/Fields/InstrumentDataField.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67690"
} | starcoder | <reponame>n-l-vasilyev/DemoCode<filename>Drums/VDrumExplorer.Model/Data/Fields/InstrumentDataField.cs
// Copyright 2020 <NAME>. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
using System.Collections;
using System.Collections.G... | 2.141904 | 30594ce9284aa3f3006b3f9efe2a376b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67690 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MustafaAmish/All-Curses-in-SoftUni",
"max_stars_repo_path": "02. Tech Module/Programming Fundamentals/Exam preparation/09 July 2017/09 July 2017 Part 2/PokemonEvolution/PokemonEvolution.cs",
"provenance": "train-00000-of-00045.jsonl.g... | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace PokemonEvolution
{
class PokemonEvolution
{
private static List<Pokemon> pokemons = new List<Pokemon>();
private read... | 3.0984 | 762df08a375a333485d455ee6b515370 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67691 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wjk/dotnet-project-system",
"max_stars_repo_path": "src/Microsoft.VisualStudio.ProjectSystem.Managed/Tree/Dependencies/Snapshot/DependenciesSnapshot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67692"
} | starcoder | <filename>src/Microsoft.VisualStudio.ProjectSystem.Managed/Tree/Dependencies/Snapshot/DependenciesSnapshot.cs
// Copyright (c) Microsoft. 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.Collections.Gener... | 2.118869 | 882e9230e53bad0d2de1341402ea6b50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67692 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deadtrickster/LiveLisp",
"max_stars_repo_path": "LiveLisp.Core.Tests/Builtins/CharactersDictionaryTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67693"
} | starcoder | <filename>LiveLisp.Core.Tests/Builtins/CharactersDictionaryTest.cs
using LiveLisp.Core.BuiltIns.Characters;
using Microsoft.VisualStudio.TestTools.UnitTesting;
//using LiveLisp.Core.BuiltIns.Strings;
using LiveLisp.Core.Types;
using LiveLisp.Core.BuiltIns.Numbers;
namespace LiveLisp.Core.Tests.Builtins
{
... | 2.717191 | eaf4f29acb719c584395075acfdd67a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67693 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "neosmart/linqplus",
"max_stars_repo_path": "LinqPlus/SafeLookup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67694"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NeoSmart.Linq
{
public static class SafeLookup
{
/// <summary>
/// An exception-safe alternative to IEnumerable.First() for non-nullable types.
/// (Use <code>IEnumerable.FirstOr... | 3.252777 | f98b7db7a023484c2897e3c252131705 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67694 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fcapellino/net-core-clean-architecture",
"max_stars_repo_path": "MainProject/MainProject.Web/Views/Accounts/Login.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:67695"
} | starcoder | <filename>MainProject/MainProject.Web/Views/Accounts/Login.cshtml
@model MainProject.Infrastructure.Handlers.Accounts.UserLoginRequestHandler.UserLoginRequest
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />... | 1.926453 | 349e8209002d064f5c2deaac2f61f994 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67695 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "anavarro9731/datastore",
"max_stars_repo_path": "src/DataStore.Tests/Tests/IDocumentRepository/Initialise/WhenAccessingTheDatabase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67696"
} | starcoder | namespace DataStore.Tests.Tests.IDocumentRepository.Initialise
{
using System.Linq;
using global::DataStore.Interfaces;
using global::DataStore.Tests.Models;
using global::DataStore.Tests.Tests.TestHarness;
using Xunit;
public class WhenAccessingTheDatabase
{
private readonly ITestH... | 2.27142 | 82bbea77887dcd139aaf3ca118dfa068 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67696 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "automotivelabs/ComputeModule",
"max_stars_repo_path": "src/Converters/ConvertWebApp/ConvertWebApp/Pages/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:67697"
} | starcoder | @using ConvertWebApp
@namespace ConvertWebApp.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.246248 | 2db0d1c95a5c8c330cb5aad24a5402c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67697 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "marmegh/sarif-pattern-matcher",
"max_stars_repo_path": "Src/Plugins/Tests.Security/Validators/SEC101_046.DiscordApiCredentialsValidatorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67698"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Text;
using FluentAssertions;
using Microsoft.CodeAnalysis.Sarif.PatternMatch... | 2.038977 | 974bbc24c57c5c7434037af7eb3ba162 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67698 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "lbugnion/GitHubHelper",
"max_stars_repo_path": "src/GitHubHelper/Model/UpdateReferenceInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67699"
} | starcoder | using Newtonsoft.Json;
namespace GitHubHelper.Model
{
public class UpdateReferenceInfo : ShaInfo
{
[JsonProperty("force")]
public bool Force => true;
public UpdateReferenceInfo(string sha)
{
Sha = sha;
}
}
} | 2.157513 | b6850e9442f76b85de273d76e3f9e7ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67699 | {
"extension": "c-sharp",
"max_stars_count": "110.0",
"max_stars_repo_name": "FubarDevelopment/restsharp.portable",
"max_stars_repo_path": "src/FubarCoder.RestSharp.Portable.OAuth1/Extensions/TimeExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67700"
} | starcoder | <reponame>FubarDevelopment/restsharp.portable
#region License
// Copyright 2010 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//... | 1.953631 | c99ccefd8bdcc5f702c9714471d4326c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67700 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "seanbarlow/green-garden",
"max_stars_repo_path": "green-garden-server/Models/Command.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67701"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace green_garden_server.Models
{
public class Command : BaseModel
{
public int DeviceId { get; set; }
public Device Device { get;set; }
public string SensorType { get; set; }
... | 1.934494 | d24c47fe3f1b836e4b148d054795a34e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67701 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jesusguerecab/training-code",
"max_stars_repo_path": "p0_project/PizzaBox.Storing/Repositories/PizzaRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67702"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using PizzaBox.Domain.Models;
using PizzaBox.Storing.Databases;
namespace PizzaBox.Storing.Repositories
{
public class PizzaRepository
{
private static readonly PizzaBoxDbContext _db = new Pi... | 2.849372 | aa23f525a40fd5ed5cf5a49e0cbfdd7f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67702 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "simeeon/PlayersBay",
"max_stars_repo_path": "src/Services/PlayersBay.Services.Data/Models/Transfers/TransferViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67703"
} | starcoder | namespace PlayersBay.Services.Data.Models.Transfers
{
using System;
using PlayersBay.Data.Models.Enums;
public class TransferViewModel
{
public int Id { get; set; }
public string Username { get; set; }
public string UserId { get; set; }
public decimal Amount { get; ... | 1.872536 | 02691cdfe0cede3cfec247987af67733 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67703 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YannZeRookie/worldsim-unity",
"max_stars_repo_path": "Assets/UI/ResourceSpriteLister.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67704"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using WorldSim.API;
public class ResourceSpriteLister : MonoBehaviour
{
[SerializeField]
private List<BlockAttribute> ResourceBlocks = new List<BlockAttribute>();
public BlockAttribute GetResourceBlock(IRe... | 2.236106 | 3afded3cb9a63c70cafafdfb72b87497 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67704 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emmauss/Ngco",
"max_stars_repo_path": "Ngco/Color.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67705"
} | starcoder | <filename>Ngco/Color.cs
using SkiaSharp;
namespace Ngco {
public class Color {
public static Color White = new Color(255, 255, 255);
public static Color Black = new Color(0, 0, 0);
public static Color Red = new Color(255, 0, 0);
public static Color Green = new Color(0, 255, 0);
public static Color Blue = ne... | 2.952011 | d3916445ea4a7ae30d7383c32c4fb952 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67705 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cuqmbr/ticket-office",
"max_stars_repo_path": "TicketOffice/Models/Route.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67706"
} | starcoder | using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc.ModelBinding;
namespace TicketOffice.Models;
public class Route
{
[Key]
[BindRequired]
public int Id { get; set; }
[Required(ErrorMessage = "Поле має бути заповненим")]
[Display(Name = "Номер")]
[Range(1, 9999)]
p... | 2.610037 | 17fe2202314464191d27bfd381cb4240 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67706 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MihaMarkic/Cake.ImageMagick",
"max_stars_repo_path": "src/Cake.ImageMagick/Convert/ImageMagick.Aliases.Rm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67707"
} | starcoder | using Cake.Core;
using Cake.Core.Annotations;
using Cake.Core.IO;
using System;
namespace Cake.ImageMagick
{
partial class ImageMagickAliases
{
/// <summary>
/// Converts an array of <paramref name="files"/> using default settings.
/// </summary>
/// <param name="context"></par... | 2.363752 | 43b1b9e5237406be2c21132f4ec6e449 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67707 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "booooooogdan/android-wtversus",
"max_stars_repo_path": "AndroidWTVersus/XmlHandler/ArrayOfTanks.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67708"
} | starcoder | using AndroidWTVersus.Models;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace AndroidWTVersus.XmlHandler
{
[XmlRoot(ElementName = "ArrayOfTanks", Namespace = "http://schemas.datacontract.org/2004/07/VehicleDataAccess")]
public class ArrayOfTanks
{
[XmlElement(ElementNam... | 1.950866 | d3fe42cb0c856e76a6f471f4c27e3079 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67708 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wint100/TLAlarmCreator",
"max_stars_repo_path": "TL and Alarm Creator/DataSet1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67709"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 2.126402 | 7879844960dd47abcde0498b7d0bfb1d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67709 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mirahajek/AnimalRegister",
"max_stars_repo_path": "AnimalRegister/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67710"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 2.54824 | 654240b4aabf7ced1bd553eff490948e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67710 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "titan-fx/AspNetCore",
"max_stars_repo_path": "TitanFx.AspNetCore.Mvc.Templating/Utilities/HtmlAttributesUtilities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67711"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using TitanFx.AspNetCore.Mvc.Templating.Constants;
namespace TitanFx.AspNetCore.Mvc.Templating.Utilities
{
/// <summary>
/// A set of utility functions for interac... | 2.298894 | 5f5b10597a8ae48a6f052742891eb394 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67711 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "milesibastos/SpecsFor",
"max_stars_repo_path": "SpecsFor.Mvc/ElementNotFoundException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67712"
} | starcoder | using System;
namespace SpecsFor.Mvc
{
public class ElementNotFoundException : ApplicationException
{
public ElementNotFoundException(string selector, string message)
: base(message + " Selector used: " + selector)
{
}
}
} | 2.062863 | 01d4eb0975b318ce0036a3914e9b101a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67712 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Carayaca/LordsMobileHtmlParser",
"max_stars_repo_path": "LordsMobile.Core/Request.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67713"
} | starcoder | <gh_stars>0
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using HtmlAgilityPack;
namespace LordsMobile.Core
{
/// <summary>
/// Http request class.
/// </summary>
public static class Request
{
private const string DefaultUserAgent = "Mozilla/5.0 (Windows NT ... | 2.416369 | b4a37ed5cb8552741199fae9ec200e08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67713 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "TheSylence/Twice",
"max_stars_repo_path": "Twice/Behaviors/BehaviorBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67714"
} | starcoder | <reponame>TheSylence/Twice
using System;
using System.Windows;
using System.Windows.Interactivity;
namespace Twice.Behaviors
{
/// <summary>
/// Base class for a behavior that handles proper unloading.
/// </summary>
/// <typeparam name="T"></typeparam>
public abstract class BehaviorBase<T> : Behavior<T> whe... | 2.509345 | e2f219fbcd2e2b7cc3d2083bd5236160 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67714 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "New-folder-abc/NEW-DEVICE",
"max_stars_repo_path": "NEW DEVICE/NEW DEVICE/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67715"
} | starcoder | namespace NEW_DEVICE
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param n... | 2.133497 | 1e2abe244171792bffc411f3f96b7565 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67715 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "GuokeNo1/ModemHacker",
"max_stars_repo_path": "ModemBase/ModemBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67716"
} | starcoder | <reponame>GuokeNo1/ModemHacker
using System;
using System.Collections.Generic;
using System.Text;
namespace LibModemBase
{
public abstract class ModemBase
{
/// <summary>
/// 模板类
/// </summary>
protected string username = "useradmin";
protected string passwd;
pr... | 2.042741 | a54addbba214486e021dec45de963282 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67716 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "anilibria/anilibria-win",
"max_stars_repo_path": "src/Anilibria/Services/PresentationClasses/AuthorizationModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67717"
} | starcoder | <filename>src/Anilibria/Services/PresentationClasses/AuthorizationModel.cs
namespace Anilibria.Services.PresentationClasses {
/// <summary>
/// Authorization model.
/// </summary>
public class AuthorizationModel {
public string Err
{
get;
set;
}
public string Key
{
get;
set;
}
public ... | 2.006923 | 531c0beb174e3d7e25f0f5b5ead4f0be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67717 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wojtpl2/NativeMemorySample",
"max_stars_repo_path": "NativeMemorySample/IntroBitmap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67718"
} | starcoder | using System.Drawing;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Diagnostics.Windows.Configs;
namespace NativeMemorySample
{
[ShortRunJob]
[NativeMemoryProfiler]
[MemoryDiagnoser]
public class IntroBitmap
{
[Benchmark]
public void BitmapWithLeaks()
{
... | 2.512271 | 7c8b3309876a0a5fd5e1d7138b382180 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67718 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "broken240/dotnet-api-docs",
"max_stars_repo_path": "samples/snippets/csharp/VS_Snippets_CLR/CodeCatchClauseCollectionExample/CS/class1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67719"
} | starcoder | using System;
using System.CodeDom;
using System.CodeDom.Compiler;
namespace CodeCatchClauseCollectionExample
{
public class Class1
{
public Class1()
{
}
// CodeCatchClauseCollection
public void CodeCatchClauseCollectionExample()
{
//<Snippet1>
... | 3.127947 | 1558385b10a39b0dcbef8177e4d7f8e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67719 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "larryeedwards/openyan",
"max_stars_repo_path": "Assembly-CSharp/Pathfinding/Examples/RVOAgentPlacer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67720"
} | starcoder | using System;
using System.Collections;
using UnityEngine;
namespace Pathfinding.Examples
{
// Token: <KEY> RID: 127
[HelpURL("http://arongranberg.com/astar/docs/class_pathfinding_1_1_examples_1_1_r_v_o_agent_placer.php")]
public class RVOAgentPlacer : MonoBehaviour
{
// Token: 0x06000564 RID: 1380 RVA: 0x00020... | 2.248438 | 34b0d41aabb9267d5d18f0db00135963 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67720 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Regenhardt/SharpExchange",
"max_stars_repo_path": "SharpExchange/Chat/Actions/ChatAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67721"
} | starcoder | using System;
using System.Collections.Generic;
using System.Net;
using RestSharp;
namespace SharpExchange.Chat.Actions
{
public abstract class ChatAction
{
internal Action<object> CallBack { get; set; }
internal string Host { get; set; }
internal int RoomId { get; set; }
internal abstract Method Request... | 1.953424 | 60a82f6820e7686df21a39dddaa38135 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67721 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EvanQuan/BigFloat",
"max_stars_repo_path": "BigFloatingPoint.FunctionalTests/UsingInstanceMethods/WhenNegating.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67722"
} | starcoder | <reponame>EvanQuan/BigFloat
using BigFloatingPoint.FunctionalTests.TestBases;
using BigFloatingPoint.Implementations;
namespace BigFloatingPoint.FunctionalTests.UsingInstanceMethods
{
public class WhenNegating : NegateTest
{
protected override BigFloat Negate(BigFloat value)
{
retu... | 1.43797 | 66b72f5bbb135af86be571b772f78f0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67722 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arindamdeyofficial/RationcardWindowsApp",
"max_stars_repo_path": "RationCard/RationCard/Model/RationCardDetail.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67723"
} | starcoder | using RationCard.Interface;
namespace RationCard.Model
{
public class RationCardDetail: IRationCard
{
public int SlNo { get; set; }
public string RationCard_Id { get; set; }
public string Number { get; set; }
public string Card_Category_Id { get; set; }
public... | 1.455349 | f34324a9037b84b17479b5aa6eeaa196 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67723 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "2011-nov02-net/david-project0",
"max_stars_repo_path": "Store/Store.Library/Sorting/NonSorter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67724"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Store.Library.Sorting
{
public class NonSorter : ISorter
{
public IEnumerable<Order> SortOrders(IEnumerable<Order> orders)
{
return orders.ToList();
}
}
}
| 2.1663 | 852583c0f829503e663f5f104c2688e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67724 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexs0ff/remboard",
"max_stars_repo_path": "Server/Romontinka.Server.WebSite/Metadata/AjaxComboBoxAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67725"
} | starcoder | <reponame>alexs0ff/remboard<filename>Server/Romontinka.Server.WebSite/Metadata/AjaxComboBoxAttribute.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Romontinka.Server.WebSite.Helpers;
using Romontinka.Server.WebSite.Models.Controls;
namespace Romonti... | 2.443887 | 4d807efb72540f2f136e5eb6b79eea64 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67725 | {
"extension": "c-sharp",
"max_stars_count": "1421.0",
"max_stars_repo_name": "bardic/strangeioc",
"max_stars_repo_path": "StrangeIoC/examples/Assets/scripts/signalsproject/signal/ScoreChangedSignal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67726"
} | starcoder | /// Signal fired when the score changes
///
/// string The new score (already formatted)
using System;
using strange.extensions.signal.impl;
namespace strange.examples.signals
{
public class ScoreChangedSignal : Signal<string>
{
}
}
| 1.99709 | 6016ea66b2a59c1ca632df8e435f48d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67726 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "120388602/AveryLabelPrintService",
"max_stars_repo_path": "ADPrintApp/ViewModels/ImportDataViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67727"
} | starcoder | <reponame>120388602/AveryLabelPrintService<gh_stars>1-10
using ADPrintApp.Models;
using Prism.Commands;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Text;
namespace ADPrintApp.ViewModels
{
public class ImportDataViewModel : BindableBase, IDisposable
{
public DelegateC... | 2.027782 | fd308b35c3ed35c7cf0abc35ef969c46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67727 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rneatherway/mathnet-numerics",
"max_stars_repo_path": "src/Numerics/SpecialFunctions/Stability.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67728"
} | starcoder | <gh_stars>0
// <copyright file="Stability.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009-2010 Math.NET
//
// Permission is hereby granted, free of c... | 2.933424 | 777b89297a7a000e82df0290c2a879d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67728 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pageflex/Teamcity.DocumentReleaseNotes",
"max_stars_repo_path": "Source/Teamcity.DocumentReleaseNotes.Business/DocumentFormatterFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67729"
} | starcoder | <gh_stars>0
using Teamcity.DocumentReleaseNotes.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
namespace Teamcity.DocumentReleaseNotes.Business
{
public static class DocumentFormatterFactory
{
public static T Create<T>() where T: IDocumentFormatter, new()
... | 1.194772 | 3590a4938de553c748f66a37a17a1238 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67729 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "georgievGV/lvl1",
"max_stars_repo_path": "C# Advanced/C# Advanced Exam - 26 October 2019/3. Rabbits/Cage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67730"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Rabbits
{
public class Cage
{
private List<Rabbit> data;
public Cage(string name, int capacity)
{
Name = name;
Capacity = capacity;
data = new List<Rabbit>();
... | 3.559129 | de9eda223a86fe810691a253de9f2b85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67730 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MattHoneycutt/HeroicSupport",
"max_stars_repo_path": "HeroicSupport.UnitTests/Web/WebSpecSetup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67731"
} | starcoder | <filename>HeroicSupport.UnitTests/Web/WebSpecSetup.cs
using System.Web.Routing;
using HeroicSupport.Web.App_Start;
using HeroicSupport.Web.Infrastructure.Mapping;
using NUnit.Framework;
namespace HeroicSupport.UnitTests.Web
{
[SetUpFixture]
public class WebSpecSetup
{
[SetUp]
public void Init()
{... | 1.596259 | 5f3fccc04056d5df38b29a17c85f7a46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67731 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Skippeh/Oxide.Ext.ServerManager",
"max_stars_repo_path": "Oxide.PluginWebApi/Modules/BaseModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67732"
} | starcoder | <reponame>Skippeh/Oxide.Ext.ServerManager
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Nancy;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using Oxide.PluginWebApi.Api;
using Oxide.Plug... | 2.16376 | d9ac03f27c42acbae8a8e8f81bf0682f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67732 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CosimoDeMedici/Duomo",
"max_stars_repo_path": "Source/Common/Applications/Gunther/Gunther.Lib/Code/MOVE/Events/ScheduledTimeSpecificationListChangedEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67733"
} | starcoder | using System;
namespace Duomo.Common.Gunther.Lib
{
public class ScheduledTimeSpecificationListChangedEventArgs : EventArgs
{
public ScheduledTimeSpecification ScheduledTimeSpecification { get; protected set; }
public ScheduledTimeSpecificationListChangedEventArgs(ScheduledTimeSpec... | 1.893921 | 91784ff93db21a838b3ede4ab680b12b |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.