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 | 8834112 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yeyopepe/Many.Validators",
"max_stars_repo_path": "Many.Validators.Tests/NotNullOrEmptyTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153332"
} | starcoder | using Many.Validators.Tests.TestCaseSources;
using NUnit.Framework;
using System;
namespace Many.Validators.Tests
{
[TestFixture]
internal partial class NotNullOrEmptyTests: BaseTests
{
[Test]
public void NullValue_ReturnsNullException()
{
string value = null;
... | 2.421981 | 52ea17435dcf110e7dffa74c5596590e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834113 | {
"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-1014-23d8-my_string_compute_capacity_from_length.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153333"
} | starcoder | <gh_stars>1-10
using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x1014_23d8-1f1940b1")]
public void my_string_compute_capacity_from_length()
{
ii(0x1014_23d8, 5); ... | 1.926413 | ab4ff220f6117c8834f27b239abe4c1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834114 | {
"extension": "c-sharp",
"max_stars_count": "1430.0",
"max_stars_repo_name": "nko3/AtomOS",
"max_stars_repo_path": "src/Kernel/Kernel_alpha/Drivers/Buses/ATA/misc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153334"
} | starcoder | <filename>src/Kernel/Kernel_alpha/Drivers/Buses/ATA/misc.cs<gh_stars>1000+
using System;
using System.Runtime.InteropServices;
namespace Kernel_alpha.Drivers.Buses.ATA
{
public enum Status : byte
{
ATA_SR_BSY = 0x80,
ATA_SR_DRDY = 0x40,
ATA_SR_DF = 0x20,
ATA... | 1.218791 | 86d5066394ca57b94f20da0b814e371c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834115 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "InochiPM/YomiageLibrary",
"max_stars_repo_path": "Yomiage.GUI/Data/SleepMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153335"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yomiage.GUI.Data
{
enum SleepMode
{
SM10SEC = 0,
SM30SEC = 1,
SM1MIN = 2,
SM5MIN = 3,
SM10MIN,
SM30MIN,
SM1HOUR... | 2.964145 | 9be479e712623f6471d406347c240f2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834116 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/tl-result-and-certification",
"max_stars_repo_path": "src/Tests/Sfa.Tl.ResultsAndCertification.Web.UnitTests/Loader/TrainingProviderTests/SearchLearnerDetails/When_Called_With_Valid_Data.cs",
"provenance": "train-0... | starcoder | using FluentAssertions;
using NSubstitute;
using Sfa.Tl.ResultsAndCertification.Common.Enum;
using Sfa.Tl.ResultsAndCertification.Models.Contracts.Common;
using Sfa.Tl.ResultsAndCertification.Models.Contracts.TrainingProvider;
using System.Collections.Generic;
using Xunit;
using SearchLearnerDetailsContent = Sfa.Tl.R... | 2.158312 | 03895e41e685b510efefb8fa916af5a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834117 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Chansardrake/xamarin-demos",
"max_stars_repo_path": "Forms/NavigationDrawer/NavigationDrawer/Samples/NavigationDrawer_Main/ArchiveModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153337"
} | starcoder | #region Copyright Syncfusion Inc. 2001-2017.
// Copyright Syncfusion Inc. 2001-2017. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// <EMAIL>. Any infringement will be prosecuted under
// applicable laws.
#endr... | 2.597881 | bf67fb754d8333a75abb6175200f4127 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834118 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryancheung/MySqlSharp",
"max_stars_repo_path": "src/NativeMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153338"
} | starcoder | <filename>src/NativeMethods.cs
// MIT License - Copyright (C) ryancheung
// This file is subject to the terms and conditions defined in
// file 'LICENSE', which is part of this source code package.
using System;
using System.Text;
using System.IO;
using System.Reflection;
using System.Collections.Generic;
using Syste... | 2.206413 | 363c03428c9c663f45c92bb1933f899e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834119 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "OzzyOzmen/Entity-Asp.Net-Core-CodeFirst-MVC-Project",
"max_stars_repo_path": "OzzyEntityLibraries.Repository/CountriesRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153339"
} | starcoder | <reponame>OzzyOzmen/Entity-Asp.Net-Core-CodeFirst-MVC-Project
using System;
using OzzyEntityLibraries.ORM.Models;
namespace OzzyEntityLibraries.Repository
{
public class CountriesRepository:BaseRepository<Countries>
{
}
}
| 1.342599 | a196a47fdbad66523ec758bf72ba03bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834120 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "JadynWong/Abp.OpenIddict",
"max_stars_repo_path": "OpenIddictDemo/src/OpenIddictDemo.Domain.Shared/OpenIddictDemoAuthConst.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153340"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace OpenIddictDemo;
public static class OpenIddictDemoAuthConst
{
public const string ApplicationScope = "OpenIddictDemo";
public const string Audience = "abp_resource_server";
public const string EncryptionKey = "<KEY>;
}
| 1.367167 | 6d5650cf7a8c25b234ceb1a46df49914 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834121 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kznts9v-1lya/computer-practice",
"max_stars_repo_path": "Second semester/Completed homeworks/Homework 3/Task6.Plugins/Task6.UnitTest/UnitTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153341"
} | starcoder | <gh_stars>0
using System;
using System.IO;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Task6.Plugins;
namespace Task6.UnitTest
{
[TestClass]
public class UnitTest
{
[TestMethod]
public void ReflectionUnitTest()
{
... | 2.057889 | e8b6abe96cbfa59b8700756bfddcf1b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834122 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "antoniocampos/netsamples",
"max_stars_repo_path": "MultiTarget/ConsoleApp1NET40/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153342"
} | starcoder | using System;
namespace ConsoleApp1NET40
{
class Program
{
static void Main()
{
LibExample.ClassExample class1 = new LibExample.ClassExample();
Console.WriteLine(class1.TST);
Console.ReadKey();
}
}
}
| 1.942201 | 651d957b5fbbdbaa609963002d68cb0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834123 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZeroDonuts/LeagueOfLegendsLibrary",
"max_stars_repo_path": "LeagueOfLegendsLibrary/Items/ItemTree.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153343"
} | starcoder | <filename>LeagueOfLegendsLibrary/Items/ItemTree.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace LeagueOfLegendsLibrary
{
[DataContract(Name="ItemTreeDto")]
public class ItemTree
{
[... | 2.432631 | 924414687aa8df72561fd55a5863b33a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834124 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DeyanDanailov/SoftUniCSharpAdvanced",
"max_stars_repo_path": "tasks/08.BalancedParenthesis/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153344"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace _08.BalancedParenthesis
{
class Program
{
static void Main(string[] args)
{
string input = Console.ReadLine();
var stack = new Stack<char>();
bo... | 3.760764 | 0569f9b2d21459d5b8573b7281b6bbc7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834125 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hnasr/arcgis-pro-sdk-community-samples",
"max_stars_repo_path": "Map-Exploration/CustomIdentify/RelateInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153345"
} | starcoder | // Copyright 2016 Esri
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in w... | 1.970647 | 696f27afbc475fec2ca8e6332c8a5d5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834126 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IxxyXR/PolyGraph",
"max_stars_repo_path": "Packages/com.alelievr.mixture/Editor/CustomMipMapShaderGraph/MipMapSubShader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153346"
} | starcoder | #if MIXTURE_SHADERGRAPH
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEditor.Graphing;
using UnityEditor;
using UnityEditor.ShaderGraph;
using UnityEngine.Rendering;
using UnityEditor.ShaderGraph.Internal;
namespace Mixture
{
interface IMipMapSubShader : ISubShader
... | 1.638419 | 59ea6677c1f1936fcb614eb5b013dbbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834127 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "suxrobGM/TriviaStreak",
"max_stars_repo_path": "Trivia unity3d project/Assets/Daikon Forge/DataBinding/Scripts/dfComponentMemberInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153347"
} | starcoder | /* Copyright 2013 <NAME> */
using System;
using System.Linq;
using System.Reflection;
using UnityEngine;
/// <summary>
/// Encapsulates a <see cref="Component"/> reference and the name a member
/// on that component that can be retrieved for data binding or event binding.
/// </summary>
[Serializable]
public class... | 2.893723 | fd8af7a30621b33bf4ab61649ca75672 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834128 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bdbai/AngleSharp",
"max_stars_repo_path": "src/AngleSharp/Io/Processors/BaseRequestProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153348"
} | starcoder | <gh_stars>0
namespace AngleSharp.Io.Processors
{
using AngleSharp.Dom;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
/// <summary>
/// Basic implementation of a request processor.
/// </summary>
public abstract class BaseRequestProcessor : IRequestProcessor
{... | 2.424062 | c816638df5922d3ca682fd4d01e15cda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834129 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dangermin/HostelPass",
"max_stars_repo_path": "HostLPass.WebApi/Providers/CustomOAuthProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153349"
} | starcoder | <gh_stars>0
using HostLPass.Core.Infrastructure;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.OAuth;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
namespace HostLPass.WebApi.Providers
{
public class CustomOAuthProvide... | 2.069814 | 945f21c2a35628069c5425a51cefcb63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834130 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yndu13/dingtalk-sdk",
"max_stars_repo_path": "dingtalk/csharp/core/customer_service_1_0/Models/ExecuteActivityRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153350"
} | starcoder | <reponame>yndu13/dingtalk-sdk
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Dingtalkcustomer_service_1_0.Models
{
public class ExecuteActivityRequest : TeaModel {
/// <summary>
/// 来源ID... | 1.275027 | b010e720677808caaac6a9ec0d7fe116 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834131 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sobieck00/BOH-Bulldog-Scholarship-Application-Management",
"max_stars_repo_path": "BohFoundation.MembershipProvider/UserManagement/Admin/Implementation/ConfirmApplicationEvaluator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1533... | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using BohFoundation.Domain.Claims;
using BohFoundation.Domain.Dtos.Admin;
using BohFoundation.Domain.Dtos.UserManagement;
using BohFoundation.Domain.EntityFrameworkModels.Persons;
using BohFoundation.Domain.Enums;
using BohFoundation.MembershipProvider... | 1.855491 | 84ff5708d8eb095c08054f0deab611c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834132 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "memsom/Ratcow.Threading",
"max_stars_repo_path": "TaskLockTest/Test.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153352"
} | starcoder | using Ratcow.Threading;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace TaskLockTest
{
internal class Test
{
AsyncLockObject locker = new AsyncLockObject();
AsyncLock locker2 = new AsyncLock();
public void Do(int i)
{
Task.Factory.Sta... | 3.010045 | 72ad76f316d98855b0b2a986b23b0aba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834133 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "V-Uzunov/Soft-Uni-Education",
"max_stars_repo_path": "08.C#OOPAdvanced/02.Generics/08.CustomListSorter/Models/Sorter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153353"
} | starcoder | namespace _08.CustomListSorter.Models
{
using System;
using System.Collections.Generic;
using System.Linq;
using _01.GenericBoxOfString.Models;
class Sorter
{
public static Box<T> Sort<T>(Box<T> customList)
where T : IComparable<T>
{
var temp = customLis... | 3.225216 | 26d0c824e490c384e87e33313c50b5d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "harrystb/pdfjoiner",
"max_stars_repo_path": "pdfjoiner.DesktopClient/View Model/DirectoryItemViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153354"
} | starcoder | <reponame>harrystb/pdfjoiner<gh_stars>0
using pdfjoiner.Core.Models;
using System.Collections.ObjectModel;
using System.Linq;
using System.Windows.Input;
namespace pdfjoiner.DesktopClient
{
public class DirectoryItemViewModel : BaseViewModel
{
#region Constructor
public DirectoryItemViewModel(... | 2.718962 | bb1e822338c6828fdc7785d6a069ca65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834135 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bimsharp/AecHackathon20202_StaticNotStirred",
"max_stars_repo_path": "ApatosReshoring_UI/Models/IBuildingLoadModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153355"
} | starcoder | <reponame>bimsharp/AecHackathon20202_StaticNotStirred
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StaticNotStirred_UI.Models
{
public interface IBuildingLoadModel
{
List<ILevelLoadModel> LevelLoadModels { get; set; }
... | 1.561362 | cdbfb856011e3ee458d48b86f429576e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834136 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ddashwood/VisiGit",
"max_stars_repo_path": "VisiGitTests/MainWindowViewModelTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153356"
} | starcoder | <reponame>ddashwood/VisiGit<gh_stars>0
using LibGit2Sharp;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Threading;
using VisiGit.Framework;
using VisiGit.ViewModels;
using VisiGit.V... | 2.262621 | ed3ab157e46bfdb0eb6519cebfa16ac2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834137 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bartb56/UltimateRedditBot",
"max_stars_repo_path": "UltimateRedditBot.App/Factories/QueueFactory/IQueueFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153357"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using UltimateRedditBot.Domain.Models;
using UltimateRedditBot.Domain.Queue;
namespace UltimateRedditBot.App.Factories.QueueFactory
{
public interface IQueueFactory
{
Task AddToQueue(ulong guildId, string subRedditName, PostType post, ulo... | 2.081983 | 71944c9e7868878881bc4df52b25f7ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834138 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gareth-smyth/achiir6500",
"max_stars_repo_path": "server/Application/IServerConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153358"
} | starcoder | <reponame>gareth-smyth/achiir6500
namespace achiir6500.server
{
public interface IServerConfig
{
int GetProgramRunPollingIntervalMillis();
}
} | 1.294435 | d15298bf00e55e84c5a39504e88a530e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834139 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mjfusa/azure-mobile-apps",
"max_stars_repo_path": "sdk/dotnet/src/Microsoft.AspNetCore.Datasync/Authentication/AzureAppServiceAuthenticationHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153359"
} | starcoder | <filename>sdk/dotnet/src/Microsoft.AspNetCore.Datasync/Authentication/AzureAppServiceAuthenticationHandler.cs
// Copyright (c) Microsoft Corporation. All Rights Reserved.
// Licensed under the MIT License.
using Microsoft.AspNetCore.Datasync;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
usi... | 2.245875 | 53ab1747150ca8d61b02e65a4cd9f741 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834140 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SwamyDev/ML-TimeShifters",
"max_stars_repo_path": "TimeShifters/Assets/Scripts/Messages/Editor/MessagesTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153360"
} | starcoder | <filename>TimeShifters/Assets/Scripts/Messages/Editor/MessagesTests.cs
using System.Collections.Generic;
using NUnit.Framework;
namespace Messages.Tests
{
public class MessagesTests
{
private MessageDispatcher dispatcher;
private MessageReceiver receiver;
[SetUp]
public void S... | 2.664827 | 1ef091ec1ab532d03d219d0456573ae5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834141 | {
"extension": "c-sharp",
"max_stars_count": "190.0",
"max_stars_repo_name": "thedillonb/RepoStumble",
"max_stars_repo_path": "RepositoryStumble.iOS/Views/HeaderView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153361"
} | starcoder | using MonoTouch.UIKit;
using System.Drawing;
using MonoTouch.Dialog;
using MonoTouch.CoreGraphics;
namespace RepositoryStumble.Views
{
public class HeaderView : UIView
{
private const float XPad = 14f;
private const float YPad = 10f;
public static UIFont TitleFont = UIFont.BoldSystemFo... | 2.551075 | b82c8b2d23de5f50c3a52fdf7e986a46 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834142 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Ribbonwood-Gaming/ribbonwood-games",
"max_stars_repo_path": "Ribbonwood/Pages/LevelUpDice.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:153362"
} | starcoder | <reponame>Ribbonwood-Gaming/ribbonwood-games
@page
@model Ribbonwood.Pages.Partners.LevelUpDiceModel
@{
ViewData["Title"] = "LevelUpDice";
}
<h1>LevelUpDice</h1>
| 1.682604 | 8b00fdd9b0ae19552badea99228a66cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834143 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "pulumi/pulumi-alicloud",
"max_stars_repo_path": "sdk/dotnet/Ecs/Outputs/GetEcsLaunchTemplatesTemplateResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153363"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.470965 | dbd4e04dcf7f14d1a88baf97bd64e67f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834144 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IndrekV/toggldesktop",
"max_stars_repo_path": "src/ui/windows/TogglDesktop/TogglDesktop/ui/chrome/TogglChrome.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153364"
} | starcoder | <filename>src/ui/windows/TogglDesktop/TogglDesktop/ui/chrome/TogglChrome.xaml.cs
using System.Windows;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
namespace TogglDesktop
{
sealed class TogglChromeSample
{
public string Title { get; private set; }
public T... | 2.43671 | dd57f37a38bd241f2d639863a17bc5cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834145 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "frankfont/RAPTOR_FORK",
"max_stars_repo_path": "OtherComponents/MDWSvistalayer/MDWS Source/mdo/mdo/src/mdo/domain/UserSecurityKey.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153365"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace gov.va.medora.mdo
{
public class UserSecurityKey
{
string id;
string keyId;
string name;
string descriptiveName;
string creatorId;
string creatorName;
DateTime creationDate;
... | 2.401039 | 55704fe4bbce0852c62ecf6527e160f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834146 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "axionbio/SpiceSharp",
"max_stars_repo_path": "SpiceSharp/Algebra/Matrix/DenseMatrix.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153366"
} | starcoder | using System;
using System.Globalization;
using System.Text;
namespace SpiceSharp.Algebra
{
/// <summary>
/// A square matrix using a dense representation. As a small optimization, the row and column with
/// index 0 are not considered trash can elements.
/// </summary>
/// <typeparam name="T">The... | 3.436457 | e330e9da111d671bafeff8c6c1977dd5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834147 | {
"extension": "c-sharp",
"max_stars_count": "182.0",
"max_stars_repo_name": "itinero/itnero",
"max_stars_repo_path": "test/Itinero.Test/Osm/VehicleTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153367"
} | starcoder | /*
* Licensed to SharpSoftware under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* SharpSoftware licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not us... | 2.11715 | 003f92c34ef84973cb569303822ea444 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834148 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jan1902/MCCompiler",
"max_stars_repo_path": "src/Compiler/Compiling/Parsing/Implementations/NewParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153368"
} | starcoder | <filename>src/Compiler/Compiling/Parsing/Implementations/NewParser.cs
using CompilerTest.Compiling.Parsing.Models;
using CompilerTest.Compiling.Tokenizing.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespac... | 2.880689 | 75eb08667c7e42382a12d533aeb8229c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834149 | {
"extension": "c-sharp",
"max_stars_count": "89.0",
"max_stars_repo_name": "kissxic/EasyCMS",
"max_stars_repo_path": "VTemplate.Engine.Core/ForEachTag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153369"
} | starcoder | /* ***********************************************
* Author : kingthy
* Email : <EMAIL>
* Description : ForEachTag
*
* ***********************************************/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Text.RegularExpressions;
namespace... | 2.873378 | e78775296eca47d8009aa8e762409537 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GabrieleGoncalves/SistemaDeAvaliacaoMutua",
"max_stars_repo_path": "App_Code/Classes/Per_Perfil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153370"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// Summary description for Per_Perfil
/// </summary>
public class Per_Perfil
{
private int _per_codigo;
private int _aud_pes_codigo;
public int Aud_pes_codigo
{
get { return _aud_pes_codigo; }
... | 1.8589 | 27dabf3b31add9574328039779b96f2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834151 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/bitvectors/src/checks/BitVectorEval.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153371"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using static Root;
... | 1.696773 | cd8a19d580bc590b9905de0532410614 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834152 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "yasir2000/Neptune-",
"max_stars_repo_path": "PDDLParser/Exp/Formula/Described/ObjectFluentApplication.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153372"
} | starcoder | //
// Copyright (c) 2009 <NAME> and the Université de Sherbrooke.
// Use of this software is permitted for non-commercial research purposes, and
// it may be copied or applied only for that use. All copies must include this
// copyright message.
//
// This is a research prototype and it has not gone through intensive... | 2.43333 | 89a309c76094d2fe2228207d0fc1c2f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834153 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "pointcache/URSA",
"max_stars_repo_path": "Assets/URSA/Serialization/EntityObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153373"
} | starcoder | namespace URSA.Serialization
{
using UnityEngine;
using System;
using System.Collections.Generic;
[Serializable]
public class EntityObject
{
public int database_ID;
public int instance_ID;
public int blueprint_ID;
public string parentName;
public string g... | 1.718904 | c8572636ccdd074978d003d4507ed01d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZephyrRaine/GMTKJam",
"max_stars_repo_path": "Assets/Scripts/Deprecated/Interactable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153374"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Interactable : MonoBehaviour
{
[HideInInspector]
public float _radius = 0f;
public delegate void TriggerDelegate(GameObject other);
public TriggerDelegate _dEnter;
public TriggerDelegate _dExit;
public void ... | 2.189103 | 7242047fb3de29e0e2243a893b1539f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834155 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "gurj-jheeta/Microsoft-Teams-Shifts-WFM-Connectors",
"max_stars_repo_path": "Kronos-Shifts-Connector/Microsoft.Teams.Shifts.Integration/Microsoft.Teams.Shifts.Integration.Configuration/Views/Home/Index.cshtml",
"provenance": "train-00... | starcoder | @model Microsoft.Teams.Shifts.Integration.Configuration.Models.HomeViewModel
@{
ViewData["Title"] = "Home";
}
<style>
#updateBtn, #cancelBtn{
margin-left: 2%;
display: none;
float: left;
}
.buttonsDiv{
width: 100%
}
</style>
<link rel="stylesheet" href="~/css/spin... | 2.03668 | 7fde5989a8d58339878c58a8f6eacfd0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834156 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "geraldmaale/AspnetMicroservices",
"max_stars_repo_path": "src/IDP/IdentityServer/Config.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153376"
} | starcoder | using Core.Crosscutting;
using Duende.IdentityServer.Models;
using IdentityModel;
namespace IdentityServer
{
public static class Config
{
public static IEnumerable<IdentityResource> IdentityResources =>
new IdentityResource[]
{
new IdentityResources.OpenId(),
... | 1.938549 | 584d3967a53af89a2d8844ce641036a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834157 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ross-mcdermott/grpc-demo",
"max_stars_repo_path": "step-1/components/order-display/OrderSubscriber/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153377"
} | starcoder | <reponame>ross-mcdermott/grpc-demo
using Grpc.Core;
using Grpc.Net.Client;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace OrderSubscriber
{
class Program
{
static async Task Main(string[] args)
{
// for macos
AppContext.SetSwi... | 2.546864 | 5fb42424eccee34470b5f923af3e93c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prepare/Ajcek_manufakturalibraries",
"max_stars_repo_path": "Manufaktura.Controls.Legacy/Primitives/Size.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153378"
} | starcoder | namespace Manufaktura.Controls.Primitives
{
/// <summary>
/// Represents a 2D size.
/// </summary>
public struct Size
{
public double Height { get; set; }
public double Width { get; set; }
public Size(double width, double height)
: this()
{
... | 2.915364 | ef66660505735c6f248c8ed828a08e18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834159 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "kogoia/MRTD.NET",
"max_stars_repo_path": "SmartCardApi/SecureMessaging/CC/CC.test.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153379"
} | starcoder | <gh_stars>10-100
using NUnit.Framework;
using SmartCardApi.Cryptography;
using SmartCardApi.Infrastructure;
namespace SmartCardApi.SecureMessaging.CC
{
[TestFixture]
public class CCTests
{
[Test]
[TestCase("BF8B92D635FF24F8", "887022120C06C227", "0CA4020C800000008709016375432908C044F6")]
... | 1.858503 | 15526a60d2bdce0a5ed7ab34adbd9a1d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834160 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TeamSpark-Learning/azure-functions",
"max_stars_repo_path": "dotNet/Queue/Functions/Producer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153380"
} | starcoder | using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Queue
... | 2.705837 | e45080dc7ae236e7dec316d0ffafc056 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834161 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "folkelib/generator-folke",
"max_stars_repo_path": "generators/app/templates/Services/RoleService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153381"
} | starcoder | <reponame>folkelib/generator-folke
using Folke.Identity.Server.Services;
using <%= name %>.Data;
using <%= name %>.ViewModels;
namespace <%= name %>.Services
{
public class RoleService : IRoleService<Role, RoleViewModel>
{
public RoleViewModel MapToRoleView(Role role)
{
return new R... | 2.006362 | e96f78ef2919d7093b939268f3e180c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834162 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "andrewhoi/Amba.SpreadsheetLight",
"max_stars_repo_path": "Original/SpreadsheetLightV3.4/sourcecode/worksheet/SLSelection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153382"
} | starcoder | using System;
using System.Collections.Generic;
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Spreadsheet;
namespace SpreadsheetLight
{
internal class SLSelection
{
internal PaneValues Pane { get; set; }
internal string ActiveCell { get; set; }
internal uint ActiveCellId {... | 2.641694 | 32fd6c3572b9859eb561a082696c5f44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834163 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "sgermosen/StreamingFromFiles",
"max_stars_repo_path": "Src/EngineAPI/DTOs/LandingPageDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153383"
} | starcoder | <filename>Src/EngineAPI/DTOs/LandingPageDTO.cs
namespace EngineAPI.DTOs
{
public class LandingPageDTO
{
// public List<MovieDTO> InTheaters { get; set; }
// public List<MovieDTO> NextRelease { get; set; }
}
}
| 1.690755 | 604171c80dcd641ea8fbe2342e0ec8b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834164 | {
"extension": "c-sharp",
"max_stars_count": "1010.0",
"max_stars_repo_name": "MiggieNRG/microsoft-authentication-library-for-dotnet",
"max_stars_repo_path": "src/client/Microsoft.Identity.Client/Cache/CacheImpl/ICacheSerializationProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153384"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.;
namespace Microsoft.Identity.Client.Cache.CacheImpl
{
internal interface ICacheSerializationProvider
{
// Important - do not use SetBefore / SetAfter methods, as these are reserved for app developers
... | 1.528857 | 82884e4a87b5c53f6c6086623eb30c7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834165 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DXBrazil/Arda_old",
"max_stars_repo_path": "ARDA/Arda.Permissions/Migrations/20160622150255_permissao-nova-2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153385"
} | starcoder | <reponame>DXBrazil/Arda_old
using System;
using System.Collections.Generic;
using Microsoft.Data.Entity.Migrations;
namespace Arda.Permissions.Migrations
{
public partial class permissaonova2 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuil... | 1.555653 | 433e16c064a54727a1c366e7a9b1b26c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834166 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cqjinkong/component",
"max_stars_repo_path": "src/Jinkong.NLogger.Mysql/LogDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153386"
} | starcoder | using Jinkong.NLogger.Loggers;
using Jinkong.NLogger.Mysql.EntityConfigs;
using Microsoft.EntityFrameworkCore;
using Shashlik.EfCore;
// ReSharper disable CheckNamespace
namespace Jinkong.NLogger
{
[AutoMigration(typeof(bool), "Logging.NLog.AutoMigration", true)]
public class LogDbContext : DbContext
{
... | 1.874459 | 323e2938262300501355c1b9972b70d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834167 | {
"extension": "c-sharp",
"max_stars_count": "390.0",
"max_stars_repo_name": "Spinks90/YAFNET",
"max_stars_repo_path": "yafsrc/YetAnotherForum.NET/Pages/Profile/Subscriptions.ascx.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153387"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------... | 1.073093 | 1fa5cc71c9ac0c4d7588241966689bc1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834168 | {
"extension": "c-sharp",
"max_stars_count": "352.0",
"max_stars_repo_name": "xamarin/WebSharp",
"max_stars_repo_path": "electron-dotnet/src/websharpjs/WebSharp.js/dotnet/WebSharpJs.Electron/CrashReporter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153388"
} | starcoder | <filename>electron-dotnet/src/websharpjs/WebSharp.js/dotnet/WebSharpJs.Electron/CrashReporter.cs
using System;
using System.Threading.Tasks;
using WebSharpJs.NodeJS;
using WebSharpJs.Script;
namespace WebSharpJs.Electron
{
public class CrashReporter : EventEmitter
{
protected override string ScriptPr... | 2.307185 | c7e8b6c754c75ca43967d1e15ad056a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834169 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HiimEiffel/RetroClashv0.6",
"max_stars_repo_path": "RetroClash/Protocol/Commands/Client/LogicNewsSeenCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153389"
} | starcoder | <reponame>HiimEiffel/RetroClashv0.6<filename>RetroClash/Protocol/Commands/Client/LogicNewsSeenCommand.cs
using System.Threading.Tasks;
using RetroClash.Extensions;
using RetroClash.Logic;
namespace RetroClash.Protocol.Commands.Client
{
public class LogicNewsSeenCommand : Command
{
public LogicNewsSeen... | 2.019513 | e2fb627fe67f29561debab811ea0219d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834170 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Vishal-Pal/Swifty",
"max_stars_repo_path": "modules/Code/Annotation/AnnotateVariableDeclaration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153390"
} | starcoder | namespace swifty.Code.Annotation {
internal sealed class AnnotateVariableDeclaration : AnnotatedStatement {
public AnnotateVariableDeclaration(VariableSymbol variable, AnnotatedExpression initializer) {
Variable = variable;
Initializer = initializer;
}
public Variable... | 2.489392 | ce8e05af128e5c219a5c485ace86ddd7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834171 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ndvalkov/TelerikAcademy2016",
"max_stars_repo_path": "Homework/CSharp-Part-2/03. Methods/LargerThanNeighbours.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153391"
} | starcoder | using System;
class LargerThanNeighbours
{
static void Main()
{
int arraySize = int.Parse(Console.ReadLine());
string input = Console.ReadLine();
string[] elements = input.Split(new char[] { ' ' });
int[] numbers = new int[arraySize];
for (int i = 0; i < numbers.Length... | 3.733553 | 12b427a425911882df25aef9dd4f871e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834172 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Etheraex/ElDrive",
"max_stars_repo_path": "file-service/Controllers/ZIFileController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153392"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace file_service
{
[Produces("application/json")]
[Route("ZIFile")]
public class ZIFileController : Controller
{
private readonly ZIFileRepository _repo;
public ZIFileCont... | 2.191164 | 62c0b3cfca653ef77193ac537c603e2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834173 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Structum/Elements",
"max_stars_repo_path": "src/Elements.Security/Encryption/SymmetricAlgorithmType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153393"
} | starcoder | <reponame>Structum/Elements<filename>src/Elements.Security/Encryption/SymmetricAlgorithmType.cs
namespace Structum.Elements.Security.Encryption
{
/// <summary>
/// Identifies the Symmetric Algorithm Type.
/// </summary>
public enum SymmetricAlgorithmType
{
/// <summary>
/... | 2.622464 | a9487881a6b343966dddaf33389c377d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834174 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belelabestia/pennywize",
"max_stars_repo_path": "PennywizeServer/Controllers/UserDataController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153394"
} | starcoder | <gh_stars>0
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using PennywizeServer.Models;
namespace PennywizeServer.Controllers
{
[Route("api/[controller]")]
[ApiController]
[Authorize]
[Regi... | 2.062585 | 3d6d84ae3c805bca78ca708ce4a0b1f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834175 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "delian1986/C-SoftUni-repo",
"max_stars_repo_path": "Programming Basics/exersiceForExam/exerciseForExam/Histogram/Histogram.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153395"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Histogram
{
class Histogram
{
static void Main(string[] args)
{
var n = int.Parse(Console.ReadLine());
var p1Count = 0.0;
var p2Cou... | 3.256943 | f4f8eb8f046546a8a69fa3c6893b7537 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834176 | {
"extension": "c-sharp",
"max_stars_count": "736.0",
"max_stars_repo_name": "vernou/DryIoc",
"max_stars_repo_path": "test/DryIoc.Issue139_ReducedLoadTests/gen/Conn.GraphAPI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153396"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Conn.GraphAPI
{
public class AuthenticationInputModel
: IValidatableObject
{
public AuthenticationInputModel(
string arg0
)
{
field0 = arg0;
}
... | 2.087522 | a559f82e21962124e07ff8876d6d41de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834177 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "Keripo/Beats2",
"max_stars_repo_path": "beats2td/Assets/Scripts/Scenes/Sandbox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153397"
} | starcoder | <gh_stars>10-100
using UnityEngine;
using System;
using System.IO;
using System.Collections.Generic;
using Beats2;
using Beats2.System;
using Beats2.Audio;
using Beats2.Data;
using Beats2.Graphic;
using Beats2.UI;
namespace Beats2.Scenes {
public class Sandbox : BaseScene {
private const string TAG = "Sandbox";
p... | 1.832041 | b0f2d82834d3747ee8954860caf9b4e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834178 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "thinkingmedia/Prometheus",
"max_stars_repo_path": "Prometheus/Parser/Parser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153398"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Logging;
using Prometheus.Compile.Packaging;
using Prometheus.Exceptions;
using Prometheus.Exceptions.Executor;
using Prometheus.Grammar;
using Prometheus.Nodes;
using Prometheus.Nodes.Types;
using Prometheus... | 2.204087 | 492f9aca6446388ca0bcf9095a789063 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834179 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "search-for-the-one/1search.DataMapper",
"max_stars_repo_path": "src/OneSearch.DataMapper/Messaging/IQueue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153399"
} | starcoder | using System.Threading.Tasks;
namespace OneSearch.DataMapper.Messaging
{
public interface IQueue
{
Task<IMessages> GetMessages();
}
} | 1.411665 | 981cecc40d953c7c6ea6c54523534f91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834180 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NoelKirkland/HairSalon.Solution",
"max_stars_repo_path": "HairSalon/obj/Debug/netcoreapp2.2/Razor/Views/Shared/_Layout.g.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153400"
} | starcoder | #pragma checksum "/Users/noelkirkland/Desktop/HairSalon.Solution/HairSalon/Views/Shared/_Layout.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "c8e4f626fa049df73ed61741cfc0bf5bb9bb55c8"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(t... | 1.528298 | 244a571d9321e7f7c878a8d73dc9bb4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834181 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Paphos/ExoMai",
"max_stars_repo_path": "ExoMai1/ExoMai1/Services/IZooService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153401"
} | starcoder | using ExoMai1.Models;
using System.Collections.Generic;
namespace ExoMai1.Services
{
public interface IZooService
{
void Add(AnimalModel animal);
IEnumerable<AnimalModel> GetAll();
}
}
| 1.774688 | 98676b631e4c3e3acf17c284f29b1b57 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834182 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danielp37/container",
"max_stars_repo_path": "src/Registration/ImplicitRegistration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153402"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Unity.Injection;
using Unity.Lifetime;
using Unity.Policy;
using Unity.Resolution;
using Unity.Storage;
namespace Unity.Registration
{
//[DebuggerDisplay("Registration.Implicit({Count})")]
//[DebuggerTypeProxy(type... | 1.886679 | 1eb4b4d59bf8f812ce6f72964140948f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834183 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dave-br/CSClassroom",
"max_stars_repo_path": "Services/src/CSClassroom/CSClassroom.WebApp/ViewModels/Assignment/IAssignmentDisplayProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153403"
} | starcoder | <filename>Services/src/CSClassroom/CSClassroom.WebApp/ViewModels/Assignment/IAssignmentDisplayProvider.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CSC.CSClassroom.Model.Assignments.ServiceResults;
namespace CSC.CSClassroom.WebApp.ViewModels.Assignment
{
/... | 2.464358 | a8b58ccf30c1129baa6888b454bc31fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834184 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "symbolspace/Symbol.Data",
"max_stars_repo_path": "src/Symbol.Data.PostgreSQL/PostgreSQLDataContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153404"
} | starcoder | /*
* author:symbolspace
* e-mail:<EMAIL>
*/
namespace Symbol.Data {
/// <summary>
/// PostgreSQL 数据上下文。
/// </summary>
public class PostgreSQLDataContext : AdoDataContext {
#region ctor
/// <summary>
/// 创建 MysqlDataContext 的实例
/// </summary>
/// <para... | 2.826388 | 5e091423699293a61b18b09d8ef83176 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834185 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "sottam/LedsGUI",
"max_stars_repo_path": "Forms/DigitalCustomPaletteMode.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153405"
} | starcoder | <reponame>sottam/LedsGUI<gh_stars>1-10
namespace LedsGUI
{
partial class DigitalCustomPaletteMode
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources ... | 1.947518 | 1d18445b7a1eb6b109d2b4234617800a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834186 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "INVA-Spa/Laser.Orchard.Platform",
"max_stars_repo_path": "src/Modules/Laser.Orchard.Faq/ViewModels/EditFaqViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153406"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using Laser.Orchard.Faq.Models;
using Orchard.Data.Conventions;
namespace Laser.Orchard.Faq.ViewModels
{
public class EditFaqViewModel
{
[StringLengthMax]
[Required... | 1.864007 | 389b6f03db783158b8aa87a7765065af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834187 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "syedharoonalam/ATF",
"max_stars_repo_path": "Framework/Atf.Core/PropertyChangedEventArgsCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153407"
} | starcoder | <filename>Framework/Atf.Core/PropertyChangedEventArgsCollection.cs
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
namespace Sce.Atf
{
/// <summary>
/// Special c... | 2.875619 | 73308e1905db7aee1a54b7962a7a1152 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834188 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ConnectionMaster/outlook-matters",
"max_stars_repo_path": "OutlookMatters.Core/Settings/WpfSettingsUserInterface.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153408"
} | starcoder | namespace OutlookMatters.Core.Settings
{
public class WpfSettingsUserInterface : ISettingsUserInterface
{
private readonly ISettingsLoadService _loadService;
private readonly ISettingsSaveService _saveService;
public WpfSettingsUserInterface(ISettingsLoadService loadService, ISettingsS... | 2.174496 | eed2e176964df346e69eb2766b2ef07d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834189 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChristinaNikolova/Recipes---React",
"max_stars_repo_path": "server/RecipesWebApi/Web/Recipes.Web.Models/Admin/Categories/InputModels/CategoryInputModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153409"
} | starcoder | namespace Recipes.Web.Models.Admin.Categories.InputModels
{
using System.ComponentModel.DataAnnotations;
using global::Recipes.Common;
public class CategoryInputModel
{
[Required]
[StringLength(Validations.Category.NameMaxLenght, ErrorMessage = Messages.Error.RequiredMinMaxLength, Min... | 1.994095 | c2b47f5b240c5f54c470c59499a99f37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834190 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hiroki-kitahara/Nanka",
"max_stars_repo_path": "Assets/Scripts/System/Craft.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153410"
} | starcoder | using UnityEngine;
using UnityEngine.Assertions;
namespace HK.Nanka
{
public static class Craft
{
/// <summary>
/// アイテムを作成する
/// </summary>
public static void Crafting(Inventory inventory, Recipe recipe)
{
var targetItem = recipe.ProductItemSpec;
... | 2.164652 | ee64b54039c8f29cd4860f6c10d79121 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834191 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "elgraiv-take/Shangrid",
"max_stars_repo_path": "src/Shangrid/Shangrid/ThisAddIn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153411"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using Excel = Microsoft.Office.Interop.Excel;
using Office = Microsoft.Office.Core;
using Microsoft.Office.Tools.Excel;
using System.Windows;
namespace Shangrid
{
public partial class ThisAddIn
{
... | 2.150235 | c0eca832e7a5190a17d3ba3185ea8f77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834192 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "itplamen/Balkan-Air",
"max_stars_repo_path": "Balkan Air/Web/BalkanAir.Web.Common/MailSender.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153412"
} | starcoder | namespace BalkanAir.Web.Common
{
using System.Collections.Generic;
using System.Net;
using System.Net.Mail;
using System.Text;
public sealed class MailSender
{
private const string SEND_FROM_EMAIL = "<EMAIL>";
private const string SEND_FROM_NAME = "Balkan Air Bulgaria";
... | 2.780903 | afed6bec03864fef2ec164a777ecbc3b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834193 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "siposm/oktatas-hft-20211",
"max_stars_repo_path": "_archived/LA-09-process/parhuzamositas_process/09-fileProcessor-main/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153413"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _09_fileProcessor_main
{
class Program
{
static void Main(string[] args)
{
string[] inputs = new string[] {
"file1... | 2.481461 | 5b9de77447a51ab735bf454488c6a6b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834194 | {
"extension": "c-sharp",
"max_stars_count": "282.0",
"max_stars_repo_name": "DPS2004/quest",
"max_stars_repo_path": "EditorControls/WFGamebookOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153414"
} | starcoder | <reponame>DPS2004/quest<filename>EditorControls/WFGamebookOptions.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace TextAdventures.Quest.EditorControls
{
pu... | 2.224194 | 02a945dd793405bf5569d7ac7856dbc7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834195 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dtwk2/UtilityWpfCore",
"max_stars_repo_path": "UtilityWpf/CustomHelper/Dynamic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153415"
} | starcoder | <reponame>dtwk2/UtilityWpfCore
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Reflection;
using System.Runtime.CompilerServices;
namespace CustomHelper
{
/// <summary>
/// This gives an example of using encapsulation to implement
/// the ICustomTypeProvider - whe... | 2.954232 | e8bab412e61647f02858ec635b0c511e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834196 | {
"extension": "c-sharp",
"max_stars_count": "379.0",
"max_stars_repo_name": "geffzhang/MsSystem-BPM-ServiceAndWebApps",
"max_stars_repo_path": "src/Web/MVC/Controllers/MsSystem.Web.Areas.Sys/Service/PermissionStorageService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153416"
} | starcoder | using JadeFramework.Cache;
using JadeFramework.Core.Domain.Container;
using JadeFramework.Core.Domain.Entities;
using JadeFramework.Core.Domain.Permission;
using JadeFramework.Core.Mvc.Extensions;
using JadeFramework.Redis;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Newtonsoft.Jso... | 2.226454 | d831464e77297d4b9415942bbfe0e222 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834197 | {
"extension": "c-sharp",
"max_stars_count": "194.0",
"max_stars_repo_name": "sbtron/dynamics-365-customer-engagement",
"max_stars_repo_path": "ce/snippets/csharp/CRMV8/query/cs/linqexamples32.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153417"
} | starcoder | <gh_stars>100-1000
// <snippetlinqexamples32>
using (ServiceContext svcContext = new ServiceContext(_serviceProxy))
{
var list_retrieve1 = from c in svcContext.ContactSet
where c.ContactId == _contactId1
select new { StatusReason = c.FormattedValues["statuscode"] };
... | 2.468876 | 5b31a62b7f0597490e48e5781164ee80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834198 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "evgeni-tsn/CSharp-Web-Development",
"max_stars_repo_path": "2.C#-Object-Oriented-Programming/04.OOP-Encapsulation-and-Polymorphism/01.Shapes/BasicShape.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153418"
} | starcoder | namespace _01.Shapes
{
public abstract class BasicShape : IShape
{
private double width;
private double height;
protected BasicShape(double width, double height)
{
this.Width = width;
this.Height = height;
}
public double Height
... | 3.835977 | c04e139bbe55b2c02ea528ed6ca7ef78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834199 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moonryc/WSLManager",
"max_stars_repo_path": "Commands/CloseInstallerWindowCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153419"
} | starcoder | using System;
using System.Windows.Input;
using WSLManager.ViewModels.Installer;
namespace WSLManager.Commands
{
public class CloseWindowCommand:ICommand
{
private InstallerWindowViewModel _viewModel;
public CloseWindowCommand(InstallerWindowViewModel viewModel)
{
... | 2.632136 | d98e9e494702944f2e82638116eaf05e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834200 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jfranmora/unity-lsystem",
"max_stars_repo_path": "Assets/Scripts/Graph/Node.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153420"
} | starcoder | <reponame>jfranmora/unity-lsystem
using System;
using System.Collections.Generic;
[Serializable]
public class Node<T>
{
public List<Node<T>> edges;
public T value;
public Node(T value)
{
edges = new List<Node<T>>();
this.value = value;
}
}
| 2.109505 | 75005e171feb4ebf70e6efe70a75a5a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834201 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sam016/wit-hut-what",
"max_stars_repo_path": "server/Org.ERM.WebApi/Models/Dtos/ErrorDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153421"
} | starcoder | using System;
using Org.ERM.WebApi.Enums;
namespace Org.ERM.WebApi.Models.Dtos
{
public class ErrorDto
{
public int Status { get; set; }
public string Error { get; set; }
// public string StackTrace { get; set; }
}
}
| 1.691039 | 886b943525ee712f0409eae6f3cee42d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834202 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "kwitee/Card-project",
"max_stars_repo_path": "Assets/Scripts/Cards/CardTypes/EncounterCardTypes/WorldCardType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153422"
} | starcoder | namespace CardProject.Cards.CardTypes.EncounterCardTypes
{
public class WorldCardType : EncounterCardType
{
public int Attack;
}
} | 1.659222 | b04cee5be4319cea7714f8b4aea3f01b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834203 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NikShaw/Octocation",
"max_stars_repo_path": "Octo/Assets/Scripts/Gameplay/BubbleSpawner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153423"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class BubbleSpawner : MonoBehaviour {
[Header("Unity Objects")]
public GameObject Bubbles;
public List<GameObject> bubbList = new List<GameObject>();
[Header("Bubble Settings")]
public bool autoStart = true;
... | 2.139056 | 913826267ae923daced6c1c9a288f06f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834204 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "danielearwicker/Instaface",
"max_stars_repo_path": "Instaface.Consensus/IConsensusTransport.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153424"
} | starcoder | <filename>Instaface.Consensus/IConsensusTransport.cs
namespace Instaface.Consensus
{
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
public interface IConsensusTransport
{
Task<ICollection<(string node, Task<bool?> response)>> SendHeartbeat(string fr... | 1.707434 | 34fa137437470a5afea633fcb2a02389 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834205 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "sceelix/Sceelix",
"max_stars_repo_path": "Source/Sceelix.Meshes/IO/CustomIOSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153425"
} | starcoder | using System;
using System.IO;
using Assimp;
using Sceelix.Core.Resources;
namespace Sceelix.Meshes.IO
{
public class CustomIOSystem : IOSystem
{
private readonly string _directory;
private readonly IResourceManager _resourceManager;
public CustomIOSystem(IResourceManager resourceMan... | 2.802342 | 585c70bf76f9cf4eafc3b5af579e2902 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834206 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cmjimenez90/DebtorApplication",
"max_stars_repo_path": "src/DebtorWebApp/ServiceConfiguration/DefaultAdminConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153426"
} | starcoder | <gh_stars>0
using DebtorWebApp.Areas.Identity.Roles;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Threading.Tasks;
namespace DebtorWebApp.ServiceConfiguration
{
public static class DefaultAdminConfiguratio... | 2.146583 | 4535da2599f949236121fda854c10000 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834207 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "fluenthub-community/FluentHub",
"max_stars_repo_path": "src/FluentHub/Models/UserNotificationMethod.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153427"
} | starcoder | <reponame>fluenthub-community/FluentHub
using System;
namespace FluentHub.Models
{
[Serializable]
[Flags]
public enum UserNotificationMethod : uint
{
None = 0,
InApp = 1,
Toast = 2,
All = InApp | Toast
}
} | 1.719544 | 42ecee2f76be99096b37b96147b9ab02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834208 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "prnthp/experiment-structures",
"max_stars_repo_path": "Samples~/AEPsychDriven/Scripts/AEPsychSampleShowStimulusPhase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153428"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using ExperimentStructures;
using UnityEngine.UI;
public class AEPsychSampleShowStimulusPhase : Phase
{
public Text stimulusText;
public Image stimulus;
public string configKey = "alpha";
// Required override
publi... | 2.112264 | 4791b4fa4a0fd14b02c1e136f6f69bf7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834209 | {
"extension": "c-sharp",
"max_stars_count": "126.0",
"max_stars_repo_name": "Marcgs96/Guild-Master",
"max_stars_repo_path": "Guild Master/Assets/BansheeGz/BGCurve/Scripts/Editor/Cc/BGCcCursorEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153429"
} | starcoder | <filename>Guild Master/Assets/BansheeGz/BGCurve/Scripts/Editor/Cc/BGCcCursorEditor.cs<gh_stars>100-1000
using UnityEngine;
using BansheeGz.BGSpline.Components;
using UnityEditor;
//add points filter + pager for Editor
namespace BansheeGz.BGSpline.Editor
{
[CustomEditor(typeof (BGCcCursor))]
public class BGCc... | 2.017627 | f0f09d097c9e2c874d9cc4458b00eb38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834210 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StupidChris/COMP-376-A3",
"max_stars_repo_path": "A3/Assets/Scripts/Utils/BackgroundScroller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153430"
} | starcoder | <reponame>StupidChris/COMP-376-A3
using UnityEngine;
namespace PlanetaryEscape.Utils
{
/// <summary>
/// Scrolls a background texture smoothly over time
/// </summary>
[DisallowMultipleComponent, RequireComponent(typeof(Renderer)), AddComponentMenu("Rendering/BackgroundScroller")]
public class Bac... | 2.407607 | c45826ea244082b1530d685c6b74e329 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834211 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "deba1/A2Z-Online",
"max_stars_repo_path": "src/Application/Interfaces/EncyptionInterfaces/IAuthenticationService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153431"
} | starcoder | using Domain.Entities;
using System.Collections.Generic;
using System.Security.Claims;
namespace Application.Interfaces.EncyptionInterfaces
{
public interface IAuthenticationService
{
string CreateToken(UserCredential user);
string CreateRefreshToken(UserCredential user);
int? VerifyTo... | 2.141009 | 2f47c4b24afd5ea1435cdb0cf0ce102f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.