added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92789 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "HakanL/animatroller",
"max_stars_repo_path": "Animatroller/src/Framework/Controller/EnumStateMachine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92790"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Text;
using System.Threading.Tasks;
using Serilog;
namespace Animatroller.Framework.Controller
{
public class StateChangedStringEventArgs : EventArgs
... | 2.658936 | 5a08e775c842e0c95281b9e44919ce75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92790 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JefferiesTube/LibElite",
"max_stars_repo_path": "PilotJournal/Events/Other/RepairDrone.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92791"
} | starcoder | using LibElite.PilotJournal.Converter;
namespace LibElite.PilotJournal.Events.Other
{
[EventType("RepairDrone")]
public class RepairDrone : EventBase
{
public float HullRepaired { get; set; }
public float CockpitRepaired { get; set; }
public float CorrosionRepaired { get; set; }
... | 1.42199 | 7e38ee974a37830f9f7b154993f2268c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92791 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Asante-Adarkwa-Usman/csharpRepo",
"max_stars_repo_path": "RestaurantManagementSystem/RestaurantManagementSystem/MoreLocalFood.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92792"
} | starcoder | <filename>RestaurantManagementSystem/RestaurantManagementSystem/MoreLocalFood.Designer.cs
namespace RestaurantManagementSystem
{
partial class MoreLocalFood
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;... | 1.953004 | 6ddb49f5770920032d00d686583d7a9c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92792 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexandrnikitin/Kesha",
"max_stars_repo_path": "src/Kesha/Caches/ConcurrentDictionaryCache.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92793"
} | starcoder | <reponame>alexandrnikitin/Kesha
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace Kesha.Caches
{
public class ConcurrentDictionaryCache<TKey, TResult> : ICache<TKey, TResult>
{
private readonly ConcurrentDictionary<TKey, TResult> _items = new ConcurrentDict... | 2.948128 | 6584987357b62c6a5b823c4c4c3bf334 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92793 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "caplinked/caplinked-api-csharp",
"max_stars_repo_path": "src/Caplinked/Model/FolderMeta.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92794"
} | starcoder | /*
* CapLinked API v1.0
*
* Core information security endpoints for managing files/folders, users/groups, uploads/downloads, and more.
*
* OpenAPI spec version: 2017-05-23
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Te... | 1.95174 | 50deee980fff66deb76f11cf6b67e863 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92794 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SuperOfficeDocs/user-interface",
"max_stars_repo_path": "docs/web-application/tutorials/sale-foreignkeys/includes/methods.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92795"
} | starcoder | <reponame>SuperOfficeDocs/user-interface
public override void Initialize(System.Xml.XmlNode config, string id)
{
_dataCarriers.Add("ForeignKeyDeviceOne", null);
_dataCarriers.Add("ForeignKeyDeviceTwo", null);
base.Initialize(config, id);
System.Xml.XmlNode node = config.SelectSingleNode("ForeignKeyDeviceId");
... | 2.080271 | 5002cfd0ac7d35bf7bbe267440fc7e57 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92795 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "eugene2candy/MpsSamples",
"max_stars_repo_path": "UnityMirror/UnityServer/Assets/Mirror/Runtime/LocalConnections.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92796"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEngine;
namespace Mirror
{
// a server's connection TO a LocalClient.
// sending messages on this connection causes the client's handler function to be invoked directly
class ULocalConnectionToClient : NetworkConnectionToClient
{
intern... | 2.567166 | fcb612ad51edb46bbfa981c1f9fc0297 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92796 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "jonny91/xlua_libs",
"max_stars_repo_path": "Example/Assets/Scripts/ResourceLuaLoader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92797"
} | starcoder | //=========================================
//Author: 洪金敏
//Create Date: 2019/01/23 00:44:10
//Description:
//=========================================
using UnityEngine;
public class ResourceLuaLoader
{
public static byte[] Loader(ref string filepath)
{
var textAsset = Resources.Load<TextAsset>("Lua... | 2.0185 | 56851fb0107718e8bcc839b099cac6c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92797 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lyntier/haarlemfestival",
"max_stars_repo_path": "hf/Repository/ArtistRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92798"
} | starcoder | using hf.Models;
using System;
using System.Collections.Generic;
using System.Web;
using System.Linq;
using System.Data.Entity;
namespace hf.Repository
{
public class ArtistRepository:IArtistRepository
{
private hfContext db = new hfContext();
//Calls the db to use a where statement to get the... | 2.792651 | 2f308fadb1ae03baa009c2830c59344f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92798 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "FreyaFreed/mordheim",
"max_stars_repo_path": "Assembly-CSharp/Steamworks/SteamGameServerHTTP.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92799"
} | starcoder | <gh_stars>1-10
using System;
namespace Steamworks
{
public static class SteamGameServerHTTP
{
public static global::Steamworks.HTTPRequestHandle CreateHTTPRequest(global::Steamworks.EHTTPMethod eHTTPRequestMethod, string pchAbsoluteURL)
{
global::Steamworks.InteropHelp.TestIfAvailableGameServer();
global:... | 1.868577 | 390359c3942741e49bfbb1b6e116bf6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92799 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sai-maple/SlimeFarm",
"max_stars_repo_path": "Assets/SlimeFarm/Scripts/Application/DTO/FarmInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92800"
} | starcoder | <reponame>sai-maple/SlimeFarm
using System;
using System.Numerics;
using UnityEngine;
namespace SlimeFarm.Scripts.Application.DTO
{
[Serializable]
public class FarmInfo
{
[SerializeField] private short _level = default;
[SerializeField] private string _levelUpCost = default;
[Serial... | 2.187424 | c9c9c138b7b3cc87ec5b800944e466d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92800 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BrosSquad/Base64",
"max_stars_repo_path": "Base64.Tests/Base64Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92801"
} | starcoder | namespace Base64.Tests
{
public abstract class Base64Tests
{
protected IEncoder _encoder;
protected IDecoder _decoder;
}
} | 1.389084 | 438e503a6e42a8d86092cf76744fe228 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92801 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "equinor/fusion-app-resources",
"max_stars_repo_path": "src/backend/api/Fusion.Resources.Api/Controllers/Identifiers/PathProjectIdentifier.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92802"
} | starcoder | using System;
using System.Text.Json.Serialization;
using Fusion.Resources.Domain;
using Microsoft.AspNetCore.Mvc;
namespace Fusion.Resources.Api.Controllers
{
[ModelBinder(BinderType = typeof(ProjectResolver))]
public class PathProjectIdentifier
{
public PathProjectIdentifier(string originalIdent... | 1.859554 | 6d044bb5c6f77af226d54dee5997736a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92802 | {
"extension": "c-sharp",
"max_stars_count": "459.0",
"max_stars_repo_name": "chaupt/valkyrie",
"max_stars_repo_path": "libraries/ObbExtract/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92803"
} | starcoder | <reponame>chaupt/valkyrie
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace ObbExtract
{
class Program
{
static void Main(string[] args)
{
Dictionary<string, List<FilePart>> data = new Dictionary<string, List<FilePart>>... | 2.859555 | ff137478a7aa28d594b963e972f55e94 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92803 | {
"extension": "c-sharp",
"max_stars_count": "187.0",
"max_stars_repo_name": "themenucha/swd-recorder",
"max_stars_repo_path": "SwdPageRecorder/SwdPageRecorder.WebDriver/MyLog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92804"
} | starcoder | <filename>SwdPageRecorder/SwdPageRecorder.WebDriver/MyLog.cs<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NLog;
namespace SwdPageRecorder.WebDriver
{
public static class MyLog
{
static Logger logger = LogManager.GetLogger("SWD");
... | 2.565664 | 99b08b18bfb3c845582616ec7deb7464 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92804 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "twesd/editor",
"max_stars_repo_path": "CommonUI/UITypeEditors/ControlEditorScriptFileName.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92805"
} | starcoder | <filename>CommonUI/UITypeEditors/ControlEditorScriptFileName.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Common;
namespace CommonUI.UITypeEditors
{
public partial cl... | 2.487153 | fc2f71b0cc7a1389a0a5a2f826c4db8f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92805 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sphereon-SDK/vision-sdk",
"max_stars_repo_path": "csharp-net45/src/Sphereon.SDK.Vision.Test/Api/VisionApiTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92806"
} | starcoder | <reponame>Sphereon-SDK/vision-sdk
/*
* Vision
*
* Sphereon Vision APIs
*
* OpenAPI spec version: 0.2
* Contact: <EMAIL>
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with ... | 1.872487 | 2491aeec926ceb32f2ff219f560f211c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92806 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HiraokaHyperTools/DiffBkRestore",
"max_stars_repo_path": "DiffBkRestore/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92807"
} | starcoder | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyInformationalVersion("1.8.0")] // here
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("DiffBk 復元プログラム")]
[assembly: Ass... | 2.139873 | 9057342a8b5ff2ef08c246d6b7b2a960 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92807 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brwertz80/CodingChallenge",
"max_stars_repo_path": "CodingChallenge/Location.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92808"
} | starcoder | <filename>CodingChallenge/Location.cs
using GMap.NET;
using GMap.NET.MapProviders;
using CodingChallenge.Properties;
using System.Device.Location;
namespace CodingChallenge
{
public class Location
{
public string Address { get; set; }
public string City { get; set; }
public string Stat... | 3.020069 | b04ad5bcdca775f258d626018d3470ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92808 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "z-mcc/Unity3d.UI.Windows",
"max_stars_repo_path": "Assets/UI.Windows/Components/UI/Slider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92809"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using System.Collections;
namespace UnityEngine.UI.Windows.Extensions {
[ExecuteInEditMode()]
public class Slider : UnityEngine.UI.Slider {
public bool continuous = false;
public bool canReceiveEvents = false;
public RectTransform minMaxHandleRect;
[Range(0f, 1f)]
p... | 2.02881 | bb30ef586fe060745139dd7c8bc26538 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92809 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MochiLibraries/Mochi.PhysX",
"max_stars_repo_path": "Snippets/SnippetCommon/Globals.PX_RELEASE.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92810"
} | starcoder | using Mochi.PhysX;
using Mochi.PhysX.Infrastructure;
namespace SnippetCommon;
// These are really only here for ease of porting the snippets and making them better match their C++ counterparts.
// We could auto-generate them, but I don't think this pattern necessarily makes sense for C#
unsafe partial class Globals
... | 1.896073 | 0bf60ce95df71e52846ce768cd44c186 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92810 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "methylium/NuGetGallery",
"max_stars_repo_path": "src/NuGetGallery/Migrations/201111081908453_MyPackagesIndexes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92811"
} | starcoder | using System.Data.Entity.Migrations;
namespace NuGetGallery.Migrations
{
public partial class MyPackagesIndexes : DbMigration
{
public override void Up()
{
// CreateIndex doesn't support INCLUDE
Sql(
"CREATE NONCLUSTERED INDEX [IX_PackageRegistrationOwner... | 2.068417 | e8ed7acbc23ea8cc876d1ec1e47a999a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92811 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "microting/eform-angular-trashinspection",
"max_stars_repo_path": "eFormAPI/Plugins/TrashInspection.Pn/TrashInspection.Pn.Test/DbTestFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92812"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
using Microsoft.EntityFrameworkCore;
using Microting.eFormTrashInspectionBase.Infrastructure.Data;
using Microting.eFormTrashInspectionBase.Infrastructure.Data.Factories;
using NUnit.Framewor... | 2.187665 | 1039a8bef30264ba4ab9e2b3bd1a89a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92812 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "simonwkelso/vh-bookings-api",
"max_stars_repo_path": "BookingsApi/BookingsApi.DAL/Migrations/20210215154352_AddCivilCaseHearingTypesAndRoles.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92813"
} | starcoder | <filename>BookingsApi/BookingsApi.DAL/Migrations/20210215154352_AddCivilCaseHearingTypesAndRoles.cs
using BookingsApi.Domain.RefData;
using Microsoft.EntityFrameworkCore.Migrations;
namespace BookingsApi.DAL.Migrations
{
public partial class AddCivilCaseHearingTypesAndRoles : Migration
{
protected ove... | 2.171672 | aa0afc96032a28ddd2951594659789f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92813 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ravindergujiri/NetTrade",
"max_stars_repo_path": "Tests/NetTradeTests/Helpers/MaxDrawdownCalculatorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92814"
} | starcoder | <reponame>ravindergujiri/NetTrade
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NetTrade.Helpers;
using System;
using System.Collections.Generic;
using System.Text;
using NetTrade.Models;
using NetTrade.Abstractions.Interfaces;
using NetTrade.Enums;
namespace NetTrade.Helpers.Tests
{
[TestClass()]
... | 2.207465 | 4b0cf84561cc60fd2240f93048549012 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92814 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jancy-xu99/HZY.AdminRazor-master",
"max_stars_repo_path": "HZY.Toolkit/ToolKits/WebClientHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92815"
} | starcoder |
using System;
using System.IO;
using System.Net;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using System.Text;
namespace HZY.Toolkit.ToolKits
{
public class WebClientHelper
{
public static string CallGet(string strUrl)
{
string response_conte... | 2.363596 | bb99e4756e871b9033c2d7f9cfef4b7f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92815 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kyleabrock/Usbacc",
"max_stars_repo_path": "Core/Tests/ExportSchemaTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92816"
} | starcoder | <filename>Core/Tests/ExportSchemaTest.cs
using NHibernate.Cfg;
using NHibernate.Tool.hbm2ddl;
using NUnit.Framework;
using Usbacc.Core.Domain;
namespace Usbacc.Core.Tests
{
[TestFixture]
class ExportSchemaTest
{
[Test]
public void Can_generate_schema()
{
var cfg = new C... | 1.766139 | 915b767f4a54604123350d38c16f4887 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92816 | {
"extension": "c-sharp",
"max_stars_count": "243.0",
"max_stars_repo_name": "artemiusgreat/Waves",
"max_stars_repo_path": "NWaves/Transforms/Base/IComplexTransform.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92817"
} | starcoder | namespace NWaves.Transforms.Base
{
/// <summary>
/// Interface for complex-valued transforms.
/// </summary>
public interface IComplexTransform
{
/// <summary>
/// Gets transform size.
/// </summary>
int Size { get; }
/// <summary>
/// Does direct tr... | 2.683832 | b38ac7b7c75a18854c4c03c74a372ebf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92817 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "compilenix/HTTPHeaderSurvey",
"max_stars_repo_path": "Source/Compilenix.HttpHeaderSurvey.Implementation.DataAccess/DataAccessBootstrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92818"
} | starcoder | <filename>Source/Compilenix.HttpHeaderSurvey.Implementation.DataAccess/DataAccessBootstrapper.cs
using System.Reflection;
using Compilenix.HttpHeaderSurvey.Implementation.Shared.IoC;
using Compilenix.HttpHeaderSurvey.Integration.DataAccess;
using Compilenix.HttpHeaderSurvey.Integration.Shared.IoC;
namespace Comp... | 2.266687 | 7e4ba3255ebdc910d837b9a8fd59989f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92818 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "ValueCreation/RoutePlanner",
"max_stars_repo_path": "Source/ArcLogisticsApp/Controls/DockingLibrary/IDropSurface.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92819"
} | starcoder | <reponame>ValueCreation/RoutePlanner
using System.Windows;
namespace ESRI.ArcLogistics.App.Controls
{
/// <summary>
/// Interface drop surface
/// </summary>
interface IDropSurface
{
/// <summary>
/// Get surface rectangle
/// </summary>
/// <returns>Returns a rectan... | 2.286894 | e3ca153e27aefb9c8d349b7ec93e774d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92819 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JustoSenka/MouseRobot",
"max_stars_repo_path": "RobotRuntime/Assets/TextAssetImporter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92820"
} | starcoder | using System;
using System.IO;
namespace RobotRuntime.Assets
{
public class TextAssetImporter : AssetImporter
{
public TextAssetImporter(string path) : base(path) { }
protected override object LoadAsset()
{
return File.ReadAllText(Path);
}
public override ... | 2.685576 | f7ba916d8e4da5e0f8fd964a63741b85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92820 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cristiano2005reis/academy_control",
"max_stars_repo_path": "Academy_Control/Entities/Mensalidades.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92821"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace Academy_Control.Entities
{
public class Mensalidades:Generic
{
[Key]
public Int32 MensalidadeId { get;... | 1.937837 | 4f67837022f73b2c4cc411458a693b44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92821 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "filipetoscano/Zinc",
"max_stars_repo_path": "src/Zinc.WebServices.SvcUtil/ServiceFile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92822"
} | starcoder | using System.Collections.Generic;
namespace Zinc.WebService.ServiceUtil
{
/// <summary>
/// Describes the content of a service description file.
/// </summary>
public class ServiceFile
{
/// <summary>
/// Gets or sets the name of the file.
/// </summary>
public stri... | 2.171027 | 6f846f700b7cdcd534ddbdd6199b6c1f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92822 | {
"extension": "c-sharp",
"max_stars_count": "82.0",
"max_stars_repo_name": "philiplaureano/Deflector.NET",
"max_stars_repo_path": "Deflector/Deflector/IMethodCall.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92823"
} | starcoder | namespace Deflector
{
public interface IMethodCall
{
object Invoke(IInvocationInfo invocationInfo);
}
} | 1.723349 | a0bd6f5e5f348308e265cc8648f56686 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92823 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igoreksiz/NetOffice",
"max_stars_repo_path": "Source/OWC10/Behind/DispatchInterfaces/PivotDetailCell.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92824"
} | starcoder | <gh_stars>0
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
using NetOffice.OWC10Api;
namespace NetOffice.OWC10Api.Behind
{
/// <summary>
/// DispatchInterface PivotDetailCell
/// SupportByVersion OWC10, 1
/// </summary>
[SupportByVersion("OWC10", 1)]
[En... | 1.263899 | ef8494af1a3299d734dc4a77f6b4c5d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92824 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CDMayberry/Reflyn",
"max_stars_repo_path": "Reflyn/Declarations/FileName.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92825"
} | starcoder | <reponame>CDMayberry/Reflyn
namespace Reflyn.Declarations
{
public struct FileName
{
public string Namespace;
public string Name;
public string FullName => $"{Namespace}\\{Name}";
public FileName(string @namespace, string name)
{
Namespace = @namespace;
... | 2.089895 | 4bdaddebdfcdae14d7362afd784ba73d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92825 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "probablyatraitor/ByteClubSite",
"max_stars_repo_path": "Pages/Login.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:92826"
} | starcoder | <reponame>probablyatraitor/ByteClubSite<filename>Pages/Login.cshtml
@page "{id?}"
@model ByteClubSite.Pages.LoginModel
@{
}
<body class="text-light">
<p>@Model.Msg</p>
<form method="post" asp-page="Login">
<table>
<tr>
<td>Username</td>
<td><input type="tex... | 2.068683 | 4639205faf3b9f6bfdccde37536b8139 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92826 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danieltenev97/Programming-Fundamentals-Homeworks",
"max_stars_repo_path": "ConvertSpeedSeconds/ConvertSpeedSeconds/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92827"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConvertSpeedUnits
{
class Program
{
static void Main(string[] args)
{
int distance = int.Parse(Console.ReadLine());
int hours = int.Parse(Consol... | 3.282041 | a63b38f652f0e32706c090cdd2e09c93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92827 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rneeft/vertical-slicing-poc",
"max_stars_repo_path": "src/ITOps/App.Shared/Events/NameSubmittedEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92828"
} | starcoder | <filename>src/ITOps/App.Shared/Events/NameSubmittedEvent.cs<gh_stars>0
namespace App.Features.MyName.Events
{
public class NameSubmittedEvent
{
public string Name { get; set; }
}
}
| 1.773783 | 6e104fce649c409ef8ec10a32b89d6ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92828 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Jbond312/PlexRequestsApi",
"max_stars_repo_path": "src/PlexRequests.Functions/Features/Issues/Queries/GetPagedIssueQueryResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92829"
} | starcoder | using System.Collections.Generic;
using PlexRequests.Functions.Features.Issues.Models.ListDetail;
namespace PlexRequests.Functions.Features.Issues.Queries
{
public class GetPagedIssueQueryResult
{
public int TotalPages { get; set; }
public int PageSize { get; set; }
public int Page { ge... | 1.716216 | f9bba308a7f400ba1bf02fda86a6a419 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92829 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Fernandes92/Project-Limbo",
"max_stars_repo_path": "FinalProject/Assets/Scripts/Bullet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92830"
} | starcoder | using UnityEngine;
using System.Collections;
public class Bullet : MonoBehaviour {
void OnCollisionEnter (Collision col){
Destroy (this.gameObject);
}
void OnTriggerEnter(Collider other) {
Destroy (this.gameObject);
}
}
| 2.108188 | 21f258006ed642b84d5998b420d7419b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92830 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "alex-sherman/Spectrum",
"max_stars_repo_path": "Framework/Graphics/SpecModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92831"
} | starcoder | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Newtonsoft.Json.Linq;
using Spectrum.Framework.Content;
using Spectrum.Framework.Graphics.Animation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using Spectrum.Framework.Phys... | 2.293024 | 9acf8e34eca27f6fcfd00162356a8d59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92831 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "ccgould/FCStudios_SubnauticaMods",
"max_stars_repo_path": "FCS_DeepDriller/Mono/MK2/FCSDeepDrillerDisplay.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92832"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using FCS_DeepDriller.Buildable.MK1;
using FCS_DeepDriller.Configuration;
using FCS_DeepDriller.Enumerators;
using FCSCommon.Abstract;
using FCSCommon.Components;
using FCSCommon.Enums;
using FCSCommon.Helpers;
using FCSCommon.Objects;
using FCSCommon.... | 1.672426 | 5389db7a330456307d793e1622508b15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92832 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "thelogicgeek/mywebsite",
"max_stars_repo_path": "MyWebsite/Views/Admin/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:92833"
} | starcoder |
@{
ViewData["Title"] = "Admin";
}
<h1>Control Panel</h1>
<ul>
<li><a asp-controller="Admin" asp-action="EditPage" asp-route-title="Home">Home</a></li>
<li><a asp-controller="Admin" asp-action="EditPage" asp-route-title="Projects">Projects</a></li>
<li><a asp-controller="Admin" asp-action="... | 1.825916 | 3e356d264732503dba7ca3ed2200e917 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92833 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "brunohbrito/Jp.AspNetCore.PasswordHasher",
"max_stars_repo_path": "src/NetDevPack.Security.PasswordHasher.Identity.Demo/Views/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:92834"
} | starcoder | @using NetDevPack.Security.PasswordHasher.Identity.Demo
@using NetDevPack.Security.PasswordHasher.Identity.Demo.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.525185 | cf6b4a434f317393f1c4d8b6d8b0de8f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92834 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vamidi/StoryTime-UPM",
"max_stars_repo_path": "Runtime/Components/ItemManagement/Inventory/ItemStack.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92835"
} | starcoder | using System;
namespace StoryTime.Components
{
[Serializable]
public class ItemStack : ItemBaseStack<ScriptableObjects.ItemSO>
{
public ItemStack() { }
public ItemStack(ItemStack item) : base(item) { }
public ItemStack(ScriptableObjects.ItemSO item, int amount) : base(item, amount) { }
}
}
| 2.029619 | 02aa21a7301ff364a3dafb8ce3aa38a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92835 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danielbarrios76/InterfaceSamples",
"max_stars_repo_path": "DALJson/Product.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92836"
} | starcoder | using System.Linq;
using ProductInterface;
namespace DALJson
{
public class Product : IProduct
{
public Entities.Product GetProductByID(int ID)
{
Entities.Product Product = null;
using (var Reader = new System.IO.StreamReader("Products.json"))
{
... | 2.655152 | 9107865224329e9cacca7bf5a59f4f6c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92836 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "fiscaltec/DbUpX",
"max_stars_repo_path": "DbUpX/SqlScriptEnumerableExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92837"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using DbUp.Engine;
namespace DbUpX
{
/// <summary>
/// Extension methods for manipulating sequences of scripts. Useful in conjunction
/// with <see cref="BuilderExtensions.WithFilter(DbUp.Builder.UpgradeEngineBuilder,... | 2.771811 | 3d192770cb4b58ef325cd9b906e9ccb7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92837 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "etechi/ServiceFramework",
"max_stars_repo_path": "Projects/Server/Common/SF.Common.Implements/Management/MenuServices/MenuServiceDIExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92838"
} | starcoder | #region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2017 <NAME> (<EMAIL>)
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.apac... | 1.669959 | 320c39a81de200def6b80070c198983d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92838 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tonchevaAleksandra/C-Fundamentals",
"max_stars_repo_path": "FUNDArrayExercises/KaminoSolutionAnother/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92839"
} | starcoder | <reponame>tonchevaAleksandra/C-Fundamentals
using System;
using System.Linq;
namespace KaminoSolutionAnother
{
class Program
{
static void Main(string[] args)
{
int lenghtOfSequence = int.Parse(Console.ReadLine());
string dnaLine = Console.ReadLine();
int ... | 3.092967 | 578c249de2b1c5884078466d4f6ad08e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92839 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Arno1235Official/JugaAgenda",
"max_stars_repo_path": "JugaAgenda_v2/Classes/GoogleCalendar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92840"
} | starcoder | <reponame>Arno1235Official/JugaAgenda<gh_stars>0
using System;
using Google.Apis.Auth.OAuth2;
using Google.Apis.Calendar.v3;
using Google.Apis.Calendar.v3.Data;
using Google.Apis.Services;
using Google.Apis.Util.Store;
using System.IO;
using System.Threading;
namespace JugaAgenda_v2
{
public class GoogleCalendar... | 2.073759 | 387fd4410d440e4361651909ba21d04f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92840 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cloud-challenge-dotnet/codex",
"max_stars_repo_path": "Tenant.Framework/TenantBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92841"
} | starcoder | <reponame>cloud-challenge-dotnet/codex<gh_stars>0
using Codex.Tenants.Framework.Implementations;
using Codex.Tenants.Framework.Interfaces;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using System.Diagnostics.CodeAnalysis;
... | 1.901173 | 9c54f6a52060033c6f955dad3c8b5783 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92841 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LimChaeJune/BlockReviews_Back",
"max_stars_repo_path": "BLockReviewsAPI/BLockReviewsAPI/DBService/StoreDBService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92842"
} | starcoder | <gh_stars>0
using BLockReviewsAPI.Data;
using BLockReviewsAPI.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BLockReviewsAPI.DBService
{
public interface IStoreDBService
{
public Task<bool> CreateStore(Store store);
public Tas... | 2.531267 | f56cd883bc5fb0c8bcfa1b50a665efc2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92842 | {
"extension": "c-sharp",
"max_stars_count": "314.0",
"max_stars_repo_name": "am-creations/FlexLabs.Upsert",
"max_stars_repo_path": "src/FlexLabs.EntityFrameworkCore.Upsert/Internal/IKnownValue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92843"
} | starcoder | using System.Collections.Generic;
namespace FlexLabs.EntityFrameworkCore.Upsert.Internal
{
/// <summary>
/// Value of an expression
/// </summary>
public interface IKnownValue
{
/// <summary>
/// Get all the constants that are part of this value
/// </summary>
/// <... | 2.441032 | ffb41148bdfd955da3c17d781d610eb9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92843 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "music-theori/music-theori",
"max_stars_repo_path": "music-theori/BootLoaders/SharedBootLoader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92844"
} | starcoder | <filename>music-theori/BootLoaders/SharedBootLoader.cs
using theori.Graphics;
namespace theori.BootLoaders
{
public sealed class SharedBootLoader : Layer
{
private readonly BasicSpriteRenderer m_renderer = new BasicSpriteRenderer();
public SharedBootLoader()
{
}
publi... | 2.107566 | ed03dceb2097a9e31d623d0dcdd4d816 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92844 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pdevito3/Craftsman",
"max_stars_repo_path": "Craftsman/Builders/Bff/Features/Auth/AuthFeatureIndexBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92845"
} | starcoder | <reponame>pdevito3/Craftsman<gh_stars>0
namespace Craftsman.Builders.Bff.Features.Auth;
using Domain.Enums;
using Helpers;
using Services;
public class AuthFeatureBuilder
{
private readonly ICraftsmanUtilities _utilities;
public AuthFeatureBuilder(ICraftsmanUtilities utilities)
{
_utilities = ut... | 1.623325 | bcd1b808f48d774612f41a7beb062d29 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92845 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivayloivanof/OOP-CSharp",
"max_stars_repo_path": "03.InheritanceAndAbstraction/InheritanceAndAbstraction/HumanStudentAndWorker/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92846"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Security.Cryptography.X509Certificates;
namespace HumanStudentAndWorker
{
class Program
{
static void Main()
{
List<string> names = new List<string>
{
... | 3.06796 | ff839fb03de608c3dc0d08af15e6fce3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92846 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tbayart/observal",
"max_stars_repo_path": "src/Observal/Eventing/WeakEventHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92847"
} | starcoder | using System;
using System.Diagnostics;
using System.Reflection;
namespace Observal.Eventing
{
/// <summary>
/// Wraps an event handler with a weak reference, allowing the subscriber to be garbage collected without
/// being kept alive by the publisher of the event.
/// </summary>
/// ... | 3.106965 | 742e35918ea479652580be2124237770 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92847 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "TolikPylypchuk/KeyboardSwitch",
"max_stars_repo_path": "KeyboardSwitch.Core/Services/Infrastructure/SingleInstanceService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92848"
} | starcoder | using System;
using System.Threading;
using Microsoft.Extensions.Logging;
namespace KeyboardSwitch.Core.Services.Infrastructure
{
internal sealed class SingleInstanceService : ISingleInstanceService
{
private readonly INamedPipeService namedPipeService;
private readonly ILogger<SingleInstanceS... | 2.726043 | ec7de85024a2e73ae1a621eb0b0c4e8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92848 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "lossless/draft360",
"max_stars_repo_path": "draft360-nreal/Assets/App/Scripts/Picture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92849"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Picture : Snapshot
{
[SerializeField] Renderer quadRenderer;
public void SetQuadTexture(Texture2D _texture)
{
quadRenderer.material.mainTexture = _texture;
}
}
| 1.800332 | e0d8c05dc880bda76ffc60bb4df3e3a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92849 | {
"extension": "c-sharp",
"max_stars_count": "389.0",
"max_stars_repo_name": "geffzhang/abp-next-admin",
"max_stars_repo_path": "aspnet-core/modules/workflow/LINGYUN.Abp.WorkflowManagement.Application.Contracts/LINGYUN/Abp/WorkflowManagement/Authorization/WorkflowManagementPermissions.cs",
"provenance": "trai... | starcoder | <filename>aspnet-core/modules/workflow/LINGYUN.Abp.WorkflowManagement.Application.Contracts/LINGYUN/Abp/WorkflowManagement/Authorization/WorkflowManagementPermissions.cs<gh_stars>100-1000
namespace LINGYUN.Abp.WorkflowManagement.Authorization
{
public static class WorkflowManagementPermissions
{
pu... | 1.696695 | 574a827e20ebe42aa3b2f68d68db2929 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92850 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "KonH/GameSystem",
"max_stars_repo_path": "Clicker.ConsoleClient/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92851"
} | starcoder | using System.Threading.Tasks;
using Clicker.Common;
using Clicker.Common.Config;
using Clicker.Common.State;
using Core.Client.ConsoleClient.Setup;
using Core.Common.Config;
using Microsoft.Extensions.DependencyInjection;
namespace Clicker.ConsoleClient {
static class Program {
static GameConfig Config => new Game... | 2.145638 | 0e42502d5eb5585e755cec2d97c8e16a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92851 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheAutomatingMrLynch/NBi",
"max_stars_repo_path": "NBi.Xml/Constraints/Comparer/PredicateXml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92852"
} | starcoder | using NBi.Core.Calculation;
using NBi.Xml.Items;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace NBi.Xml.Constraints.Comparer
{
public abstract class PredicateXml
{
... | 1.664007 | f1c7a2a2eac0b66b5c40761363bc757e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92852 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "janovrom/fire-simulation",
"max_stars_repo_path": "Runtime/Events/BoolGameEventListener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92853"
} | starcoder | <reponame>janovrom/fire-simulation
using UnityEngine;
namespace Janovrom.Firesimulation.Runtime.Events
{
public class BoolGameEventListener : MonoBehaviour
{
public BoolGameEvent gameEvent;
public BoolEvent actionTaken;
private void OnEnable()
{
... | 2.214943 | 844115866d3ba00c641386151fd5dbe0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92853 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wherewhere/ModernWpf",
"max_stars_repo_path": "ModernWpf.SampleApp/Helper/ThemeHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92854"
} | starcoder | using ModernWpf.SampleApp.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Windows.Storage;
namespace ModernWpf.SampleApp.Helper
{
/// <summary>
/// Class providing functionality around switching and restori... | 2.556401 | b2ae2ca9a5186d02cd35335b18deac7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92854 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FITSTIC/Hackathon_Team2_19_21",
"max_stars_repo_path": "GestionaleFitstic/GestionaleFitstic/Areas/Identity/Pages/Account/RegisterConfirmation.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:92855"
} | starcoder | @page
@model RegisterConfirmationModel
@inject GestionaleFitstic.Services.EmailSender es
@{
ViewData["Title"] = "Benvenuto nel GestionaleFitstic!!!";
}
<h1>@ViewData["Title"]</h1>
@{
if (@Model.DisplayConfirmAccountLink)
{
await es.SendEmailAsync(@Model.Email, "Conferma Registrazione", "Benvenuto ... | 2.548973 | bd850b1d498fc8346f29b83a5048e8cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92855 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "yt4687/TVTComment",
"max_stars_repo_path": "TVTComment/Model/IPCModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92856"
} | starcoder | using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Diagnostics;
using System.IO;
namespace TVTComment.Model
{
public enum IPCModuleState
{
BeforeConnect,
Connected,
Receiving,
Disposing,
Disposed
}
public enum IP... | 2.716237 | 7cd1c7612481d642052b73588c67fa0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92856 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DengLianHui/MyServer",
"max_stars_repo_path": "MyServer/Module.SocketServer/AsyncSocketProtocol/RemoteStreamSocketProtocol.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92857"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using System.IO;
namespace Module.SocketServer
{
public class RemoteStreamSocketProtocol : BaseSocketProtocol
{
private FileStream m_fileStream;
private byte[] m_readB... | 2.407655 | e5a848aad6dcd57604c6ad29357ce690 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92857 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FLLFriendlyLoyalLabradors/VirtualPet",
"max_stars_repo_path": "FLLAnimalGameDemo/FLLAnimalGameDemo/Assets/ManScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92858"
} | starcoder | using UnityEngine;
using System.Collections;
public class ManScript : MonoBehaviour {
public float speed = 0.1f;
public KeyCode forward = KeyCode.W;
public KeyCode left = KeyCode.A;
public KeyCode backward = KeyCode.S;
public KeyCode right = KeyCode.D;
// Use this for initialization
vo... | 2.305508 | f85b8368b32f1f7bee003a5aef281a8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92858 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jxnkwlp/EasySql",
"max_stars_repo_path": "src/EasySql.Core/Databases/ISqlDataReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92859"
} | starcoder | using System;
namespace EasySql.Databases
{
public interface ISqlDataReader : IDisposable
{
}
}
| 1.34455 | e36fc72df805a7abe0ca499dbf40ccad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92859 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eltra-ch/eltra-mplayer",
"max_stars_repo_path": "Master/MPlayer/Device/MPlayerDevice.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92860"
} | starcoder | <reponame>eltra-ch/eltra-mplayer
using EltraCommon.Contracts.Parameters;
using EltraConnector.Master.Device;
using System;
using MPlayerMaster.Device.Commands;
namespace MPlayerMaster.Device
{
internal class MPlayerDevice : MasterDevice
{
private MPlayerSettings _settings;
public MPlayerDevic... | 2.040703 | 2810e6f1d978fd76fc662178b74d075c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92860 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "rich-newman/typescript-analyzer",
"max_stars_repo_path": "src/WebLinterVsix/Commands/EditConfigFilesCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92861"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.ComponentModel.Design;
using System.IO;
using Microsoft.VisualStudio.Shell;
using WebLinter;
namespace WebLinterVsix
{
internal sealed class EditConfigFilesCommand
{
private readonly Package _package;
private EditCo... | 2.265521 | 6cd25d45b987079d356a665c8ee7f5b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92861 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chuyenying/IM23-4",
"max_stars_repo_path": "Unity/First version/Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/Sequencer/Commands/SequencerCommandWaitForMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92862"
} | starcoder | // Copyright (c) Pixel Crushers. All rights reserved.
using System.Collections.Generic;
using UnityEngine;
namespace PixelCrushers.DialogueSystem.SequencerCommands
{
/// <summary>
/// Implements sequencer command: WaitForMessage(message), which waits
/// until it receives OnSequencerMessage(message).
... | 2.598933 | 888065316a2f03a750e9d452350332b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92862 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SvilenStoev/ASP.NET-Core-Project-BoostUp",
"max_stars_repo_path": "src/BoostUp.Data/Migrations/20210725120227_JobsAddressesRecruitersTables.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92863"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace BoostUp.Data.Migrations
{
public partial class JobsAddressesRecruitersTables : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
n... | 2.126694 | f891e12f876f516c6cb22875f8102bf9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92863 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "jewinters/maelstrom",
"max_stars_repo_path": "Maelstrom/MusicShuffle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92864"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.Json;
using Sleepey.FF8Mod.Archive;
using Sleepey.FF8Mod.Field;
using System.Diagnostics;
namespace Sleepey.Maelstrom
{
public static class MusicShuffle
{
public static... | 2.367657 | ec5801d2fa66d50149536dfcf197d673 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92864 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lynnsamuelson/walk",
"max_stars_repo_path": "Walk.Tests/Models/FamilyTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92865"
} | starcoder | <gh_stars>0
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Walk.Models;
using System.Collections.Generic;
namespace Walk.Tests.Models
{
[TestClass]
public class FamilyTests
{
[TestMethod]
public void FamilyEnsureICanCreateInstance()
{
Family a_f... | 2.683026 | 8c0cde37676509ae200b25d17ab2dcc8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92865 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "beachmiles/androidmono",
"max_stars_repo_path": "jni/MonoJavaBridge/android/generated/android/sax/StartElementListener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92866"
} | starcoder | <gh_stars>10-100
namespace android.sax
{
[global::MonoJavaBridge.JavaInterface(typeof(global::android.sax.StartElementListener_))]
public interface StartElementListener : global::MonoJavaBridge.IJavaObject
{
void start(org.xml.sax.Attributes arg0);
}
[global::MonoJavaBridge.JavaProxy(typeof(global::android.sa... | 1.437517 | 0c6d214be3938d8a1f3b168f50ef433f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92866 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jukkahyv/blazor-news",
"max_stars_repo_path": "BlazorNews.Client/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92867"
} | starcoder | <reponame>jukkahyv/blazor-news<filename>BlazorNews.Client/Startup.cs
using BlazorNews.Client.Repositories;
using Microsoft.AspNetCore.Blazor.Builder;
using Microsoft.Extensions.DependencyInjection;
using System.Net.Http;
namespace BlazorNews.Client {
public class Startup {
public void ConfigureServices(IServ... | 1.666664 | 87c00b7859a6fd96c4bd2323e49a5dab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92867 | {
"extension": "c-sharp",
"max_stars_count": "261.0",
"max_stars_repo_name": "MaryLynch/BinaryPack",
"max_stars_repo_path": "src/BinaryPack/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92868"
} | starcoder | <filename>src/BinaryPack/Properties/AssemblyInfo.cs
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("BinaryPack.Unit.Internals")]
| 0.932564 | 42fa60039e02053b388c5090874b66ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92868 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "equilaterus/VortexSamples.TodoApp",
"max_stars_repo_path": "src/backend/TodoApp.Backend/TodoApp.Domain/Infrastructure/Data/Context.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92869"
} | starcoder | <reponame>equilaterus/VortexSamples.TodoApp
using Microsoft.EntityFrameworkCore;
using TodoApp.Domain.Models;
namespace TodoApp.Domain.Infrastructure.Data
{
public class Context : DbContext
{
public DbSet<Todo> Todos { get; set; }
public Context(DbContextOptions<DbContext> options) : base(opt... | 1.566729 | cd5c513ce73c87837bf0d3cd4906b33f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92869 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "julienblin/AspNetCoreInAzureFunctions",
"max_stars_repo_path": "AspNetCoreInAzureFunctions/WebHostBuilderExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92870"
} | starcoder | using System.Linq;
using AspNetCoreInAzureFunctions;
using Microsoft.AspNetCore.Hosting.Server;
using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.AspNetCore.Hosting
{
/// <summary>
/// <see cref="IWebHostBuilder"/> extensions methods
/// </summary>
public static class WebHostBuilderE... | 2.440837 | a85d5abb3bf7752e4e13142a3577c99a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92870 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DKLynch/HackerRank-Challenges",
"max_stars_repo_path": "Interview Preparation Kit/Recursion And Backtracking/Fibonacci Numbers/Fibonacci.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92871"
} | starcoder | //Problem URL: https://www.hackerrank.com/challenges/ctci-fibonacci-numbers/problem
//Judging by the challenge category, I believe we're supposed to solve this using recursion;
//However, I believe this approach has smaller space complexity and is generally just a more efficient method.
public static int Fibonacci(int... | 3.927121 | 9d4a0a207591e7313e762145bdaa8f58 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bharanijayasuri/umbraco8",
"max_stars_repo_path": "src/Umbraco.Core/Sync/SingleServerRegistrar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92872"
} | starcoder | using System;
using System.Collections.Generic;
namespace Umbraco.Core.Sync
{
public class SingleServerRegistrar : IServerRegistrar
{
private readonly IRuntimeState _runtime;
private readonly Lazy<IServerAddress[]> _registrations;
public IEnumerable<IServerAddress> Registrations => _r... | 2.400357 | ddb072b86695db620257f9b820c5524c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thinkgandhi/Azure-Media-Service-Explorer",
"max_stars_repo_path": "RibbonControlsLibrary/Microsoft/Windows/Controls/Ribbon/Primitives/ISupportStarLayout.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92873"
} | starcoder | <filename>RibbonControlsLibrary/Microsoft/Windows/Controls/Ribbon/Primitives/ISupportStarLayout.cs
//---------------------------------------------------------------------------
// <copyright file="ISupportStarLayout.cs" company="Microsoft Corporation">
// Copyright (C) Microsoft Corporation. All rights reserved.
... | 2.209548 | 83f0579f2d0048a7335b09259d9d446a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92873 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "SammyEnigma/Goodies",
"max_stars_repo_path": "Goodies/Testing/FailException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92874"
} | starcoder | <filename>Goodies/Testing/FailException.cs
using System;
using System.Runtime.Serialization;
namespace BusterWood.Testing
{
/// <summary>Thrown when a <see cref="Test"/> has <see cref="Test.Failed"/></summary>
[Serializable]
internal class FailException : Exception
{
public FailException()
... | 2.497141 | 3961ae3140468084406e850b4ee100f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92874 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Venthe/Design-Patterns",
"max_stars_repo_path": "DesignPatterns/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92875"
} | starcoder | <reponame>Venthe/Design-Patterns<filename>DesignPatterns/Program.cs
using DesignPatterns.SoftwareDesignPattern.Behavioral.Command;
using DesignPatterns.SoftwareDesignPattern.Behavioral.Iterator;
using DesignPatterns.SoftwareDesignPattern.Behavioral.Observer.WithSubscriber;
using DesignPatterns.SoftwareDesignPattern.Be... | 2.336636 | f41887707762f6bc0997279a5c7b88f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92875 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "superlloyd/Galador.Reflection",
"max_stars_repo_path": "Galador.Reflection/Serialization/Writer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92876"
} | starcoder | <gh_stars>10-100
using Galador.Reflection.Serialization.IO;
using Galador.Reflection.Utils;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using SRS = System.Runtime.Serialization;
namespace Galador.Reflection.Serialization
{
... | 2.155831 | e47df099414fb8169e12caf347e24692 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92876 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "weitzhandler/Uno.Core",
"max_stars_repo_path": "src/Uno.Core.Tests/Extensions/FuncExtensions.ApplyMemoize.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92877"
} | starcoder | <reponame>weitzhandler/Uno.Core<filename>src/Uno.Core.Tests/Extensions/FuncExtensions.ApplyMemoize.cs
// ******************************************************************
// Copyright � 2015-2018 nventive inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use... | 2.18192 | 63d87f36e3973bec9a60520edf82979c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92877 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "babusoundrarajan/scichart.wpf.examples",
"max_stars_repo_path": "v5.x/Examples/SciChart.Examples.Demo/Helpers/HtmlExport/HtmlExportHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92878"
} | starcoder | <filename>v5.x/Examples/SciChart.Examples.Demo/Helpers/HtmlExport/HtmlExportHelper.cs
using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media.Imaging;
using Microsoft.Practices.Unity;
using SciChart.Core.Utility;
using SciChar... | 2.179677 | 5940470dccf042869257769118a71a8f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92878 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Matthew-Davey/Lapine",
"max_stars_repo_path": "Lapine.Core/Protocol/Commands/ExchangeDelete.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92879"
} | starcoder | <reponame>Matthew-Davey/Lapine
namespace Lapine.Protocol.Commands;
using System.Buffers;
using System.Diagnostics.CodeAnalysis;
record struct ExchangeDelete(String ExchangeName, Boolean IfUnused, Boolean NoWait) : ICommand {
public (Byte ClassId, Byte MethodId) CommandId => (0x28, 0x14);
public IBufferWriter... | 2.310318 | 6b021ec259a829b837bcf6be5820638d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92879 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "michel98/RA1",
"max_stars_repo_path": "RA-KimberlyMichelEstradaBlanco/WindowsRA1/Recepcion/frmServicioDetalle.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92880"
} | starcoder | namespace WindowsRA1.Recepcion
{
partial class frmServicioDetalle
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summar... | 2.122822 | 18a216d01e2d79dda3f06a7de3c7e5cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92880 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "grvdubey55/kontent-sample-app-net-1",
"max_stars_repo_path": "DancingGoat/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92881"
} | starcoder | <reponame>grvdubey55/kontent-sample-app-net-1<filename>DancingGoat/Properties/AssemblyInfo.cs<gh_stars>0
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("DancingGoat")]
[assembly: AssemblyDescription("Sample .NET MVC web application")]
[assembly: AssemblyProduct("Kentico Konten... | 1.911592 | 167e1bec70b891a7c3e92a527492897a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92881 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cushmily/Karma",
"max_stars_repo_path": "Common/KarmaKernelModules.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92882"
} | starcoder | <filename>Common/KarmaKernelModules.cs
using Karma.Services;
using UnityEngine;
using wLib;
using wLib.Injection;
using wLib.UIStack;
namespace Karma.Common
{
public class KarmaKernelModules : MonoModule
{
[Header("General")]
[SerializeField]
private bool _enableLog = true;
[He... | 1.61969 | 21130a31e7c5bcda7a31a70f89d45e93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92882 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wolf8196/DiscordImageDownloader",
"max_stars_repo_path": "DiscordImageDownloader/Core/WorkerSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92883"
} | starcoder | <filename>DiscordImageDownloader/Core/WorkerSettings.cs<gh_stars>1-10
namespace DiscordImageDownloader.Core
{
internal class WorkerSettings
{
public int CheckInterval { get; set; }
}
} | 1.811684 | f59b1859915d18676a4d7c4d22e053f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92883 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oviebd/DragDropGame",
"max_stars_repo_path": "Assets/Scripts/Damage/DamageContract.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92884"
} | starcoder | <reponame>oviebd/DragDropGame
using UnityEngine;
public interface IDamager
{
int GetDamageAmount();
}
public interface IDamageAble
{
void DoDamage(int damageAmount);
void PrepareDamageable();
}
| 1.489274 | 00d6609d33fd1d3c57152364dc69a7eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92884 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "SSWConsulting/SSW.Rewards",
"max_stars_repo_path": "API/SSW.Rewards.Application/User/Commands/UploadProfilePic/UploadProfilePicCommandValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92885"
} | starcoder | <reponame>SSWConsulting/SSW.Rewards
using FluentValidation;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SSW.Rewards.Application.User.Commands.UploadProfilePic
{
public class UploadProfilePicCommandValidator : AbstractValidator<Up... | 2.603722 | e0ec8070d7ce4960abf24fc2aa0fee39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LuohuaRain/payment",
"max_stars_repo_path": "src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayIserviceCcmRoleModifyResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92886"
} | starcoder | <filename>src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayIserviceCcmRoleModifyResponse.cs<gh_stars>0
namespace Essensoft.AspNetCore.Payment.Alipay.Response
{
/// <summary>
/// AlipayIserviceCcmRoleModifyResponse.
/// </summary>
public class AlipayIserviceCcmRoleModifyResponse : AlipayResponse
... | 1.102272 | 503b0d0c5541bc7f33908f3715784877 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92886 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MonikaBot/CommandsManager",
"max_stars_repo_path": "MonikaBot.CommandManager/IModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92887"
} | starcoder | <filename>MonikaBot.CommandManager/IModule.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MonikaBot.Commands
{
public enum ModuleType
{
Internal = 0,
External
}
public abstract class IModule
{
... | 3.081412 | 0f24ba8bf84915ae926573c75433aa5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92887 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kunalkshrivastava/Road-race-scripts",
"max_stars_repo_path": "Movement/Player_movement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92888"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class Player_movement : MonoBehaviour{
public Rigidbody myRigidbody;
public float life=3;
public float car_Acc=200;
public float jump_Force=150;
public bool grounded;
public float move_speed;
p... | 1.935644 | c1abd483489f5f46020ce561a04281e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 92888 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "samtoubia/azure-sdk-for-net",
"max_stars_repo_path": "src/ResourceManagement/Logic/Microsoft.Azure.Management.Logic/Generated/ILogicManagementClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:92889"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
... | 1.32749 | 3fbf401c10bc0036c01bdc8f5a49ddab |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.