added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9437 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aspekt1024/TrixiePrototypes",
"max_stars_repo_path": "Assets/TrixieController/PlayerController2D/Scripts/Player/PlayerComponents/PlayerBoundsCheck.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9438"
} | starcoder | using UnityEngine;
namespace Aspekt.PlayerController
{
public class PlayerBoundsCheck
{
private Transform playerTransform;
private Rigidbody2D playerBody;
private Collider2D playerCollider;
public PlayerBoundsCheck(Transform playerTransform, Rigidbody2D playerBody, Collider2D ... | 2.511202 | 0d4c4589f8e32c01ae745d937ade724f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9438 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abdulbeard/EIP_ScatterGather",
"max_stars_repo_path": "ScatterGather/Main.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9439"
} | starcoder | <reponame>abdulbeard/EIP_ScatterGather
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ScatterGather.Request;
using ScatterGather.Aggregation;
using ScatterGather.Workloads;
namespace ScatterGather
{
public class WorkloadManager : IWorkload
{
publ... | 2.324933 | 49ddab6797c3e3586bb165e327b60033 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9439 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RyanClementsHax/GW2Api.NET",
"max_stars_repo_path": "GW2Api.NET/V2/Accounts/Dto/MasterySummary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9440"
} | starcoder | namespace GW2Api.NET.V2.Accounts.Dto
{
public record MasterySummary(
int Id,
int Level
);
}
| 1.408516 | c4233810a60effe87b584bea9a5dd51d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9440 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NetOfficeFw/Excel-XlLateBinding",
"max_stars_repo_path": "ReleaseTags/0.9/Source/LateBindingApi.Office/CanvasShapes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9441"
} | starcoder | //Generated by LateBindingApi.CodeGenerator
using System;
using System.Reflection;
using System.ComponentModel;
using System.Runtime.InteropServices;
using LateBindingApi.Core;
using System.Collections;
namespace LateBindingApi.Office
{
[SupportByLibrary("OF10","OF11","OF12","OF14")]
public class CanvasShapes : _IMso... | 2.154609 | c8154e7ecaa6d6ba3ecca0470bcfd161 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9441 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "glombek/bento.editor",
"max_stars_repo_path": "src/Bento.Core/DataEditors/BentoItemConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9442"
} | starcoder | <reponame>glombek/bento.editor<filename>src/Bento.Core/DataEditors/BentoItemConfiguration.cs
using System.Reflection;
using Umbraco.Core.PropertyEditors;
namespace Bento.Core.DataEditors
{
public class BentoItemConfiguration
{
[ConfigurationField(
"credits",
"Credits",
"/app_plugins/bento/prevalueeditors/bento.cr... | 2.0117 | 3bfbdfd57c3f90772f7b14192150d299 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9442 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fhtino/azure-functions-stuff",
"max_stars_repo_path": "CmdBasedFunctionLIB/ICmdHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9443"
} | starcoder | <filename>CmdBasedFunctionLIB/ICmdHandler.cs
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace CmdBasedFunctionLIB
{
public interface ICmdHandler
{
string CmdName { get; }
Task<List<Cmd>> Execute(Cm... | 2.114926 | 5436bfd107305a4897f5c23cb1bd5c91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9443 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GrumpyBusted/Grumpy.FeatureToggle",
"max_stars_repo_path": "Grumpy.FeatureToggle.Api/Dto/FeatureToggleRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9444"
} | starcoder | <gh_stars>0
namespace Grumpy.FeatureToggle.Api.Dto
{
public class FeatureToggleRequest
{
public string ServiceName { get; set; }
public string UserName { get; set; }
public string MachineName { get; set; }
public string Feature { get; set; }
}
} | 1.089042 | e5d84e34b52224ee83c44fe976b98499 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9444 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "aliyun/dingtalk-sdk",
"max_stars_repo_path": "dingtalk/csharp/core/jzcrm_1_0/Models/EditQuotationRecordRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9445"
} | starcoder | // This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Dingtalkjzcrm_1_0.Models
{
public class EditQuotationRecordRequest : TeaModel {
/// <summary>
/// 编辑数据
/// </summary>
[Name... | 1.249375 | 0fd6e3e3fb9264e7f1516688c04b8db3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9445 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "niyw/cotroller",
"max_stars_repo_path": "test/niyw.cotroller.Application.Tests/cotrollerApplicationTestModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9446"
} | starcoder | <filename>test/niyw.cotroller.Application.Tests/cotrollerApplicationTestModule.cs<gh_stars>1-10
using Volo.Abp.Modularity;
namespace niyw.cotroller
{
[DependsOn(
typeof(cotrollerApplicationModule),
typeof(cotrollerDomainTestModule)
)]
public class cotrollerApplicationTestModule : AbpMo... | 1.271978 | a471e832b20ae4aa5551e4b61c971150 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9446 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WhiteRabbitRo/TermProject-Delusion",
"max_stars_repo_path": "Assets/Scripts/Character.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9447"
} | starcoder | <reponame>WhiteRabbitRo/TermProject-Delusion
using UnityEngine;
using UnityEngine.SceneManagement;
using System.Collections;
using System.Linq;
/// \brief Скрипт игрока
[System.Serializable]
public class Character : Unit
{
[SerializeField]
/// Количество жизней
private int lives = 5;
[SerializeField]... | 2.268313 | 46c9729b58aea6f753499f5035d6d9a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9447 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rnlalfred/GLifeInc",
"max_stars_repo_path": "src/Client.Infrastructure/Managers/IManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9448"
} | starcoder | <filename>src/Client.Infrastructure/Managers/IManager.cs
namespace GLifeInc.Client.Infrastructure.Managers
{
public interface IManager
{
}
} | 1.424025 | 7fb701d217e9cb9b91736048713b8313 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9448 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MathiasZander/ServiceFabricPerfomanceTest",
"max_stars_repo_path": "src/MassTransit/Automatonymous/Configuration/StateMachineConnectors/StateMachineSagaMessageConnector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9449"
} | starcoder | <reponame>MathiasZander/ServiceFabricPerfomanceTest
namespace Automatonymous.StateMachineConnectors
{
using GreenPipes;
using MassTransit;
using MassTransit.Saga;
using MassTransit.Saga.Connectors;
public class StateMachineSagaMessageConnector<TInstance, TMessage> :
SagaMessageConnector<T... | 1.906383 | 651bd0d76d152dce6c51d7d2959ebcaa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9449 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PRicardo/Teste_Viajanet",
"max_stars_repo_path": "ViajanetFullstack/RabbitMQ/RabbitManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9450"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using RabbitMQ.Client;
using System.Text;
using ViajanetFullstack.Models;
using Newtonsoft.Json;
using RabbitMQ.Client.Events;
namespace ViajanetFullstack.RabbitMQ
{
public class RabbitManager
{
public voi... | 2.66743 | f291ee44de5e11ffc953ce326ecdaa32 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9450 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "KonH/UnityMdDocGenerator",
"max_stars_repo_path": "Editor/Sctructure/MdNodeType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9451"
} | starcoder | namespace UnityMdDocGenerator {
public enum MdNodeType {
Namespace,
NamespaceItem,
MemberGroup,
Member,
Method
}
}
| 1.339943 | 9e2efa90e1d15e075253ceb2ecf2ba5a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9451 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "m4rs-mt/Llvm.NET",
"max_stars_repo_path": "src/Llvm.NET/Values/UserOperandList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9452"
} | starcoder | using System;
using System.Collections.Generic;
using Llvm.NET.Native;
namespace Llvm.NET.Values
{
/// <summary>Support class to provide read-only list semantics to the operands of a <see cref="User"/> of a method</summary>
internal class UserOperandList
: IReadOnlyList<Value>
{
... | 2.42195 | d8249e3985da20bb21e0776ba9b0d43d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9452 | {
"extension": "c-sharp",
"max_stars_count": "74.0",
"max_stars_repo_name": "thaer899/AlloyDemoKit",
"max_stars_repo_path": "src/AlloyDemoKit/Models/ViewModels/SearchHit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9453"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace AlloyDemoKit.Models.ViewModels
{
public class SearchHit
{
public string Title { get; set; }
public string Url { get; set; }
public string Excerpt { get; set; }
}
} | 1.453156 | aef83c1be0389254541cb617d0ac6436 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9453 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "0ceal0t/Dalamud-VFXEditor",
"max_stars_repo_path": "VFXEditor/Structs/Vfx/StaticVfx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9454"
} | starcoder | using System;
using System.Numerics;
namespace VFXEditor.Structs.Vfx {
public unsafe class StaticVfx : BaseVfx {
public StaticVfx( string path, Vector3 position ) : base( path ) {
Vfx = ( VfxStruct* )Plugin.ResourceLoader.StaticVfxCreate( path, "Client.System.Scheduler.Instance.VfxObject" );
... | 2.02774 | 7d61243d8780fe3ee75a7cb5b85ddbdc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9454 | {
"extension": "c-sharp",
"max_stars_count": "353.0",
"max_stars_repo_name": "Tak0r/Nowin",
"max_stars_repo_path": "Nowin/ServerBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9455"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Net;
using System.Security.Authentication;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
namespace Nowin
{
public class ServerBuilder : IServerParameters, IUpdateCertificate
{
IConnectio... | 2.232167 | 5aca22427b34c7799ecdfd85e270bd39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9455 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lostmsu/LLVM.NET",
"max_stars_repo_path": "LLVM/Types/IntegerType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9456"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LLVM {
public class IntegerType: DerivedType {
internal IntegerType(IntPtr typeref) : base(typeref) { }
public static IntegerType GetInt32(Context context)
{
var type = llvm.GetInt32(context);
ret... | 2.852309 | 0c5a7ad362b3481c0f3118671ed3a8bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9456 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CdecPGL/HLAPI-Custom",
"max_stars_repo_path": "UNetCustom/Runtime/NetworkTransformVisualizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9457"
} | starcoder | <filename>UNetCustom/Runtime/NetworkTransformVisualizer.cs
#if ENABLE_UNET
using System;
using System.ComponentModel;
using UnityEngine;
namespace PlanetaGameLabo.UNetCustom
{
[DisallowMultipleComponent]
[AddComponentMenu("PlanetaGameLabo/UNetCustom/NetworkTransformVisualizer")]
[RequireComponent(typeof(Ne... | 1.985559 | aa3a2c4b8706ac2509a4a8de95b5a3af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9457 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "amarsa-msft/svcperf",
"max_stars_repo_path": "src/QueryFx/QueryExecutionContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9458"
} | starcoder | <reponame>amarsa-msft/svcperf<gh_stars>1-10
namespace EtlViewer.QueryFx
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive;
using System.Reactive.Concurrency;
using System.Threading;
using System.Threading.Tasks;
using Tx.Windows;
... | 2.212636 | 2dfe34d8c7314234956fa14bbdef8657 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9458 | {
"extension": "c-sharp",
"max_stars_count": "3336.0",
"max_stars_repo_name": "mbentancour/azure-powershell",
"max_stars_repo_path": "src/ManagedServiceIdentity/ManagedServiceIdentity/Models/PSUserAssignedIdentity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9459"
} | starcoder | using System;
using Microsoft.Azure.Management.ManagedServiceIdentity.Models;
namespace Microsoft.Azure.Commands.ManagedServiceIdentity.Models
{
public class PsUserAssignedIdentity
{
public string Id { get; set; }
public string ResourceGroupName { get; set; }
public string Nam... | 2.301486 | e59db5ddc649d3f71d7decec6b3a623c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9459 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "jonbgallant/beakn",
"max_stars_repo_path": "desktop/beakn/beakn/Protocol/Mqtt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9460"
} | starcoder | <filename>desktop/beakn/beakn/Protocol/Mqtt.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using uPLibrary.Networking.M2Mqtt;
using uPLibrary.Networking.M2Mqtt.Messages;
namespace beakn
{
public class Mqtt : Protocol
{
... | 2.668619 | 4b6c94f986e8732067f3e673fc01d2f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9460 | {
"extension": "c-sharp",
"max_stars_count": "111.0",
"max_stars_repo_name": "mkmarek/graphql-ast-dotnetcore",
"max_stars_repo_path": "src/GraphQLCore/Language/AST/GraphQLVariableDefinition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9461"
} | starcoder | namespace GraphQLCore.Language.AST
{
public class GraphQLVariableDefinition : ASTNode
{
public GraphQLValue DefaultValue { get; set; }
public override ASTNodeKind Kind
{
get
{
return ASTNodeKind.VariableDefinition;
}
}
... | 2.040222 | 59d0a9c9b049fc1083447f9816f164b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9461 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cmu-sei/Caster.Api",
"max_stars_repo_path": "src/Caster.Api/Features/Hosts/Requests/Delete.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9462"
} | starcoder | // Copyright 2021 <NAME>. All Rights Reserved.
// Released under a MIT (SEI)-style license. See LICENSE.md in the project root for license information.
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using AutoMapper;
using Caster.Api.Data;
using System.Runtime.Ser... | 2.108251 | ea0b42b4a463003fcd99426edf53ba1e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9462 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dantincu/turmerik",
"max_stars_repo_path": "dotnet/Turmerik.DriveExplorer.Client.Domain/Services/ApiUrlConstValues.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9463"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Turmerik.DriveExplorer.Client.Domain.Services
{
public static class ApiUrlConstValues
{
public static class EndPoints
{
public const string LOCAL_DISK_EXPLO... | 1.564284 | 875965414155c78ad61adf29c6a5a2d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9463 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "twoutlook/BlazorServerDbContextExample",
"max_stars_repo_path": "BlazorServerEFCoreSample/T0002/Models/TransactionTimeConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9464"
} | starcoder | // <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
using System;
using System.Collections.Generic;
#nullable disable
namespace T0002.Models
{
public partial class TransactionTimeConfig
{
public string Id { get; set; }
public decimal Tran... | 1.157275 | 02620cc41b9298c59a69c46dbdc3d5fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9464 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "skeptycal/Xamarin.Forms",
"max_stars_repo_path": "Xamarin.Forms.Xaml.UnitTests/Issues/Gh4215.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9465"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using NUnit.Framework;
using Xamarin.Forms;
using Xamarin.Forms.Core.UnitTests;
namespace Xamarin.Forms.Xaml.UnitTests
{
public partial class Gh4215 : ContentPage
{
public class Gh4215VM
{
public static implicit operator DateTime(Gh4215VM value) ... | 2.226716 | 71c028544b84cd59e0d12ccf49b28875 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9465 | {
"extension": "c-sharp",
"max_stars_count": "166.0",
"max_stars_repo_name": "jgauffin/Griffin.Framework",
"max_stars_repo_path": "src/Griffin.Framework/Griffin.Core.Tests/Net/Channels/FakeEncoder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9466"
} | starcoder | <gh_stars>100-1000
using System;
using Griffin.Net;
using Griffin.Net.Channels;
using Griffin.Net.Protocols;
namespace Griffin.Core.Tests.Net.Channels
{
public class FakeEncoder : IMessageEncoder
{
public byte[] Buffer { get; set; }
public int Offset { get; set; }
public int... | 2.683922 | 493a4aa5c319bf39b4a92401ac0003f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9466 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "leafcxy/BrnShop",
"max_stars_repo_path": "Libraries/BrnShop.Core/Domain/Promotion/SinglePromotionInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9467"
} | starcoder | using System;
namespace BrnShop.Core
{
/// <summary>
/// 单品促销活动信息类
/// </summary>
public class SinglePromotionInfo
{
private int _pmid;//促销活动id
private int _pid;//商品id
private DateTime _starttime1;//开始时间1
private DateTime _endtime1;//结束时间1
private DateTime _... | 2.463132 | 6b8a8d776c296c5616b6d9bcf3cbf2e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9467 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JorgeCandeias/OrleansContainerSample",
"max_stars_repo_path": "Silo/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9468"
} | starcoder | <gh_stars>0
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Orleans;
using Orleans.Hosting;
using System.Threading.Tasks;
namespace Silo
{
public class Program
{
public static Task Main(string[] args)
{
r... | 1.373827 | bbad612aec6a4ba23060f07616b1d11e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9468 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "JohanLarsson/VideoBox",
"max_stars_repo_path": "Gu.Wpf.Media/MediaElementWrapper.DependencyProperties.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9469"
} | starcoder | <reponame>JohanLarsson/VideoBox
namespace Gu.Wpf.Media
{
using System;
using System.Windows;
/// <summary>
/// Dependency properties.
/// </summary>
public partial class MediaElementWrapper
{
/// <summary>Identifies the <see cref="State"/> dependency property.</summary>
publ... | 2.000439 | aff0063bd47b31baace3145718532278 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9469 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xornand/ApplicationInsights-SDK-Labs",
"max_stars_repo_path": "AggregateMetrics/AggregateMetrics/One/MetricTelemetryExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9470"
} | starcoder | namespace Microsoft.ApplicationInsights.Extensibility.AggregateMetrics.One
{
using System.Globalization;
using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.ApplicationInsights.Extensibility.Implementation;
internal static class MetricTelemetryExtensions
{
private const str... | 2.256908 | dc37b1b2858ee544979e614b22cb8e52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9470 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "guitarrapc/CSharpPracticesLab",
"max_stars_repo_path": "logger/ilogger/My/Logging/ApplicationLoggingExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9471"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using My.Logging.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace Microsoft.Extensions.Logging
{
public static class ApplicationLoggingExtensions
{
public ... | 2.397464 | 8e69d561ba8b6c66795e7cdb1bc5ac25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9471 | {
"extension": "c-sharp",
"max_stars_count": "326.0",
"max_stars_repo_name": "JimBobSquarePants/Microsoft.Maui.Graphics",
"max_stars_repo_path": "src/Microsoft.Maui.Graphics/Text/TextAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9472"
} | starcoder | namespace Microsoft.Maui.Graphics.Text
{
public enum TextAttribute
{
FontName,
FontSize,
Bold,
Italic,
Underline,
Strikethrough,
Subscript,
Superscript,
Color,
Background,
UnorderedList,
Marker,
}
}
| 1.677756 | 37395f972ad74f5988144689e147f25a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9472 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "navigati0n/ActivityAnalysis",
"max_stars_repo_path": "ActivityAnalysis.WPF/Views/HeaderView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9473"
} | starcoder | <filename>ActivityAnalysis.WPF/Views/HeaderView.xaml.cs
using System.Windows.Controls;
namespace ActivityAnalysis.WPF.Views
{
public partial class HeaderView : UserControl
{
public HeaderView()
{
InitializeComponent();
}
}
} | 1.41575 | 57b842355e4eff2466ee8d94653b60f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9473 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "OfficeDevUnofficial/ews-managed-api",
"max_stars_repo_path": "ews-managed-api/Misc/ManagementRole.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9474"
} | starcoder | /*
* Exchange Web Services Managed API
*
* Copyright (c) Microsoft Corporation
* All rights reserved.
*
* MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restr... | 2.156799 | 639c347dcab6cf97d4baa8da5be56f40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9474 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "truthiswill/SkiaSharpnado",
"max_stars_repo_path": "SkiaSharpnado.Maps/Presentation/Views/SessionMap/AShape.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9475"
} | starcoder | <reponame>truthiswill/SkiaSharpnado<filename>SkiaSharpnado.Maps/Presentation/Views/SessionMap/AShape.cs
using System;
using SkiaSharp;
namespace SkiaSharpnado.Maps.Presentation.Views.SessionMap
{
public abstract class AShape : IShape
{
private SKRect _boundingBox = SKRect.Empty;
public TimeS... | 2.368291 | 028197988cee3340f666e30963a1d743 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9475 | {
"extension": "c-sharp",
"max_stars_count": "349.0",
"max_stars_repo_name": "jeremysquires/vagrant-manager-windows",
"max_stars_repo_path": "Lanayo.VagrantManager/Core/Vagrant/VirtualMachineServiceProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9476"
} | starcoder | <reponame>jeremysquires/vagrant-manager-windows<filename>Lanayo.VagrantManager/Core/Vagrant/VirtualMachineServiceProvider.cs<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lanayo.Vagrant_Manager.Core.Vagrant {
interfa... | 1.544967 | e669bc60a0bcb752012969d4d80ed68c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9476 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "jsdelivrbot/Windows-Applications",
"max_stars_repo_path": "workshops/2015-12-14-Data-binding/Superheroes/Superheroes/ViewModels/SuperheroesViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9477"
} | starcoder | namespace Superheroes.ViewModels
{
public class SuperheroesViewModel : ViewModelBase
{
public string Name { get; set; }
public string ImgUrl { get; set; }
public string Powers { get; set; }
public SuperheroesViewModel()
: this(string.Empty, string.Empty, string.Empty)
{
... | 2.989178 | 44bc3dfac7033082abdd841e9b00d6c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9477 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AbrahamXD53/UnityXInput",
"max_stars_repo_path": "Assets/XInput/Scripts/Input/Schema.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9478"
} | starcoder | <filename>Assets/XInput/Scripts/Input/Schema.cs<gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace XInput
{
[Serializable]
public class Schema
{
public ActionButton[] actionButtons;
public ActionAxis[] actionAxis;
}
} | 1.671504 | 4c23f4e4a899b309ce43973d8cacb7a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9478 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "smarek/ci_targets",
"max_stars_repo_path": "compiled/csharp/EnumIf.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9479"
} | starcoder | <gh_stars>1-10
// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
namespace Kaitai
{
public partial class EnumIf : KaitaiStruct
{
public static EnumIf FromFile(string fileName)
{
return new EnumIf(new KaitaiStream(fileName));
... | 1.941775 | 8d5298ec47f87c0e90730f70a3cd95cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9479 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sangtran-t/movie-recommender",
"max_stars_repo_path": "mobile/Recommender/Recommender/Models/MovieContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9480"
} | starcoder | <reponame>sangtran-t/movie-recommender<filename>mobile/Recommender/Recommender/Models/MovieContainer.cs
using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
using Recommender.ViewModels;
namespace Recommender.Models
{
public class MovieContainer
{
public MovieDetai... | 2.819492 | f35d7f6bd5d13fd5733ff9ee1729e704 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9480 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ethereal77/stride",
"max_stars_repo_path": "sources/presentation/Stride.Core.Presentation/View/TemplateProviderComparerBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9481"
} | starcoder | // Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org)
// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net)
// Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// See the LICENSE.md file in the project root for full license information.
u... | 2.552171 | fe3ddb7887fca8906e62a652c715e777 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9481 | {
"extension": "c-sharp",
"max_stars_count": "366.0",
"max_stars_repo_name": "AndreyAkinshin/perfolizer",
"max_stars_repo_path": "src/Perfolizer/Perfolizer.Tests/Common/TestOutputHelperExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9482"
} | starcoder | using System;
using JetBrains.Annotations;
using Xunit.Abstractions;
namespace Perfolizer.Tests.Common
{
public static class TestOutputHelperExtensions
{
public static bool TraceMode
{
get
{
string perfolizerTraceMode = Environment.GetEnvironmentVariable(... | 2.587013 | 803cc1ebe913efd9baca7c362715da79 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9482 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "passyweb/csharp-2021",
"max_stars_repo_path": "Chap03_Constructeurs/Person.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9483"
} | starcoder | <filename>Chap03_Constructeurs/Person.cs
namespace Chap03_Constructeurs.Models
{
public class Person
{
public string Name
{
get;
set;
}
private int age;
public int Age
{
get
{
if(age < 15) return ... | 3.325896 | 500caf94bda6bf9f6c9424de5e743293 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9483 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qwert42/roxy-tool",
"max_stars_repo_path": "roxy-tool-winforms/ColorPickerForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9484"
} | starcoder | <reponame>qwert42/roxy-tool
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;
namespace Roxy.Tool.WinForms
{
public partial class ColorPickerForm : Fo... | 2.62422 | f2ced6740e3b54f5d7b5e31938989666 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9484 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wuneng117/XSGridEditor",
"max_stars_repo_path": "Assets/XSGridEditor/Scripts/PathFinding/Algorithms/DijkstraPathfinding.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9485"
} | starcoder | using System.Collections.Generic;
namespace XSSLG
{
/// <summary>
/// Implementation of Dijkstra pathfinding algorithm.
/// </summary>
class DijkstraPathfinding : IPathfinding
{
/// <summary> 查找返回所有可能的路径 </summary>
/// <summary>
///
/// </summary>
/// <param... | 3.116791 | 5404f4c047f465d987fded6e2afc6eae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9485 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "HectorRPC/Toggl2Excel",
"max_stars_repo_path": "Toggl.Foundation.Tests/AnalyticsService/StartTimeEntryEventTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9486"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using FsCheck.Xunit;
using NSubstitute;
using NSubstitute.Core;
using Toggl.Foundation.Analytics;
using Toggl.Multivac.Extensions;
using Toggl.Multivac.Models;
using Xunit;
namespace Toggl.Foundation.Tests.AnalyticsService
{
... | 2.278637 | 8bb706a771165cae75b6f2a5f6617b69 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9486 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jwtill/SillyStringz.Solution",
"max_stars_repo_path": "Factory/Views/Machines/AddEngineer.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:9487"
} | starcoder | <filename>Factory/Views/Machines/AddEngineer.cshtml
@{
Layout = "_Layout";
}
@model Factory.Models.Machine
<h2>Approve an engineer for this machine</h2>
<div class="main">
<h4>Add an engineer to this machine: @Html.DisplayFor(model => model.Name)</h4>
@using (Html.BeginForm())
{
@Html.HiddenFor(model => m... | 2.454635 | 817b284641e954dad8786795c2b27591 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9487 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rongjiecomputer/BuildXL",
"max_stars_repo_path": "Public/Src/Cache/ContentStore/App/DistributedService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9488"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Threading;
using Syste... | 1.544299 | d34b59ce02ef7418a0eea7682ccfc82a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9488 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Helmut-Ortmann/Enterprise-Architect-Add-in-Framework",
"max_stars_repo_path": "EAAddinFramework/Utilities/Logger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9489"
} | starcoder | <reponame>Helmut-Ortmann/Enterprise-Architect-Add-in-Framework<filename>EAAddinFramework/Utilities/Logger.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EAAddinFramework.Utilities
{
public static class Logger
{
private static string _logFileName = Sy... | 2.991576 | e2941076784ad7b175d3badd00ed3966 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9489 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pulumi/pulumi-rancher2",
"max_stars_repo_path": "sdk/dotnet/Outputs/GetClusterClusterTemplateQuestionResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9490"
} | starcoder | <reponame>pulumi/pulumi-rancher2
// *** 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;
u... | 1.525506 | 892de0d0ab873108949ec4469ff89ad7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9490 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "Aragas/Bannerlord.Diplomacy",
"max_stars_repo_path": "src/Bannerlord.Diplomacy/Widgets/HoveredBrushWidget.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9491"
} | starcoder | using JetBrains.Annotations;
using TaleWorlds.GauntletUI;
namespace Diplomacy.Widgets
{
[UsedImplicitly]
public class HoveredBrushWidget : BrushWidget
{
public HoveredBrushWidget(UIContext context) : base(context)
{
AddState("Hovered");
AddState("Disabled");
... | 2.495737 | 3c0c4c9adee365a33d0f2f7562b38fd1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9491 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bfrager/WonderBuffaloVR",
"max_stars_repo_path": "Assets/Plugins/8i/editor/inspectors/Inspector_HvrRender.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9492"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
namespace HVR.Editor
{
[CustomEditor(typeof(HvrRender))]
[CanEditMultipleObjects]
public class Inspector_HvrRender : UnityEditor.Editor
{
HvrRender hvrRender { get { return (HvrRender)target; ... | 2.020654 | b5dc13a8282d63eef60331e427b81f3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9492 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tofx/data",
"max_stars_repo_path": "Data/DbQueryStrategyBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9493"
} | starcoder | <reponame>tofx/data
using tofx.Core.DependencyInjection;
using tofx.Core.Infrastructure;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using tofx.Data.Abstractions;
namespace tofx.Data
{
public abstract class DbQueryStrategyBase : IDbQueryStrategy, IDbQueryPagingStrategy
... | 2.292718 | c55eedcec3094d7f89e7137877824bb7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9493 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MightyK1997/Game-Engineering-3",
"max_stars_repo_path": "Assets/Assignment/Game/Logic/CameraMovement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9494"
} | starcoder | <filename>Assets/Assignment/Game/Logic/CameraMovement.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraMovement : MonoBehaviour {
[SerializeField]
private float m_delta = 10.0f;
[SerializeField]
private float m_speed = 3.0f;
private Vector3 m_f... | 2.714893 | 6502cc067941008fb6f41f9bb519d111 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9494 | {
"extension": "c-sharp",
"max_stars_count": "17923.0",
"max_stars_repo_name": "ffMathy/roslyn",
"max_stars_repo_path": "src/Tools/ExternalAccess/FSharp/Internal/FSharpGlyphHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9495"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.ExternalAccess.FSharp.In... | 1.788954 | cae678fa516f2fb32f8887f2bc17a196 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9495 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "devdiv/AutoDog",
"max_stars_repo_path": "AutoDog/AutoDog.UI/Controls/NumericUpDownChangedRoutedEventHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9496"
} | starcoder | namespace AutoDog.UI.Controls
{
public delegate void NumericUpDownChangedRoutedEventHandler(object sender, NumericUpDownChangedRoutedEventArgs args);
}
| 1.198835 | e4101efdb4116ce81b3cbc298e57fe96 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9496 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cythral/identity",
"max_stars_repo_path": "src/Database/DatabaseContextFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9497"
} | starcoder | <filename>src/Database/DatabaseContextFactory.cs
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Configuration;
namespace Brighid.Identity
{
public class DatabaseContextFactory : IDesignTimeDbContextFactory<DatabaseContext>
{
pr... | 2.341254 | db686920dd8b9b672349c7d4be8733d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9497 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tkirill/mongo-csharp-driver",
"max_stars_repo_path": "src/MongoDB.Driver/MongoCollectionSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9498"
} | starcoder | <filename>src/MongoDB.Driver/MongoCollectionSettings.cs
/* Copyright 2010-2015 MongoDB Inc.
*
* 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
*
* ... | 2.278868 | 49366cb77035a1fbe253113440bc0317 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9498 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wangchaoqun1997/ShadowSDK3.0.0Platform",
"max_stars_repo_path": "Assets/ShadowCreator/ShadowKit/Scripts/PlatformSystem/SubSystems/UISystem/Scripts/UIPanelsSystem/UIPanels/BaseUIPanel/IBaseUIPanelTimeLife.cs",
"provenance": "train-0000... | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
interface IBaseUIPanelTimeLife {
void OnEnter(object parameter = null);
void OnPause(object parameter = null);
void OnResume(object parameter = null);
void OnExit(object parameter = null);
}
| 1.263469 | 79f0abbc5399df14794b8906e99dc620 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9499 | {
"extension": "c-sharp",
"max_stars_count": "62.0",
"max_stars_repo_name": "zhangzihan/nactivity",
"max_stars_repo_path": "NActiviti/Sys.Bpm.Model/Model/BoundaryEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9500"
} | starcoder | <filename>NActiviti/Sys.Bpm.Model/Model/BoundaryEvent.cs
/* 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 app... | 2.327664 | 2b6ec8b7af84e9038903825449a49b91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9500 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SeppPenner/NaGet",
"max_stars_repo_path": "src/NaGet.Protocol/Catalog/NullCatalogClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9501"
} | starcoder | <reponame>SeppPenner/NaGet
namespace NaGet.Protocol.Internal;
public class NullCatalogClient : ICatalogClient
{
public Task<CatalogIndex?> GetIndexAsync(CancellationToken cancellationToken = default)
{
return Task.FromResult<CatalogIndex?>(new CatalogIndex
{
CommitTimestamp = DateTi... | 1.860152 | 45a87d2a9bb24253b544f71433ae68b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9501 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "gpby/ASStoredProcedures",
"max_stars_repo_path": "ASSP/MemoryUsage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9502"
} | starcoder | <gh_stars>10-100
/*============================================================================
File: MemoryUsage.cs
Summary: Provides a useful way of analyzing the results of the
DISCOVER_MEMORYUSAGE command by putting those results into a cube
Date: April 03, 2007
-----------------... | 2.136718 | 6454c4f99d91b6612f337d70fb1cd98e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9502 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Whyuki/CDA_2005",
"max_stars_repo_path": "FOAD_C#/exercicesWinform/WindowsFormsAppListBoxAndComboBox/FormListBoxComboBox.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9503"
} | starcoder | 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 ClassLibraryToolsVerifications;
namespace WindowsFormsAppListBoxAndComboBox
{
public partial c... | 2.583373 | 5189107802e540a124f2122dced8968f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9503 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "SQL-MisterMagoo/Community.VisualStudio.Toolkit",
"max_stars_repo_path": "src/Community.VisualStudio.Toolkit.Shared/Services/Events.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9504"
} | starcoder | using EnvDTE;
using EnvDTE80;
using Microsoft;
using Microsoft.VisualStudio.Shell;
namespace Community.VisualStudio.Toolkit
{
/// <summary>A collection of events.</summary>
public class Events
{
private readonly Events2? _events;
internal Events()
{
ThreadHelper.ThrowI... | 1.744834 | e3ecc4356a13e96f9e6eb15093d30542 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9504 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yws1988/CSharpAlgo",
"max_stars_repo_path": "Exercice/Excercises/DynamicProgramming/Graph/MaximumLengthSnakeInMatrix.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9505"
} | starcoder | /*
Given a grid of numbers, find maximum length Snake sequence and print it. If multiple snake sequences exists with the maximum length,
print any one of them.
A snake sequence is made up of adjacent numbers in the grid such that for each number,
the number on the right or the number below it is +1 ... | 3.799362 | 41fdb1c76ad79ac96e13d07869bf069e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9505 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "janfokke/Ankura",
"max_stars_repo_path": "src/dotnet/projects/production/Ankura/Ankura/Audio/AudioChannels.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9506"
} | starcoder | <reponame>janfokke/Ankura
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MS-PL license. See LICENSE file in the Git repository root directory for full license information.
namespace Ankura
{
// http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.audio.audiochannels.aspx
public ... | 1.391566 | 6c17d67c7912a5669c090c8108c1c6b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9506 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "existall/SimpleConf",
"max_stars_repo_path": "src/Core/ExistForAll.SimpleSettings/Conversion/UriTypeConvertor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9507"
} | starcoder | using System;
namespace ExistForAll.SimpleSettings.Conversion
{
internal class UriTypeConvertor : ISettingsTypeConverter
{
public bool CanConvert(Type settingsType)
{
return settingsType == typeof(Uri);
}
public object Convert(object value, Type settingsType)
{
return new Uri((string)value);
}
}... | 2.640501 | 2f9564999559de5cb411be4e98fbce48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9507 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lvwl-CN/Installer",
"max_stars_repo_path": "src/Uninstall.Framework/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9508"
} | starcoder | <filename>src/Uninstall.Framework/MainWindow.xaml.cs
using Shared;
using Shared.Control;
using Shared.Utility;
using System;
using System.Windows;
namespace Uninstall.Framework
{
/// <summary>
/// MainWindow.xaml 的交互逻辑
/// </summary>
public partial class MainWindow : Window
{
public MainWi... | 2.082391 | 95c8e1d5382e36235b064c980fce4bf6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9508 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Slime-Lab060/gallery",
"max_stars_repo_path": "gakusei/C_Sharp/Rensyu/Rensyu06/Rensyu06/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9509"
} | starcoder | <reponame>Slime-Lab060/gallery
namespace Rensyu06
{
partial class Form1
{
/// <summary>
/// 必要なデザイナー変数です。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 使用中のリソースをすべてクリーンアップします。
/// </summary>
/// <par... | 2.078068 | e9f319adb97c13320f88c559b1df0d34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9509 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "willibrandon/WInterop",
"max_stars_repo_path": "src/WInterop.Desktop/Cryptography/Native/CERT_SYSTEM_STORE_RELOCATE_PARA.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9510"
} | starcoder | <gh_stars>10-100
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Runtime.InteropServices;
namespace WInterop.Cryptography.Native
{
// https://msdn.microsoft.com/en-us/library/windows/des... | 1.499968 | a5e74dfc2d967793a9ab2c86dd3a2a8d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9510 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "jnm2/Sideways",
"max_stars_repo_path": "Sideways/AlphaVantage/Parsing/AnnualEarningConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9511"
} | starcoder | namespace Sideways.AlphaVantage
{
using System;
using System.Text.Json;
using System.Text.Json.Serialization;
internal sealed class AnnualEarningConverter : JsonConverter<AnnualEarning>
{
internal static readonly AnnualEarningConverter Default = new();
public override AnnualEarnin... | 2.494525 | 460031b79bd6aa655b5463e4c344db91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9511 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eisbaer66/ActionGroupManager",
"max_stars_repo_path": "src/VesselManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9512"
} | starcoder | //Copyright © 2013 <NAME> (<EMAIL>)
//This work is free. You can redistribute it and/or modify it under the
//terms of the Do What The Fuck You Want To Public License, Version 2,
//as published by Sam Hocevar. See the COPYING file for more details.
using System;
using System.Linq;
using System.Collections.Generic;
us... | 2.194854 | 76d3924b4b603d113e473bfdc842675f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9512 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TETYYS/Singularity",
"max_stars_repo_path": "src/Tests/Singularity.Test/Injection/NoDependencies.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9513"
} | starcoder | using System;
using Singularity.TestClasses.TestClasses;
using Xunit;
namespace Singularity.Test.Injection
{
public class NoDependencies
{
[Fact]
public void GetInstance_CorrectDependencyIsReturned()
{
//ARRANGE
var container = new Container(builder =>
... | 2.402097 | 99592773586a5b64897de6a5aa9399a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9513 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "pulumi/pulumi-aws-native",
"max_stars_repo_path": "sdk/dotnet/EC2/Outputs/LaunchTemplateNetworkInterface.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9514"
} | starcoder | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** 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;
namespace Pulumi.AwsN... | 1.610174 | 184cbadcc7775a53ca0080d77eaabfda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9514 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "IPA-CyberLab/IPA-DN-Fork-SSHServer",
"max_stars_repo_path": "FxSsh/Messages/Connection/ChannelRequestMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9515"
} | starcoder | <gh_stars>1-10
using System.Text;
namespace FxSsh.Messages.Connection
{
[Message("SSH_MSG_CHANNEL_REQUEST", MessageNumber)]
public class ChannelRequestMessage : ConnectionServiceMessage
{
private const byte MessageNumber = 98;
public uint RecipientChannel { get; set; }
public stri... | 2.268074 | ff66b4839f62674c4bc86eb8b28c8087 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9515 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mahmoud-zino/aemarcoCommons",
"max_stars_repo_path": "WpfTools/BaseNav/ViewStuff.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9516"
} | starcoder | <filename>WpfTools/BaseNav/ViewStuff.cs
using aemarcoCommons.WpfTools.BaseModels;
using aemarcoCommons.WpfTools.Commands;
namespace aemarcoCommons.WpfTools.BaseNav
{
//user controls
public interface INavView //inherit in specific interface for view
{
object DataContext { get; set; }
}
/... | 2.334074 | d1942bdbd9d2e583dd957ef64f0ba8a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9516 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pavelMihhailov/Merchain",
"max_stars_repo_path": "Merchain/Web/Merchain.Web/Areas/Administration/Controllers/ProductsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9517"
} | starcoder | <reponame>pavelMihhailov/Merchain
namespace Merchain.Web.Areas.Administration.Controllers
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Merchain.Common;
using Merchain.Data.Common.Repositories;
using Merchain.Data.Models;
using... | 1.974774 | 4bee5a5ba028c74de799ea75fe71f367 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9517 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "endjin/Endjin.SemVer.DotNetApi",
"max_stars_repo_path": "Solutions/Endjin.SemVer.DotNetApi/Endjin/SemVer/DotNetApi/Versioning/ComponentChangeType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9518"
} | starcoder | <filename>Solutions/Endjin.SemVer.DotNetApi/Endjin/SemVer/DotNetApi/Versioning/ComponentChangeType.cs<gh_stars>0
// <copyright file="ComponentChangeType.cs" company="Endjin Limited">
// Copyright (c) Endjin Limited. All rights reserved.
// </copyright>
namespace Endjin.SemVer.DotNetApi.Versioning
{
/// <summary>
... | 2.833699 | 911f8623c2a80a31bc51d533ed1bea29 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9518 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "alvariusgames/bears_on_atvs",
"max_stars_repo_path": "src/Items/MakeMyParentHover.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9519"
} | starcoder | <filename>src/Items/MakeMyParentHover.cs<gh_stars>1-10
using Godot;
using System;
public class MakeMyParentHover : Node2D
{
// Declare member variables here. Examples:
// private int a = 2;
// private string b = "text";
private float currHeightHover = 0f;
public float Amplitude = 5f;
public fl... | 2.56096 | b73e4f334143d1fb46fc294e0608fad7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9519 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Rotvig/HarakaMQ",
"max_stars_repo_path": "HarakaMQ/HarakaMQ.MessageBroker.NET461/Interfaces/ISmartQueue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9520"
} | starcoder | <reponame>Rotvig/HarakaMQ<filename>HarakaMQ/HarakaMQ.MessageBroker.NET461/Interfaces/ISmartQueue.cs
using System;
using System.Collections.Generic;
using HarakaMQ.MessageBroker.NET461.Events;
using HarakaMQ.MessageBroker.NET461.Models;
namespace HarakaMQ.MessageBroker.NET461.Interfaces
{
internal interface ISmart... | 1.643696 | 1cddf9042366bfad718dc9f0d6ad181f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9520 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "felipeolimpos/base-core-ddd-mvc-ef-pg-ioc-proj",
"max_stars_repo_path": "CoreBase.Web/Views/Products/Delete.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:9521"
} | starcoder | @using CoreBase.Web.ViewModels
@model ProductViewModel
@{
ViewData["Title"] = "Delete";
}
<h2>Manage Product Categories - Delete</h2>
<h3>Are you sure you want to delete this Product?</h3>
<div>
<br />
<h4>Product</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor... | 2.274893 | 2982fad75d2eb9626d159601c256fbba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9521 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "shinesolutions/cloudmanager-api-clients",
"max_stars_repo_path": "clients/csharp-nancyfx/generated/src/Org.OpenAPITools/Models/EnvironmentLogs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9522"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Sharpility.Extensions;
using NodaTime;
namespace Org.OpenAPITools._.Models
{
/// <summary>
/// Logs of an Environment
/// </summary>
public sealed class EnvironmentLogs: IEquatable<EnvironmentLogs>
{
... | 2.813466 | e3b79be388909eaabb9c72293c66c9a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9522 | {
"extension": "c-sharp",
"max_stars_count": "274.0",
"max_stars_repo_name": "jp2masa/CSharpMath",
"max_stars_repo_path": "CSharpMath/Atom/IMathObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9523"
} | starcoder | <reponame>jp2masa/CSharpMath<filename>CSharpMath/Atom/IMathObject.cs
namespace CSharpMath.Atom {
/// <summary>Marker interface</summary>
public interface IMathObject {
string DebugString { get; }
}
public interface IMathListContainer : IMathObject {
System.Collections.Generic.IEnumerable<MathList> Inner... | 2.613913 | 414879706a70614441a3000746e553d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9523 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eeevgeniev/ITSPMedic",
"max_stars_repo_path": "src/Medic.Entities/Builders/Procedure.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9524"
} | starcoder | <gh_stars>0
using Microsoft.EntityFrameworkCore;
namespace Medic.Entities
{
public partial class Procedure
{
public void CreateRules(ModelBuilder builder)
{
builder.Entity<Procedure>(b =>
{
b.HasKey(model => model.Id);
b.HasOne(model => ... | 2.034424 | af6d73b8c67bd9c0f4bfb45687682921 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9524 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sharons74/koobeca",
"max_stars_repo_path": "BL/Rendering/Comments/CommentInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9525"
} | starcoder | using KoobecaFeedController.DAL.Adapters;
using KoobecaFeedController.DAL.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace KoobecaFeedController.BL.Rendering
{
public class CommentInfo
{
public ulong action_id;
public ulong comment_id;
... | 2.165601 | 6e16ca208defa5d3e2ee632f15d3f852 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9525 | {
"extension": "c-sharp",
"max_stars_count": "90.0",
"max_stars_repo_name": "ali7979/CSharpDesignPatterns",
"max_stars_repo_path": "Engine/DependencyInversionPattern/NonPatternVersion/PlayerDataMapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9526"
} | starcoder | using System.Data;
using System.Data.SqlClient;
namespace Engine.DependencyInversionPattern.NonPatternVersion
{
public class PlayerDataMapper
{
private readonly string _connectionString =
"Data Source=(local);Initial Catalog=MyGame;Integrated Security=True";
public bool PlayerName... | 3.076071 | a2b0059cb293a99952f45eb9c51e48da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9526 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "StefanIvanovC/Homeworks-Softuni",
"max_stars_repo_path": "C# OOP/Interfaces and Abstraction/InterfacesAndAbstraction/Military Elite/Interfaces/IMission.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9527"
} | starcoder | <filename>C# OOP/Interfaces and Abstraction/InterfacesAndAbstraction/Military Elite/Interfaces/IMission.cs
using Military_Elite.Enumeration;
using System;
using System.Collections.Generic;
using System.Text;
namespace Military_Elite.Interfaces
{
public interface IMission
{
public string CodeName { get... | 2.388499 | 8171226b94e78626698d8a933c8e4469 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9527 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lyntier/haarlemfestival",
"max_stars_repo_path": "hf/Repository/HistoricRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9528"
} | starcoder | <reponame>Lyntier/haarlemfestival
using hf.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace hf.Repository
{
public class HistoricRepository : IHistoricRepository
{
private hfContext db = new hfContext();
public PageInfo GetHistoricInfo()
... | 2.145092 | 7eac5c1db2758c4c37f7bcec3834d26d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9528 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Drumbits/DrumTrainer",
"max_stars_repo_path": "Drumz.Common/Src/Metronome.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9529"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using Drumz.Common.Utils;
namespace Drumz.Common
{
public class Metronome : IDisposable
{
public delegate void TickEventHandler(int ellapsedTicks);
private int bpm;
private float intervalInMilli... | 2.963037 | 9d5e16bfff887c7ed3d926f2cd959e36 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9529 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "laurencecliffe/AAR-Postcard-Player",
"max_stars_repo_path": "AR Sound Postcard Player/Library/PackageCache/com.unity.xr.arfoundation@4.1.7/Runtime/AR/ARRaycastUpdatedEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9530"
} | starcoder | using System;
namespace UnityEngine.XR.ARFoundation
{
/// <summary>
/// Provides arguments for the <see cref="ARRaycast.updated"/> event.
/// </summary>
public struct ARRaycastUpdatedEventArgs : IEquatable<ARRaycastUpdatedEventArgs>
{
/// <summary>
/// The raycast that ha... | 2.774813 | 4e819f16afb0c0d52b041ae98fb836d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9530 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "rbirkby/mscui",
"max_stars_repo_path": "Solutions/Main/AjaxControlToolkit/MaskedEdit/Compatibility/ValidatorHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9531"
} | starcoder | namespace AjaxControlToolkit.MaskedEditValidatorCompatibility
{
using System;
using System.Collections;
using System.Diagnostics;
using System.Globalization;
using System.Web.UI;
using System.Web.UI.WebControls;
using WhidbeyBaseCompareValidator = System.Web.UI.WebControls.BaseCompareValidat... | 2.004373 | fd34a5c5cfab48df4484ef4d7788e3f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9531 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ljcollins25/Codeground",
"max_stars_repo_path": "src/UnoApp/UnoDecompile/Uno.UI/Microsoft.UI.Xaml.Controls/VirtualizationInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9532"
} | starcoder | <gh_stars>0
using System;
using Uno.Extensions;
using Windows.Foundation;
using Windows.UI.Xaml.Markup;
namespace Microsoft.UI.Xaml.Controls;
internal class VirtualizationInfo
{
public const int PhaseNotSpecified = int.MinValue;
public const int PhaseReachedEnd = -1;
private uint m_pinCounter;
private int m_in... | 1.805896 | 8e5f6b2c7f57cfc699e72cd42e31701e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9532 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "migregorio/AtomicCore",
"max_stars_repo_path": "AtomicCore.BlockChain.OMNINet/Responses/GetDifficulty2Response.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9533"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace AtomicCore.BlockChain.OMNINet
{
public class GetDifficulty2Response
{
/// <summary>
/// 挖坑难度
/// </summary>
[JsonProperty("proof-of-work")]
public doub... | 1.883333 | 7c03a2ed5be56bf564976dc27893723f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9533 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "antonko/RK7Die",
"max_stars_repo_path": "RK7Die/Result/ResultGetOrder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9534"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using RK7Die.Common;
namespace RK7Die.Result
{
/// <summary>
/// <para xml:lang="ru">xml-ответ GetOrder</para>
/// </summary>
[System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.0.0.0")]
[System.Xml.Serial... | 2.042753 | 2d376b9cd4d3d481e7988f1683ce9cda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9534 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scottenriquez/cdktf-alpha-csharp-testing",
"max_stars_repo_path": "resources/.gen/aws/aws/Wafv2WebAclRuleStatementAndStatementStatementAndStatementStatementRegexPatternSetReferenceStatementFieldToMatchUriPath.cs",
"provenance": "train... | starcoder | <reponame>scottenriquez/cdktf-alpha-csharp-testing
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiByValue(fqn: "aws.Wafv2WebAclRuleStatementAndStatementStatementAndStatementStatementRegexPatternSetReferenceStatementFieldToMatchUriPath")]
public class Wafv2W... | 1.230732 | f3c8f97254d84fb37e19c5b54173ec60 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9535 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "nathan-parkinson/linq2db.include",
"max_stars_repo_path": "src/LinqToDB.Include.Tests/LinqToDB.Include.Tests/AsyncTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9536"
} | starcoder | using LinqToDB;
using LinqToDB.Data;
using LinqToDB.Include.Tests.TestModel;
using LinqToDB.Mapping;
using NUnit.Framework;
using System;
using System.Linq.Expressions;
using System.Linq;
using LinqToDB.Include;
using App.Domain.Repository.Mapping;
using System.Collections.Generic;
using System.Threading.Tasks;
namesp... | 2.352433 | 406b5595a4d1c2f630fee47d69a72500 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9536 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "DerekWare/Iris",
"max_stars_repo_path": "DerekWare.Misc/Net/HLS/PlaylistEntry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9537"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using DerekWare.Collections;
using DerekWare.IO;
using DerekWare.Strings;
namespace DerekWare.Net.HLS
{
public abstract class PlaylistEntry : TreeNode<PlaylistEntry, PlaylistEntry>
{
protected PlaylistEntry(PlaylistEntry parent, IEnumerable<KeyValuePair... | 2.266042 | 8f90eda110b0dadcede61dfa6929cdf3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.