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 | 8843912 | {
"extension": "c-sharp",
"max_stars_count": "119.0",
"max_stars_repo_name": "LunarWorld/Sigma",
"max_stars_repo_path": "Sigma.Tests/Training/Mergers/TestWeightedNetworkMerger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163132"
} | starcoder | <gh_stars>100-1000
using NUnit.Framework;
using Sigma.Core.Architecture;
using Sigma.Core.MathAbstract;
using Sigma.Core.Training.Mergers;
using Sigma.Core.Utils;
namespace Sigma.Tests.Training.Mergers
{
public class TestWeightedNetworkMerger
{
[TestCase]
public void TestWeightedNetworkMergerMerge()
{
INet... | 2.34741 | 78432d841a447f0d9b20af3fac4da427 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843913 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TomL-dev/mostdev-hungergames",
"max_stars_repo_path": "mostdev-hungergames/model/BattleItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163133"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace mostdev_hungergames.model
{
class BattleItem
{
private int defenseBonus = 0;
private int attackBonus = 0;
public int DefenseBonus
{
get { return defenseBonus; }
protected set { defenseBonus = value; }
}
... | 2.543862 | c9521145bdeee0398e3a50c2a788d00d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843914 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "shenxiangxiong/Girvs",
"max_stars_repo_path": "Girvs/BusinessBasis/Entities/IIcluderCreaterName.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163134"
} | starcoder | <reponame>shenxiangxiong/Girvs<filename>Girvs/BusinessBasis/Entities/IIcluderCreaterName.cs
namespace Girvs.BusinessBasis.Entities
{
public interface IIncludeCreatorName
{
public string CreatorName { get; set; }
}
} | 1.445645 | b9352cc163c8fd0274c20addacb5e282 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843915 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DimQ1/webApi",
"max_stars_repo_path": "WebAppCQRS/Features/ProductFeatures/Commands/CreateProductCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163135"
} | starcoder | using MediatR;
using System.Threading;
using System.Threading.Tasks;
using WebAppCQRS.Context;
using WebAppCQRS.Models;
namespace WebAppCQRS.Features.ProductFeatures.Commands
{
public class CreateProductCommand: IRequest<int>
{
public string Name { get; set; }
public string Barcode { get;... | 2.669051 | 36a3a0b73df74dfadd8b8daf66df3432 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843916 | {
"extension": "c-sharp",
"max_stars_count": "495.0",
"max_stars_repo_name": "mzakrzewski/Steeltoe",
"max_stars_repo_path": "src/CircuitBreaker/src/HystrixBase/Serial/SerialHystrixRequestEvents.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163136"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using Newtonsoft.Json;
using Steeltoe.CircuitBreaker.Hystrix.Metric;
using System.Collections.Generic;
using... | 2.155696 | 2474f8543b18cbadd2a06731699d70d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843917 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "invertedtomato/feather2",
"max_stars_repo_path": "Tests/ConnectionBaseTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163137"
} | starcoder | <filename>Tests/ConnectionBaseTests.cs
using System;
using InvertedTomato.Buffers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ThreePlay.IO.Feather;
using InvertedTomato.Testable.Sockets;
using InvertedTomato.Net.Feather;
using System.Net;
using System.Collections.Generic;
using InvertedTomato.Feather.Tr... | 2.245045 | 396271d976b2ce4817f5e4a569f30837 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843918 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ayanesuarome/StoreBuilder",
"max_stars_repo_path": "Theme (nopCommerce)/StoreBuilder/Views/Customer/Login.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:163138"
} | starcoder | <reponame>ayanesuarome/StoreBuilder
@model LoginModel
@using Nop.Web.Models.Customer;
@using Nop.Core;
@using Nop.Core.Infrastructure;
@{
Layout = "~/Views/Shared/_ColumnsOne.cshtml";
//title
Html.AddTitleParts(T("PageTitle.Login").Text);
//register URL with return URL (if specified)
var register... | 1.932764 | 983d5871f488142d54ea8101c3a8a618 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843919 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belminpobric/FoodKing",
"max_stars_repo_path": "FoodKing/FoodKing.Services/Database/FoodOrder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163139"
} | starcoder | using System;
using System.Collections.Generic;
namespace FoodKing.Services.Database
{
public partial class FoodOrder
{
public FoodOrder()
{
Chefs = new HashSet<Chef>();
Payments = new HashSet<Payment>();
}
public int OrderId { get; set; }
publi... | 2.275867 | 5ba691ecf134cab364219bf1844b8d70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843920 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thiagocruzrj/EasyStore.Microservices",
"max_stars_repo_path": "EasyStore/EasyStore.ProductAPI/Repository/ProductRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163140"
} | starcoder | <reponame>thiagocruzrj/EasyStore.Microservices<filename>EasyStore/EasyStore.ProductAPI/Repository/ProductRepository.cs
using AutoMapper;
using EasyStore.ProductAPI.DbContexts;
using EasyStore.ProductAPI.Models;
using EasyStore.ProductAPI.Models.Dto;
using Microsoft.EntityFrameworkCore;
using System;
using System.Colle... | 2.655377 | 21f64b4eef4c33aab35598b47d895dac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843921 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/bitnumbers/src/HexTextIndex.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163141"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using static Root;
... | 1.940263 | ada46280405245c639aca267e5e5ef70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843922 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sedc-codecademy/skwd8-08-aspnetmvc",
"max_stars_repo_path": "g7/Class 8/PizzaApp/PizzaApp.Web/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:163142"
} | starcoder | @*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
ViewBag.Title = "Welcome";
}
<div class="jumbotron">
<h1>Welcome to PizzaApp</h1>
</div>
<div>
</div> | 1.781569 | bed430bf0a19707098b67dad026b3832 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843923 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "afandylamusu/nasab-extcore",
"max_stars_repo_path": "src/Manufactures.Application/Orders/CommandHandlers/RemoveOrderCommandHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163143"
} | starcoder | <gh_stars>0
using ExtCore.Data.Abstractions;
using Infrastructure.Domain.Commands;
using Manufactures.Domain.Orders.Repositories;
using Moonlay;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Manufactures.Domain.Orders.Commands
{
public class RemoveOrderCommandHandler : IComman... | 2.045405 | 29f8307d7a255ba6943a9d652df02fbe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843924 | {
"extension": "c-sharp",
"max_stars_count": "207.0",
"max_stars_repo_name": "rsdal/adic",
"max_stars_repo_path": "src/Assets/Adic/Scripts/Framework/Cache/ReflectionCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163144"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using Adic.Binding;
namespace Adic.Cache {
/// <summary>
/// Basic cache for reflection data.
///
/// When requesting a type, if it doesn't exist on the cache,
/// it's automatically created on the cache.
/// </summary>
... | 3.0309 | 5eaf6ddfcfd91b53ca4b0d356ed35eb5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843925 | {
"extension": "c-sharp",
"max_stars_count": "2851.0",
"max_stars_repo_name": "schmitch/elasticsearch-net",
"max_stars_repo_path": "tests/Tests/Aggregations/Metric/GeoLine/GeoLineAggregationUsageTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163145"
} | starcoder | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System;
using Elastic.Elasticsearch.Xunit.XunitPlumbing;
using FluentAssertions;
using Nest;
using Tests.Cor... | 1.777403 | c781d0c70ee8d7b757a36efac62d49f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843926 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "genusP/Genus.Migrator",
"max_stars_repo_path": "src/Genus.Migrator/Model/IField.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163146"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Data;
namespace Genus.Migrator.Model
{
public interface IField:IModelNamedObject
{
ITable Table { get; }
string DbName { get; }
DbType DataType { get;}
bool IsNullable { get;}
int Length { get;}
... | 1.81795 | c3403a0ea94227d69b70d7e7617f3cfa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843927 | {
"extension": "c-sharp",
"max_stars_count": "331.0",
"max_stars_repo_name": "ohtaisao/Rcam2",
"max_stars_repo_path": "RcamVisualizer/Assets/Script/System/VfxActivator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163147"
} | starcoder | <gh_stars>100-1000
using UnityEngine;
using UnityEngine.VFX;
namespace Rcam2 {
public sealed class VfxActivator : MonoBehaviour
{
enum ControlType { Button, Knob, Toggle }
[SerializeField] ControlType _controlType = ControlType.Button;
[SerializeField] int _controlNumber = 0;
[SerializeField] float _... | 2.024891 | e9a0b773c74561502c1d308cacca3cdd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843928 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moto2002/superWeapon",
"max_stars_repo_path": "src/ShopItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163148"
} | starcoder | <gh_stars>0
using System;
public class ShopItem
{
public int id;
public string appleProductId;
public string name;
public int type;
public int price;
public string extDiamonds;
public string diamonds;
public string titleIcon;
public string desciption;
public string icon;
public int priceType;
pu... | 1.122582 | c462cbddfa4cecfec62552db2505745d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843929 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HexagramNM/TLExtension",
"max_stars_repo_path": "TLExtension.Android/TLExtensionWebViewRender.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163149"
} | starcoder | <filename>TLExtension.Android/TLExtensionWebViewRender.cs
using TLExtension;
using TLExtension.Droid;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using Android.Content;
using Android.Views;
using System;
using System.IO;
[assembly: ExportRenderer(typeof(TLExtensionWebView), typeof(TLExtensionWebViewRen... | 2.089617 | d64dc57444741c796a1c0e1e1913e8e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843930 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChristopherBass/KInspector",
"max_stars_repo_path": "KInspector.Modules/Modules/General/DebugCheckModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163150"
} | starcoder | <reponame>ChristopherBass/KInspector
using Kentico.KInspector.Core;
using System;
using System.Web.Configuration;
using System.Data;
using System.Collections.Generic;
using System.Configuration;
namespace Kentico.KInspector.Modules
{
public class DebugCheckModule : IModule
{
public ModuleMetadata GetM... | 2.269488 | 9df970d7c7e05a85650051a36dec1126 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843931 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "telmengedar/NightlyCode.Scripting",
"max_stars_repo_path": "NightlyCode.Scripts/Operations/Values/Addition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163151"
} | starcoder | <filename>NightlyCode.Scripts/Operations/Values/Addition.cs
using NightlyCode.Scripting.Data;
namespace NightlyCode.Scripting.Operations.Values {
/// <summary>
/// adds two values or concatenates two strings
/// </summary>
public class Addition : ValueOperation {
internal Addition() {
... | 3.022068 | bd6109449ba18bc909e31e2ab465ebde |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843932 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "tom-englert/SolutionExtensions",
"max_stars_repo_path": "src/source.extension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163152"
} | starcoder | namespace SolutionExtensions
{
static class Vsix
{
public const string Id = "51b81721-cf4e-4ce0-a595-972b1ca2a186";
public const string Name = "Suggested Extensions";
public const string Description = "Get suggestions on what extensions you need to handle various file types and projects when you need them.";
... | 2.151793 | 54ca167c1de3795cf9b1b6db82d342c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843933 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zsybupt/DiffAsyncBetweenAspNetAndCore",
"max_stars_repo_path": "AspNetCoreWeb/Controllers/ValueController.TaskRun.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163153"
} | starcoder | <gh_stars>1-10
using Microsoft.AspNetCore.Mvc;
using CommonAsync;
using System.Threading.Tasks;
namespace AspNetWeb.Controllers
{
public partial class ValueController
{
/// <summary>
/// Can increase 'CommonAsyncHelper.Count', because asp-net-core does not have SynchronizationContext
/... | 2.214515 | c72730536260acf41d3992974410794d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843934 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "sandroasp/BizTalk-Server-Learning-Path",
"max_stars_repo_path": "Working-with-Maps/Grouping-Pattern-Selecting-distinct-nodes/SelectDistinctValues/Sample3/MapPerson.btm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163154"
} | starcoder | <gh_stars>1-10
namespace SelectDistinctValues.Sample3 {
[Microsoft.XLANGs.BaseTypes.SchemaReference(@"SelectDistinctValues.Sample3.InputPersons", typeof(global::SelectDistinctValues.Sample3.InputPersons))]
[Microsoft.XLANGs.BaseTypes.SchemaReference(@"SelectDistinctValues.Sample3.OutputPersons", typeo... | 1.594822 | 725daf799516e2e8c44349154c4a82c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843935 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bits-HuynhBinh/DuckHuntVR",
"max_stars_repo_path": "DuckShuterVR/Assets/Scripts/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163155"
} | starcoder | <filename>DuckShuterVR/Assets/Scripts/Constants.cs
/*
* Copyright (c) 2017 Razeware LLC
*
* 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 limitat... | 2.057292 | e85a20b7bd1ee77d327696ab4d009093 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843936 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Ed-Fi-Exchange-OSS/MappingEDU",
"max_stars_repo_path": "src/MappingEdu.Tests.DataAccess/Web/Services/CustomDetailMetadataServiceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163156"
} | starcoder | // SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using System;
using System.Linq;
using MappingEdu... | 1.895261 | 6a1f34f1259cc47eb90c5203de2cc9f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843937 | {
"extension": "c-sharp",
"max_stars_count": "134.0",
"max_stars_repo_name": "niltor/open-pdd-net-sdk",
"max_stars_repo_path": "PddOpenSdk/PddOpenSdk/Models/Request/Virtual/NotifyVirtualMobileCharge.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163157"
} | starcoder | namespace PddOpenSdk.Models.Request.Virtual;
public partial class NotifyVirtualMobileCharge
{
/// <summary>
/// 直充附加信息对象数组
/// </summary>
[JsonPropertyName("charge_certi")]
public List<ChargeCertiModel> ChargeCerti { get; set; }
/// <summary>
/// 拼多多订单编码
/// </summary>
[JsonPropert... | 1.737523 | 6b62992dbd4571d845f78abab0f34d61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843938 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kokyett/ToolBox",
"max_stars_repo_path": "ToolBox.Shared/ViewModels/FileSystemViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163158"
} | starcoder | <filename>ToolBox.Shared/ViewModels/FileSystemViewModel.cs
namespace ToolBox.Shared.ViewModels {
public abstract class FileSystemViewModel : ObservableObject {
public string? Path { get; set; }
public RelayCommand<object> OpenDialogCommand { get; private set; }
public FileSystemViewModel(... | 2.20074 | 9d77a2186bdfea774a9518975caa5db1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843939 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "evandixon/SkyEditor.Core",
"max_stars_repo_path": "SkyEditor.Core/IO/PluginInfrastructure/OpenableFileOpener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163159"
} | starcoder | <reponame>evandixon/SkyEditor.Core
using System.Reflection;
using SkyEditor.Core.Utilities;
using System.Threading.Tasks;
using System;
using SkyEditor.IO.FileSystem;
namespace SkyEditor.Core.IO.PluginInfrastructure
{
/// <summary>
/// Opens files using file types that implement <see cref="IOpenableFile"/>
... | 2.514082 | 98a2a5213f3a77ca18f535bf0beea021 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843940 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brian-reichle/TypeNameInterpretation",
"max_stars_repo_path": "src/TypeNameInterpretation/Tree/InsGenericType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163160"
} | starcoder | <reponame>brian-reichle/TypeNameInterpretation<filename>src/TypeNameInterpretation/Tree/InsGenericType.cs
using System;
using System.Collections.Immutable;
namespace TypeNameInterpretation
{
public sealed class InsGenericType : InsType
{
internal InsGenericType(InsNamedType definition, ImmutableArray<InsType> type... | 2.849219 | f44df85c7ab4a888d64e72fe54846088 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843941 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Marsh87/LendingLibrary",
"max_stars_repo_path": "source/LendingLibrary.Domain.Tests/Models/TestPerson.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163161"
} | starcoder | <reponame>Marsh87/LendingLibrary
using System;
using LendingLibrary.Domain.Models;
using NUnit.Framework;
using PeanutButter.TestUtils.Entity;
using PeanutButter.TestUtils.Generic;
namespace LendingLibrary.Domain.Tests.Models
{
[TestFixture]
public class TestPerson
{
[Test]
public void Con... | 2.544628 | 81ca47f7e382743182e3a31d24f23123 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843942 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UniverPro/core",
"max_stars_repo_path": "src/Uni.Api.Web/Validators/PersonRequestModelValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163162"
} | starcoder | <reponame>UniverPro/core
using FluentValidation;
using JetBrains.Annotations;
using Uni.Api.Core;
using Uni.Api.Shared.Requests;
namespace Uni.Api.Web.Validators
{
[UsedImplicitly]
public class PersonRequestModelValidator : AbstractValidator<PersonRequestModel>
{
public PersonRequestModelValidator... | 2.10745 | f2ecd443acd7c0dccbecb7ba44d2d8f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843943 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasarsoft/examples",
"max_stars_repo_path": "cs/ss07/Poglavlje10/Primjer05/F1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163163"
} | starcoder | <reponame>jasarsoft/examples<gh_stars>0
using System;
namespace Primjer05
{
class F1
{
public void UnesiParametar()
{
try
{
double d = Convert.ToDouble(Console.ReadLine());
PodesitiMotor(d);
}
catch (F1Exception e)... | 3.082162 | 4f274b0fb5740a014c8631a7e400b549 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843944 | {
"extension": "c-sharp",
"max_stars_count": "778.0",
"max_stars_repo_name": "jeroen-mostert/CodeContracts",
"max_stars_repo_path": "Microsoft.Research/CodeAnalysis/Output.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163164"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Microsoft.Research.DataStructures;
using System.Diagnostics.Contracts;
namesp... | 2.361439 | 454807463061a591bf0098b1c7d328d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843945 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "YakaryBovine/War3Net",
"max_stars_repo_path": "src/War3Net.CodeAnalysis.Jass/Parser/RealLiteralExpressionParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163165"
} | starcoder | // ------------------------------------------------------------------------------
// <copyright file="RealLiteralExpressionParser.cs" company="Drake53">
// Licensed under the MIT license.
// See the LICENSE file in the project root for more information.
// </copyright>
// -----------------------------------------------... | 2.132661 | 637f65f962845994510825ca4a842a85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jamessmckay/Ed-Fi-ODS",
"max_stars_repo_path": "Application/EdFi.TestObjects/BuilderFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163166"
} | starcoder | <reponame>jamessmckay/Ed-Fi-ODS
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using System;
us... | 2.144737 | 0b0a2cb97de16204b5924d092a886e2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843947 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PureKrome/kiota-samples",
"max_stars_repo_path": "msgraph-mail/dotnet/Users/MessageRule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163167"
} | starcoder | <filename>msgraph-mail/dotnet/Users/MessageRule.cs
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.Linq;
using Graphdotnetv4.Users.MailFolders;
namespace Graphdotnetv4.Users {
public class MessageRule : Entity, IParsable<MessageRule> {
public Me... | 2.21132 | e0b5b22558284ed72d1a4bf5124dbbbe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843948 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EgoPingvina/akka.net",
"max_stars_repo_path": "src/examples/Cluster/PublishSubscribe/SamplePublisher/Publisher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163168"
} | starcoder | #region SamplePublisher
using Akka.Actor;
using Akka.Cluster.Tools.PublishSubscribe;
namespace SamplePublisher
{
public sealed class Publisher: ReceiveActor
{
public Publisher()
{
var mediator = DistributedPubSub.Get(Context.System).Mediator;
Receive<string>(input => me... | 1.850063 | eb955d8f548243007c55430a853823bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843949 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bytemech/fungus",
"max_stars_repo_path": "Assets/Fungus/Scripts/Commands/AutoSave.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163169"
} | starcoder | // This code is part of the Fungus library (https://github.com/snozbot/fungus)
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine;
namespace Fungus
{
/// <summary>
/// AutoSave, requests a new AutoSave from the save manager, ... | 2.631748 | c474f9b39e65f5be9cac413d2cf6539b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843950 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ivanpaulovich/authmfa",
"max_stars_repo_path": "source/Jambo.Producer.Application/Commands/Parents/UpdatePersonalDetailsCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163170"
} | starcoder | using MediatR;
using System;
using System.Runtime.Serialization;
namespace Jambo.Producer.Application.Commands.Parents
{
[DataContract]
public class UpdateParentPersonalDetailsCommand : CommandBase, IRequest
{
[DataMember]
public Guid ParentId { get; private set; }
[DataMember]
... | 2.304399 | f183b826439a267fe5df6cca2b8d294f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843951 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "hyzx86/StatCan.OrchardCore",
"max_stars_repo_path": "src/Modules/StatCan.OrchardCore.VueForms/SurveyMigrations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163171"
} | starcoder | <gh_stars>10-100
using OrchardCore.ContentFields.Fields;
using OrchardCore.ContentFields.Settings;
using OrchardCore.ContentManagement.Metadata;
using OrchardCore.ContentManagement.Metadata.Settings;
using OrchardCore.Data.Migration;
namespace StatCan.OrchardCore.VueForms
{
public class SurveyMigrations : DataMig... | 2.053108 | 0f58dec5dcd925e423ddaafaea824359 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PascalPiche/OpenHomeMation",
"max_stars_repo_path": "WUnderground.test/WUndergroundApiUnitTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163172"
} | starcoder | <reponame>PascalPiche/OpenHomeMation
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WUnderground.Api.Data;
namespace WUnderground.test
{
[TestClass]
public class WUndergroundApiUnitTest
{
[TestMethod]
public void QueryLocationExistWithValidValue()
{
... | 1.950761 | 8ba229c5d92b732bff9bdddaa532254a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843953 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "CamilleTamoumi/tdumt2",
"max_stars_repo_path": "tdumt-app_2.0/TDUMT_2_Main/gui/Mod/SettingsDialog.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163173"
} | starcoder | <gh_stars>1-10
using TDUMT_2.Main;
namespace TDUMT_2.Gui.Mod
{
partial class SettingsDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being... | 1.802334 | 06f9c224a10e8c4e414738e21d503461 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843954 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "mikeobrien/swank",
"max_stars_repo_path": "src/Tests/Unit/Specification/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163174"
} | starcoder | <reponame>mikeobrien/swank<filename>src/Tests/Unit/Specification/Extensions.cs
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
using System.Web.Http.Description;
using Swank;
using Swank.Configuration;
using Swank.Description;
using Swank.Specification;
... | 1.875723 | 40892cf8953cd2f4669b6eaeef1a2be8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843955 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HananeMoshe/cloudscribe-master",
"max_stars_repo_path": "src/example.WebApp/Views/Sys/Account/Login.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:163175"
} | starcoder | @model cloudscribe.Core.Web.ViewModels.SiteUser.LoginViewModel
@using System.Collections.Generic
@using Microsoft.AspNet.Http
@using Microsoft.AspNet.Http.Authentication
@{
}
@if (Model.RecaptchaSiteKey.Length > 0)
{
<script src='https://www.google.com/recaptcha/api.js'></script>
}
<h2>@ViewData["Title"]... | 2.164393 | e479e7adca208ebf3bccd3cad3917498 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843956 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edwin-channel/JCSUnity",
"max_stars_repo_path": "Assets/BossFight_Assets/Scripts/BF_CharacterSpawnHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163176"
} | starcoder | /**
* $File: BF_CharacterSpawnHandler.cs $
* $Date: $
* $Revision: $
* $Creator: <NAME> $
* $Notice: See LICENSE.txt for modification and distribution information
* Copyright (c) 2016 by <NAME> $
*/
using UnityEngine;
using System.Collections;
using JCSUnity;
/// <summary>
/// Handler wher... | 2.267869 | 9bcee01f99748dab225f5fe4247491b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843957 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "Ud0o/ZendeskApiClient",
"max_stars_repo_path": "test/ZendeskApi.Client.Tests/ResourcesSampleSites/SatisfactionRatingsResourceSampleSite.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163177"
} | starcoder | using System;
using Microsoft.AspNetCore.Routing;
using ZendeskApi.Client.Extensions;
using ZendeskApi.Client.Models;
using ZendeskApi.Client.Responses;
namespace ZendeskApi.Client.Tests.ResourcesSampleSites
{
internal class SatisfactionRatingsResourceSampleSite : SampleSite<State<SatisfactionRating>, Satisfaction... | 2.24447 | 9a6e4bb00aed02ff42e507f2224da395 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843958 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "xuyiazl/XUCore.NetCore",
"max_stars_repo_path": "src/XUCore.NetCore.Data/ServiceProvider/IDbServiceProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163178"
} | starcoder | <gh_stars>10-100
using XUCore.Paging;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Data.Common;
using System.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastruct... | 2.10922 | 1e6eed33bfa522ca557a04cf0a2172b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843959 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "itonkovski/IvarsSykkelsjappe",
"max_stars_repo_path": "IvarsSykkelsjappe/IvarsSykkelsjappe/Areas/Mechanic/MechanicConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163179"
} | starcoder | using System;
namespace IvarsSykkelsjappe.Areas.Mechanic
{
public class MechanicConstants
{
public const string AreaName = "Mechanic";
public const string MechanicRoleName = "Mechanic";
}
}
| 1.294272 | 5a933e709fd86453ca4f28c8232067c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843960 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tingwersen/Avalonia",
"max_stars_repo_path": "src/Gtk/Avalonia.Gtk/Input/GtkMouseDevice.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163180"
} | starcoder | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using Avalonia.Input;
namespace Avalonia.Gtk
{
public class GtkMouseDevice : MouseDevice
{
private static readonly GtkMouseDevice s_instan... | 2.226792 | 399ce9ddbc979193e406946b14c5a5d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843961 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "doblo89/XUMM.Net",
"max_stars_repo_path": "src/XUMM.NET.SDK/Extensions/XummPayloadExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163181"
} | starcoder | using System.Text.Json;
using XUMM.NET.SDK.Helpers;
using XUMM.NET.SDK.Models.Payload;
namespace XUMM.NET.SDK.Extensions
{
public static class XummPayloadExtensions
{
/// <summary>
/// Serialize the <paramref name="payloadObject"/> as the <see cref="XummPostJsonPayload.TxJson"/> of <see cref="... | 2.277012 | 395358e961ea6c8a25c700cf9ff0f7f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843962 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KorStrix/ASP_CoreBase_GameServer",
"max_stars_repo_path": "VSProject/CommonTests/PacketExtractorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163182"
} | starcoder | <gh_stars>0
using NUnit.Framework;
using Common;
using System;
namespace Common.Tests
{
[TestFixture()]
public class PacketExtractorTests
{
public class TestPacket
{
public string Email;
public bool Active;
public DateTime CreatedDate;
public... | 2.038651 | 4e9cba2273f42ff06eb1bfdb6befb1f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843963 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ateliex/DomainDrivenDesign",
"max_stars_repo_path": "Ateliex.Windows/EventStoreViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163183"
} | starcoder | using System;
namespace Ateliex
{
public class EventStoreViewModel
{
public string Name { get; set; }
public long Version { get; set; }
public DateTime Date { get; set; }
public object Data { get; set; }
public int DataLength { get; set; }
}
}
| 1.665152 | 279601a3a2068508a9a72e47a1151145 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843964 | {
"extension": "c-sharp",
"max_stars_count": "167.0",
"max_stars_repo_name": "kaust-merge/Cities-Skylines-Traffic-Manager-President-Edition",
"max_stars_repo_path": "TLM/TLM/Manager/AbstractGeometryObservingManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163184"
} | starcoder | using CSUtil.Commons;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using TrafficManager.Geometry;
using TrafficManager.Geometry.Impl;
using TrafficManager.State;
using TrafficManager.Util;
using static TrafficManager.Geometry.Impl.NodeGeometry;
namespac... | 2.211221 | df80e89bb6393dc36f74bac3af8a0125 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843965 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "karabasisilias92/greek-healthcare-network",
"max_stars_repo_path": "GreekHealthcareNetwork/GreekHealthcareNetwork/Repositories/MessagesRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163185"
} | starcoder | <reponame>karabasisilias92/greek-healthcare-network
using GreekHealthcareNetwork.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
namespace GreekHealthcareNetwork.Repositories
{
... | 2.376296 | 2f6b7923d6c17f04f966394a26f89483 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843966 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RoSchmi/SC20260_AWS_Test_01",
"max_stars_repo_path": "SC20260_AWS_Test_01/MQTT_Lib/MqttStream.cs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163186"
} | starcoder | <gh_stars>0
using System;
using System.Net;
using System.Net.Security;
using System.Net.Sockets;
using System.Security.Authentication;
using System.Security.Cryptography.X509Certificates;
namespace GHIElectronics.TinyCLR.Networking.Mqtt
{
internal class MqttStream
{
private string hostName;
p... | 2.389734 | d98ebc3212181e6655d15d22ce78795b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843967 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "iAJTin/iExportEngine",
"max_stars_repo_path": "source/library/iTin.Export.Core/Model/Export/Table/TableModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163187"
} | starcoder |
namespace iTin.Export.Model
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using System.Xml.Serialization;
using ComponentModel.Provider;
using Helper... | 2.08829 | bb98f641c6b84ba61a9a53a3512f8463 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843968 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zzq424/Kira.LaconicInvoicing",
"max_stars_repo_path": "App/Kira.LaconicInvoicing.Web/Migrations/20190408115553_V1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163188"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Kira.LaconicInvoicing.Web.Migrations
{
public partial class V1 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "BaseDa... | 2.02174 | 046ef2280fd622ea38c5b8a3c06e87f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843969 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "GivePenny/GherkinSpec",
"max_stars_repo_path": "GherkinSpec.TestAdapter/Binding/StepBinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163189"
} | starcoder | using GherkinSpec.Model;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
namespace GherkinSpec.TestAdapter.Binding
{
class StepBinder : IS... | 2.327187 | 35121f205c40bc367e2b0453facb06a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843970 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "evelasco85/MessagingSystemComponents",
"max_stars_repo_path": "Test/MQClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163190"
} | starcoder | using System;
using System.Messaging;
using CommonObjects;
using MsmqGateway.Core;
using Messaging.Orchestration.Shared.Services;
using MsmqGateway;
namespace Test
{
class MQClient
{
public static IClientService GetClientService(ClientInstance<Message> instance, String[] args)
{
in... | 2.167748 | a8361f613a59a30b4c7d00462ba03f42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843971 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhuchenko-w/hearst-mappings-editor",
"max_stars_repo_path": "HearstMappingsEditor/Controllers/References/Hearst/DimChannelController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163191"
} | starcoder | using HearstMappingsEditor.Common.Interfaces;
using HearstMappingsEditor.Data.Models;
using HearstMappingsEditor.Data.Repository.Interfaces;
namespace HearstMappingsEditor.Controllers
{
public class DimChannelController : BaseReferenceSimpleController<DimChannel, DimChannelFilter, IReferenceRepository<DimChannel,... | 1.767546 | ee5b243e866fe0729a32114dc8eb99c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843972 | {
"extension": "c-sharp",
"max_stars_count": "213.0",
"max_stars_repo_name": "Xpl0itR/LibHac",
"max_stars_repo_path": "tests/LibHac.Tests/Fs/FileSystemClientTests/ShimTests/Bis.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163192"
} | starcoder | using LibHac.Common;
using LibHac.Fs;
using LibHac.Fs.Fsa;
using LibHac.Fs.Shim;
using Xunit;
namespace LibHac.Tests.Fs.FileSystemClientTests.ShimTests
{
public class Bis
{
[Fact]
public void MountBis_MountCalibrationPartition_OpensCorrectDirectory()
{
FileSyst... | 1.883786 | a5804e02c93119096d6c56ab4f31ef78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843973 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jgador/StashCache",
"max_stars_repo_path": "src/StashCache/CacheKeyGeneratorFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163193"
} | starcoder | <filename>src/StashCache/CacheKeyGeneratorFactory.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace StashCache
{
public static class CacheKeyGeneratorFactory
{
private static readonly object _lock = new object();
private static readonly IE... | 3.188557 | 97b2236689d2a85dccdb73df59fc58a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843974 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Theremiracle/FileService",
"max_stars_repo_path": "Common/Infrastructure/Utilities/ImageUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163194"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
namespace Common.Infrastructure.Utilities
{
public static class ImageUtil
{
public static Byte[] ConvertImageFileToBytes(string fileF... | 2.821953 | 3a2f939af9dcb0eaffd4c3790b8ceb2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843975 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ForNeVeR/Reinforced.Tecture",
"max_stars_repo_path": "Features/Reinforced.Tecture.Features.Orm/Testing/Checks/Update/UpdateChecks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163195"
} | starcoder | using System;
using Reinforced.Tecture.Testing;
namespace Reinforced.Tecture.Features.Orm.Testing.Checks.Update
{
public static class UpdateChecks
{
public static UpdatePredicateCheck<T> Update<T>(Func<T, bool> predicate, string explanation) => new UpdatePredicateCheck<T>(predicate, explanation);
... | 1.736789 | 00ddf0cb797386f33614a165ae4aaeda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843976 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nguyenthienthanh/FashionStore",
"max_stars_repo_path": "FashionStore/Views/Home/Catalog_par.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:163196"
} | starcoder | @model IEnumerable<ShopQuanAo.Models.CatalogByParentResult>
<!-- mobile-menu -->
<div class="hidden-desktop" id="mobile-menu">
<ul class="navmenu">
<li>
<div class="menutop">
<div class="toggle"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-ba... | 2.23616 | c7dff0c914e690d4905612a31c698d13 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843977 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hemaolle/fgj2015",
"max_stars_repo_path": "Assets/Scripts/PlayerType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163197"
} | starcoder | using UnityEngine;
using System.Collections;
public enum PlayerType {
Player1, Player2
}
| 1.493788 | 3f99328d367c005753a0658675c9031e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843978 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fossabot/core-11",
"max_stars_repo_path": "AudioLibrary.WMME/VolumeAudioLineControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163198"
} | starcoder | <filename>AudioLibrary.WMME/VolumeAudioLineControl.cs
using System;
using AudioLibrary.Interfaces;
using AudioLibrary.WMME.Native;
namespace AudioLibrary.WMME
{
internal class VolumeAudioLineControl : AudioLineControl
{
public VolumeAudioLineControl(AudioLine audioLine, MIXERCONTROL mc, Action<AudioLi... | 2.10534 | 7e4ea2208c150c3c4ddf64e305cf6b9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843979 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UnGaucho/StarDrive",
"max_stars_repo_path": "Ship_Game/GameScreens/Universe/GameplayMMScreen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163199"
} | starcoder | <filename>Ship_Game/GameScreens/Universe/GameplayMMScreen.cs<gh_stars>0
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Ship_Game.Audio;
using Ship_Game.GameScreens.MainMenu;
namespace Ship_Game
{
public sealed class GameplayM... | 1.913892 | e34eefe9319d7a2fc9a497fa54b128ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843980 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rmsmech/HaleyEvents",
"max_stars_repo_path": "HaleyEvents/Events/SubscriberBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163200"
} | starcoder | using Haley.Abstractions;
using System;
using System.CodeDom;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Haley.Events.Utils;
namespace Haley.Events
{
public class SubscriberBase : SubscriberBase<object>
{
public SubscriberBase(Action _li... | 2.884016 | 3a97b85f8f2b577cdcf3b7d74b608d1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843981 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "ekfvoddl3536/OniMods",
"max_stars_repo_path": "decompiled/src/SuperSpeedRunner/Db_Initialize_Patch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163201"
} | starcoder | <reponame>ekfvoddl3536/OniMods<gh_stars>10-100
using System;
using System.Collections.Generic;
using Database;
using Harmony;
namespace SuperSpeedRunner
{
// Token: 0x02000004 RID: 4
[HarmonyPatch(typeof(Db), "Initialize")]
public static class Db_Initialize_Patch
{
// Token: 0x06000005 RID: 5 RVA: 0x... | 1.772998 | b37602f3231076e121495d554496642e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843982 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "filipetoscano/Platinum",
"max_stars_repo_path": "src/Platinum.Logging/LoggerExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163202"
} | starcoder | <filename>src/Platinum.Logging/LoggerExtensions.cs
using Platinum;
using System;
namespace NLog
{
/// <summary>
/// Platinum extensions to NLog, so that it directly supports writing of an
/// <see cref="ActorException" />.
/// </summary>
public static class LoggerExtensions
{
/// <summ... | 2.973653 | 2509d1ed14ea96bc1ceda56de73d1563 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843983 | {
"extension": "c-sharp",
"max_stars_count": "2311.0",
"max_stars_repo_name": "vooba/Serenity",
"max_stars_repo_path": "src/Serenity.Net.Entity/Contracts/ILoggingRow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163203"
} | starcoder | <reponame>vooba/Serenity
namespace Serenity.Data
{
/// <summary>
/// A combination of IUpdateLogRow and IInsertLogRow
/// </summary>
/// <seealso cref="IUpdateLogRow" />
/// <seealso cref="IInsertLogRow" />
public interface ILoggingRow : IUpdateLogRow, IInsertLogRow
{
}
} | 1.383764 | 56b9b507d3d5724273baf45ec3000d06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843984 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "stgrosshh/Creator",
"max_stars_repo_path": "Editor/UI/Graphics/EditorNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163204"
} | starcoder | using System.Collections.Generic;
namespace Innoactive.CreatorEditor.UI.Graphics
{
/// <summary>
/// Base class for Entry and Exit nodes.
/// </summary>
internal abstract class EditorNode : GraphicalElement
{
/// <summary>
/// List of entry joints, to which incoming Transitions can... | 2.486118 | bc8a86d3128de81598b7083e45e6026e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843985 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "xqrzd/kudu-client-net",
"max_stars_repo_path": "src/Knet.Kudu.Client/ReplicaRole.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163205"
} | starcoder | <reponame>xqrzd/kudu-client-net
using static Knet.Kudu.Client.Protobuf.Consensus.RaftPeerPB.Types;
namespace Knet.Kudu.Client;
public enum ReplicaRole
{
Follower = Role.Follower,
Leader = Role.Leader,
Learner = Role.Learner,
NonParticipant = Role.NonParticipant
}
| 0.831167 | 4b4c4cff54087679c6dc9923da6a3426 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843986 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ByteDecoder/RoyalLibrary",
"max_stars_repo_path": "src/RoyalLibrary/StreamReaderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163206"
} | starcoder | using ByteDecoder.Common.GuardClauses;
using System.Collections.Generic;
using System.IO;
namespace ByteDecoder.RoyalLibrary
{
/// <summary>
///
/// </summary>
public static class StreamReaderExtensions
{
/// <summary>
/// Deferred execution for an StreamReader source
/// <... | 2.804085 | e9ee21beb28602e62b10d27891204f0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843987 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zt405368/ViewFaceCore",
"max_stars_repo_path": "ViewFaceCore/Sharp/DetectorSetting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163207"
} | starcoder | namespace ViewFaceCore.Sharp
{
/// <summary>
/// 人脸检测器设置
/// </summary>
public class DetectorSetting
{
/// <summary>
/// 最小人脸。
/// <para>
/// 最小人脸是人脸检测器常用的一个概念,默认值为20,单位像素。<br />
/// 最小人脸和检测器性能息息相关。主要方面是速度,使用建议上,我们建议在应用范围内,这个值设定的越大越好。<see langword="SeetaFace"... | 3.095801 | f60809e28836bde3aaf9c1eaa1fa4274 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843988 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yehiaraslan85/SmiqsMobileApp",
"max_stars_repo_path": "smiqs/smiqs/Views/Templates/ExpenseChartTemplate.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163208"
} | starcoder | using System;
using System.Linq;
using Xamarin.Forms;
using Xamarin.Forms.Internals;
using Xamarin.Forms.Xaml;
namespace smiqs.Views.Templates
{
/// <summary>
/// Navigation tile template.
/// </summary>
[Preserve(AllMembers = true)]
[XamlCompilation(XamlCompilationOptions.Compile)]
public par... | 1.931189 | 124fa71e19e0bcc276264626db4e4d57 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843989 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Krealle/Unity_Game_Projects",
"max_stars_repo_path": "Red_Et_Liv/Assets/Assets/Scripts/PhoneButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163209"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class PhoneButton : MonoBehaviour {
public Dialogs Dialogs;
private Color oldColor;
private bool callReady;
private float timer;
private float timer2;
void Start() {
oldColor = this.gameObject.GetComponent<Renderer>().mater... | 2.221587 | dc02f8707896bc358f26f797f71fb939 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843990 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vrenken/EtAlii.FracturedPlanet",
"max_stars_repo_path": "Source/Fractured Planet/Assets/Navigation/Scripts/_Model/Sector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163210"
} | starcoder | namespace EtAlii.FracturedPlanet.Navigation
{
using System.Collections.Generic;
using UnityEngine;
public class Sector : MonoBehaviour
{
/// <summary>
/// The number of voxels that each sector has in the width, depth and height.
/// </summary>
public const int TerrainVo... | 2.559252 | d109ab39238a24d21dd8001ce502dc71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843991 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Chi-Time/Unity-Project-Template",
"max_stars_repo_path": "Assets/Code/Enums/GameStates.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163211"
} | starcoder | <gh_stars>0
public enum GameStates
{
Game,
Pause,
GameOver
}
| 1.555548 | 88a9e4644e185facd56f5caf2eef1573 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843992 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "GEOTEST-AG/BioDivCollector",
"max_stars_repo_path": "Server/BioDivCollector.WebApp/Views/Projects/Details.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:163212"
} | starcoder | <filename>Server/BioDivCollector.WebApp/Views/Projects/Details.cshtml
@model BioDivCollector.DB.Models.Domain.Project
@using BioDivCollector.DB.Models.Domain
@{
ViewData["Title"] = "Projekt bearbeiten";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Styles {
<link href="~/js/jquery-transfer/css/jqu... | 1.939327 | d32574b8cfe9e4d4638894cdbf2fdbaa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843993 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "studware/My-QA-Automation",
"max_stars_repo_path": "Exam10NovQA/FrameworkQA/SeleniumQA/Pages/AccordionPage/AccordionPageMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163213"
} | starcoder | <gh_stars>0
namespace SeleniumQA.Pages.AccordionPage
{
using OpenQA.Selenium;
public partial class AccordionPage
{
public IWebElement AccordionPageLink => Wait.Until(d => {
return d.FindElement(By.XPath("//a[contains(text(),'Accordion')]")); });
public IWebElement SectionOne =... | 1.828069 | 568682158cce4a681ed87cce00f44a97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843994 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "frutuozo29/fantasy-surf",
"max_stars_repo_path": "src/Fantasy-Surf.Infra.Data/EntityConfig/RegrasFantasyConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163214"
} | starcoder | using Fantasy_Surf.Domain.Entities;
using System.Data.Entity.ModelConfiguration;
namespace Fantasy_Surf.Infra.Data.EntityConfig
{
public class RegrasFantasyConfiguration : EntityTypeConfiguration<RegrasFantasy>
{
public RegrasFantasyConfiguration()
{
HasKey(r => r.RegrasFantasyId);... | 2.258628 | 549983a48fef994d33f8a8c9a614826b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843995 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Luxoft/BSSFramework",
"max_stars_repo_path": "src/_SampleSystem/SampleSystem.WebApiCore/Controllers/_Generated/Main/EmployeeInformationService.Generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163215"
} | starcoder | namespace SampleSystem.WebApiCore.Controllers.Main
{
using SampleSystem.Generated.DTO;
[Microsoft.AspNetCore.Mvc.ApiControllerAttribute()]
[Microsoft.AspNetCore.Mvc.ApiVersionAttribute("1.0")]
[Microsoft.AspNetCore.Mvc.RouteAttribute("api/v{version:apiVersion}/[controller]")]
publ... | 2.005548 | 3531deb6e23cb55d813e8dbb3fe58a4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843996 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/tests/TestHelpers/VmDefinition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163216"
} | starcoder | <reponame>gjy5885/azure-sdk-for-net<gh_stars>1000+
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
namespace Microsoft.Azure.Management.RecoveryServices.Backup.Tests
{
public enum VmType
... | 1.769617 | 6b021ffca7010437e54d0929d1a06ff0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843997 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "quintendc/UnityToolkit",
"max_stars_repo_path": "Toolkit/Assets/Toolkit/Samples/Widgets/PauseScreen/Pause.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163217"
} | starcoder | <filename>Toolkit/Assets/Toolkit/Samples/Widgets/PauseScreen/Pause.cs<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Pause : AWidget
{
public void GoToMainMenu()
{
}
public void Continue()
{
}
}
| 1.875034 | 00e5aa971f070effabf64d73bd397cd5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843998 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "debugyourcode/aula1_academia_testes",
"max_stars_repo_path": "csharp/ConsoleApp1/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163218"
} | starcoder | using System;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
int[] array1 = new int[5] { 1, 3, 7, 12, 8 };
int[] array2 = { 1, 3, 2, 7, 6, 12 };
for (int i = 0; i < 5; i++)
{
Console.WriteLine(array1[i... | 3.998169 | 4ea9ba3eb2933149d65e9371ec6cf025 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843999 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LyuboslavKrastev/BasicDesk-Project-CSharp-MVC-Frameworks-ASP.NET-Core",
"max_stars_repo_path": "BasicDesk.App.Models/Common/ViewModels/RequestMergeListingViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163219"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
namespace BasicDesk.App.Models.Common.ViewModels
{
public class RequestMergeListingViewModel
{
public int Id { get; set; }
public string Subject { get; set; }
[Display(Name = "Requester")]
public string Requester { ge... | 1.887862 | 8f59294ced9dc9460b618c3a0981c2cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844000 | {
"extension": "c-sharp",
"max_stars_count": "415.0",
"max_stars_repo_name": "slodge/workbooks",
"max_stars_repo_path": "Clients/Xamarin.Interactive.Client.Web/WebAssembly/WebAssemblyAgentClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163220"
} | starcoder | //
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Xamarin.Interactive.CodeAnalysis.Evaluating;
using Xamarin.Interactive.Core... | 1.665673 | fa603e6fc58a93fdcb407a97b7d29250 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844001 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StiftsEU/json-rpc-client",
"max_stars_repo_path": "src/Anemonis.JsonRpc.ServiceClient.Benchmarks/TestStubs/JsonRpcServices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163221"
} | starcoder | <reponame>StiftsEU/json-rpc-client
using System.Threading.Tasks;
namespace Anemonis.JsonRpc.ServiceClient.Benchmarks.TestStubs
{
public interface IJsonRpcServiceP0E0D0
{
[JsonRpcMethod("m")]
Task InvokeAsync();
}
public interface IJsonRpcServiceP1E0D0
{
[JsonRpcMethod("m",... | 1.552813 | 383f11cbe146466839e3322264a6d061 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844002 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "I-Cat/xbox-live-developer-tools",
"max_stars_repo_path": "CommandLine/GlobalStorage/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163222"
} | starcoder | // Copyright (c) Microsoft Corporation
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace GlobalStorage
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
... | 2.375209 | 33a48b59dceb3021daa58b78c51430c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844003 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "moschi/gtt-charts",
"max_stars_repo_path": "gttcharts/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163223"
} | starcoder | using gttcharts.Charting;
using gttcharts.Data;
using gttcharts.Models;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using ScottPlot;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace gttcharts
{
cl... | 2.219722 | 4e5c6c2f9822ea5504f4f874e2ec0bbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844004 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "Zehell/20487D-Developing-Microsoft-Azure-and-Web-Services",
"max_stars_repo_path": "AllFiles/Mod07/DemoFiles/Mod7Demo6Redis/BlueYonder.Hotels.Service/Repository/HotelRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163224... | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlueYonder.Hotels.Service.Repository
{
public class HotelRepository : IHotelRepository
{
private List<string> _hotelList;
public HotelRepository()
{
_hotelList = new ... | 2.895403 | 3b0acedda2fe490cb6586635e165e958 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844005 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abdcelik/Book-Store",
"max_stars_repo_path": "Sunum/Sunum/Controllers/HomeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163225"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using FusionBookieDB.Entity;
using FusionBookieDB;
namespace Sunum.Controllers
{
public class HomeController : Controller
{
[HttpGet]
[Route("")]
[Route("pg={pg?}")]
publi... | 2.195004 | e8fd57c286416f7997c40ee346c1ad18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844006 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "robin-weiland/IndieGameProject",
"max_stars_repo_path": "IndieGameProject/Assets/Scripts/General/Level4Actions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163226"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Level4Actions : MonoBehaviour
{
private GameObject doorLocked, doorUnlocked, doorOpened, player;
// Start is called before the first frame update
void Start()
{
player = GameObject.Find("RunCharacter");... | 2.081338 | 8cf379aef9c545215f88b0827dc84184 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844007 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "entrotech/deployapp",
"max_stars_repo_path": "Sabio.Web/Views/Announcements/IndexNg2.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:163227"
} | starcoder | @{
Layout = "~/Views/Shared/_Admin.cshtml";
}
@{
<style>
#date-sort {
margin-left: 10px;
}
span.category {
margin-left: 5px;
}
.search-field, .filter-sort-wrapper {
margin-bottom: 10px !important;
}
.filter-sort-wra... | 2.220165 | 83621b963de4aa4691ddd120355246f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844008 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexandrecz/Xamarin",
"max_stars_repo_path": "XamarinGit/XamarinGit/MainTabPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163228"
} | starcoder |
using Xamarin.Forms;
namespace XamarinGit
{
public class MainTabPage : TabbedPage
{
readonly NavigationPage tab2Page;
readonly NavigationPage tab1Page;
public MainTabPage()
{
tab1Page = new NavigationPage(new Views.ReposView())
{
Title ... | 2.545211 | a156b84b77027bd7ee5466ffa7d575b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844009 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marcoaoteixeira/nameless",
"max_stars_repo_path": "src/Core/Implementations/test/Nameless.Core.Test/Collections/Generic/AsyncEnumerableTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163229"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Nameless.Collections.Generic {
public class AsyncEnumerableTest {
[Test]
public void Can_Create_AsyncEnumerable_From_Enumerable() {... | 2.707779 | fba1a77fd878e3cc14261d4d1187364e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844010 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CriusNyx/BehaviourTreeNodeEditor",
"max_stars_repo_path": "Assets/MainAssembally/Editor/NodeEditor/NodeEditorNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163230"
} | starcoder | <gh_stars>0
using Scripts.Extensions;
using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEditor.NodeEditor;
using UnityEngine;
[Serializable]
public class NodeEditorNode
{
[SerializeField]
public Rect windowRect = new Rect(0, 0, 400, 200);
[SerializeReference]
private NodeE... | 1.906621 | e774e755d48a3ebc67b122a0038ce351 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844011 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jonathanMelly/mtel",
"max_stars_repo_path": "src/lib/extension/StringExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163231"
} | starcoder | <filename>src/lib/extension/StringExtension.cs
using lib.parser.type;
namespace lib.extension
{
public static class StringExtension
{
public static CosmosString AsCosmosString(this string subject)
{
return CosmosTypedValue.String(subject);
}
public static CosmosVari... | 2.377384 | be96c9c5303648b203636a55f8518edd |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.