added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840312 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Rbn3D/crest-oceanrender",
"max_stars_repo_path": "src/unity/Assets/Crest/Scripts/Collision/CollProviderCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159532"
} | starcoder | // This file is subject to the MIT License as seen in the root of this folder structure (LICENSE)
using System.Collections.Generic;
using UnityEngine;
namespace Crest
{
/// <summary>
/// Provides a cache layer on top of a collision provider, with the specific purpose of caching height requests.
/// Sampl... | 2.570132 | ed003fd5cdfecdfbddaebc1b219f28dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840313 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "Nethereum/Nethereum.eShop",
"max_stars_repo_path": "src/utils/Books.ImportUtil/TopRankBookImportUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159533"
} | starcoder | <reponame>Nethereum/Nethereum.eShop<filename>src/utils/Books.ImportUtil/TopRankBookImportUtil.cs<gh_stars>10-100
using CsvHelper.Configuration;
using Nethereum.eShop.ApplicationCore.Entities;
using Nethereum.eShop.Infrastructure.Data;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.... | 2.024922 | 37c81d077268306b2115d65eec4310c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840314 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "isabella232/JetBrains.EnvDTE",
"max_stars_repo_path": "EnvDTE80.Interfaces/_dispPublishEvents_EventProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159534"
} | starcoder | <gh_stars>1-10
using System;
namespace EnvDTE80
{
internal sealed class _dispPublishEvents_EventProvider : _dispPublishEvents_Event, IDisposable
{
public _dispPublishEvents_EventProvider(object A_1)
{
}
public event _dispPublishEvents_OnPublishBeginEventHandler OnPublishBegin;... | 1.403762 | 28de7a8413c98af387520ed31bed9f0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840315 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ashish-dsajspott/RoboLions",
"max_stars_repo_path": "Rubyer/Helpers/DateTimePicker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159535"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.... | 2.171655 | 3f405a4740db6de92c388f3ae2bc126f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840316 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "CarlCochet/Symbioz",
"max_stars_repo_path": "Symbioz.Protocol/Types/Types/common/basic/StatisticDataShort.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159536"
} | starcoder | <reponame>CarlCochet/Symbioz
// Generated on 06/04/2015 18:45:18
using System;
using System.Collections.Generic;
using System.Linq;
using Symbioz.Utils;
namespace Symbioz.DofusProtocol.Types
{
public class StatisticDataShort : StatisticData
{
public const short Id = 488;
public override short Type... | 2.101345 | e9a09eb39f8103787f942e721c443c92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840317 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sitefinity/sitefinity-aspnetcore-mvc-widgets",
"max_stars_repo_path": "Progress.Sitefinity.AspNetCore.Widgets/Models/LoginForm/PostLoginAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159537"
} | starcoder | <filename>Progress.Sitefinity.AspNetCore.Widgets/Models/LoginForm/PostLoginAction.cs
using System.ComponentModel;
namespace Progress.Sitefinity.AspNetCore.Widgets.Models.LoginForm
{
/// <summary>
/// Choices for post login action for login form.
/// </summary>
public enum PostLoginAction
{
... | 2.430619 | 95115bc09dc45a7cbc55e62fe02d23c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840318 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pavelhristov/CSharpUnitTesting",
"max_stars_repo_path": "Exam-9August2016/IntergalacticTravel.Tests/ResourceFactoryTests/GetResourcesTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159538"
} | starcoder | namespace IntergalacticTravel.Tests.ResourceFactoryTests
{
using System;
using NUnit.Framework;
[TestFixture]
public class GetResourcesTests
{
[Test]
[TestCase("create resources gold(20) silver(30) bronze(40)")]
[TestCase("create resources gold(20) bronze(40) silver(30)")]
[Tes... | 3.07134 | 5942d3d2317367a56f3595e4e649783a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840319 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danim1236/GoogleMaps.NetStd.Clustering",
"max_stars_repo_path": "GoogleMaps.Net.Clustering/Data/DatasetToSerialize.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159539"
} | starcoder | <reponame>danim1236/GoogleMaps.NetStd.Clustering<filename>GoogleMaps.Net.Clustering/Data/DatasetToSerialize.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using GoogleMaps.Net.Clustering.Data.Geometry;
namespace GoogleMaps.Net.Clustering.Data
{
[Serializable]
... | 2.490619 | 2746fcdc9d2fa131e0925f93b5365460 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840320 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "jefking/King.Service.ServiceBus",
"max_stars_repo_path": "King.Service.ServiceBus.Tests/Unit/BufferedRecieverTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159540"
} | starcoder | <filename>King.Service.ServiceBus.Tests/Unit/BufferedRecieverTests.cs
namespace King.Service.ServiceBus.Test.Unit
{
using King.Service.ServiceBus.Models;
using NSubstitute;
using NUnit.Framework;
[TestFixture]
public class BufferedRecieverTests
{
[Test]
public void Constructor()... | 2.240539 | 2d4459d9ba5e4f9146dbe3381563459b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840321 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "favedit/MoCross",
"max_stars_repo_path": "Tools/1 - Common/MoCore/System/Schedule/FScheduleJobs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159541"
} | starcoder | <reponame>favedit/MoCross
using System;
using System.Collections.Generic;
using System.Text;
using MO.Common.Content;
using MO.Common.Lang;
namespace MObj.Windows.Schedule {
public class FScheduleJobs : FObjects<FScheduleJob> {
public FScheduleJobs() {
}
}
}
| 0.980579 | 6c1bfc98cb29c2a5643c30f652687834 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840322 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Team-1922/OzWPILib.NET",
"max_stars_repo_path": "WPILib.Extras/NavX/AHRS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159542"
} | starcoder | <gh_stars>0
using System;
using System.Threading;
using NetworkTables.Tables;
using WPILib.Extras.NavX.Protocols;
using WPILib.Interfaces;
using WPILib.LiveWindow;
namespace WPILib.Extras.NavX
{
/// <summary>
/// The AHRS class provides access to a KauaiLabs NavX Robotics Navigation Sensor.
/// </summar... | 2.275094 | 1262de663068a582897f787da336ed64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840323 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PrzeSwiat/Project",
"max_stars_repo_path": "Testing/DataLayerTesting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159543"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Dane;
namespace Testing
{
[TestClass]
public class DataLayerTesting
{
[TestMethod]
public void CreateSphereDataTest()
{
DataAbstractApi api;
api = DataAbstractApi.CreateSphereData();
Asser... | 2.734622 | 7eeeda738bbc1045226bcf6d11b6f183 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840324 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rickardlind/Seikan",
"max_stars_repo_path": "Seikan/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159544"
} | starcoder | using System;
using System.Net;
using System.Threading;
namespace Seikan
{
class Param
{
public IPEndPoint AcceptEP { get; set; }
public IPEndPoint ConnectEP { get; set; }
public int Timeout { get; set; }
public int MaxConnections { get; set; }
}
class Us... | 2.966044 | efe348b45643336e9c8fb86607ace1fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840325 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "markliao-test/vita_core_csharp",
"max_stars_repo_path": "source/Htc.Vita.Core/IO/UsbWatcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159545"
} | starcoder | <filename>source/Htc.Vita.Core/IO/UsbWatcher.cs
using System;
using System.Threading.Tasks;
using Htc.Vita.Core.Log;
namespace Htc.Vita.Core.IO
{
public abstract class UsbWatcher : IDisposable
{
public event Action OnDeviceConnected;
public event Action OnDeviceDisconnected;
public vo... | 2.664773 | e3c890bf0b2100817d0050f3af2f0c25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840326 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KellyKey/Sigma",
"max_stars_repo_path": "VersionOne.ServerConnector/EntityFieldTypeResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159546"
} | starcoder | using System.Collections.Generic;
using System.Linq;
namespace VersionOne.ServerConnector {
public class EntityFieldTypeResolver : IEntityFieldTypeResolver {
internal readonly IDictionary<string, string> FieldMappings = new Dictionary<string, string>();
public void AddMapping(string entityType, s... | 2.542383 | 1006914b92942be3566afab45ea1aee0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840327 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "steininger/middleware-interface-dotnet",
"max_stars_repo_path": "src/fiskaltrust.ifPOS/v1/Models/PayItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159547"
} | starcoder | <filename>src/fiskaltrust.ifPOS/v1/Models/PayItem.cs
using System;
using System.Runtime.Serialization;
namespace fiskaltrust.ifPOS.v1
{
/// <summary>
/// Payment entries are used for receipt requests as well as for receipt responses.
/// </summary>
[DataContract]
public class PayItem
{
... | 2.639774 | 3bf1371d68e2a33ee432c99dcbc9211a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840328 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Smayke95/RS2-HRMS",
"max_stars_repo_path": "HRMS/Models/Data/PayGradeData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159548"
} | starcoder | <gh_stars>0
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace HRMS.Models.Data
{
public static class PayGradeData
{
public static void GenerateData(this EntityTypeBuilder<PayGrade> entity)
{
entity.HasData(
new PayGrade
{
... | 2.078007 | 9d1ec9f9674f8e447fe6eecbfe9b9fe6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840329 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GROWrepo/Santa_Inc.",
"max_stars_repo_path": "Assets/script/monoBehavior/nothing.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159549"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class nothing : MonoBehaviour {
private int push_button;
public GameObject buttons;
public Button nothing_bt;
// Use this for initialization
void Start()
{
nothing_... | 2.0504 | 116dc40ebbff9419419426106785e139 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840330 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "DHL-TarekFadel/GloWS-.NET-Reference-Implementation",
"max_stars_repo_path": "GloWS REST Library/Objects/Tracking/AWBInfoItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159550"
} | starcoder | using GloWS_REST_Library.Objects.Plumbing;
using GloWS_REST_Library.Objects.Plumbing.Attributes;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace GloWS_REST_Library.Objects.Tracking
{
public class AWBInfoItem
{
[AWBNumber]
public string AWBNumber { get; set; }
[Valid... | 1.913967 | 19e98a351d480513db3cb48eaa63b5b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840331 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lonverce/MindLab.Messaging",
"max_stars_repo_path": "MindLab.Messaging/src/Internals/IHashCodeGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159551"
} | starcoder | namespace MindLab.Messaging.Internals
{
internal interface IHashCodeGenerator<in T>
{
int GetHashCode(T item);
}
} | 1.772401 | b13e482a4c9b0f4fcd61a56d4b8e9ec9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840332 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "efegurkan07/carpetwhistlerer",
"max_stars_repo_path": "Assets/Scripts/Objects/MovingObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159552"
} | starcoder | using UnityEngine;
// This script is put inside moving objects (obstacles or pick ups).
public class MovingObject : MonoBehaviour
{
public float initialSpeed = 0.1f;
public float acceleration = 0.1f;
new Rigidbody2D rigidbody;
float speed = 0.1f;
void Awake()
{
rigidbody = GetCompone... | 2.585485 | 31d064d09e5a922a52ada6a716a50f1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840333 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "ahmad2smile/kanayri",
"max_stars_repo_path": "Kanayri.Domain/Product/Events/ProductPriceChangedEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159553"
} | starcoder | <filename>Kanayri.Domain/Product/Events/ProductPriceChangedEvent.cs
using System;
namespace Kanayri.Domain.Product.Events
{
public class ProductPriceChangedEvent: Event
{
public ProductPriceChangedEvent(Guid productId, decimal price)
{
ProductId = productId;
Price = pri... | 2.380155 | cf8f99d29dd2f2f4c743107b5a82c0b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840334 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FluiTec/FluiTec.AppFx.Options",
"max_stars_repo_path": "src/tests/FluiTec.AppFx.Options.Tests/ConfigurationOptions/SecretOption.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159554"
} | starcoder | <filename>src/tests/FluiTec.AppFx.Options.Tests/ConfigurationOptions/SecretOption.cs
using FluiTec.AppFx.Options.Attributes;
namespace FluiTec.AppFx.Options.Tests.ConfigurationOptions
{
public class SecretOption
{
[ConfigurationSecret] public string StringSetting { get; set; }
}
} | 1.555223 | 4c9c4335d5dbe083ff2136de40340d47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840335 | {
"extension": "c-sharp",
"max_stars_count": "94.0",
"max_stars_repo_name": "johnkimu/Dynamics365FO-AppChecker",
"max_stars_repo_path": "tools/Explorer/TabControl/Helper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159555"
} | starcoder | using System;
using System.Windows;
using System.Windows.Media;
using System.Windows.Markup;
using System.Xml;
using System.IO;
namespace Wpf.Controls
{
class Dimension
{
public double Height;
public double MaxHeight = double.PositiveInfinity;
public double MinHeight;
public do... | 2.947978 | 7bf1f6f1323ebf4b78b116e2226443eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-ILR-1718-ValidationService",
"max_stars_repo_path": "src/ESFA.DC.ILR.ValidationService.Rules/Learner/PlanLearnHours/PlanLearnHours_03Rule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159556"
} | starcoder | using ESFA.DC.ILR.Model.Interface;
using ESFA.DC.ILR.ValidationService.Interface;
using ESFA.DC.ILR.ValidationService.Rules.Abstract;
using ESFA.DC.ILR.ValidationService.Rules.Constants;
using System.Collections.Generic;
namespace ESFA.DC.ILR.ValidationService.Rules.Learner.PlanLearnHours
{
/// <summary>
/// ... | 2.097272 | 0cb2dddff9d8e9fba75e638df4cdffb1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840337 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Renatafsouza/api-wiz-template",
"max_stars_repo_path": "test/Wiz.Template.Core.Tests/Mocks/Factory/MockRepositoryBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159557"
} | starcoder | using System;
using System.Data;
using System.Data.Common;
using Moq;
namespace Wiz.Template.Core.Tests.Mocks.Factory
{
public class MockRepositoryBuilder
{
private static readonly Mock<DbConnection> _conn;
static MockRepositoryBuilder()
{
_conn = new Mock<DbConnection>();... | 2.121752 | 646d440b16694145bf36e6b1ccdf1d5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840338 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rbaz/Exceptionless.NetCore",
"max_stars_repo_path": "src/Exceptionless.Portable/Extensions/ExceptionlessConfigurationExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159558"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Exceptionless.Configuration;
using Exceptionless.Dependency;
using Exceptionless.Plugins.Default;
using Exceptionless.Logging;
using Exceptionless.Models;
using Exceptionless.Models.Data;
using Exceptionless.P... | 1.641637 | b5f68b9c766a773a9f647341b90bc914 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840339 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NaturalDragon/Surging.Authority",
"max_stars_repo_path": "src/03.Application/MicroService.Application.Authority/EmployeeMenuAppService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159559"
} | starcoder |
using System;
using System.Linq;
using System.Text;
using System.Data;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
using MicroService.Data.Ext;
using MicroService.IApplication.Authority;
using MicroService.IRespository.Authority;
using MicroService.Entity.Authority;
u... | 2.162839 | eb5084248cf9b14f58b87b482f694b5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840340 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "watfordsuzy/stencil",
"max_stars_repo_path": "Source/Stencil.Server/Stencil.Plugins.GitHub.UnitTests/Daemons/GitHubTicketInProgressDaemonTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159560"
} | starcoder | <filename>Source/Stencil.Server/Stencil.Plugins.GitHub.UnitTests/Daemons/GitHubTicketInProgressDaemonTests.cs
using AutoMapper;
using Codeable.Foundation.Common;
using Codeable.Foundation.Common.Daemons;
using Codeable.Foundation.Common.System;
using Codeable.Foundation.Core;
using Microsoft.Practices.Unity;
using Moq... | 1.562552 | 111de0dbc846e1f6481bccb8f5420588 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840341 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "avegaraju/XBehavior",
"max_stars_repo_path": "src/XBehavior.Core/Attributes/AttributeBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159561"
} | starcoder | using System;
using Xunit;
namespace XBehavior.Core.Attributes
{
public class AttributeBase: FactAttribute
{
protected readonly string Description;
public int Order { get; }
public override string Skip => string.Empty;
protected AttributeBase(string description, int order)
... | 2.459272 | 7f3826863a2f19f6d05e853b95dd7b3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840342 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndrewKapishnikov/GameStore",
"max_stars_repo_path": "Presentation/GameStore.Web/Views/Shared/Components/CategoryMenu/Default.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:159562"
} | starcoder | @model IReadOnlyCollection<CategoryModel>
<ul id="cat">
@foreach (var item in Model)
{
<li>
<a asp-controller="game" asp-action="categorygames" asp-route-category="@item.CategoryUrlSlug">
@item.Name
</a>
</li>
}
</ul>
| 2.601027 | 4786e749b2920d269f885c316a583b8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840343 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kjrobrien/MassTransit",
"max_stars_repo_path": "src/MassTransit/SagaStateMachine/Configuration/StateMachineModifier.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159563"
} | starcoder | <gh_stars>1-10
namespace MassTransit.Configuration
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
class StateMachineModifier<TSaga> :
IStateMachineModifier<TSaga>
where TSaga : class, SagaStateMachineInstance
{
reado... | 2.378745 | ba27bfc933655127dfdb4be7d4729a81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840344 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mza79/ProjectAuditor",
"max_stars_repo_path": "Editor/UI/ProgressBarDisplay.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159564"
} | starcoder | using UnityEditor;
using UnityEngine;
namespace Unity.ProjectAuditor.Editor
{
public class ProgressBarDisplay
{
private int m_Total;
private int m_Current;
private string m_Title;
private string m_Description;
public ProgressBarDisplay(string title, string description, ... | 2.492257 | 66d2ed2d06f0ff4a9d9d4fc406255c51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840345 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "datacentricorg/datacentric",
"max_stars_repo_path": "cs/src/DataCentric/Extensions/System/Collections/Generic/Enumerable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159565"
} | starcoder | /*
Copyright (C) 2013-present The DataCentric Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to ... | 2.696941 | 056dc8bf5d67b8d0901d38c6e639c4d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840346 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AscenKeeprov/Programming-Basics",
"max_stars_repo_path": "Exercise2-SimpleCalculations/XAMDailyWage/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159566"
} | starcoder | <filename>Exercise2-SimpleCalculations/XAMDailyWage/Program.cs
using System;
namespace XAMDailyWage
{
class Program
{
static void Main(string[] args)
{
var mDays = int.Parse(Console.ReadLine());
var dWage = double.Parse(Console.ReadLine());
var fxRate = double.Parse(Console.ReadLine());
var mWage = ... | 3.192315 | 9176e752c3caa6ab64a6a1c1f8c2576b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840347 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bradhugh/UpdateThumbnailPhoto",
"max_stars_repo_path": "UpdateThumbnailPhoto/Services/FilePickerService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159567"
} | starcoder | namespace UpdateThumbnailPhoto.Services
{
using System;
using Microsoft.Win32;
/// <summary>
/// The file picker service.
/// </summary>
internal class FilePickerService : IFilePickerService
{
/// <inheritdoc/>
public bool PickFile(out string filePath)
{
... | 2.610992 | a56c3ed7d0d825a9041c4c40442a2d80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840348 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "TonyMajorDev/DeChargerRepo",
"max_stars_repo_path": "OpenVisifire/source/trunk/Common/PyramidChart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159568"
} | starcoder | <gh_stars>1-10
/*
Copyright (C) 2008 Webyog Softworks Private Limited
This file is a part of Visifire Charts.
Visifire is a free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 ... | 2.11519 | 97fdea7189975725cb9c79930629b78e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840349 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "ferib/LuaToolkit",
"max_stars_repo_path": "src/Core/LuaInstruction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159569"
} | starcoder | <reponame>ferib/LuaToolkit
using LuaToolkit.Models;
using System.Collections.Generic;
namespace LuaToolkit.Core
{
public class LuaInstruction
{
private const int HalfMax18Bit = 2 << 16; // == 2^16 -1 == 131071
public int Data
{
get;
private set;
}
... | 2.465785 | ab37b504e3685865f2a06ce4f3ee62c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aabramos/techsupp-osdiagtool",
"max_stars_repo_path": "OSDiagTool/Platform/PlatformUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159570"
} | starcoder | using Microsoft.Win32;
using Oracle.ManagedDataAccess.Client;
using OSDiagTool.Platform.ConfigFiles;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OSDiagTool.Platform {
class PlatformUtils {
publi... | 2.341949 | b4e2615c6a99e047e38673e5f4e8c654 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840351 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "the-orb/orb.net",
"max_stars_repo_path": "src/Relay/Entity/IEntityGraphAdapter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159571"
} | starcoder | using GraphQL.Types;
using System;
using System.Collections.Generic;
using System.Linq;
namespace GraphQL.Entity
{
public interface IEntityGraphAdapter
{
#region navigation
FieldType AddNavigationField<TSource, TReturn>(ObjectGraphType<TSource> graph,
string name,
Func<... | 1.968864 | 0fcfc4afb13b968471c9b3f90b3a24ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840352 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ercand/CottontailSummoners",
"max_stars_repo_path": "Website/DataAccessLayer/Repositories/Interfaces/IRankedMatchToProcessRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159572"
} | starcoder | <reponame>ercand/CottontailSummoners<filename>Website/DataAccessLayer/Repositories/Interfaces/IRankedMatchToProcessRepository.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Website.Entities;
namespace Website.DataAccessLayer.Repositories.In... | 1.766894 | d379a95446ce8e15547903d6166e3f55 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840353 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SvenFrankson/hammurabi",
"max_stars_repo_path": "Assets/Scripts/CSharpParser/CSRoot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159573"
} | starcoder | <filename>Assets/Scripts/CSharpParser/CSRoot.cs
class CSRoot: CSEntity {
public CSRoot(): base("root", null) {
}
override public string recursivelyWriteAsDebug() {
string output = "";
this.children.ForEach(
(child) => {
output += child.recursivelyWr... | 2.810986 | ee4995a600835aa190806621defe9510 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840354 | {
"extension": "c-sharp",
"max_stars_count": "227.0",
"max_stars_repo_name": "ckalvin-hub/Sheng.Winform.IDE",
"max_stars_repo_path": "SourceCode/Source/EnterpriseLibrary/Caching/ICacheManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159574"
} | starcoder | <reponame>ckalvin-hub/Sheng.Winform.IDE<gh_stars>100-1000
/*********************************************
作者:曹旭升
QQ:279060597
访问博客了解详细介绍及更多内容:
http://blog.shengxunwei.com
**********************************************/
using System;
using Microsoft.Practices.EnterpriseLibrary.Caching.Con... | 1.664755 | b4c5bd9aff65ead06cd63fed3d87a1b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840355 | {
"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/EcsServiceServiceRegistries.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159575"
} | starcoder | <gh_stars>0
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
#pragma warning disable CS8618
[JsiiByValue(fqn: "aws.EcsServiceServiceRegistries")]
public class EcsServiceServiceRegistries : aws.IEcsServiceServiceRegistries
{
[JsiiProperty(name: "re... | 1.186589 | 430493be4944d77b6fe8817cf193f052 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840356 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dipronil1998/example",
"max_stars_repo_path": "db/users.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159576"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace Example
{
#region Users
public class Users
{
#region Member Variables
protected unknown _id;
protected string _name;
protected string _email;
protected unknown _emai... | 2.782964 | 34a22ae352c545a4474306d92c64d332 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840357 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeorgiNik/OnlineSpreadsheet",
"max_stars_repo_path": "Web/OnlineSpreadsheet.Web.ViewModels/Users/UserVM.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159577"
} | starcoder | <reponame>GeorgiNik/OnlineSpreadsheet<filename>Web/OnlineSpreadsheet.Web.ViewModels/Users/UserVM.cs
namespace OnlineSpreadsheet.Web.ViewModels.Users
{
using Infrastructure;
using OnlineSpreadsheet.Data.Models;
using Localization.Resources;
using System.Collections.Generic;
using System.ComponentMod... | 1.704825 | 2281f560b7948887fa28bc2427a2cdc6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840358 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "7digital/SevenDigital.Api.Schema",
"max_stars_repo_path": "src/Schema/Tracks/TracksBatch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159578"
} | starcoder | using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using SevenDigital.Api.Schema.Attributes;
using SevenDigital.Api.Schema.ParameterDefinitions.Get;
namespace SevenDigital.Api.Schema.Tracks
{
[Serializable]
[ApiEndpoint("track/details/batch")]
[XmlRoot("items")]
public clas... | 1.754667 | 58e696715bb06985859cc5fcad7a58bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840359 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Luxoft/BSSFramework",
"max_stars_repo_path": "src/Framework.ExpressionParsers/_Base/Native/NativeExpressionParsingData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159579"
} | starcoder | using Framework.Core.Serialization;
namespace Framework.ExpressionParsers
{
public class NativeExpressionParsingData : ParsingData<MethodTypeInfo, string>
{
public NativeExpressionParsingData(MethodTypeInfo parsingInfo, string parsingValue) : base(parsingInfo, parsingValue)
{
... | 1.837175 | 9d5c535b730e9e467772cace2387a7d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GrantBartlett/xna-cncnet-client",
"max_stars_repo_path": "DTAConfig/DirectDrawWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159580"
} | starcoder | <filename>DTAConfig/DirectDrawWrapper.cs<gh_stars>0
using ClientCore;
using Rampastring.Tools;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace DTAConfig
{
/// <summary>
/// A DirectDraw wrapper option.
/// </summary>
class D... | 2.766012 | 8ff912c2e75b2a5d576d175727e81e1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840361 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "Dnkhatri/jellyfin-plugin-trakt",
"max_stars_repo_path": "Trakt/Helpers/UserDataPackage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159581"
} | starcoder | <reponame>Dnkhatri/jellyfin-plugin-trakt
using System;
using System.Collections.Generic;
using MediaBrowser.Controller.Entities.Movies;
using MediaBrowser.Controller.Entities.TV;
using Trakt.Model;
namespace Trakt.Helpers;
/// <summary>
/// Class that contains all the items to be reported to trakt.tv and supporting p... | 1.70739 | b51e96d2370cf6ab6ac23b3f02903387 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840362 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "Archomeda/Gw2Sharp",
"max_stars_repo_path": "Gw2Sharp/WebApi/V2/Models/MailCarriers/MailCarrier.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159582"
} | starcoder | <reponame>Archomeda/Gw2Sharp<gh_stars>10-100
using System;
using System.Collections.Generic;
namespace Gw2Sharp.WebApi.V2.Models
{
/// <summary>
/// Represents a mailcarrier.
/// </summary>
public class MailCarrier : ApiV2BaseObject, IIdentifiable<int>
{
/// <summary>
/// The mailca... | 1.915899 | e4b7b3fdb4594fc927d5d245ee1ba419 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840363 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Wivaldy/wivaldy-bot",
"max_stars_repo_path": "WivaldyBot/Helpers/CardHero.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159583"
} | starcoder | <reponame>Wivaldy/wivaldy-bot
namespace WivaldyBot.Helpers
{
using System.Collections.Generic;
using System.Linq;
using Microsoft.Bot.Connector;
public static class HeroCardExtensions
{
public static void AddHeroCard<T>(this IMessageActivity message, string title, string subtitle, IEnumera... | 2.650107 | befbadabbf5accdc762b507c33eb1a9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zengliugen/LittleBaby.Framework",
"max_stars_repo_path": "UnityProject/Packages/LittleBaby.Framework.AssetBundles/Runtime/Generated/Serializer/Binary/ABVersion.Binary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159584"
} | starcoder | // MD5:2843C638727D93938BD48125A79B5115
/// <summary>
/// Auto generate code, no need modify.
/// </summary>
namespace LittleBaby.Framework.AssetBundles
{
using LittleBaby.Framework.Core;
using LittleBaby.Framework.AssetBundles;
public partial class ABVersion
{
public override void Serialize(Sy... | 1.653621 | bd107ff08aecadba3fca93c3fcbf8af2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840365 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "empitechathu/UnityARWithUI",
"max_stars_repo_path": "SampleEchoAR2020117f1/Assets/Scripts/TabButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159585"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class TabButton : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler, IPointerClickHandler
{
public TabGroup tabGroup;
// Start is called before the first frame update
void Start()
... | 2.15308 | a261210757fb5c3c363e26f801c102ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840366 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "panoramicdata/LogicMonitor.Api",
"max_stars_repo_path": "LogicMonitor.Api/Data/WebsiteCheckpointGraphDataRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159586"
} | starcoder | namespace LogicMonitor.Api.Data;
/// <summary>
/// A Website graph data request
/// </summary>
public class WebsiteCheckpointGraphDataRequest : WebsiteOverviewGraphDataRequest
{
internal override string SubUrl
{
get
{
var websiteGraphName = WebsiteGraphType switch
{
WebsiteGraphType.OverallStatus =>... | 2.212802 | 6f34aaefe2903b56fdc73cc34ece7080 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840367 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "henskjold73/h73.Elastic.Search",
"max_stars_repo_path": "h73.Elastic.Search.Tests/QueryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159587"
} | starcoder | <filename>h73.Elastic.Search.Tests/QueryTests.cs
using System;
using System.Collections.Generic;
using h73.Elastic.Core.Enums;
using h73.Elastic.Core.Helpers;
using h73.Elastic.Core.Search.Aggregations;
using h73.Elastic.Core.Search.Interfaces;
using h73.Elastic.Search.Helpers;
using Microsoft.VisualStudio.TestTools.U... | 2.192542 | 351e5138854ad3eba3dda5d16a3f7757 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840368 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "captainjono/rxns",
"max_stars_repo_path": "src/Rxns.Xamarin/Features/Navigation/Pages/RxnPageModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159588"
} | starcoder | <reponame>captainjono/rxns
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Reactive;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using Rxns.Interfaces;
using Rxns.Logging;
namespace Rxns.Xamarin.Features.Navigation.Pages
{
public interface IRxnPageModel... | 2.197847 | 9b667b3c87ecb580559124aabeac2bed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840369 | {
"extension": "c-sharp",
"max_stars_count": "349.0",
"max_stars_repo_name": "RomitMehta/presentations",
"max_stars_repo_path": "DOTNETCORE/ASP.NETCore/v5.0/AutoLot50/AutoLot.Mvc/TagHelpers/ItemDetailsTagHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159589"
} | starcoder | using AutoLot.Mvc.Controllers;
using AutoLot.Mvc.TagHelpers.Base;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using Microsoft.AspNetCore.Mvc.Routing;
using Microsoft.AspNetCore.Razor.TagHelpers;
namespace AutoLot.Mvc.TagHelpers
{
public class ItemDetailsTagHelper : ItemLinkTagHelperBase
{
public It... | 2.00413 | 06e609ee674f35ec7ed88684d3be690e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840370 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hr-central/keypay-dotnet-v2",
"max_stars_repo_path": "src/keypay-dotnet/Au/Models/EmployingEntities/AuEmployingEntityModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159590"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Net.Http.Headers;
using KeyPayV2.Au.Models.Common;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json;
using KeyPayV2.Au.Enums;
namespace KeyPayV2.Au.Models.EmployingEntities
{
public class AuEmployingEntityModel
{
... | 1.616665 | 6f13c06030edf013d84dd2f0dae08282 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840371 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "ScyllaNet/ScyllaNet",
"max_stars_repo_path": "src/ScyllaNet/IAuthenticator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159591"
} | starcoder | <reponame>ScyllaNet/ScyllaNet
// Copyright (c) 2014-2020 DataStax Inc.
// Copyright (c) 2020, <NAME> (ralmsdevelper)
// Licensed under the Apache License, Version 2.0. See LICENCE in the project root for license information.
namespace Scylla.Net
{
/// <summary>
/// Handles SASL authentication with Cassandra ... | 2.293357 | c308eeff213ae0de0ae2e50ff0deada2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840372 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kyranet/EscapeTheFlyingPrison",
"max_stars_repo_path": "Assets/Scripts/AI/GroupFollower.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159592"
} | starcoder | using System.Collections;
using Agent;
using UnityEngine;
namespace AI
{
[RequireComponent(typeof(Renderer))]
[RequireComponent(typeof(AgentMovement))]
public class GroupFollower : MonoBehaviour
{
public float Calm = 100f;
public float CalmNearLeader = 10f;
public float CalmNearPlayer = 1f;
public float C... | 2.240421 | 2618f878e9471b83c84e4c28f49cda6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840373 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oggy83/OculusWalkerDemo",
"max_stars_repo_path": "OculusWalkerDemo/Draw/Detail/StereoDrawContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159593"
} | starcoder | <reponame>oggy83/OculusWalkerDemo
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Threading.Tasks;
using SharpDX;
using SharpDX.Windows;
using SharpDX.DXGI;
using SharpDX.Direct3D;
using SharpDX.Direct3D11;
using System.Diagnostics;
using System.... | 2.295239 | 048c7db375b5768377c44db1ff3b5e79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840374 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "perlun/perlang",
"max_stars_repo_path": "src/Perlang.Tests.Integration/Stdlib/LibcTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159594"
} | starcoder | using System.Collections.Immutable;
using FluentAssertions;
using Xunit;
using static Perlang.Tests.Integration.EvalHelper;
namespace Perlang.Tests.Integration.Stdlib
{
/// <summary>
/// Integration test for the <see cref="Perlang.Stdlib.Libc"/> class.
/// </summary>
public class LibcTests
{
... | 2.583943 | ae2fa21953a6c85884c17bef0a93c018 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840375 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jhburns/ExperienceCapture",
"max_stars_repo_path": "DemoGame/Assets/ExperienceCapture/Subassets/Capture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159595"
} | starcoder | namespace Capture
{
/// <summary>
/// Makes a class to be captured during a session.
/// </summary>
public interface ICapturable
{
/// <summary>
/// Export data from a class.
/// </summary>
/// <returns>A capture.</returns>
object GetCapture();
}
} | 2.783521 | fe5f8efc6421836f5b5e9d3d3cf3b452 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840376 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JUV-Studios/TextEditorSDK",
"max_stars_repo_path": "TextEditor/Languages/LanguageProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159596"
} | starcoder | <reponame>JUV-Studios/TextEditorSDK
using System.Collections.Generic;
using System.Linq;
namespace JuvStudios.TextEditor.Languages
{
/* public static class LanguageProvider
{
public static readonly List<SyntaxLanguage> CodeLanguages = new() { new PythonSyntaxLanguage(), new PlainTextLanguage() };
... | 2.350095 | 1c6ec486cb3b3ceeb2a5c0723b249d88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840377 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lampje227/3DAmsterdam",
"max_stars_repo_path": "3DAmsterdam/Assets/Netherlands3D/Scripts/RuntimeHandle/RuntimeTransformHandle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159597"
} | starcoder | <filename>3DAmsterdam/Assets/Netherlands3D/Scripts/RuntimeHandle/RuntimeTransformHandle.cs
using Netherlands3D.Cameras;
using Netherlands3D.Interface;
using Netherlands3D.ObjectInteraction;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.InputSystem;
namespace RuntimeH... | 1.944253 | 4164bd174e9dc71ce9d6ff1bc2a3d01c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840378 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nexus-link/Nexus.Link.Libraries",
"max_stars_repo_path": "src/Capabilities.AsyncRequestMgmt.Abstract/Entities/HttpResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159598"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Primitives;
using Nexus.Link.Libraries.Core.Assert;
namespace Nexus.Link.Capabilities.AsyncRequestMgmt.Abstract.Entities
{
/// <summary>
/// Exception object when request execution throw an exception
/// </summary>
public ... | 2.498136 | f6e81c764921ad9a16f124e375d7ec9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840379 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "namics/TerrificNet",
"max_stars_repo_path": "TerrificNet/Models/ApplicationOverviewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159599"
} | starcoder | using System.Collections.Generic;
using Newtonsoft.Json;
namespace TerrificNet.Models
{
public class ApplicationOverviewModel
{
[JsonProperty("applications")]
public IList<ViewOverviewModel> Applications { get; set; }
}
} | 1.753341 | 8e76962f56653726d7d80674abdccc98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840380 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "max-ieremenko/ServiceModel.Grpc",
"max_stars_repo_path": "Sources/ServiceModel.Grpc.DesignTime/Generator/CompilationUnit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159600"
} | starcoder | // <copyright>
// Copyright 2020 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | 2.099639 | 3d0286467450095a2beca27c830a97f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840381 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vegaitsourcing/act-foundation",
"max_stars_repo_path": "ACTFoundation.Web/Views/Partials/NestedContent/_Gallery.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:159601"
} | starcoder | @inherits UmbracoViewPage<ACTFoundation.Core.ViewModels.Partials.Blocks.GalleryViewModel>
<div class="project-galleries">
<div class="heading-project-galleries">
@UIHelper.RenderText(Html, Model.Title, "p", "m-text uppercase")
@UIHelper.RenderText(Html, Model.Subtitle, "h2", "heading-secondary xl-t... | 2.302944 | 5f4bb23deb38a8e6de9fa14eca298748 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840382 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "spellman235/Castle-Bashers",
"max_stars_repo_path": "Assets/Scripts/Mechanics/Skills/SkillLevel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159602"
} | starcoder |
public enum SkillLevel {Level1, Level2, Level3, EnemyOnly};
| 1.422354 | 8bea08e676dff584edb1b1c08ba46317 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840383 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Apple2424/BlueApple.CallVote",
"max_stars_repo_path": "VoteStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159603"
} | starcoder | namespace BlueApple.CallVote
{
public enum VoteStatus
{
Ready,
Ongoing,
CoolingDown
}
}
| 1.410621 | f5d8967a5f2cfda3750ed5dbb17ff509 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840384 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "breathingdust/StatsDHelper",
"max_stars_repo_path": "StatsDHelper/StatsDHelperExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159604"
} | starcoder | namespace StatsDHelper
{
public static class StatsDHelperExtensions
{
public static TimerToken LogTiming(this IStatsDHelper helper, string name)
{
return new TimerToken(helper, name);
}
}
} | 1.940216 | 1de2a1b04bfa72da17416eb0e61ff84b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840385 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ObviousPiranha/Jawbone",
"max_stars_repo_path": "Piranha.Jawbone/OpenGl/OpenGlExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159605"
} | starcoder | using System;
using System.Runtime.CompilerServices;
namespace Piranha.Jawbone.OpenGl
{
public static class GlExtensions
{
public static void LogProgress(
this IOpenGl gl,
[CallerFilePath] string? file = null,
[CallerMemberName] string? caller = null,
... | 2.560497 | 42227af53e47b4fa3a58c29eda581a7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840386 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AILanguages/WebClients",
"max_stars_repo_path": "PatTuring2016.MVC5Web/Views/Demo/Word.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:159606"
} | starcoder | @{
Layout = "~/Views/Shared/_ConsoleLayout.cshtml";
}
@using PatTuring2016.MVC5Web.Models
@model PatTuring2016.Common.ScreenModels.FullScreenModels.WordScreenModel
<div id="Word" class="white">
@Html.Partial("Partials/PartWord", Model)
<p class="button">
@Html.Partial("Ajax/SelectWord", n... | 1.795168 | 6bfee55c640cba90c1ab6bf6ffed1efc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840387 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BigETI/ElectrodZMultiplayer",
"max_stars_repo_path": "ElectrodZMultiplayer/Core/Data/Messages/UserJoinedMessageData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159607"
} | starcoder | <reponame>BigETI/ElectrodZMultiplayer
using ElectrodZMultiplayer.JSONConverters;
using Newtonsoft.Json;
using System;
using System.Drawing;
/// <summary>
/// ElectrodZ multiplayer data messages namespace
/// </summary>
namespace ElectrodZMultiplayer.Data.Messages
{
/// <summary>
/// A class that describes a m... | 2.640705 | 17ac699d10a68b22d00541bcad495289 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840388 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dsuny/Atomus.Control.Toolbar.RichTextBoxEditToolbar",
"max_stars_repo_path": "dotNet/Properties/Resources.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159608"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// 이 코드는 도구를 사용하여 생성되었습니다.
// 런타임 버전:4.0.30319.42000
//
// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
// 이러한 변경 내용이 손실됩니다.
// </auto-generated>
//--------------------------------------------------------... | 2.095248 | 35cb4beb356bc4e4b76eccb92bce3a97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840389 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "SlashNephy/NiceHashQuickMiner.RichPresence",
"max_stars_repo_path": "App/Discord/DiscordRichPresenceManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159609"
} | starcoder | using DiscordRPC;
using NiceHashQuickMinerRichPresence.Configuration;
namespace NiceHashQuickMinerRichPresence.Discord;
public sealed class DiscordRichPresenceManager : IDiscordRichPresenceManager
{
private readonly IConfigManager configManager;
private DiscordRpcClient? client;
public DiscordRichPresen... | 2.230436 | 403f6a715e084fb875a5c426702c3d93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840390 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "PyneTrading/Sharpkit.Learn",
"max_stars_repo_path": "src/Sharpkit.Learn/Tree/Splitter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159610"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="Splitter.cs" company="Sharpkit.Learn">
// Authors: <NAME> <<EMAIL>>
// <NAME> <<EMAIL>>
// <NAME> <<EMAIL>>
// <NAME> <<EMAIL>>
// <NAME> <<EMAIL>>
// <NAME> <<EMAIL>>
// ... | 2.430241 | 68827a1a5588f62d8406bce9729c33e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840391 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BYJRK/AircraftWar3D",
"max_stars_repo_path": "Assets/Scripts/Boundary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159611"
} | starcoder | <gh_stars>0
using UnityEngine;
[CreateAssetMenu(fileName = "New Bound", menuName = "Custom/New Bound")]
public class Boundary : ScriptableObject
{
public float leftBound;
public float rightBound;
public float TopBound;
public float BottomBound;
}
| 1.189455 | 5102ac548d4bb76b9d3b58fd1e617e6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840392 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-ILR-1819-ValidationService",
"max_stars_repo_path": "src/ESFA.DC.ILR.ValidationService.Rules.Tests/LearningDelivery/LearnStartDate/LearnStartDate_13RuleTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159... | starcoder | <filename>src/ESFA.DC.ILR.ValidationService.Rules.Tests/LearningDelivery/LearnStartDate/LearnStartDate_13RuleTests.cs
using ESFA.DC.ILR.Model.Interface;
using ESFA.DC.ILR.Tests.Model;
using ESFA.DC.ILR.ValidationService.Data.External.LARS.Interface;
using ESFA.DC.ILR.ValidationService.Data.External.LARS.Model;
using E... | 1.947529 | 539c705d7f11792bcc595d4c7082ab59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840393 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ferventdesert/WPFPropertyGrid",
"max_stars_repo_path": "System.Windows.Controls.WPFPropertyGrid/Design/CategoryContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159613"
} | starcoder | <reponame>ferventdesert/WPFPropertyGrid
namespace System.Windows.Controls.WpfPropertyGrid
{
/// <summary>
/// Specialized UI container for a category entry.
/// </summary>
public class CategoryContainer : GridEntryContainer
{
/// <summary>
/// Initializes the <see cref="CategoryContainer"/> class.
... | 1.835733 | f9bfceb85c87b58382e79476da6916e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840394 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xushi-mike/ET",
"max_stars_repo_path": "Apps/Hotfix/Module/Console/ReloadDllConsoleHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159614"
} | starcoder | using System;
using System.Collections.Generic;
namespace ET
{
[ConsoleHandler(ConsoleMode.ReloadDll)]
public class ReloadDllConsoleHandler: IConsoleHandler
{
public async ETTask Run(ModeContex contex, string content)
{
switch (content)
{
case Console... | 2.03156 | 2d20ea8d94bce95c6805a8cbbf42dc87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840395 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MagiZile/Acadiverse",
"max_stars_repo_path": "windows-desktop/Acadiverse Desktop Client For Windows/frmRegister.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159615"
} | starcoder | <gh_stars>1-10
using MagiZile.Acadiverse;
using MagiZile.UserInteractions.ParentalControls;
using MongoDB.Bson;
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.... | 2.430272 | be932fb2287eac345e3603518d4607d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840396 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dlabella/YTDownloaderBackend",
"max_stars_repo_path": "YTDownloader/Api/Download.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159616"
} | starcoder | <gh_stars>0
using SimpleWebApiServer;
using System;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using YTDownloader.Api.RequestParameters;
namespace YTDownloader.Api
{
public class Download : ApiPostRequestResponse<DownloadRequestParameters>
{
public Download(HttpListenerRequestCac... | 2.171684 | d9897c4b6f83337f0c20755d0e1816f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840397 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "NeilQ/Netcool.Ap",
"max_stars_repo_path": "src/Netcool.Api.Domain/Users/IUserService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159617"
} | starcoder | <reponame>NeilQ/Netcool.Ap<filename>src/Netcool.Api.Domain/Users/IUserService.cs
using System.Collections.Generic;
using Netcool.Api.Domain.Menus;
using Netcool.Api.Domain.Roles;
using Netcool.Core.Services;
namespace Netcool.Api.Domain.Users
{
public interface IUserService : ICrudService<UserDto, int, UserReques... | 1.781597 | 79ece933547bf1f0d81d2c31285d4b79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840398 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "balakrishnavalluri-gep/project-system",
"max_stars_repo_path": "src/Microsoft.VisualStudio.ProjectSystem.Managed.UnitTests/Mocks/IProjectSubscriptionServiceFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159618"
} | starcoder | <gh_stars>0
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Moq;
namespace Microsoft.VisualStudio.ProjectSystem
{
internal static class IProjectSubscriptionServiceFactory
{
public st... | 1.471009 | d0846622222f7036a5483037693d34e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840399 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hubertmowinski/wilkiiowce",
"max_stars_repo_path": "wilkiiowce-Game (1)/wilkiiowce-Game_klient/Board.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159619"
} | starcoder | using System.Collections.Generic;
namespace Chess {
class Board {
public static Tile[,] tiles = new Tile[8, 8];
public static ChessColor CurrentPlayer = ChessColor.WHITE;
public static Chess Window;
public static List<PreviousBoardState> previousMoves = new List<PreviousBoar... | 2.687949 | d41f029d8166572897bcffb1a0570ca3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840400 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vijayanmmm/Easy-Log",
"max_stars_repo_path": "Log Easy/clsLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159620"
} | starcoder | <reponame>vijayanmmm/Easy-Log
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Data;
namespace Log_Easy
{
public class clsLogger
{
private System.IO.StreamWriter m_fswLogFile;
private ... | 2.878364 | cb2912dbc01f74e5fc390ce450c3eee5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840401 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Aghyad-Khlefawi/Coddee",
"max_stars_repo_path": "src/Coddee.WPF/Controls/BusyIndicator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159621"
} | 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.ComponentModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Markup;
using System.Windows.Media;
namespace... | 2.791272 | f1e54cebadadcc92c7af443a04cf779f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840402 | {
"extension": "c-sharp",
"max_stars_count": "1835.0",
"max_stars_repo_name": "spadd/BDFramework.Core",
"max_stars_repo_path": "Packages/com.popo.bdframework/Runtime/AssetsManager/Script/ScriptLoder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159622"
} | starcoder | <filename>Packages/com.popo.bdframework/Runtime/AssetsManager/Script/ScriptLoder.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using BDFramework.Core.Tools;
using UnityEngine;
namespace BDFramework
{
static public class ScriptLoder
{
static read... | 2.101959 | 85f22742c7734c4f76477235c932707d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840403 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Plaban9/Space_Invader_Game",
"max_stars_repo_path": "Assets/Scripts/Bomb.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159623"
} | starcoder | <filename>Assets/Scripts/Bomb.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bomb : MonoBehaviour
{
#region
public float rotationAngle = 180f;
public Color explosionColor;
public GameObject particleEmission;
#endregion
private float damage = 20f... | 2.547112 | f62724ff2bcae4323289c0fd89417842 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840404 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jyoung/MadMoose.CQRS",
"max_stars_repo_path": "MadMoose.CQRS/Queries/IQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159624"
} | starcoder | namespace MadMoose.CQRS.Queries
{
/// <summary>
/// Marker interface for Queries
/// </summary>
public interface IQuery
{
}
/// <summary>
/// Marker interface for Queryies with a response type
/// </summary>
/// <typeparam name="TResponse">The type of response for the ... | 2.105864 | 9acb4e5a31c61a423b82c2d56890c9a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840405 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KarimLUCCIN/SlnView",
"max_stars_repo_path": "App/SlnView/SlnView.App/ViewModel/SlnItems/SlnFolder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159625"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CWDev.SLNTools.Core;
namespace SlnView.App.ViewModel.SlnItems
{
public class SlnFolder : SlnItem, INotifyPropertyChanged
{
public static Gu... | 1.773266 | 394a4efb5e2cfceb25d3b98304a3d763 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840406 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "intrepiddevops/Intrepid.AspNetCore.Identity.Admin",
"max_stars_repo_path": "Intrepid.AspNetCore.Identity.Admin/Models/UserForReadModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159626"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Intrepid.AspNetCore.Identity.Admin.Models
{
public class UserForReadModel : UserBaseModel
{
public bool IsEmailConfirmed { get; set; }
public bool IsPhoneConfirmed { get; set; }
p... | 1.684362 | 750fd72cc5513eb0fead16f7fb9c19c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840407 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "seymourpoler/TuduManayer",
"max_stars_repo_path": "dotnet/react.mvc-core.postgres.dapper/TuduManager/src/TuduManayer.Repository.Postgres.EntityFramework/TuduManayerDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159627"
} | starcoder | using Microsoft.EntityFrameworkCore;
namespace TuduManayer.Repository.Postgres.EntityFramework
{
public class TuduManayerDbContext : DbContext
{
private readonly string connectionString;
public TuduManayerDbContext(string connectionString)
{
this.connectionString = connecti... | 2.281362 | 3567b097a17e5cec1760b211de73055a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840408 | {
"extension": "c-sharp",
"max_stars_count": "102.0",
"max_stars_repo_name": "vaginessa/madb",
"max_stars_repo_path": "Managed.AndroidDebugBridge/FileSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159628"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Managed.Adb.IO;
using MoreLinq;
using System.Text.RegularExpressions;
namespace Managed.Adb {
/// <summary>
///
/// </summary>
public class FileSystem {
/// <summary>
/// Initializes a new instance o... | 2.593995 | 6b15a66047cca860a7176bbe8fbc1585 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840409 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "NathanWarden/unity-godot-compat",
"max_stars_repo_path": "UnityEngine/Screen/Resolution.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159629"
} | starcoder | using System;
namespace UnityEngine
{
public class Resolution
{
public int width;
public int height;
}
} | 1.620918 | 5a20b8a7945f4dee225dbe9a6aaf8f8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marcin-dardzinski/SignalR-Proxy",
"max_stars_repo_path": "SignalRProxy.IntegrationTests/InvocationReporter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159630"
} | starcoder | using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace SignalRProxy.IntegrationTests
{
class InvocationReporter
{
public List<Invocation> Invocations { get; } = new List<Invocation>();
public void Report(object[] args, [CallerMemberName] string name = "")
{
... | 2.243526 | e35401254ba67eb0f36a57b3298f032d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840411 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dangercato/FrostyToolsuite",
"max_stars_repo_path": "Plugins/LuaPlugin/CodeEditor/CodeFormatter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159631"
} | starcoder | using System;
using System.Collections.Generic;
namespace LuaPlugin.CodeEditor
{
public struct CodeIndentDelta
{
/// <summary>
/// How many indents the line of code should be at relative to the previous line.
/// </summary>
public int PreIndentDelta;
/// <summary>
... | 2.945459 | 2b90edff8b176d8db5758b409ee5b38f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.