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 | 5037 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PHeonix25/KestrelHttpServer",
"max_stars_repo_path": "src/Microsoft.AspNetCore.Server.Kestrel.Core/Internal/ConnectionHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5038"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using Microsoft.AspNetCore.Hosting.Server;
using Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http;
using Microsoft.AspNet... | 1.776053 | fcfd97333751c31943fe83827f35d3ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5038 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "juliapacula/mistakes-journal",
"max_stars_repo_path": "server/Mistakes.Journal.Api/Resources/AccountResource.pl.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5039"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-----------------------------------------... | 1.619623 | 2c12f762c43afe248f409bed94dd9020 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5039 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GhaithOmari/TripTracker",
"max_stars_repo_path": "TripTracker.UI/Pages/Trips/Index.cshtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5040"
} | starcoder | <filename>TripTracker.UI/Pages/Trips/Index.cshtml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFrameworkCore;
using TripTrack... | 2.149 | a14ac4eed48758564048300a608c5a30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5040 | {
"extension": "c-sharp",
"max_stars_count": "2251.0",
"max_stars_repo_name": "hjred/stride",
"max_stars_repo_path": "sources/engine/Stride/Graphics/StandardImageHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5041"
} | starcoder | <gh_stars>1000+
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
namespace Stride.Grap... | 2.789959 | b023c8f55b9e32e68804b81dd4ea494c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5041 | {
"extension": "c-sharp",
"max_stars_count": "103.0",
"max_stars_repo_name": "pusher/pusher-dotnet-server",
"max_stars_repo_path": "PusherServer.Tests/Helpers/IApplicationConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5042"
} | starcoder | namespace PusherServer.Tests.Helpers
{
/// <summary>
/// The test application configuration settings.
/// </summary>
public interface IApplicationConfig
{
/// <summary>
/// Gets or sets the Pusher application id.
/// </summary>
string AppId { get; set; }
... | 2.039808 | 329e0ed4bc7df95cbc38098b07c0b4fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5042 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kzrnm/roslyn",
"max_stars_repo_path": "src/Workspaces/Core/Portable/FindSymbols/TopLevelSyntaxTree/TopLevelSyntaxTreeIndex_Create.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5043"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Threading;
using Microsoft.CodeAnalysis.Host;
using ... | 1.578792 | 2c416d48f15e0a747d3efe15c9df7a4c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5043 | {
"extension": "c-sharp",
"max_stars_count": "3880.0",
"max_stars_repo_name": "JarLob/EventStore",
"max_stars_repo_path": "src/EventStore.Core/Services/Transport/Grpc/HashCode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5044"
} | starcoder | <reponame>JarLob/EventStore
using System.Collections.Generic;
using System.Linq;
namespace EventStore.Core.Services.Transport.Grpc {
public struct HashCode {
private readonly int _value;
private HashCode(int value) {
_value = value;
}
public static readonly HashCode Hash = default;
public readonly Has... | 2.77351 | 25853907b8f88dbae2d119f8f14cdc01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5044 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "1stResponder/fresh",
"max_stars_repo_path": "Fresh.Global/IconConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5045"
} | starcoder | <reponame>1stResponder/fresh<filename>Fresh.Global/IconConfig.cs
using Fresh.Global.IconHelpers;
using System;
using System.Collections.Generic;
using System.Web;
using System.IO;
using System.Xml.Serialization;
using System.Xml;
namespace Fresh.Global
{
public static class IconConfig
{
//TODO: put in the web... | 2.694431 | 7139813b3f8449e37cd9118d7cef526d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5045 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "SeppPenner/MQTTnet.TestApp.SimpleServer",
"max_stars_repo_path": "src/MQTTnet.TestApp.SimpleServer/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5046"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Form1.cs" company="Hämmer <EMAIL>ics">
// Copyright (c) 2020 All rights reserved.
// </copyright>
// <summary>
// The main form.
// </summary>
// -----------------------------... | 2.194341 | b1df456b2a2ddf3715375961b9bb8347 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5046 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Thomas694/TumblThree",
"max_stars_repo_path": "lib/WpfImageViewer/MediaFileServer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5047"
} | starcoder | using System;
using System.Net;
using System.Threading;
namespace WpfImageViewer
{
internal class MediaFileServer
{
private readonly HttpListener _httpListener = new HttpListener();
private readonly Func<HttpListenerRequest, byte[]> _requestHandlerMethod;
private string _prefix;
... | 2.761301 | 7d2591b2edafbb48f36cdb527b5c09d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5047 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SOFcobra/Black-Hole",
"max_stars_repo_path": "NadekoBot/Modules/Permissions/Classes/PermissionHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5048"
} | starcoder | <filename>NadekoBot/Modules/Permissions/Classes/PermissionHelper.cs<gh_stars>0
using Discord;
using Discord.Commands;
using Discord.Modules;
using System;
using System.Linq;
namespace NadekoBot.Modules.Permissions.Classes
{
internal static class PermissionHelper
{
public static bool ValidateBool(strin... | 2.91052 | 65e5d5f5e2c17fbfda587a9a42e4bb2e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5048 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Varorbc/alipay-sdk-net-all",
"max_stars_repo_path": "AlipaySDKNet/Response/AlipayEbppInvoiceInfoApplyidQueryResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5049"
} | starcoder | using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Aop.Api.Domain;
namespace Aop.Api.Response
{
/// <summary>
/// AlipayEbppInvoiceInfoApplyidQueryResponse.
/// </summary>
public class AlipayEbppInvoiceInfoApplyidQueryResponse : AopResponse
{
/// <summary>... | 1.422548 | 8c6f3f9a2da244877cedbc588e92de67 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5049 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "msft-davidlee/contoso-customer-service-app",
"max_stars_repo_path": "DemoCustomerServicePoints/Core/AppDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5050"
} | starcoder | using DemoCustomerServicePoints.Models;
using Microsoft.EntityFrameworkCore;
namespace DemoCustomerServicePoints.Core
{
public class AppDbContext : DbContext
{
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
p... | 2.131649 | 62d354bb3c14404ce279ed6ee617473e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5050 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "afonsoft/Portal-Afonsoft",
"max_stars_repo_path": "aspnet-core/src/Afonsoft.Portal.Web.Core/Controllers/StripeControllerBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5051"
} | starcoder | <filename>aspnet-core/src/Afonsoft.Portal.Web.Core/Controllers/StripeControllerBase.cs
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Afonsoft.Portal.MultiTenancy.Payments.Stripe;
using Afonsoft.Portal.MultiTenancy.Payments.Stripe.Dto;
using Stripe;
namespace Afonso... | 2.298198 | 74ce70ce7530f04f6c87f5b35ad3871c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5051 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HCSLab/InfinityBattle",
"max_stars_repo_path": "Assets/popup window/UserConfigure.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5052"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
public class UserConfiguration : MonoBehaviour
{
// 200x300 px window will apear in the center of the screen.
private Rect windowRect = new Rect((Screen.width - 400) / 2, (Screen.height - 300) / 2, 400, 300);
// Only show it if needed.
p... | 1.922132 | d8d05285cb9d524299edfe089c312e48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5052 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "frenchan/FacialRecognitionApp",
"max_stars_repo_path": "Services/FaceClientService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5053"
} | starcoder | <reponame>frenchan/FacialRecognitionApp
using Microsoft.Extensions.Configuration;
using SimpleClientService.Extensions;
using SimpleClientService.Models;
using System;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using SimpleClientService.Abstractions;
using Fac... | 2.304726 | e997a315a92f1988f83f245fc23ad588 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5053 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "csmct99/Unity2dTests",
"max_stars_repo_path": "ThatZombieSandbox/Assets/PicaVoxel/PicaVoxel/Scripts/Editor/MagicaImportWindow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5054"
} | starcoder | /////////////////////////////////////////////////////////////////////////
//
// PicaVoxel - The tiny voxel engine for Unity - http://picavoxel.com
// By <NAME> - @garethiw - http://gareth.pw
//
// Source code distributed under standard Asset Store licence:
// http://unity3d.com/legal/as_terms
//
////////////////////... | 2.192578 | 89f5b2cc1cb8ff1df99327fbbf226901 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5054 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "radoikoff/SoftUni",
"max_stars_repo_path": "DB Advanced/Company/Company.App/Core/CommandInterpreter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5055"
} | starcoder | <filename>DB Advanced/Company/Company.App/Core/CommandInterpreter.cs
namespace Company.App.Core
{
using Company.App.Core.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
public class CommandInterpreter : ICommandInter... | 3.065288 | 69f3a1d362f2049fc9be07ccd006cffd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5055 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rdeago/cecil-xmldocnames",
"max_stars_repo_path": "tests/Cecil.XmlDocNames.Tests/Internal/TypeDefinitionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5056"
} | starcoder | <gh_stars>0
// ---------------------------------------------------------------------------------------
// Copyright (C) <NAME> and Tenacom. All rights reserved.
// Licensed under the MIT license.
// See the LICENSE file in the project root for full license information.
//
// Part of this file may be third-party code, ... | 1.984761 | d9f17e25b848825c8b05243ce4b713c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5056 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RemnantSoftware/Remnant.Shield",
"max_stars_repo_path": "Remnant.Shield/IShield.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5057"
} | starcoder | <filename>Remnant.Shield/IShield.cs
using System;
using System.Collections;
using System.Collections.Generic;
namespace Remnant
{
public interface IShield
{
/// <summary>
/// Register an exception with its message.
/// Registering an exception that is already registered will overwrite the previous m... | 3.004092 | 7eee79ef2ea11eb66b1fa8b848b75010 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5057 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cjmurph/NetSparkle",
"max_stars_repo_path": "NetSparkle.NetFramework.WinForms/DownloadProgressWindow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5058"
} | starcoder | <gh_stars>1-10
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Net;
using NetSparkle.Interfaces;
using NetSparkle.Events;
namespace NetSparkle.UI.NetFramework.WinForms
{
/// <summary>
/// A progress bar
/// </summary>
public partial class DownloadProgressWindow : Form, IDow... | 2.51286 | 5d67102ade94861bdf7ba72f35ee2945 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5058 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arzion/ProcessingOperation",
"max_stars_repo_path": "ProcessingOperations.Tests/TestInfrastructure/TestAutoFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5059"
} | starcoder | using Ploeh.AutoFixture;
namespace ProcessingOperations.Tests.TestInfrastructure
{
public class TestAutoFixture : Fixture
{
public TestAutoFixture()
{
Customize(new AutoFixtureCustomization());
}
}
} | 1.208722 | fa0abae90bf57d17259aef460762879f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5059 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "meinusch/UA-CloudLibrary",
"max_stars_repo_path": "UACloudLibraryServer/Models/InfoModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5060"
} | starcoder | /* ========================================================================
* Copyright (c) 2005-2021 The OPC Foundation, Inc. All rights reserved.
*
* OPC Foundation MIT License 1.00
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documenta... | 2.102438 | caac26cbc5a9848ff07dc0db403bff9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5060 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "UE4DotNet/Plugin",
"max_stars_repo_path": "DotNet/DotNet/UE4/Generated/UMG/Button.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5061"
} | starcoder | <reponame>UE4DotNet/Plugin
// Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
#... | 1.987652 | 341b8c67d532c07782165d462daf054f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5061 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "christianvozar/pablodraw",
"max_stars_repo_path": "Source/Pablo/Formats/Rip/FormatRip.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5062"
} | starcoder | using System;
using System.IO;
using System.Text;
using Eto.Drawing;
using Pablo.BGI;
using Eto;
using System.Collections.Generic;
using Eto.Forms;
namespace Pablo.Formats.Rip
{
public class FormatRip : Animated.AnimatedFormat
{
public static Encoding Encoding = Encoding.GetEncoding (437);
public FormatRip (D... | 2.154657 | 3d6a2cb7321a699e905f044e28136b2e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5062 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vHepp/nacht-low-poly",
"max_stars_repo_path": "Final Project 2/Assets/Scripts/Countable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5063"
} | starcoder | using UnityEngine;
[CreateAssetMenu (menuName = "Countable")]
public class Countable : ScriptableObject
{
int max, reserve, counter, maxReserve, maxCounter, health;
// setters
public void setCounter(int c)
{
counter = c;
}
public void setMaxCounter(int c)
{
maxCounter = c;
}... | 2.816553 | e379e838e52b769d5a183cc7a81c6ce4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5063 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lombiq/Orchard-CMS-Translation-Instance",
"max_stars_repo_path": "src/Orchard.Specs/Users.feature.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5064"
} | starcoder | // ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by SpecFlow (http://www.specflow.org/).
// SpecFlow Version:1.9.0.77
// SpecFlow Generator Version:1.9.0.0
// Runtime Version:4.0.30319.0
//
// Changes to this fil... | 1.616103 | e6762deef019af938605a8598470834c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5064 | {
"extension": "c-sharp",
"max_stars_count": "439.0",
"max_stars_repo_name": "gnusmas12/MyTested.AspNet.TV",
"max_stars_repo_path": "src/Advanced Data Structures - Trees And Graphs/Code/Solution/IntervalTree/IntervalTree/Interval.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5065"
} | starcoder | namespace IntervalTree
{
using System;
public class Interval
{
public Interval(double lo, double hi)
{
ValidateInterval(lo, hi);
this.Lo = lo;
this.Hi = hi;
}
public double Lo { get; set; }
public double Hi { get; set; }
... | 3.785993 | eb97a77671ec9ae238b5086c0e6bb43e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5065 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vmlf01/InstaSharp",
"max_stars_repo_path": "src/InstaSharp.Tests/Relationships.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5066"
} | starcoder | using System;
using System.Net;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace InstaSharp.Tests {
[TestClass]
public class Relationships : TestBase
{
readonly Endpoints.Relationships relationships;
public Relationships() {
relations... | 2.137304 | da411a342a26fdf8c8039847d77a4b50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5066 | {
"extension": "c-sharp",
"max_stars_count": "103.0",
"max_stars_repo_name": "bakiya-sefer/bakiya-sefer",
"max_stars_repo_path": "Assets/FullInspector2/Modules/tkControl/Controls/tkMargin.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5067"
} | starcoder | <reponame>bakiya-sefer/bakiya-sefer<gh_stars>100-1000
using UnityEngine;
namespace FullInspector {
public partial class tk<T, TContext> {
public class Margin : tkControl<T, TContext> {
[ShowInInspector]
private readonly Value<float> _left, _top, _right, _bottom;
[ShowIn... | 2.190414 | 4703d77880c95aa6271ca7a58df1408a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5067 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tzkt623/TezcatFramework-Unity",
"max_stars_repo_path": "Core/Modifier/TezFunctionModifier.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5068"
} | starcoder | using tezcat.Framework.Definition;
namespace tezcat.Framework.Core
{
public abstract class TezFunctionModifier : ITezFunctionModifer
{
public TezModifierType modifierType { get; } = TezModifierType.Function;
public TezDefinition definition { get; set; } = null;
public object source { g... | 1.859246 | 996d0481e6634dfb558108bd2e445c28 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5068 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "konshow/kgfirstapp",
"max_stars_repo_path": "target/liberty/wlp/lib/features/checksums/com.ibm.websphere.appserver.jaxrsAppSecurity-2.0.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5069"
} | starcoder | <gh_stars>0
#Mon Feb 27 04:08:30 GMT 2017
lib/com.ibm.ws.jaxrs.2.0.security_1.0.16.jar=b6911a6be2b08c31c0fc793361d01e05
lib/features/com.ibm.websphere.appserver.jaxrsAppSecurity-2.0.mf=821868236a4731154ce7485de38a18c6
| 0.682174 | c557a489632a0cdfa05d5abc97941e49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5069 | {
"extension": "c-sharp",
"max_stars_count": "3399.0",
"max_stars_repo_name": "cjstevenson/hotchocolate",
"max_stars_repo_path": "src/HotChocolate/Language/src/Language.Visitors/Utilities/SyntaxVisitorActionExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5070"
} | starcoder | <reponame>cjstevenson/hotchocolate
namespace HotChocolate.Language.Visitors
{
public static class SyntaxVisitorActionExtension
{
public static bool IsBreak(this ISyntaxVisitorAction action)
{
return action.Kind == SyntaxVisitorActionKind.Break;
}
public static bool I... | 2.21449 | 4ddfed004110b72f0e465a407c956801 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5070 | {
"extension": "c-sharp",
"max_stars_count": "792.0",
"max_stars_repo_name": "rokonec/aspnetcore",
"max_stars_repo_path": "src/Razor/Microsoft.AspNetCore.Razor.Language/src/Syntax/SyntaxTriviaList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5071"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServ... | 2.750753 | 9fad48a7f9a5cc38168952d40f81dff0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5071 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Danilo-Nunes/ProjetoPratica2",
"max_stars_repo_path": "MVC/DarkBoard/DarkBoard/Views/Home/CriarAtividade.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:5072"
} | starcoder |
@{
ViewBag.Title = "Criar Atividade";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<link href="~/Estilos/CriarAtividade.css" rel="stylesheet" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="<KEY>" crossorigin="anonymous">
<div class="criacao">
@{
... | 2.122881 | 14908826ede6443b04d769ed7d0b0d38 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5072 | {
"extension": "c-sharp",
"max_stars_count": "100.0",
"max_stars_repo_name": "Benny121221/XamlX",
"max_stars_repo_path": "src/XamlX/Transform/Transformers/FlattenAstTransformer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5073"
} | starcoder | <gh_stars>10-100
using XamlX.Ast;
namespace XamlX.Transform.Transformers
{
#if !XAMLX_INTERNAL
public
#endif
class FlattenAstTransformer : IXamlAstTransformer
{
public IXamlAstNode Transform(AstTransformationContext context, IXamlAstNode node)
{
if (node is XamlManipulationGroup... | 1.724203 | 41797dd2d522d5b9c6a9510330b6f4f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5073 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MCCshreyas/aspnetcore",
"max_stars_repo_path": "src/Components/WebAssembly/WebAssembly/test/Hosting/RootComponentMappingTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5074"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Text;
using Microsoft.AspNetCore.Components.Routing;
using Microsoft.AspNetCore.Testing;
using Xunit;
namespace Microsoft.AspNetCore.Components.WebAssemb... | 1.970467 | 66a5d38696e2747c5be09da6f1ccf383 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5074 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "raminrahimzada/DDD",
"max_stars_repo_path": "DDD.Infrastructure/ApplicationDbContextFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5075"
} | starcoder | <filename>DDD.Infrastructure/ApplicationDbContextFactory.cs
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
namespace DDD.Infrastructure
{
public class ApplicationDbContextFactory : IDesignTimeDbContextFactory<AppDatabaseContext>
{
public AppDatabaseContext CreateDbCont... | 2.311875 | ab831646a852b37dd9e08db90f441e17 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5075 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LyubomirTasev/SoftUni-CSharp-OOP",
"max_stars_repo_path": "Encapsulation-Lab/Demo/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5076"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace Demo
{
class Program
{
static void Main(string[] args)
{
//List<DemoClass> people = new List<DemoClass>();
Team team = new Team("G Unit");
int n = int.Parse(Console.ReadLine());
... | 3.409792 | 5d5200af17333b70328806dfd87aa1bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5076 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "acs3235/VTS",
"max_stars_repo_path": "src/Vts/MonteCarlo/Interfaces/ISource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5077"
} | starcoder | <reponame>acs3235/VTS<filename>src/Vts/MonteCarlo/Interfaces/ISource.cs
using System;
namespace Vts.MonteCarlo
{
/// <summary>
/// Defines a contract for Source classes for Monte Carlo simulation.
/// </summary>
public interface ISource
{
/// <summary>
/// Method to initia... | 2.317619 | 960d2b6fad55125612c7b37117ef9dbc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5077 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AconCavy/atcoder-challenges-cs",
"max_stars_repo_path": "ABC/ABC135/Tests/BTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5078"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class BTests
{
[TestMethod]
public void TestMethod1()
{
const string input = @"5
5 2 3 4 1";
const string output = @"YES";
Tester.InOutTest(() => Tasks.B.Solv... | 2.572687 | 0b75b96b5b48b4a5108ad0a845bb7f45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5078 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rinzz/TechAndTools-Store",
"max_stars_repo_path": "src/Services/TechAndTools.Services/Contracts/IContactService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5079"
} | starcoder | <gh_stars>0
namespace TechAndTools.Services.Contracts
{
using Models;
using System.Linq;
using System.Threading.Tasks;
public interface IContactService
{
Task<ContactServiceModel> CreateAsync(ContactServiceModel serviceModel);
Task<bool> DeleteAsync(int contactId);
bool ... | 1.546588 | c49e9649ee6741c68929217c6f676888 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5079 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rafael-Prado/Padroes-de-Projeto-C_Sharp",
"max_stars_repo_path": "PadroesDeProjetoCsharp/Interfaces/MusicaMP3.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5080"
} | starcoder |
namespace Interfaces
{
public class MusicaMP3: Arquivo
{
}
}
| 1.274136 | 9bfe412fbc68076baeec5a1a08bfd3b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5080 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mvkhokhlov/telegram_blockchain_devops",
"max_stars_repo_path": "TONBRAINS.TONOPS.WebApp/Controllers/AssetsManagement/SmartContractsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5081"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TONBRAINS.TONOPS.Core.DAL;
using TONBRAINS.TONOPS.Core.Services;
using TONBRAINS.TONOPS.WebApp.WebApp.Helpers;
namespace TONBRAINS.TONOPS.WebApp.Controllers.Asse... | 2.294309 | 69ffcb2d096e0ed080a50a48743bea8c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5081 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mattwar/roslyn-analyzers",
"max_stars_repo_path": "src/System.Runtime.InteropServices.Analyzers/Core/PInvokeDeclarationsShouldBePortable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5082"
} | starcoder | // 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.Collections.Immutable;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis;
namespace System.Runtime.InteropServices.Analyzer... | 1.878133 | 946eb802031b46b78bb9798a36ee8f5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5082 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RighteousRyan1/AerovelenceMod",
"max_stars_repo_path": "Content/Items/Weapons/Ranged/PlatinumColt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5083"
} | starcoder | using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace AerovelenceMod.Content.Items.Weapons.Ranged
{
public class PlatinumColt : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Platinum Colt");
}
public override void SetDefaults()
{
item.... | 1.874115 | 43f27130dda8886161aa9dfb2b2571e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5083 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "ITAgnesmeyer/Diga.WebView2",
"max_stars_repo_path": "Archive/V8355/Diga.WebView2.Wrapper.V8355/EventArguments/EnvironmentCompletedHandlerArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5084"
} | starcoder | using System.ComponentModel;
using Diga.WebView2.Interop;
namespace Diga.WebView2.Wrapper.EventArguments
{
public class EnvironmentCompletedHandlerArgs : System.EventArgs
{
public EnvironmentCompletedHandlerArgs(IWebView2Environment3 environment)
{
this.Environment = new WebView2En... | 1.960045 | 19b1cbc54881da48687b01244fec0b02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5084 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dungle/pcs",
"max_stars_repo_path": "MAP2013/PCSComSale/Order/DS/SO_ReturnedGoodsMasterDS.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5085"
} | starcoder | <filename>MAP2013/PCSComSale/Order/DS/SO_ReturnedGoodsMasterDS.cs<gh_stars>0
using System;
using System.Data;
using System.Data.OleDb;
using System.Collections;
using System.Configuration;
using PCSComUtils.DataAccess;
using PCSComUtils.PCSExc;
using PCSComUtils.Common;
namespace PCSComSale.Order.DS
{
... | 2.173595 | a025ea3a286be61206a698c3efae7d83 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5085 | {
"extension": "c-sharp",
"max_stars_count": "134.0",
"max_stars_repo_name": "vipulverulkar/Shard-mgemet---elsatic-pool--lib--sqlserver",
"max_stars_repo_path": "Src/ElasticScale.Client/ShardManagement/StoreOperations/Base/StoreConnectionInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5086"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
{
/// <summary>
/// Provides information regarding LSM connections.
/// </summary>
i... | 1.767445 | 8499823048c88f91659d764ec77f7d54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5086 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "simplitech/neo-sharp",
"max_stars_repo_path": "src/NeoSharp.BinarySerialization/SerializationHooks/IBinaryOnPreSerializable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5087"
} | starcoder | <reponame>simplitech/neo-sharp
namespace NeoSharp.BinarySerialization.SerializationHooks
{
public interface IBinaryOnPreSerializable
{
/// <summary>
/// Before on serialize process
/// </summary>
void OnPreSerialize();
}
} | 1.547051 | 9d5c57f9fdd5b8bd20e27831100c09e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5087 | {
"extension": "c-sharp",
"max_stars_count": "244.0",
"max_stars_repo_name": "Eibwen/Musoq",
"max_stars_repo_path": "Musoq.Parser/Tokens/OnToken.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5088"
} | starcoder | <reponame>Eibwen/Musoq
namespace Musoq.Parser.Tokens
{
public class OnToken : Token
{
public const string TokenText = "on";
public OnToken(TextSpan span)
: base(TokenText, TokenType.On, span)
{
}
}
} | 1.802734 | f98b1cf44c00be0ac4bdd609bbd377e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5088 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OsvaldoMartini/Blazor_Projects",
"max_stars_repo_path": "BlazorClockCanvas/BlazorClockCanvasComponent/Classes/MyClasses.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5089"
} | starcoder | <reponame>OsvaldoMartini/Blazor_Projects
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlazorClockCanvasComponent.Classes
{
public class TransferImageParameters
{
public float x { get; set; }
public float y { get; set; }
... | 2.354878 | e639e232d26b7dfefbd6c314fbed2030 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5089 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "sorengranfeldt/sqlma",
"max_stars_repo_path": "Granfeldt.SQL.MA/MA/Sql.MA.Schema.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5090"
} | starcoder | // november 13, 2019 | <NAME>
// - fixed bug where watermark column could cause duplicate key in schema
namespace Granfeldt
{
using Microsoft.MetadirectoryServices;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
public part... | 2.420174 | 8ab9f2cc9e91cabc1540f6cbab0691c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5090 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ArjunBhalodiya/IdentityServer4Startup",
"max_stars_repo_path": "Test.IdentityServer.Utility/Attribute/IdentityAuthorizationAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5091"
} | starcoder | using System;
using System.Linq;
using System.Security.Claims;
using Microsoft.AspNetCore.Mvc.Filters;
namespace Test.IdentityServer.Utility.Attribute
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
public class IdentityAuthorizationAttribute : Acti... | 2.589158 | 438fd24e13b74e178cf9d118619f3ac4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5091 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Ziagl/DevBlogProjects-CSharp",
"max_stars_repo_path": "CSharpOgenGLBeispiel/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5092"
} | starcoder | <filename>CSharpOgenGLBeispiel/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharpOgenGLBeispiel
{
public static class Program
{
private static void Main()
{
// To create a new window, creat... | 3.471417 | 6ba7abdda122f59550ba0cef7ae3f265 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5092 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LHGames-2018/Narine-Networks",
"max_stars_repo_path": "LHGames/Bot/Hard/HardCoded.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5093"
} | starcoder | <filename>LHGames/Bot/Hard/HardCoded.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using LHGames.Helper;
public static class HardCoded
{
public static int currentHardCodedValue;
public static int[,] attackValue = new int[,] { { 0, -1 } };
public static in... | 2.184832 | eb83bf06a0053a55e04ca490f7fed87e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5093 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MinexAutomation/R5T.Costobocia.Default",
"max_stars_repo_path": "source/R5T.Costobocia.Default/Code/Services/Implementations/OrganizationStringlyTypedPathOperator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5094"
} | starcoder | <gh_stars>0
using System;
using R5T.Lombardy;
using R5T.Ostrogothia;
using R5T.T0064;
namespace R5T.Costobocia.Default
{
[ServiceImplementationMarker]
public class OrganizationStringlyTypedPathOperator : IOrganizationStringlyTypedPathOperator, IServiceImplementation
{
public IOrgan... | 1.377648 | 46d77ca490284fb89a99e53761e2901d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5094 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Luissf1/Programas-C-",
"max_stars_repo_path": "Tarea36/Tarea36/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5095"
} | starcoder | <reponame>Luissf1/Programas-C-
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Tarea36
{
public partial class FRMMULTI : Form
{
... | 2.909036 | ee93f7e1f0c7509593651fbf3e3729f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5095 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kataru-lang/unity-kataru-demo",
"max_stars_repo_path": "Assets/Third Party/Hierarchy 2/Runtime/CustomRowItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5096"
} | starcoder | <gh_stars>0
using UnityEngine;
namespace Hierarchy2
{
[System.Serializable]
public class CustomRowItem
{
public GameObject gameObject;
public bool useBackground = false;
public Color backgroundColor = new Color32(255, 255, 255, 41);
public enum BackgroundStyle {... | 1.767648 | 4c18458df2aaae30597e33d2d188299c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5096 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "dongdapeng110/SharpDevelopTest",
"max_stars_repo_path": "src/AddIns/DisplayBindings/ClassDiagram/ClassCanvas/Interactivity/IMouseInteractable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5097"
} | starcoder | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Xml;
usin... | 2.183051 | acbe17e8c2533a2becfeae42445ba1f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5097 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "snakefoot/google-cloud-dotnet",
"max_stars_repo_path": "apis/Google.Cloud.AssuredWorkloads.V1Beta1/Google.Cloud.AssuredWorkloads.V1Beta1/AssuredWorkloadsServiceClient.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5098"
} | starcoder | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1.669787 | de0fd4ae7db815ac272430f8692436bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5098 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MIrtiza/TinyCsvParser",
"max_stars_repo_path": "TinyCsvParser/TinyCsvParser/Tokenizer/RFC4180/Rfc4180Tokenizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5099"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Linq;
using System.IO;
namespace TinyCsvParser.Tokenizer.RFC4180
{
public class RFC4180Tokenizer : ITokenizer
{
private Reader reader;
... | 2.81992 | 63f942b4ffbde136d6027f81b856075b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5099 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FunsTW/Unity_MaterialPropertyBlock_Utility",
"max_stars_repo_path": "MaterialPropertyBlockUtility/Core/Property/CurvesProperties.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5100"
} | starcoder | using System;
using UnityEngine;
using Random = UnityEngine.Random;
[Serializable] public class IntCurvesProperty : Property
{
[SerializeField] private AnimationCurve value = AnimationCurve.EaseInOut(0, 0, 1, 1);
public override void Set(MaterialPropertyBlock prop) {
prop.SetInt(ReferenceName, (int)val... | 2.402512 | 004485dd95e127ddaeb90ec82d163f40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5100 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "xixka/Emby.Music-China-Provider",
"max_stars_repo_path": "MusicChinaProvider/Provider/MusicArtistProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5101"
} | starcoder | <filename>MusicChinaProvider/Provider/MusicArtistProvider.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Emby.MeiamSub.Thunder;
using Emby.MeiamSub.Thunder.Consts;
using MediaBrowser.Common.Net;... | 2.131488 | 3097a1a214267575800c80cbbde4d5eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5101 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "amirci/mt_commons",
"max_stars_repo_path": "main/MavenThought.Commons.WPF/Events/IEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5102"
} | starcoder | namespace MavenThought.Commons.WPF.Events
{
/// <summary>
/// Base interface for events
/// </summary>
public interface IEvent
{
}
} | 1.654013 | 76c60dbbae1c3a82bfe19a82d0f19e51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5102 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrfichtn/opal",
"max_stars_repo_path": "oc/Dfa/TableWriterFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5103"
} | starcoder | <filename>oc/Dfa/TableWriterFactory.cs
namespace Opal.Dfa
{
public interface ITableWriterFactory
{
IClassTableWriter CreateClassWriter();
IStateTableWriter CreateStateWriter(Dfa dfa, ScannerStateTable tableFactory);
}
public class CompressedTableWriterFactory: ITableWriterFactory
{... | 2.110619 | 23708c6e85146fffdcf5d16152d946b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5103 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "Joonie86/Playstation-4-Save-Mounter",
"max_stars_repo_path": "offsets.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5104"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace PS4Saves
{
class offsets
{
//libSceUserService
public const int sceUserServiceGetInitialUser = 0x000033B0;
public const int sceUserServiceGetLoginUserIdList = 0x00002BB0;
public const int sceUserServiceGetUs... | 1.012114 | aa4e6db532d5dcafa96e707f1fa6e32a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5104 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "nesrak1/xenko",
"max_stars_repo_path": "sources/core/Xenko.Core/Diagnostics/LogMessageType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5105"
} | starcoder | <reponame>nesrak1/xenko
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
namespace Xenko.Core.Diagnostics
{
/// <summary>
/// Type of a <see c... | 2.101111 | ead6e4da1c204931d1fe50ddce30945d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5105 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SotoiGhost/xamarin-macios",
"max_stars_repo_path": "tests/monotouch-test/AVFoundation/CaptureDeviceTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5106"
} | starcoder | #if __IOS__
using Foundation;
using AVFoundation;
using ObjCRuntime;
using NUnit.Framework;
using Xamarin.Utils;
namespace MonoTouchFixtures.AVFoundation {
[TestFixture]
[Preserve (AllMembers = true)]
public class CaptureDeviceTest {
#if !NET
void Compare (NSString constant, AVMediaTypes value)
{
Assert.Th... | 1.866477 | 9ba94d8b432918fcf6ec44531ad265b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5106 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iSatishYadav/elasticsearch-net",
"max_stars_repo_path": "src/Nest/Document/Single/Get/GetResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5107"
} | starcoder | <reponame>iSatishYadav/elasticsearch-net
using System;
using Newtonsoft.Json;
namespace Nest
{
public interface IGetResponse<out TDocument> : IResponse where TDocument : class
{
[JsonProperty("fields")]
FieldValues Fields { get; }
[JsonProperty("found")]
bool Found { get; }
[JsonProperty("_... | 1.309953 | da1e70d9b5bb07fe5da4834003d04bef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5107 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "adospace/Live-Charts",
"max_stars_repo_path": "src/samples/Assets/Models/Player.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5108"
} | starcoder | <gh_stars>1-10
namespace Assets.Models
{
public class Player
{
public string Name { get; set; }
public int Age { get; set; }
public double Score { get; set; }
}
}
| 1.985669 | 2ad91018500e371fde37d35d378d979d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5108 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "a-kozhanov/codewars_csharp",
"max_stars_repo_path": "CodeWars/7kyu/FixmeGetFullName.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5109"
} | starcoder | /*
https://www.codewars.com/kata/597c684822bc9388f600010f/train/csharp
7 kyu
FIXME: Get Full Name
The code provided is supposed return a person's Full Name given their first and last names.
But it's not working properly.
Notes
The first and/or last names are never null (None in Python), but may be empty.
Task
Fix... | 3.443059 | c5db440a4cac2762d961925790e213f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5109 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "AtomicalSloths/twinsanity-editor",
"max_stars_repo_path": "Twinsanity/Items/Graphics/RigidModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5110"
} | starcoder | using System.IO;
namespace Twinsanity
{
public class RigidModel : TwinsItem
{
public uint Header { get; set; }
public uint[] MaterialIDs { get; set; }
public uint MeshID { get; set; }
public override void Save(BinaryWriter writer)
{
writer.Write(Header);
... | 2.6176 | f8f234a98225ad7f44439cdb90a96ae9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5110 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Apidcloud/ProjectoSueca",
"max_stars_repo_path": "Sueca_MVC_v4_updated/Sueca_MVC_v3/Models/IPlayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5111"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace Sueca_MVC_v3.Models
{
[XmlInclude(typeof(HumanPlayer))]
[XmlInclude(typeof(BotPlayer))]
public interface IPlayer
{
event IPlayerEventHan... | 2.033337 | b41f5dd36632338dcb0d69f8ee89ccfc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5111 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "saineshwar/Bugpoint",
"max_stars_repo_path": "BugPoint.Solution/BugPoint.Application/Views/MyAccount/Changepassword.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:5112"
} | starcoder | @model BugPoint.ViewModel.Login.ChangePasswordViewModel
@{
ViewBag.PageName = "Authentication";
}
<form autocomplete="off" asp-controller="MyAccount" asp-antiforgery="true" id="frmchangepassword" asp-action="Changepassword" method="post">
<div class="col-md-3">
<div class="card card-cyan card-outline... | 2.599106 | d0c2b64816fe9e61481dc7bf1a3c1044 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5112 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Ylianst/MeshCentralInstaller",
"max_stars_repo_path": "MainForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5113"
} | starcoder | <filename>MainForm.Designer.cs
namespace MeshCentralInstaller
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.... | 1.793032 | 318dfce6c02856a9bba33d2dd2da99fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5113 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndreVianna/CleanCodeWorkshop",
"max_stars_repo_path": "Step4/XPenC/XPenC.BusinessLogic.Contracts/Source/IExpenseReportOperations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5114"
} | starcoder | using System.Collections.Generic;
using XPenC.BusinessLogic.Contracts.Models;
namespace XPenC.BusinessLogic.Contracts
{
public interface IExpenseReportOperations
{
ExpenseReport CreateWithDefaults();
IEnumerable<ExpenseReport> GetList();
void Add(ExpenseReport newExpenseReport);
... | 1.854432 | 62992cabd1cd33d9cfa3bf904615d743 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5114 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Ariette/Project-Anyder",
"max_stars_repo_path": "Garland.UI/Views/IconCalibrationWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5115"
} | starcoder | <reponame>Ariette/Project-Anyder<filename>Garland.UI/Views/IconCalibrationWindow.xaml.cs<gh_stars>1-10
using Microsoft.Win32;
using System;
using System.Threading.Tasks;
using System.Windows;
using Garland.Data;
using Garland.Data.Helpers;
using System.Diagnostics;
namespace Garland.UI.Views
{
/// <summary>
... | 2.127474 | 7cbff654db20fe8b181d4c109c79dbd9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5115 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanielaPostolova/softuni-RecyclingStation",
"max_stars_repo_path": "RecyclingStation/RecyclingStation/WasteDisposal/Interfaces/IGarbageDisposalStrategy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5116"
} | starcoder | using System;
namespace RecyclingStation.WasteDisposal.Interfaces
{
/// <summary>
/// Interface that should be implemented by Garbage Disposal Strategies.
/// </summary>
public interface IGarbageDisposalStrategy
{
Type DisposeAttributeType { get; }
/// <summary>
/// Proces... | 3.04704 | 5f8827972590f2f060faedf5224b9002 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5116 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "shawnallen85/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/EC2/Generated/Model/Route.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5117"
} | starcoder | <reponame>shawnallen85/aws-sdk-net
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazo... | 1.504269 | c1a1861eed2faba9d80eef2bc338095e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5117 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BlagoKolev/SoftUni",
"max_stars_repo_path": "C# Advanced/StacksAndQueues/01.BasicStackOperations/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5118"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace StackAndQueue
{
class Program
{
static void Main(string[] args)
{
var input = Console.ReadLine().Split().Select(int.Parse).ToArray();
var elementsCount = input[0];
... | 3.539988 | 3279a4981759620a5d63b30aaafca259 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5118 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dturkenk/CsQuery",
"max_stars_repo_path": "source/CsQuery/Dom/Implementation/CSSStyleChangedArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5119"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CsQuery.Implementation
{
/// <summary>
/// Arguments for when a style is changed.
/// </summary>
public class CSSStyleChangedArgs : EventArgs
{
/// <summary>
/// Constructor.
//... | 2.705908 | 69aca15a770c8b5552d39c000963b0c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5119 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "in4margaret/NLU.DevOps",
"max_stars_repo_path": "src/NLU.DevOps.Luis.Shared/LuisNLUTrainClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5120"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace NLU.DevOps.Luis
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Logging;
using Microsoft.Azure.CognitiveServices.Language.LU... | 2.249384 | 2c9e3398249b5471a6e5c96dec0a9ea5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5120 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "lukoerfer/cake-codegen-openapi",
"max_stars_repo_path": "src/Cake.OpenApiGenerator/Maven/IWebClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5121"
} | starcoder | <filename>src/Cake.OpenApiGenerator/Maven/IWebClient.cs<gh_stars>1-10
using System.IO;
namespace Cake.OpenApiGenerator.Maven
{
/// <summary>
/// Encapsulates the functionality to read resources from the web
/// </summary>
public interface IWebClient
{
/// <summary>
/// Opens a stre... | 2.494384 | 1be0008d52838e474c837f4592c1c78f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5121 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "abitmore/Ditch",
"max_stars_repo_path": "Sources/Ditch.BitShares/Models/OperationHistoryObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5122"
} | starcoder | using Ditch.BitShares.Operations;
using Newtonsoft.Json;
namespace Ditch.BitShares.Models
{
/**
* @brief tracks the history of all logical operations on blockchain state
* @ingroup object
* @ingroup implementation
*
* All operations and virtual operations result in the creation of an
... | 2.327141 | 2750b03f256119401f3ddd83b76ca890 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5122 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bgortizv/Paperwoff-net",
"max_stars_repo_path": "src/PaperwoffNet.Core/Domain/VwInfotutorias.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5123"
} | starcoder | <reponame>Bgortizv/Paperwoff-net
using System;
using System.Collections.Generic;
namespace PaperwoffNet.Infrastructure
{
public partial class VwInfotutorias
{
public string NombreTutor { get; set; }
public string NombreAsignatura { get; set; }
public string NombreEstudiante { get; set;... | 1.386506 | 13dba26e9ea0c34bbb58311d22053ed1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5123 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dimitar-yo-dimitrov/SoftUni-Software-Engineering",
"max_stars_repo_path": "C# OOP/Exams/CSharpOOPRetakeExam-15August2021/CarRacing/Core/Controller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5124"
} | starcoder | using System;
using System.Linq;
using System.Text;
using CarRacing.Core.Contracts;
using CarRacing.Models.Cars;
using CarRacing.Models.Cars.Contracts;
using CarRacing.Models.Maps;
using CarRacing.Models.Maps.Contracts;
using CarRacing.Models.Racers;
using CarRacing.Models.Racers.Contracts;
using CarRacing.Repositorie... | 2.677239 | 39e375d5fcfb2ad54d67f1b374e1f9ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5124 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NovichikhinAlexey/Lykke.Service.PayInvoice",
"max_stars_repo_path": "src/Lykke.Service.PayInvoice.Core/Domain/HistoryItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5125"
} | starcoder | <reponame>NovichikhinAlexey/Lykke.Service.PayInvoice<gh_stars>0
using System;
using System.Collections.Generic;
namespace Lykke.Service.PayInvoice.Core.Domain
{
/// <summary>
/// Represents an invoice state.
/// </summary>
public class HistoryItem
{
/// <summary>
/// The unique ide... | 1.604525 | 379154c903b3112bdd6b82696752b6f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5125 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mcb5637/BTHospitalFix",
"max_stars_repo_path": "BTHospitalFix/Main.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5126"
} | starcoder | using Harmony;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
[assembly:AssemblyVersion("1.0.0.0")]
namespace BTHospitalFix
{
class Main
{
public static void Init(string directory, string settingsJSON)
... | 1.820118 | 442e95d89f6bb3e5607b7f4fbdf64a9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5126 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanielEverland/project-tuba-public",
"max_stars_repo_path": "Assets/Scripts/Utility/CallbackMonobehaviour.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5127"
} | starcoder | <gh_stars>0
using UnityEngine;
public abstract class CallbackMonobehaviour : MonoBehaviour, IEventHandler
{
[SerializeField, EnumFlags]
private CallbackState callbackState = default;
public abstract void OnRaised();
public void Raise()
{
OnRaised();
}
private void Aw... | 1.71213 | 1a71122a67a08a6e134ab25ceffbad41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5127 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Alisson072000/Tare2",
"max_stars_repo_path": "Tarea2/Tarea2/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5128"
} | starcoder | using System;
namespace Tarea2
{
class Program
{
static void Main(string[] args)
{
Console.Title="<NAME>";
var random = new Random();
Cliente cliente = new Cliente
{
Id = new Random().Next(),
Nombre ... | 2.714149 | fca17d626497f692a34279bf93549d1e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5128 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "LEADTOOLS/business-card-reader-demo-xamarin",
"max_stars_repo_path": "BCReaderDemo/BCReaderDemo/Common/Utils/LEADDocumentHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5129"
} | starcoder | <gh_stars>1-10
// *************************************************************
// Copyright (c) 1991-2020 LEAD Technologies, Inc.
// All Rights Reserved.
// *************************************************************
using Leadtools.Caching;
using Leadtools.Cod... | 2.122516 | 6636406de028b31379b09757ad252aaa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5129 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "EmilyEdna/KilyCore",
"max_stars_repo_path": "KilyCore.DataEntity/RequestMapper/Repast/RequestRepastArticleInStock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5130"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
#region << 版 本 注 释 >>
/*----------------------------------------------------------------
* 类 名 称 :RequestRepastArticleInStock
* 类 描 述 :
* 命名空间 :KilyCore.DataEntity.RequestMapper.Repast
* 机器名称 :EMILY
* CLR 版本 :4.0.30319.42000
* 作 者 :$刘泽华$
* 创建时间 :2... | 2.003593 | 84b7f7c9e5ed2a24907b12e57e8396f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5130 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RivaIvanova/PetGuide",
"max_stars_repo_path": "Web/PetGuide.Web.ViewModels/Requests/EmailViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5131"
} | starcoder | <gh_stars>0
namespace PetGuide.Web.ViewModels.Requests
{
public class EmailViewModel
{
public string SenderEmail { get; set; }
public string SenderName { get; set; }
public string ReceiverEmail { get; set; }
public string Title { get; set; }
public string Content { g... | 1.131586 | 5583da4e77447e61f3b8daef61bb665d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5131 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "vladislav-karamfilov/Bloggable",
"max_stars_repo_path": "src/Services/Bloggable.Services.Common/Cache/Contracts/ICacheService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5132"
} | starcoder | <reponame>vladislav-karamfilov/Bloggable
namespace Bloggable.Services.Common.Cache.Contracts
{
using System;
using Bloggable.Services.Common;
public interface ICacheService : IService
{
T Get<T>(string cacheId, Func<T> getItemCallback, int cacheSeconds)
where T : class;
v... | 1.838388 | 27319efbdde5adae87497a2ee257f6d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5132 | {
"extension": "c-sharp",
"max_stars_count": "1175.0",
"max_stars_repo_name": "Bouke/SimpleInjector",
"max_stars_repo_path": "src/SimpleInjector/Diagnostics/ContainerRegisteredServiceDiagnosticResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5133"
} | starcoder | <gh_stars>1000+
// Copyright (c) Simple Injector Contributors. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for license information.
namespace SimpleInjector.Diagnostics
{
using System;
using System.Collections.Generic;
using System.Collections.Object... | 2.305691 | a270c84352077e4aea452eb86c5d04a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5133 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "EddyAlleman/docify",
"max_stars_repo_path": "tests/lib/Components.Tests/DisqusTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5134"
} | starcoder | //*********************************************************************
//Docify
//Copyright(C) 2020 Xarial Pty Limited
//Product URL: https://docify.net
//License: https://docify.net/license/
//*********************************************************************
using Components.Tests.Properties;
using NUnit.Framew... | 1.901706 | 94a0d00adfd39c7879177ffd11138494 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5134 | {
"extension": "c-sharp",
"max_stars_count": "72.0",
"max_stars_repo_name": "jakubneubauer/prom-client",
"max_stars_repo_path": "src/Prometheus.Client/ScrapeHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5135"
} | starcoder | <filename>src/Prometheus.Client/ScrapeHandler.cs
using System.IO;
using System.Threading.Tasks;
using Prometheus.Client.Collectors;
using Prometheus.Client.MetricsWriter;
namespace Prometheus.Client
{
public static class ScrapeHandler
{
public static async Task ProcessAsync(ICollectorRegistry registry,... | 2.296935 | 75dbedb4640be3b03aeb2fb7c9e77b03 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5135 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IdahoLabCuttingBoard/LRS_SORT",
"max_stars_repo_path": "LRS/LRS.Mvc/Views/Artifact/Partials/ReviewHistoryPartial.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:5136"
} | starcoder | @model List<LRS.Business.ReviewHistoryObject>
<div style="border: black 1px dotted; padding: 5px 15px; margin-bottom: 15px;">
<p><b>Review History</b></p>
<p>This is the reviews that have been canceled either individually, or by the Artifact being cancelled.</p>
<p>NOTE: Last Status is the status of the r... | 2.444351 | c9a68d4fbab9491e6035497f16d58b16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5136 | {
"extension": "c-sharp",
"max_stars_count": "73.0",
"max_stars_repo_name": "LivingNaturally/solr-express",
"max_stars_repo_path": "src/SolrExpress/Search/Parameter/IQueryParameter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5137"
} | starcoder | <filename>src/SolrExpress/Search/Parameter/IQueryParameter.cs
using SolrExpress.Search.Query;
namespace SolrExpress.Search.Parameter
{
/// <summary>
/// Query parameter
/// </summary>
public interface IQueryParameter<TDocument> : ISearchParameter
where TDocument : Document
{
/// <s... | 1.892156 | eeacaa62dc043f17651b34b27db99464 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.