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 | 8849812 | {
"extension": "c-sharp",
"max_stars_count": "73.0",
"max_stars_repo_name": "orangesocks/XSharpPublic",
"max_stars_repo_path": "VisualStudio/ProjectPackage/ErrorList/IListSinkManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169032"
} | starcoder | //
// Copyright (c) XSharp B.V. All Rights Reserved.
// Licensed under the Apache License, Version 2.0.
// See License.txt in the project root for license information.
//
using Microsoft.VisualStudio.Shell.TableManager;
namespace XSharp.Project
{
internal interface IListSinkManager
{
/// <summary... | 2.060808 | 957fed5409a54b04cfef8b32b2f57361 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849813 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mikhail-khalizev/max",
"max_stars_repo_path": "source/MikhailKhalizev.Max/source/Program/Auto/z-100f-bfde.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169033"
} | starcoder | <reponame>mikhail-khalizev/max
using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x100f_bfde-20b78fb7")]
public void Method_100f_bfde()
{
ii(0x100f_bfde, 5); push(0... | 1.639817 | a653e3ce4416dfef3e1b0ce57e3d17c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849814 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KonstantinRyazantsev/Sirius.Brokerage",
"max_stars_repo_path": "src/Brokerage.MessagingContract/BrokerAccounts/BrokerAccountBalancesUpdated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169034"
} | starcoder | using System;
namespace Swisschain.Sirius.Brokerage.MessagingContract.BrokerAccounts
{
public class BrokerAccountBalancesUpdated
{
public long BrokerAccountBalancesId { get; set; }
public long Sequence { get; set; }
public long BrokerAccountId { get; set; }
public long AssetId ... | 1.443719 | 181577f3f463f5158f13ed1dfd528db1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849815 | {
"extension": "c-sharp",
"max_stars_count": "55.0",
"max_stars_repo_name": "thomhurst/BDTest",
"max_stars_repo_path": "BDTest/Extensions/BuildableTestExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169035"
} | starcoder | using System;
using System.Linq;
using System.Reflection;
using BDTest.Test;
namespace BDTest.Extensions
{
internal static class BuildableTestExtensions
{
internal static MethodInfo GetTestMethod(this BuildableTest buildableTest) => buildableTest?.BdTestBase?.GetType()?.GetMethods()?.FirstOrDefault(x ... | 2.04647 | 90e65d8a1390c1428a6ea0b699bc4554 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849816 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "wasadus/cassandra-distributed-task-queue",
"max_stars_repo_path": "Cassandra.DistributedTaskQueue.Monitoring/Storage/Utils/UtcTicksJsonConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169036"
} | starcoder | <gh_stars>1-10
using System;
using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SkbKontur.Cassandra.DistributedTaskQueue.Monitoring.Storage.Utils
{
public class UtcTicksJsonConverter : IsoDateTimeConverter
{
public UtcTicksJsonConverter()
{
... | 2.498381 | 1e5833d5056ebc831b879b271fa697e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849817 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cashto/icfp2021",
"max_stars_repo_path": "Solver/Optimizations/Refine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169037"
} | starcoder | <reponame>cashto/icfp2021
using Newtonsoft.Json;
using IcfpUtils;
using System;
using System.Diagnostics;
using System.Linq;
using System.Collections.Generic;
using System.IO;
using System.Threading;
namespace Solver
{
class RefineMove
{
public int FixedEdge { get; set; }
}
static class Refin... | 2.722733 | b89d90d349e43b68132d7fe9c3217cdf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849818 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mcraiha/WhisperDragonAvalonia",
"max_stars_repo_path": "src/AddNoteWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169038"
} | starcoder | using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using System;
using System.Collections.Generic;
namespace WhisperDragonAvalonia
{
/// <summary>
/// Interaction logic for AddLoginWindow.xaml
/// </summary>
public class AddNoteWindow : Window
{
public AddNoteWindow()
{
}
public Add... | 2.12338 | 83c23d4b43a40e567d01ba5a0c11cb27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849819 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "maksmaisak/Saxion_Y1Q4_Project_Virtual_Game",
"max_stars_repo_path": "Assets/_Own/Scripts/Grappleable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169039"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Exposes events which fire when the gameobject is grappled or released by grapples.
/// OnGrappled is called for every grapple grappling it,
/// OnUngrappled is called for every grapple ungrappling i... | 3.000531 | b800c7a46b4aac2b83f438f6d10a6834 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849820 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sitecore/Dynamics-Campaign-Integration-Module",
"max_stars_repo_path": "code/Sitecore.CrmCampaignIntegration/sitecore modules/shell/CrmCampaignIntegration/Core/Grid/ISortedFilterable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1... | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using Sitecore.Data;
using Sitecore.Web.UI.Grids;
namespace Sitecore.CrmCampaignIntegration.DataViewer
{
/// <summary>
/// sorted and filterable interface
/// </summary>
/// <typeparam name="TElement">The type of the element... | 1.707356 | 1b276cf4dfa3f88c5d618cdc3137d25a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849821 | {
"extension": "c-sharp",
"max_stars_count": "176.0",
"max_stars_repo_name": "martinsstuff/DS4Windows",
"max_stars_repo_path": "DS4Windows.Client.Modules.Interfaces/Profiles/IProfilesViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169041"
} | starcoder | using DS4Windows.Client.Core.ViewModel;
namespace DS4Windows.Client.Modules.Profiles
{
public interface IProfilesViewModel : INavigationTabViewModel<IProfilesViewModel, IProfilesView>
{
}
}
| 0.737674 | 1643fc1396e2136236ac6e8ad54db8b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849822 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ferend/simple-windows-form-application",
"max_stars_repo_path": "Open Website/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169042"
} | starcoder | using CefSharp;
using CefSharp.WinForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Security.Policy;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace OpenWebsite
{
publi... | 2.278394 | e4ed526c147d61b686b62e2dfacec356 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849823 | {
"extension": "c-sharp",
"max_stars_count": "485.0",
"max_stars_repo_name": "ScriptBox99/reaqtor",
"max_stars_repo_path": "Reaqtor/Core/Shared/Tests.Reaqtor.Shared.Core/System/Collections/Generic/ReadOnlyChainedDictionaryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169043"
} | starcoder | <filename>Reaqtor/Core/Shared/Tests.Reaqtor.Shared.Core/System/Collections/Generic/ReadOnlyChainedDictionaryTests.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT License.
// See the LICENSE file in the project root for more information.... | 2.403102 | fa2d69738e2097f87ed41e00e4fa1c2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849824 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "eylvisaker/AgateLib",
"max_stars_repo_path": "src/AgateLib/Display/Sprites/SpriteContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169044"
} | starcoder | //
// Copyright (c) 2006-2017 <NAME>
//
// 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, mo... | 2.250899 | 7ca9516d4c993abca8164e94094ae4a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849825 | {
"extension": "c-sharp",
"max_stars_count": "324.0",
"max_stars_repo_name": "mortend/fuse-studio",
"max_stars_repo_path": "Source/Simulator/Common/Common/Optionals/Operators/TryGetValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169045"
} | starcoder | <filename>Source/Simulator/Common/Common/Optionals/Operators/TryGetValue.cs<gh_stars>100-1000
using Uno;
using Uno.Collections;
namespace Outracks
{
public static partial class Optional
{
public static Optional<TValue> TryGetValue<TKey, TValue>(this IDictionary<TKey, TValue> dict, TKey key)
{
TValue value;
... | 2.539375 | 18a039bec9af2cad434a693e339e7377 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849826 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zzgchina888/msdn-code-gallery-microsoft",
"max_stars_repo_path": "OneCodeTeam/How to edit QueryString in ASP.NET Core/[C#]-How to edit QueryString in ASP.NET Core/C#/CSEditQueryStringAspNetCore/Controllers/HomeController.cs",
"provena... | starcoder | <reponame>zzgchina888/msdn-code-gallery-microsoft<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace CSEditQueryStringAspNetCore.Controllers
{
public class HomeController : Controller
{
public IAction... | 2.070938 | 8c82ffc9475785357e33ef51d91bed75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849827 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "tunaman65/xmla-client",
"max_stars_repo_path": "tests/ExecuteTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169047"
} | starcoder | <reponame>tunaman65/xmla-client
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RadarSoft.XmlaClient;
using RadarSoft.XmlaClient.Metadata;
namespace UnitTest.XmlaClient.NetCore
{
[TestClass]
public class ExecuteTest
{
[TestMethod]
public void Execute()
{
... | 2.205096 | 33b0573f8100dc4ad03dc5463e459714 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849828 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "reductech/Core",
"max_stars_repo_path": "Core/Connectors/ConnectorManagerExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169048"
} | starcoder | <filename>Core/Connectors/ConnectorManagerExtensions.cs
using Reductech.Sequence.Core.Abstractions;
using Reductech.Sequence.Core.ExternalProcesses;
namespace Reductech.Sequence.Core.Connectors;
/// <summary>
/// Contains extension methods for working with connector managers.
/// </summary>
public static class Conne... | 2.37881 | 9b1a2bef9ad85addd571a22ffca023de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849829 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "reyou/Ggg.GitHub",
"max_stars_repo_path": "apps/apps-books/ProCs7WithNETCore/Part2CoreCPrograming/CHAPTER4CoreCsProgrammingConstructs/intro8ValueTypes/intro/PointExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169049"
} | starcoder | <reponame>reyou/Ggg.GitHub
using System;
using System.Drawing;
namespace intro
{
public static class PointExtensions
{
public static void Display(this Point point)
{
Console.WriteLine(point.ToString());
}
}
} | 2.037137 | 664a37b187e4aac0eb6af3f74786eb31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849830 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChrisAnn/DiceApiCore",
"max_stars_repo_path": "DiceApi/Controllers/DiceController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169050"
} | starcoder | using System;
using Microsoft.AspNetCore.Mvc;
namespace DiceApi.Controllers
{
public class DiceController : Controller
{
private readonly Random _random = new Random();
public int Get(int i)
{
return _random.Next(1, i);
}
}
} | 2.430142 | bf04af8d08e612807838d02b6d203262 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849831 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "WeihanLi/DbTool.Packages",
"max_stars_repo_path": "src/DbTool.Core/DbProviderFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169051"
} | starcoder | <reponame>WeihanLi/DbTool.Packages<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
namespace DbTool.Core
{
public class DbProviderFactory
{
private readonly IDictionary<string, IDbProvider> _dbProviders;
public DbProviderFactory(IEnumerable<IDbProvider> dbProv... | 2.565657 | 5de6766fd0202a2c0721968d9855394b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849832 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "genyman/core",
"max_stars_repo_path": "src/MSBuild/ProjectType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169052"
} | starcoder | <filename>src/MSBuild/ProjectType.cs
namespace Genyman.Core.MSBuild
{
public enum ProjectType
{
DotNet,
DotNetCore,
}
} | 1.271822 | e1cc8c43b6baff27e8442b667c3a3959 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849833 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Open-FW/Open.API",
"max_stars_repo_path": "Open.API.Common/Extensions/IServiceCollectionExt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169053"
} | starcoder | <gh_stars>0
using System.Reflection;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
namespace Open.API.Common.Extensions
{
public static class IServiceCollectionExt
{
public static IServiceCollection RegisterMediatR(this IServiceCollection service)
{
service.AddM... | 1.291172 | f6ae54033ee96bdf1950eea687acb1c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849834 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TA-GAMES/HW4",
"max_stars_repo_path": "Assets/Scripts/1-movers/MovementArrows.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169054"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/**
* This component moves its object up/down/left/right
* as long as the up/down/left/right arrow key is held pressed.
*/
public class MovementArrows : MonoBehaviour
{
[Tooltip("Movement speed in meters per second")]
[Serialize... | 2.805568 | 0378f9ebac8fe8094ece5330a2ed64f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849835 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pprometey/DemoShop",
"max_stars_repo_path": "DemoShop/Models/PurchasesViewModel/PurchaseProductViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169055"
} | starcoder | <filename>DemoShop/Models/PurchasesViewModel/PurchaseProductViewModel.cs
using System;
using System.ComponentModel.DataAnnotations;
namespace DemoShop.UI.Models.PurchasesViewModel
{
public class PurchaseProductViewModel
{
public Guid ID { get; set; }
[DataType(DataType.Text)]
[Display... | 2.319367 | 87bded9d5a9154ff3856345ba0668af2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849836 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "padesso/bazaarBot2",
"max_stars_repo_path": "EconomySim/EconomySimLibrary/Market/Market.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169056"
} | starcoder | <gh_stars>1-10
using EconomySimLibrary.Bankrupt;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EconomySim
{
public class Market
{
public string Name;
/**Logs information about all economic a... | 2.480085 | f386a7d6cf943da5e4c9fdeb7ae2470f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849837 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AidanDrage/TestSkeleton_Selenium.NET_PageObjectModel",
"max_stars_repo_path": "TestSkeleton_Selenium.NET_PageObjectModel/Pages/BasePage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169057"
} | starcoder | using OpenQA.Selenium;
namespace SpecflowTemplate.Pages
{
public class BasePage
{
protected IWebDriver Driver;
public BasePage (IWebDriver driver) { Driver = driver; }
}
}
| 1.787845 | 118e9ba6f770baa52c201577c662f2b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849838 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "nickyandreev/AssemblyDefender",
"max_stars_repo_path": "src/AssemblyDefender.Common/Serialization/StringSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169058"
} | starcoder | <reponame>nickyandreev/AssemblyDefender
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AssemblyDefender.Common.IO;
namespace AssemblyDefender.Common.Serialization
{
public class StringSerializer : ObjectSerializer<string>
{
private Encoding _encoding = Encoding.UTF8;
... | 2.220981 | e6604a233668e939f16625e9d6aa1583 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849839 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chrhodes/Applications",
"max_stars_repo_path": "PAEF1.Animals/Presentation/Views/DogMain.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169059"
} | starcoder | <reponame>chrhodes/Applications<gh_stars>1-10
using System;
using System.Windows;
using VNC;
using VNC.Core.Mvvm;
namespace PAEF1.Animals.Presentation.Views
{
public partial class DogMain : ViewBase, IDogMain, IInstanceCountV
{
public DogMain(ViewModels.IDogMainViewModel viewModel)
{
... | 1.967855 | e5912a2ebfccd631d5894dfe451e1b67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849840 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Treyboyland/Mariner",
"max_stars_repo_path": "Assets/Scripts/Player/PlayerBubbles.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169060"
} | starcoder | <reponame>Treyboyland/Mariner
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerBubbles : MonoBehaviour
{
[SerializeField]
ParticleSystem particle = null;
public void Play()
{
if (!particle.isPlaying)
{
particle.Play();
... | 1.88064 | feb9d004207083ba11207cb3c4530700 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849841 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cloudTwelve/code-snippets",
"max_stars_repo_path": "c#/ZigOps-PaymentProcessing-Microservice/ZigOps.PaymentProcessing.Data/Models/TransferWise/CreateTransferResponseModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169061"
} | starcoder | //-------------------------------------------------------------------------
// Copyright (c) The Zig Group Ltd. All rights reserved.
//-------------------------------------------------------------------------
using Newtonsoft.Json;
namespace ZigOps.PaymentProcessing.Data.Models.TransferWise
{
public class Create... | 1.621947 | ce12e64969c986210381d627750a6365 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849842 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "a-kozhanov/codewars_csharp",
"max_stars_repo_path": "CodeWarsTests/7kyu/WhichSectionDidYouScrollToTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169062"
} | starcoder | using CodeWars;
using NUnit.Framework;
namespace CodeWarsTests
{
[TestFixture]
public class WhichSectionDidYouScrollToTests
{
[Test]
public void BasicTests()
{
Assert.AreEqual(0, WhichSectionDidYouScrollTo.GetSectionId(1, new int[] {300, 200, 400, 600, 100}));
... | 2.494361 | 2b51c36c1fb9761c4c77123545251847 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849843 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hugener/Aupli",
"max_stars_repo_path": "Source/Aupli/SystemBoundaries/UserInterface/Menu/Ari/INetworkDeviceInfoProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169063"
} | starcoder | <filename>Source/Aupli/SystemBoundaries/UserInterface/Menu/Ari/INetworkDeviceInfoProvider.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="INetworkDeviceInfoProvider.cs" company="Hukano">
// Copyright (c) Hukano. All rights r... | 2.229568 | a13a5b854695e3f7665e8229f10ea6af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849844 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Royal-Code/Pipeline",
"max_stars_repo_path": "Pipeline/RoyalCode.PipelineFlow/Chains/HandlerChainServiceAsync.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169064"
} | starcoder | using System;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
namespace RoyalCode.PipelineFlow.Chains
{
public class HandlerChainServiceAsync<TIn, TService> : Chain<TIn>
{
private readonly TService service;
private readonly Func<TService, TIn, Cance... | 2.580268 | bcc2a3bc584e547192b9d588fbd8fa5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849845 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kintuda/Sistema-de-estoque-CSharp",
"max_stars_repo_path": "enzo-estoque/Views/Fornecedors/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:169065"
} | starcoder | <filename>enzo-estoque/Views/Fornecedors/Index.cshtml
@model IEnumerable<enzo_estoque.Models.Fornecedor>
@{
ViewBag.Title = "Index";
}
<h2>Fornecedores <a class="btn btn-sm btn-secondary" role="button" href='@Url.Action("Create","Fornecedors", new { id = "loginLink"})'>Criar</a></h2>
<table class="table">
... | 2.36649 | 93338d8e2373e71f0fb7823178dad340 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849846 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jyzgo/ActLib",
"max_stars_repo_path": "Scripts/ActMoveToLocal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169066"
} | starcoder | using System.Collections;
using UnityEngine;
namespace ActLib
{
public class ActMoveToLocal : BaseAct
{
public ActMoveToLocal(float duration, Vector3 position)
{
_duration = duration;
_endPosition = position;
}
Vector3 _endPosition;
public stat... | 2.657354 | af0a15ef14e60d1ba8b38692781020b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849847 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kamilk08/BookLoversApi",
"max_stars_repo_path": "BookLovers.Readers/Events/Readers/ReaderAuthorRemoved.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169067"
} | starcoder | <reponame>kamilk08/BookLoversApi<gh_stars>0
using System;
using BookLovers.Base.Domain.Events;
using Newtonsoft.Json;
namespace BookLovers.Readers.Events.Readers
{
public class ReaderAuthorRemoved : IEvent
{
public Guid Guid { get; private set; }
public Guid AggregateGuid { get; private set; ... | 1.948756 | 42a48b42e823f80ea0e12a3de6845618 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849848 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "ghuntley/StructuredEditor",
"max_stars_repo_path": "Core/Blocks/Container/Linear/HContainerBlock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169068"
} | starcoder | using GuiLabs.Canvas.Controls;
namespace GuiLabs.Editor.Blocks
{
public class HContainerBlock : LinearContainerBlock
{
public HContainerBlock()
: base(OrientationType.Horizontal)
{
}
}
}
| 1.512429 | dce8c06ed427c755bcc31d5b40b5ccda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849849 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JohnPKosh/IODataBlock",
"max_stars_repo_path": "IODataBlock/SelfHostWebApiRelay/RelayBase/RelayManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169069"
} | starcoder | using Business.Common.System.App;
using System;
using System.ServiceModel;
using System.Web.Http;
using System.Web.Http.SelfHost;
namespace SelfHostWebApiRelay.RelayBase
{
public class RelayManager
{
public HttpSelfHostConfiguration GetConfig()
{
// Create configuration
... | 2.531505 | 097f4d544b0e2355156e87d66a0b3a9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849850 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "havit/HavitFramework",
"max_stars_repo_path": "Havit.Business/Query/OrderByCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169070"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Havit.Collections;
namespace Havit.Business.Query
{
/// <summary>
/// Kolekce položek SortItem.
/// Určeno pro položky ORDER BY skládače SQL dotazu (QueryParameters).
/// </summary>
public class OrderByCollection : Havit.Collections.SortIte... | 2.548925 | 73055e46eeb7cfcd8b27eea42bc9b1a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849851 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Insei/AsterNET",
"max_stars_repo_path": "Asterisk.2013/Asterisk.NET/Manager/ResponseEventHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169071"
} | starcoder | <filename>Asterisk.2013/Asterisk.NET/Manager/ResponseEventHandler.cs
using System.Threading;
using AsterNET.Manager.Action;
using AsterNET.Manager.Event;
using AsterNET.Manager.Response;
namespace AsterNET.Manager
{
/// <summary>
/// A combinded event and response handler that adds received events ... | 3.033093 | 76ed2bafc8d16738d2ee468b96cc3122 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849852 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "eman1986/Hackiftekhar.IQKeyboardManager.Xamarin",
"max_stars_repo_path": "IQKeyboardManager.Xamarin/ApiDefinition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169072"
} | starcoder | <filename>IQKeyboardManager.Xamarin/ApiDefinition.cs<gh_stars>10-100
using System;
using CoreGraphics;
using Foundation;
using ObjCRuntime;
using UIKit;
namespace Hackiftekhar.IQKeyboardManager.Xamarin
{
// @interface IQBarButtonItem : UIBarButtonItem
[BaseType (typeof(UIBarButtonItem))]
interface IQBarButtonItem
... | 1.876517 | f18a7084b4676e9f1eb123f28da673c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849853 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TimoRoth/mango-sdk",
"max_stars_repo_path": "src/Compiler/Parser/Parser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169073"
} | starcoder | <reponame>TimoRoth/mango-sdk
using Mango.Compiler.Diagnostics;
using Mango.Compiler.Syntax;
namespace Mango.Compiler.Parser
{
partial class SimpleParser
{
#region Parser
internal SyntaxKind CurrentToken
{
get
{
if (_tokenInfo.Kind == SyntaxKind.N... | 2.134505 | ef1c734e95c84690660d460a5e7a3ac6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849854 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArvvenUndomiel/Selenium-Projects",
"max_stars_repo_path": "src C#/DemoQA_Automation/WidgetTests/SpinnerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169074"
} | starcoder | <reponame>ArvvenUndomiel/Selenium-Projects
namespace DemoQA_Automation.WidgetTests
{
using NUnit.Framework;
using DemoQA_Automation.Pages.Widgets.Spinner;
[TestFixture]
public class SpinnerTests: TestsBase
{
private Spinner Spinner;
[SetUp]
public void SetUp()
{
... | 2.344984 | 51ba107101aa5689233240f8aebff49f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849855 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "amarrical/Platibus",
"max_stars_repo_path": "Source/Platibus/MessageImportance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169075"
} | starcoder | // The MIT License (MIT)
//
// Copyright (c) 2016 <NAME>
//
// 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,... | 2.81647 | 4fa704e057f45f6e25a20adeb1410422 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849856 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rabianur412/MapProject",
"max_stars_repo_path": "DataAccessLayer/Concrete/MapContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169076"
} | starcoder | <gh_stars>0
using EntityLayer.Concrete;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataAccessLayer.Concrete
{
public class MapContext:DbContext
{
public DbSet<Gate> Gates { get; set; }
... | 1.53865 | 4042affc7c28e703b85ab57be358e801 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849857 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-ILR-2021-ValidationService",
"max_stars_repo_path": "src/ESFA.DC.ILR.ValidationService.Data/External/LARS/Model/LARSStandard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169077"
} | starcoder | <gh_stars>1-10
using ESFA.DC.ILR.ValidationService.Data.External.LARS.Interface;
using System;
using System.Collections.Generic;
namespace ESFA.DC.ILR.ValidationService.Data.External.LARS.Model
{
public class LARSStandard : ILARSStandard
{
public int StandardCode { get; set; }
public string S... | 1.437951 | a0c24ccb4726e2498db606604a938c96 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849858 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hir-o/Settlers-of-Albion-Project-Files",
"max_stars_repo_path": "Assets/Scripts/BridgeSpawner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169078"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BridgeSpawner : MonoBehaviour
{
[SerializeField] private GameObject _bridge;
private HexagonTile _hexagonTile;
private void Awake()
{
_hexagonTile = GetComponent<HexagonTile>();
... | 1.715854 | 82ae136d07572818336f81bb3c6d04ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849859 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "clarartp/twilio-csharp",
"max_stars_repo_path": "src/Twilio.Api/Model/DependentPhoneNumberResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169079"
} | starcoder | using System;
using System.Collections.Generic;
namespace Twilio
{
/// <summary>
/// Twilio API call result with paging information.
/// </summary>
public class DependentPhoneNumberResult : TwilioListBase
{
public List<DependentPhoneNumber> DependentPhoneNumbers { get; set; }
}
}
| 1.856122 | 3bb0ab3f799fcca7fb5649c4a69bf0bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849860 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Kinecting-for-Windows/GIK-KinectingARDrone",
"max_stars_repo_path": "src/AR.Drone.Data/Navigation/Native/Options/screen_point_t.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169080"
} | starcoder | using System.Runtime.InteropServices;
namespace AR.Drone.Data.Navigation.Native.Options
{
[StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Ansi)]
public struct screen_point_t
{
public int x;
public int y;
}
} | 1.371517 | d493f8b95818a7f621bb18ca83d9df34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849861 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MonsieurTweek/HealthyMayhem",
"max_stars_repo_path": "Assets/Scripts/StartScreenController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169081"
} | starcoder | using Healthy.Enums;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class StartScreenController : MonoBehaviour
{
public AudioSource AudioSourceInputSFX;
// Start is called before the first frame update
void Start()
{
... | 1.973842 | 144a8fc7640ab03376bc833135a85a5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Melusas/Unity-Exercise",
"max_stars_repo_path": "Assets/scripts/EstadoJuego.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169082"
} | starcoder | using UnityEngine;
using System.Collections;
using System;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
public class EstadoJuego : MonoBehaviour {
public int puntuacionMaxima = 0;
public static EstadoJuego estadoJuego;
private String rutaArchivo;
void Awake(){
rutaArchivo = Applic... | 2.532846 | a6e503ebe848c1337b617051811f59b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849863 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "RogerKratz/mbcache",
"max_stars_repo_path": "MbCache/Configuration/CacheKeyBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169083"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using MbCache.Core;
using MbCache.Logic;
namespace MbCache.Configuration
{
/// <summary>
/// Base class for users to override to implement
/// their own logic for building cache key... | 2.808102 | 4f121658d7780c9042b948f98ac7df64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849864 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "smdx24/CPI-Source-Code",
"max_stars_repo_path": "ClubPenguin.Igloo.Catalog/IglooCatalogItemData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169084"
} | starcoder | // IglooCatalogItemData
using ClubPenguin.DecorationInventory;
using ClubPenguin.Net.Domain.Decoration;
using ClubPenguin.Progression;
using UnityEngine;
public class IglooCatalogItemData
{
public DecorationType ItemType
{
get;
private set;
}
public int ID
{
get;
private set;
}
public string TitleToke... | 2.036964 | ab0149f95bfcd321b2aa79e328d750c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849865 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Turnerj/RocketBot",
"max_stars_repo_path": "src/RocketBot.PlayMaking/AI/TeamEngine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169085"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Text;
namespace RocketBot.AI
{
public class TeamEngine
{
private static ConcurrentDictionary<int, TeamState> TeamStates { get; } = new ConcurrentDictionary<int, TeamState>();
public int PlayerIndex { get; }
publ... | 3.089446 | 02d9c81098f0887efeab993fb90f6fdc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849866 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "TheSylence/Twice",
"max_stars_repo_path": "Twice/Behaviors/ClickHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169086"
} | starcoder | using System.Diagnostics.CodeAnalysis;
using System.Windows;
using System.Windows.Input;
namespace Twice.Behaviors
{
/// <summary>
/// Executes a command when a FrameworkElement has been clicked.
/// </summary>
/// <remarks> Essentially this is a nicer way than using EventToCommand for the click command </rem... | 2.890555 | 7802d394d5e3e2f69890f7e3f7282c36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849867 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Moviles-GoingTo/api",
"max_stars_repo_path": "Resources/LocatableResource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169087"
} | starcoder | using GoingTo_API.Domain.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GoingTo_API.Resources
{
public class LocatableResource
{
public int Id { get; set; }
public string Address{ get; set; }
public string Description ... | 1.884833 | 4cb5682a65ef393d098816ac6463de91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849868 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mansoor-omrani/Locust.NET",
"max_stars_repo_path": "Library/Locust.FileManager.CKEditor/Areas/CKManager/Views/_ViewStart.generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169088"
} | starcoder | <reponame>mansoor-omrani/Locust.NET
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <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 ... | 1.012018 | 17fdeb0bd956d364c1a27e61d1ee60a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849869 | {
"extension": "c-sharp",
"max_stars_count": "146.0",
"max_stars_repo_name": "jxmlegend/JT809",
"max_stars_repo_path": "src/JT809.Protocol/JT809Header.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169089"
} | starcoder | <reponame>jxmlegend/JT809
using JT809.Protocol.Enums;
using JT809.Protocol.Extensions;
using JT809.Protocol.Formatters;
using JT809.Protocol.Interfaces;
using JT809.Protocol.MessagePack;
using System;
using System.Text.Json;
namespace JT809.Protocol
{
public class JT809Header: IJT809MessagePackFormatter<JT809Head... | 2.117439 | 7d6b5660f27090a5004d45deaadf0e51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849870 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saeedmaghdam/eCommerceAutomation.Scrapper",
"max_stars_repo_path": "src/eCommerceAutomation.Scrapper/Models/ProxyOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169090"
} | starcoder | <filename>src/eCommerceAutomation.Scrapper/Models/ProxyOptions.cs
namespace eCommerceAutomation.Scrapper.Models
{
public class ProxyOptions
{
public bool Enabled
{
get;
set;
}
public string Address
{
get;
set;
}
... | 1.891578 | 5a0f18beda377d56317fbcc680674449 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849871 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mikkokotola/3Dmaps",
"max_stars_repo_path": "Assets/Scripts/Map Visuals/MapRegionSmoother.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169091"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Creates smoother color transitions for map texture.
/// </summary>
public class MapRegionSmoother {
public TerrainType[] SmoothRegions( TerrainType[]regions, int amount)
{
Arra... | 2.963563 | 35602494997d98f555a9a0520a5e6b12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dkanada/jellyfin-plugin-fanart",
"max_stars_repo_path": "Jellyfin.Plugin.Fanart/Dtos/ArtistResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169092"
} | starcoder | using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Jellyfin.Plugin.Fanart.Dtos
{
public class ArtistResponse
{
[JsonPropertyName("name")]
public string Name { get; set; }
[JsonPropertyName("mbid_id")]
public string MusicBrainzId { get; set; }
... | 1.768407 | be2a3bbfa0a462109c41e05df4b88ef3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849873 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SafeStak/AzureBusDepot",
"max_stars_repo_path": "Src/AzureBusDepot/Abstractions/IMessageProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169093"
} | starcoder | <filename>Src/AzureBusDepot/Abstractions/IMessageProcessor.cs
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.ServiceBus;
namespace AzureBusDepot.Abstractions
{
public interface IMessageProcessor
{
Task<MessageHandlingResult> ProcessMessageAsync(
Message message... | 1.975954 | 8ade88c4b5b84480f3e07756b4746d1d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849874 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "yuenkik6/360Dialog.NET",
"max_stars_repo_path": "WABA360Dialog.NET/ApiClient/Payloads/Models/WebhookObjects/WebhookOrderObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169094"
} | starcoder | using System.Collections.Generic;
using Newtonsoft.Json;
namespace WABA360Dialog.ApiClient.Payloads.Models.WebhookObjects
{
public class WebhookOrderObject
{
/// <summary>
/// ID of the catalog that contains the products listed under product_items sections.
/// </summary>
[Json... | 2.353607 | 92177358b70ac4c9e2fcfeb005a1733d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849875 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "verticalsoftware/vertical-commandline",
"max_stars_repo_path": "test/Mapping/PropertyMapperTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169095"
} | starcoder | // Copyright(c) 2017 Vertical Software - All rights reserved
//
// This code file has been made available under the terms of the
// MIT license. Please refer to LICENSE.txt in the root directory
// or refer to https://opensource.org/licenses/MIT
using System;
using Shouldly;
using Vertical.CommandLine.Configuration;
u... | 2.474087 | 4e72c4aa393a318abda82997e2c1324b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849876 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "arsalanfallahpour/DotNetCenter.Beyond",
"max_stars_repo_path": "src/Web/Core/Source/Common/DIContainerServices/DependencyContainers/PreConfigurationDIC.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169096"
} | starcoder | using DotNetCenter.Beyond.Web.Core.Common.DIContainerServices.Services;
using Microsoft.Extensions.DependencyInjection;
namespace DotNetCenter.Beyond.Web.Core.Common.DIContainerServices.DependencyContainers
{
public class PreConfigurationDIC
{
public IServiceCollection AddWebPreConfigurations(ref ISer... | 1.600248 | d4cb5fdad76c2631043fdad4217e097f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849877 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "Worthaboutapig/SquishIt",
"max_stars_repo_path": "SquishIt.Tests/Stubs/StubResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169097"
} | starcoder | using System.Collections.Generic;
using SquishIt.Framework.Resolvers;
using System.Linq;
namespace SquishIt.Tests.Stubs
{
public class StubResolver : IResolver
{
string _pathToResolveTo;
string[] _directoryContents;
StubResolver(string pathToResolveTo, string[] directoryContents = nul... | 2.685734 | d9c2f0767cc555902abadf3208341339 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849878 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ProSuite/ProSuite",
"max_stars_repo_path": "src/ProSuite.Commons/CommandLine/UsageTarget.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169098"
} | starcoder | <filename>src/ProSuite.Commons/CommandLine/UsageTarget.cs
using System;
namespace ProSuite.Commons.CommandLine
{
[Flags]
public enum UsageTarget
{
Console = 1,
Log = 2
}
} | 1.686212 | 9e682e9499fef0af6e4a4d939cc9822b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849879 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aheza007/myBlog",
"max_stars_repo_path": "Areas/Admin/Views/Users/ResetUserPassword.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:169099"
} | starcoder | <reponame>aheza007/myBlog
@model SimpleBlog.Areas.Admin.ViewModels.ResetUserPassWord
<div>
<h1>Change Password for @Model.UserName</h1>
@using (Html.BeginForm()) {
@Html.AntiForgeryToken()
@Html.ValidationSummary()
<div class="form-group">
@Html.LabelFor(f=>f... | 1.983851 | 0722db39cea13b9eab17a7b4266a7b03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849880 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jimidark/pro-aspnet-mvc-5-fifth-edition",
"max_stars_repo_path": "pro-asp.net-mvc-5/Chapter 19/ControllerExtensibility/ControllerExtensibility/Infrastructure/CustomActionInvoker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169100... | starcoder | <gh_stars>0
using System.Web.Mvc;
namespace ControllerExtensibility.Infrastructure {
public class CustomActionInvoker : IActionInvoker {
public bool InvokeAction(ControllerContext controllerContext,
string actionName) {
if (actionName == "Index") {
controller... | 1.884837 | 69734d7ab698e68d57b956252096486a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849881 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "capybara1/ConfigurationAndOptionsDemo",
"max_stars_repo_path": "ConfigurationDemo/ModelBindingDemos.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169101"
} | starcoder | using Microsoft.Extensions.Configuration;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace ConfigurationDemo
{
[Trait("Category", "Configuration / Model Binding")]
public class ModelBindingDemos
{
private static readonly IDictionary<string, string> DefaultValues = new Di... | 2.789364 | e9fbd838ff911707fd4a7311cbe29cde |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Brendonovich/apollo-studio",
"max_stars_repo_path": "Apollo/Elements/AbletonLaunchpad.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169102"
} | starcoder | using Avalonia.Threading;
using RtMidi.Core.Devices.Infos;
using Apollo.Core;
using Apollo.Enums;
using Apollo.Helpers;
using Apollo.Structures;
using Apollo.Windows;
namespace Apollo.Elements {
public class AbletonLaunchpad: Launchpad {
public int Version = 0;
Launchpad _target = null;
... | 2.012233 | 990a0ff068d78b429f9fa8d74e0fe8da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849883 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yknx4/Fildo",
"max_stars_repo_path": "Fildo.Android/Fragments/PlayerView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169103"
} | starcoder | namespace Fildo.Droid.Fragments
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.OS;
using Android.Support.Design.Widget;
using Android.Support.V4.Wid... | 1.717761 | 8238a0a980f683c9a6eb8087ab6bb208 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849884 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "romanov-is-here/orleans",
"max_stars_repo_path": "src/Orleans.Runtime/Core/ActivationMessageScheduler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169104"
} | starcoder | using System;
using Orleans.Runtime.Scheduler;
using Orleans.Runtime.Versions;
using Orleans.Runtime.Versions.Compatibility;
namespace Orleans.Runtime
{
/// <summary>
/// Responsible for scheduling incoming messages for an activation.
/// </summary>
internal class ActivationMessageScheduler
{
... | 1.978243 | c7a31eed5974848fae40e59dccc4df13 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mertess/CarCenter",
"max_stars_repo_path": "CarCenterBusinessLogic/Enums/BackUpTypeEnum.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169105"
} | starcoder | <reponame>mertess/CarCenter
using System;
using System.Collections.Generic;
using System.Text;
namespace CarCenterBusinessLogic.Enums
{
public enum BackUpTypeEnum
{
Json,
Xml
}
}
| 1.145862 | 8acc37f602315b5464f8cbddcb038d14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849886 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "nirajindi/msrecruit-scheduling-engine",
"max_stars_repo_path": "common/HR.TA.CommonLibrary/HR.TA.Common/Common/Common.Email/GraphContracts/EmailContract.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169106"
} | starcoder | //-----------------------------------------------------------------------
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//-----------------------------------------------------------------------
namespace HR.TA.Common.Email.GraphContracts
{
using HR.TA.Common.Email.SendGridContracts;
... | 1.733509 | 23efe653cdfc4571c01d88d5489251f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849887 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "klagan/samples-service-fabric-sf",
"max_stars_repo_path": "src/Sample.Sf.Common/IMyService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169107"
} | starcoder | <reponame>klagan/samples-service-fabric-sf
using System.Threading.Tasks;
using Microsoft.ServiceFabric.Services.Remoting;
namespace Sample.Sf.Common
{
public interface IMyService : IService
{
Task<string> HelloWorldAsync();
}
}
| 1.341015 | 34d57e1ac75549b4f6cfb6e586d92385 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849888 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tgassner/SPDPatientDocumentation",
"max_stars_repo_path": "SPDTest/DBNextActionTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169108"
} | starcoder | <filename>SPDTest/DBNextActionTest.cs
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SPD.DAL;
using SPD.CommonObjects;
namespace SPDTest {
/*
IList<NextActionData> FindAll();
OK NextActionData FindB... | 2.554484 | afcc4c89900a7bd12473ae06b37db3fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849889 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vincoss/xamarin.samples",
"max_stars_repo_path": "src/Forms/Xamarin_Navigation/Xamarin_Navigation/Views/TabbedPageTemplateView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169109"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Xamarin_Navigation.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class TabbedPageTemplateView : TabbedPage
... | 2.238034 | 379191ede6f6411231cee181cb53ba62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fabioborges-ti/webapi.netcore-postgres-docker-compose",
"max_stars_repo_path": "Api/Controllers/StudentsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169110"
} | starcoder | <filename>Api/Controllers/StudentsController.cs<gh_stars>0
using AutoMapper;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Api.Data.Dtos.Students;
using Api.Data.Interfaces;
using Api.Models;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Api.Control... | 2.649431 | 3056d5abfa853ab6b28ef3b9f231d10f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849891 | {
"extension": "c-sharp",
"max_stars_count": "1416.0",
"max_stars_repo_name": "ThePiranha/infer",
"max_stars_repo_path": "src/Learners/Runners/Evaluator/Configuration/RecommenderConfigurationElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169111"
} | starcoder | <reponame>ThePiranha/infer<filename>src/Learners/Runners/Evaluator/Configuration/RecommenderConfigurationElement.cs<gh_stars>1000+
// 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... | 1.483797 | 028d48d2e4f73277a05a858b674578d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849892 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "cfgexe/bosu",
"max_stars_repo_path": "osu.Game.Rulesets.Bosu/UI/Player/BulletsContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169112"
} | starcoder | <reponame>cfgexe/bosu<gh_stars>10-100
using osu.Framework.Allocation;
using osu.Framework.Graphics.Textures;
using osu.Framework.Graphics;
using System;
using osu.Framework.Graphics.OpenGL.Vertices;
using osuTK;
using System.Collections.Generic;
using osu.Game.Rulesets.Bosu.Extensions;
using osu.Framework.Graphics.Spr... | 2.313779 | 5017cbfe6f8af1ca020acd15386d1d78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849893 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "kristoferliew/dotnet-ewelink-api",
"max_stars_repo_path": "Models/Settings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169113"
} | starcoder | namespace EWeLink.Api.Models
{
using Newtonsoft.Json;
public class Settings
{
[JsonProperty("opsNotify")]
public int OpsNotify { get; set; }
[JsonProperty("opsHistory")]
public int OpsHistory { get; set; }
[JsonProperty("alarmNotify")]
publi... | 1.495198 | 8b3458e6996e13d24a7b4b17b43935e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849894 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lars-wobus/unity-essential-core",
"max_stars_repo_path": "EssentialCore/Assets/Essential/Core/Scripts/Event/Trigger/ApplicationPauseEventTrigger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169114"
} | starcoder | namespace Essential.Core.Event.Trigger
{
public class ApplicationPauseEventTrigger : EventTriggerBase
{
private void OnApplicationPause(bool isPaused)
{
if (!isPaused)
{
return;
}
HandleEvent();
}
}
} | 1.91893 | b223819e115baef531b826f468520d7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849895 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Viksaa/Buildy",
"max_stars_repo_path": "Views/Computers/AddRam.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:169115"
} | starcoder | <reponame>Viksaa/Buildy
@model IEnumerable<Buildy.Models.PC_Components.RAM>
@using Buildy.Models.PC_Components;
@{
ViewBag.Title = "AddRam";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Add Ram</h2>
<table class="table" id="Ram">
<thead>
<tr>
<th class="no-sort">
Im... | 2.333177 | d47be7877f978624c1cac5a282b83703 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849896 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "PradeepTheDev/Teknik",
"max_stars_repo_path": "Teknik/Areas/User/Views/User/Settings/SettingsBase.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:169116"
} | starcoder | <reponame>PradeepTheDev/Teknik
@model Teknik.Areas.Users.ViewModels.SettingsViewModel
@{
Layout = "~/Areas/User/Views/User/Settings/Settings.cshtml";
}
<div class="row">
<div class="col-sm-10 col-sm-offset-1">
<p>Default Account Settings</p>
</div>
</div>
| 1.209273 | 734bbbd3277cb2fddbc9621ca7b2741f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849897 | {
"extension": "c-sharp",
"max_stars_count": "212.0",
"max_stars_repo_name": "SpriteMaster-Ext/StructLinq",
"max_stars_repo_path": "src/StructLinq/Utils/Collections/PooledList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169117"
} | starcoder | using System;
using System.Buffers;
using System.Runtime.CompilerServices;
namespace StructLinq.Utils.Collections
{
internal struct PooledList<T> : IDisposable
{
private static readonly T[] emptyArray = new T[0];
private readonly ArrayPool<T> pool;
private int index;
public P... | 3.076067 | 580f8f0cda9f3a64cc8fe372e9e4f8f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849898 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "raffaeler/MskDotNet2019",
"max_stars_repo_path": "SpanMemoryPipelines/PipesDemoSolution/PipeHelpers/Blocks/FileSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169118"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Pipelines;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using PipeHelpers.Contracts;
using PipeHelpers.Extensions;
namespace PipeHelpers.Blocks
{
public class FileSource : IOutput
{
... | 2.633272 | 77921f1b9079a54d754ee0c09e4929dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849899 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dysn-Entertainment/DysnEntertainmentProto",
"max_stars_repo_path": "src/DysonEntertainment/DysonEntertainment.Api/Migrations/20210517033326_init.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169119"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace DysonEntertainment.Api.Migrations
{
public partial class init : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterDatabase()
.Annotation("MySql:Ch... | 2.220915 | 88bbf28850d970f16bd447575ed709de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849900 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "zhangke4300/LoggingManagement",
"max_stars_repo_path": "samples/LoggingManagementSample/src/LoggingManagementSample.Web/Menus/LoggingManagementSampleMenus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169120"
} | starcoder | namespace LoggingManagementSample.Web.Menus
{
public class LoggingManagementSampleMenus
{
private const string Prefix = "LoggingManagementSample";
public const string Home = Prefix + ".Home";
//Add your menu items here...
}
} | 1.500263 | 9a5b3c7244b6f64b5b8d13cbd90b3229 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849901 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lanhyde/RTSGameLearn",
"max_stars_repo_path": "Assets/Scripts/Storing/Storage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169121"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace PromiseCode.RTS.Storing
{
[CreateAssetMenu(fileName ="Storage", menuName = "RTS/Storage")]
public class Storage : ScriptableObject
{
[Header("Default Game Settings")]
[Tooltip("Here you should add all ... | 2.204423 | ef78212e96767d15e3035e47753d29a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849902 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mindleaving/commons",
"max_stars_repo_path": "UnitTests/Extensions/EnumerableExtensionsTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169122"
} | starcoder | using System.Collections.Generic;
using Commons.Extensions;
using NUnit.Framework;
namespace CommonsTest.Extensions
{
[TestFixture]
public class EnumerableExtensionsTest
{
[Test]
public void IsEquivalentTrueForSameList()
{
var list = new List<int> {1, 2, 4, ... | 3.064375 | 3500056cd9e9c9e545a44be2f8bf6e92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849903 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "eric-erki/ERP-CMR-DMS",
"max_stars_repo_path": "ViennaAdvantageWeb/ModelLibrary/ModelAD/X_AD_SchedulerLog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169123"
} | starcoder | namespace VAdvantage.Model
{
/** Generated Model - DO NOT CHANGE */
using System;
using System.Text;
using VAdvantage.DataBase;
using VAdvantage.Common;
using VAdvantage.Classes;
using VAdvantage.Process;
using VAdvantage.Model;
using VAdvantage.Utility;
using System.Data;
/** Generated Model for AD_SchedulerLog
* @... | 1.780246 | 5d886d1e3bf7c27f0dc66e3e6706eda7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849904 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ms-ar/SensOhr",
"max_stars_repo_path": "SensOhr_DesktopApp/SensOhr_DesktopApp/DB.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169124"
} | starcoder | <reponame>ms-ar/SensOhr
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Data.SQLite;
namespace SensOhr_DesktopApp
{
class DB
{
private static DB instance = null;
private static readonly object pad... | 2.300843 | ef1c626a2aa139236e19c1a7950de9cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849905 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bennidhamma/EmergeTk",
"max_stars_repo_path": "server/Comet/CometServer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169125"
} | starcoder | <gh_stars>1-10
/**
* Project: emergetk: stateful web framework for the masses
* File name: .cs
* Description:
*
* @author <NAME>, All-In-One Creations, Ltd. http://all-in-one-creations.net, Copyright (C) 2006.
*
* @see The GNU Public License (GPL)
*/
/*
* This program is free software; you can redistrib... | 2.131874 | 364a9170e40ad0465ca8155f033f39ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849906 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "jlnpinheiro/notifique-me-csharp",
"max_stars_repo_path": "notifique-me/Notificar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169126"
} | starcoder | <filename>notifique-me/Notificar.cs
using System.Linq;
namespace JNogueira.NotifiqueMe
{
/// <summary>
/// Classe responsável por adicionar notificações, caso uma determinada regra seja satisfeita.
/// </summary>
public static partial class Notificar
{
public static Notificavel Juntar(this... | 2.630733 | 02f0165a0d7dc094d533bdb33b7b86b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849907 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mholec/IDokladSdk",
"max_stars_repo_path": "Src/Idoklad/ApiModels/Batch/UpdateExported.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169127"
} | starcoder | using IdokladSdk.ApiModels.BaseModels;
using IdokladSdk.Enums;
namespace IdokladSdk.ApiModels
{
public class UpdateExported : IApiModel
{
public ExportableEntityTypeEnum EntityType { get; set; }
public ExportedStateEnum Exported { get; set; }
public int Id { get; set; }
}
}
| 1.508236 | 9b5c6a6d9114735305618771ca1821aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849908 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ddpruitt/MassTransit",
"max_stars_repo_path": "src/MassTransit/Transports/InMemory/Fabric/InMemoryExchange.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169128"
} | starcoder | <reponame>ddpruitt/MassTransit
// Copyright 2007-2017 <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://www.apache.org/licenses/LICENS... | 2.102181 | fb21846c655b8344b3a8d08369aa620c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849909 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "garcia/Unicodex",
"max_stars_repo_path": "Unicodex/View.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169129"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows;
using Unicodex.Properties;
namespace Unicodex.View
{
public class ViewObject : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChan... | 2.781726 | be222a395adaa8982cb07c643fa80711 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849910 | {
"extension": "c-sharp",
"max_stars_count": "81.0",
"max_stars_repo_name": "HLSW/DeltaEngine",
"max_stars_repo_path": "Samples/CreepyTowers/Tests/Triggers/StartingGoldTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169130"
} | starcoder | <filename>Samples/CreepyTowers/Tests/Triggers/StartingGoldTests.cs
using CreepyTowers.Levels;
using CreepyTowers.Triggers;
using DeltaEngine.Content;
using DeltaEngine.GameLogic;
using DeltaEngine.Platforms;
using NUnit.Framework;
namespace CreepyTowers.Tests.Triggers
{
public class StartingGoldTests : Cree... | 2.254237 | 9014a074bbccec74c3a5442231b84715 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849911 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "SmartValleyEcosystem/smartvalley",
"max_stars_repo_path": "SmartValley.WebApi/Projects/Responses/ProjectSummaryResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169131"
} | starcoder | <reponame>SmartValleyEcosystem/smartvalley
using System;
using SmartValley.Domain;
using SmartValley.Domain.Entities;
using SmartValley.WebApi.Scorings.Responses;
namespace SmartValley.WebApi.Projects.Responses
{
public class ProjectSummaryResponse
{
public long Id { get; set; }
pu... | 1.846794 | 28f1ae72792ca7fe7c2fe17ca5fb8687 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.