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 | 1865 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lightnet/USlimeDungeon",
"max_stars_repo_path": "Assets/scripts/csharp/CameraDragMove.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1866"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
public class CameraDragMove : MonoBehaviour {
private Vector3 ResetCamera;
private Vector3 Origin;
private Vector3 Diference;
private Vector3 total;
private bool Drag=false;
void Start () {
ResetCamera = Camera.main.transform.position;
}
void LateUpda... | 2.142276 | b2dbd36f95563e95a1cda4cf9355de95 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1866 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "niuniuzhu/RC",
"max_stars_repo_path": "Core/Misc/Logger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1867"
} | starcoder | namespace RC.Core.Misc
{
public static class Logger
{
public delegate void LogHandler( object obj );
private static LogHandler _logAction;
private static LogHandler _debugAction;
private static LogHandler _netAction;
private static LogHandler _infoAction;
private static LogHandler _warnAction;
private... | 2.397898 | c73e7d1bd145d78e3b9fe8c6efe47eee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1867 | {
"extension": "c-sharp",
"max_stars_count": "4343.0",
"max_stars_repo_name": "mruxmohan-msft/msbuild",
"max_stars_repo_path": "src/Framework/IBuildEngine6.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1868"
} | starcoder | <gh_stars>1000+
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
#nullable disable
namespace Microsoft.Build.Framework
{
/// <summary>
/// This interface extends <see cref=... | 2.139099 | 6870ad8508d3b37807ff38e66a68c764 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1868 | {
"extension": "c-sharp",
"max_stars_count": "1013.0",
"max_stars_repo_name": "Haresaku/UniVRM",
"max_stars_repo_path": "Assets/VRM/UniVRM/Scripts/SkinnedMeshUtility/BoneMeshEraser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1869"
} | starcoder | <filename>Assets/VRM/UniVRM/Scripts/SkinnedMeshUtility/BoneMeshEraser.cs
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace VRM
{
public static class BoneMeshEraser
{
[Serializable]
public struct EraseBone
{
public Transform Bon... | 2.507259 | fd0f38d06a9f6d77f2bddd52f0cde5a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1869 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "abmes/Abmes.DataCollector",
"max_stars_repo_path": "Abmes.DataCollector.Common.Azure/Configuration/ConfigLoader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1870"
} | starcoder | using Abmes.DataCollector.Common.Configuration;
using Azure.Storage.Blobs;
using Microsoft.Extensions.Configuration;
using System;
using System.Diagnostics.Contracts;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Abmes.DataCollector.Common.Azure.Configur... | 2.320896 | 4fbef995639688ec064af36735153de6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1870 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "drDubugIt/Agata",
"max_stars_repo_path": "Agata/Concurrency/Actors/Actor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1871"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Concurrent;
using System.Threading;
using Agata.Logging;
namespace Agata.Concurrency.Actors
{
public sealed class Actor
{
private class ActorAction<T> : IAction
{
private readonly T _subject;
private readonly Action<T> _... | 2.627728 | d6415dd0f1d22ccea76a6e436d122570 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pvgoran/dcutilities-codeplex-archive",
"max_stars_repo_path": "sourceCode/dcutilities/Bcl/IllegalStateException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1872"
} | starcoder | <gh_stars>0
using System;
namespace DigitallyCreated.Utilities.Bcl
{
/// <summary>
/// Thrown when something is in an illegal state
/// </summary>
public class IllegalStateException : Exception
{
/// <summary>
/// Creates a new <see cref="IllegalStateException"/> without
/// a message or an inn... | 2.634544 | 8701467fbcd2279c5e4930af1c4168c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1872 | {
"extension": "c-sharp",
"max_stars_count": "274.0",
"max_stars_repo_name": "geffzhang/My-FyiReporting",
"max_stars_repo_path": "RdlDesign/RdlProperties/PropertyMargin.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1873"
} | starcoder | /* ====================================================================
Copyright (C) 2004-2008 fyiReporting Software, LLC
Copyright (C) 2011 <NAME> <<EMAIL>>
This file is part of the fyiReporting RDL project.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file ... | 2.17863 | 9c440e6e66ab2f6ac8961b68f9412b4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1873 | {
"extension": "c-sharp",
"max_stars_count": "88.0",
"max_stars_repo_name": "gbull122/vscode-r",
"max_stars_repo_path": "src/Host/Client/Impl/Host/IBrokerClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1874"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.R.Host.Client.Host {
public interface IBrokerClient : IDisposable {
... | 1.623214 | 0d12447bf717efbe30b6af99dddd3fb1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1874 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DanielParra159/HangmanGame",
"max_stars_repo_path": "Assets/Scripts/Application/Services/ServiceLocator/ServiceLocator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1875"
} | starcoder | using System;
using System.Collections.Generic;
using Domain.Services.ServiceLocator;
namespace Application.Services.ServiceLocator
{
public class ServiceLocator : IServiceLocatorService, IServiceLocatorRegisterService
{
private readonly Dictionary<Type, object> _services;
public ServiceLocato... | 2.683902 | 2b21f10e2f6fe13a9ec550b686e432a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1875 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Misha12/SimpleSellSystem",
"max_stars_repo_path": "SimpleSaleSystem.Backend/Models/OrderInsertData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1876"
} | starcoder | <reponame>Misha12/SimpleSellSystem
namespace SimpleSaleSystem.Backend.Models
{
public class OrderInsertData
{
public int ProductID { get; set; }
public int Amount { get; set; }
}
}
| 1.441548 | 0d1d4347e858c1a15a482ce0118c7b09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1876 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "owlvey/owlvey_falcon",
"max_stars_repo_path": "src/Owlvey.Falcon.Core/Entities/SecurityRisk/SecurityThreatEntityFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1877"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Owlvey.Falcon.Core.Entities
{
public partial class SecurityThreatEntity
{
public static SecurityThreatEntity Create(string name,
string createdBy, DateTime createdOn)
{
var entity = new Securit... | 2.512462 | e7b07b9fb97c01a8b2896115c76aaa73 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1877 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gobo7793/Simocracy-Sports-Simulator",
"max_stars_repo_path": "SportSim/Data/LeagueWikiTemplate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1878"
} | starcoder | <reponame>gobo7793/Simocracy-Sports-Simulator
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Simocracy.SportSim
{
/// <summary>
/// Wiki-Vorlage einer Gruppenvorlage
/// </su... | 2.875546 | 63e7ded14ee7b04e78891a5bc06046db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1878 | {
"extension": "c-sharp",
"max_stars_count": "127.0",
"max_stars_repo_name": "RakhithJK/CyberCAT",
"max_stars_repo_path": "CyberCAT.Core/Enums/Dumped Enums/EForcedElevatorArrowsState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1879"
} | starcoder | <reponame>RakhithJK/CyberCAT<filename>CyberCAT.Core/Enums/Dumped Enums/EForcedElevatorArrowsState.cs<gh_stars>100-1000
namespace CyberCAT.Core.DumpedEnums
{
public enum EForcedElevatorArrowsState
{
Disabled = 0,
ArrowsUp = 1,
ArrowsDown = 2
}
}
| 1.414844 | 63432c227d7d0f00233ad2300ebdee3a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1879 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "truepele/FluentDocker",
"max_stars_repo_path": "Ductus.FluentDocker/Builders/ContainerBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1880"
} | starcoder | <reponame>truepele/FluentDocker
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text.RegularExpressions;
using Ductus.FluentDocker.Commands;
using Ductus.FluentDocker.Common;
using Ductus.FluentDocker.Extensions;
using Ductus.FluentDocker.Model.Bu... | 2.117676 | 8c1b07e297fccd1c25ae4306e8cd6e92 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1880 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShaistaKhalid/ProcessingApp",
"max_stars_repo_path": "ProcessingApp/Views/Shared/PropertyView.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:1881"
} | starcoder | @using Microsoft.AspNetCore.Identity
@inject SignInManager<ApplicationUser> SignInManager
@inject UserManager<ApplicationUser> UserManager
@model PropertyModel
@{
var photoPath = "~/images/" + (Model.ImageUrl ?? "No_Image_Available.jpg");
}
<div class="col-md-4" style="margin-top:1rem; ">
<div class="card" ... | 2.444868 | 933f94acab200bf4bfc9ad426a75f4de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1881 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/ONSdigital.blaise-nuget-api",
"max_stars_repo_path": "Blaise.Nuget.Api.Core/Services/DataRecordService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1882"
} | starcoder | <gh_stars>0
using Blaise.Nuget.Api.Contracts.Models;
using Blaise.Nuget.Api.Core.Interfaces.Providers;
using Blaise.Nuget.Api.Core.Interfaces.Services;
using StatNeth.Blaise.API.DataLink;
using StatNeth.Blaise.API.DataRecord;
using StatNeth.Blaise.API.Meta;
namespace Blaise.Nuget.Api.Core.Services
{
public class ... | 1.737634 | 77cdc059d0c54b3571206d854bf8042d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1882 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "andrk0p/BitooBitImageEditor",
"max_stars_repo_path": "src/BitooBitImageEditor/EditorPage/EditorEnums.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1883"
} | starcoder | namespace BitooBitImageEditor.EditorPage
{
internal enum ImageEditType
{
CropRotate,
Paint,
SelectType,
Text,
Stickers,
Info
}
}
| 1.210051 | b6fbe73335a32a6e748793e3ffec5cf1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1883 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "manbearwiz/hacking-alpha-sign",
"max_stars_repo_path": "docs/ALPHAPROTOCOLEXAMPLENET/AlphaProtocolExampleNET/frmMain.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1884"
} | starcoder | namespace AlphaProtocolExampleNET
{
partial class frmMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.869506 | 590704b5bc8b701ae0e1c1e1db908b0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1884 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MyJetMarketingBox/MarketingBox.Postback.Service",
"max_stars_repo_path": "src/MarketingBox.Postback.Service.Domain.Models/EventReferenceLog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1885"
} | starcoder | <reponame>MyJetMarketingBox/MarketingBox.Postback.Service
using System;
using System.Runtime.Serialization;
namespace MarketingBox.Postback.Service.Domain.Models
{
[DataContract]
public class EventReferenceLog
{
[DataMember(Order = 1)]
public long AffiliateId { get; set; }
... | 1.522018 | 096affd01bcf8af57288b6315b3bea76 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mallibone/XamExpertDay2021",
"max_stars_repo_path": "src/XamarinIdentity.Auth/Fido2/MfaFido2RegisterController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1886"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Fido2NetLib.Objects;
using Fido2NetLib;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using static Fido2NetLib.Fido2;
using System.IO;
using Microsoft.AspNetCore.Identity;
using Microso... | 1.623661 | d58989116bb5ff9f243d6ecd07f9f9e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1886 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Wideproduction/microsoft-authentication-library-for-dotnet",
"max_stars_repo_path": "tests/Microsoft.Identity.Test.Unit/BrokerTests/WamTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1887"
} | starcoder | <filename>tests/Microsoft.Identity.Test.Unit/BrokerTests/WamTests.cs
#if SUPPORTS_BROKER
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Identity.Client;
using Microsoft.Identity.Client.ApiConfig... | 1.397158 | 453e95a7c0576c5a745c99834afadeeb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1887 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FlorianGrimm/OfaSchlupfer",
"max_stars_repo_path": "OfaSchlupfer.Elementary/TextTemplate/TemplateContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1888"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Text;
using OfaSchlupfer.TextTemplate.Functions;
using OfaSchlupfer.TextTemplate.Helpers;
using OfaSchlupfer.TextTemplate.Parsing;
usin... | 2.018097 | 330fc205df6043a9749753eb836f295f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1888 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "threax/AspNetCore.Swashbuckle.Convention",
"max_stars_repo_path": "src/Threax.AspNetCore.Halcyon.Ext/CustomHalAttributeConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1889"
} | starcoder | <reponame>threax/AspNetCore.Swashbuckle.Convention
using Halcyon.HAL;
using Halcyon.HAL.Attributes;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Extensions;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
u... | 2.496949 | 91a39ac296ba70ca966a8a4d8ca02996 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1889 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheSuperiorSid/PKHeX-Plugins",
"max_stars_repo_path": "PKHeX.Core.Enhancements/Teams/TeamPasteInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1890"
} | starcoder | using System;
namespace PKHeX.Core.Enhancements
{
/// <summary>
/// Paste Details originating from a common pasting website URL.
/// </summary>
public class TeamPasteInfo
{
public readonly bool Valid;
public readonly PasteSource Source;
public readonly string URL;
p... | 2.778507 | 14fa0c382114582b5ffb23248df2e42f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pgAlegri/corefx",
"max_stars_repo_path": "src/System.Net.Security/tests/FunctionalTests/SslStreamNegotiatedCipherSuiteTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1891"
} | 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.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Net.Test.Common;
using... | 2.066797 | 69813c97f1df2c4350f3a7474c2533d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1891 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Neurothustra/LeadsManager",
"max_stars_repo_path": "src/LeadsManager/Views/QuestionForUs/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:1892"
} | starcoder | @model IEnumerable<QuestionForUs>
@{
ViewData["Title"] = "Index";
}
<h2>Question For Us</h2>
@{
if (!Model.Any())
{
<h3>No records were found</h3>
}
else
{
Html.AntiForgeryToken();
foreach (var item in Model)
{
<div style="display: inline-block;">
... | 2.22522 | 5747884925d41d3eec8a616fa749c698 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1892 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "coxthepilot/vitasa",
"max_stars_repo_path": "vitasa_apps/iOSSharedModel/C_TimePicker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1893"
} | starcoder | using System;
using UIKit;
namespace zsquared
{
public class C_TimePicker
{
readonly UITextField TB_;
public event TimePickerEventHandler TimePickerDone;
readonly UIDatePicker DP_;
C_HMS HMS;
public C_TimePicker(UITextField tb)
{
TB_ = tb;
DP_ = new UIDatePicker()
{
Mode = UIDatePickerMod... | 2.305428 | 4e710a66921e93d7ea3e9d939506a43f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1893 | {
"extension": "c-sharp",
"max_stars_count": "67.0",
"max_stars_repo_name": "bbarry/roslyn",
"max_stars_repo_path": "src/Compilers/Server/PortableServer/TcpClientConnection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1894"
} | 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 Microsoft.CodeAnalysis.CommandLine;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System... | 2.245373 | 84474ad5e965574ed85590a77650f49c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1894 | {
"extension": "c-sharp",
"max_stars_count": "57.0",
"max_stars_repo_name": "yanglei50/OpenHalcon",
"max_stars_repo_path": "HalconDotNet/HalconDotNet/HTextureInspectionModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1895"
} | starcoder | // Decompiled with JetBrains decompiler
// Type: HalconDotNet.HTextureInspectionModel
// Assembly: halcondotnetxl, Version=17.12.0.0, Culture=neutral, PublicKeyToken=4973bed59ddbf2b8
// MVID: 39799324-2494-4A83-8C57-2731D25BAE81
// Assembly location: C:\Program Files\MVTec\HALCON-17.12-Progress\bin\dotnet35\halcondotn... | 2.204449 | 3bf889361a5bd55b82412fd1a9749b09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1895 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ngenovese11/Essentials",
"max_stars_repo_path": "essentials-framework/Essentials Core/PepperDashEssentialsBase/Feedbacks/IntFeedback.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1896"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using Crestron.SimplSharpPro;
namespace PepperDash.Essentials.Core
{
public class IntFeedback : Feedback
{
public override int IntValue { get { return _IntValue; } } // ValueFunc.Invoke(); ... | 2.7317 | ed555d2e63f22af36c7e7a1673ab7ef6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1896 | {
"extension": "c-sharp",
"max_stars_count": "178.0",
"max_stars_repo_name": "iberisoft/DICOMcloud",
"max_stars_repo_path": "DICOMcloud/DICOMcloud/DicomObjectId/DicomObjectIdFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1897"
} | starcoder | <reponame>iberisoft/DICOMcloud<filename>DICOMcloud/DICOMcloud/DicomObjectId/DicomObjectIdFactory.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dicom;
namespace DICOMcloud
{
public class DicomObjectIdFactory
{
private static... | 2.072756 | fdda097c3312edba89e8368b8aede054 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1897 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "reyrarnfredur/unity_scripting",
"max_stars_repo_path": "Rendering/DrawLineFromTo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1898"
} | starcoder | <filename>Rendering/DrawLineFromTo.cs
// DrawLineFromTo
using UnityEngine;
using UnityEngine.Rendering;
public class DrawLineFromTo : MonoBehaviour
{
private Transform myTransform;
private LineRenderer myLineRenderer;
public Transform fromTransform;
public Transform toTransform;
[Header("line settings")]
pub... | 2.271638 | 32c232428c2f4915939fd280ddb7f6f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1898 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrewscristhian/ITDeveloper",
"max_stars_repo_path": "src/Curso.ITDeveloper.Mvc/Configuration/DbContextConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1899"
} | starcoder | using Curso.ITDeveloper.Data.ORM;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace Curso.ITDeveloper.Mvc.Configuration
{
public static class DbContextConfig
{
public static IServiceCollection AddDbContextConfig(thi... | 1.719458 | 8959c22f92e2ff64abbb72720af460b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1899 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yataya1987/EXT.Net-Theme-Hard-Coded",
"max_stars_repo_path": "src/Areas/GridPanel_Plugins/Views/GridFilters_Remote/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:1900"
} | starcoder | @{
ViewBag.Title = "GridPanel with Remote Filtering, Sorting and Paging - Ext.NET MVC Examples";
Layout = "~/Views/Shared/_BaseLayout.cshtml";
var X = Html.X();
}
@section example
{
<h1>GridPanel with Remote Filtering, Sorting and Paging</h1>
<p>Please see column header menu for apllying filters</... | 2.367392 | 8f0b46adb24f24020ff56c55c174141a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1900 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "USGS-WiM/krigservices",
"max_stars_repo_path": "KrigServices/Controllers/RegionsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1901"
} | starcoder | <reponame>USGS-WiM/krigservices
//------------------------------------------------------------------------------
//----- HttpController ---------------------------------------------------------
//------------------------------------------------------------------------------
//-------1---------2---------3---------4---... | 1.948685 | 26ae9438ad0086547de817042865ca06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1901 | {
"extension": "c-sharp",
"max_stars_count": "649.0",
"max_stars_repo_name": "GerHobbelt/waf",
"max_stars_repo_path": "src/System.Waf/Samples/InformationManager/EmailClient.Modules.Applications.Test/Views/MockEditEmailAccountView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1902"
} | starcoder | <filename>src/System.Waf/Samples/InformationManager/EmailClient.Modules.Applications.Test/Views/MockEditEmailAccountView.cs
using System.ComponentModel.Composition;
using System.Waf.UnitTesting.Mocks;
using Waf.InformationManager.EmailClient.Modules.Applications.Views;
namespace Test.InformationManager.EmailClien... | 1.536582 | 977f4572d550f0b6a7da3d92ac54890e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1902 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "WesleyAS-BR/Forms9Patch",
"max_stars_repo_path": "Forms9Patch/Forms9Patch/Services/Haptics.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1903"
} | starcoder | <gh_stars>1-10
using System;
using Forms9Patch.Interfaces;
using Xamarin.Forms;
namespace Forms9Patch
{
/// <summary>
/// Access to device's haptic feedback system
/// </summary>
public static class Haptics
{
static Haptics()
=> Settings.ConfirmInitialization();
static... | 2.140572 | 34fb3b21a2763f6256705a8291c5be58 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1903 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sugadotnet/spayup",
"max_stars_repo_path": "APPBASE/Views/Transaction_in/Reportview_last.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:1904"
} | starcoder | @{
ViewBag.Title = "Rekap Penerimaan Harian";
Layout = "~/Views/Shared/_LayoutPrintable.cshtml";
}
@section includeTOP {
<!-- csslayout -->
<link href="@Url.Content("~/")Content/print_kwitansi.css" rel="stylesheet" type="text/css" />
}
@{Html.RenderPartial("Report_dataprint");}
<br /><br /><br /><br... | 1.538925 | 2753731c23b5090b0bf870ca81696f24 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1904 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gep13/spectre.cli",
"max_stars_repo_path": "examples/Simple/Commands/Settings/AddSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1905"
} | starcoder | using System.ComponentModel;
using Spectre.Cli;
namespace Sample.Commands.Settings
{
public abstract class AddSettings : CommandSettings
{
[CommandArgument(0, "[PROJECT]")]
[Description("Specifies the project file.")]
public string Project { get; set; }
}
}
| 1.873208 | 7812705aaf99484cb3017d656b32b455 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1649 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DeyiXu/ZeroFramework",
"max_stars_repo_path": "Zero/IO/DirectoryHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1650"
} | starcoder | <reponame>DeyiXu/ZeroFramework
using System.IO;
namespace Zero.IO
{
/// <summary>
/// 目录操作
/// </summary>
public static class DirectoryHelper
{
/// <summary>
/// 重建不存在的文件夹
/// </summary>
/// <param name="directory">目录创建</param>
public static void CreateI... | 2.407476 | 74f30ff62bf4526de5fa9b64b4a6c6ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1650 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "digitalParkour/SitecoreSYM-AzureB2C",
"max_stars_repo_path": "src/Foundation/LinkTracker/code/sitecore/shell/Applications/Dialogs/GeneralLink/GeneralLinkForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1651"
} | starcoder | using Sitecore.Data;
using Sitecore.Data.Items;
using Sitecore.Diagnostics;
using Sitecore.Globalization;
using Sitecore.Resources.Media;
using Sitecore.Shell.Applications.Dialogs;
using Sitecore.Shell.Framework;
using Sitecore.StringExtensions;
using Sitecore.Utils;
using Sitecore.Web;
using Sitecore.Web.UI.HtmlContro... | 1.498009 | 7f08c8c897c182dee99db3a381e27cc4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1651 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "bobbyangers/XrmUnitTest",
"max_stars_repo_path": "NMemory.Base/Common/DatabaseMembers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1652"
} | starcoder | <gh_stars>10-100
// ----------------------------------------------------------------------------------
// <copyright file="DatabaseMembers.cs" company="NMemory Team">
// Copyright (C) 2012-2014 NMemory Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this softwa... | 1.837159 | ff898959ebd26e4bc9800da9bd5ddc7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "crogeniks/uno",
"max_stars_repo_path": "src/Uno.UI/UI/Xaml/FrameworkElement.Interface.wasm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1653"
} | starcoder | using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Media.Animation;
using System;
using System.Collections.Generic;
using Windows.Foundation;
using System.Runtime.CompilerServices;
using System.Text;
using Windows.UI.Xaml.Input;
using Microsoft.Extensions.Log... | 2.02803 | 9714696e1135c8b10611bbb1c96e23b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1909-sep30-net/marielle-project1",
"max_stars_repo_path": "Project1WebApp/Project1WebApp/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:1654"
} | starcoder | <reponame>1909-sep30-net/marielle-project1<gh_stars>0
@{
ViewData["Title"] = "Home Page";
}
<div class="text-center">
<h1 class="display-4">Welcome sa Tindahan ni <NAME></h1>
<p>We sell different kinds of vinegar and Filipino products. Come often enough and become a <em>suki</em> (Filipino ter... | 1.941067 | f2bbdb15fd19dd6b819c1ca76eaf92e8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1654 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Library-Starlight/Network",
"max_stars_repo_path": "src/tcpip/Sockets/Sockets/Business/Parsers/Text/ItemQuoteTextConst.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1655"
} | starcoder | <gh_stars>0
namespace Sockets.Business.Parsers.Text
{
public static class ItemQuoteTextConst
{
public static readonly string DefaultCharEnc = "ascii";
public static readonly int MaxWireLength = 1024;
}
}
| 1.261993 | 706d0508ad4cabea765ac195d8544fec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1655 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "simeonradivoev/2D-Platformer",
"max_stars_repo_path": "Assets/Scripts/Util/EntityCommandBufferExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1656"
} | starcoder | <gh_stars>1-10
using Events;
using System;
using System.Linq;
using Unity.Entities;
using UnityEngine;
using Object = UnityEngine.Object;
namespace DefaultNamespace
{
public static class EntityCommandBufferExtensions
{
public delegate void ModifyData<T>(ref T data) where T : struct, IComponentData;
public stat... | 2.291026 | 8fe6ecd764572baadaa7b20e1e7afb2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1656 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cadulox/test-driven-development-csharp",
"max_stars_repo_path": "VirtualStore/VirtualStore.Domain/Entities/ShoppingCart.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1657"
} | starcoder | <filename>VirtualStore/VirtualStore.Domain/Entities/ShoppingCart.cs
using System.Collections.Generic;
namespace VirtualStore.Domain.Entities
{
public class ShoppingCart
{
public IList<Item> Items { get; private set; }
public ShoppingCart()
{
Items = new List<Item>();
... | 3.23934 | 27309351d6c72c5e5065622c2595126c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1657 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bluexray/Horizon.Sample",
"max_stars_repo_path": "Horizon.Payment.Alipay/Domain/AlipayInsMarketingProductRecommendModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1658"
} | starcoder | using System.Text.Json.Serialization;
namespace Horizon.Payment.Alipay.Domain
{
/// <summary>
/// AlipayInsMarketingProductRecommendModel Data Structure.
/// </summary>
public class AlipayInsMarketingProductRecommendModel : AlipayObject
{
/// <summary>
/// 推荐的业务信息字段
/// </s... | 1.680704 | ced5105240bb954177e9e293edf21d86 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1658 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Xylorhk/Project-R-R",
"max_stars_repo_path": "Assets/Scripts/Audrey/Pause.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1659"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEditor;
using UnityEngine.SceneManagement;
public class Pause : MonoBehaviour
{
public GameObject pauseMenu, titleText;
void Awake()
{
if (!pauseMenu) pauseMenu = Game... | 2.073942 | b6d284176c8bebdbe275eebce4481087 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1659 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "talhaHavadar/Assembly-Code-IDE-and-Simulator",
"max_stars_repo_path": "ProjeWithForm/ProjeWithForm/FrmInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1660"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ProjeWithForm
{
public partial class FrmInfo : Form
{
public FrmInfo()
{
InitializeCompo... | 2.477365 | aedac05deb66618f7a05a379947c6f7e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1660 | {
"extension": "c-sharp",
"max_stars_count": "347.0",
"max_stars_repo_name": "dbarwikowski/Valit",
"max_stars_repo_path": "tests/Valit.Tests/DateTimeOffset_/DateTimeOffset_IsAfterUtcNow_Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1661"
} | starcoder | using System;
using Shouldly;
using Valit.Tests.HelperExtensions;
using Xunit;
namespace Valit.Tests.DateTimeOffset_
{
public class DateTimeOffset_IsAfterUtcNow_Tests
{
[Fact]
public void DateTimeOffset_IsAfterUtcNow_For_Not_Nullable_Value_Throws_When_Null_Rule_Is_Given()
{
... | 2.305742 | 69935bd80cbbeaeef9bb2b958ebaef0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1661 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danTaler/joke_program_challenge",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1662"
} | starcoder | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Newtonsoft.Json;
using System.Net.Http.Json;
using System.Text.Json;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace joke_program_challenge
{
public class GetJoke
{
... | 3.10078 | 79751e1e345b41d651b64986abfca7f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1662 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eskaufel/Yale",
"max_stars_repo_path": "src/Yale/Parser/Internal/ShiftOperation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1663"
} | starcoder | namespace Yale.Parser.Internal
{
internal enum ShiftOperation
{
LeftShift,
RightShift
}
} | 1.323268 | 527984600840c909d0154262dfc53ad4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1663 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rommy72/object-oriented-prog",
"max_stars_repo_path": "interface/interface/IProduct.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1664"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace InterfaceTask
{
interface IProduct
{
Object GetProduct(string name);
double CalculateTotal();
}
} | 2.13533 | 62295f6e5db0295fc2e7c75bae64ab0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1664 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "345paul/aimmodel",
"max_stars_repo_path": "src/Microsoft.AzureIntegrationMigration.ApplicationModel/Target/Intermediaries/MessageProcessorType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1665"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.AzureIntegrationMigration.ApplicationModel.Target.Intermediaries
{
/// <summary>
/// Defines the types of message processor.
/// </summary>
p... | 2.270686 | 9939fd68e69f6fc5cd9c666bedb7fb0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1665 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "francodml/sandbox_stargate",
"max_stars_repo_path": "code/sbox_stargate/entities/dhd_base/DhdButtonTrigger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1666"
} | starcoder | <filename>code/sbox_stargate/entities/dhd_base/DhdButtonTrigger.cs<gh_stars>0
using Sandbox;
public partial class DhdButtonTrigger : AnimEntity, IUse
{
[Net]
public string Action { get; set; } = "";
public Dhd DHD;
public DhdButton Button;
public override void Spawn()
{
base.Spawn();
Transmit = TransmitType... | 2.223875 | 473fe62d55ca2ae4a2f665566cf950ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1666 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zickb/AsyncFluentGenerator",
"max_stars_repo_path": "src/AsyncFluentGenerator/MethodHeader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1667"
} | starcoder | namespace AsyncFluentGenerator;
internal record MethodHeader(
IEnumerable<string> Attributes,
IEnumerable<string> ReturnTypeAttributes,
IEnumerable<string> Modifiers,
string ReturnType,
string? InterfaceSpecifier,
string Name,
IEnumerable<MethodTypeParameter> Types,
IEnumerable<MethodPa... | 1.175457 | 248c6c000a1e501a1afe9aaec985781f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1667 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "advorange/Advobot",
"max_stars_repo_path": "src/Advobot.Core/Attributes/ParameterPreconditions/Strings/RegexAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1668"
} | starcoder | using Advobot.Utilities;
using AdvorangesUtils;
using Discord;
using Discord.Commands;
using System.Text;
using System.Text.RegularExpressions;
namespace Advobot.Attributes.ParameterPreconditions.Strings;
/// <summary>
/// Validates a regex with various test cases.
/// </summary>
[AttributeUsage(AttributeTargets.... | 2.618499 | c2331967e77f289ec77b120ce7e57c8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1668 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bsstahl/PPTail",
"max_stars_repo_path": "PrehensilePonyTail/PPTail.Data.WordpressFiles/Post.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1669"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace PPTail.Data.WordpressFiles
{
public class Post
{
public Int32 id { get; set; }
public DateTime date { get; set; }
public DateTime date_gmt { get; set; }
public Guid guid { get; set; }
public D... | 1.604449 | 59477fbee90b1e3d786b27a3fe60a2f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1669 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Packo0/SoftUniProgrammingFundamentals",
"max_stars_repo_path": "lab/t05_Arrays/p04_TripleSum/p04_TripleSum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1670"
} | starcoder | <reponame>Packo0/SoftUniProgrammingFundamentals<filename>lab/t05_Arrays/p04_TripleSum/p04_TripleSum.cs
using System;
using System.Linq;
namespace p03_TripleSum
{
class p03_TripleSum
{
static void Main(string[] args)
{
var numbers = Console.ReadLine().Split(' ').Select(int.Parse).To... | 3.549377 | fdc92612ac018fb46967a36fb3e2650f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1670 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "jpablodrexler/jp-photo-manager",
"max_stars_repo_path": "JPPhotoManager/JPPhotoManager.Tests/ImportNewAssetsServiceTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1671"
} | starcoder | <filename>JPPhotoManager/JPPhotoManager.Tests/ImportNewAssetsServiceTest.cs
using Autofac;
using Autofac.Extras.Moq;
using FluentAssertions;
using JPPhotoManager.Domain;
using Moq;
using System.Collections.Generic;
using System.IO;
using Xunit;
namespace JPPhotoManager.Tests
{
public class ImportNewAssetsServiceT... | 2.199941 | d76ea1c2ae076f20180369239aa571bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1671 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mvdlaar/ProgramADroid",
"max_stars_repo_path": "Mit4Robot/Shared/Parsers/CodeParsers/CodeParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1672"
} | starcoder | <reponame>mvdlaar/ProgramADroid
using System;
using System.Linq;
using System.Collections.Generic;
using Shared.Utilities;
using Shared.BusinessLayer;
using Shared.Enums;
using Shared.Exceptions;
using System.Collections.ObjectModel;
namespace Shared.Parsers.CodeParsers
{
/// Author: <NAME>
/// Date: 24-06-2015
//... | 2.598899 | 518199d208fdfcc80c6d4e7a6ca37248 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1672 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pdubb29/GitDepend",
"max_stars_repo_path": "GitDepend.UnitTests/Visitors/DependencyVisitorAlgorithmTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1673"
} | starcoder | <filename>GitDepend.UnitTests/Visitors/DependencyVisitorAlgorithmTests.cs
using System.Collections.Generic;
using System.Linq;
using GitDepend.Busi;
using GitDepend.Configuration;
using GitDepend.Visitors;
using Microsoft.Practices.Unity;
using NUnit.Framework;
using Telerik.JustMock;
using Telerik.JustMock.Helpers;
... | 2.392339 | 29fb7da35ebfddd0d146ffc96995265b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1673 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CarlosSardo/nanoFramework.IoT.Device",
"max_stars_repo_path": "src/devices_generated/Tm1637/DisplayCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1674"
} | starcoder | <filename>src/devices_generated/Tm1637/DisplayCommand.cs
// 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.Collections.Generic;
using System.Text;
namespace Iot.Device.Tm1637
{
/// <summary>
/// S... | 2.036131 | 65e187fd35a814c61f7fed225f61df8f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1674 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "SuperJMN/VisualDesigner",
"max_stars_repo_path": "Glass/Glass.Basics/Styles/MinimizeButton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1675"
} | starcoder | <gh_stars>10-100
using System.Windows;
using System.Windows.Controls.Primitives;
namespace Glass.Basics.Wpf.Styles
{
/// <summary>
/// Follow steps 1a or 1b and then 2 to use this custom control in a XAML file.
///
/// Step 1a) Using this custom control in a XAML file that exists in the current projec... | 2.379109 | c8ff177b5461d28c1702a16c3cf9f12a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1675 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "acoliver/appcelerator_sdk",
"max_stars_repo_path": "components/services/dotnet/src/JSON/JsonNull.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1676"
} | starcoder | <reponame>acoliver/appcelerator_sdk<filename>components/services/dotnet/src/JSON/JsonNull.cs
// JsonNull.cs
//
// Copyright (C) 2006 <NAME>
//
// 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 Founda... | 2.46258 | d3196be5808aa125b445ab6bad5d6ebc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1676 | {
"extension": "c-sharp",
"max_stars_count": "1113.0",
"max_stars_repo_name": "DavidKarlas/xwt",
"max_stars_repo_path": "Xwt/Xwt.Drawing/BitmapImage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1677"
} | starcoder | <gh_stars>1000+
//
// Bitmap.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2013 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, includ... | 2.54259 | a58deab645a03d820f3bb6b185d57006 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1677 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Daymortel/Stump",
"max_stars_repo_path": "src/Stump.Server.WorldServer/Database/Dungeon/DungeonRecord.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1678"
} | starcoder | //using Stump.Core.IO;
//using Stump.ORM;
//using Stump.ORM.SubSonic.SQLGeneration.Schema;
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;
//namespace Stump.Server.WorldServer.Database.Dungeon
//{
// public class DungeonRelator
// {
/... | 2.075867 | edeae590469737f6d0a4583fb02e4664 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1678 | {
"extension": "c-sharp",
"max_stars_count": "419.0",
"max_stars_repo_name": "fitzychan/GoNorth",
"max_stars_repo_path": "Views/Manage/_ManageNav.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:1679"
} | starcoder | @using GoNorth.Views.Manage
@using GoNorth.Data.User
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@inject SignInManager<GoNorthUser> SignInManager
@inject GoNorth.Config.IConfigViewAccess AppSettings
<ul class="nav nav-pills nav-stacked">
<li class="@ManageNavPages.IndexNavClass(... | 1.819214 | 866dfaf1a0adb9e819413570eb846229 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1679 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StackSmack007/OOP-Advanced",
"max_stars_repo_path": "Generics - Exercise/10Tuple/StartUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1680"
} | starcoder | <reponame>StackSmack007/OOP-Advanced
using System;
using System.Linq;
namespace Tuple
{
public class StartUp
{
static void Main()
{
string[] info1 = Console.ReadLine().Split();
string names = string.Join(" ", info1.Take(2));
string adress = info1[2];
... | 3.323036 | 265f84ccad504da5a9b615abae499fdd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1680 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wotakuro/toio_and_bm_project",
"max_stars_repo_path": "Assets/toio/toio-sdk/Scripts/Cube/CoreCube/Real/Versions/CubeReal_ver2_0_0.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1681"
} | starcoder | <filename>Assets/toio/toio-sdk/Scripts/Cube/CoreCube/Real/Versions/CubeReal_ver2_0_0.cs<gh_stars>0
using System;
using System.Collections.Generic;
using UnityEngine;
using Cysharp.Threading.Tasks;
namespace toio
{
public class CubeReal_ver2_0_0 : CubeReal
{
//_/_/_/_/_/_/_/_/_/_/_/_/_/
// ... | 2.008685 | af3458b37354492472220027aa1e8603 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1681 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "niubi007/Moq",
"max_stars_repo_path": "Samples/ProductsMvcSample/UnitTests/ProductsMvcSample.Tests/MvcTestHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1682"
} | starcoder | <reponame>niubi007/Moq
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Web;
using Moq;
using System.Linq.Expressions;
using NUnit.Framework;
using System.ComponentModel;
using System.Web.Routing;
namespace ProductsMvcSample.Tests
{
public stati... | 2.358707 | 7afe89a5e0aad1366cc982eed601219d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1682 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wangchaoqun1997/ShadowSDK3.0.0Platform",
"max_stars_repo_path": "Assets/ShadowCreator/shadowAction/SVR/Editor/SvrBuild.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1683"
} | starcoder | using UnityEngine;
using UnityEditor;
using System.IO;
using System.Collections.Generic;
using System.Text.RegularExpressions;
public class SvrBuild : MonoBehaviour
{
static void BuildScene(string[] scenes, string apkDir, string apkName)
{
Directory.CreateDirectory(apkDir);
if(System.IO.File.E... | 2.188524 | 4bb4c78bc1bb6b0d89df0aec360a4ba6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1683 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adnan0944/Automata",
"max_stars_repo_path": "src/Automata/Interfaces/ICharAlgebra.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1684"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Microsoft.Automata
{
/// <summary>
/// Extends IBooleanAlgebra with character predicate solving and predicate pretty printing.
/// </summary>
/// <typeparam name="PRED">predicates</typeparam>
public int... | 3.013059 | b2ba2171f2fdf60949916d13caafd2fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1684 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "Lichtblitz/AlbLib",
"max_stars_repo_path": "Texts/TextColor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1685"
} | starcoder | using System;
namespace AlbLib.Texts
{
/// <summary>
/// Color index palette for texts.
/// </summary>
[Serializable]
public class TextColor
{
byte[] colors;
public byte this[int color]
{
get{
return colors[color];
}
}
/// <param name="colors">
/// Array normally of five bytes.
/// ... | 3.080469 | a0f99c4b8ec2602b0bf0d7f24faa7a5f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1685 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dotdevelop/xwt",
"max_stars_repo_path": "Xwt.Gtk/Xwt.GtkBackend.CellViews/CustomCellRendererImage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1686"
} | starcoder | <reponame>dotdevelop/xwt
//
// CustomCellRendererImage.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2013 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software w... | 1.971677 | ae26f94ae5f5bce1623e824e351b0ec3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1686 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "starpeng/JdSdk2",
"max_stars_repo_path": "Source/JdSdk/request/service/AfsserviceServicelogGetRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1687"
} | starcoder | <filename>Source/JdSdk/request/service/AfsserviceServicelogGetRequest.cs
using System;
using System.Xml.Serialization;
using System.Collections;
using System.Collections.Generic;
using Newtonsoft.Json;
using JdSdk.Request;
using JdSdk.Response.Service;
namespace JdSdk.Request.Service
{
public class AfsserviceSe... | 2.020696 | 2afb9ca6ffb5c8665e1642f27dd088a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1687 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Drakal/OpenKh",
"max_stars_repo_path": "OpenKh.Tools.Kh2PlaceEditor/Views/PlacesView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1688"
} | starcoder | <reponame>Drakal/OpenKh
using System.Windows.Controls;
namespace OpenKh.Tools.Kh2PlaceEditor.Views
{
/// <summary>
/// Interaction logic for PlacesView.xaml
/// </summary>
public partial class PlacesView : UserControl
{
public PlacesView()
{
InitializeComponent();
... | 1.209183 | 1f3e9ba225e52c81d1edf2227c9d166f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1688 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DTeuchert/GitLabApiClient",
"max_stars_repo_path": "src/GitLabApiClient/Models/Projects/Requests/UpdateProjectRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1689"
} | starcoder | <reponame>DTeuchert/GitLabApiClient
using System.Collections.Generic;
using GitLabApiClient.Internal.Utilities;
using Newtonsoft.Json;
namespace GitLabApiClient.Models.Projects.Requests
{
/// <summary>
/// Updates an existing project.
/// </summary>
public sealed class UpdateProjectRequest
{
... | 2.152029 | 723f4769caf01200c2da4257b2b32fd1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1689 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rahul0tripathi/MetaNox",
"max_stars_repo_path": "Assets/LOI/Scripts/Base/ItemsCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1690"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEngine;
using Random = UnityEngine.Random;
public class ItemsCollection : ScriptableObject
{
public List<ItemData> list = new List<ItemData>();
public void AddNewItem()
{
var newItemData = new ItemData();
newItemData.id = _GetUnus... | 2.74845 | ed2fc54fdc290b678407b2d745c0ca8d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1690 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ammogcoder/squidex",
"max_stars_repo_path": "tests/Squidex.Domain.Apps.Core.Tests/Operations/ValidateContent/DateTimeFieldTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1691"
} | starcoder | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | 2.299852 | 871a86ef71224efc7fbfe2a27799c6af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1691 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "xPanini/Bubblim.Core",
"max_stars_repo_path": "Services/Menu/MenuHeader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1692"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Bubblim.Core.Services
{
public class MenuHeader
{
public int InsertBeforeId { get; set; } = 1;
public string Header { get; set; } = "";
}
}
| 1.385007 | 847f82522581be50797c25335d757a7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1692 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MendelMonteiro/csharp-driver",
"max_stars_repo_path": "src/Cassandra/Data/Linq/ExpressionParsing/BinaryConditionItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1693"
} | starcoder | //
// Copyright DataStax Inc.
//
// 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 applic... | 2.454481 | 7c350535dd2b1a97e76a3ace0299e8f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1693 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Frankity/IW4M-Admin",
"max_stars_repo_path": "Plugins/Stats/Helpers/ServerStats.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1694"
} | starcoder | <filename>Plugins/Stats/Helpers/ServerStats.cs
using IW4MAdmin.Plugins.Stats.Cheat;
using IW4MAdmin.Plugins.Stats.Models;
using System;
using System.Collections.Concurrent;
using System.Linq;
namespace IW4MAdmin.Plugins.Stats.Helpers
{
class ServerStats {
public ConcurrentDictionary<int, EFClientStatis... | 2.441518 | 1bc5eaa4dcfda463736adbbf8bc3699a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1694 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ermontgo/kapitan",
"max_stars_repo_path": "src/Kanyon.Kubernetes/Authorization/V1beta1/NonResourceRule.generated.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1695"
} | starcoder | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Kanyon.Kubernetes;
namespace Kanyon.Kubernetes.Authorization.V1beta1
{
public partial class NonResourceRule
{
/** <summary>NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but on... | 2.126631 | fd9c16e8d094b76f6b8daa718a242d9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1695 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dmk-rib/Open.Vim.Sdk",
"max_stars_repo_path": "Open.Vim.Sdk/G3d/wip/ITypedBuffer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1696"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace Vim
{
// Interface for typed buffers
public interface ITypedBuffer : IBuffer
{
Type Type { get; }
}
// Typed buffer class
public class TypedBuffer<T> : ITypedBuffer
... | 3.128566 | 6421330a3a32b09ef25408ea142cf127 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1696 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "uk-gov-mirror/hmcts.vh-video-api",
"max_stars_repo_path": "VideoApi/VideoApi.Contract/Responses/TestCallScoreResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1697"
} | starcoder | using VideoApi.Contract.Enums;
namespace VideoApi.Contract.Responses
{
/// <summary>
/// The score of a test call
/// </summary>
public class TestCallScoreResponse
{
/// <summary>
/// The score of the test call
/// </summary>
public TestScore Score { get; set; }
... | 2.266477 | ea6181fef4141d5a72b32388ce30e8cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1697 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aaron-salisbury/PhiliaContacts",
"max_stars_repo_path": "PhiliaContacts/PhiliaContacts.App/Views/LogPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1698"
} | starcoder | <reponame>aaron-salisbury/PhiliaContacts<filename>PhiliaContacts/PhiliaContacts.App/Views/LogPage.xaml.cs<gh_stars>0
using PhiliaContacts.App.ViewModels;
using Windows.UI.Xaml.Controls;
namespace PhiliaContacts.App.Views
{
public sealed partial class LogPage : Page
{
public LogViewModel ViewModel { ge... | 1.737992 | 8337237418c29060ff8d983df24957b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1698 | {
"extension": "c-sharp",
"max_stars_count": "361.0",
"max_stars_repo_name": "konidev20/VaultSharp",
"max_stars_repo_path": "src/VaultSharp/V1/SecretsEngines/GoogleCloudKMS/SignatureOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1699"
} | starcoder | <reponame>konidev20/VaultSharp
using Newtonsoft.Json;
namespace VaultSharp.V1.SecretsEngines.GoogleCloudKMS
{
/// <summary>
/// Signature input.
/// </summary>
public class SignatureOptions
{
/// <summary>
/// Integer version of the crypto key version to use for signing.
... | 1.892157 | 02bf390e4f2e45210882b32621df5687 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1699 | {
"extension": "c-sharp",
"max_stars_count": "102.0",
"max_stars_repo_name": "flostr/HockeySDK-Windows",
"max_stars_repo_path": "Src/Kit.Core45/DataContracts/CrashTelemetryHeader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1700"
} | starcoder | namespace Microsoft.HockeyApp.DataContracts
{
using System;
using System.Collections.Generic;
using System.Threading;
using Microsoft.HockeyApp.Channel;
using Microsoft.HockeyApp.Extensibility.Implementation;
using Microsoft.HockeyApp.Extensibility.Implementation.External;
/// <su... | 2.637679 | 0bf9f0ffa758cf3d971ff8183da14a25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1700 | {
"extension": "c-sharp",
"max_stars_count": "697.0",
"max_stars_repo_name": "clinuxrulz/sodium",
"max_stars_repo_path": "dotnet/src/Sodium/Sodium.Core.Frp/LoopedStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1701"
} | starcoder | <reponame>clinuxrulz/sodium<gh_stars>100-1000
using System;
namespace Sodium.Frp
{
/// <summary>
/// A forward reference for a <see cref="Stream{T}" /> equivalent to the <see cref="Stream{T}" /> that is referenced.
/// </summary>
/// <typeparam name="T">The type of values fired by the stream loop.<... | 2.666859 | 86b76581315f78ed95adfc122acfa800 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1701 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "brainwipe/spectre.console.extensions.logging",
"max_stars_repo_path": "src/Spectre.Console.Extensions.Logging/SpectreInlineLogger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1702"
} | starcoder | <gh_stars>1-10
using System;
using Microsoft.Extensions.Logging;
namespace Spectre.Console.Extensions.Logging
{
public class SpectreInlineLogger : Microsoft.Extensions.Logging.ILogger {
/*
/ Because of the context this implementation originated in (a CLI tool)
/ this logger doesn't actual... | 2.745898 | 90fa9889bbe0acf0698721bb2d333a86 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1702 | {
"extension": "c-sharp",
"max_stars_count": "95.0",
"max_stars_repo_name": "BenKalegin/LogViewer",
"max_stars_repo_path": "src/LogViewer/Models/FileBrowserModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1703"
} | starcoder | <gh_stars>10-100
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="FileBrowserModel.cs" company="WildGums">
// Copyright (c) 2008 - 2015 WildGums. All rights reserved.
// </copyright>
// ----------------------------------------... | 1.827972 | e5cd50fe42c063d8f8972e90411f832c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1703 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gareththackeray/ZendeskApiClient",
"max_stars_repo_path": "src/ZendeskApi.Client/Resources/TicketFieldsResource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1704"
} | starcoder | using System;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using ZendeskApi.Client.Extensions;
using ZendeskApi.Client.Models;
using ZendeskApi.Client.Responses;
namespace ZendeskApi.Client.Resources
{
public class TicketFieldsResource : ITicketFieldsResource
{
... | 2.316305 | 72b635b9670c05d55fd5bfc89c0215eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1704 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "ohunecker/Skybrud.Essentials",
"max_stars_repo_path": "src/Skybrud.Essentials/Xml/XmlObjectBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1705"
} | starcoder | using System.Xml.Linq;
using Newtonsoft.Json;
namespace Skybrud.Essentials.Xml {
/// <summary>
/// Class representing an object that was parsed from an instance of <see cref="System.Xml.Linq.XElement"/>.
/// </summary>
public class XmlObjectBase {
#region Properties
/// <summary>
... | 3.202405 | 2fe070e27d32779437c71125394c73b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1705 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "whitie11/CTT_WebAPI",
"max_stars_repo_path": "Controllers/UsersController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1706"
} | starcoder | <filename>Controllers/UsersController.cs<gh_stars>0
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using AutoMapper;
using System.IdentityModel.Tokens.Jwt;
using WebApi.Helpers;
using Microsoft.Extensions.Options;
using System.Text;
using Microsoft.IdentityModel.Tokens;
using System.Se... | 2.562904 | 5ce13b692956e83a39432042e830b05f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1706 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeorgiPopovIT/CSharp-Web",
"max_stars_repo_path": "HttpProtocol/HttpClientDemo/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1707"
} | starcoder | using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace HttpClientDemo
{
class Program
{
static void Main(string[] args)
{
Console.OutputEncoding = Encoding.UTF8;
cons... | 2.882508 | 8f5daf51dfa91f266205ed8dbd69bf94 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1707 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pH200/chronoplurk-wp",
"max_stars_repo_path": "src/ChronoPlurk/Views/LoginPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1708"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft... | 1.980228 | e2edbb689a62e76f317a9fe3fa808c0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1708 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tralivali1234/Automatonymous",
"max_stars_repo_path": "src/Automatonymous/Contexts/EventBehaviorContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1709"
} | starcoder | <reponame>tralivali1234/Automatonymous
// Copyright 2011-2016 <NAME>, <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//... | 2.040421 | 1b106ceaaf2a49e40846b817d181ff67 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.