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 | 8850312 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dtaylor-530/UtilityWpfCore",
"max_stars_repo_path": "UtilityWpf.Demo.Master/ViewModel/RowViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169532"
} | starcoder | <reponame>dtaylor-530/UtilityWpfCore
using System.Reactive;
using Utility.Common.Enum;
using Utility.Common.EventArgs;
namespace UtilityWpf.Demo.Master.ViewModel
{
public class RowViewModel : UtilityWpf.Demo.Common.ViewModel.RowViewModel
{
public RowViewModel()
{
ChangeCommand = R... | 2.260673 | 52798fa8300652d7f74fa3b49bd0f098 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850313 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "icnocop/SpecFlow.Assist.Dynamic",
"max_stars_repo_path": "SpecFlow.Assist.Dynamic/DynamicStepArgumentTransformations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169533"
} | starcoder | <gh_stars>10-100
using System.Collections.Generic;
using System.Linq;
using TechTalk.SpecFlow;
using TechTalk.SpecFlow.Assist;
namespace SpecFlow.Assist.Dynamic
{
[Binding]
public class DynamicStepArgumentTransformations
{
[StepArgumentTransformation]
public IEnumerable<object> Tr... | 2.095046 | 7d728ae5cd53cd97a6b6c789c138174b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850314 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "gmich/Gem",
"max_stars_repo_path": "Gem.Engine/Map/Persistence/MapSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169534"
} | starcoder | using System;
using Gem.Engine.Database;
namespace Gem.Map.Persistence
{
public class MapSerializer
{
public byte[] Serialize(MapModel model)
{
var nameBytes = System.Text.Encoding.UTF8.GetBytes(model.Name);
var modelData = new byte[
16 + ... | 2.913289 | ebe3cadbf5c6477e88add35a9fcd2555 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850315 | {
"extension": "c-sharp",
"max_stars_count": "238.0",
"max_stars_repo_name": "ylabade/ApplicationInsights-dotnet",
"max_stars_repo_path": "BASE/src/Common/Common/Extensions/DateTimeExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169535"
} | starcoder | <gh_stars>100-1000
namespace Microsoft.ApplicationInsights.Common.Extensions
{
using System;
using System.Globalization;
/// <summary>
/// Provides extension methods for <see cref="DateTime"/>.
/// </summary>
internal static class DateTimeExtensions
{
/// <summary>
/// This... | 3.029553 | c9508166799aba6c2686e6291a43e8e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850316 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "veracity/veracity-quickstart-samples",
"max_stars_repo_path": "101-datafabric-app-to-app/datafabric-app-to-app/datafabric-app-to-app/B2CAccessToken.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169536"
} | starcoder | using Newtonsoft.Json;
namespace datafabric_app_to_app
{
/// <summary>
/// Object model for response from Oauth token provider on login
/// </summary>
public class B2CAccessToken
{
[JsonProperty(PropertyName = "token_type")]
public string TokenType { get; set; }
[JsonProper... | 1.951545 | ed6ba2a85aa924ec8c44bcf2ca41a26a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850317 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheAutomatingMrLynch/NBi",
"max_stars_repo_path": "NBi.Core/Sequence/Transformation/Aggregation/Aggregation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169537"
} | starcoder | <reponame>TheAutomatingMrLynch/NBi
using NBi.Core.Sequence.Transformation.Aggregation.Strategy;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Sequence.Transformation.Aggregation
{
public class Aggregation
{
protec... | 2.326119 | aae11b89a34acd1126da8356e022e98c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850318 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MaximovInk/AdvancedTilemap",
"max_stars_repo_path": "Assets/AdvancedTilemap/Scripts/Chunk.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169538"
} | starcoder | using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using AdvancedTilemap.Liquid;
using System.Threading.Tasks;
using System.Threading;
namespace AdvancedTilemap
{
[ExecuteInEditMode]
[RequireComponent(typeof(MeshFilter))]
[RequireComponent(typeof(MeshRenderer))]
public class Chunk... | 1.691745 | e7cdfc71e2dffd6e1ed7fe0976f410b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850319 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ariions/HomeWork-NR2",
"max_stars_repo_path": "Assets/Scripts/WindSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169539"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WindSystem : ISystemInterface
{
public void Start(World world)
{
// not adding any flags, so im just leaving this empty
}
public void Update(World world, float time = 0, float deltaTime = 0)
{
... | 2.507953 | 4bf3b3d00c6768249cd17e55de7f1284 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850320 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vib1336/CookingPot",
"max_stars_repo_path": "src/Services/CookingPot.Services.Data/ISearchService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169540"
} | starcoder | namespace CookingPot.Services.Data
{
using System.Collections.Generic;
public interface ISearchService
{
IEnumerable<T> Search<T>(string searchValue);
}
}
| 1.910362 | 440c5e6d194d98aada74828cc0870314 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850321 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "twildeman/gpgme-sharp",
"max_stars_repo_path": "gpgme-sharp/Interop/_gpgme_op_sign_result.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169541"
} | starcoder | <reponame>twildeman/gpgme-sharp<filename>gpgme-sharp/Interop/_gpgme_op_sign_result.cs
using System;
using System.Runtime.InteropServices;
namespace Libgpgme.Interop
{
[StructLayout(LayoutKind.Sequential)]
internal class _gpgme_op_sign_result
{
/* The list of invalid signers. */
p... | 1.303929 | f8cf3b0e93fe4c4754e6a03e4ccaa2f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850322 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "marartz/Gastromio",
"max_stars_repo_path": "src/Gastromio.Core/Domain/Failures/DishDoesNotExistFailure.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169542"
} | starcoder | <gh_stars>1-10
using Gastromio.Core.Common;
namespace Gastromio.Core.Domain.Failures
{
public class DishDoesNotExistFailure : Failure
{
public override string ToString()
{
return "Dish does not exists";
}
}
}
| 1.700215 | 1f5bca4c090cf9786bcdd69ebf7c0077 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850323 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SJM18/LtiAdvantage",
"max_stars_repo_path": "src/Pages/Platforms/Details.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:169543"
} | starcoder | @page
@using AdvantageTool.Utility
@model DetailsModel
@using Microsoft.AspNetCore.Mvc.Localization
@using Resources
@inject IViewLocalizer Localizer
@inject IHtmlLocalizer<Localization> SharedLocalizer
@{
ViewData["Title"] = SharedLocalizer["Platforms"];
}
<div class="container-fluid">
<h4>@SharedLocalize... | 1.879966 | c4ab9ff56fca9059616798987157baaa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850324 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JomaCorpFX/InsaneDotnet",
"max_stars_repo_path": "Insane/Cryptography/Argon2Result.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169544"
} | starcoder | <reponame>JomaCorpFX/InsaneDotnet<filename>Insane/Cryptography/Argon2Result.cs
using Insane.Exceptions;
using Insane.Extensions;
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json;
namespace Insane.Cryptography
{
public class Argon2Result: HashResultBase
{
public... | 2.246315 | f1d0a377d5553f4080acd024ddefa9a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850325 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gaschenk/SkylordsRebornAPI",
"max_stars_repo_path": "SkylordsRebornAPI/Instances.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169545"
} | starcoder | using SkylordsRebornAPI.Cardbase;
namespace SkylordsRebornAPI
{
public class Instances
{
public static CardService CardService { get; } = new();
public static MapService MapService { get; } = new();
public static AuctionService AuctionService { get; } = new();
public static Lea... | 1.464355 | 40bf450954c34e21aa8faf9f9c5cc32f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850326 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChristopherVB/RadFramework.Libraries.Threading",
"max_stars_repo_path": "src/RadFramework.Libraries.Threading/v2/ThreadAffinity/IThreadAffinityUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169546"
} | starcoder | <filename>src/RadFramework.Libraries.Threading/v2/ThreadAffinity/IThreadAffinityUtil.cs
namespace RadFramework.Libraries.Threading.ThreadAffinity
{
public interface IThreadAffinityUtil
{
void AttachCurrentThreadToCore(int coreIndex);
void DetachCurrentThreadFromCore();
}
} | 1.796942 | 358c4a8800a08ec651c340e8734783d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850327 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "lzyzsd/SharpLua",
"max_stars_repo_path": "SharpLua/NewParser/Ast/Expression/StringCallExpr.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169547"
} | starcoder | <filename>SharpLua/NewParser/Ast/Expression/StringCallExpr.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SharpLua.Ast.Expression
{
public class StringCallExpr : CallExpr
{
}
}
| 1.583793 | 923ec7fe9f31bc467cb1ef4a56cc1d2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850328 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mikeek/FIT",
"max_stars_repo_path": "IW5/Meal Planner/Meal Planner.ViewModels/Commands/Recipe/AddRecipe.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169548"
} | starcoder | <gh_stars>1-10
using Meal_Planner.Model;
using Meal_Planner.ViewModels.Commands.Collection;
using Meal_Planner.ViewModels.Framework.Commands;
using Meal_Planner.ViewModels.ViewModels;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threadin... | 2.344837 | 3aecf92e5b22e52b9c20f60bd4e8adb5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850329 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "corvus-dotnet/dotliquidasync",
"max_stars_repo_path": "Solutions/Corvus.DotLiquidAsync/DotLiquid/Tags/Literal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169549"
} | starcoder | <gh_stars>1-10
// <copyright file="Literal.cs" company="Endjin Limited">
// Copyright (c) Endjin Limited. All rights reserved.
// </copyright>
// Derived from code under the Apache 2 License from https://github.com/dotliquid/dotliquid
namespace DotLiquid.Tags
{
using System.Collections.Generic;
using System.T... | 2.677423 | 16ac6f3226f869ea12ef19e482650ce7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850330 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "dzhenko/TelerikAcademy",
"max_stars_repo_path": "DB/DB-Teamwork/BattleNetShop/BattleNetShop.ReportsModel/ProductsReportEntry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169550"
} | starcoder | <reponame>dzhenko/TelerikAcademy
namespace BattleNetShop.ReportsModel
{
using System;
public class ProductsReportEntry
{
public int ProductId { get; set; }
public string Name { get; set; }
public string Vendor { get; set; }
public int Quantity { get; set; }
publ... | 2.406368 | eebd15b7f03ae460ea2508b32e84a2b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850331 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fellfalla/HashCode2017",
"max_stars_repo_path": "HashCode2017/HashCode2017/EmbeddedResourceReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169551"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace HashCode2017
{
public static class EmbeddedResourceReader
{
/// <summary>
///
/// </summary>
/// <param name=... | 3.025506 | d41a636c0b8a90d647d375b858332b2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850332 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lxdotnet/lxd-core",
"max_stars_repo_path": "Lxdn.Core.Expressions/Operators/AnyTypeConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169552"
} | starcoder | <reponame>lxdotnet/lxd-core<filename>Lxdn.Core.Expressions/Operators/AnyTypeConverter.cs
using System;
using System.Reflection;
using System.Linq.Expressions;
using Lxdn.Core.Extensions;
using Lxdn.Core.Expressions.Extensions;
namespace Lxdn.Core.Expressions.Operators
{
public class AnyTypeConverter : Operator
... | 2.636733 | 95060802cca83267011413977390ae67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850333 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gabrieldelaparra/SparQLforHumans",
"max_stars_repo_path": "SparqlForHumans.UnitTests/Query/QueryGraphTypesTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169553"
} | starcoder | using SparqlForHumans.Lucene.Models;
using SparqlForHumans.Lucene.Queries.Graph;
using SparqlForHumans.Models.RDFExplorer;
using Xunit;
namespace SparqlForHumans.UnitTests.Query
{
public class QueryGraphTypesTests
{
InMemoryQueryEngine InMemoryQueryEngine = new InMemoryQueryEngine();
private c... | 2.214649 | ec47fa376b7a84002175679b9fb932ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850334 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "NightElfik/Mausr",
"max_stars_repo_path": "src/Mausr.Web/Views/Drawings/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:169554"
} | starcoder | @model IPagination<Drawing>
@{
ViewBag.Title = "Drawings";
int imageSize = 128;
int penSize = 4;
var pagination = Model.Html();
var ic = System.Globalization.CultureInfo.InvariantCulture;
}
<h1>@ViewBag.Title</h1>
@pagination
<div class="row">
<div class="col-md-12">
@foreach (var drawing in Model) {
<... | 2.58161 | d186c4cce31e9e5a0224c866268ab13d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850335 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "heldersepu/SwaggerTest",
"max_stars_repo_path": "Swagger_Test/Attributes/KeyAuthorizeAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169555"
} | starcoder | <reponame>heldersepu/SwaggerTest<gh_stars>10-100
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
using System.Web.Http.Controllers;
namespace Swagger_Test
{
public enum Role { Admin, User }
public class KeyAuthorizeAttribute : AuthorizeAttribute
{
Role _role = Role.Use... | 2.453288 | 44ab15c986037a18fd6611eaa62174f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850336 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "atalantus/BwInf36_Runde02",
"max_stars_repo_path": "Seminararbeit - Abgabe - 01.11.2018/Aufgabe 1 - Die Kunst der Fuge/Projekt Dateien/Aufgabe1_DieKunstDerFuge/Utilities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169556"
} | starcoder | <gh_stars>1-10
namespace Aufgabe1_DieKunstDerFuge
{
/// <summary>
/// Helper methods.
/// </summary>
public static class Utilities
{
/// <summary>
/// Fills an Array with a given value.
/// </summary>
/// <typeparam name="T">Type of the Array.</typeparam>
///... | 2.929802 | 6bbd62bfa6a677fe963bb75f38af5b5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850337 | {
"extension": "c-sharp",
"max_stars_count": "59.0",
"max_stars_repo_name": "dukeofharen/httplaceholder",
"max_stars_repo_path": "src/HttPlaceholder.Application/Interfaces/Persistence/IWritableStubSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169557"
} | starcoder | <reponame>dukeofharen/httplaceholder
using System.Collections.Generic;
using System.Threading.Tasks;
using HttPlaceholder.Domain;
namespace HttPlaceholder.Application.Interfaces.Persistence
{
public interface IWritableStubSource : IStubSource
{
Task AddStubAsync(StubModel stub);
Task<bool> De... | 1.788014 | da13d8c4dd8ada3dcf3ec95958788264 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850338 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wootra/TestNetConnector",
"max_stars_repo_path": "TestNetConnector/dataHistory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169558"
} | starcoder | <filename>TestNetConnector/dataHistory.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TestNetConnector
{
public class dataHistory
{
public int size { set; get; }
public String ip { set; get; }
public String data { set; get; }
... | 2.381466 | 1ed62ac0111c82cf03f49966e5d33b5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850339 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "AutSoft/AutSoft.UnitySupplements",
"max_stars_repo_path": "Source/AutSoft.UnitySupplements/Assets/AutSoft.UnitySupplements.EventBus/AutSoft.UnitySupplements.EventBus/SimpleEventBus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169... | starcoder | #nullable enable
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
namespace AutSoft.UnitySupplements.EventBus
{
public delegate void Handler<in T>(T message) where T : IEvent;
public delegate object ServiceFactory(Type serviceType);
public static cla... | 2.706399 | de4c1b49c035d6782b6c228c31f7cb25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850340 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ajlopez/AjKeyvs",
"max_stars_repo_path": "Src/AjKeyvs.Tests/Collections/BigArrayTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169560"
} | starcoder | <reponame>ajlopez/AjKeyvs
namespace AjKeyvs.Tests.Collections
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AjKeyvs.Collections;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class BigArrayTests
{
... | 2.855962 | e5d4f100d32e9726869af0624dda4de2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850341 | {
"extension": "c-sharp",
"max_stars_count": "1705.0",
"max_stars_repo_name": "ChristopherButtars/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/CodeGuruReviewer/Generated/Model/RequestMetadata.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169561"
} | starcoder | <reponame>ChristopherButtars/aws-sdk-net<filename>sdk/src/Services/CodeGuruReviewer/Generated/Model/RequestMetadata.cs<gh_stars>1000+
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in com... | 1.824211 | ad82fcb82b78cf93854749f1b4370320 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850342 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tanakaedu/milkcocoa-unity",
"max_stars_repo_path": "Assets/ControlPlayer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169562"
} | starcoder | using UnityEngine;
using System.Collections;
public class ControlPlayer : MonoBehaviour {
// プレイヤーの移動速度
public float SPEED = 6.0f;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
Vector3 vel = new Vector3 (Input.GetAxisRaw ("Horizontal"), Input.GetAxi... | 2.076796 | ef78fcac322c4fe442bc75edc07ba2ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850343 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oocytanb/UniVRM",
"max_stars_repo_path": "Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/EditorMaterial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169563"
} | starcoder | <filename>Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/EditorMaterial.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEngine;
using VRMShaders;
#if UNITY_2020_2_OR_NEWER
using UnityEditor.AssetImporters;
#else
using UnityEditor.Experiment... | 2.209311 | 1bd0c5b6cb25d4aad5ef516b9c5652c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850344 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "03012021-dotnet-uta/P2_Cinephiliacs",
"max_stars_repo_path": "Logic/MovieLogic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169564"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using GlobalModels;
using Repository;
namespace BusinessLogic
{
public class MovieLogic : Interfaces.IMovieLogic
{
private readonly RepoLogic _repo;
public MovieLogic(RepoLogic repo)
... | 2.91868 | 1c690ddb530aeaa3220b21e1c5e5c028 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850345 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "vostok/system.metrics.windows",
"max_stars_repo_path": "Vostok.Sys.Metrics.Windows/Meters/Network/AllProcessesTcpConnectionsMeter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169565"
} | starcoder | <reponame>vostok/system.metrics.windows
using System;
using System.Collections.Generic;
using Vostok.Sys.Metrics.Windows.Native.Structures;
using Vostok.Sys.Metrics.Windows.Native.Utilities;
namespace Vostok.Sys.Metrics.Windows.Meters.Network
{
/// <summary>
/// <para>
/// Provides information about TCP c... | 2.244469 | 2eaa6a7d1b86d6589288f7d4a47f2c97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850346 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Apteco/PullMarketing",
"max_stars_repo_path": "src/Apteco.PullMarketing.Api/Services/MSSQLOptionConnectionSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169566"
} | starcoder | using Apteco.PullMarketing.Data.MSSQL;
using Microsoft.Extensions.Options;
namespace Apteco.PullMarketing.Api.Services
{
public class MSSQLOptionConnectionSettings : IMSSQLConnectionSettings
{
#region private fields
private IOptionsMonitor<MSSQLConnectionSettings> innerConnectionSettings;
#endregion
... | 2.048097 | 5b71e486211cd47e07fe1fd2e01ba2c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850347 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MossPiglets/WizardWorldAPI",
"max_stars_repo_path": "WizardWorldApi/WizardWorld.Persistance/Models/Spells/SpellLight.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169567"
} | starcoder | <filename>WizardWorldApi/WizardWorld.Persistance/Models/Spells/SpellLight.cs
namespace WizardWorld.Persistance.Models.Spells {
public enum SpellLight {
None = 0,
Blue = 1,
IcyBlue = 2,
Red = 3,
Gold = 4,
Purple = 5,
Transparent = 6,
White = 7,
Green = 8,
Orange = 9,
Yellow = 10,
BrightBlue = 1... | 2.247565 | 55e210828388581f9151ca2ce84245d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850348 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "NewLifeX/NewLife.IoT",
"max_stars_repo_path": "NewLife.IoT/ThingModels/ServiceReplyModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169568"
} | starcoder | <reponame>NewLifeX/NewLife.IoT<gh_stars>1-10
namespace NewLife.IoT.ThingModels;
/// <summary>
/// 服务响应模型
/// </summary>
public class ServiceReplyModel
{
/// <summary>服务编号</summary>
public Int64 Id { get; set; }
/// <summary>状态</summary>
public ServiceStatus Status { get; set; }
/// <summary>返回数据... | 1.8368 | 9a1ee42c70254a265cba89f981c85262 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850349 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BryanApellanes/bam.net.shared",
"max_stars_repo_path": "Services/OpenApi/Objects/PathsObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169569"
} | starcoder | <filename>Services/OpenApi/Objects/PathsObject.cs
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Bam.Net.Services.OpenApi.Objects
{
/// <summary>
/// Holds the relative paths to the individual endpoints and their operations.
/// The path is appended to the URL from the <a href="#serverObj... | 2.491806 | bff6512208284f46266725e26db26a38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xtom0369/XConfig",
"max_stars_repo_path": "Assets/XConfig/Runtime/Base/Type/UShortType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169570"
} | starcoder | <reponame>xtom0369/XConfig<gh_stars>0
using System;
using System.Collections.Generic;
namespace XConfig
{
public class UShortType : ConfigType<UInt16>
{
public override string configTypeName => "ushort";
public override string defaultValue => "0";
public static void ReadFromBytes(Byt... | 2.481371 | 3e022e7c4086c91c7aa72edb14f264de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850351 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "regressx/PetProject",
"max_stars_repo_path": "PetProject.Client.Wpf/Base/TreeViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169571"
} | starcoder | <gh_stars>0
using System.Collections.ObjectModel;
namespace PetProject.Client.Wpf.Base;
internal class TreeViewModel : ViewModelBase
{
private ObservableCollection<NodeViewModel> _root;
public TreeViewModel()
{
_root = new ObservableCollection<NodeViewModel>();
}
public ObservableCollec... | 1.756131 | acbd20d08ab3fb3847b8d434f18a29e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850352 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kenkendk/SMEIL",
"max_stars_repo_path": "SMEIL.Parser/AST/ParsedItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169572"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
namespace SMEIL.Parser.AST
{
/// <summary>
/// The base class for all AST items
/// </summary>
public abstract class ParsedItem
{
/// <summary>
/// The source token.
/// </summary>
public readon... | 3.265785 | a1cf9fa74d7d24700a3414d631751c42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850353 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "msotiroff/Asp.Net-Core-Projects",
"max_stars_repo_path": "source/VehicleCostsMonitor.Tests/Web/Areas/Admin/Controllers/ManufacturerControllerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169573"
} | starcoder | <gh_stars>1-10
namespace VehicleCostsMonitor.Tests.Web.Areas.Admin.Controllers
{
using FluentAssertions;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.EntityFrameworkCore;
using Moq;
using System.Collec... | 1.960197 | 189ab0f9c7b9f3bb1772d27aac54c07c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850354 | {
"extension": "c-sharp",
"max_stars_count": "68.0",
"max_stars_repo_name": "stefb965/dev.microsoftedge.com-vms",
"max_stars_repo_path": "tools/packermerge/PackerMerge/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169574"
} | starcoder | // --------------------------------------------------------------
//
// dev.microsoftedge.com -VMs
// Copyright(c) Microsoft Corporation. All rights reserved.
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files... | 2.1417 | 5009bba7ae7559d9aaba10855dd3b087 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850355 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neurealdesktop/hifi",
"max_stars_repo_path": "tools/unity-avatar-exporter/Assets/Editor/AvatarExporter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169575"
} | starcoder | // AvatarExporter.cs
//
// Created by <NAME> on 28 Nov 2018
// Copyright 2018 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
using UnityEngine;
using UnityEditor;
using System;
using System.IO;
u... | 1.772028 | 8ae5285702c5392c25da317b2269251c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850356 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "he-dev/DotNetBits",
"max_stars_repo_path": "Reusable.Cryptography/src/SHA1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169576"
} | starcoder | <filename>Reusable.Cryptography/src/SHA1.cs
using System;
using System.Security.Cryptography;
using JetBrains.Annotations;
// ReSharper disable InconsistentNaming - we want to keep the inconsistent naming for SHA1
namespace Reusable.Cryptography
{
public static class SHA1
{
[NotNull]
public s... | 2.539629 | 223377c7067ed46299a453977998dc26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850357 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brewdente/AutoWebPerf",
"max_stars_repo_path": "MasterDevs.ChromeDevTools/Protocol/Network/SetDataSizeLimitsForTestCommandResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169577"
} | starcoder | <reponame>brewdente/AutoWebPerf<filename>MasterDevs.ChromeDevTools/Protocol/Network/SetDataSizeLimitsForTestCommandResponse.cs
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Network
{
/// <summary>
/// For testing.
/// </summary... | 1.52644 | bacd03c63e72cf6e3efbad2516efa285 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850358 | {
"extension": "c-sharp",
"max_stars_count": "1407.0",
"max_stars_repo_name": "eComanda/Xamarin-Forms-Labs",
"max_stars_repo_path": "src/Platform/XLabs.Platform.Droid/Extensions/ViewGroupExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169578"
} | starcoder | // ***********************************************************************
// Assembly : XLabs.Platform.Droid
// Author : X<NAME>
// Created : 12-27-2015
//
// Last Modified By : XLabs Team
// Last Modified On : 01-04-2016
// ******************************************************************... | 2.416721 | 3eef75824d438cded632511c42baa5c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850359 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryanohs/Fubu-HtmlTags-For-ASP.NET-MVC",
"max_stars_repo_path": "src/HtmlTags.UI/Attributes/WithBlankOption.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169579"
} | starcoder | namespace HtmlTags.UI.Attributes
{
using System;
public class WithBlankOption : Attribute
{
}
} | 1.121977 | 1a42ae8564df1f8f4c0bb0b6e3d4aa96 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850360 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MineCake147E/CSCodec",
"max_stars_repo_path": "CSCodecBenchmarks/FftOld.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169580"
} | starcoder | <filename>CSCodecBenchmarks/FftOld.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Numerics;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
namespace CSCodec.Filters.Transformation
{
/// <summary>
/// Functions that performs Fast Fourier Transfo... | 2.749105 | b3984d4460517124b80c6847e59669a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850361 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "alexdrenea/CosmosDb.Net",
"max_stars_repo_path": "tests/CosmosDb.Tests/Helpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169581"
} | starcoder | using CosmosDb.Tests.TestData.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace CosmosDb.Tests
{
public class Helpers
{
public static List<T> GetFromCsv<T>(string fName)
{... | 2.360267 | f5547b355043226dedcd8c8aaae88b0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850362 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CNinnovation/TechConference2016",
"max_stars_repo_path": "VisualStudio2015/WebSampleApp/src/WebSampleApp/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169582"
} | starcoder | using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.PlatformAbstractions;
using System;
using WebSampleApp.Controllers;
using WebSampleApp.Middleware;
using WebS... | 2.124046 | c110c2bdf70dc4ad9672e5cf383e40d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850363 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Olbrasoft/AskMe",
"max_stars_repo_path": "src/Olbrasoft.Querying.Mapping.Data/QueryHandlerWithMapperAndDbConnectionFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169583"
} | starcoder | using System.Data;
using Olbrasoft.Data;
using Olbrasoft.Mapping;
namespace Olbrasoft.Querying.Mapping.Data
{
public abstract class QueryHandlerWithMapperAndDbConnectionFactory<TQuery, TResult> : QueryHandlerWithMapper<TQuery, TResult> where TQuery : IQuery<TResult>
{
private readonly IDbConnectionFact... | 2.227446 | a9c10233339ad1c0cfaaef8d348b1115 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850364 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pottereric/RoslynDOM",
"max_stars_repo_path": "RoslynDomTests/TestUtilities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169584"
} | starcoder | using System;
using System.IO;
using System.Linq;
namespace RoslynDomTests
{
internal static class TestUtilities
{
}
}
| 0.763516 | 3c51850789d4325ac36487d944e39f0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850365 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Flash0ver/F0.Mvvm",
"max_stars_repo_path": "source/example/F0.Mvvm.Example.Windows.Input/IRandomService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169585"
} | starcoder | <filename>source/example/F0.Mvvm.Example.Windows.Input/IRandomService.cs
using System.Threading.Tasks;
namespace F0.Mvvm.Example.Windows.Input
{
internal interface IRandomService
{
Task<int> GetRandomNumberAsync(int minValue, int maxValue);
}
}
| 1.99766 | 8a7c365dcc8257305ca142d47748423f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850366 | {
"extension": "c-sharp",
"max_stars_count": "135.0",
"max_stars_repo_name": "damiens/Evil-DICOM",
"max_stars_repo_path": "EvilDICOM/EvilDICOM.CV/IO/DICOM2Plan.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169586"
} | starcoder | <filename>EvilDICOM/EvilDICOM.CV/IO/DICOM2Plan.cs
using EvilDICOM.Core;
using EvilDICOM.Core.Helpers;
using EvilDICOM.Core.Logging;
using EvilDICOM.CV.RT.Meta;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;... | 2.227899 | bee22e8b475c22f03a58097e3a1f1a4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850367 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "dajudge/kafkaproxy",
"max_stars_repo_path": "itests/src/main/clients/dotnet/ConsumerPoll.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169587"
} | starcoder | <reponame>dajudge/kafkaproxy
using System;
using Confluent.Kafka;
namespace testrunner
{
public class ConsumerPoll : Poll
{
private readonly IConsumer<string, string> _consumer;
public ConsumerPoll(
in IConsumer<string, string> consumer
)
{
_consumer = c... | 1.840703 | 89a060b95f12d44f2afe215d1e0b9248 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850368 | {
"extension": "c-sharp",
"max_stars_count": "1142.0",
"max_stars_repo_name": "qhdwight/silk-net",
"max_stars_repo_path": "src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.FB/FBPassthrough.gen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169588"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Text;
using Silk.NET.Core;
using Silk.NET.Core.Native;
using Silk.NET.Core.Attr... | 1.391159 | 587d8bf8f769dae66e613282104676d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850369 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WS-QA/-Ocelot",
"max_stars_repo_path": "src/Ocelot/Configuration/Repository/IFileConfigurationRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169589"
} | starcoder | using System.Threading.Tasks;
using Ocelot.Configuration.File;
using Ocelot.Responses;
namespace Ocelot.Configuration.Repository
{
public interface IFileConfigurationRepository
{
Task<Response<FileConfiguration>> Get();
Task<Response> Set(FileConfiguration fileConfiguration);
}
} | 1.569653 | b7ab64670428cc525cc8b6b86d54ad77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850370 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Luchianno/Planet-Invasion",
"max_stars_repo_path": "Assets/_PlanetaryInvasion/Scripts/Data/AttackCountryCard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169590"
} | starcoder | <reponame>Luchianno/Planet-Invasion
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
[CreateAssetMenu(menuName = "PI/Actions/Attack Country")]
public class AttackCountryCard : Card
{
public IntRange StrengthDamage;
public IntRange PopDamage;
public IntRange... | 2.164067 | 3304387bacfdac1e2b7644b27d840add |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850371 | {
"extension": "c-sharp",
"max_stars_count": "86.0",
"max_stars_repo_name": "M-Mommsen/BinaryKits.Zpl",
"max_stars_repo_path": "src/BinaryKits.Zpl.Viewer/ElementDrawers/ElementDrawerBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169591"
} | starcoder | <filename>src/BinaryKits.Zpl.Viewer/ElementDrawers/ElementDrawerBase.cs
using BinaryKits.Zpl.Label.Elements;
using SkiaSharp;
namespace BinaryKits.Zpl.Viewer.ElementDrawers
{
public abstract class ElementDrawerBase : IElementDrawer
{
internal IPrinterStorage _printerStorage;
internal SKCanvas ... | 2.388792 | cf3fd75d5599913a085b7b33ce23fe39 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850372 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TopperDEL/VolleMoehre",
"max_stars_repo_path": "VolleMoehre.Contracts/Model/ChangeStatusInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169592"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using VolleMoehre.Contracts.Interfaces;
namespace VolleMoehre.Contracts.Model
{
public enum TargetType
{
Auftritt,
Training
}
public class ChangeStatusInfo
{
public string TargetId { get; set; }
publ... | 1.802428 | a66511ab7df21b42cdc7585437734388 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850373 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LendritIbrahimi/AutomatedRoutine",
"max_stars_repo_path": "src/Classes/Commands/Keyboard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169593"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Drawing;
using System.Drawing.Imaging;
using System.Windows.Forms;
using System.Runtime.InteropServices;
class Keyboard
{
[DllImport("User32.dll")]
static extern int SetForegroundWindow(IntPtr point);
... | 2.672472 | 289b3226514dc32f76f98cc6e171930c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850374 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AdamWhiteHat/CertificateEnumerator",
"max_stars_repo_path": "CertificateEnumerator/MainForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169594"
} | starcoder | <reponame>AdamWhiteHat/CertificateEnumerator<filename>CertificateEnumerator/MainForm.Designer.cs<gh_stars>1-10
namespace CertificateEnumeratorGUI
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary... | 1.881751 | 48c58404fb76aae0450b045d02f841e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850375 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "riQQ/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/D2D1_SPOTSPECULAR_SCALE_MODE.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169595"
} | starcoder | // c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d2d1effects.h(1030,9)
namespace DirectN
{
public enum D2D1_SPOTSPECULAR_SCALE_MODE
{
D2D1_SPOTSPECULAR_SCALE_MODE_NEAREST_NEIGHBOR = 0,
D2D1_SPOTSPECULAR_SCALE_MODE_LINEAR = 1,
D2D1_SPOTSPECULAR_SCALE_MODE_CUBIC = 2,
... | 1.627577 | f0923d7420dc2cf35a4b1ae83d859e84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850376 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "myroot/Tizen.TV.UIControls",
"max_stars_repo_path": "sample/Sample/RemoteControl/TestMultiPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169596"
} | starcoder | <gh_stars>10-100
/*
* Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
*
* 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/licenses/LICENSE-2.0
... | 1.981176 | bd3e63a74fd90084a84687bc999a73f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850377 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "jlaridon/ISHRemote",
"max_stars_repo_path": "Source/ISHRemote/Trisoft.ISHRemote/Service References/EventMonitor25ServiceReference/Reference.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169597"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 1.732065 | f79dd5d282faf39ad8f6b6411d76c59e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850378 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "cratis/cratis",
"max_stars_repo_path": "Specifications/Fundamentals/Properties/for_ArrayIndexers/when_checking_if_has_for_unknown_property.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169598"
} | starcoder | <filename>Specifications/Fundamentals/Properties/for_ArrayIndexers/when_checking_if_has_for_unknown_property.cs
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Aksio.Cratis.Properties.for_ArrayIndexers;
publi... | 1.805116 | 94f332aa23ce3caf66121b3b0232addb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850379 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "sourcegit-scm/sourcegit",
"max_stars_repo_path": "src/Views/Popups/Push.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169599"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Controls;
namespace SourceGit.Views.Popups {
/// <summary>
/// 推送
/// </summary>
public partial class Push : Controls.PopupWidget {
private Models.Repository repo = null;
public ... | 2.487695 | 2aa61c7f70b40d7d723f45b7daa80616 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850380 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "WestDiscGolf/ASP.NET-MVC-JavaScript-Routing",
"max_stars_repo_path": "Test/RouteDefinitionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169600"
} | starcoder | using System;
using System.Web.Routing;
using JsRouting.Core;
using Test.Helpers;
using Xunit;
namespace Test
{
public class RouteDefinitionTests
{
private const string pattern = "{controller}/{action}";
private const string defaultController = "Foo";
private const string routeName = "... | 2.74186 | 182e209ad5861c011784129b192dae90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850381 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Andrej997/DIPLOMSKI",
"max_stars_repo_path": "MAANPP20/Common/Models/Common_U/LoginModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169601"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Common.Models.Common_U
{
public class LoginModel
{
public string email { get; set; }
public string password { get; set; }
public string IdToken { get; set; }
public string id { get; set; }
public str... | 1.771185 | 0d3cc9214eb4e0021dbb5624c5632ed5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850382 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RahmatSaeedi/Unity_ZigZagClone",
"max_stars_repo_path": "Assets/Scripts/GameManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169602"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class GameManager : MonoBehaviour
{
public bool gameStarted;
public int score = 0;
public Text scoreText;
public Text highScoreText;
private v... | 2.151943 | 98f1e5344a7ad6df6733a7661634df03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850383 | {
"extension": "c-sharp",
"max_stars_count": "528.0",
"max_stars_repo_name": "VisualStoryCreator/Unity-SRP-VXGI",
"max_stars_repo_path": "Runtime/ShaderPasses/VisualizationShader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169603"
} | starcoder | <filename>Runtime/ShaderPasses/VisualizationShader.cs
using UnityEngine;
public static class VisualizationShader {
public enum Pass {
Mipmap = 0
}
public static Material material {
get {
if (_material == null) _material = new Material(shader);
return _material;
}
}
public static Sha... | 2.014837 | f0d88c0fab2ae0c4d3ef8596ce3eb97a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850384 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hashland/ElectrumXClient",
"max_stars_repo_path": "src/ElectrumXClient/Request/ServerVersionRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169604"
} | starcoder | <filename>src/ElectrumXClient/Request/ServerVersionRequest.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace ElectrumXClient.Request
{
public class ServerVersionRequest : RequestBase
{
public ServerVersionRequest() : base()
{
base.Method = "server.vers... | 1.881543 | da7d658c281328b596ebbb0d665200d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850385 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "game-forest/Citrus",
"max_stars_repo_path": "Tangerine/Tangerine.UI.Timeline/RollPane.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169605"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Lime;
using Tangerine.Core;
using Tangerine.Core.Components;
using Tangerine.Core.Operations;
namespace Tangerine.UI.Timeline
{
public class RollPane
{
public readonly Widget ContentWidget;
public readonly Widget RootWidget... | 1.920452 | 0ebec06a6f0cb9167f0f1fbf012b1fee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850386 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "eliagrady/azure-sdk-for-net",
"max_stars_repo_path": "src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountAssembliesOperations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169606"
} | starcoder | // <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | 1.523943 | be02625e97b4ff8ab02fbdf777ef80a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850387 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "2102-feb08-net/Depot-Order-Manager",
"max_stars_repo_path": "StoreApp.Web/Controllers/LocationController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169607"
} | starcoder | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using StoreApp.Library.Model;
using StoreApp.DataAccess.Repository;
using StoreApp.Web.Model;
namespace StoreApp.Web.Controllers
{
/// <summary>
///... | 2.862703 | ee5195988775f5957f8c9e76472c9515 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850388 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tazmanrising/IntiotgAngular",
"max_stars_repo_path": "abundalife/wwwroot/questionaire/Questionnaire/ChangePassword.aspx.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169608"
} | starcoder | <gh_stars>0
//------------------------------------------------------------------------------
// <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.501197 | 3df7439b311b104cc3876aa8f944a8c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850389 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skipme/Yandex.Trains.WinMo.src",
"max_stars_repo_path": "Fluditity/Controls/Events/FluidPaintEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169609"
} | starcoder | <filename>Fluditity/Controls/Events/FluidPaintEventArgs.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using Fluid.Drawing.GdiPlus;
namespace Fluid.Controls
{
/// <summary>
/// EventArgs used for control painting.
/// </summary>
/// <remarks>
/// Fluid... | 3.193856 | df41af0acf488dc1573de259fcc1bf90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850390 | {
"extension": "c-sharp",
"max_stars_count": "161.0",
"max_stars_repo_name": "MatterHackers/agg-sharp",
"max_stars_repo_path": "PolygonMesh/RayTracer/Bvh/Builders/BvhBuilderLocallyOrderedClustering.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169610"
} | starcoder | <gh_stars>100-1000
/*
Copyright (c) 2014, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | 2.198158 | 02b5eacc1a050db3f8d78901394c9c62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850391 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joergkrause/wcf-workshop",
"max_stars_repo_path": "WSDiscovery/WSDiscovery/Diagnostics/DiagnosticHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169611"
} | starcoder | <reponame>joergkrause/wcf-workshop
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Masieri.ServiceModel.WSDiscovery.Transport;
using System.ServiceModel.Channels;
using Masieri.ServiceModel.WSDiscovery.Client;
using System.Threading;
using Masieri.ServiceModel.WSDiscovery.Me... | 2.056016 | e54d41d2e28370b5fc1869de67edd0fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850392 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "postsharp/Caravela.Samples",
"max_stars_repo_path": "Caravela.Samples.LogParameters.Tests/Normal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169612"
} | starcoder | using System;
namespace Caravela.Samples.LogParameters.Tests.Normal
{
internal class Foo
{
[Log]
private void Bar(int a, string b)
{
Console.WriteLine($"a={a}, b='{b}'");
}
}
} | 2.276344 | ab013be7d0c377de3e780c92b7fd494e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850393 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "forki/NServiceBus",
"max_stars_repo_path": "src/NServiceBus.AcceptanceTests/NServiceBusAcceptanceTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169613"
} | starcoder | namespace NServiceBus.AcceptanceTests
{
using AcceptanceTesting.Customization;
using NUnit.Framework;
/// <summary>
/// Base class for all the NSB test that sets up our conventions
/// </summary>
[TestFixture]
// ReSharper disable once PartialTypeWithSinglePart
public abstract par... | 2.231901 | 274b3a45f4b5c2e74a2c47666fd05b94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850394 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "sphildreth/roadie",
"max_stars_repo_path": "Roadie.Api.Library/Models/Releases/ReleaseMediaList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169614"
} | starcoder | <filename>Roadie.Api.Library/Models/Releases/ReleaseMediaList.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace Roadie.Library.Models.Releases
{
[Serializable]
public sealed class ReleaseMediaList : EntityInfoModelBase
{
public short? MediaNumber { get; set; }
... | 2.010901 | d85d144807aec00ad6293c44e0efa1eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850395 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "caozhiyuan/IIS.Administration",
"max_stars_repo_path": "src/Tests/HttpClientExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169615"
} | starcoder | <reponame>caozhiyuan/IIS.Administration<filename>src/Tests/HttpClientExtensions.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Tests
{
using System.Net.Http;
using System.Text;
... | 2.482647 | 068a47627e4bea913ea588cba8339194 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850396 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "saber-nyan/meridian",
"max_stars_repo_path": "Meridian/View/Flyouts/CreateRadioStationView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169616"
} | starcoder | <filename>Meridian/View/Flyouts/CreateRadioStationView.xaml.cs
using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using EchonestApi.Core.Artist;
using GalaSoft.MvvmLight.Command;
using Meri... | 2.306817 | 8693d682505f4fcecc2703d811fe7343 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850397 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rgfaber/m5x-sdk",
"max_stars_repo_path": "src/M5x.Docker/DockerEnvironment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169617"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Docker.DotNet;
using Docker.DotNet.Models;
using M5x.Docker.Interfaces;
using M5x.Docker.Models;
using Serilog;
namespace M5x.Docker;
pu... | 2.357365 | 35bf703d79dc98ab8ff35ac15616e495 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850398 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "slarkerino/EShop",
"max_stars_repo_path": "samples/EShopSample/aspnet-core/src/EShopSample.EntityFrameworkCore.DbMigrations/Migrations/20200825104114_AddedEasyAbpPrefix.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169618"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
namespace EShopSample.Migrations
{
public partial class AddedEasyAbpPrefix : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_EShopOrdersOrderLines_... | 1.678471 | 2d507de909d5c803f7456f163436e693 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850399 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "brettveenstra/dbfriend",
"max_stars_repo_path": "src/Core/Generator/IDbSolutionGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169619"
} | starcoder | <gh_stars>1-10
using System;
namespace DbFriend.Core.Generator
{
public interface IDbSolutionGenerator
{
void Generate(Action<string> message);
}
} | 1.656335 | 679733ae2f8a2ccc62eeb049b8874667 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850400 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "udaken/CeLogParser",
"max_stars_repo_path": "CelogParserLib/Data/CelogSystemTlb.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169620"
} | starcoder | <reponame>udaken/CeLogParser<gh_stars>0
using System;
using System.Collections.Generic;
using UnsafeAndSpanExtension;
using static CelogParserLib.Interop;
namespace CelogParserLib.Data
{
public sealed class CelogSystemTlb : ICelogInfo
{
internal CelogSystemTlb(ReadOnlySpan<byte> buffer)
{
... | 1.788204 | ad775056032489f142ba542b279da0a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850401 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UnIQSaQYA/FleetManagementSystem",
"max_stars_repo_path": "transportationArchitecture/Entity/Components/PERSONDETAILS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169621"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Entity.Framework;
namespace Entity.Components
{
public class PERSONDETAILS : Entity.Framework.EntityBase
{
private string _cODE;
private string _nAME;
private string _fATHER_NAME;
private string _gRAND_FATHER_NAME;
private stri... | 2.037896 | d9467c923e6ae2da5d76aa090762fa66 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850402 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zgragselus/Ludum-Dare-45---Food-Fight",
"max_stars_repo_path": "Assets/Scripts/Levels/PremadeLevelGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169622"
} | starcoder | <filename>Assets/Scripts/Levels/PremadeLevelGenerator.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
public class PremadeLevelGenerator
{
public static void GenerateFirstLevel(Level level)
{
var asset = Resources.Load<TextAsset>("first-... | 2.863598 | ac372f339d804cf5522bb69525b2e3aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850403 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alex-kulakov/dataobjects-net",
"max_stars_repo_path": "Orm/Xtensive.Orm/Comparison/Internals/DecimalComparer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169623"
} | starcoder | // Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: <NAME>
// Created: 2007.11.28
using System;
namespace Xtensive.Comparison
{
[Serializable]
internal sealed class DecimalComparer : ValueTypeComparer<decimal>
{
... | 1.934289 | b9b82b683d6393d8f37b8d985511c2b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850404 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "user3301/TrialOfTheGrasses",
"max_stars_repo_path": "CSharp/leetcodesln_test/NumberOfSegmentsInAStringUnitTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169624"
} | starcoder | using leetcodesln;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace leetcodesln_test
{
[TestClass]
public class NumberOfSegmentsInAStringUnitTest
{
public NumberOfSegmentsInAString NumberOfSegmentsInAString { get; set; }
[TestInitialize]
public void BeforeEach()
... | 2.97218 | eb9ea6e072910644b39201d083cdb243 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850405 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "JamesRandall/CommandMessagePatternTutorial",
"max_stars_repo_path": "Part2/Core.Model/CommandResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169625"
} | starcoder | <filename>Part2/Core.Model/CommandResponse.cs<gh_stars>10-100
namespace Core.Model
{
public class CommandResponse
{
protected CommandResponse()
{
}
public bool IsSuccess { get; set; }
public string ErrorMessage { get; set; }
public static CommandR... | 3.019775 | 0ea7f5d500e95c68f49d59b737954bfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850406 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrewhoi/squidex",
"max_stars_repo_path": "tests/Squidex.Infrastructure.Tests/CQRS/Events/DefaultEventNotifierTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169626"
} | starcoder | <reponame>andrewhoi/squidex
// ==========================================================================
// DefaultEventNotifierTests.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// =================... | 1.834083 | 1076b76cc6508340260a0a92bb4911df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850407 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johnnysaucepn/SubEtha.Apps",
"max_stars_repo_path": "src/Assistant/Howatworks.Assistant.WebSockets/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169627"
} | starcoder | <reponame>johnnysaucepn/SubEtha.Apps
using System.Reflection;
using Howatworks.Thumb.WebSockets;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileProviders;
namespace Howatworks.Assistant.WebSockets
{
public class Startup
{
public void ... | 1.545584 | 094ac1f37cbc86e15067034fe7f79567 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850408 | {
"extension": "c-sharp",
"max_stars_count": "364.0",
"max_stars_repo_name": "liamwalsh/UnityGraphicsProgramming",
"max_stars_repo_path": "Assets/RoomProjection/Scripts/CameraSwitcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169628"
} | starcoder | using UnityEngine;
using UnityStandardAssets.Characters.ThirdPerson;
namespace RoomProjection
{
public class CameraSwitcher : MonoBehaviour
{
public enum Mode
{
SIMULATION,
FIRST_PERSON
}
public Camera _simulationCamera;
public Camera _firstPer... | 2.391693 | d6fe76588275dd5c29d3fa4412f2a921 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850409 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dhritzkiv/mixpanel-csharp",
"max_stars_repo_path": "src/Mixpanel/Mixpanel.Tests/MessageDataTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169629"
} | starcoder | <reponame>dhritzkiv/mixpanel-csharp
using System;
using System.Collections.Generic;
using Mixpanel.Core;
using Mixpanel.Core.Message;
using Mixpanel.Exceptions;
using NUnit.Framework;
namespace Mixpanel.Tests
{
[TestFixture]
public class MessageDataTests : MixpanelTestsBase
{
private static readon... | 2.325855 | 3d1a8bbf194fba3f7acb2fd321ef119b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850410 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "nventive/BackgroundProcessing",
"max_stars_repo_path": "BackgroundProcessing.WebSample/SampleController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169630"
} | starcoder | <reponame>nventive/BackgroundProcessing
using System.Threading.Tasks;
using BackgroundProcessing.Core;
using BackgroundProcessing.Core.Events;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace BackgroundProcessing.WebSample
{
// See http://restalk-patterns.org/long-running-operation-polli... | 2.468605 | cede47d137666b7b90a0d9fda44dac0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850411 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "superwalnut/redis-cluster-dotnet-core-template",
"max_stars_repo_path": "RedisDemo/Models/ICacheItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169631"
} | starcoder | <gh_stars>1-10
using System;
namespace RedisDemo.Models
{
public interface ICacheItem
{
string Id { get; set; }
}
}
| 1.618145 | 2d07403e1ca244660af59288df536e5a |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.