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 | 8843512 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Executor-Cheng/Executorlibs",
"max_stars_repo_path": "src/Executorlibs.Bilibili.Protocol/Models/Danmaku/UserMutedMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162732"
} | starcoder | using System.Text.Json;
using Executorlibs.Bilibili.Protocol.Parsers;
using Executorlibs.Bilibili.Protocol.Parsers.Attributes;
using Executorlibs.Shared.Protocol.Models.Danmaku;
namespace Executorlibs.Bilibili.Protocol.Models.Danmaku
{
/// <summary>
/// 表示用户被禁言消息的接口
/// </summary>
/// <remarks>
///... | 1.87498 | a6013c100a540ad9e9536c9dd5cf57ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843513 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VincentVans/Passwords101_Android",
"max_stars_repo_path": "Resources/Resource.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162733"
} | starcoder | <gh_stars>0
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the... | 1.23498 | 17f796192cbdef5be310df123c8a9101 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843514 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jobkanis/fastStartMonogame",
"max_stars_repo_path": "Shoot/Shoot/MainGameFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162734"
} | starcoder | <reponame>Jobkanis/fastStartMonogame
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Content;
namesp... | 1.876879 | 08f8457825ecd11146aa35ebf2a02831 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843515 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "whoisfpc/BackLight",
"max_stars_repo_path": "Assets/PolyNav2D/Scripts/Runtime/PolyNav2D.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162735"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
//[RequireComponent(typeof(PolygonCollider2D))]
[AddComponentMenu("Navigation/Poly|Nav2D")]
///Singleton. Main class for map generation and navigation
public class PolyNav2D : MonoBehaviour {
///If true map will recalc... | 2.422305 | ded6e663b7ca217e48a80bc71bf3223f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843516 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OuterGazer/Skies-Over-Norville-Valley",
"max_stars_repo_path": "Assets/Scripts/EnemyShooting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162736"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyShooting : MonoBehaviour
{
[Header("Machine Gun Settings")]
[SerializeField] EnemyBullet bullet;
[SerializeField] float timeBetweenBullets = default;
[SerializeField] float barrageBulletAmount = default;
... | 2.124871 | 536424bff27f48e74c6b9f8cabedcccb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843517 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Entoarox/Stardew-Farmhand",
"max_stars_repo_path": "Mods/ModLoaderMod/Menus/ModMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162737"
} | starcoder | <filename>Mods/ModLoaderMod/Menus/ModMenu.cs
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using StardewValley;
using StardewValley.Menus;
using System.Collections.Generic;
using System.Linq;
using Farmhand;
using Farmhand.Registries;
using Farmhand.Registries.Containers... | 2.064922 | a56e2c81723310afbef5f72c0673da3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843518 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stuksgens/Continuum",
"max_stars_repo_path": "Runtime/CSharp/Constructs/Modifiers/StructModifier.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162738"
} | starcoder | <reponame>stuksgens/Continuum
namespace Lasm.Continuum.CSharp
{
public enum StructModifier
{
None,
Partial,
Static
}
}
| 1.010419 | 7521a65caeb5d31254e4a3a0668d764e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843519 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GradientVector/forging-a-defense-against-cross-site-request-forgery",
"max_stars_repo_path": "CSRF/Controllers/SecretController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162739"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace _01_Start_Unsecured.Controllers
{
[Authorize]
public class SecretController : ApiController
{
// GET: api/Secret
public IEnumerable<string> Get()
... | 2.557442 | b3b969dab828d5a5bf5114ddebcbb3c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843520 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jbw/Podium",
"max_stars_repo_path": "src/Podium/Rating/IRating.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162740"
} | starcoder | namespace Podium
{
public interface IRating
{
public double CurrentRating { get; set; }
public double OriginalRatingDeviation { get; set; }
}
public interface IPlayer : IRating
{
/// <summary>
/// t
/// </summary>
public int TimeSinceLastPlayed { get... | 2.159857 | 5aca789ec63efe76530e857b71b27241 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843521 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ppschweiz/MemberDatabase",
"max_stars_repo_path": "Organigram/MemberService/ChangeAddress.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162741"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Pirate.Ldap;
using Pirate.Ldap.Web;
using Pirate.Util.Logging;
namespace MemberService
{
public partial class ChangeAddress : CustomPag... | 2.166227 | c56781303bc1c2f9dd12a8c110cee74b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843522 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "cstech-carl-camilleri/solr-net-linq",
"max_stars_repo_path": "SolrNet.Linq/Expressions/Context/MemberContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162742"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using SolrNet.Impl;
using SolrNet.Impl.FieldParsers;
using SolrNet.Impl.FieldSerializers;
using SolrNet.Mapping;
namespace SolrNet.Linq.Expressions.Context
{
public abstract class MemberCo... | 2.245586 | 6e034887b6031755d17597152d7b9ada |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843523 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "li-haobin/O2DESNetDemos",
"max_stars_repo_path": "O2DESNetDemos/Demo_05/MMcQueue_Pull.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162743"
} | starcoder | using O2DESNet;
using O2DESNet.Distributions;
using System;
using System.Collections.Generic;
using System.Text;
namespace O2DESNetDemos.Demo_05
{
/// <summary>
/// M/M/c Queue in pulling mode
/// </summary>
public class MMcQueue_Pull : Sandbox
{
#region Statics
public class Static... | 2.143324 | cfa50c0b97a1a21a2e2b66edb8abfac1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843524 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "activa/iridium-geo",
"max_stars_repo_path": "src/Iridium.Geo/Geometry/MultiGeometry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162744"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Iridium.Geo
{
public class MultiGeometry : IMultiGeometry<IGeometry>, ITransformable<MultiGeometry>
{
public IReadOnlyList<IGeometry> Geometries { get; }
public MultiGeometry(IEnumerable<IGeo... | 2.96341 | 2407946539bf66205e2c9495dcb327e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843525 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Timthreetwelve/PathTools",
"max_stars_repo_path": "PathTools/DisplayPath.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162745"
} | starcoder | <filename>PathTools/DisplayPath.cs
// Copyright (c) <NAME>. All Rights Reserved. Licensed under the MIT License.
namespace PathTools
{
// Class to hold PATH status, type and path segment
public class DisplayPath
{
public DisplayPath() { }
public DisplayPath(int seqNumber, string pathStatu... | 2.527052 | 01d7e733b170ef90c086c5599289480f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843526 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "KvanTTT/Yandex-Linguistics.NET",
"max_stars_repo_path": "YandexLinguistics.NET/Dictionary/Translation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162746"
} | starcoder | <filename>YandexLinguistics.NET/Dictionary/Translation.cs
using System.Collections.Generic;
using System.Text;
using System.Text.Json.Serialization;
namespace YandexLinguistics.NET.Dictionary
{
public class Translation
{
[JsonPropertyName("text")] public string Text { get; set; }
[JsonPropertyName("pos")] publ... | 2.965254 | a002bec46ab3c693de5a0d09fd6db55e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843527 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "michael-reichenauer/Dependinator",
"max_stars_repo_path": "Dependinator/ModelViewing/Private/Searching/SearchEntry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162747"
} | starcoder | namespace Dependinator.ModelViewing.Private.Searching
{
}
| 0.356675 | 06a105fadb2ca4f88a51d676dd262295 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843528 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "tdeeb/PaperMarioBattleSystem",
"max_stars_repo_path": "PaperMarioBattleSystem/PaperMarioBattleSystem/Classes/Actions/Mario/HeadRattleAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162748"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PaperMarioBattleSystem
{
/// <summary>
/// Mario's Head Rattle action.
/// It's identical to Hammer except it can confuse enemies and has a slightly long... | 2.650382 | 54450f9284b5ce6f5d9b5cd0b5076856 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843529 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "nsubstitute/NSubstitute.Analyzers",
"max_stars_repo_path": "tests/NSubstitute.Analyzers.Tests.CSharp/CodeRefactoringProvidersTests/IntroduceSubstituteRefactoringProviderTests/IntroduceSubstituteCodeRefactoringProviderTests.cs",
"prov... | starcoder | <gh_stars>10-100
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeRefactorings;
using NSubstitute.Analyzers.CSharp.CodeRefactoringProviders;
using NSubstitute.Analyzers.Tests.Shared.CodeRefactoringProviders;
using Xunit;
namespace NSubstitute.Analyzers.Tests.CShar... | 1.974652 | b120fe35ceb25b54ffb26d48e56219fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843530 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "webrokeit/DTU",
"max_stars_repo_path": "02515 - Healthcare Technology/Jump Squat/Example/Assets/KinectScripts/Cubeman/PointManController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162750"
} | starcoder | using UnityEngine;
using System;
using System.Collections;
public class PointManController : MonoBehaviour
{
public bool MoveVertically = false;
public bool MirroredMovement = false;
//public GameObject debugText;
public GameObject Hip_Center;
public GameObject Spine;
public GameObject Shoulder_Center;
publ... | 1.899805 | 5968482e45f9295e4c86890d10e3b505 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843531 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zCri/nylium",
"max_stars_repo_path": "nylium.Core/Networking/Packet/Client/Status/CS00Request.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162751"
} | starcoder | <reponame>zCri/nylium
using System.IO;
namespace nylium.Core.Networking.Packet.Client.Status {
[Packet(0, ProtocolState.Status, PacketSide.Client)]
public class CS00Request : NetworkPacket {
public CS00Request(Stream stream) : base(stream) { }
}
}
| 1.567611 | 0b34244732203b8438b20f03ba158cf9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843532 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "gregdivis/Aeon",
"max_stars_repo_path": "src/Aeon.DiskImages/Iso9660/RawCDReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162752"
} | starcoder | <gh_stars>1-10
using System;
using System.ComponentModel;
using System.IO;
namespace Aeon.DiskImages.Iso9660
{
/// <summary>
/// Stream backed by raw CD sectors.
/// </summary>
internal sealed class RawCDReader : Stream
{
#region Private Fields
private readonly IntPtr deviceHandle;... | 2.825819 | 879e87c2ed98e4be6fcf5489904aa792 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843533 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "commonsensesoftware/More.Cqrs",
"max_stars_repo_path": "src/More.Cqrs.InMemory/Messaging/InMemoryMessageReceiver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162753"
} | starcoder | <reponame>commonsensesoftware/More.Cqrs
// Copyright (c) Commonsense Software. All rights reserved.
// Licensed under the MIT license.
namespace More.Domain.Messaging
{
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
/// <summary>
/// Represents an in-memory <... | 2.667865 | b9e702c1a85d061b4b6faa63792eb450 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843534 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iliantrifonov/TelerikAcademy",
"max_stars_repo_path": "C# part 2/ExamPreparation2/02.SpecialValue/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162754"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace SpecialValue
{
class MainClass
{
public static short maxLenght;
public static void Main(string[] args)
{
short numberOfRows = short.Parse(Console.ReadLine());
short[][] listMatrix = new... | 3.497805 | bd145ac2b17379edc006077e46772624 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843535 | {
"extension": "c-sharp",
"max_stars_count": "2542.0",
"max_stars_repo_name": "gridgentoo/ServiceFabricAzure",
"max_stars_repo_path": "src/prod/src/managed/Api/src/System/Fabric/Repair/NodeRepairTargetDescription.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162755"
} | starcoder | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace System.Fabric.Repair... | 2.631819 | 20f82480694b6b570e3dc6769bc7b2c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843536 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "farenasmz/TestAngular",
"max_stars_repo_path": "TestAngular/Infraestructure/Implementation/LogRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162756"
} | starcoder | using Infraestructure.GenericRepository;
using Infraestructure.Models;
using System;
using System.Threading.Tasks;
namespace Infraestructure.Implementation
{
public class LogRepository : GenericRepository<Log>, ILog
{
public LogRepository(DataContext context) : base(context)
{
}
public async Task CreateLog... | 2.670593 | 1697318c0a4b00c9c7af64e73d62d50b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843537 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MFathirIrhas/PCD",
"max_stars_repo_path": "PCD/ImageEnhancement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162757"
} | starcoder | <reponame>MFathirIrhas/PCD
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using System.Drawing.Imaging;
using System.Runtime.InteropServices;
namespace PCD
{
public class ImageEnhancement
{
public byte[] ImageB... | 2.730473 | bf0867cdb40456b4d0d42c8756d942da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843538 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ehtick/TheIdServer",
"max_stars_repo_path": "src/Aguacongas.TheIdServer.Duende/Areas/Identity/Pages/Account/Manage/Ciba.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162758"
} | starcoder | using Duende.IdentityServer.Models;
using Duende.IdentityServer.Services;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
namespace Aguacongas.TheIdServer.Areas.Identity.Pages.Account... | 1.911792 | 72004bd49479a82085c889cd50db61ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843539 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "toky0s/cs4rsa",
"max_stars_repo_path": "cs4rsa_test/BasicData/TestPlaceMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162759"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using cs4rsa.BasicData;
using NUnit.Framework;
namespace cs4rsa_test.BasicData
{
[TestFixture]
public class TestPlaceMap
{
[Test]
public void Test1()
{
Li... | 2.588993 | cc5171b8e6ca99389b6a908178ecd830 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843540 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lyx52/Game2D",
"max_stars_repo_path": "Game.Graphics/Shaders/ShaderProgram.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162760"
} | starcoder | using System.Collections.Generic;
using OpenTK.Graphics.OpenGL4;
using OpenTK.Mathematics;
using Game.Utils;
using System;
namespace Game.Graphics {
public class ShaderProgram : IDisposable {
public readonly int programID;
private Dictionary<string, int> attribLocations;
private Dictionary... | 2.679513 | 6d0c54c2887756aefc007d4484a0b2bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843541 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DevTainan/KTCommon",
"max_stars_repo_path": "src/SampleWinApp/Views/KtMmfEventBusPage.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162761"
} | starcoder | namespace SampleWinApp.Views
{
partial class KtMmfEventBusPage
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary... | 1.809693 | 55afd7973f94b3eaeb86b740a52a18ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843542 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rudini/WebFormsDI",
"max_stars_repo_path": "WebFormsDI/Default.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162762"
} | starcoder | namespace WebFormsDI
{
using System;
using System.Drawing;
using System.Web.UI;
public interface I_DefaultView
{
event EventHandler ButtonClicked;
void SetButtonColorRed();
}
public partial class _Default : Page, I_DefaultView
{
//[Dependency]
//public... | 2.42401 | bc6d0060b123de613e9fec9589cc63f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843543 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "weimingtom/Sakura",
"max_stars_repo_path": "Sce.Pss.HighLevel/UI/TouchEventType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162763"
} | starcoder | using System;
namespace Sce.Pss.HighLevel.UI
{
public enum TouchEventType
{
Up,
Down,
Move,
Enter,
Leave,
None
}
}
| 1.52318 | 196f40b24be29d357945a87e34529f28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843544 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hugoabernier/pnpcore",
"max_stars_repo_path": "src/sdk/PnP.Core.Test/SharePoint/FieldTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162764"
} | starcoder | <filename>src/sdk/PnP.Core.Test/SharePoint/FieldTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PnP.Core.Model.SharePoint;
using PnP.Core.Test.Utilities;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace PnP.Core.Test.SharePoint
{
[TestClass]
public class FieldTests
... | 2.325164 | c54d12916797a1ae856cf8d40b59cca1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843545 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "viananicolas/SGEJ",
"max_stars_repo_path": "SGEJ.Models/Migrations/20180622094908_Initial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162765"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace SGEJ.Models.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
... | 1.971008 | ad6f31ff825f335352bddf47ce177e82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843546 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "wingify/vwo-dotnet-sdk",
"max_stars_repo_path": "VWOSdk/Internal/ApiVerb/ServerSideVerb.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162766"
} | starcoder | <reponame>wingify/vwo-dotnet-sdk
#pragma warning disable 1587
/**
* Copyright 2019-2021 Wingify Software Pvt. Ltd.
*
* 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:/... | 1.574025 | 857644a2b42909c971556881f1d2b437 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843547 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "v-karpov/Nez",
"max_stars_repo_path": "Nez.Portable/Physics/Physics.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162767"
} | starcoder | using Microsoft.Xna.Framework;
using System.Collections.Generic;
using Nez.Spatial;
namespace Nez
{
public static class Physics
{
static SpatialHash _spatialHash;
/// <summary>
/// default value for all methods that accept a layerMask
/// </summary>
public const int AllLayers = -1;
/// <summary>
//... | 2.818327 | aa33a82dbd7c311739d78b39f9ce5652 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843548 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ronituohino/Old-projects",
"max_stars_repo_path": "Bar2D/Assets/Legacy/Navigation/Panel/Connection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162768"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
public class Connection : MonoBehaviour
{
public RectTransform rect;
[HideInInspector]
public Navigation navigationPanel;
[HideInInspector]
public Re... | 1.54558 | 14ee1e663dda006b488df7c3afa7a81c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843549 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AntoineDao/honeybee-schema-dotnet",
"max_stars_repo_path": "src/HoneybeeSchema.Test/Model/VentilationAbridgedTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162769"
} | starcoder | <reponame>AntoineDao/honeybee-schema-dotnet
/*
* Honeybee Model Schema
*
* This is the documentation for Honeybee model schema.
*
* The version of the OpenAPI document: 1.13.0
* Contact: <EMAIL>
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using NUnit.Framework;
using System;
usi... | 1.819016 | 3dd377bc2f981620ada2c64331323a5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843550 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RyanMelenaNoesis/ElveKodiDriver",
"max_stars_repo_path": "src/NoesisLabs.Elve.Kodi/XBMCRPC/XBMCRPC/Library/Details/Genre.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162770"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json.Linq;
using System.Runtime.Serialization;
namespace XBMCRPC.Library.Details
{
public class Genre : XBMCRPC.Item.Details.Base
{
public int genreid { get; set; }
public string thumbnail { get; set; }
... | 1.392413 | 491e39cc96e69dbc6af6eb9fff45ff51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843551 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Thorcik1704/EmbeddedSocial-Service",
"max_stars_repo_path": "code/Server/Common/Tables/IBlobsMetadataStore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162771"
} | starcoder | <filename>code/Server/Common/Tables/IBlobsMetadataStore.cs<gh_stars>1-10
// <copyright file="IBlobsMetadataStore.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace SocialPlus.Server.Tables
{
using System.Threading.Tasks;
using SocialPlus.Models;
using Soci... | 2.155045 | e3b28871cf0edba71a9e19e86f59a72a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843552 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "studio-nine/Nine",
"max_stars_repo_path": "Source/Nine.Studio/EditorExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162772"
} | starcoder | namespace Nine.Studio
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using Nine.Studio.Extensibility;
using System.Collections.ObjectModel;
/// <su... | 2.41978 | 6f3efa9367fa084d72b4cedb8b116708 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843553 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fraillt/linq2db",
"max_stars_repo_path": "Source/DataProvider/Access/AccessSqlOptimizer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162773"
} | starcoder | <filename>Source/DataProvider/Access/AccessSqlOptimizer.cs
using System;
namespace LinqToDB.DataProvider.Access
{
using SqlProvider;
using SqlQuery;
class AccessSqlOptimizer : BasicSqlOptimizer
{
public AccessSqlOptimizer(SqlProviderFlags sqlProviderFlags) : base(sqlProviderFlags)
{
}
publi... | 2.235775 | ac59b3ba583677cf88ec63a9b891e63d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843554 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Celisuis/CustomizeItEnhanced",
"max_stars_repo_path": "CustomizeItExtended/Helpers/InstanceHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162774"
} | starcoder | <reponame>Celisuis/CustomizeItEnhanced<filename>CustomizeItExtended/Helpers/InstanceHelper.cs
using System.Reflection;
using ColossalFramework.UI;
namespace CustomizeItExtended.Helpers
{
public class InstanceHelper
{
public static InstanceID GetInstanceID(UICustomControl control)
{
... | 2.275911 | 7b39e676cec64af8098c8b3c917674bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843555 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jcurl/RJCP.DLL.CrashReporter",
"max_stars_repo_path": "CrashReporter/Config/DumpDirElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162775"
} | starcoder | namespace RJCP.Diagnostics.Config
{
using System.Configuration;
internal class DumpDirElement : ConfigurationElement
{
[ConfigurationProperty("path", DefaultValue = "", IsRequired = false)]
public string Path
{
get { return (string)this["path"]; }
}
[Co... | 2.192894 | efb5464f735b9b1a598f49021bb88031 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843556 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sac16controllertester/ControllerTester",
"max_stars_repo_path": "FaultModels/AllowedOscillationFaultModel/Parsers/AllowedOscillationSineResultsParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162776"
} | starcoder | using FM4CC.FaultModels.AllowedOscillation;
using FM4CC.Util;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FM4CC.FaultModels.AllowedOscillation.Parsers
{
internal static class AllowedOscillationSineResults... | 2.555256 | 465bc532056e3a683a6cf3d9c5d17768 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843557 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tig/FineCodeCoverage",
"max_stars_repo_path": "FineCodeCoverage/Core/Utilities/IFileUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162777"
} | starcoder | namespace FineCodeCoverage.Core.Utilities
{
internal interface IFileUtil
{
string ReadAllText(string path);
void WriteAllText(string path, string contents);
}
}
| 2.02662 | 28441d18f4e24b82421f245572cfab0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843558 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "GregFinzer/KellermanSoftware-Common",
"max_stars_repo_path": "KellermanSoftware-Common/StringUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162778"
} | starcoder | <reponame>GregFinzer/KellermanSoftware-Common
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;
namespace KellermanSoftware.Common
{
public static class StringUtil
... | 3.280846 | dbacce289616fb197af0a3e990b0f927 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843559 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Haas360/webdotnet",
"max_stars_repo_path": "Webdotnet.Umbraco/Views/Shared/_Layout.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162779"
} | starcoder | @using File = System.IO.File
@model Webdotnet.Custom.ViewModels.LayoutBaseViewModel
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
@* <meta name="robots" content="noindex, nofollow">*@
<link rel="canonical" href="@Request.... | 2.181606 | af6387539ab70a4b2f501c7d04f1d9ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843560 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "tabby336/Solution1",
"max_stars_repo_path": "Solution1/Web/Views/Home/Donate.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162780"
} | starcoder | <li class="donate-li">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_donations">
<input type="hidden" name="business" value="<EMAIL>">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="it... | 2.017446 | 129abea0497027c801e2a0f5680daef2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843561 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mycroes/SupportManager",
"max_stars_repo_path": "SupportManager.Web/Pages/User/ApiKeys/List.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162781"
} | starcoder | @page
@model SupportManager.Web.Pages.User.ApiKeys.ListModel
@{
Layout = "/Features/Shared/_Layout.cshtml";
ViewData["Title"] = "API Keys";
}
<h2>API Keys</h2>
@if (!Model.Data.ApiKeys.Any())
{
<div class="jumbotron">
<p>
No API keys created yet.
</p>
<p>
... | 2.383979 | 97746a901f3e8790432ed38aaefea793 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843562 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "sebastianszaniszlo/hostly",
"max_stars_repo_path": "tests/Hostly.Tests/Mocks/MockPlatform.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162782"
} | starcoder | using System;
using Xamarin.Forms;
namespace Hostly.Tests.Mocks
{
public class MockPlatform : IXamarinHostingPlatform
{
public event EventHandler OnStarted;
public event EventHandler OnStopped;
public event EventHandler OnCreated;
public event EventHandler OnDestroyed;
... | 2.050743 | 9013326d87056ed8139d7d20a2fd5a64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843563 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DimitarSD/Teamwork-Sparta",
"max_stars_repo_path": "Source/TexasHoldem.AI.SpartaPlayer/SpartaPlayerBeta.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162783"
} | starcoder | namespace TexasHoldem.AI.SpartaPlayer
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Helpers;
using Logic;
using Logic.Cards;
using Spartalayer.Helpers;
using TexasHoldem.Logic.Players;
public class SpartaPlayerBeta : BasePlayer
... | 2.566388 | 5971c289c9e88329adcba1dbc9f45741 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843564 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "modiCAS/fo.net",
"max_stars_repo_path": "DataTypes/ToBeImplemented.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162784"
} | starcoder | <filename>DataTypes/ToBeImplemented.cs
namespace Fonet.DataTypes
{
internal class ToBeImplemented
{
public ToBeImplemented( string value )
{
}
}
} | 1.579927 | 7a2487188dd957efe60e347769033095 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843565 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "alipay/antchain-openapi-prod-sdk",
"max_stars_repo_path": "donpa/csharp/core/Models/PredictResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162785"
} | starcoder | // This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AntChain.SDK.DONPA.Models
{
// 预测结果响应体
public class PredictResponse : TeaModel {
// 资产明细ID
[NameInMap("asset_detail_id")]
[Validation(Required=f... | 1.542325 | e513dd672919a9b41652d332976fda0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843566 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "smarthead/SmartHead.Essentials",
"max_stars_repo_path": "src/SmartHead.Essentials.Implementation/Events/DomainNotificationHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162786"
} | starcoder | <gh_stars>1-10
using SmartHead.Essentials.Abstractions.Cqrs;
using SmartHead.Essentials.Abstractions.MediatR;
namespace SmartHead.Essentials.Implementation.Events
{
public class DomainNotificationHandler : NotificationHandlerBase<DomainNotification>
{
}
} | 0.989926 | ccdb2651ff09f1eb7a7dc1efd83ee669 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843567 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DougSchmidt-AI/pocket-gauger-field-data-plugin",
"max_stars_repo_path": "src/PocketGauger/Mappers/DischargeActivityMapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162787"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using FieldDataPluginFramework.DataModel;
using FieldDataPluginFramework.DataModel.ChannelMeasurements;
using FieldDataPluginFramework.DataModel.DischargeActivities;
using PocketGauger.Dtos;
using PocketGauger.Helpers;
using PocketGauger.Inter... | 2.261046 | eee8d257deecb2af2816094f72f20852 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843568 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "npocmaka/Windows-Server-2003",
"max_stars_repo_path": "com/netfx/src/framework/commonui/system/drawing/printing/querypagesettingseventhandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162788"
} | starcoder | //------------------------------------------------------------------------------
// <copyright file="QueryPageSettingsEventHandler.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------... | 1.716838 | eae8b764a2e51ab1beb6571da2676aa2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843569 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RuzmanovDev/BrumWithMe",
"max_stars_repo_path": "BrumWithMe/Tests/BrumWithMe.Mvc.Tests/Controllers/TripControllerTests/SignOutOftheTrip_Should.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162789"
} | starcoder | using BrumWithMe.MVC.Controllers;
using BrumWithMe.Services.Data.Contracts;
using BrumWithMe.Services.Providers.Mapping.Contracts;
using BrumWithMe.Web.Models.Trip;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
usin... | 2.211658 | d26a10ffcfb96f5da27d5b18054ba0e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843570 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "12142020-dotnet-uta/Project2_AndrewStefanyshyn",
"max_stars_repo_path": "BackEnd/Main/Controllers/SongController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162790"
} | starcoder | using BusinessLogicLayer;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using ModelLayer.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.IO;
using System.Web;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Hosting;... | 2.341919 | 5d316bad362a11d38b04905bfc488850 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843571 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarinTerentiev/mag",
"max_stars_repo_path": "webapi/Controllers/IdentityController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162791"
} | starcoder | <filename>webapi/Controllers/IdentityController.cs
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.Cookies;
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
... | 1.977999 | 814e6eb457caecf426bc11d930caf2e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843572 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VeronikaVasilyeva/test123",
"max_stars_repo_path": "ExternDotnetSDK/ExternDotnetSDK/Models/Warrants/WarrantList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162792"
} | starcoder | using Kontur.Extern.Client.Models.Common;
using Kontur.Extern.Client.Models.JsonConverters;
using Newtonsoft.Json;
namespace Kontur.Extern.Client.Models.Warrants
{
[JsonObject(NamingStrategyType = typeof (KebabCaseNamingStrategy))]
public class WarrantList
{
public long Skip { get; set; }
... | 1.695162 | 27529638abc25ec1213a517bf844599d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843573 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ProstoA/Core",
"max_stars_repo_path": "src/ProstoA.Data/Model/IHierarchical.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162793"
} | starcoder | using System.Collections.Generic;
namespace ProstoA.Data.Model {
public interface IHierarchical<out T> {
IEnumerable<T> Parents { get; }
}
} | 1.851865 | b31b2b76d4e9af2d6e0cb2eb99b84cd3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843574 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BAKAOLC/LuaSTG-Editor-Sharp",
"max_stars_repo_path": "LuaSTGEditorSharp/EditorData/EditorSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162794"
} | starcoder | <reponame>BAKAOLC/LuaSTG-Editor-Sharp<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LuaSTGEditorSharp.EditorData.Document;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace LuaSTGEditorSharp.EditorData
{
pub... | 2.0448 | 81240d9d6d5453b912067fd63d8bc5ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843575 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "epignosisx/autodash",
"max_stars_repo_path": "src/Autodash.Core/XmlOnlyTestSuiteFileExplorer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162795"
} | starcoder | <filename>src/Autodash.Core/XmlOnlyTestSuiteFileExplorer.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Linq;
namespace Autodash.Core
{
public class XmlOnlyTestSuiteFileExplorer : ITestSuiteFileExplorer
{
public IEnumerable<string> ... | 2.796388 | 53396ee6c37bdf6ddf9d1bc74c1d5f5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843576 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "peitschie/ngineer",
"max_stars_repo_path": "UnitTests/Types/InheritsFromClassWithNullableDateTime2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162796"
} | starcoder |
using System;
using System.Collections.Generic;
namespace NGineer.UnitTests.Types
{
public class InheritsFromClassWithNullableDateTime2 : ClassWithNullableDateTime
{
}
}
| 1.117738 | 489fcad0e6427b9e6f19d367719ccfb5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843577 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Panzershrekk/Ludum_dare_43",
"max_stars_repo_path": "LudumDare43_2D/Assets/VN Engine/Scripts/Nodes/ItemNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162797"
} | starcoder | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
namespace VNEngine
{
public enum Item_Node_Action { Add_Item, Remove_Item };
// Removes or adds an Item to the UIManager's Item grid
// Item prefabs must be placed in the Resources/Items folder
// Please use this node to add or remove ... | 2.506787 | 39d9ef33b6558f7969298812659e2b98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843578 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "somas95/Wrinkled",
"max_stars_repo_path": "Assets/First Person Character Controller/ExternalContent/HapkiLibs/Source/Hapki.Syntax.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162798"
} | starcoder |
// Convenience utilities written by <NAME>, <EMAIL>.
// No copyright is claimed, and you may use it for any purpose you like.
// No warranty for any purpose is expressed or implied.
using System.Collections.Generic;
namespace Hapki.Syntax {
public interface IReductionSyntax<T> where T : IReductionSyntax<T> {
vo... | 2.886698 | 2a224968c5b283b6853ea1d76043b113 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843579 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "radrex/RxAutoInspection",
"max_stars_repo_path": "RxAuto/Web/RxAuto.Web.ViewModels/Qualifications/ViewModels/QualificationsListingViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162799"
} | starcoder | <gh_stars>1-10
namespace RxAuto.Web.ViewModels.Qualifications.ViewModels
{
using System.Collections.Generic;
public class QualificationsListingViewModel
{
public IEnumerable<QualificationViewModel> Qualifications { get; set; }
public int CurrentPage { get; set; }
public int PagesCo... | 1.455887 | 47271a5c8626eb0af664b9300b8eacc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843580 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeTherapist/BenchmarkDotNetXlsxExporter",
"max_stars_repo_path": "tests/BenchnarkDotNet.Exporters.Xlsx.Tests/TestHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162800"
} | starcoder | <filename>tests/BenchnarkDotNet.Exporters.Xlsx.Tests/TestHelper.cs<gh_stars>0
using System.IO;
namespace BenchnarkDotNet.Exporters.Xlsx.Test
{
/// <summary>
/// A helper for unit testing purpose.
/// </summary>
internal static class TestHelper
{
/// <summary>
/// Gets a temporary f... | 2.614918 | a4eff6879d2cf3a0b5c9aaadf3ca5bca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843581 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Filirien/CSharp-Fundamentals",
"max_stars_repo_path": "C# Advanced/Manual String Processing - Exercises/StringLength/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162801"
} | starcoder | namespace StringLength
{
using System;
public class Startup
{
public static void Main()
{
string inputString = Console.ReadLine();
Console.WriteLine(inputString.Substring(0, Math.Min(20, inputString.Length)).PadRight(20, '*'));
}
}
}
| 3.138697 | 765a2a698a57ed5146d639f03937c38e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843582 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Yesterday17/Tranquility-Login",
"max_stars_repo_path": "Tranquility_Login/Utils/GitHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162802"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LibGit2Sharp;
namespace Tranquility_Login.Utils
{
/// <summary>
/// LibGit2Sharp的帮助类
/// </summary>
public static class GitHelper
{
/// <summary>
/// 进行整合包的Clone
/// </summary>
... | 2.560979 | 5c5054cfde2a8a60c838df032a4a92db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843583 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "petterm/GameHax",
"max_stars_repo_path": "EditorCommon/PropertyGrid/Mono.TextEditor/HelperMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162803"
} | starcoder | <filename>EditorCommon/PropertyGrid/Mono.TextEditor/HelperMethods.cs
// HelperMethods.cs
//
// Cut & paste from PangoCairoHelper.
//
// Author:
// <NAME> <<EMAIL>>
// <NAME> <<EMAIL>>
//
// Copyright (c) 2008 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obta... | 1.948911 | 396ccf01bba292196afa4a8d1af6f992 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843584 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hanaseleb/Bravo",
"max_stars_repo_path": "src/Services/ExportDataService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162804"
} | starcoder | <reponame>hanaseleb/Bravo
namespace Sqlbi.Bravo.Services
{
using CsvHelper;
using CsvHelper.Configuration;
using CsvHelper.TypeConversion;
using LargeXlsx;
using Sqlbi.Bravo.Infrastructure;
using Sqlbi.Bravo.Infrastructure.Extensions;
using Sqlbi.Bravo.Infrastructure.Helpers;
using Sqlb... | 1.821599 | 42c4afafdd9df532bacbd826a48b73db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843585 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jalew123/Microsoft-Teams-Samples",
"max_stars_repo_path": "samples/bot-release-management/csharp/ReleaseManagement/Services/CardFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162805"
} | starcoder | <gh_stars>0
namespace ReleaseManagement.Services
{
using System.IO;
using AdaptiveCards;
using AdaptiveCards.Templating;
using Microsoft.Bot.Schema;
using Newtonsoft.Json;
/// <summary>
/// Returns CardAttachment.
/// </summary>
public class CardFactory : ICardFactory
{
... | 2.320181 | 758de8c3870658638b586bba0de9b5bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843586 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bassclefstudio/Bot-Libraries",
"max_stars_repo_path": "BassClefStudio.NET.Bots/Inline/IInlineQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162806"
} | starcoder | <reponame>bassclefstudio/Bot-Libraries
using System;
using System.Collections.Generic;
using System.Text;
namespace BassClefStudio.NET.Bots.Inline
{
/// <summary>
/// Represents a query made by an inline user reponse.
/// </summary>
public interface IInlineQuery
{
/// <summary>
///... | 1.931218 | 1bf9a3dd94c5d644fda150c7ac4904fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843587 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "mbolt35/CSharp.Atomic",
"max_stars_repo_path": "CSharp/Collections/Concurrent/BlockingQueue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162807"
} | starcoder | ////////////////////////////////////////////////////////////////////////////////
//
// MATTBOLT.BLOGSPOT.COM
// Copyright(C) 2013 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the S... | 2.964481 | 3e0e1906a3024ea09b64a7fcc69265e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843588 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BoffinWritesCode/Saprophagous-Shepherd",
"max_stars_repo_path": "Sound/SampleProviders/SFXSampleProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162808"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NAudio.Wave;
namespace MiniJam61Egypt.Sound
{
public class SFXSampleProvider : ISampleProvider
{
private readonly SoundBankCached.CachedSoundData _sound;
private long _pos... | 2.915169 | 315ad25719cc89bf9f15341f875b325e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843589 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "laredoza/.NetScaffolder",
"max_stars_repo_path": "Templates/ScaffolderTemplate/Data/Entities/Entity/Entity/Product.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162809"
} | starcoder |
// <copyright file="Product.g.cs" company="MIT">
// Copyright (c) 2019 MIT
// </copyright>
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limita... | 2.411294 | d05e6395362da0878cf456f1b16b04db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843590 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "tonchevaAleksandra/C-Sharp-OOP",
"max_stars_repo_path": "WorkshopLAB/ProductCatalog/Pages/ProductPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162810"
} | starcoder | <reponame>tonchevaAleksandra/C-Sharp-OOP
using ConsoleTables;
using ProductCatalog.Core.Contracts;
using ProductCatalog.Infrastucture.Data.Model;
using ProductCatalog.Utilities;
using System;
namespace ProductCatalog.Pages
{
public class ProductPage
{
private readonly IProductService _productService;... | 3.003997 | f6b6f91ce60e0283b74915a377f77264 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843591 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Djangoum/JuevexTokiota24102017",
"max_stars_repo_path": "Asp.NetCore.JwtAuthentication/Asp.NetCore.JwtAuthentication/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162811"
} | starcoder | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.IdentityModel.Tokens;
using System.Text;
namespace Asp.NetCore.JwtAuthentication
{
public class Startup
{
public Startup(IH... | 2.239559 | 03f8c72982ec9a669c4e6a190c40e3dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843592 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LyuboslavKrastev/BasicDesk-Project-CSharp-MVC-Frameworks-ASP.NET-Core",
"max_stars_repo_path": "BasicDesk.App/Common/Interfaces/IAlerter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162812"
} | starcoder | using BasicDesk.App.Helpers.Messages;
namespace BasicDesk.App.Common.Interfaces
{
public interface IAlerter
{
void AddMessage(MessageType type, string message);
}
} | 2.001093 | 629f10aa24956de4c474d3f29f522f45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843593 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mpostol/ModelDesignerCompiler",
"max_stars_repo_path": "Core/Stack/State/AuditEventState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162813"
} | starcoder | <reponame>mpostol/ModelDesignerCompiler
/* ========================================================================
* Copyright (c) 2005-2016 The OPC Foundation, Inc. All rights reserved.
*
* OPC Reciprocal Community License ("RCL") Version 1.00
*
* Unless explicitly acquired and licensed from Licensor under ... | 1.730915 | 0d33706f6a4835c5ab9625c635fc59bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843594 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qcjxberin/DC.Framework",
"max_stars_repo_path": "src/Ding.Web.Template/Parser/Node/SetTag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162814"
} | starcoder | using System;
namespace Ding.Web.FPTemplate.Parser.Node
{
/// <summary>
/// 赋值标签
/// </summary>
public class SetTag : TagBase
{
private String _name;
private Tag _value;
/// <summary>
/// 变量名
/// </summary>
public String Name
{
ge... | 2.906539 | 3aa90eca0b514c46c74ade38ef2018f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843595 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zeroshi/NLog.Web",
"max_stars_repo_path": "tests/Shared/LayoutRenderers/AspNetRequestRouteParametersRendererTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162815"
} | starcoder | using System;
using System.Collections.Generic;
using NLog.Web.LayoutRenderers;
using NLog.Web.Enums;
using Xunit;
using System.Collections.Specialized;
using NSubstitute;
#if ASP_NET_CORE
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Routing;
#endif
namespace N... | 2.026342 | b813f948f43e9ffaa7daed03c6d28938 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843596 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sysroad/SuperSocketLite",
"max_stars_repo_path": "Samples/Chat/ChatServer/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162816"
} | starcoder | using System;
namespace ChatServer
{
class Program
{
//dotnet ChatServer.dll --uniqueID 1 --roomMaxCountPerThread 16 --roomThreadCount 4 --roomMaxUserCount 4 --roomStartNumber 1 --dbWorkerThreadCount 4 --redisAddress 192.168.0.10 --maxUserCount 100
static void Main(string[] args)
... | 2.637444 | 8567eb03b792c8fcef31ff90a5bc7569 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843597 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "aeroson/procedural-planets-generator",
"max_stars_repo_path": "myengine/Collections/UnorderedList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162817"
} | starcoder | <gh_stars>10-100
namespace MyEngine
{
using System;
using System.Runtime;
using System.Runtime.Versioning;
using System.Diagnostics;
using System.Diagnostics.Contracts;
using System.Collections.ObjectModel;
using System.Security.Permissions;
using System.Collections.Generic;
// raken from: https://referenc... | 2.86064 | ebd753de33a49f02f20e1d8a0c6ebb7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843598 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "barsic1234/nonMetaSerializer",
"max_stars_repo_path": "implPrimitive/LongPrimitive.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162818"
} | starcoder | using System;
namespace nonMetaSerializer.implPrimitive
{
class LongPrimitive : IPrimitive
{
private readonly int length = 8;
byte[] IPrimitive.GetByteStream(object valueField)
{
var longValue = (long)valueField;
return BitConverter.GetBytes(longValue);
... | 2.408213 | b9280dfa692a0986ef1bbc441ae9b449 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843599 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nilsrasa/FittsLawUnity",
"max_stars_repo_path": "Assets/Scripts/TestData/TestBlock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162819"
} | starcoder | <reponame>nilsrasa/FittsLawUnity
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
/// <summary>
/// This class contains all data required to make a TestBlockDTO.
/// It stores all parameters the user has selected in the GUI during the TestLoader scene.
//... | 2.117972 | dd2e28896f1df9955994351f6b902bc9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843600 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xudonax/DnsClient.NET",
"max_stars_repo_path": "src/DnsClient/DnsResponseMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162820"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using DnsClient.Protocol;
namespace DnsClient
{
internal class DnsResponseMessage
{
public DnsResponseMessage(DnsResponseHeader header, int messageSize)
{
Header = header ?? throw new ArgumentNullException(nameof(he... | 2.425629 | 10519481d3c4cc946e7e5fec2517fa9f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843601 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JTOne123/LibALAC",
"max_stars_repo_path": "LibALAC.NET/LibALACException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162821"
} | starcoder | <reponame>JTOne123/LibALAC<gh_stars>1-10
using System;
namespace LibALAC
{
class LibALACException : Exception
{
public LibALACException()
{
}
public LibALACException(string message) : base(message)
{
}
public LibALACException(string messa... | 1.835419 | e62966d181e5a13b8b9f3ef52b178456 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843602 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dervival/Lab0506-Zoo",
"max_stars_repo_path": "OOP_Principles_Zoo/OOP_Principles_Zoo/Classes/Dragon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162822"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using OOP_Principles_Zoo.Interfaces;
namespace OOP_Principles_Zoo.Classes
{
public class Dragon : Reptile, IHibernate, IFly
{
public override string AnimalName { get; set; } = "Dragon";
public override bool BreathesFire { get; ... | 3.370512 | 76b39262dab7e240c3f7f35e581852fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843603 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MStabryla/PolkuForum",
"max_stars_repo_path": "Models/View Models/CreateArticle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162823"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace PolkuForum.Models
{
public class CreateArticle
{
[Required]
public string Address
{ get; set; }
[Required]
public string Description
{ get; set; }
[Required]
public string Name
{ get;... | 1.805813 | dbf45511689fe9eafd45bbd3f2f132c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843604 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nico65535/Research.KihonEngineRewriteGameLogic",
"max_stars_repo_path": "source/KihonEngine/GameLogic/Terminal/Commands/GoToMainMenuCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162824"
} | starcoder | <reponame>nico65535/Research.KihonEngineRewriteGameLogic<gh_stars>0
using KihonEngine.Services.IoC;
using KihonEngine.State;
namespace KihonEngine.GameLogic.Terminal.Commands
{
public class GoToMainMenuCommand : TerminalCommandBase
{
private IGameStateServer State
=> Container.Get<IGameSta... | 1.804704 | 7100363d63edf6f824c7bda3e8da77bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843605 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "justin0522/hello_WCF",
"max_stars_repo_path": "TestAuthentication/MessageSecurity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162825"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.ServiceModel;
using System.ServiceModel.Security;
using System.Text;
using System.Threading.Tasks;
namespace TestAuthentication
{
class MessageSecurity
{
/// <summary>
... | 2.298472 | c280e2de155474f66ceabfa4cd96914b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843606 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Scalesoft/Scalesoft.WPF",
"max_stars_repo_path": "Solution/Scalesoft.WPF.Helpers/Behaviors/CloseWindowBehaviors.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162826"
} | starcoder | <filename>Solution/Scalesoft.WPF.Helpers/Behaviors/CloseWindowBehaviors.cs
using System.Windows;
namespace Scalesoft.WPF.Helpers.Behaviors
{
public class CloseWindowBehaviors
{
public static readonly DependencyProperty IsClosedProperty = DependencyProperty.RegisterAttached("IsClosed", typeof(bool), ty... | 2.869338 | 5cbf73a28d46647e9bc9d4f0172dd782 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843607 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "D-RyusukeMatsumoto/VContainerTest",
"max_stars_repo_path": "Assets/VContainer/Runtime/Internal/GCCollectScope.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162827"
} | starcoder | using System;
namespace VContainer.Internal
{
public sealed class GCCollectScope : IDisposable
{
public void Dispose()
{
GC.Collect();
}
}
}
| 1.73875 | 2ff08afb42b2b0626296c4537af6daf3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843608 | {
"extension": "c-sharp",
"max_stars_count": "144.0",
"max_stars_repo_name": "GSoft-SharePoint/dynamite",
"max_stars_repo_path": "Source/GSoft.Dynamite/Logging/ILoggerFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162828"
} | starcoder | <reponame>GSoft-SharePoint/dynamite
using System;
namespace GSoft.Dynamite.Logging
{
/// <summary>
/// The standard interface for creating ILogger objects.
/// </summary>
public interface ILoggerFactory
{
/// <summary>
/// Create the ILogger for a particular type.
/// </sum... | 2.406496 | f74e965831ff344535df6267ac24326b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843609 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrdving/Spire-Like",
"max_stars_repo_path": "Scripts/Animation/ShakeAni.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162829"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShakeAni : MonoBehaviour
{
public enum shakeType { twitch, strike, woble, vibrate, none}
private int curLevel = 0, secLevel = 0;
private float curPower = 0, curTime = 0;
private float secPower = 0, sec... | 2.620012 | 79c4d75953e5a5e9804a839c878f260f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843610 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "codeRusty/EasyException",
"max_stars_repo_path": "EasyException/Middleware/EasyExceptionHandlingMiddleware.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162830"
} | starcoder | <reponame>codeRusty/EasyException
using EasyException.Abstractions;
using EasyException.Models;
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
using System;
using System.Net;
using System.Threading.Tasks;
namespace EasyException.Middleware
{
public class EasyExceptionHandlingMiddleware
{
publ... | 2.479096 | 7a0d499234f5292d774294d482431983 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843611 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrHarrisonBarker/CorruptusConscribo",
"max_stars_repo_path": "CorruptusConscribo.Tests/When_Nested_Ternary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162831"
} | starcoder | <reponame>MrHarrisonBarker/CorruptusConscribo
using NUnit.Framework;
namespace CorruptusConscribo.Tests
{
[TestFixture]
public class When_Nested_Ternary : CompilerTest
{
public When_Nested_Ternary() : base(7, "./stage_6/expression/nested_ternary.c", "./stage_6/expression/")
{
}
... | 1.151542 | cae56d0069eaf6e3321cc85d834d1fa7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.