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 | 5437 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bec-Lyons/whs-azure-function",
"max_stars_repo_path": "WHSAzureFunction/ImageAnalyser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5438"
} | starcoder | using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Azure.WebJobs.Host;
using Microsoft.ProjectOxford.Face;
using Microsoft.ProjectOxford.Vision;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using Newtonsoft.Json;
using System;
using System.I... | 2.380054 | 378c3d7db7148ffe02f69d0fe9543a68 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5438 | {
"extension": "c-sharp",
"max_stars_count": "72.0",
"max_stars_repo_name": "Swarmops/Swarmops",
"max_stars_repo_path": "Logic/Communications/OutboundCommRecipients.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5439"
} | starcoder | <reponame>Swarmops/Swarmops
using Swarmops.Basic.Types.Communications;
using Swarmops.Database;
using Swarmops.Logic.Support;
namespace Swarmops.Logic.Communications
{
public class OutboundCommRecipients :
PluralBase<OutboundCommRecipients, OutboundCommRecipient, BasicOutboundCommRecipient>
{
... | 1.79688 | e3ef16de10c37eda1d54fceee263fc02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5439 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "glav/CognitiveServicesFluentApi",
"max_stars_repo_path": "Tests/Glav.CognitiveServices.UnitTests/Face/LargePersonGroupTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5440"
} | starcoder | using Xunit;
using Glav.CognitiveServices.UnitTests.Helpers;
using Glav.CognitiveServices.FluentApi.Core;
using System.Threading.Tasks;
using Glav.CognitiveServices.FluentApi.Face;
namespace Glav.CognitiveServices.UnitTests.TextAnalytic
{
public class LargePersonGroupTests
{
private TestDataH... | 2.086911 | 5a17226a74185ae627dab155a3afb224 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5440 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "XElementDev/SDM",
"max_stars_repo_path": "code/UI/Win32/SDM_win32/Model/DelayModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5441"
} | starcoder | <filename>code/UI/Win32/SDM_win32/Model/DelayModel.cs
using System.Collections.Generic;
using System.ComponentModel.Composition;
using XElement.DotNet.System.Environment.Startup;
using XElement.SDM.DelayLogic;
namespace XElement.SDM.UI.Win32.Model
{
#region not unit-tested
[Export]
internal class DelayModel : ... | 2.026364 | c8ba1222ed57bd1e202e21d5cae2e272 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5441 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robertjebakumar/dotnet",
"max_stars_repo_path": "samples/BenchmarkDotNet.Samples/Intro/IntroParamsSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5442"
} | starcoder | using System.Collections.Generic;
using System.Threading;
using BenchmarkDotNet.Attributes;
namespace BenchmarkDotNet.Samples.Intro
{
public class IntroParamsSource
{
[ParamsSource(nameof(ValuesForA))]
public int A { get; set; } // property with public setter
[ParamsSource(nameof(Valu... | 3.024987 | 8d2b144ad5f4579bfc5c59845d6c07d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5442 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "total-world-domination/Retia",
"max_stars_repo_path": "Retia/Training/Trainers/TrainerOptionsBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5443"
} | starcoder | using Retia.Integration;
using Retia.Training.Trainers.Actions;
namespace Retia.Training.Trainers
{
public abstract class TrainerOptionsBase
{
public int MaxEpoch { get; set; } = 80;
public bool ReportMesages { get; set; } = false;
public IProgressWriter ProgressWriter { get; set; }
... | 1.801175 | 1778268046f55ebb5014c58829c924a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5443 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mtgibbs/nHydrate",
"max_stars_repo_path": "Source/nHydrate.Generator/Models/Function.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5444"
} | starcoder | #region Copyright (c) 2006-2019 nHydrate.org, All Rights Reserved
// -------------------------------------------------------------------------- *
// NHYDRATE.ORG *
// Copyright (c) 2006-2019 All Rights reserved *
// ... | 1.937819 | 77e6e653b800ef3fa90db219ecc5b30c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WeekendGamer8900/VisualChem",
"max_stars_repo_path": "VisualChem/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5445"
} | starcoder | namespace VisualChem
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param n... | 1.982362 | d6d063e2ead7eb651fe07dbe484a1aad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5445 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DEFRA/gwa-etl-dotnet",
"max_stars_repo_path": "ExtractAWData/Models/User.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5446"
} | starcoder | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Gwa.Etl.Models
{
public class User
{
[JsonProperty("emailAddress")]
public string EmailAddress { get; set; }
[JsonProperty("phoneNumbers")]
public IList<string> PhoneNumbers { get; set; }
}
}
| 1.842962 | 06c28009e6d99959d32e08c4f67e72a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5446 | {
"extension": "c-sharp",
"max_stars_count": "13846.0",
"max_stars_repo_name": "tomaswesterlund/aspnetcore",
"max_stars_repo_path": "src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/ActionDescriptionAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5447"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Microsoft.AspNetCore.Mvc.ApplicationModels;
namespace ApplicationModelWebSite
{
public class ActionDescriptionAttribute : Attribute, IActionModelConvention
... | 2.101129 | 6e24de32fb58a990c6e1d622c31550bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5447 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "random-agile/slowmo_mobile",
"max_stars_repo_path": "Assets/Amazing Assets/Feel/MMFeedbacks/MMFeedbacksForThirdParty/PostProcessing/Shakers/MMBloomShaker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5448"
} | starcoder | <reponame>random-agile/slowmo_mobile<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering.PostProcessing;
using MoreMountains.Feedbacks;
namespace MoreMountains.FeedbacksForThirdParty
{
/// <summary>
/// Add this class to a Camera with a bloom po... | 2.003407 | f95748fda83a6ae940268481f4d0e1eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5448 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stoyanovmiroslav/CSharp-Fundamentals",
"max_stars_repo_path": "CSharp OOP Advanced/CSharp Advanced Exams/CSharp OOP Advanced Exam - 22 April 2018/FestivalManager/Entities/Factories/SetFactory.cs",
"provenance": "train-00000-of-00045.j... | starcoder | <reponame>stoyanovmiroslav/CSharp-Fundamentals<filename>CSharp OOP Advanced/CSharp Advanced Exams/CSharp OOP Advanced Exam - 22 April 2018/FestivalManager/Entities/Factories/SetFactory.cs<gh_stars>0
using System;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
namespace FestivalMan... | 2.86547 | a15e06080c8c03f1bf17a0a496a49d6c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5449 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "milanholemans/powershell",
"max_stars_repo_path": "src/Commands/WebParts/AddWebPartToWebPartPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5450"
} | starcoder | using System.IO;
using System.Management.Automation;
using Microsoft.SharePoint.Client;
using Microsoft.SharePoint.Client.WebParts;
using PnP.Framework.Entities;
using PnP.Framework.Utilities;
using File = System.IO.File;
namespace PnP.PowerShell.Commands.WebParts
{
[Cmdlet(VerbsCommon.Add, "PnPWebPartToWebPar... | 2.074709 | 7bd35edebc327f2f774bdb8dc798b669 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5450 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wdxgy136/xenadmin-yeesan",
"max_stars_repo_path": "XenAdmin/Wizards/ExportWizard/ApplianceChecks/ApplianceExistsCheck.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5451"
} | starcoder | /* Copyright (c) Citrix Systems Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice, this li... | 2.311924 | 7c868869fb00f476dfd02fe07d036083 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5451 | {
"extension": "c-sharp",
"max_stars_count": "117.0",
"max_stars_repo_name": "alipay/alipay-sdk-net",
"max_stars_repo_path": "AlipaySDKNet/Domain/MerchantBaseEnterOpenModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5452"
} | starcoder | <reponame>alipay/alipay-sdk-net
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// MerchantBaseEnterOpenModel Data Structure.
/// </summary>
[Serializable]
public class MerchantBaseEnterOpenModel : AopObject
{
/// <summary>
///... | 1.661663 | ea651decaabdad709f16afb2a7481b31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5452 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "noordwind/Coolector.Services.Supervisor",
"max_stars_repo_path": "src/Collectively.Services.Supervisor/Queries/GetSupervisorResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5453"
} | starcoder | using Collectively.Common.Queries;
namespace Collectively.Services.Supervisor.Queries
{
public class GetSupervisorResult : IQuery
{
}
} | 0.897656 | 1592f35e97ac5275e7427216719a830f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5453 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nortal/MessenteSms",
"max_stars_repo_path": "MessenteSms/DeliveryReportError.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5454"
} | starcoder | <gh_stars>1-10
/*
Copyright 2013 <NAME>, AS Nortal
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | 1.880303 | 3c843649fbe56690629be27870932f23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5454 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chatea/Colosseum",
"max_stars_repo_path": "Assets/Script/DragonSoundScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5455"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
public class DragonSoundScript : MonoBehaviour
{
public Animator dragonAnimator;
public AudioSource fireVoice;
public AudioSource dieVoice;
public AudioSource sleepVoice;
public AudioSource tauntVoice;
public AudioSource flyVoice;
p... | 2.010838 | 9db05abb28efff2a993acb663a4c694a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5455 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jroessel/BenchmarkDotNet",
"max_stars_repo_path": "src/BenchmarkDotNet/Helpers/AsciiHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5456"
} | starcoder | using JetBrains.Annotations;
namespace BenchmarkDotNet.Helpers
{
internal static class AsciiHelper
{
/// <summary>
/// The 'μ' symbol
/// </summary>
private const string Mu = "\u03BC";
public static string ToAscii([CanBeNull] this string s)
{
... | 2.944567 | aed2ecbc60b8998596c6ff057fac8d18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5456 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "StefanOssendorf/SecurityHeadersMiddleware",
"max_stars_repo_path": "src/OwinContrib.SecurityHeaders.Tests/CspConfigurationTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5457"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Xunit;
namespace SecurityHeadersMiddleware.Tests {
public class CspConfigurationTests {
[Fact]
public void When_generating_header_value_and_no_configurations_are_set_return_empty_string() {
... | 2.42023 | 22952b049be3ae468e9921851a4fc818 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5457 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fanda-org/fanda-apps2",
"max_stars_repo_path": "Microservices/AuthenticationService/Fanda.Authentication.Repository/ApplicationRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5458"
} | starcoder | using AutoMapper;
using Fanda.Authentication.Domain;
using Fanda.Authentication.Repository.Dto;
using Fanda.Core;
using Fanda.Core.Base;
using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Fanda.Authentication.Repository
{
public interface IApplicationRepos... | 2.080871 | 56087a4ff04c532e62787256eaa24995 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5458 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "draekien/Draekien.CleanVerticalSlice.Common",
"max_stars_repo_path": "Src/Draekien.CleanVerticalSlice.Common.Api/Configuration/DependencyInjection/CleanVerticalSliceApplicationBuilderExtensions.cs",
"provenance": "train-00000-of-00045... | starcoder | <gh_stars>0
using Hellang.Middleware.ProblemDetails;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Serilog;
namespace Draekien.CleanVerticalSlice.Common.Api.Configuration.DependencyInjection
{
/// <summary>
/// Extension methods for ... | 1.807668 | 39acbf9d913a0ce19d4bf5d167535d48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5459 | {
"extension": "c-sharp",
"max_stars_count": "249.0",
"max_stars_repo_name": "rgwood/go2cs",
"max_stars_repo_path": "src/go-src-converted/go/types/object_PkgNameStruct.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5460"
} | starcoder | <filename>src/go-src-converted/go/types/object_PkgNameStruct.cs
//---------------------------------------------------------
// <auto-generated>
// This code was generated by a tool. Changes to this
// file may cause incorrect behavior and will be lost
// if the code is regenerated.
//
// Generated on 20... | 1.365242 | 76fcd992c9d21a9f817ca1d3448183ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5460 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Aschent89/Anvil",
"max_stars_repo_path": "NWN.Anvil/src/main/Services/API/Creature/CreatureWalkRateCapService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5461"
} | starcoder | using Anvil.API;
using NWN.Native.API;
namespace Anvil.Services
{
[ServiceBinding(typeof(CreatureWalkRateCapService))]
[ServiceBindingOptions(InternalBindingPriority.API)]
internal sealed unsafe class CreatureWalkRateCapService
{
private readonly FunctionHook<GetWalkRateHook> walkRateHook;
public Crea... | 2.08881 | eadba3e8473455f3d908b920c34aade3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5461 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "travisclagrone/PSScriptAnalyzer",
"max_stars_repo_path": "Rules/Strings.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5462"
} | 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-generate... | 2.137168 | cfb67509f26c99c71ee681400e8c4009 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5462 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CanerOren/Kodluyoruz-C-101",
"max_stars_repo_path": "arayuz-ornek/Otomobil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5463"
} | starcoder | namespace arayuz_ornek
{
public abstract class Otomobil
{
public int KacTekerlektenOlusur()
{
return 4;
}
public virtual Renk StandartRengiNe()
{
return Renk.Beyaz;
}
public abstract Marka HangiMarkaninAraci();
... | 1.950708 | ed5a901ca0595eb40716572b243f0194 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5463 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LoveHikari/DbTool",
"max_stars_repo_path": "src/Win.Common/FileHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5464"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
/******************************************************************************************************************
*
*
* 标 题:文件帮助类(版本:Version1.0.0)
* 作 者:YuXiaoWei
* 日 期:2016/10/20
* 修 改:2016/10/31
*... | 2.887697 | b540a32a056f1663e1135edd84db9c21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5464 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NayaIT/CSharp-part-2",
"max_stars_repo_path": "Arrays/RemoveElementsFromArray/RemoveElementsFromArr.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5465"
} | starcoder | <reponame>NayaIT/CSharp-part-2
/*18. Remove elements from array
Description
Write a program that reads an array of integers and removes from it a minimal number of elements in such a way that the
remaining array is sorted in increasing order. Print the minimal number of elements that need to be removed in order for t... | 3.859351 | 646bb40bd86c74cf3c2a1145ae0376e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5465 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "zkweb-framework/ZKWeb.Plugins",
"max_stars_repo_path": "src/ZKWeb.Plugins/Common.AdminSettings/src/Controllers/Bases/FormAdminSettingsControllerBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5466"
} | starcoder | <reponame>zkweb-framework/ZKWeb.Plugins<gh_stars>10-100
using System;
using ZKWeb.Plugins.Common.Admin.src.Domain.Entities.Interfaces;
using ZKWeb.Plugins.Common.AdminSettings.src.UIComponents.MenuPages.Interfaces;
using ZKWeb.Plugins.Common.MenuPage.src.Controllers.Bases;
namespace ZKWeb.Plugins.Common.AdminSet... | 1.813879 | 5d8eea91631465ba75ba4feb14868e6f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5466 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pdxparrot/ggj2019",
"max_stars_repo_path": "Assets/Scripts/Game/Data/BehaviorComponents/CharacterBehaviorComponentData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5467"
} | starcoder | using System;
using UnityEngine;
namespace pdxpartyparrot.Game.Data
{
[Serializable]
public abstract class CharacterBehaviorComponentData : ScriptableObject
{
}
} | 1.002117 | 9fbc86ed06664994b1cacfdc21ce6288 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5467 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MiroslavaPetrova/SoftUni-Solutions",
"max_stars_repo_path": "CSharp OOP Basics/05.Interfaces And Abstraction/Telephony/StartUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5468"
} | starcoder | <filename>CSharp OOP Basics/05.Interfaces And Abstraction/Telephony/StartUp.cs
using System;
using System.Collections.Generic;
namespace Telephony
{
public class StartUp
{
public static void Main(string[] args)
{
string[] phoneNumbers = Console.ReadLine().Split();
strin... | 3.596385 | 0aac5871feafb8f438537615c688d7c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5468 | {
"extension": "c-sharp",
"max_stars_count": "79.0",
"max_stars_repo_name": "exodrifter/unity-rumor",
"max_stars_repo_path": "Engine/Expression/StringLiteral.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5469"
} | starcoder | using System;
using System.Runtime.Serialization;
namespace Exodrifter.Rumor.Engine
{
[Serializable]
public class StringLiteral : LiteralExpression, ISerializable
{
public StringLiteral(StringValue value) : base(value) { }
public StringLiteral(string value) : base(new StringValue(value)) { }
#region Equalit... | 2.891943 | fa5d4d2a93d8cfa1b5d15b8990865dd7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5469 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "aliostad/deep-learning-lang-detection",
"max_stars_repo_path": "data/train/csharp/8c588461653e756eefb0f137ebd8eab615d252c5BindingCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5470"
} | starcoder | using System;
using GameCore.Core.Extentions;
using UnityEngine.Events;
namespace GameCore.Core.Services.UI.ViewModel
{
public class BindingCommand
{
private Action _command;
public BindingCommand(Action command)
{
_command = command;
}
public void Bind(Act... | 2.381043 | b6786be0ee4a58089a9813fc3d6149d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5470 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "icnocop/crhtmltopdf",
"max_stars_repo_path": "src/HtmlToPdf/BrowserDownloader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5471"
} | starcoder | <filename>src/HtmlToPdf/BrowserDownloader.cs
// <copyright file="BrowserDownloader.cs" company="HtmlToPdf">
// Copyright (c) HtmlToPdf. All rights reserved.
// </copyright>
namespace HtmlToPdf
{
using System;
using System.IO;
using System.Linq;
using System.Security.AccessControl;
using System.Sec... | 2.761046 | 44a0aaf2324cae411cb4c5845821f207 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5471 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wsky/websocket-sharp",
"max_stars_repo_path": "websocket-sharp/Server/SessionManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5472"
} | starcoder | <filename>websocket-sharp/Server/SessionManager.cs
#region MIT License
/**
* SessionManager.cs
*
* The MIT License
*
* Copyright (c) 2012 sta.blockhead
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to dea... | 2.217421 | ed247acf8ea27b442f6948979063dd6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5472 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bluexray/Horizon.Sample",
"max_stars_repo_path": "Horizon.Payment.Alipay/Response/AlipayCommerceIotDeviceGeofenceSetResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5473"
} | starcoder | namespace Horizon.Payment.Alipay.Response
{
/// <summary>
/// AlipayCommerceIotDeviceGeofenceSetResponse.
/// </summary>
public class AlipayCommerceIotDeviceGeofenceSetResponse : AlipayResponse
{
}
}
| 0.875108 | 16fd8295aa6033bd6d5c1de908ed7d13 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5473 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "tnunnink/L5XParser",
"max_stars_repo_path": "tests/L5Sharp.Context.Tests/SearchTesting.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5474"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using FluentAssertions;
using L5Sharp.L5X;
using NUnit.Framework;
namespace L5Sharp.Context.Tests
{
[TestFixture]
public class SearchTesting
{
[Test]
public void GetUniqueTagDescriptionWordsAndCounts... | 2.753357 | e7d59157ba6a82c019e6420cb916f2cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5474 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Ibrahimmushtaq98/Inventory_Kamera",
"max_stars_repo_path": "InventoryKamera/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5475"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using Microsoft.WindowsAPICodePack.Dialogs;
using NHotkey;
using NHotkey.WindowsForms;
using Wind... | 1.906843 | 93b9b6538d439017ca03daa788aeb07b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5475 | {
"extension": "c-sharp",
"max_stars_count": "219.0",
"max_stars_repo_name": "ozturkfatih/AuthPermissions.AspNetCore",
"max_stars_repo_path": "Example4.MvcWebApp.IndividualAccounts/Models/HierarchicalTenantDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5476"
} | starcoder | <reponame>ozturkfatih/AuthPermissions.AspNetCore<filename>Example4.MvcWebApp.IndividualAccounts/Models/HierarchicalTenantDto.cs
// Copyright (c) 2021 <NAME>, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/
// Licensed under MIT license. See License.txt in the project root for license information.
using ... | 2.267011 | a87143b2015592142477c1e674a1881d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5476 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BielMain/HotelUGB",
"max_stars_repo_path": "Hotel_Reservas2/Views/Cliente.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5477"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Hotel_Reservation_System.Controllers
public class ClienteController : Controller
{
// GET: /Cliente/
public ActionResult Index()
{
ViewBag.Controller = "Customer";
ViewBag.... | 1.639349 | d56a30552de45f4b54a5ab55e7d80924 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5477 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "srmrco/SqlRunnerNet",
"max_stars_repo_path": "SqlServerRunnerNet/Infrastructure/Behaviors/PasswordBehavior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5478"
} | starcoder | <filename>SqlServerRunnerNet/Infrastructure/Behaviors/PasswordBehavior.cs
using System.Windows;
using System.Windows.Controls;
using System.Windows.Interactivity;
namespace SqlServerRunnerNet.Infrastructure.Behaviors
{
public class PasswordBehavior : Behavior<PasswordBox>
{
public static readonly DependencyProper... | 2.815959 | c71f92f9476e6919aaa7b135ef5f9970 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5478 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Erencorn/Kotocorn",
"max_stars_repo_path": "NadekoBot.Core/Modules/Utility/Services/ConverterService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5479"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Discord.WebSocket;
using Kotocorn.Core.Services;
using Newtonsoft.Json;
using NLog;
using Kotocorn.Modules.Utility.Common;
using Kotocorn.Extensions;
n... | 2.211339 | 49d4c93998b7a98e84ef224d2d6e9454 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5479 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "TanukiSharp/SignalVisualizer",
"max_stars_repo_path": "SignalVisualizer/CurveRenderer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5480"
} | starcoder | <gh_stars>1-10
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace SignalVisualizer
{
public struct TimedData
{
public double ElapsedTime;
public double Value;
}
public class CurveRenderer : Control
{
public CurveRendere... | 2.484571 | d90e805e9ffbbc536af001ffa30c1e97 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5480 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StollD/QIRC",
"max_stars_repo_path": "Source/QIRC/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5481"
} | starcoder | using System.Reflection;
using System.Runtime.InteropServices;
using log4net.Config;
[assembly: AssemblyTitle("QIRC")]
[assembly: AssemblyDescription(".NET Bot for Internet Relay Chat (IRC)")]
[assembly: AssemblyProduct("QIRC")]
[assembly: AssemblyCopyright("Copyright © <NAME> 2017")]
[assembly: ComVisible(false)]
[a... | 1.563486 | a774f55786ccf513ec654d773dfbaeb3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5481 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NFluent/NFluent.ly",
"max_stars_repo_path": "NFluent.ly.Should/SupportFullExtensionSyntax.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5482"
} | starcoder | <gh_stars>0
using NUnit.Framework;
namespace NFluent.ly.Should
{
[TestFixture]
public class SupportFullExtensionSyntax
{
[Test]
public void WhenUsedWithInts()
{
var sut = 2;
sut.Verifies().IsEqualTo(2);
"Nfluent".Verifies().IsEqualIgnoringCase("NF... | 2.013264 | fafda305543000c57f826b3fbd0489e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5482 | {
"extension": "c-sharp",
"max_stars_count": "89.0",
"max_stars_repo_name": "safescan/CSharpGuidelinesAnalyzer",
"max_stars_repo_path": "src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer/Rules/Naming/DoNotIncludeContainingTypeNameInMemberNameAnalyzer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5483"... | starcoder | <gh_stars>10-100
using System;
using System.Collections.Immutable;
using CSharpGuidelinesAnalyzer.Extensions;
using JetBrains.Annotations;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
namespace CSharpGuidelinesAnalyzer.Rules.Naming
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public ... | 2.598218 | 016991e04b0592fd793f0c031e7d93df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5483 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mwadams/dotliquid",
"max_stars_repo_path": "src/DotLiquid.Tests/Tags/IncludeTagTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5484"
} | starcoder | using System;
using DotLiquid.Exceptions;
using DotLiquid.FileSystems;
using NUnit.Framework;
using System.Collections.Generic;
using System.Globalization;
using System.Threading.Tasks;
namespace DotLiquid.Tests.Tags
{
[TestFixture]
public class IncludeTagTests
{
private class TestFile... | 2.405975 | 7738aca00bf09aea1cc94d50e3de9c55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5484 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Mashtraum/ALSO-1",
"max_stars_repo_path": "Assets/Scripts/PlayerScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5485"
} | starcoder | <reponame>Mashtraum/ALSO-1
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerScript : CharacterScript
{
// Start is called before the first frame update
protected override void Start()
{
base.Start();
}
// Update is called once p... | 2.273048 | 8a68184eabbe949f28226e4d5026ac66 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5485 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "sjefvanleeuwen/morstead",
"max_stars_repo_path": "src/rules/Vs.Rules.Core/Model/IBreak.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5486"
} | starcoder | <gh_stars>1-10
using Vs.Core.Semantic;
namespace Vs.Rules.Core.Model
{
public interface IBreak : ISemanticKey
{
public string Expression { get; set; }
}
} | 1.328088 | 34cd5d20868767bb379420a05d4e917a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5486 | {
"extension": "c-sharp",
"max_stars_count": "516.0",
"max_stars_repo_name": "JeremyWu917/IoTClient",
"max_stars_repo_path": "IoTServer/Servers/ServerSocketBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5487"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Net.Sockets;
using System.Text;
namespace IoTServer.Servers
{
/// <summary>
/// ServerSocket基类
/// </summary>
public class ServerSocketBase
{
/// <summary>
/// 分批缓冲区大小
/// </summary>
pro... | 2.830822 | afddae8ca88a2c875b57026bf5310736 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5487 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "netsec/DevSkim",
"max_stars_repo_path": "src/Microsoft.DevSkim/Microsoft.DevSkim.Tests/UseCaseTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5488"
} | starcoder | <reponame>netsec/DevSkim
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.IO;
namesp... | 2.414938 | dbd1e8e83f17e56a5af94f58ebcbe42e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5488 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "kalintsenkov/SoftUni-Software-Engineering",
"max_stars_repo_path": "CSharp-Advanced/Homeworks-And-Labs/02MultidimensionalArraysLab/05SquareWithMaximumSum/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5489"
} | starcoder | <reponame>kalintsenkov/SoftUni-Software-Engineering
using System;
using System.Linq;
namespace _05SquareWithMaximumSum
{
class Program
{
static void Main(string[] args)
{
var dimensions = Console.ReadLine()
.Split(new[] { ' ', ',' }, StringSplitOptions.RemoveEmptyEn... | 3.340029 | a4be0c718e8befafcaee3040cf958acb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5489 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "DunbrackLab/ProtCID",
"max_stars_repo_path": "InterfaceClusterLib/DomainInterfaces/PfamLigand/LigandComPfamHmm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5490"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.IO;
using DbLib;
using ProtCidSettingsLib;
using AuxFuncLib;
namespace InterfaceClusterLib.DomainInterfaces.PfamLigand
{
/// <summary>
/// this class is used to c... | 2.320459 | 8d53f3a91a3968ff88cc5cf4c9695b90 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5490 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "hussein-aitlahcen/cycle.net",
"max_stars_repo_path": "Cycle.Net.Tcp/ClientConnected.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5491"
} | starcoder | <filename>Cycle.Net.Tcp/ClientConnected.cs<gh_stars>1-10
using Cycle.Net.Core.Abstract;
using DotNetty.Transport.Channels;
namespace Cycle.Net.Tcp
{
public sealed class ClientConnected : ITcpResponse
{
public string ClientId { get; }
public ClientConnected(string clientId) => ClientId = clientI... | 1.995861 | f8ff97680179fb6f695eb85405450317 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5491 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "sillsdev/phonology-assistant",
"max_stars_repo_path": "src/Pa/UI/Controls/FontPicker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5492"
} | starcoder | // ---------------------------------------------------------------------------------------------
#region // Copyright (c) 2005-2015, SIL International.
// <copyright from='2005' to='2015' company='SIL International'>
// Copyright (c) 2005-2015, SIL International.
//
// This software is distributed under the... | 2.26461 | 4527668abf73443d0dbdfa0102ec746d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5492 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JuanObiJuan/TimelineDatabase",
"max_stars_repo_path": "TimelineDatabase/Assets/Scripts/Managers/EventManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5493"
} | starcoder | <reponame>JuanObiJuan/TimelineDatabase
/**MIT License
Copyright (c) 2020 JuanObiJuan
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 limitation the rights
... | 1.633282 | 8d226bfcf60cd3bbf17d08dc6fb65fe1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5493 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "devizer/KernelManagementLab",
"max_stars_repo_path": "KernelManagementJam/Benchmarks/LinuxDirectReadonlyFileStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5494"
} | starcoder | using System;
using System.IO;
using Mono.Unix;
using Mono.Unix.Native;
namespace KernelManagementJam.Benchmarks
{
public class LinuxDirectReadonlyFileStream : Stream
{
// private long _Position = 0;
public readonly string FileName;
public readonly int BlockSize;
private UnixStr... | 2.657018 | 09b896c203122e0545b55a0e53c4c081 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5494 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trevonmckay/iata",
"max_stars_repo_path": "tests/Iata.Aidx.UnitTests/MultiLegFlightSequenceUnitTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5495"
} | starcoder | <gh_stars>0
using IATA.AIDX;
using IATA.AIDX.CustomXmlReader;
using System;
using System.IO;
using System.Xml.Serialization;
using Xunit;
namespace Iata.Aidx.UnitTests
{
public class MultiLegFlightSequenceUnitTests
{
[Fact]
public void Multi_Flight_Leg_Sequence_Test()
{
// ... | 1.925718 | 17701006a260523e45f59466979e7aba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5495 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leafvmaple/FlowerKnightViewer",
"max_stars_repo_path": "FlowerWrapper/FlowerProxy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5496"
} | starcoder | <filename>FlowerWrapper/FlowerProxy.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using Livet;
using FlowerWrapper.Interface;
using System.Diagnosti... | 2.052601 | c049e72cd9f21e9928466c24ea08a1e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5496 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ecthros/TypeEdge.AnomalyDetection",
"max_stars_repo_path": "Modules/TemperatureSensor/TemperatureSensor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5497"
} | starcoder | using System;
using System.Threading.Tasks;
using TypeEdge.Enums;
using TypeEdge.Modules;
using TypeEdge.Modules.Endpoints;
using TypeEdge.Modules.Enums;
using TypeEdge.Twins;
using ThermostatApplication.Messages;
using ThermostatApplication.Modules;
using ThermostatApplication.Twins;
using Microsoft.AspNetCore.Signa... | 2.329844 | 76758867f0f9eb3c96d0255e8aa10680 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5497 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wMattDodd/StardewValleyMods",
"max_stars_repo_path": "JsonAssets/Data/ForgeRecipeData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5498"
} | starcoder | <reponame>wMattDodd/StardewValleyMods
using System.Runtime.Serialization;
namespace JsonAssets.Data
{
public class ForgeRecipeData
{
/*********
** Accessors
*********/
public string EnableWithMod { get; set; }
public string DisableWithMod { get; set; }
public st... | 1.909669 | 629f18393320c28f7ae19203a3db94a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5498 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mobychien/TDNite",
"max_stars_repo_path": "Rubeus/lib/Interop/NtException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5499"
} | starcoder | <reponame>mobychien/TDNite<filename>Rubeus/lib/Interop/NtException.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace TDNite.lib.Interop
{
public class NtException : Exception
{
[DllImpor... | 2.333798 | 1f5123194f6777c82ed1c3819d7a5e1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5499 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "BrianHumlicek/J2534-Sharp",
"max_stars_repo_path": "Src/Definitions/ResultCode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5500"
} | starcoder | <reponame>BrianHumlicek/J2534-Sharp
#region License
/*Copyright(c) 2018, <NAME>
* https://github.com/BrianHumlicek
*
*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, includ... | 1.928154 | 18a936dea16e6fc47e0a7a83fea34bcc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5500 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "forki/OwinFramework.Pages",
"max_stars_repo_path": "OwinFramework.Pages.Core/Interfaces/Builder/IFluentBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5501"
} | starcoder | <gh_stars>0
using System;
using System.Reflection;
namespace OwinFramework.Pages.Core.Interfaces.Builder
{
/// <summary>
/// This can be used to build elements using a fluent syntax
/// </summary>
public interface IFluentBuilder:
IComponentBuilder,
IRegionBuilder,
ILayoutBuild... | 2.420213 | 77990eebe4fde87cdd85ec33190b5589 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5501 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jo3l17/CodiGo3",
"max_stars_repo_path": "Backend/Semana14/BikeStore/BikeStore/BikeStore/Models/Stores.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5502"
} | starcoder | using System;
using System.Collections.Generic;
namespace BikeStore.Models
{
public partial class Stores
{
public Stores()
{
Orders = new HashSet<Orders>();
Staffs = new HashSet<Staffs>();
Stocks = new HashSet<Stocks>();
}
public int StoreId... | 2.280461 | 0277ef6f056e8c42005a986c52ed8d5f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5502 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EduCR03/InfinityRunner-PrimeiroJogo",
"max_stars_repo_path": "Assets/Scripts/Enemy/BombEnemy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5503"
} | starcoder | <reponame>EduCR03/InfinityRunner-PrimeiroJogo<filename>Assets/Scripts/Enemy/BombEnemy.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BombEnemy : Enemy
{
//referenciando a bomba
public GameObject bombPrefab;
//referenciando o spawn da bomba
public Transfor... | 2.738695 | 985e97c597e96d96411cca1caca3809b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5503 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "SubportBE/JackSharp",
"max_stars_repo_path": "JackSharp/Ports/PortReference.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5504"
} | starcoder | <gh_stars>10-100
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2016 <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 limitation the ... | 2.247415 | 53054d43356afc6e1e49a5324fa2dd05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5504 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "grrrrinaldi/SystemWrapper",
"max_stars_repo_path": "Build/AssemblySharedInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5505"
} | starcoder | <gh_stars>1-10
using System.Reflection;
using System.Runtime.InteropServices;
// Shared information about assemblies in the SystemWrapper solution.
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SystemWrapper")]
[assembly: AssemblyCopyright("Copyright (c) 2008 <NAME>, Portions Copyright (c) 2014-2018 <NAM... | 1.580201 | 72fc65da7e2adf1cd34dc0d8f29c880b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5505 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stepanovalexei/centipede",
"max_stars_repo_path": "Assets/Scripts/CentipedeImpl/ICentipedePart.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5506"
} | starcoder | <reponame>stepanovalexei/centipede
using System;
namespace CentipedeImpl
{
public interface ICentipedePart
{
// Representation of each centipede part
Point Point { get; }
Point PreviousPoint { get; }
event Action<ShotResult, Point> Shot;
}
} | 1.671058 | 79f59e6378ba52c4a5364c867c41b850 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5506 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "williamlee1982/linq2db",
"max_stars_repo_path": "Tests/Linq/Data/DataConnectionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5507"
} | starcoder | <reponame>williamlee1982/linq2db
using System;
using System.Collections.Concurrent;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using LinqToDB;
using LinqToDB.Configuration;
using LinqToDB.Data;
using Linq... | 1.960971 | 0bbae7cf0ca9b72c9d3038a0be45fb88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5507 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zafford/EDDiscovery",
"max_stars_repo_path": "EDDiscovery/Actions/ActionsEDDCmds/ActionScanStar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5508"
} | starcoder | /*
* Copyright © 2017 EDDiscovery development team
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 2.050425 | 6036d6981abc99c5bc9a81047f69b3a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5508 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sebastianwolff/MathExpressions",
"max_stars_repo_path": "Expressions/CompareNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5509"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Expressionator.Expressions
{
public class CompareNode : Node
{
public enum CompareTypes
{
Less,
LessEqual,
Equal,
UnEqual,
GreaterEqual,
Greater,
And,
Or,
XOr
}
readonly Node _left;
readonl... | 2.883474 | 169eb693e4217445508d8d89bba3f35b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5509 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "caiovlima/Balta.io",
"max_stars_repo_path": "1974-NerCoreDapperAPI/src/Store.Domain/StoreContext/ValueObjects/Document.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5510"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace Store.Domain.StoreContext.ValueObjects
{
public class Document
{
public Document(string number)
{
Number = number;
}
public string Number { get; private set; }
pub... | 2.217021 | b3c3af5b2c9704c982830902c0f9ce96 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5510 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pottereric/roslyn",
"max_stars_repo_path": "src/Compilers/CSharp/Portable/Symbols/Source/SourceEnumConstantSymbol.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5511"
} | starcoder | <gh_stars>1-10
// Copyright (c) Microsoft. 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;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Threading;
using Microsoft.CodeAn... | 1.889841 | a0bae6a88a601939ca22bb9e99f677bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5511 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bcatcho/transition-unity-examples",
"max_stars_repo_path": "Assets/Example_1_SimpleMachine/Scripts/E1GameController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5512"
} | starcoder | using UnityEngine;
using Transition;
using Shared;
namespace Example_1
{
public class E1GameController : MonoBehaviour
{
public DefaultMachineController MachineController;
public string MachineName;
[Multiline(8)]
public string MachineDef;
private void Awake()
{
Ma... | 1.96862 | 1729109094ad87dac285eb2db2be9808 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5512 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "picrap/Blobber",
"max_stars_repo_path": "Test/EmbeddedLibrary/EmbeddedClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5513"
} | starcoder | #region Blobber!
// Blobber - Merges or embed referenced assemblies
// https://github.com/picrap/Blobber
// MIT License - http://opensource.org/licenses/MIT
#endregion
namespace EmbeddedLibrary
{
using System;
public class EmbeddedClass
{
public void F()
{
Console.WriteLine("H... | 2.041566 | e620fdb48e1ae9e4f95779263fd8027f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5513 | {
"extension": "c-sharp",
"max_stars_count": "87.0",
"max_stars_repo_name": "MiftahurRidho/tugas",
"max_stars_repo_path": "class/Microsoft.SilverlightControls/Controls/Src/RangeBase/RangeBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5514"
} | starcoder | // Copyright © Microsoft Corporation.
// This source is subject to the Microsoft Source License for Silverlight Controls (March 2008 Release).
// Please see http://go.microsoft.com/fwlink/?LinkID=111693 for details.
// All other rights reserved.
using System;
using System.Diagnostics;
using System.Globalization;
... | 2.801896 | eca18e6a0199b577c9fe2325df93b20e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5514 | {
"extension": "c-sharp",
"max_stars_count": "723.0",
"max_stars_repo_name": "aviland/luago-book",
"max_stars_repo_path": "code/csharp/ch10/luavm/state/ApiSet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5515"
} | starcoder | using System;
using luavm.api;
namespace luavm.state
{
partial struct LuaState
{
public void SetTable(int idx)
{
var v = stack.pop();
var k = stack.pop();
setTable(idx, k, v);
}
void setTable(int idx, object k, object v)
{
... | 2.208337 | 95c25cc81cba106ecc0ca17d75e377d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5515 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "knightpedro/scheduler",
"max_stars_repo_path": "Scheduler.Application/Trainings/Queries/GetTrainingDetail/GetTrainingDetailQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5516"
} | starcoder | <reponame>knightpedro/scheduler
using MediatR;
namespace Scheduler.Application.Trainings.Queries.GetTrainingDetail
{
public class GetTrainingDetailQuery : IRequest<TrainingDetailVm>
{
public int Id { get; set; }
}
}
| 1.051347 | 904760af23b9c827f8ad9a4f51a22f41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5516 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "jeganlingam/vsts-agent-v1",
"max_stars_repo_path": "src/Agent.Worker/TestResults/TestResultsServer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5517"
} | starcoder | using Microsoft.TeamFoundation.TestManagement.WebApi;
using Microsoft.VisualStudio.Services.Agent.Util;
using Microsoft.VisualStudio.Services.WebApi;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.VisualStudio.Services.Agent.Worker.TestResults
{
[Servic... | 1.96653 | dea56f5d0154b6d8e47fd39e74813067 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5517 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "rasoulian/bit-framework",
"max_stars_repo_path": "src/CSharpClient/Bit.CSharpClient.Prism/ViewModel/Extensions/IContainerRegistryExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5518"
} | starcoder | <gh_stars>1-10
using Autofac;
using Bit.ViewModel;
using Prism.Autofac;
using Prism.Mvvm;
using System;
using Xamarin.Forms;
namespace Prism.Ioc
{
public static class IContainerRegistryExtensions
{
public static IContainerRegistry RegisterPartialView<TPartialView, TPartialViewModel>(this IContainerReg... | 1.856487 | 165c4b0df7c9231258340a59dbe66c12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5518 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jordihereu/ephemeral",
"max_stars_repo_path": "Exception/OverlapException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5519"
} | starcoder | using System;
namespace Marsop.Ephemeral
{
public class OverlapException : ArgumentException
{
public OverlapException() { }
public OverlapException(string message) : base(message) { }
public OverlapException(string message, string paramName) : base(message, paramName) { }
pu... | 2.225418 | 5f1ea783f7d6d16ce5f26aff75809ca1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5519 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "karno/StarryEyes",
"max_stars_repo_path": "StarryEyes/Views/Messaging/Behaviors/TextBoxSetCaretInteractionMessageAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5520"
} | starcoder | <filename>StarryEyes/Views/Messaging/Behaviors/TextBoxSetCaretInteractionMessageAction.cs
using System.Windows.Controls;
using Livet.Behaviors.Messaging;
namespace StarryEyes.Views.Messaging.Behaviors
{
public class TextBoxSetCaretInteractionMessageAction : InteractionMessageAction<TextBox>
{
protecte... | 2.236758 | b150eb8dc189002c4a85395e65d48e52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5520 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gene9831/Rocket.Unturned",
"max_stars_repo_path": "Rocket.Unturned/Commands/CommandExit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5521"
} | starcoder | <filename>Rocket.Unturned/Commands/CommandExit.cs
using System;
using Rocket.API.Commands;
using Rocket.API.Player;
using Rocket.API.User;
namespace Rocket.Unturned.Commands
{
public class CommandExit : ICommand
{
public bool SupportsUser(Type userType)
{
return typeof(IPlayerUser)... | 2.743259 | 982c0b59468154dfac167686a917c9b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5521 | {
"extension": "c-sharp",
"max_stars_count": "108.0",
"max_stars_repo_name": "polymorp/MLNetExamples",
"max_stars_repo_path": "MLNetExamples/SeedClustering/SeedData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5522"
} | starcoder | namespace SeedClustering
{
public class SeedData
{
public float A;
public float P;
public float C;
public float LK;
public float WK;
public float A_Coef;
public float LKG;
public float Label;
}
}
| 1.207176 | 133c361486f8df08e24890e65dde5b46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5522 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "novelhawk/AoTTG-Mod",
"max_stars_repo_path": "ByteReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5523"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
public class ByteReader
{
private byte[] mBuffer;
private int mOffset;
public ByteReader(byte[] bytes)
{
this.mBuffer = bytes;
}
public ByteReader(TextAsset asset)
{
this.mBuf... | 2.831813 | ee196f6605be09c6bf834acf12da9cbb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5523 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "kobi2294/MvvmKit",
"max_stars_repo_path": "Source/MvvmKit/Ui/Helpers/Grid/GridHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5524"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
namespace MvvmKit
{
public static class GridHelper
{
#region UniformColumns Property
public static int GetUni... | 2.716527 | 3fbfed60de642c8584b589186cfac232 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5524 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "indrivo/GEAR",
"max_stars_repo_path": "src/GR.Extensions/GR.Ecommerce.Extension/GR.ECommerce.Payments/GR.Providers/GR.ECommerce.MobilPay/GR.MobilPay.Abstractions/IMobilPayPaymentMethod.cs",
"provenance": "train-00000-of-00045.jsonl.gz... | starcoder | <reponame>indrivo/GEAR
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using GR.Core.Helpers;
using GR.ECommerce.Payments.Abstractions;
using GR.MobilPay.Abstractions.Models;
using MobilpayEncryptDecrypt;
namespace GR.MobilPay.Abstractions
{
public interface IMobilPayPaymentMethod : ... | 1.445854 | 64a793642de04da85fad8599ca70e415 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5525 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MelGrubb/SequentialGuidGenerator",
"max_stars_repo_path": "Source/SequentialGuidGenerator/Main.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5526"
} | starcoder | <reponame>MelGrubb/SequentialGuidGenerator
using System;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace SequentialGuidGenerator
{
public partial class Main : Form
{
public Main()
{
InitializeComponent();
}
private void Generate()
... | 2.867482 | ada97d9f971f03749afc9a43b3415b46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5526 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "artem-bayandin/code-samples",
"max_stars_repo_path": "2020-03-clean-architecture-dotnetcore-api/src/Application/Queries/ProductCategories/ProductCategoriesQueryHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5527"
} | starcoder | <gh_stars>1-10
using Application.Common.Models;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using Domain.Interfaces;
using MediatR;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Application.Queries.... | 2.361781 | fdce122a6815352f70dde1409b149763 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5527 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "batu/NavAssist",
"max_stars_repo_path": "PythonLibraries/ml-agents/com.unity.ml-agents/Runtime/Policies/RemotePolicy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5528"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Diagnostics;
using Unity.MLAgents.Actuators;
using Unity.MLAgents.Sensors;
using Unity.MLAgents.Analytics;
namespace Unity.MLAgents.Policies
{
/// <summary>
/// The Remote Policy only works when training.
/// When training your Agents, the RemoteP... | 1.763385 | db12bbf431779a3c9e206c180c1a4488 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5528 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Huseyinarkin/MvcCorePersonel",
"max_stars_repo_path": "MvcSite/Views/Login/GirisYap.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:5529"
} | starcoder |
@{
Layout = null;
}
<!--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<!DOCTYPE html>
<html>
<head>
<title>Blend Login Form Flat Responsive Widget Template :: w3layouts</title>
<meta nam... | 1.93354 | dd8d752d8108be6987ec02789cf372e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5529 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BorislavEnchev/WebshopApp",
"max_stars_repo_path": "src/WebshopApp.Services/DataServices/Contracts/ICartsService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5530"
} | starcoder | using Microsoft.AspNetCore.Http;
using WebshopApp.Services.Models.ViewModels;
namespace WebshopApp.Services.DataServices.Contracts
{
public interface ICartsService
{
ShoppingCartViewModel GetShoppingCart(HttpContext context);
ShoppingCartViewModel AddToShoppingCart(HttpContext contex... | 1.646743 | 83a7436c37687cc1e6335a72e0fe93ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5530 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marcingorecki/digiCamControl",
"max_stars_repo_path": "CameraControl/windows/StatisticsWnd.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5531"
} | starcoder | <filename>CameraControl/windows/StatisticsWnd.xaml.cs<gh_stars>1-10
using System;
using System.Windows;
using CameraControl.Core;
using CameraControl.Core.Classes;
using CameraControl.Core.Interfaces;
using CameraControl.ViewModel;
namespace CameraControl.windows
{
/// <summary>
/// Interaction logic for Stat... | 2.184757 | 512260a0c994c54f280a1b21ffce6309 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5531 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "BigEggStudy/LeetCode-CS",
"max_stars_repo_path": "LeetCode.Test/1301-1350/1342-NumberOfStepsToReduceANumberToZero-Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5532"
} | starcoder | <filename>LeetCode.Test/1301-1350/1342-NumberOfStepsToReduceANumberToZero-Test.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LeetCode.Test
{
[TestClass]
public class _1342_NumberOfStepsToReduceANumberToZero_Test
{
[TestMethod]
public void NumberOfSteps_1()
{
... | 3.043125 | 4e39837b208fa56370dc989ce52783b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5532 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eognianov/359.news",
"max_stars_repo_path": "src/Services/NewsSystem.Services.Images/Commands/Converters/ArrayConverter{T}.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5533"
} | starcoder | // Copyright (c) <NAME> and contributors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace NewsSystem.Services.Images.Commands.Converters
{
/// <summary>
/// Converts the value of an string to a generic... | 2.802136 | 17a383afc849b112d08590f774dd9a84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5533 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sciruela/outlaw-hunter",
"max_stars_repo_path": "Assets/Scripts/SoundButton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5534"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SoundButton : MonoBehaviour
{
public Button soundButton;
public Sprite soundOn;
public Sprite soundOff;
public void Start(){
if (PlayerPrefs.GetInt("Sound") == 1)
{
... | 2.419549 | 1d5116f36d51917f4384a04bbbd41d09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5534 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SAM-tak/MessagePack-CSharp",
"max_stars_repo_path": "src/MessagePack.GeneratorCore/CodeAnalysis/Definitions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5535"
} | starcoder | // Copyright (c) All contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
#pragma warning disable SA1649 // File name should match first type name
namespace MessageP... | 2.046776 | f3ac69a74d3b0c1ed24afa2edb346379 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5535 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "caioqazz/blip-sdk-csharp",
"max_stars_repo_path": "src/Take.Blip.Builder/Diagnostics/ActionTrace.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5536"
} | starcoder | using Newtonsoft.Json.Linq;
using System.Runtime.Serialization;
namespace Take.Blip.Builder.Diagnostics
{
public class ActionTrace : Trace
{
[DataMember(Name = "order")]
public int Order { get; set; }
[DataMember(Name = "type")]
public string Type { get; set; }
[DataM... | 1.679298 | b4461210e4b7598d6fa0d4177a667888 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 5536 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "szymanskilukasz/Lean",
"max_stars_repo_path": "Common/Orders/Fees/AtreyuFeeModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:5537"
} | starcoder | <filename>Common/Orders/Fees/AtreyuFeeModel.cs<gh_stars>1-10
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file excep... | 2.307785 | 10d6ce9fe7c75d97ff1587adfec2b9dd |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.