added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837612 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "ASOS/SimpleEventStore",
"max_stars_repo_path": "src/SimpleEventStore/SimpleEventStore.CosmosDb.Tests/TestConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156832"
} | starcoder | namespace SimpleEventStore.CosmosDb.Tests
{
internal static class TestConstants
{
internal const int RequestUnits = 700;
}
} | 1.085334 | 390bb61231bbe734b228b796e49eaf7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837613 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "JohnDebono/orleans",
"max_stars_repo_path": "Samples/3.0/Blazor/Sample.ClientSide/Services/ApiServiceOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156833"
} | starcoder | using System;
namespace Sample.ClientSide.Services
{
public class ApiServiceOptions
{
public Uri BaseAddress { get; set; }
}
} | 1.383191 | 87c52cc43c455cbedf5bfac91c0b009e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837614 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "r2d2m/EntitiesBT",
"max_stars_repo_path": "Packages/essential/Dependencies/Attributes/SerializeReferenceButtonAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156834"
} | starcoder | using System;
namespace EntitiesBT.Attributes
{
[AttributeUsage(AttributeTargets.Field)]
public class SerializeReferenceButtonAttribute : MultiPropertyAttribute
{
public SerializeReferenceButtonAttribute() => order = int.MaxValue;
}
}
| 1.824754 | 76daf1cfdbe17b9c2392bc07804dfd6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837615 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexanderCowley/SFG2_Proj3",
"max_stars_repo_path": "Assets/_Project/_Game/Scripts/FMS_System/States/CombatStates/TurnState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156835"
} | starcoder | using UnityEngine.UI;
using UnityEngine;
using System.Collections.Generic;
using System.Collections;
public class TurnState : CombatState
{
[SerializeField] Text _stateText;
int _turnCount = 0;
GameObject _turnTargetController;
CombatSelection _combatSelection;
ActionBase[] _actions;
public... | 2.284477 | 4c90afbf06cc375252410b11ddbd3055 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837616 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "shashishailaj/Azure-IoT-Security-Agent-CS",
"max_stars_repo_path": "src/Modules/Security/Contracts/Events/Payloads/ConnectionsPayload.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156836"
} | starcoder | <filename>src/Modules/Security/Contracts/Events/Payloads/ConnectionsPayload.cs
// <copyright file="ConnectionsPayload.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
using Microsoft.Azure.IoT.Contracts.Events.Payloads;
using Newtonsoft.Json;
using Newtonsoft.Json.... | 2.389626 | 6225d0b624067d006f24e9b82f4820e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837617 | {
"extension": "c-sharp",
"max_stars_count": "217.0",
"max_stars_repo_name": "KINGGUOKUN/SystemManagement",
"max_stars_repo_path": "SystemManagement/Controllers/DeptController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156837"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using SystemManagement.Dto;
using SystemManagement.Service.Contract;
namespace SystemManagement.Controllers
{
[Route("api/[controller]")]
[ApiContro... | 2.108007 | c748c526b6cfc2b810b27a037e540769 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837618 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Binshop/apple-pay-demo",
"max_stars_repo_path": "src/ApplicationCore/Repositories/EfRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156838"
} | starcoder | <gh_stars>0
// Copyright (c) Binshop and Contributors. All rights reserved.
// Licensed under the MIT License
using Ardalis.Specification;
using Ardalis.Specification.EntityFrameworkCore;
using Binshop.Data.Catalog;
using Binshop.Models.Abstractions;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generi... | 2.342019 | cc7b81542bc9502e74f8ffc3eb9ae208 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837619 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "git-custom-code/Test-BehaviorDrivenDevelopment",
"max_stars_repo_path": "src/Test.BehaviorDrivenDevelopment.Tests/Assert/UintInverseValidatorTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156839"
} | starcoder | namespace CustomCode.Test.BehaviorDrivenDevelopment.Tests
{
using System;
using Xunit;
using Xunit.Sdk;
/// <summary>
/// Test cases for the <see cref="UintInverseValidator"/> type.
/// </summary>
[UnitTest]
[Category("Assert", "UIntValidation")]
public sealed class UintInverseVali... | 2.822242 | e51b8d6d121070d9e1f7c9fd2fd18315 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837620 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "marcodafonseca/Dynamo.ORM",
"max_stars_repo_path": "Dynamo.ORM/Converters/AttributeValueConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156840"
} | starcoder | <filename>Dynamo.ORM/Converters/AttributeValueConverter.cs
using Amazon.DynamoDBv2.Model;
using Dynamo.ORM.Constants;
using Dynamo.ORM.Extensions;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
namespace Dynamo.ORM.Converters
{... | 2.4618 | bfd3505c138bcfb6e36a6be3a19f6bcf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837621 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Luxoft/BSSFramework",
"max_stars_repo_path": "src/_DomainDriven/Framework.DomainDriven.ServiceModelGenerator/Configuration/Query/QueryGeneratorConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156841"
} | starcoder | using System;
using System.Collections.Generic;
using Framework.Core;
using Framework.DomainDriven.BLL;
using Framework.Transfering;
namespace Framework.DomainDriven.ServiceModelGenerator
{
public abstract class QueryGeneratorConfigurationBase<TEnvironment> : GeneratorConfigurationBase<TEnvironment>
... | 1.971414 | b233dd54ef37b37c70c53034788d7db1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837622 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "labs7in0/QcloudSharp",
"max_stars_repo_path": "src/QcloudSharp/QcloudClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156842"
} | starcoder | using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Reflection;
using System.Security.Cryptography;
using System.Text;
namespace QcloudSharp
{
/// <summary>
///
/// </summary>
public class QcloudClient : Dynami... | 2.67607 | 4d3d55d51be129baffc34fb83f222db7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837623 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Carbonfrost/f-hxl",
"max_stars_repo_path": "dotnet/test/Carbonfrost.UnitTests.Hxl/ValueDomValueTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156843"
} | starcoder | //
// - ValueDomValueTests.cs -
//
// Copyright 2014 Carbonfrost Systems, Inc. (http://carbonfrost.com)
//
// 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/lic... | 1.861115 | 17b9e3bf8f3ae1bc380008d693beda48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837624 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DontCallMeShurley/Unity-DigitalLab",
"max_stars_repo_path": "Assets/_Project/Scripts/MicTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156844"
} | starcoder | <filename>Assets/_Project/Scripts/MicTest.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MicTest : MonoBehaviour
{
public AudioSource aud;
bool isHaveMicroPhone;
string device;
public Text text;
//Debug Text
public Text clipLengt... | 2.348294 | beef16f58a05a5a833b5c9f437f01ee4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837625 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rusky65/PdfFromForm",
"max_stars_repo_path": "PdfFromForm/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156845"
} | starcoder | using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media.Animation;
namespace PdfFromForm
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
List<Border> ... | 2.72686 | 81a4f0b55dcfae070e42eabe1410bfe8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837626 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SmolGlitterFox/GigGuideGenerator",
"max_stars_repo_path": "Gig Guide Generator/Gig Guide Generator/SupportingClasses/Gig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156846"
} | starcoder | <gh_stars>0
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gig_Guide_Generator.SupportingClasses
{
class Gig
{
[JsonProperty("end_time")]
public DateTime EndTime { get; set; }
[JsonPro... | 2.411508 | 23d0553ae9bcd0e8bd64ca14331ab67c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tiagor87/POO",
"max_stars_repo_path": "src/Api/Core/Domain/ProductAgg/Entities/Produto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156847"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using MediatR;
using Poo.Api.Core.Application.ProductAgg.Contracts;
using Poo.Api.Core.Domain.ProductAgg.Events;
using Poo.Api.Core.Domain.Shared;
namespace Poo.Api.Core.Domain.ProductAgg.Entities;
public class Produto : IAggrega... | 2.226764 | a8a94301ed56fcf4066ef7c7b5bf5102 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837628 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "amatukaze/ing",
"max_stars_repo_path": "src/Game/Sakuno.ING.Game.Provider/Models/Knowledge/KnownLeveling.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156848"
} | starcoder | namespace Sakuno.ING.Game.Models.Knowledge
{
public static class KnownLeveling
{
public static readonly int MaxShipLevel = 175;
public static readonly int MaxAdmiralLevel = 120;
private static readonly int[] shipExpTable =
{
0, 0, 100, 300, 600, 1000, 1500, 2100, 28... | 1.973401 | a0ff41bc743491ef142bf27e4ab044cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837629 | {
"extension": "c-sharp",
"max_stars_count": "310.0",
"max_stars_repo_name": "Web-Dev-Collaborative/Aspose.Words-for-.NET",
"max_stars_repo_path": "Plugins/Word/Aspose.Words Metadata Cleaner for Word Processing Documents/MetadataCleaner.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156849"
} | starcoder | <reponame>Web-Dev-Collaborative/Aspose.Words-for-.NET<filename>Plugins/Word/Aspose.Words Metadata Cleaner for Word Processing Documents/MetadataCleaner.Designer.cs
namespace Aspose.Words_MetadataCleaner
{
partial class MetadataCleaner
{
/// <summary>
/// Required designer variable.
/// ... | 1.984944 | 6fe7bb62175042286774a5bbe8d6bbd3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837630 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "brenpike/Chatter",
"max_stars_repo_path": "src/Chatter.MessageBrokers/src/Chatter.MessageBrokers/Reliability/Configuration/ReliabilityOptionsBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156850"
} | starcoder | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using Chatter.MessageBrokers.Reliability.Outbox;
namespace Chatter.MessageBrokers.Reliability.Configuration
{
public class ReliabilityOptionsBuilder
{
private bool _routeMessagesToOutbox = false;
... | 2.408658 | 82ca535c3f0721c54121f9882d67d9e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837631 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "ValueCreation/RoutePlanner",
"max_stars_repo_path": "Source/ArcLogisticsApp/Dialogs/MessageBoxExDlg.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156851"
} | starcoder | /*
| Version 10.1.84
| Copyright 2013 Esri
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law o... | 1.942738 | 2dbeb52a9ac27cedc062a72e7f72c863 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837632 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "myyangbin/AtkFrame",
"max_stars_repo_path": "Atk.WebCore/Data/DataSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156852"
} | starcoder | using System;
using System.Collections.Generic;
namespace Atk.DataPortal
{
/// <summary>
/// 数据访问设置
/// </summary>
public partial class DataSettings
{
/// <summary>
/// 设置的KEY
/// </summary>
public string SetName { get; set; }
/// <summary>
/// 数据库连... | 1.975952 | dea04d865e6b1f6dfb9167ad8d4d9178 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837633 | {
"extension": "c-sharp",
"max_stars_count": "79.0",
"max_stars_repo_name": "KIT-ISAS/iviz",
"max_stars_repo_path": "iviz_msgs_wrapper/RosRequestWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156853"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Iviz.Msgs;
using Buffer = Iviz.Msgs.Buffer;
using ISerializable = Iviz.Msgs.ISerializable;
namespace Iviz.MsgsWrapper
{
public abstract class RosRequestWrapper<TService, T, TResponse> : IRequest<TService, TResponse>, IDeseria... | 2.122206 | dab1fd475aa56e870fbb3d2d7353a2d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837634 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "silphid/silphid.unity",
"max_stars_repo_path": "Sources/Loadzup/Loaders/Bundles/BundleManifestLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156854"
} | starcoder | using System;
using UniRx;
using UnityEngine;
namespace Silphid.Loadzup.Bundles
{
public class BundleManifestLoader : IBundleManifestLoader
{
private readonly ILoader _innerLoader;
private const string ManifestAssetName = "AssetBundleManifest";
private IBundleManifest _bundleManifest;
... | 2.040811 | 32fae8af43813b7350e7839f3d4f27db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837635 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "Nethereum/Nethereum.eShop",
"max_stars_repo_path": "src/Nethereum.eShop/Infrastructure/Data/Config/EntityBuilderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156855"
} | starcoder | <gh_stars>10-100
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Nethereum.eShop.Infrastructure.Data.Config
{
public static class EntityBuilderExtensions
{
private const int Hash = 67;
private const int Address = 43;
private const i... | 2.334659 | dac7ef16a62355fa0c0ec6128adca1bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837636 | {
"extension": "c-sharp",
"max_stars_count": "2357.0",
"max_stars_repo_name": "102464/Bulk-Crap-Uninstaller",
"max_stars_repo_path": "source/KlocTools/IO/DismTools.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156856"
} | starcoder | /*
Copyright (c) 2017 <NAME> (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using Klocman.Native;
using Klocman.Tools;
namespace Klocman.IO
{
public static class D... | 2.589933 | 33ba446eee3e6ce165bdc1fb12b90cb9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837637 | {
"extension": "c-sharp",
"max_stars_count": "73.0",
"max_stars_repo_name": "404Lcc/Lcc",
"max_stars_repo_path": "Assets/Editor/Runtime/Core/OdinEditorWindow/EditorWindowBase/TagEditorWindowBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156857"
} | starcoder | using Sirenix.OdinInspector;
using UnityEditor;
using UnityEditorInternal;
using UnityEngine;
namespace LccEditor
{
public class TagEditorWindowBase : AEditorWindowBase
{
[PropertySpace(10)]
[HideLabel, DisplayAsString]
public string info = "标签工具";
[PropertySpace(10)]
[... | 2.274934 | 3762c93ee2ced73db950942ff50af8eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837638 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "uluhonolulu/fubumvc",
"max_stars_repo_path": "src/FubuMVC.Diagnostics.Tests/Notifications/NoOutputsNotificationPolicyTester.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156858"
} | starcoder | <filename>src/FubuMVC.Diagnostics.Tests/Notifications/NoOutputsNotificationPolicyTester.cs<gh_stars>1-10
using FubuCore;
using FubuMVC.Core;
using FubuMVC.Core.Continuations;
using FubuMVC.Core.Registration.Nodes;
using FubuMVC.Diagnostics.Core.Grids.Columns.Routes;
using FubuMVC.Diagnostics.Core.Grids.Filters.Ro... | 2.075304 | 47a5370707a97095ab78e96b0861e5b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837639 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "XakazukinX/YouTubeCommentGetSystem",
"max_stars_repo_path": "YouTubeCommentGetSystem/Assets/YouTubeCommentGetterScripts/ChannelAction/YouTubeChannelActionBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156859"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Youtube
{
public class YouTubeChannelActionBase : MonoBehaviour
{
public virtual void channelAction(Texture getTexture)
{
}
}
}
| 1.622446 | 8d12b6289682113d29ab57d3bda2da8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837640 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "livingston12/sistema-financiera",
"max_stars_repo_path": "SistemaImbrino/Controllers/Conciliacion Bancaria/ConciliacionBancariaController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156860"
} | starcoder | <gh_stars>0
using SistemaImbrino.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Mvc;
using static SistemaImbrino.Models.Parameters;
namespace SistemaImbrino.Controllers.Conciliacion_Bancaria
{
[Authorize(Roles = "conciliacion,admin")]
... | 2.007346 | f0e43ec520efdcf533b5dfe084ce48c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837641 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TorsteinUtne/FigmentAPI",
"max_stars_repo_path": "Views/Shared/_LoginPartial.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:156861"
} | starcoder | <filename>Views/Shared/_LoginPartial.cshtml
@using System.Security.Principal
@*<ul class="navbar-nav">
@if (User.Identity.IsAuthenticated)
{
<li class="nav-item">
<span class="navbar-text text-dark">Hello @User.Identity.Name!</span>
</li>
<li class="nav-item">
<... | 2.375968 | 0af06a161f3b295ede2a73495b7e9a6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837642 | {
"extension": "c-sharp",
"max_stars_count": "790.0",
"max_stars_repo_name": "workgroupengineering/Compare-Net-Objects",
"max_stars_repo_path": "Compare-NET-Objects/TypeComparers/DataTableComparer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156862"
} | starcoder | #if !NETSTANDARD
using System;
using System.Data;
using System.Globalization;
using System.Linq;
namespace KellermanSoftware.CompareNetObjects.TypeComparers
{
/// <summary>
/// Compare all rows in a data table
/// </summary>
public class DataTableComparer : BaseTypeComparer
{
... | 2.727206 | 306950860937b76e78bde5ef49aaf5a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837643 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tukzer/Seif",
"max_stars_repo_path": "Seif.Soa/InvokeResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156863"
} | starcoder | using System;
namespace Seif.Soa
{
public abstract class InvokeResult
{
protected InvokeResult()
{
}
protected InvokeResult(Exception exception)
{
Exception = exception;
}
public bool HasException
{
... | 2.473353 | 5d65365232a63f0c987041a119206d35 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837644 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndreiLucaci/MeseMe",
"max_stars_repo_path": "MeseMe.Communicator/MessageCommunicator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156864"
} | starcoder | using System;
using System.Net.Sockets;
using System.Threading.Tasks;
using MeseMe.Communicator.Builder;
using MeseMe.Communicator.Constants;
using MeseMe.Communicator.Helpers;
using MeseMe.Contracts.Interfaces.Models;
namespace MeseMe.Communicator
{
public class MessageCommunicator
{
public static async Task<IMe... | 2.633154 | f614d063e283ab7cf2b4e0dc9e0e6333 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837645 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "viniciuscs84/marvin",
"max_stars_repo_path": "AppCore/AppCore/Business/Archive.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156865"
} | starcoder | <gh_stars>1-10
using System;
namespace Marvin.AppCore.Business
{
public class Archive : Layers.Business<Entities.Archive>
{
public void SaveModel(Entities.Archive model, byte[] content, string fileProviderClass = null, string providerArgs = null)
{
if (!model.IsRecorded && model.Da... | 2.166227 | 2d5148dc126231b225d5ded9d563f1ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837646 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ViktorLazarov/SoftUniPractice-ProgBasics",
"max_stars_repo_path": "Training for Exam/27.Digits/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156866"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _27.Digits
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
char[] number = n.ToString().ToCharArray()... | 3.498205 | 7f69fa0473bd992aa4f7cd4730b8e742 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837647 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TataDvd/Git",
"max_stars_repo_path": "2012/Tempo2012/Tempo2012.UI.WPF/MvvmDemoApp/DemoApp/Model/Customer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156867"
} | starcoder | using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Text.RegularExpressions;
using DemoApp.Properties;
namespace DemoApp.Model
{
/// <summary>
/// Represents a customer of a company. This class
/// has built-in validation logic. It is wrapped
/// by the CustomerViewModel... | 3.015443 | 01e537286ab7234b39359555509eb827 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837648 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "l3kov9/AlgorithmsAndDataStructures",
"max_stars_repo_path": "Trees/Demo/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156868"
} | starcoder | using System;
using System.Collections.Generic;
namespace Demo
{
public class Startup
{
public static void Main()
{
var tree = new Tree<int>(4, new Tree<int>(9, new Tree<int>(6), new Tree<int>(5)), new Tree<int>(14)
, new Tree<int>(15, new Tree<int>(8)));
... | 3.420101 | 8618d9e649c281e8ff5d6fc1e2c022d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837649 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YTWANGP/azure-iiot-opc-vault-service",
"max_stars_repo_path": "app/XamarinClient/XamarinClient/Profile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156869"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace XamarinClient
{
public class Profile
{
public string UniqueId { get; set; }
public string GivenName { get; set; }
public string FamilyName { get; set; }
public string DisplayableId { get; set; }
}
... | 1.809437 | 78e0130bbbf83ea309e669107cfe060f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837650 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "petrj/SledovaniTVLive",
"max_stars_repo_path": "OnlineTelevizor/OnlineTelevizor.Android/OnlineTelevizorBroadcastReceiver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156870"
} | starcoder | <filename>OnlineTelevizor/OnlineTelevizor.Android/OnlineTelevizorBroadcastReceiver.cs<gh_stars>1-10
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using OnlineTelevizor.ViewModels;
using OnlineTelevizor.Views;
using System;
using System.Col... | 2.037038 | 99ba96e8ee438f1a55819000cf39ba26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837651 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "smhinsey/Fulcrum",
"max_stars_repo_path": "src/Fulcrum/Core/ICommandPipeline.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156871"
} | starcoder | <reponame>smhinsey/Fulcrum
using System;
using System.Collections.Generic;
using Fulcrum.Runtime.CommandPipeline;
namespace Fulcrum.Core
{
/// <summary>
/// A command pipeline implementation is responsible for
/// </summary>
public interface ICommandPipeline
{
/// <summary>
/// Returns the current public... | 2.154297 | aa94b0cfec2749c1ccb2f5b1c531a884 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Guruumeditation/NikoSDK",
"max_stars_repo_path": "Net.ArcanaStudio.NikoSDK.Shared/Interfaces/IAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156872"
} | starcoder | <gh_stars>0
namespace Net.ArcanaStudio.NikoSDK.Interfaces
{
public interface IAction
{
int Id { get; }
string Name { get; }
int Type { get; }
int LocationId { get; }
int Value { get; }
}
}
| 1.01673 | cdb19d7ed7feff72a709d5be184b8b71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837653 | {
"extension": "c-sharp",
"max_stars_count": "108.0",
"max_stars_repo_name": "mattcowen/TestStack.Seleno",
"max_stars_repo_path": "src/TestStack.Seleno.Tests/Configuration/SelenoApplication/SelenoApplicationSpecification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156873"
} | starcoder | using System;
using NSubstitute;
using OpenQA.Selenium;
using TestStack.Seleno.Configuration.Contracts;
using TestStack.Seleno.Tests.Specify;
namespace TestStack.Seleno.Tests.Configuration.SelenoApplication
{
abstract class SelenoApplicationSpecification : SpecificationFor<Seleno.Configuration.SelenoAppli... | 1.818343 | b140e691c5c3439422e87963a5acfd7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837654 | {
"extension": "c-sharp",
"max_stars_count": "1152.0",
"max_stars_repo_name": "Therzok/MSBuildStructuredLog",
"max_stars_repo_path": "src/StructuredLogger/ObjectModel/IHasLineNumber.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156874"
} | starcoder | namespace Microsoft.Build.Logging.StructuredLogger
{
public interface IHasLineNumber
{
int? LineNumber { get; }
}
}
| 1.707489 | a17f74ee16b06e513189c5dc2f7dcda3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837655 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bsmr/WolvenKit-CyberCAT",
"max_stars_repo_path": "CyberCAT.Core/Enums/Dumped Enums/worldProxyMeshOutputType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156875"
} | starcoder | namespace CyberCAT.Core.DumpedEnums
{
public enum worldProxyMeshOutputType
{
RayScan = 0,
SurfaceReconstruction = 1,
LegacyFromVoxels = 2,
FromCustomMesh = 3,
FromBoxes = 4,
FromCollision = 5,
FromConvexHull = 6,
BoundsCombine = 7,
BlobCrowd = 8,
KeepCurrent = 127
}
}
| 0.943196 | 924febebcdb49cce2ef43c25207e79a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837656 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Jonarw/filter",
"max_stars_repo_path": "FilterDemo/SignalFactory/AvailableSignals.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156876"
} | starcoder | <gh_stars>1-10
using System.ComponentModel;
namespace FilterTest.SignalFactory
{
public enum AvailableSignals
{
[Description("sine wave")] Sine,
[Description("sinc pulse")] Sinc,
[Description("white noise")] WhiteNoise,
[Description("ideal highpass")] IdealHighpass,
[D... | 2.022855 | 743e5c43d2996894ff3667b0db1d989d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837657 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "VerifyTests/Microsoft.Logging",
"max_stars_repo_path": "src/Verify.MicrosoftLogging/VerifyMicrosoftLogging.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156877"
} | starcoder | namespace VerifyTests;
public static class VerifyMicrosoftLogging
{
public static void Enable()
{
VerifierSettings.RegisterJsonAppender(_ =>
{
if (!LoggerRecording.TryFinishRecording(out var entries))
{
return null;
}
return new(... | 1.447731 | f3ac03a9826fa6f8f0053354d5a8fe27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837658 | {
"extension": "c-sharp",
"max_stars_count": "234.0",
"max_stars_repo_name": "Drul1337/DigitalRune",
"max_stars_repo_path": "Source/DigitalRune.Graphics/Effects/Setup/DictionaryEffectInterpreter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156878"
} | starcoder | // DigitalRune Engine - Copyright (C) DigitalRune GmbH
// This file is subject to the terms and conditions defined in
// file 'LICENSE.TXT', which is part of this source code package.
using System;
using System.Collections.Generic;
using DigitalRune.Text;
using Microsoft.Xna.Framework.Graphics;
namespace DigitalRun... | 3.00577 | 6ddc6cfed2ad1cc5f68fbacd7571c078 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837659 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stevehayles/Shom.S57",
"max_stars_repo_path": "Shom.S57/S57ExpectedInput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156879"
} | starcoder | <reponame>stevehayles/Shom.S57
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
namespace S57
{
public class S57ExpectedInput
{
[JsonProperty("Code")]
public uint Code { get; private set; }
... | 2.630045 | b2a9f18005d3697246b928cd9525c69b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837660 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "FaberSanZ/RenderingDX12",
"max_stars_repo_path": "Src/Renderer/Settings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156880"
} | starcoder | // Copyright(c) 2019-2020 <NAME>.All Rights Reserved.
/*=============================================================================
Settings.cs
=============================================================================*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Renderer
{
... | 1.682673 | 3f8be67c04a3fc79750f7b55a34a2c2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837661 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alex-coupe/RecipesApp",
"max_stars_repo_path": "Migrations/20200501195752_add-tags.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156881"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
namespace Backend.Migrations
{
public partial class addtags : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Tags",
table: "Recipe... | 1.849793 | b16e9edcd6a8831fc5a416859ff4bfb3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837662 | {
"extension": "c-sharp",
"max_stars_count": "166.0",
"max_stars_repo_name": "Raytwo/VGAudio",
"max_stars_repo_path": "src/VGAudio/Codecs/Atrac9/BandExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156882"
} | starcoder | using System;
using static VGAudio.Codecs.Atrac9.Tables;
namespace VGAudio.Codecs.Atrac9
{
internal static class BandExtension
{
public static void ApplyBandExtension(Block block)
{
if (!block.BandExtensionEnabled || !block.HasExtensionData) return;
foreach (Channel ch... | 2.135427 | d86d06e6cef05657cdfccae05ca41e7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837663 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TakuKobayashi/dotnet-env",
"max_stars_repo_path": "Unity/Assets/Examples/Scripts/DotenvSample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156883"
} | starcoder | <gh_stars>1-10
using System;
using UnityEngine;
using UnityEngine.UI;
namespace UnityDotenv
{
public class DotenvSample : MonoBehaviour
{
[SerializeField] private Text valueText;
// Start is called before the first frame update
void Start()
{
valueText... | 1.811553 | 44b4b388024f1f2505c35fa4d916b298 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837664 | {
"extension": "c-sharp",
"max_stars_count": "3640.0",
"max_stars_repo_name": "v5chn/SqlSugar",
"max_stars_repo_path": "Src/Asp.Net/SqlServerTest/UnitTest/Models/TB_AdminUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156884"
} | starcoder | using SqlSugar;
using System;
namespace OrmTest
{
/// <summary>
/// 后台用户信息表
/// </summary>
public class TB_AdminUser
{
/// <summary>
/// 后台用户信息表
/// </summary>
public TB_AdminUser()
{
}
/// <summary>
/// 后台用户信息表
/// </summar... | 2.510292 | 04fc324b768091d534eab35a9db4ee67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837665 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bkoopman/SDL-Tridion-Template-Tools",
"max_stars_repo_path": "Tridion Standard Templates/TridionTemplates/GetArticleTopics.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156885"
} | starcoder | <filename>Tridion Standard Templates/TridionTemplates/GetArticleTopics.cs
using Tridion.ContentManager.ContentManagement;
using Tridion.ContentManager.ContentManagement.Fields;
using Tridion.ContentManager.Templating;
using Tridion.ContentManager.Templating.Assembly;
namespace TridionTemplates
{
public class Get... | 2.583733 | 2868f6ddbdab0d38a3562850b6cb9c3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837666 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khayreddinebiada/Code-HC-Prototype-Example",
"max_stars_repo_path": "Characters/Agent/Brain/AgentBrainParameters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156886"
} | starcoder | <gh_stars>0
using UnityEngine;
namespace Main
{
public struct AgentBrainParameters
{
public Vector3 ballPosition;
public Vector3 agentPosition;
public float lastTimeBlowed;
public AgentBrainParameters(Vector3 agentPosition, Vector3 ballPosition, float lastTimeBlowed)
{... | 1.748843 | 67623d2e9f248d9c4a2d2a83fd1e8e53 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837667 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "paulushub/SandAssists",
"max_stars_repo_path": "Main/Samples/Helpers/SampleLibraryVersion/PointCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156887"
} | starcoder | <filename>Main/Samples/Helpers/SampleLibraryVersion/PointCollection.cs
using System;
using System.Text;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace TestLibrary
{
/// <summary>
/// A collection of the <see cref="Point"/> objects.
/// </summary>
/// <typep... | 2.9796 | 9955c8bcd3d185fe26cb45f4d188b514 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837668 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Ed-Fi-Exchange-OSS/Ed-Fi-SampleDataGenerator",
"max_stars_repo_path": "src/EdFi.SampleDataGenerator.Console/Entities/Csv/EducationOrganization/Course.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156888"
} | starcoder | <filename>src/EdFi.SampleDataGenerator.Console/Entities/Csv/EducationOrganization/Course.cs
using CsvHelper.Configuration;
using System.Collections.Generic;
namespace EdFi.SampleDataGenerator.Console.Entities.Csv.EducationOrganization
{
public class Course
{
public string Id { get; set; }
publi... | 2.446086 | 2e2c61d006977ed6d6c5421471c04a3b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837669 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "SharpKit/SharpKit-SDK",
"max_stars_repo_path": "DefGenerators/ExtJs4.Generator/CodeModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156889"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SharpKit.ExtJs4.Generator
{
class Class : Element
{
public Class()
{
Members = new List<Element>();
GenericArguments = new List<Class>();
Interfaces = new List<Cl... | 2.447717 | 79c584835cb384a24bcf3fa933e6c867 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837670 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "henricj/phonesm",
"max_stars_repo_path": "Source/Libraries/SM.Media/Content/ContentServiceFactoryBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156890"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="ContentServiceFactoryBase.cs" company="<NAME>">
// Copyright (c) 2012-2016.
// <author><NAME></author>
// </copyright>
// -----------------------------------------------------------------------
// Copyright (c) 2012-2016 ... | 2.073553 | ad2008ff19cd2a06f59bc828ecc41599 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837671 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pop-adrian/recipes",
"max_stars_repo_path": "api/WebApplication1/WebApplication1/Models/RecipeIngredient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156891"
} | starcoder | <filename>api/WebApplication1/WebApplication1/Models/RecipeIngredient.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace Recipes.Models
{
public class... | 2.489861 | 92ed23e27d9b8b9762c0cfa55941f0ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837672 | {
"extension": "c-sharp",
"max_stars_count": "277.0",
"max_stars_repo_name": "polivbr/pulumi-kubernetes",
"max_stars_repo_path": "sdk/dotnet/Coordination/V1/Inputs/LeaseSpecArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156892"
} | starcoder | // *** WARNING: this file was generated by pulumigen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Kubernetes.Types.In... | 1.912837 | 66a9145642b9ac0392539266f38c5208 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837673 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "KostadinovK/CSharp-Web",
"max_stars_repo_path": "01-C# Web Basics/07-Exam 16.06.2019/SULS/Apps/SULS/SULS.Services/IUserService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156893"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using SULS.Models;
namespace SULS.Services
{
public interface IUserService
{
string CreateUser(string username, string email, string password);
User GetByUsernameAndPassword(string username, string password);
}
}
| 1.880368 | 38141b3b514d0d1615ef12915444d1bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837674 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AlexVanchov/MiddleMen-ASP.NET",
"max_stars_repo_path": "Web/MiddleMan.Web.ViewModels/Administration/Dashboard/InputModels/CreateCategoryModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156894"
} | starcoder | <filename>Web/MiddleMan.Web.ViewModels/Administration/Dashboard/InputModels/CreateCategoryModel.cs<gh_stars>1-10
namespace MiddleMan.Web.ViewModels.Administration.Dashboard.InputModels
{
//using ViewModels;
public class CreateCategoryModel
{
public string Name { get; set; }
}
}
| 1.674803 | a132d1fc2a4dcd98053cd5d96afaba9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837675 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "caohoangtg/HUEThoMicroservices",
"max_stars_repo_path": "src/Services/Catalog/Catalog.Infrastructure/IRepositories/Persistence/ICatalogRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156895"
} | starcoder | using Catalog.Domain.Entities;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Catalog.Infrastructure.IRepositories.Persistence
{
public interface ICatalogRepository : IAsyncRepository<Product>
{
Task<IEnumerable<Product>> GetProductsByCategory(string categ... | 1.926095 | 11df6636be2c3fd2481cd0825023dda4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837676 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "building-envelope-data/metabase",
"max_stars_repo_path": "backend/src/Data/Role.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156896"
} | starcoder | using System.Collections.ObjectModel;
using Microsoft.AspNetCore.Identity;
using Guid = System.Guid;
using System;
namespace Metabase.Data
{
public sealed class Role : IdentityRole<Guid>
{
private const string Administrator = "Administrator";
private const string Verifier = "Verifier";
... | 2.757102 | 3a0a432f9eb75489efa196cc96e66a59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837677 | {
"extension": "c-sharp",
"max_stars_count": "1338.0",
"max_stars_repo_name": "jawn/Neutronium",
"max_stars_repo_path": "Neutronium.Core/WebBrowserEngine/Control/DebugEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156897"
} | starcoder | using System;
namespace Neutronium.Core.WebBrowserEngine.Control
{
public class DebugEventArgs: EventArgs
{
public bool Opening { get; }
public DebugEventArgs(bool opening)
{
Opening = opening;
}
}
}
| 1.93863 | 0390c2e0e0c9c47cacd06473a1d62237 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837678 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GabrielPrzybysz/liveops-localization-system",
"max_stars_repo_path": "LiveOpsLocalizationUnityProject/Assets/Scripts/LocalizationDownloader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156898"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class LocalizationDownloader : MonoBehaviour
{
private const string CSV_URL = "";
private static string _rawLocalizationCsv;
private static readonly int Loading = Anim... | 2.295289 | 294dcca568c20dfe83c2135b11343a9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837679 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "EnisMulic/API-Template",
"max_stars_repo_path": "Template.Core/Interfaces/IUriService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156899"
} | starcoder | using System;
using Template.Contracts.V1.Requests;
namespace Template.Core.Interfaces
{
public interface IUriService
{
public Uri GetUri(PaginationQuery pagination = null);
}
}
| 1.307863 | a8d7f0ee2979709097e74d24e26fd3e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837680 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GustavoBaco/ws-vs2022",
"max_stars_repo_path": "Primeiro/Primeiro/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156900"
} | starcoder | <reponame>GustavoBaco/ws-vs2022<gh_stars>0
Console.WriteLine("Ol<NAME>!");
Console.WriteLine("Bom dia !"); | 1.507357 | ea996826722790f52f3e017926986076 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837681 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guilmori/box-windows-sdk-v2",
"max_stars_repo_path": "Box.V2/Config/BoxConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156901"
} | starcoder | <filename>Box.V2/Config/BoxConfig.cs
using Box.V2.Utility;
using Newtonsoft.Json.Linq;
using System;
using System.IO;
using System.Text;
namespace Box.V2.Config
{
public class BoxConfig : IBoxConfig
{
private static string DefaultUserAgent = "Box Windows SDK v" + AssemblyInfo.NuGetVersion;
... | 2.292961 | a74692b5cbe713f2f14a3a61dd742403 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837682 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "mesta1/DynamicDataDisplay-example",
"max_stars_repo_path": "DynamicDataDisplaySample/DynamicDataDisplay/Common/Auxiliary/RangeExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156902"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using Microsoft.Research.DynamicDataDisplay.Charts;
namespace Microsoft.Research.DynamicDataDisplay
{
internal static class RangeExtensions
{
public static double GetLength(this Range<Point... | 2.21853 | e4eedb7223e2f76a411bd597385f26d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837683 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "GeekyEggo/SoundDeck",
"max_stars_repo_path": "src/SoundDeck.Core/Capture/AudioRecorder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156903"
} | starcoder | <filename>src/SoundDeck.Core/Capture/AudioRecorder.cs
namespace SoundDeck.Core.Capture
{
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using NAudio.CoreAudioApi;
using NAudio.Wave;
using SoundDeck.Core.Extensions;
using SoundDeck.... | 2.751928 | 24ae056dccb9fd77ca1cbf45cc6688e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837684 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "meloht/yihuiServer",
"max_stars_repo_path": "YihuiMgr/YihuiMgr/Data/user_detail.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156904"
} | starcoder | <reponame>meloht/yihuiServer
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码已从模板生成。
//
// 手动更改此文件可能导致应用程序出现意外的行为。
// 如果重新生成代码,将覆盖对此文件的手动更改。
// </auto-generated>
//------------------------------------------------------------------------------
names... | 1.077393 | 13cba9f0cbfd9130aeaec31682905811 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837685 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "melnx/Bermuda",
"max_stars_repo_path": "BermudaAdmin/Bermuda.AdminService/Controllers/Azure/HostedServiceController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156905"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web.Http;
using Bermuda.AdminLibrary.Azure;
using Bermuda.AdminLibrary.Models;
using Microsoft.Practices.EnterpriseLibrary.Logging;
namespace Bermuda.AdminService.Controllers.Azure
{
public class Host... | 2.167138 | 64582418feaf331098355a17968112d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837686 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bep42/Tumblebit",
"max_stars_repo_path": "Breeze/src/Breeze.Wallet/LightWalletFeature.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156906"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
using Stratis.Bitcoin.Builder.Feature;
using Microsoft.Extensions.DependencyInjection;
using NBitcoin;
using NBitcoin.Protocol;
using Stratis.Bitcoin;
using Stratis.Bitcoin.Builder;
using Stratis.Bitcoin.Connection;
using Stratis.Bitcoin.Utilities;
using Stratis.Bi... | 1.706199 | e9dc13b6477fc2348aa7f4f1fc469483 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837687 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KvanTTT/Draft-Projects",
"max_stars_repo_path": "Dots/PointsAI/PointsShell/Pos.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156907"
} | starcoder | <reponame>KvanTTT/Draft-Projects
namespace PointsShell
{
// Описание позиции.
public struct Pos
{
public int X { get; set; }
public int Y { get; set; }
public Pos(int x, int y) : this()
{
X = x;
Y = y;
}
public Pos(Pos pos) : this()
{
X = pos.X;
Y = pos.Y;
}
public static bool opera... | 3.193377 | 13f613de2e40dd9eed53295979d5ab9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837688 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pyufftj/codes",
"max_stars_repo_path": "unity/MouseCLick.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156908"
} | starcoder | <filename>unity/MouseCLick.cs
/*
*此脚本的功能是解决UI穿透问题,当点击一个按钮时,可能跟着连后面的物体也点击了,触发了物体的事件。
*解决UI方法是,点击一个地方时,判断穿透了几个物体,如果是一个,说明只有canvas一个,可以触发事件。
*如果大于一个,则不触发事件。
*穿透的所有物体都保存在raycastResult数组里。
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSy... | 2.565611 | b83affcea90b2deb62314d18f9c8f004 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837689 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CemCkrc/Cem_CAKIRCA_CarGame",
"max_stars_repo_path": "Assets/Scripts/Cars/CarController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156909"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
using CARGAME.Inputs;
using CARGAME.Managers;
namespace CARGAME.Cars
{
public class CarController : MonoBehaviour, IInputs
{
public int CurrentControllingCar // Encapsulated Player's current car
{
get => _currentControllingCar;
... | 2.698596 | cebd072fe4149979f2f8a8dbde897721 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837690 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vincelee888/MassTransit",
"max_stars_repo_path": "src/Transports/MassTransit.Transports.Msmq.Tests/Learning/TransactionalQueue_Specs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156910"
} | starcoder | // Copyright 2007-2008 The Apache Software Foundation.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b... | 2.3788 | 4622bf623eb4b40f6817c23bf2a18394 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837691 | {
"extension": "c-sharp",
"max_stars_count": "209.0",
"max_stars_repo_name": "Ultrawipf/actools",
"max_stars_repo_path": "AcManager.Controls/ViewModels/RealismLevel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156911"
} | starcoder | <gh_stars>100-1000
namespace AcManager.Controls.ViewModels {
public enum RealismLevel {
Realistic, QuiteRealistic, NotQuiteRealistic, NonRealistic
}
} | 1.202851 | c741645fa9032c44622d23fffa513aae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837692 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eXtensoft/eXtensoft-snippet",
"max_stars_repo_path": "src/Bitsmith/modules/chronos/models/aggregation/AggregationOption.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156912"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bitsmith.Models
{
public enum AggregationOption
{
None = 0,
Actor = 1,
Day = 2,
Week = 4,
Month = 8,
Sprint = 16,
Pr... | 1.397549 | 3315a547b5a49b8a7f903c4f73ebcb11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837693 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "Mcdull0921/NetTask",
"max_stars_repo_path": "NetTaskServer/Data/TokenClaims.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156913"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace NetTaskServer.Data
{
public class TokenClaims
{
public string UserKey { get; set; }
public DateTime LastTime { get; set; }
public int Role { get; set; }
}
}
| 1.605363 | edb70b25b0741752a804944819df31e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837694 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "milestonetg/EnterpriseLibrary6",
"max_stars_repo_path": "Blocks/Configuration/Tests/Unity.Configuration.Design.Tests.VSTS/given_unity_section/when_adding_alias.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156914"
} | starcoder | //===============================================================================
// Microsoft patterns & practices Enterprise Library
// Core
//===============================================================================
// Copyright © Microsoft Corporation. All rights reserved.
// THIS CODE AND INFORMATION IS PR... | 1.816817 | 2eb75283c8a74cdac1fb7bcdc6c7aba6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837695 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "Muzammil-khan/Aspose.Email-for-.NET",
"max_stars_repo_path": "Examples/CSharp/Exchange_EWS/GetExchangeMessageInfoFromMessageURI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156915"
} | starcoder | <reponame>Muzammil-khan/Aspose.Email-for-.NET
using Aspose.Email.Clients.Exchange;
using Aspose.Email.Clients.Exchange.WebService;
using Aspose.Email.Mime;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/*
This project uses Automatic Package Restore feature of NuGet to resolve A... | 2.150959 | ecd9cfb725dd80be8ec7c32f7f4dfc86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837696 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "MrMYX/StartingUnity2D",
"max_stars_repo_path": "Introducing/Library/PackageCache/com.unity.visualscripting@1.5.2/Editor/VisualScripting.Core/Graph/GraphPointerData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156916"
} | starcoder | <reponame>MrMYX/StartingUnity2D<filename>Introducing/Library/PackageCache/com.unity.visualscripting@1.5.2/Editor/VisualScripting.Core/Graph/GraphPointerData.cs
using System;
using System.Linq;
using UnityEditor;
using UnityObject = UnityEngine.Object;
namespace Unity.VisualScripting
{
public sealed class GraphPoin... | 2.157723 | 29cbdbefe9bce8a8cc3dc43054467d75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837697 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dimenics/expressions",
"max_stars_repo_path": "src/core/Internals/PredicateUtilities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156917"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
namespace System.Linq.Expressions
{
/// <summary>
/// Enables the efficient, dynamic composition of query predicates.
/// </summary>
internal static class PredicateUtilities
{
/// <summary>
/// Combines the first predicate with the s... | 3.13102 | a6aca7f75f84aace274aee6bc0ad69b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837698 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AccelByte/accelbyte-csharp-sdk",
"max_stars_repo_path": "AccelByte.Sdk/Api/Gdpr/Wrapper/DataDeletion_OpExts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156918"
} | starcoder | <filename>AccelByte.Sdk/Api/Gdpr/Wrapper/DataDeletion_OpExts.cs
// 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 AccelByte.Sdk.Api.G... | 1.345317 | 11880ba65bfdda7c978e1922e2632d25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837699 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mrperki/sqwatch",
"max_stars_repo_path": "code/Sqwatch.UnitTests/ConfigurationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156919"
} | starcoder | using Sqwatch.Models;
using Sqwatch.UnitTests.Mocks;
using Xunit;
namespace Sqwatch.UnitTests
{
public class ConfigurationTests
{
private static readonly ConfigDefaults _defaults = new ConfigDefaults();
private static readonly ConfigSqlSettings _sqlSettings = new ConfigSqlSettings();
... | 2.305686 | 6c78ef731f398ec774bc71bd75c8422f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837700 | {
"extension": "c-sharp",
"max_stars_count": "67.0",
"max_stars_repo_name": "bonsai-rx/bonsa",
"max_stars_repo_path": "Bonsai.NuGet/PackageOperationEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156920"
} | starcoder | <gh_stars>10-100
using NuGet.Packaging;
using NuGet.Packaging.Core;
using System.ComponentModel;
namespace Bonsai.NuGet
{
public class PackageOperationEventArgs : CancelEventArgs
{
public PackageOperationEventArgs(PackageIdentity package, PackageReaderBase packageReader, string installPath)
{
... | 1.908589 | c34bde37905b6f6d5ddf74844f4edd16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837701 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "pulumi/pulumi-yandex",
"max_stars_repo_path": "sdk/dotnet/Inputs/AlbLoadBalancerAllocationPolicyLocationGetArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156921"
} | starcoder | <reponame>pulumi/pulumi-yandex
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
usi... | 1.535567 | 2a49406112f9b1071cf2b4ca60487cbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837702 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AnthonyRyck/SuiviFormation",
"max_stars_repo_path": "src/AccessData/Models/Same.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156922"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace AccessData.Models
{
public class Same
{
public int IdSame { get; set; }
public string Nom { get; set; }
public string Description { get; set; }
}
}
| 1.835193 | d45cbf3ed3e8d07082f2a4cc34bbdf09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837703 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sandhaka/csp",
"max_stars_repo_path": "Csp/Csp/Validators/ConstraintValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156923"
} | starcoder | using Csp.Csp.Model;
using FluentValidation;
namespace Csp.Csp.Validators
{
internal class ConstraintValidator<T> : AbstractValidator<Constraint<T>>
where T : CspValue
{
public ConstraintValidator()
{
RuleFor(c => c.Rule).NotNull();
}
}
} | 1.911769 | 43198e41c7cedb1ccffcc34093a113f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837704 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "damiancipolat/CRYPTON",
"max_stars_repo_path": "DAL/Mapper/EntityBinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156924"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections;
using System.Data.SqlClient;
using System.Diagnostics;
using DAL.DAO;
using BE;
namespace DAL.Mapper
{
public class EntityBinder
{
/*
Este metodo se... | 3.112616 | 81745bb901957f1d359fac080a4b5ad5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837705 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LagoVista/DeviceManagement",
"max_stars_repo_path": "src/LagoVista.IoT.DeviceManagement.Rest/Controllers/DeviceArchivesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156925"
} | starcoder | using LagoVista.Core.Models.UIMetaData;
using LagoVista.IoT.DeviceManagement.Core;
using LagoVista.IoT.DeviceManagement.Core.Managers;
using LagoVista.IoT.DeviceManagement.Models;
using LagoVista.IoT.Logging.Loggers;
using LagoVista.IoT.Web.Common.Attributes;
using LagoVista.IoT.Web.Common.Controllers;
using LagoVista... | 1.717384 | 09162a5acea59767b4293c2280836757 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837706 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "knutjelitto/Lingu",
"max_stars_repo_path": "Lingu.Automata.Tests/NfaClosureTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156926"
} | starcoder | <gh_stars>0
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Lingu.Automata.Tests
{
[TestClass]
public class NfaClosureTests
{
[TestMethod]
public void NfaClosureShouldNewWithEmptyStates()
{
var state = new State();
var sut = ... | 2.412085 | 8a96afa59b8f71df11f4d15cad992ec2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837707 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CerebralMischief/PowerArgs",
"max_stars_repo_path": "PowerArgs/Metadata/ArgStyleAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156927"
} | starcoder | using System;
namespace PowerArgs
{
/// <summary>
/// Obsolete, both the -name value and /name:value styles are supported automatically.
/// </summary>
[Obsolete("The ArgStyle attribute is obsolete. Both styles are now supported automatically")]
public enum ArgStyle
{
/// <summary>
... | 2.875437 | 6eb27260930dbbdfebd08b7a7eb30433 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837708 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Praetox/Tools",
"max_stars_repo_path": "ShittySort/Sauce/frmTagtype.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156928"
} | starcoder | <reponame>Praetox/Tools
/* ShittySort -- helps organize tagged images by filename.
* Copyright (C) 2008,2009 Praetox (http://praetox.com/)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software ... | 2.202964 | a3b6789df4a5bc37f178acede9d5d3b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837709 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fmoliveira/tigra-acad",
"max_stars_repo_path": "Tigra/Fontes/Tigra/Tigra/Views/Baseline/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:156929"
} | starcoder | @using BootstrapSupport
@model System.Collections.IEnumerable
<table class="table table-striped">
<caption></caption>
<thead>
<tr>
@foreach (var property in Model.VisibleProperties())
{
<th>
@property.GetLabel()
</th>
... | 2.723453 | f18113617c1a5833a8ec1df9dba68616 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837710 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "ZhenshengLee/simulator",
"max_stars_repo_path": "Assets/Scripts/Bridge/Cyber/Protobuf/common/proto/drive_state.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156930"
} | starcoder | // This file was generated by a tool; you should avoid making direct changes.
// Consider using 'partial classes' to extend these types
// Input: drive_state.proto
#pragma warning disable 0612, 1591, 3021
namespace apollo.common
{
[global::ProtoBuf.ProtoContract()]
public partial class EngageAdvice : global::... | 2.1616 | 0d5fe0012d5ea87e663a62c1c8a82c83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837711 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "alueck/POE-TradeHelper",
"max_stars_repo_path": "Source/POETradeHelper.ItemSearch/Services/Parsers/ItemParsers/ProphecyItemParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156931"
} | starcoder | using POETradeHelper.ItemSearch.Contract.Models;
using System.Linq;
namespace POETradeHelper.ItemSearch.Services.Parsers
{
public class ProphecyItemParser : SimpleItemParserBase<ProphecyItem>
{
public override bool CanParse(string[] itemStringLines)
{
return itemStringLines.Any(l =... | 2.195128 | 8851ed90c2fdde9afb4462b5cdbb0e32 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.