added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93561 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prajwalkadam7020/CSharp",
"max_stars_repo_path": "JayGanesh/JayGanesh/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93562"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JayGanesh
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("<NAME>");
Console.ReadLine();
Console.W... | 1.445373 | d014b34ee056879c6d41faa79137b4fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93562 | {
"extension": "c-sharp",
"max_stars_count": "2197.0",
"max_stars_repo_name": "joseocampo/samples",
"max_stars_repo_path": "framework/wcf/Scenario/Federation/CS/Common/RequestSecurityTokenResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93563"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
using System;
using System.IdentityModel.Tokens;
using System.Runtime.InteropServices;
using S... | 2.36213 | 232a30b3819edbfbfe37c31f1558ced7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93563 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VVoev/Telerik-Academy",
"max_stars_repo_path": "07.Unit Testing with C#/05. Workshop (Students)/Academy/Workshop/Academy.NewTests/Models/CourseTests/StartingDate_Should.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93564"
} | starcoder | using Academy.Models;
using NUnit.Framework;
using System;
namespace Academy.NewTests.Models.CourseTests
{
[TestFixture]
public class StartingDate_Should
{
public const string name = "George";
public const int lecturesPerWeek = 5;
public readonly DateTime start = new DateTime(2010... | 2.912092 | 2720d3c4ba1c3315f9398af25c0c4a7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93564 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "VN0/UNION-OpenSource-MOBA",
"max_stars_repo_path": "Project/Assets/PlayFabClientSDK/Standard assets/PlayFabGameBridge.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93565"
} | starcoder | <reponame>VN0/UNION-OpenSource-MOBA<filename>Project/Assets/PlayFabClientSDK/Standard assets/PlayFabGameBridge.cs
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Gun {
public float Frequency;
public float ConeAngle;
public float DamagePerSecond;
public float HitSoundVo... | 2.131065 | f9b533af08f77f81e0c146cf50e54046 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93565 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aooshi/adf",
"max_stars_repo_path": "Adf/SessionClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93566"
} | starcoder | using System;
namespace Adf
{
/// <summary>
/// session client
/// </summary>
public class SessionClient : MemcachePool
{
const int HASH_BUCKET = 255;
/// <summary>
/// max ttl (2592000)
/// </summary>
public const int MAX_TTL = 60 * 60 * 24 * 30;
... | 2.639256 | eb376bf381bd2e68afd6921a12abd03f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93566 | {
"extension": "c-sharp",
"max_stars_count": "99.0",
"max_stars_repo_name": "jhliptak/VisioAutomation",
"max_stars_repo_path": "VisioAutomation_2010/VisioAutomation.Models/LayoutStyles/CircularLayoutStyle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93567"
} | starcoder | using IVisio = Microsoft.Office.Interop.Visio;
namespace VisioAutomation.Models.LayoutStyles
{
public class CircularLayoutStyle : LayoutStyleBase
{
public CircularLayoutStyle()
{
this.ConnectorStyle = ConnectorStyle.CenterToCenter;
}
protected override v... | 2.092043 | 05b342f779dfc143ed55de32de1a39e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93567 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bradmb/leapify",
"max_stars_repo_path": "Core.LeapMotion/Gestures/Controller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93568"
} | starcoder | <filename>Core.LeapMotion/Gestures/Controller.cs
using Leap;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core.LeapMotion.Gestures
{
public delegate void LeapMessageHandler(string message);
public delegate void LeapActionHandler... | 2.654212 | f8c055e863df0dc19083c85b3a74a2f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93568 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nesfit/Coffee",
"max_stars_repo_path": "Barista.StockOperations/Queries/BrowseStockOperations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93569"
} | starcoder | <gh_stars>0
using System;
using System.Linq;
using Barista.Common;
using Barista.StockOperations.Domain;
using Barista.StockOperations.Dto;
namespace Barista.StockOperations.Queries
{
public class BrowseStockOperations : PagedQuery<StockOperationDto>, IPagedQueryImpl<StockOperation>
{
public Guid[] St... | 1.950053 | 57ec00d77baa556f57b35938fe125453 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93569 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "allenbiehl/GameHub",
"max_stars_repo_path": "Assets/Scripts/Games/TicTacToe2D/AI/Strategy/VertexComputerStrategy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93570"
} | starcoder | <reponame>allenbiehl/GameHub
using System.Linq;
using System.Collections.Generic;
using UnityEngine;
namespace GameHub.Games.TicTacToe2D.AI.Strategy
{
/// <summary>
/// Class <c>VertextComputerStrategy</c> is an experimental strategy design to
/// address the scale limitations of the <c>Minimax</c> strate... | 2.874535 | 9c4b672438354c82b42bff34e34c70fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93570 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Therzok/MonoDevelop.Analyzers",
"max_stars_repo_path": "MonoDevelop.Analyzers/MonoDevelop.Analyzers/CommonErrors/GtkLocalizationCodeFixProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93571"
} | starcoder | using System;
using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeActions;
u... | 1.888585 | 7ac7ee829b32edcc37fcfd12bc6f4ada |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93571 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Sathiyaraman-M/Endurance",
"max_stars_repo_path": "Quark.Core/Validators/Features/Patrons/AddEditPatronCommandValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93572"
} | starcoder | <gh_stars>1-10
using Quark.Core.Features.Patrons.Commands;
namespace Quark.Core.Validators.Features.Patrons;
public class AddEditPatronCommandValidator : AbstractValidator<AddEditPatronCommand>
{
public AddEditPatronCommandValidator()
{
RuleFor(x => x.FirstName).NotEmpty().WithMessage(x => "First Nam... | 2.338817 | 2e6e6154593acf53ce965924f36fb95e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93572 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "pbakshy/Selenol",
"max_stars_repo_path": "Selenol/Elements/BaseTextInputElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93573"
} | starcoder | // Copyright (c) <NAME>, <NAME>. All rights reserved. See License.txt in the project root for license information.
using System;
using OpenQA.Selenium;
namespace Selenol.Elements
{
/// <summary>The base text input element.</summary>
public abstract class BaseTextInputElement : BaseHtmlElement
{... | 3.103174 | 209217948df554f7e8423e52dc266784 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93573 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "viet-nguyen-izundo/brandeis-storyforce",
"max_stars_repo_path": "Shared/Models/Tag.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93574"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace StoryForce.Shared.Models
{
public class Tag : Filter
{
public override string Type { get; } = "Tag";
}
}
| 1.577531 | 1ce1680278e28b4c7c8a0fdc963550c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93574 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kris701/JanC",
"max_stars_repo_path": "CodeGeneratorTests/ArduinoC/DomainGenerator/Listeners/SetupStructLiteralVarListenerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93575"
} | starcoder | <filename>CodeGeneratorTests/ArduinoC/DomainGenerator/Listeners/SetupStructLiteralVarListenerTests.cs
using CodeGenerator.ArduinoC.DomainGenerator.Listeners;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.... | 2.284231 | 4953a369389133dfd56694df346b8c67 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93575 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emipa606/Aquarium",
"max_stars_repo_path": "Source/Aquarium/Toils_AQClean.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93576"
} | starcoder | using RimWorld;
using Verse;
using Verse.AI;
namespace Aquarium;
public class Toils_AQClean
{
public static Toil FinalizeCleaning(TargetIndex cleanable)
{
var toil = new Toil();
toil.initAction = delegate
{
var AQComp = toil.actor.CurJob.GetTarget(cleanable).Thing.TryGetCom... | 2.087373 | e40fd9e6077cba703dad0809dbd92c0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93576 | {
"extension": "c-sharp",
"max_stars_count": "17104.0",
"max_stars_repo_name": "jonetomtom/mars",
"max_stars_repo_path": "samples/UWP/UWPDemo/src/proto/SendMessageResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93577"
} | starcoder | <filename>samples/UWP/UWPDemo/src/proto/SendMessageResponse.cs
// Generated by ProtoGen, Version=2.3.0.277, Culture=neutral, PublicKeyToken=<KEY>. DO NOT EDIT!
#pragma warning disable 1591, 0612
#region Designer generated code
using pb = global::Google.ProtocolBuffers;
using pbc = global::Google.ProtocolBuffers.... | 1.7317 | e8f3c82b2965bef3eb2b10ffa7335eef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93577 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "YingHuiThe/la-yumba-functional-csharp-code",
"max_stars_repo_path": "Examples/Chapter11/Try.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93578"
} | starcoder | <reponame>YingHuiThe/la-yumba-functional-csharp-code<gh_stars>10-100
using System;
using LaYumba.Functional;
using static LaYumba.Functional.F;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
namespace Examples.Chapter11
{
public class TryTests
{
Exceptional<Uri> Boilerplate_Crea... | 2.7512 | 97d521b7b568d2ff32c17ce47e54d1fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93578 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "juliosoft/JulioStore",
"max_stars_repo_path": "JulioStore.Domain/StoreContext/Enums/eADRESSTYPE.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93579"
} | starcoder | <reponame>juliosoft/JulioStore<filename>JulioStore.Domain/StoreContext/Enums/eADRESSTYPE.cs<gh_stars>0
namespace JulioStore.Domain.StoreContext.Enums
{
public enum eADRESSTYPE
{
Shipping = 1,
Billing = 2
}
} | 1.43502 | e1b6b04908afea5d8693787c6f110ae1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93579 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pavelkostenkov/entities",
"max_stars_repo_path": "Entities.Domain/Products/ExploitedProducts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93580"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Entities.Domain.Abstract;
using Entities.Domain.Abstract.Entities.Exploitable;
using Entities.Domain.Abstract.Repositories;
using Entities.Domain.Repositories;
using Product = Entities.Domain.Entities.Product... | 2.560997 | d1f4ab5b664338cc3ed4f047e359bec0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93580 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "briandenicola/blazor-learnings",
"max_stars_repo_path": "src/IPAddressItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93581"
} | starcoder | public class IPAddressItem
{
public string? IP { get; set; }
} | 1.844277 | 299242969b2cf4c7a0f028f67e49e124 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93581 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StoichoK/Macros",
"max_stars_repo_path": "Makronutrienti/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93582"
} | starcoder | using System;
namespace Makronutrienti
{
class Makronutrienti
{
static void Main()
{
Console.WriteLine("---------------------- Полезна информация:");
Console.WriteLine("Въглехидрати:");
Console.WriteLine("- ПРОСТИ *бързи (монозахариди);");
... | 2.863995 | dcafbf87ee8ca76b2ac6062864b56592 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93582 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Xevle/Xevle.IO",
"max_stars_repo_path": "FileSystem/FileOperations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93583"
} | starcoder | using System;
using System.IO;
using System.Collections.Generic;
namespace Xevle.IO
{
/// <summary>
/// Class for file operations.
/// </summary>
public static class FileOperations
{
#region Read only operations
/// <summary>
/// Existses the file.
/// </summary>
/// <returns><c>true</c>, if file was e... | 3.439628 | 1a1098fe05a9ac90003802253f6b3e48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93583 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "uShip/uShip.Logging",
"max_stars_repo_path": "src/uShip.Logging/FubuCoreExtensions/StreamExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93584"
} | starcoder | <reponame>uShip/uShip.Logging
using System.IO;
namespace uShip.Logging.Extensions
{
internal static class StreamExtensions
{
internal static string ReadAllText(this Stream stream)
{
var reader = new StreamReader(stream);
return reader.ReadToEnd();
}
}
} | 2.278516 | f3486294913c5e5a9f63cb2e84e62fc6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93584 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iivchenko/kenney-asteroids",
"max_stars_repo_path": "src/KenneyAsteroids.Engine/Particles/ParticleEngine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93585"
} | starcoder | <reponame>iivchenko/kenney-asteroids
using KenneyAsteroids.Engine.Entities;
using KenneyAsteroids.Engine.Graphics;
using KenneyAsteroids.Engine.Rules;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
namespace KenneyAsteroids.Engine.Particles
{
public sealed class Particle... | 2.417042 | 6fdbdea18d1c986990361b5fbfd4a084 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93585 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CoCo3-org/Retro.BASIC",
"max_stars_repo_path": "C#/BASICLib/Statement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93586"
} | starcoder | <reponame>CoCo3-org/Retro.BASIC<filename>C#/BASICLib/Statement.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Retro.BASIC
{
public class Statement : Node
{
public Statement(Node parent = null)
: base(parent)
{
}
}
}
| 1.810586 | b093cadf7b847971c05412883838d8ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93586 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oliversturm/cs-demos",
"max_stars_repo_path": "3.0/ExtensionMethods/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93587"
} | starcoder | <reponame>oliversturm/cs-demos
// Copyright 2010 <NAME> <<EMAIL>> All rights reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ExtensionMethods {
using MyStuff;
class Program {
static void Main(string[] args) {
string[] strings = { "... | 3.355092 | c54860a41e410681960ed4a7a0812b8d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93587 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rattiel/Twitch",
"max_stars_repo_path": "Twitch/Twitch/Common/Exceptions/NoResultException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93588"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Twitch
{
public sealed class NoResultException : Exception
{
public NoResultException() : base()
{ }
public NoResultException(string message) : bas... | 1.581059 | e2211a9c065e65fd72f121c015c7d565 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93588 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "pedro15/MoonBehavior",
"max_stars_repo_path": "Assets/MoonBehavior/Src/Editor/Core/Inspector/MemoryItemDrawer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93589"
} | starcoder | <reponame>pedro15/MoonBehavior
using UnityEditor;
using UnityEngine;
using MoonBehavior.Memory;
namespace MoonBehaviorEditor.Core.Inspector
{
/// <summary>
/// Custom drawer for memory item class..
/// </summary>
[CustomPropertyDrawer(typeof(MemoryItem))]
class MemoryItemDrawer : PropertyDrawer
... | 2.36314 | efd6224ef85b17928da81153f96b7bd6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93589 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EnderHorror/TravalWander",
"max_stars_repo_path": "Assets/Script/ComposeManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93590"
} | starcoder | <reponame>EnderHorror/TravalWander
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ComposeManager : MonoBehaviour
{
public bool isOpen =false;
public AudioClip audio;
private void Start()
{
transform.localScale = Vector3.zero;
}
private void... | 1.878748 | 724c96765dbaf6d1e1f8db397dc57385 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93590 | {
"extension": "c-sharp",
"max_stars_count": "481.0",
"max_stars_repo_name": "pj-evans/microsoft-identity-web",
"max_stars_repo_path": "src/Microsoft.Identity.Web/InstanceDiscovery/IssuerMetadata.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93591"
} | starcoder | <reponame>pj-evans/microsoft-identity-web
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Text.Json.Serialization;
namespace Microsoft.Identity.Web.InstanceDiscovery
{
/// <summary>
/// Model class to hold information parsed from the Azure AD issue... | 1.805423 | 6334d59d70441a459c04dbbfc95285e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93591 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ai408/abp-vue-admin-element-typescript",
"max_stars_repo_path": "aspnet-core/modules/apigateway/LINGYUN.ApiGateway.Domain/LINGYUN/ApiGateway/Ocelot/Headers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93592"
} | starcoder | using Volo.Abp.Domain.Entities;
namespace LINGYUN.ApiGateway.Ocelot
{
public class Headers : Entity<int>
{
public virtual long ReRouteId { get; private set; }
public virtual string Key { get; private set; }
public virtual string Value { get; private set; }
protected Head... | 2.232901 | 6b3bcec40f95a6568541ea103c2cb369 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93592 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "GridProtectionAlliance/openXDA",
"max_stars_repo_path": "Source/Libraries/openXDA.PQTrendingWebReport/PQTrendingWebReportEngine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93593"
} | starcoder | //******************************************************************************************************
// ReportsEngine.cs - Gbtc
//
// Copyright © 2018, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// t... | 1.648574 | c9d95305ee5ca59bc9e042796d1bf2e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93593 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jwtill/SillyStringz.Solution",
"max_stars_repo_path": "Factory/Views/Machines/Details.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:93594"
} | starcoder | <reponame>jwtill/SillyStringz.Solution
@{
Layout = "_Layout";
}
<h2>Machine Details</h2>
<div class = "main">
@model Factory.Models.Machine;
<h3>@Html.DisplayNameFor(model => model.Name): @Html.DisplayFor(model => model.Name)</h3>
@if (@Model.JoinEntities.Count == 0)
{
<p>This machine does not have any e... | 2.829668 | f53972225806d6d3d69ee06637212508 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93594 | {
"extension": "c-sharp",
"max_stars_count": "62.0",
"max_stars_repo_name": "Miragecoder/Urbanization",
"max_stars_repo_path": "src/Mirage.Urbanization.WinForms/FormManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93595"
} | starcoder | <gh_stars>10-100
using System;
using System.Windows.Forms;
namespace Mirage.Urbanization.WinForms
{
class FormManager<TForm>
where TForm : Form
{
private readonly Func<TForm> _factory;
private TForm _currentFormInstance;
public FormManager(Func<TForm> factory)
{
... | 2.381332 | 225f51f37becf64bc52cef5ad30ebdb8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93595 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gusterugamer/MeshCuttingGame",
"max_stars_repo_path": "Assets/_Blastproof/TOOLS/ShapeEditingTool.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93596"
} | starcoder | <reponame>gusterugamer/MeshCuttingGame
using BlastProof;
using Sirenix.OdinInspector;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEngine.U2D;
using UnityEngine.UIElements;
namespace Blastproof.Tools
{
[CreateAssetMenu(menuName = "Blastproof/TOOLS/SpriteEditingTool")]
publi... | 1.790488 | f2305f87abd4efb9958326d480317c3a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93596 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Transurgeon/ProjectEuler.Net",
"max_stars_repo_path": "Problems 41-50/Problem43.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93597"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace ProjectEuler.Net.Problems_41_50
{
class Problem43
{
/* static void Main(string[] args)
{
findSubStringDivisibility();
//Console.WriteLine(isSubDivisible("1406357829",pr... | 3.537765 | 17f82fd028b97d78096ddb19f75e8c1e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93597 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stoyanovmiroslav/CSharp-Fundamentals",
"max_stars_repo_path": "CSharp Advanced/Stacks and Queues - Exercise/05. Sequence With Queue/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93598"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
namespace _05._Sequence_With_Queue
{
class Program
{
static void Main(string[] args)
{
long n = long.Parse(Console.ReadLine());
Queue<long> queue = new Queue<long>();
queue.Enqueue(n);... | 3.603418 | 87fc7cc41cd8402cd1413b415f73a289 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93598 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "Rusev12/Software-University-SoftUni",
"max_stars_repo_path": "Programming Fundamentals/Data Types and Variables - Exercises/11. Convert Speed Units/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93599"
} | starcoder | using System;
namespace Convert_Speed_Units
{
public class Convert_Speed_Units
{
public static void Main(string[] args)
{
float distanceInMeters = float.Parse(Console.ReadLine());
float hours = float.Parse(Console.ReadLine());
float minutes = float.Parse(Con... | 3.855794 | 0d2248cd1946e0e91feb6de8800c99c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93599 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xuankaicat/Maota",
"max_stars_repo_path": "scripts/ShopUI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93600"
} | starcoder | using Godot;
using Maota.scripts.enums;
namespace Maota.scripts
{
// ReSharper disable once ClassNeverInstantiated.Global
public class ShopUI : Control
{
#region 系统部分
private Button _closeButton;
private Label _titleLabel;
private TextureRect _face;
private Label _te... | 2.01961 | f2b88c210241bd4f566824a97c8372fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93600 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "keijiro/Republic",
"max_stars_repo_path": "Assets/Republic/WallFx/SliceScroll.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93601"
} | starcoder | <filename>Assets/Republic/WallFx/SliceScroll.cs
using UnityEngine;
namespace Republic.WallFx
{
class SliceScroll : MonoBehaviour
{
[SerializeField] Color _color = Color.white;
[SerializeField, Range(1, 16)] float _density = 1;
[SerializeField, Range(1, 512)] float _rows = 64;
[S... | 2.246094 | 7d8c347bad005e87b4af97aeade80c77 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93601 | {
"extension": "c-sharp",
"max_stars_count": "54.0",
"max_stars_repo_name": "pvanbuijtene/EventStore-Client-Dotnet",
"max_stars_repo_path": "src/EventStore.Client/StreamPosition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93602"
} | starcoder | using System;
#nullable enable
namespace EventStore.Client {
/// <summary>
/// A structure referring to an <see cref="EventRecord"/>'s position within a stream.
/// </summary>
public readonly struct StreamPosition : IEquatable<StreamPosition>, IComparable<StreamPosition>, IComparable, IPosition {
private readonl... | 3.250109 | 959532f8290a789d2ec2ef5d0c0daf61 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93602 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Foxify52/OpenViva",
"max_stars_repo_path": "Assets/Scripts/EggYolk.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93603"
} | starcoder | using UnityEngine;
namespace viva
{
public class EggYolk : SubstanceSpill
{
[SerializeField]
private Rigidbody[] rigidBodies;
public Transform spawnParent = null;
private Vector3 spawnPos;
private int yolkBoneDrop = 0;
private float yolkBoneDropTimer = 0.0f... | 2.171249 | cee16e21e42c049fb09a952034f3d24a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93603 | {
"extension": "c-sharp",
"max_stars_count": "63.0",
"max_stars_repo_name": "Baggins800/pusher-websocket-dotnet",
"max_stars_repo_path": "PusherClient/Exception/ChannelException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93604"
} | starcoder | <filename>PusherClient/Exception/ChannelException.cs
using System;
namespace PusherClient
{
/// <summary>
/// This exception is raised when when a channel subscription error is detected.
/// </summary>
public class ChannelException : PusherException, IChannelException
{
/// <summary>
... | 3.058475 | 825c5f8904a4253b6d36d52237bdc3ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93604 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "iwiwsb/MFT-1",
"max_stars_repo_path": "SDS/SdhFile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93605"
} | starcoder | <gh_stars>10-100
using System.IO;
namespace Secure
{
public static class SdhFile
{
public static Sdh Load(string sdhFile)
{
if (File.Exists(sdhFile) == false)
{
throw new FileNotFoundException($"'{sdhFile}' not found");
}
using (... | 2.657079 | e32163d20a85dabbd110c794e902f5ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93605 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zhichkin/dajet-exchange-agent",
"max_stars_repo_path": "src/dajet-rabbitmq-producer/DaJetMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93606"
} | starcoder | using System;
namespace DaJet.RabbitMQ.Producer
{
public sealed class DaJetMessage
{
public long UTC { get; set; }
public Guid Uuid { get; set; }
public string MessageType { get; set; }
public string MessageBody { get; set; }
public string OperationType { get; set; }
... | 1.457556 | 335301717c63bb217d7f2e2b7cc8121a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93606 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JFouts-BlueModus/kentico-contrib",
"max_stars_repo_path": "src/CMS/CMSModules/ImportExport/Controls/NewSiteType.ascx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93607"
} | starcoder | <gh_stars>1-10
using System;
using CMS.UIControls;
public partial class CMSModules_ImportExport_Controls_NewSiteType : CMSUserControl
{
#region "Properties"
/// <summary>
/// Returns true if the template should be selected.
/// </summary>
public bool SelectTemplate
{
g... | 1.726363 | 64e66ea859eac85aa5eb56f64b3e3b83 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93607 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AleksaPapovic/HealthCareSystem",
"max_stars_repo_path": "ZdravoKorporacija/ZdravoKorporacija/Stranice/LekoviCRUD/DodavanjeAlternativnihLekova.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93608"
} | starcoder | <filename>ZdravoKorporacija/ZdravoKorporacija/Stranice/LekoviCRUD/DodavanjeAlternativnihLekova.xaml.cs
using Model;
using Repository;
using Service;
using System.Collections.ObjectModel;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using ZdravoKorporacija.DTO;
namespace ZdravoKorporacija.St... | 2.241705 | b8603049750a25d86cd8c69e42ccdd9c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93608 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jfmc/FPSSample",
"max_stars_repo_path": "Assets/Scripts/Utils/Primitives/collision.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93609"
} | starcoder | <filename>Assets/Scripts/Utils/Primitives/collision.cs
using System.Runtime.CompilerServices;
using UnityEngine;
using static Unity.Mathematics.math;
namespace CollisionLib
{
using Unity.Mathematics;
using Primitives;
public static partial class coll
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public... | 2.659361 | f32c8e137b33685c0b57ed6a429d0689 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93609 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "davidbritch/dotnet-maui-samples",
"max_stars_repo_path": "UserInterface/ControlGallery/ControlGallery/Views/XAML/SwitchDemoPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93610"
} | starcoder | <gh_stars>1-10
using System;
using Microsoft.Maui.Controls;
namespace ControlGallery.Views.XAML
{
public partial class SwitchDemoPage : ContentPage
{
public SwitchDemoPage()
{
InitializeComponent();
}
}
} | 1.121734 | ecac9c5d448f55df962f35553144ddc6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93610 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "nickyandreev/AssemblyDefender",
"max_stars_repo_path": "src/AssemblyDefender.Net/CodeModel/Module/IModuleSignature.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93611"
} | starcoder | <reponame>nickyandreev/AssemblyDefender
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AssemblyDefender.Net
{
public interface IModuleSignature : ISignature
{
string Name
{
get;
}
}
}
| 1.314219 | 12f17f52a21d74134b86e303d83e9f3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93611 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mohamadaoda/DirectPackageInstaller",
"max_stars_repo_path": "IO/VirtualStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93612"
} | starcoder | using System;
using System.IO;
using System.Threading.Tasks;
namespace DirectPackageInstaller
{
public class VirtualStream : Stream
{
private Stream Package;
public long FilePos { get; private set; } = 0;
private long Len;
internal VirtualStream(Stream Package, long Pos, long ... | 3.058291 | e13a2dff25bf861e2ce7058c4fce3276 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93612 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "byCrookie/Framework",
"max_stars_repo_path": "src/Framework.Jab/Time/ITimeModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93613"
} | starcoder | <filename>src/Framework.Jab/Time/ITimeModule.cs
using Framework.Time;
using Jab;
namespace Framework.Jab.Time;
[ServiceProviderModule]
[Transient(typeof(IDateTimeProvider), typeof(DateTimeProvider))]
internal interface ITimeModule
{
} | 1.320986 | 917f127adb38707aec4ae376d7f3c87f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93613 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JensenJ/AncientCityBuilder",
"max_stars_repo_path": "Assets/Scripts/Resources/GameResources.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93614"
} | starcoder | <filename>Assets/Scripts/Resources/GameResources.cs
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameResources
{
public static event EventHandler OnGoldAmountChanged;
private static int goldAmount;
public static void AddGoldAmount(int amount)
... | 2.630378 | 96cded11802a9ec998f68d438742122c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93614 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Mutuduxf/Zaabee.Redis",
"max_stars_repo_path": "src/Zaabee.StackExchangeRedis/Zaabee.StackExchangeRedis.Abstractions/IListSync.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93615"
} | starcoder | <filename>src/Zaabee.StackExchangeRedis/Zaabee.StackExchangeRedis.Abstractions/IListSync.cs
using System.Collections.Generic;
namespace Zaabee.StackExchangeRedis.Abstractions
{
public interface IListSync
{
T ListGetByIndex<T>(string key, long index);
long ListInsertAfter<T>(string key,... | 2.278332 | 3ca5b3c6375cfe4e9b6c8b70233aa38a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93615 | {
"extension": "c-sharp",
"max_stars_count": "68.0",
"max_stars_repo_name": "IKende/XRPC",
"max_stars_repo_path": "src/Clients/XRPCClientDelegateExpend.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93616"
} | starcoder | <filename>src/Clients/XRPCClientDelegateExpend.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using System.Threading.Tasks;
using System.Collections.Concurrent;
using BeetleX.Clients;
using System.Linq;
namespace BeetleX.XRPC.Clients
{
public partial class XRPCClien... | 2.411979 | e0239bdcd19b81dc53d5d83ec8cfcd3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93616 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "mattleibow/SkiaSharpMultiThreadedLists",
"max_stars_repo_path": "MultiThreadedLists/MainPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93617"
} | starcoder | using System.Linq;
using Xamarin.Forms;
namespace MultiThreadedLists
{
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
// create some data
var dataItems = Enumerable.Range(1, 100)
.Select(x => new Dat... | 2.603363 | 35ec0784846ffcd0deb6583317a25e79 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93617 | {
"extension": "c-sharp",
"max_stars_count": "390.0",
"max_stars_repo_name": "EDCD/EliteDangerousDataProvider",
"max_stars_repo_path": "DataDefinitions/Properties/MessageSources.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93618"
} | starcoder | <filename>DataDefinitions/Properties/MessageSources.Designer.cs
//------------------------------------------------------------------------------
// <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 l... | 1.974711 | 7fafde86fd256bcc909703a7ad82b74f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93618 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "moarpheus/social-care-case-viewer-api",
"max_stars_repo_path": "SocialCareCaseViewerApi.Tests/V1/UseCase/Residents/UpdateResidentTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93619"
} | starcoder | using Bogus;
using Moq;
using NUnit.Framework;
using SocialCareCaseViewerApi.V1.Boundary.Requests;
using SocialCareCaseViewerApi.V1.Gateways.Interfaces;
using SocialCareCaseViewerApi.V1.UseCase;
#nullable enable
namespace SocialCareCaseViewerApi.Tests.V1.UseCase.Residents
{
[TestFixture]
public class UpdateRes... | 2.065695 | 8a7455b0ad01bbfa631c7324e8d05bbd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93619 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "indiebox/equality-desktop",
"max_stars_repo_path": "Equality/ModuleInitializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93620"
} | starcoder | <gh_stars>0
using System;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using Catel.Reflection;
/// <summary>
/// All code inside the Initialize method is ran as soon as the assembly is loaded.
/// </summary>
public static class ModuleInitializer
{
[ModuleInitializer]
publ... | 2.037345 | 536724cb1507702f296328ae3614f846 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93620 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bradhead/Keycloak-AuthZClient-DotNetCore",
"max_stars_repo_path": "sdk/src/Authorization/Representations/PermissionTicket.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93621"
} | starcoder | //-------------------------------------------------------------------------
// Copyright © 2020 Province of British Columbia
//
// 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://w... | 1.763132 | 4653527fa7e878b7760be5f3ed2d95bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93621 | {
"extension": "c-sharp",
"max_stars_count": "107.0",
"max_stars_repo_name": "blakeohare/crayon",
"max_stars_repo_path": "Compiler/Exporter/CbxVmBundleExporter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93622"
} | starcoder | <reponame>blakeohare/crayon
using Build;
using Common;
using CommonUtil.Disk;
using System;
using System.Collections.Generic;
namespace Exporter
{
public static class CbxVmBundleExporter
{
public static ExportResponse Run(
string platformId,
string projectDirectory,... | 1.903396 | f328ba0c6e653ee0a0d1227cc758d154 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93622 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "callowcreation/irc-nect",
"max_stars_repo_path": "Channel/Monitor/Replies/Actions/ActionTypes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93623"
} | starcoder | <gh_stars>1-10
#region Author
/*
<NAME> (caLLow)
Another caLLowCreation
Visit us on Google+ and other social media outlets @caLLowCreation
Thanks for using our product.
Send questions/comments/concerns/requests to
e-mail: <EMAIL>
subject: IRCnect
... | 2.58152 | 11665b3cf8f29488af3a44fbbd4accdd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93623 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Whiteknight/ParserObjects",
"max_stars_repo_path": "ParserObjects/Parsers/TryParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93624"
} | starcoder | using System;
using System.Collections.Generic;
using ParserObjects.Utility;
namespace ParserObjects.Parsers
{
public static class Try
{
public static void DefaultExamine(Exception _)
{
// This is a default method, intentionally left blank
}
public class Parser<TIn... | 2.820834 | 37e36532d010da1c5536962302a8b6af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93624 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NuKeeperBot/JustSaying",
"max_stars_repo_path": "JustSaying/Messaging/MessageSerialisation/MessageSerialisationRegister.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93625"
} | starcoder | <filename>JustSaying/Messaging/MessageSerialisation/MessageSerialisationRegister.cs
using System;
using System.Collections.Generic;
using JustSaying.Models;
namespace JustSaying.Messaging.MessageSerialisation
{
public class MessageSerialisationRegister : IMessageSerialisationRegister
{
private readonly... | 2.998883 | 88488c667a70c978e4f7c3af6cc86463 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93625 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "pes7/TelegramBots",
"max_stars_repo_path": "Pes7BotCrator/Type/ISynkCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93626"
} | starcoder | <filename>Pes7BotCrator/Type/ISynkCommand.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pes7BotCrator.Type
{
public interface ISynkCommand
{
TypeOfCommand Type { get; set; }
TypeOfAccess TypeOfAccess { get; set;... | 2.251303 | 07509388b69d521173f5f4d2a4d303ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93626 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BlazorHub/EventHorizon.Blazor.TypeScript.Interop.Generator",
"max_stars_repo_path": "Sample/_generated/EventHorizon.Blazor.BabylonJS.WASM/BoundingInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93627"
} | starcoder | /// Generated - Do Not Edit
namespace BabylonJS
{
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using EventHorizon.Blazor.Interop;
using EventHorizon.Blazor.Interop.Callbacks;
using Microsoft.JSInterop;
[Jso... | 1.921465 | f925245e6a3c7c7e4d50f247a4625e75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jaredthirsk/LionFire.Core",
"max_stars_repo_path": "src/LionFire.IO.Filesystem/IO/RFileStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93628"
} | starcoder | <filename>src/LionFire.IO.Filesystem/IO/RFileStream.cs<gh_stars>0
using LionFire.Persistence;
using LionFire.Resolves;
using MorseCode.ITask;
using System;
using System.IO;
using System.Threading.Tasks;
namespace LionFire.IO
{
// REVIEW
public class RFileStream : RLocalFileBase<Stream>, IDisposable
{
... | 2.367799 | fda52983c41ce54111935cacd9af1957 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93628 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-apim-endpoints",
"max_stars_repo_path": "src/SFA.DAS.Recruit.Api.UnitTests/Controllers/TrainingProgrammes/WhenGettingAllTrainingProgrammes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93629"
... | starcoder | using System;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using AutoFixture.NUnit3;
using FluentAssertions;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Moq;
using NUnit.Framework;
using SFA.DAS.Recruit.Api.Controllers;
using SFA.DAS.Recruit.Api.Models;
using SFA.DAS.Recruit.Applica... | 1.891698 | 8abe3c090e940a5aae9037eae4dfd4f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93629 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "binary-hideout/pc-info",
"max_stars_repo_path": "PCInfoDesktop/Models/InstalledApplication.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93630"
} | starcoder | using System;
using System.Globalization;
namespace PCInfoDesktop.Models {
/// <summary>
/// Data of an installed application (software) in the PC.
/// </summary>
public class InstalledApplication {
/// <summary>
/// Name of the application.
/// </summary>
public string... | 3.366911 | 74cd7b9549b47e3c913614b971649aca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "netcode-gamer/game.ultimaonline.io",
"max_stars_repo_path": "UltimaOnline.Data/Items/New Haven Quest Rewards/HallowedSpellbook.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93631"
} | starcoder | using System;
using UltimaOnline;
namespace UltimaOnline.Items
{
public class HallowedSpellbook : Spellbook
{
public override int LabelNumber { get { return 1077620; } } // Hallowed Spellbook
[Constructable]
public HallowedSpellbook() : base(0x3FFFFFFFF)
{
... | 2.591767 | f62ba9b3eb8ee26585839d1bd9471941 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93631 | {
"extension": "c-sharp",
"max_stars_count": "2291.0",
"max_stars_repo_name": "X10sions/linq2db",
"max_stars_repo_path": "Tests/Linq/UserTests/Issue3043Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93632"
} | starcoder | using System;
using System.Linq;
using System.Linq.Expressions;
using FluentAssertions;
using LinqToDB;
using LinqToDB.Mapping;
using NUnit.Framework;
namespace Tests.UserTests
{
[TestFixture]
public class Issue3043Tests : TestBase
{
public class City3043
{
[Column, PrimaryKey]
public int... | 2.559374 | 68a1b26026b3dfa424b73c472a1cb344 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93632 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chencai01/scada-v6",
"max_stars_repo_path": "ScadaComm/ScadaComm/ScadaCommCommon/CommUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93633"
} | starcoder | <reponame>chencai01/scada-v6<filename>ScadaComm/ScadaComm/ScadaCommCommon/CommUtils.cs
/*
* Copyright 2022 Rapid Software LLC
*
* 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
*
* ... | 2.155051 | 37ce9985cebcc22459d1106f7d792711 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93633 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lastr2d2/webapiseed",
"max_stars_repo_path": "WayneStudio.SeedProject.WebAPI/Controllers/HomeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93634"
} | starcoder | <filename>WayneStudio.SeedProject.WebAPI/Controllers/HomeController.cs
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace WayneStudio.SeedProject.WebAPI.Controllers
{
public class HomeController : ApiController
{
[HttpGet]
public HttpResponseMessage Index()
{
... | 2.584661 | 36f817a7413c00f5239c2b6bb574e4b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kennybello099/TechTree",
"max_stars_repo_path": "TechTreeMVC/Areas/TheAdmin/Models/UsersCategoryListModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93635"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TechTreeMVC.Areas.TheAdmin.Models
{
public class UsersCategoryListModel
{
public int CategoryId { get; set; }
public ICollection<UserModel> Users { get; set; } //contain all the users re... | 1.928672 | 1b1fec8eb8c7d297f2d2a1bc03c93d2e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93635 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rdragon/blob-backup",
"max_stars_repo_path": "BlobBackup.Test/Box.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93636"
} | starcoder | <filename>BlobBackup.Test/Box.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlobBackup.Test
{
public record Box(BlobProvider BlobProvider, BackupProvider BackupProvider, RestoreProvider RestoreProvider, FileProvider FileProvider);
... | 1.474131 | 2341f48657a23f175f8f04df3d8855c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93636 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "briang123/DesignPatterns",
"max_stars_repo_path": "Model-View-Controller/StudentController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93637"
} | starcoder | namespace Model_View_Controller
{
/// <summary>
/// Step 3 - Create Controller
/// </summary>
public class StudentController
{
private readonly Student _model;
private readonly StudentView _view;
public StudentController(Student model, StudentView view)
{
... | 3.37921 | ce8b7f2aa1fb6195a9de311e93561509 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93637 | {
"extension": "c-sharp",
"max_stars_count": "288.0",
"max_stars_repo_name": "kaobeixingfu/we-text",
"max_stars_repo_path": "src/WeText.Querying.MySqlClient/MySqlTableDataGateway.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93638"
} | starcoder | <reponame>kaobeixingfu/we-text<filename>src/WeText.Querying.MySqlClient/MySqlTableDataGateway.cs
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WeText.Common.Querying;
namespace ... | 2.219636 | 2fd21e0d32b9bf26af20dd9a763607c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93638 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Growney/Eve.Applications.Core",
"max_stars_repo_path": "Eve.EveAuthTool.Standard/Security/AllowedCharacters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93639"
} | starcoder | using Eve.ESI.Standard.AuthenticatedData;
using System.Collections.Generic;
namespace Eve.EveAuthTool.Standard.Security
{
public class AllowedCharacters
{
public Dictionary<long, AuthenticatedEntity> Characters { get; }
public HashSet<long> AccountCharacters { get; }
public AllowedCha... | 2.798536 | 9657d118768cb839673ffea2bb9a94e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93639 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cluco91/TiendaOnline",
"max_stars_repo_path": "MvcMusicStore/Views/Checkout/AddressAndPayment.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:93640"
} | starcoder | @model MvcMusicStore.Models.Order
@{
ViewBag.Title = "Direccion y Pago";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@using (Html.BeginForm()) {
... | 2.344666 | c9f5cff465e3012f8adaa7502a1119c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93640 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sunkaiiii/FIT5032_Assignment",
"max_stars_repo_path": "FIT5032_Assignment/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:93641"
} | starcoder |
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@*the style is referenced on https://www.w3schools.com/howto/howto_css_hero_image.asp*@
<style>
.main_page {
/* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text... | 2.591728 | d29415e36d44819580e306cc5f63ba50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93641 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Koopakiller/Edu",
"max_stars_repo_path": "Brainstorming/Client/ViewModel/SendViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93642"
} | starcoder | using System.Net.Mail;
using System.Windows.Input;
using GalaSoft.MvvmLight.Command;
using Koopakiller.Apps.Brainstorming.Shared.ViewModel;
namespace Koopakiller.Apps.Brainstorming.Client.ViewModel
{
public class SendViewModel : CurrentViewModelBase
{
public SendViewModel()
{
... | 2.321576 | 3cd2fc4c74892318302c57dfbb36bdda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93642 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "SkillsFundingAgency/das-assessor-apply",
"max_stars_repo_path": "src/SFA.DAS.ApplyService.Application.UnitTests/Handlers/CreateAccountHandlerTests/WhenHandlingCreateAccountRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9364... | starcoder | <reponame>SkillsFundingAgency/das-assessor-apply
using System;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using SFA.DAS.ApplyService.Application.Interfaces;
using SFA.DAS.ApplyService.Application.Users.CreateAccount;
using SFA.DAS.ApplyService.Domain... | 1.999842 | e1b4b132a9ce5b3cefeedb500eb3d83f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93643 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "WulfMarius/Instrument-Pack",
"max_stars_repo_path": "VisualStudio/src/Guitar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93644"
} | starcoder | using ModComponentMapper;
namespace InstrumentPack
{
public class Guitar : Instrument
{
private const string SKILL_NAME = "Skill_Guitar";
internal override string InstrumentType => "guitar";
internal override string MistakeAudio => "Play_SndMistakeGuitar";
internal override ... | 2.167261 | 50bc2fb5fdf3243e06f4a1f11672a270 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93644 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeorgDangl/Dangl.OpenCDE",
"max_stars_repo_path": "src/server/Dangl.OpenCDE.Data/Dto/OpenCdeDocumentSelection/TokenStorageDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93645"
} | starcoder | <reponame>GeorgDangl/Dangl.OpenCDE<gh_stars>0
namespace Dangl.OpenCDE.Data.Dto.OpenCdeDocumentSelection
{
public class TokenStorageDto
{
public string JsonWebToken { get; set; }
public long ExpiresAt { get; set; }
}
}
| 1.243518 | 94a545885740d38ea0c16366501b6753 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93645 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aspriddell/orbit-api",
"max_stars_repo_path": "src/Auth/Requests/OsuUserAuthRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93646"
} | starcoder | // Orbit API Copyright (C) 2019-2021 DragonFruit Network
// Licensed under the MIT License - see the LICENSE file at the root of the project for more info
using DragonFruit.Common.Data.Parameters;
namespace DragonFruit.Orbit.Api.Auth.Requests
{
public class OsuUserAuthRequest : OsuAuthRequest
{
publi... | 1.797798 | 25e4f92b003fdc43795dac20479c2974 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93646 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "adambajguz/AdsPortal",
"max_stars_repo_path": "src/WebApi/Core/AdsPortal.WebApi.Persistence/Repository/AdvertisementsRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93647"
} | starcoder | namespace AdsPortal.WebApi.Persistence.Repository
{
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using AdsPortal.WebApi.Application.Interfaces.Identity;
using AdsPortal.WebApi.Domain.Entities;
using AdsPortal.WebApi.Domain.Interfaces.Repository;
us... | 2.126378 | 815af44967fa3319e54d0be14d863301 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93647 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lauyea/involver",
"max_stars_repo_path": "Involver/Pages/StatisticalData/Payments/ShowQueryString.cshtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93648"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace Involver.Pages.StatisticalData.Payments
{
[AllowAnonymo... | 2.193805 | 4550b54c3b552f1e6e5d2248f726da57 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93648 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/search/Azure.Search.Documents/src/Indexes/SearchIndexerClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93649"
} | starcoder | <reponame>gjy5885/azure-sdk-for-net<gh_stars>1000+
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
usi... | 1.440274 | 96f3b4f0e597b751521deae31be21392 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93649 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adm244/AGSUnpackerSharp",
"max_stars_repo_path": "AGSUnpackerSharp/Room/AGSWalkableArea.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93650"
} | starcoder | <gh_stars>0
namespace AGSUnpackerSharp.Room
{
public struct AGSWalkableArea
{
public int ScaleFar;
public int ScaleNear;
public int Light;
public int TopY;
public int BottomY;
}
}
| 0.93383 | 0e7ce343581f478486c1e2c20a7af7fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93650 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "spouliot/interpreter",
"max_stars_repo_path": "subclass/customcode/CustomProtocol.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93651"
} | starcoder | using Foundation;
namespace BundledCode {
public class CustomProtocol : NSObject, INSUrlProtocolClient {
public CustomProtocol (NSUrlRequest request, NSCachedUrlResponse cachedResponse, INSUrlProtocolClient client)
{
}
public void CachedResponseIsValid (NSUrlProtocol protocol, NSCachedUrlResponse cachedRe... | 1.804378 | c9136d96a347bcf2bcdbb0ab91bb9b12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93651 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Octavio9052/Tamagotchi-8",
"max_stars_repo_path": "Code/Tamagotchi.Business/Business/Interfaces/ILoginBusiness.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93652"
} | starcoder | using System;
using Tamagotchi.Business.Business.Interfaces;
using Tamagotchi.Common.Models;
namespace Tamagotchi.Business.Interfaces
{
public interface ILoginBusiness : IBaseBusiness<LoginModel>
{
Guid Login(LoginModel login);
}
}
| 1.495725 | 5e6e6c3a907192257706630e8b80ce03 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daniaghazal/apimPrivateVnet",
"max_stars_repo_path": "src/TodoWeb/Services/BaseService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93653"
} | starcoder | <reponame>daniaghazal/apimPrivateVnet
using Microsoft.Identity.Web;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace TodoWeb.Services
{
public... | 2.574977 | 283faaff3f04778879836d490f38b23d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hashikawau/cs_samples",
"max_stars_repo_path": "Core/Util/StartUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93654"
} | starcoder | using FileTransfer.Core.Common;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.NetworkInformation;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Text.Regu... | 2.401678 | 2e086a2a3e32410f6e8bd059a949f1b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93654 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IMaeland/IronSmalltalk",
"max_stars_repo_path": "IronSmalltalk.ExpressionCompiler/Visiting/PrimaryVisitor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93655"
} | starcoder | <reponame>IMaeland/IronSmalltalk<gh_stars>1-10
/*
* **************************************************************************
*
* Copyright (c) The IronSmalltalk Project.
*
* This source code is subject to terms and conditions of the
* license agreement found in the solution directory.
* See: $(Soluti... | 2.042091 | de1a0dc05abd0b8664be8c8e2204705d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93655 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "zaki231/SubnauticaMods",
"max_stars_repo_path": "SeamothStorageSlots/config.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93656"
} | starcoder | using Common.Configuration;
namespace SeamothStorageSlots
{
class ModConfig: Config
{
[Field.Range(max: 8)]
readonly int extraStorageSlotsOffset = 8;
public int slotsOffset => extraStorageSlotsOffset < 3? 0: extraStorageSlotsOffset;
}
} | 2.036366 | d30e9222abdc0e5bf24fa448d4b216b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93656 | {
"extension": "c-sharp",
"max_stars_count": "126.0",
"max_stars_repo_name": "xiongfang/UnrealCS",
"max_stars_repo_path": "Script/UnrealEngine/GeneratedScriptFile/FNavAgentSelector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93657"
} | starcoder | <gh_stars>100-1000
using System;
namespace UnrealEngine
{
public partial struct FNavAgentSelector
{
public bool bSupportsAgent0;
public bool bSupportsAgent1;
public bool bSupportsAgent2;
public bool bSupportsAgent3;
public bool bSupportsAgent4;
public bool bSupportsAgent5;
public bool bSupportsAgent6;
... | 0.9251 | cab1e6f579dac23cf62b60025709b229 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93657 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mickvangelderen/bikesim",
"max_stars_repo_path": "bikesim/Assets/Scripts/SerialThread.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93658"
} | starcoder | using System;
using System.Threading;
using System.IO.Ports;
using UnityEngine;
public class SerialThread {
private string _portname;
private Int32 _baudrate;
private const int _read_timeout = 1; // milliseconds
private const int _write_timeout = 1; // milliseconds
private SerialPort _port;
... | 2.223444 | b1d811716d0e2e2f085e1b54518b9739 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93658 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BSUIR-SFIT-Labs/OOP-Labs",
"max_stars_repo_path": "OOP-Labs/Model/Services/PluginService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93659"
} | starcoder | using Domain.Serializer;
using Plugin;
using System.Collections.Generic;
using System.Linq;
namespace Domain.Services
{
public class PluginService
{
public Dictionary<string, ISerializer> Serializers { get; set; }
public Dictionary<string, IPlugin> Plugins { get; set; }
public ISeria... | 2.298633 | 8106ad49af1bb28faff79adbe6129c17 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93659 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Paulina-Dyulgerska/EventsAndDelegatesDemo",
"max_stars_repo_path": "ExerciseDemo/P03_DependencyInversion/PowerStrategy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93660"
} | starcoder | using System;
namespace ExerciseDemo.P03_DependencyInversion
{
public class PowerStrategy : IStrategy
{
public double Calculate(int firstOperand, int secondOperand)
{
return Math.Pow(firstOperand, secondOperand);
}
}
}
| 2.78244 | e96a316bc0cd15dda970b15d42c04a32 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93660 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "idea-statica/iom-examples",
"max_stars_repo_path": "ConnCalcExamples/IdeaStatiCa.ConnectionClient/ConHiddenCalcCommands/IUpdateCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93661"
} | starcoder | using System;
using System.Windows.Input;
namespace IdeaStatiCa.ConnectionClient.ConHiddenCalcCommands
{
public interface IUpdateCommand : ICommand
{
event EventHandler UpdateFinished;
}
}
| 1.322522 | 9ae45e52b365b3d1bf3889fefa1eff3a |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.