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 | 8037 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lzocateli00/Lzfy.DevPack",
"max_stars_repo_path": "src/Nuuvify.CommonPack.OpenApi/SwaggerJsonIgnore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8038"
} | starcoder | <reponame>lzocateli00/Lzfy.DevPack
using System;
using System.Linq;
using System.Reflection;
using System.Text.Json.Serialization;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.OpenApi.Models;
using Swashbuckle.AspNetCore.SwaggerGen;
namespace Nuuvify.CommonPack.OpenApi
{
public static class Sw... | 2.146954 | f4026a28959f988858e25e60d81939f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8038 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rahul0tripathi/MetaNox",
"max_stars_repo_path": "Assets/MoralisWeb3ApiSdk/Nethereum/Nethereum.RPC/Eth/Filters/EthGetFilterChangesForBlockOrTransaction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8039"
} | starcoder | using System;
using System.Threading.Tasks;
using Nethereum.Hex.HexTypes;
using Nethereum.JsonRpc.Client;
namespace Nethereum.RPC.Eth.Filters
{
/// <Summary>
/// Polling method for a filter, which returns an array of logs which occurred since last poll.
/// Parameters
/// QUANT... | 2.392195 | dc8ab7de2a13c3d07a29a063c0ddab11 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8039 | {
"extension": "c-sharp",
"max_stars_count": "11580.0",
"max_stars_repo_name": "BSoDGamingYT/Ryujinx",
"max_stars_repo_path": "Ryujinx.HLE/HOS/Services/Hid/Types/SharedMemory/Npad/SixAxisSensorState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8040"
} | starcoder | using Ryujinx.Common.Memory;
using Ryujinx.HLE.HOS.Services.Hid.Types.SharedMemory.Common;
namespace Ryujinx.HLE.HOS.Services.Hid.Types.SharedMemory.Npad
{
struct SixAxisSensorState : ISampledData
{
public ulong DeltaTime;
public ulong SamplingNumber;
public HidVector Acceleration;
... | 1.326017 | 9c7de677b4b99025ea57e09f22a9c9b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8040 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pvandervelde/MogrificationCascade",
"max_stars_repo_path": "src/Metamorphic.Server/Nuclei/ExceptionHandling/TopLevelExceptionGuard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8041"
} | starcoder | <filename>src/Metamorphic.Server/Nuclei/ExceptionHandling/TopLevelExceptionGuard.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect beh... | 2.274285 | b9f4ecc31ab5e3a3be3c37268ace02ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8041 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oleges/ClassScheduler",
"max_stars_repo_path": "src/ClassScheduler.Application/CommandHandlers/CreateSubjectCommandHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8042"
} | starcoder | <gh_stars>0
using ClassScheduler.Application.Commands;
using ClassScheduler.Application.Dtos;
using ClassScheduler.Domain.Entities;
using ClassScheduler.Infrastructure.Contexts;
using MediatR;
namespace ClassScheduler.Application.CommandHandlers
{
public class CreateSubjectCommandHandler : IRequestHandler<CreateS... | 2.144097 | 3cf24a8c944987bcbd5412b56176104a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8042 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edudutra/modal-whats-poc",
"max_stars_repo_path": "ModalWhatsProc/Models/Channel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8043"
} | starcoder | <gh_stars>0
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Threading.Tasks;
namespace ModalWhatsProc.Models
{
[JsonConverter(typeof(StringEnumConverter))]
public enum Channel
{
... | 1.407275 | e4e919a1b699eff54c34e514f51eb033 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8043 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SquirrelAssassin/speed",
"max_stars_repo_path": "AzureSpeed.WebUI/Attributes/ActionExecutionFilterAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8044"
} | starcoder | <reponame>SquirrelAssassin/speed<gh_stars>0
namespace AzureSpeed.WebUI
{
using System.Web.Http.Filters;
using NLog;
public class ActionExecutionFilterAttribute : ActionFilterAttribute
{
private static readonly Logger logger = LogManager.GetCurrentClassLogger();
public override void On... | 1.879135 | 60a0c775cd21c18aec9a3f7b2257f2a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8044 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "m93a/FOUR.Gravity",
"max_stars_repo_path": "GenericArithmetics/IFloatingBits.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8045"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace GenericArithmetics
{
public interface IFloatingBits<T>
: IEquatable<IFloatingBits<T>>,
IComparable<IFloatingBits<T>>
{
}
}
| 1.817549 | 5ae04c17489a5f817a92ddbaa953772d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8045 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "couven92/thnetii-windows-api",
"max_stars_repo_path": "src-native/THNETII.WinApi.Headers.WinNT/PROCESSOR_CACHE_TYPE.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8046"
} | starcoder | <filename>src-native/THNETII.WinApi.Headers.WinNT/PROCESSOR_CACHE_TYPE.cs
namespace THNETII.WinApi.Native.WinNT
{
// C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\um\winnt.h, line 12266
/// <summary>
/// Represents the type of processor cache identified in the corresponding <see cref="CACHE_DE... | 2.220891 | 555a003b7b244c47f7fa77830c9486f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8046 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kokoska69/couchbase-lite-net",
"max_stars_repo_path": "src/Couchbase.Lite.Shared/API/Document/IMutableDictionary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8047"
} | starcoder | //
// IMutableDictionary.cs
//
// Copyright (c) 2017 Couchbase, Inc 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.506846 | 297e519627f82611bdc283a95b1aa23d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8047 | {
"extension": "c-sharp",
"max_stars_count": "121.0",
"max_stars_repo_name": "tk4218/MxNet.Sharp",
"max_stars_repo_path": "src/MxNet.Scikit/SVM/SVR.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8048"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace MxNet.SciKit.SVM
{
class SVR
{
}
}
| 0.918834 | fbe414dfb7e3d2aea4f90c588494ff30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8048 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CandyVoltage/OpenUtau",
"max_stars_repo_path": "OpenUtau.Core/Commands/TrackCommands.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8049"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using OpenUtau.Api;
using OpenUtau.Core.Ustx;
namespace OpenUtau.Core {
public abstract class TrackCommand : UCommand {
public UProject project;
public UTrack track;
public void UpdateTrackNo() {
Dictionary<int,... | 2.357192 | ec793c669c288b6bf92da99b06b1090d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8049 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kyxg/AutoTrash",
"max_stars_repo_path": "tests/integration/aliases/dotnet/rename_component/step2/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8050"
} | starcoder | <reponame>kyxg/AutoTrash
// Copyright 2016-2019, Pulumi Corporation. All rights reserved.
using System.Threading.Tasks;
using Pulumi;
class Resource : ComponentResource
{
public Resource(string name, ComponentResourceOptions options = null)
: base("my:module:Resource", name, options)
{
}
}
//S... | 1.896256 | 1e23f6a258d11bf7f79520f8ef713e72 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8050 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Contasimple-Engineering/imapx",
"max_stars_repo_path": "ImapX/EncodingHelpers/Base64.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8051"
} | starcoder | <gh_stars>0
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace ImapX.EncodingHelpers
{
/// <summary>
/// Transforms text to and from base64 encoding using streams.
/// </summary>
/// <remarks>
/// <para>
/// The built in System.Convert.... | 2.740859 | a0b01948481f4e76aaeaf2c658c90794 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8051 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rommelk/sidescroller",
"max_stars_repo_path": "Assets/Scripts/MoveLeft.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8052"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MoveLeft : MonoBehaviour
{
[SerializeField] private float speed;
void Update()
{
transform.Translate(Vector3.left * Time.deltaTime * speed, Space.World);
}
}
| 2.181214 | 1b822b0fb7a33c94fcd1a61177791fc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8052 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cmberryau/maps",
"max_stars_repo_path": "Solution/Maps/Geographical/Features/AreaCategory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8053"
} | starcoder | using System.Reflection;
namespace Maps.Geographical.Features
{
/// <summary>
/// Root category for areas
/// </summary>
public enum RootAreaCategory
{
#pragma warning disable 1591
[Obfuscation(Feature = "renaming", Exclude = true)]
Invalid,
[Obfuscation(Feature = "renaming"... | 2.743927 | bc2bd6ba734cea5ede5951a76e66ce9c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Xeltica/BotBone.StandardPlugins",
"max_stars_repo_path": "Commands/UserAgentCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8054"
} | starcoder | #pragma warning disable CS1998 // 非同期メソッドは、'await' 演算子がないため、同期的に実行されます
using System.Threading.Tasks;
using BotBone.Core;
using BotBone.Core.Api;
namespace BotBone.StandardPlugin.Commands
{
public class UserAgentCommand : CommandBase
{
public override string Name => "useragent";
public override string Usage => "... | 2.331309 | fee0b31967b7aef28bb3e1a221690cbe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8054 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "hugener/Sundew.Xaml.Optimizations",
"max_stars_repo_path": "Sources/Sundew.Xaml.Optimizations/Bindings/Internal/Parsing/BindingPath/LexicalAnalysis/BindingPathLexicalAnalyzer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8055"
} | starcoder | <reponame>hugener/Sundew.Xaml.Optimizations
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="BindingPathLexicalAnalyzer.cs" company="Hukano">
// Copyright (c) Hukano. All rights reserved.
// Licensed under the MIT license. See L... | 1.57324 | 3f9d1c36de6f36a9774e5e6adb8d1816 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8055 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Estrada-Palacios/Servicio-web-en_Net",
"max_stars_repo_path": "CalculaAWS/Clases/Calcular.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8056"
} | starcoder | <filename>CalculaAWS/Clases/Calcular.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CalculaAWS.Clases
{
public class Calcular
{
public decimal Lado1 { get; set; }
public decimal Lado2 { get; set; }
public double Radio1 { get... | 3.286678 | 2149be1e469cdf92358aeafb91333a43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8056 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "lukawolf/Valheim",
"max_stars_repo_path": "ABearCodes.Valheim.SimpleRecycling/UI/InventoryGuiExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8057"
} | starcoder | using System.Collections.Generic;
using HarmonyLib;
using UnityEngine;
namespace ABearCodes.Valheim.SimpleRecycling.UI
{
public static class InventoryGuiExtensions
{
public static float get_m_recipeListBaseSize(this InventoryGui instance)
{
return (float) AccessTools.Field(typeof(I... | 2.059535 | 6ad3a98076feeb105836548b38fa82ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8057 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JanekV/Learn2Play",
"max_stars_repo_path": "Learn2Play/WebApp/Views/Videos/PartialCreateEdit.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:8058"
} | starcoder | @model WebApp.ViewModels.VideoCreateEditViewModel
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
<div class="form-group">
<label asp-for="Video.YouTubeUrl" class="control-label"></label>
<input asp-for="Video.YouTubeUrl" class="form-control" />
<span asp-validation-for="Video.YouTubeUrl... | 1.821391 | 94f52f9bb6d4e0fd168712bcc0329c41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8058 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Apollo199999999/FluentAvalonia",
"max_stars_repo_path": "FluentAvaloniaSamples/Views/MainWindow.axaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8059"
} | starcoder | using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Input;
using Avalonia.Markup.Xaml;
using Avalonia.Markup.Xaml.Styling;
using Avalonia.Media;
using Avalonia.Media.Imaging;
using Avalonia.Media.Immutable;
using Avalonia.Platform;
using FluentAvalonia.Core.Application... | 1.957173 | 48fda539712198cc0bb5785192c14a2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8059 | {
"extension": "c-sharp",
"max_stars_count": "102.0",
"max_stars_repo_name": "WoA-project/WoA-Deployer",
"max_stars_repo_path": "Source/Deployer.Core/Scripting/IZipExtractor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8060"
} | starcoder | <filename>Source/Deployer.Core/Scripting/IZipExtractor.cs<gh_stars>100-1000
using System.IO;
using System.Threading.Tasks;
using Zafiro.Core;
namespace Deployer.Core.Scripting
{
public interface IZipExtractor
{
Task Extract(Stream stream, string destination, IOperationProgress progressObserver = null)... | 1.96347 | 5fafa340f6b72dc3afea99c701df4b37 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8060 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mgodse/opentelemetry-dotnet",
"max_stars_repo_path": "test/OpenTelemetry.Tests/Impl/Trace/Export/BatchingSpanProcessorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8061"
} | starcoder | <gh_stars>0
// <copyright file="BatchingSpanProcessorTest.cs" company="OpenTelemetry Authors">
// Copyright 2018, OpenTelemetry 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
//... | 1.808808 | 2e050ef35a21f9a4a14d1af5fc86013b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8061 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jamill/VFSForGit",
"max_stars_repo_path": "GVFS/GVFS.Platform.Mac/MacPlatform.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8062"
} | starcoder | <gh_stars>0
using GVFS.Common;
using GVFS.Common.FileSystem;
using GVFS.Common.Tracing;
using GVFS.Platform.POSIX;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
using System.Xml.XPath;
namespace GVFS.Platform.Mac
{
public ... | 1.579194 | de6c29d3a2a9e710f3d4a4a6d0ee6955 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8062 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CloudHeaven/Azure",
"max_stars_repo_path": "src/ServiceManagement/Storage/StorageManagement/Generated/StorageAccountOperationsExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8063"
} | starcoder | //
// Copyright (c) Microsoft and contributors. 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
//
// Unless requi... | 1.855445 | 148a7c5808a76f39b42b15ee2b87defc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8063 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JulieLy8619/Data-Structures-and-Algorithms",
"max_stars_repo_path": "Challenges/AreCharaUnique/AreCharaUnique/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8064"
} | starcoder | <reponame>JulieLy8619/Data-Structures-and-Algorithms<filename>Challenges/AreCharaUnique/AreCharaUnique/Program.cs
using System;
namespace AreCharaUnique
{
public class Program
{
static void Main(string[] args)
{
bool mainAnswer1 = AreCharactersUnique("tes");
Console.Wri... | 3.865646 | c181d63e9503492ae677611e267af0cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8064 | {
"extension": "c-sharp",
"max_stars_count": "449.0",
"max_stars_repo_name": "Alan-love/sci-fi-ui",
"max_stars_repo_path": "Assets/Devdog/SciFiDesign/FirstVersion/Scripts/UI/BackgroundGenerator/BackgroundMeshGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8065"
} | starcoder | using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.IO.IsolatedStorage;
using System.Linq;
using Random = UnityEngine.Random;
namespace Devodg.SciFiDesign.UI
{
public class BackgroundMeshGenerator : MonoBehaviour
{
public struct Triangle
{... | 2.39482 | 1093203c113ba0259839a989f1b67203 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8065 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mashbrno/Spring.FluentContext",
"max_stars_repo_path": "Spring.FluentContext/IContextConfigurator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8066"
} | starcoder | using Spring.Context;
namespace Spring.FluentContext
{
/// <summary>
/// Inteface which encapsulate context object registrations
/// </summary>
public interface IContextConfigurator
{
/// <summary>
/// Should include all context registrations.
/// </summary>
/// <pa... | 2.362439 | b63d368a0cfd5da8d1a706187070ad29 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8066 | {
"extension": "c-sharp",
"max_stars_count": "1629.0",
"max_stars_repo_name": "dev-nm/CommunityServer",
"max_stars_repo_path": "redistributable/BaseCampRestAPI-1.1.0/BasecampRestAPI/Interfaces/IAccount.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8067"
} | starcoder | <filename>redistributable/BaseCampRestAPI-1.1.0/BasecampRestAPI/Interfaces/IAccount.cs
using System;
namespace BasecampRestAPI
{
public interface IAccount
{
int Id { get; }
string Name { get; }
int AccountHolderId { get; }
bool SSLEnabled { get; }
bool EmailNotificationEnabled { get; }
bool TimeTracking... | 1.900118 | d9d254caeb5228c61f74ffe39bc083ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8067 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mpapillon/NantesTramBus",
"max_stars_repo_path": "TransportsNantais/ViewModels/SearchViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8068"
} | starcoder | <reponame>mpapillon/NantesTramBus
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using System;
using System.Linq;
using System.Collections.ObjectModel;
using TransportsNantais.Enums;
using TransportsNantais.Messages;
using TransportsNantais.Models;
using TransportsNantais.Services;
using System.Collection... | 2.191884 | bca67c6de6bcddc432158bf373162008 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8068 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sotanmochi/MirrorExtensionSample",
"max_stars_repo_path": "Assets/_SharedThirdPartyAssets/FloatToShort/FloatToShort.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8069"
} | starcoder | using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace SerializeFloat
{
public static class FloatConverterExt
{
public static short ToShort(this float value)
{
return new FloatConverter(value).ToShort();
}
public static float ToFloat... | 3.018897 | 33d79b5b89f64658bc1b9ddc1d0f1f29 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8069 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PatrionDigital/UnityAStar",
"max_stars_repo_path": "PriorityQueue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8070"
} | starcoder | <gh_stars>0
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
public class PriorityQueue<P,V>{
private SortedDictionary<P, Queue<V>> list = new SortedDictionary<P, Queue<V>>();
public void Enqueue(P priority, V value) {
Queue<V> q;
if (!list.TryGetValue(priority, out ... | 2.903502 | 2648b20902bc1b5577c88f87f820fbd5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8070 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DaanV2/JsonSchemaValidationCompressor.Net",
"max_stars_repo_path": "JsonSchemaValidationCompressor.Net - Source/Classes/SchemaCompressor/SchemaCompressor - Initialize.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8071"
} | starcoder | <filename>JsonSchemaValidationCompressor.Net - Source/Classes/SchemaCompressor/SchemaCompressor - Initialize.cs
using System.Text.Json;
namespace DaanV2.Json {
///DOLATER <summary>add description for class: SchemaCompressor</summary>
public sealed partial class SchemaCompressor {
/// <summary>Creates ... | 1.907031 | 2caf8866af9f1db4579a9e1ddfb9fb34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8071 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "garyyang2002/azure-sdk-for-net",
"max_stars_repo_path": "sdk/communication/Azure.ResourceManager.Communication/src/Generated/Models/CommunicationServiceResource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8072"
} | starcoder | <gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.Communication.Models
{
/// <summary> A class representing a CommunicationServi... | 1.929724 | b40fa12fed6adfd3ef1c4f211c45da38 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8072 | {
"extension": "c-sharp",
"max_stars_count": "1310.0",
"max_stars_repo_name": "redss/protoactor-dotnet",
"max_stars_repo_path": "src/Proto.Cluster/Member/MemberExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8073"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="MemberExtensions.cs" company="Asynkron AB">
// Copyright (C) 2015-2020 Asynkron AB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using System.Collections.G... | 2.352883 | d93a7ddbbaa82d1308c5eded72a5270b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8073 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Totchinuko/TotBase",
"max_stars_repo_path": "Editor/2D/SpriteRenamer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8074"
} | starcoder | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System.Linq;
using System.Text.RegularExpressions;
using TotBaseEditor;
public class SpriteRenamer : EditorWindow
{
private Animator anim;
private SpriteRenderer rend;
[Seriali... | 2.000025 | 74fa27446bccf5fd4da63d04ad320bf2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8074 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZemljakM/mzemljakzadaca",
"max_stars_repo_path": "DZ3/class_library/FilePrinter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8075"
} | starcoder | <filename>DZ3/class_library/FilePrinter.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace class_library
{
public class FilePrinter : IPrinter
{
public string Filename { get; private set; }
public FilePrinter(string filename)
{
... | 3.335107 | f7c5a277660c15069ee1831e6425cbfe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8075 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "smdx24/CPI-Source-Code",
"max_stars_repo_path": "ClubPenguin.Locomotion/RaceControllerTrigger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8076"
} | starcoder | <gh_stars>1-10
// RaceControllerTrigger
using ClubPenguin.Adventure;
using ClubPenguin.Core;
using ClubPenguin.Locomotion;
using ClubPenguin.SledRacer;
using Disney.LaunchPadFramework;
using Disney.MobileNetwork;
using UnityEngine;
public class RaceControllerTrigger : MonoBehaviour
{
public enum ActionType
{
Start... | 1.708171 | 7984d02002d34bcb955b9ae4fcd3f789 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8076 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "agents-net/agents.net.logviewer",
"max_stars_repo_path": "src/Agents.Net.LogViewer.ViewModel/Messages/MessageViewModelCreated.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8077"
} | starcoder | using System.Collections.Generic;
using Agents.Net;
namespace Agents.Net.LogViewer.ViewModel.Messages
{
public class MessageViewModelCreated : Message
{
public MessageViewModelCreated(MessageViewModel viewModel, Message predecessorMessage)
: base(predecessorMessage)
{
... | 2.476484 | 4747c100fba2183af35645b734cf3872 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8077 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "evicertia/smppsim-docker",
"max_stars_repo_path": "SmppSimCatcher/SmppSimCatcher/Facilities/FileSourceReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8078"
} | starcoder | using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HermaFx;
namespace SmppSimCatcher.Facilities
{
public class FileSourceReader : IDisposable
{
#region Fields & Constants
private static readonly global::Common.Logging.ILog _Log = global::Common.Logging.L... | 2.62991 | 9c7cae2ff91f72486e4e363d697a6d31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8078 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TetsuOtter/BVEMapMaker",
"max_stars_repo_path": "BVEMapMaker/ManagableScenario.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8079"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TR.BVEMapMaker
{
/// <summary>専用ソフトにより自由にMapを組み合わせさせるためのインターフェース</summary>
public interface IMngableScenario
{
/// <summary>路線情報を必要とされた際に呼び出される</summary>
ScenarioInfo SetScenario... | 2.247245 | b730acdb4f76d48212f2d884385ae577 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8079 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "filipeGuerreiro/biklio-mobile",
"max_stars_repo_path": "Trace/UI/Pages/Start/Main/Menu/Rewards/ClaimRewardModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8080"
} | starcoder | <filename>Trace/UI/Pages/Start/Main/Menu/Rewards/ClaimRewardModel.cs
using System;
namespace Trace {
public class ClaimRewardModel {
public Challenge Challenge { get; set; }
public string ClaimedAt { get { return TimeUtil.SecondsToHHMMSS(Challenge.ClaimedAt); } }
public string EarnedAt { get { return TimeUtil.... | 1.945635 | de617d9a3ddf64b03ae137ae56893bb4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8080 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "rowanshah/Watson-Unity-VisualRecognition",
"max_stars_repo_path": "Assets/unity-facerec-core-0.3.0/ThirdParty/Jwt/src/JWT/JwtValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8081"
} | starcoder | <filename>Assets/unity-facerec-core-0.3.0/ThirdParty/Jwt/src/JWT/JwtValidator.cs
using System;
using System.Collections.Generic;
using System.Linq;
using static JWT.Internal.EncodingHelper;
namespace JWT
{
/// <summary>
/// Jwt validator.
/// </summary>
public sealed class JwtValidator : IJwtValidato... | 2.475459 | 552b2b1a7e4fcc0e4a37e72ebd17f373 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8081 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CompassMotionAB/Findus-WebApp",
"max_stars_repo_path": "FindusWebApp/Security/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8082"
} | starcoder | namespace FindusWebApp.Security
{
public static class Constants
{
public const string FortnoxScheme = "FortnoxOAuth";
public const string FortnoxAuthPolicy = "FortnoxAuthPolicy";
}
} | 1.277147 | 68478055b09bfd280bd89485a9e210d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8082 | {
"extension": "c-sharp",
"max_stars_count": "188.0",
"max_stars_repo_name": "NETMF/llilum",
"max_stars_repo_path": "Zelig/Zelig/CompileTime/CodeGenerator/IntermediateRepresentation/Operators/Memory/LoadInstanceFieldOperator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8083"
} | starcoder | //
// Copyright (c) Microsoft Corporation. All rights reserved.
//
namespace Microsoft.Zelig.CodeGeneration.IR
{
using System;
using System.Collections.Generic;
using Microsoft.Zelig.Runtime.TypeSystem;
public sealed class LoadInstanceFieldOperator : LoadFieldOperator
{
//
// ... | 2.250998 | 07afb30b6202e120c5b479df67da0936 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8083 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "threax/Threax.Pipelines",
"max_stars_repo_path": "Threax.Provision.CheapAzure/Controller/CreateCommon/CreateCommonKeyVault.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8084"
} | starcoder | <reponame>threax/Threax.Pipelines
using System.Threading.Tasks;
using Threax.Provision.AzPowershell;
using Threax.Provision.CheapAzure.ArmTemplates.KeyVault;
using Threax.Provision.CheapAzure.HiddenResources;
namespace Threax.Provision.CheapAzure.Controller.CreateCommon
{
class CreateCommonKeyVault : IResourcePro... | 2.002161 | 5eb70bc9e55b534a08cf57437960f349 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8084 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scimence/EncoderTool_Alphabet",
"max_stars_repo_path": "EncoderTool_Alphabet/EncoderTool_Alphabet/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8085"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace EncoderTool_Alphabet
{
public partial class Form1 : Form
{
public Form1()
{
... | 2.332733 | 51585820e1df4ed336427d1ddb5ae0c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8085 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vkuryakov/itext7-dotnet",
"max_stars_repo_path": "itext.tests/itext.layout.tests/itext/layout/HyphenateLayoutTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8086"
} | starcoder | <filename>itext.tests/itext.layout.tests/itext/layout/HyphenateLayoutTest.cs
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2020 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License ve... | 1.716488 | 0735a7a8ed3aad0210bf093a4eb9e002 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8086 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "qinyuanpei/DynamicWebApi",
"max_stars_repo_path": "DynamicWebApi/DynamicHttpActionDescriptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8087"
} | starcoder | using DynamicWebApi;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Net.Http;
using System.Reflection;
using System.Web;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Threading;
using System.Threading.Tasks;
n... | 2.420873 | 75444d29f1ec861298ff49e186814e25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8087 | {
"extension": "c-sharp",
"max_stars_count": "632.0",
"max_stars_repo_name": "semashkinvg/SQLiteCodeFirst",
"max_stars_repo_path": "SQLite.CodeFirst/Internal/Utility/InMemoryAwareFile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8088"
} | starcoder | <gh_stars>100-1000
using System;
using System.IO;
namespace SQLite.CodeFirst.Utility
{
internal class InMemoryAwareFile
{
public static FileAttributes? GetFileAttributes(string path)
{
if (IsInMemoryPath(path))
{
return null;
}
re... | 2.964368 | 3ca96d903342e28709c9e293b8ca1178 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8088 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "tairan/aspnetboilerplate",
"max_stars_repo_path": "templates/Abp.Template.jQuery.MySQL/Content/aspnet-core/src/MyCompany.MyProject.Core/Authorization/PermissionChecker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8089"
} | starcoder | using Abp.Authorization;
using MyCompany.MyProject.Authorization.Roles;
using MyCompany.MyProject.Authorization.Users;
namespace MyCompany.MyProject.Authorization
{
public class PermissionChecker : PermissionChecker<Role, User>
{
public PermissionChecker(UserManager userManager)
: base(use... | 1.771159 | cac3a3d8e72fa8c2b1319d41f26c0a15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8089 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "fabioravila/deta-csharp",
"max_stars_repo_path": "src/DetaCSharp/Constants/Uris.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8090"
} | starcoder | namespace DetaCSharp.Constants
{
public class Uris
{
}
}
| 1.146697 | b2f92e496496a5b6a46f1bef8b5b42e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8090 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "jeffmaley/PerpetuumServer",
"max_stars_repo_path": "src/Perpetuum/Zones/NpcSystem/Presences/IRandomFlockReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8091"
} | starcoder | namespace Perpetuum.Zones.NpcSystem.Presences
{
public interface IRandomFlockReader
{
RandomFlockInfo[] GetByPresence(Presence presence);
}
} | 1.518841 | b4c465893ff5572d60c706e84d6efcda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8091 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ongzhixian/mini-tools",
"max_stars_repo_path": "MiniTools.HostApp/Services/PubSubConsumerService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8092"
} | starcoder | using Azure.Messaging.WebPubSub;
using Azure.Storage.Queues;
using Azure.Storage.Queues.Models;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using MiniTools.HostApp.Models;
using System.Net.WebSockets;
using System.Text;
namespace MiniTools.HostApp.Service... | 2.346513 | c0790d4f26a0c57d3f72b6044b39d7ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8092 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xenial-io/Xenial",
"max_stars_repo_path": "src/Xenial.Cli/Utils/SettingsDumper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8093"
} | starcoder | <reponame>xenial-io/Xenial<filename>src/Xenial.Cli/Utils/SettingsDumper.cs
using Spectre.Console;
using Spectre.Console.Cli;
using System;
using System.Linq;
namespace Xenial.Cli.Utils;
public static class SettingsDumper
{
public static void Dump(CommandSettings settings!!)
{
var table = new Table()... | 2.323057 | 7b7e02fee9287f6ac8a5789dc20624db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8093 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GAlex7/TA",
"max_stars_repo_path": "02. CSharpPart2/03. Methods/P07-ReverseNumber/ReverseNumber.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8094"
} | starcoder | // Problem 7. Reverse number
// Write a method that reverses the digits of given decimal number.
// Example:
// input output
// 256 652
// 123.45 54.321
namespace P07_ReverseNumber
{
using System;
using System.Text;
public class ReverseNumber
{
public static decimal ReverseNumb(decimal n... | 4.112351 | 1844d038d4db142b05ea5f546ba45f71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8094 | {
"extension": "c-sharp",
"max_stars_count": "567.0",
"max_stars_repo_name": "kiapanahi/arcade",
"max_stars_repo_path": "src/Microsoft.DotNet.Arcade.Sdk.Tests/GroupItemsByTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8095"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Xunit;
using Microsoft.Build.Utilities;
using System.Collections.Generic;
using Microsoft.Arcade.Test.Common;
using System.Linq;
namespace Microsoft.DotNet.Arcade.Sdk.Tests
{
... | 2.236464 | 333963c42c0ad1a3f4daed2478e6efcd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8095 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BoBoBaSs84/MyPizzaParlor",
"max_stars_repo_path": "PizzaPlace/Shared/IMenuService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8096"
} | starcoder | using System.Threading.Tasks;
namespace PizzaPlace.Shared
{
public interface IMenuService
{
Task<Menu> GetMenu();
}
}
| 1.408216 | 2303b7136ed114dfaa57cb54a2e2fea5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8096 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SimsimhanChobo/SC-KRM",
"max_stars_repo_path": "Assets/SC KRM/Input/DefaultInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8097"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was auto-generated by com.unity.inputsystem:InputActionCodeGenerator
// version 1.3.0
// from Assets/SC KRM/Input/DefaultInput.inputactions
//
// Changes to this file may cause incorrect beh... | 1.754289 | 82ba9e435c0c8b2e85b17b127424b8d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8097 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VincentVrijburg/moneybird-dotnet",
"max_stars_repo_path": "src/Moneybird.Net/Entities/CustomFields/CustomField.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8098"
} | starcoder | <gh_stars>0
using System.Text.Json.Serialization;
using Moneybird.Net.Misc;
namespace Moneybird.Net.Entities.CustomFields
{
public class CustomField
{
[JsonPropertyName("id")]
public string Id { get; set; }
[JsonPropertyName("administration_id")]
public string AdministrationId ... | 1.389413 | 7794e44c25e0ae5698ada42fb99314e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8098 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "olefriis/Eco2",
"max_stars_repo_path": "Eco2MacOS/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8099"
} | starcoder | using AppKit;
using Eco2.Bluetooth.Mac;
using System.Threading;
using Foundation;
namespace Eco2
{
class MainClass
{
static bool running;
static Thread cliThread;
public static void Main(string[] args)
{
NSApplication.Init();
cliThread = new Thread(() ... | 2.481363 | 1a3c8dd9a7f5ed832ddb721bb9f88b19 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8099 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "terriblememory/Carnation",
"max_stars_repo_path": "Carnation/Helpers/VSServiceHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8100"
} | starcoder | <reponame>terriblememory/Carnation<filename>Carnation/Helpers/VSServiceHelpers.cs
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.ComponentModelHost;
using static Microsoft.VisualStudio.VSConstants;
using static Microsoft.VisualStudio.Shell.ThreadHelpe... | 2.078085 | 2b5fa3aebf4fb03bf45cecb1d1ee7a99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8100 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AdrianaMusic/square-dotnet-sdk",
"max_stars_repo_path": "Square/Models/OrderServiceCharge.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8101"
} | starcoder | <filename>Square/Models/OrderServiceCharge.cs
namespace Square.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.... | 2.419384 | ee746c5f5e095d6fcb7ea796b323a9a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8101 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "entrotech/deployapp",
"max_stars_repo_path": "Sabio.Web/Views/AspNetUserRoles/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:8102"
} | starcoder | @{
Layout = "~/Views/Shared/_Admin.cshtml";
}
<!-- begin #content -->
<!-- begin breadcrumb -->
<ol class="breadcrumb pull-right">
<li><a href="/">Home</a></li>
<li class="active">User Roles</li>
</ol>
<!-- end breadcrumb -->
<!-- begin page-header -->
<h1 class="page-header">User Roles <small>Add/Remove R... | 2.037961 | 81905c38d215e300dd3f49086fa42536 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8102 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "binhcan/MTV_API_MVC_Project",
"max_stars_repo_path": "03_SRC/API_Web_Server/Domain/Syteline/PoItem/PoItemMstResource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8103"
} | starcoder | using System;
namespace API_Web_Server.Domain.Syteline.PoItem
{
public class PoItemMstResource
{
public string Po_num { get; set; }
public Int16 Po_line { get; set; }
public Int16 Po_release { get; set; }
public decimal Qty_ordered { get; set; }
public string Item { get... | 1.364746 | cbfcee7d442dbf7086eeb7d23dc96edd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8103 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "openactive/OpenActive.Server.NET",
"max_stars_repo_path": "OpenActive.Server.NET/OpenBookingHelper/Stores/SellerStore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8104"
} | starcoder | <reponame>openactive/OpenActive.Server.NET
using OpenActive.NET;
using System;
using System.Threading.Tasks;
namespace OpenActive.Server.NET.OpenBookingHelper
{
public abstract class SellerStore
{
private SingleIdTemplate<SellerIdComponents> IdTemplate { get; set; }
internal void SetConfigur... | 2.263668 | b1e09411fc85b521f47cb0c3d13c5c73 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8104 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "7is7/SVR2.0",
"max_stars_repo_path": "ViewModels/MeasuredDeviceViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8105"
} | starcoder | namespace VueExample.ViewModels
{
public class MeasuredDeviceViewModel
{
public int MeasuredDeviceId { get; set; }
public int CodeProductId { get; set; }
public string Name { get; set; }
public string WaferId { get; set; }
}
} | 1.489763 | 2377666af091daa0af1d27e45e35052e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8105 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daprilik/iotedge",
"max_stars_repo_path": "edge-hub/core/test/Microsoft.Azure.Devices.Edge.Hub.CloudProxy.Test/CloudConnectionProviderTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8106"
} | starcoder | <filename>edge-hub/core/test/Microsoft.Azure.Devices.Edge.Hub.CloudProxy.Test/CloudConnectionProviderTest.cs
// Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.Azure.Devices.Edge.Hub.CloudProxy.Test
{
using System;
using System.Collections.Generic;
using System.Net;
using System.Reflec... | 1.361187 | da9be1048c4917019866e7e9855f3185 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8106 | {
"extension": "c-sharp",
"max_stars_count": "199.0",
"max_stars_repo_name": "stannynuytkens/ExpressMapper",
"max_stars_repo_path": "ExpressMapper.Tests.Projections/Configuration/ProductVariant.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8107"
} | starcoder | <filename>ExpressMapper.Tests.Projections/Configuration/ProductVariant.cs
using System.Data.Entity.ModelConfiguration;
using ExpressMapper.Tests.Projections.Entities;
namespace ExpressMapper.Tests.Projections.Configuration
{
public class ProductVariantConfiguration : EntityTypeConfiguration<ProductVariant>
{
... | 2.145498 | c724f797c4687e407a99658d35afec7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8107 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "inidibininging/apocalypse_netcore",
"max_stars_repo_path": "Apocalypse.Any.Core/Drawing/IScaleHolder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8108"
} | starcoder |
using Microsoft.Xna.Framework;
namespace Apocalypse.Any.Core.Drawing
{
public interface IScaleHolder
{
/// <summary>
/// Represents the scale factor of a rectangular image
/// </summary>
Vector2 Scale { get; set; }
}
} | 1.851136 | c6636fb901af5915247f156c64e97246 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8108 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kentico/newsletter-migrator",
"max_stars_repo_path": "src/Migrator.Core/Issue/ViewModels/ZonesConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8109"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Migrator.Core.Issue.ViewModels
{
/// <summary>
/// Represents configuration of widgets and zones within the <see cref="IssueInfo"/> instance.
//... | 2.352374 | 7680480c4f2e9da8a60be0987b731943 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8109 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "raulerivassanz/ShoppingCartStore",
"max_stars_repo_path": "src/Common/ShoppingCartStore.Common/Constants/RoleConstants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8110"
} | starcoder | namespace ShoppingCartStore.Common.Constants
{
public class RoleConstants
{
public const string Administrator = "Administrator";
public const string User = "User";
}
}
| 1.556588 | b2a94e5026024540d89a5e741632aeaf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8110 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "george4591/SpotifyCompanion",
"max_stars_repo_path": "ConsoleApp1/Models/TrackArrayModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8111"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SpotifyCompanion.Models
{
public class TrackArrayModel
{
public Item[] items { get; set; }
public class Item
{
public TrackModel track;
}
... | 1.822751 | 1c91aa8bf04b1ee47755b8d44d66c988 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8111 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skyiah/skychain",
"max_stars_repo_path": "Source/FormParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8112"
} | starcoder | namespace SkyChain
{
/// <summary>
/// To parse application/x-www-form-urlencoded octets or a character string.
/// </summary>
public struct FormParser : IParser<Form>
{
static readonly Form Empty = new Form(false);
static readonly ParserException ParserEx = new ParserException("err... | 3.008701 | 30eff00f943b94b3e6a185820ce6f115 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8112 | {
"extension": "c-sharp",
"max_stars_count": "95.0",
"max_stars_repo_name": "futouyiba/ClubET",
"max_stars_repo_path": "Unity/Assets/Plugins/NodeEditor/NodeGraphProcessor/Runtime/Elements/Group.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8113"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace GraphProcessor
{
/// <summary>
/// Group the selected node when created
/// </summary>
public class Group
{
public string title;
public Color color = new Color(0, 0, 0, 0.3f);
public Rect position;
publi... | 2.714037 | 6c35903bf3a4febefa8e9c093ea11b82 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8113 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexeyEvlampiev/Applets",
"max_stars_repo_path": "src/Applets/InMemory/InMemoryAppletChannel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8114"
} | starcoder | using System;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Threading;
using System.Threading.Tasks;
using Applets.Common;
namespace Applets.InMemory
{
class InMemoryAppletChannel : AppletChannel
{
private readonly Subject<DispatchArgs> _to... | 2.343486 | 35ebb252abe8b35b829db8d653050f51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8114 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pcharlesmoran/roslyn",
"max_stars_repo_path": "src/Tools/ExternalAccess/FSharp/Completion/FSharpCompletionOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8115"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.ExternalAccess.FSharp.Completion
{
internal static class FSharpCompletionOptions
... | 1.173453 | bd3a9a13e6c74f69aa288e127fd4d9e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8115 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DobromirZlatkov/AnteyaVIP",
"max_stars_repo_path": "AnteyaVIP/AnteyaVIP.Web/Infrastructure/Services/CategoryServices.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8116"
} | starcoder | namespace AnteyaVIP.Web.Infrastructure.Services
{
using System;
using System.Linq;
using AnteyaVIP.Data;
using AnteyaVIP.Web.Controllers.Base;
using AnteyaVIP.Web.Infrastructure.Services.Contracts;
public class CategoryServices : BaseController, ICategoryServices
{
public Category... | 2.333194 | e5afc09d0db29e76f0e16b2b6caf3d8d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8116 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ditrace/csharp",
"max_stars_repo_path": "Kontur.Tracing.Core/Impl/SpanDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8117"
} | starcoder | using System;
using System.Collections.Generic;
using JetBrains.Annotations;
namespace Kontur.Tracing.Core.Impl
{
internal class SpanDto
{
[NotNull]
public string TraceId { get; set; }
[NotNull]
public string SpanId { get; set; }
[CanBeNull]
public string Paren... | 1.629386 | 99f0797f045027c670650c22cb33ce27 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8117 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "cschladetsch/UnityTemplate",
"max_stars_repo_path": "UnityVrSandbox/Assets/External/New UI Widgets/Scripts/ThirdPartySupport/DataBindSupport/ListView/ListView/ListViewSelectedItemsProvider.cs",
"provenance": "train-00000-of-00045.json... | starcoder | #if UIWIDGETS_DATABIND_SUPPORT
namespace UIWidgets.DataBind
{
using Slash.Unity.DataBind.Foundation.Providers.Getters;
using UnityEngine;
/// <summary>
/// Provides the SelectedItems of an ListView.
/// </summary>
[AddComponentMenu("Data Bind/New UI Widgets/Getters/[DB] ListView SelectedItems Provider")]
publi... | 2.195251 | 6ff09ef107b0f50a67a2743f6930b0a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8118 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Palpie/ActiveLogin.Authentication",
"max_stars_repo_path": "src/ActiveLogin.Authentication.GrandId.Api/Models/FederatedLoginFullResponseBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8119"
} | starcoder | using System.Runtime.Serialization;
namespace ActiveLogin.Authentication.GrandId.Api.Models
{
[DataContract]
internal abstract class FederatedLoginFullResponseBase : FullResponseBase
{
[DataMember(Name = "sessionId")]
public string SessionId { get; private set; }
[DataMember(Name ... | 1.714378 | 68b5d8ddd5d958d0577cfaa6f5111f15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8119 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mitkokazakov/C-Advanced---SoftUni",
"max_stars_repo_path": "Generics - Exercise/Generic Swap Method Strings/StartUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8120"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace GenericSwap
{
class StartUp
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
List<string> names = new List<string>();
for (int i = 0; i < n; i++)
... | 3.519992 | 211c7c7f0e79c02205d60a11a887c99c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8120 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cythral/identity-client",
"max_stars_repo_path": "src/Client/Exceptions/KeyIdMissingException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8121"
} | starcoder | <filename>src/Client/Exceptions/KeyIdMissingException.cs
using System;
namespace Brighid.Identity.Client
{
public class KeyIdMissingException : Exception
{
public KeyIdMissingException()
: base("The kid claim was missing in the given token.")
{
}
}
}
| 1.811135 | 21de27afb7c63194f87aef81b51018ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8121 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Muzsor/HandyControls",
"max_stars_repo_path": "src/Shared/HandyControl_Shared/HandyControls/Tools/Command/DelegateCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8122"
} | starcoder | // https://github.com/meziantou/Meziantou.Framework
#if !(NET40 || NET45 || NET451 || NET452)
using System;
using System.Threading.Tasks;
namespace HandyControl.Tools.Command;
public static class DelegateCommand
{
public static IDelegateCommand Create(Action? execute)
{
return new SyncDelegateComman... | 2.517275 | 7eef54fc040c7a3803b9cd4abaec83e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8122 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VinsantSavov/SoftUni-Software-Engineering",
"max_stars_repo_path": "CSharp-Fundamentals/Fundamentals/Mid-Exam-Preparation/Preparation/1.KaminoFactory/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8123"
} | starcoder | <filename>CSharp-Fundamentals/Fundamentals/Mid-Exam-Preparation/Preparation/1.KaminoFactory/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace _1.KaminoFactory
{
class Program
{
static void Main(string[] args)
{
int dnaLen = int.Parse(Console.Re... | 3.447215 | ac38d34c67450e3b9d6a7bb75a1f3a5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8123 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Atili0/dlabs_alm",
"max_stars_repo_path": "Deloitte.Labs.Custom/ExportDataByFetch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8124"
} | starcoder | <filename>Deloitte.Labs.Custom/ExportDataByFetch.cs
namespace Deloitte.Labs.Custom
{
using Microsoft.Xrm.Tooling.Connector;
using System;
using System.Management.Automation;
using System.Text;
/// <summary>
/// <param type="synopsis"></param>
/// <para type="description">Also part of the l... | 2.517627 | 9f6b940ad7421643f9ad56adadc7047e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8124 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tweakch/Pdc.System",
"max_stars_repo_path": "Pdc.System/Component/EComponentType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8125"
} | starcoder | namespace Pdc.System.Component
{
/// <summary>
/// Specifies kinds of components
/// </summary>
public enum EComponentType
{
/// <summary>
/// Specifies an Active Component
/// </summary>
Active,
/// <summary>
/// Specifies a Passive Comp... | 2.78168 | 1b2af0df2eefe262415ac8a9283399e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8125 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "augustoproiete-bot/Project-Manager-Akka",
"max_stars_repo_path": "Tauron.Application.Common/Akka/ExposedReceiveActor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8126"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Akka.Actor;
using Akka.Actor.Dsl;
using Akka.Event;
using JetBrains.Annotations;
namespace Tauron.Akka
{
public interface IExposedReceiveActor
{
public IActorDsl Exposed { get; }
}
[PublicAPI]
... | 1.733072 | f4b88256766b68f801f03eca353fcaba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8126 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ericmutta/samples",
"max_stars_repo_path": "snippets/csharp/VS_Snippets_CLR/CodeDom_GenerateCodeFromMember/cs/program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8127"
} | starcoder | <reponame>ericmutta/samples
//<Snippet1>
using System;
using System.CodeDom;
using System.CodeDom.Compiler;
using System.IO;
using System.Text.RegularExpressions;
namespace BasicCodeDomApp
{
class Program
{
static string providerName = "cs";
static string sourceFileName = "test.cs";
st... | 2.746498 | b01ed023324d9123c3fa5d52be8036cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8127 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "theill/iquomi",
"max_stars_repo_path": "site/client.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8128"
} | starcoder | #region Using directives
using System;
using System.Configuration;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Text;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebCo... | 1.344726 | afe63ec37e34245ee1111d082a3aaa00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8128 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TableTopInc/API",
"max_stars_repo_path": "TableTopInc.API/TableTopInc.API.Engine/Services/General/IGameService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8129"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using TableTopInc.API.Engine.Models.General;
using TableTopInc.API.Engine.Services.Base;
namespace TableTopInc.API.Engine.Services.General
{
public interface IGameService : IEntityService<IGameModel>
{
Task<IEnumerable<IGameModel>> GetGame... | 1.681801 | 8a7f2a89c166da13150d26681aac01a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8129 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "shanselman/devcomrade",
"max_stars_repo_path": "AppLogic/Helpers/Diagnostics.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8130"
} | starcoder | <reponame>shanselman/devcomrade
// Copyright (C) 2020 by Postprintum Pty Ltd (https://www.postprintum.com),
// which licenses this file to you under Apache License 2.0,
// see the LICENSE file in the project root for more information.
// Author: <NAME> (@noseratio)
#nullable enable
using System;
using System.Diagno... | 2.127559 | e53f343abfb87c637370f91ae11044e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8130 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "freddie2025/Novia",
"max_stars_repo_path": "ParkingChargeCalculator/Stays/ShortStay.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8131"
} | starcoder | using System;
namespace ParkingChargeCalculator.Stays
{
public class ShortStay : BaseStay
{
private const decimal _charge = 1.10M;
private readonly TimeSpan _startTimeOfDay = new TimeSpan(8, 0, 0); // 8AM
private readonly TimeSpan _endTimeOfDay = new TimeSpan(18, 0, 0); // 6PM
public override decimal Cha... | 3.50016 | 4c43e94abbec7fe208047c8c93d38eaf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8131 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Screaming-Onion/CSharp-API-Project",
"max_stars_repo_path": "src/App/App.Infrastructure/InfrastructureModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8132"
} | starcoder | <reponame>Screaming-Onion/CSharp-API-Project<filename>src/App/App.Infrastructure/InfrastructureModule.cs<gh_stars>1-10
using App.Core.Contracts;
using App.Infrastructure.Contracts;
using App.Infrastructure.Security;
using App.Infrastructure.Tracing.Middleware;
using Autofac;
using Microsoft.Owin.Security;
using Micros... | 1.573311 | 873aa0399f376536a5ffeaeca74ce665 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8132 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trivalik/winforms",
"max_stars_repo_path": "src/System.Windows.Forms/tests/IntegrationTests/WinformsControlsTest/Calendar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8133"
} | starcoder | <filename>src/System.Windows.Forms/tests/IntegrationTests/WinformsControlsTest/Calendar.cs<gh_stars>0
// 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;... | 2.611942 | 018fc17ed13adb45b7d1664549b18e68 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8133 | {
"extension": "c-sharp",
"max_stars_count": "78.0",
"max_stars_repo_name": "armohamm/Cauldron",
"max_stars_repo_path": "Shared/Cauldron.Activator/FactoryCreationPolicy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8134"
} | starcoder | namespace Cauldron.Activator
{
/// <summary>
/// Describes the creation policy of an object through the <see cref="Factory"/>
/// </summary>
public enum FactoryCreationPolicy
{
/// <summary>
/// Always creates a new instance.
/// <para/>
/// Instances are not managed... | 2.878772 | 35867e8c782ffd633c9d861602498342 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8134 | {
"extension": "c-sharp",
"max_stars_count": "563.0",
"max_stars_repo_name": "WelpThatWorked/UCR",
"max_stars_repo_path": "UCR.Plugins/Filter/AxisToFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8135"
} | starcoder | <filename>UCR.Plugins/Filter/AxisToFilter.cs
using System.Reflection;
using HidWizards.UCR.Core.Attributes;
using HidWizards.UCR.Core.Models;
using HidWizards.UCR.Core.Models.Binding;
using HidWizards.UCR.Core.Utilities;
namespace HidWizards.UCR.Plugins.Filter
{
[Plugin("Axis to Filter", Group = "Filter", Descrip... | 2.652698 | 5e7651d6d28d9b7992d5a40110c599a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8135 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wellcomecollection/iiif-builder",
"max_stars_repo_path": "src/Wellcome.Dds/Wellcome.Dds/WordsAndPictures/TextTokens/NewLineToken.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8136"
} | starcoder | using System;
namespace Wellcome.Dds.WordsAndPictures.TextTokens
{
public class NewLineToken : ITextToken
{
public static NewLineToken Instance { get; set; }
static NewLineToken() { Instance = new NewLineToken();}
public override string ToString()
{
return Environm... | 2.584377 | 17c4cd37039bfcb11d30bd27fc24f3c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8136 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TwentyFourMinutes/PostgreSQL.Bulk",
"max_stars_repo_path": "src/PostreSQL.Bulk/PostgreSQL.Bulk/NpgsqlConnectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8137"
} | starcoder | <gh_stars>1-10
using Npgsql;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PostgreSQL.Bulk
{
/// <summary>
/// Provides extension methods to the <see cref="NpgsqlConnection"/> class, which help with bulk insert.
/// </summary>
publ... | 2.727523 | 4c8e3f92953578763c8592fd49d2f16c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.