added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849212 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vmpradob/SHC",
"max_stars_repo_path": "SHC/ViewModels/PatientPageViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168432"
} | starcoder | <filename>SHC/ViewModels/PatientPageViewModel.cs
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using SHC.Models;
namespace SHC.ViewModels
{
public class PatientPageViewModel : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
pub... | 2.555617 | c597e61f1c7815b91437d80a1fa52bfd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849213 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ganlhi/void-tactics",
"max_stars_repo_path": "Void Tactics/Assets/Vendor/SO Architecture/Events/Responses/QuaternionUnityEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168433"
} | starcoder | <reponame>ganlhi/void-tactics
using UnityEngine;
using UnityEngine.Events;
[System.Serializable]
public sealed class QuaternionUnityEvent : UnityEvent<Quaternion>
{
} | 1.105163 | 3ac3cc9f7792148d9521fadff9088d74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849214 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "doggy8088/AntiXss",
"max_stars_repo_path": "Microsoft.Security.Application.HtmlSanitization/TextConverters/TEXT/TextOutput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168434"
} | starcoder | <reponame>doggy8088/AntiXss<gh_stars>10-100
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TextOutput.cs" company="Microsoft Corporation">
// Copyright (c) 2008, 2009, 2010 All Rights Reserved, Microsoft Corporation
//
// T... | 1.914232 | 3d1cd83aad4bfd310b02873d6e34d28b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849215 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tom-Wells-NW/UiCommand",
"max_stars_repo_path": "ViewModels/DeviceViewModelCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168435"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.ComponentModel;
namespace UiCommand.ViewModels
{
public class DeviceViewModelCollection : ObservableCollection<IDeviceViewModel>, ICollection<IDeviceViewModel>, INotifyCollectionChan... | 1.860067 | 9332dc957784901228f1da44d49f4409 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849216 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OpenSilver/odata.net",
"max_stars_repo_path": "src/Microsoft.OData.Core/UriParser/TypeFacetsPromotionRules.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168436"
} | starcoder | <filename>src/Microsoft.OData.Core/UriParser/TypeFacetsPromotionRules.cs
//---------------------------------------------------------------------
// <copyright file="TypeFacetsPromotionRules.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root f... | 2.747609 | 16bdbecf02088e542cad4852b4358909 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849217 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MaxReinerWPF/Kundenverwaltung",
"max_stars_repo_path": "DataModel/Status.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168437"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataModel
{
public enum Status
{
Fällig,
In_Arbeit,
Erledigt,
}
}
| 1.003467 | abc0c0ef350b1d1ea183f2f883ffbb25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849218 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "auchaphon/PromptPay",
"max_stars_repo_path": "Saladpuk.PromptPay/tests/Saladpuk.PromptPay.Tests/QrDataObjectTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168438"
} | starcoder | <gh_stars>10-100
using FluentAssertions;
using Saladpuk.EMVCo.Models;
using Saladpuk.PromptPay.Models;
using Xunit;
namespace Saladpuk.PromptPay.Tests
{
public class QrDataObjectTests
{
[Theory]
[InlineData("AABBC", "AA", "BB", "C")]
[InlineData("5802TH", "58", "02", "TH")]
publ... | 2.183693 | 90e847e821478df55434d9c0bf7f6c69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849219 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Models/AnomalyDetection/ChangeThresholdCondition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168439"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Azure.Core;
namespace Azure.AI.MetricsAdvisor.Models
{
/// <summary>
/// Normally used when metric values stay around a certain range. The threshold is set according to the percentage of change... | 2.695383 | ba6db37ce37f03c7f81e78cb4afb58a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849220 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "piotrKowalikk/dotnet",
"max_stars_repo_path": "Web.xUnitTest/PageObjects/CreateJobOfferPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168440"
} | starcoder | using OpenQA.Selenium;
using System;
using OpenQA.Selenium.Support.UI;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;
using System.Collections.ObjectModel;
using Web.AutomatedUITests.Extenders;
namespace Web.AutomatedUITests
{
class CreateJobOfferPage
{
... | 2.252799 | 6f1c10b09b9200b0ba669d166376a8da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849221 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Klaus-fischer/Inventor_SaveFileHandler",
"max_stars_repo_path": "Inventor_SaveFileHandler/EPartType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168441"
} | starcoder | // <copyright file="EPartType.cs" company="MTL - Montagetechnik Larem GmbH">
// Copyright (c) MTL - Montagetechnik Larem GmbH. All rights reserved.
// </copyright>
namespace InvAddIn
{
/// <summary>
/// Enumeration of user choice of possible part types.
/// </summary>
public enum EPartType
... | 2.317166 | 27e03b34afc8a9eaf98657292143fdc3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849222 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "upsilon/yacq",
"max_stars_repo_path": "Yacq/Dynamic/YacqBinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168442"
} | starcoder | <filename>Yacq/Dynamic/YacqBinder.cs
// -*- mode: csharp; encoding: utf-8; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil; -*-
// $Id: c01b49ab9d4c42402b7097d9fc35d212729d3a86 $
/* YACQ <http://yacq.net/>
* Yet Another Compilable Query Language, based on Expression Trees API
* Copyright © 2011-2013 <NAME> ... | 2.190008 | 9bad5f3912765b8906a3d8512f360791 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849223 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AnandVishnu/Lean",
"max_stars_repo_path": "Brokerages/Alpaca/Markets/Helpers/Validation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168443"
} | starcoder | /*
* The official C# API client for alpaca brokerage
* Sourced from: https://github.com/alpacahq/alpaca-trade-api-csharp/tree/v3.5.5
*/
using System;
using System.Collections.Generic;
namespace QuantConnect.Brokerages.Alpaca.Markets
{
internal static class Validation
{
internal interface IRequest
... | 2.418312 | a0f94e74f5c2e60d8719eab4603d07f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849224 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HristoShabanakov/Lekarna",
"max_stars_repo_path": "Web/Lekarna.Web.ViewModels/Orders/PharamacyOrderViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168444"
} | starcoder | <reponame>HristoShabanakov/Lekarna
namespace Lekarna.Web.ViewModels.Orders
{
using System.Collections.Generic;
using Microsoft.AspNetCore.Identity;
public class PharamacyOrderViewModel : IdentityUser
{
public PharamacyOrderViewModel()
{
this.Orders = new HashSet<OrderViewM... | 1.406376 | e91741ffea06291abc3946228a520845 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849225 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "papalma/learning_unity1",
"max_stars_repo_path": "Assets/Scripts/Player.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168445"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour
{
[SerializeField] private GameObject _laserPrefab;
[SerializeField] private float _fireRate = 0.5f;
[SerializeField] private int lives = 4;
[SerializeField] private float speed ... | 2.583451 | 8d143dbdf72771e8f4908fb5f61e7aaf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849226 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khncao/com.minus4kelvin.core",
"max_stars_repo_path": "Runtime/Characters/Character.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168446"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using m4k.Items;
namespace m4k.Characters {
public enum Sex { None = 0, Unknown = 1, Other = 2, Male = 10, Female = 20 }
public enum Profession { None = 0, Unknown = 1, Student = 10, Farmer = 20, }
public enum Trait { None = 0, Greedy =... | 2.108882 | fca5e02c8d8b0d2a1ecdaca2697e1185 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849227 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "smsnepal/SmsBytes.ShortCodeRegistry",
"max_stars_repo_path": "SmsBytes.ShortCodeRegistry.Business/ShortCodeRegistryService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168447"
} | starcoder | <filename>SmsBytes.ShortCodeRegistry.Business/ShortCodeRegistryService.cs<gh_stars>0
using System.Collections.Generic;
using System.Threading.Tasks;
using SmsBytes.ShortCodeRegistry.Business.ApplicationInfo;
using SmsBytes.ShortCodeRegistry.Business.Exceptions;
using SmsBytes.ShortCodeRegistry.Storage;
namespace SmsBy... | 2.512762 | 5c780bebd11f30349a7e10d2a974a91d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849228 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chashafe/QuestStore",
"max_stars_repo_path": "QuestStoreNAT/QuestStoreNAT.web/Views/Home/TestView.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168448"
} | starcoder | @model Credentials
@*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
}
<h1>@Model.Email</h1>
<h1>@Model.Password</h1>
<h1>@Model.Role</h1> | 1.976897 | 834f3231247f8006a29dfee306eb3d93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849229 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "Folleach/GeometryDashAPI",
"max_stars_repo_path": "GeometryDashAPI/Levels/ColorList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168449"
} | starcoder | <reponame>Folleach/GeometryDashAPI<filename>GeometryDashAPI/Levels/ColorList.cs
using GeometryDashAPI.Exceptions;
using GeometryDashAPI.Levels.Enums;
using System.Collections.Generic;
namespace GeometryDashAPI.Levels
{
public class ColorList
{
protected Dictionary<short, Color> Colors = new Dictionary... | 3.077394 | 98b6868f5409c8b77384b0cbefdc9b96 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849230 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "PawelBee/Guanaco",
"max_stars_repo_path": "GuanacoComponents/GmshMeshAlgo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168450"
} | starcoder | using Grasshopper.Kernel.Special;
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace Guanaco.Components
{
public class GmshMeshAlgo : GuanacoList
{
public new List<GuanacoListItem> ListItems;
public GuanacoListAttributes instanceAttributes;
private ... | 2.387985 | 4e2844be46bec5fa57766b1e57cab63f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849231 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeSwifterGit/adwenture-works",
"max_stars_repo_path": "src/AdventureWorks.Application/DataEngine/Sales/SpecialOffer/Commands/DeleteSpecialOffer/DeleteSpecialOfferCommandValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168... | starcoder | <gh_stars>0
using FluentValidation;
namespace AdventureWorks.Application.DataEngine.Sales.SpecialOffer.Commands.DeleteSpecialOffer
{
public partial class DeleteSpecialOfferCommandValidator : AbstractValidator<DeleteSpecialOfferCommand>
{
public DeleteSpecialOfferCommandValidator()
{
... | 1.545717 | 923703d2783227ebbd8e1ccfa02f1de3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849232 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Luxoft/BSSFramework",
"max_stars_repo_path": "src/_Configuration/Framework.Configuration.BLL.Core/SubscriptionSystemService/SubscriptionSystemService3/Lambdas/LambdaProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168452"
... | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using Framework.Configuration.Core;
using Framework.Configuration.Domain;
using JetBrains.Annotations;
namespace Framework.Configuration.BLL.SubscriptionSystemService3.Lambdas
{
/// <summary>
/// Базовый класс процессор... | 2.510103 | 585e1596e8ed2e95de6df2886e977474 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849233 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mntone/ToastNotificationKit",
"max_stars_repo_path": "Mntone.ToastNotificationServer/Mntone.ToastNotificationServer/Core/MessageReceivedEventHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168453"
} | starcoder | <filename>Mntone.ToastNotificationServer/Mntone.ToastNotificationServer/Core/MessageReceivedEventHandler.cs
namespace Mntone.ToastNotificationServer.Core
{
public delegate void MessageReceivedEventHandler(ChatClientContext sender, MessageReceivedEventArgs e);
} | 1.314217 | 5420b176028c053459fe2566c406b3e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849234 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Garethp/ReconAndDiscovery",
"max_stars_repo_path": "Source/ReconAndDiscovery/CompProperties_Osiris.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168454"
} | starcoder | using Verse;
namespace ReconAndDiscovery
{
public class CompProperties_Osiris : CompProperties
{
public float tickCharge = 0.5f;
public CompProperties_Osiris()
{
compClass = typeof(CompOsiris);
}
}
} | 1.667606 | 5f420187c839ab3b7c388a06d77dea42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849235 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SonjaMijatovic/projektovanjeSoftvera2020",
"max_stars_repo_path": "backend/PSV/Repository/UserRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168455"
} | starcoder | using PSV.Core;
using PSV.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
namespace PSV.Repository
{
public class UserRepository : Repository<User>, IUserRepository
{
public UserRepository(Back... | 2.54079 | 3573b3832e1a36c1e364d3f77af8ab91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849236 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "panoramicdata/AutoTask.Psa.Api",
"max_stars_repo_path": "AutoTask.Psa.Api/Data/UserDefinedFieldListItemModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168456"
} | starcoder | <reponame>panoramicdata/AutoTask.Psa.Api
namespace AutoTask.Psa.Api.Data;
/// <summary>
/// UserDefinedFieldListItemModel
/// </summary>
[DataContract]
public partial class UserDefinedFieldListItemModel
{
/// <summary>
/// Gets or Sets Id
/// </summary>
[DataMember(Name = "Id")]
public long? Id { get; set; }
//... | 1.567463 | 6bf196c7ec83f1ea6cef357ecf782f71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849237 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChuanGoing/Dpwork.Core",
"max_stars_repo_path": "Dpwork.Core.Repository.Dapper/Fields/FieldsCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168457"
} | starcoder | using System.Collections;
using System.Collections.Generic;
namespace Dpwork.Core.Repository.Dapper.Fields
{
public class FieldsCollection : IEnumerable<Field>
{
private List<Field> _fields;
public Field this[int index] => _fields[index];
public FieldsCollection()
{
... | 2.881535 | 060fbce10fca2884b8832d47b2c7a59c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849238 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danwaters/ChatSentiment",
"max_stars_repo_path": "Services/AzureTextAnalyzer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168458"
} | starcoder | <reponame>danwaters/ChatSentiment
using System;
using System.Threading.Tasks;
namespace Sentiment.Services
{
public class AzureTextAnalyzer : IAnalyzeText
{
public AzureTextAnalyzer()
{
}
public async Task<float> AnalyzeSentiment(string input)
{
throw new N... | 1.584865 | 158b63ee0b64bc18bb071279d8a18ae1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849239 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tsuukounin/BackgroungJobs",
"max_stars_repo_path": "Tsuukounin.BackgroundJobs/Tsuukounin.BackgroundJobs.Tests/APIWebApplicationFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168459"
} | starcoder | using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Testing;
using Tsuukounin.BackgroundJobs.Example;
namespace Tsuukounin.BackgroundJobs.Tests
{
public class APIWebApplicationFactory : WebApplicationFactory<Startup>
{
}
} | 0.831852 | 01a8bbe55ef9a6869a58c9aba1ee6f58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849240 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dorimanx/Wormhole-Master",
"max_stars_repo_path": "Wormhole/Managers/WormholeDiscoveryManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168460"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Xml.Serialization;
using Sandbox;
using Torch.API;
using Torch.Managers;
using VRage.Security;
using Wormhole.ViewModels;
namespace Wormhole.Managers
{
publ... | 2.368647 | 9feba5a3696d00b4243d84d0ee78831d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849241 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "danieldutton/Chordial",
"max_stars_repo_path": "Chordial.Tuner/StandardTuningMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168461"
} | starcoder | using Chordial.Luthier.Model;
using Chordial.Scales.Model;
using Chordial.Tuner.Interfaces;
using System.Collections.Generic;
namespace Chordial.Tuner
{
public class StandardTuningMap : ITuningMap
{
public Dictionary<GuitarString, Scale> GetMap()
{
var stringToScaleMap = new Dictio... | 2.223412 | 5535e0d5b759ba407fd2209c22b9baef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849242 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tanakaedu/ZenmetsuSample",
"max_stars_repo_path": "Assets/Scripts/IDetectedObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168462"
} | starcoder | <reponame>tanakaedu/ZenmetsuSample
public interface IDetectedObject
{
/// <summary>
/// 管理元のインスタンスを設定
/// </summary>
/// <param name="detector">管理元のインスタンス</param>
void SetDetector(NormaDetector detector);
/// <summary>
/// ノルマ完了時に呼び出す。
/// </summary>
void Done();
}
| 1.836102 | a438aa755de53cc0248726e96c823643 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849243 | {
"extension": "c-sharp",
"max_stars_count": "3375.0",
"max_stars_repo_name": "nul800sebastiaan/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Models/ContentEditing/PropertyGroupBasicExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168463"
} | starcoder | namespace Umbraco.Cms.Core.Models.ContentEditing
{
internal static class PropertyGroupBasicExtensions
{
public static string GetParentAlias(this PropertyGroupBasic propertyGroup)
=> PropertyGroupExtensions.GetParentAlias(propertyGroup.Alias);
}
}
| 1.754822 | e9ce78d5149978c4f6912e7304d90f7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849244 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sillsdev/pcpatrflex",
"max_stars_repo_path": "DisambiguateInFLExDBTests/GuidConverterTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168464"
} | starcoder | <reponame>sillsdev/pcpatrflex
// Copyright (c) 2018 SIL International
// This software is licensed under the LGPL, version 2.1 or later
// (http://www.gnu.org/licenses/lgpl-2.1.html)
using NUnit.Framework;
using SIL.DisambiguateInFLExDB;
using System;
using System.Collections.Generic;
using System.Linq;
using System.... | 2.247711 | 76ee2b2e13c6db76b3e29a00c933ade3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849245 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SvetoslavGochev/ShopsCarss",
"max_stars_repo_path": "ShopsCarss/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168465"
} | starcoder | <reponame>SvetoslavGochev/ShopsCarss<gh_stars>0
@using ShopsCarss
@using ShopsCarss.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.313198 | 459ca9b7e4e46ed0a56cb34f951b4b93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849246 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ibig15/canonicalize",
"max_stars_repo_path": "Canonicalize/HttpRequestBaseExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168466"
} | starcoder | <reponame>ibig15/canonicalize
using System;
using System.Web;
namespace Canonicalize
{
/// <summary>
/// Adds extension methods on <see cref="HttpRequestBase"/>.
/// </summary>
public static class HttpRequestBaseExtensions
{
/// <summary>
/// Gets the original URL reques... | 2.725157 | c32ec2c5e8f722cce1d49f5d4ba40d9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849247 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lvermeulen/Dynatrace.Net",
"max_stars_repo_path": "src/Dynatrace.Net/Environment/Deployment/OneAgent/DynatraceClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168467"
} | starcoder | <reponame>lvermeulen/Dynatrace.Net<gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Dynatrace.Net.Common.Converters;
using Dynatrace.Net.Common.Extensions;
using Dynatrace.Net.Environment.Deployment.Models;
using Flurl.Http;
// ReSh... | 2.07583 | 0d22404cedc4101b835856039a9a9c72 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849248 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LT156809593/IceInk",
"max_stars_repo_path": "IceInk/Tools/10.Abp/Login/AbpUserProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168468"
} | starcoder | using System;
namespace IceInkAbp.Login
{
/// <summary>
/// 用户信息
/// </summary>
public class AbpUserProfile
{
/// <summary>
/// 用户名称
/// </summary>
public string UserName { get; set; }
/// <summary>
/// 用户编号
/// </summary>
public str... | 2.302889 | 4632328b91d39b449e9dc33e8a0ffa93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849249 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rpwjanzen/blinken",
"max_stars_repo_path": "lib/AForge.NET Framework-2.2.4/Sources/Math/Geometry/FlatAnglesOptimizer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168469"
} | starcoder | // AForge Math Library
// AForge.NET framework
// http://www.aforgenet.com/framework/
//
// Copyright © AForge.NET, 2007-2011
// <EMAIL>
//
namespace AForge.Math.Geometry
{
using System;
using System.Collections.Generic;
using AForge;
/// <summary>
/// Shape optimizer, which removes obtuse angles... | 3.040455 | 8c9c1fb80d7b48515a6bbb96dbca8766 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849250 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ebubekirdinc/ProgecDo",
"max_stars_repo_path": "src/ProgecDo.Web/Pages/ProjectBoard/Index.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168470"
} | starcoder | <reponame>ebubekirdinc/ProgecDo<filename>src/ProgecDo.Web/Pages/ProjectBoard/Index.cshtml.cs<gh_stars>1-10
using System;
using System.Threading.Tasks;
using ProgecDo.BoardMessages;
using ProgecDo.ProjectBoard;
namespace ProgecDo.Web.Pages.ProjectBoard
{
public class Index : ProgecDoPageModel
{
privat... | 2.0178 | b238ac0e34ba0c33791c3df5a2baee4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849251 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jdm7dv/visual-studio",
"max_stars_repo_path": "Samples/NET 4.6/WF_WCF_Samples/WCF/Extensibility/Channels/HttpAckChannel/CS/HttpAckChannel/HttpAcknowledgementChannelListener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168471"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
using System;
using System.ServiceModel.Channels;
namespace Microsoft.Samples.HttpAckChannel
{
... | 2.211148 | c7e999c949010f5ffa37d8e99cadfa98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849252 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tarnas14/TarnasConsoleUi",
"max_stars_repo_path": "ConsoleUi/UserCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168472"
} | starcoder | <filename>ConsoleUi/UserCommand.cs
namespace Tarnas.ConsoleUi
{
using System.Collections.Generic;
public class UserCommand
{
public UserCommand()
{
Name = string.Empty;
Params = new List<string>();
Flags = new List<char>();
NamedParams = new D... | 2.704679 | e51d7360dff2fe6d68f747b0e168cb8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849253 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "TalicZealot/SotnApi",
"max_stars_repo_path": "SotnApi/SotnApi/Constants/Values/Alucard/Equipment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168473"
} | starcoder | using System.Collections.Generic;
namespace SotnApi.Constants.Values.Alucard
{
public static class Equipment
{
public static List<string> Items = new List<string>
{
"empty hand",
"monster vial 1",
"monster vial 2",
"monster vial 3",
"S... | 2.149562 | 7e70f8c1167295ef52834a902487f53e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849254 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "eatplayhate/versionr",
"max_stars_repo_path": "VersionrUI/Utilities/MultilineStringConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168474"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Windows.Data;
namespace VersionrUI
{
internal class MultilineStringConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
... | 3.000348 | a342370f1dd876202f11d180e3a5a119 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849255 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "somekawa/GraduationWork",
"max_stars_repo_path": "Town/LED/Script/FieldOutLEDs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168475"
} | starcoder | using UnityEngine;
using UnityEngine.SceneManagement;
public class FieldOutLEDs : MonoBehaviour
{
private GameObject cameraCtl_; // CameraMng.csがアタッチされてるオブジェクト
private CameraMng cameraMng; // メインカメラとサブカメラの切り替え
private float intensity_ = 0.1f;
private Renderer[] childrenRend_;
... | 2.397987 | a14421c707a9b369a52202521b6bf92b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849256 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Effix/LedBadge",
"max_stars_repo_path": "LedBadgeUtilLib/BadgeScene/Visuals/RawVisual.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168476"
} | starcoder | <filename>LedBadgeUtilLib/BadgeScene/Visuals/RawVisual.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows;
... | 2.482222 | d5dd538ee191296d95a3c5cf60939787 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849257 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iwiniwin/LastBattle",
"max_stars_repo_path": "Assets/Scripts/Framework/UI/UIResourceLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168477"
} | starcoder | <filename>Assets/Scripts/Framework/UI/UIResourceLoader.cs
/*
* @Author: iwiniwin
* @Date: 2020-11-11 22:13:15
* @LastEditors: iwiniwin
* @LastEditTime: 2020-12-05 16:02:16
* @Description: UI资源加载器
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UDK.Resource;
namespace UDK.... | 2.355914 | d370de30801577ba665d47f6562e9461 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849258 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mastersign/Mastersign.Sequence",
"max_stars_repo_path": "Mastersign.Sequence/EnumerableSequence.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168478"
} | starcoder | using System;
using System.Collections.Generic;
namespace Mastersign.Sequence
{
internal class EnumerableSequence<T> : ISequence<T>
{
private readonly IEnumerable<T> source;
public EnumerableSequence(IEnumerable<T> values)
{
if (values == null) throw new ArgumentNullExcept... | 3.034305 | dc157a77d356bcac5fc6d5dfc5311748 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849259 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kitsu/PCGTest",
"max_stars_repo_path": "PCGTest/Simulation/Map/Generators/Grassland.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168479"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PCGTest.Utilities.Geometry;
namespace PCGTest.Simulation.Map.Generators
{
class Grassland: AbstractGenerator
{
Dictionary<int, string> _mats;
public Grassland(ChunkSource ... | 2.713045 | e5986057e3ce6dad97975574f958972f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849260 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "lulzzz/CaseManagement",
"max_stars_repo_path": "src/CaseManagement.BPMN/ProcessInstance/Commands/ConsumeMessageInstanceCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168480"
} | starcoder | <filename>src/CaseManagement.BPMN/ProcessInstance/Commands/ConsumeMessageInstanceCommand.cs<gh_stars>10-100
using MediatR;
using Newtonsoft.Json.Linq;
namespace CaseManagement.BPMN.ProcessInstance.Commands
{
public class ConsumeMessageInstanceCommand : IRequest<bool>
{
public string FlowNodeInstanceId... | 1.939376 | 8a59d66c98a7fb1452beba504d317f87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849261 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Michael-G-Workman/Books",
"max_stars_repo_path": "Books/Views/Sales/Edit.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168481"
} | starcoder | <gh_stars>0
@model Books.Models.Sale
@{
ViewBag.Title = "Edit";
}
<h2>Edit</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Sale</h4>
<hr />
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.HiddenFor(mode... | 1.789158 | 9a8a1c9e35646c834eea57240732ec31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849262 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LiminalVR/Ext-BeneathTheBlossoms",
"max_stars_repo_path": "Assets/Scripts/Fade.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168482"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Fade : MonoBehaviour
{
[SerializeField] Button button;
[SerializeField] Text text;
[SerializeField] float fadeOutTime;
Color originColor;
float currTime = 0;
pub... | 2.618742 | c08709894c40ecbb87820869eca2637b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849263 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Zulkir/ClarityWorlds",
"max_stars_repo_path": "Source/IritNet/Irit_mrchcube.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168483"
} | starcoder | <filename>Source/IritNet/Irit_mrchcube.cs
using System.Runtime.InteropServices;
namespace IritNet
{
public static unsafe partial class Irit
{
[DllImport("Irit.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern MCPolygonStruct *MCThresholdCube(MCCubeCornerScalarStruct *CCS,... | 1.804838 | d20393f58e82fecf59f81543a63647f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849264 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adamuso/Platform3D",
"max_stars_repo_path": "Platform3D/Engine/Collisions/ICollidable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168484"
} | starcoder | using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _3DPlatformer.Engine.Collisions
{
public interface ICollidable
{
Collision CheckCollision(ICollidable collider);
}
}
| 1.618923 | 883d94f4fa321aa9da710e1b6f461f2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849265 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "a-kozhanov/codewars_csharp",
"max_stars_repo_path": "CodeWarsTests/8kyu/CenturyFromYearTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168485"
} | starcoder | <filename>CodeWarsTests/8kyu/CenturyFromYearTests.cs
using System;
using CodeWars;
using NUnit.Framework;
namespace CodeWarsTests
{
[TestFixture]
class CenturyFromYearTests
{
private int check(int year)
{
return year % 100 == 0 ? year / 100 : year / 100 ... | 3.296303 | 25d1b231edf3e922813fdbb09725f321 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849266 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vasont-systems/Vasont.Inspire.Models",
"max_stars_repo_path": "src/Common/TenantDetailModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168486"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="TenantDetailModel.cs" company="GlobalLink Vasont">
// Copyright (c) GlobalLink Vasont. All rights reserved.
// </copyright>
// <author><NAME></author>
//--------------------------------------------------------------------... | 1.933121 | a3c403898196acff9feee10da6ddbf99 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849267 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ReneSchwarzer/WebExpress",
"max_stars_repo_path": "core/WebExpress/Config/HttpServerConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168487"
} | starcoder | <gh_stars>0
using System.Xml.Serialization;
using WebExpress.Setting;
namespace WebExpress.Config
{
/// <summary>
/// Klasse zum Auslesen der Konfigurationsdatei
/// </summary>
[XmlRoot("config", IsNullable = false)]
public sealed class HttpServerConfig
{
/// <summary>
/// Die ... | 1.867465 | 9a255e06c92bbb9e0f15338c3b25d60f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849268 | {
"extension": "c-sharp",
"max_stars_count": "95.0",
"max_stars_repo_name": "zgren/dp2",
"max_stars_repo_path": "TestUHF/OpenReaderDialog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168488"
} | starcoder | <filename>TestUHF/OpenReaderDialog.cs<gh_stars>10-100
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;
using DigitalPlatform.CommonControl;
using Digital... | 2.253978 | a01d997dcfc8847b52119ddbe578aafc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849269 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MPTG94/WindAPI",
"max_stars_repo_path": "WindAPI.Tests/MockResultGenerators/ADObjectCheckResultGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168489"
} | starcoder | <filename>WindAPI.Tests/MockResultGenerators/ADObjectCheckResultGenerator.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WindAPI.Classes.ResultObjects;
using WindAPI.Tests.TestConfig;
namespace WindAPI.Tests.MockResultGenerators
{
class... | 2.221606 | f315c003ca2294073dd63e22e16d8bec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849270 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FSakowski/Notes.Net",
"max_stars_repo_path": "Notes.Net/Service/INoteService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168490"
} | starcoder | using Notes.Net.Models;
using System.Linq;
using System.Threading.Tasks;
namespace Notes.Net.Service
{
public interface INoteService
{
public IQueryable<Project> Projects { get; }
public IQueryable<Scratchpad> Scratchpads { get; }
public IQueryable<Note> Notes { get; }
publi... | 1.929008 | 098309266bbaa2a02e5637dd77dbb4ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849271 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chadedrupt/FreeMonadFailState",
"max_stars_repo_path": "FreeMonadFailState/Node.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168491"
} | starcoder | <gh_stars>0
namespace FreeMonadFailState
{
internal class Node<A>
{
public enum StateType
{
Leaf,
Inner
}
public readonly StateType State;
public readonly A Value;
public readonly Free<A> Next;
public bool IsLeaf => State == Sta... | 2.621085 | e4bb105c830c993b05e0640b9d6b3836 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849272 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CarsonCook/SlackLibrary",
"max_stars_repo_path": "SlackLibrary/JsonParsing/TeamJson/TeamProfileJson/JsonTeamProfileDetails.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168492"
} | starcoder | <filename>SlackLibrary/JsonParsing/TeamJson/TeamProfileJson/JsonTeamProfileDetails.cs
using Newtonsoft.Json;
namespace SlackITSupport.SlackLibrary.JsonParsing.TeamJson.TeamProfileJson
{
public class JsonTeamProfileDetails
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonPrope... | 2.078141 | 81afb3e76991e0a111f819a2cf9791b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849273 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChaseFlorell/System.Chase",
"max_stars_repo_path": "tests/System.Chase.Tests/Fixtures/VehicleType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168493"
} | starcoder | namespace System.Chase.Tests.Fixtures
{
public class VehicleType : Enumeration
{
private VehicleType(int value, string displayName):base(value, displayName) { }
private VehicleType() { /*Required for the generics and implicit operators to function correctly*/ }
p... | 3.058443 | 86faf52232263ee6c7e189ff9ad0bc7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849274 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AAimson/RepairR",
"max_stars_repo_path": "tests/RepairR.IntegrationTests/Data/BaseEfRepoTestFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168494"
} | starcoder | using RepairR.Core.ProjectAggregate;
using RepairR.Infrastructure.Data;
using MediatR;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Moq;
namespace RepairR.IntegrationTests.Data
{
public abstract class BaseEfRepoTestFixture
{
}
}
| 1.061167 | b835d8776901cccc8575b22d9a9b5a7c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849275 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ahnaylor93/Minerva",
"max_stars_repo_path": "Minerva/Minerva/frmSignup.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168495"
} | starcoder | <gh_stars>0
namespace Minerva
{
partial class frmSignup
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summa... | 1.474065 | a54120fb973169cafda09b25477b6bf8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849276 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Staatsgeheim/NDceRpc",
"max_stars_repo_path": "src/NDceRpc.Microsoft/Microsoft/Interop/RpcAsync.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168496"
} | starcoder | namespace NDceRpc.Microsoft.Interop
{
public class RpcAsync
{
public const uint RPC_C_NOTIFY_ON_SEND_COMPLETE = 0x1;
public const uint RPC_C_INFINITE_TIMEOUT = 0xFFFFFFFF;
}
}
| 1.097055 | 1a703f888a1dc748a524803fa07e24a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849277 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sxlvalue/NewSpider",
"max_stars_repo_path": "src/DotnetSpider/Statistics/Entity/DownloadStatistics.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168497"
} | starcoder | using DotnetSpider.Core;
namespace DotnetSpider.Statistics.Entity
{
public class DownloadStatistics
{
private readonly AtomicLong _elapsedMilliseconds = new AtomicLong();
private readonly AtomicLong _success = new AtomicLong();
private readonly AtomicLong _failed = new AtomicLong();
... | 2.569408 | e2470cbd0f283b1f73310df66492173b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849278 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "duckdroid/stardew-valley-mods",
"max_stars_repo_path": "NPCMapLocations/data/MapTooltip.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168498"
} | starcoder | // Class for custom map tooltips
using Newtonsoft.Json;
public class MapTooltip
{
public int X { get; set; } // Absolute position relative to map
public int Y { get; set; } // Absolute position relative to map
public int Width { get; set; } // Width of area on map
public int Height { get; set; } // Height of a... | 2.956699 | 190ecb737d8963d0223c1127f3b27a72 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849279 | {
"extension": "c-sharp",
"max_stars_count": "4601.0",
"max_stars_repo_name": "MiaHub/xamarin-forms-samples",
"max_stars_repo_path": "TipCalc/TipCalc/TipCalc/TipCalcPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168499"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TipCalc
{
public partial class TipCalcPage
{
public TipCalcPage()
{
InitializeComponent();
}
}
}
| 1.242376 | b45d5daa47620d431f44898727f8ebb5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849280 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CaptainCow95/DatabaseV2",
"max_stars_repo_path": "Driver/Driver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168500"
} | starcoder | using Library;
using Library.Networking;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace Driver
{
/// <summary>
/// Represents the main interface to the database.
/// </summary>
public class Driver : IDisposable
{
/// <summary>
/... | 3.409924 | c41183273111f07892f0fb89ea88d3a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849281 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "BecauseWeCan/BecauseWeDynamo",
"max_stars_repo_path": "src/BecauseWeDynamo/DXFLibrary/Document.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168501"
} | starcoder | <gh_stars>10-100
using System;
namespace Fabrication.DXFLibrary
{
/// <summary>
/// The representation of a dxf document.
/// </summary>
class Document
{
internal Header header;
internal Entities entities;
internal Blocks blocks;
internal Tables tables;
pub... | 2.56559 | 310fc00c0301dff05631afb22cc5713d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849282 | {
"extension": "c-sharp",
"max_stars_count": "260.0",
"max_stars_repo_name": "chivandikwa/pulumi-aws",
"max_stars_repo_path": "sdk/dotnet/Eks/Outputs/NodeGroupUpdateConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168502"
} | starcoder | // *** 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.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.77713 | 3997c7c71056c38ce98376fc56d52676 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849283 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "bunjii/PTK",
"max_stars_repo_path": "PTK/Components/SelectDetail.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168503"
} | starcoder | using System;
using System.Collections.Generic;
using Grasshopper.Kernel;
using Rhino.Geometry;
using System.Linq;
namespace PTK.Components
{
public class SelectDetail : GH_Component
{
/// <summary>
/// Initializes a new instance of the SelectDetail class.
/// </summary>
publi... | 2.596214 | 70fb68cc3ebfea5dfd14027e732e87bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849284 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maxim-kuzmin/Interview-08-2021",
"max_stars_repo_path": "Homework.PresentationLayer.RabbitMQ.Consumer/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168504"
} | starcoder | // Copyright (c) 2021 <NAME>. All rights reserved. Licensed under the MIT License.
using Homework.ApplicationLayer.RabbitMQ.Consumer;
using Homework.ApplicationLayer.RabbitMQ.Consumer.Config;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
names... | 1.748055 | 97447270870ab99d6377596ab72a750f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849285 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TechnologyEnhancedLearning/DLSV2",
"max_stars_repo_path": "DigitalLearningSolutions.Data/Models/SessionData/Frameworks/SessionNewFramework.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168505"
} | starcoder | <reponame>TechnologyEnhancedLearning/DLSV2
namespace DigitalLearningSolutions.Data.Models.SessionData.Frameworks
{
using System;
using System.Collections.Generic;
using DigitalLearningSolutions.Data.Models.Frameworks;
public sealed class SessionNewFramework
{
public SessionNewFramework()
... | 1.834029 | 01492a1fa25238734e6352d939cd426d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849286 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alex-kulakov/dataobjects-net",
"max_stars_repo_path": "Extensions/Xtensive.Orm.Reprocessing/ReprocessAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168506"
} | starcoder | #if NOT_IMPLMENETED
using System;
using System.Transactions;
using PostSharp.Aspects;
namespace Xtensive.Orm.Reprocessing
{
/// <summary>
/// Execute method in reprocessable mode.
/// </summary>
[Serializable]
public class ReprocessAttribute : MethodInterceptionAspect
{
private Standard... | 2.472775 | 5ace72c58caaac71ba356d6eaec7c748 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849287 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zfy1045056938/THDN_Script",
"max_stars_repo_path": "SHENSHAN/IdentifyControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168507"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Mirror;
public class IdentifyControl : NetworkBehaviour
{
// Start is called before the first frame update
// Update is called once per frame
void Update()
{
if (!isLocalPlayer)
{
retur... | 1.338342 | 9ffedbf5c4aad0365859d306b24ee88c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849288 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rzh1999/CharterProject",
"max_stars_repo_path": "Charter/Views/Captains/CalculateBaits.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168508"
} | starcoder | <reponame>rzh1999/CharterProject<gh_stars>0
@model Charter.Models.BaitsModel
@{
ViewData["Title"] = "CalculateBaits";
}
<hr />
<div class="row">
<div class="col-md-4">
<form asp-action="CalculateBaits">
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
<inp... | 2.219004 | e3d7ba8f6863103a799ad4d2420cb562 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849289 | {
"extension": "c-sharp",
"max_stars_count": "153.0",
"max_stars_repo_name": "skyhoshi/NStratis",
"max_stars_repo_path": "Hashing/TomanuExtensions/Utils/FileUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168509"
} | starcoder | <reponame>skyhoshi/NStratis<gh_stars>100-1000
using System;
using System.IO;
namespace TomanuExtensions.Utils
{
public static class FileUtils
{
public static bool IsFilePathValid(string a_path)
{
if (String.IsNullOrEmpty(a_path.Trim()))
{
return false;
... | 2.845556 | 36b2d450dc32d4e51aabe076550ffb21 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849290 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "mcychan/nQuant.cs",
"max_stars_repo_path": "nQuant.Master/PnnLABQuantizer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168510"
} | starcoder | <filename>nQuant.Master/PnnLABQuantizer.cs
using nQuant.Master;
using System;
using System.Collections.Generic;
using System.Drawing;
namespace PnnQuant
{
public class PnnLABQuantizer : PnnQuantizer
{
private double PR = .2126, PG = .7152, PB = .0722;
private double ratio = 1.0;
... | 2.380487 | ef79bf8521b2167ab84afa24d9b913c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849291 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bluebackblue/jsontest",
"max_stars_repo_path": "unity_jsontest/Assets/ThirdParty/Open/Fee/Script/ReflectionTool/ReflectionTool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168511"
} | starcoder | <gh_stars>0
/**
* Copyright (c) blueback
* Released under the MIT License
* https://github.com/bluebackblue/fee/blob/master/LICENSE.txt
* @brief リフレクションツール。
*/
/** Fee.ReflectionTool
*/
namespace Fee.ReflectionTool
{
/** ReflectionTool
*/
public class ReflectionTool
{
}
}
| 1.482936 | 6fa6d78b22ebc519ac77762bc6758815 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849292 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OlafOtterbach/TheFuzzyChess",
"max_stars_repo_path": "TheFuzzyChess.Tests/ChessRuleSetDefinitions/ChessRuleSetTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168512"
} | starcoder | <reponame>OlafOtterbach/TheFuzzyChess<gh_stars>0
using FuzzyChess.Chess;
using FuzzyChess.ChessRuleSetDefinitions;
using FuzzyChess.RunTime;
using FuzzyChess.RunTime.Evaluation;
using System.Collections.Generic;
using Xunit;
namespace FuzzyChess.Tests.ChessRuleSetDefinitions
{
public class ChessRuleSetTest
{
... | 2.383008 | 2d20ece7b8f7fe069884754a16e4483c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849293 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kenshinthebattosai/DotNetAnalytics.Google",
"max_stars_repo_path": "src/LinqAn.Google/Metrics/LocalTransactionRevenue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168513"
} | starcoder | <reponame>kenshinthebattosai/DotNetAnalytics.Google
using System.ComponentModel;
namespace LinqAn.Google.Metrics
{
/// <summary>
/// Transaction revenue in local currency.
/// </summary>
[Description("Transaction revenue in local currency.")]
public class LocalTransactionRevenue: Metric<decimal>
{
/// <summar... | 2.244497 | a47e62e28dc5e5cbfb9c2cf535d38ebe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849294 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StephAC9/websoft",
"max_stars_repo_path": "work/s07/webapp/Views/Home/Getid.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168514"
} | starcoder | @model webapp.Models.Account
@{
ViewData["Title"] = "Getid";
}
| 1.525977 | 1541ace93ef7c1c082d928cec12a4658 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849295 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "letheascetic/NanoInsightElements",
"max_stars_repo_path": "NanoInsight/Viewer/ViewModel/SysSettingsViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168515"
} | starcoder | using GalaSoft.MvvmLight;
using log4net;
using NanoInsight.Engine.Core;
using NanoInsight.Engine.Device;
using NanoInsight.Viewer.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NanoInsight.Viewer.ViewModel
{
public class SysSett... | 1.709648 | 722e1f2f0f6dbeccfc21fdc196272655 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849296 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kodeistan/nndss-mmg-validator",
"max_stars_repo_path": "src/Kodeistan.Mmg/IValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168516"
} | starcoder | <reponame>Kodeistan/nndss-mmg-validator<filename>src/Kodeistan.Mmg/IValidator.cs
using Kodeistan.Mmg.Model;
using System;
using System.Collections.Generic;
using System.Text;
namespace Kodeistan.Mmg
{
public interface IValidator
{
ValidationResult ValidateMessage(string hl7v2message);
}
... | 1.405286 | 4750a7dff68ee268d1edeff79a3c3bcc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849297 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johnjajeh/Indigo",
"max_stars_repo_path": "Assets/Compass/Scripts/CompassActivator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168517"
} | starcoder | <reponame>johnjajeh/Indigo
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CompassActivator : MonoBehaviour
{
public GameObject compass; // Compass prefab
private Animator compassAnim; // Compass animation controller
void OnTriggerEnter(Collid... | 1.987162 | 4c1d45c86f80b889bb51c12d84e23009 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849298 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sakapon/KLibrary-2",
"max_stars_repo_path": "KLibrary2/Core/Diagnostics/ProcessUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168518"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Keiho.Diagnostics
{
public static class ProcessUtility
{
}
}
| 1.027371 | bca2160396a33a04cb2da3757c4dfbea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849299 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Packo0/SoftUniProgrammingFundamentals",
"max_stars_repo_path": "exercise/t08_ArraysAndMethodsMoreExercises/p06_Heists/p06_Heists.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168519"
} | starcoder | <gh_stars>0
using System;
using System.Linq;
using System.Numerics;
namespace p06_Heists
{
class p06_Heists
{
static void Main(string[] args)
{
var prices = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
int jewel = prices[0];
int gold = prices[1... | 3.334542 | d80c8fc43a5630bd4f00a1894babdf3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849300 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "DeployChef/UpdateBuilder",
"max_stars_repo_path": "UpdateBuilder/Views/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168520"
} | starcoder | using System.Collections.Generic;
using System.IO;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
namespace UpdateBuilder.Views
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Windo... | 2.523086 | d98e0780cfe616faf4d70ff9f0394611 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849301 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "noelex/RabbitRPC",
"max_stars_repo_path": "src/RabbitRPC/States/InMemory/InMemoryStateContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168521"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace RabbitRPC.States.InMemory
{
internal class InMemoryStateContext : IStateContext, IDisposable
{
private readonly InMemor... | 2.532254 | b3e59ab2bc9c8c2880f9f044842fc9bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849302 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "em0enev/AlgorithmVisualizer",
"max_stars_repo_path": "AlgoVisualizer/Services/AlgoVisualizer.Models/SortingAlgorithms/Result.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168522"
} | starcoder | namespace AlgoVisualizer.Models.SortingAlgorithms
{
using System.Collections.Generic;
public class Result
{
public Result(List<int[]> usedSwapsToSortArray)
{
this.SwapIndexes = usedSwapsToSortArray;
}
public Result(string errorMessage)
{
thi... | 2.827813 | 3e5457e78fb7f633d08d6848304d08d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849303 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bragil/funcsharp",
"max_stars_repo_path": "FunSharp.Tests/ErrorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168523"
} | starcoder | <filename>FunSharp.Tests/ErrorTests.cs
using NUnit.Framework;
using Shouldly;
using System;
namespace FunSharp.Tests
{
public class ErrorTests
{
[Test]
public void Mensagem_Erro_Deve_Ser_Mensagem_Da_Exception()
{
var message = "bla bla bla";
var error = new Erro... | 2.71248 | 6321f1d70ce012d26300c66d96058178 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849304 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mitchfizz05/RimLink",
"max_stars_repo_path": "Source/PlayerTrade/PlayerTrade/Patches/Patch_Current_Game.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168524"
} | starcoder | using System;
using HarmonyLib;
using PlayerTrade.Anticheat;
using PlayerTrade.Net;
using Verse;
namespace PlayerTrade.Patches
{
[HarmonyPatch(typeof(Current), "Game", MethodType.Setter)]
public static class Patch_Current_Game
{
private static void Postfix()
{
if (RimLinkComp.I... | 2.152468 | 98dc61554d23886285c0a42f169feb45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849305 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SebastianKotstein/APIs.guru-File-Loader",
"max_stars_repo_path": "skotstein.research.rest.apiguru.loader/model/ApiGuruApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168525"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace skotstein.research.rest.apiguru.loader.model
{
public class ApiGuruApi
{
private string _added;
private string _preferred;
... | 2.629049 | 9ec12257169fc614c0862c56b78d40b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849306 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "swisschain/Service.Candles",
"max_stars_repo_path": "src/Candles/Configuration/Service/Rabbit/RabbitSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168526"
} | starcoder | <gh_stars>0
using JetBrains.Annotations;
using Candles.Configuration.Service.Rabbit.Subscribers;
namespace Candles.Configuration.Service.Rabbit
{
[UsedImplicitly(ImplicitUseTargetFlags.WithMembers)]
public class RabbitSettings
{
public RabbitSubscribers Subscribers { get; set; }
}
}
| 1.039419 | eeb47c5b6a9928df279b1f67739bf4bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849307 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StefanStrauberg/TelMed",
"max_stars_repo_path": "src/Services/Organizations/CORE/Organizations.Application/Mappings/MappingProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168527"
} | starcoder | using AutoMapper;
using Organizations.Application.DTO;
using Organizations.Domain;
using Specialization.GRPC;
namespace Organizations.Application.Mappings
{
public class MappingProfile : Profile
{
public MappingProfile()
{
CreateMap<CreateOrganizationDto, Organization>();
... | 2.152741 | d6a22e901a2126accbf894626bd8e4e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849308 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "clean-code-craft-tcq-1/functional-cs-Akhilahebbar",
"max_stars_repo_path": "checker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168528"
} | starcoder | <filename>checker.cs<gh_stars>0
using System;
namespace BatteryManagement
{
class Checker
{
static int Main()
{
TestBatteryStatus.CheckBatteryCondition(25, 70, 0.7f);
TestBatteryStatus.CheckBatteryCondition(40, 60, 0.4f);
return 0;
}
}
}
| 2.406056 | 2fa5aabbe5b6a99caa8580e67d96bc71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849309 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aurlaw/Product-Order-System",
"max_stars_repo_path": "src/ProductService.Api/Services/IProductService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168529"
} | starcoder | <reponame>aurlaw/Product-Order-System<filename>src/ProductService.Api/Services/IProductService.cs
using AurSystem.Framework.Models.Domain;
namespace ProductService.Api.Services;
public interface IProductService
{
Task<Product?> GetProductByIdAsync(Guid id, CancellationToken token = default);
Task<IEnumerable<... | 1.856973 | 61c6c429a93d89e7877b18c268581529 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849310 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vjacquet/WmcSoft",
"max_stars_repo_path": "WmcSoft.Components/ComponentModel/Design/EntityComponentEditorPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168530"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.Design;
namespace WmcSoft.ComponentModel.Design
{
[Designer("WmcSoft.ComponentModel.Design.ComponentEditorPageDocumentDesigner, WmcSoft.ControlLibrary", typeof(IRootDesigner))]
[Designer(... | 1.51765 | d8e4a6caac9d67b0fe0e33330f694793 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849311 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JonasSamuelsson/Handyman",
"max_stars_repo_path": "src/Handyman.DependencyInjection/src/Conventions/ExecuteServiceConfigurationStrategiesConvention.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168531"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Handyman.DependencyInjection.Conventions
{
internal class ExecuteServiceConfigurationStrategiesConvention : IServiceConfigurationConvention
{
public void Execute(IReadOnlyCollec... | 2.540817 | 3557f850e138724b8b82bbd8a130c903 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.