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 | 67533 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Deijin27/ReversePack",
"max_stars_repo_path": "ReversePack/RelayCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67534"
} | starcoder | <gh_stars>0
using System;
using System.Windows.Input;
namespace ReversePack
{
internal class RelayCommand : ICommand
{
public event EventHandler CanExecuteChanged
{
add { CommandManager.RequerySuggested += value; }
remove { CommandManager.RequerySuggested -= value; }
... | 2.546829 | 739c8f79d6abbcfd526d0b169ffcb834 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67534 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ldematte/BackendCallbackTest",
"max_stars_repo_path": "CallbackTest/Controllers/HomeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67535"
} | starcoder | <filename>CallbackTest/Controllers/HomeController.cs
using CallbackTest.Hubs;
using Microsoft.AspNet.SignalR;
using Pumpkin.Web;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using TestA... | 2.212043 | 049c03f521923ada8f6bada9477582f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67535 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neville-nazerane/HttpRepl",
"max_stars_repo_path": "src/Microsoft.HttpRepl.Tests/Commands/EchoCommandTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67536"
} | 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.Linq;
using Microsoft.HttpRepl.Commands;
using Microsoft.HttpRepl.Fakes;
using Microsoft.Re... | 2.108235 | 357d3359becfbfd98128299a832e2461 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67536 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dimobelov/meridian",
"max_stars_repo_path": "Meridian/View/Flyouts/WebValidationView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67537"
} | starcoder | using System;
using System.Diagnostics;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Meridian.Controls;
using Meridian.ViewModel;
using Neptune.UI.Extensions;
namespace Meridian.View.Flyouts
{
/// <summary>
/// Interaction logic for WebValidati... | 2.053451 | c91e5da6d63aa8e2b7cd516e337aa5db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67537 | {
"extension": "c-sharp",
"max_stars_count": "365.0",
"max_stars_repo_name": "zentuit/unity3d-store",
"max_stars_repo_path": "soomla-native/projects/unity-wp8-fake-assembly/wp-store/wp-store/events/MarketPurchaseStartedEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67538"
} | starcoder | <reponame>zentuit/unity3d-store
using SoomlaWpStore.domain;
using SoomlaWpCore.events;
namespace SoomlaWpStore.events
{
public class MarketPurchaseStartedEvent : SoomlaEvent
{
private PurchasableVirtualItem mPurchasableVirtualItem;
public PurchasableVirtualItem GetPurchasableVirtualItem()
... | 1.911633 | 9541e054fc18211f7569779337c962d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67538 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scorpy2001/gb0122",
"max_stars_repo_path": "Assets/Scripts/Photon/CharacterSpawner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67539"
} | starcoder | using Cinemachine;
using CreatorKitCode;
using CreatorKitCodeInternal;
using Photon.Pun;
using PlayFab;
using PlayFab.ClientModels;
using UnityEngine;
namespace SomewhereInNoWhere
{
public class CharacterSpawner : MonoBehaviour
{
[SerializeField] private CinemachineVirtualCamera _cinemachineVirtualCam... | 1.964613 | 118db292d65ea0ebb62860f372e9118f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67539 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "markstiles/SitecoreCognitiveServices.Core",
"max_stars_repo_path": "src/Foundation/MSSDK/code/Enums/Common.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67540"
} | starcoder | <reponame>markstiles/SitecoreCognitiveServices.Core<filename>src/Foundation/MSSDK/code/Enums/Common.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SitecoreCognitiveServices.Foundation.MSSDK.Enums {
public enum Status {
NotSt... | 1.47008 | 40894f2ba75effdf10405c1100c8ed18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67540 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ovation22/TripleDerby.Api",
"max_stars_repo_path": "tests/TripleDerby.Core.Tests/Services/TrainingServiceTests/Get.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67541"
} | starcoder | using System.Threading.Tasks;
using Moq;
using TripleDerby.Core.DTOs;
using TripleDerby.Core.Entities;
using TripleDerby.Core.Specifications;
using Xunit;
namespace TripleDerby.Core.Tests.Services.TrainingServiceTests
{
public class Get : TrainingServiceTestBase
{
private readonly byte _id;
pr... | 2.347507 | 3d278a579b40b22b0783a56743f1d713 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67541 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ahoque29/DonatedOrganBankManager",
"max_stars_repo_path": "HospitalData/ClassCustomisation/ClassAdditions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67542"
} | starcoder | <filename>HospitalData/ClassCustomisation/ClassAdditions.cs
using System;
using HospitalData.Services;
namespace HospitalData
{
public partial class Waiting
{
private readonly IWaitingListService _service;
public Waiting()
{
_service = new WaitingListService();
}
public Waiting(IWaitingListService se... | 2.937391 | 232b5150b04b677624b4cb250f065752 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67542 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CH196308/Fudogotchi",
"max_stars_repo_path": "Fudogotchi_v1/Assets/Mapbox/Examples/MeshGenerationPois/MapVisualization/Factories/MeshFactory/Resources/PoiMarkerHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67543"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using Mapbox.Unity.MeshGeneration.Interfaces;
using System.Collections.Generic;
public class PoiMarkerHelper : MonoBehaviour, IFeaturePropertySettable
{
Dictionary<string, object> _props;
public void Set(Dictionary<string, object> props)
{
_props = props;
}
void OnMouseUpAsB... | 1.986531 | a47bb6a62f140b590255e48a4095b9fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67543 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hanjejo/PrismSeminar",
"max_stars_repo_path": "02_InstanceRegistration/02_InstanceRegistration/Singleton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67544"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _02_InstanceRegistration
{
public interface ISingleton
{
UserInfo GetUserInfo();
}
public class Singleton : ISingleton
{
public static Singleton instance =... | 2.463349 | bd118e2b8ccc9c555fefc908345b4d3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67544 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SreeramGarlapati/durabletask",
"max_stars_repo_path": "test/DurableTask.ServiceBus.Tests/ServiceBusOrchestrationServiceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67545"
} | starcoder | // ----------------------------------------------------------------------------------
// Copyright Microsoft Corporation
// 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.... | 1.869052 | 153b379c3283b81c5d1172240b75d7ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67545 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MCKevmeister/BikeStore",
"max_stars_repo_path": "AdminWinForm/ElectricBikeForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67546"
} | starcoder |
namespace AdminWinForm
{
partial class ElectricBikeForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.091765 | 62e290eb907ae7903032523d12a617f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67546 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "j-valenzuela/contacts-react-net",
"max_stars_repo_path": "src/jvContacts.Application/Contacts/Commands/UpdateContact/UpdateContactCommandValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67547"
} | starcoder | using FluentValidation;
namespace jvContacts.Application.Contacts.Commands.UpdateContact
{
public class UpdateContactCommandValidator : AbstractValidator<UpdateContactCommand>
{
public UpdateContactCommandValidator()
{
RuleFor(x => x.FirstName).MaximumLength(80).NotEmpty();
RuleFor(x => x.Last... | 2.366753 | ed1727806f5881fc4158a852d5122c94 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67547 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kuba5522/Computer-simulation",
"max_stars_repo_path": "Restauracja/Objects/Restaurant.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67548"
} | starcoder | using System.Collections.Generic;
using Restaurant.Objects;
namespace Restaurant
{
public class Restaurant
{
protected const int K = 3; //liczba kelnerów
protected const int N2 = 4; //stolik 2 osobowy
protected const int N3 = 10; //stoliki 3 osobowe
protected const int... | 2.317846 | c551a4fe3569fb64a87be858a02a11ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67548 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ombelfc/Mirages",
"max_stars_repo_path": "Mirages/ViewModels/FiltersViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67549"
} | starcoder | using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using Microsoft.Win32;
using Mirages.ConvolutionFilters;
using Mirages.ElementaryAlgorithms;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using System.Windows.M... | 2.403616 | 41110484daa3ef92df846f5757239c21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67549 | {
"extension": "c-sharp",
"max_stars_count": "941.0",
"max_stars_repo_name": "liffeyd/Dnn.Platform",
"max_stars_repo_path": "DNN Platform/Library/Framework/Providers/ProviderConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67550"
} | starcoder | <filename>DNN Platform/Library/Framework/Providers/ProviderConfiguration.cs<gh_stars>100-1000
// 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 in the project root for more information
namespace DotNetNuke... | 2.290403 | e57050b5f0b1006ab71fe51d33d6cba3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67550 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LBHackney-IT/finance-charges-listener",
"max_stars_repo_path": "FinanceChargesListener/Boundary/EstateChargeMessageSqs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67551"
} | starcoder | <reponame>LBHackney-IT/finance-charges-listener<filename>FinanceChargesListener/Boundary/EstateChargeMessageSqs.cs
using System.Collections.Generic;
using FinanceChargesListener.Domain;
namespace FinanceChargesListener.Boundary
{
public class EstateChargeMessageSqs
{
public ChargeGroup ChargeGroup { ge... | 1.628105 | 9184b9897ae76d75a65d17b22a35593c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67551 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "abombss/machine",
"max_stars_repo_path": "Source/Extensions/Machine.CastleMonoRail.Calendars/Calendars/Monthly/MonthlyCalendar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67552"
} | starcoder | using System;
namespace Machine.CastleMonoRail.Calendars.Monthly
{
public class MonthlyCalendar : AbstractCalendarViewComponent
{
#region Member Data
private const string DaySectionName = "Day";
private const string ColumnHeaderSectionName = "ColumnHeader";
private const string RowHeaderSe... | 2.485303 | 8f2af399f341a59c1e4da74fd2a51171 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67552 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "freeton-org/ton-client-dotnet",
"max_stars_repo_path": "src/ch1seL.TonNet.Client.Models/Generated/Models/ResultOfGetAddressType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67553"
} | starcoder | using Dahomey.Json.Attributes;
using System;
using System.Numerics;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace ch1seL.TonNet.Client.Models
{
/// <summary>
/// Not described yet..
/// </summary>
public class ResultOfGetAddressType
{
/// <summary>
/// Acco... | 1.761249 | 6b71cd43add69dab72bad879cc97d066 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67553 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "DavidDeVries/commercetools-dotnet-sdk",
"max_stars_repo_path": "commercetools.NET/Customers/UpdateActions/AddShippingAddressIdAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67554"
} | starcoder | <reponame>DavidDeVries/commercetools-dotnet-sdk
using commercetools.Common;
using Newtonsoft.Json;
namespace commercetools.Customers.UpdateActions
{
/// <summary>
/// Adds an existing address from the Customer's addresses - referred to by its id - to the Customer's shippingAddressIds.
/// </summary>
... | 2.385419 | eb84fd1af63e1854bb4ae9bff4510970 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67554 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "grofit/battle-kill-9000",
"max_stars_repo_path": "src/BK9K/BK9K.Game/AI/Extensions/IUtilityVariableExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67555"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using OpenRpg.AdviceEngine.Keys;
using OpenRpg.AdviceEngine.Variables;
namespace BK9K.Game.AI.Extensions
{
public static class IUtilityVariableExtensions
{
public static IEnumerable<KeyValuePair<int, float>> GetRelatedScoresFor(this IUtilityVariables... | 2.873129 | f159e2b84eacb54aa0e04ac97c6a487e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67555 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DavidStrickland0/XLabs",
"max_stars_repo_path": "src/Platform/XLabs.Platform/Device/IBattery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67556"
} | starcoder | namespace XLabs.Platform.Device
{
using System;
/// <summary>
/// Defines battery interface
/// </summary>
public interface IBattery
{
/// <summary>
/// Gets the level.
/// </summary>
/// <value>The level in percentage 0-100.</value>
int Level { get; }
/// <summary>
/// Gets a value indicating wh... | 2.880026 | 767bc4c89050dfb2969da6838483ff15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67556 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mike111177/OWLib",
"max_stars_repo_path": "TankLib/STU/Types/STU_1E93FE1F.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67557"
} | starcoder | <gh_stars>1-10
// Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0x1E93FE1F)]
public class STU_1E93FE1F : STUStatescriptAction {
}
}
| 0.459043 | b7c512258b08bcbf35c4b51c2463536d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67557 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Saze2/Kitefall_Scripts",
"max_stars_repo_path": "Scripts/GameLogic/CameraController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67558"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Security.Cryptography;
using UnityEngine;
public class CameraController : MonoBehaviour
{
public Transform target;
public Vector3 offset;
public float pitch = 2f;
[SerializeField] private ... | 2.530136 | 619fa0752db32882bed6dc2be7f0f623 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67558 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andres-gimenez/Nivaes.App.Cross",
"max_stars_repo_path": "Nivaes.App.Cross.iOS/Components/Binding/Target/MvxUIDatePickerDateTargetBinding.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67559"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MS-PL license.
// See the LICENSE file in the project root for more information.
using System;
using System.Reflection;
using Foundation;
using UIKit;
namespace MvvmCross.Platforms.Ios.Binding.T... | 2.108968 | 9a6193d41d3ec97017feb3a60af14680 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67559 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PeckConyon/ModernRestaurants",
"max_stars_repo_path": "JobSchedule.Context/Repositories/BaseRepository/FamilyMemberRoleRepo/FamilyMemberRoleRepository.cs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67560"
} | starcoder | <reponame>PeckConyon/ModernRestaurants<filename>JobSchedule.Context/Repositories/BaseRepository/FamilyMemberRoleRepo/FamilyMemberRoleRepository.cs.cs
using JobSchedule.Context.Context;
using JobSchedule.Entities.Models;
namespace JobSchedule.Context.Repositories.BaseRepository.FamilyMemberRoleRepo
{
public class ... | 1.294992 | 3c714628241d19d7a3ed2adae8114636 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67560 | {
"extension": "c-sharp",
"max_stars_count": "72.0",
"max_stars_repo_name": "jamesmontemagno/motz-codes-live",
"max_stars_repo_path": "Twitch-SignalRSaturdays/XamChat/XamChat/Model/ChatMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67561"
} | starcoder | using MvvmHelpers;
using System;
using System.Collections.Generic;
using System.Text;
namespace XamChat.Model
{
public class ChatMessage : ObservableObject
{
string user;
public string User
{
get => user;
set => SetProperty(ref user, value);
}
s... | 1.993234 | 73c923940d4ca31b8f2b8f3df15aaa5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67561 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Pavlushka66/simple-jira",
"max_stars_repo_path": "SimpleJira.Tests/Integration/Queryable/EqualsTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67562"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using SimpleJira.Interface.Issue;
using SimpleJira.Interface.Types;
namespace SimpleJira.Tests.Integration.Queryable
{
public class EqualsTest : QueryableTestBase
{
... | 2.156845 | 8bd79fc9ef259aa39c7bbcedf1bd3071 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67562 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cabralRodrigo/nerd-cast-filtered",
"max_stars_repo_path": "src/Services/FeedSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67563"
} | starcoder | <gh_stars>0
using JovemNerd.Rss.Filter.Models.Feed;
using System.IO;
using System.Xml.Serialization;
namespace JovemNerd.Rss.Filter.Services
{
public class FeedSerializer : IFeedSerializer
{
public RssFeed Deserialize(string xml)
{
var serializer = new XmlSerializer(typeo... | 2.105551 | 84158504536c92256c4af2ea6fc77b2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67563 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ltaquino/SIDC-SupplyChain",
"max_stars_repo_path": "SIDCSupplyChain.Infrastructure.Shared/Services/SendGridMailService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67564"
} | starcoder | <reponame>ltaquino/SIDC-SupplyChain
namespace SIDCSupplyChain.Infrastructure.Shared.Services
{
internal class SendGridMailService
{
}
} | 0.560134 | 64ca78155d700ec710872a1fb733cfaa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67564 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "crassSandwich/glib_sub",
"max_stars_repo_path": "Runtime/Extension Classes/VectorIntExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67565"
} | starcoder | <reponame>crassSandwich/glib_sub
using UnityEngine;
namespace crass
{
public static class VectorIntExtensions
{
public static Vector2Int DivideBy (this Vector2Int dividend, float divisor)
{
return new Vector2Int
(
(int) (dividend.x / divisor),
(int) (dividend.y / divisor)
);
}
public static Vector3In... | 2.230742 | b8e77a793920da4853209796876cf87c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67565 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HannaAndreevna/MAVN.Service.Dictionaries",
"max_stars_repo_path": "src/MAVN.Service.Dictionaries/Settings/ServiceSettings/CommonSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67566"
} | starcoder | <reponame>HannaAndreevna/MAVN.Service.Dictionaries<gh_stars>0
namespace MAVN.Service.Dictionaries.Settings.ServiceSettings
{
public class CommonSettings
{
public string CustomerSupportPhoneNumber { get; set; }
public string CustomerSupportEmail { get; set; }
public string CustomerMarke... | 0.904041 | cad05b8a44c47b3e720404f8194f067e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67566 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JBurlison/Pandaros.API",
"max_stars_repo_path": "Pandaros.API/Items/Armor/ArmorMetadata.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67567"
} | starcoder | <gh_stars>1-10
using Pipliz;
using System.Collections.Generic;
using static Pandaros.API.Items.Armor.ArmorFactory;
namespace Pandaros.API.Items.Armor
{
public class ArmorMetadata : IArmor
{
public ArmorMetadata(float armorRating, int durability, string name,
ItemTypesServe... | 2.09701 | 54ad0d223d6b40b92fb161afd0d3623a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67567 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rthome/SpeedCalc",
"max_stars_repo_path": "SpeedCalc.Core/Runtime/Parser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67568"
} | starcoder | using System;
using System.Globalization;
using System.IO;
namespace SpeedCalc.Core.Runtime
{
public sealed class Parser
{
enum Precedence
{
None,
Assignment, // =
Or, // or
And, // and
Equality, // == !=
... | 2.792632 | 340c5655f509ab8c8f8c1a4af2b7910a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67568 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "pranshaggarwal/HotReloading",
"max_stars_repo_path": "Core/ExpressionFuture/CSharpExpressions/Microsoft/CSharp/Expressions/ForEachCSharpStatement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67569"
} | starcoder | <gh_stars>10-100
// Prototyping extended expression trees for C#.
//
// bartde - October 2015
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq.Expressions;
using System.Reflection;
using static System.Dynamic.Utils.TypeUtils;
using static System.Dyn... | 2.927639 | 27ff49a9956943705b04dcdbbd0fac55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67569 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "HostVanyaD/SoftUni",
"max_stars_repo_path": "C# OOP/04.PolymorphismExercise/02.VehiclesExtension/Models/Vehicle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67570"
} | starcoder | <reponame>HostVanyaD/SoftUni
using System;
namespace _02.VehiclesExtension.Models
{
public abstract class Vehicle
{
protected double fuelQuantity;
protected double fuelConsumption;
protected double tankCapacity;
public Vehicle(double fuelQuantity, double fuelConsumption, doubl... | 3.537813 | d44d6d1a42acfbf12687810601753e8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67570 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jalbert-dev/mystower",
"max_stars_repo_path": "Client/Motions/Base.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67571"
} | starcoder | using System;
using System.Collections;
using Microsoft.Xna.Framework;
using SadRogue.Primitives;
using Server.Data;
using Point = SadRogue.Primitives.Point;
namespace Client
{
public static partial class Motions
{
public static IEnumerable SetFacing(MapActor actor, Server.Data.Direction facing)
... | 2.582881 | dc43e80ce6700fb959797d71d01b399d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67571 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "INVA-Spa/Laser.Orchard.Platform",
"max_stars_repo_path": "src/Modules/Laser.Orchard.OpenAuthentication/Services/Clients/PinterestAuthenticationClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67572"
} | starcoder | <filename>src/Modules/Laser.Orchard.OpenAuthentication/Services/Clients/PinterestAuthenticationClient.cs
using DotNetOpenAuth.AspNet;
using Laser.Orchard.OpenAuthentication.Models;
using Laser.Orchard.OpenAuthentication.Security;
using Laser.Orchard.OpenAuthentication.ViewModels;
using Newtonsoft.Json;
using Orchard.L... | 1.966018 | 4cfebdc05406dce58e2b90e4e9700f02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67572 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bodrick/log2console",
"max_stars_repo_path": "src/Log2Console/UI/RichTextBoxExtended.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67573"
} | starcoder | <filename>src/Log2Console/UI/RichTextBoxExtended.cs
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using Log2Console.Helpers;
namespace Log2Console.UI
{
public class RichTextBoxExtended : RichTextBox
{
public RichTextBoxExtended() => DetectU... | 2.559091 | 55216109d0292447e3878094a231570a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67573 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "youwho42/Ahem",
"max_stars_repo_path": "Assets/Scripts/Interactables/Items/ItemConsumable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67574"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "Items/Consumable Item")]
public class ItemConsumable : Item
{
public ConsumableType consumableType;
public int consumableEffect;
public override void UseItem()
{
base.UseItem();
... | 2.012097 | acf569f2c41fa23239cba7d7ec733c85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67574 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "teambeavr/TrafficStopVR",
"max_stars_repo_path": "Assets/TouchpadSelection/Scripts/DialogueAct.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67575"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class DialogueAct : MonoBehaviour {
[TextArea(2, 5)]
public string prompt;
[Tooltip("Actions to take when this act is triggered")]
public UnityEvent events;
// TODO: In the... | 2.104738 | a662da78d911dfeee614d617615c6242 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67575 | {
"extension": "c-sharp",
"max_stars_count": "363.0",
"max_stars_repo_name": "DominicMaas/Tango",
"max_stars_repo_path": "src/basegame/Commands/Data/Trees/TreeUpgradeSegmentCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67576"
} | starcoder | using CSM.API.Commands;
using ProtoBuf;
using UnityEngine;
namespace CSM.BaseGame.Commands.Data.Trees
{
/// <summary>
/// Called when the tree type on a road segment is changed.
/// </summary>
/// Sent by:
/// - TreeHandler
[ProtoContract]
public class TreeUpgradeSegmentCommand : Comman... | 2.0114 | 90898d7f9faf796fcf6372f6f5249aa9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67576 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "jsuarezruiz/AvaloniaSkiaSharpFiddle",
"max_stars_repo_path": "src/AvaloniaSkiaSharpFiddle/Compiler/CompilationExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67577"
} | starcoder | using Microsoft.CodeAnalysis;
namespace AvaloniaSkiaSharpFiddle
{
public static class CompilationExtensions
{
public static CompilationMessageSeverity ToCompilationMessageSeverity(this DiagnosticSeverity severity)
{
switch (severity)
{
case DiagnosticSev... | 2.073085 | 8373b2e5673a11d38e60c29d681868a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67577 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zxubian/cs-lox",
"max_stars_repo_path": "cs-lox/Parser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67578"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
namespace cslox
{
public class Parser
{
private readonly IReadOnlyList<Token> tokens;
private int current = 0;
private const int FUNCTION_MAX_PARAMETER_COUNT = 255;
public Parser(IReadOnlyList<Token> t... | 2.668535 | e84e2d9ac7b8808c26002664eea6b51f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67578 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Moliman/BizHawk",
"max_stars_repo_path": "BizHawk.Client.Common/inputAdapters/InputAdapterExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67579"
} | starcoder | using BizHawk.Emulation.Common;
namespace BizHawk.Client.Common.InputAdapterExtensions
{
public static class InputAdapterExtensions
{
/// <summary>
/// Creates a new IController that is in a state of a bitwise And of the source and target controllers
/// </summary>
public static IController And(thi... | 2.681476 | 933e18e7342f73b9906ec32843bf600c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67579 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "duanemck/ezviz.net",
"max_stars_repo_path": "ezviz.net/enums/DisplayMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67580"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ezviz.net.domain
{
public enum DisplayMode
{
Original = 1,
Soft = 2,
Vivid = 3
}
}
| 1.643383 | 31e043ac2edcae2abb700778c230cc75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67580 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BlueMonk1107/MySiri",
"max_stars_repo_path": "Assets/Scripts/Siri.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67581"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using LitJson;
using UnityEngine;
using AudioStream;
public class Siri : MonoBehaviour
{
#region 事件
void OnEnable()
{
DELEGATE.eventStartRefresh += StartRecord;
DELEGATE.eventEndRefr... | 2.032675 | cca1c00f25d7a7b6002177b306c09c54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67581 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hflexgrig/MediatR.Extensions.Caching",
"max_stars_repo_path": "src/Hflex.MediatR.Extensions.Caching/MediatRCachingBehavior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67582"
} | starcoder | <gh_stars>0
using Hflex.MediatR.Extensions.Caching.Interfaces;
using MediatR;
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Caching.Memory;
namespace Hflex.MediatR.Extensions.Caching;
public class MediatRCachingBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse>
wh... | 1.91798 | 2befc28924fda9c3790903c95baa6c5b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67582 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlpaGit/FortniteReplayDecompressor",
"max_stars_repo_path": "src/Unreal.Core.Test/ReceiveCustomDeltaPropertyTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67583"
} | starcoder | <reponame>AlpaGit/FortniteReplayDecompressor<filename>src/Unreal.Core.Test/ReceiveCustomDeltaPropertyTest.cs<gh_stars>0
using Unreal.Core.Models;
using Xunit;
namespace Unreal.Core.Test
{
public class ReceiveCustomDeltaPropertyTest
{
[Fact]
public void CustomDeltaPropertyTest()
{
... | 1.469514 | 497448637c6c66060f2a6210111c8a57 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67583 | {
"extension": "c-sharp",
"max_stars_count": "1034.0",
"max_stars_repo_name": "mk0sojo/allReady",
"max_stars_repo_path": "AllReadyApp/Web-App/AllReady/Areas/Admin/Features/Import/IndexQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67584"
} | starcoder | <gh_stars>1000+
using AllReady.Areas.Admin.ViewModels.Import;
using MediatR;
namespace AllReady.Areas.Admin.Features.Import
{
public class IndexQuery : IRequest<IndexViewModel>
{
public int? OrganizationId { get; set; }
}
}
| 1.08281 | c778fbae7a7bf5d46aace0f5d8d8388e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67584 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gerryge/learn-auth",
"max_stars_repo_path": "Basics/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67585"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Basics.AuthorizationRequirements;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCo... | 2.196668 | 6d9f203c705d1bcd6537abbc220f06cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67585 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "javierflores02/DAEA-2021-2-B",
"max_stars_repo_path": "lab01/prjLAB01-2/prjLAB01-2/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67586"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace prjLAB01_2
{
public partial class Form1 : Form
{
public Form1()
{
... | 2.122614 | 113e2a78b1bc561d7a16e5afb6e4a6ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67586 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "ScriptBox99/msgraph-beta-sdk-dotnet",
"max_stars_repo_path": "src/Microsoft.Graph/Generated/model/OutOfBoxExperienceSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67587"
} | starcoder | <filename>src/Microsoft.Graph/Generated/model/OutOfBoxExperienceSettings.cs<gh_stars>10-100
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license infor... | 1.673388 | 05670c8cd443f2a89fe6e9ee623ad693 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67587 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "kensykora/okta-oidc-xamarin",
"max_stars_repo_path": "Okta.Xamarin/Okta.Xamarin/OktaConfigValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67588"
} | starcoder | <filename>Okta.Xamarin/Okta.Xamarin/OktaConfigValidator.cs
// <copyright file="OktaConfigValidator.cs" company="Okta, Inc">
// Copyright (c) 2019-present Okta, Inc. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
// </copyright>
usi... | 2.709626 | 2740e534d30a6ea4b5a492f27c75f45f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67588 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hiro4476/gsdkSamples",
"max_stars_repo_path": "UnityMirror/UnityClient/Assets/Client/Scripts/NetworkObjVisbility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67589"
} | starcoder | using UnityEngine;
using System.Collections.Generic;
namespace Mirror {
// Attach this to objects that need their visibility updated as the player moves around
[RequireComponent( typeof( NetworkIdentity ) )]
public class NetworkObjVisbility : NetworkVisibility {
/// <summary>
/// The maximim range that object... | 2.514935 | b6b16e0eb32442080b8c9cbea1e8f7c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67589 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "ismaelhamed/Akka.Serialization.MessagePack",
"max_stars_repo_path": "src/Akka.Serialization.Testkit/ExceptionsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67590"
} | starcoder | <gh_stars>10-100
//-----------------------------------------------------------------------
// <copyright file="ExceptionsTests.cs" company="Akka.NET Project">
// Copyright (C) 2017 Akka.NET Contrib <https://github.com/AkkaNetContrib/Akka.Serialization.MessagePack>
// </copyright>
//--------------------------------... | 2.258471 | 0447b8482f3c927197f28fc449ef99fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67590 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yrrag5/Mobile-App",
"max_stars_repo_path": "MathGame/MathGame/obj/x86/Debug/Display/HardMode.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67591"
} | starcoder | #pragma checksum "C:\Users\College\Desktop\Repeat\Mobile-App\MathGame\MathGame\Display\HardMode.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "33F52BFBA8BE1323939E3648AAA65FFD"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool... | 1.680836 | be3f727efea78ee7d4e498acf65b65ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67591 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KatyaYermolayeva/TMS-DotNet-Yermolayeva",
"max_stars_repo_path": "src/Homework-5/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67592"
} | starcoder | <gh_stars>0
using System;
namespace Homework_5
{
class Program
{
static void Main(string[] args)
{
var bank = new Bank();
bank.Notify += ShowMessage;
var client1 = new Client("<NAME>");
var account1 = new Account(MoneyType.BYN)
{
... | 2.717562 | 2cfdec7659fdb60860ea30f520b16b26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67592 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "paulushub/SandAssists",
"max_stars_repo_path": "Main/Source/Components/Targets/TargetMsdnController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67593"
} | starcoder | using System;
using System.Xml;
using System.Xml.XPath;
using System.Collections.Generic;
namespace Sandcastle.Components.Targets
{
public sealed class TargetMsdnController
{
#region Private Fields
private static string UrlFormat = "http://msdn2.microsoft.com/{0}/library/{1}";
... | 2.277633 | 5601742bab913865344e243d8fc5473d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67593 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dobri19/TelerikHomeWork",
"max_stars_repo_path": "01C#Advanced/01-Arrays/P6Area/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67594"
} | starcoder | <reponame>dobri19/TelerikHomeWork
using System;
using System.Linq;
namespace P6Area
{
public class Program
{
static int bestLength = 0;
static int bestNumber = 0;
static int currentLength = 0;
static int currentNumber = 0;
static int rows;
static int cols;
... | 3.327987 | 87fb17f646ad338bf88378ed70ed3dd8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67594 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "Actipro/WPF-Controls",
"max_stars_repo_path": "Samples/SampleBrowser/ProductSamples/SyntaxEditorSamples/QuickStart/AdornmentsIntraTextNotes/ReviewStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67595"
} | starcoder | using System;
namespace ActiproSoftware.ProductSamples.SyntaxEditorSamples.QuickStart.AdornmentsIntraTextNotes {
/// <summary>
/// Specified the review status for a note.
/// </summary>
public enum ReviewStatus {
/// <summary>
/// The review is pending.
/// </summary>
Pending,
/// <summary>
///... | 2.191719 | 6b3d96adad343e5075993c8a6a905246 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67595 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "greeduomacro/vivre-uo",
"max_stars_repo_path": "Scripts/Mobiles/Animals/Mounts/Hiryu.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67596"
} | starcoder | <reponame>greeduomacro/vivre-uo
using System;
using System.Collections;
using Server;
using Server.Items;
namespace Server.Mobiles
{
[CorpseName( "Un corps d'hiryu" )]
public class Hiryu : BaseMount
{
public override double WeaponAbilityChance { get { return 0.07; } } /* 1 in 15 chance of using per landed h... | 1.969769 | a2ee43797578743c1f6e1ccda1595072 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67596 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ysdy44/Retouch-Photo2-UWP",
"max_stars_repo_path": "Retouch Photo2.Layers/LayerManagers/LayerManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67597"
} | starcoder | <gh_stars>1-10
// Core: ★★★★★
// Referenced: ★★★★★
// Difficult: ★★★★★
// Only: ★★★★★
// Complete: ★★★★★
using Microsoft.Graphics.Canvas;
using System;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
namespace Retouch_Photo2.Layers
{
/// <summary>
/// Mana... | 2.335256 | 3feb5ea447eaa1a1d24f4b8358759499 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67597 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LauwiMeara/AoC2020",
"max_stars_repo_path": "2.2/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67598"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
namespace _2._2
{
class Program
{
static void Main()
{
string[] input = File.ReadAllLines("input.txt");
char[] separators = { '-', ' ', ':' };
List<string[]> splitInput = SplitInput(input, se... | 3.81246 | 4cfb6feed8ad3c6b1101d073a3789e92 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67598 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mayapeneva/DATABASE-Advanced-Entity-Framework",
"max_stars_repo_path": "09.BestPracticesAndArchitecture_PhotoShare/PhotoShare.Client/OutputMessages/Messages.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67599"
} | starcoder | <gh_stars>0
namespace PhotoShare.Client.Constants
{
public static class Messages
{
public const string AlbumAlreadyExists = "Album {0} exists!";
public const string AlbumDoesNotExists = "Album {0} not found!";
public const string AlbumOrTagDoesNotExists = "Either tag or album do not e... | 1.994442 | 16c96b4da5db67cd4b94954cb6a28740 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67599 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "myarichuk/hat-trie.net",
"max_stars_repo_path": "src/hat-trie.net/hattrie_iter_t.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67600"
} | starcoder | using System.Runtime.InteropServices;
namespace hattrie.net
{
[StructLayout(LayoutKind.Sequential)]
internal unsafe struct hattrie_iter_t
{
public char* key;
public uint keysize; // space reserved for the key
public uint level;
/* keep track of keys stored in trie nodes */... | 1.788979 | 1e4af5aaa9b9a1ad5906df9277b6d17f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67600 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BeatBender/ConoctiumGold",
"max_stars_repo_path": "Assets/Script/Player/TestParticles.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67601"
} | starcoder | <reponame>BeatBender/ConoctiumGold
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class TestParticles : MonoBehaviour
{
//Particles
private GameObject idle;
private GameObject pattraction;
private GameObject prepulsion;
vo... | 1.903939 | 14698163e72b97406688f27f1a020ab5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67601 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "rickardn/Consolas",
"max_stars_repo_path": "Source/UnitTests/ConsoleApp.Core.Tests/Helpers/AssertExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67602"
} | starcoder | using System;
using Should;
using Should.Core.Exceptions;
namespace Consolas.Core.Tests.Helpers
{
public static class AssertExtensions
{
public static void ShouldThrow<TException>(this Action action, Action<TException> ex) where TException : Exception
{
try
{... | 2.283363 | c176bf7da5587c1b566acac3c78521dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67602 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NathanClouseAX/AAXDataEntityPerfTest",
"max_stars_repo_path": "Projects/AAXDataEntityPerfTest/ConsoleApp1/Connected Services/D365/DeviceType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67603"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 2.131848 | 9089dfde7a9cb37f647694d5342800c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67603 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Ivony/Ivony.Diagnosis",
"max_stars_repo_path": "Ivony.Performance/PerformanceAggregation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67604"
} | starcoder | namespace Ivony.Performance
{
/// <summary>
/// 指标聚合方式
/// </summary>
public static class Aggregation
{
/// <summary>
/// 计数
/// </summary>
public const string Count = "Count";
/// <summary>
/// 最大值
/// </summary>
public const string Max = "Max";
/// <summary>
... | 2.332002 | 8877aca7210de0ab7fca77be549491aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67604 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mikhail-khalizev/max",
"max_stars_repo_path": "source/MikhailKhalizev.Max/source/Program/Auto/z-1010-77ad.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67605"
} | starcoder | <gh_stars>1-10
using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x1010_77ad-11790116")]
public void Method_1010_77ad()
{
ii(0x1010_77ad, 5); push(0x54); ... | 1.70687 | 2644ab1858c1174c8d799ba880caeb5c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67605 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "microsoft/NuseHackAPIs",
"max_stars_repo_path": "HackAPIs/Model/Db/tblTeamHackers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67606"
} | starcoder | <gh_stars>0
using HackAPIs.Db.Model;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace HackAPIs.Db.Model
{
public partial class TblTeamHackers
{
[Key]
public int TeamId { get; set; }
p... | 1.281693 | bc406371a503d28f0d1f11c2e7a6d679 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67606 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "etortato/api",
"max_stars_repo_path": "api/api/Controllers/OrdersController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67607"
} | starcoder | using business;
using business.Outbound;
using domain;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace api.Controllers
{
[Route("api/Orders")]
[ApiController]
public class OrdersCont... | 2.191742 | de54e38411ffc638c9c26302df6d6e00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67607 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stefankon/CShomeworkAndLabIssues",
"max_stars_repo_path": "CSharpDataTypesAndVariables/p05.DistanceTheStars/p05.DistanceTheStars.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67608"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace p05.DistanceTheStars
{
class Program
{
static void Main(string[] args)
{
decimal nearestStar = 4.22m;
de... | 2.691975 | 6b37ce9df1bbbe689bf86acee4a9d489 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67608 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "vismith24/lidar",
"max_stars_repo_path": "unityproject/LidarSimulator/Assets/Scripts/GUILayout/SpriteAspect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67609"
} | starcoder | /*
* MIT License
*
* Copyright (c) 2017 <NAME>, <NAME>, <NAME>,
* <NAME>, <NAME>, <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitatio... | 2.366398 | 3ad512dd3df4f5c8da5aa9d4847e5c04 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67609 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DauteRR/Unity-Tanks",
"max_stars_repo_path": "Assets/Scripts/Tank/TankHealth.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67610"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
public class TankHealth : MonoBehaviour
{
public float startingHealth = 100f;
public Slider slider;
public Image fillImage;
public Color fullHealthColor = Color.green;
public Color zeroHealthColor = ... | 2.591167 | 7379550c181fd980308caabc85ad18c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67610 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ErnSur/QuickEye-Utility",
"max_stars_repo_path": "Runtime/Utility/UnityDateTime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67611"
} | starcoder | using System;
using UnityEngine;
namespace QuickEye.Utility
{
[Serializable]
public struct UnityDateTime : ISerializationCallbackReceiver
{
#if UNITY_EDITOR
[SerializeField, HideInInspector]
private string arrayElementName;
#endif
[SerializeField]
private UnityDateOnly date;... | 2.835156 | 614af3e5a559f0a85f5bc79e37601204 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67611 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeorgiGarnenkov/DatabasesAdvancedEntityFramework",
"max_stars_repo_path": "TeamBuilder/TeamBuilder.App/Core/Command/LogInCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67612"
} | starcoder | using System;
using System.Linq;
using TeamBuilder.App.Utilities;
using TeamBuilder.Data;
using TeamBuilder.Models;
namespace TeamBuilder.App.Core.Command
{
public class LogInCommand : ICommand
{
public string Execute(string[] commandArgs)
{
Check.CheckLength(2, commandArgs);
... | 2.67915 | 439303cb111711053f02b3e0858ed932 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67612 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "enginekit/copy_of_roslyn",
"max_stars_repo_path": "Src/Compilers/Core/Portable/PEWriter/MethodSpecComparer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67613"
} | starcoder | <filename>Src/Compilers/Core/Portable/PEWriter/MethodSpecComparer.cs
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
namespace Microsoft.Cci
{
... | 2.305682 | 2f77f4ccc87396a24579ca3b214b8ab6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67613 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Bhasfe/BoggyBall",
"max_stars_repo_path": "Assets/Scripts/UnityAdManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67614"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Advertisements;
using UnityEngine.Monetization;
public class UnityAdManager : MonoBehaviour
{
private string storeId = "3039691";
private string video_ad = "video";
private string rewarded_ad = ... | 2.036952 | 0c37e1223a7337793631a0021e83635b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67614 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "berkdgs/web-hedefsagliksa",
"max_stars_repo_path": "HedefSagliksa.DataAccess/Concrete/EntityFramework/Mapping/IdentityMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67615"
} | starcoder | using HedefSagliksa.Entities.Concrete;
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HedefSagliksa.DataAccess.Concrete.EntityFramework.Mapping
{
public class IdentityMap : EntityT... | 2.313715 | 476398443e1eca3ae91f42ed9fd42e3d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67615 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "nilpower/Util",
"max_stars_repo_path": "src/Util.Datas/Dapper/Oracle/OracleSqlItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67616"
} | starcoder | <reponame>nilpower/Util
using Util.Datas.Sql.Builders;
using Util.Datas.Sql.Builders.Core;
using Util.Datas.Sql.Matedatas;
namespace Util.Datas.Dapper.Oracle {
/// <summary>
/// Sql项
/// </summary>
public class OracleSqlItem : SqlItem{
/// <summary>
/// 初始化Sql项
/// </summary>
... | 2.152524 | 5fc8eeca8711a4122543a189ff94ce49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67616 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cacothi/design-pattern",
"max_stars_repo_path": "AdapterPatternAgg/IMediaPlayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67617"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DesignPattern.AdapterPatternAgg
{
public interface IMediaPlayer
{
void Play(String audioType, String fileName);
}
}
| 2.029958 | 9fcc7f0d9056537ebc7b7ccfba93b9a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67617 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "linn/dem-stock",
"max_stars_repo_path": "tests/Unit/Domain.Tests/RetailerDemListTests/WhenSettingRootProductQtyToFewerThanZero.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67618"
} | starcoder | namespace Linn.DemStock.Domain.Tests.RetailerDemListTests
{
using System;
using FluentAssertions;
using Linn.DemStock.Domain.Exceptions;
using NUnit.Framework;
public class WhenSettingRootProductQtyToFewerThanZero : ContextBase
{
private Action action;
private string rootPr... | 2.088246 | 34c80d431ed1dc3c97c3733b159623dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67618 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ilazoja/BrawlCrate",
"max_stars_repo_path": "BrawlLib/Internal/Windows/Controls/TexCoordControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67619"
} | starcoder | using BrawlLib.OpenGL;
using BrawlLib.SSBB.ResourceNodes;
using OpenTK.Graphics.OpenGL;
using System;
using System.Windows.Forms;
namespace BrawlLib.Internal.Windows.Forms
{
public partial class TexCoordControl : UserControl
{
public TexCoordControl()
{
InitializeComponent();
... | 1.979078 | a351cd0bb421b46841c524628a71c712 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67619 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VPKSoft/EasyCardfile",
"max_stars_repo_path": "EasyCardFile/Database/Entity/Entities/CustomHistory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67620"
} | starcoder | <reponame>VPKSoft/EasyCardfile<filename>EasyCardFile/Database/Entity/Entities/CustomHistory.cs
#region License
/*
MIT License
Copyright(c) 2020 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Soft... | 2.131958 | 6f71059f792d163a84fe7db5f897dcd0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67620 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aleksandrmaslovskii/ApiVersion",
"max_stars_repo_path": "ApiVersion/Controllers/V2/WeatherForecastController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67621"
} | starcoder | using Microsoft.AspNetCore.Mvc;
namespace ApiVersion.Controllers.V2;
[ApiController]
[Route("api/v{version:apiVersion}/[controller]")]
[ApiVersion("2.0")]
public class WeatherForecastController : ControllerBase
{
[HttpGet]
public WeatherForecast Get()
{
return new WeatherForecast
{
... | 1.95007 | 1bcc2acfa69797a78e114dae47b28893 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67621 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ktodorov/WedChecker",
"max_stars_repo_path": "WedChecker/UserControls/Tasks/Purchases/PurchaseCake.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67622"
} | starcoder | <reponame>ktodorov/WedChecker<gh_stars>0
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using WedChecker.Common;
// The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236
namespace WedChecker.UserControls.Tasks.Purchases
{
... | 2.055905 | 6c83567556bf939326d7487bfd403795 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67622 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IagoAntunes/Projeto-AlfaID",
"max_stars_repo_path": "api/AlphaId/AlphaId.Infra.Data.InMemory/Repositorios/UsuarioRepositorio.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67623"
} | starcoder | using AlphaId.Dominio.Entidades;
using AlphaId.Dominio.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AlphaId.Infra.Data.InMemory.Repositorios
{
public class UsuarioRepositorio
{
private Contexto contexto;
public UsuarioRepositorio()
... | 2.691681 | 65aeafb3af9a6616a40d3f460e1e3c49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67623 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "luisespino/antlr4",
"max_stars_repo_path": "runtime/CSharp/src/Tree/Xpath/XPathLexer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67624"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// ANTLR Version: 4.9.3
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--------------... | 1.663921 | 7c6cd77c262e1af6ded56dc7f9e2761c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67624 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Tisit/zopfli-csharp",
"max_stars_repo_path": "zopfli-csharp/Enumerations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67625"
} | starcoder | public enum ZopfliFormat
{
ZOPFLI_FORMAT_GZIP,
ZOPFLI_FORMAT_ZLIB,
ZOPFLI_FORMAT_DEFLATE
} | 1.648482 | dc5a519ce607c9516b98de04278b1de2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67625 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deSp44/SmartRecipesMVC",
"max_stars_repo_path": "SmartRecipesMVC.Application/Services/UserService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67626"
} | starcoder | using System.Security.Claims;
using Microsoft.AspNetCore.Http;
using SmartRecipesMVC.Application.Interfaces;
namespace SmartRecipesMVC.Application.Services
{
public class UserService : IUserService
{
private readonly IHttpContextAccessor _httpContextAccessor;
public UserService(IHttpContextAc... | 2.366364 | 85639dd369a855f4ce50e1ec04ddf749 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67626 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sphere10/Framework",
"max_stars_repo_path": "src/Sphere10.Framework/Extensions/StringExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67627"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="StringExtensions.cs" company="Sphere 10 Software">
//
// Copyright (c) Sphere 10 Software. All rights reserved. (http://www.sphere10.com)
//
// Distributed under the MIT software license, see the accompanying file
// LICENSE o... | 2.858752 | 43aed3217c2da2b9afd1b61ebd22988d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67627 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ysdy44/Retouch-Photo2-UWP",
"max_stars_repo_path": "Retouch Photo2/XMLs/XML.Bitmap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67628"
} | starcoder | // Core: ★★★
// Referenced: ★★★
// Difficult:
// Only:
// Complete: ★
using Microsoft.Graphics.Canvas;
using System;
using System.Xml.Linq;
namespace Retouch_Photo2
{
/// <summary>
/// Provide constant and static methods for XElement.
/// </summary>
public st... | 2.952866 | 16760ba7b031375ca9273234d9f8b086 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67628 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pulumi/pulumi-rancher2",
"max_stars_repo_path": "sdk/dotnet/Outputs/GetProjectAlertRuleWorkloadRuleResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67629"
} | starcoder | <filename>sdk/dotnet/Outputs/GetProjectAlertRuleWorkloadRuleResult.cs
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immut... | 1.482402 | 56180b2331d5ffe4e3c672c94d00d68e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67629 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Muzsor/Masuit.MyBlogs",
"max_stars_repo_path": "src/Masuit.MyBlogs.Core/Controllers/Drive/DriveController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67630"
} | starcoder | <filename>src/Masuit.MyBlogs.Core/Controllers/Drive/DriveController.cs
using Masuit.MyBlogs.Core.Common;
using Masuit.MyBlogs.Core.Extensions.Firewall;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
namespace Masuit.MyBlogs.Core.Controllers.Drive
{
[ServiceFilter(typeof(FirewallAttribute)... | 2.064546 | 2296cbaf3436ff7a49e6a33b4cd60f52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iamsaddamhossen/HrpProjectWebApi",
"max_stars_repo_path": "Application/Features/DepartmentTypes/Queries/GetAllDepartmentTypes/GetAllDepartmentTypesQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67631"
} | starcoder | <filename>Application/Features/DepartmentTypes/Queries/GetAllDepartmentTypes/GetAllDepartmentTypesQuery.cs
using Application.Filters;
using Application.Interfaces.Repositories;
using Application.Wrappers;
using AutoMapper;
using MediatR;
using System;
using System.Collections.Generic;
using System.Text;
using System.T... | 2.409302 | 540af1957bc89a68bf707962b4fcd1b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67631 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TryCatch-SoftwareFactory/TryCatch.EntityFrameworkCore",
"max_stars_repo_path": "TryCatch.EntityFrameworkCore.UnitTests/Mocks/VehiclesCommandRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67632"
} | starcoder | // <copyright file="VehiclesCommandRepository.cs" company="TryCatch Software Factory">
// Copyright © TryCatch Software Factory All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
// </copyright>
namespace TryCatch.EntityFrameworkCore.UnitTests... | 2.258818 | 5235e4649d633d8726e56adf1cf9fd56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67632 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IanCesarSilvaNascimento/BLOG-DATABASE-ACESS-WITH-DAPPER",
"max_stars_repo_path": "Screens/UserSreens/ListUserScreen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67633"
} | starcoder | using Blog.Models;
using Blog.Repositories;
namespace Blog.Screens.UserScreens
{
public static class ListUserScreen
{
public static void Load()
{
Console.Clear();
Console.WriteLine("Lista de Users");
Console.WriteLine("-------------");
List();
... | 2.744198 | 6edf2a1d9af7b4acc4b22bf8fba5441c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.