added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809090 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "luke-h1/explore-education-statistics",
"max_stars_repo_path": "src/GovUk.Education.ExploreEducationStatistics.Admin/Services/FootnoteService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128310"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using GovUk.Education.ExploreEducationStatistics.Admin.Services.Interfaces;
using GovUk.Education.ExploreEducationStatistics.Admin.Services.Interfaces.Security;
using GovUk.Education.ExploreEducationStatistics.Common.Extens... | 2.08654 | d88d26b3ecdc671140e912146b4b3bda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809091 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "boscoton87/Facade",
"max_stars_repo_path": "Facade/Exceptions/MethodInvocationException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128311"
} | starcoder | <gh_stars>0
using System;
namespace Facade.Exceptions
{
public class MethodInvocationException : Exception
{
public MethodInvocationException(string message) : base(message)
{
}
}
}
| 1.677366 | 72e1d58e59cc439278297891414462f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809092 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "82ndAirborneDiv/Epi-Info-Cloud-Contact-Tracing",
"max_stars_repo_path": "Cloud Enter/Epi.Web.Common/BusinessObject/FormSettingBO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128312"
} | starcoder | using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Epi.Web.Enter.Common.BusinessObject
{
[DataContract(Namespace = "http://www.yourcompany.com/types/")]
public class FormSettingBO
{
public string FormId { get; set; }
public Dictionary<string, string> DataAccess... | 1.501526 | da86e3d90d831e10bce8420e5c9a23f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809093 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "dainius-bekeris/xunit.runner.wpf",
"max_stars_repo_path": "xunit.runner.wpf/ViewModel/TraitViewModel.Comparer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128313"
} | starcoder | <reponame>dainius-bekeris/xunit.runner.wpf
using System;
using System.Collections.Generic;
namespace Xunit.Runner.Wpf.ViewModel
{
public partial class TraitViewModel
{
private static readonly TraitViewModelComparer _comparer = new TraitViewModelComparer();
internal static IComparer<TraitViewM... | 2.565212 | db86bec52ab2c033e1f4fcaf93f2e6c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809094 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abaquesoftware/QbGifBuilder",
"max_stars_repo_path": "csharp/Example/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128314"
} | starcoder | using System;
using System.Drawing.Imaging;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.IO;
using QbGif;
class Program {
const string logoFilename = "./Example-files/abaqueSoftware.png";
const string morphingFilename = "./Example-files/morphing.gif";
const string outpu... | 2.818398 | f64d45e7687b25c091464080615de8ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809095 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "blyman94/bee-day",
"max_stars_repo_path": "bee-day-source-code/Control/Camera_UI/Crosshair.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128315"
} | starcoder | using UnityEngine;
[RequireComponent(typeof(SpriteRenderer))]
[RequireComponent(typeof(BoxCollider2D))]
public class Crosshair : MonoBehaviour
{
public float sensitivity = 0.1f;
private Vector3 mousePos;
private SpriteRenderer spriteRenderer;
private BoxCollider2D bc2d;
void Awake()
{
... | 2.171749 | b0fac71c4fa83848af46aa81ac500d4e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809096 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sysopj/SodiumUE4",
"max_stars_repo_path": "Source/SodiumUE4/SodiumUE4.Build.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128316"
} | starcoder | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.IO;
public class SodiumUE4 : ModuleRules
{
public SodiumUE4(ReadOnlyTargetRules Target) : base(Target)
{
PublicDefinitions.Add("SODIUM_STATIC=1");
PublicDefinitions.Add("SODIUM_EXPORT=");
... | 1.745438 | f2f155a4e0034b6de2c23a95b6d27c59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809097 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Beier/Omnium",
"max_stars_repo_path": "Omnium.Core/ast/declarations/MemberModifier.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128317"
} | starcoder | namespace Omnium.Core.ast.declarations
{
public enum MemberModifier
{
Public,
Private,
Static,
Export,
Readonly
}
} | 1.416104 | 01d4406ffb46a5733b822ea677ad7b01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809098 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "Kymeric/specbind",
"max_stars_repo_path": "src/SpecBind/Validation/DoesNotContainComparer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128318"
} | starcoder | // <copyright file="DoesNotContainComparer.cs">
// Copyright © 2013 <NAME> All rights reserved.
// </copyright>
namespace SpecBind.Validation
{
using SpecBind.Pages;
/// <summary>
/// A string comparison class for a does not contain comparison
/// </summary>
public class DoesNotCon... | 2.937544 | 9cea6e11bc7be2c3e0822bc70f9c638b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809099 | {
"extension": "c-sharp",
"max_stars_count": "2845.0",
"max_stars_repo_name": "stavkidisq/NSwag",
"max_stars_repo_path": "src/NSwag.Generation.WebApi.Tests/EnumTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128319"
} | starcoder | <filename>src/NSwag.Generation.WebApi.Tests/EnumTests.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NJsonSchema.Annotations;
using NSwag.Generation.WebApi;
namespace NSwag.Generation.WebApi.Tests
{
[Tes... | 2.556471 | 2db8b400590400c72953129402cfea24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809100 | {
"extension": "c-sharp",
"max_stars_count": "537.0",
"max_stars_repo_name": "Kolibrice/Pcap.Net",
"max_stars_repo_path": "PcapDotNet/src/PcapDotNet.Core.Test/WiresharkDatagramComparerEthernet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128320"
} | starcoder | using System;
using System.Diagnostics.CodeAnalysis;
using System.Xml.Linq;
using PcapDotNet.Packets;
using PcapDotNet.Packets.Ethernet;
namespace PcapDotNet.Core.Test
{
[ExcludeFromCodeCoverage]
internal class WiresharkDatagramComparerEthernet : WiresharkDatagramComparerSimple
{
protec... | 2.241766 | 68796b615a1dd235d38f6229f6044bc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809101 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JTOne123/elasticsearch-net",
"max_stars_repo_path": "tests/Tests/Search/MultiSearch/MultiSearchTemplate/MultiSearchTemplateUrlTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128321"
} | starcoder | <reponame>JTOne123/elasticsearch-net
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System.Threading.Tasks;
using Elastic.Elasticsearch.Xunit.XunitPlumbin... | 1.113113 | 85bd3b158e24c11ca7e657f2251bc838 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809102 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Microshaoft/Microshaoft.WorkFlows",
"max_stars_repo_path": "CommonUtilities.Shared/Type/TypeHelper.02.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128322"
} | starcoder | namespace Microshaoft
{
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.CompilerServices;
public enum AccessMemberStateEnum
{
All,
CanRead,
CanWrite
}
public static partial class TypeHelper
{
public static... | 2.504368 | aec3fe943a79b559f4727b6cd139f53c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809103 | {
"extension": "c-sharp",
"max_stars_count": "3269.0",
"max_stars_repo_name": "PhantomGamers/Mirror",
"max_stars_repo_path": "Assets/Mirror/Tests/Editor/Weaver/WeaverMessageTests~/MessageMemberInterface.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128323"
} | starcoder | <reponame>PhantomGamers/Mirror
using System;
using Mirror;
using UnityEngine;
namespace WeaverMessageTests.MessageMemberInterface
{
interface SuperCoolInterface { }
class MessageMemberInterface : NetworkMessage
{
public uint netId;
public Guid assetId;
public Vector3 position;
... | 1.221602 | 353dad5560cd8d4cc73f25cb03f03d22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809104 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "siqr/JsonMsBuildLogger",
"max_stars_repo_path": "JsonMsBuildLogger/Diagnostics/DiagnosticsLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128324"
} | starcoder | using System;
namespace JsonMsBuildLogger.Diagnostics
{
/// <summary>
/// Implements diagnostic logger behavior
/// </summary>
/// <seealso cref="JsonMsBuildLogger.Diagnostics.IDiagnosticsLogger" />
internal abstract class DiagnosticsLogger : IDiagnosticsLogger
{
/// <summary>
... | 2.951505 | f1afd327b5c922a2c315887d07b0836e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809105 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Ceilidh-Team/Ceilidh.Standard",
"max_stars_repo_path": "ProjectCeilidh.Ceilidh.Standard/Tools/ReplayGainScanner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128325"
} | starcoder | <reponame>Ceilidh-Team/Ceilidh.Standard
using System;
using System.IO;
using System.Runtime.InteropServices;
using ProjectCeilidh.Ceilidh.Standard.Audio;
using ProjectCeilidh.Ceilidh.Standard.Decoder;
using ProjectCeilidh.Ceilidh.Standard.Filter;
namespace ProjectCeilidh.Ceilidh.Standard.Tools
{
public static cla... | 2.457393 | 7b47bdca645b835e7bf0cdffca353805 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809106 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dsalunga/mPortal",
"max_stars_repo_path": "Portal/WebSystem/WCMS.WebSystem.ViewModels/ViewModel/WebMasterPageViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128326"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WCMS.Common.Utilities;
using WCMS.Framework;
using WCMS.WebSystem.Controls;
namespace WCMS.WebSystem.ViewModel
{
public class WebMasterPageViewModel
{
public static void BuildTabs(int id, WQuery... | 1.804744 | 670a16c728856b361521c2a15e114b67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809107 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abrarmahmud94/SWE-4202",
"max_stars_repo_path": "Pharmacy Management System/Balance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128327"
} | starcoder | <filename>Pharmacy Management System/Balance.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pharmacy_Management_System
{
internal class Balance
{
public string name;
public string number;
publ... | 2.857183 | 0934c9945fa252c2c60844438f2bcd64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809108 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TenaciousBen/Expressive",
"max_stars_repo_path": "Expressive/Language/Expressions/Production.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128328"
} | starcoder | using System.Collections.Generic;
namespace Expressive.Core.Language.Expressions
{
public class Production
{
public Expression Expression { get; set; }
public List<Token> RemainingTokens { get; set; }
public Production(Expression expression, List<Token> remainingTokens)
{
... | 2.40491 | 34137389b693da699392590952c2fb6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809109 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "08162021-dotnet-uta/KyleHillRepo01",
"max_stars_repo_path": "projects/P2Personal/P2PersonalUI/Pages/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:128329"
} | starcoder | <reponame>08162021-dotnet-uta/KyleHillRepo01
@using P2PersonalUI
@namespace P2PersonalUI.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.003837 | 98f7941ea251a28d97e7aa16b3389347 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809110 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hathoute/SpotifyToolsGUI",
"max_stars_repo_path": "SpotifyToolsGUI/Windows/TrackOverlay.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128330"
} | starcoder | <filename>SpotifyToolsGUI/Windows/TrackOverlay.xaml.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Window... | 2.552336 | 7b308eaa59b4aa868c973826c9c437ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809111 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "DeluxeDuck/TheZeppelinGame",
"max_stars_repo_path": "Lurum Dare 46/Library/PackageCache/com.unity.render-pipelines.core@7.1.8/Runtime/Debugging/Prefabs/Scripts/DebugUIHandlerIndirectToggle.cs",
"provenance": "train-00027-of-00045.json... | starcoder | <reponame>DeluxeDuck/TheZeppelinGame
using System;
using UnityEngine.UI;
namespace UnityEngine.Rendering.UI
{
/// <summary>
/// DebugUIHandler for indirect toggle widget.
/// </summary>
public class DebugUIHandlerIndirectToggle : DebugUIHandlerWidget
{
/// <summary>
/// Label of the... | 2.441876 | a4b27f2678eac522a7c01a20c85a0de5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809112 | {
"extension": "c-sharp",
"max_stars_count": "540.0",
"max_stars_repo_name": "Ownezx/fluid-behavior-tree",
"max_stars_repo_path": "Assets/com.fluid.behavior-tree/Runtime/Tasks/EditorRuntimeUtilities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128332"
} | starcoder | using UnityEngine.Events;
namespace CleverCrow.Fluid.BTs.Tasks {
/// <summary>
/// A bundle of editor utilities that are for data visualization only.
/// Unsafe to call outside of #if UNITY_EDITOR methods and non-performant for normal runtime
/// </summary>
public class EditorRuntimeUtilities {
... | 1.540261 | 90be3056e00d130dff42710bfd364b1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809113 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "SummitRidgeEdu/ShooterWeaponSystemForUnity",
"max_stars_repo_path": "Assets/NebusokuDev/Smith/Editor/Generator/RecoilPatternProfileGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128333"
} | starcoder | <filename>Assets/NebusokuDev/Smith/Editor/Generator/RecoilPatternProfileGenerator.cs
using NebusokuDev.Smith.Editor.Generator.RecoilGenerateEngine;
using NebusokuDev.Smith.Runtime.Recoil.RecoilProfile;
using UnityEditor;
using UnityEngine;
namespace NebusokuDev.Smith.Editor.Generator
{
public class RecoilPattern... | 2.20363 | 49c2d902c3b43d644193174ba52f6360 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809114 | {
"extension": "c-sharp",
"max_stars_count": "148.0",
"max_stars_repo_name": "nathan-boyd/tsqllint",
"max_stars_repo_path": "source/TSQLLint.Tests/UnitTests/CommandLineOptions/HandlingStrategies/CreateConfigFileStrategyTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128334"
} | starcoder | using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using NSubstitute;
using NUnit.Framework;
using TSQLLint.Common;
using TSQLLint.Core.Interfaces;
using TSQLLint.Core.UseCases.Console.HandlerStrategies;
namespace TSQLLint.Tests.UnitTests.CommandLineOptions.HandlingStrategies
{
[TestF... | 2.127491 | b281e95571b174abb2528f1ddad78ff4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809115 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "redscientistlabs/Bizhawk50X-Vanguard",
"max_stars_repo_path": "Real-Time Corruptor/BizHawk_RTC/BizHawk.Emulation.Cores/Consoles/Atari/2600/Tia/Tia.HMoveData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128335"
} | starcoder | using BizHawk.Common;
namespace BizHawk.Emulation.Cores.Atari.Atari2600
{
public partial class TIA
{
private struct HMoveData
{
public bool HMoveEnabled;
public bool LateHBlankReset;
public bool DecCntEnabled;
public bool Player0Latch;
public bool Player1Latch;
public bool Missile0Latch;
p... | 1.836391 | 7c62ceae30fe69f81b68c12631325f4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809116 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "matishadow/GimmeThatAPI",
"max_stars_repo_path": "GimmeDatAPI.Configuration/InversionOfControl/RegistrationRelated/IAsImplementedInterfacesDependency.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128336"
} | starcoder | namespace GimmeDatAPI.Configuration.InversionOfControl.RegistrationRelated
{
/// <inheritdoc />
/// <summary>
/// Register the type as providing all of its public interfaces as services (excluding IDisposable).
/// </summary>
public interface IAsImplementedInterfacesDependency : IDependency
{
... | 2.127844 | 8d4df85058e3e80de74080236af04648 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809117 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LKneringer/Alturos.Yolo",
"max_stars_repo_path": "src/Alturos.Yolo.LearningImage/CustomControls/AnnotationImageListControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128337"
} | starcoder | using Alturos.Yolo.LearningImage.Model;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace Alturos.Yolo.LearningImage.CustomControls
{
public partial class AnnotationImageListControl : UserControl
{
public event Action<AnnotationImage> ImageSele... | 2.593868 | 402cec8f27f30e9a9ffce702e4eb7a65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809118 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RivaWangaaa/Yanxi-AdvancedProgrammingHW",
"max_stars_repo_path": "HW3-CreateAITest/Assets/CubeAgent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128338"
} | starcoder | <filename>HW3-CreateAITest/Assets/CubeAgent.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Unity.MLAgents;
using Unity.MLAgents.Sensors;
using Unity.MLAgents.Actuators;
public class CubeAgent : Agent
{
//Ball on the top of the cube's head
public GameObject ball;
private... | 2.488341 | e52b77ac485afe2068cb7bcfa979d564 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809119 | {
"extension": "c-sharp",
"max_stars_count": "450.0",
"max_stars_repo_name": "monkey0506/ags",
"max_stars_repo_path": "Editor/AGS.Editor/GUI/Docking/DockingPane.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128339"
} | starcoder | <filename>Editor/AGS.Editor/GUI/Docking/DockingPane.cs
using System;
using System.Collections.Generic;
using System.Text;
using AGS.Types;
using WeifenLuo.WinFormsUI.Docking;
namespace AGS.Editor
{
public class DockingPane : IDockingPane
{
FloatingWindow _floatWindow;
DockPane _dock... | 2.197768 | afb3c84b1d774e85aae46ee8e8f78325 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809120 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mattalexx/red-black-csharp",
"max_stars_repo_path": "RedBlackTest/Student.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128340"
} | starcoder | <filename>RedBlackTest/Student.cs
using RedBlack;
namespace RedBlackTest
{
public class Student : ITreeObject
{
private readonly string _key;
public Student(string key)
{
_key = key;
}
public string GetObjectStorageKey()
{
... | 2.570929 | bd8fd090e96e9094b98a20d8ed45735d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809121 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BCEF/SteamVRInteractiveSample",
"max_stars_repo_path": "Assets/MOMO/Scripts/EnterMainScene.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128341"
} | starcoder | <reponame>BCEF/SteamVRInteractiveSample
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
/// <summary>
/// 程序启动时进入的场景
/// </summary>
public class EnterMainScene : MonoBehaviour
{
public int enterIndex = 3;
// Start is called before the first fra... | 1.689354 | 6ca694056b2caa42af5b9a398dfa59c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809122 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "sonnt1012/ripple-netcore",
"max_stars_repo_path": "src/Ripple.Core/Types/Uint8.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128342"
} | starcoder | <filename>src/Ripple.Core/Types/Uint8.cs
using Newtonsoft.Json.Linq;
using Ripple.Core.Binary;
namespace Ripple.Core.Types
{
public class Uint8 : Uint<byte>
{
public Uint8(byte value) : base(value)
{
}
public override byte[] ToBytes()
{
return new [] {Value}... | 2.628468 | 679e1988b7210cd4208e570f5950efba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809123 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Keep3r/CDAS",
"max_stars_repo_path": "Checador de arquivos/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128343"
} | starcoder | <reponame>Keep3r/CDAS
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace Checador_de_arquivos
{
public partial class Form1 :... | 2.722546 | f7144dc17b360b5c4c17b851b92d33f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809124 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hyiero/KeepOnRolling",
"max_stars_repo_path": "Code/Commands/Game/LaunchNewGameCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128344"
} | starcoder | using UnityEngine;
using System.Collections;
using strange.extensions.command.impl;
using Managers;
using UnityEngine.SceneManagement;
using Services;
using Signals;
namespace Commands
{
public class LaunchNewGameCommand : Command
{
[Inject]
public IGuiService guiService { get; set; }
... | 1.877003 | e3faa9319bb3cc5af92a2b35888c7949 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809125 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "iraqigeek/Physics-based-vehicles",
"max_stars_repo_path": "PhysicsBasedVehicles_V2/Assets/HolmanVehicles/Scripts/Vehicles/Parts/Control Surfaces/SurfaceControls.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128345"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class SurfaceControls
{
[HideInInspector] public ControlSurface Part;
[SerializeField] private bool partSASEnabled = true;
[SerializeField] private PID PID = default;
[SerializeField] private K... | 2.088802 | 8e352dab617ed8b63e4a3233501c08f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809126 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MehimoNemo/space-station-14",
"max_stars_repo_path": "Content.Server/GameObjects/Components/Singularity/ContainmentFieldComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128346"
} | starcoder | #nullable enable
using Robust.Shared.GameObjects;
using Robust.Shared.Physics;
using Robust.Shared.Physics.Collision;
using Robust.Shared.Physics.Dynamics;
namespace Content.Server.GameObjects.Components.Singularity
{
[RegisterComponent]
public class ContainmentFieldComponent : Component, IStartCollide
{
... | 1.729041 | 061ef8069c909790f3025b894ed1616f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809127 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "odinsam/OdinPlugs",
"max_stars_repo_path": "OdinCore/ConfigModel/ErrorCodeModel/ErrorCodeCnfOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128347"
} | starcoder | using System.Collections.Generic;
namespace OdinPlugs.OdinCore.ConfigModel.ErrorCodeModel
{
public class ErrorModel
{
/// <summary>
/// ok
/// </summary>
public string ErrorCode { get; set; }
/// <summary>
/// ok
/// </summary>
public string ShowM... | 1.964734 | c246b3b1b76982efbb2755d2124fffb1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809128 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Infosys/Intelligent-Bot-Management-",
"max_stars_repo_path": "Superbot/Source/DataEntity/resourcetype.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128348"
} | starcoder | <filename>Superbot/Source/DataEntity/resourcetype.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to th... | 1.376087 | a54a64678425023bcc108ecdd32f32dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809129 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dmdv/authdemo",
"max_stars_repo_path": "AuthDemo/Cache/SessionCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128349"
} | starcoder | using AuthDemo.Models;
using Microsoft.AspNet.Identity;
using System.Collections.Generic;
using System.Runtime.Caching;
using System.Security.Principal;
namespace AuthDemo.Cache
{
public static class SessionCache
{
private const string CacheKey = "loggedinusers";
public static void Remove(str... | 2.749327 | 6600b2620418c2d8a38c88daa0f968a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809130 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stop-cran/shouldly",
"max_stars_repo_path": "src/Shouldly.Tests/ShouldBeInOrder/DoubleArrayScenario.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128350"
} | starcoder | using System.Collections.Generic;
using Shouldly.Tests.Strings;
using Shouldly.Tests.TestHelpers;
using Xunit;
namespace Shouldly.Tests.ShouldBeInOrder
{
public class DoubleArrayScenario
{
private readonly double[] _ascendingTarget = { 1.1, 1.2, 1.3, 1.4, 1.5 };
private readonly double[] _des... | 2.681415 | b579f233cbb39c12d64ba1cbdfd42f40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809131 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ttesla/TED_2019",
"max_stars_repo_path": "Assets/_TestProc/Scripts/Controller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128351"
} | starcoder | <reponame>ttesla/TED_2019
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Controller : MonoBehaviour
{
// Bu static Instance sayesinde Controller nesnesine başka Class (sınıf)'lar içinden
// zahmetsize erişebiliriz. Böyle bir kullanım yaparken dikkat etmeniz gereke... | 2.614038 | b54338142a30db2699bbe130be5f02c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809132 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "halfopen/DormTemperature",
"max_stars_repo_path": "DormTemperature/Global.asax.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128352"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using System.Data.Entity;
using DormTemperature.Models;
namespace DormTemperature
{
// 注意: 有关启用 IIS6 或 IIS7 经典模式的说明,... | 1.64453 | 7dc0208459a4fe60fab8db19367d0afb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809133 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KaDarius/OnboardingExperience",
"max_stars_repo_path": "OnboardingExperienceLearnt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128353"
} | starcoder | using System;
namespace OnboardingExperience
{
public class Program
{
static void Main(string[] args)
{
var user = new User();
var question = ("Please input your first name: ");
var answer = AskQuestion(question);
user.FirstName = answer;
... | 3.542655 | fb1c6a9db9a2875fd5a0e7d77275bba4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809134 | {
"extension": "c-sharp",
"max_stars_count": "165.0",
"max_stars_repo_name": "AzureView/CondenserDotNet",
"max_stars_repo_path": "test/CondenserTests/ServiceManagerConfigurationFacts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128354"
} | starcoder | using CondenserDotNet.Client;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace CondenserTests
{
public class ServiceManagerConfigurationFacts
{
[Fact]
public void DefaultsOverrideCorrectlyTest()
{
... | 2.361804 | 11293489324d169e84f9444b57e4c700 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809135 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrew-benson/Bezier-Curves",
"max_stars_repo_path": "Assets/LinearCurve.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128355"
} | starcoder | <gh_stars>0
using UnityEngine;
public class LinearCurve : MonoBehaviour
{
public LineRenderer line;
public Transform p0, p1;
public int lineResolution = 10;
private void Awake()
{
// Add one for the end point
line.positionCount = lineResolution + 1;
}
void Start()
{
... | 2.985485 | 493a41614582834c230d964065f52cfe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809136 | {
"extension": "c-sharp",
"max_stars_count": "1472.0",
"max_stars_repo_name": "rxDietel/XamarinCommunityToolkit",
"max_stars_repo_path": "src/CommunityToolkit/Xamarin.CommunityToolkit/Converters/ListIsNotNullOrEmptyConverter.shared.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128356"
} | starcoder | using System.Collections;
namespace Xamarin.CommunityToolkit.Converters
{
/// <summary>
/// Converts the incoming value to a <see cref="bool"/> indicating whether or not the value is not null and not empty.
/// </summary>
public class ListIsNotNullOrEmptyConverter : BaseNullableConverterOneWay<IEnumerable, bool>
... | 3.051268 | 64bf44307b78264c46aea0dc09576bef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809137 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "wforney/portal",
"max_stars_repo_path": "Master/Appleseed/Projects/PortableAreas/Password/Controllers/ResourceController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128357"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Reflection;
namespace Password.Controllers {
public class ResourceController : Controller {
public ActionResult Index(string resourceName) {
var contentType ... | 2.389305 | 148e9214804bdc8c61e72cdfaca03e94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809138 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tajwal/Advanced-Algorithms",
"max_stars_repo_path": "Advanced.Algorithms.Tests/GraphAlgorithms/Flow/FordFulkerson_Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128358"
} | starcoder | using Advanced.Algorithms.DataStructures.Graph.AdjacencyList;
using Advanced.Algorithms.GraphAlgorithms.Flow;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Advanced.Algorithms.Tests.GraphAlgorithms.Flow
{
[TestClass]
public class FordFulkerson_Tests
{
/// <summary>
/// Ford... | 2.830237 | 9e6b9a0076a8b8b61f0c1f8e6ed49800 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809139 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "npruehs/Nicks-Grab-Bag-of-Useful-Stuff-2",
"max_stars_repo_path": "Source/Npruehs.GrabBag/Npruehs.GrabBag.PriorityQueues/FibonacciHeapItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128359"
} | starcoder | // --------------------------------------------------------------------------------
// <copyright file="FibonacciHeapItem.cs" company="<NAME>">
// Copyright 2013 <NAME>.
// </copyright>
// --------------------------------------------------------------------------------
namespace Npruehs.GrabBag.PriorityQueues
{
... | 3.165307 | d681a3e2c001ff60f2a710206895c7af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809140 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "takemurakimio/department-store",
"max_stars_repo_path": "DepartmentStoreOne.Base.Model/Quote/QuoteSearchCriteria.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128360"
} | starcoder | <filename>DepartmentStoreOne.Base.Model/Quote/QuoteSearchCriteria.cs
using System.Collections.Specialized;
using Department.Base.Model.Common;
namespace Department.Base.Model.Quote
{
public partial class QuoteSearchCriteria : PagedSearchCriteria
{
public string CustomerId { get; set; }
public s... | 2.059284 | dbe456c8baace77bbfa59cb77da09aec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809141 | {
"extension": "c-sharp",
"max_stars_count": "252.0",
"max_stars_repo_name": "jackalstar/Blockchain-game",
"max_stars_repo_path": "Assets/MoralisWeb3ApiSdk/WalletConnectSharp/WalletConnectSharp.Core/Events/IEventProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128361"
} | starcoder | namespace WalletConnectSharp.Core.Events
{
public interface IEventProvider
{
void PropagateEvent(string topic, string responseJson);
}
} | 1.554778 | c6e4408ae64d5342d3d694aed70f8b6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809142 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FlaviusHouk/AvalonStudio",
"max_stars_repo_path": "AvalonStudio/AvalonStudio.Projects.OmniSharp/Debugger/PdbSymbolReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128362"
} | starcoder | namespace AvalonStudio.Debugging.DotNetCore
{
using System;
using System.Collections.Generic;
using System.Diagnostics.SymbolStore;
using System.IO;
using System.Linq;
using System.Reflection.Metadata;
using System.Reflection.Metadata.Ecma335;
public class PdbSymbolReader : ISymbolRead... | 2.200066 | fb45e199bfbc4d36281f7bbc85b02e0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809143 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "christianacca/ProblemDetails.Helpers",
"max_stars_repo_path": "tests/CcAcca.ProblemDetails.Helpers.Tests/Fixtures/CustomProblemDetails.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128363"
} | starcoder | namespace CcAcca.ProblemDetails.Helpers.Tests.Fixtures
{
public class CustomProblemDetails : Microsoft.AspNetCore.Mvc.ProblemDetails
{
public string StringField { get; set; }
public int IntField { get; set; }
}
}
| 1.488844 | 6d67874fec1495b726d1118bc73ed1b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809144 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "marek-safar/reference-assemblies",
"max_stars_repo_path": "src/v4.7.2/System.ServiceModel.Routing.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128364"
} | starcoder | <filename>src/v4.7.2/System.ServiceModel.Routing.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.
[assembly:System.Reflection.AssemblyVersionAttribute("4.0.0.0")]... | 1.575292 | da2ad3cb01e8df5a580a6dddc7da1186 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809145 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tyh24647/Miami1984",
"max_stars_repo_path": "Assets/VolumetricLines/Scripts/Utils/ExposePropertyAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128365"
} | starcoder | <filename>Assets/VolumetricLines/Scripts/Utils/ExposePropertyAttribute.cs
using System;
namespace VolumetricLines.Utils
{
// All credits go to Mift and Venryx
// http://wiki.unity3d.com/index.php/ExposePropertiesInInspector_SetOnlyWhenChanged
//
[AttributeUsage(AttributeTargets.Property)]
public class E... | 1.89981 | ffef10d8be8775d86e436697dcc49b8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809146 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chengming0916/FileExplorer",
"max_stars_repo_path": "src/FileExplorer3/app/FileExplorer.UIEventHub/BaseControls/SelectedItemsAdorner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128366"
} | starcoder | using FileExplorer.UIEventHub;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Media;
namespace FileExplor... | 2.531169 | 6e2d02cab39d3ae73c4a6d62c7dc9e00 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809147 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tomatopunk/FreeRedis",
"max_stars_repo_path": "src/FreeRedis/RedisClient/PubSub.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128367"
} | starcoder | using FreeRedis.Internal;
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace FreeRedis.Internal
{
public interface IPubSubSubscriber : IDisposable
{
RedisClient TopOwner { get; }
... | 2.378164 | ae79b5bbf96603b6c6a89b044d3e98bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809148 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "CodonFramework/Calcium",
"max_stars_repo_path": "Source/Framework/Calcium.UI.Data/Markup/MarkupExtensions/IocContainerExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128368"
} | starcoder | <reponame>CodonFramework/Calcium
using System;
using System.Linq;
using Calcium.InversionOfControl;
using Calcium.UI.Data;
namespace Calcium.UI.Elements
{
public class IocContainerExtension : MarkupExtensionBase
{
readonly string namespaceAliasedTypeName;
string containerKey;
Type itemType;
boo... | 2.135564 | af6ee4b5d003fdd9f9a99ceace8202c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809149 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fiveyuans/LeetCode",
"max_stars_repo_path": "CSharp/LeetCode/001/Two Sum.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128369"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
namespace LeetCode._001
{
class Two_Sum
{
public int[] TwoSum(int[] nums, int target)
{
int i;
int j;
int k = nums.Length;
int temp;
... | 3.375376 | 83e26901a09812368f517bae18b46e54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809150 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "o2x7/CognitoForms",
"max_stars_repo_path": "CognitoForms/CognitoFormsApp/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128370"
} | starcoder | using System;
using System.Threading.Tasks;
using Amazon;
using Amazon.CognitoIdentityProvider;
using SaltyDog.CognitoForms.App;
using SaltyDog.CognitoForms.Util;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
[assembly: XamlCompilation (XamlCompilationOptions.Compile)]
namespace SaltyDog.CognitoForms.App
{
public pa... | 2.110539 | 146fc94c11e8bf291c0b9abfdefe4df7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809151 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bende24/TowerDefense",
"max_stars_repo_path": "TowerDefense/Assets/Scripts/UI/PauseMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128371"
} | starcoder | <reponame>bende24/TowerDefense<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class PauseMenu : MonoBehaviour
{
public static PauseMenu Instance;
public bool isGamePaused = false;
public GameObject pauseMenuUI;
publi... | 2.119727 | 9ac21a8b3b5458405f01e6e47a9d0d81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809152 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "atkins126/ByteScout-SDK-SourceCode",
"max_stars_repo_path": "Screen Capturing SDK/C#/Capture Video From Separate Thread/CapturingThreadData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128372"
} | starcoder | <reponame>atkins126/ByteScout-SDK-SourceCode<gh_stars>10-100
//*******************************************************************************************//
// //
// Download Free Evaluation Version From: https://bytescout.com/dow... | 2.012733 | e082f63d147ad109312723f0b3c4d22d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809153 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "amd989/cf-vs-extension",
"max_stars_repo_path": "src/CloudFoundry.VisualStudio/Model/App.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128373"
} | starcoder | namespace CloudFoundry.VisualStudio.Model
{
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using CloudFoundry.CloudController.V2.Client;
using CloudFoundry.CloudControl... | 2.187002 | a02721880519d6f035d0055b3fe9cf37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sharons74/koobeca",
"max_stars_repo_path": "DAL/Models/FollowedItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128374"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace KoobecaFeedController.DAL.Models
{
/*
MariaDB [koobdb]> desc engine4_seaocore_follows;
+---------------+------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra ... | 2.01768 | 02385346da1025ef3a62c200f41cae82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809155 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fabriziospadaro/Unity-Boids-Flocking",
"max_stars_repo_path": "TransformComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128375"
} | starcoder | <gh_stars>1-10
using UnityEngine;
public struct TransformComponent {
private Transform T;
private Vector3 lastPos;
private Quaternion lastRot;
public void SetPosition(Vector3 pos) {
T.position = pos;
this.lastPos = pos;
this.lastRot = T.rotation;
}
public Vector3 Position {
get { return las... | 2.389378 | 0f49ec1f3dcab51d853454a54f63a57a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809156 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sedc-codecademy/skwd9-net-08-aspnetmvc",
"max_stars_repo_path": "G4/Class10/SEDC.PizzaApp.Refactored/SEDC.PizzaApp.Services/Services/Interfaces/IOrderService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128376"
} | starcoder | <gh_stars>1-10
using SEDC.PizzaApp.Domain.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace SEDC.PizzaApp.Services.Services.Interfaces
{
public interface IOrderService
{
Order GetOrderById(int id);
List<Order> GetAll();
public void MakeNewOrder(Order ... | 1.891799 | b973421cde6d6e551f470e649b7ffc1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809157 | {
"extension": "c-sharp",
"max_stars_count": "941.0",
"max_stars_repo_name": "liffeyd/Dnn.Platform",
"max_stars_repo_path": "DNN Platform/DotNetNuke.Web.Deprecated/UI/WebControls/DnnDatePicker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128377"
} | starcoder | <reponame>liffeyd/Dnn.Platform
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
namespace DotNetNuke.Web.UI.WebControls
{
using System;
using System.Data.S... | 1.817121 | 6c714b19511a766adf06f46158e75878 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "woundzoom/fhir-server",
"max_stars_repo_path": "src/Microsoft.Health.Fhir.Shared.Client/IFhirClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128378"
} | starcoder | <filename>src/Microsoft.Health.Fhir.Shared.Client/IFhirClient.cs
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license informatio... | 1.598555 | 6c6ec645c31e7716b29ef29b843f768d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809159 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "FORCAM-FORCE-Bridge-API/samples-dotnet",
"max_stars_repo_path": "_model/ModelEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128379"
} | starcoder | <reponame>FORCAM-FORCE-Bridge-API/samples-dotnet
using Newtonsoft.Json;
using System;
using System.Runtime.Serialization;
using System.Text;
namespace FORCAM.BridgeAPI.Model
{
/// <summary>
///
/// </summary>
[DataContract]
public class ModelEvent
{
/// <summary>
/// Gets or S... | 2.723271 | 437a27c13000d9756b146771d90666ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809160 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nvdeveloper/UmbracoUpgrade-7.7.0-WorkAround",
"max_stars_repo_path": "src/Umbraco.Web/umbraco.presentation/umbraco/actions/publish.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128380"
} | starcoder | <reponame>nvdeveloper/UmbracoUpgrade-7.7.0-WorkAround<filename>src/Umbraco.Web/umbraco.presentation/umbraco/actions/publish.aspx.cs<gh_stars>1-10
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
us... | 1.878638 | 8390d27201f8eec1986fd171d2769575 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809161 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "philipeformagio/sandbox-studies",
"max_stars_repo_path": "MinhaAppMvcCompleta/MinhaAppMvcCompleta/src/DevIO.Business/Models/Validations/FornecedorValidation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128381"
} | starcoder | using DevIO.Business.Models.Validations.Documentos;
using FluentValidation;
namespace DevIO.Business.Models.Validations
{
public class FornecedorValidation : AbstractValidator<Fornecedor>
{
public FornecedorValidation()
{
RuleFor(f => f.Nome)
.NotEmpty().WithMessage... | 2.551113 | 24877278da61c2d7796969fd64204839 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809162 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jkbutserious/Pierre.Solution",
"max_stars_repo_path": "Pierre/Views/Orders/Show.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:128382"
} | starcoder | <h1>Order @Model["order"].Id Details:</h1>
<h2>Title:</h2>
<p>@Model["order"].Title</p>
<h2>Description</h2>
<p>@Model["order"].Description</p>
<h2>Price:</h2>
<p>@Model["order"].Price</p>
<h2>Date Ordered:</h2>
<p>@Model["order"].Date</p>
<a href="/vendors/@Model["vendor"].Id">Return to Orders List</a>
<a href="/... | 1.747395 | 5fd205aa569255334a4097298150cf37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809163 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "accept-project/accept-portal",
"max_stars_repo_path": "AcceptPortal/Views/Evaluation/AddDataFile.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:128383"
} | starcoder | @model AcceptPortal.Models.Evaluation.EvaluationProject
@{
ViewBag.Title = "Add Data";
}
<h2>Add File</h2>
@using (Html.BeginForm("AddDataFile", "Evaluation", FormMethod.Post, new { enctype = "multipart/form-data", id = 1, provider = 1, langpair = 1}))
{
<table border="1">
<tr>
<td><b>... | 2.089932 | 59b529d39ba686215c109852458dc505 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809164 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GalapagosGuy/LGJ7",
"max_stars_repo_path": "LGJ7/Assets/Scripts/BlockingRotate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128384"
} | starcoder | <reponame>GalapagosGuy/LGJ7
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BlockingRotate : MonoBehaviour
{
Quaternion original;
void Start()
{
original = transform.rotation;
}
void LateUpdate()
{
transform.rotation = original;
... | 1.485616 | 1a9eada82994c07938d667ff4fffe20a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809165 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marklang1993/LianLianXuan_Prj",
"max_stars_repo_path": "LianLianXuan_Prj/Model/PriorityQueue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128385"
} | starcoder | using System.Collections.Generic;
namespace LianLianXuan_Prj.Model
{
public class PriorityQueue
{
private readonly SortedList<int, Queue<Position>> _priorityList;
private int _count;
public PriorityQueue()
{
_priorityList = new SortedList<int, Queue<Position>>();
... | 3.483819 | 4c439685a6d693d69e6d251b6673c0ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809166 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ZorPastaman/Behavior-Tree",
"max_stars_repo_path": "Runtime/Serialization/SerializedBehaviors/Decorators/SerializedCooldownOfSeconds.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128386"
} | starcoder | <filename>Runtime/Serialization/SerializedBehaviors/Decorators/SerializedCooldownOfSeconds.cs
// Copyright (c) 2020-2021 <NAME> <EMAIL> https://github.com/ZorPastaman/Behavior-Tree
using Zor.BehaviorTree.Core.Decorators;
using Zor.BehaviorTree.DrawingAttributes;
namespace Zor.BehaviorTree.Serialization.SerializedBeh... | 1.943084 | c499f20e216a6f2dad81a951e36b7f84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809167 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LukaszBrzezinski/OrdersExercise",
"max_stars_repo_path": "Shop/Infrastructure/StockChecker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128387"
} | starcoder | using Shop.Domain;
using Shop.Domain.Products;
namespace Shop.Infrastructure
{
internal class StockChecker : IStockChecker
{
public bool InStock(Sku sku, int amount)
{
throw new System.NotImplementedException();
}
}
} | 1.978994 | a349a9c6e917d09f7559d90a9d21d719 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809168 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "novelhawk/AoTTG-Mod",
"max_stars_repo_path": "UIDragCamera.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128388"
} | starcoder | <reponame>novelhawk/AoTTG-Mod
using System;
using UnityEngine;
[AddComponentMenu("NGUI/Interaction/Drag Camera"), ExecuteInEditMode]
public class UIDragCamera : IgnoreTimeScale
{
public UIDraggableCamera draggableCamera;
[SerializeField, HideInInspector]
private Component target;
private void Awake()
... | 1.752487 | 99ba7fa32da7ddbb31aa97ea35c21b12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809169 | {
"extension": "c-sharp",
"max_stars_count": "90.0",
"max_stars_repo_name": "uk0/AyyHook-Loader",
"max_stars_repo_path": "Ayyhook Loader/Ayy Hook/Injection/Win32/Imports.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128389"
} | starcoder | <gh_stars>10-100
using System;
using System.Diagnostics;
using System.Runtime.ConstrainedExecution;
using System.Runtime.InteropServices;
using System.Security;
namespace ManualMapInjection.Injection.Win32
{
[SuppressUnmanagedCodeSecurity]
internal static class Imports
{
[Flags]
... | 1.862284 | 10f32bec24445eaf42f2c952e0cfdfee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809170 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joacar/BarcodeFabric",
"max_stars_repo_path": "src/BarcodeFabric.Core/Barcode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128390"
} | starcoder | using System.Collections.Generic;
namespace BarcodeFabric.Core
{
public class Barcode : Dictionary<string, object>
{
public Barcode(string data)
{
Data = data;
}
/// <summary>
/// Original data string
/// </summary>
public string Data { get; ... | 2.488698 | 1507b3c5f0dcd7c149baf6ece1ceeee3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809171 | {
"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/ClosestFacility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128391"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace gov.va.medora.mdo
{
public class ClosestFacility
{
string visn;
string city;
string state;
string county;
string zip;
string longitude;
string latitude;
string fips;
... | 2.226762 | 8db21cdd057f080036744fe0e04199ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809172 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jianyuyanyu/lindexi_gd",
"max_stars_repo_path": "JoheagebearnalleNemhujawi/JoheagebearnalleNemhujawi/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128392"
} | starcoder | <reponame>jianyuyanyu/lindexi_gd
// See https://aka.ms/new-console-template for more information
A a = new A();
object o = a;
B b = a;
b = (B) o;
class A
{
public static implicit operator B(A a)
{
return new B();
}
}
class B
{
} | 2.09076 | 116b44094680e410a1693ba3fb5867e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809173 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "suchmememanyskill/JevilNet",
"max_stars_repo_path": "JevilNet/Modules/TextCommands/CustomCommands.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128393"
} | starcoder | using Discord;
using Discord.Commands;
using JevilNet.Modules.Base;
using JevilNet.Services;
using JevilNet.Services.CustomCommand;
namespace JevilNet.Modules.TextCommands;
[Group("command")]
[Alias("tag")]
[Summary("A module to add custom commands to the bot")]
[RequireContext(ContextType.Guild)]
public class Custo... | 2.448451 | 43bc1fc46c6fe883384fa11cf864be29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809174 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Shkyrockett/CSharpSpeed",
"max_stars_repo_path": "InstrumentedLibrary/Mathmatics/Matrix/GeneralMatrix/GeneralMatrixMultipliedByGeneralVectorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128394"
} | starcoder | <reponame>Shkyrockett/CSharpSpeed
using CSharpSpeed;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace InstrumentedLibrary
... | 2.779024 | 9faaf26894f87fc06c7b66db709be3ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809175 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "zhaobingwang/samples",
"max_stars_repo_path": "src-ddd/Sample.Infrastructure/SampleContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128395"
} | starcoder | <reponame>zhaobingwang/samples
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.EntityFrameworkCore;
using Sample.Domain.Entities;
namespace Sample.Infrastructure
{
public class SampleContext : DbContext
{
public SampleContext(DbContextOptions<SampleContext> options) ... | 2.032317 | 9ba1806bcfcb2a6f71e10c106f8ffee6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809176 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PimRheiter/stryker-net",
"max_stars_repo_path": "src/Stryker.Core/Stryker.Core/Exceptions/StrykerInputException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128396"
} | starcoder | <gh_stars>1-10
using System;
using System.Text;
namespace Stryker.Core.Exceptions
{
/// <summary>
/// Represents errors which are related to user input.
/// Everything that the user can fix themselves should be shown to them
/// using this kind of exception.
/// </summary>
public class Stryker... | 3.039546 | 888ca92ce4dc49d380ec31c9b4e7ddb9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809177 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MikeLimaSierra/Nuclear.Net",
"max_stars_repo_path": "src/Nuclear.Extensions/TypeExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128397"
} | starcoder | <reponame>MikeLimaSierra/Nuclear.Net
using System;
using System.Linq;
using Nuclear.Exceptions;
namespace Nuclear.Extensions {
/// <summary>
/// The class <see cref="TypeExtensions"/> provides extension methods to the type <see cref="Type"/>.
/// These methods add either completely new functionality or ... | 3.070037 | 7f1f411216344f6f8c59ffcf4f285060 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809178 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "smp-org/smp",
"max_stars_repo_path": "src/Smp.Web/Services/MailService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128398"
} | starcoder | using System.Net.Mail;
using System.Threading.Tasks;
using Scriban;
using Smp.Web.Wrappers;
namespace Smp.Web.Services
{
public interface IMailService
{
Task SendEmail(string receiverEmail, string subject, string body);
Task SendResetPasswordEmail(string receiverEmail, string name, string rese... | 2.546209 | 91e7c6021ea8ee3da0defb93decbcfcf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809179 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mahongquan/ipy_rtf",
"max_stars_repo_path": "RtfConverter_v1.7.0/Interpreter/RtfVisualSpecialCharKind.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128399"
} | starcoder | // -- FILE ------------------------------------------------------------------
// name : RtfVisualSpecialCharKind.cs
// project : RTF Framelet
// created : <NAME> - 2008.05.22
// language : c#
// environment: .NET 2.0
// copyright : (c) 2004-2013 by <NAME>, Switzerland
// --------------------------------... | 1.865966 | cf8244a499cd7c03c5ca5dd37cc314ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809180 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "UPBIoT/renode-iot",
"max_stars_repo_path": "src/Infrastructure/src/Emulator/Peripherals/Peripherals/Miscellaneous/SiLabs/DeviceFamily.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128400"
} | starcoder | //
// Copyright (c) 2010-2018 Antmicro
//
// This file is licensed under the MIT License.
// Full license text is available in 'licenses/MIT.txt'.
//
namespace Antmicro.Renode.Peripherals.Miscellaneous.SiLabs
{
public enum DeviceFamily : byte
{
EFR32MG1P = 16, //EFR32 Mighty Gecko Family Series 1 Dev... | 1.503208 | f0c9834394bd904965d0e6b93bcd211d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809181 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yangbingqi155/Nagrace",
"max_stars_repo_path": "src/Orchard.Web/Modules/NGM.Forum/Migrations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128401"
} | starcoder | <reponame>yangbingqi155/Nagrace<gh_stars>0
using System;
using Orchard.ContentManagement.MetaData;
using Orchard.Core.Contents.Extensions;
using Orchard.Data.Migration;
namespace NGM.Forum {
public class Migrations : DataMigrationImpl {
public int Create() {
SchemaBuilder.CreateTable("ForumPar... | 2.059401 | 7860e5ab0e0562142e8ebf4dfc23bb75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809182 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Covid-Operations-Resource-Agent/Bot",
"max_stars_repo_path": "Bot/State/StateAccessors.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128402"
} | starcoder | using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Azure;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Extensions.Configuration;
using Shared;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Bot.State
{
public class StateAccessors
{
/// <summary>
... | 2.351268 | 6b61eb88d2ad9be741bb87a20a80be22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809183 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gnaeus/NMemoryCache",
"max_stars_repo_path": "NMemoryCache.Tests/InvalidationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128403"
} | starcoder | <reponame>gnaeus/NMemoryCache
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NMemoryCache.Tests.Data;
namespace NMemoryCache.Tests
{
[TestClass]
public class InvalidationTests
{
protected IMemoryCache _cache;
[... | 1.256802 | e5c05fb7770a833a79b53b96b2ec9a84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809184 | {
"extension": "c-sharp",
"max_stars_count": "94.0",
"max_stars_repo_name": "ashlyrclark/docs.particular.net",
"max_stars_repo_path": "tutorials/nservicebus-step-by-step/2-sending-a-command/Snippets/Core_7/Command.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128404"
} | starcoder | <gh_stars>10-100
using NServiceBus;
namespace Core_6
{
#region Command
public class DoSomething :
ICommand
{
public string SomeProperty { get; set; }
}
#endregion
} | 1.738269 | 70718cf31776bf09bc81a56c7f676bf0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809185 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jpdias/TrigMeter",
"max_stars_repo_path": "obj/Debug/Areas.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128405"
} | starcoder | <reponame>jpdias/TrigMeter
#pragma checksum "C:\Users\<NAME>\Documents\Visual Studio 2013\Projects\TrigMeter\Areas.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "5827517CE76E05DE41C0B083835A2A3A"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was ... | 1.587159 | f57817aa2b3f425aa8e0054c9e97be0a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809186 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "omarchehab98/io-reboot",
"max_stars_repo_path": "Assets/Scripts/Behaviours/Channels/BehaviourStatic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128406"
} | starcoder | using UnityEngine;
public class BehaviourStatic : BehaviourChannel
{
public const int id = 1;
public override void Start()
{
base.Start();
}
public override void EventRotateChannel(bool inverted, bool checkForUnscrambled)
{
if(editorMode) {
base.EventRotateChannel(inverted, chec... | 1.849622 | ea7b365f7060324bdeb39e3705fdf321 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809187 | {
"extension": "c-sharp",
"max_stars_count": "187.0",
"max_stars_repo_name": "Yoshida24/uni-l2d-extension",
"max_stars_repo_path": "dev/UniL2dExtension/Assets/Sample/Live2D/Cubism/Framework/ComponentExtensionMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128407"
} | starcoder | <reponame>Yoshida24/uni-l2d-extension
/**
* Copyright(c) Live2D Inc. All rights reserved.
*
* Use of this source code is governed by the Live2D Open Software license
* that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
*/
using System.Collections.Generic;
using Unit... | 2.457701 | b04545ce188f68a98c5c9a73ae2240df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809188 | {
"extension": "c-sharp",
"max_stars_count": "352.0",
"max_stars_repo_name": "huysentruitw/SQLStreamStore",
"max_stars_repo_path": "src/SqlStreamStore.Http/HttpClientSqlStreamStore.Subscriptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128408"
} | starcoder | <filename>src/SqlStreamStore.Http/HttpClientSqlStreamStore.Subscriptions.cs
namespace SqlStreamStore
{
using SqlStreamStore.Streams;
using SqlStreamStore.Subscriptions;
partial class HttpClientSqlStreamStore
{
public IStreamSubscription SubscribeToStream(
StreamId streamId,
... | 1.878358 | cd8d1aa728743c16c355a7850774abd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809189 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "TanukiSharp/MHArmory",
"max_stars_repo_path": "MHArmory.Core/DataSources.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128409"
} | starcoder | <reponame>TanukiSharp/MHArmory
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using MHArmory.Core.DataStructures;
namespace MHArmory.Core
{
public interface IDataSource
{
string Description { get; }
Task<ILocalizedItem[]> GetCraftMaterials();
Task<IArmorPi... | 1.583204 | a29c42c98b05137c7db2a5d329ceedca |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.