added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1337 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zbecknell/azure-sdk-for-net",
"max_stars_repo_path": "sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/Models/VirtualMachineScaleSetManagedDiskParameters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1338"
} | starcoder | <gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.Management.Compute.Models
{
/// <summary> Describes the parameters of a ScaleSet managed disk. </summary>
public partial class VirtualMachineSc... | 1.745965 | 2a421f4c32e2ad1d16a35ac39010bc22 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1338 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CosminRadu/NuGet.Client",
"max_stars_repo_path": "src/NuGet.Clients/NuGet.PackageManagement.UI/Actions/UIActionEngine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1339"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Threading;
using S... | 1.615562 | fc0c719f52dc6da32b977c439883876f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1339 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rfrerebe/GeneticSharp",
"max_stars_repo_path": "src/GeneticSharp.Domain/Crossovers/CrossoverBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1340"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HelperSharp;
using GeneticSharp.Domain.Chromosomes;
namespace GeneticSharp.Domain.Crossovers
{
/// <summary>
/// A base class for crossovers.
/// </summary>
public abstract class CrossoverBase : ICrossover
... | 2.852509 | 5fffce8d30e58a64784204ea45c71c2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1340 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Squirrelbear/KirbyArenaPublic",
"max_stars_repo_path": "KirbyArena/KirbyArena/KirbyArena/GameObjects/Blocks/CollectibleSpawner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1341"
} | starcoder | <reponame>Squirrelbear/KirbyArenaPublic
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
namespace KirbyArena
{
public class CollectibleSpawner : Block
{
protected List<Texture2D> collectibleSpr... | 2.284864 | 2d7af7f07a0330f8bb41fa5a9d40174c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1341 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sratanas/CSharpBP-Basics",
"max_stars_repo_path": "AcmeApp/Tests/Acme.CommonTests/LoggingServiceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1342"
} | starcoder | <filename>AcmeApp/Tests/Acme.CommonTests/LoggingServiceTests.cs<gh_stars>0
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Acme.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Acme.Common.Tests
{
[TestClass()]
publ... | 2.390186 | af488efbbd36360d7cac57fa844efa6c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1342 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sylvain-prevost/BinaryNotes.NET",
"max_stars_repo_path": "BinaryNotes.NET/org/bn/types/BitString.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1343"
} | starcoder | <reponame>sylvain-prevost/BinaryNotes.NET
/*
Copyright 2006-2011 <NAME> (<EMAIL>)
Original sources are available at www.latestbit.com
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
h... | 2.28958 | d353c719e0c23864080d71ce4cc42c66 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1343 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "todor-enikov/Cars-System-ASP.NET-WebForms-Project-With-MVP",
"max_stars_repo_path": "Source/CarsSystem.MVP/AllCustomers/UserGetDataEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1344"
} | starcoder | <filename>Source/CarsSystem.MVP/AllCustomers/UserGetDataEventArgs.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarsSystem.MVP.AllCustomers
{
public class UserGetDataEventArgs : EventArgs
{
public long EGN { get; set; }... | 2.113968 | 875c92e267f9b4bbf2fa7ac9a9b3f6b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1344 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "AccelerateX-org/NINE",
"max_stars_repo_path": "Sources/TimeTable/MyStik.TimeTable.Web/Views/Candidature/TextInput.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:1345"
} | starcoder | <gh_stars>1-10
@model MyStik.TimeTable.Data.Candidature
@{
ViewBag.Title = "Anschreiben";
var maxLength = 1500;
}
@Html.Partial("_Watermark")
<div class="row" style="margin-top: 20px">
<div class="col-12">
<div class="card">
<div class="card-header">Anschreiben für Aufnahmeverfahren @... | 2.431577 | 97cdf03e328301e445dab84cddf60196 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1345 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BillWagner/docs-tools",
"max_stars_repo_path": "actions/docs-verifier/src/MarkdownLinksVerifier/LinkValidator/OnlineLinkValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1346"
} | starcoder | <reponame>BillWagner/docs-tools
namespace MarkdownLinksVerifier.LinkValidator
{
// Singleton?
internal class OnlineLinkValidator : ILinkValidator
{
public ValidationResult Validate(string link, string filePath)
{
// TODO: implement this.
return new ValidationResult {... | 1.679283 | 216ea08fffeb32c01f9a1e78c40c2213 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1346 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ansel86castro/Igneel",
"max_stars_repo_path": "Engine/Igneel/Rendering/Bindings/ShaderInterfaces/IEnvironmentMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1347"
} | starcoder | using Igneel.Graphics;
namespace Igneel.Rendering.Bindings
{
public interface IEnvironmentMap
{
Sampler<Texture2D> EnvironmentMap { get; set; }
bool USE_ENVIROMENT_MAP { get; set; }
}
} | 1.581558 | 95e3bb0eefe1e0d1dc7ae368d0414edd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1347 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sevginmustafa/InTheAction",
"max_stars_repo_path": "CineMagic/Web/CineMagic.Web.ViewModels/Genres/GenreNavbarViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1348"
} | starcoder | <filename>CineMagic/Web/CineMagic.Web.ViewModels/Genres/GenreNavbarViewModel.cs
namespace CineMagic.Web.ViewModels.Genres
{
using CineMagic.Data.Models;
using CineMagic.Services.Mapping;
public class GenreNavbarViewModel : IMapFrom<Genre>
{
public string Name { get; set; }
}
}
| 1.746588 | 1675097c134e2dde73a9698872fd7788 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1348 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kwhopper/metadata-extractor-dotnet",
"max_stars_repo_path": "MetadataExtractor/Formats/Tiff/DirectoryTiffHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1349"
} | starcoder | // Copyright (c) <NAME> and contributors. All Rights Reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using MetadataExtractor.IO;
namespace MetadataExtractor.Formats.Tiff
{
/// <summary>
/// ... | 2.737308 | eb9b428fdf5717fd9875c5c135bc20b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1349 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "benchabot2/ReactiveUI",
"max_stars_repo_path": "src/ReactiveUI.Tests/Platforms/common-gui/Mocks/RaceConditionFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1350"
} | starcoder | <filename>src/ReactiveUI.Tests/Platforms/common-gui/Mocks/RaceConditionFixture.cs
// Copyright (c) 2021 .NET Foundation and Contributors. All rights reserved.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file... | 2.137361 | 54722e6f2035583b9735b35c7419ae20 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1350 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Lombiq/Open-Source-Orchard-Extensions",
"max_stars_repo_path": "src/Orchard.Web/Modules/Orchard.MediaLibrary/Extensions/MediaMetaDataExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1351"
} | starcoder | <filename>src/Orchard.Web/Modules/Orchard.MediaLibrary/Extensions/MediaMetaDataExtensions.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Orchard.ContentManagement.MetaData.Builders;
namespace Orchard.ContentManagement.MetaData {
public static class MediaMetaDa... | 2.493542 | 98c7f345e877e331da9da7df09bbb332 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1351 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "gmonteeeiro/TrueMiningDesktop",
"max_stars_repo_path": "Saldo/Nanopool/Objects/AccountBalance.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1352"
} | starcoder | namespace TruePayment.Nanopool.Objects
{
public class AccountBalance
{
public bool status { get; set; }
public decimal data { get; set; }
}
} | 1.552714 | 48a9a1de31f975522229f373178a0702 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1352 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Talagozis/Talagozis.Website",
"max_stars_repo_path": "Talagozis.Website/Models/ViewModels/PostViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1353"
} | starcoder | <filename>Talagozis.Website/Models/ViewModels/PostViewModel.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Piranha.Models;
using Talagozis.AspNetCore.Models.ViewModels;
using Talagozis.Website.Models.Cms.PageTypes;
using Talagozis.Website.Models.Cms.PostTypes;
... | 1.737674 | 9731470708303d54c62df8667ee9c1a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1353 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "scottyg2334/plain-rabbitmq",
"max_stars_repo_path": "Plain.RabbitMQ/Subscriber.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1354"
} | starcoder | <reponame>scottyg2334/plain-rabbitmq
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using System;
using System.Collections.Generic;
using System.Text;
namespace Plain.RabbitMQ
{
public class Subscriber : ISubscriber
{
private readonly IConnectionProvider _connectionProvider;
private read... | 2.420976 | f50f639be8a105de5441812b7f6b1f55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1354 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "fossabot/iguagile-dotnet",
"max_stars_repo_path": "Iguagile/Api/RoomApiResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1355"
} | starcoder | using System.Runtime.Serialization;
namespace Iguagile.Api
{
[DataContract]
public class RoomApiResponse
{
[DataMember(Name = "success")]
public bool Success { get; set; }
[DataMember(Name = "error")]
public string Error { get; set; }
}
}
| 1.811583 | 8bd1691b416b800f2dd323e33f096a68 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1355 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "UnityEngine/UI/InputField.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1356"
} | starcoder | <filename>UnityEngine/UI/InputField.cs
[AddComponentMenu] // RVA: 0x119ED0 Offset: 0x119FD1 VA: 0x119ED0
public class InputField : Selectable, IUpdateSelectedHandler, IEventSystemHandler, IBeginDragHandler, IDragHandler, IEndDragHandler, IPointerClickHandler, ISubmitHandler, ICanvasElement, ILayoutElement // TypeDefInd... | 1.65671 | 4558727d755ae2ab8d768c196f7ed47d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1356 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "renehugentobler/ClientManager",
"max_stars_repo_path": "HSoft.ClientManager.Web/Account/RegisterExternalLogin.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1357"
} | starcoder | <reponame>renehugentobler/ClientManager
using System;
using System.Web;
using System.Web.Security;
using DotNetOpenAuth.AspNet;
using Microsoft.AspNet.Membership.OpenAuth;
public partial class Account_RegisterExternalLogin : System.Web.UI.Page
{
protected string ProviderName
{
get { return (string)Vie... | 2.243384 | 5d2e30c64890c8bfeeb4762192ba5e9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1357 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MikhailMasny/calendar-link-app",
"max_stars_repo_path": "src/Masny.WebApi/Services/AccountService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1358"
} | starcoder | using AutoMapper;
using Masny.WebApi.Contracts.Requests;
using Masny.WebApi.Contracts.Responses;
using Masny.WebApi.Data;
using Masny.WebApi.Entities;
using Masny.WebApi.Helpers;
using Masny.WebApi.Interfaces;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.Tokens... | 2.274065 | c35b765a1aec3cf05ef175361785a020 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1358 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thelad43/Online-Library-Management-System",
"max_stars_repo_path": "src/Online Library Management System/OnlineLibraryManagementSystem.Web/Models/Authors/AuthorsListingViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1359"
... | starcoder | namespace OnlineLibraryManagementSystem.Web.Models.Authors
{
using Services.Models.Authors;
using System.Collections.Generic;
public class AuthorsListingViewModel
{
public PageViewModel Page { get; set; }
public IEnumerable<AuthorServiceModel> Authors { get; set; }
}
} | 1.519073 | 40423f0d4ef9f1a2a14d9c33450093a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1359 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "erikzhouxin/NSqliteCipher",
"max_stars_repo_path": "demo/wpf/ViewModels/BindableViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1360"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestWPFUI.SQLiteCipher.ViewModels
{
/// <summary>
/// 可绑定的视图模型
/// </summary>
public abstract class BindableViewModel : INotifyPropertyChanged
... | 2.938446 | 56641e2712828315e7c4cdf5f1d36f2e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1360 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MarketingInternetOnlines/Krypton-NET-5.480",
"max_stars_repo_path": "Source/Krypton Components/ComponentFactory.Krypton.Workspace/Palette Demo/WorkspacePageMenuBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1361"
} | starcoder | <filename>Source/Krypton Components/ComponentFactory.Krypton.Workspace/Palette Demo/WorkspacePageMenuBase.cs
// *****************************************************************************
//
// © Component Factory Pty Ltd 2012 - 2019. All rights reserved.
// The software and associated documentation supplied hereu... | 1.965067 | 9385219a74b1718cbf0555afa8a2b778 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1361 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "mitchelsellers/Dnn.vNext",
"max_stars_repo_path": "src/Dnn.vNext/Data/Journal_Access.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1362"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Dnn.vNext.Data
{
public class Journal_Access
{
[Key]
/*PK*/ public int JournalAccessId { get; set; }
public int JournalTypeId { get; set; }
... | 1.785918 | 13e0c025128cdfea3ecf806283855752 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1362 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TPicc2707/BlazorTutorial",
"max_stars_repo_path": "src/Blazorecommerce/Server/Services/CategoryService/CategoryService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1363"
} | starcoder | namespace Blazorecommerce.Server.Services.CategoryService
{
public class CategoryService : ICategoryService
{
private readonly DataContext _context;
public CategoryService(DataContext context)
{
_context = context;
}
public async Task<ServiceResponse<List<C... | 2.37134 | 75474389f115ba5f02cb9a509a048ab8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1363 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KirilChuchev/Conditional-Statements",
"max_stars_repo_path": "Time + 15 Minutes (HOME)/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1364"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Time___15_Minutes__HOME_
{
class Program
{
static void Main(string[] args)
{
int hours = int.Parse(Console.ReadLine());
int minutes... | 3.384518 | 69ae6dd180d936ef3757f70e65044898 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1364 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "vitorbaraujo/googleads-mobile-unity",
"max_stars_repo_path": "source/plugin/Assets/GoogleMobileAds/Platforms/iOS/Utils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1365"
} | starcoder | <reponame>vitorbaraujo/googleads-mobile-unity
// Copyright (C) 2015 Google, Inc.
//
// 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
//
/... | 1.747778 | 69ea30911f11f56b95283dcf27b68ee9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1365 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "c3rebro/EventMessenger",
"max_stars_repo_path": "EventMessenger/ViewModel/ResponseEditorDialogViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1366"
} | starcoder | /*
* Created by SharpDevelop.
* Date: 03/04/2017
* Time: 21:20
*
*/
using EventMessenger;
using EventMessenger.ViewModel;
using EventMessenger.EventObjects;
using EventMessenger.Model.ResponseObjects;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using GalaSoft.MvvmLight.Messaging;
using MvvmDial... | 1.868053 | 0521dda7b2ce27fc2bcf78fe04d46074 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1366 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ach4ndi/pkm_andt_old",
"max_stars_repo_path": "NinfiaDSToolkit/_un/vPWTSB.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1367"
} | starcoder | using WeifenLuo.WinFormsUI.Docking;
namespace Andi.Toolkit._un
{
public partial class vPWTSB : DockContent
{
public vPWTSB()
{
InitializeComponent();
}
}
}
| 1.12073 | c3c969692f2975925a2eae84c7388ddf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "akzo/TestWorld",
"max_stars_repo_path": "Assets/PlayerController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1368"
} | starcoder |
using UnityEngine;
public class PlayerController : MonoBehaviour {
public Camera myCamera;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (Input.GetKey("up"))
{
transform.Translate(0, 0, 2);
myC... | 2.01315 | a4debcb7f9147b2227d1149bf51bad2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1368 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "dotmos/uGameFramework",
"max_stars_repo_path": "Unity/Assets/GameFramework/Modules/ECS/EntityManagerArrayBased.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1369"
} | starcoder | <filename>Unity/Assets/GameFramework/Modules/ECS/EntityManagerArrayBased.cs
using FlatBuffers;
using Service.Serializer;
using System;
using System.Collections.Generic;
using System.Linq;
using UniRx;
using Zenject;
namespace ECS {
public class EntityManagerArrayBased : DefaultSerializable2, IEntityManager {
... | 2.251734 | 655c98f157c1c8eeca41663864d120ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1369 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "panoramicdata/Uk.CompaniesHouse.Api",
"max_stars_repo_path": "Uk.CompaniesHouse.Api/Data/DisqualifiedOfficerNatural/LastVariation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1370"
} | starcoder | using System.Runtime.Serialization;
namespace Uk.CompaniesHouse.Api.Data.DisqualifiedOfficerNatural
{
/// <summary>
/// The latest variation made to the disqualification.
/// </summary>
[DataContract]
public class LastVariation
{
/// <summary>
/// The case identifier of the variation.
/// </summary>
[Da... | 2.120888 | b86c95504ad0cf143d890b73d513b832 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1370 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GFLEE/MetadataModeling",
"max_stars_repo_path": "MetadataModeling.Base/Database/DmColumn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1371"
} | starcoder | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
using MetadataModeling.Base.Database.Xml;
using MetadataModeling.Common;
namespace MetadataModeling.Base.Database
{
public class DmColumn : DmItem<ColumnXml>, ICopy
{
public DmCol... | 2.318208 | e35c8c82742256a6a251aae7c5de6b01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1371 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hoangnc/hsmart",
"max_stars_repo_path": "modules/DocumentManagement/src/HSmart.DocumentManagement.Domain.Shared/DocumentManagementErrorCodes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1372"
} | starcoder | <reponame>hoangnc/hsmart
namespace HSmart.DocumentManagement
{
public static class DocumentManagementErrorCodes
{
//Add your business exception error codes here...
}
}
| 0.820294 | 7db76369b98cb29e5cadbb02757891be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1372 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chen1993nian/CPMPlatform",
"max_stars_repo_path": "AppModel/EIS.WorkFlow.XPDLParser/Elements/BaseElementWithIdName.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1373"
} | starcoder | using System;
namespace EIS.WorkFlow.XPDLParser.Elements
{
public class BaseElementWithIdName : BaseElement
{
private string string_0;
private string string_1;
public BaseElementWithIdName()
{
}
public string GetId()
{
return base.GetAttribute(this.string_1, out this.string_1, "Id");
}
publi... | 2.46759 | 4b3d1d7b347be39ab1863072032db322 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1373 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emipa606/RFArchipelagos",
"max_stars_repo_path": "Source/Rainbeau's Archipelagos/BiomeWorker_Archipelago_Temperate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1374"
} | starcoder | using RimWorld;
using RimWorld.Planet;
namespace RA_Code
{
public class BiomeWorker_Archipelago_Temperate : BiomeWorker
{
public override float GetScore(Tile tile, int tileID)
{
if (!tile.WaterCovered)
{
return -100f;
}
if (tile.... | 2.494209 | 31689a148e3b4f233803bae9bf2f8daf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1374 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jimlofgren/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Migrations/MigrationBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1375"
} | starcoder | <reponame>jimlofgren/Umbraco-CMS<gh_stars>1-10
using System;
using Umbraco.Core.Composing;
namespace Umbraco.Core.Migrations
{
public class MigrationBuilder : IMigrationBuilder
{
private readonly IFactory _container;
public MigrationBuilder(IFactory container)
{
_container... | 1.838236 | 7133974ba164fffccd701b6eb87937b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1375 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "SkillsFundingAgency/dfc-servicetaxonomy-editor",
"max_stars_repo_path": "DFC.ServiceTaxonomy.ContentApproval/Models/DashboardItemsStatusCard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1376"
} | starcoder | <reponame>SkillsFundingAgency/dfc-servicetaxonomy-editor
namespace DFC.ServiceTaxonomy.ContentApproval.Models
{
public enum DashboardItemsStatusCard
{
InDraft,
WaitingForReview, // change to ReadyToReview to match ReviewStatus?
InReview,
Published,
MyWorkItems
... | 1.249554 | 3d1bd92236a37bc64c648d97cb3e5bba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1376 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "KorStrix/Unity_PrefabSpawner",
"max_stars_repo_path": "Assets/StrixLibrary/01.ScriptOnly/ObjectBase/CObjectBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1377"
} | starcoder | #region Header
/* ============================================
* Strix Unity Library
* https://github.com/KorStrix/UnityLibrary
* ============================================
* 작성자 : Strix
*
* 기능 :
* GetComponentAttribute를 지원합니다. - GetComponentAttribute.cs 필요
* Update 퍼포먼스가 향상됩니다. - CManager... | 1.923339 | 9d1a9ffa58c45d7b26e661056db3cce0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1377 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "YevgenNabokov/ForgedOnce.TSLanguageServices",
"max_stars_repo_path": "ForgedOnce.TsLanguageServices.FullSyntaxTree/AstModel/Generated/StInferTypeNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1378"
} | starcoder | <filename>ForgedOnce.TsLanguageServices.FullSyntaxTree/AstModel/Generated/StInferTypeNode.cs<gh_stars>1-10
using System;
namespace ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel
{
public class StInferTypeNode : ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StNode, ForgedOnce.TsLanguageServices.F... | 2.269377 | c8794ddd15396a1f3c593d988d5f5253 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1378 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "mbaske/robot-ants",
"max_stars_repo_path": "Assets/Scripts/Ant/AntEnergy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1379"
} | starcoder | <reponame>mbaske/robot-ants
using UnityEngine;
using MBaske.Sensors.Grid;
using System;
namespace MBaske.RobotAnts
{
public class AntEnergy : DetectableGameObject2D
{
public event Action PowerupEvent;
public float Energy() => m_Energy;
private float m_Energy;
[SerializeField]... | 2.165147 | 36e2c20aa63f9ac1d8036b4c952aaff7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1379 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SeanKilleen/lucenenet",
"max_stars_repo_path": "src/Lucene.Net.Tests/core/Util/Automaton/TestDeterminism.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1380"
} | starcoder | using NUnit.Framework;
namespace Lucene.Net.Util.Automaton
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses t... | 2.356085 | 4401e7814db5b3b217a5afb1273c2f56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1380 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "xamarin/ServiceStack",
"max_stars_repo_path": "src/ServiceStack.Common/Utils/ReflectionUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1381"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using ServiceStack.Common.Support;
using ServiceStack.Logging;
namespace ServiceStack.Common.Utils
{
public class ReflectionUtils
{
public static readonly ILog Log = LogManager.GetL... | 2.853523 | f88c0ed00453f9234d148f5ef2939702 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1381 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "megalon/NASB_Parser",
"max_stars_repo_path": "NASB_Parser/FloatSources/FSRandom.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1382"
} | starcoder | <filename>NASB_Parser/FloatSources/FSRandom.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace NASB_Parser.FloatSources
{
public class FSRandom : FloatSource
{
public bool Ratio { get; set; }
public FloatSource A { get; set; }
public FloatSource B { get; se... | 2.668509 | c223ff1dbf27ce5a6afefd9d6f786d54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1382 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MadPacMan/RimThreaded-1",
"max_stars_repo_path": "Source/Room_Transpile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1383"
} | starcoder | using HarmonyLib;
using System.Collections.Generic;
using System.Linq;
using Verse;
using System.Reflection.Emit;
using System;
using System.Threading;
namespace RimThreaded
{
public class Room_Transpile
{
public static IEnumerable<CodeInstruction> RemoveRegion(IEnumerable<CodeInstruction> instruction... | 2.312761 | 5584fe7f4ea9f8f95dbb96b9421ce299 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1383 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "PacktPublishing/Unity-5.x-Animation-Cookbook",
"max_stars_repo_path": "Assets/Chapter 05/Recipe 08/Scripts/BlendMultiple.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1384"
} | starcoder | <reponame>PacktPublishing/Unity-5.x-Animation-Cookbook<filename>Assets/Chapter 05/Recipe 08/Scripts/BlendMultiple.cs
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class BlendMultiple : MonoBehaviour {
//This helper variables store the values of the corresponding parameters
//in th... | 2.579225 | b6f85d27e974dd7fffdd564280de3ed7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1384 | {
"extension": "c-sharp",
"max_stars_count": "9402.0",
"max_stars_repo_name": "pyracanda/runtime",
"max_stars_repo_path": "src/libraries/Microsoft.Win32.Registry.AccessControl/ref/Microsoft.Win32.Registry.AccessControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1385"
} | starcoder | <reponame>pyracanda/runtime<gh_stars>1000+
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// ------------------------------------------------------------------------------
// Changes to this file must follow the https://aka.ms/api... | 1.462774 | 5c5e5e3c1cb2e3f08bedc14eb53bafce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1385 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "icansiz/schemazen",
"max_stars_repo_path": "model/Models/PartitionFunction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1386"
} | starcoder | <gh_stars>0
using System.Text;
namespace SchemaZen.Library.Models {
public class PartitionFunction : BaseDBObject {
public string RangeValues { get; set; }
public string ParameterType { get; set; }
public string RangeType { get; set; }
public PartitionFunction (string name) {
Name = name;
}
public... | 2.103084 | 376a53afb912af0584d912155cf262f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1386 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "sucrose0413/Microservice.Whatevers",
"max_stars_repo_path": "src/Microservice.Whatevers.Domain/Abstractions/Notifications/INotification.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1387"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
namespace Microservice.Whatevers.Domain.Abstractions.Notifications
{
public interface INotification
{
string Error { get; }
List<string> Errors { get; }
void AddError(string error);
void AddError(INotification notificatio... | 1.751396 | 7a21ede641f0850c326de8ea45050f6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1387 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "me-viper/MappingGenerator",
"max_stars_repo_path": "gen/MappingEmitContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1388"
} | starcoder | <filename>gen/MappingEmitContext.cs
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Talk2Bits.MappingGenerator.Abstractions;
namespace Talk2Bits.MappingGenerator.SourceGeneration
{
int... | 2.097013 | ceb7985d9c0e52a376761dd3411da80d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1388 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AHAKuo/CorgiEngineExtensions",
"max_stars_repo_path": "WeaponDisable/WeaponDisable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1389"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MoreMountains.CorgiEngine;
using MoreMountains.Tools;
public class WeaponDisable : CharacterAbility {
public override string HelpBoxText() { return "This component handles the disabling of weapons during both wall hanging and l... | 2.472616 | c79fafb2ed2709bff1a46160b6fb7c12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1389 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "toddmeinershagen/Kata.Algorithms",
"max_stars_repo_path": "Kata.Algorithms/Palindrome/IterativePalindromeValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1390"
} | starcoder | using System;
namespace Kata.Algorithms.Palindrome
{
public class IterativePalindromeValidator : IPalindromeValidator
{
public bool IsPalindrome(string value)
{
if (value == null)
return false;
if (value == String.Empty)
return true;
for (int i = 0; i < value.Length; i++)
{
... | 3.535252 | 7d35046767aed19d740c5c4338f4fc84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1390 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "LagradOst/CloudStreamElectron",
"max_stars_repo_path": "CloudStreamElectron/Views/Result/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:1391"
} | starcoder | <reponame>LagradOst/CloudStreamElectron
@using static CloudStreamForms.Core.CloudStreamCore;
@using CloudStreamElectron.Controllers;
@using ElectronNET.API;
@using Newtonsoft.Json;
@{
ViewData["Title"] = "CloudStream 2";
}
<script src="/js/download.min.js"></script>
<!--<script src="~/js/hls.js"></script>-->
<!--
... | 1.646936 | 4c7837b40aa3385bf048d1d4e92c8416 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1391 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zeecorleone/elasticsearch-net",
"max_stars_repo_path": "src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.NoNamespace.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1392"
} | 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
// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║... | 2.008913 | c91bdb2875ab5d4767524a0a22204f41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1392 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "macmillan333/yaac_unity",
"max_stars_repo_path": "Assets/Scripts/Ui/ProfileEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1393"
} | starcoder | <reponame>macmillan333/yaac_unity
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class ProfileEditor : MonoBehaviour
{
public Toggle introSkipToggle;
public Toggle instantAgreeToggle;
public Toggle quizSkipTogg... | 2.03868 | ad91fb42262c2687c1d34052ef29fbff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1521 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trs4/IcyRain",
"max_stars_repo_path": "IcyRain/Switchers/Bytes/SegmentBytesSwitcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1522"
} | starcoder | using System;
using System.Runtime.CompilerServices;
using IcyRain.Compression.LZ4;
using IcyRain.Internal;
namespace IcyRain.Switchers
{
internal sealed class SegmentBytesSwitcher : BytesSwitcher<ArraySegment<byte>>
{
[MethodImpl(Flags.HotPath)]
public sealed override byte[] Serialize(ArraySe... | 2.188617 | 2a39f2442101331eb0f3f266f0e924fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1522 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lonsdale341/MeasureARKit",
"max_stars_repo_path": "Assets/Test/Scripts/LinkPoseY.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1523"
} | starcoder | <reponame>lonsdale341/MeasureARKit
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class LinkPoseY : MonoBehaviour
{
public Slider Vert_slider;
public Text text_value;
public GameObject GamePose1, GamePose2;
public Vector3 position2, position1;
public Vector3 pos_tempY;
... | 1.869579 | 2e6cb2d2791836f8c59d2b4abdd249dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1523 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "lpb243310820/MicroservicesDemo",
"max_stars_repo_path": "Lpb.Identity/Lpb.Identity.Web/Controllers/HomeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1524"
} | starcoder | <reponame>lpb243310820/MicroservicesDemo
using Microsoft.AspNetCore.Mvc;
namespace Lpb.Identity.Web.Controllers
{
public class HomeController : IdentityControllerBase
{
public ActionResult Index()
{
return Redirect("/swagger");
}
}
} | 1.124959 | d6862faab38e14c9b4ac2f03144f3f6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1524 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lotosbin/RigoFunc.IdentityServer",
"max_stars_repo_path": "src/RigoFunc.IdentityServer.RedisStore/Services/Redis/RedisTokenHandleStore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1525"
} | starcoder | <filename>src/RigoFunc.IdentityServer.RedisStore/Services/Redis/RedisTokenHandleStore.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using IdentityServer3.Contrib.Store.Redis;
using IdentityServer4.Models;
using IdentityServer4.Services;
using StackExchange.Redis;
... | 2.190092 | 4c29a212489269b875dc8961f6bc5fd6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1525 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rubberydev/HealthCenter",
"max_stars_repo_path": "HealthCenter/HealthCenter/HealthCenter/Models/WorkDay.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1526"
} | starcoder | <reponame>rubberydev/HealthCenter<gh_stars>0
namespace HealthCenter.Models
{
using System;
using System.Collections.Generic;
public class WorkDay
{
public int idWorkDay { get; set; }
public DateTime startDayHour { get; set; }
public DateTime endDayHour { get; set; }
... | 1.638367 | f4fbc34857ccac4d5a5ea333486e59d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1526 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pflausino/TestHeros.Migrator",
"max_stars_repo_path": "TestHeros.Migrator/TestHeros.Migrator.Data/Migrations/202007192311.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1527"
} | starcoder | <reponame>pflausino/TestHeros.Migrator
using System;
using System.Collections.Generic;
using FluentMigrator;
using TestHeros.Migrator.Domain.Entities;
namespace TestHeros.Migrator.Data.Migrations
{
[Migration(202007192311)]
public class InsertHerosTable : Migration
{
public override void Up()
... | 1.743884 | 0012afc8261333aada1a02fd57b93dc5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1527 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nventive/Pantry",
"max_stars_repo_path": "src/Pantry.Mediator.AspNetCore/Execution/DomainRequestExecutor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1528"
} | starcoder | using System;
using System.Collections;
using System.Text.Json;
using System.Threading.Tasks;
using FormatWith;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using Pantry.Continuation;
namespace Pantry.Mediator.AspNetCore.Execution
{
/// <summary>
/// <se... | 2.308966 | e3cd17a2e9223f97fe2c7a4aac435c08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1528 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "qesadwzxc/SomethingFunny",
"max_stars_repo_path": "TestProject/TestConsoleApplication/PracticeFunctionAddOn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1529"
} | starcoder | <filename>TestProject/TestConsoleApplication/PracticeFunctionAddOn.cs
/////////////////////////////////////////////////////////////////////////////////////////////
/// 针对系统类型提供扩展方法
/////////////////////////////////////////////////////////////////////////////////////////////
/// 扩展方法的好... | 3.220705 | caaed9dcb83d2cc0e6cae046ebb4b162 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1529 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aouimar/hotchocolate",
"max_stars_repo_path": "src/StrawberryShake/CodeGeneration/src/CodeGeneration/Descriptors/TypeDescriptors/ScalarTypeDescriptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1530"
} | starcoder | using HotChocolate;
namespace StrawberryShake.CodeGeneration.Descriptors.TypeDescriptors
{
public class ScalarTypeDescriptor : ILeafTypeDescriptor
{
public ScalarTypeDescriptor(
NameString name,
RuntimeTypeInfo runtimeType,
RuntimeTypeInfo serializationType)
... | 2.269572 | 98ad076b94032b95cdae931ebb5c926a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1530 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ivanpaulovich/authmfa",
"max_stars_repo_path": "source/Jambo.Producer.Application/CommandHandlers/Children/CheckOutCommandHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1531"
} | starcoder | using Jambo.Domain.Model.Schools;
using Jambo.Domain.ServiceBus;
using Jambo.Producer.Application.Commands.Children;
using MediatR;
using System;
using System.Threading.Tasks;
namespace Jambo.Producer.Application.CommandHandlers.Teachers
{
public class CheckOutCommandHandler : IAsyncRequestHandler<CheckOutCommand... | 2.160183 | 3e9de443e5a74fde83d448dbe37fa4dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1531 | {
"extension": "c-sharp",
"max_stars_count": "574.0",
"max_stars_repo_name": "CurufinweU/structuremap",
"max_stars_repo_path": "src/StructureMap.Testing.Performance/TypeCatalog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1532"
} | starcoder | <gh_stars>100-1000
using System;
namespace StructureMap.Testing.Performance
{
public static class TypeCatalog
{
static TypeCatalog()
{
var typesMap = new[]
{
Tuple.Create(typeof(IService0), typeof(Service0)),
Tuple.Create(typeof(IService1... | 2.083659 | b8d1c53ad754e03cad2c4924bf80ab39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1532 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dosymep/RevitPlugins",
"max_stars_repo_path": "RevitLintelPlacement/Models/LintelElementCorrelator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1533"
} | starcoder | <reponame>dosymep/RevitPlugins
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Autodesk.Revit.DB;
using RevitLintelPlacement.Models.Interfaces;
using RevitLintelPlacement.ViewModels;
namespace RevitLintelPlacement.Models {
internal class ... | 2.175695 | 81df2eb4e2551aa838d7f0489441b64e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1533 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NSysX/NSysWeb",
"max_stars_repo_path": "NSysWeb/src/Presentation/WebAPI/Controllers/v1/AsentamientoController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1534"
} | starcoder | <reponame>NSysX/NSysWeb
using Application.Features.Asentamientos.Commands.ActualizarAsentamientosCommand;
using Application.Features.Asentamientos.Commands.EliminarAsentamientosCommand;
using Application.Features.Asentamientos.Commands.InsertarAsentamientosCommand;
using Application.Features.Asentamientos.Queries.Asen... | 2.145579 | 4478e36869f661823e7f57f99e05bec2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1534 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FinchYang/test",
"max_stars_repo_path": "AecPrivateCloud.ALL/Client/SimulaDesign.WPFCustomUI/Controls/ImgTabControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1535"
} | starcoder | using System.Windows;
using System.Windows.Controls;
namespace SimulaDesign.WPFCustomUI.Controls
{
public class ImgTabControl : TabControl
{
static ImgTabControl()
{
FrameworkElement.DefaultStyleKeyProperty.OverrideMetadata(typeof(ImgTabControl), new FrameworkPropertyMetadata(typeof(ImgT... | 2.227657 | 581c0c4c3bb5fda4ab7e630f86a7dff5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1535 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xenups/Solider-Service-Count-Down",
"max_stars_repo_path": "SoldierCountDown/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1536"
} | starcoder | <gh_stars>0
using PersianDate;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Timers;
using System.Windows.Forms;
namespace SoldierCountDown
{... | 2.731803 | 0f373b573ad31d19b8bffe8754a66fd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1536 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dtkujawski/efcore",
"max_stars_repo_path": "test/EFCore.SqlServer.Tests/Storage/SqlServerTypeMappingTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1537"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Data;
using System.Data.Common;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Microsoft.Data... | 2.094804 | f6b430aed0c792e368bb1d606a8858df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1537 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neocodejack/burial-plots",
"max_stars_repo_path": "burialplots/DAL/Partner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1538"
} | starcoder | <gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is ... | 1.669799 | 05509e99731b17b5572df388bb731034 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1538 | {
"extension": "c-sharp",
"max_stars_count": "79.0",
"max_stars_repo_name": "githubrontian/GameFramework",
"max_stars_repo_path": "GameFramework/ObjectPool/ObjectPoolManager.Object.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1539"
} | starcoder | //------------------------------------------------------------
// Game Framework v3.x
// Copyright © 2013-2018 <NAME>. All rights reserved.
// Homepage: http://gameframework.cn/
// Feedback: mailto:<EMAIL>
//------------------------------------------------------------
using System;
namespace GameFramework.ObjectPool... | 2.904167 | b922d3ce99d30817e34e5611c79f35be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1539 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BohdanMosiyuk/samples",
"max_stars_repo_path": "snippets/csharp/VS_Snippets_CFX/c_simpleimpersonation/cs/source.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1540"
} | starcoder | using System;
using System.Collections.Generic;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Security.Tokens;
using System.Security.Permissions;
[assembly: SecurityPermission(
SecurityAction.RequestMinimum, Execution = true)]
namespace ProxySample
{
public class T... | 2.502589 | e5cd2c14a3517b3610cdd0f26c3f6443 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1540 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Subhajit-Nath/Sudoku-Checker",
"max_stars_repo_path": "SudokuChecker/SudokuChecker/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1541"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace SudokuChecker
{
class Program
{
static void Main(string[] args)
{
//int[][] board = new int[][]
//{
// new int[]{ 7,3,5,6,1,4,8,9,2 },
// new int[]{ 8,4,2,9,7,3,5,... | 3.473341 | 2c12797098a6d6d1848a28e562e66cc2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1541 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikistoianov/CSharp-DB-Fundamentals-Homeworks",
"max_stars_repo_path": "Database Advanced - Entity Framework/05.EntityRelations/P03_FootballBetting.Data/Configurations/TeamConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1542"... | starcoder | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using P03_FootballBetting.Data.Models;
namespace P03_FootballBetting.Data.Configurations
{
public class TeamConfig : IEntityTypeConfiguration<Team>
{
public void Configure(EntityTypeBuilder<Team> builder)
... | 2.013205 | 95b0c0c98f012bc617fe134d0eac29f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1542 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeCity/Lykke.Service.PayPushNotifications",
"max_stars_repo_path": "src/Lykke.Service.PayPushNotifications.Core/Settings/IRabbitMqSubscriberSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1543"
} | starcoder | <filename>src/Lykke.Service.PayPushNotifications.Core/Settings/IRabbitMqSubscriberSettings.cs
namespace Lykke.Service.PayPushNotifications.Core.Settings
{
public interface IRabbitMqSubscriberSettings
{
string ConnectionString { get; }
string ExchangeName { get; }
string QueueName { ge... | 1.490386 | 7579b51ce73a9cc129d7ec6acbce1e54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1543 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dogukanalan/Sultanlar",
"max_stars_repo_path": "Sultanlar/Sultanlar.DatabaseObject/Gorevler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1544"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Collections;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Sultanlar.DatabaseObject
{
public class Gorevler : IDisposable, ISultanl... | 2.325364 | df6eac9249dc5ddd387190bfb9c92ca0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1544 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "giannik/EasyOC",
"max_stars_repo_path": "src/Core/EasyOC.Core/Indexs/EOCIndexAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1545"
} | starcoder | using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EasyOC.Core.Indexs
{
//
// 摘要:
// 索引设置,如:[Index("{tablename}_idx_01", "name")]
//
// 参数:
// name:
// 索引名
// v1.7.0 ... | 2.601547 | 5ac60b062d99dfb24c21c79bb2ba84c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1545 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "kfrancis/chargify-dot-net",
"max_stars_repo_path": "Source/ChargifyDotNet/Usage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1546"
} | starcoder | <filename>Source/ChargifyDotNet/Usage.cs
#region License, Terms and Conditions
//
// Usage.cs
//
// Authors: <NAME> <twitter.com/djbyter>, <NAME>
// Copyright (C) 2010 Clinical Support Systems, Inc. All rights reserved.
//
// THIS FILE IS LICENSED UNDER THE MIT LICENSE AS OUTLINED IMMEDIATELY BELOW:
//
// Permissi... | 2.6414 | a66464fd91a3b5da7c11a80400d5cd7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1546 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MasteRyuuuu/ACT.Hojoring",
"max_stars_repo_path": "source/ACT.UltraScouter/ACT.UltraScouter.Core/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1547"
} | starcoder | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows.Markup;
[assembly: AssemblyTitle("ACT.UltraScouter.Core")]
[assembly: AssemblyDescription("https://github.com/anoyetta/ACT.UltraScouter")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("anoyetta")]
[assembly:... | 1.60993 | 5b3049e690a09986d229c6268c4b1933 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1547 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "simonmkwii/NCABuilder",
"max_stars_repo_path": "NCABuilder/Crypto/XTS-AES/SectorStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1548"
} | starcoder | <gh_stars>10-100
// Copyright (c) 2010 <NAME> (<EMAIL>)
// 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 above copyright notice,
// ... | 2.821413 | 61d2c23258e40c4993f900dff6f15dc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1548 | {
"extension": "c-sharp",
"max_stars_count": "63.0",
"max_stars_repo_name": "wantedfast/cognitive-services-containers-samples",
"max_stars_repo_path": "Kubernetes/face/face-identify/Face-Webapp/Face-Webapp/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:1549"
} | starcoder | @{
ViewData["Title"] = "Home Page";
}
<h1>Upload images to create a PersonGroup</h1>
<form method="post" enctype="multipart/form-data" asp-controller="UploadFiles" asp-action="Index">
<div class="form-group">
<div class="col-md-10">
<p>Upload one or more files using this form:</p>
... | 2.482074 | dad5432523b1219bc45bfb92f9af56c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1549 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mertmzzx/SoftUni-Exercises",
"max_stars_repo_path": "Programming Fundamentals/Basic Syntax, Conditional Statements and Loops - Exercise/05. Login/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1550"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
namespace _05._Login
{
class Program
{
static void Main(string[] args)
{
string username = Console.ReadLine();
string password = new string(username.ToCharArray().Reverse().ToArray());
//string pas... | 3.626219 | c5a36bfc205a23db2479461d54764bb8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1550 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bungalow64/SlowFox",
"max_stars_repo_path": "tests/ExternalProject.Net3_1.UnitTestMocks.MSTest.Sample.Tests/MultipleDependenciesTests/TwoDependenciesTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1551"
} | starcoder | <gh_stars>0
using ExternalProject.Net3_1.UnitTestMocks.Sample.MultipleDependenciesTests;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace ExternalProject.Net3_1.UnitTestMocks.MSTest.Sample.MultipleDependenciesTests
{
[SlowFox.InjectMocks(typeof(TwoDependencies))]
[TestClass]
public ... | 2.114389 | e6847f22bd6ac305b7187dadffc09fd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1551 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DaveKriewall/itextsharp",
"max_stars_repo_path": "src/extras/itextsharp.xmlworker/iTextSharp/tool/xml/css/WidthCalculator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1552"
} | starcoder | <filename>src/extras/itextsharp.xmlworker/iTextSharp/tool/xml/css/WidthCalculator.cs
using System;
using System.Collections.Generic;
using System.util;
using iTextSharp.tool.xml.html;
/*
* $Id: WidthCalculator.java 170 2011-06-08 10:06:43Z emielackermann $
*
* This file is part of the iText (R) project.
* Copyrigh... | 2.08262 | 195c9967b8b39bd50572762b15f8818e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1552 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "teliosystems/demo_website",
"max_stars_repo_path": "Areas/Admin/Views/Users/ListUser.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:1553"
} | starcoder | @model List<Voice.Areas.Admin.Models.UsersModel>
<link href="~/Content/bootstrap.min.css" rel="stylesheet" />
@{
Layout = "~/Areas/Admin/Views/Shared/_LayoutAdmin.cshtml";
}
<style>
thead {
background-color: aquamarine;
}
</style>
<div class="container">
<br />
<br ... | 2.304928 | 47aa5bce7246b30f27f9b421ec3f2066 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1553 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "HydrologicEngineeringCenter/HEC-FDA",
"max_stars_repo_path": "ViewModel/ImpactAreaScenario/Results/PerformanceAEPVM.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1554"
} | starcoder | using HEC.Plotting.SciChart2D.DataModel;
using HEC.Plotting.SciChart2D.ViewModel;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ViewModel.ImpactAreaScenario.Results.RowItems;
namespace ViewModel.ImpactAreaScenario.Results
{
p... | 2.404014 | 74ba9362ecfb9d26b0df4ad15eaa2618 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1554 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Brankovanov/SoftUniCourses",
"max_stars_repo_path": "2.ProgrammingFundamentals/02_MethodsAndSolutions/Exercise_12_MasterNumber/masterNumber.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1555"
} | starcoder | using System;
using System.Linq;
namespace Exercise_12_MasterNumber
{
public class masterNumber
{
public static void Main(string[] args)
{
var input = 0;
input = InputRange(input);
var number = 0;
CycleRange(input, number);
}
s... | 3.802771 | 9d5cf1ba45e5c7bea88b0260d1a7487b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1555 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Xablu/NSwag",
"max_stars_repo_path": "src/NSwag.CodeGeneration.CSharp/Templates/FileTemplate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1556"
} | starcoder | <reponame>Xablu/NSwag
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version: 15.0.0.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </a... | 1.877661 | 57dbc60cc8deba0d87476e927e29af6f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1556 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "WadeBarnes/healthgateway",
"max_stars_repo_path": "Apps/Common/test/unit/FileDownload/FileDownloadServiceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1557"
} | starcoder | // -------------------------------------------------------------------------
// Copyright © 2019 Province of British Columbia
//
// 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
//
// h... | 2.149915 | cf5f8cd5c5ec25d10e8de532a5e36967 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1557 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Samrux/Discord.Net",
"max_stars_repo_path": "src/Discord.Net.WebSocket/DiscordSocketConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1558"
} | starcoder | using Discord.Net.Udp;
using Discord.Net.WebSockets;
using Discord.Rest;
namespace Discord.WebSocket
{
/// <summary>
/// Represents a configuration class for <see cref="DiscordSocketClient"/>.
/// </summary>
/// <remarks>
/// This configuration, based on <see cref="DiscordRestConfig"/>, hel... | 2.761513 | 6378a0ea5a57322ded57ab4da32b1e9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1558 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sphinxlogic/Singularity-RDK-2.0",
"max_stars_repo_path": "base/Kernel/Singularity/Scheduling/MinScheduler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1559"
} | starcoder | <reponame>sphinxlogic/Singularity-RDK-2.0
//------------------------------------------------------------------------------
//
// Microsoft Research Singularity
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Description: MinScheduler.cs
//
// Minimal round-robin style without prioriti... | 2.089064 | 43ef5e58014e20d095e29da4ecb2f18e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1559 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "cuteant/SpanJson",
"max_stars_repo_path": "src/SpanJson.Extensions/Linq/JsonPath/FieldFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1560"
} | starcoder | using System.Collections.Generic;
namespace SpanJson.Linq.JsonPath
{
internal class FieldFilter : PathFilter
{
internal string Name;
public FieldFilter(string name)
{
Name = name;
}
public override IEnumerable<JToken> ExecuteFilter(JToken root, IEnumerable... | 2.232517 | 6b45aa5ec41d4415ac0e8c4f338ecc7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1560 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SpaghettiMaker/SecuredSigning",
"max_stars_repo_path": "Migrations/20200929020151_AddProperty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1561"
} | starcoder | <gh_stars>0
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace DotNetCoreSqlDb.Migrations
{
public partial class AddProperty : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<byte[]>(
name... | 1.616783 | ceae7f359bb8300a99ad55b84e19bd93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1561 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexanderYakshin/FreeSequencer",
"max_stars_repo_path": "FreeSequencer/Assets/FreeSequencer/Editor/SequenceEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1562"
} | starcoder | using UnityEditor;
using UnityEngine;
namespace FreeSequencer.Editor
{
[CustomEditor(typeof(Sequence))]
public class SequenceEditor: UnityEditor.Editor
{
public override void OnInspectorGUI()
{
var sequence = (Sequence)target;
DrawDefaultInspector();
if (GUILayout.Button("Start sequence"... | 2.2119 | 2bd96fddde162c5f1a4dd339b0a817c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1562 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AppleteeYT/Iris",
"max_stars_repo_path": "Extensions/ObservableExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1563"
} | starcoder | <filename>Extensions/ObservableExtensions.cs
using System;
using System.Reactive.Linq;
using System.Threading.Tasks;
namespace Extensions
{
public static class ObservableExtensions
{
public static IDisposable SubscribeAsync<T>(
this IObservable<T> source,
Func<T, Task> onNextAs... | 2.89295 | 3d091ce35d6d463987ac8de13547e620 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1563 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chengxulvtu/Destiny.Core.Flow",
"max_stars_repo_path": "src/Destiny.Core.Flow/Dependency/DictionaryAccessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1564"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Concurrent;
namespace Destiny.Core.Flow.Dependency
{
[Dependency(ServiceLifetime.Scoped, AddSelf = true)]
public class DictionaryAccessor : ConcurrentDictionary<string, object>, IDisposable
{
public bool ddd { g... | 2.162908 | 7f2fc9ec3e8e1b83bbfd9af938793232 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1564 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "dasg34/mixed-reality-extension-godot-1",
"max_stars_repo_path": "MREGodotRuntimeLib/Assets/AssetFetcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1565"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using MixedRealityExtension.API;
using System;
using System.Collections;
using System.Linq;
using System.Threading.Tasks;
using Godot;
using MixedRealityExtension.Util.GodotHelper;
namespace MixedRealityExtension.Assets
{
... | 2.176178 | 207057a68bb2c63830103646447fab00 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.