added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95361 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "xwf20050250/UGUISolution",
"max_stars_repo_path": "Assets/2.UIExamples/Scripts/12.HearthStoneDeck/CardPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95362"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CardPage : MonoBehaviour
{
private int _countMax;
private CardPoolMgr _poolMg;
private List<CardModel> _models;
private DraggingRoot _draggingRoot;
private Action _onEnd;
... | 2.179683 | 1b5d5e913b2bb153dc0763bc2814a0d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95362 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bak3r/AcousticConnections",
"max_stars_repo_path": "AcousticConnections/Interfaces/IJsonConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95363"
} | starcoder | <filename>AcousticConnections/Interfaces/IJsonConverter.cs
using AcousticConnections.DTOs;
namespace AcousticConnections.Interfaces
{
public interface IJsonConverter
{
AccessTokenReply DeserializeObject<T>(string unserializedString);
}
} | 1.954698 | 9adf488b7d65fd991cc8d50fbf760a17 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95363 | {
"extension": "c-sharp",
"max_stars_count": "1056.0",
"max_stars_repo_name": "Oceania2018/numsharp",
"max_stars_repo_path": "test/NumSharp.UnitTest/Operations/NDArrayGreaterThanTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95364"
} | starcoder | <gh_stars>1000+
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FluentAssertions;
using NumSharp.UnitTest.Utilities;
namespace NumSharp.UnitTest.Operations
{
[TestClass]
public class NDArrayGreaterThanTest : TestClass
{
private void PerformGreaterThanTests (NDArray nd)
{
... | 2.583993 | 4d58f5d9b02ad7a47ab101577123ed54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "victorh1590/exercism-csharp-track-solutions",
"max_stars_repo_path": "resistor-color-duo/ResistorColorDuo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95365"
} | starcoder | <gh_stars>0
using System;
public static class ResistorColorDuo
{
public static string[] Colors()
=> new []
{
"black", "brown", "red", "orange", "yellow",
"green", "blue", "violet", "grey", "white"
};
public static int ColorCode(string color)
{
... | 2.90484 | 9e418d3b801f85487d29be358cccf5e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95365 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "guojianbin/ToolGood.Algorithm",
"max_stars_repo_path": "ToolGood.Algorithm/AlgorithmEngine.flow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95366"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ToolGood.Algorithm
{
partial class AlgorithmEngine
{
private void AddFlowFunction()
{
addFunc("AND", AND);//如果所有参数均为TRUE,则返回TRUE
addFunc("IF", IF);//指定要执行的逻辑检测
... | 2.562651 | 3666f1dfebcbb53b8ec4453522027056 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95366 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "incoboggart/Yamly",
"max_stars_repo_path": "UnityProject/Assets/Yamly/Editor/PostProcessUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95367"
} | starcoder | <reponame>incoboggart/Yamly<filename>UnityProject/Assets/Yamly/Editor/PostProcessUtility.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Yamly
{
public static class PostProcessUtility
{
private static readonly Type PostProcessSingleType = typeof(... | 2.243551 | 4a8200480f282e9f37b343d61b38374a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95367 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "hueyh/AccountRight_Live_API_.Net_SDK",
"max_stars_repo_path": "MYOB.API.SDK/SDK.Test/Services/FormTemplateServiceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95368"
} | starcoder | <reponame>hueyh/AccountRight_Live_API_.Net_SDK<gh_stars>10-100
using MYOB.AccountRight.SDK.Services.Company;
using NUnit.Framework;
namespace SDK.Test.Services
{
[TestFixture]
public class FormTemplateServiceTests
{
[Test]
public void ServiceHasTheExpectedRoute()
{
Asse... | 1.619192 | 8f52d356638e8887f224b06eb4e5edd3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95368 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "covi-id/cid-api-core",
"max_stars_repo_path": "V1/Services/WalletService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95369"
} | starcoder | <gh_stars>0
using System;
using System.Linq;
using CoviIDApiCore.V1.DTOs.Wallet;
using CoviIDApiCore.V1.Interfaces.Services;
using System.Threading.Tasks;
using CoviIDApiCore.Models.Database;
using CoviIDApiCore.V1.DTOs.Authentication;
using CoviIDApiCore.V1.Interfaces.Repositories;
using CoviIDApiCore.Exceptions;
usi... | 1.541659 | 00e4c231f8039c49b6ef7594244f7444 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95369 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fred2u/Arc4u",
"max_stars_repo_path": "src/Arc4u.Standard/Recurrence/RecurrentWeekDays.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95370"
} | starcoder | using System;
using System.Runtime.Serialization;
namespace Arc4u
{
/// <summary>
/// Specifies the recurrent days of week.
/// </summary>
[Flags]
[DataContract]
public enum RecurrentWeekDays : short
{
/// <summary>
/// Occurs every Sunday.
/// </summary>
[E... | 2.848528 | 81ede6a9bc4e42c470b44310a70f971b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95370 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VangelIliev/Recipies",
"max_stars_repo_path": "Recipies/Recipes.Data.Contracts/IRecipeProductsRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95371"
} | starcoder | using Recipes.Data.Models.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Recipes.Data.Contracts
{
public interface IRecipeProductsRepository : IRepositoryBase<RecipeProducts>
{
}
}
| 1.350315 | 1754c0297aa5bbaa96fef2665bc8adf1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95371 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Grischenkov/Schedule",
"max_stars_repo_path": "Schedule/Views/Shared/_HomeLayout.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:95372"
} | starcoder | @using System.Globalization
@using Schedule
@using Schedule.Models.ViewModels
@model HomeViewModel
@if (ViewBag.Message != null)
{
<script charset="utf-8" type="text/javascript">
window.onload = function () {
alert('@ViewBag.Message');
};
</script>
}
<!DOCTYPE html>
<html lang="e... | 2.300583 | a60f7b492a2b1a90dfe3684c637fc41e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95372 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "infobip/infobip-api-csharp-client",
"max_stars_repo_path": "src/Infobip.Api.Client/Model/SmsDeliveryTime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95373"
} | starcoder | /*
* Infobip Client API Libraries OpenAPI Specification
* OpenAPI specification containing public endpoints supported in client API libraries.
*
* Contact: <EMAIL>
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*/
using System;
u... | 2.422887 | acbf90797b018973be2aa5abf53eec11 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95373 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "horseyhorsey/Hypermint.2.0",
"max_stars_repo_path": "src/Modules/Hs.Hypermint.Audits/Views/HsMediaAuditView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95374"
} | starcoder | <reponame>horseyhorsey/Hypermint.2.0
using System.Windows.Controls;
namespace Hs.Hypermint.Audits.Views
{
public partial class HsMediaAuditView : UserControl
{
public HsMediaAuditView()
{
InitializeComponent();
}
}
}
| 1.013873 | 5907364fda69567565d5436ab9ab1cc1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95374 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lvermeulen/Dynatrace.Net",
"max_stars_repo_path": "src/Dynatrace.Net/Configuration/Services/Models/CustomService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95375"
} | starcoder | <reponame>lvermeulen/Dynatrace.Net
using System.Collections.Generic;
using Dynatrace.Net.Common.Converters;
using Dynatrace.Net.Common.Models;
using Newtonsoft.Json;
namespace Dynatrace.Net.Configuration.Services.Models
{
public class CustomService
{
public ConfigurationMetadata Metadata { get; set; }
... | 1.633179 | c7d80729d63e107b72d6674acdb3ebeb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95375 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mishin870/ModTool",
"max_stars_repo_path": "ModTool.Shared.Editor/AssetUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95376"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using UnityEngine;
using UnityEditor;
namespace ModTool.Shared.Editor {
/// <summary>
/// A set of utilities for handling assets.
/// </summary>
public static class AssetUtility {
/// <summary>
/// Find... | 2.661707 | 46be01a66552bdf677b7f028911b4606 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95376 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Danqingii/BDFramework.Core",
"max_stars_repo_path": "Packages/com.popo.bdframework/Editor/EditorPipeline/HotfixPipeline/HotfixFileConfigLogic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95377"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using LitJson;
using UnityEditor;
namespace BDFramework.Editor.HotfixPipeline
{
/// <summary>
/// 热更文件配置逻辑
/// </summary>
public class HotfixFileConfigLogic
{
/// <summary>
/// 热更文件配置... | 2.458052 | 7d804edb1e7ba25cb1d1a36624fc1982 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95377 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ESA-Security-Group/ej2-aspnetmvc-samples",
"max_stars_repo_path": "Controllers/Button/ButtonGroupController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95378"
} | starcoder | <reponame>ESA-Security-Group/ej2-aspnetmvc-samples<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Syncfusion.EJ2;
namespace EJ2MVCSampleBrowser.Controllers.Button
{
public partial class ButtonController : Controller
{
public A... | 1.353373 | 536963a4fe178c3ea929cabf9efc0c7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95378 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rold2007/kerglerec",
"max_stars_repo_path": "Src/Kerglerec/Food.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95379"
} | starcoder | // <copyright file="Food.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
namespace Kerglerec
{
using System;
/// <summary>
/// Manages food quantities.
/// </summary>
public sealed record Food
{
/// <summary>
/// Initializes a new instance of the <see... | 3.265726 | 241c3f1f23349316fcd63db67211a55f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95379 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sugartomato/AllProjects",
"max_stars_repo_path": "[OtherProjects]/KK.SaveAndResotreDesktopIconPosition/KK.SARIcon/KK.SARIcon/frmMain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95380"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Xml.Linq;
namespace KK.SARIcon
{
public partial class frmMain : Form
{
... | 2.379515 | e7b61fe4b0198d779ad3ea81118f86c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95380 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "zunkas/swedbank-pay-sdk-dotnet",
"max_stars_repo_path": "src/SwedbankPay.Sdk.Infrastructure/PaymentOrders/PaymentOrderCaptureRequestDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95381"
} | starcoder | <filename>src/SwedbankPay.Sdk.Infrastructure/PaymentOrders/PaymentOrderCaptureRequestDto.cs<gh_stars>1-10
namespace SwedbankPay.Sdk.PaymentOrders
{
internal class PaymentOrderCaptureRequestDto
{
public PaymentOrderCaptureRequestDto(PaymentOrderCaptureRequest payload)
{
Transaction =... | 1.974293 | 1aa243ec07af93f6bff0b948f155dca1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95381 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "Arkhorse/RelhaxModpack",
"max_stars_repo_path": "RelhaxLegacy/RelicModManager/DatabaseComponents/Category.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95382"
} | starcoder | using System.Collections.Generic;
using System.Windows.Forms;
using RelhaxModpack.UIComponents;
namespace RelhaxModpack
{
/// <summary>
/// a catagory is what makes up each tab in the mod selection dislpay window. It holds the first level of list of SelectablePackages
/// </summary>
public class Categ... | 2.763555 | 179bc5f8468b7b842cd80e18358d1477 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95382 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dobri19/TelerikHomeWork",
"max_stars_repo_path": "03C#SDA/05-WorkShop01/04LargestAreaV2/DFS.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95383"
} | starcoder | <reponame>dobri19/TelerikHomeWork
using System;
namespace _04LargestAreaV2
{
public class DFS
{
public static void Main(string[] args)
{
string[] input = Console.ReadLine().Split(' ');
int rows = int.Parse(input[0]);
int cols = int.Parse(input[1]);
... | 3.344365 | 14ef0b005bd2b75ad28a7e2d4a36563c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95383 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tonkatawe/SoftUni-Advanced",
"max_stars_repo_path": "Advanced/Stacks and Queues - Exercise/02. Basic Queue Operations/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95384"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace _02._Basic_Queue_Operations
{
class Program
{ //75/100 have to check ? why
static void Main(string[] args)
{
var nsx = Console.ReadLine().Split().Select(int.Pa... | 3.5207 | f6919544ec634c800de0447d62620743 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95384 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CNinnovation/ASPNETCoreDec2017",
"max_stars_repo_path": "MarkusG/di-example/di-example/IHelloService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95385"
} | starcoder | namespace di_example
{
public interface IHelloService
{
string Hello(string name);
}
} | 1.985913 | 703802aa41877677f0da0795ff27aee3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95385 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Smyrechynskyi/ECommerce-microservices",
"max_stars_repo_path": "ECommerce.Api.Orders/Db/Entities/Order.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95386"
} | starcoder | <filename>ECommerce.Api.Orders/Db/Entities/Order.cs
using System;
using System.Collections.Generic;
namespace ECommerce.Api.Orders.Db.Entities
{
public class Order
{
public int Id { get; set; }
public int CustomerId { get; set; }
public DateTime OrderDate { get; set; }
public i... | 2.109061 | 2a07863aa2d03c6d8766552a2015c2ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95386 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CleAurora/Cleveland_Clinic",
"max_stars_repo_path": "BackEnd-Projeto/Web.Senai.ClevelandClinic/Web.Senai.ClevelandClinic/Domains/Situacao.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95387"
} | starcoder | using System;
using System.Collections.Generic;
namespace Web.Senai.ClevelandClinic.Domains
{
public partial class Situacao
{
public Situacao()
{
Medicos = new HashSet<Medicos>();
}
public int IdSituacao { get; set; }
public string Nome { get; ... | 1.853287 | e6b1684f0b700ddcce02976b42d86e84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95387 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "phongnguyend/DddDotNet",
"max_stars_repo_path": "src/DddDotNet/DddDotNet.Infrastructure/Interceptors/LoggingInterceptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95388"
} | starcoder | <reponame>phongnguyend/DddDotNet
using Castle.DynamicProxy;
using Microsoft.Extensions.Logging;
using System.Diagnostics;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace DddDotNet.Infrastructure.Interceptors
{
public class LoggingInterceptor : IInterceptor
{
private readonly IL... | 2.3171 | b11a6e261882afc67b2096c5d51ac772 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95388 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ApanLoon/EmpyrionStuff",
"max_stars_repo_path": "src/epb/EPBLab/ViewModel/Logic/LogicNodeViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95389"
} | starcoder | <reponame>ApanLoon/EmpyrionStuff
using System.Collections.ObjectModel;
using System.Windows;
using GalaSoft.MvvmLight;
namespace EPBLab.ViewModel.Logic
{
public class LogicNodeViewModel : ViewModelBase
{
public ObservableCollection<ConnectionPointViewModel> Inputs { get => _Inputs; protected set => ... | 2.162739 | 58631ebb88dc5a4626dddfae3c8def40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95389 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "sharkoz/StandardSocketsHttpHandler",
"max_stars_repo_path": "StandardSocketsHttpHandler.FunctionalTests/Helpers/SecurityHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95390"
} | starcoder | <filename>StandardSocketsHttpHandler.FunctionalTests/Helpers/SecurityHelper.cs
using System.Net.Security;
namespace System.Net.Http
{
public class SecurityHelper
{
public static RemoteCertificateValidationCallback AllowAllCertificates { get; } = (RemoteCertificateValidationCallback)((sender, cer... | 1.982032 | bac454ac4042fc575bad4a9c76ed5d75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95390 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "manjogsingh/Data-Visionaire",
"max_stars_repo_path": "Assets/Scripts/ButtonController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95391"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using DG.Tweening;
using UnityEngine;
public class ButtonController : MonoBehaviour {
public Transform buttonParent;
public GameObject subMenu;
List<Transform> buttons;
void Awake () {
buttons = new List<Transform> ();
buttonParent.GetComponentsInCh... | 2.380346 | e4c075200cd8a55025bcfade6afb2016 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95391 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "inthefabric/FabricSharpClient",
"max_stars_repo_path": "Solution/Fabric.Clients.Cs.Test/Fixtures/TSpec.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95392"
} | starcoder | <filename>Solution/Fabric.Clients.Cs.Test/Fixtures/TSpec.cs
using System;
using Fabric.Clients.Cs.Spec;
using Fabric.Clients.Cs.Spec.SpecDto;
using NUnit.Framework;
namespace Fabric.Clients.Cs.Test.Fixtures {
/*================================================================================================*/
[Tes... | 2.117253 | d7e43f364fd6f40b0187615be63a81db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95392 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "XpiritBV/app-evolve",
"max_stars_repo_path": "src/XamarinEvolve.Utils.NetStandard/Helpers/Clock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95393"
} | starcoder | using System;
using System.Diagnostics;
namespace XamarinEvolve.Utils
{
/// <summary>
/// Represents the current Clock / Calendar
/// and allows for overriding the value of "Now" (current time) for testing
/// </summary>
public static class Clock
{
public static void Reset()
{... | 2.973518 | 93b1a3cb180f284ca1cff20a34d28fc9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95393 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "stephannielsen/ShittyLINQ",
"max_stars_repo_path": "ShittyLinqTests/TestHelpers/Person.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95394"
} | starcoder | <filename>ShittyLinqTests/TestHelpers/Person.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace ShittyTests.TestHelpers
{
public class Person
{
public Person(string name, int age, string job, string color)
{
Name = name;
Age = age;
... | 3.335561 | 9118960b2173719d1dff63a0dc737316 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95394 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "bradleyccaggiano/SagePayMvc",
"max_stars_repo_path": "src/SagePayMvc.Tests/ConfigurationTester.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95395"
} | starcoder | #region License
// Copyright 2009 The Sixth Form College Farnborough (http://www.farnborough.ac.uk)
//
// 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.o... | 2.179208 | b709f3acc1cbc617ff4cb270f59cfa33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95395 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "OmegaRogue/AntMeCore",
"max_stars_repo_path": "CoreTestClient/LevelSelectorForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95396"
} | starcoder | using AntMe.Runtime;
using System;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
namespace CoreTestClient
{
public partial class LevelSelectorForm : Form
{
public LevelInfo SelectedLevel { get; private set; }
public LevelSelectorForm()
{
InitializeC... | 2.396483 | 872c3aa03c8f78780ad435bd9e07513e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95396 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "superwalnut/markdown-gist-transform",
"max_stars_repo_path": "Commands/MediumCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95397"
} | starcoder | using System;
using MarkdownToGist.Attributes;
using MarkdownToGist.Interfaces;
using MarkdownToGist.Models;
using Serilog;
namespace MarkdownToGist.Commands
{
[AutofacRegistrationOrder(3)]
public class MediumCommand : BaseConsoleCommand
{
private readonly ILogger _logger;
private readonly... | 2.737966 | ef35d853342b47f62c8fd50db4310ff9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95397 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "MatthewGerber/sensus",
"max_stars_repo_path": "Sensus.iOS/AppDelegate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95398"
} | starcoder | // Copyright 2014 The Rector & Visitors of the University of Virginia
//
// 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 req... | 1.462877 | ee8d6cb78fc38e5565f6159101b7ec43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95398 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Xyaneon/Xyaneon.Games.Dice",
"max_stars_repo_path": "Xyaneon.Games.Dice/Die.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95399"
} | starcoder | <reponame>Xyaneon/Xyaneon.Games.Dice
using System;
using System.Collections.Generic;
using System.Linq;
namespace Xyaneon.Games.Dice
{
/// <summary>
/// A generic die class.
/// </summary>
/// <typeparam name="TFace">The type of faces the die will have.</typeparam>
/// <remarks>
/// Each <see ... | 3.486743 | 584853411815a22078f8dbdb84bf9001 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95399 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "LuisBosquez/Scavenger",
"max_stars_repo_path": "src/Unity/Assets/Scripts/ItemClickHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95400"
} | starcoder | using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.SceneManagement;
public class ItemClickHandler : MonoBehaviour, IPointerClickHandler
{
public void OnPointerClick(PointerEventData eventData)
{
ListItem li = GetComponent<ListItem>();
Debug.Log($"Clicked: {li.item.Name}");
// don't allow... | 2.37023 | 3489c012c83daa02602073f2b1c9b8d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95400 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Saria-houloubi/SaveMyData",
"max_stars_repo_path": "SaveMyDataServer/Controllers/RecordController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95401"
} | starcoder | <reponame>Saria-houloubi/SaveMyData
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using MongoDB.Bson;
using Newtonsoft.Json.Linq;
using SaveMyDataServer.Controllers.Base;
using SaveMyDataServer.Core.IServices;
using SaveMyDataServer.Models;
using SaveMyDataS... | 2.454038 | e6bd2d7f5ef5300aad637057c194260b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95401 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "carltoncolter/dyn-req-mgmt",
"max_stars_repo_path": "Plugins/Entities/account/PreCreateSample.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95402"
} | starcoder | using System;
using System.Diagnostics.CodeAnalysis;
using Microsoft.Xrm.Sdk;
using Plugins.Common;
using Plugins.Common.Attributes;
namespace Plugins.Entities.account
{
// TODO: Replace with first needed plugin. Just starter code so there is a testable plugin in the template
/// <summary>
/// The sample... | 2.326915 | a9c018b5af6d18cb5d982b17207f025a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95402 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "adrtarnowski/PortsAndAdapters",
"max_stars_repo_path": "Kitbags/Kitbag.Builder.Persistence.EntityFramework.UnitOfWork/Extensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95403"
} | starcoder | using Kitbag.Builder.Core.Builders;
using Kitbag.Builder.Persistence.Core.Common;
using Kitbag.Persistence.EntityFramework.UnitOfWork.Common;
using Microsoft.Extensions.DependencyInjection;
namespace Kitbag.Persistence.EntityFramework.UnitOfWork
{
public static class Extensions
{
public static IKitbag... | 1.920206 | 17d5682028fc418b81149c4399676eb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95403 | {
"extension": "c-sharp",
"max_stars_count": "650.0",
"max_stars_repo_name": "dariabokareva/vk",
"max_stars_repo_path": "VkNet/Model/RequestParams/Leads/GetUsersParams.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95404"
} | starcoder | using System;
using Newtonsoft.Json;
using VkNet.Enums;
namespace VkNet.Model.RequestParams.Leads
{
/// <summary>
/// </summary>
[Serializable]
public class GetUsersParams
{
/// <summary>
/// Идентификатор рекламной акции.
/// </summary>
[JsonProperty(propertyName: "offer_id")]
public ulong OfferId { ge... | 2.469868 | 86b107ccf018e0bd6ce4f9f292c7c352 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95404 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CedricYao/CF-FeatureFlags",
"max_stars_repo_path": "FeatureFlags/FeatureFlags.Core/Feature.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95405"
} | starcoder | namespace FeatureFlags
{
public class Feature : IFeature
{
public Feature(bool isEnabled, string name)
{
IsEnabled = isEnabled;
Name = name;
}
public bool IsEnabled { get; }
public string Name { get; }
}
} | 2.420407 | 04726df2dc7bf51176c5e4bc455b525e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95405 | {
"extension": "c-sharp",
"max_stars_count": "185.0",
"max_stars_repo_name": "itshawi/data-accelerator",
"max_stars_repo_path": "Services/DataX.Config/DataX.Config.Test/CustomRuntimeConfigGenerationTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95406"
} | starcoder | <reponame>itshawi/data-accelerator
// *********************************************************************
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License
// *********************************************************************
using DataX.Config.ConfigDataModel;
using ... | 1.587257 | d7a4dc8ad37da4875cb4e749186c470d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95406 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Visual-Studio-projects/ActiveDirectorySearch",
"max_stars_repo_path": "CS/Scripts/ErrorHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95407"
} | starcoder | <reponame>Visual-Studio-projects/ActiveDirectorySearch
using System;
using System.Text;
using System.Windows.Forms;
// <summary>
// This namespaces if for generic application classes
// </summary>
namespace ADSearch.Scripts
{
/// <summary>
/// Used to handle exceptions
/// </summary>
public class Er... | 2.943441 | 2671f223ef26b69f4affeebe3f4f5468 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95407 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dissolving-in-Eternity/GigHub",
"max_stars_repo_path": "GigHub/Persistence/EntityConfigurations/GenreConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95408"
} | starcoder | using GigHub.Core.Models;
using System.Data.Entity.ModelConfiguration;
namespace GigHub.Persistence.EntityConfigurations
{
/// <summary>
/// EF configuration settings for Genre class using Fluent API
/// </summary>
public class GenreConfiguration : EntityTypeConfiguration<Genre>
{
public G... | 2.593994 | 0814a625ee8608d672799bc8fe9db62e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95408 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aashmani/AutomationFramework",
"max_stars_repo_path": "Microsoft.Dynamics365.UIAutomation.Api/Pages/XrmRelatedGridPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95409"
} | starcoder | <gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using Microsoft.Dynamics365.UIAutomation.Browser;
using OpenQA.Selenium;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading;
namespa... | 2.340426 | fbf130c5438a100437bbe564a877b36b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95409 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "vostok/vstk.airlock.consumer",
"max_stars_repo_path": "Vostok.Airlock.Consumer.IntergationTests/LogsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95410"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Elasticsearch.Net;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using Vostok.Airlock.Logging;
using Vostok.Logging;
namespace Vostok.Airlock.Consumer.IntergationTests
{
public class LogsTests
{
private stat... | 2.285725 | 996fa472293e6bd1476444f6a5b3ca1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95410 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "23SAMY23/Meet-and-Greet-MR",
"max_stars_repo_path": "Meet & Greet MR (AR)/Assets/_AR game/Scripts/VoiceChat Scripts/HighlightVoice.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95411"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Photon.Voice.PUN;
public class HighlightVoice : MonoBehaviour
{
[SerializeField]
private Image micImage;
[SerializeField]
private Image speakerImage;
[SerializeField]
private PhotonVoi... | 1.694532 | b3a4f4a6d9b601601dd69407cf675cda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95411 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikos-nikolaidis/RiddleGame",
"max_stars_repo_path": "RiddleGame.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95412"
} | starcoder | using System;
namespace TheRiddleGame
{
class Program
{
static void Main(string[] args) //this is a method
{
string HiddenWorld = "silence";
string guess = "";
int guessCount = 0;
int guessLimit= 3;
bool outOfGyesses = false;
... | 3.800616 | c5c320b337dd801e03c7b37adc978650 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95412 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "paviad/MarcusW.VncClient",
"max_stars_repo_path": "src/MarcusW.VncClient/Protocol/Implementation/Services/Transports/TransportConnector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95413"
} | starcoder | using System;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
using MarcusW.VncClient.Protocol.Services;
using Microsoft.Extensions.Logging;
namespace MarcusW.VncClient.Protocol.Implementation.Services.Transports
{
/// <inheritdoc />
public class TransportConne... | 2.255828 | c3f78cd7b238b7de338ff32274fb8e99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95413 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ITVenture/ITVComponents",
"max_stars_repo_path": "ITVComponents.WebCoreToolkit/Extensions/DependencyExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95414"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using ITVComponents.WebCoreToolkit.BackgroundProcessing;
using ITVComponents.WebCoreToolkit.Configuration;
using ITVComponents.WebCoreToolkit.Configuration.Impl;
using ITVCompon... | 1.754741 | 00b10f70b18dbb9350ca6d5e46d4d4d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95414 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JamesVeug/RoomMover",
"max_stars_repo_path": "Assets/Scripts/TapButton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95415"
} | starcoder | public class TapButton : Triggerable
{
public AudioClipType PressSound = AudioClipType.ButtonPress;
public Triggerable TriggerOnPush = null;
private bool isPressed = false;
public void OnPush()
{
if(TriggerOnPush != null)
{
if (!isPressed)
{
... | 2.561779 | 71357ef63095830896d296e1a9349829 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95415 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "citizenmatt/AgUnit",
"max_stars_repo_path": "src/DummyTests/VS2010/DummyTests.DotNetXUnit/DummyTests1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95416"
} | starcoder | using System;
using Xunit;
namespace DummyTests.DotNetXUnit
{
public class TestFixture1
{
[Fact]
public void PassingTest1()
{
}
[Fact]
public void FailingTest1()
{
Assert.True(false);
}
[Fact(Skip="Ignore this test")]
... | 2.260656 | 7918bcb04f5b29072aff6839fd831afe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95416 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "econmed/ImageServer20",
"max_stars_repo_path": "Ris/Client/Formatting/ExternalPractitionerContactPointFormat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95417"
} | starcoder | <gh_stars>1-10
#region License
// Copyright (c) 2009, ClearCanvas Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the abov... | 2.14697 | e5a96ca30476e93c97db7401c0678c0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95417 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ValdeirLevelUP/GJ2021",
"max_stars_repo_path": "Assets/Scripts/Lanterna/LanternaController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95418"
} | starcoder | <filename>Assets/Scripts/Lanterna/LanternaController.cs<gh_stars>0
using UnityEngine;
/// <summary>
/// Script responsavel por controlar lanterna.
/// </summary>
public class LanternaController : MonoBehaviour
{
#region PRIVATE VARIABLES
private SpriteMask _iluminacao;
private Transform _transform;
... | 2.627933 | 8a33ce16cc5061cd96b978bc4c69e970 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95418 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dp9u0/Notebook-DotNet",
"max_stars_repo_path": "src/Linq/SimpleQueryProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95419"
} | starcoder | <filename>src/Linq/SimpleQueryProvider.cs<gh_stars>0
using System;
using System.Linq;
using System.Linq.Expressions;
namespace Linq {
class SimpleQueryProvider : IQueryProvider {
public IQueryable<TElement> CreateQuery<TElement>(Expression expression) {
return new SimpleQueryable<TElement>(ex... | 2.889366 | e477d11d3288d7270f4fe1548a1b4746 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95419 | {
"extension": "c-sharp",
"max_stars_count": "360.0",
"max_stars_repo_name": "arves100/SLikeNet",
"max_stars_repo_path": "bindings/csharp/interfaces/RakNetListColumnDescriptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95420"
} | starcoder | /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... | 1.837614 | 5574655ff6cf3c910326c6af580f0c95 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95420 | {
"extension": "c-sharp",
"max_stars_count": "206.0",
"max_stars_repo_name": "daveaglick/FluentBootstrap",
"max_stars_repo_path": "FluentBootstrap.WebPages/WebPagesBootstrapHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95421"
} | starcoder | <filename>FluentBootstrap.WebPages/WebPagesBootstrapHelper.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Web.WebPages;
namespace FluentBootstrap.WebPages
{
public class WebPagesBootstrapHelper ... | 1.943645 | b24b578ee89b6878fbe74e3935a12293 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95421 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mikebrind/Razor-Pages-In-Action",
"max_stars_repo_path": "Chapter02/MiddlewareClassExamples/WebApplication1/IpAddressMiddleware.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95422"
} | starcoder | namespace WebApplication1
{
public class IpAddressMiddleware
{
private readonly RequestDelegate _next;
public IpAddressMiddleware(RequestDelegate next) => _next = next;
public async Task InvokeAsync(HttpContext context, ILogger<IpAddressMiddleware> logger)
{
var ip... | 2.9463 | 0b7ddc239f5435e7daf77bb2f8f5008b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95422 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sorasu2113/CreateShortcutForUnityWin",
"max_stars_repo_path": "Assets/Editor/Sorasu/ShortcutCreatorForWindows/Createshortcut.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95423"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using UnityEditor;
/// <summary>
/// 直接起動できるShortcutを作るやつ
///
/// 青木そらす
///
/// Twitter:@oepn_sorasu
///
/// 参考
/// https://dobon.net/vb/dotnet/file/createshortcut.html
// https://qiita.com/y-takano/items/b94312abc17159dc... | 2.300558 | 90bbb580ec78288b508a75e1e19c7c31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95423 | {
"extension": "c-sharp",
"max_stars_count": "59.0",
"max_stars_repo_name": "dukeofharen/httplaceholder",
"max_stars_repo_path": "src/HttPlaceholder.Application.Tests/StubExecution/RequestStubGeneration/PathHandlerFacts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95424"
} | starcoder | <reponame>dukeofharen/httplaceholder
using System.Threading.Tasks;
using HttPlaceholder.Application.StubExecution.RequestStubGeneration.Implementations;
using HttPlaceholder.Domain;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace HttPlaceholder.Application.Tests.StubExecution.RequestStubGeneration
{
... | 2.406263 | 6f252fe1e3b7b4f923b50f739f0c6236 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95424 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "farisl/InventoryManagementSoftware",
"max_stars_repo_path": "InventoryManagementSoftware/InventoryManagementSoftware/Migrations/20210910211641_DataUpdate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95425"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace InventoryManagementSoftware.Migrations
{
public partial class DataUpdate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.InsertData(
table: "Export... | 2.117067 | afeca525887ddd2d5bc64379ee230ca7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95425 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "lexchou/Aspose.3D-for-.NET",
"max_stars_repo_path": "Examples/CSharp/3DModeling/Primitive3DModels.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95426"
} | starcoder | using System;
using System.IO;
using System.Collections;
using Aspose.ThreeD;
using Aspose.ThreeD.Animation;
using Aspose.ThreeD.Entities;
using Aspose.ThreeD.Formats;
namespace Aspose._3D.Examples.CSharp._3DModeling
{
class Primitive3DModels
{
public static void Run()
{
... | 2.826749 | 51c35116abe01de8e0051ae63267b8f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95426 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "cstheriot/aspnet-api-versioning",
"max_stars_repo_path": "test/Acceptance.Test.Shared/AcceptanceTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95427"
} | starcoder | <reponame>cstheriot/aspnet-api-versioning
#if WEBAPI
namespace Microsoft.Web
#else
namespace Microsoft.AspNetCore.Mvc
#endif
{
using System;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Xunit;
using static System... | 1.906851 | 6448efb1587ffea664ca63b622bc6660 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95427 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "PotentialGames/Cal-tEspa-l",
"max_stars_repo_path": "BRGAME/Assets/Devdog/General/Editor/GameRules/DefaultRules/MissingComponentReferencesRule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95428"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Devdog.General.Editors.GameRules;
using UnityEditor;
using UnityEngine;
namespace Assets.Devdog.General.Editor.GameRules.DefaultRules
{
public class MissingComponentReferencesRule : GameRuleBase
{
public overri... | 2.104719 | addaee89e9ff7a2f1ec18e78273b054e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95428 | {
"extension": "c-sharp",
"max_stars_count": "55.0",
"max_stars_repo_name": "tgiachi/Neon.HomeControl",
"max_stars_repo_path": "Neon.HomeControl.StandardScriptLibrary/Services/ComponentsServiceScriptObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95429"
} | starcoder | <gh_stars>10-100
using Microsoft.Extensions.Logging;
using Neon.HomeControl.Api.Core.Attributes.ScriptService;
using Neon.HomeControl.Api.Core.Interfaces.Managers;
namespace Neon.HomeControl.StandardScriptLibrary.Services
{
/// <summary>
/// Bridge for control components
/// </summary>
[ScriptObject("components")... | 2.203096 | d88f1babea62a8f0e75814889e586765 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95429 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Huzecode/API.Hotels",
"max_stars_repo_path": "Com.API.Hotels.Infrastructure/Data/AppDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95430"
} | starcoder | <reponame>Huzecode/API.Hotels
using Com.API.Hotels.Core.Aggregates;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Com.API.Hotels.Infrastructure.Data
{
... | 2.103026 | 8f7af2fdeb3356b0e2548a38ad805de7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95430 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alfusinigoj/sqlserver_dacpac_utility",
"max_stars_repo_path": "src/Dacpac.Util/Processors/IProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95431"
} | starcoder | using Microsoft.Data.SqlClient;
namespace PivotalServices.DacpacDeploy.Utility
{
public interface IProcessor
{
void Execute(DacpacOptions options);
}
}
| 1.209221 | 62456ea231f4be56d00e2e6d1579ee0a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95431 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nori-nori/log2syslog",
"max_stars_repo_path": "log2Syslog/SubDiag.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95432"
} | starcoder | <filename>log2Syslog/SubDiag.xaml.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using S... | 2.337012 | f35cbb8b1e60a7494c90664c43929b44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95432 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "miguelblancoguerrero/ProyectoIntegrador5S",
"max_stars_repo_path": "ProyectoIntegrador/Models/DBModels/HistoriaMedica.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95433"
} | starcoder | <filename>ProyectoIntegrador/Models/DBModels/HistoriaMedica.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
using System.ComponentModel;
namespace ProyectoIntegrador.Models.DBModel... | 2.188947 | c6ddf9a7644ad65f3eb8235373cd8fcb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "welchi/mobile_vtuber_system",
"max_stars_repo_path": "Assets/DlibWebCamFaceDetector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95434"
} | starcoder | <filename>Assets/DlibWebCamFaceDetector.cs<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using DlibFaceLandmarkDetector;
using DlibFaceLandmarkDetector.UnityUtils;
public class DlibWebCamFaceDetector : MonoBehaviour
{
// トラッキング状況を表示する... | 2.308504 | 2b16192ce900a752cccf1d1f9a6d7434 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95434 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "riganti/dotvvm-diagnostics-server-side-cache",
"max_stars_repo_path": "src/DotVVM.Diagnostics.ServerSideCache/Services/SmallPostBackStatsEntry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95435"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
namespace DotVVM.Diagnostics.ServerSideCache.Services
{
public class SmallPostBackStatsEntry
{
public string RouteName { get; set; }
public long ClientToServerDiffBytes { get; set; }
public long Estima... | 1.400629 | 6f7ac3f5a4422d0da6ac5f6621dcd58e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95435 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OwenMcDonnell/QuikGraph",
"max_stars_repo_path": "tests/QuikGraph.Tests/Algorithms/EulerianTrailAlgorithmTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95436"
} | starcoder | using System;
using System.Collections.Generic;
using JetBrains.Annotations;
using NUnit.Framework;
using QuikGraph.Algorithms;
namespace QuikGraph.Tests.Algorithms
{
/// <summary>
/// Tests for <see cref="EulerianTrailAlgorithm{TVertex,TEdge}"/>.
/// </summary>
[TestFixture]
internal class Euleria... | 2.714534 | fb7cf11393af0ea35ec09eb6b9d212a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95436 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mikedll/dscrib",
"max_stars_repo_path": "DScrib2/HandleGSecretFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95437"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Configuration;
namespace DScrib2
{
public class HandleGSecretFilter : IActionFilter
{
private IConfig... | 1.974735 | 422f932c04664559f8581cff7ff8726e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95437 | {
"extension": "c-sharp",
"max_stars_count": "72.0",
"max_stars_repo_name": "m4ta1l/vinchuca",
"max_stars_repo_path": "Agent/Upnp/Mapping.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95438"
} | starcoder | using System;
using System.Net;
namespace Vinchuca.Upnp
{
enum MappingLifetime
{
Permanent,
Session,
Manual,
ForcedSession
}
public enum Protocol
{
Tcp,
Udp
}
public class Mapping
{
private DateTime _expiration;
private int _lifetim... | 2.488429 | 37255097c6b585a631d57ef759a7f999 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95438 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "r00f/LeyLineNetworking",
"max_stars_repo_path": "workers/unity/Assets/Scripts/ECSPrototype/Components/UnitComponents/HasActionTags/LockedAttackTag.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95439"
} | starcoder | using Unity.Entities;
public struct LockedAttackTag : IComponentData
{
}
| 1.069458 | 3a641964ad61088fa8fb151ab1081004 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95439 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "khenidak/Router",
"max_stars_repo_path": "src/RouterLib/Router/LoadBalanceIdx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95440"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RouterLib
{
//acts as a contaner for loadbalance state
internal class LoadBalanceIdx
{
public int Idx = -1;
}
}
| 1.460721 | fcfd9a9d659c18d0ca9906ff524f345e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95440 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AmirSajjadYousefi/FireInsurance",
"max_stars_repo_path": "FireInsurance.Repository/Base/IGenericRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95441"
} | starcoder | <filename>FireInsurance.Repository/Base/IGenericRepository.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace FireInsurance.Repository.Base
{
public interface IGenericRepository<T> where T : class
{
... | 2.463812 | ca05364c29df4e6e920338d701913c33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95441 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmarchand/billboardery",
"max_stars_repo_path": "billboardery/Library/PackageCache/com.unity.shadergraph@12.1.2/Editor/Generation/Targets/BuiltIn/Editor/ShaderUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95442"
} | starcoder | using UnityEditor.Rendering.BuiltIn.ShaderGraph;
using UnityEditor.ShaderGraph;
using UnityEngine;
namespace UnityEditor.Rendering.BuiltIn
{
public static class ShaderUtils
{
internal enum ShaderID
{
Unknown = -1,
// ShaderGraph IDs start at 1000, correspond to subtarge... | 2.045755 | 6d815813b0cada30a0dc44d479d20dc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95442 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CourageAndrey/AI",
"max_stars_repo_path": "Code/Modules/Inventor.Semantics.WPF/Localization/Localizator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95443"
} | starcoder | <reponame>CourageAndrey/AI<filename>Code/Modules/Inventor.Semantics.WPF/Localization/Localizator.cs
using System;
using System.Collections.Generic;
using Inventor.Semantics.Localization;
namespace Inventor.Semantics.WPF.Localization
{
public class Localizator : ILanguage
{
private ILanguage _language;
public ... | 1.901813 | f66e820d2b35c88ddd58ce313f87a577 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95443 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Adconsulting/BaseSolution",
"max_stars_repo_path": "BaselineSolution.Framework/Infrastructure/Sorting/OrderByEntitySorter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95444"
} | starcoder | <filename>BaselineSolution.Framework/Infrastructure/Sorting/OrderByEntitySorter.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using BaselineSolution.Framework.Extensions;
using BaselineSolution.Framework.Infrastructure.Contr... | 2.963495 | a1788f8968094446b965a0d51fe0479f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95444 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sholev/SoftUni",
"max_stars_repo_path": "C#-WebDeveloper-3.0/Advanced-C#-May-2016/Exercises/SetsAndDictionaries/LegoBlocks/LegoBlocks.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95445"
} | starcoder | namespace ProblemsWithMatrices
{
using System;
using System.Linq;
class LegoBlocks
{
static void Main(string[] args)
{
int rows = int.Parse(Console.ReadLine());
int[][] firstArray = new int[rows][];
int[][] secondArray = new int[rows][];
... | 3.876963 | 70aa65d10c202098c50a54ded8351b3d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95445 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "scottdorman/cadru",
"max_stars_repo_path": "src/Cadru.Data.Dapper/TrackedEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95446"
} | starcoder | //------------------------------------------------------------------------------
// <copyright file="TrackedEntity.cs"
// company="<NAME>"
// library="Cadru">
// Copyright (C) 2001-2020 <NAME>.
// </copyright>
//
// <license>
// Licensed under the Microsoft Public License (Ms-PL) (the "License");
// you may... | 2.704706 | 008a437ea23b3735f10d499c76431485 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95446 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fiasqo/PeepoRot-Chatbot",
"max_stars_repo_path": "Source/Fiasqo.PeepoRotChatbot/ViewModel/Pages/ModToolsViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95447"
} | starcoder | using System;
using System.ComponentModel;
using System.Windows;
using Fiasqo.PeepoRotChatbot.Common.Utilities;
using Fiasqo.PeepoRotChatbot.Domain;
using Fiasqo.PeepoRotChatbot.Domain.Commands;
using Fiasqo.PeepoRotChatbot.Model.Data;
using Fiasqo.PeepoRotChatbot.Model.ShittyBot;
using Settings = Fiasqo.PeepoRotChatb... | 2.185698 | f28105c174177e5570d0c9bda9869da0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95447 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nzkelvin/PlayCode",
"max_stars_repo_path": "Unity Projects/Unity Katas/Assets/Scripts/CameraController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95448"
} | starcoder | using UnityEngine;
using System.Collections;
public class CameraController : MonoBehaviour {
public float XSensitivity = 0.6f;
public float YSensitivity = 0.6f;
private float _rotationEulerX = 0.0f;
private float _rotationEulerY = 0.0f;
// Use this for initialization
void Start () {
Vector3... | 2.50107 | ca760bf7ebd251b128e41923f26a411f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95448 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "julianz/advent-2020",
"max_stars_repo_path": "Advent/Year2021/Day09.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95449"
} | starcoder | <filename>Advent/Year2021/Day09.cs
using System;
using System.Collections.Generic;
using System.Linq;
using MoreLinq;
using Advent.Util;
namespace Advent.Year2021 {
[Day(2021, 9)]
public class Day09 : DayBase {
public override string PartOne(string input) {
var totalRisk = 0;
... | 3.43404 | 1a26f688876d29717e67e58dd2802d59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95449 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tarojun/HumanoidProject",
"max_stars_repo_path": "Source/Unused/GenerationWorker/GenStep_BasicGeneration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95450"
} | starcoder | using System;
using System.Linq;
using RimWorld;
using RimWorld.BaseGen;
using UnityEngine;
using Verse;
namespace GenerationWorker
{
// Token: 0x02000021 RID: 33
public class GenStep_BasicGeneration : GenStep
{
// Token: 0x17000009 RID: 9
// (get) Token: 0x06000068 RID: 104 RVA: 0x00004522 File Offset: 0x0000... | 1.796903 | cf3e022050cb0b9d63f01e5c844917b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95450 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RoseLeBlood/libral",
"max_stars_repo_path": "liboRg/System/Math/Colors.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95451"
} | starcoder | //
// Colors.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2014 <NAME>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
//... | 2.324073 | d547fe927be481ad61bf63ef0456872b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95451 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "detoxstudios/uscript",
"max_stars_repo_path": "uScript_Dev/Assets/DetoxDevTools/Editor/Promotion/PromotionAddWindow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95452"
} | starcoder | <filename>uScript_Dev/Assets/DetoxDevTools/Editor/Promotion/PromotionAddWindow.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PromotionAddWindow.cs" company="Detox Studios, LLC">
// Copyright 2010-2015 Detox Studios, LLC. ... | 1.905837 | c9673d252fac75965fd2767d63e114c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95452 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "justinschoonover/ComposableAsync",
"max_stars_repo_path": "Concurrent.Channel/IInChannel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95453"
} | starcoder | using System;
namespace Concurrent.Channel
{
/// <summary>
/// InChannel interface
/// </summary>
/// <typeparam name="T"></typeparam>
public interface IInChannel<in T>: IObserver<T>, IDisposable
{
}
}
| 1.897006 | c085e34c2744237673761de161184447 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95453 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "in-9/NewPlatform.Flexberry.ORM",
"max_stars_repo_path": "NewPlatform.Flexberry.ORM.Tests/ICSSoft.STORMNET.Business/SQLDataServiceGenerateSQLTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95454"
} | starcoder | namespace NewPlatform.Flexberry.ORM.Tests
{
using System;
using System.Text.RegularExpressions;
using ICSSoft.STORMNET;
using ICSSoft.STORMNET.Business;
using Xunit;
public class SQLDataServiceGenerateSQLTests : BaseSQLDataServiceTests
{
/// <summary>
/// Тест проверяет м... | 2.1339 | 18c1f8918df3edd5805af97ac98a99ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95454 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "microsoft-healthcare-madison/argonaut-subscription-server-proxy",
"max_stars_repo_path": "argonaut-subscription-server-proxy/Fhir/R5/ValueSets/TestscriptScopePhaseCodes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95455"
} | starcoder | // <auto-generated />
// Built from: hl7.fhir.r5.core version: 4.6.0
// Option: "NAMESPACE" = "fhirCsR5"
using fhirCsR5.Models;
namespace fhirCsR5.ValueSets
{
/// <summary>
/// The phase of testing for this artifact.
/// </summary>
public static class TestscriptScopePhaseCodesCodes
{
/// <summary>
... | 1.716457 | 653e88119cf8b527a64eab0bac7c48a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95455 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adityagit11/S.T.R.A.Wv4.0",
"max_stars_repo_path": "STRAWv4.0Test/BankBazaar/StaticCommands.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95456"
} | starcoder | using OpenQA.Selenium;
using System;
namespace STRAWv4._0Test.BankBazaar
{
class StaticCommands
{
public static bool WhetherExecuted(IWebDriver driver, string command)
{
IJavaScriptExecutor jse = (IJavaScriptExecutor)driver;
switch (command)
{
... | 2.504618 | c6b1111b0a3881fb161a5c52c4726106 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95456 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "feyris-tan/azusa",
"max_stars_repo_path": "AzusaERP.OldStuff/MockNmeaParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95457"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AzusaERP.OldStuff
{
class StreamDevice : IDisposable
{
private Stream nmeaStream;
public StreamDevice(Stream nmeaStream)
{
this.nm... | 2.447715 | 067fd5a293cd2477c3d3effa44977732 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95457 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "sanych-sun/RabbitMQ.Next",
"max_stars_repo_path": "src/RabbitMQ.Next/Transport/Methods/Queue/PurgeOkMethodParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95458"
} | starcoder | using System;
using RabbitMQ.Next.Abstractions.Methods;
namespace RabbitMQ.Next.Transport.Methods.Queue
{
internal class PurgeOkMethodParser : IMethodParser<PurgeOkMethod>
{
public PurgeOkMethod Parse(ReadOnlySpan<byte> payload)
{
payload.Read(out uint messageCount);
re... | 2.069145 | e9709d033a69fcd8f8824f3545873a2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95458 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NordiCelt/TraXdotNet",
"max_stars_repo_path": "src/BugNET_WAP/Administration/Host/UserControls/MailSettings.ascx.designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95459"
} | starcoder | <reponame>NordiCelt/TraXdotNet
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 1.168554 | 398fbbe62331e42b8685c9edd0e9e1cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95459 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "riQQ/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/_D3D12DDICB_OFFERALLOCATIONS.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95460"
} | starcoder | // c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d3dumddi.h(3731,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct _D3D12DDICB_OFFERALLOCATIONS
{
public uint NumAllocations;
public IntPtr ... | 1.353318 | 06de0b8128d12aa09567a15b2681151f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95460 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "samkarapu/demo",
"max_stars_repo_path": "examples/helix-basic-tds-with-docker-vs2019-project-type/src/Feature/Services/website/Views/Services/Testimonial.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:95461"
} | starcoder | <gh_stars>1-10
@using BasicCompany.Feature.Services;
@using BasicCompany.Foundation.FieldRendering
@model Sitecore.Mvc.Presentation.RenderingModel
@{
var testimonialImageOptions = new Sitecore.Links.UrlBuilders.MediaUrlBuilderOptions()
{
MaxWidth = 960,
AllowStretch = false,
};
}
@if (!Sitecore.Conte... | 2.018247 | 9a1ad0b6a67770d334958b96b60351cd |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.