added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816046 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DavidSchimmel/BreakThruAI",
"max_stars_repo_path": "Breakthru/AgentLibrary/AlphaBetaTT.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135266"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace AgentLibrary
{
public class AlphaBetaTT : IAgent
{
private int playerNumber;
private IEvaluationHeuristic evaluationHeuristic;
private const int randomRange = 50;
public int timer = 600;
public... | 2.982106 | 4f825980c6fcac5f286dd87ee4a789c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816047 | {
"extension": "c-sharp",
"max_stars_count": "115.0",
"max_stars_repo_name": "starvide/CountersPlus",
"max_stars_repo_path": "Counters+/Counters/Event Broadcasters/ScoreEventBroadcaster.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135267"
} | starcoder | <gh_stars>100-1000
using CountersPlus.Counters.Interfaces;
using Zenject;
namespace CountersPlus.Counters.Event_Broadcasters
{
/// <summary>
/// A <see cref="EventBroadcaster{T}"/> that broadcasts score-related events.
/// </summary>
internal class ScoreEventBroadcaster : EventBroadcaster<IScoreEventH... | 2.315998 | 3535ab0b1706aaedef7dce8743ff0704 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816048 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "yasserglez/metaheuristics",
"max_stars_repo_path": "Problems/SPP/ILS2OptFirst4SPP/ILS2OptFirst4SPP.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135268"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
namespace Metaheuristics
{
public class ILS2OptFirst4SPP : IMetaheuristic, ITunableMetaheuristic
{
protected int timePenalty = 250;
public int restartIterations = 100;
public void Start (string inputFile, string outputFile, int timeLi... | 2.614503 | 355ca1111e55e3cb913bae3da45ee4ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816049 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "INVA-Spa/Laser.Orchard.Platform",
"max_stars_repo_path": "src/Modules/Laser.Orchard.NwazetIntegration/Services/ICheckoutExtensionProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135269"
} | starcoder | using Orchard;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Laser.Orchard.NwazetIntegration.Services {
public interface ICheckoutExtensionProvider : IDependency {
/// <summary>
/// Shapes meant to be injected in the s... | 1.975925 | d061096e3a217ddfbeed71b17a4b20f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816050 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ABEMBARKA/monoUI",
"max_stars_repo_path": "AtspiUiaSource/AtspiUiaSource/InvokeSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135270"
} | starcoder | <gh_stars>1-10
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicen... | 1.767869 | d3cfbd144e07e5bb7251125903e549f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816051 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "System/net/System/Net/SecureProtocols/_SslStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135271"
} | starcoder | <filename>System/net/System/Net/SecureProtocols/_SslStream.cs
/*++
Copyright (c) Microsoft Corporation
Module Name:
_SslStream.cs
Abstract:
Internal helper to support public SslStream class.
It would be nice to make it a partial class file once compiler gets this supported
Author:
<NAME> 22-Aug-2... | 2.369427 | 0d36bce4b26d01974940a65a5db239ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816052 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kazenetu/ASPdotNETCoreTest",
"max_stars_repo_path": "Domain/Service/User/UserSearchCondition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135272"
} | starcoder | namespace Domain.Service.User
{
/// <summary>
/// 検索条件クラス
/// </summary>
public class UserSearchCondition
{
/// <summary>
/// 検索条件:ユーザーID
/// </summary>
/// <returns>ユーザーID(未選択時:string.Empty)</returns>
public string SearchUserId{set;get;} = string.Empty;
/// <summary>
/// 表示対象のペー... | 2.314213 | c4eb814c092c531f41136599f6aa76e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816053 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alanwest/opentelemetry-dotnet-contrib",
"max_stars_repo_path": "test/OpenTelemetry.Contrib.Extensions.AWSXRay.Tests/Resources/Http/TestHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135273"
} | starcoder | // <copyright file="TestHandler.cs" company="OpenTelemetry Authors">
// Copyright The 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
//
// http://www.apache.org... | 1.603722 | 1845a4b508208af1db77992d8c5eef2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816054 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "martinca-msft/Gadgeteer",
"max_stars_repo_path": "NETMF_44/GadgeteerCore/Gadgeteer44/SocketInterfaces/Interfaces/AnalogOutput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135274"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache v.2 license.
namespace Gadgeteer.SocketInterfaces
{
/// <summary>
/// Provides the analog output functionality.
/// </summary>
public abstract class AnalogOutput : System.IDisposable
{
/// <summary>
... | 3.057091 | 63dc2c3c84937dade9d1da1fd2761365 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816055 | {
"extension": "c-sharp",
"max_stars_count": "553.0",
"max_stars_repo_name": "xujuntwt95329/codestream",
"max_stars_repo_path": "vs/src/CodeStream.VisualStudio/UI/InfoBarProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135275"
} | starcoder | <reponame>xujuntwt95329/codestream
using System;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
namespace CodeStream.VisualStudio.UI
{
public class InfoBarProvider : IVsInfoBarUIEvents
{
private readonly IServiceProvider _serviceProvider;
private uint _cookie;
... | 2.105032 | 818d9d96a3dcc335ec36a4a2d321fd15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816056 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "iopietro/VoiceChatManager",
"max_stars_repo_path": "src/VoiceChatManager/Commands/List/PresetsCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135276"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="PresetsCommand.cs" company="iopietro">
// Copyright (c) iopietro. All rights reserved.
// Licensed under the MIT license.
// </copyright>
// -----------------------------------------------------------------------
namespace V... | 2.400608 | ccc529f88889f58d4dac6da0d8165cd0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816057 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mlcalache/grasews",
"max_stars_repo_path": "Grasews.Domain/Events/SendResetPasswordEmailHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135277"
} | starcoder | <gh_stars>0
using Grasews.Domain.Interfaces.Events;
using Grasews.Domain.Interfaces.Services;
using System.Threading.Tasks;
namespace Grasews.Domain.Events
{
public class SendResetPasswordEmailHandler : IEventHandler<SendResetPasswordEmailEvent>
{
private readonly IEmailSenderService _emailService;
... | 1.84503 | 5614381ed59222ac65c06634c33dec53 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816058 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JaTu1984/programming-basics",
"max_stars_repo_path": "functiontasks/FunctionTask4/FunctionTask4/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135278"
} | starcoder | using System;
namespace FunctionTask4
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Funktio, joka pyytää käyttäjältä 10 positiivista kokonaislukua ja palauttaa niistä suurimman");
int number = 0;
int i = 0;
int j = 1;
... | 3.35395 | 885467690c812c1b138a9e18a0e6bbc7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816059 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "reflectronic/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/Windows/um/vsstyle/READONLYSTATES.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135279"
} | starcoder | <filename>sources/Interop/Windows/Windows/um/vsstyle/READONLYSTATES.cs<gh_stars>0
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/vsstyle.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright... | 1.448474 | 2f0f0b81888bf0141a0c1c0c24bee969 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816060 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gusdelarosa/CTAPIWrapper",
"max_stars_repo_path": "Models/Trains/Arrivals/ArrivalsResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135280"
} | starcoder | <reponame>gusdelarosa/CTAPIWrapper<gh_stars>0
using System.Collections.Generic;
using Newtonsoft.Json;
namespace CTAAPIWrapper.Models
{
public class ArrivalsResponse : TrainResponseBase
{
[JsonProperty("eta")]
public IEnumerable<ETA> ETAs { get; set; }
}
} | 1.151797 | 701e0270eb4ec075d5809c54661a1de2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816061 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "galvesribeiro/EventGridEmu",
"max_stars_repo_path": "src/EventGridEmulator/Controllers/TestController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135281"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using EventGridEmulator.Messages;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
namespace EventGridEmulator.Controllers
{
[Route("test")]
[ApiController]
public class TestController... | 2.442045 | b2ea10346fb84e90c17d4d77e14f51c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816062 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "shuaiagain/orm-fluentdata",
"max_stars_repo_path": "FluentData/sourceCode/sourceCode/Source/v4/FluentData/Builders/BuilderData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135282"
} | starcoder | using System.Collections.Generic;
namespace FluentData
{
public class BuilderData
{
public List<BuilderColumn> Columns { get; set; }
public object Item { get; set; }
public string ObjectName { get; set; }
public IDbCommand Command { get; set; }
public List<BuilderColumn> Where { get; set; }
public Buil... | 2.366176 | 057bf6ea9d874f48cc585902b07c2eee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816063 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zhaobingwang/blocks",
"max_stars_repo_path": "Shared/src/Skyline/Utils/ReflectionUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135283"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Reflection;
using System.Text;
namespace Skyline.Utils
{
public static class ReflectionUtil
{
public static string GetDescription(MemberInfo member)
{
if (member.IsNull())
retu... | 2.598939 | 49fc2a12552b5dfb672e8c569e06f080 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816064 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ekahlenberger/HandMeAFile",
"max_stars_repo_path": "HandMeAFile/commons/ApiWrapper/System/Net/IHttpClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135284"
} | starcoder | <filename>HandMeAFile/commons/ApiWrapper/System/Net/IHttpClient.cs
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using org.ek.HandMeAFile.commons.ApiWrapper.System.Net.Http;
namespace org.ek.HandMeAFile.commons.ApiWrapper.System.Net
{
public interface IHttpClient
{... | 2.622851 | 575da0a54d50d98077010e9594e6b373 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816065 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Pjotrtje/ConsoleAsksFor",
"max_stars_repo_path": "src/ConsoleAsksFor/InternalConsole/History/HistoryItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135285"
} | starcoder | namespace ConsoleAsksFor;
internal sealed record HistoryItem(
string QuestionType,
string QuestionText,
string Answer); | 1.487198 | 5e0f83691e2ac835757ad7208cff493c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816066 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "MaxandreOgeret/simulator",
"max_stars_repo_path": "Packages/com.unity.render-pipelines.high-definition/Runtime/PostProcessing/Components/Exposure.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135286"
} | starcoder | <gh_stars>10-100
using System;
using UnityEngine.Rendering;
namespace UnityEngine.Experimental.Rendering.HDPipeline
{
[Serializable, VolumeComponentMenu("Exposure")]
public sealed class Exposure : VolumeComponent, IPostProcessComponent
{
public ExposureModeParameter mode = new ExposureModeParameter... | 1.965875 | f697b367a7312599ec2bc75774441d55 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816067 | {
"extension": "c-sharp",
"max_stars_count": "185.0",
"max_stars_repo_name": "itshawi/data-accelerator",
"max_stars_repo_path": "Services/DataX.Flow/Flow.LiveDataService/FlowLiveDataServiceStartup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135287"
} | starcoder | <reponame>itshawi/data-accelerator
// *********************************************************************
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License
// *********************************************************************
namespace Flow.LiveDataService
{
using... | 1.008435 | 4903f3c4998d0c78cafae82c2295c8fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816068 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AKROGIS/ThemeManager",
"max_stars_repo_path": "ThemeManager10x/Extensions/FormExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135288"
} | starcoder | using NPS.AKRO.ThemeManager.Properties;
using System;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
namespace NPS.AKRO.ThemeManager.Extensions
{
public static class FormExtensions
{
public static T CommonInit<T>(this T form) where T : Form
{
... | 2.678155 | ee2346f569ed6b3f7b2f0619ce067a18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816069 | {
"extension": "c-sharp",
"max_stars_count": "110.0",
"max_stars_repo_name": "coldacid/FlatRedBall",
"max_stars_repo_path": "FRBDK/Glue/TopDownPlugin/ViewModels/AnimationSetViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135289"
} | starcoder | <filename>FRBDK/Glue/TopDownPlugin/ViewModels/AnimationSetViewModel.cs<gh_stars>100-1000
using FlatRedBall.Glue.MVVM;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using TopDownPlugin.Data;
namespace TopDownPl... | 2.647513 | 0ec0816de2493917220891f44dce0e97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816070 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Siemens-Healthineers/ETWAnalyzer",
"max_stars_repo_path": "ETWAnalyzer/Extract/CPU/MethodCost.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135290"
} | starcoder | <filename>ETWAnalyzer/Extract/CPU/MethodCost.cs
//// SPDX-FileCopyrightText: © 2022 Siemens Healthcare GmbH
//// SPDX-License-Identifier: MIT
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Tex... | 2.775737 | 784ac7626c438566043716cca8f60596 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816071 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jim-dale/VideoTools",
"max_stars_repo_path": "src/VideoToolsLib/Helpers/Helpers_BBC.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135291"
} | starcoder | <reponame>jim-dale/VideoTools
namespace VideoTools
{
using System;
using System.Text.RegularExpressions;
public static partial class Helpers
{
public const string EpisodeNumberPatternBBC = @"^(\d+)\/(?:\d+)\.";
public static string TryRemoveEpisodeNumberBBC(string s)
{
... | 2.076432 | f8fd4fec8430acb211d5ec2d2cbdf11f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816072 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "apawsey/arangodb-net-standard",
"max_stars_repo_path": "arangodb-net-standard/CollectionApi/Models/GetCollectionRevisionResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135292"
} | starcoder | using System.Net;
using ArangoDBNetStandard.DocumentApi.Models;
using ArangoDBNetStandard.Models;
using Newtonsoft.Json;
namespace ArangoDBNetStandard.CollectionApi.Models
{
public class GetCollectionRevisionResponse : ResponseBase
{
[JsonConstructor]
public GetCollectionRevisionResponse(bool ... | 1.906777 | 3fb948b836073a63f0e5c8316ccbcf23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816073 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "angelobreuer/OpenWeatherMap4NET",
"max_stars_repo_path": "src/OpenWeatherMapService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135293"
} | starcoder | <reponame>angelobreuer/OpenWeatherMap4NET
namespace OpenWeatherMap
{
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Runtime.Caching;
using Syst... | 2.621706 | 769d0225a9517be9d2c3bab068e0d957 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816074 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sleeya/C-Professional",
"max_stars_repo_path": "Csharp-OOP-Advanced/ObjectAndCommunicationExercises/DependencyInversion/StartUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135294"
} | starcoder | using System;
using DependencyInversion.Strategies;
namespace DependencyInversion
{
class StartUp
{
static void Main(string[] args)
{
PrimitiveCalculator calculator = new PrimitiveCalculator(new AdditionStrategy());
string command;
while ((command = Console... | 3.380068 | 3d33268dd013a1e6b67c3ffc8c3f9b15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816075 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "SharpTools/SharpApiRateLimit",
"max_stars_repo_path": "SharpApiRateLimit/Storage/IRateLimitStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135295"
} | starcoder | namespace SharpApiRateLimit.Storage {
public interface IRateLimitStorage {
RateLimitResult Process(string key, string period, int calls);
}
} | 1.604838 | f17afbc44eab19b558de2cd96355e4b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816076 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "finn522/Project-56-Webshop-Hot-Pink-Wheels",
"max_stars_repo_path": "Webshop/WebshopHPWcore/Models/Cart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135296"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
namespace WebshopHPWcore.Models
{
public class CartItem
{
[Key]
public string CartItemId { get; set; }
[Required]
public string CartId ... | 2.080945 | b08c573028bb61bcdd891cc694bebf9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816077 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "martindevans/Miki.Anilist",
"max_stars_repo_path": "Miki.Anilist.Tests/Queries.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135297"
} | starcoder | using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Miki.Anilist.Tests
{
public class Queries
{
[Fact]
public async Task GetCharacter()
{
AnilistClient client = new AnilistClient();
var ch = await client.GetCharacterAsync("miki");
Assert.NotNull(ch);
ch = await client.GetChara... | 2.61577 | d4e2cc3ca5cdb4281e7679eaa62fb462 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816078 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "moto2002/mobahero_src",
"max_stars_repo_path": "CamTap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135298"
} | starcoder | <filename>CamTap.cs<gh_stars>1-10
using System;
using UnityEngine;
public class CamTap
{
private static CamTap _instance;
private int mask;
private float camH;
private Vector3 camPos0;
private Vector3 scr0;
private Vector3 wPos;
private Vector3 wPosN;
private bool tapping;
private... | 2.488645 | a5b5450da386a102eca309aff4c317ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816079 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "highfield/cetdevelop",
"max_stars_repo_path": "V2/Cet/IO/Cet.IO/Hashing/HashAlgorithmBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135299"
} | starcoder | <reponame>highfield/cetdevelop<filename>V2/Cet/IO/Cet.IO/Hashing/HashAlgorithmBase.cs
/*
* Copyright 2012, 2013 by <NAME>, Cet Electronics
* Part of "Cet Open Toolbox" (http://cetdevelop.codeplex.com/)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in... | 2.054765 | 4f121cee202fc99aaa1b494bc730820f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816080 | {
"extension": "c-sharp",
"max_stars_count": "79.0",
"max_stars_repo_name": "KIT-ISAS/iviz",
"max_stars_repo_path": "iviz_msgs/rosbridge_library/msg/TestHeaderTwo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135300"
} | starcoder | <filename>iviz_msgs/rosbridge_library/msg/TestHeaderTwo.cs
/* This file was created automatically, do not edit! */
using System.Runtime.Serialization;
namespace Iviz.Msgs.RosbridgeLibrary
{
[Preserve, DataContract (Name = "rosbridge_library/TestHeaderTwo")]
public sealed class TestHeaderTwo : IDeserializable<... | 2.055188 | dc747870dfeb9a38984192ab75c64d78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816081 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "sillsdev/HearThis",
"max_stars_repo_path": "src/HearThis/Publishing/SaberPublishingMethod.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135301"
} | starcoder | // --------------------------------------------------------------------------------------------
#region // Copyright (c) 2020, SIL International. All Rights Reserved.
// <copyright from='2011' to='2020' company='SIL International'>
// Copyright (c) 2020, SIL International. All Rights Reserved.
//
// Distributable und... | 2.417259 | cd537034b6d364ad7203fdb90896cbcc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816082 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "zanseb/ChangeCurator",
"max_stars_repo_path": "src/ChangeCurator.SDK/Models/ProjectSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135302"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace ChangeCurator.SDK.Models
{
public class ProjectSettings
{
public string ProjectName { get; }
public string RootDirectory { get; }
public string IssueUrl { get; }
public ProjectSettings(string projec... | 2.052002 | 070fdc7050dabb1220de609199e1c562 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816083 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "mklement0/runtime",
"max_stars_repo_path": "src/libraries/System.Private.CoreLib/src/System/Diagnostics/CodeAnalysis/RequiresAssemblyFilesAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135303"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Diagnostics.CodeAnalysis
{
/// <summary>
/// Indicates that the specified member requires assembly files to be on disk.
/// </summary>
[AttributeUsag... | 2.773338 | 3f8e11af8a06b2e784dbf74a0180cc9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816084 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "realitycollective/com.xrtk.core",
"max_stars_repo_path": "Runtime/Utilities/RenderPipelineUtilities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135304"
} | starcoder | // Copyright (c) XRTK. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using RealityCollective.Extensions;
using UnityEngine.Rendering;
using RenderPipeline = RealityCollective.Definitions.Utilities.RenderPipeline;
namespace RealityToolkit.Utilities
{
... | 2.235512 | 740dfd197204eb925fb3c68dfdb8ab0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816085 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "furkanyazar/RentACar",
"max_stars_repo_path": "Business/ValidationRules/FluentValidation/UserOperationClaimValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135305"
} | starcoder | <reponame>furkanyazar/RentACar<filename>Business/ValidationRules/FluentValidation/UserOperationClaimValidator.cs
using Business.Constants;
using Core.Entities.Concrete;
using FluentValidation;
namespace Business.ValidationRules.FluentValidation
{
public class UserOperationClaimValidator : AbstractValidator<UserOp... | 1.980888 | da93436a3d5aaa0a4cb152da7dc0d217 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816086 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "simeonradivoev/2D-Platformer",
"max_stars_repo_path": "Assets/Scripts/Editor/SoundLibraryInspector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135306"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
using System.Reflection;
using UnityEditor;
using UnityEditorInternal;
using UnityEngine;
namespace Trive.Editor
{
[CustomEditor(typeof(SoundLibrary)),CanEditMultipleObjects]
public class SoundLibraryInspector : UnityEditor.Editor
{
private ReorderableList list;
... | 2.071518 | e99b20d559c6f629952734caf39ca9df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816087 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndersWangRask/IP-Change-Notification-AWS",
"max_stars_repo_path": "src/IPChange.Core/EC2SecurityGroupWorker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135307"
} | starcoder | <gh_stars>0
using Amazon;
using Amazon.EC2;
using Amazon.EC2.Model;
using IPChange.Core.Model;
using IPChange.Core.Model.Config;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace IPChange.Core
{
internal class EC2SecurityGroupWorker : BaseAw... | 2.352423 | 884a3548ae33aebf04b8ce9b8c6cd01d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816088 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VFlyer/ktane-deckOfManyThings",
"max_stars_repo_path": "Assets/Scripts/CelestialCard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135308"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using KModkit;
using rnd = UnityEngine.Random;
class CelestialCard : StandardCard {
public int arcana;
public CelestialCard()
{
arcana = rnd.Range(0, 22);
}
public override string PrintLogMessage()
{
return string.Format("Card Nº... | 2.525472 | 8e1a6783bd9dc2de9aeee6c9892b1b90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816089 | {
"extension": "c-sharp",
"max_stars_count": "498.0",
"max_stars_repo_name": "joncjacobs/lunr-core",
"max_stars_repo_path": "LunrCore/PipelineFunctionRegistry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135309"
} | starcoder | <reponame>joncjacobs/lunr-core
using System.Collections.Generic;
using System.Linq;
namespace Lunr
{
/// <summary>
/// A registry of named pipeline functions.
/// </summary>
public sealed class PipelineFunctionRegistry : Dictionary<string, Pipeline.Function>
{
public PipelineFunctionRegist... | 2.08548 | cd091656edb7e3a382301c792674b5a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816090 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hankzzh/excel2json",
"max_stars_repo_path": "JsonExporter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135310"
} | starcoder | using System;
using System.IO;
using System.Data;
using System.Text;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace excel2json
{
/// <summary>
/// 将DataTable对象,转换成JSON string,并保存到文件中
/// </summary>
class JsonExporter
{
string mContext = "";
int mHeaderRows = 0;
... | 2.823295 | 259fbc9390e7ef551d2bdc4380754b63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816091 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JeremyKuhne/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/DirectX/um/d3d11/D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_OUTPUT.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135311"
} | starcoder | <reponame>JeremyKuhne/terrafx.interop.windows<filename>sources/Interop/Windows/DirectX/um/d3d11/D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_OUTPUT.cs
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/... | 1.329839 | 915e3845b27bba776c977632b63225e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816092 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Y2PM/2WeekProjectSecondVersion",
"max_stars_repo_path": "Tests/DBLayerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135312"
} | starcoder | <reponame>Y2PM/2WeekProjectSecondVersion
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DBLayer.Create;
using DBLayer;
using Moq;
using System.Data.Entity;
using System.Collections.Generic;
using System.Linq;
using DBLayer.Delete;
using DBLayer.Read;
using DBLayer.Update;
namespac... | 2.500705 | fa8d3f1bad7ec9b234b7cd013c605d28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816093 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "HDYA/eShopOnWeb",
"max_stars_repo_path": "src/Web/Views/Manage/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135313"
} | starcoder | @using Microsoft.eShopWeb.Views.Manage | 0.846064 | e07e8cfcd6e33df38fddb1294d849916 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816094 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexjordany/IMS",
"max_stars_repo_path": "IMS.Persistence/Repositories/InventoryRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135314"
} | starcoder | <filename>IMS.Persistence/Repositories/InventoryRepository.cs
using IMS.Application.Contracts.Persistence;
using IMS.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using System.Linq;
namespace IMS.Persistence.Repositories
{
public class InventoryRepository : BaseRepository<Inventory>, IInventoryRepository
... | 2.54273 | 3d920cfa3d89f7305ffac735d52cbe5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816095 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TargetProcess/Tp.I18n",
"max_stars_repo_path": "src/Tp.I18n.Tests/IntlTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135315"
} | starcoder | <filename>src/Tp.I18n.Tests/IntlTests.cs
using System.Collections.Generic;
using System.Linq;
using Jeffijoe.MessageFormat;
using NUnit.Framework;
namespace Tp.I18n.Tests
{
public class IntlTests
{
private Intl Intl => new Intl(new MessageFormatter(false));
[Test]
public void FormatMe... | 2.845248 | 4a04b21debbc1396926d63bb6ca4df5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816096 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "tedvanderveen/aspnetcore-service-fabric-hosting",
"max_stars_repo_path": "src/CoherentSolutions.Extensions.Hosting.ServiceFabric/src/Fabric/IStatelessServiceHostEventSourceReplicaTemplate.cs",
"provenance": "train-00027-of-00045.json... | starcoder | <reponame>tedvanderveen/aspnetcore-service-fabric-hosting<gh_stars>10-100
namespace CoherentSolutions.Extensions.Hosting.ServiceFabric.Fabric
{
public interface IStatelessServiceHostEventSourceReplicaTemplate
: IStatelessServiceHostEventSourceReplicableTemplate,
IServiceHostEventSourceReplicaTemp... | 0.97474 | 640bc699092a5824d8e542f05aa44e56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816097 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Deus0/Zeltexium",
"max_stars_repo_path": "Assets/Scripts/Generators/ClassGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135317"
} | starcoder | <reponame>Deus0/Zeltexium
using UnityEngine;
using System.Collections;
using MakerGuiSystem;
using Zeltex.Items;
using Zeltex.Util;
using Zeltex;
using Zeltex.Combat;
namespace Zeltex.Characters
{
/// <summary>
/// Generates Character Classes.
/// To Do:
/// - heirarchy of classes and subclasses -... | 2.40264 | 383fb691c294eec5af4118cdb54eaf25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815842 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PeaStew/Nfantom",
"max_stars_repo_path": "Nfantom.Contracts/ContractDeploymentMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135062"
} | starcoder | <reponame>PeaStew/Nfantom<filename>Nfantom.Contracts/ContractDeploymentMessage.cs
using Nfantom.Util;
using Nfantom.Hex.HexConvertors.Extensions;
using Nfantom.Contracts.CQS;
namespace Nfantom.Contracts
{
public class ContractDeploymentMessage : ContractMessageBase
{
public ContractDeploymentMessage(... | 1.673787 | cf0dcb6a967c11bdb8479e72811de9de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815843 | {
"extension": "c-sharp",
"max_stars_count": "291.0",
"max_stars_repo_name": "sakno/MissingPieces",
"max_stars_repo_path": "src/DotNext.Reflection/Reflection/MissingFieldException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135063"
} | starcoder | namespace DotNext.Reflection;
/// <summary>
/// Indicates that requested field doesn't exist.
/// </summary>
public sealed class MissingFieldException : ConstraintViolationException
{
/// <summary>
/// Initializes a new exception indicating that requested field doesn't exist.
/// </summary>
/// <param... | 2.88119 | e285189d0a96a54e17bbb53fe5974014 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815844 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AddinX/AddinX.Bootstrap",
"max_stars_repo_path": "src/Contract/IRunnerMain.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135064"
} | starcoder | namespace AddinX.Bootstrap.Contract
{
public interface IRunnerMain
{
void ExecuteAll();
void Start();
}
} | 1.355563 | b6357b7448d5bf7a7a6fe21c5bd42e49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815845 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fortedigital/ForteEpiDemo",
"max_stars_repo_path": "src/EpiDemo.Web/Features/Partials/ArticleTeaser/ArticleTeaser.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135065"
} | starcoder | <filename>src/EpiDemo.Web/Features/Partials/ArticleTeaser/ArticleTeaser.cshtml
@model EpiDemo.Web.Features.Partials.ArticleTeaser.ArticleTeaserViewModel
<a href="@Url.ContentUrl(Model.ArticleLink)">
<div>
<h3>@Model.Title</h3>
</div>
</a> | 2.018798 | 543f874249165779fa53a527ac9a6d63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815846 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mattioso/SynopticProjectC",
"max_stars_repo_path": "ApprenticeTips/ApprenticeTips.Test/ControllerTests/InterestControllerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135066"
} | starcoder | using ApprenticeTips.App.Controllers;
using Microsoft.AspNetCore.Mvc;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Text;
namespace ApprenticeTips.Test.ControllerTests
{
[TestClass]
public class InterestControllerTest
{
[TestMethod... | 2.036703 | 3d04cf97f3d2e1463fe26680b10724e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815847 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tanzimsiddiqee/nopPractice",
"max_stars_repo_path": "src/Presentation/Nop.Web/Views/Customer/UserAgreement.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135067"
} | starcoder | @model UserAgreementModel
@{
Layout = "_ColumnsOne";
//page class
NopHtml.AppendPageCssClassParts("html-user-agreement-page");
}
<script asp-location="Footer">
$(document).ready(function () {
$("#agreement-agree").on('click', toggleContinueButton);
toggleContinueButton();
});
f... | 2.164797 | df7ba32256bd11eee62149cc7febb9f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815848 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "velunin/Shop",
"max_stars_repo_path": "Shop.Web/Views/Order/Payment.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135068"
} | starcoder | <gh_stars>1-10
@model PaymentModel
@{
ViewData["Title"] = "Payment";
}
<h2>Payment form</h2>
@if (!string.IsNullOrEmpty(Model.Message))
{
<div class="alert alert-success">@Model.Message</div>
}
else
{
using (Html.BeginForm("Payment", "Order", FormMethod.Post))
{
@Html.HiddenFor(m => m.OrderId)... | 2.291071 | 2341e6a0ba11488fcb2d31027a5c489d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815849 | {
"extension": "c-sharp",
"max_stars_count": "129.0",
"max_stars_repo_name": "SQLauto/Ilaro.Admin",
"max_stars_repo_path": "src/Ilaro.Admin/Areas/IlaroAdmin/Views/Group/_GroupPartial.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135069"
} | starcoder | @model GroupModel
@if (!Model.Name.IsNullOrEmpty())
{
<h3>@Html.ActionLink(Model.Name, "Index", new { groupName = Model.Name })</h3>
}
<table class="table table-striped table-bordered table-hover">
<tbody>
@foreach (var entity in Model.Entities)
{
<tr>
<td class="ma... | 2.208991 | 331826e7042c53e05a436e73348bcfd1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815850 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mat-mcloughlin/Cedar",
"max_stars_repo_path": "src/Cedar.Tests/Queries/Fixtures/TestQueryWhichReturnsNull.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135070"
} | starcoder | <filename>src/Cedar.Tests/Queries/Fixtures/TestQueryWhichReturnsNull.cs
namespace Cedar.Queries.Fixtures
{
public class TestQueryWhichReturnsNull
{}
public class TestQueryWhichReturnsNullResponse
{}
} | 1.069634 | f18def6d41ed74bbd3f2ed8608fb2426 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815851 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fluxera/Fluxera.Extensions.Hosting",
"max_stars_repo_path": "src/Fluxera.Extensions.Hosting/Plugins/PluginSourceList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135071"
} | starcoder | <filename>src/Fluxera.Extensions.Hosting/Plugins/PluginSourceList.cs
namespace Fluxera.Extensions.Hosting.Plugins
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using JetBrains.Annotations;
[UsedImplicitly]
internal sealed class PluginSourceList : List<IPluginSour... | 2.188329 | a9462206d20fee7bcef8e658a5b01b32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815852 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "suhsteve/interactive",
"max_stars_repo_path": "Microsoft.DotNet.Interactive/Server/KernelCommandEnvelope.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135072"
} | starcoder | <filename>Microsoft.DotNet.Interactive/Server/KernelCommandEnvelope.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Concurrent;
using System.Collectio... | 2.128327 | 12ca08bdd2f522926e6d030ea8391f20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815853 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "pug-pelle-p/tharga-console",
"max_stars_repo_path": "Tharga.Toolkit.Console/Interfaces/IKeyInputEngine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135073"
} | starcoder | <filename>Tharga.Toolkit.Console/Interfaces/IKeyInputEngine.cs
using System;
using System.Threading;
namespace Tharga.Toolkit.Console.Interfaces
{
public interface IKeyInputEngine
{
void Feed(string data);
ConsoleKeyInfo ReadKey(CancellationToken cancellationToken);
}
} | 1.934258 | 0f34f9430b76c8292dfb7aacf70ad42a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815854 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "skttl/umbraco-blocklistmvc",
"max_stars_repo_path": "src/Our.Umbraco.BlockListMvc/Composing/Current.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135074"
} | starcoder | <gh_stars>1-10
using Our.Umbraco.BlockListMvc.Controllers;
using System;
using Umbraco.Core;
namespace Our.Umbraco.BlockListMvc.Composing
{
public class Current
{
private static Type _defaultBlockListMvcControllerType;
// internal - can only be accessed through Composition at compose time
... | 2.24885 | d29ad1248494a90c7dc7e6813efb0624 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815855 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rafaelcorazzi/mvp24hours-netcore",
"max_stars_repo_path": "src/Tests/Mvp24Hours.Patterns.Test/Support/Entities/Contact.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135075"
} | starcoder | <filename>src/Tests/Mvp24Hours.Patterns.Test/Support/Entities/Contact.cs
//=====================================================================================
// Developed by <NAME> (<EMAIL>)
// Teacher, Architect, Consultant and Project Leader
// Virtual Card: https://www.linkedin.com/in/kallebelins
//==============... | 2.47918 | 3aa3b39ddd9d38dfbe50afae457e1062 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815856 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KRA2008/cringebot",
"max_stars_repo_path": "Cringebot/Cringebot.iOS/AppDelegate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135076"
} | starcoder | using System;
using System.Collections.Generic;
using Cringebot.Model;
using Cringebot.Wrappers;
using Foundation;
using UIKit;
using Cringebot.iOS;
using Cringebot.Services;
using System.Linq;
using UserNotifications;
using Xamarin.Forms;
[assembly: Dependency(typeof(AppDelegate))]
namespace Cringebot.i... | 1.696819 | 82868558cd20717f66176bf26919c9ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815857 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ita-social-projects/SoftServeCar-Back-End",
"max_stars_repo_path": "Car.Backend/Car.Domain/Services/Implementation/ChatService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135077"
} | starcoder | <filename>Car.Backend/Car.Domain/Services/Implementation/ChatService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using Car.Data.Entities;
using Car.Data.Infrastructure;
using Car.Domain.Dto;
using Car.Domain.Dto.Chat;
using Car.Domain.Extensions... | 2.270144 | f542fde873e7cbd19e696cd134cd3387 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815858 | {
"extension": "c-sharp",
"max_stars_count": "185.0",
"max_stars_repo_name": "Kiirx/Aura-Operating-System",
"max_stars_repo_path": "Aura Operating System/Aura_OS/System/Shell/cmdIntr/c_Console/SetKeyboardMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135078"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Sys = Cosmos.System;
namespace Aura_OS.System.Shell.cmdIntr.c_Console
{
class CommandKeyboardMap : ICommand
{
/// <summary>
/// Empty constructor.
/// </summary>
public CommandKeyboardMap(string[] commandv... | 2.785379 | 0fd1f69574eb1058e73b1238b2d5cfbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815859 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iulian-rusu/ip-proiect",
"max_stars_repo_path": "Diagrams/Altova Project/GeneratedCode/Strategy/Strategy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135079"
} | starcoder |
public abstract class Strategy
{
private Color color;
public abstract void Draw();
internal abstract void MouseMoved(int x, int y);
internal abstract void MouseClicked(int x, int y);
internal abstract void IsDone();
internal abstract void ColorChanged(Color color);
}
| 2.393531 | 4e369545f5678b56f6482fdad8b94bc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815860 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SkillsFundingAgency/das-levy-transfer-matching-web",
"max_stars_repo_path": "src/SFA.DAS.LevyTransferMatching.Domain/ApiClient/IGetAllApiRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135080"
} | starcoder | <gh_stars>1-10
using System.Text.Json.Serialization;
namespace SFA.DAS.LevyTransferMatching.Domain.ApiClient
{
public interface IGetAllApiRequest : IBaseApiRequest
{
[JsonIgnore]
string GetAllUrl { get; }
}
}
| 1.218814 | 4944eb2ac20e8316a6e8b83b5e6074ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815861 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sh0nZi/MediaShare",
"max_stars_repo_path": "MediaShare.Models/MediaType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135081"
} | starcoder | <filename>MediaShare.Models/MediaType.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MediaShare.Models
{
public enum MediaType
{
Audio = 0,
Video = 1
}
} | 1.76999 | 58070e1f93ec802f4842e2201a423fe0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HolisticWare-Applications/Ph4ct3x",
"max_stars_repo_path": "source/user-interface/maui/Utilities/Weather/HolisticWare.Ph4ct3x.Utilities.Weather.DHMZ_MeteoHR_PrognozaHR.UI.MAUI/DHMZ_MeteoHR_PrognozaHR/3d_graf_i_simboli.cs",
"provenance... | starcoder | <filename>source/user-interface/maui/Utilities/Weather/HolisticWare.Ph4ct3x.Utilities.Weather.DHMZ_MeteoHR_PrognozaHR.UI.MAUI/DHMZ_MeteoHR_PrognozaHR/3d_graf_i_simboli.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// ... | 1.830198 | 7214b26e18746532d34b08127c556bb1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815863 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ryo-st/ArrowProject",
"max_stars_repo_path": "Assets/Scripts/Moveeffect.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135083"
} | starcoder | <reponame>ryo-st/ArrowProject
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Moveeffect : MonoBehaviour {
// Update is called once per frame
void Update () {
transform.Rotate(transform.forward, 2);
transform.position = new Vector2(transform.position.x, ... | 1.862155 | d2c80444e9e75a476f01f1f86859134a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815864 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "onuar/HardRock",
"max_stars_repo_path": "HardRock.ExceptionHandling/BaseExceptionHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135084"
} | starcoder | using System;
using HardRock.ExceptionHandling.Interfaces;
namespace HardRock.ExceptionHandling
{
public abstract class BaseExceptionHandler : IExceptionHandler
{
public int Order { get; set; }
public virtual Exception HandledException(Exception exception, IExecutionContext executionContext)
... | 2.363267 | dd31096426262a26b158d37b62fbf931 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815865 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DevJ0049/spine-runtimes",
"max_stars_repo_path": "spine-unity/Assets/Spine Examples/Scripts/Sample Components/SkeletonUtility Modules/SkeletonUtilityEyeConstraint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135085"
} | starcoder | /******************************************************************************
* Spine Runtimes License Agreement
* Last updated January 1, 2020. Replaces all prior versions.
*
* Copyright (c) 2013-2020, Esoteric Software LLC
*
* Integration of the Spine Runtimes into software or otherwise creating
* derivative... | 2.158518 | 88c55ee92d2701383d9c1e75c049b90e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815866 | {
"extension": "c-sharp",
"max_stars_count": "941.0",
"max_stars_repo_name": "liffeyd/Dnn.Platform",
"max_stars_repo_path": "DNN Platform/Library/Security/Permissions/PermissionProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135086"
} | starcoder | // 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
namespace DotNetNuke.Security.Permissions
{
using System;
using System.Collections;
using System.Colle... | 1.658137 | 535d3cf9a281487e57aed29ba9f3561e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815867 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Nebby1999/EnforcerMod",
"max_stars_repo_path": "EnforcerMod_Unity/Enforcer/Assets/Scripts/FootstepHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135087"
} | starcoder | <reponame>Nebby1999/EnforcerMod<filename>EnforcerMod_Unity/Enforcer/Assets/Scripts/FootstepHandler.cs
using System;
using UnityEngine;
public class FootstepHandler : MonoBehaviour
{
public string baseFootstepString;
public string sprintFootstepOverrideString;
public bool enableFootstepDust;
public Gam... | 2.022711 | 5b0ec0cd3562404cf9d0fca8554a9957 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815868 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmagues/zemoga.blog",
"max_stars_repo_path": "zemoga.blog.webui/Views/User/Register.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135088"
} | starcoder | <reponame>dmagues/zemoga.blog
@model zemoga.blog.webui.Models.RegisterModel
@{
ViewData["Title"] = "Register";
}
<h1>Register</h1>
<hr />
<div class="row">
<div class="col-md-4">
<form asp-action="Register">
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
... | 2.10725 | 223ba890d7ea92ef3da1a0b0483a7857 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815869 | {
"extension": "c-sharp",
"max_stars_count": "479.0",
"max_stars_repo_name": "okyuanzhui/bb",
"max_stars_repo_path": "ReflectionAndDynamic/ReflectionSamples/TypeView/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135089"
} | starcoder | using System;
using System.Reflection;
using System.Text;
namespace TypeView
{
class Program
{
private static StringBuilder OutputText = new StringBuilder();
static void Main()
{
// modify this line to retrieve details of any other data type
Type t = typeof(dou... | 3.592086 | 96eb7e85ebb30fa9bbc8a8247f30902e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815870 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "otapi/SecureNotesPlugin",
"max_stars_repo_path": "KeeNotesPluginExt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135090"
} | starcoder | /*
KeeNotesPlugin Plugin
Copyright (C) 2017 otapiGems <<EMAIL>>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
... | 2.001301 | 326c74d0bcc1949de3e257919b597f82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jdluzen/Xamarin-Forms-Labs",
"max_stars_repo_path": "src/Platform/XLabs.Platform.WP8/Device/Battery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135091"
} | starcoder | // ***********************************************************************
// Assembly : XLabs.Platform.WP8
// Author : XLabs Team
// Created : 12-27-2015
//
// Last Modified By : XLabs Team
// Last Modified On : 01-04-2016
// ****************************************************************... | 2.40858 | 67932e6b14f3ae268683f301b43aed89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EmilYordanov4/ASP.Net-Core-Project-Diet-Calculator-System",
"max_stars_repo_path": "DietCalculatorSystem/Services/Users/IUserService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135092"
} | starcoder | using DietCalculatorSystem.Data.Models;
namespace DietCalculatorSystem.Services.Users
{
public interface IUserService
{
User CreateUser(string fullname,
string email);
void DeleteDiets(string balancedDietId,
string deficitDietId,
string surplusDietId);
... | 2.008438 | 676457b3ad4caad82ff49d710659d851 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815873 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JuanGdelaCruz/GrobnerBasis",
"max_stars_repo_path": "Colorable/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135093"
} | starcoder | using System;
using System.Windows.Forms;
using Microsoft.Msagl.Drawing;
using Color = Microsoft.Msagl.Drawing.Color;
using Node = Microsoft.Msagl.Drawing.Node;
using Shape = Microsoft.Msagl.Drawing.Shape;
using GröbnerBasis.PolynomialRings;
using System.Linq;
using System.Collections.Generic;
using System.Numerics;
u... | 2.332146 | 3d71da4e232a2be60a7c47ea8ee6abc9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815874 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tobogganeer/MP-Proj-Setup",
"max_stars_repo_path": "Assets/Scripts/UI/Menus/HostMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135094"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class HostMenu : MonoBehaviour
{
public Slider maxPlayersSlider;
public TMP_Dropdown lobbyModeDropdown;
public TMP_Text maxPlayersText;
private void Start()
{
maxPlayer... | 2.419886 | f0062fe46a01721edd718b6d4967b895 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815875 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jamesbascle/DeployR-dotnet-client-library",
"max_stars_repo_path": "src/RProject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135095"
} | starcoder | <gh_stars>1-10
/*
* RProject.cs
*
* Copyright (C) 2010-2015 by Microsoft Corporation
*
* This program is licensed to you under the terms of Version 2.0 of the
* Apache License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNES... | 2.325617 | 9a0f082a7efdcd56d235cac063829ca3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815876 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "slay9090/vk",
"max_stars_repo_path": "examples/VkNet.Wpf/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135096"
} | starcoder | using System.Windows;
using VkNet.Model.RequestParams;
using VkNet.Shared;
namespace VkNet.Wpf
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow
{
private readonly VkApi _api;
public MainWindow()
{
InitializeComponen... | 2.249247 | e44aa4ef4e5fd8583cc9bdf4d0e66e1a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815877 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tallseth/Wizards-Castle-csharp",
"max_stars_repo_path": "WizardsCastle.Logic.Tests/Data/PlayerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135097"
} | starcoder | using NUnit.Framework;
using WizardsCastle.Logic.Data;
namespace WizardsCastle.Logic.Tests.Data
{
[TestFixture]
internal class PlayerTests
{
[TestCase(Race.Dwarf, 10, 6, 8)]
[TestCase(Race.Human, 8, 8, 8)]
[TestCase(Race.Elf, 6, 10, 8)]
[TestCase(Race.Hobbit, 4, 12, 4)]
... | 2.67591 | 3a042e549a5254041662e0d86eb8ff10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815878 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Peefy/TeachingPlatformApp",
"max_stars_repo_path": "ViewModels/MainWindowViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135098"
} | starcoder | <reponame>Peefy/TeachingPlatformApp
using System;
using System.Net;
using System.Net.Sockets;
using System.Windows;
using System.Windows.Controls;
using System.Threading.Tasks;
using Prism.Mvvm;
using Prism.Commands;
using DuGu.NetFramework.Services;
using DuGu.NetFramework.Logs;
using TeachingPlatformApp.WswPlatfo... | 1.696226 | 539c6105a8fffd9fac4513eddbd30f22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815879 | {
"extension": "c-sharp",
"max_stars_count": "142.0",
"max_stars_repo_name": "plundgren-code/CompileScore",
"max_stars_repo_path": "CompileScore/VSIX/Common/EditorContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135099"
} | starcoder | <reponame>plundgren-code/CompileScore
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using EnvDTE;
using EnvDTE80;
using Microsoft;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
using Newtonsoft.Json... | 1.890701 | 483b2a04c4cc7980d9ad96b25b2af94b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815880 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "smabuk/AdventOfCode",
"max_stars_repo_path": "Solutions/2015/Day08.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135100"
} | starcoder | namespace AdventOfCode.Solutions.Year2015;
/// <summary>
/// Day 08: Matchsticks
/// https://adventofcode.com/2015/day/8
/// </summary>
[Description("Matchsticks")]
public class Day08 {
public static string Part1(string[] input, params object[]? _) => Solution1(input).ToString();
public static string Part2(string[... | 3.399601 | d9788f29c5b9941bb3a72be2c77fa71b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815881 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "v1nnyb0y/HSE.Practice.WebApp",
"max_stars_repo_path": "Provider/CurrentSession/User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135101"
} | starcoder | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Provider.CurrentSession
{
/// <summary>
/// Class for the current User
/// </summary>
public class User : Person
{
#region Fields
[DataType(DataType.Text)]
[Display(Name = "Организ... | 2.857791 | 06fb22a0afb4243e23f49946be6aa547 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chenjunsheep/SXH",
"max_stars_repo_path": "Sxh.Server/Sxh.Server/Services/LogProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135102"
} | starcoder | <reponame>chenjunsheep/SXH
using Sxh.Business.DbProxy;
using Sxh.Business.Models;
using Sxh.Db.Models;
using System;
using System.Threading.Tasks;
namespace Sxh.Server.Services
{
public class LogProvider
{
public static async Task LogAsync(string msg, LogType logType)
{
try
... | 1.920208 | c3896d2fd13f3e6f50db95987f4860f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815883 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mwherman2000/neo-npcc",
"max_stars_repo_path": "neo-npcc/npcc/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135103"
} | starcoder | using Mono.Cecil;
using Mono.Cecil.Cil;
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.Diagnostics;
using System.Threading;
namespace npcc
{
public enum NPCLevels
{
// NPCLevel0Basic, NPCLevel1Managed, NPCLev... | 1.920773 | f4bf33c8cb6e00b4e51bc92d0958bad0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815884 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mindleaving/commons",
"max_stars_repo_path": "Mathematics/Combinatorics.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135104"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
namespace Commons.Mathematics
{
public static class Combinatorics
{
public static IEnumerable<IEnumerable<T>> GenerateCombination<T>(ICollection<T> letters, int level)
{
foreach (var letter in letters)
... | 3.155328 | 60b730cd3ea7a097c2c6c49e32358913 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "baomen/bmmf",
"max_stars_repo_path": "Assembly/BaoMen.MultiMerchant/System/BusinessLogic/RoleManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135105"
} | starcoder | /*
Author: WangXinBin
CreateTime: 2019/9/23 14:34:58
*/
using BaoMen.MultiMerchant.System.Entity;
using BaoMen.Common.Constant;
using BaoMen.Common.Data;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Data;
using System.Linq;
using System.Reflectio... | 1.864617 | 85c81b9c820161989d5dd0ad6e510940 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815886 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mwcaisse/pydeployer-web",
"max_stars_repo_path": "PyDeployer/PyDeployer.Data/Mapping/ApplicationMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135106"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using OwlTin.Common.Data;
using PyDeployer.Common.Entities;
namespace PyDeployer.Data.Mapping
{
public class ApplicationMap : IEntityTypeConfiguration<Appl... | 2.178471 | 0150cbf03c92f8f4738b197000aa7ba3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815887 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bluesoul02/The-rebirth-of-a-ressentful-spirit",
"max_stars_repo_path": "Assets/Scripts/Player/SpawnPlayer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135107"
} | starcoder | <gh_stars>0
using UnityEngine;
public class SpawnPlayer : MonoBehaviour
{
// ce script permet simplement de définir l'endroit où le joueur apparaît quand il change de scène
private void Start()
{
GameObject.FindGameObjectWithTag("Player").transform.position = transform.position;
}
}
| 1.636253 | 15bdef2e4c1db347af821880447c6323 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815888 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "0ceal0t/Dalamud-VFXEditor",
"max_stars_repo_path": "VFXEditor/Avfx/Vfx/Components/UIParameters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135108"
} | starcoder | using AVFXLib.Models;
using ImGuiNET;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace VFXEditor.Avfx.Vfx {
public class UIParameters : UIItem {
public string Name;
public UIParameters( string name ... | 2.190513 | 31e7d7b75a0789dfec39cf1999265ab0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815889 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "itsbijay/jewelinventory",
"max_stars_repo_path": "JewelInventory/Connections/Objects/SupplierProperties.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135109"
} | starcoder | <reponame>itsbijay/jewelinventory<gh_stars>1-10
using System;
using System.Runtime.Serialization;
namespace Connections
{
[DataContract]
public class SupplierProperties
{
[DataMember]
public String FirstName { get; set; }
[DataMember]
public String MiddleName { get; set; }
[DataMember]
public String ... | 2.062629 | 85203a5642b3b2e971f0b948837900a1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.