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 | 73133 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pigwing/NModbus4.NetCore",
"max_stars_repo_path": "NModbus4.IntegrationTests/ModbusIpMasterFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73134"
} | starcoder | <reponame>pigwing/NModbus4.NetCore
using System.Net.Sockets;
using System.Threading;
using Modbus.Device;
using Xunit;
namespace Modbus.IntegrationTests;
public class ModbusIpMasterFixture
{
[Fact]
public void OverrideTimeoutOnTcpClient()
{
TcpListener? listener = new(ModbusMasterFixture.TcpHost,... | 2.105745 | 038669a2616df76f098c1fdf87e53436 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vstr/TrafficFilter",
"max_stars_repo_path": "tests/TrafficFilter.Tests/RequestFilterRateLimiterGlobalTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73135"
} | starcoder | using System.Collections.Generic;
using FluentAssertions;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Options;
using NSubstitute;
using TrafficFilter.Configuration;
using TrafficFilter.Extensions;
using TrafficFilter.Matches;
using TrafficFilter.RequestFilters;
using TrafficFilter.Tests.Common;
us... | 1.949966 | 74d47c0c00505ffbd98013a090e04424 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73135 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "blackducksoftware/detect-nuget-inspector",
"max_stars_repo_path": "detect-nuget-inspector/detect-nuget-inspector/Inspection/Util/AssemblyInfoVersionParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73136"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Synopsys.Detect.Nuget.Inspector.Inspection.Util
{
class AssemblyInfoVersionParser
{
public enum ConfidenceLevel
{
HIGH,
MEDIUM,
LOW
... | 2.848462 | 31349a17378d820dbf0b871aa4f308ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73136 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "rajuchapagain/Chamber",
"max_stars_repo_path": "Chamber/Chamber.Services/RoleService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73137"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Chamber.Domain.DomainModel;
using Chamber.Domain.Interfaces;
using Chamber.Domain.Interfaces.Services;
using Chamber.Services.Data.Context;
using Chamber.Utilities;
namespace Chamber.Services
{
public partial class RoleService : IRoleService... | 2.531256 | 6f8ba3b319817310b047869e95fed328 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73137 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "warning-explosive/Core",
"max_stars_repo_path": "Tests/Basics.Test/TypeExtensionsTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73138"
} | starcoder | namespace SpaceEngineers.Core.Basics.Test
{
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using Basics;
using Xunit;
using Xunit.Abstractions;
/// <summary>
/// TypeExtensions class tests
/// </summary>
[SuppressMes... | 2.164575 | de55ce342b1c451b8ef61cd0e95e5005 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73138 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DigitalzombieTLD/TownscaperTemplate",
"max_stars_repo_path": "ModSettingsExamples.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73139"
} | starcoder | <reponame>DigitalzombieTLD/TownscaperTemplate
using MelonLoader;
using UnityEngine;
using ModUI;
using System;
namespace TownscaperTemplate
{
public static class ModSettingsExamples
{
// Methods used to set arbitrary custom settings
public static void SetCustomSettings()
{
// Set new integer value setting
... | 2.447571 | 1fc46382629e55082e273cf67a4263a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73139 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vincentgury/Serilog.Sinks.EntityFrameworkCore",
"max_stars_repo_path": "src/VG.Serilog.Sinks.EntityFrameworkCore/LogDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73140"
} | starcoder | <reponame>vincentgury/Serilog.Sinks.EntityFrameworkCore<gh_stars>1-10
namespace VG.Serilog.Sinks.EntityFrameworkCore
{
using Microsoft.EntityFrameworkCore;
public class LogDbContext : DbContext
{
public DbSet<LogRecord> LogRecords { get; set; }
public LogDbContext(DbContextOptions<LogDbCo... | 1.468548 | 4614a1da7585b879200046949de9d481 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73140 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "simpleidserver/FaasNet",
"max_stars_repo_path": "src/FaasNet.Runtime/AsyncAPI/v2/Models/Bindings/OperationBindings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73141"
} | starcoder | <reponame>simpleidserver/FaasNet
using FaasNet.Runtime.AsyncAPI.v2.Models.Bindings.Amqp;
using FaasNet.Runtime.JSchemas;
using Newtonsoft.Json;
using NJsonSchema.References;
namespace FaasNet.Runtime.AsyncAPI.v2.Models.Bindings
{
[JsonConverter(typeof(ReferenceConverter))]
public class OperationBindings : Jso... | 1.177648 | 61b06a99617c980a0772bac95b79bb25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73141 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Saibamen/BriskChat",
"max_stars_repo_path": "BriskChat.DataAccess/Models/Role.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73142"
} | starcoder | using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BriskChat.DataAccess.Models
{
public class Role : BaseEntity
{
[Required]
[Column(TypeName = "NVARCHAR(100)")]
public string Name { get; set; }
[Required]
[Column... | 2.161 | 23d7065454235901ee404ce9517027cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73142 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wattanar/Retsu",
"max_stars_repo_path": "src/Web/DataAccess/Entities/UserRoleTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73143"
} | starcoder | using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Web.DataAccess.Entities
{
[Table("UserRole")]
public class UserRoleTable
{
[Required]
public int UserId { get; set; }
[Required]
public int RoleId { get; set; }
... | 2.099042 | 254dc496f6671d7a9907007d6ba1d9bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73143 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexpeev9/Restaurant-Console-App",
"max_stars_repo_path": "RestaurantConsoleApp/Models/PaidClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73144"
} | starcoder | <reponame>alexpeev9/Restaurant-Console-App
namespace RestaurantConsoleApp.Models
{
using RestaurantConsoleApp.Models.Abstractions;
public class PaidClient : BaseModel
{
private const int PaidClientBalance = 5;
public PaidClient(string username) : base(username, PaidClientBalance)
{
... | 1.888617 | deb3abe62dc3028a161961e8dd53b95b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73144 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlbertMukhammadiev/UniversityHomeworks",
"max_stars_repo_path": "Second_semester/Homework_5/Cursor(Event loop)/Cursor(Event loop)/EventLoop.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73145"
} | starcoder | <filename>Second_semester/Homework_5/Cursor(Event loop)/Cursor(Event loop)/EventLoop.cs
using System;
using System.Collections.Generic;
namespace CursorNamespace
{
/// <summary>
/// class that implements the event loop
/// </summary>
public class EventLoop
{
public event EventHandler<Event... | 3.378227 | f5556dddda2c55ec02f484ac77459d4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73145 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "spiir/viia-sample",
"max_stars_repo_path": "Web/Models/Aiia/PaymentExecution.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73146"
} | starcoder | namespace Aiia.Sample.Models.Aiia
{
public class PaymentExecution
{
public Amount Amount { get; set; }
public string Fee { get; set; }
}
}
| 1.548031 | 6f478ce863547b56dcdfa1137cade9a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73146 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "WamWooWam/UnitySonicTool",
"max_stars_repo_path": "Instancer/InstancerData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73147"
} | starcoder | <filename>Instancer/InstancerData.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
[Serializable]
public struct InstancerData
{
public Vector3 position;
public int type;
}
| 1.504128 | abff627521c2afaa8374107581ffc864 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73147 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "myarichuk/DataModelingWorkshop",
"max_stars_repo_path": "ImportFromCsvData/RavenEntities/BJCPCategoriesMapProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73148"
} | starcoder | <filename>ImportFromCsvData/RavenEntities/BJCPCategoriesMapProfile.cs
using System.Linq;
using AutoMapper;
using ImportCsvData.CsvRowEntities;
namespace ImportCsvData.RavenEntities
{
public class BJCPCategoriesMapProfile : Profile
{
public BJCPCategoriesMapProfile()
{
CreateMap<BJC... | 2.222714 | f0b8c80079e48d999871de43ee52a7b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73148 | {
"extension": "c-sharp",
"max_stars_count": "72.0",
"max_stars_repo_name": "hu53yin/StratisFullNode",
"max_stars_repo_path": "src/Stratis.Features.Unity3dApi/Controllers/Unity3dController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73149"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using CSharpFunctionalExtensions;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using NBitcoin;
using Newtonsoft.Json;
using Stratis.Bitcoin.Base;
using Strat... | 1.742586 | 7654b00239d45901475466f576c01bc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73149 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OrchesAdam/DotNetCore.SKIT.FlurlHttpClient.Wechat",
"max_stars_repo_path": "src/SKIT.FlurlHttpClient.Wechat.TenpayBusiness/Models/MSEPayRedirects/CreateMSEPayRedirectLinkResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73150... | starcoder | <gh_stars>0
using System;
namespace SKIT.FlurlHttpClient.Wechat.TenpayBusiness.Models
{
/// <summary>
/// <para>表示 [POST] /mse-pay/redirects 接口的响应。</para>
/// </summary>
public class CreateMSEPayRedirectLinkResponse : WechatTenpayBusinessResponse
{
public static class Types
{
... | 1.546497 | 918c1c84c0df9fde6fdde8a840fb7eea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "inderjeet1215/WebAssignment3",
"max_stars_repo_path": "src/Web/obj/Debug/netcoreapp2.1/Razor/Views/Order/Detail.g.cshtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73151"
} | starcoder | #pragma checksum "C:\Web_Assignments\eCommerce\eCommerce\src\Web\Views\Order\Detail.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "93ad9021b264dfdbaa74960f1a089ec5900d5a18"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(Asp... | 1.266446 | 6cb9023d8d96110bd5dbaba3869cf91f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73151 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "gelic-idealab/komodo_unity",
"max_stars_repo_path": "Komodo/Assets/Packages/KomodoCore/Runtime/Scripts/RuntimeSession/ToggleExpandability.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73152"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Komodo.Runtime
{
public class ToggleExpandability : MonoBehaviour
{
public GameObject[] expanders;
public GameObject[] collapsers;
public GameObject[] panels;
public void ConvertToExpandab... | 2.37545 | 5e0b94e468fabe32ea88706b639d3cd3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73152 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ftijan/turtle-in-a-minefield",
"max_stars_repo_path": "src/TurtleChallenge/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73153"
} | starcoder | <reponame>ftijan/turtle-in-a-minefield
using System;
using System.Collections.Generic;
using System.IO;
using TurtleChallenge.Models;
namespace TurtleChallenge
{
/// <summary>
/// The program.
/// </summary>
class Program
{
/// <summary>
/// Runs the app.
/// </summary>
... | 3.087408 | 756ea1d09ab298dc200a013b54bcdc6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73153 | {
"extension": "c-sharp",
"max_stars_count": "5973.0",
"max_stars_repo_name": "olirobert/uno",
"max_stars_repo_path": "src/Uno.UI/UI/Xaml/Automation/ExpandCollapsePatternIdentifiers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73154"
} | starcoder | using Uno;
namespace Windows.UI.Xaml.Automation
{
public partial class ExpandCollapsePatternIdentifiers
{
[NotImplemented]
public static AutomationProperty ExpandCollapseStateProperty
{
get
{
return new AutomationProperty();
}
}
}
}
| 1.217662 | e31846248549e2b70aeaaf688c26b53b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73154 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Jaykul/clrplus",
"max_stars_repo_path": "Powershell.Provider/Utility/ProgressStreamReportDelegate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73155"
} | starcoder | //-----------------------------------------------------------------------
// <copyright company="CoApp Project">
// Copyright (c) 2010-2013 <NAME> and CoApp Contributors.
// Contributors can be discovered using the 'git log' command.
// All rights reserved.
// </copyright>
// <license>
// The so... | 1.85843 | 0ba3e7e66efa174979e2a7edfcff2333 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73155 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Benjiiben53/Macro-Deck",
"max_stars_repo_path": "GUI/CustomControls/ButtonEditor/ActionItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73156"
} | starcoder | using SuchByte.MacroDeck.Plugins;
using System;
using SuchByte.MacroDeck.Interfaces;
using System.Windows.Forms;
namespace SuchByte.MacroDeck.GUI.CustomControls
{
public partial class ActionItem : UserControl, IActionConditionItem
{
public IMacroDeckAction Action { get; set; }
publ... | 2.054373 | 0608f7898d85f06d904ef614903e8dfa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73156 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "prozum/solitude",
"max_stars_repo_path": "Solitude.Droid/Fragments/AccentSnackBar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73157"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.Support.Design.Widget;
namespace Solitude.Droid
{
/// <summary>
/// A static helperclass, ... | 2.793422 | 6a291be8f5fe39e0e901b2b9c943fbc5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73157 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "azra-imamovic/RS2-eRestoran",
"max_stars_repo_path": "eRestoran/eRestoran.WinUI/UserControls/Profil/ucPromjenaLozinke.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73158"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using eRestoran.Model.Requests;
using eRestoran.WinUI.Helpers;
namespace eRestoran.WinUI.UserControls.Pr... | 2.123904 | e4592252bddfa94effa8869270299150 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73158 | {
"extension": "c-sharp",
"max_stars_count": "643.0",
"max_stars_repo_name": "spring-operator/Samples",
"max_stars_repo_path": "Connectors/src/AspDotNetCore/MySqlEFCore/Models/SecondTestContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73159"
} | starcoder | using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MySqlEFCore
{
public class SecondTestContext : DbContext
{
public SecondTestContext(DbContextOptions<SecondTestContext> options) : base(options)
{
... | 2.379399 | fb8638309dcd4766123cc1b777655910 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73159 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "cognitedata/cognite-sdk-dotnet",
"max_stars_repo_path": "CogniteSdk/src/Resources/Playground.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73160"
} | starcoder | // Copyright 2020 Cognite AS
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Threading;
using System.Threading.Tasks;
using Oryx;
namespace CogniteSdk.Resources
{
/// <summary>
/// For internal use. Contains all Playground resources.
/// </summary>
public class PlaygroundResource : R... | 2.123434 | a261251c12843bcf02abe46a91b2889d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73160 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarkManYUN/WALLE-Project",
"max_stars_repo_path": "Web/Background/t_message/Modify.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73161"
} | starcoder | <gh_stars>0
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
using Maticsoft.Common;
us... | 1.838069 | ff124921a22d001bd4523a5fb9551a50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73161 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "baynezy/deep-secure-threat-removal-sdk",
"max_stars_repo_path": "src/DeepSecure.ThreatRemoval/Extensions/EnumExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73162"
} | starcoder | <filename>src/DeepSecure.ThreatRemoval/Extensions/EnumExtension.cs<gh_stars>0
using System;
namespace DeepSecure.ThreatRemoval.Extensions
{
public static class EnumExtension
{
/// <summary>
/// Returns the <c>StringValue</c> attribute for this Enum
/// </summary>
public static string GetStringValue(this Enum... | 3.387874 | 8a22e8116140441981d1b727e13303ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73162 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "gickis/AppMetrics",
"max_stars_repo_path": "src/App.Metrics.Core/Infrastructure/EnvironmentInfoProviderCache.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73163"
} | starcoder | <reponame>gickis/AppMetrics
// <copyright file="EnvironmentInfoProviderCache.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
using System;
using System.Reflection;
using System.Runtime.InteropServices;
namespace App.Metrics.Infrastructure
{
internal class EnvironmentInfoProvid... | 2.379329 | ffd41ae469d9adb68fb383d9d9ef8db6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73163 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zumwani/DownloadNotifier",
"max_stars_repo_path": "DownloadNotifier/Utility/OpenUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73164"
} | starcoder | using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using Syroot.Windows.IO;
namespace DownloadNotifier
{
public static class OpenUtility
{
#region Pinvoke
[DllImport("shell32.dll", EntryPoint = "SHOpenWithDialog", CharSet = CharSet.Unicode)]
... | 2.478069 | fc6661a08f72b470fc25c695bac044e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73164 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Huawei/ICP_ICPSDKDemo_CSharp",
"max_stars_repo_path": "src/ICPClientDemo/ICPDemo/frmAnswer.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73165"
} | starcoder | <filename>src/ICPClientDemo/ICPDemo/frmAnswer.Designer.cs
namespace ICPDemo
{
partial class frmAnswer
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resour... | 2.042282 | b4ed3fcb6783709be54975a3b10a7c39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73165 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "GuardHei/UltimateTAA",
"max_stars_repo_path": "Assets/AdvancedRenderPipeline/Runtime/Blitter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73166"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using UnityEngine.Rendering;
namespace AdvancedRenderPipeline.Runtime {
public static class Blitter {
public static void Blit(this CommandBuffer cmd, RTHandle src, RenderTargetIdentifier dest) {
cmd.SetGlobalTexture(ShaderKeywordManager.MAIN_TEXTURE, src, RenderTextureSubElem... | 1.922242 | e967cee689f8b34c1c6ddc9326f1df65 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73166 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DeBesten/GuerrillaSharp",
"max_stars_repo_path": "GuerrillaSharp/Util/HttpUtil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73167"
} | starcoder | <filename>GuerrillaSharp/Util/HttpUtil.cs<gh_stars>0
using GuerrillaSharp.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace GuerrillaSharp.Util
{
internal class HttpUtil
{
... | 2.57061 | e53f747bc69a1293d82078b6d602c8fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73167 | {
"extension": "c-sharp",
"max_stars_count": "108.0",
"max_stars_repo_name": "Gwynneth/FastRsyncNet",
"max_stars_repo_path": "source/FastRsync.Tests/SignatureReaderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73168"
} | starcoder | using System;
using System.IO;
using FastRsync.Diagnostics;
using FastRsync.Hash;
using FastRsync.Signature;
using NSubstitute;
using NUnit.Framework;
namespace FastRsync.Tests
{
[TestFixture]
public class SignatureReaderTests
{
[Test]
public void SignatureReader_ReadsOctodiffSignature()
... | 2.134378 | ffb2d27055427b5ebcd96019b46d07d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73168 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mchilicki/coffee-mug-task",
"max_stars_repo_path": "Chilicki.CoffeeMugTask/Chilicki.CoffeeMugTask.WebApi/Configurations/ErrorHandling/ErrorMiddlewareHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73169"
} | starcoder | using Chilicki.CoffeeMugTask.Application.Helpers.Exceptions;
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
namespace Chilicki.CoffeeMugTask.WebApi.Configurations.ErrorHandling
{
public clas... | 2.626433 | 8eaa3bf7fa10f4d0dc3f19eaeebd0cd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73169 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "inspoy/Instech",
"max_stars_repo_path": "cc.inspoy.framework.common/Event/EventDispatcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73170"
} | starcoder | // == Inspoy Technology ==
// Assembly: Instech.Framework.Common
// FileName: EventDispatcher.cs
// Created on 2018/05/03 by inspoy
// All rights reserved.
using System;
using System.Collections.Generic;
using Instech.Framework.Core;
using Instech.Framework.Logging;
#if INSTECH_PROFILING
using System.Diagnostics;
#end... | 2.403758 | 253dc4621a728d6efb0f837c107603dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73170 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AVinitzca/tgc-viewer",
"max_stars_repo_path": "TGC.Examples/MeshExamples/EjemploMeshLoader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73171"
} | starcoder | using System;
using System.Drawing;
using System.Windows.Forms;
using TGC.Core.SceneLoader;
using TGC.Core.Utils;
using TGC.Examples.Camara;
using TGC.Examples.Example;
using TGC.Examples.UserControls;
using TGC.Examples.UserControls.Modifier;
namespace TGC.Examples.MeshExamples
{
/// <summary>
/// Ejemplo... | 2.484042 | 452c1e8cb8969806381eeb36e1cc93c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73171 | {
"extension": "c-sharp",
"max_stars_count": "4226.0",
"max_stars_repo_name": "gstsgy/Util",
"max_stars_repo_path": "src/Util.Tools.Offices/ExportFormat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73172"
} | starcoder | <filename>src/Util.Tools.Offices/ExportFormat.cs<gh_stars>1000+
using System.ComponentModel;
namespace Util.Tools.Offices {
/// <summary>
/// 导出格式
/// </summary>
public enum ExportFormat {
/// <summary>
/// Excel 2003
/// </summary>
[Description("Excel2003")]
Xl... | 2.211595 | 8a7a720c50af7bbd2aa9df4bdf490b14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73172 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DegasEd/TagPauloEdgardAspNetCore",
"max_stars_repo_path": "TagShop.Business/ProductBusiness.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73173"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TagShop.Business.Interfaces;
using TagShop.Domain.Models;
using TagShop.Repository;
using TagShop.Repository.Interfaces;
namespace TagShop.Business
{
public class ProductBusiness : IProductBusiness
{
... | 2.187681 | 5f3bb20a61db3ac5710081ca0fbf6b7e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73173 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MiniverCheevy/spa-starter-kit",
"max_stars_repo_path": "dev-tools/Voodoo.CodeGeneration/Operations/BuilderRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73174"
} | starcoder | <filename>dev-tools/Voodoo.CodeGeneration/Operations/BuilderRequest.cs
namespace Voodoo.CodeGeneration.Operations
{
public class BuilderRequest
{
public string[] Args { get; set; }
}
} | 1.386514 | 103e6775f46ddff85564208262947e13 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73174 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dcjulian29/toolkit",
"max_stars_repo_path": "ToolKit-Windows/DirectoryServices/UserSort/SortBySamAccountName.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73175"
} | starcoder | using System;
using System.Collections.Generic;
namespace ToolKit.DirectoryServices.UserSort
{
/// <summary>
/// Defines a method that a type implements to compare two user objects by SAM Account Name.
/// </summary>
public class SortBySamAccountName : IComparer<IUser>
{
private readonly ... | 3.393858 | ba2e2f3bbcb6b38b67cbbe145b72fd2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73175 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "davidbritch/dotnet-maui-samples",
"max_stars_repo_path": "UserInterface/Layouts/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/Code/ProportionalCoordinateCalcDemoPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73176"
} | starcoder | <reponame>davidbritch/dotnet-maui-samples
using System;
using Microsoft.Maui.Controls;
using Microsoft.Maui.Graphics;
using Microsoft.Maui.Layouts;
using Microsoft.Maui;
namespace AbsoluteLayoutDemos.Views.Code
{
public class ProportionalCoordinateCalcDemoPage : ContentPage
{
AbsoluteLayout absoluteLa... | 2.660641 | fb1665877d667f78f142b0057255befd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73176 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dbraillon/Roggler",
"max_stars_repo_path": "src/Roggle.Core/Roggles/IRoggle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73177"
} | starcoder | <gh_stars>0
using System;
namespace Roggle.Core
{
public interface IRoggle
{
RoggleLogLevel AcceptedLogLevels { get; set; }
void UnhandledException(object sender, UnhandledExceptionEventArgs args);
void Write(Exception e, RoggleLogLevel level);
void Write(string message, Excep... | 1.593933 | f796de0f09a7e85e30c9b79736a072cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73177 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "base31/Stact",
"max_stars_repo_path": "src/Stact/Workflow/WorkflowInstanceExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73178"
} | starcoder | // Copyright 2010 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 2.267391 | ba99bb64e672d98ed7ecab7e3b39d228 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73178 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Totopolis/domain0.desktop",
"max_stars_repo_path": "Domain0.Desktop/Domain0.Desktop/AmmyExpressionConverter/KnownTypes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73179"
} | starcoder | <reponame>Totopolis/domain0.desktop<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace AmmySidekick
{
public static class KnownTypes
{
private ... | 2.522921 | 6086cf32a65487c74d403f9e2e1eddb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73179 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "videoerror/MossyCraft",
"max_stars_repo_path": "fCraft/AutoRank/AutoRankManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73180"
} | starcoder | <reponame>videoerror/MossyCraft<filename>fCraft/AutoRank/AutoRankManager.cs
#region LICENCE
/*
Copyright 2017 video_error
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/lic... | 2.670669 | 82ff9e2e42defed871e4cd479bb9c199 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73180 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeCity/Lykke.Job.TxDetector",
"max_stars_repo_path": "src/Lykke.Job.TxDetector.Core/Services/Notifications/AppNotifications.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73181"
} | starcoder | using System;
using System.Threading.Tasks;
namespace Lykke.Job.TxDetector.Core.Services.Notifications
{
public enum NotificationType
{
Info = 0,
KycSucceess = 1,
KycRestrictedArea = 2,
KycNeedToFillDocuments = 3,
TransctionFailed = 4,
TransactionConfirmed = 5,
... | 2.001563 | 2c55e0773e311f2c88b70c1cae789d43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73181 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "PacktPublishing/ASP.NET-MVC-Core-2.0-Cookbook",
"max_stars_repo_path": "Chapter15/3-CreatingViewComponentController/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:73182"
} | starcoder | <reponame>PacktPublishing/ASP.NET-MVC-Core-2.0-Cookbook<gh_stars>10-100
@model List<Product>
<br />
<div style="width:300px;">
@foreach (var p in Model)
{
<fieldset>
<div><span>Name: </span><span>@p.Name</span></div>
<div><span>Price: </span><span>@p.Price</span></div>
... | 2.543955 | ff18d08d930848a16f27c69400a6c875 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73182 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "hueyh/AccountRight_Live_API_.Net_SDK",
"max_stars_repo_path": "MYOB.API.SDK/SDK/Contracts/Version2/Sale/QuoteLineType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73183"
} | starcoder | <gh_stars>10-100
namespace MYOB.AccountRight.SDK.Contracts.Version2.Sale
{
/// <summary>
/// Describes the basic quote line types
/// </summary>
public enum QuoteLineType
{
/// <summary>
/// Used by all
/// </summary>
Transaction,
/// <summary>
/// C... | 1.818632 | 26011bffaec3ee49939bbbea5095787b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73183 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Pratik-Gautam/YammerWebTool",
"max_stars_repo_path": "YammerSDK/Notifications/LikedBy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73184"
} | starcoder |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using YammerSDK.Notifications;
namespace YammerSDK.Notifications
{
public class LikedBy
{
[JsonProperty("count")]
public int Count { get; set; }
[JsonProperty("nam... | 1.554355 | c720b956438caacf98919a99c5ac6fd3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73184 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ioklo/gum",
"max_stars_repo_path": "Src/Gum.TextAnalysis/BufferPosition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73185"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using System.Threading.Tasks;
namespace Gum
{
public struct BufferPosition
{
private Buffer buffer;
private int nextPos;
private int code; // null이라면
internal BufferPosition(Buffe... | 3.260582 | 15b3437d9d20b5a27fdd2913903491d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73185 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vkhaitan/TableViewSharp",
"max_stars_repo_path": "sort/AbstractSortComparator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73186"
} | starcoder | using System;
namespace Com.Evrencoskun.Tableview.Sort
{
/// <summary>Created by cedricferry on 6/2/18.</summary>
public abstract class AbstractSortComparator
{
protected internal SortState mSortState;
protected internal virtual int CompareContent(object o1, object o2)
... | 2.919415 | e4f8ec80e164075f8b757a79d98495cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73186 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cheng219/tianyu",
"max_stars_repo_path": "Assets/YunvaScript/Protocol/ImRecordVolumeNotify.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73187"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using System.Collections;
namespace YunvaIM
{
public class ImRecordVolumeNotify : YunvaMsgBase
{
public string v_ext;//扩展字段
public int v_volume;//音量(1-100)
public ImRecordVolumeNotify(object Parser)
{
uint parser = (uint)Parser;
... | 1.938816 | 5930ff43eb5bf4a2e7b7b4ad27f57280 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73187 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "berkayalcin/AuthProxy",
"max_stars_repo_path": "AuthProxy/TransactionFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73188"
} | starcoder | using System.Transactions;
namespace AuthProxy
{
public class TransactionFactory
{
public static TransactionScope Create()
{
return new TransactionScope(TransactionScopeAsyncFlowOption.Enabled);
}
}
} | 1.694213 | e9e24728fecce7d1e9f00a98cdf3d2a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73188 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stoyanovmiroslav/CSharp-Fundamentals",
"max_stars_repo_path": "CSharp Advanced/Multidimensional Arrays - Exercise/11. Parking System/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73189"
} | starcoder | using System;
using System.Linq;
namespace _11._Parking_System
{
class Program
{
static void Main(string[] args)
{
int[] matrixSize = Console.ReadLine().Split(new string[] { " " }, StringSplitOptions.RemoveEmptyEntries).Select(int.Parse).ToArray();
bool[][] matrix = new... | 3.258624 | 6b18d9a18b39a904e953d4d9588d083c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73189 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sweapz/DnD_Spells_Compendium",
"max_stars_repo_path": "DnDSpellsCompendium/DnDSpellsCompendium/Helpers/TitleToUpperCaseConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73190"
} | starcoder | <reponame>Sweapz/DnD_Spells_Compendium<filename>DnDSpellsCompendium/DnDSpellsCompendium/Helpers/TitleToUpperCaseConverter.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace DnDSpellsCompendium.Helpers
{
[Value... | 2.867329 | dcaaf3611a179d6900d69e59d571d661 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73190 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "behluluysal/lawyerproject",
"max_stars_repo_path": "Avukat_2/obj/Release/Package/PackageTmp/Views/Delete/Musterisil.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:73191"
} | starcoder | <filename>Avukat_2/obj/Release/Package/PackageTmp/Views/Delete/Musterisil.cshtml
@{
Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}
@model Avukat_2.ViewModels.MusteriListeleViewModel
@using Avukat_2.Security;
<style>
.box-container {
height: 200px;
}
.box-item {
width: 100%;
z... | 1.939063 | a618dde5cee5dba3157a8b61fec1d2d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73191 | {
"extension": "c-sharp",
"max_stars_count": "83.0",
"max_stars_repo_name": "Envisitor/EliteAPI",
"max_stars_repo_path": "EliteAPI/Event/Models/Carriers/CarrierFinanceEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73192"
} | starcoder | using System;
using EliteAPI.Event.Models;
using EliteAPI.Event.Models.Abstractions;
using Newtonsoft.Json;
using ProtoBuf;
namespace EliteAPI.Event.Models
{
[ProtoContract(ImplicitFields = ImplicitFields.AllPublic)]
public class CarrierFinanceEvent : EventBase<CarrierFinanceEvent>
{
internal ... | 1.984009 | 547437d2a6dd2738d37f8fd6d4722228 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73192 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/ONSdigital.blaise-api-rest",
"max_stars_repo_path": "Blaise.Api.Contracts/Models/User/UpdateUserServerParksDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73193"
} | starcoder | using System.Collections.Generic;
using System.Linq;
namespace Blaise.Api.Contracts.Models.User
{
public class UpdateUserServerParksDto
{
public UpdateUserServerParksDto()
{
ServerParks = new List<string>();
}
public List<string> ServerParks { get; set; }
... | 1.983136 | 1f8650adb9344530aa9b6eeeb8d33850 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73193 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Synchronicity89/Lean",
"max_stars_repo_path": "SaigeIncPy2Cs/Alphas/GlobalEquityMeanReversionIBSAlpha.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73194"
} | starcoder | <filename>SaigeIncPy2Cs/Alphas/GlobalEquityMeanReversionIBSAlpha.cs
namespace Alphas {
using AddReference = clr.AddReference;
using ConstantFeeModel = QuantConnect.Orders.Fees.ConstantFeeModel;
using EqualWeightingPortfolioConstructionModel = QuantConnect.Algorithm.Framework.Portfolio.EqualWe... | 2.249249 | 387ba09aaabeb393f7994b89fa7f3aa0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73194 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "FaithLV/spectabis-nex",
"max_stars_repo_path": "src/SpectabisLib/Helpers/EmulatorOptionsParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73195"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using SpectabisLib.Enums;
namespace SpectabisLib.Helpers
{
public static class EmulatorOptionsParser
{
public static string ConvertToLaunchArguments(EmulatorLaunchOptions launchOptions)
{
if(launchOptions == 0)
... | 2.863579 | e75d1534ee0c93fd7cf8768f0c8dd50d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73195 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "heku/Kool.VsDiff",
"max_stars_repo_path": "Kool.VsDiff/Commands/DiffClipboardWithCodeCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73196"
} | starcoder | <gh_stars>10-100
using EnvDTE;
using Kool.VsDiff.Models;
using System.IO;
namespace Kool.VsDiff.Commands
{
internal sealed class DiffClipboardWithCodeCommand : BaseCommand
{
public static DiffClipboardWithCodeCommand Instance { get; private set; }
public static void Initialize(VsDiffPackage p... | 2.016618 | efed568464afd6c5510be06540aa6f4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73196 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "lrasmus/rdotnet",
"max_stars_repo_path": "R.NET/Diagnostics/S4ObjectDebugView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73197"
} | starcoder | using System.Diagnostics;
using System.Linq;
namespace RDotNet.Diagnostics
{
internal class S4ObjectDebugView
{
private readonly S4Object s4obj;
public S4ObjectDebugView(S4Object obj)
{
this.s4obj = obj;
}
[DebuggerBrowsable(DebuggerBrowsable... | 2.34987 | c1368a831d71480dcab516e26f8268fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73197 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jacobrave/Sloth",
"max_stars_repo_path": "HighScoreRecorder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73198"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.IO;
public static class HighScoreRecorder {
public enum ScoreState { High, Low, None }
static string path = Path.Combine(Environment.CurrentDirectory, "hs.sloth");
static int scoreTime = 40;
sta... | 2.924348 | 422179760661de8030031b139d3321f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73198 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maxkimambo/MailBoxMigrator",
"max_stars_repo_path": "MailBoxMigrator.Core/MigrationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73199"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using MailBoxMigrator.Utils;
namespace MailBoxMigrator.Core
{
public class MigrationService
{
private readonly ILogWriter _l... | 2.717726 | 5fe56a0010d09c9f59c87972ece578ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73199 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chencai01/scada-v6",
"max_stars_repo_path": "ScadaCommon/ScadaCommon.Forms/CtrlDbConnection.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73200"
} | starcoder | <filename>ScadaCommon/ScadaCommon.Forms/CtrlDbConnection.Designer.cs
namespace Scada.Forms
{
partial class CtrlDbConnection
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
... | 2.001227 | 868e4814a7a7d2b9afc2d883e1744c6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73200 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Cybermaxs/Toppler",
"max_stars_repo_path": "tests/Toppler.Tests.Integration/TestConstants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73201"
} | starcoder | <gh_stars>1-10
namespace Toppler.Tests.Integration
{
public class TestConstants
{
public const string TestCategoryName = "Category";
public const string UnitTestCategory = "Unit";
public const string IntegrationTestCategory = "Integration";
}
}
| 1.229764 | 2aa660226e3ef1da1caf672671a6e136 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73201 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "PuzzleBot/Tetris-Remake",
"max_stars_repo_path": "Assets/Scripts/UI/BlinkableText.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73202"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class BlinkableText : MonoBehaviour {
private int timerCount;
private bool isOriginalColor;
/*How many frames should pass between color changes*/
public int blinkTiming;
/*How many times the component sh... | 2.712248 | e910082c141754aff1b2f02cba3d06ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73202 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mattlandau/TheAlterscope3",
"max_stars_repo_path": "TheAlterscope3/Assets/Scripts/GlobalStateScripts/ResumeFromPause.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73203"
} | starcoder | <gh_stars>0
using UnityEngine;
namespace TheAlterscope2
{
public class ResumeFromPause : MonoBehaviour, IStateResponder, IHasSetup
{
ILogger _logger;
DialogueMediator _dialogueMediator;
bool _hasBeenSetup;
ConversationStateMachine _conversationStateMachine;
Animator _sp... | 1.820738 | ed8185c05aab4103c11d45db59e6a72d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73203 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marcelo-moura/DesafioDev",
"max_stars_repo_path": "DesafioDev/DesafioDev.Infra.InterfacesRepository/IPagamentoRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73204"
} | starcoder | <gh_stars>0
using DesafioDev.Business.Models;
using DesafioDev.Infra.InterfacesRepository.Base;
namespace DesafioDev.Infra.InterfacesRepository
{
public interface IPagamentoRepository : IRepositoryBase<Pagamento>
{
}
}
| 0.851164 | bdaa40f8b063753e1607079efc68ea8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73204 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eleightondick/demo-dbsecdev",
"max_stars_repo_path": "SecurityApplication/SecurityApplication/Views/Secure/XSS.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:73205"
} | starcoder | @model SecurityApplication.Helpers.SecureHelper
@{
ViewBag.Title = "XSS (Cross Site Scripting) Demo";
Layout = "~/Views/Shared/_Layout.cshtml";
ViewBag.AllowInsecureComment = false;
}
<h2>XSS (Cross Site Scripting Example)</h2>
<div class="col-md-12">
<b>Important Information about Encoding:<... | 2.599343 | c36e989a0d8e0a360d71ba7d5c0c3b4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73205 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YashUoM/testcentric-gui",
"max_stars_repo_path": "src/TestEngine/testcentric.engine/Communication/Transports/ITestAgencyTransport.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73206"
} | starcoder | <gh_stars>0
// ***********************************************************************
// Copyright (c) <NAME> and TestCentric GUI contributors.
// Licensed under the MIT License. See LICENSE file in root directory.
// ***********************************************************************
namespace TestCentric.Engine... | 0.797728 | ec5cc468ac997e132c5acbb02ecb28d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73206 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "2006-jun15-net/kirti-project0",
"max_stars_repo_path": "CarStore/CarStore.Library/Model/Stock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73207"
} | starcoder | <reponame>2006-jun15-net/kirti-project0
using System;
namespace CarStore.Library.Model
{
/// <summary>
/// stock object
/// </summary>
public class Stock
{
// private fields for product name to ensure the name is valid
private int _locationId;
private int _productId;
... | 2.747628 | 45885f776985970964702caf96de7b2b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73207 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "luizfbicalho/Camunda.NET",
"max_stars_repo_path": "camunda-bpm-platform-net/engine/src/main/java/org/camunda/bpm/engine/impl/pvm/runtime/CompensationBehavior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73208"
} | starcoder | using System.Collections.Generic;
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under t... | 2.039722 | 3320fb0917c7bea26e3e1a70b3e5da4f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73208 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "forki/OwinFramework.Pages",
"max_stars_repo_path": "OwinFramework.Pages.Core/Interfaces/IService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73209"
} | starcoder | using OwinFramework.Pages.Core.Debug;
using OwinFramework.Pages.Core.Interfaces.Runtime;
namespace OwinFramework.Pages.Core.Interfaces
{
/// <summary>
/// A service responds to browser requests by executing business logic
/// and returning data in response. The response data can be any mime type.
/// ... | 2.210111 | d7bd795701cb4b6612c011769f0705c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73209 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lor9ndr/FitnessCustomerAccountingApp",
"max_stars_repo_path": "FitnessCustomerAccountingApp/Views/WatchCardsView.axaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73210"
} | starcoder | using Avalonia.Markup.Xaml;
using Avalonia.ReactiveUI;
using FitnessCustomerAccountingApp.Core;
using ReactiveUI;
namespace FitnessCustomerAccountingApp
{
public class WatchCardsView : ReactiveUserControl<WatchCardsViewModel>
{
public WatchCardsView()
{
this.WhenActivated(disposable... | 1.409652 | 25f3ecfaeae9ee5c917cbf6cdb4833a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73210 | {
"extension": "c-sharp",
"max_stars_count": "547.0",
"max_stars_repo_name": "sandreenko/performance",
"max_stars_repo_path": "src/scenarios/weblarge3.0/src/ClassLib117/Class071.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73211"
} | starcoder | namespace ClassLib117
{
public class Class071
{
public static string Property => "ClassLib117";
}
}
| 1.295653 | ce8ba43bef649d8910e937c827deaba4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73211 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeplmr/ggj2021",
"max_stars_repo_path": "Assets/Shaders/Terrain/Tracks.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73212"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Tracks : MonoBehaviour
{
public Shader _drawShader;
public Material _snowMaterial;
private Material _drawMaterial;
//private RenderTexture _splatmap;
private RenderTexture _splatmap;
public GameObje... | 2.246178 | 36c4af6163f5a61c0c7dfd73be8a25c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73212 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sshukurov/dotnet-version-cli",
"max_stars_repo_path": "src/CsProj/ProjectFileParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73213"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace Skarp.Version.Cli.CsProj
{
public class ProjectFileParser
{
public virtual string Version { get; private set; }
public virtual void Load(string xmlDocument)
{
var xml = XDocu... | 2.779617 | bcc38cac115c58e979ceb37ca4ebd3b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73213 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gaistorn/PEIUForGrid",
"max_stars_repo_path": "Models/CommonModel/DatabaseModel/Role.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73214"
} | starcoder | <gh_stars>0
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Text;
namespace PEIU.Models.Database
{
[System.ComponentModel.DataAnnotations.Schema.Table("Roles")]
public class Role : IdentityRole<string>
{
public string Category { get; set; }
... | 1.571099 | 440a1b53053b4ff196c365c265ae0328 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73214 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sumrix/CKTranslator",
"max_stars_repo_path": "src/CKTranslator/DataAnnotations/FilePathAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73215"
} | starcoder | using System.ComponentModel.DataAnnotations;
using System.IO;
namespace CKTranslator.DataAnnotations
{
public sealed class FilePathAttribute : ValidationAttribute
{
protected override ValidationResult? IsValid(object? value, ValidationContext validationContext)
=> File.Exists((string?)valu... | 2.484526 | ae85e41c4e0d4f321703b0799fa4ce45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73215 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Srynetix/flags-n-machines",
"max_stars_repo_path": "scenes/networking/SyncPeerInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73216"
} | starcoder | using Godot;
using Godot.Collections;
public class SyncPeerInput: Node {
private Dictionary<string, float> _InputState = new Dictionary<string, float>();
private string[] _Actions = new string[] {
"accelerate", "brake", "steer_left", "steer_right", "jump"
};
public SyncPeerInput(int peerId = 1... | 2.329425 | d79e0cf6becb21eb3a66857b25ce7579 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73216 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "LuGeorgiev/CSharpSelfLearning",
"max_stars_repo_path": "OOPPriciples/AntinariBank/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73217"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AntinariBank
{
class Program
{
static void Main()
{
IMoney[] accounts = new IMoney[]
{
new Deposit("<NAME>",CustomerType.indivi... | 2.68146 | 2fccc1629cbfe4d96e0d16af99eb015c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73217 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TrevorDArcyEvans/NHSBuyingCatalogue",
"max_stars_repo_path": "beta-prototype/api/NHSD.GPITF.BuyingCatalog/NHSD.GPITF.BuyingCatalog.Logic/ClaimedCapabilityStandardLogic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73218"
} | starcoder | using FluentValidation;
using Microsoft.AspNetCore.Http;
using NHSD.GPITF.BuyingCatalog.Interfaces;
using NHSD.GPITF.BuyingCatalog.Models;
using System.Linq;
namespace NHSD.GPITF.BuyingCatalog.Logic
{
public sealed class ClaimedCapabilityStandardLogic : LogicBase, IClaimedCapabilityStandardLogic
{
private rea... | 2.213564 | 4368e2c1d0bfc1b0fd661e9332c7ac9e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73218 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fallfromgrace/More.Net",
"max_stars_repo_path": "More.Net/Security/ILicenseProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73219"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace More.Net.Security
{
/// <summary>
///
/// </summary>
public interface ILicenseProvider
{
/// <summary>
///
/// </summary>
/// <returns></r... | 1.70346 | ce383e4bc17a46b26de850d60276e93f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73219 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "halilkocaerkek/Asp.Net-Mvc-Templates",
"max_stars_repo_path": "Web.UI2/Views/Admin/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:73220"
} | starcoder | <reponame>halilkocaerkek/Asp.Net-Mvc-Templates<filename>Web.UI2/Views/Admin/Index.cshtml
@using DataModel;
@using PagedList.Mvc;
@using PagedList;
@using Web.UI2.Models ;
@using Microsoft.AspNet.Identity;
@model IEnumerable<ApplicationUser>
@{
ViewBag.Title = "Index";
}
<div class="row wrapper border-bottom whit... | 2.235624 | c34f32072a623b4b7f1c5cd81f218674 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73220 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "phillipfisher/NodeInstall",
"max_stars_repo_path": "src/ON.Content/SimpleCMS/Service/Services/ContentService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73221"
} | starcoder | <reponame>phillipfisher/NodeInstall
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Google.Protobuf.WellKnownTypes;
using Grpc.Core;
using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions.Logging;
using ON.Authentication;
using ON.Content.SimpleCMS.S... | 1.782086 | 150935f40d1e6970d418ccb1da15cb78 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73221 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "redarrowlabs/Argo",
"max_stars_repo_path": "src/RedArrow.Argo.Client/Session/Registry/IModelRegistry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73222"
} | starcoder | <reponame>redarrowlabs/Argo
using System;
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using RedArrow.Argo.Client.Config.Model;
using RedArrow.Argo.Client.Model;
using RedArrow.Argo.Session;
namespace RedArrow.Argo.Client.Session.Registry
{
public interface IModelRegistry
{
string GetR... | 1.450516 | 291f28ed09e0c09d533342b59bf6e99c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73222 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ax010tl/0rb1t",
"max_stars_repo_path": "orbit/Assets/Scripts/FunFactReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73223"
} | starcoder | /*
Read and save all STEM facts from text file. Also contains functions
other scripts need to manipulate said data.
<NAME>
16/04/2021
*/
using System;
using System.IO;
using System.Collections.Generic;
using UnityEngine;
public class FunFactReader : MonoBehaviour
{
public int scoreDelta {
get { return P... | 2.854928 | 41570a8c7447ac9df42cf044e642f610 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73223 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "canndrew/DotNetLightning",
"max_stars_repo_path": "tests/Macaroons.Tests/VerificationTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73224"
} | starcoder | <filename>tests/Macaroons.Tests/VerificationTests.cs
using System.Collections.Generic;
using Xunit;
namespace Macaroons.Tests
{
public class VerificationTests : TestBase
{
[Fact]
public void CanVerifyEmptyMacaroon()
{
var m = new Macaroon(Location, Secret, Identifier);
... | 2.531425 | effbc3af0b9896bb6f82b5ca3cb2ab9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73224 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "khannarheams/azure-powershell",
"max_stars_repo_path": "src/Compute/Compute/Manual/RemoveAzureRmVmssVMDataDiskCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73225"
} | starcoder | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://w... | 1.724951 | 67749ff8de6153feb2ef914b6bbe6128 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73225 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rasmuseeg/UmbracoCards",
"max_stars_repo_path": "src/UmbracoCards/Controllers/FacebookController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73226"
} | starcoder | <filename>src/UmbracoCards/Controllers/FacebookController.cs<gh_stars>0
using System.Collections.Specialized;
using Umbraco.Web.Mvc;
using Umbraco.Web.WebApi;
using UmbracoCards.Models;
using UmbracoCards.Services;
namespace SkolelederForeningen.Web.Controllers
{
[PluginController("Cards")]
public class Faceb... | 2.417131 | e39b0cfa483b5ca80a93293bf0c468eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73226 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "asconufa/pilot_tasks_dashboard",
"max_stars_repo_path": "src/MuPDF/MuPDF.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73227"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows;
using System.Drawing;
using System.Drawing.Imaging;
using System.Runtime.InteropServices;
namespace MuPDF
{
interface IApi
... | 2.559046 | cd4b83651da79e37a1d49332b1ef3f17 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73227 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "harrison314/PassiveMQ",
"max_stars_repo_path": "src/src/Harrison314.PassiveMQ/Services/Implementation/MsSql/SqlWebHookNotificationSender.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73228"
} | starcoder | using Harrison314.PassiveMQ.Services.Configuration;
using Harrison314.PassiveMQ.Services.Contracts;
using Microsoft.Data.SqlClient;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using... | 2.214666 | c70350053da0ebbf55da736815d95d08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73228 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "imjane5/Glory2Him.Api",
"max_stars_repo_path": "G2H.Api.Web.Tests.Unit/Services/Foundations/PostTypes/PostTypeServiceTests.Logic.Add.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73229"
} | starcoder | <reponame>imjane5/Glory2Him.Api<filename>G2H.Api.Web.Tests.Unit/Services/Foundations/PostTypes/PostTypeServiceTests.Logic.Add.cs
// --------------------------------------------------------------------------------
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT License.
// See License.txt in the... | 2.060154 | dffb1a67fdda0e8b813450d421c1edc7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73229 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Microsoft/m365-sample-connector-csharp-aspnet",
"max_stars_repo_path": "Facebook/FacebookSDK/JobProcessorFB.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73230"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace Sample.Connector.FacebookSDK
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using System.Web;
using N... | 2.344787 | c409caf7cdabf20736dab0f6776461f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73230 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NumAniCloud/Effekseer",
"max_stars_repo_path": "Dev/release/scripts/import/EfkPkg.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73231"
} | starcoder | <gh_stars>1-10
public class Script
{
public static string UniqueName
{
get
{
return "Efkpkg";
}
}
public static string Author
{
get
{
return "Efkpkg";
}
}
public static string Title
{
get
{
if (Effekseer.Core.Language == Effekseer.Language.Japanese) return "Effekseerパッケージ";
retur... | 2.160035 | cf988bcef37497f178fc0bd117d06179 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73231 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kikoanis/Weather.Forecast",
"max_stars_repo_path": "src/Weather.Forecast.Core/Interfaces/IWeatherForecastService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73232"
} | starcoder | <gh_stars>0
using Ardalis.Result;
using Weather.Forecast.Core.CityAggregate;
namespace Weather.Forecast.Core.Interfaces;
/// <summary>
/// An interface for weather forecast.
/// </summary>
public interface IWeatherForecastService
{
/// <summary>
/// Fetches a weather forecast for specific city woeId from me... | 2.140188 | c75010d81c03ce5eb0379cc6e2e24168 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73232 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NGTO-WONG/KishiStory",
"max_stars_repo_path": "Assets/Plugins/Pixel Crushers/Common/Scripts/Misc/CheckPhysics2D.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73233"
} | starcoder | <filename>Assets/Plugins/Pixel Crushers/Common/Scripts/Misc/CheckPhysics2D.cs<gh_stars>1-10
// Copyright (c) Pixel Crushers. All rights reserved.
using UnityEngine;
using UnityEngine.Events;
namespace PixelCrushers
{
/// <summary>
/// Checks if the scripting symbol USE_PHYSICS2D is defined.
//... | 2.114241 | 24b856fd9ee36f9998f83660e1bc9836 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.