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 | 71933 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "JTOne123/sharp-redux",
"max_stars_repo_path": "src/Sharp.Redux.Visualizer/VisualizerDispatcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71934"
} | starcoder | <filename>src/Sharp.Redux.Visualizer/VisualizerDispatcher.cs<gh_stars>1-10
using Sharp.Redux.Visualizer.Reducers;
using Sharp.Redux.Visualizer.States;
using System.Threading.Tasks;
namespace Sharp.Redux.Visualizer
{
public class VisualizerDispatcher : ReduxDispatcher<RootState, RootReducer>
{
public s... | 2.401083 | 9084970fecf0268719d59dc96959d79d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71934 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "parameshg/versionizer",
"max_stars_repo_path": "Versionizer.Server/Host.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71935"
} | starcoder | using System;
using System.ServiceModel;
using System.ServiceModel.Description;
using Versionizer.Shared;
using Versionizer.Server.Data;
using System.ServiceModel.Discovery;
using System.ServiceModel.Channels;
using Topshelf;
using Versionizer.Server.Properties;
namespace Versionizer.Server
{
public c... | 1.937224 | b68ee0ed04b8ff76a4f30a50013a6311 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71935 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "dalrankov/FluentChoco",
"max_stars_repo_path": "src/IObjectFieldDescriptorExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71936"
} | starcoder | using HotChocolate.Types;
using System;
namespace FluentChoco
{
public static class IObjectFieldDescriptorExtensions
{
/// <summary>
/// Adds FluentValidation field middleware.
/// It is going to validate all non-null field arguments and report errors if there is one or more failures.
... | 2.592713 | 273bc707f60b7fd22496512ac0a4d61d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71936 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "cwoolum/ThinNugetProxy",
"max_stars_repo_path": "src/NugetProxy.Protocol/ResponseAndResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71937"
} | starcoder | <gh_stars>10-100
using System;
using System.Net;
using System.Net.Http;
using NugetProxy.Protocol.Models;
namespace NugetProxy.Protocol
{
internal class ResponseAndResult<T>
{
public ResponseAndResult(
HttpMethod method,
string requestUri,
HttpStatusCode statusCode,
... | 2.692932 | c0e2c87a432f6260610f1be284dc5a80 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71937 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JakGor/CarRentalDDD",
"max_stars_repo_path": "DDD.Base/DomainModelLayer/Models/MoneyExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71938"
} | starcoder | <gh_stars>0
namespace DDD.Base.DomainModelLayer.Models
{
// Żródło: https://bottega.com.pl/ddd-cqrs-sample-project
public static class MoneyExtensions
{
public static Money PLN(this int value)
{
return new Money(value, "PLN");
}
public static Money Eur... | 2.54301 | 8b6be709d9194a764739f36ea77064ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71938 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "antan87/CodeBuilderApp",
"max_stars_repo_path": "CodeBuilderApp/Document/Elements/AttributeElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71939"
} | starcoder | using CodeBuilderApp.Document.Interfaces;
using System.Collections.Generic;
namespace CodeBuilderApp.Document.Elements
{
public class AttributeElement : IAttribute
{
public AttributeElement(string name, IEnumerable<string> arguments = null)
{
this.Name = name;
this.Argu... | 2.484469 | 74b4f1200b3527aa929783a6c4f71b70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71939 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "syphe/Omex",
"max_stars_repo_path": "src/DocumentDb/DocumentDbAdapterCommon.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71940"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using Microsoft.Omex.DocumentDb.Extensions... | 2.14282 | bbc8452efaf6db1cd7e1d6514024796b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71940 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhenghua75/AMSCenter",
"max_stars_repo_path": "AMSApp/Storage/wfmDestroyConfirm.aspx.designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71941"
} | starcoder | //------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace AMSApp.Storage {
public partial cla... | 1.629528 | 6cef8b2206cc89ab9452da0a8dc5a1cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71941 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/runtime",
"max_stars_repo_path": "src/libraries/System.Net.Mail/src/System/Net/Base64Stream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71942"
} | starcoder | <filename>src/libraries/System.Net.Mail/src/System/Net/Base64Stream.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.
using System.Diagnostics;
using System.IO;
using System.Net.Mime;
using System.Text;
namespace Syst... | 2.417962 | 5f58474827afabc1f9d512598acbe10e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71942 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Paulina-Dyulgerska/EF_Core_CSharp_Lectures_Exercises",
"max_stars_repo_path": "Lecture_XML_Processing_CSharp/Lecture_XML_Processing/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71943"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Text.Json;
using System.Xml;
using System.Xml.Linq;
using System.Xml.Serialization;
namespace L... | 2.872622 | d4c5999cc7766ebdcdf5bf5e9d90cd56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71943 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kapral/BundleTransformer",
"max_stars_repo_path": "src/BundleTransformer.Core/Assets/ScriptContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71944"
} | starcoder | <gh_stars>0
using System;
using System.Web.Optimization;
using BundleTransformer.Core.Configuration;
using BundleTransformer.Core.Transformers;
namespace BundleTransformer.Core.Assets
{
/// <summary>
/// Script context
/// </summary>
public sealed class ScriptContext : AssetContextBase
{
/// <sum... | 1.780604 | 8d271a7b4755a1e2474f78a2fbbfc981 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71944 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "aidan-g/FoxTunes",
"max_stars_repo_path": "FoxTunes.Core.Tests/PlaylistTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71945"
} | starcoder | <gh_stars>10-100
using FoxDb;
using NUnit.Framework;
using System.Linq;
using System.Threading.Tasks;
namespace FoxTunes
{
[TestFixture(SQLITE)]
[TestFixture(SQLSERVER)]
public class PlaylistTests : DatabaseTests
{
public PlaylistTests(long configuration)
: base(configu... | 1.988327 | a899b3e3461f567d0e0ca244bd370c46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71945 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GorbunowArtem/BoardGamesHomeCup",
"max_stars_repo_path": "src/HorCup.Players/Commands/AddPlayer/AddPlayerCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71946"
} | starcoder | <gh_stars>0
using System;
using MediatR;
namespace HorCup.Players.Commands.AddPlayer
{
public record AddPlayerCommand : IRequest<Guid>
{
public string Nickname { get; set; }
}
} | 1.47355 | 2916e336394dc232a803c18b6d320f9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71946 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "aishang2015/SnippetDoc",
"max_stars_repo_path": "api/Snippet/Business/Workers/StateWorker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71947"
} | starcoder | <reponame>aishang2015/SnippetDoc
using Microsoft.AspNetCore.SignalR;
using Microsoft.Extensions.Hosting;
using Snippet.Business.Hubs.State;
using System.Threading;
using System.Threading.Tasks;
namespace Snippet.Business.Workers
{
public class StateWorker : BackgroundService
{
private readonly IHubCon... | 1.798483 | 05fa5d799bc212f2cc90db99323312db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71947 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lightstreamer/Lightstreamer-lib-client-dotnet",
"max_stars_repo_path": "Lightstreamer_DotNet_Client_Unified/com/lightstreamer/client/transport/providers/netty/pool/WebSocketChannelUpgradeFuture.cs",
"provenance": "train-00000-of-00045... | starcoder | <reponame>Lightstreamer/Lightstreamer-lib-client-dotnet
using DotNetty.Codecs.Http;
using DotNetty.Codecs.Http.WebSockets;
using DotNetty.Common.Utilities;
using DotNetty.Transport.Channels;
using Lightstreamer.DotNet.Logging.Log;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.T... | 2.366057 | 3fab9d356f0dbbb296771928aabcdbd3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71948 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AaronLieberman/ArduinoTinkering",
"max_stars_repo_path": "RobotControl/RobotControl/SerialPortCommunicator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71949"
} | starcoder | <reponame>AaronLieberman/ArduinoTinkering
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace RobotControl
{
class SerialPortCommunicator : IDisposable
... | 2.400125 | 806d4b016b0b1c724a6076fa8fb6840b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71949 | {
"extension": "c-sharp",
"max_stars_count": "1855.0",
"max_stars_repo_name": "monitor1395/unity-ugui-XCharts",
"max_stars_repo_path": "Assets/XCharts/Runtime/Internal/Interface/IPropertyChanged.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71950"
} | starcoder | <gh_stars>1000+
/************************************************/
/* */
/* Copyright (c) 2018 - 2021 monitor1394 */
/* https://github.com/monitor1394 */
/* */
/***********************************************... | 1.491459 | 0c62d04b84175a30cdde8d5562426176 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71950 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "symbolspace/Symbol",
"max_stars_repo_path": "src/Symbol.Web/IHttpRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71951"
} | starcoder | <reponame>symbolspace/Symbol<filename>src/Symbol.Web/IHttpRequest.cs
/*
* author:symbolspace
* e-mail:<EMAIL>
*/
namespace Symbol.Web {
/// <summary>
/// 能够读取客户端在 Web 请求期间发送的 HTTP 值。
/// </summary>
[System.Runtime.InteropServices.ComVisible(true)]
public interface IHttpRequest {
///... | 2.577462 | d7d27ed91679696104d1e23736f98f43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71951 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deSp44/SmartRecipesMVC",
"max_stars_repo_path": "SmartRecipesMVC.Web/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71952"
} | starcoder | <filename>SmartRecipesMVC.Web/Startup.cs
using FluentValidation;
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.UI.Services;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extension... | 1.663767 | 79f385818353e867777858c9b4d977f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bassclefstudio/.NET",
"max_stars_repo_path": "BassClefStudio.NET.Core/Observable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71953"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Text;
namespace BassClefStudio.NET.Core
{
/// <summary>
/// Represents an object that can register PropertyChanged events when properties within it are set.
/// </summary>
p... | 3.326173 | 25665f75faa17dbeac50b7c9408b1388 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71953 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "luke-h1/explore-education-statistics",
"max_stars_repo_path": "src/GovUk.Education.ExploreEducationStatistics.Admin/Services/EmailTemplateService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71954"
} | starcoder | using System.Collections.Generic;
using GovUk.Education.ExploreEducationStatistics.Admin.Services.Interfaces;
using GovUk.Education.ExploreEducationStatistics.Content.Model;
using Microsoft.Extensions.Configuration;
namespace GovUk.Education.ExploreEducationStatistics.Admin.Services
{
public class EmailTemplateSe... | 2.262788 | aa7498d20413982d9e69908f5c809c5f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71954 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "System.Configuration/System/Configuration/FipsAwareEncryptedXml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71955"
} | starcoder | //------------------------------------------------------------------------------
// <copyright file="FipsAwareEncryptedXml.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespac... | 2.486323 | a7b7b26120874d5a2d3e05a41b9b7d83 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71955 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "weloveloli/NCloud",
"max_stars_repo_path": "src/NCloud.FileProviders.AliyunDrive/AliyunDriveAPI/Models/Types/QueryRelationType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71956"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="QueryRelationType.cs" company="Weloveloli">
// Copyright (c) 2021 weloveloli. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace NCloud.FileProviders... | 1.826497 | e0f26b15ca0c55ccad88a1e4aeaaaa48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71956 | {
"extension": "c-sharp",
"max_stars_count": "510.0",
"max_stars_repo_name": "aleks-ivanov/Platformus",
"max_stars_repo_path": "src/Platformus.Images/Controllers/ImageController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71957"
} | starcoder | // Copyright © 2020 <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.As... | 2.409481 | 44715ee1f4047fec5143347e4228b669 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71957 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "icraftsoftware/Be.Stateless.BizTalk.ServiceModel",
"max_stars_repo_path": "src/Be.Stateless.BizTalk.ServiceModel.Unit/Unit/ServiceModel/Stub/Language/IOperationResponseSetup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71958"
} | starcoder | <gh_stars>1-10
#region Copyright & License
// Copyright © 2012 - 2021 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Un... | 2.044608 | 525fd18e96a7f839d018a34f19610f22 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71958 | {
"extension": "c-sharp",
"max_stars_count": "329.0",
"max_stars_repo_name": "endel/Phalanger",
"max_stars_repo_path": "Tools/gppg/gpcc/Symbol.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71959"
} | starcoder | using System;
namespace gpcc
{
public abstract class Symbol
{
private string name;
public string kind;
public abstract int num
{
get;
}
public Symbol(string name)
{
this.name = name;
}
public override string ToString()
{
return this.name;
}
public abstract bool IsNu... | 2.505467 | ad8a91c0e73668a31279e41bb543f68d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71959 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guerro323/GameHost",
"max_stars_repo_path": "revghost/ScopeContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71960"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using revghost.Injection;
namespace revghost;
public static class ScopeContextExtensions
{
public static void Register<T>(this ScopeContext ctx, T obj)
{
ctx.Register(type... | 2.620928 | ff284240fe68ba3b476def6e4a04270f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71960 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "brianrob/link-a-thon",
"max_stars_repo_path": "src/ApiTemplate/StartupWithoutMvc.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71961"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microso... | 2.541042 | 46a47158896b83746c3150a3f6712e12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71961 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adamint/project-system",
"max_stars_repo_path": "src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/ProjectSystemOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71962"
} | starcoder | <reponame>adamint/project-system
// 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.md file in the project root for more information.
using Microsoft.VisualStudio.Settings;
namespace Microsoft.VisualStudio.ProjectS... | 1.848546 | cc0acbaf1674386ba1a3de4731252c52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71962 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AtefeBahrani/EngineeringUnits",
"max_stars_repo_path": "EngineeringUnits/CombinedUnits/MolarEnergy/MolarEnergySet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71963"
} | starcoder | <reponame>AtefeBahrani/EngineeringUnits<gh_stars>0
using EngineeringUnits.Units;
namespace EngineeringUnits
{
//This class is auto-generated, changes to the file will be overwritten!
public partial class MolarEnergy
{
/// <summary>
/// Get MolarEnergy from SI.
... | 2.438097 | 7693b7ec5972ebf1056631b9ba47ad12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71963 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mchalejunior/ray",
"max_stars_repo_path": "app/Ray.Command/Scene/Factory/ShapeFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71964"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ray.Domain.Model;
using Ray.Serialize.Scene;
namespace Ray.Command.Scene.Factory
{
class ShapeFactory
{
public static IBasicShape MapApiToDomain(ShapeDto input)
{
IBasicShape output = null;
... | 2.720255 | 242a002a441c37cc00434a83135780a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71964 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "blacksmokersen/starwheels",
"max_stars_repo_path": "Assets/Scripts/Matchmaking/Friends/FriendGroupDisplayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71965"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Steamworks;
namespace SW.Matchmaking.Friends
{
public class FriendGroupDisplayer : MonoBehaviour
{
// CALLBACKS
protected Callback<LobbyChatUpdate_t> LobbyChatUpdatedCallback;
// PUBLIC
publ... | 1.9354 | 9ad84333468f0463768b93cbd83e71a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71965 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "antonyukmaryana/Bakery",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71966"
} | starcoder | using System;
using System.Collections.Generic;
namespace Bakery
{
public class Bread
{
public int Count { get; set; }
public Bread()
{
Count = 0;
}
public int CalculateTotalPrice()
{
return Count / 3 * 10 + Count % 3 * 5;
}
... | 3.845135 | c0067d58526a9f73d35d598ecc7767f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71966 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "elliotharris/Janus",
"max_stars_repo_path": "Janus/JanusData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71967"
} | starcoder | <filename>Janus/JanusData.cs
using System.Collections.ObjectModel;
namespace Janus
{
/// <summary>
/// Class that gets written out and read in by DataStorage.
/// </summary>
public class JanusData
{
public readonly ObservableCollection<Watcher> Watchers;
public readonly D... | 2.602676 | da5ee3bcc161ac81a53e706d6f7f9d45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71967 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "GaryHughes/FixClient",
"max_stars_repo_path": "Fix/Parsers/FormattedLogParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71968"
} | starcoder | /////////////////////////////////////////////////
//
// FIX Client
//
// Copyright @ 2021 VIRTU Financial Inc.
// All rights reserved.
//
// Filename: FormattedLogParser.cs
// Author: <NAME>
//
/////////////////////////////////////////////////
using System;
using System.IO;
using System.Text.RegularExpre... | 2.188518 | 744cca54c593b17bb0071cd9b54cef25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71968 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "masbicudo/NHibernate.JsonColumn",
"max_stars_repo_path": "NHibernate.JsonColumn.Tests/Models/Desk.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71969"
} | starcoder | namespace NHibernate.JsonColumn.Tests.Models
{
public class Desk : Furniture
{
public Desk()
{
}
public Desk(float cost, float height)
: base(cost)
{
this.Height = height;
}
public float Height { get; set; }
}
} | 2.589869 | 2b796a5896108c7886634c4622fa13ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71969 | {
"extension": "c-sharp",
"max_stars_count": "146.0",
"max_stars_repo_name": "changhuixu/dotnetlabs",
"max_stars_repo_path": "CSharpLabs/HttpClientMultipart/ServerSideApp/Controllers/FilesController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71970"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.WebUtilities;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Log... | 2.330795 | e2eb68bb4a75d92ebf9f6236c291fbb8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71970 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TomDro/AspNetMicroservices",
"max_stars_repo_path": "src/Services/Discount/Discount.Grpc/Extensions/HostExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71971"
} | starcoder | <reponame>TomDro/AspNetMicroservices<gh_stars>0
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Npgsql;
using System.Threading;
namespace Discount.Grpc.Extensions
{
public static class HostExtensio... | 2.433123 | 78057bb08a5c7e348b9e4b09f8efd0dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71971 | {
"extension": "c-sharp",
"max_stars_count": "1519.0",
"max_stars_repo_name": "johnnyleecn/Chloe",
"max_stars_repo_path": "src/Chloe.Oracle/MethodHandlers/NextValueForSequence_Handler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71972"
} | starcoder | using Chloe.DbExpressions;
using Chloe.RDBMS;
using Chloe.InternalExtensions;
using System;
namespace Chloe.Oracle.MethodHandlers
{
class NextValueForSequence_Handler : IMethodHandler
{
public bool CanProcess(DbMethodCallExpression exp)
{
if (exp.Method.DeclaringType != PublicConst... | 2.384757 | b984db554a8cd529bb46cf22688c75e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71972 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lqd-io/liquid-sdk-windows",
"max_stars_repo_path": "LiquidWindowsSDK/LiquidWindowsSDK/Model/LQVariable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71973"
} | starcoder | <filename>LiquidWindowsSDK/LiquidWindowsSDK/Model/LQVariable.cs<gh_stars>1-10
using System;
using Newtonsoft.Json.Linq;
namespace LiquidWindowsSDK.Model
{
public class LQVariable
{
public const String DATE_TYPE = "datetime";
public const String STRING_TYPE = "string";
public const Stri... | 2.839152 | 1de1a317ff7e4b0125aa9b052ed1ff0a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71973 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mszcool/mszcoolPowerOnDemand",
"max_stars_repo_path": "mszcoolPoDInventoryApi/Components/IDeviceAgentsRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71974"
} | starcoder | using mszcoolPoDInventoryApi.Models;
using mszcoolPoDMachineInventory.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace mszcoolPoDInventoryApi.Components
{
public interface IDeviceAgentsRepository
{
PoDDeviceAgent GetAgent(string environ... | 1.928213 | f24a8cacd520e5758a6e4534b59edf37 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71974 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asphaltzipper/AZI-SWCustomProperties",
"max_stars_repo_path": "OdooRpcCs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71975"
} | starcoder | <reponame>asphaltzipper/AZI-SWCustomProperties
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Nwc.XmlRpc;
namespace OdooRpcCs
{
public class OdooClient
{
private string url;
... | 2.17619 | 8470beb86ced92df7e33bdf3cbaf0dea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71975 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "toeb/core.common",
"max_stars_repo_path": "Core.Common/Values/Connection/IConnection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71976"
} | starcoder | <filename>Core.Common/Values/Connection/IConnection.cs
using Core.Graph.Directed;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core.Values
{
/// <summary>
/// base interface for a connection
/// </summary>
public interface IConnec... | 1.820489 | 89ee252ace608fe966209e7397151ac3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71976 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "factor-50-devops-bot/nuget-package-v3",
"max_stars_repo_path": "HelpMyStreet.Utils/HelpMyStreet.Utils/Extensions/EnumerableExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71977"
} | starcoder | <filename>HelpMyStreet.Utils/HelpMyStreet.Utils/Extensions/EnumerableExtensions.cs
using HelpMyStreet.Utils.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
namespace HelpMyStreet.Utils.Extensions
{
public static class EnumerableExtensions
{
public static IEnumerable<T> WhereWi... | 3.198082 | 6717f46d6f609438f22963ec257157f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71977 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xamarin/codeformatter",
"max_stars_repo_path": "src/Microsoft.DotNet.CodeFormatting/FormattingEngine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71978"
} | starcoder | <filename>src/Microsoft.DotNet.CodeFormatting/FormattingEngine.cs
// 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.Linq;
using System.Comp... | 2.049081 | af3da9eb460c29097838f81bd12b05cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71978 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chenrensong/Coding4Fun.WinFormUI",
"max_stars_repo_path": "src/Docking/ThemeBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71979"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Windows.Forms;
namespace Coding4Fun.WinFormUI.Docking
{
public abstract class ThemeBase : Component
{
private Color _dockBack... | 2.057766 | bbdee9524a74a770fb425445360f1cb0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71979 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Iliyan7/SoftUni",
"max_stars_repo_path": "ProgrammingFundamentals/Exam_Preparation_II/Roli_The_Coder/Roli_The_Coder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71980"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace Roli_The_Coder
{
public class Roli_The_Coder
{
public static void Main()
{
var events = new List<Roli>();
while(true)
{
var input = Console.ReadLine()
... | 3.465888 | 4ad091042042dfdb870f8accb7e5bc1d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71980 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "fabiogouw/NHilo",
"max_stars_repo_path": "src/NHiLo/HiLo/Repository/AgnosticHiLoRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71981"
} | starcoder | <reponame>fabiogouw/NHilo<gh_stars>10-100
using NHiLo.HiLo.Config;
using System;
using System.Data;
using System.Data.Common;
namespace NHiLo.HiLo.Repository
{
/// <summary>
/// A base repository that allows the creation of DBMS NHiLo repositories.
/// </summary>
public abstract class Agnost... | 2.738275 | 5ca08cbd1dba2ef490b79537fcb90556 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71981 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prjm/paspaspas",
"max_stars_repo_path": "PasPasPas.Parsing/src/SyntaxTree/Standard/FactorSymbol.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71982"
} | starcoder | <reponame>prjm/paspaspas<gh_stars>0
#nullable disable
using PasPasPas.Globals.Parsing;
using PasPasPas.Parsing.SyntaxTree.Utils;
using PasPasPas.Parsing.SyntaxTree.Visitors;
namespace PasPasPas.Parsing.SyntaxTree.Standard {
/// <summary>
/// factor
/// </summary>
public class FactorSymb... | 2.273925 | cdff13c0155444eaaabb2ba671afd9b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71982 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SNBnani/Xian",
"max_stars_repo_path": "Desktop/Configuration/Standard/CustomDateFormatSettings.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71983"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.261
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>... | 2.130168 | 958fd61f67977a468f8f4b91a795c24a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71983 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Out2Tango/metadata-extractor-dotnet",
"max_stars_repo_path": "MetadataExtractor/Formats/FileSystem/FileMetadataDirectory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71984"
} | starcoder | // Copyright (c) <NAME> and contributors. All Rights Reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
namespace MetadataExtractor.Formats.FileSystem
{
/// <author><NAME> https... | 2.43132 | 2fc8db498fb91130f625ebf58c4f1c56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71984 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "linchenrr/kakaTools",
"max_stars_repo_path": "donetCore/KLib/KLib/tools/DoWorkResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71985"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace KLib
{
public class DoWorkResult
{
public Boolean success;
public String message;
public Object data;
}
}
| 1.311506 | 57a6b9587352ff8cc57b5b5ea52affd1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71985 | {
"extension": "c-sharp",
"max_stars_count": "1037.0",
"max_stars_repo_name": "DigitalPlatform/Vanara",
"max_stars_repo_path": "PInvoke/Shell32/ShObjIdl.IUserAccountChangeCallback.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71986"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace Vanara.PInvoke
{
public static partial class Shell32
{
/// <summary>Exposes a method which is called when the picture that represents a user account is changed.</summary>
/// <remarks>
/// <para>
/// Applications that want to notify users through... | 2.671556 | 641e05795340f04c726432571313dd41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71986 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "clcheatle/HaikuWriter",
"max_stars_repo_path": "HaikuWriterPro/Models/RawUser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71987"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Models
{
public class RawUser
{
public string Username { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
pu... | 1.598624 | 88c0d134c31e92962d420a5b879a85b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71987 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "UE4DotNet/Plugin",
"max_stars_repo_path": "DotNet/DotNet/UE4/Generated/AIModule/BTDecorator_BlackboardBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71988"
} | starcoder | // Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
#pragma warning disable CS01... | 1.532571 | a6a6b8529d023cf49bd8a8f2c335958a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71988 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "morirain/puerts",
"max_stars_repo_path": "unity/Assets/Puerts/Runtime/Src/ObjectPool.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71989"
} | starcoder | <reponame>morirain/puerts<gh_stars>10-100
/*
* Tencent is pleased to support the open source community by making Puerts available.
* Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
* Puerts is licensed under the BSD 3-Clause License, except for the third-party components listed in the file... | 2.281403 | bcd21d3f2b0e8ffa7480b21a68000358 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71989 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "fehdem/iot",
"max_stars_repo_path": "src/devices/GrovePi/Sensors/AnalogSensor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71990"
} | starcoder | <reponame>fehdem/iot<filename>src/devices/GrovePi/Sensors/AnalogSensor.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Device.Gpio;
using Iot.Device.GrovePiDevice.Mo... | 2.867245 | 04bb221e0ab778bc53b51af3dd0b7662 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71990 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mikecasas/MiniDevTo-1",
"max_stars_repo_path": "Features/Public/AddArticleComment/Mapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71991"
} | starcoder | <gh_stars>0
using MongoDB.Bson;
namespace Public.AddArticleComment;
public class Mapper : Mapper<Request, object, Dom.Article.Comment>
{
public override Dom.Article.Comment ToEntity(Request r) => new()
{
Content = r.Comment,
NickName = r.NickName,
ID = ObjectId.GenerateNewId().ToStrin... | 1.717888 | e115c95c9fbacb80bee2b4803dc20677 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71991 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "enesyteam/QuickPlot",
"max_stars_repo_path": "src/Util.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71992"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Text;
using System.Windows.Forms;
using Microsoft.... | 2.116946 | 2ec9f2afbaa9168a9ef67f4ec9be2727 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71992 | {
"extension": "c-sharp",
"max_stars_count": "329.0",
"max_stars_repo_name": "Athari/CsConsoleFormat",
"max_stars_repo_path": "Alba.CsConsoleFormat/Elements/Base/GeneratorElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71993"
} | starcoder | <reponame>Athari/CsConsoleFormat
namespace Alba.CsConsoleFormat
{
public abstract class GeneratorElement : Element
{
protected GeneratorElement()
{ }
protected GeneratorElement(params object[] children) : base(children)
{ }
}
} | 1.782059 | 6002935fac90dafca2000e5cc4efca6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71993 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "smdx24/CPI-Source-Code",
"max_stars_repo_path": "ClubPenguin.Interactables/InteractionZoneDanceFloorObserver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71994"
} | starcoder | <filename>ClubPenguin.Interactables/InteractionZoneDanceFloorObserver.cs<gh_stars>1-10
// InteractionZoneDanceFloorObserver
using ClubPenguin.Core;
using ClubPenguin.Interactables;
using ClubPenguin.Props;
using Disney.LaunchPadFramework;
using Disney.MobileNetwork;
using System;
using System.Collections.Generic;
using... | 1.969153 | 284eccdccd9f01b4e04777edb03c0bb0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71994 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rinkudesu/rinkudesu-webui",
"max_stars_repo_path": "Rinkudesu.Gateways.Webui/Rinkudesu.Gateways.Webui/Views/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:71995"
} | starcoder | @using Rinkudesu.Gateways.Webui
@using Rinkudesu.Gateways.Webui.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers | 1.640902 | 25061b5c20c9ab2b1c879bf87ccfebc4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71995 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jor-el-swe/TokenIdleClicker",
"max_stars_repo_path": "Assets/Scripts/Castle/Data.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71996"
} | starcoder | <reponame>jor-el-swe/TokenIdleClicker
using UnityEngine;
namespace Castle {
[CreateAssetMenu (fileName = "CastleData", menuName = "ScriptableObjects/CastleData")]
public class Data : ScriptableObject {
[SerializeField] private Resource.ResourceObject resource;
[SerializeField] private int pric... | 2.289333 | d57d340a6410a4983df1973fa8db08e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71996 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "crazyants/KVLite",
"max_stars_repo_path": "src/PommaLabs.KVLite.Core/Extensibility/BinarySerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71997"
} | starcoder | // File name: BinarySerializer.cs
//
// Author(s): <NAME> <<EMAIL>>
//
// The MIT License (MIT)
//
// Copyright (c) 2014-2017 <NAME> <<EMAIL>>
//
// 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 Softw... | 2.461366 | fc749df7d67a7e7c5a4c3c06b95cc04a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71997 | {
"extension": "c-sharp",
"max_stars_count": "509.0",
"max_stars_repo_name": "Nodice/Keras.NET",
"max_stars_repo_path": "Examples/Keras.Playground/Controllers/MNISTController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71998"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace Keras.Playground.Controllers
{
public class MNISTController : Controller
{
//static BaseModel model = null;
... | 1.512633 | e81cd40fb86d11f127397de44a372c84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71998 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BartVertongen/Peppol.NETCoreLib",
"max_stars_repo_path": "Peppol.NETCoreLib/certvalidator/parser/RuleReferenceRuleParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71999"
} | starcoder | <filename>Peppol.NETCoreLib/certvalidator/parser/RuleReferenceRuleParser.cs
using System;
using System.Collections.Generic;
using ValidatorRule = no.difi.certvalidator.api.ValidatorRule;
using ValidatorRuleParser = no.difi.certvalidator.api.ValidatorRuleParser;
//using RuleReferenceType = no.difi.certvalidator.jaxb.Rul... | 2.460389 | 06fad2849189148761b33a49c29dbeb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71999 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chumpon-asaneerat/DMT.TA.TODv3",
"max_stars_repo_path": "05.WebServices.Servers/DMT.TOD.Rest.Server/WebServer/Services/TODNotifyService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72000"
} | starcoder | <reponame>chumpon-asaneerat/DMT.TA.TODv3
#region Using
using System;
using System.Collections.Generic;
using System.Linq;
using DMT.Models;
using NLib;
#endregion
namespace DMT.Services
{
/// <summary>
/// The TODNotifyService class.
/// </summary>
public class TODNotifyService
{
#regio... | 2.215919 | c1137d74bcefbe9dd2259fd7ae61c8eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72000 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mufalder/unity-snapscreen",
"max_stars_repo_path": "Assets/Snapscreen/Scripts/Grids/Balance.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72001"
} | starcoder | <reponame>Mufalder/unity-snapscreen
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace NorthLab
{
[System.Serializable, CreateAssetMenu(fileName = "Balance", menuName = "NorthLab/Snapscreen/Grids/Balance")]
public class Balance : CompositionGrid
{
public ove... | 2.087417 | f1aa1a5b9d5df569c54c40fd0cc1ade7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72001 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "VVoev/Telerik-Academy",
"max_stars_repo_path": "14.Design-Patterns/01. SOLID/demos/SOLID and Other Principles/2. Open - Closed/2. Before - Drawing Shapes/Circle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72002"
} | starcoder | <filename>14.Design-Patterns/01. SOLID/demos/SOLID and Other Principles/2. Open - Closed/2. Before - Drawing Shapes/Circle.cs<gh_stars>10-100
namespace OpenClosedDrawingShapesBefore
{
using OpenClosedDrawingShapesBefore.Contracts;
public class Circle : IShape
{
}
}
| 2.274016 | e541e2513c8da1baf00c1972d5e51326 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72002 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bobo4aces/07.SoftUni-CSharpDBFundamentals",
"max_stars_repo_path": "02. Databases Advanced - Entity Framework - 06. Advanced Relations/BillsPaymentSystem/BillsPaymentSystem.Initial/CreditCardInitializer.cs",
"provenance": "train-00000... | starcoder | <reponame>bobo4aces/07.SoftUni-CSharpDBFundamentals
using BillsPaymentSystem.Models;
using System;
namespace BillsPaymentSystem.Initial
{
public class CreditCardInitializer
{
public static CreditCard[] GetCreditCards()
{
CreditCard[] creditCards = new CreditCard[]
{
... | 2.47871 | be1a6a9075553d880dcaf438e5026d09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72003 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xEvilCorp/We.Share",
"max_stars_repo_path": "Views/Account/Account.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:72004"
} | starcoder | <filename>Views/Account/Account.cshtml<gh_stars>0
@{
ViewData["Title"] = "Account";
Layout = "~/Views/Shared/Layout/_main.cshtml";
WeShare.Web.ApplicationUser u = ViewData["user"] as WeShare.Web.ApplicationUser;
string profilePicture = ViewData["userProfilePicturePath"] as string;
}
@section ... | 2.172031 | db1dd34b95d403801ea62fa31046db77 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72004 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JasonKStevens/EventStoreRx",
"max_stars_repo_path": "src/EventStore.ClientAPI/ExpectedVersion.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72005"
} | starcoder | using System;
namespace EventStore.ClientAPI {
/// <summary>
/// Constants used for expected version control
/// </summary>
/// <remarks>
/// The use of expected version can be a bit tricky especially when discussing idempotency assurances given by Event Store.
///
/// There are four possible values you can use... | 2.721931 | c8f44929e1eb20b9cce15778a25bd455 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72005 | {
"extension": "c-sharp",
"max_stars_count": "561.0",
"max_stars_repo_name": "DmitryGolubenkov/Silk.NET",
"max_stars_repo_path": "src/Microsoft/Silk.NET.Direct3D11/Enums/VideoProcessorAutoStreamCaps.gen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72006"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Silk.NET.Core.Attributes;
#pragma warning disable 1591
namespace Silk.NET.Direct3D11
{
[NativeName("Name", "D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS")]
p... | 1.627327 | b0b7669ba5a60438865503a6cecb7135 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72006 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gds-e7-p3-g2/the-tall-house",
"max_stars_repo_path": "Assets/Scripts/UI/ChatMessagesContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72007"
} | starcoder | <filename>Assets/Scripts/UI/ChatMessagesContainer.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.Linq;
namespace IStreamYouScream
{
public class ChatMessagesContainer : MonoBehaviour
{
[SerializeField] Text text;
... | 3.00319 | bc0efd898fbd3f7f04a5acce170bfbe7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72007 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pierresebastien/TourDeFrance",
"max_stars_repo_path": "TourDeFrance.Core/Business/Database/Player.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72008"
} | starcoder | <filename>TourDeFrance.Core/Business/Database/Player.cs
using System;
using SimpleStack.Orm.Attributes;
using TourDeFrance.Client.Enums;
using TourDeFrance.Client.Responses;
namespace TourDeFrance.Core.Business.Database
{
[Alias("players")]
public class DbPlayer : BaseOwnObject
{
[Index(Unique = true)]
[Alias(... | 2.564915 | 3e084be15d0d7362acf8f5b0f3d7ad14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72008 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TeamControlium/Controlium.net",
"max_stars_repo_path": "Controlium.net/Source/ControlBaseClass/ControlBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72009"
} | starcoder | <reponame>TeamControlium/Controlium.net
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.InteropServices;
using TeamControlium.Utilities;
namespace TeamControlium.Controlium
{
/// <summary>An abstract Core control all other Core controls inherit from. Contains all me... | 2.608262 | 3968d2d4ba6269824b6f959fdd2af232 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72009 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Logan06250/C--project",
"max_stars_repo_path": "MasterChefInfo/MasterChefInfo/Model/DinnerRoom/SquareSupervisor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72010"
} | starcoder | <filename>MasterChefInfo/MasterChefInfo/Model/DinnerRoom/SquareSupervisor.cs
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MasterChefInfo
{
/// <summary>
/// La classe des SuperVisor (Positions et disponibibl... | 2.924486 | 9b6f043f999a9464da2ca459de17c239 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72010 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kpespisa/shiny",
"max_stars_repo_path": "src/Shiny.SpeechRecognition/ShinySpeechRecognizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72011"
} | starcoder | <gh_stars>1-10
using System;
using System.Threading.Tasks;
using Shiny.SpeechRecognition;
namespace Shiny
{
public static class ShinySpeechRecognizer
{
static ISpeechRecognizer Current => ShinyHost.Resolve<ISpeechRecognizer>();
public static IObservable<string> ContinuousDictation() => Curre... | 1.777998 | 247122738012a8b9ab7181dfd293ed92 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72011 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "azbk/Anamnesis",
"max_stars_repo_path": "Anamnesis/Character/Utilities/ItemUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72012"
} | starcoder | <filename>Anamnesis/Character/Utilities/ItemUtility.cs
// © Anamnesis.
// Licensed under the MIT license.
namespace Anamnesis.Character.Utilities
{
using System.Collections.Concurrent;
using Anamnesis.Character.Items;
using Anamnesis.GameData;
using Anamnesis.Services;
public static class ItemUtility
{
publi... | 2.699704 | 9ca62332300645c4117995ac2e188dde |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72012 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sargeantPig/RTWRandomiser",
"max_stars_repo_path": "RTWR_RTWLIB/Randomiser/EDU_Rand/Methods/RandomSounds.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72013"
} | starcoder | using RTWLib.Data;
using RTWLib.Functions;
using RTWLib.Objects;
using RTWLib.Functions.EDU;
using System.Collections.Generic;
using System.Linq;
using RTWLib.Extensions;
namespace RTWR_RTWLIB.Randomiser
{
public partial class RandomEDU
{
public static void RandomSounds(EDU edu)
{
TWRandom.RefreshRndSee... | 2.233931 | 929517aeac9f4ba55f8dcaf1a576ccc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72013 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ermau/Gablarski",
"max_stars_repo_path": "src/Gablarski.Clients.Core/Input/CommandStateChangedEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72014"
} | starcoder | <filename>src/Gablarski.Clients.Core/Input/CommandStateChangedEventArgs.cs
// Copyright (c) 2011, <NAME>
// All rights reserved.
//
// Redistribution and use in source and binary forms, with
// or without modification, are permitted provided that
// the following conditions are met:
//
// - Redistributions of s... | 2.272686 | be9689ce8f4819cc30155652c5acc16c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72014 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Raymai97/ThDanConfig",
"max_stars_repo_path": "src/Code/thCom.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72015"
} | starcoder | using System;
namespace MaiSoft
{
abstract class thCom : IValidate
{
public abstract bool validate(byte[] b);
protected byte[] data;
protected bool hasMIDI { get; set; }
protected byte pos_FLAGS { get; set; }
protected byte pos_FLAGS2 { get; set; }
... | 2.300618 | c0caa70cb0d5321f5a065dd4c09d3d0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72015 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "miguelhp373/Programacao_Web_Modulo03",
"max_stars_repo_path": "AplicacaoDeTransporteExecutivo/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:72016"
} | starcoder | <filename>AplicacaoDeTransporteExecutivo/Views/Home/Index.cshtml<gh_stars>0
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Home</title>
<style>
bod... | 2.443752 | dc25de1c1edb49a92016bc66422b1917 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72016 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jetdog8808/public-Udon-tag",
"max_stars_repo_path": "Assets/tag/test/pingvisual.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72017"
} | starcoder |
using UdonSharp;
using UnityEngine;
using UnityEngine.UI;
using VRC.SDKBase;
using VRC.Udon;
public class pingvisual : UdonSharpBehaviour
{
public controlerdeligator controllist;
public Text visual;
public Text secvisual;
private void Update()
{
string stringtwo = "id:" + controllist.id +... | 1.652771 | cc0ecf32f88f0012f2a16b8974a9107b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72017 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "WurstModders/WurstMod-Reloaded",
"max_stars_repo_path": "WMRWorkbench/Assets/Editor/Manglers/UnityAssemblyResolver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72018"
} | starcoder | <gh_stars>1-10
using Mono.Cecil;
namespace WurstMod.Manglers
{
public class UnityAssemblyResolver : BaseAssemblyResolver
{
private DefaultAssemblyResolver defaultResolver = new DefaultAssemblyResolver();
private string managed;
public UnityAssemblyResolver(string pathToManaged)
... | 2.355024 | 01a60fbaf01b578f7f6d4f7237332186 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72018 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "bhariharan/SalesforceMobileSDK-Windows",
"max_stars_repo_path": "SalesforceSDK/SmartSync/Model/SalesforceObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72019"
} | starcoder | /*
* Copyright (c) 2014-present, salesforce.com, inc.
* All rights reserved.
* Redistribution and use of this software in source and binary forms, with or
* without modification, are permitted provided that the following conditions
* are met:
* - Redistributions of source code must retain the above copyright noti... | 2.079503 | cc0ed7ba073492d4548091917d496616 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72019 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TomoyaShibata/Mastoon",
"max_stars_repo_path": "Mastoon/Entities/StatusWithMeta.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72020"
} | starcoder | using System.ComponentModel;
using System.Runtime.CompilerServices;
using Mastonet.Entities;
using Mastoon.Annotations;
namespace Mastoon.Entities
{
public class StatusWithMeta : Status, INotifyPropertyChanged
{
public StatusWithMeta(Status s)
{
this.Mentions = s.Mention... | 1.958494 | a9c11ee9e2b1c4ff86a0987e473d906c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72020 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MAPCATcom/mapbox-android-binding",
"max_stars_repo_path": "demo/Naxam.MapcatQs/MainActivity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72021"
} | starcoder | using Android.App;
using Android.Widget;
using Android.Util;
using Android.OS;
using MapcatAccountManager = Com.Mapcat.Mapcatsdk.Mapcat;
using Com.Mapcat.Mapcatsdk.Annotations;
using Com.Mapcat.Mapcatsdk.Camera;
using Com.Mapcat.Mapcatsdk.Geometry;
using Com.Mapcat.Mapcatsdk.Maps;
using Android.Support.V7.App;
using S... | 2.074942 | a541516fef80ef3b25bb1591dec164e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72021 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pascalberger/errata",
"max_stars_repo_path": "src/Errata/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72022"
} | starcoder | <gh_stars>0
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Errata.Tests")] | 0.881295 | 3bc96e3f55fa0e343b9401d596ab25ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72022 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "codewright-io/stores",
"max_stars_repo_path": "Stores.Github/GitHubServices.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72023"
} | starcoder | using Octokit;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DevKnack.Stores.Github
{
/// <summary>
/// Github specific API calls not covered by the shared stores interfaces
/// </summary>
/// <remarks>If this functionality ends up being shared by a few g... | 2.443047 | 9a817a7e4b8253cef0ce67b2d859d212 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72023 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ch1seL/RedisLock",
"max_stars_repo_path": "src/ch1seL.DistributedLock.RedisLock/StackExchangeRedis/RedisLock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72024"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using RedLockNet;
using RedLockNet.SERedis;
using... | 2.194578 | cc54bd3f36cfac8ab7ab5121d31c64ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72024 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fladzio/Integracja.Server",
"max_stars_repo_path": "src/Integracja.Server.Web/Areas/Pytania/Controllers/MyQuestionController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72025"
} | starcoder | <filename>src/Integracja.Server.Web/Areas/Pytania/Controllers/MyQuestionController.cs
using AutoMapper;
using Integracja.Server.Core.Models.Identity;
using Integracja.Server.Infrastructure.Data;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using S... | 1.794735 | f392b53f354eb3cf51512b7280d450a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72025 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SchoolMasterNL/couchbase-net-client",
"max_stars_repo_path": "Src/Couchbase/Configuration/Server/Serialization/InterestingStats.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72026"
} | starcoder | using Newtonsoft.Json;
namespace Couchbase.Configuration.Server.Serialization
{
internal sealed class InterestingStats
{
[JsonProperty("couch_docs_actual_disk_size")]
public int CouchDocsActualDiskSize { get; set; }
[JsonProperty("couch_docs_data_size")]
public int CouchDocsDa... | 1.440431 | 755125e7be13ccf50192862e752cea31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72026 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GMihalkow/CSharp",
"max_stars_repo_path": "CSharp Programming Fundamentals/C# Methods. Debugging and Troubleshooting Code - Exercises/03. English Name of Last Digit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72027"
} | starcoder | <reponame>GMihalkow/CSharp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
namespace _03_ENGLISH_NAME_OF_LAST_DIGIT
{
class Program
{
static void Main(string[] args)
{
long number =long.Parse(... | 3.087289 | 4c9cd26d350be7c149f59bf661f877e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72027 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "ShiJess/NuSelfUpdate",
"max_stars_repo_path": "src/Sample/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72028"
} | starcoder | <reponame>ShiJess/NuSelfUpdate<gh_stars>1-10
using System;
using System.IO;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
namespace NuSelfUpdate.Sample
{
class Program
{
static void Main(string[] args)
{
var appUpdater = new AppUpdaterBuilder("NuSelfUpda... | 2.844707 | d363074a0ebf00f306554ec7185f5237 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72028 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "immi31415927/qiannian",
"max_stars_repo_path": "src/EC/EC.Entity/Parameter/Request/Video/VideoItemQueryRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72029"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EC.Entity.Parameter.Request.Video
{
/// <summary>
/// 视频项查询
/// </summary>
public class VideoItemQueryRequest : PageCondition
{
/// <summary>
/// 视频启用状态
... | 1.850958 | 307ae248177f5ac3c1c4f07095cd29be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72029 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Pathoschild/Mods.Entoarox",
"max_stars_repo_path": "Framework/Core/EntoaroxFrameworkMod.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72030"
} | starcoder | <filename>Framework/Core/EntoaroxFrameworkMod.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
using Entoarox.Framework.Core.AssetHandlers;
using Entoarox.Framework.Core.Serialization;
using Entoarox.Framework.Events;
using Microsoft.Xna.Framework;
u... | 1.67957 | 0e15e249aba044b01c78be5a455668d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72030 | {
"extension": "c-sharp",
"max_stars_count": "250.0",
"max_stars_repo_name": "SamTheWizard/auth0.net",
"max_stars_repo_path": "src/Auth0.ManagementApi/Models/TenantErrorPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72031"
} | starcoder | using Newtonsoft.Json;
namespace Auth0.ManagementApi.Models
{
/// <summary>
/// Tenant error page customization.
/// </summary>
public class TenantErrorPage
{
/// <summary>
/// Replace default error page with custom HTML (Liquid syntax is supported).
/// </summary>
[... | 2.250278 | 113c5d0fafcdeb670d48dffc4673befa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72031 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Francisco-Tovar/BusWatcher-Project",
"max_stars_repo_path": "BusWatcher/WebAPI/Controllers/RolController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72032"
} | starcoder | using CoreAPI;
using Entities_POJOS;
using Exceptions;
using System;
using System.Web.Http;
using WebAPI.Models;
namespace WebAPI.Controllers
{
[ExceptionFilter]
public class RolController : ApiController
{
ApiResponse apiResp = new ApiResponse();
public IHttpActionResult Get()
{... | 2.602667 | 791c8ef63a0a4eaea4320566275b4411 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72032 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Tyzemol/space-station-14",
"max_stars_repo_path": "Content.Shared/Weapons/Ranged/MagazineAutoEjectEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72033"
} | starcoder | using System;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization;
namespace Content.Shared.Weapons.Ranged
{
/// <summary>
/// This is sent if the MagazineBarrel AutoEjects the magazine
/// </summary>
[Serializable, NetSerializable]
public sealed class MagazineAutoEjectEvent : Entity... | 1.599048 | ede9625fc05e7cabc719d07ab1a8b52f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.