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 | 8837012 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hcasado/clasificador-figuras-geometricas",
"max_stars_repo_path": "src/CFG.Web/Models/CFGVisualizationModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156232"
} | starcoder | <filename>src/CFG.Web/Models/CFGVisualizationModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CFG.Web.Models
{
public class CFGVisualizationModel
{
public List<string> Figuras { get; set; } = new List<string>();
}
}
| 1.71961 | 9eca4e729296f8883ecd3bd44b3c30a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837013 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xCocoDev/Numa",
"max_stars_repo_path": "Assets/Scripts/Game Scripts/City_AreaTriggerScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156233"
} | starcoder | <reponame>xCocoDev/Numa
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class City_AreaTriggerScript : MonoBehaviour
{
private void OnTriggerEnter(Collider other)
{
if(other.tag == GameManager_References._playerTag)
{
Debug.Log("Player enters c... | 1.814839 | 723b76bd92c2dcd21fc6f12fb9ff918b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837014 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FalconNL93/fwutil",
"max_stars_repo_path": "FwUtil.Cli/Helpers/ConsoleOutput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156234"
} | starcoder | using FwUtil.Core.Models;
namespace FwUtil.Cli.Helpers;
public static class ConsoleOutput
{
public static string RuleOutput(FirewallRule rule)
{
return $"{rule.Enabled,-10} - {rule.DisplayName,-20}";
}
} | 1.847425 | 700ce221d7dcbab4b91a7795295050e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837015 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Codeer-Software/Selenium.Friendly.Blazor",
"max_stars_repo_path": "Project/Selenium.Friendly.Blazor/Inside/Protocol/ReturnInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156235"
} | starcoder | using Selenium.Friendly.Blazor.DotNetExecutor;
using Newtonsoft.Json;
using System;
namespace Selenium.Friendly.Blazor.Inside.Protocol
{
/// <summary>
/// 戻り値情報。
/// </summary>
[Serializable]
public class ReturnInfo
{
public string ReturnValueTypeFullName { get; set; }
public string ReturnValueJsonText { ... | 2.480077 | f1d2dc0bba0583143fab5dd83ebc8a8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837016 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "im-mi/KoiCatalog",
"max_stars_repo_path": "KoiCatalog/Data/QueryParameterTemplateCategory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156236"
} | starcoder | <gh_stars>10-100
namespace KoiCatalog.Data
{
public sealed class QueryParameterTemplateCategory
{
public string Name { get; }
public int DisplayIndex { get; }
public QueryParameterTemplateCategory(string name, int displayIndex = 0)
{
Name = name ?? throw new System.... | 2.1496 | 937c625d859fb36730d2282795035ad7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837017 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Miles-Davies-HORIBA/rhino-mocks",
"max_stars_repo_path": "Rhino.Mocks/MethodInvocation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156237"
} | starcoder | <filename>Rhino.Mocks/MethodInvocation.cs
using System.Reflection;
using Castle.DynamicProxy;
namespace Rhino.Mocks
{
/// <summary>
/// Data structure of the current method invocation
/// </summary>
public class MethodInvocation
{
private readonly IInvocation invocation;
/// <summ... | 2.659276 | 1447aaa2694a777539a1dd5c5da854ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837018 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OwenMcDonnell/MonoAGS",
"max_stars_repo_path": "Source/AGS.API/Graphics/Logic/IRendererLoop.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156238"
} | starcoder | namespace AGS.API
{
/// <summary>
/// Represents the render loop of the game. All drawing to the screen is performed from the render loop.
/// </summary>
public interface IRendererLoop
{
/// <summary>
/// Calls the next tick, which triggers the next render.
/// This is called f... | 2.718539 | 055fb6fc8c62664bebd7952d8b9d45bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837019 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HannoZ/MerriamWebster.NET",
"max_stars_repo_path": "source/MerriamWebster.NET/MerriamWebster.NET/Response/JsonConverters/DefiningTextObjectConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156239"
} | starcoder | using System;
using Newtonsoft.Json;
namespace MerriamWebster.NET.Response.JsonConverters
{
internal class DefiningTextObjectConverter : JsonConverter
{
public override bool CanConvert(Type t) => t == typeof(DefiningTextObject) || t == typeof(DefiningTextObject?);
public override object ReadJ... | 2.858056 | 93456bc823d340379b0ca71e6fb059fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837020 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "falberthen/SOLID_101",
"max_stars_repo_path": "src/SOLID_101/Shapes/Square.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156240"
} | starcoder | <reponame>falberthen/SOLID_101
using System;
namespace SOLID_101.Shapes
{
public class Square : Rectangle
{
public double Sides { get; private set; }
public Square(double sides): base(sides, sides)
{
Sides = sides;
}
public override double Calculat... | 2.929012 | 8af61364de51f3293b48a702f4dc894f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837021 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "TakahiroMiyaura/DigitalTwinsDemoSystem",
"max_stars_repo_path": "Unity/Assets/Main/Scripts/Utilities/CatchLog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156241"
} | starcoder | <reponame>TakahiroMiyaura/DigitalTwinsDemoSystem<gh_stars>1-10
// Copyright (c) 2020 <NAME>
// Released under the MIT license
// http://opensource.org/licenses/mit-license.php
using System;
using System.Text;
using TMPro;
using UnityEngine;
public class CatchLog : MonoBehaviour
{
private bool autoScro... | 2.343304 | 2e0ea64ed26f318a4cf651670e0e2703 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837022 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "lysep-corp/ConfuserEx-LSREMAKE",
"max_stars_repo_path": "Confuser.Optimizations/TailCall/LoggerExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156242"
} | starcoder | using System;
using System.Diagnostics.CodeAnalysis;
using dnlib.DotNet;
using dnlib.DotNet.Emit;
using Microsoft.Extensions.Logging;
using ILogger = Microsoft.Extensions.Logging.ILogger;
namespace Confuser.Optimizations.TailCall {
[SuppressMessage("ReSharper", "StringLiteralTypo")]
internal static class LoggerExte... | 2.450063 | 30c394cacc74148ad3e02ae503f64a90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837023 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zzgchina888/msdn-code-gallery-microsoft",
"max_stars_repo_path": "Official Windows Platform Sample/XAML AppBar control sample/[C#]-XAML AppBar control sample/C#/WindowsPhone/Scenario3_CustomizeIcons.xaml.cs",
"provenance": "train-0002... | starcoder | <gh_stars>1-10
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
//
//*********************************************************
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using SDKTemplate;
using System;
using ... | 2.393348 | b4c11d0731ba3fc4e732f4287e8e1182 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837024 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Plet53/RPS-Online",
"max_stars_repo_path": "disimagbutton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156244"
} | starcoder | using Godot;
using System;
public class disimagbutton : TextureButton{
public void _on_set_state(bool state){Disabled = state;
//These link to the GDScript that handles the button graphics
//Because it works.
if(state){EmitSignal("button_down");}
else{EmitSignal("button_up");}}
}
| 1.918219 | 88590bcbef14e9f7de496e497e8ea3e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837025 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "whywherewhat/CSharpOOPAdvanced",
"max_stars_repo_path": "Exams/FestivalManager/FestivalManager/Entities/Factories/InstrumentFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156245"
} | starcoder | using System;
using System.Linq;
using System.Reflection;
namespace FestivalManager.Entities.Factories
{
using Contracts;
using Entities.Contracts;
public class InstrumentFactory : IInstrumentFactory
{
public IInstrument CreateInstrument(string type)
{
var model = Assembly... | 3.023636 | 4e0b35af2ef16cd8d452f614fb39bf41 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837026 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vassildinev/High-Quality-Code",
"max_stars_repo_path": "07. HighQualityClassesHomework/Inheritance-and-Polymorphism/Course.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156246"
} | starcoder | namespace InheritanceAndPolymorphism
{
using System.Collections.Generic;
public class Course
{
public Course(string name)
{
this.Name = name;
this.TeacherName = null;
this.Students = new List<string>();
}
public Course(string courseName,... | 3.618278 | 9e382d59898c833af1ac2967d7b48448 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837027 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marcinbialy/Northwind_room",
"max_stars_repo_path": "Northwind.Application/Rooms/Queries/GetRoomDetails/GetRoomQueryHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156247"
} | starcoder | using AutoMapper;
using MediatR;
using Microsoft.EntityFrameworkCore;
using Northwind.Application.Exceptions;
using Northwind.Domain.Entities;
using Northwind.Persistence;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namesp... | 2.429091 | aa2c046d1950d60f0ecb6de60abe2612 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837028 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "deepakkumar1984/Arithmetic",
"max_stars_repo_path": "QuantumExamples/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156248"
} | starcoder | <gh_stars>1-10
using System;
namespace QuantumExamples
{
class Program
{
static void Main(string[] args)
{
Superposition.Run();
QuantumBellTest.Run();
Teleportation.Run();
Console.ReadLine();
}
}
}
| 1.527274 | 65d6b6571f12b16045334b261ce904ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837029 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ali-YousefiTelori/Laraue.EfCoreTriggers",
"max_stars_repo_path": "src/Laraue.EfCoreTriggers.Common/Converters/MethodCall/Math/Ceiling/MathCeilingVisitor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156249"
} | starcoder | <gh_stars>0
using Laraue.EfCoreTriggers.Common.Services.Impl.ExpressionVisitors;
namespace Laraue.EfCoreTriggers.Common.Converters.MethodCall.Math.Ceiling
{
/// <inheritdoc />
public class MathCeilingVisitor : BaseMathCeilingVisitor
{
/// <inheritdoc />
public MathCeilingVisitor(IExpressio... | 1.681183 | 01e783b10006317e9787f76a59e89585 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837030 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "jkrmc12/IFC-gen",
"max_stars_repo_path": "lang/csharp/src/IFC/IfcSpecularHighlightSelect.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156250"
} | starcoder | <filename>lang/csharp/src/IFC/IfcSpecularHighlightSelect.g.cs
using System;
using System.ComponentModel;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Linq;
using STEP;
namespace IFC
{
public class IfcSpecularHighlightSelect : Select
{
public IfcSpecularHighlightSelect(IfcSpecularEx... | 1.874833 | 56c2600d335c7f93a0a0192a91b9b0ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837031 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "darindragomirow/TelerikAcademy",
"max_stars_repo_path": "Module2/UnitTestingEXAMS-02.2017/Exam_Skeleton/Skeleton/AcademyPackageManager/PackageManager.Tests/Models/PackageTests/PropertiesTests.cs",
"provenance": "train-00027-of-00045.j... | starcoder | using NUnit.Framework;
using PackageManager.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PackageManager.Tests.Models.PackageTests
{
[TestFixture]
class PropertiesTests
{
[Test]
public void Name_IsSetCo... | 2.722394 | f9cb8bf8211bec8d36888a6fa1486396 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837032 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NBSChain/ghost-chat",
"max_stars_repo_path": "TerzoChat/TerzoChat/Model/MessageType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156252"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/**
* ┌───────────────────────────────────────────────────────────────────────┐
* │Project : TerzoChat.Model
* │
* │Comment :
* │
* │Version : V1.0.0.0
* │Author : lanbery
* │CreatTime : 2019/... | 1.955305 | 3cb90306a3f4e505ed422c3683663b9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837033 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ewmccarty/CatFactory",
"max_stars_repo_path": "CatFactory/ObjectRelationalMapping/Unique.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156253"
} | starcoder | <gh_stars>0
namespace CatFactory.ObjectRelationalMapping
{
/// <summary>
/// Represents an unique constraint
/// </summary>
public class Unique : Constraint
{
/// <summary>
/// Initializes a new instance of <see cref="Unique"/> class
/// </summary>
public Unique()
... | 2.26353 | 4f1951b11f44bcf872caf02712688161 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837034 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mnw97/KABSU-Inventory-App",
"max_stars_repo_path": "WpfApp/KASBUApp - Tests/UnitTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156254"
} | starcoder | using NUnit.Framework;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using WpfApp;
namespace KASBUApp___Testing
{
[TestFixture, Apartment(System.Threading.ApartmentState.STA)]
public ... | 2.039916 | 8f898a869a018bc66b801be8a8f24e22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837035 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "atkins126/I18N",
"max_stars_repo_path": "Samples/ASP.NET/Framework/MVC/LocalizedViews/MvcUtilities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156255"
} | starcoder | // http://blog.greatrexpectations.com/2012/11/20/localising-mvc-views-using-display-modes/
using System.Globalization;
using System.IO;
using System.Web.Mvc;
using System.Web;
namespace NewTool.MVC
{
public class Utilities
{
static public string GetBrowserLanguage(HttpRequestBase request)
{
var use... | 2.605353 | e24e23a3bbd3e00f9e41c774962972cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837036 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mahdi/pokespeare",
"max_stars_repo_path": "src/Pokespeare.Api/Models/ShakespeareApi/ShakespeareTranslation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156256"
} | starcoder | using System.Text.Json.Serialization;
namespace Pokespeare.Api.Models.ShakespeareApi{
public class ShakespeareTranslation {
[JsonPropertyName("success")]
public Success Success { get; set; }
[JsonPropertyName("contents")]
public Contents Contents { get; set; }
}
} | 1.986264 | 6dccd55e2b5253e4fef4f52b0bd608e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837037 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "jcw-/sparrowtoolkit",
"max_stars_repo_path": "Work/Source/Sparrow.Chart/WPF/Panels/RootDockPanel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156257"
} | starcoder | <reponame>jcw-/sparrowtoolkit
using System;
using System.Windows;
#if !WINRT
using System.Windows.Controls;
#else
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.Foundation;
#endif
namespace Sparrow.Chart
{
/// <summary>
/// Chart Root DockPanel
/// </summary>
public class RootPan... | 2.323835 | 2f525ed4b9b1efe0ed8358d1ec65bbaa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837038 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "viacheslave/leetcode-naive",
"max_stars_repo_path": "c#/Problems/P1005.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156258"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
namespace LeetCode.Naive.Problems
{
/// <summary>
/// Problem: https://leetcode.com/problems/maximize-sum-of-array-after-k-negations/
/// Submission: https://leetcode.com/su... | 3.271289 | bef1cf8c5d5f6f75d731a23c368904a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837039 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "off-sync/mapping-mappert",
"max_stars_repo_path": "src/OffSync.Mapping.Mappert.Reflection/ReflectionMappingDelegate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156259"
} | starcoder | /*---------------------------------------------------------------------------------------------
* Copyright (c) Off-Sync.com. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*---------------------------------------------------------------------------... | 2.133605 | 2ff586301d86f7150e7525fd3c4d24e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837040 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "thedave42/JavaScriptEngineSwitcher",
"max_stars_repo_path": "test/JavaScriptEngineSwitcher.Tests/MultithreadingTestsBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156260"
} | starcoder | <reponame>thedave42/JavaScriptEngineSwitcher
using System.Threading;
using Xunit;
namespace JavaScriptEngineSwitcher.Tests
{
public abstract class MultithreadingTestsBase : TestsBase
{
[Fact]
public virtual void ExecutionOfCodeFromDifferentThreadsIsCorrect()
{
// Arrange
const string variableName = "fo... | 2.879827 | 2c3820f63ecb0cc53bc2a755062e841a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837041 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "stanb/Comformation",
"max_stars_repo_path": "src/Comformation/Generated/Pinpoint/VoiceChannel/VoiceChannelResource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156261"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using Comformation.IntrinsicFunctions;
namespace Comformation.Pinpoint.VoiceChannel
{
/// <summary>
/// AWS::Pinpoint::VoiceChannel
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-voicechannel.html
... | 1.902877 | 026cf14c65e1207627d149a4c4bf3ec0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837042 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Wizzeh/injustice.hive",
"max_stars_repo_path": "I_Entity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156262"
} | starcoder | <reponame>Wizzeh/injustice.hive<filename>I_Entity.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenTK;
namespace Injustice_Hive
{
interface IEntity
{
Vector3 getPosition();
void setPosition(Vector3 pos);
Quaternion getRotation();
... | 1.840765 | c9ed7b7f5f6d9b66099196307837547a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837043 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Peter-Georgiev/Programming.Fundamentals",
"max_stars_repo_path": "LambdaAndLINQ-MoreExercises/01.ArrayData/ArrayData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156263"
} | starcoder | <reponame>Peter-Georgiev/Programming.Fundamentals
using System;
using System.Linq;
class ArrayData
{
static void Main()
{
var readLine = Console.ReadLine()
.Split(' ')
.Select(int.Parse)
.ToList();
var command = Console.ReadLine();
if (command.ToLow... | 3.685316 | 671078589ac12dbfa39726db9c67f77e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837044 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "anndreiAbabei/Kubera",
"max_stars_repo_path": "src/Kubera.Application/Common/Models/CurrencyModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156264"
} | starcoder | using System;
namespace Kubera.Application.Common.Models
{
public class CurrencyModel
{
public virtual Guid Id { get; set; }
public virtual string Code { get; set; }
public virtual string Name { get; set; }
public virtual string Symbol { get; set; }
public virtual i... | 1.710846 | bbf5d97b0580513e8d14ee91f60c9594 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837045 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "paxhujing/Tumbler.Addin.v2",
"max_stars_repo_path": "Tumbler.Addin/Tumbler.Addin.Core/MessageService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156265"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Lifetime;
using System.Text;
using System.Threading.Tasks;
namespace Tumbler.Addin.Core
{
/// ... | 2.256999 | b4da505528250fedcb79dffb9e37aae1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837046 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "spzvtbg/03-Fundamentals",
"max_stars_repo_path": "02 OOP basics/03. Encapsulation - Exercise/APP05_PizzaCalories/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156266"
} | starcoder | <filename>02 OOP basics/03. Encapsulation - Exercise/APP05_PizzaCalories/Program.cs
using System;
public class Program
{
public static void Main()
{
try
{
var pizza = new Pizza(Console.ReadLine().SplitBy(" "));
pizza.SetDough(new Dough(Console.ReadLine().SplitBy(" ")));... | 3.406509 | fc4397d1e68d5f9bff36701d84991b00 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837047 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JanIvarMoldekleiv/fiks-arkiv-client-dotnet",
"max_stars_repo_path": "KS.Fiks.IO.Arkiv.Client/Models/Generated/KS.Fiks.IO.Arkiv.Client.Models.Innsyn.Sok/OperatorType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156267"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------... | 1.607417 | d7c769de38173a4e0c60ca994da797bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837048 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "yufeih/isles",
"max_stars_repo_path": "src/isles.core/helpers/TypeDiscriminatorJsonConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156268"
} | starcoder | <gh_stars>10-100
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Isles;
public class TypeDiscriminatorJsonConverter<T> : JsonConverter<T>
{
p... | 2.461495 | f948a4d51d810c45b9be47c2d43960ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837049 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "XuPeiYao/XWidget",
"max_stars_repo_path": "XWidget.Extensions/EnumExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156269"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace System {
/// <summary>
/// 針對<see cref="Enum"/>的擴充方法
/// </summary>
public static class EnumExtension {
/// <summary>
/// 取得目標列舉值之名稱
/// </summary>
/... | 3.270054 | 7f4ded2f26d2bdcb9d20c9228c2edae4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837050 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sdesyllas/azure-functions-v3-template",
"max_stars_repo_path": "src/AzureFunctionV3Template.Tests/MessageFunctionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156270"
} | starcoder | using AzureFunctionV3Template.Services;
using FluentAssertions;
using Functions.Tests;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Moq;
using Xunit;
namespace AzureFunctionV3Template.Tests
{
public class MessageFunctionTests
{
private readonly Mock<IMessageResponderService... | 2.263307 | 0e57013ccc4356a0898b48df02e68d45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837051 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "little-apps/NtfsSharp",
"max_stars_repo_path": "NtfsSharp.Drivers/PartitionDriver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156271"
} | starcoder | <reponame>little-apps/NtfsSharp
using System;
using System.ComponentModel;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading;
using Microsoft.Win32.SafeHandles;
namespace NtfsSharp.Drivers
{
public class PartitionDriver : BaseDiskDriver
{
private FileStream FileStream { get... | 2.673059 | 6041151561b42181213679faf8801eb1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837052 | {
"extension": "c-sharp",
"max_stars_count": "263.0",
"max_stars_repo_name": "gordonjohnpatrick/XobotOS",
"max_stars_repo_path": "android/naked-stubs/com/google/android/mms/pdu/RetrieveConf.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156272"
} | starcoder | <gh_stars>100-1000
using Sharpen;
namespace com.google.android.mms.pdu
{
[Sharpen.NakedStub]
public class RetrieveConf
{
}
}
| 0.752722 | 61c4349ef633a7f4abd86a76f78ddf47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MathiasZander/ServiceFabricPerfomanceTest",
"max_stars_repo_path": "Web3/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:156273"
} | starcoder | @using Web3
@using Web3.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.630341 | 989e35db8893c49ce01c8280f2527066 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837054 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DurkaTechnologies/AdminPanel",
"max_stars_repo_path": "Application/Features/Communities/Queries/GetAllCached/GetAllCommunitiesCachedQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156274"
} | starcoder | <gh_stars>1-10
using Application.Common.Models;
using Application.Interfaces.CacheRepositories;
using AutoMapper;
using MediatR;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Application.Features.Communities.Queries.GetAllCached
{
public class GetAllCommunitiesCach... | 2.397908 | e86ef530029c0c87402ffe6b1184b461 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837055 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "n-develop/peopleiknow",
"max_stars_repo_path": "PeopleIKnow/Views/Admin/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:156275"
} | starcoder | <reponame>n-develop/peopleiknow
@model List<PeopleIKnow.Models.User>
@{
ViewBag.Title = "Manage users";
Layout = "_Layout";
}
<div id="people-pane" class="column pane is-multiline">
<div class="table-container">
<table class="table is-bordered is-striped is-hoverable">
<thead>
... | 2.132739 | ef5ecc2afbdb470dc60bfa2226e5b2c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837056 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "jsdelivrbot/Web-Services-and-Cloud",
"max_stars_repo_path": "06. Windows-Communication-Foundation/Demo/WcfServiceCalculator.Tests/Service References/ServiceCalculator/Reference.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156276"... | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.235
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----... | 2.00632 | 6b7f6483c9dc1a4387d66b4e2840a9b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837057 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/math/src/arithmetic/fma.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156277"
} | starcoder | <reponame>0xCM/z0<gh_stars>0
//-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices... | 1.960535 | 62c7acdf5de48608a2d21b08731a18b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837058 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ThatShawGuy/VBSharper",
"max_stars_repo_path": "VBSharper.Plugins/QuickFixes/UseIsNotOperator/UseIsNotOperatorSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156278"
} | starcoder | using JetBrains.Application.Settings;
using JetBrains.ReSharper.Resources.Settings;
namespace VBSharper.Plugins.QuickFixes.UseIsNotOperator
{
[SettingsKey(typeof(CodeInspectionSettings),"Use IsNot operator")]
public class UseIsNotOperatorSettings
{
[SettingsEntry(true, "Enable usage of IsNot opera... | 1.590457 | e4e3a6cd9880528aec5926638ad0b583 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837059 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AccelByte/accelbyte-csharp-sdk",
"max_stars_repo_path": "AccelByte.Sdk.Tests/Integration/BaseIntegrationTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156279"
} | starcoder | <gh_stars>0
// Copyright (c) 2022 AccelByte Inc. All Rights Reserved.
// This is licensed software from AccelByte Inc, for limitations
// and restrictions contact your company contract manager.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
... | 1.873481 | a22d886c2d7eb42f3d4a14514a23db4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837060 | {
"extension": "c-sharp",
"max_stars_count": "2766.0",
"max_stars_repo_name": "palzj/OpenLiveWriter",
"max_stars_repo_path": "src/managed/OpenLiveWriter.HtmlEditor/Linking/LinkSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156280"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System;
using OpenLiveWriter.CoreServices;
using OpenLiveWriter.CoreServices.Settings;
namespace OpenLiveWriter.HtmlEditor.Linking
{
/// <summary>
/// Summary descr... | 1.873652 | b2b565de7c7521b757534a1915b12681 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837061 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "UWRealityLab/StructuralQueryToolkit",
"max_stars_repo_path": "Assets/Scripts/MainMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156281"
} | starcoder | <filename>Assets/Scripts/MainMenu.cs<gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MainMenu : MonoBehaviour
{
public static MainMenu instance;
[SerializeField] GameObject loadi... | 2.410377 | 4387164134813dce2f0ab4ddc170a50b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837062 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robholden/Snow-Capture",
"max_stars_repo_path": "Backend/Microservices/Content/Content.Core/ContentSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156282"
} | starcoder | namespace Content.Core;
public class ContentSettings
{
public string LocationIQToken { get; set; }
} | 1.121389 | dc556b54417a259d3e16a5875c249437 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837063 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "PLCnext/PLCnext_CLI",
"max_stars_repo_path": "src/PlcNext.Common/Templates/FormatTargetMismatchException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156283"
} | starcoder | #region Copyright
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) Phoenix Contact GmbH & Co KG
// This software is licensed under Apache-2.0
//
///////////////////////////////////////////////////////////////////////////////
#endregion
using System;
using... | 1.769793 | 0e8cf3ef09b7fe79f1c215c451ba103e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837064 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "drakeg/PowerShell",
"max_stars_repo_path": "src/Microsoft.PowerShell.Core.Activities/Generated/NewPSTransportOptionActivity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156284"
} | starcoder | //
// Copyright (C) Microsoft. All rights reserved.
//
using Microsoft.PowerShell.Activities;
using System.Management.Automation;
using System.Activities;
using System.Collections.Generic;
using System.ComponentModel;
namespace Microsoft.PowerShell.Core.Activities
{
/// <summary>
/// Activity to invoke th... | 2.32116 | 8f3d5e66507a578679cd867e35f7f3bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837065 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "rbtech/uno",
"max_stars_repo_path": "src/compiler/api/Domain/UXL/UxlDeclareType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156285"
} | starcoder | namespace Uno.Compiler.API.Domain.UXL
{
public enum UxlDeclareType : byte
{
Unknown = 0,
Element = 1,
TypeElement = 2,
TypeProperty = 3,
MethodProperty = 4,
}
} | 1.422485 | b7057f67aa622c9cc98ddba0288d4680 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837066 | {
"extension": "c-sharp",
"max_stars_count": "404.0",
"max_stars_repo_name": "YersonSolano/CocosSharp",
"max_stars_repo_path": "src/Events/CCEventListener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156286"
} | starcoder | using System;
using System.Collections.Generic;
namespace CocosSharp
{
public enum CCEventListenerType
{
UNKNOWN,
TOUCH_ONE_BY_ONE,
TOUCH_ALL_AT_ONCE,
KEYBOARD,
MOUSE,
ACCELEROMETER,
GAMEPAD,
CUSTOM
}
/// <summary>
/// The base class of ... | 2.988156 | faba614be9d62cc27ebed82f07c7968b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837067 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sinbaddoraji/IPsave",
"max_stars_repo_path": "IPsave/Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156287"
} | starcoder | namespace IPsave
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name=... | 2.314767 | 3ec5e0d47e49ff7c017dca3707ea4ad9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837068 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bradfriedlander/PcfProvider",
"max_stars_repo_path": "PcfProvider/ServiceInstance/RootObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156288"
} | starcoder | using System;
using Newtonsoft.Json;
namespace PcfProvider.ServiceInstance
{
public class RootObject
{
public Metadata Metadata { get; set; }
[JsonProperty("entity")]
public PcfServiceInstance ServiceInstance { get; set; }
}
} | 1.530632 | 53dd316ae495eb36b5d17a54f8080197 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837069 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "laicasaane/irony",
"max_stars_repo_path": "Irony.Interpreter/Bindings/SlotBinding.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156289"
} | starcoder | #region License
/* **********************************************************************************
* Copyright (c) <NAME>
* This source code is subject to terms and conditions of the MIT License
* for Irony. A copy of the license can be found in the License.txt file
* at the root of this distribution.
* By usi... | 2.304049 | 6ff0a76e7fbf870341881004fd1f2d5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837070 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pierresprim/WinCopies.Util",
"max_stars_repo_path": "Source/WinCopies.Collections.Shared/DotNetFix/Generic/LinkedList/ReadOnlyLinkedList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156290"
} | starcoder | <filename>Source/WinCopies.Collections.Shared/DotNetFix/Generic/LinkedList/ReadOnlyLinkedList.cs
/* Copyright © <NAME>, 2020
*
* This file is part of the WinCopies Framework.
*
* The WinCopies Framework is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License ... | 2.134825 | 67b49d7a7ddd11263d7736b941988d61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837071 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nei-isep/ChocosDeDomingoATarde",
"max_stars_repo_path": "GameJam_2020/Assets/Scripts/TextTime.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156291"
} | starcoder | <gh_stars>0
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class TextTime : MonoBehaviour
{
public float playTime;
public Text textBox;
// Update is called once per frame
void Update()
{
playTime -= Time.deltaTime;
textBox.text = Mathf.RoundToIn... | 1.828689 | 9798a4573f8da8099785d9b3233eb227 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837072 | {
"extension": "c-sharp",
"max_stars_count": "80.0",
"max_stars_repo_name": "lucorp/ualbion",
"max_stars_repo_path": "src/Core/Events/Selection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156292"
} | starcoder | <filename>src/Core/Events/Selection.cs<gh_stars>10-100
using System;
using System.Numerics;
namespace UAlbion.Core.Events
{
public struct Selection : IEquatable<Selection>
{
public Selection(Vector3 intersectionPoint, float distance, object target)
{
IntersectionPoint = intersectio... | 3.11263 | eb674651a064f2e73faaeead606349a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837073 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jannesen/Jannesen.Web",
"max_stars_repo_path": "Jannesen.Web.MSSql/Library/BaseTypes/sql_clr.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156293"
} | starcoder | using System;
using System.Data;
using System.Reflection;
using System.Runtime.InteropServices;
namespace Jannesen.Web.MSSql.Library.BaseType
{
[ValueConvertorAttributeBaseType("clr")]
class sql_clr: ValueConvertor_SqlNative
{
private Type _type;
... | 2.510354 | efbd2b0dccf8d7c14ae888dd1a3e2841 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837074 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HierGibtEsDrachen/CommandLine",
"max_stars_repo_path": "CommandLine/CommandLine/Reactor/ServiceProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156294"
} | starcoder | <filename>CommandLine/CommandLine/Reactor/ServiceProvider.cs
using System;
using System.Collections.Generic;
namespace CommandLine.Reactor
{
public class ServiceMap : IServiceProvider
{
public string Namespace { get; }
public IEnumerable<string> Keys { get { return _keyedtypes.Keys; } }
... | 2.813692 | 9e730f5fb576be9fd2ba1b96f30d7ca4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837075 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/root/src/records/models/FieldValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156295"
} | starcoder | <gh_stars>0
//-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using Syste... | 1.489123 | fbdd05e7bc6cb310b7108d9dc4652643 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837076 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhangfengqwer/TLJ_MySqlService",
"max_stars_repo_path": "TLJ_MySqlService/Model/Object/ServiceType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156296"
} | starcoder | <filename>TLJ_MySqlService/Model/Object/ServiceType.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public enum TljServiceType
{
None,
LoginService,
PlayService,
LogicService
} | 1.612142 | 651ffcee0392279443aedca389578b18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837077 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "meysamda/KafkaMessageBus",
"max_stars_repo_path": "Doc/Samples/Subscriber.Console/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156297"
} | starcoder | using KafkaMessageBus;
using Samples.Messages;
using System.Threading.Tasks;
namespace Samples.Subscriber.Console
{
class Program
{
static async Task Main(string[] args)
{
var bootstrapServers = new string[] { "localhost:9092" };
var messageBus = new SubscriptionMessage... | 2.388663 | b1ea3d28d534ad1f480be08903a3b5fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837078 | {
"extension": "c-sharp",
"max_stars_count": "90.0",
"max_stars_repo_name": "kogu/MassiveGrass",
"max_stars_repo_path": "Scripts/MassiveGrassProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156298"
} | starcoder | using System;
using UnityEngine;
namespace Mewlist.MassiveGrass
{
public class LayerAttribute : PropertyAttribute { }
public enum BuilderType
{
Quad = 0,
FromMesh = 5,
}
public enum NormalType
{
KeepMesh = 0,
Up = 1,
Shading = 2,
}
public e... | 2.369158 | cea27c3b4c3a068b54ed219f7be53977 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837079 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MtnDont/GriDLockedMapAlgorithm",
"max_stars_repo_path": "WindowsFormsApplication1/Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156299"
} | starcoder | <gh_stars>0
//Code written by <NAME> in <NAME> CSP
namespace WindowsFormsApplication1
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any ... | 2.252195 | d89a7b62e7e5cdae3aee4f349229e6a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837080 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "aneliyad/iban-api-net",
"max_stars_repo_path": "Model/ECountry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156300"
} | starcoder | <filename>Model/ECountry.cs
/*
* Copyright 2013 AVENTUM SOLUTIONS GmbH (http://www.aventum-solutions.de)
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/lice... | 2.432184 | 8f531d99f0ef1ea99330a0da5a2595a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837081 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gsi-johan/BioAlpha",
"max_stars_repo_path": "Biblio.Business/Service/TesisServices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156301"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using Biblio.Data;
using Biblio.Data.UnitOfWork;
using Biblio.Business.Mapper;
using Biblio.Data.Repository;
namespace Biblio.Business.Service
{
public class TesisServices
{
private UnitOfWor... | 2.820204 | e452d28855fb744c6b3e42e949c3f781 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837082 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "synctam/PoE2JpModTools",
"max_stars_repo_path": "MieDbLib/SystemDB/MieTableRaceAttributesDao.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156302"
} | starcoder | <filename>MieDbLib/SystemDB/MieTableRaceAttributesDao.cs<gh_stars>1-10
namespace MieDbLib.SystemDB
{
using System;
using System.Data.SQLite;
using MieTranslationLib.Data.CharacterMap;
using NLog;
public class MieTableRaceAttributesDao
{
private static Logger logger = LogManager... | 2.900901 | d81ade5bf6df0d12ce4155f6844f00a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837083 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "q-masters/enigma.net",
"max_stars_repo_path": "src/IRequestInterceptors.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156303"
} | starcoder | namespace enigma
{
/// <summary>
/// RequestInterceptors
/// </summary>
public interface IRequestInterceptors
{
}
} | 1.458723 | a9f63b04122a089140942de9e883d3bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837084 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Carbiy001/Entitas-CSharp",
"max_stars_repo_path": "src/Entitas/tests/EntitasStringExtensionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156304"
} | starcoder | using FluentAssertions;
using Xunit;
namespace Entitas.Tests
{
public class EntitasStringExtensionTests
{
const string Word = "Word";
[Fact]
public void DoesNotAddSuffixToStringEndingWithSuffix()
{
(Word + EntitasStringExtension.CONTEXT_SUFFIX).AddContextSuffix().S... | 2.407696 | b8920d09a196965161fb9bdc55c08f32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837085 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jaywhang83/csharp-codeReview3-hairSalon",
"max_stars_repo_path": "Views/client_form.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:156305"
} | starcoder |
<body>
<h1>Add a new client</h1>
<form action="/client/new" method="post">
<label for="client-name">Client name:</label>
<input id="client-name" name="client-name" type="text">
<label for="client-appointment-date">Appointment date:</label>
<input id="client-appointment-date" name="client-appointmen... | 2.609207 | 1b1cb45877fad8a21b9aaf76953b8f22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837086 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "PeturDarri/GenericEventBus",
"max_stars_repo_path": "Tests/Editor/EventQueueTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156306"
} | starcoder | <reponame>PeturDarri/GenericEventBus<filename>Tests/Editor/EventQueueTests.cs
using GenericEventBus.Tests;
using NUnit.Framework;
namespace GenericEventBus.Editor.Tests
{
[TestFixture]
public class EventQueueTests
{
[Test]
public void EventQueue_Works()
{
var bus = new TestEventBus();
var listener1 = b... | 2.243233 | 1add5c332c496232519106581d06bd7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837087 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "Figglewatts/LSDView",
"max_stars_repo_path": "Controllers/FileOpenController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156307"
} | starcoder | <reponame>Figglewatts/LSDView<gh_stars>10-100
using System.IO;
using libLSD.Formats;
using LSDView.Controllers.Interface;
using LSDView.Models;
using Serilog;
namespace LSDView.Controllers
{
public class FileOpenController : IFileOpenController
{
protected readonly IFileFormatController<LBD, LBDDocumen... | 2.089125 | bfc380418514449db8b4d70b804ac9d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837088 | {
"extension": "c-sharp",
"max_stars_count": "77.0",
"max_stars_repo_name": "Fody/ToString",
"max_stars_repo_path": "AssemblyToProcess/ClassWithToString.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156308"
} | starcoder | [ToString]
public class ClassWithToString
{
public int X { get; set; }
public int Y { get; set; }
public override string ToString()
{
return "XY";
}
} | 2.638735 | fd2be6d537742e7d87542500efecf1b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837089 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "neilljordan/PusherClientDotNet",
"max_stars_repo_path": "PusherClientDotNetDemo/Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156309"
} | starcoder | <reponame>neilljordan/PusherClientDotNet
namespace PusherClientDotNetDemo
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources be... | 2.200143 | beffbda24756c295c6e4495f6e901f65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837090 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pip-benchmark/pip-benchmark-dotnet",
"max_stars_repo_path": "src/PipBenchmark.NetStandard20/Runner/BenchmarkRunner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156310"
} | starcoder | using PipBenchmark.Runner.Benchmarks;
using PipBenchmark.Runner.Config;
using PipBenchmark.Runner.Environment;
using PipBenchmark.Runner.Execution;
using PipBenchmark.Runner.Parameters;
using PipBenchmark.Runner.Reports;
using PipBenchmark.Runner.Results;
using System.Collections.Generic;
namespace PipBenchmark.Runne... | 2.049423 | 2491a2c70e1918987dd638bae45c6c73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837091 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "giacomelli/AutoFilter",
"max_stars_repo_path": "src/AutoFilter/IAutoFilterStrategy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156311"
} | starcoder | using System.Linq.Expressions;
using System.Reflection;
namespace AutoFilter
{
/// <summary>
/// Defines an interface for an auto filter strategy.
/// </summary>
public interface IAutoFilterStrategy
{
#region Properties
/// <summary>
/// Gets or sets the filter.
///... | 2.963984 | 59b292f9615b3c69104a024fb33f10a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837092 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "cjstevenson/hotchocolate",
"max_stars_repo_path": "src/StrawberryShake/VisualStudioWin/src/StrawberryShake.VisualStudio.Language/Classification/StringGraphQLClassifier.Values.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156312"
... | starcoder | <filename>src/StrawberryShake/VisualStudioWin/src/StrawberryShake.VisualStudio.Language/Classification/StringGraphQLClassifier.Values.cs
using System;
namespace StrawberryShake.VisualStudio.Language
{
// Implements the parsing rules in the Values section.
public ref partial struct StringGraphQLClassifier
{... | 2.74212 | 33623d32514724b89efb5d6065dedf4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837093 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChangeCraft/gppcc12-game",
"max_stars_repo_path": "GPPCC12/Assets/Scripts/Teleport.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156313"
} | starcoder | <filename>GPPCC12/Assets/Scripts/Teleport.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Teleport : MonoBehaviour {
[SerializeField]
private Vector2 teleportPosition;
private string playerTag = "Player";
private void OnTriggerEnter2D(Collider2D other)
... | 2.089069 | 8c90dec3cca6709071ed6baebdeb8cc6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837094 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jlouros/WalkCompanion",
"max_stars_repo_path": "WalkCompanion/Commands/StoreSession.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156314"
} | starcoder | <filename>WalkCompanion/Commands/StoreSession.cs
using System;
using System.Windows.Input;
using WalkCompanion.ViewModels;
namespace WalkCompanion.Commands
{
public class StoreSession : ICommand
{
private TrackInformationViewModel _viewModel;
public StoreSession(TrackInformationViewModel view... | 2.568348 | a69968fef7ddb96dfb9909b9561fb34c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837095 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "joemaza/Lexedit",
"max_stars_repo_path": "Eutyches.Spell.Lexedit/Services/ViewModels/StemRelationsViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156315"
} | starcoder | <filename>Eutyches.Spell.Lexedit/Services/ViewModels/StemRelationsViewModel.cs
//=============================================================================
// Copyright © 2018 <NAME> <<EMAIL>>. All Rights Reserved.
//=============================================================================
using System;
using S... | 1.967796 | b6284a60266110eaa7ce2c41bc538f07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837096 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mibbio/SatisfactorySnapshotTool",
"max_stars_repo_path": "SatisfactorySnapshotTool/Models/BackupModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156316"
} | starcoder | <gh_stars>0
namespace SatisfactorySnapshotTool.Models
{
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using SatisfactorySnapshotTool.Backup;
using SatisfactorySnapshotTool.Mvvm;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Syst... | 2.171844 | 7d0629ebce9a93b0a65447994c01ab9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837097 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "sergiorykov/Platron.Client",
"max_stars_repo_path": "Source/Platron.Client/Clients/ResultUrlClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156317"
} | starcoder | using System;
using System.Xml.Serialization;
using Platron.Client.Http;
using Platron.Client.Http.Callbacks;
using Platron.Client.Http.Plain;
using Platron.Client.Utils;
namespace Platron.Client
{
public sealed class ResultUrlClient
{
private readonly ICallbackResponder _callback;
... | 2.058078 | 730ec28d12ab849eb312df1a57472ddc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837098 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "microsoft/UnifiedRedisPlatform.Core",
"max_stars_repo_path": "src/service/Microsoft.UnifiedRedisPlatform.Service/SharedKernel/Common/Secrets/ISecretsProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156318"
} | starcoder | <reponame>microsoft/UnifiedRedisPlatform.Core
using System.Threading.Tasks;
namespace Microsoft.UnifiedPlatform.Service.Common.Secrets
{
public interface ISecretsProvider
{
Task<string> GetSecret(string key);
}
}
| 1.207203 | c16d0bd260d1648e8942364454f10bd2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837099 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skyhoshi/Steamworks.NET",
"max_stars_repo_path": "com.rlabrecque.steamworks.net/Runtime/types/SteamInput/InputDigitalActionHandle_t.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156319"
} | starcoder | <reponame>skyhoshi/Steamworks.NET
// This file is provided under The MIT License as part of Steamworks.NET.
// Copyright (c) 2013-2021 <NAME>
// Please see the included LICENSE.txt for additional information.
// This file is automatically generated.
// Changes to this file will be reverted when you update Steamworks.N... | 2.042494 | 393764793412900cabfec49732729e4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837100 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "psryland/rylogic_code",
"max_stars_repo_path": "projects/TestCS/src/toolstrip_positions_ui.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156320"
} | starcoder | using System.Linq;
using System.Windows.Forms;
using Rylogic.Gui.WinForms;
using ToolStripComboBox = Rylogic.Gui.WinForms.ToolStripComboBox;
using ToolStripContainer = Rylogic.Gui.WinForms.ToolStripContainer;
namespace TestCS
{
public class ToolStripPositionsUI :Form
{
private static ToolStripLocations ... | 1.712373 | 83d07848d23d94164acbca6a1eeb8909 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837101 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ehamberg/fplbot",
"max_stars_repo_path": "src/FplBot.Tests/FplPlayerCommandHandlerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156321"
} | starcoder | using FplBot.Tests.Helpers;
using System.Threading.Tasks;
using FplBot.Core.Handlers;
using Slackbot.Net.Endpoints.Abstractions;
using Xunit;
using Xunit.Abstractions;
namespace FplBot.Tests
{
public class FplPlayerCommandHandlerTests
{
private readonly IHandleAppMentions _client;
public FplPl... | 2.385159 | 4485c84df76815c82a55c05e779ecad8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837102 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "CyberSys/coreclr-mono",
"max_stars_repo_path": "tests/src/JIT/Regression/CLR-x86-EJIT/V1-M11-Beta1/b45679/b45679.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156322"
} | starcoder | <gh_stars>1-10
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
namespace JitTest
{
using System;
class Test
{
static int Main()
{
ulong a = 0x0000000000000020;
... | 2.51234 | 5ee2dddb5f8751a2e49e812c42440cab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837103 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/formrecognizer/Azure.AI.FormRecognizer/src/CurrencyValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156323"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Core;
namespace Azure.AI.FormRecognizer.DocumentAnalysis
{
public readonly partial struct CurrencyValue
{
/// <summary> Initializes a new instance of CurrencyValue. </summary>
/// <para... | 2.342148 | 4a01c34061929818fdd2e18a3d3114ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837104 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "huaweicloud/huaweicloud-sdk-net",
"max_stars_repo_path": "Services/Cce/V3/Model/AuthenticatingProxy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156324"
} | starcoder | <filename>Services/Cce/V3/Model/AuthenticatingProxy.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using HuaweiCloud.SDK.Core;
namespace HuaweiCloud.SDK.Cce.V3.Model
{
/// <summary... | 2.428403 | 7cf308cd1151047da54a79b50415d945 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837105 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "soelske/mbunit-v3",
"max_stars_repo_path": "src/Extensions/CSUnit/Gallio.CSUnitAdapter.TestResources/Metadata/IgnoreSample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156325"
} | starcoder | <gh_stars>10-100
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | 1.657251 | 700b1c111c7d64a0f586adfeae9a9c59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837106 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bense4ger/unit-test-workshop",
"max_stars_repo_path": "Acme.Library.Tests/TrapTypeSelectorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156326"
} | starcoder | <gh_stars>0
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Acme.Library.Tests
{
[TestClass]
public class TrapTypeSelectorTests
{
[TestMethod]
public void TypeSelector_ReturnsType_IfSeedValid()
{
//Arrange
var validSeed = 0;
... | 2.405983 | eb080a1977f659a8675311818d30b78b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837107 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "didinj/asp-net-core-angular-7-authentication",
"max_stars_repo_path": "Repositories/IAuthRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156327"
} | starcoder | using System.Threading.Tasks;
using AspNetAngularAuth.Models;
namespace AspNetAngularAuth.Repositories
{
public interface IAuthRepository
{
Task<TblUser> Register(TblUser user, string password);
Task<TblUser> Login(string username, string password);
Task<bool> UserExists(string username... | 2.057061 | c5297c44561dbc63a1684ff8e46ba1fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837108 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prbarcelon/GwApiNET",
"max_stars_repo_path": "GwApiNET/GwApiNET/ResponseObjects/Parsers/WorldNameEntryParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156328"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RestSharp;
namespace GwApiNET.ResponseObjects.Parsers
{
/// <summary>
/// Parse World Name information.
/// <remarks>world_name.json parser</remarks>
/// </summary>
... | 2.419886 | 496cbd361b7de3632e97027e1e36d4e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837109 | {
"extension": "c-sharp",
"max_stars_count": "62.0",
"max_stars_repo_name": "praeclarum/Iril",
"max_stars_repo_path": "Iril/IR/Parser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156329"
} | starcoder | // created by jay 0.7 (c) 1998 <EMAIL>
#line 2 "Iril/IR/IR.jay"
using System;
using System.Collections.Generic;
using System.IO;
using System.Numerics;
using System.Text;
using System.Linq;
using Iril.Types;
#pragma warning disable 219,414
namespace Iril.IR
{
public partial class Parser
{
#line default
/** err... | 2.067021 | d9624c4d016bf9897e2288f816078b31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837110 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "bholcomb/gameEngine",
"max_stars_repo_path": "src/graphics/camera.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156330"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using OpenTK;
using OpenTK.Input;
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL;
using Util;
namespace Graphics
{
/*
layout(std140) uniform camera {
mat4 view;
mat4 projection;
mat4 viewP... | 2.130468 | 84de3ccbd753e5832ec222c3a324c9a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837111 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dairin0d/PointVoxelExperiments",
"max_stars_repo_path": "Unity/PointVoxelExperiments/Assets/Data.Colors/ColorHSVPalette.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156331"
} | starcoder | <gh_stars>1-10
// MIT License
//
// Copyright (c) 2017 dairin0d
//
// 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 limitation the rights
// to use, c... | 2.399286 | 7dc32edf40889dce0c365cdc8ed497ba |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.