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 | 92561 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pirocorp/ASP.NET-Core",
"max_stars_repo_path": "Workshops/LearningSystem/LearningSystem.Data/Models/Course.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92562"
} | starcoder | // ReSharper disable VirtualMemberCallInConstructor
namespace LearningSystem.Data.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using static Common... | 2.681898 | 785b71d6bb6678d8849d4159f7617493 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92562 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gokoukotori/MahorobaWare",
"max_stars_repo_path": "MahorobaWare/Services/MahorobaWare.Service.WebSoccket.Interface/IChatServerService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92563"
} | starcoder | <gh_stars>0
using MahorobaWare.Core.Mahoroba.Entities.Json;
using System;
using System.Collections.Generic;
using System.Text;
using WebSocketSharp;
namespace MahorobaWare.Service.WebSoccket.Interface
{
public interface IChatServerService
{
public void NewSoccket(string serverId);
public void Connect(string s... | 1.356369 | cd1835e8e91b2a567db9cf30c76efad6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92563 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vladimirbelyayev/Lambdy",
"max_stars_repo_path": "Lambdy/TreeNodes/ExpressionNodes/SingleOperationNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92564"
} | starcoder | using System.Linq.Expressions;
using Lambdy.TreeNodes.ExpressionNodes.Abstract;
using Lambdy.Visitors.ExpressionNodeSql.Abstract;
namespace Lambdy.TreeNodes.ExpressionNodes
{
internal class SingleOperationNode : ExpressionNode
{
public ExpressionType Operator { get; set; }
public ExpressionNod... | 2.226703 | 815bda85b5bf312d5203500de96326a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92564 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NorbyAriel02/PelotazosV02",
"max_stars_repo_path": "Pelotazos/Assets/test/Scripts/OrderEventFunction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92565"
} | starcoder | <reponame>NorbyAriel02/PelotazosV02
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OrderEventFunction : MonoBehaviour {
void Awake()
{
Debug.Log("Awake " + Time.deltaTime + " " + gameObject.name);
}
void OnEnable()
{
Debug.Log("OnEnabl... | 1.534957 | 577d6c60d49f3d0fc81aa0e32c4a1117 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92565 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "petsasj/Ticketmaster-SDK",
"max_stars_repo_path": "src/Ticketmaster.Discovery/V2/EventsClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92566"
} | starcoder | <reponame>petsasj/Ticketmaster-SDK
namespace Ticketmaster.Discovery.V2
{
using Core;
using Models;
using RestSharp;
using System.Net;
using System.Threading.Tasks;
public class EventsClient : BaseClient, IEventsClient
{
public const string EventsPath = "/v2/events.json";
pu... | 1.887624 | 4e2c4f7a184e65c68333f7ba9fc99a0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92566 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "affloeck/Vanish",
"max_stars_repo_path": "Assets/Plugins/AmplifyShaderEditor/Plugins/Editor/Nodes/Constants/ShaderVariables/CameraAndScreen/ZBufferParams.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92567"
} | starcoder | <filename>Assets/Plugins/AmplifyShaderEditor/Plugins/Editor/Nodes/Constants/ShaderVariables/CameraAndScreen/ZBufferParams.cs
// Amplify Shader Editor - Visual Shader Editing Tool
// Copyright (c) Amplify Creations, Lda <<EMAIL>>
using System;
namespace AmplifyShaderEditor
{
[Serializable]
[NodeAttributes( "Z-Buffer ... | 2.025239 | 9541754027398e9b76ae91f3c47dfee5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92567 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "riadhbs/Tomography-reconstruction-3D",
"max_stars_repo_path": "ViriMed_Code/TIMed/MainForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92568"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Drawing.Imaging;
namespace TIMed
{
public partial class MainForm : Form
{
... | 1.938235 | 68d0462d37233bbc693a59c385846b67 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92568 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "glauberduma/AppCantina",
"max_stars_repo_path": "AppCantina/modelanddto/ItensVenda.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92569"
} | starcoder | using System;
namespace AppCantina.model
{
public class ItensVenda
{
public int ItemId { get; set; }
public String Produto { get; set; }
public int Quantidade { get; set; }
public Decimal ValorUnitario { get; set; }
public Decimal ValorTotal { get; set; }
publ... | 2.454544 | 4279d560ba8f97500f61f13b4f1f4cd7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92569 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nslottow/corefx",
"max_stars_repo_path": "src/System.Diagnostics.Process/src/System/Diagnostics/ProcessWaitHandle.Windows.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92570"
} | starcoder | <filename>src/System.Diagnostics.Process/src/System/Diagnostics/ProcessWaitHandle.Windows.cs
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Win32.SafeHandles;
using System.Runtime.InteropServices;
us... | 2.027863 | b3156bd2d8ad145f9128b557c8db9534 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92570 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "thangchung/modular-starter-kit",
"max_stars_repo_path": "samples/bimonetary/MSK.Samples.BiMonetary.Module.CryptoCurrency/Models/LinkId.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92571"
} | starcoder | using System;
using MSK.Core.Module.Domain;
namespace MSK.Samples.BiMonetary.Module.CryptoCurrency.Models
{
public class LinkId : IdentityBase
{
private LinkId()
{
}
public LinkId(Guid linkId) : base(linkId)
{
}
}
}
| 1.621686 | 5a8ccf8a0c586980a86de0737b1f66a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92571 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "davidrevoledo/ServiceBus.LogginPlugin",
"max_stars_repo_path": "src/ServiceBus.LoggingPlugin/Abstractions/ILoggingService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92572"
} | starcoder | using System.Threading.Tasks;
using Microsoft.Azure.ServiceBus;
using ServiceBus.LoggingPlugin.Infrastructure;
namespace ServiceBus.LoggingPlugin.Abstractions
{
/// <summary>
/// Service interface to log message actions
/// </summary>
public interface ILoggingService : IDisposableState
{
... | 2.086519 | 82a3888ad7c609bd8a33da2b1e2a3915 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92572 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Huex/mitheti",
"max_stars_repo_path": "src/worker/Worker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92573"
} | starcoder | <reponame>Huex/mitheti
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Mitheti.Core.Services;
namespace Mitheti.Worker
{
public class Worker : BackgroundService
{
private readonly IWatcherService _watcher;
public Worker(IWatcherService watcher)
... | 1.814255 | c562f72d64349e70c06340c074fb1172 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92573 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TrackDatRO/RepairOrderTracker-DBServer",
"max_stars_repo_path": "Services/PayPeriodService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92574"
} | starcoder | <reponame>TrackDatRO/RepairOrderTracker-DBServer<gh_stars>1-10
using MongoDB.Bson;
using MongoDB.Driver;
using RepairOrderTrakerAPI.Models;
using RepairOrderTrakerAPI.Settings;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RepairOrderTrakerAPI.Services
{
... | 2.019478 | e4e5fdb9add8570ddfa2ec0def28933c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92574 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "novikov-school/NSpectator.Selenium",
"max_stars_repo_path": "test/OpenQA.Selenite.Tests/Setup/SessionTests/given_generic_environment_and_custom_settings_when_capturing.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92575"
} | starcoder | <reponame>novikov-school/NSpectator.Selenium
using System.IO;
using FluentAssertions;
using NUnit.Framework;
using OpenQA.Selenite.Tests.Shared.Hosting;
using OpenQA.Selenite.Tests.Shared.Pages.Implementation;
using OpenQA.Selenite;
using OpenQA.Selenite.Extensions;
using OpenQA.Selenite.Setup;
using OpenQA.Selenite.Se... | 2.054528 | 4f9f41cbf5e690de1cb8b0ff9ceac7ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92575 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Philoko/SimpleInteractionSystem",
"max_stars_repo_path": "Assets/PackageContent/Source/SimpleInteractionSystem.Editor/Contract/IFieldValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92576"
} | starcoder | using System.Reflection;
using JetBrains.Annotations;
namespace SimpleInteractionSystem.Editor.Contract
{
internal interface IFieldValidator
{
#region | Interface Methods | *************************************************************
/// <summary>Used to validate the specified <paramref name... | 2.657286 | a7012a592a36399a0ab5215e765f8d7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92576 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ahoque29/DonatedOrganBankManager",
"max_stars_repo_path": "HospitalData/Services/Interfaces/IDonatedOrganService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92577"
} | starcoder | using System.Collections.Generic;
namespace HospitalData.Services
{
public interface IDonatedOrganService
{
int GetOrganId(string organName);
void AddDonatedOrgan(DonatedOrgan donatedOrgan);
void RemoveDonatedOrgan(int donatedOrganId);
List<DonatedOrgan> GetDonatedOrgansList();
string GetToString(int ... | 2.027611 | 1ca7caa2413b9036429c455a1a9bbd7e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92577 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "martinsmith1968/OpenAPI.CodeGenerator",
"max_stars_repo_path": "OpenAPI.CodeGenerator/Commands/Generate/GenerateCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92578"
} | starcoder | <reponame>martinsmith1968/OpenAPI.CodeGenerator
using System.IO;
using System.Linq;
using DNX.Helpers.Strings;
using Microsoft.OpenApi.Models;
using Ookii.CommandLine;
using OpenAPI.CodeGenerator.Common.Commands;
using OpenAPI.CodeGenerator.Common.Interfaces;
using OpenAPI.CodeGenerator.Common.Types;
using OpenAPI.Cod... | 2.148899 | 0e699d017bf4edbdfcffad7320b15cba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92578 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "impower-ai/impower-office365-activities",
"max_stars_repo_path": "Mail/Activities/GetMessageAsEML.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92579"
} | starcoder | using Microsoft.Graph;
using System;
using System.Activities;
using System.ComponentModel;
using System.IO;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
namespace Impower.Office365.Mail
{
[DisplayName("Download Message as .EML")]
public class GetMessageAsEML : MessageAc... | 2.430349 | 927fa70da532c25d78da12ef61b6e430 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92579 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "graphql-aspnet/demo-projects",
"max_stars_repo_path": "Subscriptions-ReactApolloClient/src/Bakery.API/Model/Cupcake.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92580"
} | starcoder | <filename>Subscriptions-ReactApolloClient/src/Bakery.API/Model/Cupcake.cs<gh_stars>1-10
namespace GraphQL.AspNet.Examples.ReactApollo.Model
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Graph... | 2.695319 | 240d9a25ae4c57ab8d3e6fdb007413d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92580 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dotarj/protobuf-net-data-light",
"max_stars_repo_path": "src/ProtoBuf.Data.Light/TypeHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92581"
} | starcoder | // Copyright (c) <NAME>. See LICENSE and NOTICE in the project root for license information.
using System;
using System.Collections.Generic;
using System.IO;
namespace ProtoBuf.Data.Light
{
internal static class TypeHelper
{
private static readonly Type[] SupportedDataTypes = new[]
{
... | 2.517565 | 1620c575bc49e0652196b2e9eebad3cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92581 | {
"extension": "c-sharp",
"max_stars_count": "778.0",
"max_stars_repo_name": "jeroen-mostert/CodeContracts",
"max_stars_repo_path": "Microsoft.Research/Contracts/System.Windows.Forms/System.Windows.Forms.ListViewHitTestInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92582"
} | starcoder | <reponame>jeroen-mostert/CodeContracts
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 Soft... | 2.098811 | 2a87ba59198a6c179f3bfcba3b5e45a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92582 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Therzok/MSBuildStructuredLog",
"max_stars_repo_path": "src/StructuredLogViewer.Core/SourceFiles/SourceFileResolver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92583"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
namespace StructuredLogViewer
{
public class SourceFileResolver : ISourceFileResolver
{
private readonly List<ISourceFileResolver> resolvers = new List<ISourceFileResolver>
{
new LocalSourceFileResolver()
... | 2.539831 | a07c56c77ff8f7c2c589058fd7670665 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92583 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "afonsof/meganium",
"max_stars_repo_path": "Api/ViewModels/UserEditVm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92584"
} | starcoder | using System.ComponentModel.DataAnnotations;
using Meganium.Api.Resources;
namespace Meganium.Api.ViewModels
{
public class UserEditVm
{
public int Id { get; set; }
[Required, StringLength(64)]
[Display(Name = "FullName", ResourceType = typeof(Resource))]
public string FullNam... | 1.993535 | 9b5f982b77da45e419b1689e7e4ff133 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92584 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "fossabot/json-validation",
"max_stars_repo_path": "DotJEM.Json.Validation/Results/EmbededValidatorResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92585"
} | starcoder | using DotJEM.Json.Validation.Rules;
using Newtonsoft.Json.Linq;
namespace DotJEM.Json.Validation.Results
{
public class EmbededValidatorResult : Result
{
public override bool IsValid => Result.IsValid;
public Result Result { get; }
public JToken Token { get; set; }
public Embe... | 2.407161 | 2eb9a531a1fd15c420f1e28555f714ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92585 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JoanStinson/RetroRPGPatterns",
"max_stars_repo_path": "Retro RPG Patterns/Assets/Scripts/Patterns/Visitor/IBikeElementVisitable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92586"
} | starcoder | namespace JGM.Patterns.Visitor
{
public interface IBikeElementVisitable
{
void Accept(IBikeElementVisitor visitor);
}
} | 1.769532 | c1da543db56c579ec96b84de582ea0fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92586 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GerHobbelt/GraphView",
"max_stars_repo_path": "GraphView/GremlinTranslation/variables/table/tvf/withSubquery/GremlinUnionVariable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92587"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.SqlServer.TransactSql.ScriptDom;
namespace GraphView
{
internal class GremlinUnionVariable : GremlinTableVariable
{
public List<GremlinToSqlContext> UnionContextList { ge... | 2.203098 | 087e89ec321dff1078df6877c6d1817d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92587 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FrodeHus/dockergen",
"max_stars_repo_path": "src/DockerGen/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92588"
} | starcoder | using Blazored.LocalStorage;
using DockerGen.Components;
using DockerGen.Components.Instructions;
using DockerGen.Container;
using DockerGen.Infrastructure;
using Fluxor;
using MatBlazor;
using Microsoft.AspNetCore.Components.WebAssembly.Authentication;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;... | 2.008432 | 6a79d7a0fdbf1dba185d2237591330b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92588 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MohamedMostafa0/Unity_Utils",
"max_stars_repo_path": "API_Lib/APICallback.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92589"
} | starcoder | using UnityEngine;
using API_Lib.Events;
using API_Lib.Managers;
using API_Lib.Helpers.Enums;
namespace API_Lib
{
public abstract class APICallback : MonoBehaviour
{
private void Awake()
{
APIEventManager.APIEventHandler += OnApiEventHandler;
OnAwake();
}
... | 2.363477 | 0737cda0c28ee1dc10e3b44871be0fd1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92589 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cythral/brighid-commands-sdk",
"max_stars_repo_path": "src/Sdk.PackageTool/Services/EnvironmentService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92590"
} | starcoder | <reponame>cythral/brighid-commands-sdk
using System;
namespace Brighid.Commands.Sdk.PackageTool
{
/// <inheritdoc />
public class EnvironmentService : IEnvironmentService
{
/// <inheritdoc />
public int ExitCode
{
get => Environment.ExitCode;
set => Environme... | 1.623328 | 0bc8548095319217035cfe84af818f0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92590 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndrewSav/mktool",
"max_stars_repo_path": "Utility/LoggingHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92591"
} | starcoder | using Serilog;
using Serilog.Events;
using System;
using System.IO;
namespace mktool
{
static class LoggingHelper
{
public static string LogFile => "mktool.log";
public static void ConfigureLogging(string? level)
{
if (level == null)
{
... | 2.764268 | 0f513967233da40d299483fd48d2ccf1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92591 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sinus32/re2",
"max_stars_repo_path": "src/ItemInfoFinder/InfoFinder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92592"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Xml;
namespace ItemInfoFinder
{
public class InfoFinder
{
private static readonly Dictionary<string, MainType> _typeM... | 2.253692 | 69ff827847b391a8244b25fcf8097574 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92592 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VelvetAlabaster/ARX",
"max_stars_repo_path": "Unremastered Files/FEN/Combat Loop/FEN_BattleProcess_Main.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92593"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using FEN;
using ARX;
namespace FEN
{
public class FEN_BattleProcess_Main : FEN_BattleProcess
{
public FEN_BattleProcess_Main() : base("battleprocess_main")
{
}
/// <summary>
/// Creates the... | 1.971354 | 8ce2acdbba8daf12b94f264fefdc1a9c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92593 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MaximKsh/DBApi",
"max_stars_repo_path": "Controllers/DataContracts/PostUpdateDataContract.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92594"
} | starcoder | <filename>Controllers/DataContracts/PostUpdateDataContract.cs
using System.Runtime.Serialization;
namespace KashirinDBApi.Controllers.DataContracts
{
// запрос
// Для post/id/details
[DataContract]
public class PostUpdateDataContract
{
[DataMember(Name = "message")]
public string M... | 2.08357 | 05b98b936d102f9efa6b19362ea64b6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92594 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MWFK/Bungalow_Reservation_Management",
"max_stars_repo_path": "Immeuble.Data/Configurations/OptionConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92595"
} | starcoder | using Immeuble.Entities;
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Immeuble.Data.Configurations
{
class OptionConfiguration : EntityTypeConfiguration<Option>
{
public Option... | 2.044555 | 14946dffc2bb1f380d5f7704f25538cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92595 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "simeeon/PlayersBay",
"max_stars_repo_path": "src/Data/PlayersBay.Data/Migrations/20181231073915_TransactionPropNameChanges.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92596"
} | starcoder | <filename>src/Data/PlayersBay.Data/Migrations/20181231073915_TransactionPropNameChanges.cs
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace PlayersBay.Data.Migrations
{
public partial class TransactionPropNameChanges : Migration
{
protected override void Up(MigrationBuilder migr... | 2.150944 | ee4b1b255dc2ba91b65d7fb8dad3e2c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92596 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "spriest487/spacetrader-utils",
"max_stars_repo_path": "Editor/AutoLayersSaveProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92597"
} | starcoder | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using UnityEditor;
using UnityEditorInternal;
using UnityEngine;
namespace SpaceTrader.Util.EditorUtil {
public class AutoLayersSaveProcessor : UnityEditor.AssetModificationProcessor {
private static string SanitizeId... | 2.39685 | 2e1a76c5214a52c5d6c8440c514c9130 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92597 | {
"extension": "c-sharp",
"max_stars_count": "474.0",
"max_stars_repo_name": "ehtick/msgraph-sdk-dotnet",
"max_stars_repo_path": "src/Microsoft.Graph/Generated/requests/IStopHoldMusicOperationRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92598"
} | starcoder | <filename>src/Microsoft.Graph/Generated/requests/IStopHoldMusicOperationRequest.cs
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
/... | 1.795919 | b7715e31880fc4c04fddb0181dcf4ec3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92598 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "YakaryBovine/War3Net",
"max_stars_repo_path": "src/War3Net.CodeAnalysis.Transpilers/JassToCSharp/ArrayDeclaratorTranspiler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92599"
} | starcoder | // ------------------------------------------------------------------------------
// <copyright file="ArrayDeclaratorTranspiler.cs" company="Drake53">
// Licensed under the MIT license.
// See the LICENSE file in the project root for more information.
// </copyright>
// ------------------------------------------------... | 2.083479 | 553e4453dd15d4cc6b8349ed032a31fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92599 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "event-driven-dotnet/EventDriven.ReferenceArchitecture",
"max_stars_repo_path": "test/EventDriven.ReferenceArchitecture.Specs/Helpers/MappingHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92600"
} | starcoder | using AutoMapper;
namespace EventDriven.ReferenceArchitecture.Specs.Helpers;
public static class MappingHelper
{
public static IMapper GetMapper<TMappingProfile>()
where TMappingProfile : Profile
{
var config = new MapperConfiguration(
cfg => { cfg.AddProfile(typeof(TMappingProfile... | 2.141694 | 53911eb3a0422706f19cb46e4877a1dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92600 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "avmaisak/StlTools",
"max_stars_repo_path": "src/StlTools/StlTools/Types/Solid.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92601"
} | starcoder | <reponame>avmaisak/StlTools
using StlTools.Interfaces;
namespace StlTools.Types
{
/// <summary>
/// Файл типа ASCII STL начинается со строки: solid name
/// где name — необязательная строка (но если name опущено, всё равно должен быть пробел после solid).
/// </summary>
public class Solid: ISolid
{
/// <summa... | 2.128949 | 64f24081cf227088979a213b9fed0a4f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92601 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "elenacyl/CS4240-assingment3",
"max_stars_repo_path": "Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARHitTestExample.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92602"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEngine.EventSystems;
namespace UnityEngine.XR.iOS
{
public class UnityARHitTestExample : MonoBehaviour
{
public Transform m_HitTransform;
public float maxRayDistance = 30.0f;
public LayerMask collisionLayer = 1 << 10; //ARKitPlane layer
public Game... | 2.154475 | 5e150c951bbb7978365e8fec5b3b1a99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92602 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArcturusMayer/Royal_Traveller",
"max_stars_repo_path": "Assets/Scripts/Generation/Generation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92603"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class Generation
{
protected int answer = 0;
public abstract void generateMatrix(ref List<List<int>> list);
protected void clearMatrix(ref List<List<int>> list)
{
for (int i = 0; i < 8; i++)
... | 2.833965 | 536242c41137336f4fbff571bf5ed389 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92603 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "telerik/maui-samples",
"max_stars_repo_path": "Samples/SdkBrowser/Examples/SideDrawerControl/GettingStartedCategory/GettingStartedExample/SideDrawerGettingStartedXaml.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92604"
} | starcoder | using Microsoft.Maui.Controls.Xaml;
using Telerik.Maui.Controls;
using System.Collections.Generic;
using System;
namespace SDKBrowserMaui.Examples.SideDrawerControl.GettingStartedCategory.GettingStartedExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class SideDrawerGettingStartedXam... | 1.663041 | c75feb2b3cf1c360c4795f64c989e4ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92604 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "SwissLife-OSS/magnet",
"max_stars_repo_path": "src/Client/SignalR/SignalRMessageStreamClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92605"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR.Client;
namespace Magnet.Client
{
public class SignalRMessageStreamClient : IMessageStreamClient
{
private readonly SignalROptions _options;
private readonly MagnetOptions _magnetOptions;
... | 2.381567 | 7faa8608fbc94232aedd947e245c2de9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92605 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "richardnwonah/TransportSystem.App",
"max_stars_repo_path": "TransportSystem/Service/BusesServices/IBusService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92606"
} | starcoder | <reponame>richardnwonah/TransportSystem.App<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TransportSystem.Data.DbModels;
namespace TransportSystem.Service.BusesServices
{
public interface IBusService
{
public List<Terminal> AddNewBus(... | 1.700257 | 8ddf88f78c04e09a5b9ca41c0019126c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92606 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mitsbits/NoBorg",
"max_stars_repo_path": "src/projects/cms/Borg.Cms.Basic.Lib/Features/CMS/Queries/ComponentPageContentRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92607"
} | starcoder | <reponame>mitsbits/NoBorg
using Borg.CMS.Components;
using Borg.Infra.DAL;
using Borg.Infra.Storage.Assets;
using Borg.Infra.Storage.Assets.Contracts;
using Borg.MVC.BuildingBlocks;
using Borg.MVC.BuildingBlocks.Contracts;
using Borg.Platform.EF.CMS.Data;
using Borg.Platform.EF.Contracts;
using MediatR;
using Microsof... | 1.943596 | 42395ee3ac1688db6a1aa5173c841f18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92607 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nicholas-boyd/Project-Monster",
"max_stars_repo_path": "Assets/Scripts/ViewModel/AI/CardPicker/RandomCardPicker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92608"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class RandomCardPicker : BaseCardPicker
{
public List<BaseCardPicker> pickers;
public override void Pick(PlanOfAttack plan)
{
int index = Random.Range(0, pickers.Count);
BaseCardPicker p = pick... | 1.821891 | cf5f0524a67c523685fe1a4ad9bf06e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92608 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MelnikovAG/roslyn",
"max_stars_repo_path": "src/VisualStudio/IntegrationTest/New.IntegrationTests/VisualBasic/BasicErrorListCommon.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92609"
} | starcoder | <reponame>MelnikovAG/roslyn
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microso... | 1.909974 | 69de59604084558e7eb9bea28551c141 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92609 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danielplawgo/ApiResult",
"max_stars_repo_path": "ApiResult/Infrastructure/BaseController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92610"
} | starcoder | <reponame>danielplawgo/ApiResult
using FluentValidation.Results;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace ApiResult.Infrastructure
{
public class BaseController : Controller
{
protected ActionResult SuccessResult(object value ... | 2.350299 | 32ddeb93e40f8a4e7f2e9c8059a8d2c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92610 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adliance/Storyblok",
"max_stars_repo_path": "src/Adliance.Storyblok/Extensions/HtmlHelperExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92611"
} | starcoder | <filename>src/Adliance.Storyblok/Extensions/HtmlHelperExtensions.cs<gh_stars>0
using Microsoft.AspNetCore.Html;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
namespace Adliance.Storyblok.Extensions
{
public static class HtmlHelperExte... | 2.188149 | 591de356209d8d7e8a6b7821eb23e097 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92611 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "pekalam/MPI.NET",
"max_stars_repo_path": "MPI/TopologicalCommunicator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92612"
} | starcoder | <gh_stars>10-100
/* Copyright (C) 2007 The Trustees of Indiana University
*
* Use, modification and distribution is subject to the Boost Software
* License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*
* Authors: <NAME>
* <NAME>
*/
namespac... | 2.639954 | 5b8bb91092a900e2a298537c6f418fb0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92612 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "indiedevcasts/2d-jam",
"max_stars_repo_path": "Assets/Scripts/Camera/CameraFollowTarget.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92613"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraFollowTarget : MonoBehaviour {
[Header("The target that the camera follows.")]
[SerializeField] private Transform target;
[Header("The time the camera takes to reach the target's position.")]
[Range(0f, 50f)][Serial... | 2.690836 | d87799ad48617b07cc6ecf79a4c40194 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92613 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "ananjev-a-v/MeterBusLibrary",
"max_stars_repo_path": "MeterBusLibrary/Responses/_UD_Data.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92614"
} | starcoder | <gh_stars>1-10
using MeterBusLibrary.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MeterBusLibrary.Responses
{
public abstract class _UD_Data : _UD_Base
{
public abstract UInt32 IdentificationNo { get; }
public abstract byte AccessNo { ... | 1.737479 | 2ada4cf19ca5ed16ad897bd8b41b10c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92614 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "R-N/Fort2",
"max_stars_repo_path": "Assets/Scripts/ScreenTapHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92615"
} | starcoder | <gh_stars>0
using UnityEngine;
using UnityEngine.EventSystems;
using System.Collections;
public class ScreenTapHandler : MonoBehaviour, IPointerClickHandler, IPointerDownHandler, IDragHandler, IDropHandler, IPointerUpHandler {
public static Transform selected = null;
public static int selectedType = 0;
public stat... | 1.812705 | 86487f6d89414aa6ef1b1200426c7530 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92615 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MaxPeal/keecloud_testing",
"max_stars_repo_path": "KeeCloud/WebRequests/ProviderWebRequestCreator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92616"
} | starcoder | <filename>KeeCloud/WebRequests/ProviderWebRequestCreator.cs
using KeePass.Plugins;
using System;
using System.Net;
namespace KeeCloud.WebRequests
{
public class ProviderWebRequestCreator : IWebRequestCreate
{
private readonly IPluginHost host;
public ProviderWebRequestCreator(IPlugi... | 2.379376 | 56434eaddd8e6594e8b17e5393a30733 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92616 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheWizardAndTheWyrd/EunomiaNET",
"max_stars_repo_path": "src/Eunomia.NET/Rules/Exceptions/Admin/RuleAdministrationException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92617"
} | starcoder | using System;
namespace Eunomia.NET.Rules.Exceptions.Admin
{
public class RuleAdministrationException : Exception
{
public RuleAdministrationException()
{
}
public RuleAdministrationException(string message)
: base(message)
{
... | 1.742863 | ea8282a28afe51ddada9240092d9bef9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92617 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RedMser/Datamodel.NET",
"max_stars_repo_path": "Codecs/KeyValues2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92618"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Numerics;
using System.IO;
namespace Datamodel.Codecs
{
[CodecFormat("keyvalues2", 1)]
[CodecFormat("keyvalues2", 2)]
[CodecFormat("keyvalues2", 3)]
[CodecFormat("keyvalues2", 4)]
class KeyValues2 : ... | 2.392014 | 737819de22983ad6fd49f5775d9296e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92618 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VinicioSantos/ProjetoEPharmaAPI",
"max_stars_repo_path": "ProjetoEPharma.Service/DependencyInjection/ApplicationServiceInjection/ConfigureBindingsCommonApplicationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92619"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using ProjetoEPharma.Service.Modules;
namespace ProjetoEPharma.Service.DependencyInjection.ApplicationServiceInjection
{
public class ConfigureBindingsCommonApplicationService
{
public static void RegisterBindings(IServiceCollection service)
{
... | 1.481106 | c384b118d35bfb8c5e73c82c47a8f1f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92619 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yumaster/CoreBook",
"max_stars_repo_path": "src/CloudMusicDotNet.Api/Dto/ArtistListDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92620"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CloudMusicDotNet.Api.Dto
{
/// <summary>
/// 歌手列表
/// </summary>
public class ArtistListDto : SimpleDto
{
/// <summary>
/// 歌手分类
/// </summary>
pub... | 1.875753 | a6a64468ddf24c052ba98e57ea626083 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92620 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kovachevmartin/SoftUni",
"max_stars_repo_path": "Tech-Module/04-ARRAYS_METHODS_More-Exercises/05.Pizza/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92621"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _05.Pizza
{
class Program
{
static void Main(string[] args)
{
string[] ingredients = Console.ReadLine()
.Split(' ')
... | 3.499991 | 0e3105a3faf2c58761f143ade8c020e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92621 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "elementechemlyn/nrls-reference-implementation",
"max_stars_repo_path": "Demonstrator/Demonstrator.Models/Core/Models/ClientAsidMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92622"
} | starcoder | using System.Collections.Generic;
namespace Demonstrator.Models.Core.Models
{
public class ClientAsidMap
{
public IDictionary<string, ClientAsid> ClientAsids { get; set; }
public static string Key = "ClientAsidMap";
}
public class ClientAsid
{
public string Thumbprint { g... | 1.615441 | bbf67f416258dcf309c38a5e43d7a67a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92622 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "svlcode/ConsoleLib",
"max_stars_repo_path": "sources/ConsoleLib/ConsoleLib/Concrete/MenuItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92623"
} | starcoder | using System;
namespace ConsoleLib
{
internal sealed class MenuItem
{
/// <summary>
/// The name of the menu item that is displayed inside the console.
/// </summary>
public string Name { get; set; }
/// <summary>
/// The method that is executed when the menu i... | 3.19009 | 940ceaf5d8d98af2805668eebb539056 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92623 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arsabyaneh/guess_number_game",
"max_stars_repo_path": "guess_number_game/engine/build/director.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92624"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace guess_number_game.engine.build
{
public static class director
{
public static game construct(game_type type)
{
builder build = null;
switch (type)
{
case game_type.... | 2.833996 | 20a35ac36cea322ed9f47868c8a1a361 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92624 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hespinoza01/SportStore",
"max_stars_repo_path": "Infrastructure/PageLinkTagHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92625"
} | starcoder | <reponame>hespinoza01/SportStore
using System;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.Routing;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using SportStore.Models.ViewModels;
using Microsoft.AspNetCore.Razor.TagHelpers;
namespace SportStore.Inf... | 2.164297 | 794a2f27dcfe44ab836d7cfff7d7451a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92625 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Brevering/Databases_2016_TeamWork",
"max_stars_repo_path": "CarsFactory/CarsFactory.Models/Order.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92626"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using CarsFactory.Models.Enums;
namespace CarsFactory.Models
{
public class Order
{
private ICollection<Car> ... | 2.98616 | 5e6948d710fb15f8aead62cd258a12cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92626 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gouki04/PoissonDiscSampling",
"max_stars_repo_path": "PoissonDiscSampling.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92627"
} | starcoder | <filename>PoissonDiscSampling.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PoissonDiscSampling
{
static class Extension
{
public static float Range(this Random random, float max)
{
return random.Range(0f, max);
}
... | 3.269533 | e906000f7ba1339c081c9f6c7683284d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JackieG19/Csharp-Control-Flow",
"max_stars_repo_path": "CsharpFundamentals/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92628"
} | starcoder | using System;
namespace CsharpFundamentals
{
class Program
{
static void Main(string[] args)
{
while(true)
{
Console.WriteLine("Type your name: ");
var input = Console.ReadLine();
if(!String.IsNullOrWhiteSpace(input))
{
Console.WriteLine("@Echo: " + input);
contin... | 3.140449 | 46b2b75712aef818e0da547807528a44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92628 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YAVATAN-Official/oop_final",
"max_stars_repo_path": "gis_final/Controllers/AddressesController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92629"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using gis_final.Models;
using Microsoft.AspNetCore.Routing;
namespace gis_final.Controllers
{
public class... | 2.41716 | 81f1ad29e29a10d01f83c8fee628a283 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92629 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "UnityStandardAssets/Water/PlanarReflection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92630"
} | starcoder | [ExecuteInEditMode] // RVA: 0x142950 Offset: 0x142A51 VA: 0x142950
[RequireComponent] // RVA: 0x142950 Offset: 0x142A51 VA: 0x142950
public class PlanarReflection : MonoBehaviour // TypeDefIndex: 5984
{
// Fields
public LayerMask reflectionMask; // 0x18
public bool reflectSkybox; // 0x1C
public Color clearColor; //... | 1.429395 | 6c6ab2e3977c63cb04c7c179fd076ce8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92630 | {
"extension": "c-sharp",
"max_stars_count": "227.0",
"max_stars_repo_name": "ckalvin-hub/Sheng.Winform.IDE",
"max_stars_repo_path": "SourceCode/Source/EnterpriseLibrary/Logging/Src/Logging/Filters/LogFilterCustomFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92631"
} | starcoder | /*********************************************
作者:曹旭升
QQ:279060597
访问博客了解详细介绍及更多内容:
http://blog.shengxunwei.com
**********************************************/
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder;
using Microsoft.Practices.E... | 1.520561 | 08678c3908db27c1785e6a3249e91345 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92631 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "harrison314/MassiveDynamicProxyGenerator",
"max_stars_repo_path": "src/Src/MassiveDynamicProxyGenerator/ICallableInvocation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92632"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MassiveDynamicProxyGenerator
{
/// <summary>
/// Interface represented callable invocation informations.
/// </summary>
/// <seealso cref="ICommonInvocation" />
public inte... | 2.079929 | 2798df8b7274ec6ea1600397d4afbc3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92632 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "moerwald/AutoCake",
"max_stars_repo_path": "src/AutoCake.Unity/tasks.cake",
"provenance": "train-00000-of-00045.jsonl.gz:92633"
} | starcoder | <filename>src/AutoCake.Unity/tasks.cake<gh_stars>1-10
BuildConfig.Configure(Context);
BuildActions.Configure(Context);
PublishActions.Configure(Context);
ReportActions.Configure(Context);
UnitTestActions.Configure(Context);
UnitTestActions.SkipTests = true;
XBuildHelper.Configure(Context);
TaskActions.Configure(Context... | 1.903539 | dfe0aead122c499622916113da519809 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92633 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dotneterwhj/dotfxWebApi",
"max_stars_repo_path": "src/DotneterWhj.Extensions/Authorizations/AuthenticationFailureResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92634"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
namespace DotneterWhj.Extensions
{
public class AuthenticationFailureResult : IHttpActionResult
{
p... | 2.370634 | 8929e956aa6e2396a93cc79cd04cb147 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/jncc.jncc-website",
"max_stars_repo_path": "src/JNCC.PublicWebsite.Core/Models/CarouselItemSchema.generated.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92635"
} | starcoder | <reponame>uk-gov-mirror/jncc.jncc-website<gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Umbraco.ModelsBuilder v3.0.10.102
//
// Changes to this file will be lost if the code is regenerated.
// </auto-gen... | 1.994068 | 564342fc10f7bff2881a90126825c4da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92635 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AlexZeitler/WebApi.Examples",
"max_stars_repo_path": "src/RestFiles/RestFiles.ServiceInterface/RevertFilesService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92636"
} | starcoder | using System.IO;
using RestFiles.ServiceModel.Operations;
using ServiceStack.Common.Utils;
using ServiceStack.ServiceInterface;
namespace RestFiles.ServiceInterface
{
public class RevertFilesService
: RestServiceBase<RevertFiles>
{
public AppConfig Config { get; set; }
public override object OnPost(RevertFile... | 1.998933 | 87e9666560aad07d67458b70c9a1c1fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92636 | {
"extension": "c-sharp",
"max_stars_count": "95.0",
"max_stars_repo_name": "raulbarca/simplexml",
"max_stars_repo_path": "port/src/main/Xml/Core/ConstructorInjectionTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92637"
} | starcoder | <reponame>raulbarca/simplexml
#region Using directives
using SimpleFramework.Xml.Stream;
using SimpleFramework.Xml;
using System;
#endregion
namespace SimpleFramework.Xml.Core {
public class ConstructorInjectionTest : ValidationTestCase {
private const String SOURCE =
"<example number='32'>"+
" <i... | 2.517957 | 1e32d7f28ec7fd404edc86991b542f8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92637 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SteeltoeOSS/steeltoe-testbed",
"max_stars_repo_path": "src/Management/src/OpenTelemetryBase/Exporters/Steeltoe/SteeltoeCollectionResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92638"
} | starcoder | <reponame>SteeltoeOSS/steeltoe-testbed
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using Steeltoe.Management.OpenTelemetry.Metrics;
using System;
using ... | 1.570256 | 0199e39771f5548ebfd36d9c1c697067 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92638 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "Dzmuh/MvcCodeRouting",
"max_stars_repo_path": "tests/MvcCodeRouting.Web.Mvc.Tests/ParameterBinding/RegexConstraintBehavior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92639"
} | starcoder | using System;
using System.Globalization;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using MvcCodeRouting.ParameterBinding;
namespace MvcCodeRouting.Web.Mvc.Tests.ParameterBinding {
[TestClass]
public class RegexConstraint... | 2.090556 | d6f551dfc5d540069a25e8c5bc8ee033 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92639 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndyPook/A6k.Messaging",
"max_stars_repo_path": "src/A6k.Messaging.Kafka/LoggingExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92640"
} | starcoder | using Confluent.Kafka;
using Microsoft.Extensions.Logging;
namespace A6k.Messaging.Kafka
{
public static class LoggingExtensions
{
public static LogLevel GetLogLevel(this SyslogLevel level)
{
switch (level)
{
case SyslogLevel.Emergency:
c... | 2.139141 | 9f8fb7b7621d088178364dbe59329a86 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92640 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JohanSaisa/GT",
"max_stars_repo_path": "src/GT.Core/DTO/Impl/ListingDTO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92641"
} | starcoder | <reponame>JohanSaisa/GT
using GT.Core.DTO.Interfaces;
using System.ComponentModel.DataAnnotations;
namespace GT.Core.DTO.Impl
{
/// <summary>
/// Represents a listing view and create model.
/// </summary>
public class ListingDTO : IGTDataTransferObject
{
[StringLength(450)]
public string? Id { get; set; }
... | 2.086958 | 9969257838c608f288339ca367afeb59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92641 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tobydo/annoyingclientsim",
"max_stars_repo_path": "AnnoyingClientSim/Assets/DreamOS - Complete OS UI/Scripts/Network/NetworkManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92642"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
namespace Michsky.DreamOS
{
public class NetworkManager : MonoBehaviour
{
// List
public List<NetworkItem> networkItems = new List<NetworkItem>();
// Resources
pub... | 2.145164 | be0aa93ed980513b52c60e7d6673add2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92642 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "SSStormy/cscapec",
"max_stars_repo_path": "Reference317/CScape.Core/Game/Entity/Directions/FollowDirectionProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92643"
} | starcoder | using System.Linq;
using CScape.Models.Extensions;
using CScape.Models.Game;
using CScape.Models.Game.Entity;
using CScape.Models.Game.Entity.Component;
using CScape.Models.Game.Entity.Directions;
using CScape.Models.Game.World;
namespace CScape.Core.Game.Entity.Directions
{
public sealed class FollowDirectionProv... | 2.743528 | 9214ff84d1b335b0a9ba5dd0c0323871 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92643 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sitecore/KomfoSharp",
"max_stars_repo_path": "KomfoSharp/Sessions/Authenticated/Requests/Ads/CustomAudiences/CustomAudience/Users/Update/UpdateUsersInCustomAudienceDataType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92644"
} | starcoder | <reponame>Sitecore/KomfoSharp<gh_stars>0
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UpdateUsersInCustomAudienceDataType.cs" company="Sitecore A/S">
// Copyright (C) 2015 by Sitecore
// </copyright>
// --------------------... | 1.636211 | a8112556176343b24d1f5262afc393fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92644 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BugsUK/FindApprenticeship",
"max_stars_repo_path": "src/SFA.Apprenticeships.Application.Employer/EmployerService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92645"
} | starcoder | <reponame>BugsUK/FindApprenticeship<filename>src/SFA.Apprenticeships.Application.Employer/EmployerService.cs
namespace SFA.Apprenticeships.Application.Employer
{
using System;
using System.Collections.Generic;
using CuttingEdge.Conditions;
using Domain.Entities.Raa.Parties;
using Domain.Raa.Interfa... | 1.871175 | 95f2df357e5fbcba56e224b47e58e9e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92645 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SafetyCone/R5T.D0034",
"max_stars_repo_path": "source/R5T.D0034.Default/Code/Services/Implementations/VisualStudioProjectFileProjectReferencePathProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92646"
} | starcoder | using System;
using R5T.Lombardy;using R5T.T0064;
namespace R5T.D0034.Default
{[ServiceImplementationMarker]
public class VisualStudioProjectFileProjectReferencePathProvider : IVisualStudioProjectFileProjectReferencePathProvider,IServiceImplementation
{
private IStringlyTypedPathOperator StringlyType... | 2.002117 | e9ce04770f5ec770754166a11728be6c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92646 | {
"extension": "c-sharp",
"max_stars_count": "290.0",
"max_stars_repo_name": "YohskDista/fluent-xaml-theme-editor",
"max_stars_repo_path": "FluentEditorShared/DelegateCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92647"
} | starcoder | <filename>FluentEditorShared/DelegateCommand.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Windows.Input;
namespace FluentEditorShared
{
// Not thread safe, but allows changing the delegate
public class DelegateCommand : ICommand... | 2.845211 | f92e9584b25e9f17903889793267aa35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92647 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ryan-developer/identity-management",
"max_stars_repo_path": "source/IdentityManagement/Configuration/SecurityConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92648"
} | starcoder | <gh_stars>0
using System;
using System.IdentityModel.Tokens.Jwt;
using System.IO;
using System.Reflection;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using IdentityManagement.Persistence.Identity;
using IdentityManagement.Persistence.Identity.Entities;
using IdentityMode... | 1.473372 | 8e6ace12765a8a4f17471daf85158e17 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92648 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tsahi/data-access-application-block",
"max_stars_repo_path": "source/Tests/Data.TestSupport/ParameterDiscoveryFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92649"
} | starcoder | /*
Copyright 2013 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://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, s... | 1.949801 | dcdb17f7859d1f67da2eb0678e28efdd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92649 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "EveHQ-Team/EveHQ-NG",
"max_stars_repo_path": "source/EveHQ.NG.Storage.Sqlite/SqliteDatabaseBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92650"
} | starcoder | // Проект: EveHQ.NG.Infrastructure
// Имя файла: SqliteDatabaseBase.cs
// GUID файла: E5524E03-A8F1-4A19-BC73-EBB63CA2A0BC
// Автор: <NAME> (<EMAIL>)
// Дата создания: 26.08.2018
#region Usings
using System.IO;
using EveHQ.NG.Infrastructure.Storage;
using Microsoft.Data.Sqlite;
#endregion
namespace EveHQ.NG.Stora... | 2.321057 | 0a35df528142ed5fb5d13f5c5d614c77 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92650 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robshakespeare/aoc2020",
"max_stars_repo_path": "AoC/Day10/Day10Solver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92651"
} | starcoder | namespace AoC.Day10
{
public class Day10Solver : SolverBase
{
public override string DayName => "Adapter Array";
protected override long? SolvePart1Impl(string input) => JoltageChecker1.Parse(input).GetPart1Answer();
protected override long? SolvePart2Impl(string input) => JoltageCheck... | 2.539086 | 3458a14cc0a6a6479efa6a23d5c78b98 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92651 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArtzTJU/AdventOfCode2020",
"max_stars_repo_path": "Day9_EncodingError/Main.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92652"
} | starcoder | using System;
using System.Linq;
using System.IO;
namespace AdventOfCode.Day9
{
public class Main
{
public static string PartOne()
{
var numbers = File
.ReadAllLines(@"Day9_EncodingError\input.txt")
.Select(long.Parse)
.ToList();
... | 3.345975 | f99191d7cc837003d807f9389d0edd48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tommasobertoni/IsAwaitable",
"max_stars_repo_path": "tests/IsAwaitable.Tests/CustomTypes/MissingBoolIsCompletedProperty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92653"
} | starcoder | using System;
using System.Runtime.CompilerServices;
namespace IsAwaitable
{
class MissingBoolIsCompletedProperty : INotifyCompletion
{
public string IsCompleted { get; set; }
public void GetResult() { }
public void OnCompleted(Action continuation) { }
public MissingBoolIsCo... | 2.14531 | dee777ffc6a2c1df146ad576084ddcf1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92781 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jonedavis/OwlFinanceDemo",
"max_stars_repo_path": "api/projects/Twilio.OwlFinance.Services/DocuSignService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92782"
} | starcoder | <reponame>jonedavis/OwlFinanceDemo
using System;
using System.Linq;
using System.Threading.Tasks;
using Twilio.OwlFinance.Domain.Interfaces;
using Twilio.OwlFinance.Domain.Interfaces.Repositories;
using Twilio.OwlFinance.Domain.Interfaces.Services;
using Twilio.OwlFinance.Domain.Interfaces.Settings;
using Twilio.OwlFi... | 1.947001 | 457ae74a9f5a8dd46c7ca8b1392f216c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92782 | {
"extension": "c-sharp",
"max_stars_count": "163.0",
"max_stars_repo_name": "yurisouza/Protogame",
"max_stars_repo_path": "Protogame/Graphics/Effect/TextureEffectSemantic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92783"
} | starcoder | using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Protogame
{
public class TextureEffectSemantic : ITextureEffectSemantic
{
private IEffectParameterSet _parameterSet;
private IEffectWritableParameter _textureParam;
private IEffectWritableP... | 2.732314 | 5de97196ef0553b08feee1462cca9ae3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92783 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FriStud/Kros.BusEventDoc",
"max_stars_repo_path": "src/Kros.EventBusDoc.Generator/BusentScour/Document/DescriptiveType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92784"
} | starcoder | namespace Kros.EventBusDoc.Generator.BusentScour.Document
{
public class DescriptiveType : DescriptiveObject
{ }
} | 1.058826 | 06fa2307073e80f9386e45f4450178c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92784 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mas9uerade/Mas9uerade.github.io",
"max_stars_repo_path": "source/ByteDance/ByteDance-Popular/ByteDance-Popular/Recursion/Judge24Point.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92785"
} | starcoder | //679. 24 点游戏
//你有 4 张写有 1 到 9 数字的牌。你需要判断是否能通过 *,/,+,-,(,) 的运算得到 24。
//示例 1:
//输入:[4, 1, 8, 7]
//输出: True
//解释: (8 - 4) * (7 - 1) = 24
//示例 2:
//输入:[1, 2, 1, 2]
//输出: False
//注意:
//除法运算符 / 表示实数除法,而不是整数除法。例如 4 / (1 - 2 / 3) = 12 。
//每个运算符对两个数进行运算。特别是我们不能用 - 作为一元运算符。例如,[1, 1, 1, 1] 作为输入时,表达式 - 1 - 1 - 1 - 1 是不允许的。
//... | 3.303988 | a5e80971246e2a0da58f6cdbb0844f09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92785 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "svick/CSharpE",
"max_stars_repo_path": "src/Syntax/Definitions/FinalizerDefinition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92786"
} | starcoder | <filename>src/Syntax/Definitions/FinalizerDefinition.cs
using System;
using System.Linq;
using CSharpE.Syntax.Internals;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using static CSharpE.Syntax.MemberModifiers;
using RoslynSyntaxFactory = Microsoft.CodeAnalysis.CSharp.SyntaxFactory;... | 2.322939 | f6f1ab12871ec0ab8dc314444d842c0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92786 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "youstinus/chess-game-test",
"max_stars_repo_path": "chess-back/chess1/Services/TestService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92787"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using checkers.Infrastructure.DataBase;
using checkers.Infrastructure.DataBase.Models;
using checkers.Infrastructure.Repositories.Interfaces;
using checkers.Models;
namespace checkers.Service... | 1.508815 | 1d1a657e7d6dadead360c58fb7f75b6c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92787 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "Adsolution/Ray1Map",
"max_stars_repo_path": "Assets/Scripts/DataTypes/Jade/TEXT/TEXT_Strings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92788"
} | starcoder | using System;
using System.Linq;
using BinarySerializer;
namespace R1Engine.Jade {
public class TEXT_Strings : Jade_File {
public override string Export_Extension => "txs";
public TextString[] Strings { get; set; }
public TEXT_Ids Ids { get; set; }
protected override void SerializeFile(SerializerObject s) ... | 2.13474 | 9dac713aea2efea32142a7a14006b566 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92788 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jinboy/Face-Reco",
"max_stars_repo_path": "FaceReco/FaceRecoDataManager/TV_Create/Interface/IUser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92789"
} | starcoder | <reponame>jinboy/Face-Reco<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YunZhiFaceReco;
using YunZhiFaceReco.TV_Create.MUti_Channel.pojo;
namespace YunZhiFaceRecoDataManager.TV_Create.Interface {
public interface IUser {
... | 1.467988 | 2f07114ca37536cbfa4b84967aed8f65 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.