added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834884 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "pgsgaming11/pgs2",
"max_stars_repo_path": "DiscordBotTutorial.Bots/Commands/ItemCommands.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154104"
} | starcoder | using DiscordBotTutorial.Bots.Handlers.Dialogue;
using DiscordBotTutorial.Bots.Handlers.Dialogue.Steps;
using DiscordBotTutorial.Core.Services.Items;
using DiscordBotTutorial.DAL.Models.Items;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using System.Threading.Tasks;
namespace DiscordBotTu... | 2.886974 | 6370a483b8a72e58222d747fe67bae56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "estela19/CSharp_Study",
"max_stars_repo_path": "Week1/AlphabetPramid.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154105"
} | starcoder | <filename>Week1/AlphabetPramid.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharp_Study
{
class AlphabetPramid
{
static void Main(string[] args)
{
Console.Write("Input string : ");
... | 3.310636 | 71804bf5e6c436821deeb67a58479e95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834886 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArmyGuy255A/HydroPi",
"max_stars_repo_path": "Migrations/20210402015240_InitializeDB.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154106"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace HydroPi.Migrations
{
public partial class InitializeDB : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Outputs",
... | 2.129233 | 3566ab2ad9e63c697bacbe478775030d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834887 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gergoradeczki/ahk-github-automation",
"max_stars_repo_path": "github-monitor/Ahk.GitHub.Monitor/Services/GitHubClientFactory/IGitHubClientFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154107"
} | starcoder | using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Octokit;
namespace Ahk.GitHub.Monitor.Services
{
public interface IGitHubClientFactory
{
Task<IGitHubClient> CreateGitHubClient(long installationId, ILogger logger);
}
}
| 1.568804 | 00cf7f9903d5fb3dcc83231fe75e7e9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834888 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dogelix/GameJam_July2020",
"max_stars_repo_path": "Assets/Scripts/InputManager/KeybindingActions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154108"
} | starcoder | <reponame>Dogelix/GameJam_July2020
public enum KeybindingActions
{
//General
MoveForward,
MoveRight,
Pause,
Modifier,
Chat,
Sprint,
Interact,
//TurnBased
ChangeLevel,
ResetCamera,
RotateCamera,
//FPS
Shoot,
ADS,
Reload,
Grenade,
SwapToWeapon1,
... | 1.275522 | caa1008e3693db6210f367416b31bc14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834889 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "unitycontainer/regression-tests",
"max_stars_repo_path": "Specification.Pattern/Properties/Test Data.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154109"
} | starcoder | <gh_stars>0
using System;
using System.ComponentModel;
#if V4
using Microsoft.Practices.Unity;
#else
using Unity;
using Unity.Injection;
#endif
namespace Specification.Pattern
{
public partial class Properties
{
#region No Default
public class Implicit_Dependency_Value : PatternBase
{... | 1.709976 | 75640dc8eadbbd660e96d84cae29eaee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EvolutionJobs/DaxtraService",
"max_stars_repo_path": "DaxtraService/Models/TaxonomyID.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154110"
} | starcoder | namespace Evolution.Daxtra.Models
{
using Newtonsoft.Json;
public class TaxonomyID
{
[JsonProperty("idOwner")]
public string Owner { get; set; }
[JsonProperty("description")]
public string Description { get; set; }
}
} | 1.655334 | bb73b4aaf4106c099295b7b8625cc1b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834891 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tobper/Domo",
"max_stars_repo_path": "src/Domo/Settings/ProviderBasedSettings/Storage/SqlServerSettingsStorageProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154111"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Threading.Tasks;
namespace Domo.Settings.ProviderBasedSettings.Storage
{
public class SqlServerSettingsStorageProvider : ISettingsStorageProvider
{
private readonly string _connectionString;
public SqlSer... | 2.765897 | 96ffb8c83746601a180321be9bd94604 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834892 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "parkeradam/DDNSUpdate",
"max_stars_repo_path": "src/DDNSUpdate.Tests/Application/Providers/DigitalOcean/Converters/DNSRecordToDigitalOceanUpdateDomainRecordRequestConverterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154112... | starcoder | using DDNSUpdate.Application.Providers.DigitalOcean.Converters;
using DDNSUpdate.Application.Providers.DigitalOcean.Requests;
using DDNSUpdate.Domain;
using DDNSUpdate.Tests.Helpers;
using Xunit;
namespace DDNSUpdate.Tests.Application.Providers.DigitalOcean.Converters
{
public class DNSRecordToDigitalOceanUpdateD... | 2.372316 | d07d2d1e4c42a21efb3b89b1eda1e9f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834893 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chengxulvtu/plover",
"max_stars_repo_path": "src/Plover.Data.Entities/Reply.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154113"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
namespace Plover.Data.Entities
{
/// <summary>
/// 主题回复(评论)
/// </summary>
public class Reply
{
public int Id { get; set; }
/// <summary>
/// 回复(评论)内容
/// </summary>
public string Content { get;... | 2.170974 | c4857ca36a41fdc04fb1b28d6ded0f3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834894 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/das-forecastingtool",
"max_stars_repo_path": "src/SFA.DAS.ForecastingTool.Web.Integration.AcceptanceTests/PageObjects/PayrollPAge.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154114"
} | starcoder | <gh_stars>0
using FluentAutomation;
using System;
using System.Linq.Expressions;
using Castle.DynamicProxy.Generators.Emitters.SimpleAST;
namespace SFA.DAS.ForecastingTool.Web.Integration.AcceptanceTests.PageObjects
{
public class PayrollPage : PageObject<PayrollPage>
{
private const string NextButton... | 1.927349 | 027e3abae16ac203856764fa1ce45472 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834895 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pjoiner/DwC-A_dotnet.Mapping",
"max_stars_repo_path": "src/dwca-codegen/Config/ArchiveGeneratorConfigFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154115"
} | starcoder | using DotNetConfig;
using DwC_A.Config;
using System;
using System.Linq;
using System.Text;
namespace DwcaCodegen.Config
{
public class ArchiveGeneratorConfigFactory
{
private const string TermAttributeNamespaceName = "DwC_A.Attributes";
private const string ExtensionsNamespaceName = "DwC_A.Ex... | 2.528761 | bdadbdc7c0652d898ab02e01b7eb1342 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834896 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Khanx/PvP",
"max_stars_repo_path": "PvP/PvP/PvP/PvPToolType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154116"
} | starcoder | <gh_stars>0
using Pipliz;
using System.Collections.Generic;
using ModLoaderInterfaces;
using static Shared.PlayerClickedData;
namespace PvP
{
public class PvPToolType : IAfterWorldLoad, IOnPlayerClicked, IOnSendAreaHighlights
{
public static Dictionary<NetworkID, Area> playerArea = new Dictionary<Netw... | 1.821539 | f41c2b5eea74614d742c174d182073d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834897 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MaxDZ8/fastdee",
"max_stars_repo_path": "fastdee.Tests/PoolOps/CanonicalNonce2RollerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154117"
} | starcoder | <reponame>MaxDZ8/fastdee
using System;
using Xunit;
using fastdee.PoolOps;
namespace fastdee.Tests.PoolOps
{
public class CanonicalNonce2RollerTests
{
[Fact]
public void NonceSizeIs4()
{
var uut = new CanonicalNonce2Roller();
Assert.Equal(4, uut.ByteCount);
... | 2.266193 | d5c77b6dc7fe12bccf7d0386ac339e16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834898 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "mike316mike316/JCSUnity_Framework",
"max_stars_repo_path": "Assets/JCSUnity/Scripts/UI/Button/Canvas/JCS_ToggleCanvasGamePadButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154118"
} | starcoder | <gh_stars>10-100
/**
* $File: JCS_ToggleCanvasGamePadButton.cs $
* $Date: 2021-12-29 01:24:48 $
* $Revision: $
* $Creator: <NAME> $
* $Notice: See LICENSE.txt for modification and distribution information
* Copyright © 2021 by <NAME> $
*/
using UnityEngine;
namespace JCSUnity
{
/// <summary... | 2.254019 | df0fa8afa73448ab8ed8fc3789e79c40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834899 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/cpu/src/services/permute/models/SwapT.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154119"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using static Root;
... | 2.902128 | 94703114ebadb59c045859307c3141ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834900 | {
"extension": "c-sharp",
"max_stars_count": "97.0",
"max_stars_repo_name": "wurunduk/SI",
"max_stars_repo_path": "src/SIQuester/SIQuester/Implementation/XpsDocumentWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154120"
} | starcoder | <filename>src/SIQuester/SIQuester/Implementation/XpsDocumentWrapper.cs
using SIQuester.ViewModel.PlatformSpecific;
using System.Windows.Xps.Packaging;
namespace SIQuester.Implementation
{
public sealed class XpsDocumentWrapper : IXpsDocumentWrapper
{
private readonly XpsDocument _document;
pu... | 1.894695 | 57ea02c0f13fe77423a73c4eebe42d0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834901 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jonmcquade/csharp-snippets",
"max_stars_repo_path": "SmartStoreNET-3.x/src/Libraries/SmartStore.Data/Migrations/201507092146153_DownloadGuidIndex.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154121"
} | starcoder | namespace SmartStore.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class DownloadGuidIndex : DbMigration
{
public override void Up()
{
CreateIndex("dbo.Download", "DownloadGuid");
}
public override void Down(... | 1.799475 | 83037b8b4fd501b155eee4f69c630d3b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834902 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lapius/MusicalCube",
"max_stars_repo_path": "Assets/VisualNovelToolkit/Scripts/Editor/Window/DrawViNodesTab.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154122"
} | starcoder | //_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
// VisualNovelToolkit /_/_/_/_/_/_/_/_/_/.
// Copyright ©2013 - Sol-tribe. /_/_/_/_/_/_/_/_/_/.
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
using UnityEngine;
using UnityEditor;
using System.Collections;
public class DrawViNodesTab {
static publi... | 1.649521 | 7fc677ecee4294013c688edc58bc3564 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834903 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SebastianGaud/ProgrammingIdea",
"max_stars_repo_path": "1. WorkingWithNumbers/PrimeFactorization/src/PrimeFactorizationApp/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154123"
} | starcoder | using System;
using System.Collections.Generic;
using PrimeFactorizationLib;
namespace PrimeFactorizationApp
{
class Program
{
static void Main(string[] args)
{
System.Console.WriteLine("Insert number: ");
var choice = Convert.ToInt32(Console.ReadLine());
va... | 3.348929 | ae0d8399fa8922d5462018a89f87c6fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834904 | {
"extension": "c-sharp",
"max_stars_count": "59.0",
"max_stars_repo_name": "ruslanfirefly/DigitalOcean.API",
"max_stars_repo_path": "DigitalOcean.API/Models/Requests/Certificate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154124"
} | starcoder | using System.Collections.Generic;
using Newtonsoft.Json;
namespace DigitalOcean.API.Models.Requests {
public class Certificate {
/// <summary>
/// A unique human-readable name referring to a certificate.
/// </summary>
[JsonProperty("name")]
public string Name { get; set; }... | 2.654261 | cab5ac6a3deaf54012523b5afddae304 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834905 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SimpleMvvm/SimpleMvvmToolkit.Samples.Messaging",
"max_stars_repo_path": "SimpleMvvmSamples.Messaging/ViewModels/CustomerListViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154125"
} | starcoder | using System.Collections.ObjectModel;
using System.Windows;
using SimpleMvvmSamples.Messaging.Models;
using SimpleMvvmToolkit.Express;
namespace SimpleMvvmSamples.Messaging.ViewModels
{
/// <summary>
/// This class contains properties that a View can data bind to.
/// <para>
/// Use the <strong>mvvmpr... | 2.769908 | 40e191d8cd048a7d66c9073d03667671 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834906 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "CopperPenguin96/Redstone",
"max_stars_repo_path": "ProtocolSharp/Packets/Login/LoginStart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154126"
} | starcoder | <reponame>CopperPenguin96/Redstone<filename>ProtocolSharp/Packets/Login/LoginStart.cs
using System;
using System.Collections.Generic;
using System.Text;
using ProtocolSharp.Network;
using ProtocolSharp.Utils;
namespace ProtocolSharp.Packets.Login
{
public class LoginStart : IReceivingPacket
{
public Packet Packet... | 2.36441 | a4452f4715210bd93d2fcb81de0dcf8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834907 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fusefactory/MicroState",
"max_stars_repo_path": "src/Editor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154127"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace MicroState
{
#if UNITY_EDITOR
public class Editor<StateType> : UnityEditor.Editor where StateType : MicroState.State, new()
#else
public class Editor<StateType> where StateType : MicroState.State... | 2.329667 | 4d1fcc67ece8dbfeed4bacd054c6e6f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834908 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "sifan-kooboo/MyDemoCode",
"max_stars_repo_path": "002-ASPNETPatterns/Ch03-Layered/ASPNETPatterns.Layered/ASPNETPatterns.Layered.Repository/DepartmentRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154128"
} | starcoder | <filename>002-ASPNETPatterns/Ch03-Layered/ASPNETPatterns.Layered/ASPNETPatterns.Layered.Repository/DepartmentRepository.cs
using ASPNETPatterns.Layered.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ASPNETPatterns.Layered.Repository... | 2.650835 | f55185ec9cf86347796be64b5f4b7ba8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834909 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aMoniker/daily-kata",
"max_stars_repo_path": "kata/cs/Path-Finder-2-shortest-path.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154129"
} | starcoder | <filename>kata/cs/Path-Finder-2-shortest-path.cs
// https://www.codewars.com/kata/57658bfa28ed87ecfa00058a/train/csharp
using System;
using System.Linq;
using System.Collections.Generic;
public class ShortestPathFinder2
{
public static int PathFinder(string rawMaze)
{
if (rawMaze.Length == 1) return 0;
ch... | 3.281621 | ca16f68a4c6add3bcf061f9da5f74ca3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834910 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "GlimpseCore/GlimpseCore",
"max_stars_repo_path": "src/GlimpseCore.Agent.AspNet/Messages/_old/TabMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154130"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using GlimpseCore.Common.Messaging;
namespace GlimpseCore.Agent.AspNet.Messages
{
public class TabMessage : IMessageTypeProvider
{
public TabMessage(string name, object data)
{
Name = name;
Data = data;
}
... | 2.159411 | 872bddaab5c5ff0b720801786d779d47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834911 | {
"extension": "c-sharp",
"max_stars_count": "295.0",
"max_stars_repo_name": "adipeterca/game-design-course",
"max_stars_repo_path": "game-design/Library/PackageCache/com.unity.test-framework@1.1.16/UnityEditor.TestRunner/TestRunner/Utils/EditorAssemblyWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz... | starcoder | <gh_stars>100-1000
using System.Reflection;
using UnityEngine.TestTools.Utils;
namespace UnityEditor.TestTools.TestRunner
{
internal class EditorAssemblyWrapper : AssemblyWrapper
{
public EditorAssemblyWrapper(Assembly assembly)
: base(assembly) {}
public override AssemblyName[] Ge... | 1.624061 | b4e35a5c0e073c3cbba1b83c0da32223 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834912 | {
"extension": "c-sharp",
"max_stars_count": "3147.0",
"max_stars_repo_name": "tomy2105/elsa-core",
"max_stars_repo_path": "src/core/Elsa.Abstractions/Services/Workflows/IBuildsAndResumesWorkflow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154132"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
using Elsa.Builders;
using Elsa.Models;
using Elsa.Services.Models;
namespace Elsa.Services
{
public interface IBuildsAndResumesWorkflow
{
Task<RunWorkflowResult> BuildAndResumeWorkflowAsync<T>(
WorkflowInstance workflowInstance,
... | 1.876378 | bd29f999953c81169b6c4c6490119bd4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834913 | {
"extension": "c-sharp",
"max_stars_count": "404.0",
"max_stars_repo_name": "techkey/PTVS",
"max_stars_repo_path": "Python/Product/ProjectWizards/MsPythonConfigWizard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154133"
} | starcoder | // Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
/... | 2.004417 | 1501e4172a05a7e9ca5644b3374032f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834914 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jamesbascle/serilog.LogglyBulk",
"max_stars_repo_path": "Serilog.LogglyBulkSink/LogglyBulkSinkExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154134"
} | starcoder | <filename>Serilog.LogglyBulkSink/LogglyBulkSinkExtension.cs
using System;
using Serilog.Configuration;
using Serilog.Events;
namespace Serilog.LogglyBulkSink
{
public static class LogglyBulkSinkExtension
{
/// <summary>
/// Create a new Loggly Bulk Sink which uses the HTTP Bulk Protocol
... | 2.849897 | 6c6d98cc925a69debef4c3512e4a3962 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834915 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MazvydasT/Basics-1.-Game-Objects-and-Scripts",
"max_stars_repo_path": "Assets/Scripts/Clock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154135"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Clock : MonoBehaviour
{
[SerializeField]
Transform hoursPivot, minutesPivot, secondsPivot;
const float hoursToDegrees = -30f, minutesToDegrees = -6f, secondsToDegrees = -6f;
void Update()
{
... | 2.867249 | 91efd637f0f68a81476c959893d571bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834916 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zekrom64/TesseractEngine",
"max_stars_repo_path": "TesseractEngine-GL/OpenGL/Native/GLEnums.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154136"
} | starcoder | <reponame>Zekrom64/TesseractEngine
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tesseract.OpenGL.Native {
using GLenum = UInt32;
using GLuint64 = UInt64;
public static class GLEnums {
// OpenGL 1.1
public const GLenum GL_ZERO ... | 1.710495 | 5c5a0a4862ccfd8770d1a35fee336c75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834917 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zerocker/PracticeWorkflow",
"max_stars_repo_path": "Quaer/Quaer/Model/Result.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154137"
} | starcoder | <filename>Quaer/Quaer/Model/Result.cs
using System;
using System.CodeDom;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using Quaer.Utils;
namespace Quaer.Model
{
/// <summary>
/// Class... | 3.191663 | cf622d3b885ddcf79893c0491bc7422d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834918 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DEFRA/prsd-iws",
"max_stars_repo_path": "src/EA.Iws.TestHelpers/DomainFakes/TestableCompetentAuthority.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154138"
} | starcoder | namespace EA.Iws.TestHelpers.DomainFakes
{
using System;
using Domain;
public class TestableCompetentAuthority : CompetentAuthority
{
public new Guid Id
{
get { return base.Id; }
set { base.Id = value; }
}
public new virtual Country Country
... | 2.260886 | 029766e46fb62d3dc5f31e5e3dcac050 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834919 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "tengge1/THREE.Math",
"max_stars_repo_path": "Math/Box3.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154139"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using _Math = System.Math;
namespace THREE
{
/// <summary>
/// @author bhouston / http://clara.io
/// @author WestLangley / http://github.com/WestLangley
/// @author tengg... | 3.039652 | 2c98f4f883b6ea4b0ee347626f29a2d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834920 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EltonAugusto/microservices-angularjs",
"max_stars_repo_path": "Microservices/Microservices/Microservices.Entities/Entities/Enum/AddresType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154140"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microservices.Entities.Entities.Enum
{
/// <summary>
/// Enum address type.
/// </summary>
public enum AddresType
{
[Description("Aveni... | 2.19621 | 55c0b5e16814fd4ae8ddeed3a20a14b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834921 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JamesTryand/shiftos",
"max_stars_repo_path": "ShiftOS.Server/PongHighscores.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154141"
} | starcoder | <gh_stars>1-10
/*
* MIT License
*
* Copyright (c) 2017 <NAME> and ShiftOS devs
*
* 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, including without limitation the... | 2.169161 | da575db2f78da8fb0c3fcd5e82fa7946 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834922 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "renatmedved/mindbox-test",
"max_stars_repo_path": "src/MindboxTest.API/Responses/ApiResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154142"
} | starcoder | using MindboxTest.Contracts.Results;
using System.Collections.Generic;
using System.Linq;
namespace MindboxTest.API.Responses
{
public class ApiResponse<TData>
{
public List<string> Errors { get; set; } = new List<string>();
public TData Data { get; set; }
public ApiResponse()
... | 2.373984 | 2165d15a74af6c37963f624b540e8485 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834923 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kamreo/ZakupowoMobile",
"max_stars_repo_path": "ZakupowoMobile/ZakupowoMobile/Models/Session.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154143"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace ZakupowoMobile.Models
{
class Session
{
public static User user;
}
}
| 0.804019 | 0311e1354a894ae092d258218cd25788 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834924 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "poizan42/Ramone",
"max_stars_repo_path": "Ramone.Tests.Server/Handlers/RedirectHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154144"
} | starcoder | <reponame>poizan42/Ramone
using System;
using OpenRasta.Web;
using Ramone.Tests.Common;
namespace Ramone.Tests.Server.Handlers
{
public class RedirectResult : OperationResult
{
}
public class RedirectHandler
{
public object Get(int code, int count, int v)
{
return Process(co... | 2.034599 | 5672a22ec16a154fada6b6e7eef852d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834925 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZigmundL/websocket-client",
"max_stars_repo_path": "src/Websocket.Client/ReconnectionType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154145"
} | starcoder | namespace Websocket.Client
{
/// <summary>
/// Type that specify happened reconnection
/// </summary>
public enum ReconnectionType
{
/// <summary>
/// Type used for initial connection to websocket stream
/// </summary>
Initial = 0,
/// <summary>
/// ... | 2.68444 | b080bd8100133f3f90df936493825b73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834926 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "avegaraju/Imposter",
"max_stars_repo_path": "tests/FluentImposter.Core.Tests.Unit/RulesEvaluatorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154146"
} | starcoder |
using System.Net.Http;
using FluentAssertions;
using FluentImposter.Core.Entities;
using Xunit;
namespace FluentImposter.Core.Tests.Unit
{
public class RulesEvaluatorTests
{
private const int INTERNAL_SERVER_ERROR = 500;
private const int STATUS_CODE_OK = 200;
[Fact]
publi... | 2.443114 | 17241cfaa9abd0aa6662eda24218a4da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834927 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lukevp/DotNet-ORM-Cookbook",
"max_stars_repo_path": "Legacy ORM Cookbook/Recipes.EntityFramework/Models/Models.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154147"
} | starcoder | using System.Data.Entity;
namespace Recipes.EF.Models
{
public partial class OrmCookbook : DbContext
{
public OrmCookbook()
: base("name=OrmCookbook")
{
}
public virtual DbSet<Department> Departments { get; set; }
public virtual DbSet<Division> Divisions { ... | 2.448627 | 242f4a1e0105e26ae397e7726a0009ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834928 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "rivantsov/vita",
"max_stars_repo_path": "src/6.UnitTests/Vita.Testing.ExtendedTests/DbToEntitiesSourceCodeGenTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154148"
} | starcoder | <reponame>rivantsov/vita<filename>src/6.UnitTests/Vita.Testing.ExtendedTests/DbToEntitiesSourceCodeGenTests.cs
using System;
using System.Diagnostics;
using System.Data.SqlClient;
using System.Threading;
using System.CodeDom.Compiler;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Collection... | 1.839164 | 0438175e1b4eb6b8127fc2df465afe2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834929 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "contentcollectivemarketing/WindowsTemplateStudio",
"max_stars_repo_path": "templates/_composition/_shared/Feature.ShareTarget/Helpers/ShareOperationExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154149"
} | starcoder | <reponame>contentcollectivemarketing/WindowsTemplateStudio<filename>templates/_composition/_shared/Feature.ShareTarget/Helpers/ShareOperationExtensions.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Windows.ApplicationModel.DataTransfer;
using Windows.ApplicationModel.DataTransf... | 2.153484 | d06a244f417c7ab41544a5986cdad45a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834930 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "swax/DeOps",
"max_stars_repo_path": "UI/Services/Storage/Forms/UnlockForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154150"
} | starcoder | <filename>UI/Services/Storage/Forms/UnlockForm.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Text;
using System.Windows.Forms;
namespace DeOps.Services.Storage
{
public partial class UnlockForm : DeOps.Interfac... | 2.488237 | 4f70ebc6b7e301625309d66da04aeeda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834931 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rabanti-github/DotNetLocalizationHelper",
"max_stars_repo_path": "locbaml/LocBaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154151"
} | starcoder | //---------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Description: LocBaml command line tool.
//
//---------------------------------------------------------------------------
using System;
using System.IO;
using ... | 2.490373 | c720a0ea94d00638d9dd6252b051a874 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834932 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BYJRK/AircraftWar3D",
"max_stars_repo_path": "Assets/Scripts/CollectableItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154152"
} | starcoder | <gh_stars>0
using UnityEngine;
public enum PowerUpType
{
Fire,
Bomb,
Shield
}
public class CollectableItem : MonoBehaviour
{
public AudioClip sfx;
public PowerUpType type;
public float speed;
public void PlaySFX()
{
if (sfx)
{
AudioSource.PlayClipAtPoint(sf... | 2.164809 | d683fcdaf2441a83caaf6aac36883f23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834933 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peedroca/alura-courses-exercises",
"max_stars_repo_path": "source/solid/Peedroca.SOLID/src/Alura.LeilaoOnline.WebApp/Models/SituacaoLeilao.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154153"
} | starcoder | namespace Alura.LeilaoOnline.WebApp.Models
{
public enum SituacaoLeilao
{
Rascunho,
Pregao,
Finalizado
}
}
| 1.441459 | f200403215db9cb05e497d5b6ed6223e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834934 | {
"extension": "c-sharp",
"max_stars_count": "3215.0",
"max_stars_repo_name": "jamiehankins/docfx",
"max_stars_repo_path": "src/docfx/SubCommands/MergeCommandCreator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154154"
} | starcoder | <filename>src/docfx/SubCommands/MergeCommandCreator.cs
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.SubCommands
{
using Microsoft.DocAsCode;
using Microsoft.DocAsCode.P... | 1.868685 | 448a71a0d1d49298976ced22927b705b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834935 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "cognizant-softvision/donate-to",
"max_stars_repo_path": "src/DonateTo.WebApi/Swagger/SwaggerOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154155"
} | starcoder | using Microsoft.AspNetCore.Mvc.ApiExplorer;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Microsoft.OpenApi.Models;
using Swashbuckle.AspNetCore.SwaggerGen;
using System;
using System.IO;
using System.Reflection;
namespace DonateTo.WebApi.Swagger
{
public cla... | 2.190618 | d67bae99aa05305e703f0e461392d459 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834936 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "semcak1/Asp.Net-Projects",
"max_stars_repo_path": "2 - Yaz Okulu Ders Ekle-Sil/YazOkuluDersler/OgrenciGuncelle.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154156"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using EntityLayer;
using DataAccessLayer;
using BuisnessLogicLayer;
namespace YazOkuluDersler
{
public partial class OgrenciGuncelle : System.Web.UI.Page
{
protect... | 2.207632 | cd94dc7f764a469fcd1361a2983421de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834937 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yuniyakim/Homework",
"max_stars_repo_path": "Semester2/Test1/1.1/1.1.Tests/QueueTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154157"
} | starcoder | using System;
using NUnit.Framework;
namespace _1._1
{
public class QueueTests
{
private Queue queue;
[SetUp]
public void Setup()
{
queue = new Queue();
}
[Test]
public void IsEmptyTest()
{
Assert.IsTrue(queue.IsEmpty());... | 3.238606 | 43f0b69f04ed0f8b54135e22dd641e0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834938 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Joppe-A/rce-doorzoeker",
"max_stars_repo_path": "RceDoorzoeker.Tests/System/QueryGroupingItemsMapPerformanceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154158"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using NUnit.Framework;
using RceDoorzoeker.Configuration;
using RceDoorzoeker.Services.Querying;
using RceDoorzoeker.Services.RnaApiClient;
using Trezorix.RnaRemote;
using Trezorix.RnaRemote.Core.ContentItems;
using Trezorix.... | 1.83371 | 9367931b57e7ac605a33943dd2f82d69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834939 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cxdcxd/NAVbot",
"max_stars_repo_path": "windows/main/main/classes/Data.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154159"
} | starcoder | using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace main
{
[Serializable]
[ProtoContract]
public class RVector3
{
[ProtoMember(1)]
public float x = 0;
[ProtoMember(2)]
public float y = 0;
[ProtoMember(3... | 2.231099 | 80560bcb3f7b32d64fed2c4edced22fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834940 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "orestesgaolin/bottomnavview-xamarin-example",
"max_stars_repo_path": "src/PushNotifTest.iOS/Setup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154160"
} | starcoder | <gh_stars>1-10
using MvvmCross.Platforms.Ios.Core;
using PushNotifTest.Core;
namespace PushNotifTest.iOS
{
public class Setup : MvxIosSetup<App>
{
}
}
| 0.801444 | 524e75657d07889f4231a6c9266a3685 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834941 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shopglobal/api",
"max_stars_repo_path": "travel/docs/Amadeus-master/Travel-Optimizer-master/TravelOpt/TravelOpt/DbQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154161"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TravelOpt;
using Npgsql;
using System.Windows.Forms;
namespace pg_data
{
public class DbQuery : IDatabaseBehavior
{
public String queryString;
public List<Dictionary<String... | 2.86478 | f3bf1767ca209bc39ecf32c5e335be49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834942 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Euynac/Koubot.Plugins",
"max_stars_repo_path": "KouMaimai/Models/Extend/SongAlias.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154162"
} | starcoder | using Koubot.SDK.AutoModel;
using Koubot.Shared.Interface;
using Koubot.Shared.Protocol;
using Koubot.Tool.Extensions;
using Koubot.Tool.General;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Linq;
namespace KouGamePlugin.Maimai.Models
{
///... | 2.164227 | 371fd771d427d7b7af9efce9ed22dfe4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834943 | {
"extension": "c-sharp",
"max_stars_count": "116.0",
"max_stars_repo_name": "MessiDaGod/Stl.Fusion.Samples",
"max_stars_repo_path": "docs/tutorial/Part04.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154163"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Micr... | 2.413978 | 59deb2afc674635a896799bc5db60514 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834944 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xknife-erian/nknife.jeelusrc",
"max_stars_repo_path": "NKnife.App.WebsiteBuilder/SimplusOM/Agent/DataAgent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154164"
} | starcoder | <gh_stars>0
using System;
using System.Data;
namespace Jeelu.SimplusOM
{
public interface DataAgent
{
DataSet Login(string agent,string name, string password);
byte[] GetBaseInfo();
DataTable GetSelfTradeInfo(int currentAgentId, DateTime dateTime, int mode);
#region 代理商
... | 1.19099 | b145e7398d96c4ec27a4cabdbb19f6a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834945 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "g-bibek/simpleApi",
"max_stars_repo_path": "Api/Services/DateTimeService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154165"
} | starcoder | <reponame>g-bibek/simpleApi
using System;
using Api.Models;
namespace Api.Services
{
public interface IDateTimeService
{
/// <summary>
/// Gets current UTC date time in "year-month-day hour:minutes:seconds" format
/// </summary>
/// <returns>Current UTC date time</returns>
... | 2.894169 | 160532cef8a3e2bfc720158d1d7e9934 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nelsontbrandon/steeltoe",
"max_stars_repo_path": "src/Security/src/DataProtection.CredHubBase/Credentials/Certificate/CertificateGenerationRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154166"
} | starcoder | // Copyright 2017 the original author or authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | 2.446182 | 223e42b7edb88799d0df079afbaf30d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835075 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danjoconnell/VideoScriptEditor",
"max_stars_repo_path": "VideoScriptEditor/VideoScriptEditor.Tests/Geometry/LineTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154295"
} | starcoder | /*
Based on code from Gu.Wpf.Geometry, located at https://github.com/GuOrg/Gu.Wpf.Geometry
Gu.Wpf.Geometry is licensed under the MIT license (MIT), Copyright (c) 2015 <NAME>.
The full text of the license is available at https://github.com/GuOrg/Gu.Wpf.Geometry/blob/master/LICENSE.md
*/
using System.Window... | 2.544741 | c08a7e54e013ba8e50560a150058ab47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835076 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gbernal/ParticleTest_AR",
"max_stars_repo_path": "Assets/PopcornFX/Scripts/Helper/PKFxAnimFloat.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154296"
} | starcoder | using UnityEngine;
using System.Collections;
[RequireComponent(typeof(PKFxFX))]
public class PKFxAnimFloat : MonoBehaviour {
public string propertyName;
public float value;
private PKFxFX fx;
void Start()
{
this.fx = this.GetComponent<PKFxFX>();
if (this.fx == null)
this.enabled = false;
}
void LateUp... | 1.989483 | 2a6d7623af3b6df736e8d0e8f36aa72f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835077 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AmerAli94/ARSample_Niantic",
"max_stars_repo_path": "Assets/ARDK/Plugins/unity_exports/ardk_client_platform/libs/ror_upload_schema_unity/ror_upload_schema_unity/schema/upload/ror/schema/upload/GCSSignedAuth.cs",
"provenance": "train-0... | starcoder | <gh_stars>0
// <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
namespace ror.schema.upload
{
using global::System;
using global::System.Collections.Generic;
using global::FlatBuffers;
public struct GCSSignedAuth : IFlatbufferObject
{
private Table __p;
... | 1.444057 | f674c7bcaf8988501b13f8777f047bf8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835078 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "itsbijay/jewelinventory",
"max_stars_repo_path": "JewelInventory/JewelInventory/frmMasterMaintenance.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154298"
} | starcoder | <reponame>itsbijay/jewelinventory
namespace JewelInventory
{
partial class frmMasterMaintenance
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources be... | 1.557572 | 33722f4d06d45728ff10ba8dc6a578b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835079 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Diaver/super_todo",
"max_stars_repo_path": "Auth.Api/Controllers/AuthController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154299"
} | starcoder | using System;
using System.Threading.Tasks;
using ApiService.Interfaces;
using ApiService.Models.Api.AuthApi.Request;
using ApiService.Models.Api.AuthApi.Response;
using ApiService.Models.Api.Common;
using Auth.Api.Services;
using Auth.Api.Services.Interfaces;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions... | 2.192599 | 17be9e12fe0842e7a70ee9f7b419369f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835080 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "BYFOR/HandWithIntelSense",
"max_stars_repo_path": "MainForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154300"
} | starcoder | namespace hands_viewer.cs
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.73585 | 5ff7980a0bf9154d085461db0aab6427 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835081 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DogGodGit/WxPay.Core",
"max_stars_repo_path": "WxPay.Core/business/OrderQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154301"
} | starcoder | <gh_stars>0
namespace WxPayAPI
{
public class OrderQuery
{
/// <summary>
/// 订单查询完整业务流程逻辑
/// </summary>
/// <param name="transaction_id">微信订单号(优先使用)</param>
/// <param name="out_trade_no">商户订单号</param>
/// <returns>订单查询结果(xml格式)</returns>
public static s... | 2.452242 | 898af337f29377a14c521af2e14bf47d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835082 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "b7c/Xabbo.Core",
"max_stars_repo_path": "Xabbo.Core/Interceptor/Tasks/GetInventoryTask.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154302"
} | starcoder | <reponame>b7c/Xabbo.Core
using System;
using System.Threading.Tasks;
using Xabbo.Messages;
using Xabbo.Interceptor;
using Xabbo.Interceptor.Tasks;
using Xabbo.Core.Game;
namespace Xabbo.Core.Tasks
{
public class GetInventoryTask : InterceptorTask<IInventory>
{
private int _total = -1, _index = 0;
... | 2.066418 | 8bbc1b2f19bae1e767b99d212d51ae07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835083 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "CHeavyarms/ZstdSharp",
"max_stars_repo_path": "src/ZstdSharp/Unsafe/ZSTD_frameParameters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154303"
} | starcoder | using System;
namespace ZstdSharp.Unsafe
{
public partial struct ZSTD_frameParameters
{
/**< 1: content size will be in frame header (when known) */
public int contentSizeFlag;
/**< 1: generate a 32-bits checksum using XXH64 algorithm at end of frame, for error detection */
pub... | 1.7579 | b539430e20d160466d605d2e9220677d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835084 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-shared-packages",
"max_stars_repo_path": "AccessCodeGenerator/AccessCodeGenerator.UnitTests/ActivationCodeGeneratorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154304"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using SFA.DAS.CodeGenerator;
using SFA.DAS.CodeGenerator.UnitTests;
namespace SFA.DAS.AccessCodeGenerator.UnitTests
{
[TestFixture]
public class ActivationCodeGeneratorTests
{
[Test]
public void ShouldGenerateRand... | 2.709338 | 46c17a0b4d78f29d4ea90bca9ab02d88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835085 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "txchen/localleet",
"max_stars_repo_path": "csharp/Q236_LowestCommonAncestorOfABinaryTree.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154305"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
// Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.
//
// According to the definition of LCA on Wikipedia: “The lowest common ancestor is defined betwee... | 3.384094 | b0aab174a63da8a43f5d858ed7b4c679 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835086 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "huaweicloud/huaweicloud-sdk-net-v3",
"max_stars_repo_path": "Services/FunctionGraph/V2/FunctionGraphAsyncClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154306"
} | starcoder | <gh_stars>10-100
using System.Net.Http;
using System.Collections.Generic;
using System.Threading.Tasks;
using HuaweiCloud.SDK.Core;
using HuaweiCloud.SDK.FunctionGraph.V2.Model;
namespace HuaweiCloud.SDK.FunctionGraph.V2
{
public partial class FunctionGraphAsyncClient : Client
{
public static ClientBui... | 1.716084 | 9e45687709cbb657be77fa0373bbd779 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835087 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rsimosa/ecommerce",
"max_stars_repo_path": "DPLRef.eCommerce/DPLRef.eCommerce.Engines/EngineFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154307"
} | starcoder | <filename>DPLRef.eCommerce/DPLRef.eCommerce.Engines/EngineFactory.cs<gh_stars>0
using DPLRef.eCommerce.Common.Shared;
using DPLRef.eCommerce.Accessors;
using DPLRef.eCommerce.Engines.Notification;
using DPLRef.eCommerce.Engines.Sales;
using DPLRef.eCommerce.Common.Contracts;
using DPLRef.eCommerce.Engines.Remmitance;
u... | 2.347843 | cc4bc6153b0bb458700fbf1bb3b0a553 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835088 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "supernebula/shark",
"max_stars_repo_path": "src/Plunder.Plugin/Memory/Storage/QueryEntries/~AccessLogQueryEntry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154308"
} | starcoder | //using Plunder.Plugin.QueryEntries;
//using Plunder.Compoment.Models;
//namespace Plunder.Plugin.Memory.Storage.QueryEntries
//{
// public class AccessLogQueryEntry : BaseQueryEntry<AccessRecord, string>, IAccessLogQueryEntry
// {
// }
//}
| 0.792566 | 56ad1596c1c0c20b00f907b170bf3c60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835089 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "dongdapeng110/SharpDevelopTest",
"max_stars_repo_path": "src/AddIns/BackendBindings/AspNet.Mvc/Test/Src/AddMvcViewToProjectCommandTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154309"
} | starcoder | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using AspNet.Mvc.Tests.Helpers;
using NUnit.Framework;
namespace AspNet.Mvc.Tests
{
[TestFixture]
public clas... | 2.013123 | dbbacc2481b51b0e19d2e84a8b642b88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835090 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robertzml/Poseidon",
"max_stars_repo_path": "Poseidon.Caller/Facade/IModelTypeService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154310"
} | starcoder | <reponame>robertzml/Poseidon<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Poseidon.Caller.Facade
{
using Poseidon.Base.Framework;
using Poseidon.Core.DL;
/// <summary>
/// 模型类型业务访问服务接口
/// </summary>
p... | 1.688654 | 67821a59cb3dd721dad5c39e839c8a10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835091 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "bengreenier/unity-fucking-singletons",
"max_stars_repo_path": "Assets/Fucking-Singletons/Scripts/ScriptableObjects/Primitives/SOBool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154311"
} | starcoder | <reponame>bengreenier/unity-fucking-singletons
using UnityEngine;
namespace FuckingSingletons.ScriptableObjects.Primitives
{
[CreateAssetMenu(menuName = Metadata.AssetMenuName + "Bool", order = Metadata.AssetMenuOrdering.Primitives)]
public class SOBool : SOObject<bool>
{
}
}
| 1.591481 | 745b3d40c5468b09139a2d018a2e8179 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835092 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "auxilium/JelloScrum",
"max_stars_repo_path": "JelloScrum/JelloScrum.Model.Tests/Model/ProjectStoriesTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154312"
} | starcoder | // Copyright 2009 Auxilium B.V. - http://www.auxilium.nl/
//
// 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 ... | 2.256756 | 6947f5feb19e5335a49d2fec23df5a01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835093 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gitter-badger/fsharp-support",
"max_stars_repo_path": "ReSharper.FSharp/src/FSharp.Psi/src/Impl/Cache2/Parts/UnionPart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154313"
} | starcoder | using JetBrains.Annotations;
using JetBrains.ReSharper.Plugins.FSharp.Psi.Tree;
using JetBrains.ReSharper.Psi.ExtensionsAPI.Caches2;
namespace JetBrains.ReSharper.Plugins.FSharp.Psi.Impl.Cache2.Parts
{
internal class UnionPart : SimpleTypePartBase, Class.IClassPart
{
public UnionPart([NotNull] IFSharpTypeDecl... | 1.879618 | 80f1e4824edfcae60d4e049f157164a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835094 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Citizen-Oleg/Carmeleon",
"max_stars_repo_path": "Assets/Scripts/ScriptsMenu/Modifiers/ModifierButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154314"
} | starcoder | <gh_stars>0
using System;
using JetBrains.Annotations;
using ScriptsLevels.ExplanationObject;
using ScriptsLevels.Providers;
using TMPro;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace ScriptsMenu.Modifiers
{
public class ModifierButton : MonoBehaviour, IPointerE... | 2.112143 | 514ab9ac3cf91ee63d492b8ecbe2a080 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835095 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xgp711028/EFDemo",
"max_stars_repo_path": "src/EFDemo/Map/OrderMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154315"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EFDemo.Entity;
namespace EFDemo.Map
{
public class OrderMap : EntityTypeConfiguration<Order>
... | 2.370038 | 11b130b5368963fa038cc3b417abf1d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835096 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kurema/highlight",
"max_stars_repo_path": "src/Highlight/Engines/Engine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154316"
} | starcoder | namespace Highlight.Engines
{
using System.Text.RegularExpressions;
using Highlight.Patterns;
public abstract class Engine : EngineGeneric<string,string>
{
protected override string ProcessSimpleConvert(string input) => input;
protected MatchEvaluator GetMatchEvaluator(Definition defin... | 2.415778 | 031a4cda36d7c6f47d933810e8fa8d46 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835097 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "wenfeifei/Surging.Sample",
"max_stars_repo_path": "src/Core/Surging.Core.Protocol.Mqtt/Internal/Messages/ConnectMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154317"
} | starcoder | <reponame>wenfeifei/Surging.Sample
namespace Surging.Core.Protocol.Mqtt.Internal.Enums
{
public class ConnectMessage : MqttMessage
{
public override MessageType MessageType => MessageType.CONNECT;
public string ProtocolName { get; set; }
public int ProtocolLevel { get; set; }
... | 1.507504 | e7aa822be989dca4f565699166e503f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835098 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hykedesigns/hyke-it",
"max_stars_repo_path": "src/Server/Infrastructure/Interfaces/IInstallationManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154318"
} | starcoder | namespace HykeIt.Infrastructure.Interfaces;
public interface IInstallationManager
{
void InstallPackages();
bool UninstallPackage(string PackageName);
Task UpgradePlatform();
void RestartApplication();
}
| 1.425253 | a727010beb19622e7c9609415f6debf3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835099 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Siliconrob/Cesil",
"max_stars_repo_path": "Cesil.Tests/UtilsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154319"
} | starcoder | using System;
using System.Buffers;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using Xunit;
namespace Cesil.Tests
{
public class UtilsTests
{
[Fact]
public void CesilAssemblyVersionMatchesAhead... | 2.511528 | 6f297fca7772e868496cc1eb08e1a892 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835100 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marcusjobb/NET20D",
"max_stars_repo_path": "OOPA/WebbshopProjekt/Leroy/WebbShop/WebbShop/LeeUtills/Txt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154320"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WebbShop.LeeUtils
{
/// <summary>
/// Static strings to input
/// </summary>
public static class Txt
{
public static string WelcomeVies = @"
1. Login
2. Register
B/b. Exit shop";
... | 2.469732 | 01f2966d5770f5bf74570df34a514829 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835101 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Manne990/MvvmMobile",
"max_stars_repo_path": "MvvmMobile.Droid/View/ViewHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154321"
} | starcoder | <reponame>Manne990/MvvmMobile
using System;
using MvvmMobile.Core.ViewModel;
namespace MvvmMobile.Droid.View
{
internal static class ViewHelper
{
internal static T RecreateIfNeeded<T>(T vm, Guid payloadId) where T : class, IBaseViewModel
{
if (vm != null)
{
... | 1.752009 | 01c3eed14c60cbc06aa0f9dd7ca5ce76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835102 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "csoap/csoap.github.io",
"max_stars_repo_path": "sourceCode/dotNet4.6/ndp/fx/src/Core/System/Security/Cryptography/ECDsa.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154322"
} | starcoder | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
using System;
namespace System.Security.Cryptography {
/// <summary>
/// Base class for implementations of elliptic curve DSA
/// </summary>
[System.Security.Permissions.HostProtection(MayLeakOnAbort = true... | 2.531858 | 606ceda55607181789058d914cc07804 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835103 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qaware/dynacity",
"max_stars_repo_path": "Assets/Scripts/SoftwareCities/src/figures/Figure.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154323"
} | starcoder | using System;
using System.Collections.Generic;
using System.Numerics;
namespace SoftwareCities.figures
{
/// <summary>
/// Base class for all figures (Cuboid, Cylinder, Block ...).
/// </summary>
public class Figure
{
/// <summary>Each figure has a label. Default is the class name.</summar... | 3.00146 | 7fd7139f1582d094a2a9e5efa9c5be22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835104 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xarta/HanmaTekPSUCmd",
"max_stars_repo_path": "modbus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154324"
} | starcoder | <filename>modbus.cs<gh_stars>0
/**
* <NAME> modified (mostly making C# to personal taste):
* class Modbus from https://github.com/mckenm/HanmaTekPSUCmd
* which modified code from https://github.com/DRKPI/Modbus-Poll.git
*/
using System;
using System.IO.Ports;
namespace HanmatekPSLib
{
class Modbus
... | 2.879576 | f857dc40b8de6d537535961114cfb70a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835105 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RyadaProductions/DragonLoreV2",
"max_stars_repo_path": "DragonLore/Managers/IBotMessageManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154325"
} | starcoder | <reponame>RyadaProductions/DragonLoreV2
using CodeHollow.FeedReader;
using Discord;
using Discord.Commands;
using Discord.Rest;
using Discord.WebSocket;
using DragonLore.Models.Matches;
using System.Threading.Tasks;
namespace DragonLore.Managers
{
public interface IBotMessageManager
{
Task... | 1.507298 | 5c474f3f412b073bcda6032e1cdf19c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835106 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jdeshin/OneScript-BackgroundJobs",
"max_stars_repo_path": "BackgroundJobs/WebBackgroundJobs/AspNetHostEngine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154326"
} | starcoder | // Copyright (c) <NAME> 2018
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Runtime.Caching;
using System.IO;
using ScriptEngine;
using ScriptEngine.Machine;
using ScriptEngine.Environment;
using ScriptEngine.Hosted... | 2.131445 | 909e315416eea0188364676a9c03abfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835107 | {
"extension": "c-sharp",
"max_stars_count": "80.0",
"max_stars_repo_name": "hksoobe/ZzukBot_V3",
"max_stars_repo_path": "ZzukBot_WPF/Constants/WinImports.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154327"
} | starcoder | using System;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using ZzukBot.ExtensionMethods;
namespace ZzukBot.Constants
{
internal static class WinImports
{
[DllImport("ntdll.dll")]
internal static extern int ... | 1.815503 | cd791abcac6ecd5741008399d921eaf2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835108 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "jxnkwlp/WMS",
"max_stars_repo_path": "src/Coldairarrow.Business/PB/NoCheckJWTAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154328"
} | starcoder | <filename>src/Coldairarrow.Business/PB/NoCheckJWTAttribute.cs<gh_stars>10-100
using System;
namespace Coldairarrow.Business.PB
{
internal class NoCheckJWTAttribute : Attribute
{
}
} | 1.331681 | dd2f4286ddf1abdd23272358ee6f126a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835109 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "adamant/adamant.tools.compiler.bootstrap",
"max_stars_repo_path": "Tests.Unit/DotNetFrameworkTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154329"
} | starcoder | <reponame>adamant/adamant.tools.compiler.bootstrap
using System;
using System.Reflection;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace Adamant.Tools.Compiler.Bootstrap.Tests.Unit
{
[Trait("Category", "Characterization")]
public class DotNetFrameworkTests
{
... | 2.8903 | 65c35ab13f9998aa511e484384b297a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835110 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "anuraj/rssreader",
"max_stars_repo_path": "RSSReader/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154330"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace RSSReader
{
public cl... | 2.180025 | 96154f82f2f2004ccc45b0a264b0afd4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835111 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SamVanhoutte/Columbae",
"max_stars_repo_path": "src/Columbae/World/Gpx/Trk.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154331"
} | starcoder | <reponame>SamVanhoutte/Columbae<gh_stars>1-10
using System.Xml.Serialization;
namespace Columbae.World.Gpx
{
[XmlRoot(ElementName = "trk", Namespace = "http://www.topografix.com/GPX/1/1")]
public class Trk
{
[XmlElement(ElementName = "name", Namespace = "http://www.topografix.com/GPX/1/1")]
... | 1.668069 | 0fabf7431f21512ee1afd49d5dff0d3c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.