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 | 8843412 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CooperLiu/dd-trace-dotnet-X",
"max_stars_repo_path": "src/Datadog.Trace/Tracer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162632"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Reflection;
using Datadog.Trace.Agent;
using Datadog.Trace.Logging;
namespace Datadog.Trace
{
/// <summary>
/// The tracer is responsible for creating spans and flushing them to the ... | 2.435364 | ea0d4195a89dffdef13101bbce7d9585 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843413 | {
"extension": "c-sharp",
"max_stars_count": "194.0",
"max_stars_repo_name": "ennerperez/Rocket",
"max_stars_repo_path": "Rocket.NuGet/NuGetInstallResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162633"
} | starcoder | using NuGet.Packaging.Core;
namespace Rocket.NuGet
{
public sealed class NuGetInstallResult
{
public PackageIdentity Identity { get; }
public NuGetInstallResult(NuGetInstallCode code)
{
Code = code;
}
public NuGetInstallResult(PackageIdentity identity)
... | 1.97495 | 8bf31071818b30d7a1c6274e40334e7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843414 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "JTranOrg/JTran",
"max_stars_repo_path": "JTran/Expressions/Model/MathematicalOperators.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162634"
} | starcoder | /***************************************************************************
*
* JTran - A JSON to JSON transformer using an XSLT like language
* ... | 3.267382 | 903d9704e96436a1de9a180a835a01b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843415 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "juniorgasparotto/spent-book",
"max_stars_repo_path": "src3/SpentBook.OfxReader/OFXDocument.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162635"
} | starcoder | using System;
using System.Collections.Generic;
namespace SpentBook.OfxReader
{
public class OFXDocument
{
public DateTime StatementStart { get; set; }
public DateTime StatementEnd { get; set; }
public AccountType AccType { get; set; }
public string Currency { get; set; }
... | 1.783993 | 5ac2f7b37763f2df84a14f913fa61f82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843416 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Wrennsun/SpaceEngineers",
"max_stars_repo_path": "Sources/VRage.Render/MySortedElements.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162636"
} | starcoder | <filename>Sources/VRage.Render/MySortedElements.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VRage.Utils;
using VRage.Import;
using SharpDX.Direct3D9;
namespace VRageRender
{
partial class MySortedElements
{
public static readonly int LodCount = MyUtil... | 2.448172 | 20e576b5090bab82f6b1b8195bc473f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843417 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tarkadal/TwitchShipGame",
"max_stars_repo_path": "Assets/Gameplay/Projectiles/ProjectileManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162637"
} | starcoder | using System;
using System.Linq;
using UnityEngine;
public class ProjectileManager : ManagerBase<ProjectileManager>
{
[SerializeField]
ProjectileContainer[] _projectiles = null;
public Projectile GetProjectilePrefab(string key)
{
var info = _projectiles.FirstOrDefault(x => x.key == key);
... | 2.422486 | 2cca6085c30f4ecb6106f3300ebcb289 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843418 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "VnceGd/Simply-Checkers",
"max_stars_repo_path": "dev/unity-gendarme/gendarme/rules/Gendarme.Rules.BadPractice/AvoidNullCheckWithAsOperatorRule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162638"
} | starcoder | <reponame>VnceGd/Simply-Checkers<filename>dev/unity-gendarme/gendarme/rules/Gendarme.Rules.BadPractice/AvoidNullCheckWithAsOperatorRule.cs<gh_stars>1-10
//
// Gendarme.Rules.BadPractice.AvoidNullCheckWithAsOperatorRule
//
// Authors:
// <NAME> <<EMAIL>>
//
// Copyright (C) 2011 Novell, Inc (http://www.novell.com)
//
//... | 2.271131 | 66012c8f93eff6b966fe4464d7902004 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843419 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kittyfisto/IsabelDb",
"max_stars_repo_path": "IsabelDb.Test/Collections/Dictionary/ObjectKeyTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162639"
} | starcoder | using System;
using System.Collections.Generic;
using FluentAssertions;
using NUnit.Framework;
namespace IsabelDb.Test.Collections.Dictionary
{
[TestFixture]
public sealed class ObjectKeyTest
: AbstractDictionaryObjectStoreTest<object>
{
protected override IEnumerable<Type> CustomTypes => new []{typeof(Version... | 2.723395 | 2ea1053b8968550e39e773e9c20343c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843420 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "KvanTTT/DAGE",
"max_stars_repo_path": "AntlrGrammarEditor/Processors/ParserCompilation/ParserCompilerPython.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162640"
} | starcoder | <reponame>KvanTTT/DAGE
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using AntlrGrammarEditor.WorkflowState;
using static AntlrGrammarEditor.Helpers;
namespace AntlrGrammarEditor.Processors.ParserCompilers
{
public class ParserCompilerPython : ParserCompiler
{
public ParserC... | 2.134794 | ab46811c832007b55c7ac479f5b75c5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843421 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "caiters/Genie",
"max_stars_repo_path": "GenieSite/App_Code/AppEnv.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162641"
} | starcoder | using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Collections.Specialized;
using ... | 2.025752 | 88ec99a8c8d89e4f82517421b1f89408 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843422 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "takasidk/Hackerrank_algorithms",
"max_stars_repo_path": "CircularArrayRotation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162642"
} | starcoder | using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Collections;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using System.Text.RegularExpressions... | 3.0991 | 12b7403158cafddebbbb6c9b21e4f2d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843423 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "dorisoy/-Dorisoy.Pan",
"max_stars_repo_path": "SourceCode/Src/Dorisoy.Pan.Data/Dto/DocumentComment/DocumentCommentDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162643"
} | starcoder | using System;
namespace Dorisoy.Pan.Data.Dto
{
public class DocumentCommentDto
{
public Guid Id { get; set; }
public DateTime CreatedDate { get; set; }
public string Comment { get; set; }
public string UserName { get; set; }
}
}
| 1.526382 | b98e5573b00adeac7e881ae504acf5fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843424 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wapxmas/rikard-csharp-net-core",
"max_stars_repo_path": "RikardLib/RikardLib.Web/HttpUtilites.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162644"
} | starcoder | <filename>RikardLib/RikardLib.Web/HttpUtilites.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace RikardLib.Web
{
public static class Ht... | 2.731779 | d60c463ba04efc1055a6954bff3e514f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843425 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "yringler/flex-middleware-cache",
"max_stars_repo_path": "DistributedResponseCachingMiddleware/ModifiableDistributed/IModifiableCacheController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162645"
} | starcoder | namespace ExternalNetcoreExtensions.ModifiableDistributed
{
/// <summary>
/// Controls <see cref="ModifiableDistributedResponseCache"/>, telling it how to treat the cache.
/// For example, you may have custom headers whose presence you want to cause to clear
/// cache values relevant to that reque... | 2.649487 | 5c8b542d1d8a5d6c69a525a392f5e5e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843426 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "theerapatcha/DTORepository",
"max_stars_repo_path": "DTORepository/Attributes/IgnoreMappingIfValueAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162646"
} | starcoder | <reponame>theerapatcha/DTORepository
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DTORepository.Attributes
{
[AttributeUsage(AttributeTargets.Property, Inherited = true)]
public class IgnoreMappingIfValueAttribute : Attribute
... | 1.85293 | 75290ace3970effd1880cfd3fe32caa1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843427 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GaryWayneSmith/mozu-dotnet",
"max_stars_repo_path": "Mozu.Api/Contracts/ShippingRuntime/CustomAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162647"
} | starcoder |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Codezu.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------... | 1.897055 | e8bb6e13f63f7c3c55397f9629c7b01d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843428 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "extensivewang/Yufu.Notify",
"max_stars_repo_path": "Yufu.Notify.Tests/NotifyAppCanAppServiceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162648"
} | starcoder | <reponame>extensivewang/Yufu.Notify<gh_stars>10-100
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Yufu.Notify.Services.IServices;
using Yufu.Notify.Shared.App.Dto;
namespace Yufu.Notify.Tests
{
[TestClass]
public class NotifyAppCanAppServiceTests : YufuTestBase
{
private IAppAppService ... | 1.392659 | 816f24d37621903ae0229c9e7cdaa845 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843429 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "UE4DotNet/Plugin",
"max_stars_repo_path": "DotNet/DotNet/UE4/Generated/Engine/ChildConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162649"
} | starcoder | // Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
#pragma warning disable CS01... | 1.859354 | 89ac400fd780997051d4963e11a600f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843430 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RomanEmreis/pathfinder",
"max_stars_repo_path": "Pathfinder/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162650"
} | starcoder | <gh_stars>1-10
@using Pathfinder
@using Pathfinder.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.307919 | 17df1f3574843cbfb91adff780c6686e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843431 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trmcnealy/Vulkan",
"max_stars_repo_path": "Vulkan/Delegates/PFN_vkGetDeviceMemoryCommitment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162651"
} | starcoder | using System.Runtime.InteropServices;
namespace Vulkan
{
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public unsafe delegate void PFN_vkGetDeviceMemoryCommitment([NativeTypeName("VkDevice")] VkDevice device,
[NativeTypeName(... | 1.729374 | 95e5f6522fc3c7faa4f233c1d176c8e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843432 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yrojasf/OneLine",
"max_stars_repo_path": "OneLine.Common/Bases/DataView/IDataView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162652"
} | starcoder | <gh_stars>0
namespace OneLine.Bases
{
public interface IDataView<T, TIdentifier, THttpService, TBlobData, TBlobValidator, TUserBlobs> :
IModel<T, TIdentifier>,
IHttpServiceable<THttpService>,
ISearchExtraParams<object>,
ISearchable,
ISelectable<T>,
IPageable,
... | 0.704134 | f80a796900ad4fdfd331f39980fe7cea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843433 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "BabilinApps/LegacyAssets",
"max_stars_repo_path": "Assets/In Game Gizmo Transform/Scripts/StateMachine/TransformAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162653"
} | starcoder | using UnityEngine;
using System.Collections;
public class TransformAction : IGizmoState
{
private readonly StatePatternGizmo _gizmo;
public TransformAction(StatePatternGizmo State)
{
_gizmo = State;
}
private float SelectedSencsitivity = 0.1f; //sencsitivity
... | 2.081234 | 4e2f942d82f83eb11c5184c8a10c3bbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843434 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "abanu-org/abanu",
"max_stars_repo_path": "src/Abanu.Kernel.Core/MemoryManagement/PageAllocators/BuddyPageAllocator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162654"
} | starcoder | <gh_stars>10-100
// This file is part of Abanu, an Operating System written in C#. Web: https://www.abanu.org
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
using System;
using Abanu.Kernel.Core.Boot;
using Abanu.Kernel.Core.Devices;
using Abanu.Kernel.Core.D... | 2.20563 | ac8737a081ad1bb4baf5caebb81d9b0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843435 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "diegofox2/jobofferbackend",
"max_stars_repo_path": "JobOfferBackend.ApplicationServices.Test/IntegrationTest/RecruiterServiceIntegrationTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162655"
} | starcoder | <reponame>diegofox2/jobofferbackend
using JobOfferBackend.ApplicationServices.Constants;
using JobOfferBackend.ApplicationServices.Test.Base;
using JobOfferBackend.DataAccess;
using JobOfferBackend.Domain.Constants;
using JobOfferBackend.Domain.Entities;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System... | 2.120518 | 6d19cfde291fb3ebb2733e2de6333033 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843436 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "larren90/shop",
"max_stars_repo_path": "domain/Store/DTO/ProductDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162656"
} | starcoder | <gh_stars>1-10
namespace Store.Data
{
public class ProductDto
{
public int Id { get; set; }
public string Title { get; set; }
public int IdMaker { get; set; }
public string Category { get; set; }
public decimal Price { get; set; }
public string Description {... | 1.904359 | f3900c50573c2aad119ca42dca36576c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843437 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "nbduong/Tweakster",
"max_stars_repo_path": "src/Tweakster/VisualStudio.Toolkit/State/UndoTransactionHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162657"
} | starcoder | using EnvDTE80;
using System;
using Tweakster.VisualStudio.Toolkit.Logging;
namespace Tweakster.VisualStudio.Toolkit.State
{
internal class UndoTransactionHelper
{
private readonly DTE2 _dte;
private readonly string _transactionName;
public UndoTransactionHelper(DTE2 dte, string trans... | 2.429014 | bbde811dfd13159991230cf26bdeb12c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843438 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FRRe-DACS/tp2019-g07",
"max_stars_repo_path": "HistoriaClinica/ClinicaGeneral/WpfApp1/mapeo/SintomaMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162658"
} | starcoder | <filename>HistoriaClinica/ClinicaGeneral/WpfApp1/mapeo/SintomaMap.cs
using FluentNHibernate.Mapping;
using WpfApp1.entidades;
namespace WpfApp1.mapeo
{
public class SintomaMap: ClassMap<Sintoma>
{
public SintomaMap()
{
Id(c => c.codigoSintoma);
Map(c => c.descripcion);
... | 2.099904 | 34653a9f1c3458a16c87f65e3bcacac0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843439 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "babelmark/babelmark-proxy",
"max_stars_repo_path": "src/BabelMark/ApiController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162659"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflow;
using JavaScriptEngineSwitcher.Core;
using Microsoft.AspNetCore.Cors;
usin... | 2.36554 | 4df64b32f1538b3070f4943db446236a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843440 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "KK578/Mandarin",
"max_stars_repo_path": "src/Mandarin/Grpc/FramePricesGrpcService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162660"
} | starcoder | <filename>src/Mandarin/Grpc/FramePricesGrpcService.cs
using System.Collections.Generic;
using System.Threading.Tasks;
using AutoMapper;
using Grpc.Core;
using Mandarin.Api.Inventory;
using Mandarin.Inventory;
using Microsoft.AspNetCore.Authorization;
using NodaTime;
using static Mandarin.Api.Inventory.FramePrices;
usi... | 2.246659 | 72967670f770feb723523cc0be280e4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843441 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "alialdemir/HotChocolate.Pagination",
"max_stars_repo_path": "HotChocolate.Pagination/HotChocolate.Pagination/QueryableConnectionMiddleware.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162661"
} | starcoder | using HotChocolate.Pagination.Abstract;
using HotChocolate.Pagination.Models;
using HotChocolate.Resolvers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace HotChocolate.Pagination
{
public delegate IConnectionResolver ConnectionResolverFactory<in T>(
... | 2.426689 | 99b931da0e28b26e3905c48eb683ae7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843442 | {
"extension": "c-sharp",
"max_stars_count": "103.0",
"max_stars_repo_name": "achouman/IKVM.NET",
"max_stars_repo_path": "openjdk/GenerateSystemCore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162662"
} | starcoder | /*
Copyright (C) 2010 <NAME>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applicatio... | 1.932572 | e9d9cbde3d534309aac968cbe6aa59c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843443 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aluitink/Nox",
"max_stars_repo_path": "Helvetica.Projects.Nox.Public.Sdk/Models/ChoiceSet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162663"
} | starcoder | <reponame>aluitink/Nox
using System;
using System.Collections.Generic;
namespace Helvetica.Projects.Nox.Public.Sdk
{
public class ChoiceSet
{
public readonly List<Tuple<string, string>> ArgumentList = new List<Tuple<string, string>>();
public ChoiceSet Add(string key, string value = null)
... | 1.334727 | 79de472be677ba361b45453b783fa6da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843444 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "arakis/ProcEngine",
"max_stars_repo_path": "Common/AxMath.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162664"
} | starcoder | <filename>Common/AxMath.cs
// This file is part of Aximo, a Game Engine written in C#. Web: https://github.com/AximoGames
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Runtime.CompilerServices;
using OpenToolkit.Mathematics;
namespace... | 3.135193 | 253bb646c7d328f07301ea9256c796fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843445 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "mntone/OpenNiconico2",
"max_stars_repo_path": "Mntone.Nico2/Mntone.Nico2.Shared/Dictionaries/Exist/ExistClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162665"
} | starcoder | <gh_stars>10-100
using System;
using System.Threading.Tasks;
namespace Mntone.Nico2.Dictionaries.Exist
{
internal sealed class ExistClient
{
public static Task<string> ExistDataAsync( NiconicoContext context, Category targetCategory, string targetWord )
{
return context.GetClient().GetStringAsync(
Niconi... | 2.387147 | 66ae170fc782e216336e1ff428453dda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843446 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SC-Poc/Service.Balances",
"max_stars_repo_path": "src/Balances/GrpcServices/BalancesService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162666"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using AutoMapper;
using Balances.Domain.Services;
using Grpc.Core;
using Service.Balances.Contracts;
namespace Balances.GrpcServices
{
public class BalancesService : Service.Balances.Contracts.Balances.BalancesBase
{
private readonly IBala... | 2.20417 | f5259e705d3c4c388cdde68d8733ad51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843447 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NodeReplacer/Tower-Defense-Game",
"max_stars_repo_path": "Assets/Scripts/GameTile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162667"
} | starcoder | using UnityEngine;
public class GameTile : MonoBehaviour {
[SerializeField]
Transform arrow = default;
GameTile north,east,west,south, nextOnPath;
int distance;
//Eventually all tiles will have a path. This will mean that their distance (from the destination)
//Will not be the MaxValue anymor... | 2.902355 | 24d1bba24bafcfc510418e76025417f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843448 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nodashin/MvcTraning",
"max_stars_repo_path": "MvcModel/MvcModel/Models/Address.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162668"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace MvcModel.Models
{
[ComplexType]
public class Address
{
[Column("Prefecture")]
public string Prefecture { get; set; }
[Column("City")]
... | 2.140492 | 6e7723bf50965894bd304179b00a50e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843449 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "polishchukNV/Puzzle-Pirate",
"max_stars_repo_path": "Assets/Script/CameraEffect.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162669"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraEffect : UnityEngine.MonoBehaviour
{
}
| 0.941631 | 51d6c2b15e5f35b762d5b8f0f70239b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843450 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "southpolenator/SharpPdb",
"max_stars_repo_path": "Source/Windows/DBI/DbiSectionContributionVersion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162670"
} | starcoder | namespace SharpPdb.Windows.DBI
{
/// <summary>
/// DBI section contribution substream known versions.
/// </summary>
public enum DbiSectionContributionVersion : uint
{
/// <summary>
/// First known version of DBI section contribution substream.
/// </summary>
V60 = 0... | 2.016489 | f3ac8131b7283f5e492a8f1f4bd7ef29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843451 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "henrikfroehling/Trakt.NET",
"max_stars_repo_path": "Source/Lib/Trakt.NET/Objects/Get/Users/ITraktUserIds.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162671"
} | starcoder | namespace TraktNet.Objects.Get.Users
{
using Basic;
/// <summary>A collection of ids for a Trakt user.</summary>
public interface ITraktUserIds : IIds
{
/// <summary>Gets or sets the Trakt slug.<para>Nullable</para></summary>
string Slug { get; set; }
/// <summary>Gets or sets... | 2.03533 | 24c97c0bc9ef051a7ea15f19667308a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843452 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bradleypatton/Triple-S.NET",
"max_stars_repo_path": "TripleS.Tests/V2Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162672"
} | starcoder | <reponame>bradleypatton/Triple-S.NET
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using System.Reflection;
using TripleS.NET;
namespace TripleS.Tests {
[TestClass]
public class V2Tests {
S3Root example1;
S3Root example2;
[TestInitialize()]
public void Initialize() {
... | 2.475875 | c342961b60393bde5bf7fa52734c6821 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843453 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jbgriffith/FluentBootstrap",
"max_stars_repo_path": "FluentBootstrap/Forms/Select.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162673"
} | starcoder | using FluentBootstrap.Html;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FluentBootstrap.Forms
{
public interface ISelectCreator<THelper> : IComponentCreator<THelper>
where THelper : BootstrapHelper<THelper>
... | 2.431916 | 1efc1ac9ceaae84c2386c628197f539b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843454 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "john-clark/rust-oxide-umod",
"max_stars_repo_path": "oxide/plugins/rust/BotSpawn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162674"
} | starcoder | using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using Oxide.Core;
using Oxide.Core.Plugins;
using System.Reflection;
using UnityEngine;
using UnityEngine.AI;
using UnityEngine.SceneManagement;
using Oxide.Game.Rust;
using System.Globalization;
using Newtonsoft.Json.Linq;
using Newto... | 1.782118 | aefe117941da9b3bad3ba22c7f1ca954 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843455 | {
"extension": "c-sharp",
"max_stars_count": "55.0",
"max_stars_repo_name": "SergeyTeplyakov/ReSharperContractExtensions",
"max_stars_repo_path": "ContractExtensions/ContextActions/Invariants/FieldOrPropertyDeclaration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162675"
} | starcoder | <filename>ContractExtensions/ContextActions/Invariants/FieldOrPropertyDeclaration.cs
using System.Diagnostics.Contracts;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using ReSharper.ContractExtensions.Utilities;
namespace ReSharper.ContractExtensions.ContextActions.Invariants
{
interna... | 2.444238 | f1026224a8c32b0698ce72fb0a841f1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843456 | {
"extension": "c-sharp",
"max_stars_count": "78.0",
"max_stars_repo_name": "ArieLeo/TextureWangBeta",
"max_stars_repo_path": "Assets/TextureWang/Scripts/Nodes/Texture1Sobel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162676"
} | starcoder | <reponame>ArieLeo/TextureWangBeta
using NodeEditorFramework;
using UnityEngine;
namespace Assets.TextureWang.Scripts.Nodes
{
[Node (false, "Filter/EdgeDetectSobel")]
public class Texture1Sobel : TextureMathOp
{
public const string ID = "Texture1Sobel";
public override string GetID { get { r... | 2.022998 | 88a6090903da38d25b42f3e31b31eec6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843457 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ggailey777/msdn-samples-archive",
"max_stars_repo_path": "OData Streaming Client for WP/C#/ODataStreamingPhoneClient/PhotoDataContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162677"
} | starcoder | <reponame>ggailey777/msdn-samples-archive
// ----------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------
using System;
using System.Linq;
using System.Xml.Linq;
using System.Data.Services.Clien... | 2.402088 | d934587434e1a70d86e03363614e9ce7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843458 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "basuhei/HitPoint6.Unity.StratosSylphs",
"max_stars_repo_path": "HitPoint6.Unity.StratosSylphs/Weapon/IShootObserver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162678"
} | starcoder | using UniRx;
namespace HitPoint6.Unity.StratosSylphs.GameUnits
{
public interface IShootObserver
{
ReadOnlyReactiveProperty<uint> ReminingResourceCount ();
IObservable<Unit> ReloadAsObservable ();
IObservable<Unit> ShootAsObservable ();
}
} | 1.420087 | 42bb78a3a4df74179f353281a230c549 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843459 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aksio-insurtech/Management",
"max_stars_repo_path": "Source/Reactions/IPassiveProjectionRepositoryFor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162679"
} | starcoder | <reponame>aksio-insurtech/Management<gh_stars>0
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Reactions;
public interface IPassiveProjectionRepositoryFor<TModel>
{
Task<TModel> GetById(EventSourceId eve... | 1.290682 | a17d4455b5012f6eda5804911984d994 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843460 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "cmendible/Hexa.Core",
"max_stars_repo_path": "Hexa.Core/Domain/UnitOfWork/BaseUnitOfWorkFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162680"
} | starcoder | <reponame>cmendible/Hexa.Core<filename>Hexa.Core/Domain/UnitOfWork/BaseUnitOfWorkFactory.cs
//----------------------------------------------------------------------------------------------
// <copyright file="BaseUnitOfWorkFactory.cs" company="HexaSystems Inc">
// Copyright (c) HexaSystems Inc. Licensed under the Apac... | 2.313677 | 82f698dc89448f56282e22f0a7729be9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843461 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rucosmonaut/SpaceSystem",
"max_stars_repo_path": "Shared/Messages/SubmitBasketResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162681"
} | starcoder | #nullable enable
using System.Xml.Serialization;
using Newtonsoft.Json;
namespace Shared
{
[XmlRoot("Message")]
public class SubmitBasketResponse : Message
{
[XmlElement("Result")]
[JsonProperty("Result")]
public Result? Result { get; set; }
public SubmitBasketResponse... | 1.783542 | 46fb4beb017a1f0a149bddc6c6b7e6f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843462 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ryanology/Merchello",
"max_stars_repo_path": "src/Merchello.Web/Factories/BasketModelFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162682"
} | starcoder | namespace Merchello.Web.Factories
{
using System.Linq;
using Merchello.Core.Models;
using Merchello.Web.Models.Ui;
using Merchello.Web.Workflow;
/// <summary>
/// A factory responsible for building <see cref="IBasketModel{TBasketItemModel}"/> and <see cref="ILineItemModel"/>.
/// </summar... | 2.619967 | fb66d9e81d18ab9e467fa5830ef2280d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843463 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CefNet/crdtp",
"max_stars_repo_path": "src/Tools/Xilium.Crdtp.ClientGenerator/Model/Emitters/WellKnownOf1TypeInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162683"
} | starcoder | using System.Collections.Immutable;
using Xilium.Crdtp.Sema.Symbols;
namespace Xilium.Crdtp.Model
{
internal sealed class WellKnownOf1TypeInfo : TypeInfo
{
private readonly string _name;
private readonly string _namespace;
private readonly TypeInfo _typeArg0;
public WellKnownO... | 2.047763 | 2b574a901d59b77af6b9531628d848d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843464 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Pratik-Gautam/YammerWebTool",
"max_stars_repo_path": "YammerSDK/User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162684"
} | starcoder | <reponame>Pratik-Gautam/YammerWebTool
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using YammerSDK.Users;
namespace YammerSDK
{
public class User
{
[JsonProperty("type")]
public string Type { get; set; }
[... | 1.417287 | 4c16518819315a8fb66bbcf5372a64e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843465 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gustavogavancho/PuntoDeVentaDemo",
"max_stars_repo_path": "PuntoDeVentaDemo.COMMON/Interfaces/IVentaManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162685"
} | starcoder | <reponame>gustavogavancho/PuntoDeVentaDemo<gh_stars>1-10
using PuntoDeVentaDemo.COMMON.Entidades;
using PuntoDeVentaDemo.COMMON.Modelos;
using System;
using System.Collections.Generic;
namespace PuntoDeVentaDemo.COMMON.Interfaces
{
/// <summary>
/// Proporciona métodos relacionados a las ventas
/// </summ... | 2.397026 | 441cfded91ae5c391505054d782f6ec5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843466 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GitKepler/Z.MVVM",
"max_stars_repo_path": "Z.MVVMHelper/Interfaces/IExceptionHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162686"
} | starcoder | #region USINGS
using System;
#endregion
namespace Z.MVVMHelper.Interfaces
{
/// <summary>
/// Handler for different exceptions
/// </summary>
public interface IExceptionHandler
{
/// <summary>
/// Handle an exception
/// </summary>
/// <typeparam name="TEx... | 2.407675 | 68277ce765d6bd0e3a5e696ca9500528 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843467 | {
"extension": "c-sharp",
"max_stars_count": "114.0",
"max_stars_repo_name": "Johnanater/openmod",
"max_stars_repo_path": "unturned/OpenMod.Unturned/Items/UnturnedItemDirectory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162687"
} | starcoder | <reponame>Johnanater/openmod
using OpenMod.API.Ioc;
using OpenMod.API.Prioritization;
using OpenMod.Extensions.Games.Abstractions.Items;
using SDG.Unturned;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace OpenMod.Unturned.Items
{
[ServiceImplementation(Priority = Prior... | 1.895941 | 9b1003948a65421860906ea95afc9fe7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843468 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "thomasgassmann/microurl",
"max_stars_repo_path": "src/MicroUrl.Storage/Stores/IMicroUrlStore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162688"
} | starcoder | namespace MicroUrl.Storage.Stores
{
using System.Threading.Tasks;
using MicroUrl.Storage.Dto;
public interface IMicroUrlStore
{
Task<string> CreateAsync(MicroUrl microUrl);
Task<MicroUrl> LoadAsync(string key);
}
} | 1.814955 | d3231c87eb6a12fe748f07a3e3481ee8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843469 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Citolab/pairwise-comparison",
"max_stars_repo_path": "backend/Cito.Cat.Core/Helpers/StringExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162689"
} | starcoder | using System.Collections.Generic;
namespace Cito.Cat.Core.Helpers
{
public static class StringExtensions
{
public static string Enumerate(this IEnumerable<string> strings)
{
var result = string.Empty;
var counter = 1;
foreach (var s in strings)
{... | 3.604729 | 27b6372f9fa01813152be4fb950685ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843470 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "omuleanu/SampleData",
"max_stars_repo_path": "SampleData/Model/Meal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162690"
} | starcoder | namespace Omu.SampleData.Model
{
public class Meal : Entity
{
public Category Category { get; set; }
public string Name { get; set; }
public string Description { get; set; }
}
}
| 1.816944 | 35aa2045eda87babba3f134f6ed93ac4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843471 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brutalzinn/ButtonDeck",
"max_stars_repo_path": "DisplayButtons/Forms/FirstSetup/IntroPage.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162691"
} | starcoder | <reponame>brutalzinn/ButtonDeck
namespace DisplayButtons.Forms.FirstSetup
{
partial class IntroPage
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resour... | 2.298436 | a8658c5d4b79f7b8cbb2edca8ba6171f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843472 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tilleraj/MovieMinder",
"max_stars_repo_path": "movieminder.api/movieminder.api/Repositories/MovieRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162692"
} | starcoder | using Microsoft.Extensions.Configuration;
using RestSharp;
using System.Collections.Generic;
using System.Data.SqlClient;
using movieminder.api.Models;
using Dapper;
using movieminder.api.Commands;
using Microsoft.AspNetCore.Mvc;
namespace movieminder.api.Repositories
{
public class MovieRepository : ControllerBa... | 2.618087 | 21882137d0c3a1fd32d0936e5f705950 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843473 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AestheticalZ/Faithful-SCP-Unity",
"max_stars_repo_path": "Assets/Octave3D World Builder/Scripts/Entities/Named Entities/EntityNameMatching.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162693"
} | starcoder | <reponame>AestheticalZ/Faithful-SCP-Unity
#if UNITY_EDITOR
using UnityEngine;
using System.Linq;
using System.Collections.Generic;
namespace O3DWB
{
public static class EntityNameMatching
{
#region Public Static Functions
public static List<INamedEntity> GetEntitiesWithMatchingNames(List<IName... | 2.190594 | 279cdb8823077d0d56da8e3a749bf52c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843474 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Farigh/LogDigger",
"max_stars_repo_path": "LogDigger.Gui/ViewModels/LogStructure/LogStructureVm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162694"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reactive.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
using LogDigger.Business.Models;
using LogDigger.Gui.ViewModels.Columns;
using LogDigger.Gui.ViewModels.Core;
using LogDigger.Gui.ViewModels.LogEntrie... | 2.398389 | 9f6ec689c24867362934d34777613be6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843475 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lucaslorensetti/FromZeroToHero",
"max_stars_repo_path": "FromZeroToHero.SharedKernel/Interfaces/IConfigurationService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162695"
} | starcoder | <reponame>lucaslorensetti/FromZeroToHero
namespace FromZeroToHero.SharedKernel.Interfaces
{
public interface IConfigurationService
{
string GetDatabaseConnectionString();
}
}
| 1.489802 | 220789186896f3917846838eb31da1e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843476 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "3nch3v/RecruitmentTool",
"max_stars_repo_path": "src/RecruitmentTool.Data/RecruitmentToolDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162696"
} | starcoder | namespace RecruitmentTool.Data
{
using Microsoft.EntityFrameworkCore;
using RecruitmentTool.Data.Models;
public class RecruitmentToolDbContext : DbContext
{
public RecruitmentToolDbContext(DbContextOptions<RecruitmentToolDbContext> options)
: base(options)
{
}
... | 2.440901 | 35ab79d1014ee031961bd416da3b6d12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843477 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "protossyk/RepositryPatternDemo",
"max_stars_repo_path": "AutoHome.Training.Core/Repositories/RepositoryBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162697"
} | starcoder | <filename>AutoHome.Training.Core/Repositories/RepositoryBase.cs<gh_stars>1-10
using AutoHome.Training.Core.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace AutoHome.Training.Core.Repositories
{
pu... | 2.896527 | 6df2fd6238829b05ec6e5bcb3a7beeb9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843478 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "gleblebedev/UrhoSharpToolkit",
"max_stars_repo_path": "src/UrhoSharp.Editor/Model/SceneChangeEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162698"
} | starcoder | using System;
using Urho;
using UrhoSharp.Prefabs;
namespace UrhoSharp.Editor.Model
{
public class SceneChangeEventArgs : EventArgs
{
public enum Change
{
SceneReplaced,
NodeAdded,
ComponentAdded
}
public SceneChangeEventArgs(Change type)
... | 2.489043 | 5fa1d97155b31294bd458700ffa95e08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843479 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kbordon/csharp-week4-code-review-bandtracker",
"max_stars_repo_path": "BandTracker/Views/Home/Bands.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162699"
} | starcoder | <filename>BandTracker/Views/Home/Bands.cshtml
@{
Layout = "_Layout";
}
<h1 class="top-index">BANDS</h1>
<div class="container-custom">
<div class="top-spacer link-custom">
@if (Model["allBands"].Count != 0)
{
<span class="link-other link-list-band"><a href='/bands/@Model["random"].GetId()'>Discove... | 2.580726 | 7ae508b43f03d2141612cdee2de45643 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843480 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "varbanov88/Warehouse",
"max_stars_repo_path": "Warehouse/Views/Tanks/AllTankOperations.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162700"
} | starcoder | <gh_stars>0
@model List<Warehouse.Models.Tanks.AllTankOperationsModel>
@{
ViewBag.Title = "All Tank Operations";
}
<h2 class="text-center" mt-60>All Tank Operations - Page @ViewBag.CurrentPage</h2>
<div class="row">
<table class="table table-striped table-hover">
<tr>
<th style="word-wra... | 2.302766 | 77388d8eae4b8346aeaa48f55e4f37bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843481 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "pasztorpisti/vs-window-title-changer",
"max_stars_repo_path": "Guids.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162701"
} | starcoder | using System;
namespace VSWindowTitleChanger
{
static class GuidList
{
public const string guidVSWindowTitleChangerPkgString = "1e0c061a-af97-43bb-930d-7e3629676249";
public const string guidVSWindowTitleChangerCmdSetString = "15ae04f3-70b2-4f36-a188-48782d195223";
public sta... | 1.693652 | 3cdd9ab9771d50fa1a387a6fc3dab7ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843482 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KodeCompagniet/demicode-logging",
"max_stars_repo_path": "e4subsea.Logging/Exceptions/UnhandledExceptionPresenter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162702"
} | starcoder | <reponame>KodeCompagniet/demicode-logging<gh_stars>0
using System;
namespace e4subsea.Logging.Exceptions
{
public class UnhandledExceptionPresenter : IUnhandledExceptionPresenter
{
private readonly IUnhandledExceptionView _view;
public UnhandledExceptionPresenter(IUnhandledExceptionView view)
... | 2.376844 | 2c25b67366acbaa791c68b295c486b19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843483 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "junjie-sun/XDbAccess",
"max_stars_repo_path": "src/XDbAccess.Demo/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162703"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using NLog.Web;
namespace XDbAccess.Demo
{
public class Program
{
public static void Main(string[] args)
... | 2.117514 | 78bee7648e826adcd45af20c0362a030 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843484 | {
"extension": "c-sharp",
"max_stars_count": "229.0",
"max_stars_repo_name": "lulzzz/SimpleIdServer",
"max_stars_repo_path": "src/OpenBankingApi/SimpleIdServer.OpenBankingApi/Persistences/ICommandRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162704"
} | starcoder | using SimpleIdServer.OpenBankingApi.Domains;
using System.Threading;
using System.Threading.Tasks;
namespace SimpleIdServer.OpenBankingApi.Persistences
{
public interface ICommandRepository
{
T GetLastAggregate<T>(string id) where T : BaseAggregate;
Task Commit(BaseAggregate aggregate, Cancell... | 1.904921 | c9f7b55eb1304b8eda5014a2f8b7d208 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843485 | {
"extension": "c-sharp",
"max_stars_count": "55.0",
"max_stars_repo_name": "Tape-Worm/Gorgon",
"max_stars_repo_path": "Examples/Gorgon.FileSystem/MultiSource/FormMain.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162705"
} | starcoder | <gh_stars>10-100
using System.ComponentModel;
using System.Windows.Forms;
namespace Gorgon.Examples
{
partial class FormMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <... | 1.80503 | 90b68781856f12b935f374f463876a7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843486 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasperarmstrong/LD40",
"max_stars_repo_path": "Assets/Scripts/Orders.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162706"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.Text;
public class Order {
public Dictionary<SushiType, int> Items;
public float initTime;
public float timeLeft;
public OrderUI orderUI;
public bool dead = false;
public Order() {
Items = new Di... | 2.11272 | b2690fe5dbcc44003a3df8993210db78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843487 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ranjeethmd/WebsocketBroker",
"max_stars_repo_path": "WebsocketBroker.Abstractions/IResponseHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162707"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
using WebsocketBroker.Abstractions.POCO;
namespace WebsocketBroker.Abstractions
{
public interface IResponseHandler
{
Task StartAsync(CancellationToken token);
Task SendHeaderResponseAsync(ITcpClient ITcpClient, string header, CancellationT... | 1.503154 | f165cfc3c94a35cc1731b27f33fc43da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843488 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vedprakashyadav/MyInventoryHub",
"max_stars_repo_path": "src/Core/Interface/IRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162708"
} | starcoder | using Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Interface
{
public interface IRepository<T> where T : class
{
IQueryable<T> Table { get; }
IQueryable<T> TableNoTrack { get; }
T GetBy... | 2.330698 | b0e8b8a0416ce89dc5c5f870d8b7cd2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843489 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "staszx/Ton.Sdk",
"max_stars_repo_path": "Ton.Sdk.Tests/UtilsTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162709"
} | starcoder | <gh_stars>0
namespace Ton.Sdk.Tests
{
using System;
using System.Threading.Tasks;
using Client;
using NUnit.Framework;
using Utils;
/// <summary>
/// The utils module tests
/// </summary>
/// <seealso cref="Ton.Sdk.Tests.TonClientTestCommon" />
public class UtilsTest : TonClien... | 1.869347 | ff5bfb7157c0211f6875ae667470e26f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843490 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ileego/CodeGenerator",
"max_stars_repo_path": "src/CodeGenerator.Application/Services/Department/DepartmentService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162710"
} | starcoder | using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using AutoMapper;
using CodeGenerator.Application.DTOs.Department;
using CodeGenerator.Core.Repository.Department;
using CodeGenerator.Infra.Common.Paging;
using CodeG... | 2.276667 | 7b1fe11fc8514de3874929aff1868385 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843491 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "getbucket/semver",
"max_stars_repo_path": "src/Bucket.Semver/Constraint/OperatorTypes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162711"
} | starcoder | <filename>src/Bucket.Semver/Constraint/OperatorTypes.cs<gh_stars>0
/*
* This file is part of the Bucket package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Document: https://github.com/getbucket/sem... | 2.477802 | 594d1944057aea685ded0c83fb317d07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843492 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "unoplatform/uno.extensions",
"max_stars_repo_path": "samples/Playground/Playground/Playground/Playground.Shared/Views/BasicFlyout.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162712"
} | starcoder |
namespace Playground.Views;
public sealed partial class BasicFlyout : Page
{
public BasicViewModel? ViewModel { get; set; }
public BasicFlyout()
{
this.InitializeComponent();
DataContextChanged += BasicFlyout_DataContextChanged;
}
private void BasicFlyout_DataContextChanged(FrameworkElement sender, DataCo... | 2.106551 | 6f2b4b26c0a5922c80a1e58a2789f01f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843493 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rschavali02/computer-game-simulation-programming",
"max_stars_repo_path": "2018/2nd/src/Main Code Files/SubmitGameButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162713"
} | starcoder | <reponame>rschavali02/computer-game-simulation-programming
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using TMPro;
using System;
/*
The following class contains the actions used by the submit button for FBLA comptettive events
If the user is curren... | 2.276474 | 67783e78a1f7afb8ea1b8f83ea9c95cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843494 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aodpi/iParking",
"max_stars_repo_path": "Migrations/20180520112935_latlong.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162714"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace iParking.Migrations
{
public partial class latlong : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<double>(
... | 2.113726 | b9ab8b277755764d94bdfcec1e1d0402 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843495 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheXtet/server",
"max_stars_repo_path": "Grains/CriteriaGrain.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162715"
} | starcoder | <filename>Grains/CriteriaGrain.cs<gh_stars>0
using Interfaces;
using Interfaces.Models;
using Orleans;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Grains
{
public class CriteriaGrain : Grain<CriteriaArchive>, ICriteria
{
public async Task Activate(strin... | 2.729832 | 47cb1de6d01945d8a296d97974e2faa8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843496 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MKEDataGuy/Headlight",
"max_stars_repo_path": "src/Website/Models/Enumerations/Right.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162716"
} | starcoder | using Headlight.Models.Attributes;
namespace Headlight.Models.Enumerations
{
public enum Right
{
[PolicyName("CanCreateRole")]
CreateRole = 1,
[PolicyName("CanUpdateRole")]
UpdateRole = 2,
[PolicyName("CanDeleteRole")]
DeleteRole = 3,
[PolicyName("Can... | 1.799235 | 75183d8e7f03a29053471a0826a8ac7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843497 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mgaffigan/Esatto.Rdp.DvcApi",
"max_stars_repo_path": "externs/Windows/NativeMethods.IShellItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162717"
} | starcoder | <reponame>mgaffigan/Esatto.Rdp.DvcApi
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
using System.Text;
using System.Threading.Tasks;
using IDataObject = System.Runtime.InteropServices.ComTypes.IDataObject;
namesp... | 1.987826 | 158ed6bfe6be1f5f3e1196ef4e3ee45f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843498 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "gavrail/bari",
"max_stars_repo_path": "src/core/Bari.Core/cs/Commands/Clean/CleanCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162718"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using Bari.Core.Generic;
using Bari.Core.Model;
using Bari.Core.UI;
namespace Bari.Core.Commands.Clean
{
/// <summary>
/// Implements the 'clean' command, which removes all the generated and cached files
/// from the suite file sy... | 2.592588 | 43529bdeb5e70d5297ea1f9a2bcda6cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843499 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Johannes-Schneider/GoldDiff",
"max_stars_repo_path": "GoldDiff/View/Model/MainWindowViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162719"
} | starcoder | using FlatXaml.Model;
using GoldDiff.Shared.LeagueOfLegends;
using GoldDiff.Shared.Utility;
namespace GoldDiff.View.Model
{
public class MainWindowViewModel : ViewModel
{
private object? _content;
public object? Content
{
get => _content;
set => MutateVerbose(r... | 2.000455 | f274311000819323f090a2c35b082d74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843500 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "PixelComrades/Framework",
"max_stars_repo_path": "Assets/Framework/Unity/Animators/ShaderAnimator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162720"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.Rendering;
namespace PixelComrades {
public class ShaderAnimator : TargetAnimator, IPoolEvents {
[SerializeField] private float _length = 1;
[SerializeField] private Renderer[] _rendere... | 2.154898 | e3cedb099139bd0400e2386cf5711a51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843501 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lixiaobing/DAL2Client",
"max_stars_repo_path": "Assets/Script/Battle/ActionEvent/ActionConfig/ActionEventConfig/SummonEventConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162721"
} | starcoder | <gh_stars>1-10
using UnityEngine;
namespace Battle
{
public partial class SummonEventConfig : ActionEventConfig
{
public override ActionEventKind type => ActionEventKind.Summon;
public string filePath;
}
}
| 1.34633 | dcc362db5bb093683b0f5dbd5db38b03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843502 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "antosilva/Easy.NHibernate.Samples",
"max_stars_repo_path": "SQLServer/AdventureWorks2012/Mapping/BusinessentityaddressMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162722"
} | starcoder | <gh_stars>0
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using NHibernate.Mapping.ByCode.Conformist;
using NHibernate.Mapping.ByCode;
using Sample.CustomerService.Domain;
namespace Sample.CustomerService.Maps {
public class BusinessentityaddressMap : ClassMapping... | 1.947583 | e0eeb8639e3627863043a08763913ee2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843503 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fluxera/Fluxera.Utilities",
"max_stars_repo_path": "src/Fluxera.Utilities/Extensions/DateTime/GetPeriodOfDay.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162723"
} | starcoder | <gh_stars>1-10
// ReSharper disable once CheckNamespace
namespace Fluxera.Utilities.Extensions
{
using System;
public static partial class DateTimeExtensions
{
/// <summary>
/// Returns the period of the day <see cref="PeriodOfDay.Morning"/>, <see cref="PeriodOfDay.Afternoon"/>, <see cref="PeriodOfDay.Eve... | 3.003757 | cc7ba6c88986358353c33a53573c6557 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843504 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "vangogih/SystemCoordinateParametersTransformation",
"max_stars_repo_path": "SCPT/CalculateParameters/Tests/BaseTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162724"
} | starcoder | <reponame>vangogih/SystemCoordinateParametersTransformation<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using MathNet.Numerics.LinearAlgebra;
using SCPT.Helper;
/// <summary>
/// Please, dont use this class.
/// His create only for algorithm test work.
/// </summary>
[Obsolete]
publi... | 2.418163 | f683e62105a0f9e25c29e818e68e5210 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843505 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "darthmolen/Azure.Redmine.Integrations",
"max_stars_repo_path": "Azure.Redmine.Integrations/Model/RedmineCustomField.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162725"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Azure.Redmine.Integrations
{
public class RedmineCustomField
{
public string value { get; set; }
public string name { get; set; }
public int id { get; set; }
public string internal_name { get; set; }
... | 1.406422 | eb5fc9fe168e18c92196c914e5129c5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843506 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MaxLevs/META_FA",
"max_stars_repo_path": "Regex_Parser/RegexpGrammar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162726"
} | starcoder | <reponame>MaxLevs/META_FA
using BFParser;
using BFParser.Parsers;
namespace Regex_Parser
{
public static class RegexpGrammar
{
// Rule names
public const string Symbol = "symbol";
public const string Quantifier = "quantifier";
public const string Element = "element";
pub... | 2.361075 | 195abe2af2665eeb4ea5d47439e1b8ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843507 | {
"extension": "c-sharp",
"max_stars_count": "509.0",
"max_stars_repo_name": "mukaschultze/com.unity.webrtc",
"max_stars_repo_path": "Editor/OutboundRTPStreamGraphView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162727"
} | starcoder | using UnityEngine.UIElements;
namespace Unity.WebRTC.Editor
{
internal class OutboundRTPStreamGraphView
{
private GraphView firCountGraph = new GraphView("firCount");
private GraphView pliCountGraph = new GraphView("pliCount");
private GraphView nackCountGraph = new GraphView("nackCount... | 1.78211 | da0267c29781fdbfdfc364e1e9165289 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843508 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ongzhixian/mini-wms",
"max_stars_repo_path": "Wms/Models/Bookstore/Discount.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162728"
} | starcoder | using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace Wms.Models.Data.Bookstore
{
public class Discount
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string? Id { get; set; }
public string StoreId { get; set; } = string.Empty;
public i... | 1.955255 | 8dceb7e10c7ddb02ce01ad28711c6ee7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843509 | {
"extension": "c-sharp",
"max_stars_count": "65.0",
"max_stars_repo_name": "qoollo/dotNet-turbo",
"max_stars_repo_path": "src/Qoollo.Turbo/Common/WeakEvent/WeakEventReferenceStorageBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162729"
} | starcoder | <filename>src/Qoollo.Turbo/Common/WeakEvent/WeakEventReferenceStorageBase.cs
namespace Qoollo.Turbo
{
/// <summary>
/// Stores the reference to the original object
/// </summary>
internal abstract class WeakEventReferenceStorageBase
{
/// <summary>
/// Gets the object from th... | 2.691967 | 6b6f8f6ca3acc9cade4d05fbb666122d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843510 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "algorithmplus/spi-registry",
"max_stars_repo_path": "src/Dfe.Spi.Registry.Domain/Data/IRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162730"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Dfe.Spi.Registry.Domain.Data
{
public interface IRepository
{
Task StoreAsync(RegisteredEntity registeredEntity, CancellationToken cancellationToken);
Task S... | 1.835793 | 0067fdde6a8761bcd088d63ce956d87e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843511 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "STR0M0/Chess-Tutorial",
"max_stars_repo_path": "Assets/Scripts/Game/BlackPawn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162731"
} | starcoder | <reponame>STR0M0/Chess-Tutorial
public class BlackPawn : Pawn
{
} | 1.085724 | 74527c4422c8cad73117ac332ada07fb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.