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 | 8831412 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mkpetrov/CSharpAdvanced",
"max_stars_repo_path": "LINQ/Excellent Students/ExcellentStudents.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150632"
} | starcoder | using System;
using System.Collections.Generic;
namespace Excellent_Students
{
class ExcellentStudents
{
static void Main(string[] args)
{
var input = Console.ReadLine();
var excellentStudents=new List<string>();
while (input!="END")
{
... | 3.38631 | 224f29a54f72f360bcacc4c295b0d219 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831413 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dynamiquel/Landnite",
"max_stars_repo_path": "Game/Assets/QuestManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150633"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class QuestManager : MonoBehaviour
{
public static QuestManager instance;
public List<Quest> questsInPro {get; set;} = new List<Quest>();
public List<Quest> questsCompleted {get; set;} = new List<Quest>()... | 2.918907 | 89a13b81493f7667ffc2e0692fd94b88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831414 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scottenriquez/cdktf-alpha-csharp-testing",
"max_stars_repo_path": "resources/.gen/aws/aws/IFsxLustreFileSystemConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150634"
} | starcoder | using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiInterface(nativeType: typeof(IFsxLustreFileSystemConfig), fullyQualifiedName: "aws.FsxLustreFileSystemConfig")]
public interface IFsxLustreFileSystemConfig : HashiCorp.Cdktf.ITerraformMetaArguments
{
... | 1.658197 | df81b97f2b36a3c231ba5b94cd783dc4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831415 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "sillsdev/phonology-assistant",
"max_stars_repo_path": "src/PaTests/PhoneticSearching/GroupValidatorBaseTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150635"
} | starcoder | <gh_stars>1-10
// ---------------------------------------------------------------------------------------------
#region // Copyright (c) 2005-2015, SIL International.
// <copyright from='2005' to='2015' company='SIL International'>
// Copyright (c) 2005-2015, SIL International.
//
// This software is distri... | 2.254958 | 4b86ce5e448979ca715bacd0acd201a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831416 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Frityet/Mason",
"max_stars_repo_path": "Mason.Core/Parsing/Thunderstore/PackageComponentStringConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150636"
} | starcoder | <filename>Mason.Core/Parsing/Thunderstore/PackageComponentStringConverter.cs
using System;
using Mason.Core.Thunderstore;
namespace Mason.Core.Parsing.Thunderstore
{
internal class PackageComponentStringConverter : ConstrainedStringConverter<PackageComponentString>
{
protected override PackageComponentString Parse... | 2.528445 | db0ea10853916e1d6a996ac3eafab2c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831417 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BugsUK/FindApprenticeship",
"max_stars_repo_path": "src/SFA.Apprenticeships.Web.Candidate/ViewModels/VacancySearch/VacancySummaryViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150637"
} | starcoder | <reponame>BugsUK/FindApprenticeship
namespace SFA.Apprenticeships.Web.Candidate.ViewModels.VacancySearch
{
using System;
using System.Globalization;
using Common.ViewModels.Locations;
public abstract class VacancySummaryViewModel
{
public int Id { get; set; }
public string Title {... | 1.790641 | 049b92f5a06ddd6360e11f42cdc8534f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831418 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "WithoutHaste/WithoutHaste.DataFormats",
"max_stars_repo_path": "DataFiles/DotNet/DotNetSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150638"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WithoutHaste.DataFiles.DotNet
{
/// <summary>
/// Global settings for the entire DotNet namespace.
/// </summary>
public static class DotNetSettings
{
/// <summary>
/// When DotNetQualifiedNames are... | 2.807079 | fdabedd7965cb233d74cd896b2d0de84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831419 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tw-prospa-csharp-learning/csharp-learning",
"max_stars_repo_path": "EffectiveC#-Item02.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150639"
} | starcoder | using System;
using Xunit;
namespace csharp_learning.Item2
{
public class UnitTest2
{
// Compile-time constant
public const int _year = 2000;
// Runtime constant
public readonly int _year2 = 2000;
// diff support--const 只支持数字、字符串、null
//private const Da... | 3.153432 | 8fedd98e18ed3563e299593a7cd0adce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831420 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emrecakmak77/OOPS",
"max_stars_repo_path": "OOPS.MapConfig/StaticMapping/PublicHolidaysProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150640"
} | starcoder | <filename>OOPS.MapConfig/StaticMapping/PublicHolidaysProfile.cs
using OOPS.DTO.Static;
using OOPS.MapConfig.ConfigProfile;
using OOPS.Model.StaticModels;
using System;
using System.Collections.Generic;
using System.Text;
namespace OOPS.MapConfig.StaticMapping
{
public class PublicHolidaysProfile :ProfileBase
... | 1.671761 | 759e83e0a43a2915fca66013f370ae0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831421 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OscarPTCC/itse1430",
"max_stars_repo_path": "labs/Budget/Budget/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150641"
} | starcoder | <gh_stars>0
using System;
/*
*<NAME>
*ITSE 1430
*Lab 1
*/
namespace Budget
{
class Program
{
static int Main ( string[] args )
{
Console.WriteLine("Budget program developed by <NAME>. ");
Console.WriteLine("Please input account nickname: ");
AccountNa... | 3.595664 | 2a2ad416c30ff4cc34660e53f6269be3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831422 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rmccabe24/Cloud.Core.Web",
"max_stars_repo_path": "src/Cloud.Core.Web/Extensions/HttpExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150642"
} | starcoder | namespace System.Web.Http
{
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Primitives;
using Linq;
using Text;
/// <summary>
/// Extension methods for the HttpRequest and HttpResponse objects.
/// </summary>
public static class HttpExtension
{
/// <summary>
... | 2.977257 | eb078579ca343ea61b346287eb03531e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831423 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "feng1995911/demo_tankWar3D",
"max_stars_repo_path": "Assets/GameMain/Utility/GlobalTools.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150643"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Security.Cryptography;
using System.Text;
using FairyGUI;
using UnityEngine;
namespace GameMain
{
public static class GlobalTools
{
public static StringBu... | 2.804795 | 1e6e4cf468767e52865ca68aaf5dbef1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831424 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "sailthru/sailthru-net-client",
"max_stars_repo_path": "Sailthru/Sailthru.Tests/Mock/BlastApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150644"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using Newtonsoft.Json.Linq;
namespace Sailthru.Tests.Mock
{
public static class BlastApi
{
private static int currentId = 1000;
public static object ProcessPost(JObject request)
{
int blastId = Interlo... | 2.48593 | e730cb3ccd92d107691e32019666c810 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831425 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RemusLinda/WolfEventCodeCreater",
"max_stars_repo_path": "Model/WoditerStr/MapDataStr.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150645"
} | starcoder | <reponame>RemusLinda/WolfEventCodeCreater<filename>Model/WoditerStr/MapDataStr.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using WodiKs.Map;
using WodiKs.Map.Ev;
using WodiKs.Map.Layer;
using WolfEventCodeCreater.Model.OutputStruct;
namespace WolfEventCodeCreater.Mo... | 2.421319 | 6e949f501f2f5ceeb2701f5daf877700 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831426 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "bjarte/vuejs-course",
"max_stars_repo_path": "Labs/Lab1/before/Views/Root/Contact.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:150646"
} | starcoder | <filename>Labs/Lab1/before/Views/Root/Contact.cshtml
<h2>Contact</h2>
<div>
Example Code for the <a href="https://courses.wilderminds.com/p/vue-js-by-example">Vue.js by Example Course</a>.
</div> | 1.834213 | 6272a8af9ed61975411ca94de7b8e0cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831427 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DenisVargasRivero/FinalIAP1",
"max_stars_repo_path": "Assets/Scripts/IA.FSM/Interfaces/IState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150647"
} | starcoder | <filename>Assets/Scripts/IA.FSM/Interfaces/IState.cs
using System;
namespace IA.FSM
{
public interface IState<T>
{
T getStateType { get; }
void Begin();
void Execute();
void End();
IState<T> transitionTo(T input);
IState<T> AddTransition(IState<T> targetState);
... | 2.641819 | 7b330b0c2d95cfe1de8722f9c96825e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831428 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Asimir/ktanemod-murder",
"max_stars_repo_path": "Assets/MurderModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150648"
} | starcoder | using UnityEngine;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Linq;
public class MurderModule : MonoBehaviour
{
public KMBombInfo BombInfo;
public KMSelectable[] buttons;
public TextMesh[] Display;
string[,] names = new string[3,9] {{"<NAME>", "<NAME>", "<NAME>", "<NAME>", "<NAME>", "<... | 2.012491 | e605e6bd8372da36a668cd99f03f0e11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831429 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Gurris/daf-meta",
"max_stars_repo_path": "Daf.Meta.Editor/ViewModels/DataSourceViewModels/GraphQlDataSourceViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150649"
} | starcoder | // SPDX-License-Identifier: MIT
// Copyright © 2021 <NAME>, <NAME> and contributors
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;
using Daf.Meta.Layers;
using Daf.Meta.Layers.Connections;
using Daf.Meta.Layers.DataSources;
using PropertyTools.DataAnnotations;
namespace Daf.Meta.E... | 2.17964 | 0d4a5a76ac90779af7d170c76bdf1497 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831430 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryankelley/kokugen",
"max_stars_repo_path": "src/kokugen.web/Actions/TaskCategory/View_Page_Type_Declarations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150650"
} | starcoder | using FubuMVC.Core.View;
using Kokugen.Web.Actions.Project;
using Kokugen.Web.Actions.TaskCategory;
namespace Kokugen.Web.Actions.TaskCategory
{
public class List : FubuPage<TaskListModel> { }
public class TaskForm : FubuPage<TaskFormModel> { }
} | 0.786922 | 39d2171a5248fbe6678070bf616e9ba7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831431 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Mattish/Cardinal-System",
"max_stars_repo_path": "Cardinal-System-HeathCliff/Bootstrap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150651"
} | starcoder | using System;
using System.Configuration;
using Cardinal_System_Common;
using Cardinal_System_Common.MessageNetworking;
using Cardinal_System_Shared;
namespace Cardinal_System_HeathCliff
{
public class Bootstrap
{
public static void Main(string[] args)
{
ComponentSettings.Component... | 2.21518 | 4bf124be6e90f9c8dde4deaffdff3dac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831432 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ncomben/CacheMeIfYouCan",
"max_stars_repo_path": "src/CacheMeIfYouCan/Internal/CachedInterfaceFactoryInternal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150652"
} | starcoder | <reponame>ncomben/CacheMeIfYouCan<filename>src/CacheMeIfYouCan/Internal/CachedInterfaceFactoryInternal.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using CacheMeIfYouCan.Internal.CachedFunctions.Configuration... | 2.236864 | b991268bd639abc82fd80b09b9f1f6cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831433 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "abitmore/Ditch",
"max_stars_repo_path": "Sources/Ditch.Steem/Operations/CustomJsonOperation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150653"
} | starcoder | using Ditch.Core.Attributes;
using Newtonsoft.Json;
namespace Ditch.Steem.Operations
{
[JsonObject(MemberSerialization.OptIn)]
public class CustomJsonOperation : BaseOperation
{
public const string OperationName = "custom_json_operation";
public override string TypeName => OperationName;
... | 2.42307 | 2c09e9cea499f65203264fd9565d6a12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831434 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ruanschoombeeprog/pitstop",
"max_stars_repo_path": "src/WebApp/Models/Inventory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150654"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Pitstop.Models
{
public class Inventory
{
public string ProductCode { get; set; }
public string Description { get; set; }
public int Quantity { get; set; }
public double U... | 2.624626 | 3bb2654cb3b37a2a8bd407f641d7de73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831435 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "CompleteUnityDeveloper/Laser-Defender-Original",
"max_stars_repo_path": "Assets/Entities/Enemy/EnemyBehaviour.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150655"
} | starcoder | using UnityEngine;
using System.Collections;
public class EnemyBehaviour : MonoBehaviour {
public GameObject projectile;
public float projectileSpeed = 10f;
public float health = 150f;
public float shotsPerSecond = 0.5f;
public int scoreValue = 150;
public AudioClip fireSound;
public AudioClip deathSound;
... | 2.590234 | c0352078a3baa71304f87e11bbfcbac0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831436 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SamiKoiv/AspNetCore_MVC_NHibernate",
"max_stars_repo_path": "AspNet_Hibernate_MVC/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:150656"
} | starcoder | <reponame>SamiKoiv/AspNetCore_MVC_NHibernate
@using AspNet_Hibernate_MVC
@using AspNet_Hibernate_MVC.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.439148 | 81421f6d4ff019d1d537f4c62bf272e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831437 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dsonnet/akeneo-csharp",
"max_stars_repo_path": "src/Akeneo/AkeneoClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150657"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Akeneo.Authentication;
using Akeneo.Client;
using Akeneo.Common;
using Akeneo.Consts;
using Akeneo.Exceptions;
using Akeneo.Http;
usin... | 2.223279 | 26328f83fca2b7671ec1ec176f7a23fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831438 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "martongyiran/CraftLogs",
"max_stars_repo_path": "CraftLogs/CraftLogs/CraftLogs.BLL/Services/DataService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150658"
} | starcoder | /*
Copyright 2018 <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 writing, software
distrib... | 2.41934 | 5b3ff18e06336fe532321157acb96530 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831439 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Andreas-Dorfer/base-types",
"max_stars_repo_path": "src/AD.BaseTypes/IntValidation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150659"
} | starcoder | namespace AD.BaseTypes;
static class IntValidation
{
public static void Min(int min, int value)
{
if (value < min) throw new ArgumentOutOfRangeException(nameof(value), value, $"Parameter must be greater than or equal to {min}.");
}
public static void Max(int max, int value)
{
if (... | 2.93183 | b3fb23d062b3a36655c4ff5373a16a51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831440 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "LykkeCity/EthereumApiDotNetCore",
"max_stars_repo_path": "src/Lykke.Service.EthereumCore..Models/Models/BaseCoinRequestModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150660"
} | starcoder | <filename>src/Lykke.Service.EthereumCore..Models/Models/BaseCoinRequestModel.cs
using Lykke.Service.EthereumCore.Core;
using Lykke.Service.EthereumCore.Models.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace Lykke.Service.EthereumCore.Models
{
public class BaseCoinRequestModel : Ba... | 1.814683 | 54b85c7a45ea647218798c1e709a8727 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831441 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "the-nerbs/GJK_Demo",
"max_stars_repo_path": "GJK_Demo/ShapeMovedEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150661"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GJK_Demo
{
sealed class ShapeMovedEventArgs : EventArgs
{
public Shape Shape { get; }
public ShapeMovedEventArgs(Shape shape)
{
Shape = shape;
... | 2.075114 | 3528e71f0dc687e279d016936bcbe972 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831442 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "moerwald/Polly",
"max_stars_repo_path": "src/Polly.SharedSpecs/Wrap/IPolicyWrapExtensionSpecs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150662"
} | starcoder | using System;
using System.Collections.Generic;
using Xunit;
using Polly.Wrap;
using System.Linq;
using FluentAssertions;
using Polly.CircuitBreaker;
using Polly.NoOp;
using Polly.Retry;
namespace Polly.Specs.Wrap
{
public class IPolicyWrapExtensionSpecs
{
[Fact]
public void Should_pass_all_n... | 2.392747 | 26710f89c1f9c6cfc3e049a2d11ea5b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831443 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dbpieter/TraffiSnooze",
"max_stars_repo_path": "TraffiSnooze.Data/Common/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150663"
} | starcoder | <reponame>dbpieter/TraffiSnooze<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SleepTitle.Data.Common
{
public static class Constants
{
public static string DbLocation => "../../../db/TraffiSnooze.db";
}
}
| 1.965653 | 10cb9cb3c055ab2ae7ca563c549c796e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "henrycoh/Dasomus.MongoRepository",
"max_stars_repo_path": "src/Dasomus.MongoRepository/MongoContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150664"
} | starcoder | <reponame>henrycoh/Dasomus.MongoRepository
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Text;
namespace Dasomus.MongoRepository
{
public class MongoContext : IMongoContext
{
public string ConnectionString { get; set; }
public MongoUrl Url { get; set; }
... | 1.890597 | 8bf655c47f96e1f666038fa703dcc465 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831445 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EugeneDunin/GeneticAlgorithm",
"max_stars_repo_path": "GeneticAlgorithm/General/GeneticAlgorithm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150665"
} | starcoder | using GeneticAlgorithm.Crossbreeding;
using GeneticAlgorithm.FuncImpls.Base;
using GeneticAlgorithm.General.Chromosome;
using GeneticAlgorithm.General.Generators;
using GeneticAlgorithm.General.Range;
using GeneticAlgorithm.Mutation;
using GeneticAlgorithm.Selection;
using GeneticAlgorithm.Transform;
using System;
usi... | 2.440025 | 6b2c6a3565107e554ee389e0e8d89192 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831446 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "fldvrees/YOLOv3-CNTK-C-",
"max_stars_repo_path": "Testing/Utils/Helper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150666"
} | starcoder | using CNTK;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using Testing.Models;
namespace Testing.Utils
{
public static class Helper
{
/// <summary>
/// Deserialize the output of a network into an image.
/// The o... | 3.198801 | 7cf7a43601a10fd7b60c6cd77b6a2305 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831447 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LincolnLink/API_do_AngularMaterial",
"max_stars_repo_path": "src/Api.Data/Data/Context/ContextFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150667"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using System;
using System.Collections.Generic;
using System.Text;
namespace Data.Context
{
public class ContextFactory: IDesignTimeDbContextFactory<MyContext>
{
public MyContext CreateDbContext(string[] args)
... | 2.382719 | 9cb08a6938525e869d61f09ec96525d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831448 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jpann/NerdBot",
"max_stars_repo_path": "NerdBot/NerdBot.Tests/MtgStore_AddRemove_Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150668"
} | starcoder | <reponame>jpann/NerdBot
using System;
using System.Collections.Generic;
using MongoDB.Driver;
using NerdBot.TestsHelper;
using NerdBotCommon.Mtg;
using NUnit.Framework;
namespace NerdBot.Tests
{
[TestFixture]
public class MtgStore_AddRemove_Tests
{
private TestConfiguration testConfig;... | 2.184707 | b9e4595d7dd00388401d02b5021039d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831449 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joeyfoo/alstom-metropolis-for-openbve",
"max_stars_repo_path": "alstom-metropolis-content/plugin/trainscript-train-plugin/SourceCode/Plugin/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150669"
} | starcoder | <gh_stars>0
using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("TrainScript")]
[assembly: AssemblyDescriptionAttribute("Train Scripting Language Support")]
[assembly: AssemblyCopyright("Released into the public domain by odakyufan")]
[assembly: ComVisible(false)]
[as... | 1.342771 | bd7af10d499d4e6518281743fba69886 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831450 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "isukces/isukces.code",
"max_stars_repo_path": "iSukces.Code.VsSolutions/_helpers/XmlWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150670"
} | starcoder | using System;
using System.Linq;
using System.Xml.Linq;
namespace iSukces.Code.VsSolutions
{
public abstract class XmlWrapper
{
public XmlWrapper(XDocument document)
{
Document = document;
}
protected XElement FindElementByPath(string path)
{
var... | 2.921152 | 1a829abc3f589a7e7c92cf66869f96ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831451 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wlsvy/.NET-TCP-Chat-Server-Study",
"max_stars_repo_path": "Chat/Shared/Logger/ConsoleLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150671"
} | starcoder | using System;
using System.Threading;
namespace Shared.Logger
{
public class ConsoleLogger : ILogger
{
private SpinLock m_Lock;
public void Log(LogLevel level, string message)
{
switch (level)
{
case LogLevel.Debug: Debug(message); return;
... | 3.158658 | 14a25966be5910625de4e2364bbb181d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831452 | {
"extension": "c-sharp",
"max_stars_count": "59.0",
"max_stars_repo_name": "ge-digital-firestorm/eventuate-tram-core-dotnet",
"max_stars_repo_path": "IO.Eventuate.Tram/EventuateTramServiceCollectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150672"
} | starcoder | <reponame>ge-digital-firestorm/eventuate-tram-core-dotnet<gh_stars>10-100
using System;
using IO.Eventuate.Tram.Consumer.Common;
using IO.Eventuate.Tram.Consumer.Database;
using IO.Eventuate.Tram.Consumer.Kafka;
using IO.Eventuate.Tram.Database;
using IO.Eventuate.Tram.Events.Common;
using IO.Eventuate.Tram.Events.Publ... | 1.458553 | b2dbc7c09cac03adcf967a33e1f3c756 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831453 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "NetworkContractSolutions/experian-dotnet",
"max_stars_repo_path": "src/Client/Bis/UccFilingsResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150673"
} | starcoder | namespace Experian.Api.Client.Bis
{
using System.Collections.Generic;
public sealed class UccFilingsResult
{
public BusinessHeaderResult BusinessHeader { get; set; }
public UccFilingsSummaryResult UccFilingsSummary { get; set; }
public List<UccFilingsDetailResult> UccFilingsDetail... | 1.270572 | ffdb1ac3e5f6e558aad393955081d32f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831454 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kodeman010/StackColors",
"max_stars_repo_path": "Assets/Scripts/CameraFollowTarget.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150674"
} | starcoder | <gh_stars>0
using UnityEngine;
public class CameraFollowTarget : MonoBehaviour
{
#pragma warning disable CS0649
[SerializeField]
private Transform target;
[SerializeField]
private Vector3 offset;
[SerializeField]
private Vector3 lookOffset;
private Vector3 currentVelocity;
#pragma warning... | 1.785031 | a780eaccd3f25e25d5454c410ac0693c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831455 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "BanCrash/playnite-gameactivity-plugin",
"max_stars_repo_path": "source/Common/HWiNFODumper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150675"
} | starcoder | using Playnite.SDK.Data;
using System.Collections.Generic;
using System.IO.MemoryMappedFiles;
using System.Runtime.InteropServices;
using System.Text;
// https://github.com/zipferot3000/HWiNFO-Shared-Memory-Dump
// https://github.com/Antiserum420/HwInfoReader
namespace GameActivity
{
class HWiNFODumper
{
... | 2.143217 | 28024670a382484bc09a1295b5e6d456 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831456 | {
"extension": "c-sharp",
"max_stars_count": "246.0",
"max_stars_repo_name": "truecooler/BinarySerializer",
"max_stars_repo_path": "BinarySerializer.Test/Custom/CustomSubtypeBaseClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150676"
} | starcoder | <reponame>truecooler/BinarySerializer<gh_stars>100-1000
namespace BinarySerialization.Test.Custom
{
public class CustomSubtypeBaseClass
{
}
} | 0.814496 | cf44df7bd11fe0607a9b9c0bb2b4b5d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831457 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "xyicheng/Quantic.Etl",
"max_stars_repo_path": "src/Quantic.Etl/Extensions/RowExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150677"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using Quantic.Etl.Abstractions;
namespace Quantic.Etl.Extensions
{
/// <summary>
/// Provides various extensions to the <see cref="IRow"/> interface.
/// </summary>
public static class RowExtensions
{
/// <summa... | 2.661487 | 8ff1bf42d71e93b35be189de61a8cef4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831458 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "UE4DotNet/Plugin",
"max_stars_repo_path": "DotNet/DotNet/UE4/Generated/AIModule/Native/BehaviorTreeComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150678"
} | starcoder | // Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
using UE4.GameplayTags;
nam... | 0.963487 | 70a2d4c359814b3b231740815f6a8fa0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831459 | {
"extension": "c-sharp",
"max_stars_count": "394.0",
"max_stars_repo_name": "Ivony/Jumony",
"max_stars_repo_path": "Ivony.Web/CacheToken.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150679"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Routing;
using Ivony.Fluent;
using System.Web;
using System.Collections.Specialized;
using System.Web.Caching;
namespace Ivony.Web
{
/// <summary>
/// 表示一个缓存标记,缓存标记可以从当前请求的特征中产生,并变换为唯一的 Cache... | 2.548381 | cb53e8ff98bedf23b4517e0c6f8c08b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831460 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alerdenisov/VoxelBuilder",
"max_stars_repo_path": "Interfaces/IMeshInterfaces.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150680"
} | starcoder | using VoxelBuilder.DataTypes;
using UnityEngine;
namespace VoxelBuilder.Interfaces
{
public interface IMeshGenerator {}
public interface IMeshGeneratorConfiguration : IMeshGenerator {
bool GenerateNormals { get; }
bool GenerateTangents { get; }
bool GenerateUV { get; }
bool GenerateUV2 { get; }
bool Ge... | 2.129533 | d75a70ec84af4015899a319e0d9b2cb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831461 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mike111177/OWLib",
"max_stars_repo_path": "TankLib/STU/Types/STUConfigVarUInt64.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150681"
} | starcoder | <gh_stars>1-10
// Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0x27937BC6, "STUConfigVarUInt64")]
public class STUConfigVarUInt64 : STUConfigVarUInt64Base {
[STUFieldAttribute(0x07DD813E, "m_value")]
public ulong m_valu... | 0.771145 | 9d91af4bddc474cd9218a4652724554b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831462 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "ylatuya/oxyplot",
"max_stars_repo_path": "Source/OxyPlot/Series/StairStepSeries.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150682"
} | starcoder | <reponame>ylatuya/oxyplot
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="StairStepSeries.cs" company="OxyPlot">
// The MIT License (MIT)
//
// Copyright (c) 2012 <NAME>
//
// Permission is hereby granted, fre... | 2.149137 | a2378f4b60786447a8ac71a25dbcd179 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831463 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndrewMitev/Mastilo",
"max_stars_repo_path": "Data/Mastilo.Data.Models/Rate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150683"
} | starcoder | namespace Mastilo.Data.Models
{
using System.ComponentModel.DataAnnotations;
using Common.Models;
public class Rate : BaseModel<int>
{
[Range(1, 5)]
public int Value { get; set; }
public string UserId { get; set; }
public virtual User User { get; set; }
publi... | 1.995538 | 9e58384a9ff473281513c5df67247789 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831464 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "nosinovacao/name-sdk",
"max_stars_repo_path": "src/NAME.AspNetCore/AspNetCoreConfigurationConnectionStringProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150684"
} | starcoder | <gh_stars>10-100
using Microsoft.Extensions.Configuration;
using NAME.Core;
using System;
using System.Collections.Generic;
using System.Text;
namespace NAME.AspNetCore
{
internal class AspNetCoreConfigurationConnectionStringProvider : IConnectionStringProvider
{
private readonly IConfiguration configu... | 2.446819 | 525fa9255514b029b07c950ccc615ae3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831465 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dgerding/Construct",
"max_stars_repo_path": "Construct3/Construct3/Construct.Server.Models.Tests.Sessions/ModelSessionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150685"
} | starcoder | using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Construct.MessageBrokering;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Reflection;
using System.IO;
using Construct.Server.Entities;
using Construct.Server.Models.Sessions;
using Construct.MessageBrokering... | 1.979015 | 999eddf40ef961552e22d8dda62804a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831466 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "m-sadegh-sh/ePhoto.NET",
"max_stars_repo_path": "src/ePhoto.NET/Models/PhotoModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150686"
} | starcoder | <filename>src/ePhoto.NET/Models/PhotoModel.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ePhoto.NET.Models {
[Table("Photos")]
public class PhotoModel {
[Key]
... | 2.44218 | a7be34149c3ab10b25af47b8e78c6d23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831467 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "spottedmahn/time-savers",
"max_stars_repo_path": "src/ui/BrowserWindow/BrowserWindow.ViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150687"
} | starcoder | using System.Windows.Input;
using System.Collections.ObjectModel;
namespace Luminous.TimeSavers.UI.BrowserWindow
{
using Luminous.Code.MVVM;
using Commands;
public class BrowserWindowViewModel : ViewModelBase
{
private string url = "";
public string Url { get => Get<string>(url); set... | 2.190399 | 5370daaebc581d74ee2fa99d07eead56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831468 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "infragistics-labs/VirtualReceptionist",
"max_stars_repo_path": "IGVirtualReceptionist/Views/KinectVizView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150688"
} | starcoder | using IGVirtualReceptionist.Models;
using Microsoft.Kinect;
using System;
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace IGVirtualReceptionist.Views
{
/// <summary>
/// Interaction logic for ucKinectViz.xaml
/// </summary>
public partial class KinectVi... | 2.63074 | 6e0cf92dc107a2665533ece912d8bc17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831469 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SorenA/lightops-commerce-services-navigation",
"max_stars_repo_path": "src/LightOps.Commerce.Services.Navigation.Backends.InMemory/Domain/QueryHandlers/FetchNavigationsByHandlesQueryHandler.cs",
"provenance": "train-00027-of-00045.jso... | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using LightOps.Commerce.Services.Navigation.Api.Queries;
using LightOps.Commerce.Services.Navigation.Api.QueryHandlers;
using LightOps.Commerce.Services.Navigation.Backends.InMemory.Api.Providers;
namespace LightOps.Commerce.Services.N... | 2.264902 | 29b85cb8cf96a6aca2fe331bfead867a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831470 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Supershift/Sushi.Mediakiwi",
"max_stars_repo_path": "test/Sushi.Mediakiwi.Test/ORM/RoleRightAccessItemTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150690"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Sushi.Mediakiwi.Data;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
namespace Sushi.Mediakiwi.Test.ORM
{
[TestClass]
public class RoleRightAccessItemTests : BaseTest
{
[TestMethod]
public void X_Select()
... | 2.441597 | e456c08d775415e153486b91c4459ffd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831471 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "spinesheath/Spines.Mahjong",
"max_stars_repo_path": "Analysis.Tests/Bundles.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150691"
} | starcoder | <filename>Analysis.Tests/Bundles.cs
using System.Collections.Generic;
namespace Spines.Mahjong.Analysis.Tests
{
internal static class Bundles
{
public static readonly IReadOnlyList<string> All = new[]
{
@"C:\tenhou\compressed\2014\yonma",
@"C:\tenhou\compressed\2015\yonma",
@"C:\tenhou\c... | 1.688959 | 459949149ac4b4da97199910a7dbd067 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831472 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Pocok5/DaybreakGames.Census",
"max_stars_repo_path": "src/DaybreakGames.Census/CensusClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150692"
} | starcoder | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using System.Net.Http;
using DaybreakGames.Census.Exceptions;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using DaybreakGames.Census.Operators;... | 2.186128 | f71777afca4f65084beab687e7830ed2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831473 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Apteco/OrbitDashboardRefresher",
"max_stars_repo_path": "Apteco.OrbitDashboardRefresher.APIClient/Model/Export.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150693"
} | starcoder | /*
* Apteco API
*
* An API to allow access to Apteco Marketing Suite resources
*
* OpenAPI spec version: v2
* Contact: <EMAIL>
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collections;
using System.Colle... | 2.168957 | 83bc3f888bc26bdc3afea388047fc4a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831474 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "scott-xu/CommandLineUtils",
"max_stars_repo_path": "src/CommandLineUtils/Attributes/SubcommandAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150694"
} | starcoder | // Copyright (c) <NAME>.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.ComponentModel;
#pragma warning disable 618
namespace McMaster.Extensions.CommandLineUtils
{
/// <summary>
/// Represents a subcommand.
/// <... | 2.777762 | d6973f3c31b6dc7ef0f588eb8ad22023 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831475 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Laurie-Fernandez/eiin839",
"max_stars_repo_path": "TD4/TD4/TD4/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150695"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TD4.ServiceReference1;
namespace TD4
{
internal class Program
{
static void Main(string[] args)
{
CalculatorSoapClient csclient = new CalculatorSoapClient();
Console.WriteLine(cs... | 1.992427 | d6226ef481a4c639a0527484f5cae6f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831476 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sfoutrier/WinAppsLinker",
"max_stars_repo_path": "WinAppsLinker/MainForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150696"
} | starcoder | using Microsoft.WindowsAPICodePack.Shell;
using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Windows.Forms;
namespace WinAppsLinker
{
public partial class MainForm : Form
{
priv... | 2.503993 | 83d9ce1c13b35bc5fb11ed1242e4d788 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831477 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "JKapostins/ReflexCustoms",
"max_stars_repo_path": "trackmanager/InvalidTrackHandler/RarHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150697"
} | starcoder | <filename>trackmanager/InvalidTrackHandler/RarHandler.cs
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Text;
using ReflexUtility;
using System.IO.Compression;
namespace InvalidTrackHandler
{
class RarHandler
{
... | 2.560171 | 86deaf24e6c1be39564eb23287e5d15c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831478 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mayuanyang/OctoPoC",
"max_stars_repo_path": "src/OctoPoC.Manager/ConnectToTargetsCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150698"
} | starcoder | <gh_stars>0
namespace OctoPoC.Manager
{
class ConnectToTargetsCommand
{
}
}
| 0.470671 | e8dd6a35744251971dc3ef5095e2a883 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831479 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brain2cpu/BFU",
"max_stars_repo_path": "BFUlib/ChangeList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150699"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.IO;
namespace BFUlib
{
public class ChangeList
{
private readonly string _path;
public ChangeList(string path)
{
_path = path;
}
public void Add(string file)
{
Add(new[] { file... | 2.873836 | 46171f9607a32debbf3bdcc401226ec8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831480 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "develmax/Crm.Sdk.Core",
"max_stars_repo_path": "Microsoft.Crm.Sdk.Proxy/Messages/SendEmailFromTemplateResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150700"
} | starcoder | <reponame>develmax/Crm.Sdk.Core<filename>Microsoft.Crm.Sdk.Proxy/Messages/SendEmailFromTemplateResponse.cs
using Microsoft.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Microsoft.Crm.Sdk.Messages
{
/// <summary>Contains the response from the <see cref="T:Microsoft.Crm.Sdk.Messages.SendEmailFr... | 2.274068 | 75d0a11b2c0e8770987a64a9b6ba921b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831481 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dang-gun/DGSocketAssist",
"max_stars_repo_path": "DGSocketAssist1/ChatGlobal/ChatSetting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150701"
} | starcoder | <reponame>dang-gun/DGSocketAssist<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ChatGlobal
{
/// <summary>
/// 서버/클라이언트간 같이 사용할 데이터
/// </summary>
public class ChatSetting
{
/// <summary>
/// 제목
/// </summary>
publ... | 1.897677 | 24003b9904738287bfc296f1d788c907 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831482 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jacalapa/FullSerializer",
"max_stars_repo_path": "src/FullSerializer/TypeHandlers/ArrayHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150702"
} | starcoder | <reponame>jacalapa/FullSerializer<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using FullSerializer.Extensions;
namespace FullSerializer.TypeHandlers
{
using System.IO;
internal class ArrayHandler : ReferenceTypeHandler
{
public static r... | 2.752648 | bad505c9a9997a2f05bef4d28178a9cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831483 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jofaval/-tfcgs-dam",
"max_stars_repo_path": "Controller/DataIntegrityChecker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150703"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Controller
{
public class DataIntegrityChecker
{
public List<char> ProhibitedCharacters { get; set; }
static public List<char> prohibitedChara... | 2.918496 | e3534e82e496afcb659643fb3b89c7a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831484 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/GovLib",
"max_stars_repo_path": "GovLib.ProPublica/Amendment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150704"
} | starcoder | using System;
using GovLib.Contracts;
namespace GovLib.ProPublica
{
/// <summary>
/// Library model for a congressional bill ammendment.
/// </summary>
public class Amendment : IAmmendment
{
#pragma warning disable CS1591
public string Number { get; set; }
public string Slu... | 2.055335 | 9f3ed29d2800d6e6faa06a5e6c66b038 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831485 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "drazenzadravec/projects",
"max_stars_repo_path": "Service/Net/Http/Nequeo.Net.Http.Service/Nequeo.Net.Http.Service/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150705"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
namespace Nequeo.Net.Http.Service
{
/// <summary>
/// The application starting point.
/// </summary>
static class Program
{
/// <summary>
... | 2.260853 | 012d1a3e70b1eebbcdf10244fba8624a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831486 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "studentutu/coreutils",
"max_stars_repo_path": "Packages/CoreUtils/Runtime/Utils/PoseExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150706"
} | starcoder | using UnityEngine;
namespace CoreUtils {
public static class PoseExtensions {
public static Pose ToPose(this GameObject g) {
if (g) {
return g.transform.ToPose();
}
return new Pose(new Vector3(0, 0, 0), new Quaternion(0, 0, 0, 1));
}
publ... | 2.499842 | c876e9f4e36512ceb28221f57dfc8d4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831487 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chrischip/ImageSharp",
"max_stars_repo_path": "src/ImageSharp/Memory/SimpleGcMemoryAllocator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150707"
} | starcoder | <gh_stars>0
using System.Buffers;
namespace SixLabors.Memory
{
/// <summary>
/// Implements <see cref="MemoryAllocator"/> by newing up arrays by the GC on every allocation requests.
/// </summary>
public sealed class SimpleGcMemoryAllocator : MemoryAllocator
{
/// <inheritdoc />
in... | 2.373524 | 5ca29974bb23fdc1cd69809e32e7dbcf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831488 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dual-Iron/fisob-api",
"max_stars_repo_path": "examples/centipede-shields/EnumExt_CentiShields.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150708"
} | starcoder | <reponame>Dual-Iron/fisob-api
namespace CentiShields
{
/// <inheritdoc/>
public static class EnumExt_CentiShields
{
/// <inheritdoc/>
public static readonly AbstractPhysicalObject.AbstractObjectType CentiShield;
/// <inheritdoc/>
public static readonly MultiplayerUnlocks.San... | 1.38697 | 4e6c781d7da469b9ba651e8607fe8986 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831489 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dlech/gisharp",
"max_stars_repo_path": "src/Lib/Gio-2.0/ActionInterface.Generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150709"
} | starcoder | <reponame>dlech/gisharp
// SPDX-License-Identifier: MIT
// ATTENTION: This file is automatically generated. Do not edit manually.
#nullable enable
namespace GISharp.Lib.Gio
{
/// <include file="ActionInterface.xmldoc" path="declaration/member[@name='ActionInterface']/*" />
[GISharp.Runtime.SinceAttribute("2.28"... | 1.78568 | 2eebde1958460a9305527cd6c81cc18a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831490 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JoyfulReaper/RecipeManager",
"max_stars_repo_path": "RecipeManagerLibrary/Repositories/RecipeRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150710"
} | starcoder | <reponame>JoyfulReaper/RecipeManager
/*
MIT License
Copyright(c) 2021 <NAME>
https://github.com/JoyfulReaper
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 ... | 2.45096 | 4b5e2901182e4d549e7f17985d33fa19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831491 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RKumovski/LearningCenter",
"max_stars_repo_path": "Data/KumovskiLearningCenter.Data.Models/Resource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150711"
} | starcoder | <reponame>RKumovski/LearningCenter
namespace KumovskiLearningCenter.Data.Models
{
using System.ComponentModel.DataAnnotations;
using KumovskiLearningCenter.Data.Common.Models;
public class Resource : BaseDeletableModel<int>
{
public int LectureId { get; set; }
public virtual Lecture ... | 1.886123 | e02134b7be79b79e552b026ef39c4b3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831492 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NepQNeko/sbox-nepqbox",
"max_stars_repo_path": "code/Undo/Undo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150712"
} | starcoder | using System;
using System.Collections.Generic;
namespace Sandbox
{
public partial class Undo
{
private static Dictionary<Client, List<UndoTable>> PlayerEntitys = new();
UndoTable temptable;
public Undo( string name )
{
temptable = new( name );
}
public Undo AddEntity( object ent )
{
tempta... | 2.2138 | ab0dac53475beac4b7877967d532d082 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831493 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "niranjanoo7/DesignSpace",
"max_stars_repo_path": "Assets/#project/Scripts/UI/MenuGroups/MenuGroupController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150713"
} | starcoder | using UnityEngine;
using System.Collections;
public class MenuGroupController : MonoBehaviour {
private static GameObject[] _MenuGroups;
// Use this for initialization
void Start () {
_MenuGroups = GameObject.FindGameObjectsWithTag("MenuGroup");
}
public static void EnableMenuGroups(){
foreach (GameObjec... | 2.246539 | 2d906557337e040fb8d4c3f3f7746577 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831494 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "antonycharles/Mlists.Me",
"max_stars_repo_path": "src/Me.Mlists.Service/Repositories/ListaSecaoRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150714"
} | starcoder | <filename>src/Me.Mlists.Service/Repositories/ListaSecaoRepository.cs
using Me.Mlists.Data.Data;
using Me.Mlists.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Me.Mlists.Service.Repositories
{
... | 2.196428 | 6b344d2b1a525d818dd42dc52c4f8252 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831495 | {
"extension": "c-sharp",
"max_stars_count": "261.0",
"max_stars_repo_name": "ryo0ka/MLTinder",
"max_stars_repo_path": "Assets/Plugins/UniRx/Scripts/Schedulers/IScheduler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150715"
} | starcoder | using System;
namespace UniRx
{
public interface IScheduler
{
DateTimeOffset Now { get; }
// Interface is changed from official Rx for avoid iOS AOT problem (state is dangerous).
IDisposable Schedule(Action action);
IDisposable Schedule(TimeSpan dueTime, Action a... | 2.019784 | 202f2e6aec2bf7b4c36bc9910dfcf0d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831496 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arkatech-ir/ReportSharp",
"max_stars_repo_path": "ReportSharp/Utils/ResponseReader/ResponseContentReader/FileResponseContentReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150716"
} | starcoder | using System;
using Microsoft.AspNetCore.Http;
namespace ReportSharp.Utils.ResponseReader.ResponseContentReader
{
public class FileResponseContentReader : IResponseContentReader
{
public virtual string Read(HttpContext context, Exception exception)
{
return $"File: {context.Response... | 2.462088 | e8264f3fafbd9b9eb3833524de3855ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831497 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RedNoo/FCommerce",
"max_stars_repo_path": "FCommerce/FCommerce.Core/UnitOfWork/DapperUnitOfWork.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150717"
} | starcoder | <gh_stars>0
using System;
using System.Data;
using System.Data.SqlClient;
namespace FCommerce.Core.UnitOfWork
{
public class DapperUnitOfWork : IUnitOfWork
{
private readonly string _connectionString;
private IDbConnection _connection;
public DapperUnitOfWork(string connectionString)
... | 2.710299 | 34e6231ab8a7a645c8a23760f6588a25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831498 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "SkillsFundingAgency/das-employer-incentives",
"max_stars_repo_path": "src/tests/SFA.DAS.EmployerIncentives.Commands.UnitTests/ApprenticeshipIncentive/SendClawbacks/Handlers/WhenSendingClawbackRequestsCommand.cs",
"provenance": "train-... | starcoder | <filename>src/tests/SFA.DAS.EmployerIncentives.Commands.UnitTests/ApprenticeshipIncentive/SendClawbacks/Handlers/WhenSendingClawbackRequestsCommand.cs
using AutoFixture;
using Moq;
using NUnit.Framework;
using SFA.DAS.EmployerIncentives.Abstractions.DTOs.Queries.ApprenticeshipIncentives;
using SFA.DAS.EmployerIncentiv... | 1.935286 | 3f66b80b1ccbb1b22a3df975a6f26f6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831499 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "mejackhumphrey/TheMovieDbWrapper",
"max_stars_repo_path": "DM.MovieApi/IApiSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150719"
} | starcoder | namespace DM.MovieApi
{
internal interface IApiSettings
{
string ApiUrl { get; }
string BearerToken { get; }
}
}
| 1.4719 | 1c44d29e6f441139cdabfd2270d70ec4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831500 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "ThorwaldOdin/WowDotNetAPI-from-Briandek",
"max_stars_repo_path": "Explorers/Models/CharacterRatedBattlegrounds.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150720"
} | starcoder | <reponame>ThorwaldOdin/WowDotNetAPI-from-Briandek
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace WowDotNetAPI.Models
{
[DataContract]
public class CharacterRatedBattlegrounds
{
[DataMember(Name = "perso... | 1.974756 | 316d26764514d93c522a20ee1fd4e3dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831501 | {
"extension": "c-sharp",
"max_stars_count": "568.0",
"max_stars_repo_name": "heroboy/XUnity.AutoTranslator",
"max_stars_repo_path": "src/XUnity.AutoTranslator.Plugin.Core/Utilities/TemplatingHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150721"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XUnity.AutoTranslator.Plugin.Core.Configuration;
namespace XUnity.AutoTranslator.Plugin.Core.Utilities
{
internal static class TemplatingHelper
{
public static bool ContainsUntemplatedCharacters( string text )
... | 2.862417 | 6a4c47ff8497f172d8b2f1640cda6f7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831502 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VDias88/Unity-cs",
"max_stars_repo_path": "exercicios basicos/hnk6.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150722"
} | starcoder | <reponame>VDias88/Unity-cs
using System;
//minimum and max array values code
class hnk6{
static void miniMaxSum(int[] arr) {
Array.Sort(arr);
int siz=arr.Length-4;
long max=0;
long min=0;
for(int i=0;i<=arr.Length-1;i++){
if(i<=3){
min+=arr[i]... | 2.737288 | 3f67e95f7e2c804be15e54c8b0b2ebfa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831503 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rafaeldebiase/bookstore",
"max_stars_repo_path": "backend/Interfaces/ILivroService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150723"
} | starcoder | <reponame>Rafaeldebiase/bookstore
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Threading.Tasks;
using bookstore.domain.models;
using bookstore.domain.objectvalue;
using bookstore.dto;
using Microsoft.AspNetCore.JsonPatch;
namespace bookstore.interfaces
{
public interface ILivroServi... | 1.571923 | 1dae9ee66cd49086c4c4b8807835d617 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831504 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HristoSpasov/VUTP-RMS-BE",
"max_stars_repo_path": "RMS.Data/Migrations/20200527051929_Initial-Entity-Configuration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150724"
} | starcoder | <reponame>HristoSpasov/VUTP-RMS-BE
namespace RMS.Data.Migrations
{
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
public partial class InitialEntityConfiguration : Migration
{
protected override void Up(MigrationBuilder migration... | 1.868859 | 2ce9ed3696d265aa298644f7a9d06404 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831505 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "leozhou-sh/CDrive",
"max_stars_repo_path": "src/CDrive/DriveInfo/AzureQueueServiceDriveInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150725"
} | starcoder | using CDrive.Util;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Auth;
using Microsoft.WindowsAzure.Storage.Queue;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Management.Automation;
using System.Management.Automation.Provider;
using Syst... | 2.346968 | a2b758cc6957076ba04f78cf4e335b0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831506 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dmitrypetukhov/evangelism",
"max_stars_repo_path": "TwitterCrawlerDemo/source/Twitter.Listner.Console/ConsoleLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150726"
} | starcoder | <reponame>dmitrypetukhov/evangelism<filename>TwitterCrawlerDemo/source/Twitter.Listner.Console/ConsoleLogger.cs<gh_stars>1-10
using System;
namespace Twitter.Streaming
{
public class ConsoleLogger : ILogger
{
public void LogInfo(string message)
{
if (message == null)
... | 2.879796 | b27dfe405177bab0fb7b2933be7c9c0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831507 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iNeverSleeeeep/NPOI-For-Unity",
"max_stars_repo_path": "NPOI.OpenXmlFormats.Wordprocessing/CT_SdtText.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150727"
} | starcoder | <filename>NPOI.OpenXmlFormats.Wordprocessing/CT_SdtText.cs
using NPOI.OpenXml4Net.Util;
using System;
using System.IO;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace NPOI.OpenXmlFormats.Wordprocessing
{
[Serializable]
[XmlType(Namespace = "http://schemas.openxmlformats.org/wordp... | 2.561114 | 62837a0c7f0b41764a56f54f5bf223b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831508 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wind2006/DotNet.Utilities",
"max_stars_repo_path": "YanZhiwei.JavaScript.TS/jstree/V3/jstree-3.1.0/JsTreeIndex.aspx.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150728"
} | starcoder | //------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace YanZhiwei.JavaScript.Learn.jstree.V3.jstree_3._1.... | 1.583943 | f09ee8ac8daeb9129ecd9bd5c7880565 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831509 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ArturBerk/Automa.Entities",
"max_stars_repo_path": "Automa.Behaviours/IEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150729"
} | starcoder | namespace Automa.Behaviours
{
public interface IEntity
{
EntityReference Reference { get; set; }
}
}
| 1.624194 | a736dd87edaa5fab89921f06a39b5acd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831510 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EricWRogers/TheLonelyKnight",
"max_stars_repo_path": "Assets/Scripts/Bullet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150730"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bullet : MonoBehaviour
{
Enemy_AI enemy;
void Start()
{
}
// Update is called once per frame
void Update()
{
}
private void OnCollisionEnter(Collision collision)
{
if ... | 2.198593 | e9a24ad5d4c4274a6193a0af40aff2b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831511 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tyang333/XamarinForFun",
"max_stars_repo_path": "Moments - XAML/Moments.Shared/Helpers/Fonts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150731"
} | starcoder | <gh_stars>1-10
using System;
namespace Moments
{
public class Fonts
{
public static readonly string HelveticaNeueThin = "HelveticaNeue-Thin";
}
}
| 1.356494 | f81aa39073587c9d2ae63e4a87505d70 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.