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 | 8839312 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oxters168/ProjectWings",
"max_stars_repo_path": "Assets/Resources/Scripts/PlayerPrompt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158532"
} | starcoder | <filename>Assets/Resources/Scripts/PlayerPrompt.cs
using UnityEngine;
using UnityEngine.UI;
public class PlayerPrompt : MonoBehaviour
{
public Button removePlayerButton;
public Text playerText;
public Image inputTypeImage;
public Dropdown inputDropdown, layoutDropdown;
}
| 1.487274 | c116c83f937fe7936024dd2311709706 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839313 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarsXue/Unity-Landscape",
"max_stars_repo_path": "Assets/SunControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158533"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SunControl : MonoBehaviour {
public Color color;
public float speed = 10.0f;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
tr... | 2.126841 | bc70e628b937367787e0d80dac98d5d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VProfirov/Telerik-Academy-BetaRun",
"max_stars_repo_path": "Module 1/[02] CSharp Advanced/[performance improvement versions] C# Advanced/C# Advanced v0.1/Arrays/Combinatorics/Permutation.cs",
"provenance": "train-00027-of-00045.jsonl.... | starcoder | <reponame>VProfirov/Telerik-Academy-BetaRun<filename>Module 1/[02] CSharp Advanced/[performance improvement versions] C# Advanced/C# Advanced v0.1/Arrays/Combinatorics/Permutation.cs<gh_stars>0
namespace Combinatorics
{
using System.Collections.Generic;
using System.Text;
public class Permutation
{
... | 3.06585 | 2c26d218d67e2e9d88476f78e9446969 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839315 | {
"extension": "c-sharp",
"max_stars_count": "3375.0",
"max_stars_repo_name": "nul800sebastiaan/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Extensions/ConfigConnectionStringExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158535"
} | starcoder | <filename>src/Umbraco.Core/Extensions/ConfigConnectionStringExtensions.cs
// Copyright (c) Umbraco.
// See LICENSE for more details.
using Umbraco.Cms.Core.Configuration;
namespace Umbraco.Extensions
{
public static class ConfigConnectionStringExtensions
{
public static bool IsConnectionStringConfigur... | 2.032693 | eb5ec47f9084cfa4a7b1dfaa7133bfea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839316 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "grappigegovert/LROnline",
"max_stars_repo_path": "Client/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158536"
} | starcoder | <filename>Client/Program.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Client
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
... | 2.506743 | 1c18b53d8c160b79d474551e33f4ebb7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839317 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aethercowboy/Peikko",
"max_stars_repo_path": "Peikko.DataAccess.EFCore/Repositories/Repository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158537"
} | starcoder | <reponame>aethercowboy/Peikko
using Microsoft.EntityFrameworkCore;
using Peikko.Core.ResourceHolders;
using Peikko.DataAccess.EFCore.Contexts;
using Peikko.DataAccess.EFCore.EntityCollections;
using Peikko.DataAccess.Interfaces;
using Peikko.Domain.Interfaces;
using System;
using System.Linq;
using System.Linq.Express... | 2.522272 | 49025821e4b80c59d5b0b9fb4c4f8faa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839318 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "MattMcManis/Ultra",
"max_stars_repo_path": "src/Ultra UI/Ultra UI/CheatsWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158538"
} | starcoder | /* ----------------------------------------------------------------------
Ultra UI
https://github.com/MattMcManis/Ultra
https://ultraui.github.io
<EMAIL>
The MIT License
Copyright (C) 2019-2020 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated docum... | 2.148408 | bc052c5851fc0a4c559ba093ac1b4f29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839319 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "dathlin/HSLSharp",
"max_stars_repo_path": "HSLSharp/SettingsSupport/SharpRegulars.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158539"
} | starcoder | using HSLSharp.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HslCommunication.Core;
using System.IO;
using System.Xml.Linq;
namespace HSLSharp.SettingsSupport
{
/// <summary>
/// 系统的所有的解析规则的存储器,复杂实现加载,解析配置规则
/// </s... | 2.722227 | 98e5a79722612c5454d021c90d5ef2f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839320 | {
"extension": "c-sharp",
"max_stars_count": "256.0",
"max_stars_repo_name": "lmanners/Zebus",
"max_stars_repo_path": "src/Abc.Zebus.Tests/Dispatch/Pipes/PipeInvocationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158540"
} | starcoder | <filename>src/Abc.Zebus.Tests/Dispatch/Pipes/PipeInvocationTests.cs
using System;
using System.Collections.Generic;
using Abc.Zebus.Dispatch;
using Abc.Zebus.Dispatch.Pipes;
using Abc.Zebus.Testing.Dispatch;
using Abc.Zebus.Testing.Extensions;
using Abc.Zebus.Tests.Dispatch.DispatchMessages;
using Abc.Zebus.Tests.Mess... | 2.125083 | 72ec9fc6bf0f2bb5cfacd2a81d15f028 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839321 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ronnygunawan/RG.CsvSerializer",
"max_stars_repo_path": "Tests/ConverterTests/NumberConverterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158541"
} | starcoder | using Csv;
using Csv.Internal;
using Csv.Internal.Converters;
using FluentAssertions;
using Missil;
using System;
using System.Globalization;
using System.Reflection;
using System.Reflection.Emit;
using System.Text;
using Xunit;
namespace Tests.ConverterTests {
public class NumberConverterTests {
[Theory]
[Inlin... | 2.301915 | 4280bf2392248f954d2c1c7c0fb34e26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839322 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gadjio/Smi-Playground",
"max_stars_repo_path": "src/Smi.Infra/Extensions/DataAnnotationValidatorExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158542"
} | starcoder | namespace Smi.Infra.Extensions
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
public static class DataAnnotationValidatorExtensions
{
public static bool Validate(this object obj, out List<ValidationResult> results)
{
ValidationContext context = new ValidationContext(obj, n... | 2.385532 | 37c611409e343d607065bba1bd4ab5be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839323 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nickproud/OpenBots.Server",
"max_stars_repo_path": "OpenBots.Server.Business/Interfaces/IQueueManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158543"
} | starcoder | namespace OpenBots.Server.Business
{
public interface IQueueManager : IManager
{
bool CheckReferentialIntegrity(string id);
}
}
| 1.409463 | cc5c81fd19780c18642b7a9ba3e8978e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839324 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ashwin805/DSC-30-Days-of-Web",
"max_stars_repo_path": "csssheet1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158544"
} | starcoder | <<<<<<< HEAD
*{
margin: 0;
padding:0;
}
:root{
height: 59px;
}
/* Navigation bar */
#navbar{
display:flex;
align-items: center;
position: relative;
}
#navbar::before{
content: "";
background-color: black;
position: absolute;
height: 100%;
width: 100%;
z-index: -1;
op... | 2.426727 | e986e7c937f3bc0573a2763a01aac531 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839325 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nvisionative/framework",
"max_stars_repo_path": "Oqtane.Server/Controllers/TenantController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158545"
} | starcoder | <filename>Oqtane.Server/Controllers/TenantController.cs
using Microsoft.AspNetCore.Mvc;
using Oqtane.Repository;
using Oqtane.Models;
namespace Oqtane.Controllers
{
[Route("{site}/api/[controller]")]
public class TenantController : Controller
{
private readonly ITenantRepository tenants;
... | 2.057321 | 2e3e8719224d925e192c4fe117f94fa5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839326 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "48355746/FapCore3.0",
"max_stars_repo_path": "src/Fap.Core/Scheduler/Jobs/ExecSqlJob.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158546"
} | starcoder | <reponame>48355746/FapCore3.0
using Microsoft.Extensions.Logging;
using Quartz;
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Dapper;
using Fap.Core.DataAccess;
using Fap.Core.Utility;
using Quartz.Impl;
namespace Fap.Core.Scheduler.Jobs
{
/// <summary>
/// ... | 2.031738 | 1516ab8ae59176f725a8f70378745005 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839327 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kartegagithub/partner-center-dotnet",
"max_stars_repo_path": "src/PartnerCenter/Models/Subscriptions/SubscriptionStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158547"
} | starcoder | <reponame>kartegagithub/partner-center-dotnet
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Store.PartnerCenter.Models.Subscriptions
{
using JsonConverters;
using Newtonsoft.Json;
///... | 2.259742 | 534e7620f3d54e82e1c68e46ec6257f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839328 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MvRens/ParallelCmd",
"max_stars_repo_path": "CommandRunner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158548"
} | starcoder | <filename>CommandRunner.cs
using System;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using ParallelCmd.Output;
namespace ParallelCmd
{
public class CommandRunner
{
private readonly ICommandOutput commandOutput;
private readonly string comman... | 2.908369 | 250f50c106bda420aa943cd3bbfcf724 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839329 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TsvetanNikolov123/CSharp---Programming-Fundamentals",
"max_stars_repo_path": "13 Arrays - Lab/04.TripleSum/TripleSum.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158549"
} | starcoder | <filename>13 Arrays - Lab/04.TripleSum/TripleSum.cs
namespace _04.TripleSum
{
using System;
public class TripleSum
{
public static void Main()
{
string[] input = Console.ReadLine()
.Split(' ');
int[] numbers = new int[input.Lengt... | 3.965255 | 1c95986d486c800a811445928392b83c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839330 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ptklatt/UtinniPlugins",
"max_stars_repo_path": "The Jawa Toolbox/TheJawaToolboxDotNet/SWG/GroundSceneImpl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158550"
} | starcoder | /**
* MIT License
*
* Copyright (c) 2020 <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, including without limitation the rights
* to use, copy, modify,... | 2.097346 | 80631109acb37034802bf674d6a626b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839331 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "DamianSuess/XamlViewer",
"max_stars_repo_path": "src/Modules/XamlDesigner/XamlDesignerModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158551"
} | starcoder | using XamlService;
using Prism.Ioc;
using Prism.Modularity;
using Prism.Regions;
using XamlDesigner.Views;
namespace XamlDesigner
{
public class XamlDesignerModule : IModule
{
private IRegionManager _regionManager = null;
#region IModule Members
public void OnInitialized(IContainerPr... | 1.502874 | a78332b2779c54c31c1006cb4c89386a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839332 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vmmitev/Specificity2",
"max_stars_repo_path": "Specificity2/Objects/ObjectFactoryCustomization.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158552"
} | starcoder | // <copyright file="ObjectFactoryCustomization.cs" company="<NAME>">
// Copyright (c) <NAME>.
// </copyright>
namespace Testing.Specificity2.Objects
{
/// <summary>
/// Base class for objects that can customize the object creation strategy of an <see cref="IObjectFactory"/>.
/// </summary>
public ... | 3.004759 | dd5095097435943f516612c8a13d361f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839333 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sigurn/CommandLine",
"max_stars_repo_path": "src/Sigurn.CommandLine/ValueParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158553"
} | starcoder | <reponame>sigurn/CommandLine
using System.Collections;
using System.Globalization;
using System.Reflection;
namespace Sigurn.CommandLine;
class ValueParser : ITokenParser
{
private readonly object _instance;
private readonly PropertyInfo _propInfo;
private readonly ITokenParser _parent;
protected Pr... | 2.842648 | 13e1e029c396b655b240b9cee169259c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839334 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "piotr-cieslik/SaldeoSmartApi",
"max_stars_repo_path": "Piotr.SaldeoSmartApi.Tests/DataStructures/NamingConventionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158554"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using Xunit;
namespace Piotr.SaldeoSmartApi.Tests
{
/// <summary>
/// Tests check if properties of data structure
/// match name of XML element converted to standard C# convention.
///... | 2.98433 | 46127b0255cc4f2541a43d31e8d5929e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839335 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "webMan1/TDSBridge",
"max_stars_repo_path": "TDSBridge/TDSBridge.Common/BridgedConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158555"
} | starcoder | <reponame>webMan1/TDSBridge
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Net.Sockets;
using System.Threading.Tasks;
using TDSBridge.Common.Header;
using TDSBridge.Common.Packet;
namespace TDSBridge.Common
{
public enum ... | 2.134861 | eb55e40d24743a93bd1632ad7e143708 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pilgylis/bellight",
"max_stars_repo_path": "demo/MediatrTests/Simple/OneWay.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158556"
} | starcoder | using MediatR;
using System.Threading;
using System.Threading.Tasks;
namespace MediatrTests.Simple
{
public class OneWay : IRequest { }
public class OneWayHandlerWithBaseClass : AsyncRequestHandler<OneWay>
{
private readonly IAssertService<OneWay> assertService;
public OneWayHandlerWithBa... | 2.32696 | 7d3002a7291557de95f4ee0171da6fb2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839337 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "pengweiqhca/NetCache",
"max_stars_repo_path": "src/NetCache.GoogleProtobuf/NetCacheBuilderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158557"
} | starcoder | namespace NetCache
{
public static class NetCacheBuilderExtensions
{
public static INetCacheBuilder UseGoogleProtobufSerializer(this INetCacheBuilder builder) =>
builder.UseValueSerializer<GoogleProtobufSerializer>();
}
}
| 1.546956 | 1810b84af4b0c0e8e8d25e5d985de11a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839338 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wangzhiqing999/my-csharp-project",
"max_stars_repo_path": "MyBallot.Mvc/Controllers/UserBallotController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158558"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MyBallot.Model;
using MyBallot.ServiceImpl;
namespace MyBallot.Mvc.Controllers
{
public class UserBallotController : Controller
{
//
// GET: /UserBallot/
public ActionRe... | 2.390177 | 91d14530fa2e13d5ec3e0a26e46e10d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839339 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GUSTAVPEREIRA/MyAccount",
"max_stars_repo_path": "api/MyAccount/MyAccountTests/ContextTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158559"
} | starcoder | using AutoMapper;
using Microsoft.EntityFrameworkCore;
using MyAccount;
using MyAccount.MappingDTO;
namespace MyAccountTests
{
public static class ContextTest
{
public static ApplicationContext GetContext()
{
var options = new DbContextOptionsBuilder<ApplicationContext>().UseInMemo... | 2.048229 | 8c230c19ddbd4cb10a68a86ef12851e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839340 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "zmjack/NStd",
"max_stars_repo_path": "NStandard/Reflector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158560"
} | starcoder | <gh_stars>10-100
using System;
using System.Reflection;
namespace NStandard
{
public class Reflector
{
public object Object { get; internal set; }
public Type Type { get; private set; }
public Reflector(Type objType, object obj)
{
Object = obj;
Type = o... | 2.609732 | 31a97b97f3da67b84e4899cd740a6608 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839341 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "CarlCochet/Symbioz",
"max_stars_repo_path": "Symbioz.D2O/Classes/ItemSet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158561"
} | starcoder | <gh_stars>1-10
// automatic generation Symbioz.Sync 2015
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Symbioz.D2O.Classes
{
public class ItemSet : ID2OClass
{
[Cache]
public static List<I... | 1.869689 | 536c10d336b05b0f624dd0dd458630bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839342 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "TheBetaM/twinsanity-editor",
"max_stars_repo_path": "Twinsanity/BitConv.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158562"
} | starcoder | <filename>Twinsanity/BitConv.cs
namespace Twinsanity
{
public static class BitConv
{
public static void ToInt16(byte[] arr, int off, short value)
{
arr[off] = (byte)(value & 0xFF);
arr[off + 1] = (byte)((value >> 8) & 0xFF);
}
public static short FlipByt... | 3.457384 | d2be14b9f1f98a1aed2c173edf475e8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839343 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "COAIMO/NurirobotSupporterSolution",
"max_stars_repo_path": "NurirobotSupporter/Views/SingleView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158563"
} | starcoder | <gh_stars>0
namespace NurirobotSupporter.Views
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
us... | 1.983788 | 0d1b334393146516868e6577edea3f3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839344 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KsWare/KsWare.MSBuildTargets",
"max_stars_repo_path": "src/KsWare.MSBuildTargets/Internal/KnownBuildTargets.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158564"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KsWare.MSBuildTargets.Internal {
// https://docs.microsoft.com/de-de/visualstudio/msbuild/how-to-extend-the-visual-studio-build-process
// https://blogs.msdn.microsoft.com/msbuild/2006/02/10... | 1.393439 | d7825f9f65fefa5b12e639c1e263fe73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839345 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ITGlobal/MarkDocs",
"max_stars_repo_path": "src/ITGlobal.MarkDocs.Search/SearchResultItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158565"
} | starcoder | using JetBrains.Annotations;
namespace ITGlobal.MarkDocs.Search
{
/// <summary>
/// A search result item
/// </summary>
[PublicAPI]
public sealed class SearchResultItem
{
/// <summary>
/// .ctor
/// </summary>
[PublicAPI]
public SearchResultItem(... | 2.349581 | fbdabf46f86458ff431a2ec691963113 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839346 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hdkesting/RichTextCleaner",
"max_stars_repo_path": "RichTextCleaner.Test/TestNonCMS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158566"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using RichTextCleaner.Common;
namespace RichTextCleaner.Test
{
#pragma warning disable CA1707 // Identifiers should not contain underscores
[TestClass]
public class TestNonCms
{
[TestMethod]
public void RemoveNonCMSElements_ShouldRemoveSc... | 2.343168 | fbcb0a2ede38d1971c47a7c752681d30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839347 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tmajest/incubator-reef",
"max_stars_repo_path": "lang/cs/Org.Apache.REEF.Tests/Evaluator/EvaluatorConfigurationsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158567"
} | starcoder | <reponame>tmajest/incubator-reef
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, V... | 1.186146 | c54ebb33708cb8b8627e94d9e331f545 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839348 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Bhaskers-Blu-Org2/Cognitive-Search-DotNet",
"max_stars_repo_path": "ClientLibrary/Microsoft.ProjectOxford.Search/Web/WebPages.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158568"
} | starcoder | <reponame>Bhaskers-Blu-Org2/Cognitive-Search-DotNet<gh_stars>1-10
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.ProjectOxford.Search.Web
{
/// <summary>
/// Web pages returned by web search API.
... | 2.136568 | a53bed1198b6c306031fe1ba15dde336 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839349 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ketiko/fubumvc",
"max_stars_repo_path": "src/Fubu/Templating/TemplatePlan.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158569"
} | starcoder | <reponame>ketiko/fubumvc
using System;
using System.Collections.Generic;
using FubuCore;
namespace Fubu.Templating
{
public class TemplatePlan
{
private readonly IList<ITemplateStep> _steps = new List<ITemplateStep>();
public void AddStep(ITemplateStep step)
{
_... | 2.450681 | 549d1d955b3134223aba066155bf03f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jinhong-/Manatee.Json",
"max_stars_repo_path": "Manatee.Json/Serialization/Internal/Serializers/RegisteredObjectSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158570"
} | starcoder | <filename>Manatee.Json/Serialization/Internal/Serializers/RegisteredObjectSerializer.cs<gh_stars>0
namespace Manatee.Json.Serialization.Internal.Serializers
{
internal class RegisteredObjectSerializer : ISerializer
{
public bool ShouldMaintainReferences => true;
public JsonValue Serialize<T>(T obj, JsonSe... | 2.546194 | b65086b9809aa74e03189327f9af0379 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839351 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marcduiker/advent-of-code-2018",
"max_stars_repo_path": "src/AdventOfCode2018.Tests/Day07Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158571"
} | starcoder | <filename>src/AdventOfCode2018.Tests/Day07Tests.cs
using System;
using System.Collections.Generic;
using System.Text;
using FluentAssertions;
using Xunit;
namespace AdventOfCode2018.Tests
{
public class Day07Tests
{
[Fact]
public void DetermineConstructionOrder()
{
// Arran... | 3.079031 | 90bbab65de2495c70385425640facc3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839352 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hamk-uas/DigiTrail",
"max_stars_repo_path": "DigiTrailApp/Fragments/MarkerFragment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158572"
} | starcoder | <filename>DigiTrailApp/Fragments/MarkerFragment.cs
using Android.Content;
using Android.Graphics;
using Android.OS;
using Android.Views;
using Android.Widget;
using DigiTrailApp.Helpers;
using Java.Lang;
using System;
using DigiTrailApp.Interfaces;
namespace DigiTrailApp.Fragments
{
//DEV purposes
internal cl... | 2.410854 | 7c392a666919912057aeb5015d5db02b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839353 | {
"extension": "c-sharp",
"max_stars_count": "135.0",
"max_stars_repo_name": "kilasuit/poshtools",
"max_stars_repo_path": "PowerShellTools.HostService/PowerShellServiceHostBehaviorAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158573"
} | starcoder | <filename>PowerShellTools.HostService/PowerShellServiceHostBehaviorAttribute.cs
using PowerShellTools.Common.ServiceManagement;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.Ser... | 2.475919 | c31b2dccff268003cf79756dbb51a876 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839354 | {
"extension": "c-sharp",
"max_stars_count": "89.0",
"max_stars_repo_name": "drewnoakes/mef",
"max_stars_repo_path": "Composition.Diagnostics/mefx/CommandLine/ArgumentOption.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158574"
} | starcoder | //------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using ... | 2.782523 | ed0f00cdfc6da4a4ab4b92bfd7a0b250 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839355 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jonnyzzz/phd-project",
"max_stars_repo_path": "dsis/src/CellImageBuilders/CellImageBuilder.Shared/src/IntegerCoordinateMethodBase!2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158575"
} | starcoder | <reponame>jonnyzzz/phd-project<gh_stars>1-10
using DSIS.Core.Builders;
using DSIS.IntegerCoordinates;
namespace DSIS.CellImageBuilder.Shared
{
public abstract class IntegerCoordinateMethodBase<Q, S> : IntegerCoordinateMethodBase<Q>, ICellImageBuilder<Q>
where Q : IIntegerCoordinate
where S : ICellImag... | 2.137508 | 9141a5d74c12a99d026178ee7f63b0c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839356 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "soelske/mbunit-v3",
"max_stars_repo_path": "src/Gallio/Gallio.UI/ControlPanel/IControlPanelPresenter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158576"
} | starcoder | <reponame>soelske/mbunit-v3
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 <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
//... | 1.330577 | 0e1a75188bbc330235e1203b5bdcca4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839357 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "vam-community/vam-party",
"max_stars_repo_path": "Party.Shared/Models/Local/LocalScriptListFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158577"
} | starcoder | <filename>Party.Shared/Models/Local/LocalScriptListFile.cs<gh_stars>10-100
namespace Party.Shared.Models.Local
{
public class LocalScriptListFile : LocalScriptFile
{
public LocalScriptFile[] Scripts { get; }
public LocalScriptListFile(string fullPath, string hash, LocalScriptFile[] scripts)
... | 2.275261 | 79dd0b94065770da2e571c275b921d54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839358 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mtalebian/basic-templates",
"max_stars_repo_path": "Backend/Tools/Db2Code/DbHelper/SqlBuilder/QueryFrom.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158578"
} | starcoder | <reponame>mtalebian/basic-templates<filename>Backend/Tools/Db2Code/DbHelper/SqlBuilder/QueryFrom.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Common.Data
{
public struct QueryFrom
{
private string mJoinType;
private string mName;
private string mAlias... | 2.608135 | c6bb4962543140e3e7df5b1b8b0ec127 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839359 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Seekatar/Tools-DotNet",
"max_stars_repo_path": "tests/unit/Activities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158579"
} | starcoder | <reponame>Seekatar/Tools-DotNet
using Microsoft.Extensions.Logging;
using Seekatar.Tests;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tools_Test
{
record TestInput(string Name, int Num, bool Async);
record TestOutput(string Res... | 2.621341 | bc4e939bfb24b3c56a6786c1ba4ac7e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FirsovG/hsm-api",
"max_stars_repo_path": "hsm-api/Infrastructure/MessageService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158580"
} | starcoder | <gh_stars>0
using hsm_api.Models.Messages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace hsm_api.Infrastructure
{
public static class MessageService
{
// TODO: Fix open closed principle violation
... | 2.533128 | 88e1579f01805d5afd91ef68b0424bb3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839361 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "akdimitrov/CSharp-Basics",
"max_stars_repo_path": "_PB - EXAMS/Exam Prep - PB Online Exam 2-3May2019/T04.TouristShop/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158581"
} | starcoder | using System;
namespace T04.TouristShop
{
class Program
{
static void Main(string[] args)
{
double budget = double.Parse(Console.ReadLine());
string product = Console.ReadLine();
int counter = 0;
int totalProducts = 0;
double totalPri... | 3.661266 | d11a711cfa65445322b65682be712dd7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839362 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "bbuerger/ndifference",
"max_stars_repo_path": "src/WalkingSkeleton/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158582"
} | starcoder | <reponame>bbuerger/ndifference
using NDifference;
using NDifference.Analysis;
using NDifference.Framework;
using NDifference.Inspectors;
using NDifference.Projects;
using NDifference.Reflection;
using NDifference.Reporting;
using System;
using System.IO;
using System.Reflection;
namespace WalkingSkeleton
{
public cl... | 2.299117 | de4ecbd5258c588bde24a427ee60a9aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839363 | {
"extension": "c-sharp",
"max_stars_count": "217.0",
"max_stars_repo_name": "aferin/Tizen-CSharp-Samples",
"max_stars_repo_path": "Mobile/Xamarin.Forms/Calculator/Calculator/tizen/Calculator/Calculator/Models/CalculateResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158583"
} | starcoder | /*
* Copyright (c) 2016 Samsung Electronics Co., Ltd
*
* Licensed under the Flora License, Version 1.1 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://floralicense.org/license/
*
* Unless required by applicable law or... | 2.88889 | 253506ee73ffc296072124d6db4408f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839364 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "CalebABG/SoarBeyond",
"max_stars_repo_path": "src/SoarBeyond.Domain/MediatR/JournalEntries/UpdateJournalEntryRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158584"
} | starcoder | using MediatR;
using SoarBeyond.Domain.Providers.Interfaces;
using SoarBeyond.Shared.Dto;
namespace SoarBeyond.Domain.MediatR.JournalEntries;
public class UpdateJournalEntryRequest
: IRequest<JournalEntry>
{
public int UserId { get; init; }
public int JournalEntryId { get; init; }
public JournalEntry... | 1.985091 | 3778edcbe932abfea4c4f9d3d5e5771a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839365 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "spheredev/sphere-studio",
"max_stars_repo_path": "SphereStudioApp/Compilers/SphereCompiler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158585"
} | starcoder | using System;
using System.Drawing;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using SphereStudio.Base;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace SphereStudio.Compilers
{
class SphereCompiler : ICompiler
{
public async Task<string> Build(IProject project, bo... | 2.360409 | 298897ed4e2e61615220f78b05721e4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839366 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "saturn72/AnyService",
"max_stars_repo_path": "src/AnyService/Services/Audit/AuditManagerExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158586"
} | starcoder | <filename>src/AnyService/Services/Audit/AuditManagerExtensions.cs
using AnyService.Audity;
using System.Collections.Generic;
using System;
using System.Threading.Tasks;
using System.Linq;
using System.Collections.Concurrent;
namespace AnyService.Services.Audit
{
public static class AuditManagerExtensions
{
... | 2.389681 | 9c0fd1389631f3cbf11d1120206d81e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839367 | {
"extension": "c-sharp",
"max_stars_count": "113.0",
"max_stars_repo_name": "truthiswill/OctopusClients",
"max_stars_repo_path": "source/Octopus.Client/Extensions/LazyExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158587"
} | starcoder | using System;
// ReSharper disable CheckNamespace
namespace Octopus.Client.Extensions
{
/// <summary>
/// Extension methods for <see cref="Lazy{T}" /> instances.
/// </summary>
static class LazyExtensions
// ReSharper restore CheckNamespace
{
/// <summary>
/// Forces the Lazy value... | 3.145195 | 0e99407c4a90a38abe0d3eee1797f848 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839368 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "mohamed-abdo/vehical-tracking-microservices",
"max_stars_repo_path": "vehicle-tracking-poc/DomainModels/Business/VehcileDomain/VehicleModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158588"
} | starcoder | <gh_stars>1-10
using DomainModels.Types;
using System;
using System.Collections;
using System.Collections.Generic;
namespace DomainModels.Business.VehicleDomain
{
[Serializable]
public class VehicleModel : DomainModel<Vehicle>
{
public VehicleModel() { }
public VehicleModel(DomainModel<Veh... | 2.313829 | e54f8f87722bbdaefb84c792cc8c844e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839369 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vrishe/Roslynator",
"max_stars_repo_path": "source/Analyzers/Refactorings/UsePostfixUnaryOperatorInsteadOfAssignmentRefactoring.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158589"
} | starcoder | // Copyright (c) <NAME>. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using... | 2.26113 | da64f9204d03fa36ccab0ed602fce55a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839370 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joaofx/mvccontrib",
"max_stars_repo_path": "src/MvcContrib.TestHelper/MvcContrib.TestHelper/Extensions/TempDataTestExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158590"
} | starcoder | <filename>src/MvcContrib.TestHelper/MvcContrib.TestHelper/Extensions/TempDataTestExtensions.cs
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Web.Mvc;
namespace MvcContrib.TestHelper
{
public static class TempDataTestExtensions
{
/// <summary>
/// Asserts that a key has be... | 2.895676 | a2acc8bf5868e006c141b1b495108ce9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839371 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "smdx24/CPI-Source-Code",
"max_stars_repo_path": "ClubPenguin.Net.Domain/PlayerRoomLayoutID.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158591"
} | starcoder | // PlayerRoomLayoutID
using System;
[Serializable]
public struct PlayerRoomLayoutID
{
public long playerRoomId;
}
| 1.492607 | 6adc9250192ac105a5d6fdbdf610b7f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839372 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "subhankars/tweetyzard",
"max_stars_repo_path": "tweetyzard/tweetyzard.Core/Events/EventArguments/TweetEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158592"
} | starcoder | <filename>tweetyzard/tweetyzard.Core/Events/EventArguments/TweetEventArgs.cs
using System;
using System.Collections.Generic;
using TweetinviCore.Interfaces;
using TweetinviCore.Interfaces.DTO;
using TweetinviCore.Interfaces.Models;
namespace TweetinviCore.Events.EventArguments
{
public class TweetEventArg... | 2.262974 | 78e9d63ca76dc3a595b52acbb9e6e32e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839373 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Battlertrunks/255-2021-SlipstreamJumper",
"max_stars_repo_path": "Assets/_Szczesniak/Scripts/CameraFollow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158593"
} | starcoder | <reponame>Battlertrunks/255-2021-SlipstreamJumper<filename>Assets/_Szczesniak/Scripts/CameraFollow.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Szczesniak {
/// <summary>
/// This Class purpose is to make the camera follow the player
/// </summary>
... | 2.757214 | a0a538ab6ce1dee0c70e5afbd572fefd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839374 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Remi-Tech/compass-core",
"max_stars_repo_path": "Compass.Domain.Tests/Services/RegisterNewApplication/RegisterNewApplicationServiceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158594"
} | starcoder | using System;
using System.Threading.Tasks;
using Compass.Domain.DataStore;
using Compass.Domain.Exceptions;
using Compass.Domain.Models;
using Compass.Domain.Services.KafkaProducer;
using Compass.Domain.Services.RegisterNewApplication;
using Xunit;
using FakeItEasy;
namespace Compass.Domain.Tests.Services.RegisterNe... | 2.196141 | bddb36081c8427ebd96e7a69115305de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839375 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KevinTMtz/UnityProjects",
"max_stars_repo_path": "GD #7 - Grappling Gun/Assets/Resources/Scripts/Sounds/SoundManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158595"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System;
using UnityEngine.Audio;
using UnityEngine;
public class SoundManager : MonoBehaviour
{
public Sound[] sounds;
public static AudioClip chain, jump, positive, dead, gameOver, coin, youWin;
static AudioSource audioSrc;
publi... | 2.526328 | 44b424b5066912f7ecc0e64144bc0535 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839376 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Falanwe/RubiNetwork22",
"max_stars_repo_path": "RubiNetwork22/Asynchronism/AtomicityIssue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158596"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Asynchronism
{
public static class AtomicityIssue
{
public static async Task Run()
{
var count = 0;
... | 3.291085 | 88b69dc3496b1c2b14c31635b5a44f06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839377 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neodim4ik/userApi",
"max_stars_repo_path": "src/userApi/Entities/UserEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158597"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace userApi.Entities
{
public class UserEntity
{
public int Id { get; set; }
public string Email { get; set; }
public string FirstName { get; set; }
public string ... | 1.736309 | 0b65ad1bc8649a323092b5c6de7ae683 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839378 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CrazyangSeeYou/MFrameworkCore",
"max_stars_repo_path": "Assets/MagiCloud/Tests/TestController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158598"
} | starcoder | <filename>Assets/MagiCloud/Tests/TestController.cs
using System;
using System.Collections.Generic;
using MagiCloud.Core;
using UnityEngine;
using MagiCloud.Core.Events;
public class TestController : MonoBehaviour
{
private MBehaviour behaviour;
public ExecutionPriority executionPriority;
public float exe... | 1.956016 | af455cbce8f5f00578645519b804dfbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839379 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GikaRodrigues/1s2020-3T",
"max_stars_repo_path": "Save/Senai.MeuPonto.Solution/Senai.MeuPonto.Testes/UnitTest1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158599"
} | starcoder | using Senai.MeuPonto.WebApi.Domains;
using System;
using Xunit;
namespace Senai.MeuPonto.Testes
{
public class UnitTest1
{
[Fact]
public void CadastroComSucesso()
{
var usuario = new Usuarios
{
IdUsuario= 1,
Ni= "1",
... | 2.063929 | ecd945671f598ad19f18e6643869b645 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839380 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SergKorol/C-projects",
"max_stars_repo_path": "CoreBB/CoreBB.Web/Controllers/TopicController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158600"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CoreBB.Web.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace CoreBB.Web.Controllers
{
[Authorize]
public class Topic... | 2.27035 | ff0fd185b5ed07f1af3cea1364770273 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839381 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "jozimarback/Havan.Training-Tests",
"max_stars_repo_path": "Havan.Training-Tests.UnitTests/Config/IntegrationTestFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158601"
} | starcoder | <filename>Havan.Training-Tests.UnitTests/Config/IntegrationTestFixture.cs
using Havan.CaixaEletronico.Domain;
using Microsoft.Extensions.DependencyInjection;
namespace Havan.Training_Tests.UnitTests
{
public class IntegrationTestFixture
{
public IntegrationTestFixture()
{
var servi... | 1.599863 | 58f187257e4797ead9fc9dfdd10040ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839382 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "KirillOsenkov/LiveGeometry",
"max_stars_repo_path": "Main/DynamicGeometryLibrary/Utilities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158602"
} | starcoder | <filename>Main/DynamicGeometryLibrary/Utilities.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows;
using System.Windo... | 2.797124 | 9c123b5960a3beefd76cdb2e77f0ddc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839383 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "atravita-mods/Stardew_Valley_Mods",
"max_stars_repo_path": "GeneralMods/BuildHealth/BuildHealth.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158603"
} | starcoder | <reponame>atravita-mods/Stardew_Valley_Mods
using System.IO;
using Omegasis.BuildHealth.Framework;
using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewValley;
namespace Omegasis.BuildHealth
{
/// <summary>The mod entry point.</summary>
public class BuildHealth : Mod
{
/*********
... | 2.023088 | b60151fad0da8d62d7f59d0b5e32ca68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839384 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "feng1995911/demo_tankWar3D",
"max_stars_repo_path": "Assets/GameMain/GamePlay/Level/Map/MapPathNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158604"
} | starcoder | <filename>Assets/GameMain/GamePlay/Level/Map/MapPathNode.cs<gh_stars>1-10
using UnityEngine;
using System.Collections;
using System;
using System.IO;
using System.Xml;
namespace GameMain
{
public class MapPathNode : XmlObject
{
public float NodeTime;
public Vector3 Position;
public ... | 2.744274 | 0f16bbcffae7ac383f0791a755af9974 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839385 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "libcs/unity.oculus",
"max_stars_repo_path": "src/Oculus.Platform/UserOrdering.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158605"
} | starcoder | <filename>src/Oculus.Platform/UserOrdering.cs
namespace Oculus.Platform
{
using Description = System.ComponentModel.DescriptionAttribute;
public enum UserOrdering : int
{
[Description("UNKNOWN")] Unknown,
/// No preference for ordering (could be in any or no order)
[Descriptio... | 2.129172 | f4abf68a2ef53a311207acb439b71030 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839386 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tipstrade/TipsTrade.VCheck",
"max_stars_repo_path": "TipsTrade.VCheck/Model/Reports/Mot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158606"
} | starcoder | <reponame>tipstrade/TipsTrade.VCheck<filename>TipsTrade.VCheck/Model/Reports/Mot.cs
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace TipsTrade.VCheck.Model.Reports {
/// <summary>An MOT report.</summary>
public class Mot {
/// <summary>The number of days left on the current MOT... | 2.254895 | 612fff6cdb6fde091bf7a6dd06dba742 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839387 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ga-explorer/GMac",
"max_stars_repo_path": "GMac/GMac.Engine/AST/Symbols/AstNamespace.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158607"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using CodeComposerLib.Irony.Semantic.Symbol;
using GMac.Engine.Compiler.Semantic.AST;
namespace GMac.Engine.AST.Symbols
{
/// <summary>
/// This class represents a namespace in GMacAST
/// </summary>
public sealed class AstNamespace :... | 2.400111 | a5b3172360dd7a97736990b6606fa3c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839388 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "FasTnT/epcis-ef-core",
"max_stars_repo_path": "Tests/FasTnT.Formatters.Xml.Tests/WhenParsingAnInvalidXmlRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158608"
} | starcoder | <gh_stars>1-10
using FasTnT.Formatter.Xml.Parsers;
using System.Reflection;
namespace FasTnT.Formatters.Xml.Tests;
[TestClass]
public class WhenParsingAnInvalidXmlRequest : XmlParsingTestCase
{
public static readonly string ResourceName = "FasTnT.Formatters.Xml.Tests.Resources.Requests.InvalidRequest.xml";
... | 1.771063 | 342cad1a0bb460a8722673f9682de315 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839389 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "maxter2323/Cassandra",
"max_stars_repo_path": "Assets/Cassandra Framework/CraftAPI/Recipe.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158609"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
public class Recipe : IGameScriptable
{
/****************************************************************************************/
/* VARIABLES */
/*****************************************************... | 2.300902 | 175f5d4036e3a969696d79883f7b930b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839390 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AlexeyShpavda/SalesStatisticsSystem",
"max_stars_repo_path": "SalesStatisticsSystem.WebApp/Infrastructure/UnitDependencyResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158610"
} | starcoder | using System;
using System.Collections.Generic;
using System.Web.Mvc;
using Unity;
namespace SalesStatisticsSystem.WebApp.Infrastructure
{
public class UnitDependencyResolver : IDependencyResolver
{
private readonly IUnityContainer _unityContainer;
public UnitDependencyResolver(IUnityContaine... | 2.254731 | f41817cbde46b416a5e409592260c2db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839391 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GrafGenerator/ssrs-report-metrics",
"max_stars_repo_path": "src/GrafGenerator.ReportMetrics.ReportingServices/ReportAccessWrappers/ReportRenderResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158611"
} | starcoder | using System.IO;
using GrafGenerator.ReportMetrics.Extensibility;
namespace GrafGenerator.ReportMetrics.ReportingServices.ReportAccessWrappers
{
public class ReportRenderInfo
{
public Stream Stream { get; private set; }
public ReportDiagnosticsInfo DiagnosticsInfo { get; set; }
private ReportRenderInfo(Stre... | 2.092257 | c5302ef47ddfb07c24ea0015967b76dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839392 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KokiOishi/Volley",
"max_stars_repo_path": "Volley.Mobile.Forms/Volley.Mobile.Forms/Controls/RecievedInput.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158612"
} | starcoder | <gh_stars>1-10
using System.Windows.Input;
using System.Reactive.Linq;
using ReactiveCommand = ReactiveUI.ReactiveCommand;
using Xamarin.Forms;
using Volley.Players;
using Reactive.Bindings;
using ReactiveUI;
namespace Volley.Mobile.Forms.Controls
{
public partial class ReceivedInput : ContentView
{
#... | 2.138268 | 6eeab64f20c5c7d1a03f0d00e1157c85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839393 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "jaytwo/meshellator",
"max_stars_repo_path": "src/Meshellator/Importers/3ds/RotationTrack3ds.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158613"
} | starcoder | namespace Meshellator.Importers.Autodesk3ds
{
/**
* Rotation track.
* <br>
* <br>
* The rotation track control rotation of a mesh around its pivot point.
* 3D Studio stores the rotation tracks as angular displacements. The first
* key in the track gives the absolute rotation. The following keys are
* relative r... | 2.685467 | a4eb97804bec9c3dcf7cb498c1968124 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839394 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "ChrisEdwards/Fluency",
"max_stars_repo_path": "src/Shiloh.DataGeneration.Tests/AnonymousTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158614"
} | starcoder | <filename>src/Shiloh.DataGeneration.Tests/AnonymousTests.cs
// Copyright 2011 <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... | 2.451615 | f2af7a4f4418a225f03ee3ec102b4e93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839395 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LaudateCorpus1/gapic-generator-csharp",
"max_stars_repo_path": "Google.Api.Generator.Tests/ResourcePatternTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158615"
} | starcoder | <reponame>LaudateCorpus1/gapic-generator-csharp
// Copyright 2020 Google 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
//
// https://www.apache.org/licens... | 1.910565 | 985f08a02380200b76dbb550d2a1c9fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839396 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "dozm/Grpc.Extensions",
"max_stars_repo_path": "src/Grpc.Extensions/ServerSide/IServiceDefinitionProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158616"
} | starcoder | <reponame>dozm/Grpc.Extensions<filename>src/Grpc.Extensions/ServerSide/IServiceDefinitionProvider.cs
using Grpc.Core;
using System.Collections.Generic;
namespace Grpc.Extensions
{
public interface IServiceDefinitionProvider
{
IEnumerable<ServerServiceDefinition> GetServiceDefinitions();
}
} | 1.252014 | cc0d865c2f22dd9c65df3f7245336d5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839397 | {
"extension": "c-sharp",
"max_stars_count": "266.0",
"max_stars_repo_name": "sgermosen/TorneoPredicciones",
"max_stars_repo_path": "_Legacy/_App/TorneoPredicciones/Domain/TournamentGroup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158617"
} | starcoder | namespace Domain
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
public class TournamentGroup
{
[Key]
public int TournamentGroupId { get; set; }
[Required(Erro... | 2.665894 | c0a3fa7da53091e17d952eb0f9f9c2ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839398 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "msadeqsirjani/Gridify",
"max_stars_repo_path": "src/Gridify/Exceptions/GridifyException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158618"
} | starcoder | <filename>src/Gridify/Exceptions/GridifyException.cs
using System;
namespace Gridify.Exceptions
{
public class GridifyException : Exception
{
public GridifyException() { }
public GridifyException(string message) : base(message) { }
public GridifyException(string message, Exception in... | 2.135708 | df1f42ff54aaa4a27ec7ef2bbd07b19a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839399 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zanyants/PoshBuild",
"max_stars_repo_path": "PoshBuild/BuildTimeAssemblyResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158619"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Mono.Cecil;
namespace PoshBuild
{
/// <summary>
/// An implementation of <see cref="IAssemblyResolver"/> designed for use during the MSBuild b... | 2.097773 | 79de4c271fae424d6e2d8aecd06d5c13 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839400 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Shady6/SkateSpot_v2",
"max_stars_repo_path": "Backend/Persistance/Migrations/20210906185801_Update-Image-Model.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158620"
} | starcoder | <reponame>Shady6/SkateSpot_v2
using Microsoft.EntityFrameworkCore.Migrations;
namespace SkateSpot.Infrastructure.Migrations
{
public partial class UpdateImageModel : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
... | 1.563377 | 8fd7f6d159b495e3ea1f453493efca03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839401 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ibprovider/Lcpi.EFCore.LcpiOleDb-v06.00",
"max_stars_repo_path": "Code/Provider/Source/Basement/EF/Dbms/Firebird/V03_0_0/Query/Local/D0/Expressions/Op2/Translators/Instances/Multiply/ETranslators__Multiply__NullableDouble.cs",
"proven... | starcoder | ////////////////////////////////////////////////////////////////////////////////
//EF Core Provider for LCPI OLE DB.
// IBProvider and Contributors. 30.03.2021.
namespace Lcpi.EntityFrameworkCore.DataProvider.LcpiOleDb.Basement.EF.Dbms.Firebird.V03_0_0.Query.Local.D0.Expressions.O... | 1.565075 | 0fec4ff9761f91392a421b98d3d3144f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839402 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chi-rei-den/Silverfish",
"max_stars_repo_path": "cards/GVG/GVG/Sim_GVG_041a.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158622"
} | starcoder |
/* _BEGIN_TEMPLATE_
{
"id": "GVG_041a",
"name": [
"守护者的呼唤",
"<NAME>"
],
"text": [
"+5/+5并具有<b>嘲讽</b>。",
"+5/+5 and <b>Taunt</b>."
],
"cardClass": "DRUID",
"type": "SPELL",
"cost": 6,
"rarity": null,
"set": "GVG",
"collectible": null,
"dbfId": 2176
}
_END_TEMPLATE_ */
namespace... | 1.975221 | 271a8047a760967d0ddfb2ff28db14a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839403 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "0x0AB/RPGCore",
"max_stars_repo_path": "src/RPGCore.Demo/Nodes/RollNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158623"
} | starcoder | using RPGCore.Behaviour;
using System;
namespace RPGCore.Demo.Nodes
{
public sealed class RollNode : Node<RollNode>
{
public OutputSocket Output = new OutputSocket ();
public int MinValue = 2;
public int MaxValue = 12;
public override Instance Create() => new RollInstance ();
public sealed class RollIns... | 2.695718 | 272b55300c7aaed55b077e081510f293 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839404 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ACheshirov/SoftUni",
"max_stars_repo_path": "Lists - Exercises/Array_Manipulator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158624"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArrayManipulator
{
class Program
{
static void Main(string[] args)
{
List<int> nums = Console.ReadLine().Split(' ').S... | 3.319174 | a8af5df9497ee07e236221e505dd5807 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839405 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sgtfrankieboy/bugsnag-dotnet",
"max_stars_repo_path": "tests/Bugsnag.Tests/BreadcrumbsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158625"
} | starcoder | using System.Linq;
using Xunit;
namespace Bugsnag.Tests
{
public class BreadcrumbsTests
{
[Fact]
public void RestrictsMaxNumberOfBreadcrumbs()
{
var breadcrumbs = new Breadcrumbs(new Configuration { MaximumBreadcrumbs = 25 });
for (int i = 0; i < 30; i++)
{
breadcrumbs.Leave(... | 3.016113 | 45e6822ffd2b500389fdfa0d12cb5012 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839406 | {
"extension": "c-sharp",
"max_stars_count": "180.0",
"max_stars_repo_name": "uamhforever/OmniGUI",
"max_stars_repo_path": "AndroidApp/AndroidMessageService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158626"
} | starcoder | <gh_stars>100-1000
using System;
using System.Threading.Tasks;
using Android.Content;
using Android.Runtime;
using Android.Widget;
using Common;
namespace AndroidApp
{
public class AndroidMessageService : IMessageService
{
private readonly Context context;
public AndroidMessageService(Context ... | 2.238524 | db2d132287ecea2632f85ca6b248de66 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839407 | {
"extension": "c-sharp",
"max_stars_count": "207.0",
"max_stars_repo_name": "NakedObjectsGroup/NakedObjectsFramework",
"max_stars_repo_path": "Test/AdventureWorksFunctionalModel.Test/TestHelpers/MockRandomSeedGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158627"
} | starcoder | using NakedFunctions;
using System.Linq;
namespace NakedFunctions.Test
{
public class MockRandomSeedGenerator : IRandomSeedGenerator
{
public MockRandomSeedGenerator(params int[] r)
{
randoms = new MockRandom[r.Count()];
int last = r.Count()-1;
va... | 3.022714 | 6875ff37d7cd8827ba2998d4ec7d618a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839408 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alex-tully/CacheFactory",
"max_stars_repo_path": "src/CacheFactory/Memory/NoopMemoryCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158628"
} | starcoder | using System;
using Microsoft.Extensions.Caching.Memory;
namespace CacheFactory.Memory
{
internal class NoopMemoryCache : IMemoryCache
{
private static readonly Lazy<NoopMemoryCache> s_instance =
new Lazy<NoopMemoryCache>(() => new NoopMemoryCache());
public static Noo... | 2.670216 | 43db12d2de31736e73bd96b21facf3a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839409 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ausar134/Video-Club-Management-System",
"max_stars_repo_path": "tests/Debugger/IMovieApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158629"
} | starcoder | namespace Debugger
{
using System.Threading.Tasks;
using Refit;
using VCSManager.Movie.Model;
using VCSManager.Movie.Model.SearchResults;
public interface IMovieApi
{
[Get("/person/{actorId}?api_key={api}")]
Task<Actor> GetActorDetails(long actorId, string api);
[Get("/search/movie?api_key={api}&query={... | 2.065248 | 63889b501b234860a59d992d55948f60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "imanshu15/x-sms",
"max_stars_repo_path": "X-SMS/X-SMS-REP/GameDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158630"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace X_SMS_REP
{
public class GameDTO
{
public int GameId { get; set; }
public string GameCode { get; set; }
public Nullable<System.DateTime> StartTime { get; set; }... | 2.001303 | 50bf940ac1114b857eab991f53dd991f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839411 | {
"extension": "c-sharp",
"max_stars_count": "128.0",
"max_stars_repo_name": "adamkrupadev/adam-video-conferencing",
"max_stars_repo_path": "src/Services/ConferenceManagement/Strive.Core.Tests/Services/ConferenceManagement/ConferenceDataValidatorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158631"
... | starcoder | using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using Strive.Core.Domain.Entities;
using Strive.Core.Extensions;
using Strive.Core.Services.ConferenceManagement;
using Strive.Core.Services.Permissions;
using Xunit;
namespace Strive.Core.Tests.Services.ConferenceManagement
{
public class ConferenceDa... | 2.143896 | 76d8145943b5f289bc046b115f2b2407 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.