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 | 8834812 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ManaBingsu/EdgeOfChristmas_Refactoring",
"max_stars_repo_path": "Assets/Editor/Builder/Builder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154032"
} | starcoder | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEditor.Build.Reporting;
using UnityEngine;
namespace AutoBuilder
{
public class Builder : MonoBehaviour
{
[MenuItem("Build/Build")]
public static void BuildGam... | 1.807299 | 6aa64cf1000c88534e32fab0bb39cbcb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834813 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "randu1459/VersionOne.SDK.NET.APIClient",
"max_stars_repo_path": "Example/GettingStarted/src/ApiVNext/Op.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154033"
} | starcoder | using System;
using VersionOne.SDK.APIClient;
namespace ApiVNext
{
public static class Op
{
public static Tuple<string, object, FilterTerm.Operator> Get(string field,
object value, FilterTerm.Operator oper = FilterTerm.Operator.Equal)... | 1.9774 | dab570b7fd6e149b684c1c8ad58f7990 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834814 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "necipcanguler/teknik-servis",
"max_stars_repo_path": "teknikservis/Controllers/GruplarController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154034"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TeknikServis.Data.DataContext;
using teknikservis.Models;
using teknikservis.ViewModels;
using PagedList;
namespace teknikservis.Controllers
{
public class GruplarController : Controller
{
... | 2.120913 | 112e4a8a8453b1a8d46308dcd8181a68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834815 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "ArchitectNow/ArchitectNow.ApiStarter",
"max_stars_repo_path": "src/ArchitectNow.ApiStarter.Common/Models/ViewModels/TokenVm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154035"
} | starcoder | using System;
namespace ArchitectNow.ApiStarter.Common.Models.ViewModels
{
public class TokenVm
{
public string Token { get; set; }
public DateTimeOffset ExpiresAt { get; set; }
public string Email { get; set; }
}
} | 1.573896 | 6e67cb44b3c11a9c9816519fcc725843 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834816 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "CantyCanadian/Cantys_Toolbox",
"max_stars_repo_path": "Editors/TextureGenerator/New/TextureCreatorComponentContainerModifiers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154036"
} | starcoder | <filename>Editors/TextureGenerator/New/TextureCreatorComponentContainerModifiers.cs<gh_stars>10-100
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
public enum TextureCreatorComponentContainerModifierTypes
{
Offset
}
public class TextureCreatorComponentContainerM... | 2.370709 | 2af13a186a1b59d4bb82f756f690e439 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834817 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "TheBonelessAlien/Dominos.NET",
"max_stars_repo_path": "src/Menu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154037"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using DominosNET.Stores;
using Newtonsoft.Json.Linq;
using System.Net.Http;
using System.Threading.Tasks;
namespace DominosNET.Menu
{
/// <summary>
/// TIP: You can also search for coupons, since im such a nice guy tryna save you money... | 2.982847 | 6f30101e6a43f7fb4a35b1b0532f6dc7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834818 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Cihat-Girgin/.Net5-Hangfire-And-SignalR-Survey-App",
"max_stars_repo_path": "RealTimeApp.Api/Migrations/20211010125136_initial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154038"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
namespace RealTimeApp.Api.Migrations
{
public partial class initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "BackendFrameworks",
... | 2.391852 | 4760291e944fd8c31b2c544c013009c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834947 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MuhammadHafidzMisrudin/csharp-training",
"max_stars_repo_path": "basics/basics-1a/schoolTracker/Teacher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154167"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace schoolTracker
{
// Implement Object-Oriented.
// Derived class of Teacher inherits from one Base class of SchoolMember.
// Inherits from and implements IPayee interface class.
class Teacher : SchoolMember, IPayee
{
... | 3.233805 | 0aaf667a77356bf5f91ecc754deccbfa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834948 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "josesimoes/Windows.Storage",
"max_stars_repo_path": "Windows.Storage/IStorageFolder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154168"
} | starcoder | //
// Copyright (c) .NET Foundation and Contributors
// See LICENSE file in the project root for full license information.
//
using System;
namespace Windows.Storage
{
/// <summary>
/// Manipulates folders and their contents, and provides information about them.
/// </summary>
public interface IStora... | 2.138656 | 5f35a27573e12829f8784575421b9fa2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834949 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MirzaMerdovic/Otter",
"max_stars_repo_path": "src/Otter/Endpoints/Tasks/ITasksOperations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154169"
} | starcoder | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Otter.Models;
namespace Otter
{
/// <summary>
/// A task is a container running on a swarm. It is the atomic scheduling unit of swarm. Swarm mode must be enabled for these endpoints to work.
/// </summary>
pub... | 2.526263 | 10a9b9a86bbc17d70a5a21c1f8b5a644 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834950 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BBGONE/Pipeline",
"max_stars_repo_path": "PipeLine/Demo/Pipeline/RequestContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154170"
} | starcoder | <reponame>BBGONE/Pipeline
using System;
using System.Dynamic;
using System.Runtime.ExceptionServices;
namespace Pipeline
{
public interface IRequestContext
{
void CaptureException(Exception ex);
void AddLogItem(string str);
IServiceProvider RequestServices { get; }
dynamic Requ... | 2.53996 | c299a77ab49c0d5e3b2d5d19d12a9e98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834951 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lpb243310820/WeiXinMPSDK",
"max_stars_repo_path": "Samples/Shared/Senparc.Weixin.Sample.Shared/Views/Shared/_SideBottomNote.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:154171"
} | starcoder | <reponame>lpb243310820/WeiXinMPSDK
<div class="row" id="qqGroups">
</div> | 0.527443 | 51b1b7ac26f260fe9168f668e4796745 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JaquelineJRS/Jogo-RPG-Usando-POO",
"max_stars_repo_path": "src/Entities/Ninja.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154172"
} | starcoder | namespace Jogo_RPG_Usando_POO.src.Entities
{
public class Ninja : Hero
{
public Ninja(string Name, int Level, string HeroType)
{
this.Name = Name;
this.Level = Level;
this.HeroType = HeroType;
}
public override string Attack()
{
... | 3.100496 | d5b2abef705605663f050bf32caacf59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834953 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Yaevh/fcc-net50-bug-repro",
"max_stars_repo_path": "src/Engine/Impl/Szlem.Recruitment.Impl/Enrollments/Events/CandidateObtainedLecturerRights.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154173"
} | starcoder | using Ardalis.GuardClauses;
using EventFlow.Aggregates;
using EventFlow.EventStores;
using System;
using System.Collections.Generic;
using System.Text;
namespace Szlem.Recruitment.Impl.Enrollments.Events
{
[EventVersion("Szlem.Recruitment.CandidateObtainedLecturerRights", 1)]
internal class CandidateObtainedL... | 1.913809 | c207e6c8109d2d60dae8129901afdecd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834954 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HencoDesu/FluentShikmori",
"max_stars_repo_path": "src/FluentShikimori/Data/Person.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154174"
} | starcoder | namespace FluentShikimori.Data
{
public class Person
{
}
} | 1.028165 | 40d8376832a7e1c465caa7b5b54b1be8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834955 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "MSGRRojas/featureadmin",
"max_stars_repo_path": "src/FeatureAdmin.Test/UserInterface/LocationFormTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154175"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FeatureAdmin.Test.UserInterface
{
public static class LocationFormTests
{
// The following buttons should be tested:
// Deactivate Selected Activations
}
}
| 1.193835 | 9402f2a9fac228c688722616456bea9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834956 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fwhaslam/TacticalDungeonRealm",
"max_stars_repo_path": "RealmModelTests/Realm/Puzzle/PlaceTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154176"
} | starcoder | <filename>RealmModelTests/Realm/Puzzle/PlaceTest.cs
//
// Copyright 2021 <NAME> born 1962 in the USA
//
namespace Realm.Puzzle {
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using stat... | 2.548246 | fb19e39473ce80e3eaa1043673edf5d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834957 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "inidibininging/apocalypse_netcore",
"max_stars_repo_path": "Apocalypse.Any.Infrastructure.Server.Services.Mechanics/Language/MechanicSingleEntityArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154177"
} | starcoder | using Apocalypse.Any.Domain.Common.Model;
using System;
namespace Apocalypse.Any.Infrastructure.Server.Services.Mechanics.Language
{
public class MechanicSingleEntityArgs<TEntity>
where TEntity : CharacterEntity, new()
{
public TEntity Subject { get; private set; }
public MechanicSingl... | 2.138438 | 74a45ee1afd7c42c3933e5df01e71cf8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KiraTile/Possess",
"max_stars_repo_path": "Assets/Scripts/ScifiSpheres Scene/RotateOnAxis.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154178"
} | starcoder | using UnityEngine;
public class RotateOnAxis : MonoBehaviour
{
[Header("Manule Rotate")]
[SerializeField] LayerMask spheresLayer;
[SerializeField] float speed = 1;
[SerializeField] SphereCollider myCollider;
private Camera mainCamera;
[Header("Auto rotate")]
[SerializeField] Vector3 axisV... | 2.427018 | 9e55ef13238d018c5b023b0c52810f05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834959 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JeanGatto/SGP",
"max_stars_repo_path": "tests/SGP.Tests/Extensions/RandomizerExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154179"
} | starcoder | <reponame>JeanGatto/SGP
using Bogus;
namespace SGP.Tests.Extensions
{
public static class RandomizerExtensions
{
public static string JsonWebToken(this Randomizer randomizer)
=> randomizer.String2(2048, "_/-abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ");
}
} | 1.837823 | 5684f6d898e4ee54024af0be3d0c7b61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834960 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cfrv99/Trill-modular-monolith",
"max_stars_repo_path": "src/Modules/Stories/src/Trill.Modules.Stories.Application/Visibility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154180"
} | starcoder | <reponame>cfrv99/Trill-modular-monolith
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Trill.Modules.Stories.Api")]
[assembly: InternalsVisibleTo("Trill.Modules.Stories.Infrastructure")]
[assembly: InternalsVisibleTo("Trill.Modules.Stories.Tests.Integration")]
[assembly: InternalsVisibleTo("Tril... | 1.217106 | 05c3c10596d01a8daadc09dc1801ce34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834961 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "PacktPublishing/Functional-CSharp",
"max_stars_repo_path": "Chapter05/StandardQueryOperators/SetOperation/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154181"
} | starcoder | <filename>Chapter05/StandardQueryOperators/SetOperation/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace SetOperation
{
public partial class Program
{
static void Main(string[] args)
{
//ConcatUnionOperator();
IntersectExceptOperat... | 3.44903 | 33c49172631ac872f33123fad4bebf01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834962 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TechSmith/CSharpAnalytics",
"max_stars_repo_path": "Source/CSharpAnalytics/Protocols/Urchin/UrchinActivityParameterBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154182"
} | starcoder | // Copyright (c) Attack Pattern LLC. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
using CSharpAnalytics.Activities;
using... | 2.792814 | 19e52e411ac70a09462cf16f9edae878 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834963 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dv00d00/SpanJson",
"max_stars_repo_path": "SpanJson/Resolvers/ExcludeNullsCamelCaseResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154183"
} | starcoder | <gh_stars>0
namespace SpanJson.Resolvers
{
public sealed class ExcludeNullsCamelCaseResolver<TSymbol> : ResolverBase<TSymbol, ExcludeNullsCamelCaseResolver<TSymbol>> where TSymbol : struct
{
public ExcludeNullsCamelCaseResolver() : base(NullOptions.ExcludeNulls, NamingConventions.CamelCase)
{
... | 1.447862 | 5c672e909d553db9a11ba6992567a860 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834964 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CHiiLD/net-toolkit",
"max_stars_repo_path": "NET.Tools.Engines.ASN1/DER/DERUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154184"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NET.Tools.Engines.ASN1
{
/// <summary>
/// Utility class for DER Encoding
/// </summary>
public static class DERUtility
{
private const byte FIRST_BIT_SET = 0x80;
/// <sum... | 2.995902 | bd3f6f3d8417e8bfd8039c041f290174 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834965 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "fanlanweiy/luban_examples",
"max_stars_repo_path": "Projects/CfgValidator/Modules/Mail.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154185"
} | starcoder | <gh_stars>10-100
using System.Linq;
using CfgCheck;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CfgCheck.Modules
{
[TestClass]
public class Mail
{
[TestMethod]
public void SystemMailAwardTest_NotEmpty()
{
var mailConfig = ConfigSetUp.Configs.TbSystemMa... | 2.218095 | b973a6fab60f1b7f6cb9d86337f6f0cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834966 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "naveego/plugin-hive",
"max_stars_repo_path": "PluginHive/API/Replication/UpsertReplicationMetaDataAsync.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154186"
} | starcoder | using System;
using System.Threading.Tasks;
using Newtonsoft.Json;
using PluginHive.API.Factory;
using PluginHive.API.Utility;
using PluginHive.DataContracts;
using PluginHive.Helper;
namespace PluginHive.API.Replication
{
public static partial class Replication
{
// private static readonly string Inse... | 2.163912 | fb08de5235e54154f8955c319f2af3dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834967 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hbiarge/Kubernetes-Experiments",
"max_stars_repo_path": "Survival-Guide/src/Shared/HealthChecks/EndpointRouteBuilderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154187"
} | starcoder | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Diagnostics.HealthChecks;
using Microsoft.AspNetCore.Routing;
namespace Shared.HealthChecks
{
public static class EndpointRouteBuilderExtensions
{
public static IEndpointRouteBuilder MapApplicationHealthChecks(this IEndpointRouteBuilder en... | 2.170258 | eff43788ab7888816fe1ae0b48dabab6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834968 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cyber-dojo/start-points-base",
"max_stars_repo_path": "test_data/languages-csharp-nunit/start_point/Hiker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154188"
} | starcoder | <gh_stars>0
public class Hiker
{
public static int Answer
{
get { return 6 * 9; }
}
}
| 1.695025 | 209105929934f96469f4fba5de322af7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834969 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AOPack/eSocialBr",
"max_stars_repo_path": "eSocialBr/eSocialBr.Classes/eSocial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154189"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace eSocialBr.Classes
{
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.Designer... | 1.886161 | 0431f9789a963988585c2316c8281397 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834970 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "simo-andreev/Emotion",
"max_stars_repo_path": "Tests/StbTrueType/GlyphInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154190"
} | starcoder | <gh_stars>10-100
namespace StbTrueTypeSharp
{
#if !STBSHARP_INTERNAL
public
#else
internal
# endif
struct GlyphInfo
{
public int X, Y, Width, Height;
public int XOffset, YOffset;
public int XAdvance;
}
} | 1.722512 | b2651f38b8db33811b0b8f23ceb65912 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834971 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "staneee/WeChatSharp",
"max_stars_repo_path": "WeChat.WebSdk/TEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154191"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WeChat.WebSdk
{
/// <summary>
/// 自定义回调事件参数
/// </summary>
/// <typeparam name="T">泛型类返回</typeparam>
public class TEventArgs<T> : EventArgs
{
public T Result { get; private set; ... | 1.949051 | 888a646441aa3476ce9f72f8682ea86a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834972 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "smasihemami/Assisticant",
"max_stars_repo_path": "Assisticant/Timers/FloatingTimeSpan.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154192"
} | starcoder | <filename>Assisticant/Timers/FloatingTimeSpan.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assisticant.Timers
{
public abstract class FloatingTimeSpan
{
protected readonly FloatingTimeZone _zone;
protected read... | 3.120051 | e218d2bab4e19226f30cdcac85859a44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834973 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bjoernrennfanz/node-pylon",
"max_stars_repo_path": "projects/gen-pylon-binding-parser/Model/CppElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154193"
} | starcoder | // MIT License
//
// Copyright (c) 2017 <NAME> <<EMAIL>>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, m... | 2.194188 | 67b3ee109e9781e96ac4ecb8ecab2953 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834974 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PowerfullChild/MarvelCatalog",
"max_stars_repo_path": "MarvelCatalog-App/MarvelCatalog-App/App_Start/AutoMapperConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154194"
} | starcoder | <reponame>PowerfullChild/MarvelCatalog
using AutoMapper;
using MarvelCatalog_App.Infrastructure;
using Ninject.Modules;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Web;
namespace MarvelCatalog_App.App_Start
{
public class AutoMapperConfig : IMapperAdapt... | 2.008766 | 054c9ebc32aaca1c2ea51fea1df70dc6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834975 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gandalan/UniDEx_Samples",
"max_stars_repo_path": "UniDEx_Demo/Texte/TextRoutinen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154195"
} | starcoder | <reponame>Gandalan/UniDEx_Samples
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Gandalan.IDAS.UniDEx.Models;
using Gandalan.IDAS.UniDEx.Provider.Materialbedarf;
using Gandalan.IDAS.UniDEx.Provider.Texte;
namespace UniDEx_Demo.Texte
{
publ... | 2.713225 | 0a1a07e90e6f9eba79f64c84b94efc6b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834976 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "neilcummings/DatingAppExample",
"max_stars_repo_path": "Dating.API/Entities/Value.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154196"
} | starcoder | <reponame>neilcummings/DatingAppExample
using System;
namespace Dating.API.Entities
{
public class Value
{
public Guid Id { get; set; }
public string Name { get; set; }
}
} | 1.642051 | 2e95fd478565c5ac3679259515ffaa80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834977 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VeselinovStf/Telerik_Alpha_NET_Prep",
"max_stars_repo_path": "CSharp/DataStructures/BinaryTreeBaseImplementation/BinaryTreeNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154197"
} | starcoder | <filename>CSharp/DataStructures/BinaryTreeBaseImplementation/BinaryTreeNode.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BinaryTreeBaseImplementation
{
public class BinaryTreeNode<T>
{
private T value;
private... | 3.495185 | 1d2e7aa1e162fe4dea968662126b4e10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834978 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "idsyn/Encrypt",
"max_stars_repo_path": "c#/index.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154198"
} | starcoder | using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using System.Web.UI;
namespace WebMd5
{
public partial class index : Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btnMd5_Click(object sender,... | 2.408981 | 9d7afa06daa2adec6b30baf0335572a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834979 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "carloslunu/BackEnd-Exam-3",
"max_stars_repo_path": "Vueling.Distributed.WebServices/Implementation/Log4NetAdapter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154199"
} | starcoder | using log4net;
using VuelingFileManager.Common.GlobalLog.Interface;
[assembly: log4net.Config.XmlConfigurator(Watch = true)]
namespace VuelingFileManager.Common.GlobalLog.Implementation
{
public sealed class Log4NetAdapter : IVuelingLog
{
private log4net.ILog _logger;
private bool isErrorEnable... | 2.363551 | 5f23e4fa398ad497b999314d64cf7e48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834980 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Taldrin/TextAdventureGame",
"max_stars_repo_path": "AdminSite/InterfurCreations.AdminSite.Core/PlayerPlatformResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154200"
} | starcoder | using InterfurCreations.AdventureGames.Database;
using InterfurCreations.AdventureGames.DatabaseServices;
using InterfurCreations.AdventureGames.Services;
using System;
using System.Collections.Generic;
using System.Text;
namespace InterfurCreations.AdminSite.Core
{
public static class PlayerPlatformResolver
... | 1.880603 | 3248a238a64aebdbdec3982ab0077ba0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834981 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Starry-Orbit-Studio/Rampastring.XNAUI",
"max_stars_repo_path": "StringManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154201"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Rampastring.Tools;
namespace Rampastring.XNAUI
{
public static class StringManager
{
private static Dictionary<string, string> _dictionary;
pr... | 2.725389 | 2b7da1e8da5dd5d1a9a7e0604d8b1d03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834982 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maqqr/fgj2020",
"max_stars_repo_path": "SuperMouseRTS/Assets/SuperMouseRTS/Scripts/GameWorld/WorldCoordinateTools.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154202"
} | starcoder | <reponame>maqqr/fgj2020
using UnityEngine;
using System.Collections;
using Unity.Mathematics;
using System;
public class WorldCoordinateTools
{
public static int2 UnityCoordinateToWorld(float3 position, float tileSize = 1.5f)
{
return new int2(Mathf.FloorToInt((position.x + Mathf.Epsilon) / tileSize),... | 2.566605 | 6b9d02d0b01cba97396bc518e73fc92f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834983 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Osama-Tahboub1/N3O.Umbraco",
"max_stars_repo_path": "src/N3O.Umbraco.Extensions/Utilities/Lazier.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154203"
} | starcoder | <filename>src/N3O.Umbraco.Extensions/Utilities/Lazier.cs
using Microsoft.Extensions.DependencyInjection;
using System;
namespace N3O.Umbraco.Utilities {
public class Lazier<T> : Lazy<T> {
public Lazier(IServiceProvider serviceProvider) : base(serviceProvider.GetRequiredService<T>) { }
}
}
| 1.904708 | e5a1bc94721a48dd674b586290173e1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834984 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "vrienstudios/novel-dl",
"max_stars_repo_path": "Downloaders/dWuxiaWorld.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154204"
} | starcoder | <reponame>vrienstudios/novel-dl
using KobeiD.Extensions;
using KobeiD.Models;
using MSHTML;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
namespace KobeiD.Downloaders
{
/// <summary>
/// WuxiaWorld.co
/// </sum... | 2.491072 | 6205ba16af0576ffda44aa61bd60c111 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834985 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Wirk-io/Wirk-csharp",
"max_stars_repo_path": "src/Io.Wirk.Api.Wirk/Model/AppProjectWriterServiceModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154205"
} | starcoder | <gh_stars>0
/*
* Wirk
*
* <p>API for api.wirk.io</p>
*
* OpenAPI spec version: 1.0.0
* Contact: <EMAIL>
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*... | 1.639429 | 4d95ec61b11d9259c2718184da8be341 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834986 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DotNetRevolution/DotNetRevolution-Framework",
"max_stars_repo_path": "src/DotNetRevolution.EventSourcing/IEventStreamStateTracker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154206"
} | starcoder | <reponame>DotNetRevolution/DotNetRevolution-Framework
using DotNetRevolution.Core.Domain;
using DotNetRevolution.EventSourcing.CodeContract;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
namespace DotNetRevolution.EventSourcing
{
[ContractClass(typeof(EventStreamStateTrackerContract))]
... | 1.741308 | 805251615b522273f261eedbba537ae8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834987 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JTOne123/RecursosCompartilhadosNetCoreMongoDB",
"max_stars_repo_path": "3 - Dominio/RecursosCompartilhados.Dominio/Entidades/NotificacaoDeDominio.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154207"
} | starcoder | <reponame>JTOne123/RecursosCompartilhadosNetCoreMongoDB<gh_stars>1-10
using System;
namespace RecursosCompartilhados.Dominio.Entidades
{
public class NotificacaoDeDominio : Evento
{
public Guid NotificacaoId { get; private set; }
public string Chave { get; private set; }
public string V... | 1.956686 | 10e7cd2ca47bedbd15303435a899b77b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834988 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "kaiyamamoto/animationTest",
"max_stars_repo_path": "Assets/Style2++/Style2PlayerBehavour.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154208"
} | starcoder | using UnityEngine;
using System.Collections;
public class Style2PlayerBehavour : StateMachineBehaviour
{
[SerializeField]
LayerMask mask;
static int ySpeedHash = Animator.StringToHash ("y speed");
static int xSpeedHash = Animator.StringToHash ("x speed");
static int distanceFromGround = Animator.StringToHash ("... | 2.114358 | 81480b59a492b738ec181f2432e06d22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834989 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "Toxa2202/plast",
"max_stars_repo_path": "EPlast/EPlast.BLL/Mapping/AnnualReport/UserProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154209"
} | starcoder | using AutoMapper;
using EPlast.BLL.DTO.AnnualReport;
using DatabaseEntities = EPlast.DataAccess.Entities;
namespace EPlast.BLL.Mapping.AnnualReport
{
public class UserProfile : Profile
{
public UserProfile()
{
CreateMap<DatabaseEntities.User, UserDTO>().ReverseMap();
}
... | 1.526081 | d4499091a90f5c68f09b0711e0d9af87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834990 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "UiPath/coreipc",
"max_stars_repo_path": "src/Clients/nodejs/dotnet/UiPath.CoreIpc.NodeInterop/ServiceImpls.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154210"
} | starcoder | using System.Threading.Tasks;
using System.Threading;
using System;
using System.Diagnostics;
namespace UiPath.CoreIpc.NodeInterop
{
using static Contracts;
internal static class ServiceImpls
{
public sealed class Algebra : IAlgebra
{
public Task<string> Ping() => Task.FromRes... | 2.565972 | eb8df3b38614ed840a465b640e567e71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834991 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "atifaziz/web-api-on-az-func",
"max_stars_repo_path": "src/Infrastructure/IMetadataResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154211"
} | starcoder | namespace Infrastructure
{
public interface IMetadataResolver
{
/// <summary>
/// Gets the <see cref="ApiMetadata"/>.
/// </summary>
ApiMetadata GetMetadata();
}
}
| 1.693555 | 2c74089b9001c3330687de91cc80f46c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834992 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lotsofs/ktanemod-anagrams",
"max_stars_repo_path": "Assets/Scripts/WordModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154212"
} | starcoder | using System.Text;
using UnityEngine;
public abstract class WordModule : MonoBehaviour
{
public TextMesh PuzzleDisplay;
public TextMesh AnswerDisplay;
public KMSelectable[] Buttons;
public KMSelectable DeleteButton;
public KMSelectable EnterButton;
public KMAudio KMAudio;
protected string Answer;
protected st... | 2.613476 | dedcc682cd37a5c4ee67346754751340 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834993 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tejpaldev/solution-renamer",
"max_stars_repo_path": "SolutionRenamer.Win/Logic/Shell/ProcessResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154213"
} | starcoder | namespace SolutionRenamer.Win.Logic.Shell
{
public class ProcessResult
{
public ProcessResult(string message, bool isSuccess)
{
Message = message;
IsSuccess = isSuccess;
}
public bool IsSuccess { get; private set; }
public string Message { get; ... | 2.144912 | 3a947e3033dd9f1f93d90dcaa2dd93e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834994 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Im0rtality/space-invaders-2k",
"max_stars_repo_path": "Assets/Scripts/Common/GunController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154214"
} | starcoder | <filename>Assets/Scripts/Common/GunController.cs
using UnityEngine;
using System.Collections;
public class GunController : MonoBehaviour
{
private Weapon ctrl;
public Weapon getWeapon ()
{
if (ctrl == null) {
ctrl = gameObject.GetComponent<Weapon> ();
}
return ctrl;
}
public void Fire ()
{
if (getW... | 2.362496 | 92a8a41c3dd7b91b448d3bbdea7e4668 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834995 | {
"extension": "c-sharp",
"max_stars_count": "207.0",
"max_stars_repo_name": "NakedObjectsGroup/NakedObjectsFramework",
"max_stars_repo_path": "NakedFunctions/NakedFunctions.Rest.Test/MenuTestEF6.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154215"
} | starcoder | <reponame>NakedObjectsGroup/NakedObjectsFramework
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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... | 1.609329 | c76c98e89f0570f723e5afd17a1bcc02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834996 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Thomi7/HeaterStatistics",
"max_stars_repo_path": "NetworkPacketConfigToJson/Models/AnalogNetworkPacketModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154216"
} | starcoder | <filename>NetworkPacketConfigToJson/Models/AnalogNetworkPacketModel.cs
namespace NetworkPacketConfigToJson.Models
{
public class AnalogNetworkPacketModel : NetworkPacketModel
{
public string Name { get; set; }
public string Unit { get; set; }
}
} | 2.052246 | 0878c30f79100799d90183b96c152512 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834997 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "batuberksahin/so_events",
"max_stars_repo_path": "Plugins/SOEvents/Scripts/EventTypes/IntGameEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154217"
} | starcoder | using UnityEngine;
[CreateAssetMenu(fileName = "Integer Game Event", menuName = "Events/Integer Game Event")]
public class IntGameEvent : BaseGameEvent<int> {} | 1.200524 | 598443054d7b2af15e6971ee60635710 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834998 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "simonferquel/simcim",
"max_stars_repo_path": "SimCim.Root.V2/ClassWin32PerfFormattedDataPerfOSSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154218"
} | starcoder | using Microsoft.Management.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using SimCim.Core;
namespace SimCim.Root.V2
{
public class Win32PerfFormattedDataPerfOSSystem : Win32PerfFormattedData
{
public Win32PerfFormattedDataPerfOSSystem()
{
... | 1.423238 | 14e15352a1c3654fa64c44b3dc0d48a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834999 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "danielRicardo/EDDI",
"max_stars_repo_path": "DataDefinitions/Properties/AtmosphereClass.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154219"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 2.242672 | 9bedc1d70d93b7f5af49ed45196d36d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835000 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "caidevOficial/CSharp_StructureBuilder",
"max_stars_repo_path": "StructureBuilder/Entities/SB.Models.Classes/SB.Models.ClassesFileBuilders/CreatorDotH.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154220"
} | starcoder | /*
* MIT License
*
* Copyright (c) 2021 [FacuFalcone]
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy,... | 2.720537 | 2cbdd41e68ede978da228825d29b340b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835001 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "watertrans/DailyReport",
"max_stars_repo_path": "src/WaterTrans.DailyReport.Domain/Constants/Scopes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154221"
} | starcoder | <gh_stars>1-10
namespace WaterTrans.DailyReport.Domain.Constants
{
/// <summary>
/// アプリケーションで扱うスコープ一覧
/// </summary>
public static class Scopes
{
/// <summary>
/// クレームタイプ
/// </summary>
public const string ClaimType = "http://schemas.microsoft.com/identity/claims/s... | 2.091998 | bf13b977e49a32ffab51a1ab0355bbba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835002 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "coman3/PlatHak",
"max_stars_repo_path": "PlatHak/PlatHak.Common.Network.Sockets/Discovery/ServiceDefinition/IServiceDefinition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154222"
} | starcoder | namespace PlatHak.Common.Network.Sockets.Discovery.ServiceDefinition
{
public interface IServiceDefinition
{
// TODO: Investigate possibility to remove ResponsePort
// The ReponsePort is the port to which the Discoverer listens in order to receive a
// response from the Publisher when ... | 2.235604 | 506772815a72fb0b06d2f2275f62f27a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835003 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "beyondnetPeru/Beyondnet.Product.SkillMap",
"max_stars_repo_path": "src/BuildingBlocks/SharedKernel/SkillMap.SharedKernel/Exceptions/DomainException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154223"
} | starcoder | <filename>src/BuildingBlocks/SharedKernel/SkillMap.SharedKernel/Exceptions/DomainException.cs
namespace SkillMap.SharedKernel.Exceptions;
public class DomainException : BaseExeption
{
public DomainException(string description) : base(description)
{
}
}
| 1.780864 | c90a8d7a633643578570f8e24f53efb6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835004 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "chrisoldwood/Mechanisms",
"max_stars_repo_path": "Source/Tests/Contracts/ExpectTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154224"
} | starcoder | <filename>Source/Tests/Contracts/ExpectTests.cs<gh_stars>1-10
using Mechanisms.Contracts;
using Mechanisms.Tests;
// Deliberating testing null references.
// ReSharper disable ExpressionIsAlwaysNull
// ReSharper disable AssignNullToNotNullAttribute
namespace Tests.Contracts
{
public static class ExpectTests
... | 3.088635 | f776db9c0ceeda57ec04d3320c299086 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835005 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hamurcuabi/MVCBlog",
"max_stars_repo_path": "src/MVCBlog.Web/Views/Administration/_LayoutAdministration.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:154225"
} | starcoder | @inject Microsoft.Extensions.Options.IOptionsMonitor<MVCBlog.Business.BlogSettings> BlogSettings
@inject Microsoft.AspNetCore.Mvc.Localization.IViewLocalizer Localizer
<!DOCTYPE html>
<html class="administration">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=... | 1.727465 | 3f53aeec50813175b385d7e781bd4ac4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835006 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "schivei/dgraph4net",
"max_stars_repo_path": "src/Dgraph4Net.OpenIddict/Stores/OpenIddictDgraphScopeStore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154226"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
using Dgraph4Net.... | 2.071685 | cac6c8bf584c380975c4ea1f36efa891 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835007 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RuBing-Yang/VR_Mouse",
"max_stars_repo_path": "Assets/RawInputReceiverWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154227"
} | starcoder | <reponame>RuBing-Yang/VR_Mouse
using System;
using System.Windows.Forms;
using Linearstar.Windows.RawInput;
namespace Assets
{
class RawInputReceiverWindow : NativeWindow
{
public event EventHandler<RawInputEventArgs> Input;
public RawInputReceiverWindow()
{
CreateHandle(n... | 2.341492 | 53259bc118c049cc59cd9caed83fba56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835008 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivajlotokiew/CSharp_Advanced",
"max_stars_repo_path": "Regular Expressions/Query Mess/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154228"
} | starcoder | <reponame>ivajlotokiew/CSharp_Advanced
using System;
using System.Collections.Generic;
using System.Data.Odbc;
using System.Text;
using System.Text.RegularExpressions;
namespace Problem_9.Query_Mess
{
class QueryMess
{
static void Main()
{
string text = Console.ReadLine()
... | 2.863859 | 09ddbde006a657d6d4a66bba7e4e25d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835009 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SoftwareAG/cumulocity-sdk-cs",
"max_stars_repo_path": "REST-SDK/src/Cumulocity.SDK.Client/Rest/API/Messaging.Notifications/INotificationSubscriptionApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154229"
} | starcoder | <gh_stars>0
using Cumulocity.SDK.Client.Rest.Representation.Messaging.Notifications;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cumulocity.SDK.Client.Rest.API.Messaging.Notifications
{
public interface INotificationSubscriptionApi
... | 1.771695 | c06884aed6de17616e7b608caa1a5c04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835010 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "codrut51/protoactor-dotnet",
"max_stars_repo_path": "tests/Proto.Actor.Tests/Futures/FutureTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154230"
} | starcoder | using System;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace Proto.Tests
{
public class FutureTests
{
private readonly ITestOutputHelper _output;
public FutureTests(ITestOutputHelper output) => _output = output;
[Fact]
public async Task Given_A... | 2.594049 | bef9ab9967fca95e63be46d8886f3f20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835011 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MyJetWallet/Service.KYC",
"max_stars_repo_path": "src/Service.KYC.Domain.Models/HttpModels/FormUrlRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154231"
} | starcoder | <filename>src/Service.KYC.Domain.Models/HttpModels/FormUrlRequest.cs
using System.Text.Json.Serialization;
namespace Service.KYC.Domain.Models.HttpModels
{
public class FormUrlRequest
{
[JsonPropertyName("applicant_id")]
public string ApplicantId { get; set; }
[JsonPropertyName... | 1.85364 | b68db775ed76097a23bd2f98dd8ceb3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835012 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "mobile46/MFSX.DllLoader",
"max_stars_repo_path": "MFSX.DllLoader/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154232"
} | starcoder | <filename>MFSX.DllLoader/Program.cs<gh_stars>1-10
using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
namespace MFSX.DllLoader
{
internal class Program
{
[DllImport("kernel32.dll")]
private static extern IntPtr GetConsoleWindow();
[DllImport(... | 2.626438 | 33abab7c08896118d06082158d0aaf15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835013 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "timjen3/ttrpg-engine",
"max_stars_repo_path": "TTRPG.Engine/Exceptions/UnknownCustomFunctionException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154233"
} | starcoder | <filename>TTRPG.Engine/Exceptions/UnknownCustomFunctionException.cs
using System;
namespace TTRPG.Engine.Exceptions
{
public class UnknownCustomFunctionException : Exception
{
public UnknownCustomFunctionException(string message) : base(message){}
}
}
| 1.864212 | 225fb6cfad0a7b58d1a96b1e6d93429f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835014 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrnettek/CSharp",
"max_stars_repo_path": "return_lines_matching_string.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154234"
} | starcoder | <gh_stars>0
// MrNetTek
// eddiejackson.net/blog
// 10/14/2019
// free for public use
// free to claim as your own
using System;
using System.IO;
using System.Collections.Generic;
using System.Text.RegularExpressions;
class ReturnLines
{
static void Main(string[] args)
{
const string ... | 2.772022 | 2c1461a0075ed9cb3e7a8026ccaecc5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835015 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JLGSHK/Proyecto_Programacion_III_Final_Unicaribe",
"max_stars_repo_path": "SistemaGestionCliente.Vista/RadFormNuevoCliente.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154235"
} | starcoder | using SistemaGestionCliente.Entidades.Helpers;
using SistemaGestionCliente.LogicaNegocio.ZonaServicios;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Telerik.WinControls;
using Telerik.WinContro... | 1.939752 | 9752aa24185757c5012e7412048b187a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835016 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "denandz/ysoserial.net",
"max_stars_repo_path": "ysoserial/Plugins/ClipboardPlugin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154236"
} | starcoder | using System.Collections.Generic;
using NDesk.Options;
using System;
using ysoserial.Generators;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Windows.Forms;
using System.Threading;
/**
* Author: <NAME> (@irsdl) from NCC Group (@NCCGroupInfose... | 2.399255 | f394409f1bd8bec1b50de40fca769d31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835017 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xin1627/RevitSdkSamples",
"max_stars_repo_path": "SDK/Samples/ExtensibleStorageUtility/CS/Utility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154237"
} | starcoder | <filename>SDK/Samples/ExtensibleStorageUtility/CS/Utility.cs<gh_stars>1-10
//
// (C) Copyright 2003-2019 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notify appea... | 2.403686 | dec543f22f6997c0c35bf8b0c2091d9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835018 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MattHoneycutt/Presentations",
"max_stars_repo_path": "StructureMappingYourWayToBetterSoftware/TryCatchFail.LearnStructureMap/TryCatchFail.LearnStructureMap.Lesson2/Calculators/CalculatorRegistry.cs",
"provenance": "train-00027-of-0004... | starcoder | <filename>StructureMappingYourWayToBetterSoftware/TryCatchFail.LearnStructureMap/TryCatchFail.LearnStructureMap.Lesson2/Calculators/CalculatorRegistry.cs
using StructureMap.Configuration.DSL;
namespace TryCatchFail.LearnStructureMap.Lesson2.Calculators
{
internal class CalculatorRegistry : Registry
{
public ... | 1.871917 | b9c3d0dcbd4ddd07e6a7717c93b9b388 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835019 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stoiveyp/Alexa.NET.SkillFlow",
"max_stars_repo_path": "Alexa.NET.SkillFlow/Conditions/Group.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154239"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace Alexa.NET.SkillFlow.Conditions
{
public class Group:UnaryCondition
{
public Group() { }
public Group(Condition condition)
{
Condition = condition;
}
}
}
| 1.739025 | bf9316842c11e0d0f7cc41fe20d2c4b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835020 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "heyx3/Rammission",
"max_stars_repo_path": "Assets/Libraries/GPUGraph/Editor/Graph System/GraphParamCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154240"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEditor;
namespace GPUGraph
{
/// <summary>
/// A collection of all parameters in a Graph.
/// </summary>
[Serializable]
public struct GraphParamCollection
{
public List<FloatParamInfo> FloatParams;
public List<... | 2.688412 | e89501314a1eae9e3c2348a700cdf433 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835021 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lutz/PDFThumbnailAddon",
"max_stars_repo_path": "src/PDFThumbnailAddon/Core/ViewportHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154241"
} | starcoder | using System.Windows.Controls;
using System.Reflection;
namespace PDFThumbnail
{
public static class ViewportHelper
{
public static bool IsInViewport(ScrollViewer sv, Control item)
{
if (item is ListBoxItem)
{
item = ItemsControl.ItemsControlFromItemCont... | 2.443645 | 7904fa08d781119e947b16cf507142a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835022 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mart-Bogdan/autofac-examples",
"max_stars_repo_path": "src/Remember.Model/IIdentifiable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154242"
} | starcoder | <gh_stars>0
namespace Remember.Model
{
public interface IIdentifiable
{
int Id { get; }
}
}
| 1.361818 | 06726d348cc6faab0038565a317fc009 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835023 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rlugojr/elasticsearch-net",
"max_stars_repo_path": "src/Nest/Enums/GeoPrecisionUnit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154243"
} | starcoder | <gh_stars>1-10
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Runtime.Serialization;
namespace Nest
{
[JsonConverter(typeof(StringEnumConverter))]
public enum GeoPrecisionUnit
{
[EnumMember(Value = "in")]
Inch,
[EnumMember(Value = "yd")]
Yard,
[EnumMember(Value = "mi")]
Miles,
... | 2.270285 | cb309d6b6167aa3d84b6946881caaab2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835024 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "wmeints/Neutronal",
"max_stars_repo_path": "test/Neuromatic.Tests/Activations/ActivationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154244"
} | starcoder | using System;
using FluentAssertions;
using Neuromatic.Activations;
using TensorFlow;
using Xunit;
namespace Neuromatic.Tests.Activations
{
public class ActivationTests
{
[Theory]
[InlineData(typeof(Linear))]
[InlineData(typeof(RELU))]
[InlineData(typeof(Sigmoid))]
[Inl... | 2.342569 | 41f20f87ebff04e2e0e5f9fd4c5e736f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835025 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "business-sims-toolkit/business-sims-toolkit",
"max_stars_repo_path": "dev/libraries/eboards/Charts/StackBarChartWithBackground.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154245"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Xml;
using LibCore;
using CoreUtils;
namespace Charts
{
public class StackBarChartWithBackground : StackedBarChart
{
Bitmap BackImage = null;
... | 2.492149 | 31c5309ad0490ac5ee1983e9a5c09860 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835026 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cwickham3/azure-sdk-for-net",
"max_stars_repo_path": "src/ServiceManagement/StorSimple/StorSimple/Generated/Models/MigrationDataContainerStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154246"
} | starcoder | <gh_stars>1-10
//
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
... | 1.522368 | b3af7e747a5d4e0fdfb6600af9078a3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835027 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jackleitch/taconite-mvc",
"max_stars_repo_path": "TaconiteMVC.UnitTests/FluentSyntax/ExecutePluginSyntaxTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154247"
} | starcoder | using System;
using System.Linq;
using System.Web.Mvc;
using FluentAssertions;
using NUnit.Framework;
using TaconiteMvc;
namespace TaconiteMVC.Tests.FluentSyntax
{
[TestFixture]
public class ExecutePluginSyntaxTests
{
#region Execute Plugin (base)
[Test]
public void ExecutePlugin_NullOrEmptyPluginN... | 2.214037 | 30733b2b2109dbbd7b4f16b4613b34b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835028 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ImanSyed/Tactics",
"max_stars_repo_path": "Assets/Scripts/ToolScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154248"
} | starcoder | <reponame>ImanSyed/Tactics
using UnityEngine;
using UnityEditor;
public class ToolScript{
[MenuItem("Tools/AssignScript")]
public static void AssignScript()
{
GameObject[] tiles = GameObject.FindGameObjectsWithTag("TIles");
foreach(GameObject t in tiles)
{
if (t.GetCo... | 1.894022 | 99ae359849cbf8eac46e63bdb1d1b1d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835029 | {
"extension": "c-sharp",
"max_stars_count": "102.0",
"max_stars_repo_name": "89netraM/FxSsh-Unsafe",
"max_stars_repo_path": "FxSsh/DynamicInvoker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154249"
} | starcoder | using FxSsh.Messages;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
namespace FxSsh
{
public static class DynamicInvoker
{
static Dictionary<string, Action<IDynamicInvoker, Message>> _cache =
new Dictionary<string, Action<IDynamicIn... | 2.605772 | 23129e20aa7a696ec9dcace57f555a9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835030 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prekel/AlgorithmsAndDataStructures",
"max_stars_repo_path": "Alg_07/Alg_07.Core.Tests/GraphTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154250"
} | starcoder | using System.Linq;
using NUnit.Framework;
namespace Alg_07.Core.Tests
{
public class GraphTests
{
[Test]
public void GraphTest1()
{
// 0 -1- 1
// 2| /
// | /3
// 2 -4- 3
var g = new Graph<int>();
Assert.That(... | 3.023783 | 21af69d11a42508187daa70876e24aab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835031 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "thyeggman/runner",
"max_stars_repo_path": "src/Runner.Worker/Handlers/RunnerPluginHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154251"
} | starcoder | using System.Threading.Tasks;
using System;
using GitHub.Runner.Sdk;
using GitHub.Runner.Common;
using Pipelines = GitHub.DistributedTask.Pipelines;
namespace GitHub.Runner.Worker.Handlers
{
[ServiceLocator(Default = typeof(RunnerPluginHandler))]
public interface IRunnerPluginHandler : IHandler
{
... | 1.660121 | 2312109b89509e32e9abc619757237b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835032 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asvol/asv-tools",
"max_stars_repo_path": "src/Asv.Tools.Store/Contract/Dict/Rx/RxStoredString.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154252"
} | starcoder | <reponame>asvol/asv-tools<filename>src/Asv.Tools.Store/Contract/Dict/Rx/RxStoredString.cs<gh_stars>0
using System;
using LiteDB;
namespace Asv.Tools.Store
{
public class RxStoredString : RxStoredValue<string>
{
public RxStoredString(IKeyValueStore store, string id, string defaultValue, TimeSpan? saveDe... | 2.156674 | 936d1cdf83931548e6cf9a2057d20ee2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835033 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zherar7ordoya/AP3",
"max_stars_repo_path": "(CSharp)/3) MVP Pattern/MVCSharp/MVCSharp/Winforms/WinFormView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154253"
} | starcoder | //===========================================
// MVC# Framework | www.MVCSharp.org |
// ------------------------------------------
// Copyright (C) 2008 www.MVCSharp.org |
// All rights reserved. |
//===========================================
using System;
using System.Text;
using Sys... | 2.727839 | 1895b02e38b418b7d9d04aafaac0afda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835034 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Sundhedsdatastyrelsen/Smittestop.Mobile",
"max_stars_repo_path": "NDB.Covid19/NDB.Covid19/WebServices/ErrorHandlers/TimeoutErrorHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154254"
} | starcoder | using System.Threading.Tasks;
using I18NPortable;
using NDB.Covid19.Configuration;
using NDB.Covid19.Enums;
using NDB.Covid19.Models;
using NDB.Covid19.Utils;
namespace NDB.Covid19.WebServices.ErrorHandlers
{
public class TimeoutErrorHandler : BaseErrorHandler, IErrorHandler
{
public bool IsSilent;
... | 2.369784 | f5489cc28ae42fd4b0acd15d20571003 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835035 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NateArasti/LastShot",
"max_stars_repo_path": "Assets/GameplayParts/MenuAndPause/Scripts/GlobalApplicationSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154255"
} | starcoder | using System;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;
public class GlobalApplicationSettings : MonoBehaviour
{
private static GlobalApplicationSettings _instance;
private static float _soundVolume = 1;
private static float _musicVolume = 1;
private static ... | 2.371329 | d9ceacbe3d1b160be399f8058e7fbfc1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835036 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "linyuan5856/ECS_UnityVisualScript",
"max_stars_repo_path": "ECSUnityVisualScript/Packages/com.unity.visualscripting.entities/Editor/Translators/RoslynEcsBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154256"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using JetBrains.Annotations;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using UnityEngine;
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
namespace UnityEditor.VisualScripting.Model.Translators
{
[PublicAPI... | 1.549928 | 191935573820c68f2a00f5c8fd484087 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835037 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "markusjohnsson/Braille",
"max_stars_repo_path": "CilJs.Corlib/System/InternalFormatting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154257"
} | starcoder | using System.Runtime.CompilerServices;
using CilJs.Runtime.TranslatorServices;
namespace System
{
internal static class InternalFormatting
{
[JsImport("function(o) { return CILJS.newString(o.boxed.toString()); }")]
internal extern static string SignedPrimitiveToString(object o);
[JsImp... | 2.234014 | 7cab078e18b48e50abd09a7bb3b6d13d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835038 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "meysamhadeli/MicroPack",
"max_stars_repo_path": "src/EventStore/JsonEventSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154258"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using MicroPack.Types;
using Newtonsoft.Json;
namespace MicroPack.EventStore
{
public class JsonEventSerializer : IEventSerializer
{
private readonly IEnumerable<Assembly> _assemblies;
... | 2.753474 | 4c4fe1f0a36dfc49d5021ff3315edf8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835039 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tech4GT/notification-provider",
"max_stars_repo_path": "NotificationService/NotificationService.UnitTests/Service/Channels/Ctor_Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154259"
} | starcoder | <reponame>tech4GT/notification-provider
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace NotificationService.UnitTests.Service.Channels
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Threading;
using Microsoft.Extensions.Logging.Abstractions;
... | 1.968662 | 35d82c1ac24313f5e28d8b740b2e14e0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.