added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96889 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "li1808464468/XLuaProject",
"max_stars_repo_path": "Assets/TDFramework/Core/Scenes/StartScene/StartSceneController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96890"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using LuaFramework;
using TDFramework;
using TDFramework.Resource;
using TDFramework.Tool;
using UnityEngine;
using UnityEngine.AddressableAssets;
using UnityEngine.ResourceManagement.AsyncOperations;
using UnityEngine.SceneManagement;
using XLua;... | 1.973733 | 51dbc37d0cc9614d716cca257ba75ecc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "buildsoft-eu/plugin-workshop",
"max_stars_repo_path": "src/Plugin.Example/Localization/Import.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96891"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 1.990904 | be800a21f7e7c38f8b0c4b45620363b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96891 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "daramkun/RemotePresent",
"max_stars_repo_path": "RemotePresent/WindowsPhone/RemoteMediaControl/DataManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96892"
} | starcoder | using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.IO.IsolatedStorage;
using System.IO;
na... | 2.376043 | d74040a72db086df8f36e45b5493ac8f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96892 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "morosanmihail/SharpGenetics",
"max_stars_repo_path": "SharpGenetics/SharpGenetics/Predictor/KNNPredictor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96893"
} | starcoder | <filename>SharpGenetics/SharpGenetics/Predictor/KNNPredictor.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using SharpGenetics.BaseClasses;
using Accord.MachineLearning;
using Accord.Statistics;
using SharpGene... | 2.518661 | 2975aba7cb0d95abe2f3112653819e06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96893 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chi-rei-den/Silverfish",
"max_stars_repo_path": "cards/DALARAN/DAL/Sim_DAL_773.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96894"
} | starcoder |
/* _BEGIN_TEMPLATE_
{
"id": "DAL_773",
"name": [
"魔法飞毯",
"Magic Carpet"
],
"text": [
"在你使用一张法力值消耗为(1)的随从牌后,使其获得+1攻击力和<b>突袭</b>。",
"After you play a 1-Cost minion, give it +1 Attack and <b>Rush</b>."
],
"CardClass": "NEUTRAL",
"type": "MINION",
"cost": 3,
"rarity": "EPIC",
"set": "DA... | 1.945128 | 3448c98e50955bd7ec9da1895e94c2a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96894 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jpinz/OSSGadget",
"max_stars_repo_path": "src/Shared/OssGadgetLib.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96895"
} | starcoder | <reponame>jpinz/OSSGadget
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
namespace Microsoft.CST.OpenSource
{
using Helpers;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Http;
using PackageManagers;
using System;
using System.Net.Http;
... | 2.03172 | cd22a26a60f6a791c7be42ebcaf65f52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96895 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jackofdiamond5/Software-University",
"max_stars_repo_path": "C# Fundamentals/C# OOP Advanced/Unit Testing/Unit Testing_Exer/Ex. 2 - Extended Database/Person.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96896"
} | starcoder | <gh_stars>0
public class Person
{
public Person(int id, string name)
{
this.Id = id;
this.Username = name;
}
public int Id { get; }
public string Username { get; }
}
| 2.312767 | 7eda044dfe718638c241f6acfec6dc5c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96896 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "RoguePlanetoid/Spotify-NetStandard",
"max_stars_repo_path": "Spotify.NetStandard/Spotify.NetStandard/Responses/Section.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96897"
} | starcoder | <reponame>RoguePlanetoid/Spotify-NetStandard
using System.Runtime.Serialization;
namespace Spotify.NetStandard.Responses
{
/// <summary>
/// Section Object
/// </summary>
[DataContract]
public class Section : TimeInterval
{
/// <summary>
/// The overall loudness of the section ... | 2.610427 | ac72b93904089252cad6a515c6593045 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96897 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "fudiwei/DotNetCore.SKIT.FlurlHttpClient.Upyun",
"max_stars_repo_path": "src/SKIT.FlurlHttpClient.Upyun.Sim/Extensions/UpyunSimClientExecuteLoginExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96898"
} | starcoder | <filename>src/SKIT.FlurlHttpClient.Upyun.Sim/Extensions/UpyunSimClientExecuteLoginExtensions.cs
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Flurl.Http;
namespace SKIT.FlurlHttpClient.Upyun.Sim
{
public static class UpyunSimClientExecuteLoginExtensions
{
... | 2.44268 | a2bab33ea04a39a322e44e3983a316ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96898 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Influx-Davin/ring-engine",
"max_stars_repo_path": "Assets/Scripts/BreathBubble.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96899"
} | starcoder | using UnityEngine;
public class BreathBubble : MonoBehaviour
{
public AudioClip particleStart, particleEnd;
public ParticleSystem waterSplash;
new private ParticleSystem particleSystem;
private AudioSource audioSource;
private Vector3 particlePosition;
private void Start()
{
parti... | 2.148946 | 8b65dcf952d575f06c90942eb5402764 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96899 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stuart-gill/WordCounter.Solution",
"max_stars_repo_path": "WordCounter/Models/WordCounter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96900"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using WordCounter;
namespace WordCounter.Models
{
public class WordCounterClass
{
private string _sentence;
private string _word;
public List<string> stringList;
public WordCounterClass (string senten... | 3.659554 | b8747d0afa437b393bc728f001aa8271 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96900 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AaronReynoldsUK/Educ8IT.AspNetCore.SimpleApi",
"max_stars_repo_path": "Educ8IT.AspNetCore.SimpleApi/Services/ApiMapperServiceCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96901"
} | starcoder | <reponame>AaronReynoldsUK/Educ8IT.AspNetCore.SimpleApi
// Copyright (c) <NAME>. All rights reserved. Licensed under the Apache License, Version 2.0.
using Educ8IT.AspNetCore.SimpleApi.DocumentationProviders;
using Educ8IT.AspNetCore.SimpleApi.Routing;
using Microsoft.Extensions.DependencyInjection;
using System;
usin... | 2.066369 | e33326e1ec9edbe49b94dd80b90dddbd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96901 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "ModerRAS/nsonic",
"max_stars_repo_path": "NSonic.Tests/Connections/ConnectionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96902"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using NSonic.Impl;
using NSonic.Impl.Connections;
using NSonic.Impl.Net;
using NSonic.Tests.Stubs;
using System.Threading.Tasks;
namespace NSonic.Tests.Connections
{
[TestClass]
public class ConnectionTests : TestBase
{
private Fixture ... | 1.971886 | d1e25444cadf19949e0ef8b6f3ad76aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96902 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0x4D616E75/GitLabApiClient",
"max_stars_repo_path": "src/GitLabApiClient/Models/Tags/Requests/DeleteTagRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96903"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using GitLabApiClient.Internal.Utilities;
namespace GitLabApiClient.Models.Tags.Requests
{
/// <summary>
/// Used to delete a tag in a project
/// </summary>
public sealed class DeleteTagRequest
{
/// <summary>
/// ... | 2.635782 | 0450953af73936058fe94d6f14bc516d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96903 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JelleKerkstra/LessLinq",
"max_stars_repo_path": "LessLinq/GenericExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96904"
} | starcoder | <reponame>JelleKerkstra/LessLinq<filename>LessLinq/GenericExtensions.cs
using System.Collections.Generic;
namespace LessLinq
{
public static class GenericExtensions
{
/// <summary>
/// Returns a sequence consisting of the source element.
/// </summary>
/// <typeparam name="T">T... | 2.951071 | 79331d9e541f6389989e46ac46740380 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96904 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cjaliaga/TrackSeries.TheTVDB.Client",
"max_stars_repo_path": "src/TrackSeries.TheTVDB.Client/Languages/LanguagesClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96905"
} | starcoder | using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
using TrackSeries.TheTVDB.Client.Models;
namespace TrackSeries.TheTVDB.Client.Languages
{
internal class LanguagesClient : BaseClient, ILanguagesClient
{
p... | 2.738832 | 5c488358f984058cfce924d89325f469 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96905 | {
"extension": "c-sharp",
"max_stars_count": "5973.0",
"max_stars_repo_name": "olirobert/uno",
"max_stars_repo_path": "src/Uno.UI/Microsoft/UI/Xaml/Controls/Repeater/NonvirtualizingLayoutContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96906"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using Windows.UI.Xaml;
namespace Microsoft.UI.Xaml.Controls
{
public partial class NonVirtualizingLayoutContext : La... | 2.08015 | ba8d3c36b05e6ef16b45987314d5a086 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96906 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jamesmontemagno/LiLo.Lite",
"max_stars_repo_path": "Source/LiLo.Lite/LiLo.Lite/Services/Sockets/ISocketsService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96907"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="ISocketsService.cs" company="InternetWideWorld.com">
// Copyright (c) <NAME>, InternetWideWorld. All rights reserved.
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR ... | 2.514745 | 3146bf3d491f75c04d0d069afc972e6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96907 | {
"extension": "c-sharp",
"max_stars_count": "160.0",
"max_stars_repo_name": "RockNHawk/Lucene.Net.Analysis.PanGu",
"max_stars_repo_path": "src/PanGu.HighLight/Formatter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96908"
} | starcoder | <reponame>RockNHawk/Lucene.Net.Analysis.PanGu
using System;
using System.Collections.Generic;
using System.Text;
namespace PanGu.HighLight
{
public interface Formatter
{
string HighlightTerm(string originalText);
}
}
| 1.270894 | 94e9f651c347b8ad74000b3a9c017b7a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96908 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "ScriptBox99/RazorComponents.Markdown",
"max_stars_repo_path": "demo/HostBase/Client/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96909"
} | starcoder | <filename>demo/HostBase/Client/Program.cs
using System;
using System.Net.Http;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Text;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Mic... | 2.07639 | 5550768ae487d12c20cf33acac27f645 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96909 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "manuelstein/synapse",
"max_stars_repo_path": "src/Runner/Synapse.Runner.Application/Services/WorkflowRunner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96910"
} | starcoder | using CloudNative.CloudEvents;
using ConcurrentCollections;
using k8s.Models;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.Rest;
using ServerlessWorkflow.Sdk.Models;
using Synapse.Domain.Models;
using Synapse.Runner.Application.Configuratio... | 2.026658 | 86d210b44baff880bc05dfe47bd378ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96910 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "losttech/RL.NET",
"max_stars_repo_path": "src/Envs/RepeatObservation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96911"
} | starcoder | namespace RL.Envs;
using RL.Spaces;
[PublicAPI]
public class RepeatObservation : IEnvironment<float, float, float, Box<float>, Box<float>>,
IPseudorandom<int> {
static readonly Box<float> Space = new(low: 0, high: 1);
static readonly bool[] NeverDone = new bool[1];
public float LastObservation { get... | 2.313566 | 559c9464d7d535a271fbd770a7eb61ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96911 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "danpoage/hall-of-beorn",
"max_stars_repo_path": "src/HallOfBeorn/Services/Digital/DigitalProductRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96912"
} | starcoder | <reponame>danpoage/hall-of-beorn
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using HallOfBeorn.Models.Digital;
using HallOfBeorn.Models.Digital.ProductGroups;
namespace HallOfBeorn.Services.Digital
{
public class DigitalProductRepository : IProductRepository<Digit... | 2.657831 | f85da9701fa346dca02087e0d3b9a634 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96912 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasonreimer/Praetorium",
"max_stars_repo_path": "Source/Praetorium.UnitTests/Logging/JsonExceptionFormatter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96913"
} | starcoder | <filename>Source/Praetorium.UnitTests/Logging/JsonExceptionFormatter.cs
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using Praetorium.Logging;
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization.Formatters;
using System.Linq;
using System.Reflectio... | 2.584518 | 6dfe85bf4748240ab12fcd7ee0f8a673 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96913 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PetrKahler/NancyFileUpload",
"max_stars_repo_path": "NancyFileUpload/NancyFileUpload.Test/Infrastructure/Domain/FileSizeTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96914"
} | starcoder | <gh_stars>1-10
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using NancyFileUpload.Infrastructure.Domain;
using NUnit.Framework;
using System;
using Unit = NancyFileUpload.Infrastructure.Domain.FileSize.Unit;
names... | 2.395413 | c7c51f6833fdc759a29f96cfedc4a39a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96914 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stenvix/blueboard-api-",
"max_stars_repo_path": "src/BlueBoard.Module.Identity/Commands/RemoveParticipantHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96915"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
using BlueBoard.Contract.Common;
using BlueBoard.Contract.Identity.Commands;
using BlueBoard.Module.Common.Exceptions;
using BlueBoard.Module.Identity.Repositories;
using BlueBoard.Persistence.Abstractions;
using MediatR;
namespace BlueBoard.Module.Identity.Command... | 2.149669 | 8e4287d0345f3563f0910e11718f31cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96915 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "advorange/Advobot",
"max_stars_repo_path": "src/Advobot.Core/Services/LogCounters/LogCounter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96916"
} | starcoder | <filename>src/Advobot.Core/Services/LogCounters/LogCounter.cs
using AdvorangesUtils;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace Advobot.Services.LogCounters;
/// <summary>
/// Used in logging. Holds the name of what is being logged and the count.
/// </summary>
internal sealed cla... | 3.049972 | f7a75aca8c1ca36a4c7f07e49ea829e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96916 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AxelBrinck/MoonSharpExample",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96917"
} | starcoder | using System;
using System.IO;
using MoonSharp.Interpreter;
namespace MoonSharpExample
{
class Program
{
static double Factorial(int factorial)
{
Script script = new Script();
script.Globals["factorial"] = factorial;
double number;
try
... | 3.132271 | e02bcce38d6f3fd474005a255d17c881 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96917 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "otac0n/MediaLibrary",
"max_stars_repo_path": "MediaLibrary.Storage/Search/SearchDialect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96918"
} | starcoder | <gh_stars>1-10
// Copyright © <NAME>. All Rights Reserved. This source is subject to the MIT license. Please see license.md for more information.
namespace MediaLibrary.Storage.Search
{
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Medi... | 2.277283 | 5712ad24a389361fde6a0d59f3782013 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96918 | {
"extension": "c-sharp",
"max_stars_count": "80.0",
"max_stars_repo_name": "McHarny/tankinspector",
"max_stars_repo_path": "TankInspector/UIComponents/EquivalentArmorView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96919"
} | starcoder | <reponame>McHarny/tankinspector
using Smellyriver.TankInspector.Graphics.Scene;
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Threading;
namespace Smellyriver.TankInspector.UIComponents
{
/// <summary>
/// Intera... | 2.069545 | 498444682a7f472e5e2957d7649d1c42 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96919 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ditrace/csharp",
"max_stars_repo_path": "Kontur.Tracing.Core/Timepoint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96920"
} | starcoder | <reponame>ditrace/csharp<filename>Kontur.Tracing.Core/Timepoint.cs
using Kontur.Tracing.Core.Impl;
namespace Kontur.Tracing.Core
{
public enum Timepoint
{
[StringValue("cs")] ClientSend,
[StringValue("cr")] ClientReceive,
[StringValue("sr")] ServerReceive,
[StringValue("ss")] S... | 1.737183 | 969b8b37cc9ac722671ca2a4715d6276 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96920 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "waidelotte/WDLT.Feed",
"max_stars_repo_path": "WDLT.Feed.Database/FeedDatabase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96921"
} | starcoder | using System;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using WDLT.Feed.Database.Entities;
namespace WDLT.Feed.Database
{
public class FeedDatabase : DbContext
{
public DbSet<DBCard> Cards { get; set; }
public DbSet<DBSubscription> Subscription... | 2.453246 | add4ab30a4a1154926a47930c9f66c83 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96921 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "_no_namespace/ArrayMemoryPool.ArrayMemoryPoolBuffer--T--.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96922"
} | starcoder | <filename>_no_namespace/ArrayMemoryPool.ArrayMemoryPoolBuffer--T--.cs<gh_stars>1-10
private sealed class ArrayMemoryPool.ArrayMemoryPoolBuffer<T> : IMemoryOwner<T>, IDisposable // TypeDefIndex: 4397
{
// Fields
private T[] _array; // 0x0
// Properties
public Memory<T> Memory { get; }
// Methods
// RVA: -1 Offs... | 1.958679 | d16811dada8487474434e945722f4577 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96922 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cjburchell/DungeonEscape",
"max_stars_repo_path": "DungeonEscape/State/StatusEffect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96923"
} | starcoder | <filename>DungeonEscape/State/StatusEffect.cs
namespace Redpoint.DungeonEscape.State
{
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
public enum EffectType
{
OverTime,
Sleep,
Confusion,
StopSpell,
Buff
}
public enum DurationType
{
... | 2.466475 | df0e5da4652d3ccda5c8eeef11724ebe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96923 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasoncouture/dd-trace-dotnet",
"max_stars_repo_path": "tracer/test/Datadog.Trace.ClrProfiler.Managed.Tests/AutoInstrumentation/Logging/ILogger/DirectSubmissionLoggerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96924"
} | starcoder | <gh_stars>0
// <copyright file="DirectSubmissionLoggerTests.cs" company="Datadog">
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc.
// </copyright... | 1.778668 | 0805abb247d677b89e9f77421076bbd2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96924 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Inkh/Zoo",
"max_stars_repo_path": "Zoo/Classes/Dolphin.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96925"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Zoo.Interfaces;
namespace Zoo.Classes
{
public class Dolphin : AquaticMammal, IDoTricks
{
public override bool HasGill { get; set; } = false;
public override string SizeOfBaby { get; set; } = "4 ft and 35 lbs";
pu... | 2.967297 | 0ee417391db787c934fd9cd57ee07cd8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96925 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "batuu007/GoldenBridgeGamesDemo",
"max_stars_repo_path": "Assets/Scripts/CollisionEffectiveness.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96926"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CollisionEffectiveness: MonoBehaviour
{
public GameObject explosion;
private void OnCollisionEnter(Collision collision)
{
if (collision.gameObject.tag.Equals("Limo"))
{
Player.instance.L... | 2.169779 | 1fb0a44364ff943c04246ef88e80a640 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96926 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RlolN/openiddict-core",
"max_stars_repo_path": "src/OpenIddict.NHibernate/OpenIddictNHibernateBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96927"
} | starcoder | /*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/openiddict/openiddict-core for more information concerning
* the license and the contributors participating to this project.
*/
using System;
using System.ComponentModel;
using JetBrains.Annot... | 2.196277 | 732f134efef20e7ccc08323ddc812b6f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96927 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivaxor/telegram-healthcheck",
"max_stars_repo_path": "IVAXOR.TelegramHealthCheck.Web/Controllers/HealthCheckController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96928"
} | starcoder | using System.ComponentModel.DataAnnotations;
using IVAXOR.TelegramHealthCheck.Models;
using IVAXOR.TelegramHealthCheck.Services.Interfaces;
using Microsoft.AspNetCore.Mvc;
namespace IVAXOR.TelegramHealthCheck.Web.Controllers;
[Route("api/healthchecks")]
[ApiController]
public class HealthCheckController : Controller... | 2.062139 | d40b312971e0a93c5bd4fd7f98788eca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96928 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zarpluh/programmingfundamentals",
"max_stars_repo_path": "Objects and Classes - Lab/04. Distance between Points/DistanceBetweenPoints.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96929"
} | starcoder | <reponame>zarpluh/programmingfundamentals<filename>Objects and Classes - Lab/04. Distance between Points/DistanceBetweenPoints.cs
using System;
using System.Linq;
namespace _04.Distance_between_Points
{
public class DistanceBetweenPoints
{
public static double CalculateDistance(Point firstPoint, Point... | 3.959181 | 0c911f8d5627f41bac3e706976edfdc4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96929 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vgdagpin/Canary",
"max_stars_repo_path": "Src/Canary.Infrastructure/Persistence/Configurations/BlogPostConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96930"
} | starcoder | using Canary.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Canary.Infrastructure.Persistence.Configurations
{
public class BlogPostConfiguration : IEntityTypeConfiguration<BlogPost>
{
public void Configure(EntityTypeBuilder<BlogP... | 2.447263 | 5a23187dea2dc5c5be2f98ee01bb99ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96930 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BryanApellanes/bam.net.shared",
"max_stars_repo_path": "Data/IDeleteable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96931"
} | starcoder | /*
Copyright © <NAME> 2015
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Bam.Net.Data
{
public interface IDeleteable
{
void Delete(Database db = null);
void WriteDelete(SqlStringBuilder sql);
}
}
| 1.63936 | 1b62f0312d0e0f050b2108647aec32bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96931 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GaelAtMeritis/KoansMultithreading",
"max_stars_repo_path": "KoansMultithreading/AboutTaskObject/NoChangeAllow/Contract/IWorkerFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96932"
} | starcoder | using System;
namespace KoansMultithreading.AboutTaskObject.NoChangeAllow.Contract
{
public interface IWorkerFactory<T>
{
Func<T> CreateWorker();
}
} | 1.643856 | 2115d03cbf45665d85b971a0da928ebf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96932 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dontito88/Arrays",
"max_stars_repo_path": "TripleSum/TripleSum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96933"
} | starcoder | <gh_stars>1-10
namespace TripleSum
{
using System;
public class TripleSum
{
public static void Main()
{
string[] input = Console.ReadLine().Split(' ');
long[] numbers = new long[input.Length];
for (int i = 0; i < input.Length; i++)
{
... | 3.957685 | ea4d4d9a81587b69e06b700d9df4896c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96933 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vincelee888/MassTransit",
"max_stars_repo_path": "src/MassTransit.Tests/MessageContext_Specs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96934"
} | starcoder | <filename>src/MassTransit.Tests/MessageContext_Specs.cs
// Copyright 2007-2011 <NAME>, <NAME>, <NAME>, et. al.
//
// 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:/... | 1.921814 | 8658ffd5a4a7397da81123fe382c6bae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96934 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "amangallon/SwiftClient.NetStandard",
"max_stars_repo_path": "src/SwiftClient/Interfaces/ISwiftAuthManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96935"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace SwiftClient
{
public interface ISwiftAuthManager
{
SwiftCredentials Credentials { get; set; }
Func<string, string, string, Task<SwiftAuthData>> Authenticate { get; set; }
/// <sum... | 2.547451 | 7d67d2fb65dd41629b792e413383d3cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96935 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mouseflow/elasticsearch-net",
"max_stars_repo_path": "src/Nest/Cluster/RootNodeInfo/RootNodeInfoRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96936"
} | starcoder | <filename>src/Nest/Cluster/RootNodeInfo/RootNodeInfoRequest.cs
namespace Nest
{
[MapsApi("info.json")]
public partial interface IRootNodeInfoRequest { }
public partial class RootNodeInfoRequest { }
public partial class RootNodeInfoDescriptor { }
}
| 1.052141 | 42448cfe38fc190809c06d641b029590 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96936 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "Autoafterdarkphx/payflow-gateway",
"max_stars_repo_path": "dotNET/PFProSDK/src/PayPal/Payments/DataObjects/MagtekInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96937"
} | starcoder | #region "Imports"
using System;
using PayPal.Payments.Common.Utility;
using PayPal.Payments.Common.Exceptions;
#endregion
namespace PayPal.Payments.DataObjects
{
/// <summary>
/// Used for Magtek related information.
/// </summary>
/// <remarks>Use the MagtekInfo object for the Magtek
/// encryp... | 2.371857 | b81853fdd4d477987e771c9178373713 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96937 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "goaaats/mogboard",
"max_stars_repo_path": "CoinachExporter/MogboardDataExporter/Exporters/WorldExports.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96938"
} | starcoder | <reponame>goaaats/mogboard
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Lumina.Excel.GeneratedSheets;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Cyalume = Lumina.GameData;
namespace MogboardDataExporter.Exporters
{
public static class WorldExports
{
public ... | 2.397887 | 7c5880eafffac2ca23ca31ef814abfc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96938 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kuaidaoyanglang/TaiChi",
"max_stars_repo_path": "TaiChi.Framework/TaiChi.Core.Mvc/Utility/CustomAutofacModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96939"
} | starcoder | <filename>TaiChi.Framework/TaiChi.Core.Mvc/Utility/CustomAutofacModule.cs
using Autofac;
using Autofac.Extras.DynamicProxy;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TaiChi.Core.Interface;
using TaiChi.Core.Service;
namespace TaiChi.Core.Mvc.Utility
{
p... | 2.114666 | 00a7a557d3ddc455f4d5c55de77a5026 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96939 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "plasroom46/DesignPattern.Sample",
"max_stars_repo_path": "CSharp/DP.Domain/Samples/State/StateDone.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96940"
} | starcoder | using System.Diagnostics;
namespace DP.Domain.Samples.State
{
public class StateDone : State
{
public override void Action(Context context)
{
//Do something
//No next state
context.CurrentState = null;
Trace.WriteLine("Close the requi... | 2.670175 | e817b50b48ec8abf294c60ad41bda59c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96940 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HennerM/Flunkyball",
"max_stars_repo_path": "Assets/Scripts/Projectile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96941"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using UnityEngine.Networking;
namespace Assets.Scripts
{
public class Projectile : NetworkBehaviour
{
public event ShotsFired OnShotFired;
public void FireShot(Vector3 transformVector)
... | 2.249602 | b33f6bdedf4aaa1b94b27768305bc651 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96941 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cassyojr/TruckControl",
"max_stars_repo_path": "TruckControl/Mapper/ViewModelDomainProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96942"
} | starcoder | using AutoMapper;
using Domain.Entities;
using TruckControl.Models;
namespace TruckControl.Mapper
{
public class ViewModelDomainProfile : Profile
{
public ViewModelDomainProfile()
{
CreateMap<RegisterTruckViewModel, Truck>()
.ForMember(x => x.Name, opt => opt.MapFro... | 1.907327 | f6f1ef3757e21685c7710a5db9dd5310 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96942 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mhmtgzl/Authentication.Server",
"max_stars_repo_path": "Common.Shared/DTO/NoDataDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96943"
} | starcoder | <filename>Common.Shared/DTO/NoDataDto.cs
namespace Common.Shared.DTO
{
public class NoDataDto
{
}
}
| 1.073238 | 2a229f5a7906ffd353972825ded777bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96943 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "chencai01/scada-v6",
"max_stars_repo_path": "ScadaServer/OpenModules/ModArcPostgreSql.Logic/QueryBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96944"
} | starcoder | // Copyright (c) Rapid Software LLC. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
namespace Scada.Server.Modules.ModArcPostgreSql.Logic
{
/// <summary>
/// Builds requests for creating an... | 2.456811 | ddabcdad0fcd5262df2e5640ccc4ec76 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96944 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jojo-WJ/SsitEngine",
"max_stars_repo_path": "Assets/SsitFramework/SsitEngine.Unity/UI/Common/Utility/EventSystemUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96945"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
namespace SsitEngine.Unity.UI.Common.Utility
{
/// <summary>Utility for EventSystem.</summary>
public static class EventSystemUtility
{
/// <summary>Check mouse pointer is over target gameobject?</summary>
... | 2.743097 | 80c7a9cfc8fb63d284ac47b7d9bbc354 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96945 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "realares/Phoenix-Point_SavegameEditor",
"max_stars_repo_path": "PWRA_Parser/Base/Entities/Statuses/StatModification.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96946"
} | starcoder | using Base.Utils;
using PP_Parser.Parser;
using PP_Parser.Parser.Binary;
namespace Base.Entities.Statuses
{
public class StatModification : PhonixBaseObjectBaseValue
{
public PhoenixEnum Modification { get; set; }
public string StatName { get; set; }
[PhoenixBinType(PhoenixTypeCode.Fl... | 1.498852 | 71127ae74c3685f8c869fc92ff468f2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96946 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/tl-result-and-certification",
"max_stars_repo_path": "src/Tests/Sfa.Tl.ResultsAndCertification.Api.Client.UnitTests/Clients/ResultsAndCertificationInternalApiClientTest/When_FindProvider_Called.cs",
"provenance": "... | starcoder | using FluentAssertions;
using NSubstitute;
using Sfa.Tl.ResultsAndCertification.Api.Client.Clients;
using Sfa.Tl.ResultsAndCertification.Api.Client.Interfaces;
using Sfa.Tl.ResultsAndCertification.Common.Helpers;
using Sfa.Tl.ResultsAndCertification.Models.Configuration;
using Sfa.Tl.ResultsAndCertification.Models.Con... | 2.065564 | 2de21c5c90efdd8f351fb5a8be006e97 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96947 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "average34/SetCards",
"max_stars_repo_path": "SetCards/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96948"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SetCards.Cards;
using System.Runtime.Serialization.Json;
using System.IO;
namespace SetCards
{
class Program
{
static void Main(string[] args)
{
Ca... | 2.725755 | 90d372e4c56e4c292140d6caa6c20c2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96948 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kwaclaw/KdSoft.Services",
"max_stars_repo_path": "Data Access/KdSoft.Data/IDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96949"
} | starcoder | using System;
using System.Data.Common;
using System.Globalization;
namespace KdSoft.Data
{
/// <summary>
/// Interface for managing connection strings and connections. Helps keep connections alive
/// between database and service calls, mainly to prevent a transaction from implicitly
/// being eleva... | 2.990504 | b751dfde07081e1c691e22405daf3adc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96949 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ericsciple/bumblebee",
"max_stars_repo_path": "BumblebeeTests/PatternConstructionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96950"
} | starcoder | <gh_stars>1-10
using Bumblebee;
using FluentAssertions;
using Xunit;
namespace BumblebeeTests
{
public class PatternConstructionTests
{
[Theory]
[InlineData("a.M()")]
[InlineData("a.M")]
[InlineData("a + 1")]
[InlineData("a()")]
[InlineData("(a)")]
[Inli... | 2.59234 | 6d43aecfaf9ca6b4848229171e88be40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96950 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jmojiwat/SparkPostFun",
"max_stars_repo_path": "src/SparkPostFun/Sending/ClientAbTestingExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96951"
} | starcoder | using LanguageExt;
using static SparkPostFun.ClientExtensions;
namespace SparkPostFun.Sending;
public static class ClientAbTestingExtensions
{
public static Task<Either<ErrorResponse, Unit>> CancelAbTest(this Client @this, string id)
{
var requestUrl = $"/api/{@this.Version}/ab-test/{id}/cancel";
... | 2.054149 | ffd5d96164b49b1e253b23f3378c129b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96951 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "imadyTech/NebuLog",
"max_stars_repo_path": "imady.NebuLog/GlobalExceptionFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96952"
} | starcoder | <filename>imady.NebuLog/GlobalExceptionFilter.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace MyLogger
{
class GlobalExceptionFilter
{
}
}
| 1.140391 | a483e55afd37ef39c9e23b02b9045b00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "simplynaveen20/azure-cosmos-dotnet-v3",
"max_stars_repo_path": "Microsoft.Azure.Cosmos/src/CosmosConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96953"
} | starcoder | <reponame>simplynaveen20/azure-cosmos-dotnet-v3
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos
{
using System;
using System.Data.Common;... | 2.206992 | 0f1bcc39518cd8d747d228217343a502 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96953 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jnnrz/Birdie.Core",
"max_stars_repo_path": "src/Data/Migrations/20210819161024_FixesSavedSearchTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96954"
} | starcoder | <reponame>jnnrz/Birdie.Core<filename>src/Data/Migrations/20210819161024_FixesSavedSearchTable.cs
using Microsoft.EntityFrameworkCore.Migrations;
namespace Birdie.Core.Data.Migrations
{
public partial class FixesSavedSearchTable : Migration
{
protected override void Up(MigrationBuilder migrationB... | 1.86983 | 9b8e4ad4675bd5ca7db3d307aa4282dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96954 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "teachmeskills-dotnet/TMS-DotNet02-Straltsou",
"max_stars_repo_path": "src/LearnApp.Common/Config/AppSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96955"
} | starcoder | namespace LearnApp.Common.Config
{
/// <summary>
/// Application settings for JWT creation.
/// </summary>
public class AppSettings
{
/// <summary>
/// Security key which serves for creating JSON web token.
/// </summary>
public string SecretEncryptionKey { get; set;... | 2.338931 | c6274fbb3549d89537e798a99662e27f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96955 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sedders123/StatusUpdater",
"max_stars_repo_path": "status-updater/CallsWorker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96956"
} | starcoder | using System;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
namespace status_updater
{
public class CallsWorker : BackgroundService
{
private readonly StatusManager _statusManager;
/// <summary>
/... | 2.667871 | 94c4275cc7c94d72aa5fa14bece6bcf7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96956 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/DeepCopy-1",
"max_stars_repo_path": "DeepCopy.Fody/ModuleWeaver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96957"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using DeepCopy.Fody.Utils;
using Fody;
using Mono.Cecil;
using Mono.Cecil.Cil;
using Mono.Cecil.Rocks;
#region ModuleWeaver
namespace DeepCopy.Fody
{
public partial class ModuleWeaver : BaseModule... | 1.92969 | 7615b517784ab6fcc648a17d2f1ad891 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96957 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "PenguinF/sandra-three",
"max_stars_repo_path": "Benchmarks/JsonParserBenchmarks.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96958"
} | starcoder | #region License
/*********************************************************************************
* JsonParserBenchmarks.cs
*
* Copyright (c) 2004-2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... | 1.931227 | bc57d42b4886ebbf84be831723b10278 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Eld1nH/project-euler",
"max_stars_repo_path": "ProjectEuler/Page2/081 - 090/Problem086.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96959"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ProjectEuler.Page2._081___090
{
// Cuboid route
public class Problem086
{
public static string Algorithm()
{
int result = 2;
int count = 0;
int target = 1000... | 3.250009 | 3f092a9303775b61309acc017cb302f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96959 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "Stefangansevles/RemindMe",
"max_stars_repo_path": "RemindMe/Forms/Old forms/RemindMeMessageForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96960"
} | starcoder | using Business_Logic_Layer;
using Database.Entity;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace RemindMe
{
publ... | 2.601059 | a43ccf286af3c5da4607c67872f2925d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96960 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qiqigou/QuickFrame",
"max_stars_repo_path": "QuickFrame.Extensions/ContainerExtensions/RegisterServicesAndRepositorySetup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96961"
} | starcoder | <filename>QuickFrame.Extensions/ContainerExtensions/RegisterServicesAndRepositorySetup.cs
using System.Linq;
using System.Reflection;
using Autofac;
using Autofac.Extras.DynamicProxy;
using QuickFrame.Common;
using QuickFrame.IServices;
using QuickFrame.Repositorys;
namespace QuickFrame.Extensions
{
/// <summary>... | 2.414461 | a9dba6914dd6c6ba1211e539dd3ddc53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96961 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sionth/Alchemaster",
"max_stars_repo_path": "Alchemy TD/Assets/Scripts/Wall.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96962"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Wall : MonoBehaviour {
[HideInInspector]
public GameObject pathingGrid;
private GameObject alchemyManager;
private AudioSource audioSource;
public AudioClip[] sounds;
// Use this for initialization... | 2.139531 | 769fc85e5e360c2be1f39ee8b01abff9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96962 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robkeimig/riotjs-nancy-turnkey-app",
"max_stars_repo_path": "Model/Board.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96963"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
namespace NancyApplication.Model
{
public class Board
{
public string Name { get; set; }
public IList<Post> Posts { get; set; }
public IList<User> Moderators { get; set; }
}
}
| 1.199298 | 5b28dfa547f7b1fdc2a6c2715872557c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96963 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "CodeFactoryLLC/CodeFactoryDocs",
"max_stars_repo_path": "src/CodeFactoryVisualStudio/CodeFactory.VisualStudio/IChildren.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96964"
} | starcoder | <reponame>CodeFactoryLLC/CodeFactoryDocs
//*****************************************************************************
//* Code Factory SDK
//* Copyright (c) 2020 CodeFactory, LLC
//*****************************************************************************
namespace CodeFactory.VisualStudio
{
/// <summary>
... | 1.890457 | f5b98626e89a3b9a456e006855d13974 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96964 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "REDNIGHT/space-war",
"max_stars_repo_path": "Assets/RNKit/ECS/Systems/NetworkIdSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96965"
} | starcoder | using Unity.Burst;
using Unity.Collections;
using Unity.Entities;
using Unity.Jobs;
using UnityEngine;
namespace RN.Network
{
[ServerNetworkEntity]
[ClientNetworkEntity]
public struct NetworkId : IComponentData
{
public int value;
}
public struct NetworkIdSerialize : NetworkSerializeUn... | 1.888101 | 7dc08af72bb135a56895f6b1f5d6aa94 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96965 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "czimerk/factory_demo",
"max_stars_repo_path": "ConsoleApp1/Abstractions/IAnimal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96966"
} | starcoder | <reponame>czimerk/factory_demo
using System;
using System.Collections.Generic;
using System.Text;
namespace AFact.Abstractions
{
interface IAnimal
{
public string Speak();
}
}
| 1.660197 | 1bffa561df064d01c4ac5f8071ab40b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96966 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jordan3900/WinnersLeague",
"max_stars_repo_path": "src/WinnersLeague.Web/Views/Matches/Details.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:96967"
} | starcoder | @model MatchViewModel
@{
ViewData["Title"] = "Match Details";
}
<h2 class="text-center">Match Details</h2>
<div class="row d-flex justify-content-center">
<div class="card text-center col-lg-9">
<div class="card-header">
@Model.MatchStart
</div>
<div class="card-body d-f... | 2.576598 | e3a6f196c930f473ba60c2a9b91b5afb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96967 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1904-apr22-net/paul-project1",
"max_stars_repo_path": "StoreApplicationWeb/StoreApplicationWeb/Controllers/OrderController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96968"
} | starcoder | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using StoreApplication.DataAccess;
using StoreApplication.DataAccess.Entities;
using StoreApplication.Library;
using StoreApplication.Library.Interfaces;
using StoreApplicationWeb.Models;
using System;
using Syst... | 2.189168 | e60b8ee53f7d6d4b8654ee35f9134aff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96968 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aspekt1024/AIManagement",
"max_stars_repo_path": "Assets/Scripts/AI/AIComponents/AIPlanner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96969"
} | starcoder | using System;
using System.Linq;
using System.Collections.Generic;
using Aspekt.AI.Planning;
namespace Aspekt.AI
{
public class AIPlanner
{
private AIAgent agent;
private AIGoal currentGoal;
private Queue<AIAction> actions = new Queue<AIAction>();
private AIAStar aStar = new AI... | 2.887977 | 063fcb65a4a7033bfcbc27d563dc1f36 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96969 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hn20156066/GlobalHook",
"max_stars_repo_path": "GlobalHook/GHForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96970"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Drawing;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing.Drawing2D;
using System.Drawing.Text;
using System.Threading;
n... | 2.061854 | 0447c7140831b3be2ff91a5614477f5b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96970 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Novocain1/VolumetricShading",
"max_stars_repo_path": "src/Dialog/Config/SubDialogs/ScreenSpaceReflectionsGui.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96971"
} | starcoder | using Vintagestory.API.Client;
namespace Shaders
{
class ScreenSpaceReflectionsGui : AdvancedOptionsDialog
{
protected override string DialogKey => "vsmodSSRConfigure";
protected override string DialogTitle => "Screen Space Reflections Options";
public ScreenSpaceReflectionsGui(ICoreC... | 2.160907 | 039c27244c293c3895cd5bfd9540dd97 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96971 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "fernandovmp/kanban-board",
"max_stars_repo_path": "src/KanbanBoard.WebApi/Services/IDateTimeProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96972"
} | starcoder | <gh_stars>1-10
using System;
namespace KanbanBoard.WebApi.Services
{
public interface IDateTimeProvider
{
DateTime Now();
DateTime UtcNow();
}
}
| 1.667093 | 04c6d091dc8f73f8ff99b91c60ac8840 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96972 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "josh-leeming/BlyncLightForSkype",
"max_stars_repo_path": "BlyncLightForSkype.Client/Models/UserStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96973"
} | starcoder | namespace BlyncLightForSkype.Client.Models
{
public enum UserStatus
{
None, Connecting, Offline, Online, Away, Busy
}
} | 1.366965 | 3ea39352152deaf4182e21e589e67d64 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96973 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nodios/baasic-sdk-net",
"max_stars_repo_path": "src/Baasic.Client/Clients/Articles/IArticleClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96974"
} | starcoder | <filename>src/Baasic.Client/Clients/Articles/IArticleClient.cs
using Baasic.Client.Core;
using Baasic.Client.Model;
using Baasic.Client.Model.Articles;
using System;
using System.Threading.Tasks;
namespace Baasic.Client.Modules.Articles
{
/// <summary>
/// Article Module Client.
/// </summary>
public ... | 2.533467 | 7e48c42543b9258d7d0d045a202b897c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96974 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Backendless/.NET-SDK",
"max_stars_repo_path": "Projects/TestProject/Tests/Json/JsonTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96975"
} | starcoder | <filename>Projects/TestProject/Tests/Json/JsonTests.cs
using Xunit;
using System;
using BackendlessAPI;
using Newtonsoft.Json;
using TestProject.Tests.Utils;
using System.Collections.Generic;
using BackendlessAPI.Persistence;
namespace TestProject.Tests.Json
{
[Collection( "Tests" )]
public class JsonTests : IDi... | 2.355399 | 5e2322284aaa938ea90743d6ebc1acbf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96975 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NaskoVasilev/CSharp-OOP-Basics",
"max_stars_repo_path": "Exceptions/Exceptions/ConvertToDouble/ConvertToDouble.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96976"
} | starcoder | using System;
namespace ConvertToDouble
{
class ConvertToDouble
{
static void Main(string[] args)
{
try
{
string input = Console.ReadLine();
double number = Convert.ToDouble(input);
Console.WriteLine(number);
}... | 3.417228 | 7a582ed7508418d7e4d90f36da378da7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96976 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasonho215/FrontLineLive",
"max_stars_repo_path": "Web/Models/PpeStatusViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96977"
} | starcoder | using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Web.Db;
namespace Web.Models
{
public partial class PpeStatusViewModel
{
public PpeTypes PpeType { get; set; }
public PpeStatus Status { get; set; }
pu... | 1.853749 | 64e5b34a41d0c9d7f580f378d8606f09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96977 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ligos/terninger",
"max_stars_repo_path": "Terninger.EntropySources.Extended/EntropySources/Local/ProcessStatsSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96978"
} | starcoder | <filename>Terninger.EntropySources.Extended/EntropySources/Local/ProcessStatsSource.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using System.Security.Cryptography;
using MurrayGrant.Terninger.Ran... | 2.562565 | 056efdb3afdd0ad2b8f77ca83729cdd6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96978 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "crisbratz/Template-WebAPI-DDD-DotNet-Postgres",
"max_stars_repo_path": "Source/Domain/Common/CustomDateTime/IDateTime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96979"
} | starcoder | <filename>Source/Domain/Common/CustomDateTime/IDateTime.cs
using System;
namespace Domain.Common.CustomDateTime;
public interface IDateTime
{
DateTime Today { get; }
DateTime UtcNow { get; }
} | 2.301512 | 2d27ea22335a890409c70e625b6d4a2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96979 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YauGoh/My.Maui.Responsive",
"max_stars_repo_path": "src/My.Maui.Responsive/Layouts/IContainerLayout.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96980"
} | starcoder | <reponame>YauGoh/My.Maui.Responsive
using Microsoft.Maui;
using System;
using System.Collections.Generic;
using System.Text;
namespace My.Maui.Responsive.Layouts
{
internal interface IContainerLayout : ILayout
{
IEnumerable<IView> GetOrderedVisibleRows();
}
}
| 1.423586 | 9fc602d5a696b73e52d432af5285e1db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96980 | {
"extension": "c-sharp",
"max_stars_count": "2957.0",
"max_stars_repo_name": "ywscr/AsyncEx",
"max_stars_repo_path": "test/AsyncEx.Tasks.UnitTests/CancellationTokenTaskSourceUnitTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96981"
} | starcoder | <filename>test/AsyncEx.Tasks.UnitTests/CancellationTokenTaskSourceUnitTests.cs
using System;
using System.Threading.Tasks;
using Nito.AsyncEx;
using System.Linq;
using System.Threading;
using Nito.AsyncEx.Testing;
using Xunit;
namespace UnitTests
{
public class CancellationTokenTaskSourceUnitTests
{
[... | 2.292268 | cabf2eef61667f786f4ec513abbb622b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96981 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "onepiecefreak3/commercetools-dotnet-core-sdk",
"max_stars_repo_path": "commercetools.Sdk/commercetools.Sdk.Domain/Carts/DiscountCodeInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96982"
} | starcoder | using commercetools.Sdk.Domain.DiscountCodes;
namespace commercetools.Sdk.Domain.Carts
{
public class DiscountCodeInfo
{
public Reference<DiscountCode> DiscountCode { get; set; }
public DiscountCodeState State { get; set; }
}
} | 1.496015 | 5df3870e39395ea472705e9b03a02b56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96982 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "spescarus/clean-architecture-template",
"max_stars_repo_path": "CleanArchitectureTemplate.Examples/src/Persistence/Configurations/UserTypeConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96983"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using SP.SampleCleanArchitectureTemplate.Domain.Users;
using SP.SampleCleanArchitectureTemplate.Domain.Users.ValueObjects;
using SP.SampleCleanArchitectureTemplate.Persistence.Configurations.Generics;
namespace SP.SampleCleanA... | 2.571039 | 43c0b79154f520a7973f435772377540 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96983 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "bogatykh/estate-cms",
"max_stars_repo_path": "src/Tti.Estate.Web/Mapping/TransactionMappingProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96984"
} | starcoder | using AutoMapper;
using Tti.Estate.Data.Entities;
using Tti.Estate.Web.Models;
namespace Tti.Estate.Web.Mapping
{
public class TransactionMappingProfile : Profile
{
public TransactionMappingProfile()
{
CreateMap<Transaction, TransactionListItemModel>();
CreateMap<Trans... | 1.851953 | 21c59ddfeb6dc7fb7ee081ddd932f1f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96984 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "marklogic-community/marklogic-arcgis-pro-addin",
"max_stars_repo_path": "MarkLogicAddIn/Commands/ServerCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96985"
} | starcoder | <reponame>marklogic-community/marklogic-arcgis-pro-addin
using MarkLogic.Esri.ArcGISPro.AddIn.Controls;
using System;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using System.Windows.Threading;
namespace MarkLogic.Esri.ArcGISPro.AddIn.Commands
{
public class ServerCommand : ICo... | 2.271161 | 246060f81d83ab8e767621fcdf04813a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96985 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sivakumars3cognizant/LEAP-SmartEnginerring-Framework",
"max_stars_repo_path": "CTS.SmartEngg.Framework/ExtentionMethods/ToDataTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96986"
} | starcoder | // Copyright (c) Cognizant. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Globalization;
using System.Text;
namespace CTS.SmartEngg.Framework
{
public static class ToDataTable
{
public static DataTable ToDT<T>(this IL... | 2.88872 | d007fef6135938eac3a5e6acd109d6fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96986 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Warez-VD/OrderManager",
"max_stars_repo_path": "OrderManager/OrderManager.Business/Sagas/OrderSagaState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96987"
} | starcoder | using System;
using System.Collections.Generic;
using Automatonymous;
using OrderManager.Business.Sagas.Entities;
namespace OrderManager.Business.Sagas
{
public class OrderSagaState : SagaStateMachineInstance
{
private IList<OrderSagaItem> _items;
public Guid CorrelationId { get; set; }
... | 2.348233 | ad6ec288a953423b57fc5a1bb5363dc9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96987 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ffMathy/ngrok-api-dotnet",
"max_stars_repo_path": "NgrokApi/Datatypes/EventTargetFirehose.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96988"
} | starcoder |
using System;
using System.Runtime;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace NgrokApi
{
public class EventTargetFirehose
{
// <summary>
// Configuration for how to authenticate into your AWS account. Exactly one of
// <c>role</c> or <c>creds</c> should be conf... | 2.540121 | 8e6e9dd1a271d7d778e41e138a643264 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96988 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yambal2019/Bonificaciones",
"max_stars_repo_path": "waEligeTuPremio/Models/UsuarioModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96989"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
namespace waEligeTuPremio.Models
{
public class UsuarioModel
{
[Required(ErrorMessage = "*")]
public string Login { get; set; }
... | 2.328419 | 5189458a3493f3aa7a3c0fb70a1c8243 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.