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 | 8848384 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "nuetzliches/spocr",
"max_stars_repo_path": "src/Commands/Project/ProjectListCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167604"
} | starcoder | using McMaster.Extensions.CommandLineUtils;
using SpocR.Managers;
namespace SpocR.Commands.Project
{
[HelpOption("-?|-h|--help")]
[Command("ls", Description = "List all SpocR Projects")]
public class ProjectListCommand : ProjectCommandBase
{
public ProjectListCommand(SpocrProjectManager spocrP... | 2.123606 | c4a55d315aa038d29e368a4a76809472 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848385 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "walkmansit/Drinks",
"max_stars_repo_path": "web-api/src/Project.API/Ordering/Domain/Users/Role.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167605"
} | starcoder | namespace Project.API.Ordering.Domain.Users
{
public static class Role
{
public const string Administrator = "admin";
public const string Client = "client";
}
} | 1.4551 | 6ee569fc3ac74dcc647e62746982c1f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848386 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "ruslan-voodoo/frigg",
"max_stars_repo_path": "Editor/PropertyDrawers/FoldoutPropertyDrawer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167606"
} | starcoder | <filename>Editor/PropertyDrawers/FoldoutPropertyDrawer.cs
namespace Frigg.Editor {
using System;
using Packages.Frigg.Editor.Utils;
using UnityEditor;
using UnityEngine;
public class FoldoutPropertyDrawer : FriggPropertyDrawer {
private float height;
private Rect c... | 2.455291 | aff83db80aed2470626919e3efee965e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848387 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0x004C/AsylumLauncher15",
"max_stars_repo_path": "AsylumLauncherWinForms/AsylumLauncher/FormMain.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167607"
} | starcoder | <reponame>0x004C/AsylumLauncher15<filename>AsylumLauncherWinForms/AsylumLauncher/FormMain.Designer.cs
namespace AsylumLauncher
{
partial class FormMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
... | 2.131712 | 22cb1f534ea935f3f180c34d9c36b5cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848388 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "twino-framework/horse-mq",
"max_stars_repo_path": "src/Horse.Messaging.Protocol/Models/NodeInformation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167608"
} | starcoder | using Newtonsoft.Json;
using System.Text.Json.Serialization;
namespace Horse.Messaging.Protocol.Models
{
/// <summary>
/// Instance information
/// </summary>
public class NodeInformation
{
/// <summary>
/// Instance unique id
/// </summary>
[JsonProperty("Id")]
... | 2.51007 | 98245a54110bb3561f6b1855af5bd079 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848389 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "firestrand/AdvMockExample",
"max_stars_repo_path": "AdvanceMockExample.Data/Models/Configuration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167609"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AdvanceMockExample.Models
{
public enum Setting
{
None = 0,
OverrideEmailDestinationAddress,
... | 1.567714 | eec680249eae7c46794655d05c6b0def |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848390 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Alejandroidev/Spin-gRPC-Tutoria",
"max_stars_repo_path": "Spin.WebSite/bin/Debug/net5.0/Spin/Themes/Shared/spin-sys/Generator/Controls/ComboBoxSelectionMultipleFilter.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:167610"
} | starcoder | @model ComboBoxSelectionMultiple
@using Spin.Modules.Entity.Backend.Generator.Select
@{
}
<div id='@(Model.Name)' ng-model='@(Model.Name.FirstCharacterToLower())' class="row filter-control combo-selection-multiple" ng-init="initializeComboBoxMultipleFilter('@Model.URL','@Model.CallbackMethodFillData','@Model.Name.Fi... | 2.162848 | 4a7ae86e596ba8d4f57bc2f950421a5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848391 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Saria-houloubi/svu-master-projects",
"max_stars_repo_path": "SVU/SVU.Web.UI/Models/Captcha/CaptchaModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167611"
} | starcoder | <filename>SVU/SVU.Web.UI/Models/Captcha/CaptchaModel.cs
namespace SVU.Web.UI.Models.Captcha
{
/// <summary>
/// The model to be validated once a captcha is needed
/// </summary>
public class CaptchaModel
{
#region Properties
public string CaptchaCode { get; set; }
#endregion... | 1.913169 | 6574c1039756fa16bb23f81ea3bcfc6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848392 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jay184/DebugNET",
"max_stars_repo_path": "DebugNET/DebugNET/PInvoke/ModuleHandleFlags.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167612"
} | starcoder | using System;
namespace DebugNET.PInvoke {
[Flags]
internal enum ModuleHandleFlags : uint {
GET_MODULE_HANDLE_EX_FLAG_PIN = 0x01,
GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT = 0x02,
GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS = 0x04
}
}
| 1.481601 | 6a003d04e0ed2976a6e9ee4ffea7e7df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848393 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gmich/Gint",
"max_stars_repo_path": "src/Gint.Terminal/Rendering/Font/FontHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167613"
} | starcoder | <reponame>gmich/Gint
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
namespace Gint.Terminal
{
internal static class FontHelper
{
private const int FixedWidthTrueType = 54;
private const int StandardOutputHandle = -11;
[DllImpor... | 2.396963 | efbad8b2345114c8b31d1d068684ab1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848394 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "w7rus/aspnetcore_webapp_fs",
"max_stars_repo_path": "DTO/Models/File/FileCreateResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167614"
} | starcoder | <gh_stars>0
using Common.Models.Base;
namespace DTO.Models.File;
public class FileCreateResult : DTOResultBase
{
public string FileName { get; set; }
} | 1.118747 | 6e91a6151c15c3a61ade25c66c11dc49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848395 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "markanderson8162/TacoParser",
"max_stars_repo_path": "LoggingKata.Test/TacoParserTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167615"
} | starcoder | using System;
using Xunit;
namespace LoggingKata.Test
{
public class TacoParserTests
{
// test-- all four parts of the parser ( turn to string, lat, long, name all set correctly)
// test-- use File.ReadAllLines(path) to grab all the lines from your csv file + Log and error if you get 0 lin... | 3.114918 | 41f8435149700a87af3ae5faf2ceeae6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848396 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "paulhammersley03/GildedRose-Refactoring-Kata",
"max_stars_repo_path": "csharp/ChangeRate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167616"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace csharp
{
public class ChangeRate
{
public static int changeRate(Item item)
{
switch(item.Name)
{
default:
... | 2.344603 | da6ac6ab4d598a84a7abe9c2b9eb1e13 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848397 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dowe/Project2",
"max_stars_repo_path": "Kundenapp/KundenappTest/LoginVMTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167617"
} | starcoder | <gh_stars>0
using NUnit.Framework;
using System;
using Kundenapp;
using GalaSoft.MvvmLight.Command;
using GalaSoft.MvvmLight.Messaging;
namespace KundenappTest
{
[TestFixture ()]
public class LoginVMTest
{
private string name;
private bool failed;
[Test ()]
public void LoginCMDTest ()
{
... | 1.751543 | 6894f7a2ab9e3739a7268faf09278cda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848398 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "srakowski/MoveToExperiment",
"max_stars_repo_path": "MoveTo/GameObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167618"
} | starcoder | <reponame>srakowski/MoveToExperiment
using Microsoft.Xna.Framework;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
namespace MoveTo
{
abstract class GameObject
{
protected GameTime _gameTime;
public void Update(Gam... | 2.785719 | 4e5e54599e2feb36240876575abc7115 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848399 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rpriest1260/Wyam",
"max_stars_repo_path": "src/core/Wyam.Hosting/LiveReload/IReloadClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167619"
} | starcoder | <gh_stars>0
namespace Wyam.Hosting.LiveReload
{
internal interface IReloadClient
{
bool IsConnected { get; }
void NotifyOfChanges();
}
} | 1.12254 | 1f30fc11aafb4f08e994a9c4a6e2ea65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848400 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Anav0/Optima",
"max_stars_repo_path": "Optima.Tests/ObjectiveTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167620"
} | starcoder | using Moq;
using Xunit;
namespace Optima.Tests
{
public class ObjectiveTests
{
[Fact]
private void Value_Recalculate_When_ValueWasNotCalculated()
{
var mockedSolution = new Mock<TestSolution>();
mockedSolution.SetupProperty(s => s.ValueWasCalculated, true);
... | 2.612051 | 54f27b24815c7b90d5c07da3148aad43 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848401 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "c-born/serialwifi",
"max_stars_repo_path": "src/Common/PervasiveDigital.Net.Azure.MobileServices.Shared/MobileServiceClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167621"
} | starcoder | <filename>src/Common/PervasiveDigital.Net.Azure.MobileServices.Shared/MobileServiceClient.cs
using System;
using System.Text;
using PervasiveDigital.Net;
namespace PervasiveDigital.Net.Azure.MobileService
{
/// <summary>
/// Client for Windows Azure Mobile Services via REST API
/// </summary>
public c... | 2.585116 | 08581ae3006c3a6dca9badc9003569cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848402 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MasterScott/CP77Tools",
"max_stars_repo_path": "CP77.CR2W/Types/cp77/SocialPanelContactsList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167622"
} | starcoder | <reponame>MasterScott/CP77Tools<filename>CP77.CR2W/Types/cp77/SocialPanelContactsList.cs<gh_stars>1-10
using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class SocialPanelContactsList : inkWidgetLogicController
{
... | 0.849218 | 188d06190246dae6d524be896cea985f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848403 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kusumoto/primeng-table-filter-csharp",
"max_stars_repo_path": "PrimeNG.TableFilter/Utils/ObjectCasterUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167623"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using Newtonsoft.Json.Linq;
using PrimeNG.TableFilter.Models;
namespace PrimeNG.TableFilter.Utils
{
public static class ObjectCasterUtil
{
public static object CastPropertiesTypeList(PropertyInfo property, object value)
{
... | 2.639439 | ada43ac02ca87ef97fd29d2d245cfaff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848404 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "nsivov/wpf",
"max_stars_repo_path": "src/Microsoft.DotNet.Wpf/src/System.Printing/MS.Internal.PrintWin32Thunk/SafeMemoryHandle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167624"
} | starcoder | <gh_stars>1-10
using System;
using System.Runtime.InteropServices;
namespace MS.Internal.PrintWin32Thunk {
internal class SafeMemoryHandle : SafeHandle
{
public override bool IsInvalid
{
get
{
throw new NotImplementedException();
}
}
public static SafeMemoryHandle Null
{
get
{
throw new NotImple... | 2.120983 | 90d1adf255f18686c5bac7c884ce25f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848405 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "uluhonolulu/fubumvc",
"max_stars_repo_path": "src/FubuMVC.Deployers/FubuIisWebsiteDeployer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167625"
} | starcoder | using System;
using Bottles.Deployers.Iis;
using Bottles.Deployment;
using Bottles.Deployment.Runtime;
using Bottles.Deployment.Runtime.Content;
using Bottles.Diagnostics;
namespace FubuMVC.Deployers
{
public class FubuWebsite : Website{}
public class FubuIisWebsiteDeployer : IDeployer<FubuWebsite... | 2.001729 | b9c95026cd02adcf37284c1c5dd97fbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848406 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pantolomin/PhoenixPointModLoader",
"max_stars_repo_path": "PhoenixPointModLoader/Mods/LoadConsoleCommandsFromAllAssembliesMod.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167626"
} | starcoder | using Base.Utils.GameConsole;
using Harmony;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
using UnityEngine;
namespace PhoenixPointModLoader.Mods
{
public class LoadConsoleCommandsFromAllAssembliesMod : IPhoenixPointMod
{
public... | 2.514288 | 60be38527464f02cfac66dfd45ccb436 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848407 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "AlephVault/unity-meetgard",
"max_stars_repo_path": "Runtime/Authoring/Behaviours/Client/NetworkClient/NetworkClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167627"
} | starcoder | <gh_stars>1-10
using System.Net.Security;
using System.Security.Authentication;
using AlephVault.Unity.Support.Authoring.Behaviours;
using UnityEngine;
using UnityEngine.Serialization;
namespace AlephVault.Unity.Meetgard
{
namespace Authoring
{
namespace Behaviours
{
namespace Clien... | 2.523652 | 2d6b24aba7148a412b5efd66e0a111e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848408 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "7eP6C7/SSD-Windows-backup",
"max_stars_repo_path": "shadowsocks-csharp/_SSD/View/SubscriptionManagementForm/SubscriptionManagementForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167628"
} | starcoder | using Shadowsocks.Controller;
using Shadowsocks.Model;
using Shadowsocks.Properties;
using System;
using System.Drawing;
using System.Windows.Forms;
namespace Shadowsocks.View {
public partial class SubscriptionManagementForm :Form {
private Configuration ConfigurationCopy;
private ShadowsocksCont... | 2.074584 | ac470e61aa26436913334d1c81b283e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848409 | {
"extension": "c-sharp",
"max_stars_count": "953.0",
"max_stars_repo_name": "Phantom-Lily/space-station-14",
"max_stars_repo_path": "Content.Client/Nutrition/EntitySystems/CreamPiedSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167629"
} | starcoder | using Content.Shared.Nutrition.EntitySystems;
using JetBrains.Annotations;
namespace Content.Client.Nutrition.EntitySystems
{
[UsedImplicitly]
public class CreamPiedSystem : SharedCreamPieSystem
{
}
}
| 1.090935 | 5ae6a67d00750b234a577e9862600822 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848410 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "cofoundry-cms/Cofoundry.Samples.SPASite",
"max_stars_repo_path": "src/Cofoundry.Samples.SPASite.Domain/Domain/Cats/Commands/SetCatLikedCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167630"
} | starcoder | using Cofoundry.Core.Validation;
using Cofoundry.Domain.CQS;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cofoundry.Samples.SPASite.Domain
{
/// <summary>
/// Here we can use ILoggable... | 2.122411 | fb5f48602f3b968f9dd80e64e9fbd1ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848411 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "syedtauhid/Real-Estate-Project-Starcounter",
"max_stars_repo_path": "OrganizationManagementApp/view-model/AddCompany.json.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167631"
} | starcoder | <reponame>syedtauhid/Real-Estate-Project-Starcounter<gh_stars>0
using Starcounter;
using System;
namespace OrganizationManagementApp
{
partial class AddCompany : Json
{
public event EventHandler Saved;
void Handle(Input.AddCompanyTrigger save)
{
CompanyNo = (int)Db.SQL<long... | 2.01422 | 91f699ce010d02168ed48b70928cf408 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848412 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lwdgeek/modmanagers-thesims4",
"max_stars_repo_path": "src/App.Win/Forms/SettingsForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167632"
} | starcoder | using LwdGeeks.ModManagers.TheSims4.App.Win;
using LwdGeeks.ModManagers.TheSims4.App.Win.Extensions;
using LwdGeeks.ModManagers.TheSims4.App.Win.Forms.Common;
using LwdGeeks.ModManagers.TheSims4.App.Win.Models;
namespace App.Win.Forms
{
public partial class SettingsForm : BaseForm
{
private readonly A... | 2.162698 | f04f953d326976f15bdc6bfa611ac4ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848413 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "webmaster442/TcPlayer2",
"max_stars_repo_path": "TcPlayer.Network/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167633"
} | starcoder | // ------------------------------------------------------------------------------------------------
// Copyright (c) 2021 <NAME>
// This is free software under the terms of the MIT License. https://opensource.org/licenses/MIT
// ------------------------------------------------------------------------------------------... | 2.864248 | 6bfdb2d5d19cf9fba2c422f33a921f0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848414 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Dumaru/VR-Practices",
"max_stars_repo_path": "Assets/2. Proyecto-Inmobiliaria/Scripts/RoomManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167634"
} | starcoder | using UnityEngine;
namespace Inmobiliaria
{
public class RoomManager : MonoBehaviour
{
[Header("Rooms")]
public GameObject[] rooms;
int lastRoom;
private void Start()
{
foreach (GameObject room in rooms)
{
room.SetActive(false);
... | 2.488981 | de546975da3259797f438081f17b24a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848415 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/EasyRpc",
"max_stars_repo_path": "tests/EasyRpc.Tests/DynamicClient/RpcProxyServiceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167635"
} | starcoder | <reponame>JTOne123/EasyRpc<filename>tests/EasyRpc.Tests/DynamicClient/RpcProxyServiceTests.cs
using System;
using System.Net;
using System.Net.Http;
using EasyRpc.AspNetCore.Messages;
using EasyRpc.DynamicClient;
using EasyRpc.DynamicClient.ProxyGenerator;
using EasyRpc.Tests.Middleware;
using NSubstitute;
using Simpl... | 1.548335 | 204f8ab49f97e7ac8f6a07540d2f9c7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848416 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RichardSlater/CheckyChatbot",
"max_stars_repo_path": "src/Common/Datastore/CachePolicy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167636"
} | starcoder | <filename>src/Common/Datastore/CachePolicy.cs
using System;
using System.Runtime.Caching;
namespace Checky.Common.Datastore {
public static class CachePolicy {
public static readonly CacheItemPolicy CommonPolicy = new CacheItemPolicy {
AbsoluteExpiration = DateTimeOffset.UtcNow.AddHours(24)
... | 1.768276 | 285ea6b25848812ef5d9940586ec2d9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848417 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PoIygon/Magnifier",
"max_stars_repo_path": "Magnifier/Controllers/ReactionsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167637"
} | starcoder | <filename>Magnifier/Controllers/ReactionsController.cs
using Magnifier.Models;
using Magnifier.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace... | 2.597371 | 18fa6fce1fa48446dd71615503c5c4e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848418 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andreyserenkov/workflow-core",
"max_stars_repo_path": "src/providers/WorkflowCore.LockProviders.PostgreSQL/PostgresLockProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167638"
} | starcoder | using Microsoft.Extensions.Logging;
using Npgsql;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using WorkflowCore.Interface;
namespace WorkflowCore.LockProviders.PostgreSQL
{
public class PostgresLockProvider ... | 2.667904 | 80c7fdfa42dcf7bdc5efa2ec58947a7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848419 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zgynhqf/trunk",
"max_stars_repo_path": "Rafy/Plugins/Other/Rafy.Domain.OldQuery/ORM/Core/Expression/zzzPropertyExpressionVisitor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167639"
} | starcoder | <reponame>zgynhqf/trunk
//*******************************************************
// *
// * 作者:胡庆访
// * 创建日期:20130529
// * 运行环境:.NET 4.0
// * 版本号:1.0.0
// *
// * 历史记录:
// * 创建文件 胡庆访 20130529 12:02
// *
//*******************************************************/
//using System;
//using System.Collections.Generic;
//... | 2.201534 | f4ceef4ccfee15ce9350317731e75166 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848420 | {
"extension": "c-sharp",
"max_stars_count": "244.0",
"max_stars_repo_name": "theBoringCoder/ncqrs",
"max_stars_repo_path": "Framework/src/Ncqrs.Tests/Eventing/Storage/NoDB/EventStoreTests/when_getting_all_events_for_an_event_source.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167640"
} | starcoder | <reponame>theBoringCoder/ncqrs<filename>Framework/src/Ncqrs.Tests/Eventing/Storage/NoDB/EventStoreTests/when_getting_all_events_for_an_event_source.cs
using System;
using System.Linq;
using Xunit;
namespace Ncqrs.Eventing.Storage.NoDB.Tests.EventStoreTests
{
public class when_getting_all_events_for_an_event... | 2.065206 | 1247e74b32870230dfa98ab03aef2e06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848421 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wangwshuai/graphic",
"max_stars_repo_path": "Examples/ShowcaseExample/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167641"
} | starcoder | using GraphX.Models;
using ShowcaseExample.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Windows;
using System.Windows.Input;
namespace ShowcaseExample
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public... | 2.508796 | 6bdeadaa2d7b041cf958eba6e0aa5963 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848422 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kittnz/KurthosWoW.TestRealm.ContinuousDeployment",
"max_stars_repo_path": "src/KurthosWoW.TestRealm.DeployementService/Controllers/PushController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167642"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace KurthosWoW
{
[Route("api/[controller]")]
[ApiController]
public class PushController : Controller... | 2.460511 | e59db9ca397598c82e602a011243ab56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848423 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NikolayPIvanov/Hive",
"max_stars_repo_path": "src/Chat/Hive.Chat/Hubs/ChatHub.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167643"
} | starcoder | <gh_stars>1-10
using System.Threading.Tasks;
using Hive.Chat.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.SignalR;
namespace Hive.Chat.Hubs
{
public interface IChatHub
{
Task MessageReceivedFromHub(Message message);
Task NewUserConnected(string message);
}
... | 2.289468 | 12c2c8e37424e5bdfab9993adf8cb832 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848424 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "proamarjeet/Azure",
"max_stars_repo_path": "cip_1-master/DataModel/AddOnProduct.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167644"
} | starcoder | using System.Collections.Generic;
using System.Runtime.Serialization;
// ReSharper disable InconsistentNaming
namespace CIP_1.DataModel
{
[DataContract]
public class AddOnProduct
{
[DataMember]
public Product addOnProduct { get; set; }
}
}
| 1.884603 | 01dacd7d198a36d75845ba2da5241dbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848425 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KrasimirStoyanov/Telerik-Academy",
"max_stars_repo_path": "Homeworks/C# 1/Loops-Homework/06.CalculateNFactorialDividingKFactorial/Class1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167645"
} | starcoder | using System;
namespace _06.CalculateNFactorialDividingKFactorial
{
// Write a program that calculates n! / k! for given n and k (1 < k < n < 100).
// Use only one loop.
class Class1
{
static void Main(string[] args)
{
Console.Write("Please enter the value for n: ")... | 4.283782 | f3a48522d90c70df39854a47981b1260 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848426 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "CBke/NoStringEvaluating",
"max_stars_repo_path": "NoStringEvaluating/Services/Checking/FormulaChecker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167646"
} | starcoder | using System;
using System.Collections.Generic;
using NoStringEvaluating.Contract;
using NoStringEvaluating.Models;
using NoStringEvaluating.Models.FormulaChecker;
using NoStringEvaluating.Nodes;
using NoStringEvaluating.Nodes.Base;
namespace NoStringEvaluating.Services.Checking
{
/// <summary>
/// Syntax che... | 2.795597 | 979e4fda7c3f93a5e9337ccb8b351943 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848427 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "i-e-b/SevenDigital.Messaging",
"max_stars_repo_path": "src/SevenDigital.Messaging.Integration.Tests/EdgeCases/StressTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167647"
} | starcoder | <gh_stars>1-10
using System;
using System.Threading;
using NUnit.Framework;
using SevenDigital.Messaging.Integration.Tests._Helpers;
namespace SevenDigital.Messaging.Integration.Tests.EdgeCases
{
[TestFixture]
public class StressTests
{
IReceiver _receiver;
ISenderNode _sender;
[SetUp]
publi... | 2.306538 | 8cc13b567a91c6c95d0f0746b08d0dd8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848428 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheProxor/code-samples-from-pg",
"max_stars_repo_path": "Assets/Scripts/GameFlow/Level/Objects/PhysicalObject/Components/LevelFieldComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167648"
} | starcoder | <gh_stars>0
using UnityEngine;
namespace Drawmasters.Levels
{
public class LevelFieldComponent : PhysicalLevelObjectComponent
{
#region Fields
private bool isInitialized;
private Camera gameCamera;
private Bounds levelFieldBounds;
#endregion
#region Meth... | 2.043512 | 1bbe40d62641e5264d1b6b8590cdc5b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848429 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lincoln42/LambdaExpressionAsScriptedString",
"max_stars_repo_path": "LambdaExpressionAsScriptedString/Globals.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167649"
} | starcoder | namespace LambdaExpressionAsScriptedString
{
public class Globals
{
public dynamic DynObj { get; set; }
}
} | 1.828218 | 014890b37414298c6bf954eb15e3ba5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848430 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "m-sadegh-sh/FaraMedia",
"max_stars_repo_path": "src/Libraries/FaraMedia.Data/Schemas/ConstantKeyHelpers.fixed.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167650"
} | starcoder | namespace FaraMedia.Data.Schemas {
using System;
using System.Linq.Expressions;
public class ConstantKeyHelpers {
protected const string KeySeparator = ".";
public string Label<TContainer>() {
throw new NotImplementedException();
}
public string Key<TContainer, TProperty>(Expression<Func<TContainer, T... | 2.398642 | cfd411a16d7448af1d284e4d57965cc1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848431 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "XamlBuildTask/Microsoft/Build/Tasks/Xaml/LoggableException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167651"
} | starcoder | <reponame>cnork/referencesource
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Build.Tasks.Xaml
{
using System;
using System.Runtime.Serialization;
... | 2.180756 | 1c1a4d2372f47964bc82fbb684e39bf4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848432 | {
"extension": "c-sharp",
"max_stars_count": "3803.0",
"max_stars_repo_name": "Paodange/DotNetty",
"max_stars_repo_path": "src/DotNetty.Common/Utilities/ConstantPool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167652"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace DotNetty.Common.Utilities
{
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
/// <summary>
/// A p... | 2.933183 | 6464967b699ba82d082c8c262ce473df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guardsman111/Special-Space-Force",
"max_stars_repo_path": "Special Space Force/Assets/Scripts/Sector View/Generation/Generation_Class.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167653"
} | starcoder | <filename>Special Space Force/Assets/Scripts/Sector View/Generation/Generation_Class.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Generation_Class
{
/// <summary>
/// All user selected information from the customisation screen is stored here for easy access b... | 1.920898 | e5e270705ccd02940ab3c56e9a8033a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848434 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yahir787/Proyecto-Final",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167654"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace Proyecto_U5_y_U6
{
class Comentario
{
//Propiedades
public int id { get; set;}
public string autor { get; set; }
public DateTime fech... | 3.398036 | e92b09dff2c83974587f649c9d7cd136 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848435 | {
"extension": "c-sharp",
"max_stars_count": "2108.0",
"max_stars_repo_name": "asbjornu/libgit2sharp",
"max_stars_repo_path": "LibGit2Sharp/SignatureInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167655"
} | starcoder | using System;
namespace LibGit2Sharp
{
/// <summary>
/// Structure for holding a signature extracted from a commit or a tag
/// </summary>
public struct SignatureInfo
{
/// <summary>
/// The signature data, PGP/GPG or otherwise.
/// </summary>
public string Signatur... | 2.40073 | bf0d781f3f4d14b1cfaf70a5c5203414 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848436 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "sandialabs/nnsd-common",
"max_stars_repo_path": "src/UnitTest/DiskUsageDataShould.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167656"
} | starcoder | <filename>src/UnitTest/DiskUsageDataShould.cs
using gov.sandia.sld.common.db.models;
using System;
using System.Collections.Generic;
using Xunit;
namespace UnitTest
{
public class DiskUsageDataShould
{
[Fact]
public void ConstructProperly()
{
DiskUsageData data = new DiskUs... | 2.888048 | a230ccc2cbf895a523e57d2e694c7198 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848437 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "philoUK/MyES",
"max_stars_repo_path": "sample/OrderingExample/Helpers/HandlerFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167657"
} | starcoder | namespace OrderingExample.Helpers
{
using System;
using System.Threading.Tasks;
using Core;
using Extensions;
using Persistence.Azure;
using StructureMap;
internal class HandlerFactory : IHandlerFactory
{
private readonly IContext ctx;
public HandlerFactory(IContext ct... | 2.314118 | 38d892ee39a12912be82ea619e7e1097 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848438 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GerganaRibarova/Programming-Basics",
"max_stars_repo_path": "8.Sample-Condition-Basics-Exam/04.PointInFigure/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167658"
} | starcoder | using System;
namespace _04.PointInFigure
{
class Program
{
static void Main(string[] args)
{
var x = int.Parse(Console.ReadLine());
var y = int.Parse(Console.ReadLine());
if ((x >= 4 && x <= 10 && y >= -5 && y <= -3) ||
(x >= 2 && x <= 12 &... | 3.498615 | 8be3c402f769fb9090f8e27a482b03cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848439 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ellipticbit/systemutilities",
"max_stars_repo_path": "Source/NET/Collections/BitArray.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167659"
} | starcoder | <reponame>ellipticbit/systemutilities<filename>Source/NET/Collections/BitArray.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace System.Collections
{
public static class BitArrayExtensions
{
public static byte[] ToByteArray(this BitArray bits)
{
var... | 2.55648 | 61fe9a8458ade19b1e80a3da0a9887aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848440 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Stipy/Stipy",
"max_stars_repo_path": "Source/Spity.Contracts/FeedbackResponseObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167660"
} | starcoder | using System;
using System.Runtime.Serialization;
namespace Spity.Contracts
{
[DataContract]
public sealed class FeedbackResponseObject
{
[DataMember]
public string Image { get; set; }
[DataMember]
public string Text { get; set; }
[DataMember]
public Dat... | 1.768058 | 8b04d60b8018cebfd0d4ce589aaad62d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848441 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "smartquant/SharpQuant.QuantStudio",
"max_stars_repo_path": "SharpQuant.Common/Cloner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167661"
} | starcoder | <filename>SharpQuant.Common/Cloner.cs
using System;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace SharpQuant.Common
{
public static class Cloner
{
/// <summary>
/// Deep copy to object.
/// </summary>
/// <typeparam name="T"></typeparam>
... | 3.192007 | 9b2b16e56ebaee1f5cc7707dcd7b726a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848442 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asm2025/MatchNBuy",
"max_stars_repo_path": "MatchNBuy.Model/TransferObjects/CityForList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167662"
} | starcoder | using System;
using System.Diagnostics;
namespace MatchNBuy.Model.TransferObjects
{
[Serializable]
[DebuggerDisplay("{Name} [{CountryCode}]")]
public class CityForList
{
public Guid Id { get; set; }
public string Name { get; set; }
public string CountryCode { get; set; }
}
} | 1.927383 | 42e6b4917893ca443c727c7c706b89d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848443 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "raschmitt/.net-core-docker-sample",
"max_stars_repo_path": "src/Api/Registers/HealthChecksRegister.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167663"
} | starcoder | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace Api.Registers
{
public static class HealthChecksRegister
{
public static void AddHealthChecks(this IServiceCollection services, IConfiguration configuration)
{
services.AddHealthCheck... | 1.863562 | d32f4e7f9e15cb4710c42a49bc5f55d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RokKos/keep-it-in-the-pants",
"max_stars_repo_path": "keep-it-in-the-pants/Assets/Scripts/DeathAnimationController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167664"
} | starcoder | <reponame>RokKos/keep-it-in-the-pants<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DeathAnimationController : MonoBehaviour {
private enum State { idle, zoomingOut, rotating};
[SerializeField] private Camera camera;
[SerializeField] private Trans... | 2.147097 | d5fd12a72df469ee1efbb37466152170 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848445 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dlamkins/Adhesive",
"max_stars_repo_path": "Adhesive.Sample/SampleControls/BindBenchmark/StandardControlGroupings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167665"
} | starcoder | <reponame>dlamkins/Adhesive
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Adhesive.Sample.SampleContr... | 2.055871 | 0292f645260cd88e5d565e0d87e558c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848446 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "brianmains/Nucleo.NET",
"max_stars_repo_path": "src/Nucleo/Security/SecuritySubsystemCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167666"
} | starcoder | using System;
using Nucleo.Collections;
namespace Nucleo.Security
{
public class SecuritySubsystemCollection : BaseSecurityObjectCollection<SecuritySubsystem>
{
}
}
| 1.250575 | c4e158bf3e7b6ea3bf87967be1737df2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848575 | {
"extension": "c-sharp",
"max_stars_count": "93.0",
"max_stars_repo_name": "dogfeeder/Nimbus",
"max_stars_repo_path": "src/Nimbus.InfrastructureContracts/DependencyResolution/IDependencyResolverScope.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167795"
} | starcoder | using System;
namespace Nimbus.InfrastructureContracts.DependencyResolution
{
public interface IDependencyResolverScope : ICreateChildScopes, IDisposable
{
TComponent Resolve<TComponent>();
object Resolve(Type componentType);
}
} | 1.575256 | e13f3dac4d30ce0a7e43c906fbfb761e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848576 | {
"extension": "c-sharp",
"max_stars_count": "361.0",
"max_stars_repo_name": "Jopie64/WampSharp",
"max_stars_repo_path": "src/net45/WampSharp/WAMP2/V2/Api/Rx/IWampSubject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167796"
} | starcoder | <reponame>Jopie64/WampSharp
using System.Reactive.Subjects;
namespace WampSharp.V2
{
/// <summary>
/// Represents a <see cref="ISubject{TSource,TResult}"/> that publishes/receives messages
/// via a WAMP topic.
/// </summary>
public interface IWampSubject : ISubject<IWampEvent, IWampSerializedEven... | 1.514934 | 724d24f6460f58cf8402a71d398f0b9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848577 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sedc-codecademy/skwd9-09-aspnetwebapi",
"max_stars_repo_path": "G1/Class 09/SEDC.MovieWorkshop/SEDC.MovieWorkshop.WebApi/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167797"
} | starcoder | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using SEDC.MovieWorkshop.Services;
using SEDC.MovieWorkshop.Services.Helpers;
using SEDC.MovieWorkshop.Services.Interface;... | 2.067081 | 5d699bedc116c336c85bbf38da3e5d3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848578 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "PacktPublishing/DevOps-with-Windows-Server-2016",
"max_stars_repo_path": "Chapter05/OnlinePharmacy/Controllers/DrugInventoriesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167798"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using OnlinePharmacy.Models;
namespace OnlinePharmacy.Controllers
{
public class DrugInventoriesController : Controller
{
private me... | 2.200456 | 7967dca7151c37322e0a09d84b886fba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848579 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "BerkanYildiz/PlayerUnknown",
"max_stars_repo_path": "PlayerUnknown/Exceptions/PubgMessageException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167799"
} | starcoder | <reponame>BerkanYildiz/PlayerUnknown<gh_stars>10-100
namespace PlayerUnknown.Exceptions
{
using System;
public class PubgMessageException : Exception
{
/// <summary>
/// Obtient un message qui décrit l'exception actuelle.
/// </summary>
public string Message
{
... | 2.821337 | c74b847d50416d6f73c5c392044a6636 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848580 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johannesCmayer/TimeJetECS",
"max_stars_repo_path": "Assets/MiscScripts/Setup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167800"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using R = UnityEngine.Random;
using Unity.Entities;
using Unity.Transforms;
using Unity.Rendering;
using Unity.Mathematics;
using Unity.Jobs;
using Unity.Collections;
using Unity.Burst;
public class Setup : MonoBehaviour
{
... | 0.993278 | b12dcbd53f78b8f1a500a2ff4cb50bc1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848581 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Horwits/DrumsAcademy",
"max_stars_repo_path": "DrumsAcademy/DrumsAcademy.WebForms/Account/Lockout.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167801"
} | starcoder | using System;
using System.Web.UI;
namespace DrumsAcademy.WebForms.Account
{
public partial class Lockout : Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
} | 1.057751 | a5a5b149d6dbe398b761f7dd106c4f0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848582 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "connellw/Firestorm",
"max_stars_repo_path": "src/Firestorm.Engine.Implementation/Queryable/Exceptions/FieldCannotFilterException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167802"
} | starcoder | <filename>src/Firestorm.Engine.Implementation/Queryable/Exceptions/FieldCannotFilterException.cs
using System;
namespace Firestorm.Engine.Queryable
{
internal class FieldCannotFilterException : RestApiException
{
internal FieldCannotFilterException(string fieldName, Exception innerException)
... | 2.038755 | 5b111e99f280be4f549c52f7cf012e3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848583 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "liuhaili/Chess",
"max_stars_repo_path": "ChessClient/Assets/Scripts/View/MJBattle/CardCtr.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167803"
} | starcoder | <reponame>liuhaili/Chess<filename>ChessClient/Assets/Scripts/View/MJBattle/CardCtr.cs
using UnityEngine;
using System.Collections;
using Chess.Message;
using UnityEngine.EventSystems;
using UnityEngine.Events;
using System.Collections.Generic;
using DG.Tweening;
using System.Linq;
using Chess.Message.Enum;
public cla... | 1.844163 | eeca9da475b9c5dfc13c839b619fe265 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848584 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "patri0t86/ACManager",
"max_stars_repo_path": "StateMachine/States/SwitchingCharacters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167804"
} | starcoder | using ACManager.StateMachine.Queues;
using System;
namespace ACManager.StateMachine.States
{
/// <summary>
/// This state handles logging a character out, and if the correct character is logged in, resuming requested operation.
/// </summary>
internal class SwitchingCharacters : StateBase<SwitchingCha... | 2.805682 | be13c27de28416ac0cd79e79471e6c75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848585 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "zbobyuan/TGFCSpiderman",
"max_stars_repo_path": "console/UnitTest/PageProcessorTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167805"
} | starcoder | <reponame>zbobyuan/TGFCSpiderman<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MSTestExtensions;
using taiyuanhitech.TGFCSpiderman;
using taiyuanhitech.TGFCSpiderman.CommonLib;
namespace Uni... | 2.027703 | 04ae3b1c88343eec4bdb167175011ddc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848586 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Impertatore/trados-studio-api-samples",
"max_stars_repo_path": "TranslationStudioAutomation/Sdl.StudioAutomation.ReferencePlugin/ProjectQuoteItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167806"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace StudioIntegrationApiSample
{
class ProjectQuoteItem
{
public string Category
{
get;
set;
}
public int Words
{
get;
... | 1.746874 | 5dbbadcf03eb11ccaab7a8448d163343 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848587 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jotaate/Crowds",
"max_stars_repo_path": "Assets/Scripts/Utils/bearingAngleTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167807"
} | starcoder | <filename>Assets/Scripts/Utils/bearingAngleTest.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class bearingAngleTest : MonoBehaviour
{
public Transform other;
void Start()
{
StartCoroutine(FrameDelayedUpdateRoutine());
}
/// <summary>
/// A... | 2.53206 | e56cf75e0f0925d7b6d8f3013ef12942 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848588 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jzdrake440/MockableProviders",
"max_stars_repo_path": "CodeGenerator/Model/GeneratorSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167808"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace CodeGenerator.Model
{
public class GeneratorSettings
{
public static readonly OutputSettings DefaultOutputSettings = new OutputSettings
{
SolutionDirectory = ".." //this solution
};
... | 1.160636 | 3fbd4656aa9952ace67127b8280016e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848589 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Energinet-DataHub/geh-core",
"max_stars_repo_path": "source/TestCommon/source/TestCommon/Diagnostics/TestDiagnosticsLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167809"
} | starcoder | // Copyright 2020 Energinet DataHub A/S
//
// Licensed under the Apache License, Version 2.0 (the "License2");
// 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 a... | 2.177396 | 3cf7c907bfc64fd917be462fe37a8067 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848590 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MikeGitIt/CBEApp",
"max_stars_repo_path": "CBEApp/src/CBEApp.Web/Models/Admin/CASH_BASH_CASH.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167810"
} | starcoder | using System;
using System.Collections.Generic;
namespace CashBash_Sample.Models
{
public partial class CASH_BASH_CASH
{
public string CSHR_TYP_CD { get; set; }
public int EVNT_ID { get; set; }
public string CHK_IN_USR_ID { get; set; }
public Nullable<int> INTL_CSH_AM { get; s... | 1.572809 | 61f3469dfa95015e7de0185d1a66ad11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848591 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EG-BRS/Identity.Server.Sample.Dotnet",
"max_stars_repo_path": "HybricMVC.NetFramework/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167811"
} | starcoder | <filename>HybricMVC.NetFramework/Startup.cs
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Microsoft.Owin.Security.OpenIdConnect;
using Owin;
using System.Configuration;
using System.Linq;
using System.Security.Claims;
using System.Web;
using H... | 1.850509 | 90eaa8d718b1233c002dd1423bce9a3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848592 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ko-vasilev/WellBot",
"max_stars_repo_path": "src/WellBot.Web/Infrastructure/DependencyInjection/AutoMapperModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167812"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using WellBot.UseCases.Users.AuthenticateUser;
namespace WellBot.Web.Infrastructure.DependencyInjection
{
/// <summary>
/// Register AutoMapper dependencies.
/// </summary>
public class AutoMapperModule
{
/// <summary>
/// Register de... | 1.862187 | 7c2cda804d5143daea9ed890af16c43f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848593 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "evolutional/flatbuffers-net",
"max_stars_repo_path": "FlatBuffers-net.Tests/TestTypes/TestEnumWithExplicitValues.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167813"
} | starcoder | namespace FlatBuffers.Tests.TestTypes
{
public enum TestEnumWithExplicitValues : byte
{
Apple = 2,
Orange = 1,
Pear = 5,
Banana = 0,
};
} | 1.66769 | 3b75fc8a942904f58385e0d62b552f7c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848594 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lomt1k/LiteNetGame",
"max_stars_repo_path": "Assets/Scripts/Project/Units/Client/ClientReceiving_Units.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167814"
} | starcoder | using LiteNetLib;
using LiteNetLib.Utils;
using Networking;
using Networking.Client;
using Project.Units.Server.Packets;
using UnityEngine;
namespace Project.Units.Client
{
public static class ClientReceiving_Units
{
private const string mineUnitPrefabPath = "Prefabs/Units/MineClientUnit";
pri... | 2.000853 | a8a961cbb88047e6efd9df7d0094a130 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848595 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "matteofabbri/Workday.WebServices",
"max_stars_repo_path": "Workday.FinancialManagement/Business_UnitType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167815"
} | starcoder | <reponame>matteofabbri/Workday.WebServices<filename>Workday.FinancialManagement/Business_UnitType.cs
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Serialization;
namespace Workday.FinancialManagement
{
[Gener... | 1.655629 | 9d90e37895513477d122d2c92ea03653 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848596 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maikelbos0/WarOfEmpires",
"max_stars_repo_path": "WarOfEmpires.Domain/Empires/ResearchDefinition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167816"
} | starcoder | namespace WarOfEmpires.Domain.Empires {
public sealed class ResearchDefinition {
public ResearchType Type { get; private set; }
public decimal LevelBonus { get; private set; }
public string Description { get; private set; }
public ResearchDefinition(ResearchType type, decimal level... | 2.574167 | a2a29dd9d492a8fec487c31c75225bf3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848597 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ilysorc/ZemberekDotNet",
"max_stars_repo_path": "ZemberekDotNet.LM/Compression/DataInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167817"
} | starcoder | using System;
namespace ZemberekDotNet.LM.Compression
{
public class DataInfo
{
public static readonly double LOG_2 = Math.Log(2);
// total amount ot finger print bits. fingerprint data starts from index 0.
public readonly int fpBits;
// This represents the last byte right shif... | 3.126566 | a87446d0aa5b0ebcb02f0536442fe406 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848598 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "malain96/PostalCodeApi",
"max_stars_repo_path": "PostalCodeApi/Domain/Services/Communication/PostalCodeCityResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167818"
} | starcoder | <gh_stars>0
using Microsoft.AspNetCore.Http;
using PostalCodeApi.Domain.Models;
namespace PostalCodeApi.Domain.Services.Communication
{
public class PostalCodeCityResponse : BaseResponse<PostalCodeCity>
{
/// <summary>
/// Creates a success response
/// </summary>
/// <param na... | 2.26404 | f7bef018774a11558c68e86c23ff1a47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848599 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AnandDhamane/Merchant-Galaxy",
"max_stars_repo_path": "Merchant-Galaxy/Interfaces/IExpressionMatchResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167819"
} | starcoder | <filename>Merchant-Galaxy/Interfaces/IExpressionMatchResult.cs
namespace Merchant_Galaxy.Interfaces {
public interface IExpressionMatchResult
{
void Execute();
}
}
| 1.550867 | 9b126eb1fc0896ee9e6e35c0bbcf4b7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848600 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Shuttle/Shuttle.Esb.Samples",
"max_stars_repo_path": "Shuttle.ProcessManagement/Shuttle.Process.ESModule.Server/OrderProcessMessageAssessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167820"
} | starcoder | <reponame>Shuttle/Shuttle.Esb.Samples
using Shuttle.Core.Pipelines;
using Shuttle.Esb;
using Shuttle.Esb.Process;
namespace Shuttle.Process.ESModule.Server
{
public class OrderProcessMessageAssessor : IProcessMessageAssessor
{
public bool IsSatisfiedBy(IPipelineEvent candidate)
{
r... | 1.62295 | a250d1927273e6c7f1dcd536254be077 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848601 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "szdavidkov/MazeGame",
"max_stars_repo_path": "MazeGame/Levels/Level2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167821"
} | starcoder | <gh_stars>0
namespace MazeGame
{
using System;
using System.Drawing;
using System.Windows.Forms;
public partial class Level2 : Form
{
int sec;
int lifes;
public Level2()
{
InitializeComponent();
KeyDown += new KeyEventHandler(Level2_KeyDown);... | 2.638759 | 63a5a7d7e2573de3cb252e2f9618e696 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848602 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dorimanx/Wormhole-Master",
"max_stars_repo_path": "Wormhole/Config.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167822"
} | starcoder | <filename>Wormhole/Config.cs
using System.Xml.Serialization;
using Torch;
using Torch.Collections;
using Torch.Views;
using Wormhole.ViewModels;
namespace Wormhole
{
public class Config : ViewModel
{
[XmlArrayItem("Gate")] public MtObservableList<GateViewModel> WormholeGates { get; set; } = new();
... | 2.132705 | 205355773ba9bed871420ba743571cd4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848603 | {
"extension": "c-sharp",
"max_stars_count": "3557.0",
"max_stars_repo_name": "agocke/winforms",
"max_stars_repo_path": "src/System.Windows.Forms/src/System/Windows/Forms/PropertyGrid.Flags.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167823"
} | 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.
namespace System.Windows.Forms
{
public partial class PropertyGrid
{
[Flags]
private enum F... | 1.498146 | 001f6ba4a9cca3818958a172e87294bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848604 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rgammad/EchoGun",
"max_stars_repo_path": "EchoGun/EchoGun/Assets/Scripts/AudioScripts/playerSounds.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167824"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerSounds : MonoBehaviour {
AudioSource playerAudio;
public AudioClip[] sounds;
// Use this for initialization
void Start () {
playerAudio = GetComponent<AudioSource>();
}
//0 footstep
... | 2.258983 | 40610430c81c265bda5ba683484267bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848605 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "filipsky/ServiceStack",
"max_stars_repo_path": "ServiceStack.OrmLite/tests/ServiceStack.OrmLite.Tests/CaptureSqlFilterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167825"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using ServiceStack.OrmLite.Tests.Shared;
using ServiceStack.Text;
namespace ServiceStack.OrmLite.Tests
{
[TestFixtureOrmLite]
public class CaptureSqlFilterTests : OrmLiteProvidersTestBase
{
public CaptureSqlFilterTests(Dia... | 2.425684 | bf4401693f314eefe236cd2e0ab16cc6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848606 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abogeorge/ServiceProvider-ASSE",
"max_stars_repo_path": "ServiceProvider/ServiceProviderUnitTests/CustomerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167826"
} | starcoder | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ServiceLayer;
using ServiceLayer.ServicesImplementation;
using DomainModel;
using DataMapper.Exceptions;
namespace ServiceProviderUnitTests
{
[TestClass]
public class CustomerTest
{
private ICustomerService customerService;
... | 2.781574 | aa045017ee8a7023a8262be241677bf9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848607 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Axway-syncplicity/Syncplicity-CSharp-SLI-Sample",
"max_stars_repo_path": "CSharpSampleApp/Entities/Report/ReportExportRequestBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167827"
} | starcoder | using System.Runtime.Serialization;
namespace CSharpSampleApp.Entities
{
[DataContract(Namespace = "")]
public class ReportExportRequestBase
{
[DataMember(Order = 0)]
public string ExportFileName;
}
}
| 1.562349 | 7ce473b69c08b12a37743ef99d18ad61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848608 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "coolymike/FWR-QoL-Mod",
"max_stars_repo_path": "Source/SmartRagdollController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167828"
} | starcoder | <filename>Source/SmartRagdollController.cs
using System;
using System.Collections.Generic;
using UnityEngine;
// Token: 0x0200004C RID: 76
[Serializable]
public class SmartRagdollController : MonoBehaviour
{
// Token: 0x0600017F RID: 383 RVA: 0x00003615 File Offset: 0x00001815
private void Start()
{
t... | 1.620089 | a5f9ec817f89505014bc67c55d4bbf9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848609 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Marinski/TelerikAcademy2015",
"max_stars_repo_path": "CSharp-1/05.Conditional-Statements/04.MultiplicationSign/MultiplicationSign.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167829"
} | starcoder | using System;
// Write a program that shows the sign (+, - or 0) of the product of three real numbers, without calculating it.
// Use a sequence of if operators.
class MultiplicationSign
{
static void Main()
{
int a = int.Parse(Console.ReadLine());
int b = int.Parse(Console.ReadLine());
... | 4.381985 | b7b6418842a952ea8a638317f6fe82b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848610 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "suryamsj/SIPP",
"max_stars_repo_path": "app/view/usercontrols/Barang_User.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167830"
} | starcoder | <filename>app/view/usercontrols/Barang_User.Designer.cs
namespace SIPP.view.usercontrols
{
partial class Barang_User
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// C... | 1.721315 | 606441a95a44817f3d01755615cc138c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848611 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LeagueGameObserver/LGO.Backend",
"max_stars_repo_path": "LGO.Backend/Model/League/GameEvent/MutableLeagueTeamKilledEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167831"
} | starcoder | using LGO.Backend.Model.League.Enum;
namespace LGO.Backend.Model.League.GameEvent
{
internal sealed class MutableLeagueTeamKilledEvent : MutableLeagueGameEvent, ILeagueTeamKilledEvent
{
public override LeagueGameEventType Type => LeagueGameEventType.TeamKilled;
public string KillerName { get; ... | 1.801854 | cd6308d3b10300f3980bb5f653c795ff |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.