added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69833 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yemrekeskin/tcmb-currency-provider",
"max_stars_repo_path": "CurrencyProvider/CurrencyProvider/Model/Currency.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69834"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace CurrencyProvider.Model
{
public class Currency
{
public string Code { get; set; }
public string Name { get; set; }
public double ForexBuying { get; set; }
public double ForexSelling { ge... | 2.132899 | bb70859157d1001d0de497b3dd01adb4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69834 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "darknmon88/MinerGunBuilderCalculator",
"max_stars_repo_path": "FireController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69835"
} | starcoder | <reponame>darknmon88/MinerGunBuilderCalculator<filename>FireController.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MinerGunBuilderCalculator
{
... | 2.468448 | 6048f08fb6f925e3fb5dd8c581251ff2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69835 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TarquinQ/xamlFrame",
"max_stars_repo_path": "xamlFrame/Lib/Xaml/NavigationBar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69836"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
namespace xamlFrame.Lib.Xaml
{
class NavigationBar : ListBox
{
//static NavigationBar()
//{
// Default... | 1.24052 | 83c09276621496a33566b9940f08ddd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69836 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "carlos-vicente/Playgrounf",
"max_stars_repo_path": "Playground.TicketOffice.Api.Theater/Global.asax.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69837"
} | starcoder | using System.Reflection;
using System.Web.Http;
using Autofac;
using Autofac.Integration.WebApi;
using Playground.DependencyResolver.Autofac;
using Playground.QueryService.InMemory.Autofac;
using Playground.TicketOffice.Api.AutofacRegister;
using Playground.TicketOffice.Theater.Write.Messages;
using Rebus.Auditing.Mes... | 1.603636 | cff0356b272e05e2151a7c0df9d411b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69837 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Pillowdrift/StellarSwingClassic",
"max_stars_repo_path": "Assets/Scripts/Maths/BezierTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69838"
} | starcoder | <reponame>Pillowdrift/StellarSwingClassic
using UnityEngine;
public class BezierTest : MonoBehaviour
{
private float t = 0.0f;
private Vector3 p0, p1, p2, p3;
void Start()
{
p0 = new Vector3(-5.0f, 0.0f, 0.0f);
p1 = Random.insideUnitSphere * 2.0f;
p2 = Random.insideUnitSphere * 2.0f;
p3 = new Vector3(5.0... | 2.044864 | b89ee0d6d1b9e665951afbd54f94572f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69838 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "burakoner/BitMax.Net",
"max_stars_repo_path": "BitMax.Net/RestObjects/Cash/BitMaxSpotBalance.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69839"
} | starcoder | using Newtonsoft.Json;
namespace BitMax.Net.RestObjects
{
public class BitMaxSpotBalance
{
[JsonProperty("asset")]
public string Asset { get; set; }
[JsonProperty("totalBalance")]
public decimal TotalBalance { get; set; }
[JsonProperty("availableBalance")]
... | 1.905485 | 7abb62b7bf980e1d9eaa2cbe32504225 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69839 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "rtkelly13/ProceduralGeneration3DMazes",
"max_stars_repo_path": "Assets/GameAssets/Scripts/UI/Menu/Settings/NoneSettingsBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69840"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Assets.Examples.UI;
using Assets.GameAssets.Scripts.Maze.Factory;
using Assets.GameAssets.Scripts.Maze.Model;
using Assets.GameAssets.Scripts.UI.Helper;
using UnityEngine;
namespace Assets.GameAssets.Scripts.UI.Menu.Settings
{... | 2.088873 | 4c2b736532654fa394051ff2fcf2f875 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69840 | {
"extension": "c-sharp",
"max_stars_count": "13846.0",
"max_stars_repo_name": "tomaswesterlund/aspnetcore",
"max_stars_repo_path": "src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWorksWhenMultipleIdenticalStatusCodesAreInError.Input.cs",
"provenance": "... | starcoder | <reponame>tomaswesterlund/aspnetcore
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._INPUT_
{
[ApiController]
[Route(... | 2.058923 | 9cdc55f2f908bb49a4c37c7dfd5a9791 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69841 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chri11g6/Serial-Monitor-multi-tools",
"max_stars_repo_path": "Serial monitor/CSV.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69842"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Collections.ObjectModel;
using Microsoft.Win32;
using System.Windows;
namespace Serial_monitor {
public static class CSV {
public static void Export(ObservableC... | 2.801411 | 19203cb18b738e12af2031e796fca1b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69842 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yezouagh/FPL-Library-Management-Project-CSharp",
"max_stars_repo_path": "Attach library database/Attach library database/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69843"
} | starcoder | <filename>Attach library database/Attach library database/Program.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Diagnostics;
namespace Attach_library_database
{
class Program
{
static void Main(... | 3.105332 | efe461157431526ca45021fca3911177 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69843 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PavelGem-13g/Street_designer",
"max_stars_repo_path": "City-scene-editor/Assets/TriLib/TriLibHDRP/Scripts/Mappers/HDRPVirtualMaterial.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69844"
} | starcoder | using TriLibCore.General;
using UnityEngine;
namespace TriLibCore.Mappers
{
public class HDRPVirtualMaterial : VirtualMaterial
{
public Texture MetallicTexture;
public Texture OcclusionTexture;
public Texture DetailMaskTexture;
public Texture SmoothnessTexture;
}
} | 1.271082 | 995dafc53a99d7845d96518b2b9e8b81 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69844 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jefferson-luis-nascimento/RestWithASP-NET5",
"max_stars_repo_path": "03_RestWithASPNet5_Verbs/RestWithASPNet5/RestWithASPNet5/Controllers/BookController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69845"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using RestWithASPNet5.Model;
using RestWithASPNet5.Bussiness;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using RestWithASPNet5.Repository;
namespace RestWithASPNet5.Con... | 2.555847 | 7a0c03458389a3f7af2798801805c0c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69845 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ali-kiyani/ForeSpark",
"max_stars_repo_path": "aspnet-core/src/ForeSpark.Application/Configuration/IConfigurationAppService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69846"
} | starcoder | <gh_stars>0
using System.Threading.Tasks;
using ForeSpark.Configuration.Dto;
namespace ForeSpark.Configuration
{
public interface IConfigurationAppService
{
Task ChangeUiTheme(ChangeUiThemeInput input);
}
}
| 1.024611 | b494a317985e180b35ddd7af4bc0b704 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69846 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Avatarchik/Pokemon_Unity3D_Entitas",
"max_stars_repo_path": "Assets/Scripts/Data/Ability/AllAbilities/Regenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69847"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PokemonBattele
{
/// <summary>
/// 再生力(特性)
/// </summary>
class Regenerator :AbilityImpact
{
public override void OnLeave(BattlePokemonData self)
{
int h = self.Health / 3;
... | 2.668105 | 74fbf6aef7f196128d40987c61e3d398 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69847 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mirusser/Learning-dontNet",
"max_stars_repo_path": "src/MediatRResponseCachingDemo/Core/Abstractions/ICacheableMediatrQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69848"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core.Abstractions
{
public interface ICacheableMediatrQuery
{
bool BypassCache { get; }
string CacheKey { get; }
TimeSpan? SlidingExpiration { get; }
}
}
| 1.805008 | bcbf541fbf3ae978595119e212bc8ea3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69848 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "chiraylu/DotSpatial",
"max_stars_repo_path": "Source/DotSpatial.Symbology/PointSymbolizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69849"
} | starcoder | // Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Text;
using DotSpatial.Data... | 2.952502 | 70796888c0d6bc8714f32bfd9eb56b35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69849 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "EngineerAhmedMo/FacilityManager",
"max_stars_repo_path": "BuildingFacilityManager/Areas/Admin/Controllers/TaskController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69850"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BuildingFacilityManager.Models;
using BuildingFacilityManager.Models.Tasks;
using BuildingFacilityManager.Models.Tasks.Enums;
using BuildingFacilityManager.ViewModel... | 2.117134 | 5df164ab7e507ad0f3329d197e630571 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69850 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jason-c-daniels/jcd-utilities",
"max_stars_repo_path": "samples/Jcd.Utilities.Samples.Console/Generators/Int16SequenceGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69851"
} | starcoder | <reponame>jason-c-daniels/jcd-utilities<gh_stars>1-10
using Jcd.Utilities.Generators;
namespace Jcd.Utilities.Samples.ConsoleApp.Generators
{
public class Int16SequenceGenerator : CaptureAndTransitionGenerator<Int16SequenceState, short>
{
public Int16SequenceGenerator(short from, short to, short by = 1)
... | 2.587955 | 6984ba64132623e477540ae2a41a62fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69851 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RWS/ecommerce-framework",
"max_stars_repo_path": "dxa.net/ecommerce-framework-dotnet/Tests/SDL.ECommerce.UnitTests/MultipleAssertTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69852"
} | starcoder | namespace SDL.ECommerce.UnitTests
{
using System;
using Ploeh.AutoFixture;
public abstract class MultipleAssertTest<TParent> where TParent : Test
{
protected TParent Parent { get; }
public IFixture Fixture { get; }
protected MultipleAssertTest()
{
this.Pa... | 2.124141 | 483a60e6bdd1ee99bf1ea13a8e1effc1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69852 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "v-IIX/qj",
"max_stars_repo_path": "csharp/MyAsyncThread/MyAsyncThread/FormSSQ.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69853"
} | starcoder | using MyAsyncThread.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MyAsyncThread
{
public partial class For... | 2.650859 | 8a3c37723903dafddc1c46c6b1600b73 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69853 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CCRed95/YouTubeRipper",
"max_stars_repo_path": "YouTubeAPI/HttpClientExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69854"
} | starcoder | using System.Net;
namespace YouTubeRipper.YouTubeAPI
{
internal static class HttpClientExtensions
{
internal static CookieContainer WithCookie(
this CookieContainer @this,
string name,
string value,
string path = "/",
string domain = ".youtube.com")
{
@this.Add(new Cookie(name, value, path, do... | 2.494801 | 1bceb3144d6003d1e32266c1ef6e33f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69854 | {
"extension": "c-sharp",
"max_stars_count": "1037.0",
"max_stars_repo_name": "DigitalPlatform/Vanara",
"max_stars_repo_path": "UnitTests/CSharpRunner/SuccessfulConstraint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69855"
} | starcoder | <filename>UnitTests/CSharpRunner/SuccessfulConstraint.cs
using NUnit.Framework.Constraints;
using System;
using Vanara.PInvoke;
namespace Vanara.PInvoke.Tests
{
public abstract class ResultIs // : NUnit.Framework.Is
{
public static FailureConstraint Failure => new FailureConstraint();
public static MyConstraint... | 2.599118 | b42779b89380c8d03b11153d812b33a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69855 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arekbee/AlviSharp",
"max_stars_repo_path": "Src/AlviSharp/Src/AlvisSharp.Validator/ConnectionAlvisValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69856"
} | starcoder | <reponame>arekbee/AlviSharp<gh_stars>0
using System;
using AlviSharp.Lib;
using System.Linq;
namespace AlvisSharp.Validator
{
public class ConnectionAlvisValidator : IAlvisValidator
{
public string Validate(AlvisProject alvisProject)
{
var connections = alvisProject.Page.Connections;
if (!connections... | 2.949554 | 3afbc659c9731893c79839bd4f96d83d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69856 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "0x727/metasploit-framework",
"max_stars_repo_path": "external/source/Scanner/smb/SharpCifs.shack2.SmbClient/Dcerpc/IDcerpcSecurityProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69857"
} | starcoder | using System;
using SharpCifs.Dcerpc.Ndr;
namespace SharpCifs.Dcerpc
{
// Token: 0x020000E5 RID: 229
public interface IDcerpcSecurityProvider
{
// Token: 0x06000794 RID: 1940
void Wrap(NdrBuffer outgoing);
// Token: 0x06000795 RID: 1941
void Unwrap(NdrBuffer incoming);
}
}
| 1.455167 | 1238814be4d7741d5cd96736fd89d8c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69857 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "misonou/waterpipesharp",
"max_stars_repo_path": "src/Codeless.WaterpipeSharp/Internal/Guard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69858"
} | starcoder | <reponame>misonou/waterpipesharp
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Web;
namespace Codeless {
[DebuggerStepThrough]
internal static class Guard {
public static T ArgumentNotNull<T>(T value, string argumentName) {
if (Object.ReferenceEquals(value, ... | 2.102871 | e9727824e90de4c1a5d9d9126bd77cb4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69858 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bmeaut/schedule",
"max_stars_repo_path": "FinalExamScheduling/FinalExamScheduling/GeneticScheduling/SchedulingFitness.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69859"
} | starcoder | using FinalExamScheduling.Model;
using GeneticSharp.Domain.Chromosomes;
using GeneticSharp.Domain.Fitnesses;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace FinalExamScheduling.GeneticScheduling
{
public class Sc... | 2.692497 | 575d38efa4d4f0dd5e964176f29431d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69859 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Deseteral/LudumDare46",
"max_stars_repo_path": "Assets/Scripts/CameraFollow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69860"
} | starcoder | using UnityEngine;
public class CameraFollow : MonoBehaviour
{
public GameObject Target;
// private Vector3 offset = new Vector3(-18.37f, 15f, -18.37f);
// private Vector3 offset = new Vector3(-6.7f, 11.3f, -11.2f);
private Vector3 offset = new Vector3(-37.7f, 32.1f, -37.7f);
void Start()
{... | 2.006016 | ba61d786a68b5625b2f5ca4bb9bd4dba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69860 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexIssa-Matamoros/C-Sharp",
"max_stars_repo_path": "Ejercicios C-Sharp/EJERCICIOS EN CLASES/cafePOO/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69861"
} | starcoder | <reponame>AlexIssa-Matamoros/C-Sharp
using System;
namespace cafePOO
{
class Program
{
static void Main(string[] args)
{
String opcion = "";
cafe cafe = new cafe();
while (true)
{
Console.Clear();
Cons... | 2.275335 | e869f12a46a877ebd49479d01688ca7f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69861 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "angelozi/lesson-csharp-mvc-1",
"max_stars_repo_path": "Web/Areas/Admin/Views/Customers/Edit.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:69862"
} | starcoder | @model Web.Models.Customer
@{
ViewBag.Title = "Edit";
Layout = null;
}
@using (Html.BeginForm("Edit", "Customers", FormMethod.Post, new { enctype = "multipart/form-data" }))
{
@Html.AntiForgeryToken()
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.HiddenFor(model => mode... | 2.13694 | 5b80c514025710c544850f1bb200a899 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69862 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "GeraldYoung/MFilesSamplesAndLibraries",
"max_stars_repo_path": "Samples/VAF/MultiServerMode/BroadcastTaskQueue/VaultApplication.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69863"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading;
using MFiles.VAF.Common;
using MFiles.VAF.Common.ApplicationTaskQueue;
using MFiles.VAF.MultiserverMode;
using MFilesAPI;
namespace BroadcastTaskQueue
{
/// <summary>
/// The entry point for... | 1.960152 | 93d232dd58039a507560f2ebf5dd72fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69863 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Civeloo/BinanceSpotBot",
"max_stars_repo_path": "BinanceNETStandard/Models/WebSocket/DepthCacheObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69864"
} | starcoder | using System.Collections.Generic;
namespace BinanceNETStandard.API.Models.WebSocket
{
public class DepthCacheObject
{
public Dictionary<decimal, decimal> Asks { get; set; }
public Dictionary<decimal, decimal> Bids { get; set; }
}
} | 1.75681 | ad847c6b858572c4c6ae54fb39b536e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69864 | {
"extension": "c-sharp",
"max_stars_count": "2279.0",
"max_stars_repo_name": "aTiKhan/Magick.NET",
"max_stars_repo_path": "tests/Magick.NET.Tests/Colors/ColorHSLTests/TheGetHashCodeMethod.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69865"
} | starcoder | <filename>tests/Magick.NET.Tests/Colors/ColorHSLTests/TheGetHashCodeMethod.cs
// Copyright <NAME> https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using ImageMagick;
using Xunit;
namespace Magick.NET.Tests
{
public partial class ColorHSLTests
{
public class T... | 2.453591 | 83b80fef8b54c1712ae7f7766d03f0d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69865 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "ScriptBox99/msgraph-beta-sdk-dotnet",
"max_stars_repo_path": "src/Microsoft.Graph/Generated/requests/MessageRecipientEventsCollectionRequestBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69866"
} | starcoder | <filename>src/Microsoft.Graph/Generated/requests/MessageRecipientEventsCollectionRequestBuilder.cs
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for licens... | 2.109503 | 3df92d18a0c66e36c4e15a231da68914 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69866 | {
"extension": "c-sharp",
"max_stars_count": "194.0",
"max_stars_repo_name": "ennerperez/Rocket",
"max_stars_repo_path": "Rocket.Core/Permissions/PermissionSection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69867"
} | starcoder | using System;
using System.Threading.Tasks;
using Rocket.API.Configuration;
using Rocket.Core.Configuration;
namespace Rocket.Core.Permissions
{
public class PermissionSection
{
protected IConfigurationElement element;
public PermissionSection(string id, IConfigurationElement element)
... | 2.198633 | efae960cf532447f25a9ec95cc46b01f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69867 | {
"extension": "c-sharp",
"max_stars_count": "3147.0",
"max_stars_repo_name": "tomy2105/elsa-core",
"max_stars_repo_path": "src/core/Elsa.Abstractions/Messages/RunWorkflowInstance.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69868"
} | starcoder | namespace Elsa.Messages
{
public class RunWorkflowInstance
{
public RunWorkflowInstance(string workflowInstanceId, string? activityId = default, object? input = default)
{
WorkflowInstanceId = workflowInstanceId;
ActivityId = activityId;
Input = input;
... | 1.831287 | 96d6e6e9ef263b5c5cdc4c93a1dbf748 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69868 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ratijas/SLang.NET",
"max_stars_repo_path": "SLang.NET/Options.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69869"
} | starcoder | using System.IO;
using CommandLine;
namespace SLang.NET
{
public class Options
{
public string GetHelp()
{
return "Compile SLang JSON IR into .NET Core assembly.";
}
[Option(
'v',
"verbose",
Required = false,
HelpText ... | 2.714796 | 8fe40c840e909657272f77de4f1620c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69869 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "haraldnagel/ocuda",
"max_stars_repo_path": "src/Ops.Controllers/ViewModels/Profile/IndexViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69870"
} | starcoder | <reponame>haraldnagel/ocuda<gh_stars>0
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Microsoft.AspNetCore.Mvc.Rendering;
using Ocuda.Ops.Models.Entities;
namespace Ocuda.Ops.Controllers.ViewModels.Profile
{
public class IndexViewModel
{
public Dat... | 1.649843 | 330cee6cfa86a1c207822137d4a9ff2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69870 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "panxin1213/NetCommonLibrary",
"max_stars_repo_path": "Common.Libray/System/ResponseEx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69871"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
namespace System.Web
{
/// <summary>
/// MVC 的Response扩展
/// </summary>
public static class ResponseEx
{
/// <summary>
/// 输出一个文件名头(判断不同浏览器)
/// </summary>
/// <p... | 2.815549 | c568bd9d9f916cd90f2d728b3702b3d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "extra-curricular-schooling/WebAPI-Demo",
"max_stars_repo_path": "ECSDevServer/ECS.Models/LinkedInAccessToken.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69872"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ECS.Models
{
/// <summary>
/// This model represents the LinkedIn access tokens used to create a LinkedIn post. An account can only
/// have one access token.
/// </summary>
//... | 2.72122 | 517a2301afcc54c3e61456ab8f4e82c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69872 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "squideyes/Trading",
"max_stars_repo_path": "UnitTests/Context/Sessions/SessionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69873"
} | starcoder | // ********************************************************
// Copyright (C) 2021 <NAME> (<EMAIL>)
//
// This file is part of SquidEyes.Trading
//
// The use of this source code is licensed under the terms
// of the MIT License (https://opensource.org/licenses/MIT)
// ***************************************************... | 2.100155 | db9a09dd1a829f4fd2940563754fe7f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69873 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/bits.test/units/t_msb_off.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69874"
} | starcoder | <gh_stars>0
//-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using static core;
public class t_msb_off : t_bits<t_msb_off>
{... | 1.87843 | b53f7f21046bfc6491ed0714d5c7dd64 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69874 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tgworkshop/destekbizden",
"max_stars_repo_path": "CoronaSupportPlatform.Models/OrganizationProperty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69875"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoronaSupportPlatform.Models
{
public class OrganizationProperty : Property
{
public int OrganizationId { get; set; }
... | 1.747476 | 59797be9a694b28b2ff2eab6103a67a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69875 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "MzB-Solutions/ConsoLovers",
"max_stars_repo_path": "src/ConsoLovers.ConsoleToolkit.Core/DIContainer/ContainerEntry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69876"
} | starcoder | <filename>src/ConsoLovers.ConsoleToolkit.Core/DIContainer/ContainerEntry.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ContainerEntry.cs" company="ConsoLovers">
// Copyright (c) ConsoLovers 2015 - 2017
// </copyright>
/... | 2.951432 | f1b8656ad176b00bee0dd198cd9751bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69876 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "System.WorkflowServices/System/ServiceModel/Persistence/PersistenceProviderFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69877"
} | starcoder | //------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace System.ServiceModel.Persistence
{
using System;
using System.ServiceModel.Channels;
[Obsolete("The WF3 types ... | 1.785681 | c99fde10fa63c7af48b8e1481798132d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69877 | {
"extension": "c-sharp",
"max_stars_count": "262.0",
"max_stars_repo_name": "jamescourtney/FlatSharp",
"max_stars_repo_path": "samples/Example04-IOOptions/IOOperationsExample.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69878"
} | starcoder | /*
* Copyright 2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 2.838235 | cf8cd6c3291e2c049f39041c335d2bdb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69878 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ascendix/Ascendix.Forms.Barcode",
"max_stars_repo_path": "Acx.Forms.Barcode.Droid/Camera/CameraSourceExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69879"
} | starcoder | using System;
using Android.Gms.Vision;
using Acx.Forms.Barcode.Droid.View;
using AndroidCamera = Android.Hardware.Camera;
using RebuyCameraSource = Com.Rebuy.Play.Services.Vision.CameraSource;
namespace Acx.Forms.Barcode.Droid.Camera
{
public static class CameraSourceExtensions
{
public static bool ... | 1.697336 | c260f3a79b9d36898a3f66eca3f56956 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69879 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cheng219/tianyu",
"max_stars_repo_path": "Assets/Scripts/Model/TeamMng.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69880"
} | starcoder | //====================================================
//作者:吴江
//日期:2015/11/10
//用途:组队管理类
//
//
//修改:贺丰
//日期:2016/1/12
//
//=============================
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using st.net.NetBase;
using System;
public class TeamMenberInfo
{
//info.baseInfo.... | 1.860419 | cb6f79b1fa5bdb38a9823b408aa06ece |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69880 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "blyzer/Voyager",
"max_stars_repo_path": "src/Voyager/Api/HttpMethod.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69881"
} | starcoder | <reponame>blyzer/Voyager
namespace Voyager.Api
{
public enum HttpMethod : byte
{
Get = 0,
Put = 1,
Delete = 2,
Post = 3,
Head = 4,
Trace = 5,
Patch = 6,
Connect = 7,
Options = 8,
Custom = 9,
None = 255
}
} | 1.648016 | 034aca2b979b66be52d18f789a0b03c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69881 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hackf5/IDisposableAnalyzers",
"max_stars_repo_path": "IDisposableAnalyzers.Test/Helpers/AssignedValueWalkerTests/AssignedValueWalkerTests.Indexer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69882"
} | starcoder | <filename>IDisposableAnalyzers.Test/Helpers/AssignedValueWalkerTests/AssignedValueWalkerTests.Indexer.cs<gh_stars>0
namespace IDisposableAnalyzers.Test.Helpers.AssignedValueWalkerTests
{
using System.Threading;
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis.CSharp;
using NUnit.Framework;
pub... | 2.361894 | 446cdbf8c9b88f2abe11080ecc641f37 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69882 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "salesforce/MagiQL",
"max_stars_repo_path": "src/ScenarioTests/Service/MagiQL.DataExplorer.Web/Views/ColumnManager/DependantColumns.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:69883"
} | starcoder | @model System.Collections.Generic.List<MagiQL.Framework.Model.Columns.ReportColumnMapping>
@{
Layout = null;
}
@if (Model != null && Model.Any())
{
<div class="panel panel-default">
<div class="panel-heading"><h4>Nested Columns</h4></div>
<div class="panel-body">
<tab... | 2.545434 | b406bf34407caac31cf9bdc18b17aeb2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69883 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "niuniuzhu/Lockstep",
"max_stars_repo_path": "Project/Logic/LGen/PackUnpack.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69884"
} | starcoder | <gh_stars>1-10
#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif
using System;
namespace XLua
{
... | 2.340576 | e7a6de7aaa61c632266079352651b200 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69884 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nickgamb/EITA",
"max_stars_repo_path": "oAuthTwitterWrapper/JsonTypes/Url.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69885"
} | starcoder | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace OAuthTwitterWrapper.JsonTypes
{
public class Url
{
[JsonProperty("url")]
public string UrlValue { get; set; }
[JsonProperty("expanded_url")]
public string ExpandedUrl ... | 1.844192 | 09f10b91d2721e8ef09d72307c3bb397 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69885 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "AaronFriel/pulumi-aws-native",
"max_stars_repo_path": "sdk/dotnet/MediaLive/Outputs/ChannelAacSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69886"
} | starcoder | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.AwsN... | 1.620698 | 9bf317fcc3113611ae73f49398a5bf37 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69886 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "skyneton/Unity_Platformer_Game",
"max_stars_repo_path": "Platformer Game/Assets/Scripts/Network/Packet/PacketPlayInDeathPlayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69887"
} | starcoder | using System;
using Network;
public class PacketPlayInDeathPlayer : Packet
{
public void Write(ByteBuf buf)
{
}
public void Read(NetworkManager networkManager, ByteBuf buf)
{
InGameDataManager.inGameManager.PlayerDied(new Guid(buf.Read(16)).ToString());
}
} | 2.084857 | dab81d2d550bb14a19382595212bb8e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69887 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leandrovip/Vip.Extensions",
"max_stars_repo_path": "tests/Vip.Extensions.Tests/StringTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69888"
} | starcoder | using System.Globalization;
using System.Threading;
using Xunit;
namespace Vip.Extensions.Tests
{
public class StringTests
{
[Fact]
public void String_TrimVip()
{
// Arrange
const string valid = " TESTE ";
// Act
var value = valid.TrimVi... | 3.024278 | 853699e36902b2a2a0b130bd93859dd9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69888 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "mytrout/Pipelines",
"max_stars_repo_path": "Steps/Cryptography/test/DecryptStreamWithAes256StepTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69889"
} | starcoder | // <copyright file="DecryptStreamWithAes256StepTests.cs" company="<NAME>">
// MIT License
//
// Copyright(c) 2020-2021 <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 re... | 2.141477 | 4bc21016317c4499a826ac4b9f63b2d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69889 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BernabePosadas/Learning-Asp.NET-MVC",
"max_stars_repo_path": "UserTask/Controllers/UserRegistrationController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69890"
} | starcoder | <filename>UserTask/Controllers/UserRegistrationController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace UserTask.Controllers
{
public class UserRegistrationController : Controller
{
public ActionResult Login()
{
... | 2.314764 | db9991dbdc569640cb4761471e058870 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bogdan1v/PnP",
"max_stars_repo_path": "Solutions/PowerShell.Commands/Commands/Base/ConnectSPOnline.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69891"
} | starcoder | <filename>Solutions/PowerShell.Commands/Commands/Base/ConnectSPOnline.cs
using OfficeDevPnP.Core.Utilities;
using OfficeDevPnP.PowerShell.CmdletHelpAttributes;
using OfficeDevPnP.PowerShell.Commands.Base.PipeBinds;
using System;
using System.Management.Automation;
namespace OfficeDevPnP.PowerShell.Commands.Base
{
... | 2.33527 | 696c235f83e260310ada5177598d60eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69891 | {
"extension": "c-sharp",
"max_stars_count": "385.0",
"max_stars_repo_name": "jackyzcq/JT808",
"max_stars_repo_path": "src/JT808.Protocol/Enums/JT808ErrorCode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69892"
} | starcoder | <reponame>jackyzcq/JT808<filename>src/JT808.Protocol/Enums/JT808ErrorCode.cs<gh_stars>100-1000
namespace JT808.Protocol.Enums
{
/// <summary>
/// 异常错误码
/// </summary>
public enum JT808ErrorCode
{
/// <summary>
/// JT808校验和不相等
/// </summary>
CheckCodeNotEqual = 1001,
... | 1.918725 | a7ef1db6c5d4ec5915f93657204c2cb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69892 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sykorajakku/GTTG",
"max_stars_repo_path": "solution/GTTG.Model/Strategies/Types/LineType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69893"
} | starcoder | <filename>solution/GTTG.Model/Strategies/Types/LineType.cs<gh_stars>1-10
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using GTTG.Model.Model.Infrastructure;
namespace GTTG.Model.Strategies.Types {
... | 2.69729 | dbaa6081083dbf16fafa260db2d0492d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69893 | {
"extension": "c-sharp",
"max_stars_count": "263.0",
"max_stars_repo_name": "DannyDannyDan/FontAwesome.Sharp",
"max_stars_repo_path": "FontAwesome.Sharp.Material/WPF/IconImage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69894"
} | starcoder | using System;
using System.Windows.Media;
namespace FontAwesome.Sharp.Material
{
public class IconImage : IconImageBase<MaterialIcons>
{
protected override ImageSource ImageSourceFor(MaterialIcons icon)
{
var size = Math.Max(IconHelper.DefaultSize, Math.Max(ActualWidth, ActualHeight... | 2.324867 | 5612e994e5eb5bbcc602626f68882448 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69894 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AlexRos101/QURAS_CORE",
"max_stars_repo_path": "Quras-gui/FormUI/WelcomeForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69895"
} | starcoder | using System;
using System.Windows.Forms;
using Quras_gui.Global;
using Quras_gui.Properties;
namespace Quras_gui.FormUI
{
public partial class WelcomeForm : Form
{
public WelcomeForm()
{
InitializeComponent();
InitInterface();
}
private void InitInter... | 2.098094 | e9fd1b2ef27f8dcf4c3f1ec4a18e29e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69895 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GreyHopes/WonderJam_Autumn_2019",
"max_stars_repo_path": "Assets/upgrade_sound.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69896"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Cawotte.Toolbox.Audio;
public class upgrade_button : MonoBehaviour
{
private Button bouton;
protected AudioSourcePlayer player;
private void Awake()
{
bouton = GetComponent<Button>();
... | 1.793198 | a9dc064367823f729607741d60752785 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69896 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "talhaucarr/ForkliftDemo",
"max_stars_repo_path": "Assets/Haste/Editor/HasteIgnore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69897"
} | starcoder | <filename>Assets/Haste/Editor/HasteIgnore.cs
using UnityEngine;
using UnityEditor;
using UnityEditorInternal;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Haste {
class IgnorePathsProxy : ScriptableObject {
[HideInInspector]
public ... | 2.636487 | 53cd93c88a2ba91b418375a5c2f4af11 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69897 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "osobeso/gsharp",
"max_stars_repo_path": "src/Core/CodeAnalysis/Lowering/Lowerer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69898"
} | starcoder | <reponame>osobeso/gsharp<gh_stars>10-100
// <copyright file="Lowerer.cs" company="GSharp">
// Copyright (C) GSharp Authors. All rights reserved.
// </copyright>
namespace GSharp.Core.CodeAnalysis.Lowering
{
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
... | 2.503909 | 4b16cbfde348c7ff8250851d06fbc0ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69898 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "azure-contrib/netmfazurestorage",
"max_stars_repo_path": "netmfazurestorage/Http/BasicHttpResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69899"
} | starcoder | <reponame>azure-contrib/netmfazurestorage
using System;
using System.Net;
using Microsoft.SPOT;
namespace netmfazurestorage.Http
{
public struct BasicHttpResponse
{
public string Body { get; set; }
public HttpStatusCode StatusCode { get; set; }
}
}
| 1.554819 | c76e28a5cc095c50613a2a0dca5bb966 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69899 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thxu/X",
"max_stars_repo_path": "NewLife.Core/Remoting/IApiHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69900"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using System.Threading;
using NewLife.Caching;
using NewLife.Collections;
using NewLife.Data;
using NewLife.Extension;
using NewLife.Http;
using NewLife.Log;
using NewLife.Messaging;
using NewLife.Net;
using... | 1.99458 | d595c2a17a5cdf102864fd3dedce0070 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69900 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yunusbayrak/Net5-Api-Skeleton",
"max_stars_repo_path": "Hepsiorada.Infrastructure/Repositories/Products/ProductMongoRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69901"
} | starcoder | <reponame>yunusbayrak/Net5-Api-Skeleton
using Hepsiorada.Domain.Base;
using Hepsiorada.Domain.Products;
using Hepsiorada.Domain.Products.MongoEntites;
using Microsoft.Extensions.Configuration;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threa... | 2.154925 | 7dc96a0c9ae10977515041d35166d3fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69901 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "KHCmaster/PPD",
"max_stars_repo_path": "Win/FlowScriptEngineBasic/FlowSourceObjects/DateTime/TodayFlowSourceObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69902"
} | starcoder | <filename>Win/FlowScriptEngineBasic/FlowSourceObjects/DateTime/TodayFlowSourceObject.cs
using FlowScriptEngine;
namespace FlowScriptEngineBasic.FlowSourceObjects.DateTime
{
[ToolTipText("DateTime_Today_Summary")]
public partial class TodayFlowSourceObject : FlowSourceObjectBase
{
public override s... | 2.344508 | 84ed465d890d6bb5aa2167482d1dc665 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69902 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AyrzC/Calculator",
"max_stars_repo_path": "Calculator/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69903"
} | starcoder | using System;
namespace WindowsFormsApplication2
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 1.974447 | bf7012b248da96141ad60fec38a20f57 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69903 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "porrasm/correlation-clustering-maxsat",
"max_stars_repo_path": "correlation-clustering-encoder/Utils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69904"
} | starcoder | <filename>correlation-clustering-encoder/Utils.cs<gh_stars>0
using SimpleSAT.Proto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CorrelationClusteringEncoder;
public static class Utils {
public static void SaveAssignments(... | 2.241079 | bee1cb38e4ecfc2b16d940e55f8e3b45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69904 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "merklegroot/CossSharp",
"max_stars_repo_path": "CossSharp/Models/CossCreateOrderResponseMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69905"
} | starcoder | using Newtonsoft.Json;
namespace CossSharp.Models
{
public class CossCreateOrderResponseMessage
{
[JsonProperty("account_id")]
public string AccountId { get; set; }
[JsonProperty("order_side")]
public string OrderSide { get; set; }
[JsonProperty("status")]
pub... | 1.633579 | 43a93ca44843c89aabb87a1a0b77bffe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69905 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mehmetdemirci/marsrover",
"max_stars_repo_path": "src/MarsRover.Core/CommandSplitter/RoverPositionCommandSplitter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69906"
} | starcoder | <reponame>mehmetdemirci/marsrover<filename>src/MarsRover.Core/CommandSplitter/RoverPositionCommandSplitter.cs
using MarsRover.Abstraction.CommandSplitter;
using MarsRover.Core.Constants;
using MarsRover.Core.ValueObject;
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpres... | 2.27144 | 4637b958b5cf555c457d8938afb87b7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69906 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "BlockForks/eos-sharp",
"max_stars_repo_path": "EosSharp/EosSharp.Core/Exceptions/ApiException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69907"
} | starcoder | <reponame>BlockForks/eos-sharp
using System;
using System.Runtime.Serialization;
namespace EosSharp.Core.Exceptions
{
/// <summary>
/// Generic Api exception
/// </summary>
[Serializable]
public class ApiException : Exception
{
public int StatusCode { get; set; }
public string ... | 2.551121 | 1708991e8a15f87c594c9fabd0b0034d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69907 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hasancbk/translation",
"max_stars_repo_path": "Source/Translation.Client.Web/Views/Integration/Create.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:69908"
} | starcoder | @model IntegrationCreateModel
<h1 data-translation="@Model.Title">@Model.Title</h1>
<form method="post">
<partial name="Components/_Hidden" model="@Model.OrganizationInput" />
<partial name="Components/_Input" model="@Model.NameInput" />
<partial name="Components/_LongInput" model="@Model.DescriptionInp... | 1.637261 | 8b64eaeb380e3b79c8e01def6e9a83f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69908 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sibvic/FXTS2LuaExecuter",
"max_stars_repo_path": "Colors.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69909"
} | starcoder | namespace ProfitRobots.FXTS2LuaExecuter
{
public class Colors
{
public int LightPink => 0;// => 0;//rgb(255, 182, 193)
public int Pink => 0; // => 0;//rgb(255, 192, 203)
public int Crimson => 0; // => 0;//rgb(220, 20, 60)
public int LavenderBlush => 0; // => 0;//rgb(255, 240, 24... | 1.815816 | 75d16b08640ad944114986ce1372c101 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69909 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Cleancodefactory/NetCoreBundling",
"max_stars_repo_path": "src/Transformations/HtmlTransformation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69910"
} | starcoder | <filename>src/Transformations/HtmlTransformation.cs
using System;
using System.Text;
using Microsoft.Extensions.Logging;
using NUglify.Html;
using NUglify;
using Ccf.Ck.Libs.Web.Bundling.Primitives;
using Ccf.Ck.Libs.Web.Bundling.Interfaces;
namespace Ccf.Ck.Libs.Web.Bundling.Transformations
{
public cl... | 2.544123 | e5dbfd629188eb39781cf073e50d26ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69910 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TraceabilityInternet/TraceabilityDriver",
"max_stars_repo_path": "TEModels/StaticData/ColourCode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69911"
} | starcoder | <filename>TEModels/StaticData/ColourCode.cs
using DSUtil;
using System;
using System.Collections.Generic;
using System.Text;
namespace FDModels.StaticData
{
public class ColourCode : IFDStaticData
{
public string Key { get; set; }
public string Name { get; set; }
public static ColourC... | 3.040642 | c6d6294fb3f56254c1a9e96a07933043 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69911 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asimarslan/hazelcast-csharp-client",
"max_stars_repo_path": "Hazelcast.Test/Hazelcast.Client.Test.Serialization/ByteArrayObjectDataOutputTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69912"
} | starcoder | // Copyright (c) 2008-2018, Hazelcast, Inc. 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
//
// Unless required... | 2.104235 | 2ed5fc3021808dab92d3bd73c2edd3d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69912 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mikhel-lab/HackToFuture",
"max_stars_repo_path": "ffdcRetailBanking/Core/Configuration/FinastraConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69913"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ffdcRetailBanking.Core.Configuration
{
public class FinastraConfiguration
{
public FinastraConfiguration()
{
Oauth2Configuration = new Oauth2Configuration();
ApiCo... | 1.555722 | 18fb8a64fcf240d78eab544a627d8099 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69913 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sorbra/greenergy",
"max_stars_repo_path": "emissions-api/emissions-api.server/Database/PrognosisRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69914"
} | starcoder | <reponame>sorbra/greenergy
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
using MongoDB.Bson;
using MongoDB.Driver;
using Greenergy;
using Greenergy.Emissions.API.Server.Models.Mongo;
using Greenergy.Settings;
using System.Linq;
namespace Greenergy.Dat... | 2.381001 | 94c2ba02ff1c84139064ae4ef89367fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69914 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "dwpessoa/step",
"max_stars_repo_path": "src/IxMilia.Step/StepFile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69915"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using IxMilia.Step.Items;
using IxMilia.Step.Syntax;
namespace IxMilia.Step
{
public class StepFile
{
internal const string MagicHeader = "ISO-10303-21";
internal const string MagicFooter = "END-" + MagicHeader;... | 2.483563 | 82e36e730f54761604d8de34b8b5994e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69915 | {
"extension": "c-sharp",
"max_stars_count": "13846.0",
"max_stars_repo_name": "legistek/AspNetCore",
"max_stars_repo_path": "src/Mvc/test/WebSites/RazorWebSite/Shared-Views/ExpanderViews/_ExpanderPartial.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:69916"
} | starcoder | <shared-views>@ViewContext.View.Path</shared-views> | 1.263447 | ebe1b4b47b34bf06bd1144f69b3c42ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69916 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Zarbuz/SchematicToVox",
"max_stars_repo_path": "SchematicToVoxCore/Converter/Image/MultipleImageToSchematic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69917"
} | starcoder | using FileToVox.Extensions;
using FileToVoxCore.Schematics;
using FileToVoxCore.Utils;
using System;
using System.Collections.Generic;
using System.Drawing;
namespace FileToVox.Converter.Image
{
public class MultipleImageToSchematic : AbstractToSchematic
{
private readonly bool mExcavate;
private re... | 2.800607 | efd7f1bf44289e23ea7cf44cb1ce7175 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69917 | {
"extension": "c-sharp",
"max_stars_count": "1558.0",
"max_stars_repo_name": "Microsoft/WindowsTemplateStudio",
"max_stars_repo_path": "code/test/TemplateStudioForWinUICs.Tests/WinUICSBaseGenAndBuildTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69918"
} | starcoder | <reponame>Microsoft/WindowsTemplateStudio
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Linq;
using Microsof... | 1.46274 | 7d3b60ee02e8761956645a2f0a0938b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69918 | {
"extension": "c-sharp",
"max_stars_count": "1237.0",
"max_stars_repo_name": "workgroupengineering/scriban",
"max_stars_repo_path": "src/Scriban/Helpers/ReflectionHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69919"
} | starcoder | <reponame>workgroupengineering/scriban<gh_stars>1000+
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the BSD-Clause 2 license.
// See license.txt file in the project root for full license information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Numerics;
using Syste... | 2.293875 | 67210b06f07616245ef722202b5364d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69919 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "darrenstarr/NiL.JS",
"max_stars_repo_path": "NiL.JS/Expressions/Yield.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69920"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using NiL.JS.BaseLibrary;
using NiL.JS.Core;
using NiL.JS.Statements;
using NiL.JS.Extensions;
namespace NiL.JS.Expressions
{
#if !(PORTABLE || NETCORE)
[Serializable]
#endif
public sealed class Yield : Expression
{
private bo... | 2.015621 | 509645dde2b5c18a7d7b1d9b6c5931a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69920 | {
"extension": "c-sharp",
"max_stars_count": "544.0",
"max_stars_repo_name": "workgroupengineering/NetOffice",
"max_stars_repo_path": "Source/Word/DispatchInterfaces/XMLMapping.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69921"
} | starcoder | <reponame>workgroupengineering/NetOffice
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.WordApi
{
/// <summary>
/// DispatchInterface XMLMapping
/// SupportByVersion Word, 12,14,15,16
/// </summary>
/// <remarks> Docs: <see href="https... | 1.200737 | 2ae019160231e09d4d771653d56f438c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69921 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cdcavell/Jackdaw",
"max_stars_repo_path": "Source/Libraries/Jackdaw.ClassLibrary.Mvc/Models/Home/ErrorViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69922"
} | starcoder | <reponame>cdcavell/Jackdaw
using Jackdaw.ClassLibrary.Mvc.Localization;
using Jackdaw.ClassLibrary.Mvc.Utilities;
using Microsoft.Extensions.Localization;
namespace Jackdaw.ClassLibrary.Mvc.Models.Home
{
/// <summary>
/// Error view model
/// </summary>
/// <revision>
/// __Revisions:__~~
/// ... | 2.348068 | 4be9ec301f7bf2cccf55b544c1eb3e1b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69922 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vasilkosturski/tf-serving-grpc-dotnet-5",
"max_stars_repo_path": "src/TfServingGrpcDotNetClient/TfServingGrpcDotNetClient/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69923"
} | starcoder | <reponame>vasilkosturski/tf-serving-grpc-dotnet-5
using System;
using System.Drawing;
using System.Linq;
using System.Threading.Tasks;
using Grpc.Core;
using Tensorflow;
using Tensorflow.Serving;
namespace TfServingGrpcDotNetClient
{
class Program
{
static async Task Main(string[] args)
{
... | 2.734373 | f907365b4372401d75a5945ac63a6139 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69923 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gitter-badger/Project-WoW",
"max_stars_repo_path": "Projects/Framework/Network/Packets/ClientPacket.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69924"
} | starcoder | <filename>Projects/Framework/Network/Packets/ClientPacket.cs
// Copyright (c) Multi-Emu.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Framework.Network.Packets
{
public abstract class ClientPacket
{
public Packet Packet { protected get... | 2.202278 | bc1a5acd2beae1fe3e37e8b0afb16ed7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69924 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ProphetLamb/PairSet",
"max_stars_repo_path": "benchmark/Benchmark.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69925"
} | starcoder | using BenchmarkDotNet.Running;
namespace KeyValueCollection.Benchmark
{
public static class Benchmark
{
public static void Main(string[] args)
{
BenchmarkRunner.Run<MutateBenchmark>();
//BenchmarkRunner.Run<AccessBenchmark>();
//BenchmarkRunner.Run<InitBench... | 1.282458 | ade6c224e28bc710be0f14b305afd8ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69925 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "timg456789/TwilioSmsHop",
"max_stars_repo_path": "TwilioSmsHop/TwilioSmsHop/SmsHop.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69926"
} | starcoder | using System.Linq;
using AwsTools;
using Twilio.Rest.Api.V2010.Account;
using Twilio.Rest.Api.V2010.Account.AvailablePhoneNumberCountry;
namespace TwilioSmsHop
{
public class SmsHop
{
public IncomingPhoneNumberResource Hop(
string twilioAccountSid,
string relaySid,
... | 2.411902 | edd929d639f0a509e8dd948c924ffde2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69926 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MTrajK/dotnet-projects",
"max_stars_repo_path": "DotNet.TDD/DeskBooking/Src/DotNet.TDD.DeskBooking.Domain/IPersistance/IBookingPersistance.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69927"
} | starcoder | <gh_stars>1-10
using DotNet.TDD.DeskBooking.Domain.Entities;
namespace DotNet.TDD.DeskBooking.Domain.IPersistance
{
public interface IBookingPersistance
{
public long Add(BookingEntity newDesk);
public BookingEntity Delete(long id);
public BookingEntity Get(long id);
public IEn... | 2.346295 | 9fed89172968da6af282b3a0f9c1037c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69927 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VoxelSrv/protocol",
"max_stars_repo_path": "csharp/Server.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69928"
} | starcoder | // <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/server.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Go... | 1.663445 | fed225b36c39aa35b1845104537dbdd3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69928 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/Lumina",
"max_stars_repo_path": "src/Lumina.Generated/Excel/GeneratedSheets/JobHudManualPriority.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69929"
} | starcoder | <reponame>JTOne123/Lumina
using Lumina.Data;
using Lumina.Data.Structs.Excel;
namespace Lumina.Excel.GeneratedSheets
{
[Sheet( "JobHudManualPriority", columnHash: 0x5be005ad )]
public class JobHudManualPriority : IExcelRow
{
public LazyRow< JobHudManual >[] JobHudManual;
public byt... | 1.827474 | bd8e21a631eb2397da5fcdaf77dd4eb7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69929 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dh79pyun/TizenFX",
"max_stars_repo_path": "src/Tizen.NUI/src/internal/Interop/Interop.StateChangeSignalType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69930"
} | starcoder | <reponame>dh79pyun/TizenFX
using System;
using System.Collections.Generic;
using System.Text;
namespace Tizen.NUI
{
internal static partial class Interop
{
internal static partial class StateChangeSignalType
{
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, Ent... | 1.575746 | 466833dddb987f8e3d649471b206ec6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69930 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/EasyRpc",
"max_stars_repo_path": "src/EasyRpc.DynamicClient/Exceptions/InternalServerErrorException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69931"
} | starcoder | <reponame>JTOne123/EasyRpc
namespace EasyRpc.DynamicClient.Exceptions
{
public class InternalServerErrorException : DynamicMethodException
{
public InternalServerErrorException(string method, string message) : base(method, message)
{
}
}
}
| 1.394603 | c95ddd13f8d3ba4924e0c3d0f924b9a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69931 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "noear/SiteD",
"max_stars_repo_path": "demo/uwp/engine/DdApi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69932"
} | starcoder | using ddcat.uwp.utils;
using org.noear.sited;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace ddcat.uwp.dao.engine {
public class DdApi : SdApi {
/*
* v27: 支持新的插件格式架构
* : ... | 1.659409 | 3d4fecd1cabb7fb17bfa66bd42d747a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69932 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MiroslavLuckai/TennisKata",
"max_stars_repo_path": "csharp/Tennis/Player.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69933"
} | starcoder | using System;
namespace Tennis
{
public class Player
{
public String Name { get; }
public int Score { get; set; } = 0;
public Player(string name)
{
this.Name = name;
}
public void IncreaseScoreByOne()
{
Score++;
... | 2.867095 | 7b11d61955656a1f8952f2e004329790 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.