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 | 8816218 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fumigatus/Biletix-Clone",
"max_stars_repo_path": "Biletix/Biletix/Views/Mekan_Page.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135438"
} | starcoder | <filename>Biletix/Biletix/Views/Mekan_Page.xaml.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Biletix.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public p... | 1.973909 | bcd5d7b04bad36b4685bf95e6ed773d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816219 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "monoman/cnatural-language",
"max_stars_repo_path": "tests/resources/ExpressionsTest/sources/ConstantNot.stab.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135439"
} | starcoder | public class ConstantNot {
public static bool test() {
return !false;
}
}
| 1.625529 | 25283606ce83671674675c2eb3da9d5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816220 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Juhlsen/YulsnApiClient",
"max_stars_repo_path": "YulsnApiClient/Client/YulsenClient.IframeToken.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135440"
} | starcoder | using System.Threading.Tasks;
using YulsnApiClient.Models;
namespace YulsnApiClient.Client
{
partial class YulsnClient
{
public Task<YulsnReadIframeToken> GetIframeTokenAsync(string tokenId) =>
SendAsync<YulsnReadIframeToken>($"/api/v1/IframeToken?tokenId={tokenId}");
}
}
| 1.835734 | a537eaf1143bb87a7dc89cb8a21aab10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816221 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tbebekis/Tripous",
"max_stars_repo_path": "Tripous/Enums/UserLevel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135441"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Tripous
{
/// <summary>
/// The level of the current user.
/// </summary>
[Flags, TypeStoreItem]
public enum UserLevel
{
/// <summary>
/// Service
/// </summary>
Service = 1,
... | 2.387235 | 79ac50a877fdd673dc0675f8d661f3b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816222 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Bigsby/aoc",
"max_stars_repo_path": "2020/09/cs/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135442"
} | starcoder | using System;
using static System.Console;
using System.IO;
using System.Diagnostics;
using System.Linq;
namespace AoC
{
class Program
{
static bool HasNoValidPair(int numberIndex, long[] numbers)
{
foreach (var testIndex in Enumerable.Range(numberIndex - 25, 25))
... | 3.478458 | 0806b8f83af6f8cab50b9abf93c577da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816223 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "walkeeperY/ManagementSystem",
"max_stars_repo_path": "src/Microsoft.AspNet.Mvc.Core/AntiForgery/IClaimUidExtractor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135443"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Security.Claims;
namespace Microsoft.AspNet.Mvc
{
// Can extract unique identifers for a claims-based identity
pu... | 1.679985 | bde2f2d6260aa81251c0a3e61ffd8127 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816224 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LogoFX/logofx-client-bootstrapping-adapters-simplecontainer",
"max_stars_repo_path": "src/LogoFX.Client.Bootstrapping.Adapters.SimpleContainer.Tests/TestDependency.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135444"
} | starcoder | namespace LogoFX.Client.Bootstrapping.Tests
{
class TestDependency : ITestDependency
{}
}
| 0.745699 | f6dc84c9dacfea7315b49746fc199bb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816225 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "alijam93/CleanBlog",
"max_stars_repo_path": "src/CleanBlog.Client/Infrastructure/Services/AuthService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135445"
} | starcoder | using Blazored.LocalStorage;
using CleanBlog.Client.Infrastructure.Services.Interfaces;
using CleanBlog.Shared.Identity.Account;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Authorization;
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Net.Http.Json;
u... | 2.326535 | 9478ca8173c04be2fe62b9c995785302 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816226 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "enyim/ITNight2019Oct",
"max_stars_repo_path": "ITNight/5_Optimized/SpanUlongCronVector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135446"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
// span + ulong, but AddRange uses Vector<ulong>
namespace ITNight.Optimized
{
public class SpanUlongCronVector: UlongCronExpressionBase
{
protected SpanUlongCronVector(ulong minute, ulong hour, ulong day, ulong... | 2.698 | 663853b82ad5cf50a67978ddb190b5ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816227 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "JaCraig/Batman",
"max_stars_repo_path": "Batman.MVC.Serialization.ServiceStack/JsonSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135447"
} | starcoder | <filename>Batman.MVC.Serialization.ServiceStack/JsonSerializer.cs
/*
Copyright (c) 2013 <a href="http://www.gutgames.com"><NAME></a>
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 restri... | 2.149583 | c32c6ec2d007c07669838739dfe20df4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816228 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gordonby/billing-dotnet-ratecard-api-tofile",
"max_stars_repo_path": "ConsoleApp-Billing-RateCard/ConsoleProj/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135448"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using System.Net;
using System.IO;
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using Microsoft.Azure.Documents.Linq;
us... | 2.579252 | 5b778ecc595ad8e1ce2100eb01166322 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816229 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "createthis/mesh_maker_vr",
"max_stars_repo_path": "Assets/MMVR/Interact/DefaultTriggerable/VertexDefaultTriggerable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135449"
} | starcoder | using UnityEngine;
using MeshEngine;
namespace MMVR.Interact {
public class VertexDefaultTriggerable : DefaultTriggerable {
protected override void HandleTriggerDown(Transform controller, int controllerIndex) {
MeshEngine.Mesh mesh = Meshes.GetSelectedMesh();
Vector3 position = Set... | 2.105834 | 097f1b9baf182278fcd0300db7e0834c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816230 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KohrAhr/ExcelSplitter",
"max_stars_repo_path": "WpfApp/Lib.Excel/ExcelFunctions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135450"
} | starcoder | <reponame>KohrAhr/ExcelSplitter
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.OleDb;
using ExcelObject = Microsoft.Office.Interop.Excel;
namespace Lib.Excel
{
/// <summary>
/// Main class
/// </summary>
public class ExcelCore : ExcelFile, IDisposable
{
... | 2.573921 | d6fc5e9680fcf98d59005646ae033e22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816231 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "bilke/unity",
"max_stars_repo_path": "Misc/ViewpointObjectVisibility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135451"
} | starcoder | <filename>Misc/ViewpointObjectVisibility.cs
using System;
using Sirenix.OdinInspector;
using UnityEngine;
namespace UFZ.Interaction
{
/// <summary>
/// Can be attached to a Viewpoint and controls fade in/out of objects
/// upon view point arrival.
/// </summary>
public class ViewpointObjectVisibility : ObjectVis... | 2.795082 | 739b8e3eef87b91da10e4d26609bfe2d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816232 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "atanas-georgiev/AvgIdentity",
"max_stars_repo_path": "samples/WebApp/Views/Admin/IndexRoles.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135452"
} | starcoder | <reponame>atanas-georgiev/AvgIdentity
@model IEnumerable<RoleViewModel>
@{
ViewData["Title"] = "Roles list";
}
<h2>Roles list</h2>
<br />
<p>
<a asp-action="AddRole">Add New Role</a>
</p>
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => model.Name)
</th>
... | 2.348099 | 7936c57abbb2ecbbee69bcaaa31285a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816233 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lampo1024/DxRep",
"max_stars_repo_path": "DxRep.Client/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135453"
} | starcoder | <gh_stars>0
using System;
namespace DxRep.Client
{
class Program
{
static void Main(string[] args)
{
var test=new SqlServerDemo();
test.AssemblyLoad();
Console.ReadKey();
}
}
}
| 1.194833 | 9d5a545c84069b9db04eaa966db7c7c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816234 | {
"extension": "c-sharp",
"max_stars_count": "90.0",
"max_stars_repo_name": "JoesWeek/XamCnblogs",
"max_stars_repo_path": "XamCnblogs/XamCnblogs.UI/Pages/Android/RootPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135454"
} | starcoder | <filename>XamCnblogs/XamCnblogs.UI/Pages/Android/RootPage.cs
using Xamarin.Forms;
namespace XamCnblogs.UI.Pages.Android
{
public class RootPage : MultiPage<Page>
{
public RootPage()
{
NavigationPage.SetHasNavigationBar(this, false);
}
protected override Page CreateD... | 2.596237 | 9a0714be135df8baf7166a8176a8bc09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816235 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "PenguinF/sandra-three",
"max_stars_repo_path": "Sandra.Chess/Pgn/PgnNagSyntax.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135455"
} | starcoder | <reponame>PenguinF/sandra-three
#region License
/*********************************************************************************
* PgnNagSyntax.cs
*
* Copyright (c) 2004-2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with t... | 2.342121 | dea509f13e1f1e4de749b2b78acd62c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816236 | {
"extension": "c-sharp",
"max_stars_count": "74.0",
"max_stars_repo_name": "mr0ng/unity-renderer",
"max_stars_repo_path": "unity-renderer/Assets/DCLPlugins/BuilderInWorld/Scripts/Interfaces/IBIWGizmos.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135456"
} | starcoder | using UnityEngine;
namespace DCL.Builder
{
public interface IBIWGizmos
{
abstract void SetSnapFactor(SnapInfo snapInfo);
bool initialized { get; }
GameObject currentGameObject { get; }
void Initialize(UnityEngine.Camera camera, Transform cameraHolderTransform);
Vector3 ... | 1.795918 | 10e276dfb7dec46d5951a1d15086c61b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816237 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "emiswelt/sGrid",
"max_stars_repo_path": "sGridServer/Views/RewardConfiguration/RewardsOverview.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135457"
} | starcoder | @model IEnumerable<sGridServer.Code.DataAccessLayer.Models.Reward>
@using Resource = sGridServer.Resources.RewardConfiguration.RewardsOverview
@{
ViewBag.Title = Resource.YourRewards;
/*The RewardsOverviewView is responsible for showing the overview of the coin partner rewards.
* Shows... | 2.580416 | db2438441e45216684cdc7d5c319f073 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816238 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "friedenberg/google-ads-dotnet",
"max_stars_repo_path": "src/V10/Services/AssetUsage.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135458"
} | starcoder | // <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v10/common/asset_usage.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Coll... | 1.42089 | 326c12476bdc6a12c6b411323ff0473c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816239 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gmamaladze/R2D2.Net",
"max_stars_repo_path": "Gma.Drivers.Lego.IrRc/Commands/Command.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135459"
} | starcoder | // This code is distributed under MIT license.
// Copyright (c) 2014 <NAME>
// See license.txt or http://opensource.org/licenses/mit-license.php
namespace Gma.Netmf.Hardware.Lego.PowerFunctions.Commands
{
public abstract class Command
{
public abstract CommandType CommandType { get; }
}
} | 1.60368 | ed6580ada6ef5ec0751babb08b6fe1a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816240 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trs4/IcyRain",
"max_stars_repo_path": "IcyRain/Switchers/Bytes/BytesSwitcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135460"
} | starcoder | using System.Runtime.CompilerServices;
using IcyRain.Internal;
namespace IcyRain.Switchers
{
public abstract class BytesSwitcher<T>
{
public static BytesSwitcher<T> Instance
{
[MethodImpl(Flags.HotPath)]
get;
}
static BytesSwitcher()
=> Inst... | 2.113354 | 79a4988efe55329738f6b0d1d61cf5f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816241 | {
"extension": "c-sharp",
"max_stars_count": "689.0",
"max_stars_repo_name": "NetFabric/Hyperlinq",
"max_stars_repo_path": "NetFabric.Hyperlinq.UnitTests/Conversion/ToList/ToListAsync.AsyncValueEnumerable.Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135461"
} | starcoder | <reponame>NetFabric/Hyperlinq<gh_stars>100-1000
using NetFabric.Assertive;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace NetFabric.Hyperlinq.UnitTests.Conversion.ToList
{
public class AsyncValueEnumerableTests
{
[Theory]
... | 2.393492 | 456e5c0a1b175fac95a9579718407f67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816242 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RippinPepperoni/MonsterRPG",
"max_stars_repo_path": "Assets/Scripts/Systems/EventSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135462"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEngine;
namespace MonsterRPG
{
public sealed class EventSystem : MonoBehaviour
{
private static readonly Dictionary<Type, List<object>> _subscriptions = new Dictionary<Type, List<object>>();
public static void Subscribe<T>(Action<T> h... | 2.858164 | c6f45ce44eb55c2c91d828ea75f270ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816243 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "bpfz/SharprWowApi",
"max_stars_repo_path": "SharprWowApi/Models/Character/CharacterPetsStats.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135463"
} | starcoder | <filename>SharprWowApi/Models/Character/CharacterPetsStats.cs
namespace SharprWowApi.Models.Character
{
public class CharacterPetsStats
{
public int SpeciesId { get; set; }
public int BreedId { get; set; }
public int PetQualityId { get; set; }
public int Level { get; set; }
... | 2.125579 | 36dc0f53fad5ac917673c3827fd47ade |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816244 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShTair/ConvolutionChecker",
"max_stars_repo_path": "KelpNet.Tools/DataImporter/Models/Caffe/CaffemodelDataLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135464"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using KelpNet.CPU;
using ProtoBuf;
namespace KelpNet.Tools
{
public class CaffemodelDataLoader
{
//binaryprotoを読み込む
public static NdArray ReadBinary(string path)
{
using (FileStream stream = new FileStream(pat... | 2.283531 | 77f063ce4141a416697791eb0b1e912f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816245 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "msensoy/MarmaraUniversityMasterThesis",
"max_stars_repo_path": "codes/Common/Marmara.Data/Entity/IActuator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135465"
} | starcoder | <filename>codes/Common/Marmara.Data/Entity/IActuator.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Marmara.Data.Entity
{
public interface IActuator
{
string Status { get; set; }
DateTime RunTimeStart { get; set; }
DateTime RunTimeEnd { get; set; }
... | 1.832947 | 1c72a6ecc17c60080c4136c329d7b868 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816246 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RohanTalip/QuantConnect-Lean",
"max_stars_repo_path": "Common/Securities/Option/OptionMarginModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135466"
} | starcoder | <reponame>RohanTalip/QuantConnect-Lean
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with t... | 2.393144 | e84485d8f140e5231529739a6b4e8122 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816247 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mgordenko/CSharp2018-2019",
"max_stars_repo_path": "2module/5_6seminar/Seminar5_6/Seminar5_6/Item.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135467"
} | starcoder | <gh_stars>1-10
namespace Seminar5_6
{
/// <summary>
/// Класс Item, моделирует одну покупку.
/// </summary>
public class Item
{
/// <summary>
/// Название предмета
/// </summary>
public string Name { get; }
/// <summary>
/// Цена предмета
//... | 3.668104 | dff761090bdcd0354f19bada2f169058 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816248 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aliabusaleh/Swashbuckle.AspNetCore",
"max_stars_repo_path": "src/Swashbuckle.AspNetCore.SwaggerGen/SchemaGenerator/TypeExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135468"
} | starcoder | <reponame>aliabusaleh/Swashbuckle.AspNetCore
using System;
using System.Collections.Generic;
using System.Linq;
namespace Swashbuckle.AspNetCore.SwaggerGen
{
public static class TypeExtensions
{
public static bool IsOneOf(this Type type, params Type[] possibleTypes)
{
return possib... | 2.847174 | 54cb0b02d541ffd3402fb1a847000572 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816249 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "Sharp-Point-Data/XSerializer",
"max_stars_repo_path": "XSerializer/OptionsExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135469"
} | starcoder | <filename>XSerializer/OptionsExtensions.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
namespace XSerializer
{
public static class OptionsExtensions
{
public static IXmlSerializerOptions WithRootElementName(this IXmlSerializerOptions options, string rootElementNa... | 2.540473 | 44007f640dc9feafe0ab90cd8b904124 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816250 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Miruken-DotNet/miruken",
"max_stars_repo_path": "Source/Miruken/Callback/Command.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135470"
} | starcoder | <gh_stars>1-10
namespace Miruken.Callback
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Concurrency;
using Policy;
using Policy.Bindings;
[DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")]
... | 2.335264 | 84852b7cc4fe2dcabeb5fa95c97bc598 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816251 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "inrg/BNSharp2019",
"max_stars_repo_path": "MBNCSUtil/Util/CheckRevisionCompiler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135471"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection.Emit;
using System.Reflection;
using System.Security.Permissions;
namespace BNSharp.MBNCSUtil.Util
{
internal static class CheckRevisionCompiler
{
private static readonly Dictionary<char, OpCode> Operators = new... | 2.633794 | 03b6c5ba6055b52c92336dd1e678c0ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816252 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "roryprimrose/Neovolve.CodeAnalysis.ChangeTracking",
"max_stars_repo_path": "Neovolve.CodeAnalysis.ChangeTracking/ChangeTables/IEnumAccessModifiersChangeTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135472"
} | starcoder | <reponame>roryprimrose/Neovolve.CodeAnalysis.ChangeTracking<filename>Neovolve.CodeAnalysis.ChangeTracking/ChangeTables/IEnumAccessModifiersChangeTable.cs
namespace Neovolve.CodeAnalysis.ChangeTracking.ChangeTables
{
using Neovolve.CodeAnalysis.ChangeTracking.Models;
/// <summary>
/// The <see cref="IEnumA... | 1.762434 | 55c5b84b9897b29af3f68029fef243e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816253 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VisualAcademy/AspNetCoreBook",
"max_stars_repo_path": "Welfare/Welfare/Data/WelfareDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135473"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Welfare.Models;
namespace Welfare.Data
{
/// <summary>
/// PM> Add-Migration WelfareDbCreate -Context Welfare.Data.WelfareDbContext -OutputDir Data/Migrations
/// PM> Update-Database -Context Welfare.Data.WelfareDbContext
/// </summary>
public class Welfa... | 2.093722 | d4edd4d856966d5405f75c3abb10ca30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816254 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AngryAshley/proftaak22",
"max_stars_repo_path": "Software/RailViewClient_WinForms/RailViewClient_WinForms/RailViewClient_WinForms/Classes/Department.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135474"
} | starcoder | using System;
using System.Collections.Generic;
namespace RailViewClient_WinForms.Classes
{
public partial class Department
{
public int DepartmentId { get; set; }
public string Streetname { get; set; }
public int HouseNumber { get; set; }
public string PostalCode { get; set; }... | 1.731278 | 1d19c278c387089779b51f14f2115a49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816255 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TeamSpatch/GrowingDare",
"max_stars_repo_path": "Assets/Hydra/HydraCommon/Scripts/Concrete/HydraEventHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135475"
} | starcoder | // <copyright file=HydraEventHelper company=Hydra>
// Copyright (c) 2015 All Rights Reserved
// </copyright>
// <author><NAME></author>
using Hydra.HydraCommon.Abstract;
using UnityEngine;
namespace Hydra.HydraCommon.Concrete
{
/// <summary>
/// HydraEventHelper simply provides a shortcut for listening to
/// Hy... | 1.798308 | ecca0d2df2d5303581e6c2315c986745 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816256 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "indeavr/Ignite",
"max_stars_repo_path": "Ignite/Ignite.Tests/Admin/Services/UploadCourseServiceTests/ImageToByteArray_Should.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135476"
} | starcoder | <filename>Ignite/Ignite.Tests/Admin/Services/UploadCourseServiceTests/ImageToByteArray_Should.cs
using Ignite.Admin.Services;
using Ignite.Data;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.IO;
using System.Web;
namespace Ignite.Tests.Admin.Services.UploadCourseServiceTest... | 2.376157 | 1374e08aa59a1e5ffc491e3edb64b151 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816257 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iAvinashVarma/RunnerCore",
"max_stars_repo_path": "Middle/Pattern/Creational/AV.Middle.Pattern.Creational.Shape/Factory/ShapeFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135477"
} | starcoder | <filename>Middle/Pattern/Creational/AV.Middle.Pattern.Creational.Shape/Factory/ShapeFactory.cs<gh_stars>1-10
using AV.Middle.Pattern.Creational.Shape.Concrete;
using AV.Middle.Pattern.Creational.Shape.Interface;
namespace AV.Middle.Pattern.Creational.Shape.Factory
{
public class ShapeFactory
{
public IShape GetSh... | 2.956697 | 03181d34e2e8cd835026ec3c67e7621d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816258 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "teodragoi/IMR_Tema2",
"max_stars_repo_path": "Tema2/Library/PackageCache/com.unity.xr.interaction.toolkit@1.0.0-pre.6/Runtime/Locomotion/LocomotionProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135478"
} | starcoder | using System;
namespace UnityEngine.XR.Interaction.Toolkit
{
/// <summary>
/// The <see cref="LocomotionProvider"/> is the base class for various locomotion implementations.
/// This class provides simple ways to interrogate the <see cref="LocomotionSystem"/> for whether a locomotion can begin
/// and ... | 2.655832 | 0d1fc0801f1374c9d37492cbf473ee2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816259 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "platformdotnet/Platform",
"max_stars_repo_path": "src/Platform.Xml.Serialization/XmlReaderHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135479"
} | starcoder | <filename>src/Platform.Xml.Serialization/XmlReaderHelper.cs
using System;
using System.Xml;
namespace Platform.Xml.Serialization
{
/// <summary>
/// Helper methods for XmlReaders.
/// </summary>
internal class XmlReaderHelper
{
public static readonly XmlNodeType[] ElementOrEndElement = { XmlNodeType.E... | 3.192741 | dddf8986e7cc89125b17d51508346b3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816260 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "stanb/Comformation",
"max_stars_repo_path": "src/Comformation/Generated/CodePipeline/Pipeline/ActionDeclaration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135480"
} | starcoder | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Comformation.IntrinsicFunctions;
namespace Comformation.CodePipeline.Pipeline
{
/// <summary>
/// AWS::CodePipeline::Pipeline ActionDeclaration
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-code... | 2.274808 | 596976c888e3dc8b601158c141a4a51b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816261 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wmemorgan/contact-manager-api",
"max_stars_repo_path": "ContactManagerApi/Controllers/ContactController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135481"
} | starcoder | <gh_stars>1-10
using ContactManagerApi.Models;
using ContactManagerApi.Services;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
namespace ContactManagerApi.Controllers
{
[Produces("application/json")]
[Route("contacts")]
[ApiController]
public class... | 2.592652 | 91d07b1d99ec500552e1fac9cfe208b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816262 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikolastefanov/CarService",
"max_stars_repo_path": "CarService/CarService/Models/Issues/EditIssueViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135482"
} | starcoder |
namespace CarService.Models.Issues
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using static Data.DataConstants.Issue;
public class EditIssueViewModel
{
public int Id { get; set... | 2.013886 | 8dd0843d1947034ad994e68c8e019e80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816263 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "HappierGore/BugsWar",
"max_stars_repo_path": "Library/PackageCache/com.unity.textmeshpro@2.1.3/Scripts/Editor/TMPro_TexturePostProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135483"
} | starcoder | using System;
using UnityEngine;
using UnityEditor;
using System.Collections;
namespace TMPro.EditorUtilities
{
public class TMPro_TexturePostProcessor : AssetPostprocessor
{
void OnPostprocessTexture(Texture2D texture)
{
Texture2D tex = AssetDatabase.LoadAssetAtPath(assetPath, t... | 2.117879 | 072649928db66da1f1c9a218ea91f9ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816264 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "dddsw/website",
"max_stars_repo_path": "src/DDDSouthWest.Website/Framework/AuthServerConfigurationOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135484"
} | starcoder | namespace DDDSouthWest.Website.Framework
{
// TODO: Move auth config from Domain.ClientConfigurationOptions to here?
public class AuthServerConfigurationOptions
{
public IdentityServer IdentityServer { get; set; }
}
public class IdentityServer
{
public string AuthorityServer { ... | 1.52959 | 87db5eeb1f911b96f73960b485d9ef15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816265 | {
"extension": "c-sharp",
"max_stars_count": "1984.0",
"max_stars_repo_name": "pavel-petrenko/nodejstools",
"max_stars_repo_path": "Nodejs/Product/Nodejs/Repl/ReplOutputClassifierProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135485"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.InteractiveWindow;
using Microsoft.VisualStudio.... | 1.981207 | 24525f621b98716fcb8c6f8d3b934aea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816266 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "cedricga91/alien_legacy_plugins-1",
"max_stars_repo_path": "cmake/build-system/csharp/axl/Arcane.Axl.T4/Arcane.Axl/T4.Service/ServiceT4CaseAndStrong.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135486"
} | starcoder | // ------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Mono Runtime Version: 4.0.30319.17020
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autoge... | 1.371178 | 4d42940af7e0d56c5ae771fd85e5a2de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816267 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "WhitWaldo/service-fabric-yarp",
"max_stars_repo_path": "src/FabricDiscovery.Core/Service/TopologyDiscovery/TopologyDiscoveryWorker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135487"
} | starcoder | <reponame>WhitWaldo/service-fabric-yarp
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
usin... | 1.441359 | a3dd92fdcadf2452b909697c74b10c3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816268 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tiwater/GameFramework",
"max_stars_repo_path": "Scripts/GameStructure/Characters/Components/EquipmentSlot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135488"
} | starcoder | using System;
using UnityEngine;
using static GameFramework.GameStructure.GameItems.ObjectModel.GameItem;
namespace GameFramework.GameStructure.Characters.ObjectModel
{
/// <summary>
/// Mark the equipment slot for the GameObject
/// </summary>
/// Mark the equipment slot for the GameObject, so the eq... | 1.977742 | da9a6d8963e916a0dc8bbbf6cec24d41 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816269 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/das-provide-feedback-apprentice",
"max_stars_repo_path": "src/Apprentice.BotV4/Commands/Dialog/AdminCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135489"
} | starcoder | <reponame>SkillsFundingAgency/das-provide-feedback-apprentice
namespace ESFA.DAS.ProvideFeedback.Apprentice.BotV4.Commands.Dialog
{
using System;
using System.Threading;
using System.Threading.Tasks;
using ESFA.DAS.ProvideFeedback.Apprentice.Core.Models.Conversation;
using Microsoft.Bot.Builder.Dia... | 2.127757 | 5531e488d6bf97beae09f27c66ae355d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816270 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BionicCode/BCAudiobookPlayer",
"max_stars_repo_path": "BCAudiobookPlayer/BCAudiobookPlayer/HttpMediaUrlToStreamResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135490"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.Storage.Streams;
using Windows.Web;
using BCAudiobookPlayer.Player.Playback.Contract;
namespace BCAudiobookPlayer
{
public sealed class HttpMediaUrlToSt... | 2.397872 | bb5a722f0838d1679843abc3823d143a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816271 | {
"extension": "c-sharp",
"max_stars_count": "55.0",
"max_stars_repo_name": "tgiachi/Neon.HomeControl",
"max_stars_repo_path": "Neon.HomeControl.Services/Services/ScriptService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135491"
} | starcoder | using Microsoft.Extensions.Logging;
using Neon.HomeControl.Api.Core.Attributes.ScriptService;
using Neon.HomeControl.Api.Core.Attributes.Services;
using Neon.HomeControl.Api.Core.Data.Config;
using Neon.HomeControl.Api.Core.Interfaces.Managers;
using Neon.HomeControl.Api.Core.Interfaces.Services;
using Neon.HomeContro... | 2.202229 | 47342ed9e4c73df05eef933630ac155e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816272 | {
"extension": "c-sharp",
"max_stars_count": "93.0",
"max_stars_repo_name": "JohnLamontagne/Lunar-Mirage",
"max_stars_repo_path": "src/Lunar.Server/Utilities/WorldDictionary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135492"
} | starcoder | /** Copyright 2018 <NAME> https://www.rpgorigin.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in... | 2.859153 | 73098b994e18b683bb60505495505192 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816273 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "gregorvilkner/PiSystemGraphQL",
"max_stars_repo_path": "PiGraphQlSchema/IGraphQL/IQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135493"
} | starcoder | using GraphQL;
using PiGraphQlSchema.GraphQlModel;
using System.Collections.Generic;
namespace PiGraphQlSchema.IGraphQl
{
public interface IQuery
{
[GraphQLMetadata("hello")]
string GetHello();
[GraphQLMetadata("gpio")]
List<string> GetGGIO(IResolveFieldContext context, string... | 2.00057 | d56ffdef852ef83e94733811b8db7cfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816274 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/InstanceViewStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135494"
} | starcoder | <gh_stars>1000+
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if t... | 2.149284 | 9f92eeb0347d0a93a8b970a3dbc9eb1a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816275 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "El-Tejaso/Harmonic-Table",
"max_stars_repo_path": "Assets/Scripts/UI/Generic/TextUpdateBool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135495"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TextUpdateBool : MonoBehaviour {
public string trueStr;
public string falseStr;
public void SetText(bool b){
GetComponent<Text>().text = b ? trueStr : falseStr;
}
}
| 2.212816 | 036e1f0896c1b1f28be53e5f88b874ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816276 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "YoNeXia/VREyeTrackingAccuracyTest",
"max_stars_repo_path": "Assets/Scripts/Logging/Logger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135496"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System;
using System.IO;
using UnityEngine;
using UnityEngine.UI;
using System.Linq;
using System.Text.RegularExpressions;
public class Logger
{
#region Fields
private static Logger _instance;
public string userID = StartConfig.userID;
... | 2.737535 | 41e354b72755b207d9714d551003c638 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816277 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LambertW/DesignPattern",
"max_stars_repo_path": "DesignPattern.State/ConfirmationReceipt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135497"
} | starcoder | <reponame>LambertW/DesignPattern<filename>DesignPattern.State/ConfirmationReceipt.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace DesignPattern.State
{
public sealed class ConfirmationReceipt : IState
{
public void Process(Order order)
{
System.Conso... | 2.338085 | 78ffcf86a97cb5f67606e57ae276f5ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816278 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "rafalpienkowski/d-commerce",
"max_stars_repo_path": "src/Billing/Payments/IPaymentProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135498"
} | starcoder | <gh_stars>1-10
namespace Billing.Payments
{
public interface IPaymentProvider
{
PaymentConfirmation ChargeCreditCard(string cardNumber, decimal amount);
}
} | 1.668548 | 88a088b3953c80187c77c56ea1c4bc42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816279 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BSK-Baesick/Partita",
"max_stars_repo_path": "Assets/Naninovel/Runtime/Actor/Character/CharacterLookDirection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135499"
} | starcoder | // Copyright 2017-2020 Elringus (<NAME>). All Rights Reserved.
namespace Naninovel
{
public enum CharacterLookDirection
{
Center,
Left,
Right
}
}
| 1.557 | e744c393e921ae43f28910efa4424d34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816280 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "goatcorp/FFXIVClientStructs",
"max_stars_repo_path": "FFXIVClientStructs/FFXIV/Component/GUI/ULD/ULDComponentDataMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135500"
} | starcoder | using System.Runtime.InteropServices;
namespace FFXIVClientStructs.FFXIV.Component.GUI.ULD
{
[StructLayout(LayoutKind.Explicit, Size = 0x34)]
public unsafe struct ULDComponentDataMap
{
[FieldOffset(0x00)] public ULDComponentDataBase Base;
[FieldOffset(0x0C)] public fixed uint Nodes[10];
... | 1.311852 | f4ab4e93076523ca1f1b5b6ba424e176 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816281 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "plasticviking/agri-nmp",
"max_stars_repo_path": "app/Server/src/SERVERAPI/Pages/Ranch/RanchManure/CreateEdit.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135501"
} | starcoder | <reponame>plasticviking/agri-nmp<gh_stars>1-10
using Agri.CalculateService;
using Agri.Data;
using Agri.Models;
using Agri.Models.Farm;
using AutoMapper;
using Agri.Shared;
using FluentValidation;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using SERVERAPI.Models.... | 1.632512 | 346aca21a9f66e9f62c62ca18b52fc33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816282 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Microservices-DetectingQoSViolations/Pacco.Services.Deliveries",
"max_stars_repo_path": "src/Pacco.Services.Deliveries.Application/Exceptions/DeliveryAlreadyStartedException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135502"
} | starcoder | <filename>src/Pacco.Services.Deliveries.Application/Exceptions/DeliveryAlreadyStartedException.cs
using Convey.Exceptions;
using System;
namespace Pacco.Services.Deliveries.Application.Exceptions
{
public class DeliveryAlreadyStartedException : AppException
{
public override string Code => "delivery_al... | 2.310458 | 5386493fe7c112b36f1165ad6814d3d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816283 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chandramouleswaran/Hypertest",
"max_stars_repo_path": "Src/Hypertest.Core/Handlers/WebScenarioViewDropHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135503"
} | starcoder | <filename>Src/Hypertest.Core/Handlers/WebScenarioViewDropHandler.cs
#region License
// Copyright (c) 2014 <NAME>
//
// 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, includ... | 2.011579 | 41598dbe13faba0486ce078ec48a23c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816284 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndrewBabbitt97/primer-blazor",
"max_stars_repo_path": "src/Primer/Components/Details/PrimerDetailsType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135504"
} | starcoder | <gh_stars>0
namespace Primer.Components
{
/// <summary>
/// The details types
/// </summary>
public enum PrimerDetailsType
{
/// <summary>
/// Default
/// </summary>
Default,
/// <summary>
/// Dark overlay
/// </summary>
DarkOverlay,
... | 1.604286 | c67fef44b5e9bd384b98fa40ba953584 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816285 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sedc-codecademy/skwd8-08-aspnetmvc",
"max_stars_repo_path": "g6/Class09/SEDC.AspNet.Class09/SEDC.AspNet.Class09.EfCodeFirst/Migrations/20200919090718_initial_database.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135505"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace SEDC.AspNet.Class09.EfCodeFirst.Migrations
{
public partial class initial_database : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
mig... | 2.465991 | 97c0ce2bacbfb790c1f2f5798fa0f02d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816286 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rougemeilland/Palmtree.Math.Core.Uint",
"max_stars_repo_path": "Palmtree.Math.Core.Uint.CsLauncher/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135506"
} | starcoder | using System;
using System.Numerics;
using System.Globalization;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Palmtree.Math;
namespace Palmtree.Math.Core.Uint.CsLauncher
{
class Program
{
static void Main(string[] args)
{
... | 2.406908 | a1396473c3dadaffee8fb0e728bf7155 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816287 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "c-johnson/space-station-14",
"max_stars_repo_path": "Content.Shared/Interfaces/GameObjects/Components/Interaction/IThrown.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135507"
} | starcoder | <reponame>c-johnson/space-station-14
using System;
using JetBrains.Annotations;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
namespace Content.Shared.Interfaces.GameObjects.Components
{
/// <summary>
/// This interface gives components behavior when thrown.
/// </summary>
[Requi... | 2.567668 | 315d16cfa09abfad1a63116adf59bb83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816288 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vollgraaff/pnpcore",
"max_stars_repo_path": "src/sdk/PnP.Core/Model/SharePoint/Pages/Public/Viva/AdaptiveCardExtensions/AssignedTasksACE.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135508"
} | starcoder | using System;
namespace PnP.Core.Model.SharePoint
{
/// <summary>
/// Assigned tasks ACE
/// </summary>
public class AssignedTasksACE : AdaptiveCardExtension
{
/// <summary>
/// Default constructor
/// </summary>
public AssignedTasksACE(CardSize cardSize = CardSize.... | 1.871259 | 78c35efc280841a6631b770d25148b44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816289 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sheychen290/Galactic_Colors_Control",
"max_stars_repo_path": "Galactic Colors Control Common/Logger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135509"
} | starcoder | <reponame>sheychen290/Galactic_Colors_Control
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Galactic_Colors_Control_Common
{
public class L... | 2.906858 | 604dca1bbe51e69f8a375b4c8059b057 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816290 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jaypetrin/Orleans.Clustering.Couchbase",
"max_stars_repo_path": "src/Orleans.Clustering.Couchbase/CouchbaseClusteringExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135510"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using Orleans.Configuration;
using Orleans.Hosting;
using System;
namespace Orleans.Clustering.Couchbase
{
public static class CouchbaseClusteringExtensions
{
public static ISiloHostBuilder UseCouchbaseClustering(this ISiloHostBuilder builder,
... | 1.707274 | d144bbfb0e08a84df2f92ea3cec18530 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816291 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexs0ff/remboard",
"max_stars_repo_path": "Server/Romontinka.Server.WebSite/Models/Account/RecoveryLoginModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135511"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using Romontinka.Server.WebSite.Metadata;
namespace Romontinka.Server.WebSite.Models.Account
{
/// <summary>
/// Модель восстановления паро... | 1.591902 | 8bb16b66ab4dc9fc3f421551c8c73f0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816292 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "mosirnik/KK_MainGameVR",
"max_stars_repo_path": "KoikatuVR/Controls/SchoolTool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135512"
} | starcoder | <filename>KoikatuVR/Controls/SchoolTool.cs
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using VRGIN.Controls;
using VRGIN.Controls.Tools;
using VRGIN.Core;
using VRGIN.Helpers;
using static SteamVR_Controller;
using WindowsInput.Native;
using KoikatuVR.Interpreters;
using Syste... | 2.00372 | 9a6b45598f0f8ae6e97fee4e7605c712 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816293 | {
"extension": "c-sharp",
"max_stars_count": "105.0",
"max_stars_repo_name": "danclax/invest-openapi-csharp-sdk-1",
"max_stars_repo_path": "src/Tinkoff.Trading.OpenApi/Models/MoneyAmount.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135513"
} | starcoder | <reponame>danclax/invest-openapi-csharp-sdk-1
using System.Text.Json.Serialization;
namespace Tinkoff.Trading.OpenApi.Models
{
public class MoneyAmount
{
public Currency Currency { get; }
public decimal Value { get; }
[JsonConstructor]
public MoneyAmount(Currency currency, deci... | 1.866202 | ecad0a9d0810a49ea21f4ca99b6c4be0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816294 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shana/corefx",
"max_stars_repo_path": "src/System.Text.Encoding/tests/UTF8Encoding/UTF8EncodingGetBytes1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135514"
} | starcoder | <reponame>shana/corefx
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Text;
using Xunit;
namespace System.Text.EncodingTests
{
// GetBytes(System.Char[],System.Int32,System.Int32,Syst... | 2.573972 | 63342bd826d82a8352789474afd70546 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816295 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrewchungxam/Microsoft-Bot-Framework-v4",
"max_stars_repo_path": "MultiDialogsWithAccessorBotV4/Dialogs/FoodWaterfallDialog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135515"
} | starcoder | <filename>MultiDialogsWithAccessorBotV4/Dialogs/FoodWaterfallDialog.cs
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Dialogs;
using SimplifiedWaterfallDialogBotV4.BotAccessor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace... | 2.818938 | 32fcfb74b9208020681364a8728421a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816296 | {
"extension": "c-sharp",
"max_stars_count": "64.0",
"max_stars_repo_name": "Pursche/PurEngine",
"max_stars_repo_path": "Cooker/source/Cookers/ObjModelCooker/ObjLoader/TypeParsers/Interfaces/IFaceParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135516"
} | starcoder | namespace ObjLoader.Loader.TypeParsers.Interfaces
{
public interface IFaceParser : ITypeParser
{
}
} | 1.203186 | 5040fdc07a06036f908bb766979908f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816297 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "HMNBadBoyz/ImForms",
"max_stars_repo_path": "ImFormsUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135517"
} | starcoder | <filename>ImFormsUser.cs<gh_stars>10-100
using System.Windows.Forms;
using ImForms;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Linq;
namespace ImFormsUser
{
public partial class ImFormsUser : Form
{
public int y = 0;
public int t = 0;
ImF... | 2.725414 | d1af431b4ee19659da6514a4a05d6830 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816298 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dnyvik/Crumbs",
"max_stars_repo_path": "src/Crumbs.EventualConsistency/IStatefulEventHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135518"
} | starcoder | using Crumbs.Core.Event.EventualConsistency;
using System;
using System.Threading.Tasks;
namespace Crumbs.EventualConsistency
{
public interface IStatefulEventHandler<T> where T : IEventHandlerState
{
Task Initialize(Guid stateKey, T initalState = default, bool useLiveEventStream = true);
T Sta... | 1.964477 | 8a5c8ee71a0d188e2bbadfd7682ac66f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816299 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "HongchenMeng/WPF-",
"max_stars_repo_path": "Wpf.Controls.Demo/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135519"
} | starcoder | <filename>Wpf.Controls.Demo/App.xaml.cs
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace Wpf.Controls.Demo
{
/// <summary>
/// Interaction logic for App.xaml
/// </sum... | 2.230238 | dd032d03162be333e4bc1cf04fabd58b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816300 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AlexandruIstrate/ProBase",
"max_stars_repo_path": "src/ProBase/Attributes/ParameterAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135520"
} | starcoder | using System;
namespace ProBase.Attributes
{
/// <summary>
/// Specifies how a method parameter maps to a procedure parameter.
/// </summary>
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false)]
public sealed class ParameterAttribute : Attribute
{
/// <summary>
/... | 3.226574 | cf899b5308b691fdc52878dbb09cb029 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816301 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "avanmalleghem/text-sdk-dotnet",
"max_stars_repo_path": "CM.Text/TextClientMessageDetail.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135521"
} | starcoder | using System.Diagnostics.CodeAnalysis;
using JetBrains.Annotations;
using Newtonsoft.Json;
namespace CM.Text
{
/// <summary>
/// Data model that contains detailed message information per recipient.
/// </summary>
[PublicAPI]
[SuppressMessage("ReSharper", "InconsistentNaming", Justification = "... | 2.563439 | 25db9b129857a0cb4fc3ccc38dadbfe3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816302 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cs31415/2ndbrainalpha",
"max_stars_repo_path": "App/Logger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135522"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
namespace _2ndbrainalpha
{
public class Logger : ILogger
{
private readonly string _logFilePath;
private ReaderWriterLock _lock = new ReaderWriterLock();
private int _lockTimeoutMs = 5000;
... | 3.264621 | 8dceb8376043963e95b4ac5b32d32b49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816303 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "10by10pixel/YAFNET",
"max_stars_repo_path": "yafsrc/YAF.Web/Extensions/ForumPageExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135523"
} | starcoder | <reponame>10by10pixel/YAFNET
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 <NAME>
* Copyright (C) 2006-2013 <NAME>
* Copyright (C) 2014-2021 <NAME>
* https://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOT... | 2.113422 | f39c0dbf6b56b983b2201f2d0d429ed9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816304 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pirocorp/CSharp-OOP-Advanced",
"max_stars_repo_path": "09. Exam Preparation/03. Recycling Station/RecyclingStation/Attributes/BurnableAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135524"
} | starcoder | <reponame>pirocorp/CSharp-OOP-Advanced
namespace RecyclingStation.Attributes
{
public class BurnableAttribute : DisposableAttribute
{
}
} | 1.274475 | 7f10dddd31ca4b8c189e468dc8db80df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816305 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LukaszMKurek/LowCostLinq",
"max_stars_repo_path": "LowCostLinq/Interfaces/IAccumulator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135525"
} | starcoder | <reponame>LukaszMKurek/LowCostLinq
using System.Runtime.CompilerServices;
namespace LowCostLinq
{
public interface IAccumulator<T>
{
/// <summary>
/// When return true accumulating will stop
/// </summary>
/// <param name="item">Current item. Do not update reference. r... | 2.549963 | b5a87e562a0f67c82a525b07b7836d25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816306 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ajitkatte/codejams",
"max_stars_repo_path": "CTM/TW.ConferenceTrackManagement/TW.ConferenceTrackManagement.Contract/IConferenceScheduler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135526"
} | starcoder | using System.Collections.Generic;
using TW.ConferenceTrackManagement.Model;
namespace TW.ConferenceTrackManagement.Contract
{
public interface IConferenceScheduler
{
Conference Schedule(List<Talk> talk);
}
}
| 1.765164 | e8ca76839162e21b87ffe9392ef69ec6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816307 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "becker88/Unity-MVVM",
"max_stars_repo_path": "Assets/Unity-MVVM/Scripts/Binding/CollectionItemBinding.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135527"
} | starcoder | using System.Collections;
using System.Collections.ObjectModel;
using System.Linq;
using UnityEngine;
using UnityMVVM.Binding.Converters;
using UnityMVVM.Model;
using UnityMVVM.View;
namespace UnityMVVM.Binding
{
public class CollectionItemBinding : MonoBehaviour, IDataBinding
{
public string _srcProp... | 1.999385 | 06f30385748ffeaebbeb5aa33991c5d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816308 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MartinEden/finances-sharp",
"max_stars_repo_path": "FinancesSharp/Views/Shared/CategoryAncestry.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135528"
} | starcoder | @model FinancesSharp.Models.Category
@if (Model.Parent != null)
{
<span class="category-parent">@Html.DisplayFor(m => m.Parent)</span>
}
| 2.426218 | 0cb31cb799b8db5847fe17413a474b6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816309 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "AiursoftWeb/Infrastructures",
"max_stars_repo_path": "src/Abstracts/SDKTools/Attributes/ValidFolderName.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135529"
} | starcoder | <gh_stars>10-100
using System.ComponentModel.DataAnnotations;
using System.IO;
namespace Aiursoft.SDKTools.Attributes
{
public class ValidFolderName : TestableValidationAttribute
{
public override bool IsValid(object value)
{
if (value is string val)
{
r... | 2.81485 | 5e656a59467db59a0dc22ab71b2bbd0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816310 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "eduard-bystrov/Dotmim.Sync",
"max_stars_repo_path": "Projects/Dotmim.Sync.Core/SyncCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135530"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Text;
namespace Dotmim.Sync
{
public class SyncCommand
{
public DbCommand DbCommand { get; set; }
public bool IsPrepared { get; set; }
public SyncCommand(DbCommand dbCommand)
{
... | 2.173273 | 8009ce74657b59c0713ef914ef0a4475 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816311 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "nabehiro/amazon-pay-api-sdk-dotnet",
"max_stars_repo_path": "Amazon.Pay.API.SDK/InStore/Charge/CreateChargeRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135531"
} | starcoder | using Amazon.Pay.API.InStore.Types;
using Amazon.Pay.API.Types;
using Amazon.Pay.API.WebStore.Types;
using Newtonsoft.Json;
namespace Amazon.Pay.API.InStore.Charge
{
public class CreateChargeRequest : ApiRequestBody
{
public CreateChargeRequest(string chargePermissionId, decimal chargeTotal, Currency ... | 2.39816 | b722236c4ec08bcb68301b869751a65c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816312 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Phantom-Lily/space-station-14",
"max_stars_repo_path": "Content.Client/Kitchen/UI/LabelledContentBox.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135532"
} | starcoder | using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.Controls;
namespace Content.Client.Kitchen.UI
{
[GenerateTypedNameReferences]
public partial class LabelledContentBox : BoxContainer
{
public string? LabelText { get => Label.Text; set => Label.Text = value; }
public strin... | 1.544092 | cc3ab0a27b20f1454c180c9eb5bfc320 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816313 | {
"extension": "c-sharp",
"max_stars_count": "1344.0",
"max_stars_repo_name": "iqmulator/Stl.Fusion",
"max_stars_repo_path": "src/Stl.Fusion/Extensions/Commands/RemoveManyCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135533"
} | starcoder | using System;
using System.Reactive;
using System.Runtime.Serialization;
using Stl.CommandR.Commands;
namespace Stl.Fusion.Extensions.Commands
{
[DataContract]
public record RemoveManyCommand(
[property: DataMember] params string[] Keys
) : ServerSideCommandBase<Unit>
{
public Remov... | 1.64663 | 8e40b6b984795f47136d98a82f024c3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "intsven/ros-sharp",
"max_stars_repo_path": "Unity3D/Assets/SenseGlove/Scripts/Util/SenseGlove_Debugger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135534"
} | starcoder |
using UnityEngine; //used for Debug.Log()
using SenseGloveCs.Diagnostics; // Used to access Debugger.
/// <summary>
/// Utility Script that allows access to the internal debugger of the SenseGloveCs Library, and controls debug messages from the SenseGlove SDK specifically.
/// </summary>
public class SenseGlove_Deb... | 2.909022 | 0303a4e7dc01b3245cee7ec8077dc8c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816315 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rluetzner/aws-sdk-net",
"max_stars_repo_path": "sdk/test/Services/DynamoDBv2/IntegrationTests/DocumentTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135535"
} | starcoder | using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AWSSDK_DotNet.IntegrationTests.Utils;
using Amazon.DynamoDBv2;
using Amazon.DynamoDBv2.Model;
using Amazon.DynamoDBv2.DocumentModel;
using System.IO;
... | 2.004985 | 4ff1f6cab7a064bf61bed1e64efb8cd2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816316 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GhadaAJIMI/eiin839",
"max_stars_repo_path": "Lets-Go-Biking-project/RoutingWithBikes/RoutingWithBikes/Models/JCDcauxModels/MainStands.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135536"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace RoutingWithBikes.Models.JCDcauxModels
{
[DataContract(Name = "MainStands")]
public class MainStands
{
[DataMember(Name = "availabilities... | 1.779173 | 95d98c7fa376058928b06e533365ffb8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816317 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ToddGrun/csharp-language-server-protocol",
"max_stars_repo_path": "test/JsonRpc.Tests/AutoNSubstitute/AutoTestBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135537"
} | starcoder | using System;
using Autofac;
using Autofac.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using NSubstitute.Internals;
using Xunit.Abstractions;
// ReSharper disable once CheckNamespace
namespace NSubstitute
{
public abstract class AutoTestBase
... | 2.030962 | 7d6ba201c7b03fc97534b902011c307f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.