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 | 8844012 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "toor1245/MatrixDotNet",
"max_stars_repo_path": "tests/MatrixDotNet.UnitTesting/MatrixTests/StatisticsTests/SumTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163232"
} | starcoder | <filename>tests/MatrixDotNet.UnitTesting/MatrixTests/StatisticsTests/SumTests.cs
using System;
using MatrixDotNet;
using MatrixDotNet.Extensions;
using Xunit;
namespace MatrixDotNetTests.MatrixTests.StatisticsTests
{
public class SumTests
{
#region Sum
[Fact]
public void SumTest_SumAll... | 2.850126 | 55970507a59b5270593beadb447536b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844013 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "thygesteffensen/XrmMockup",
"max_stars_repo_path": "tests/SharedTests/XrmmockupCollectionNoProxyTypes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163233"
} | starcoder | using Xunit;
namespace DG.XrmMockupTest
{
/// <summary>
/// Ensures that XrmMockupFixture is only initialized once for all tests in the collection.
/// Must be defined in the same assembly as the tests.
/// </summary>
[CollectionDefinition("Xrm Collection No Proxy Types")]
public class XrmMock... | 2.0988 | 5ac6aac9ad2586d641fa4633a70450cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844014 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rayjung95/ExpenseReport",
"max_stars_repo_path": "StoreManager.Application/Features/ExpenseCategories/Queries/GetById/GetExpenseCategoryByIdQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163234"
} | starcoder | using StoreManager.Application.Interfaces.CacheRepositories;
using AspNetCoreHero.Results;
using AutoMapper;
using MediatR;
using System.Threading;
using System.Threading.Tasks;
using StoreManager.Application.Interfaces.Repositories;
namespace StoreManager.Application.Features.ExpenseCategories.Queries.GetById
{
... | 2.411969 | 6b058e39facd0b696494d557a836d132 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844015 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "undancer/oni-data",
"max_stars_repo_path": "Managed/main/HiveHarvestMonitor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163235"
} | starcoder | <gh_stars>1-10
using STRINGS;
public class HiveHarvestMonitor : GameStateMachine<HiveHarvestMonitor, HiveHarvestMonitor.Instance, IStateMachineTarget, HiveHarvestMonitor.Def>
{
public class Def : BaseDef
{
public Tag producedOre;
public float harvestThreshold;
}
public class HarvestStates : State
{
public... | 1.754194 | a52e4018940ab6a43f4a5a1fe24fabae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844016 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "komaaddict/Steam-Library-Manager",
"max_stars_repo_path": "Source/Steam Library Manager/Functions/Origin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163236"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Xml.Linq;
namespace Steam_Library_Manager.Functions
{
class Origin
{
public static void PopulateLibraryCMenuItems()
{
#region App Context Menu Item Definitions
... | 2.348068 | 20d568cfc9c140a35450bdf9286c6e81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844017 | {
"extension": "c-sharp",
"max_stars_count": "81.0",
"max_stars_repo_name": "JaCraig/Structure.Sketching",
"max_stars_repo_path": "Structure.Sketching/Filters/Resampling/Flip.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163237"
} | starcoder | /*
Copyright 2016 <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
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwar... | 2.704272 | b62ddf1df10a7dcc778b6cdb4bfb8e59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844018 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FazurP/DigitalCv",
"max_stars_repo_path": "AppDigitalCv/AppDigitalCv/ViewModels/EncuestaVM.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163238"
} | starcoder | <reponame>FazurP/DigitalCv
using AppDigitalCv.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace AppDigitalCv.ViewModels
{
public class EncuestaVM
{
public int id { get; set; }
public int idRespuesta01 { get; set; }
public int idR... | 1.551767 | c32dee10d91d312257160f2874297cba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844019 | {
"extension": "c-sharp",
"max_stars_count": "153.0",
"max_stars_repo_name": "skyhoshi/NStratis",
"max_stars_repo_path": "Hashing/TomanuExtensions/Extensions/IListExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163239"
} | starcoder | using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace TomanuExtensions
{
[DebuggerStepThrough]
public static class IListExtensions
{
public static int IndexOf<T>(this IList<T> a_list, T a_element)
{
for (int i = 0; i < a_list.Count; i++)
... | 3.418795 | 7315352f4994c769e30d38396a654654 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844020 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "doblo89/XUMM.Net",
"max_stars_repo_path": "src/XUMM.NET.SDK.Tests/Fixtures/MiscAppStorageFixtures.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163240"
} | starcoder | <reponame>doblo89/XUMM.Net
using System.Text.Json;
using XUMM.NET.SDK.Models.Misc.AppStorage;
namespace XUMM.NET.SDK.Tests.Fixtures
{
internal static class MiscAppStorageFixtures
{
internal static XummStorage XummStorage => new()
{
Application = new XummStorageApplication
... | 1.906795 | fe58c8bd46fcbccbd8f2a97c09e1c340 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844021 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "PACTCare/Palantir",
"max_stars_repo_path": "Pact.Palantir/Cache/MemoryTransactionCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163241"
} | starcoder | namespace Pact.Palantir.Cache
{
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Tangle.Net.Entity;
public class MemoryTransactionCache : ITransactionCache
{
/// <summary>
/// Initializes a new instance of the <see cref="MemoryTransactionCache"/> class.
... | 2.58766 | aa1de43be8591630feb2c6d0e58a8a63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844022 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "shemanaev/jellyfin-plugin-myshows",
"max_stars_repo_path": "MyShows/MyShowsApi/Api20/MyShowsApi20.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163242"
} | starcoder | <reponame>shemanaev/jellyfin-plugin-myshows<filename>MyShows/MyShowsApi/Api20/MyShowsApi20.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using MediaBrowser.Common.Json;
... | 2.016676 | d80516fbe0f6f3d670891b133144b921 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844023 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fazan64/Saxion_Y1Q4_Game_Architecture",
"max_stars_repo_path": "Sources/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163243"
} | starcoder | <filename>Sources/Program.cs
using Engine;
namespace Pong
{
static class Program
{
static void Main(string[] args)
{
var game = new Game("Penne", 640, 480);
var level = new MainLevel();
game.Run();
}
}
}
| 2.121179 | b5ec0e185c09f9fdd122def142c806d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844024 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "garolion/Industrial-IoT",
"max_stars_repo_path": "services/src/Microsoft.Azure.IIoT.Services.OpcUa.Registry.Onboarding/src/Models/ModelExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163244"
} | starcoder | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Azure.II... | 1.609649 | 46948639164b8c16168954e2220d0151 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844025 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "digitalParkour/SitecoreSYM-AzureB2C",
"max_stars_repo_path": "src/Feature/Login/tests/Controllers/LoginControllerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163245"
} | starcoder | <reponame>digitalParkour/SitecoreSYM-AzureB2C
using AutoFixture.Xunit2;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using SYMB2C.Feature.Login.Controllers;
using SYMB2C.Feature.Login.Pipelines;
using SYMB2C.Foundation.Account.Services;
using SYMB2C.Foundation.Caching;
using SYMB2C.Foundation... | 1.386616 | 44323a68d6b576a77650cc4379707717 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844026 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sacortesh/keyboard-extender",
"max_stars_repo_path": "src/KeyboardExtender/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163246"
} | starcoder | <reponame>sacortesh/keyboard-extender
using Avangarde.KeyboardExtender.Properties;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Avangarde.KeyboardExtender
{
static class Program
{
... | 2.303969 | b1a8e3a2ac710653bf8a84834510f995 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844027 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jugstalt/identityserver-legacy",
"max_stars_repo_path": "is4/IdentityServer/Legacy/Services/EventSinkProxy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163247"
} | starcoder | using IdentityServer.Legacy.Services.EventSinks;
using IdentityServer4.Events;
using IdentityServer4.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace IdentityServer.Legacy.Services
{
public class EventSinkProxy : IEventSink
{
private ... | 2.372836 | 0972917cee096db20d6ba8461c0f2894 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844028 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "ZingBallyhoo/SwfLib",
"max_stars_repo_path": "SwfLib/Tags/TagStreamExt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163248"
} | starcoder | <reponame>ZingBallyhoo/SwfLib
namespace SwfLib.Tags {
public static class TagStreamExt {
public static SwfTagData ReadTagData(this ISwfStreamReader reader) {
var typeAndSize = reader.ReadUInt16();
var type = (SwfTagType)(typeAndSize >> 6);
var shortSize = typeAndS... | 2.620634 | d1f18c2a79f7c06f33f0644efd876758 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844029 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "dotBunny/GDX",
"max_stars_repo_path": "GDX/Runtime/Developer/Reports/ReportExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163249"
} | starcoder | <reponame>dotBunny/GDX<gh_stars>10-100
// Copyright (c) 2020-2021 dotBunny Inc.
// dotBunny licenses this file to you under the BSL-1.0 license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.CompilerServices;
namespace GDX.Developer.Reports
{
/// <summary>
... | 2.709459 | f6c327b932cb561688281bbc3e98f077 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844030 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Accusoft/smartzone-samples",
"max_stars_repo_path": "samples/SmartZoneOCRSimpleRead/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163250"
} | starcoder | // Copyright Accusoft Corporation
using System;
using System.Configuration;
using System.Drawing;
using System.IO;
using Accusoft.SmartZoneOCRSdk;
namespace SmartZoneOCRSimpleRead
{
internal class Program
{
public static void Main(string[] args)
{
const string ocrImagePath = @"../... | 2.699872 | 5283302b07471174f302d1fd8cb76f63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844031 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ravjotsingh9/DBLike",
"max_stars_repo_path": "DBLike/Server/DatabaseAccess/Query.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163251"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Server.DatabaseAccess
{
public partial class Query
{
}
}
| 1.109048 | c428146b121896465ea14e178bcebc02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844032 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yesmancan/akdenizUniversitesi2Sinif2DonemWebOdevi",
"max_stars_repo_path": "WebApi/Controllers/CategoryController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163252"
} | starcoder | <filename>WebApi/Controllers/CategoryController.cs
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using WebApi.Model;
using System.Linq;
using System;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Authorization;
namespace AngularAndDonetCoreProjet.Controllers
{
[Route("api/[control... | 2.619112 | 679629d39821901c3607b61aaef4f43f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844033 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "occar421/VisualStudioSDK-Samples",
"max_stars_repo_path": "ReturnGlyph/ReturnGlyph/ReturnTag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163253"
} | starcoder | using Microsoft.VisualStudio.Text.Editor;
namespace ReturnGlyph
{
internal class ReturnTag : IGlyphTag
{
}
}
| 1.112066 | de07bf3530c7be79cf3c1a981a79c5d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844034 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "seankain/Garden",
"max_stars_repo_path": "Assets/Scripts/MeshDebugging.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163254"
} | starcoder | <filename>Assets/Scripts/MeshDebugging.cs
using UnityEngine;
using System.Collections;
public class MeshDebugging : MonoBehaviour {
public GameObject VertexVisualPrefab;
private MeshFilter meshFilter;
// Use this for initialization
void Start () {
meshFilter = this.gameObject.GetComponent<MeshFilte... | 2.610109 | 194a057cc8ef9b4a9cf53391ed25aa69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844035 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mercally/Demos.Net",
"max_stars_repo_path": "Web/Seguridad/Models/Usuario.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163255"
} | starcoder | using Seguridad.Helpers;
using System;
using System.Runtime.Serialization;
namespace Seguridad.Models
{
[DataContract(Name = "Usuario", Namespace = "ServiceBusDemo")]
public class Usuario
{
[DataMember]
public int UsuarioId { get; set; }
[DataMember]
public int RolId { get;... | 2.380428 | ed8b3bc6b5033fdf386766078a6be43c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844036 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thxu/Th.Validator",
"max_stars_repo_path": "Th.Validator.Test/Models/RangeModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163256"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Th.Validator.Constraints;
namespace Th.Validator.Test.Models
{
public class RangeModel
{
[Range(1, 100, "值必须在[1,100)之间", true)]
public decimal DecimalField { get; set; }
}
}
| 2.039972 | a2ba37afb5bc83baacd1f9884a1f5992 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844037 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marlonjunior12/BlueModas",
"max_stars_repo_path": "ApiBlueModas/ApiBlueModas/Data/BlueModasDataContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163257"
} | starcoder | <reponame>marlonjunior12/BlueModas<filename>ApiBlueModas/ApiBlueModas/Data/BlueModasDataContext.cs
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ApiBlueModas.Models;
namespace ApiBlueModas.Data
{
public class BlueModasDa... | 1.926394 | 424a6838305d8f8efa3af1c03150c931 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844038 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ZviRosenfeld/IEnumerableCorrelater",
"max_stars_repo_path": "IEnumerableCorrelater/Interfaces/IDistanceCalculator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163258"
} | starcoder | namespace IEnumerableCorrelater.Interfaces
{
/// <summary>
/// A class that can calclate the distance between two elements of type T
/// </summary>
public interface IDistanceCalculator<T>
{
uint Distance(T element1, T element2);
}
}
| 2.93179 | 7a5c30331f72d7145af5ad50a6a39eb0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844039 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gBritz/JiraToGithubMigrator",
"max_stars_repo_path": "src/MigrateJiraIssuesToGithub/ProjectHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163259"
} | starcoder | <reponame>gBritz/JiraToGithubMigrator
using JiraApi;
using MigrateJiraIssuesToGithub.Models;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace MigrateJiraIssuesToGithub
{
public class ProjectHelper
{
private readonly MarkdownFlavorConverter markdown... | 2.504496 | 566e8cee6b2e6abc5e7f2bc881c26fdb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844040 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "codyconfer/AspnetCrashCourse",
"max_stars_repo_path": "AspnetCrashCourse.Schema/Promotions/IPromoCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163260"
} | starcoder | namespace AspnetCrashCourse.Schema.Promotions
{
public interface IPromoCode : IPromotion
{
string Code { get; }
}
}
| 1.642062 | 5222b8ff1eb2c994ea9b71ba8b5016e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844041 | {
"extension": "c-sharp",
"max_stars_count": "155.0",
"max_stars_repo_name": "PonomarevDmitry/ExtensibilityTools",
"max_stars_repo_path": "src/Pkgdef/Completion/ExtensionMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163261"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MadsKristensen.ExtensibilityTools.Pkgdef
{
static class ExtensionMethods
{
public static bool HasString(this string text, params string[] items)
{
... | 2.377789 | 3df6654da05a6da1fa3e4ba1a61bb2b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844042 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ts-gis/GeoMarker",
"max_stars_repo_path": "src/GeoMarker/Services/GlobleUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163262"
} | starcoder | <reponame>ts-gis/GeoMarker<gh_stars>0
using System.Text.Json;
using NetTopologySuite.AspNetCore.Extensions;
namespace GeoMarker.Services
{
public class GlobleUtils
{
public GlobleUtils()
{
JsonSerializerOptions = new JsonSerializerOptions();
JsonSerializerOptions.Conve... | 1.470075 | f13a63556617771a9db7995077fb2f68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844043 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "kaitai-io/formats-kaitai-io.github.io",
"max_stars_repo_path": "bson/src/csharp/Bson.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163263"
} | starcoder | // This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
using System.Collections.Generic;
namespace Kaitai
{
/// <summary>
/// BSON, short for Binary JSON, is a binary-encoded serialization of JSON-like documents. Like JSON, BSON supports the embedding of documents... | 2.448215 | 9d8e965f40cc14119c33369de5020d60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844044 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alireza-rezaee/interactive",
"max_stars_repo_path": "src/Microsoft.DotNet.Interactive.CSharpProject.Tests/Instrumentation/InstrumentationSyntaxVisitorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163264"
} | starcoder | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Text;
using Microsoft.DotN... | 1.935786 | 0a30ce31aecb4d9b1a129853cebc705e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844045 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "visit/gelf4net",
"max_stars_repo_path": "Gelf4netTest/TestGelf4NetAppenderWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163265"
} | starcoder | <filename>Gelf4netTest/TestGelf4NetAppenderWrapper.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Esilog.Gelf4net.Appender;
namespace Gelf4netTest
{
class TestGelf4NetAppenderWrapper : Gelf4NetAppender
{
public void TestAppend(log4net.Core.LoggingEvent l... | 1.742692 | 9448a0df09146158bb942abf8eb829a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844046 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jiang43605/WeChatRobot-Mac",
"max_stars_repo_path": "WXLogin/HTTP/BaseService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163266"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
using System.IO;
using System.Collections;
using System.Runtime.Serialization.Formatters.Binary;
namespace WXLogin
{
/// <summary>
/// 访问http服务器类
/// </summary>
public static class BaseService
{
public sta... | 2.651911 | 18185875572b47d005106d5ba099d4d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844047 | {
"extension": "c-sharp",
"max_stars_count": "79.0",
"max_stars_repo_name": "janus-toendering/CsvHelper.Excel",
"max_stars_repo_path": "src/CsvHelper.Excel.Specs/ExcelSerializerSpecs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163267"
} | starcoder |
namespace CsvHelper.Excel.Specs
{
using System;
using System.IO;
using ClosedXML.Excel;
using Xunit;
public class ExcelSerializerSpecs
{
public abstract class Spec : IDisposable
{
protected readonly Person[] Values =
{
new Person { Name... | 2.881876 | 6d3d320a382a9219a29864d2e201a77b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844048 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Josh-Munro/SDV701Tutorial4",
"max_stars_repo_path": "SDV701-Tutorials/WinForm/PaintingForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163268"
} | starcoder | namespace ArtGallery.WinForm
{
public sealed partial class PaintingForm : WorkForm
{
//Singleton
private static readonly PaintingForm _instance = new PaintingForm();
static PaintingForm()
{
}
private PaintingForm()
{
InitializeComponent();
... | 2.634831 | 29054482ce5ee2bf3247914955609d44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844049 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "elamaunt/GDShrapt",
"max_stars_repo_path": "src/GDShrapt.Reader/Declarations/Class/GDClassMember.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163269"
} | starcoder | namespace GDShrapt.Reader
{
public abstract class GDClassMember : GDIntendedNode
{
internal GDClassMember(int intendation)
: base(intendation)
{
}
internal GDClassMember()
: base()
{
}
}
}
| 2.101808 | 16685c7f294fbd95c89de901d5b0d789 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844050 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "apcurium/AMP-Localization-Tool",
"max_stars_repo_path": "src/Resxible.Tests/DummyResourceFileHandlerBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163270"
} | starcoder | using System;
using System.IO;
using Com.Apcurium.Resxible.Localization;
namespace Com.Apcurium.Resxible.Tests
{
class DummyResourceFileHandlerBase : ResourceFileHandlerBase
{
private string _content;
public DummyResourceFileHandlerBase(string filePath) : base(filePath)
{
... | 2.459296 | c2ebd3dc224955b56d3f482d28e6b24c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844051 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TanHaoran/NurseService1.0",
"max_stars_repo_path": "cn.jpush.api/device/DeviceClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163271"
} | starcoder | using cn.jpush.api.common;
using cn.jpush.api.common.resp;
using cn.jpush.api.util;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace cn.jpush.api.device
{
publi... | 2.054724 | aef3073e77855780e9ec260ec143e709 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844052 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pagrimm/backlogger",
"max_stars_repo_path": "backlogger/ApiModels/RawgId.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163272"
} | starcoder | <filename>backlogger/ApiModels/RawgId.cs
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Backlogger.Models;
namespace Backlogger.ApiModels
{
public partial class RawgIdRoot
{
[JsonProperty("id")]
public long Id { get; set; }
[JsonProperty("slug"... | 1.682856 | f7013a7aeb63a40ca835e0552b5de949 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarianAtanasovv/ASP.NET-Core-Project-Gaming-Store",
"max_stars_repo_path": "GameStore/GameStore/Services/CustomerSupport/ICustomerSupportService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163273"
} | starcoder | using GameStore.Models.CustomerSupportTicket;
using System.Collections.Generic;
namespace GameStore.Services.CustomerSupport
{
public interface ICustomerSupportService
{
int Send(
string content,
string userId,
string createdOn,
string userEmail);
... | 1.803533 | d0e7363864a924e5136456c0d9fa8b90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844054 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cjaliaga/TrackSeries.TheTVDB.Client",
"max_stars_repo_path": "src/TrackSeries.TheTVDB.Client/Authentication/AuthData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163274"
} | starcoder | <filename>src/TrackSeries.TheTVDB.Client/Authentication/AuthData.cs
namespace TrackSeries.TheTVDB.Client.Authentication
{
internal class AuthData
{
public string ApiKey { get; set; }
public string UserKey { get; set; }
public string Username { get; set; }
}
}
| 1.707134 | c5b924fd63090a852dea2c7055e070a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844055 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "jacobduijzer/PollyRefitBlogCode",
"max_stars_repo_path": "PollyRefitTest/Products/ProductService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163275"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using PollyRefitTest.Authentication;
using Refit;
namespace PollyRefitTest.Products
{
public class ProductService
: IProductService
{
private readonly IProductsApi _productsApi;
private readonly IAuthenticati... | 2.741247 | d317d40c417a24c04542284186b1e59c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844056 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "egordorichev/pemsa-3d",
"max_stars_repo_path": "Assets/Scripts/emulator/InputUnit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163276"
} | starcoder | <filename>Assets/Scripts/emulator/InputUnit.cs
using AOT;
using System;
using UnityEngine;
namespace emulator
{
public class InputUnit : Unit
{
private const int ButtonCount = 7;
private const int PlayerCount = 8;
private static bool[,] buttonsDown = new bool[ButtonCount, PlayerCount];
private static bool[... | 2.290604 | 4c9ca513af15abb97cdc1dbd790a7b9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844057 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jareddvw/PartySampleFall2021",
"max_stars_repo_path": "Assets/Scripts/MoneyUI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163277"
} | starcoder | using System.Text;
using UnityEngine;
using UnityEngine.UI;
public class MoneyUI : MonoBehaviour
{
public MoneyGrab money;
public int bal;
public Text moneyDisplay;
private void Awake()
{
bal = money.bal;
moneyDisplay.text = "$ " + bal;
}
private void Update()
{
... | 2.424232 | 0b83a8f9578639474e6282ebb86fcb80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844058 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "follesoe/HyperComments",
"max_stars_repo_path": "HyperComments/Player/PlayerTaggerProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163278"
} | starcoder | using System;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Tagging;
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Utilities;
namespace HyperComments.Player
{
[Export(typeof(ITaggerProvider))]
[ContentType("code... | 2.035441 | 3df547d2656af1aa0f438a9a1bc0870a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844059 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "VadimMatyrin/TestMe",
"max_stars_repo_path": "TestMe/Views/Tests/Details.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:163279"
} | starcoder | <gh_stars>1-10
@model TestMe.Models.Test
@{
ViewData["Title"] = "Details";
}
<h2>Details</h2>
<div>
<h4>Test</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.TestName)
</dt>
<dd>
@Html.DisplayFor(model => model.TestName)
... | 2.023371 | 1035e1c8a9ce18112ef0ea4500204c3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844060 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nikhil2194/2D-Platformer-Game",
"max_stars_repo_path": "Assets/Scripts/GameOverController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163280"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class GameOverController : MonoBehaviour
{
public Button buttonRestart;
private void Awake()
{
buttonRestart.onClick.AddListener(ReloadLevel);
}
... | 2.149364 | 6d85b3c84a1edd2abc74bac0e45ad926 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844061 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vobradovich/orleans",
"max_stars_repo_path": "src/Orleans.Core/Configuration/OptionLogger/IOptionsLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163281"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace Orleans
{
internal class ClientOptionsLogger : OptionsLogger, ILifecycleParticip... | 2.733262 | 0a129bef8fc2edc5bfc7a3532a6b7078 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844062 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "TheMoogle/space-station-14",
"max_stars_repo_path": "Content.Shared/Interaction/Events/InteractionAttemptEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163282"
} | starcoder | using Robust.Shared.GameObjects;
namespace Content.Shared.Interaction.Events
{
/// <summary>
/// Event raised directed at a user to see if they can perform a generic interaction.
/// </summary>
public sealed class InteractionAttemptEvent : CancellableEntityEventArgs
{
public Interactio... | 2.483999 | f53baf8da3eb71eb074bd296f4d3bd8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844063 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "PFC-acl-amg/GamaPFC",
"max_stars_repo_path": "GamaPFC/Gama.Atenciones.Wpf/Converters/ChartPiePieceLabelConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163283"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace Gama.Atenciones.Wpf.Converters
{
public class ChartPiePieceLabelConverter : IValueConverter
{
public object Convert(objec... | 2.445076 | ed4db97280d90f34ab0926c4dd9a736a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844064 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "coderIML/dotnet_corert",
"max_stars_repo_path": "src/ILCompiler.Compiler/src/Compiler/SimdHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163284"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Internal.TypeSystem;
using AssemblyName = System.Reflection.AssemblyName;... | 2.197242 | 03e32c5194fca9d99dbadecd84e1b4f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844065 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "HMS-Core/hms-xamarin-bindings",
"max_stars_repo_path": "ios/samples/HiAnalyticsDemo/HiAnalyticsXamariniOSDemo/QuizViewController.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163285"
} | starcoder | <reponame>HMS-Core/hms-xamarin-bindings
// WARNING
//
// This file has been generated automatically by Visual Studio from the outlets and
// actions declared in your storyboard file.
// Manual changes to this file will not be maintained.
//
using Foundation;
using System;
using System.CodeDom.Compiler;
using UIKit;
n... | 1.567101 | f8d2f7c1190441d5b85a96ba8f2a2b77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844066 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rvtr-campsite-lodging/rvtr-api-lodging",
"max_stars_repo_path": "aspnet/RVTR.Lodging.ObjectModel/Models/ReviewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163286"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace RVTR.Lodging.ObjectModel.Models
{
public class ReviewModel : IValidatableObject
{
/// <summary>
/// Id of Review.
/// </summary>
/// <value></value>
... | 2.827134 | a11ab38ffb3a3ceda143fc5231f110de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844067 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "nogic1008/WritableOptions.Net",
"max_stars_repo_path": "sandbox/Benchmark/WritableOptionsBenchmark.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163287"
} | starcoder | #nullable disable
namespace Benchmark;
using System.IO;
using BenchmarkDotNet.Attributes;
[Config(typeof(BenchmarkConfig))]
public class WritableOptionsBenchmark
{
public class SampleOption
{
public DateTime LastLaunchedAt { get; set; }
public string[] StringSettings { get; set; }
publ... | 2.365635 | 126e748efe77c8d38e9ba10efd48b59d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844068 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhang0xf/battlecity",
"max_stars_repo_path": "battle-city/Assets/Scripts/Message/NotificationName.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163288"
} | starcoder | <reponame>zhang0xf/battlecity<filename>battle-city/Assets/Scripts/Message/NotificationName.cs<gh_stars>0
public class NotificationName
{
public const string NONE = "none";
public const string FIRE = "fire";
public const string BACK = "back";
public const string MOUSE_MOVE = "mouse_move";
public cons... | 1.257928 | 6c4af9970137386d233cb0eba5fc2de7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844069 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danielmartind/MyVote",
"max_stars_repo_path": "src/UI/MyVote.UI.ViewModels.Shared/Helpers/InjectAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163289"
} | starcoder | <reponame>danielmartind/MyVote<filename>src/UI/MyVote.UI.ViewModels.Shared/Helpers/InjectAttribute.cs
using System;
namespace MyVote.UI.Helpers
{
public sealed class InjectAttribute : Attribute
{
}
}
| 1.023206 | c3a40ba9e0460346fe9a1686843b009d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844070 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "artakhak/IoC.Configuration-",
"max_stars_repo_path": "TestProjects.TestPluginAssembly1/Implementations/Plugin1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163290"
} | starcoder | <reponame>artakhak/IoC.Configuration-
using System.Collections.Generic;
using IoC.Configuration;
using SharedServices.Implementations;
using TestProjects.AssemblyToTestAssemblyResolution;
namespace TestPluginAssembly1.Implementations
{
public class Plugin1 : PluginBaseForTests
{
#region Member Variabl... | 2.110049 | 11f81c1bfb99fdbcb5fe50594b220237 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844071 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Infosys/Dynamics-365-Frontline-Worker-Integrator-for-ICONICS-Smart-Buildings",
"max_stars_repo_path": "src/azure/dynamics-connector/dynamics-connector/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163291"
} | starcoder | <filename>src/azure/dynamics-connector/dynamics-connector/Startup.cs
// -----------------------------------------------------------------------
// <copyright file="Startup.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE fil... | 1.958465 | 410b5579ac7fe8df9d3b5241f635a546 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844072 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thezaza101/wineClassifier",
"max_stars_repo_path": "WinePredictor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163292"
} | starcoder | <gh_stars>0
using System;
using System.IO;
using Microsoft.ML;
using Microsoft.ML.Data;
using Microsoft.ML.Transforms;
using Microsoft.ML.Data;
namespace wineClassifier
{
public class WinePredictor
{
ITransformer _model;
private MLContext _mlContext;
private PredictionEngine<WineData,... | 1.531694 | 3daec161f046fa0281f1f870921e0ba7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844073 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Jaykul/clrplus",
"max_stars_repo_path": "Core/Extensions/ExceptionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163293"
} | starcoder | //-----------------------------------------------------------------------
// <copyright company="CoApp Project">
// Copyright (c) 2010-2013 <NAME> and CoApp Contributors.
// Contributors can be discovered using the 'git log' command.
// All rights reserved.
// </copyright>
// <license>
// The s... | 2.7733 | 87b91a8a6c21898474ea6373730cd965 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844074 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "geocom-gis/lucenenet",
"max_stars_repo_path": "src/dotnet/Lucene.Net.Tests.ICU/Support/TestIcuBreakIterator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163294"
} | starcoder | #if FEATURE_BREAKITERATOR
using Lucene.Net.Util;
using NUnit.Framework;
using System;
using System.Globalization;
using Console = Lucene.Net.Support.SystemConsole;
namespace Lucene.Net.Support
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the ... | 2.181788 | 98b221f213c67f23f2e52ac04424c82a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844075 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "chrisdostert/TimeZoneDb",
"max_stars_repo_path": "Src/TimeZoneDb/ValueObjects/TimeZoneAbbreviationVariable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163295"
} | starcoder | <reponame>chrisdostert/TimeZoneDb
using System;
namespace TimeZoneDb.ValueObjects
{
/// <summary>
/// represents a value for the variable in a <see cref="TimeZoneAbbreviationFormat" />
/// </summary>
public struct TimeZoneAbbreviationVariable
{
#region Ctors
public TimeZoneAbb... | 2.500709 | 300d9d6434223ea3a0dc7c9324b849c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844076 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "tomasz-herman/RayTracing",
"max_stars_repo_path": "RayTracerApp/Panels/MaterialPanel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163296"
} | starcoder | <filename>RayTracerApp/Panels/MaterialPanel.cs
using RayTracerApp.SceneController;
using RayTracerApp.Utils;
using RayTracing.Materials;
using RayTracing.Maths;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Text;
usin... | 2.465091 | 027692045fa0b290b4156267d36b5bad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844077 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "favedit/MoCross",
"max_stars_repo_path": "Tools/1 - Common/MoCore/Window/Api/IShellFolder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163297"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using MO.Core.Window.Api;
namespace MO.Core.Window.Api {
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("000214E6-0000-0000-C000-000000000046")]
public interface IShellFolder ... | 1.999262 | 5fd1cb60f962df179d458546a629cb00 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844078 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "etas/vs-boost-unit-test-adapter",
"max_stars_repo_path": "VisualStudioAdapter/ISolution.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163298"
} | starcoder | <gh_stars>10-100
// (C) Copyright 2015 ETAS GmbH (http://www.etas.com/)
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
using System.Collections.Generic;
namespace VisualStudioAdapter
{
/// <summa... | 1.895405 | 52d62643d7c8f93f9898bf6ac19b39c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844079 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "SammyEnigma/LimitlessUI",
"max_stars_repo_path": "LimitlessUI/ArchProgressBar_WOC.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163299"
} | starcoder | <filename>LimitlessUI/ArchProgressBar_WOC.cs<gh_stars>10-100
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
/*
End-User Licence Agreement (EULA) for WithoutCaps Software
This version is current as of May 27, 2017. Please consult <EMAIL> for any new versions of this EULA.
You can... | 2.324513 | 9c36f470e46aef7ab336c0c50594f328 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844080 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "thepill/Partner-Center-DotNet-Samples",
"max_stars_repo_path": "sdk/SdkSamples/Customers/FilterCustomers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163300"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="FilterCustomers.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Microsoft.Stor... | 2.620962 | 86f6250e8487984db9a0dbdf0aa3fc96 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844081 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexandrateneva/CSharp-Web-SoftUni",
"max_stars_repo_path": "CSharp MVC Frameworks - ASP.NET Core/Eventures - Exercise Project/Eventures/Eventures/ViewModels/Events/BaseEventViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:... | starcoder | namespace Eventures.ViewModels.Events
{
using System;
using System.Globalization;
public class BaseEventViewModel
{
public string Id { get; set; }
public string Name { get; set; }
public string Place { get; set; }
public DateTime Start { get; set; }
public D... | 2.53758 | 73f9c20777b71ca75ce651696c9976f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844082 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "bitmovin/bitmovin-api-sdk-dotnet",
"max_stars_repo_path": "src/Bitmovin.Api.Sdk/Models/BasicMediaInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163302"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using JsonSubTypes;
using Newtonsoft.Json;
using Bitmovin.Api.Sdk.Common;
using Bitmovin.Api.Sdk.Models;
namespace Bitmovin.Api.Sdk.Models
{
/// <summary>
/// BasicMediaInfo
/// </summary>
pub... | 2.094945 | 66872e44ba6fbfd7f501bff178288bdc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844083 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AnakinSklavenwalker/CommonUtilities",
"max_stars_repo_path": "src/CommonUtilities.TaskPipeline/test/ExtensionsTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163303"
} | starcoder | <reponame>AnakinSklavenwalker/CommonUtilities
using System;
using System.Collections.Generic;
using System.IO;
using Xunit;
namespace Sklavenwalker.CommonUtilities.TaskPipeline.Test;
public class ExtensionsTest
{
[Fact]
public void IsExceptionType()
{
var e = new InvalidOperationException();
... | 1.84759 | bbb499c5937669e685fea405a6eecc12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844084 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bolvarak/aspnetcore-fux-config",
"max_stars_repo_path": "RedisHelper/Abstract/Connection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163304"
} | starcoder | <gh_stars>0
using System;
using System.IO;
using System.Linq;
using System.Net.Sockets;
using System.Threading.Tasks;
using Fux.Config.RedisHelper.Attribute;
using Fux.Core.Extension.String;
using Newtonsoft.Json;
using StackExchange.Redis;
namespace Fux.Config.RedisHelper.Abstract
{
/// <summary>
/// This cla... | 2.348542 | 05e10887b6eb4fd7f438b95cda4f5229 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844085 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "ita-social-projects/YIF_Backend",
"max_stars_repo_path": "YIF.Core.Domain/ServiceInterfaces/ILectorService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163305"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using YIF.Core.Domain.ApiModels.RequestApiModels;
using YIF.Core.Domain.ApiModels.ResponseApiModels;
namespace YIF.Core.Domain.ServiceInterfaces
{
public interface ILectorService
{
Task<ResponseApiModel<IEnumerable<DepartmentApiModel>>> G... | 1.580124 | a38c988f47284fa4c141aa84b26c5809 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844086 | {
"extension": "c-sharp",
"max_stars_count": "4036.0",
"max_stars_repo_name": "vadi2/codeql",
"max_stars_repo_path": "csharp/ql/test/query-tests/Dead Code/Tests/regression.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163306"
} | starcoder | <gh_stars>1000+
using System;
using System.Collections.Generic;
class Test : IComparer<string>
{
// this is really dead
private string dead = "Actual dead field";
private static void Main(string[] args)
{
var test = new Test();
test.Use(test.Ret42);
// Anonymous types should no... | 2.961629 | 715a4458def7d9199d2b58917da13851 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844087 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "divush/csharp-compiler",
"max_stars_repo_path": "PyCS_1.0/test/sort.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163307"
} | starcoder | namespace HelloWorld
{
class Hello
{
int Main()
{
int[] a = {4, 2, 1, 3};
int n = 4;
for(int i=0; i<n; i++)
{
int min = a[i], index = i;
for(j=i+1;j<n;j++)
{
if(a[j]<min)
{
min = a[j];
index = j;
}
}
int temp = a[index];
a[index] = a[i];
a[i] = ... | 3.460478 | 353ccf32560e9ecfdf121bf8ccf11a46 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844088 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "riedmank/Lab03-SystemIO",
"max_stars_repo_path": "GuessingGameTest/UnitTest1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163308"
} | starcoder | using System;
using System.IO;
using Xunit;
using static GuessingGame.Program;
namespace GuessingGameTest
{
public class UnitTest1
{
[Fact]
public void CreatedFileExists()
{
CreateFile(path);
Assert.True(File.Exists("../../../myFile.txt"));
}
[Fa... | 3.176384 | c560167b33ba7247a903262aa75fab12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844089 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chickn666/ios",
"max_stars_repo_path": "Sample - Tutorial/Tutorial/Tutorial.UI.Droid/Views/Lessons/LocationView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163309"
} | starcoder |
using Android.App;
using Cirrious.MvvmCross.Binding.Android.Views;
using Tutorial.Core.ViewModels.Lessons;
namespace Tutorial.UI.Droid.Views.Lessons
{
[Activity]
public class LocationView
: MvxBindingActivityView<LocationViewModel>
{
protected override void OnViewModelSet()
{
... | 1.524671 | 052d5facb39a4ff5f608c48bf534c4e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844090 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "VirtoCommerce-archieve/vc-integrations",
"max_stars_repo_path": "PLATFORM/Modules/Catalog/VirtoCommerce.CatalogModule.Data/Model/CatalogLanguage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163310"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
using VirtoCommerce.Platform.Core.Common;
using VirtoCommerce.Platform.Data.Infrastructure;
namespace VirtoCommerce.CatalogModule.Data.Model
{
public class CatalogLanguag... | 1.763549 | 2ac2b7b5f5018e6d4a7efc4c05a3a2c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844091 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Altairseven/Gestion",
"max_stars_repo_path": "Forms/Busqueda_Dicotomica.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163311"
} | starcoder | <reponame>Altairseven/Gestion<gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Gestion {
public partial class Busqueda_Dicotomic... | 2.696657 | 914fd7cef2a0d76bbcdbe4fb488ee060 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844092 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Whiteknight/Acquaintance",
"max_stars_repo_path": "Acquaintance/IEnvelopeFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163312"
} | starcoder | <reponame>Whiteknight/Acquaintance
using System.Collections.Generic;
using Acquaintance.Utility;
namespace Acquaintance
{
/// <summary>
/// Factory for creating Envelopes
/// </summary>
public interface IEnvelopeFactory
{
/// <summary>
/// Create an envelope with the given fields s... | 2.395609 | 9a3fede2e95d9d468d96b0cfb1db0dc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844093 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ultramarine256/CityQuest",
"max_stars_repo_path": "CityQuest.Application/ApplicationServices/MainModule/Permissions/IPermissionAppService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163313"
} | starcoder | <filename>CityQuest.Application/ApplicationServices/MainModule/Permissions/IPermissionAppService.cs<gh_stars>1-10
using Abp.Application.Services;
using CityQuest.ApplicationServices.Shared.Dtos.Input;
using CityQuest.ApplicationServices.Shared.Dtos.Output;
using System;
using System.Collections.Generic;
using System.L... | 1.69233 | b6e207fd91b02467023f9bafcfdc7727 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844094 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "paulcalcraft/lion-hunting",
"max_stars_repo_path": "LionHunting/Utility/Vector2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163314"
} | starcoder | <gh_stars>0
using System;
using System.Diagnostics;
namespace LionHunting.Utility
{
/// <summary>
/// Represents a 2D vector with double floating point precision.
/// </summary>
class Vector2
{
//private const double Epsilon = 0.001;
private double _x;
public double X
... | 3.294473 | 48414b79605c1b60ee98d52fa1ef7db7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844095 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AnthonyNystrom/NuGenBioChemDX",
"max_stars_repo_path": "NuGenBioChem/Controls/Backstage/HelpTab.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163315"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windo... | 1.461801 | 206a4437ec1e20ec27dbfa3262fec268 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844096 | {
"extension": "c-sharp",
"max_stars_count": "2730.0",
"max_stars_repo_name": "HirenBodhi/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK",
"max_stars_repo_path": "Spectre.Console/Spectre.Console/Widgets/Charts/IBarChartItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163316"
} | starcoder | <reponame>HirenBodhi/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK
namespace Spectre.Console
{
/// <summary>
/// Represents a bar chart item.
/// </summary>
public interface IBarChartItem
{
/// <summary>
/// Gets the item label.
/// </summary>
string Label { get;... | 1.832859 | f5befc496eab9bd667ac097cd5b239f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844097 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NQbbe/Ckode.Dapper.Repository",
"max_stars_repo_path": "Source/Ckode.Dapper.Repository/Sql/SqlQueryGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163317"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using Ckode.Dapper.Repository.Interfaces;
using Ckode.Dapper.Repository.MetaInformation;
using Ckode.Dapper.Repository.MetaInformation.PropertyInfos;
[assembly: InternalsVisibleTo("Ckode.Dapper.Rep... | 2.387187 | 74175dfbc2c0292575663c1fef9860d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844098 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "firefishes/FWGame",
"max_stars_repo_path": "Assets/Scripts/ShipDock/Applications/Components/ComponentBridge.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163318"
} | starcoder | using ShipDock.Interfaces;
using System;
namespace ShipDock.Applications
{
public class ComponentBridge : IDispose
{
private Action mOnStarted;
public void Dispose()
{
mOnStarted = default;
}
public ComponentBridge(Action callback = null)
{
... | 2.402069 | 4cac3b70f144f7a56a728de5dec080c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844099 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kolos450/Uavcan.NET",
"max_stars_repo_path": "Source/Testing/Uavcan.NET.Testing.Framework/ApplicationLauncher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163319"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
namespace Uavcan.NET.Testing.Framework
{
public static class ApplicationLauncher
{
public static int Run(
string fileName,
... | 2.748363 | d30efe704d414318275ad689905dbfca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844100 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "LeandroCannizzaro/Bridge",
"max_stars_repo_path": "Tests/Batch3/BridgeIssues/2400/N2406.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163320"
} | starcoder | <filename>Tests/Batch3/BridgeIssues/2400/N2406.cs
using System;
using System.Threading;
using System.Threading.Tasks;
using Bridge.Test.NUnit;
namespace Bridge.ClientTest.Batch3.BridgeIssues
{
/// <summary>
/// This test consists in running async tasks and calling the task's Wait()
/// method to wait for t... | 2.907815 | 0c5f7a28bc068a8123bdb03953ee46a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844101 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "imanushin/NetRunner",
"max_stars_repo_path": "source/NetRunner.TestExecutionProxy/PropertyData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163321"
} | starcoder | <reponame>imanushin/NetRunner
using System;
using System.Reflection;
using NetRunner.ExternalLibrary;
using NetRunner.ExternalLibrary.Properties;
namespace NetRunner.TestExecutionProxy
{
[Serializable]
public sealed class PropertyData : IHelpIdentity
{
private const string propertyFormat = "P:{0}.{... | 2.273347 | c66abaddfcdfec55b6a516d9dad2430f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844102 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wizcas/Alakajam1",
"max_stars_repo_path": "Assets/Scripts/Potion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163322"
} | starcoder | <filename>Assets/Scripts/Potion.cs<gh_stars>0
/*****************************************************
/* Created by <NAME> (http://wizcas.me)
/* Please contact me if you have any question
/* E-mail: <EMAIL>
/* 2017 © All copyrights reserved by <NAME>
*****************************************************/
using System.... | 2.238474 | 799bfa0e40a440983562af4e40a6ed88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844103 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "memucho/webapp",
"max_stars_repo_path": "src/TrueOrFalse.Frontend.Web/Views/AlgoInsight/FeatureModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163323"
} | starcoder | using System.Collections.Generic;
public class FeatureModel
{
public AnswerFeature Feature;
public IEnumerable<AlgoTesterSummary> Summaries;
} | 1.11945 | 50d361859a3caacd29fc90de5583df99 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844104 | {
"extension": "c-sharp",
"max_stars_count": "558.0",
"max_stars_repo_name": "Spool5520/ultraviolet",
"max_stars_repo_path": "Source/Ultraviolet.ImGuiViewProvider/Shared/ImGuiVertex.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163324"
} | starcoder | <gh_stars>100-1000
using Ultraviolet.Graphics;
namespace Ultraviolet.ImGuiViewProvider
{
/// <summary>
/// Represents the vertex format used by ImGui.
/// </summary>
public struct ImGuiVertex : IVertexType
{
/// <summary>
/// Initializes a new instance of the <see cref="ImGuiVertex... | 2.635875 | aa23c57288b3f753ddd6c1088e9a5711 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844105 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "substance-r2d2/Reverie_Unity",
"max_stars_repo_path": "Assets/Source Code/Gameplay/Player/PlayerFSM/PlayerIdleState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163325"
} | starcoder | using UnityEngine;
using System.Collections;
public class PlayerIdleState : IPlayerState
{
public PLAYERSTATE StateName { get; set; }
public PlayerFSM Player { get; set; }
Vector2 moveLeftCoords;
Vector2 moveRightCoords;
public PlayerIdleState(PlayerFSM player)
{
this.Player = player... | 1.856225 | a207bbcd6ccff14c150c0cfe857a93e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844106 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "vient/proctf-2019",
"max_stars_repo_path": "services/deer/src/Deer/Models/User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163326"
} | starcoder | namespace Deer.Models
{
public class User
{
public string Username { get; set; }
public byte[] Salt { get; set; }
public byte[] PasswordHash { get; set; }
public string LogIndexName { get; set; }
public string LogExchangeName { get; set; }
... | 1.30359 | 955aa2b48eb37c99f7a5305fdf0c6807 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844107 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ni/vdm-dotnet",
"max_stars_repo_path": "examples/dotNET/2. Functions/Pattern Matching/cs/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163327"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using NationalInstruments.Vision;
using NationalInstruments.Vision.Analysis;
// Pattern Matching Ex... | 2.676138 | e21318a5c5fb79f43ce8cd1fb643c695 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844108 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "tabacws-marketing/continental-cloudyourself",
"max_stars_repo_path": "Backend/AppServices/Azure/Src/Services/DeploymentService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163328"
} | starcoder | <gh_stars>10-100
using CloudYourself.Backend.AppServices.Azure.Aggregates.Subscription;
using CloudYourself.Backend.AppServices.Azure.Aggregates.Tennant;
using CloudYourself.Backend.AppServices.Azure.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using... | 2.422339 | 768f3f17bfa4586a5d17f7f8558f9dd2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844109 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "testokur/sabit",
"max_stars_repo_path": "src/TestOkur.Sabit/Controllers/ErrorsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163329"
} | starcoder | <reponame>testokur/sabit
using System.IO;
using System.Threading.Tasks;
using MassTransit;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using TestOkur.Sabit.Extensions;
using TestOkur.Sabit.Models;
namespace TestOkur.Sab... | 1.996008 | d82677e832e56341c6562bb266ea2d31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844110 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dropoutdude/asn1sharp",
"max_stars_repo_path": "asn1sharp/BinarySource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163330"
} | starcoder | using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace asn1sharp
{
internal sealed class BinarySource : ReaderSource
{
#region Fields
private int _ReadBytes = -1;
#endregion
#region Constructor
public BinarySource(Stream strea... | 2.929924 | fae7b25be6af39062f18065cea4237d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844111 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pocheshire/AppRopio.Mobile",
"max_stars_repo_path": "src/app-ropio/AppRopio.Base/Filters/Core/ViewModels/Filters/Items/Collection/Vertical/VerticalCollectionFiVm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163331"
} | starcoder | <reponame>pocheshire/AppRopio.Mobile<gh_stars>0
using System;
using System.Collections.Generic;
using AppRopio.Base.Filters.Core.ViewModels.Filters.Items.Collection.Items;
using AppRopio.Models.Filters.Responses;
using System.Threading.Tasks;
namespace AppRopio.Base.Filters.Core.ViewModels.Filters.Items.Collection.Ve... | 1.565917 | e1cc8f5c5fd6a8f7408d0fabf0369097 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.