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 | 8847412 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mayapeneva/C-Sharp-OOP-Advanced",
"max_stars_repo_path": "Exams.CORE/LastArmy2/Last Army/Interfaces/IWareHouse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166632"
} | starcoder | public interface IWareHouse
{
void AddAmmunition(string ammunitionName, int count);
bool CanEquipSoldier(string type);
void EquipArmy(IArmy army);
} | 1.81347 | 3fcf3d0f3b970744235817ca31372723 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847413 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "luizfelipedasilva678/arquivos-curso-c-",
"max_stars_repo_path": "EXERCISE-ABSTRACT-CLASS/EXERCISE-ABSTRACT-CLASS/Entities/Company.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166633"
} | starcoder | <reponame>luizfelipedasilva678/arquivos-curso-c-
namespace EXERCISE_ABSTRACT_CLASS.Entities
{
class Company : TaxPayer
{
public int NumberOfEmployees { get; set; }
public Company()
{
}
public Company(string nome, double anualIcome, int numberOfEmployees) : base(nome, a... | 3.046163 | ae484e0365764bc62b0f59af0f93e32b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847414 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JSONLewis/Sculptor",
"max_stars_repo_path": "Sculptor.Infrastructure/Exceptions/ValidationExceptions/FluentValidationFormatterExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166634"
} | starcoder | <reponame>JSONLewis/Sculptor<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace Sculptor.Infrastructure.Exceptions.ValidationExceptions
{
internal static class FluentValidationFormatterExtensions
{
/// <summary>
/// Processes only the error marked as `Pr... | 2.539129 | 736d0e1803ddcb1f27db0e10fd207ae0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847415 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zainta/Harddrive-Library",
"max_stars_repo_path": "Harddrive-Library/Scanning/Monitoring/IntegritySymphonyEventTypes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166635"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT License, (the "License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at https://mit-license.org/
namespace HDDL.Scanning.Monitoring
{
/// <summary>
/// The types of events re... | 2.161111 | 653b98c031fd71bd935a22d4a316de72 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847416 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Conny14156/asian-viking",
"max_stars_repo_path": "EditorResources/Windows/ModelTypes/SpriterModelData.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166636"
} | starcoder | <filename>EditorResources/Windows/ModelTypes/SpriterModelData.xaml.cs
using System.Windows.Controls;
namespace EditorResources.Windows.ModelTypes
{
/// <summary>
/// Interaction logic for SpriterModelData.xaml
/// </summary>
public partial class SpriterModelData : UserControl
{
public Spri... | 1.537359 | 3614f98405eed6bcb87567917cad277e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847417 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tarun04/ngx-monorepo",
"max_stars_repo_path": "src/Framework/Extensions/Startup/EntityFramework.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166637"
} | starcoder | <gh_stars>0
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace Ngx.Monorepo.Framework.Extensions.Startup
{
/// <summary>
/// Registers DbContext for a given connection.
/// </summary>
public static class EntityFramew... | 1.707528 | 924f55e449c954946f0cb965caa67be5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847418 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GreenOlvi/AdventOfCode",
"max_stars_repo_path": "2016/Puzzle06/Puzzle06/Solver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166638"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace Puzzle06
{
public class Solver
{
public Solver(params string[] input)
{
Input = input;
var length = Input.Max(l => l.Length);
analyzer = new Analyzer(length);
foreach ... | 3.704544 | c163c890e682ba3600be790efd7d5ccd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847419 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wildbillcat/MakerFarm",
"max_stars_repo_path": "MakerFarm/Views/Clients/Details.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:166639"
} | starcoder | @model MakerFarm.Models.Client
@{
ViewBag.Title = "Details";
}
<h2>Details</h2>
<div>
<h4>Client</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.ClientName)
</dt>
<dd>
@Html.DisplayFor(model => model.ClientName)
</... | 2.277648 | e329b9dda314fd6b986b053d3e9d80ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847420 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hobdrive/fleux",
"max_stars_repo_path": "Fleux/Core/Dim/PointExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166640"
} | starcoder | <reponame>hobdrive/fleux
namespace Fleux.Core.Dim
{
using System;
using System.Drawing;
public static class PointExtensions
{
public static int Distance(this Point p1, Point p2)
{
return (int)Math.Sqrt(Math.Pow(p1.X - p2.X, 2) + Math.Pow(p1.Y - p2.Y, 2));
... | 3.092872 | 99dbce666485634264f180c6eab3cc35 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847421 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jjkeyser/exercism",
"max_stars_repo_path": "csharp/isogram/Isogram.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166641"
} | starcoder | using System;
using System.Collections.Generic;
public static class Isogram
{
public static bool IsIsogram(string word)
{
var letters = new List<char>();
var uniqueLetters = new HashSet<char>();
foreach (char w in word.ToLower())
{
if (Char.IsLetter(w))
... | 3.548934 | 071deb8b9f1ae551f053470d68029693 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847422 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ekzyis/CrypTool-2",
"max_stars_repo_path": "CrypPlugins/DESVisualization/Properties/Resources.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166642"
} | starcoder | <reponame>ekzyis/CrypTool-2<filename>CrypPlugins/DESVisualization/Properties/Resources.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an diese... | 2.084277 | 37cba63e8e9af4bc3547ccbab9574839 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847423 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "joebhaktiarDOL/Section14C",
"max_stars_repo_path": "DOL.WHD.Section14c.Test/Domain/ViewModels/VerifyResetPasswordViewModelTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166643"
} | starcoder | using DOL.WHD.Section14c.Domain.ViewModels;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DOL.WHD.Section14c.Test.Domain.ViewModels
{
[TestClass]
public class VerifyResetPasswordViewModelTests
{
[TestMethod]
public void VerifyResetPasswordViewModel_PublicProperties()
... | 2.263829 | 0a448c85fefc16707bab6a7fe320326b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847424 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "android-crack/joework",
"max_stars_repo_path": "UnityWorkspace/ObjectPool/UnityPrefabPool/Simple Prefab Pool/Assets/Scripts/PrefabPoolUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166644"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
using System;
public static class PrefabPoolUtils
{
public static void AddChild(GameObject parent, GameObject child)
{
if (child == null)
{
throw new NullReferenceException("Child GameObject must not be null");
}
... | 2.033001 | 9c58ad7d8d0a6d6895d606d51e0501cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847425 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasarsoft/ipcs-primjeri",
"max_stars_repo_path": "IPCS_02/Vjezba 2/company/customers/Customers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166645"
} | starcoder | public class Customers
{
public static string[] allCustomers = {"<NAME>", "<NAME>", "<NAME>"};
} | 1.22595 | b6b2a5b261b8851c98debf0059efdd1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847426 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Pronto-AG/Pronto-MIA-Server",
"max_stars_repo_path": "Pronto-MIA/Pronto-MIA/DataAccess/Managers/Interfaces/IInternalNewsManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166646"
} | starcoder | #nullable enable
namespace Pronto_MIA.DataAccess.Managers.Interfaces
{
using System;
using System.Linq;
using System.Threading.Tasks;
using HotChocolate.Execution;
using HotChocolate.Types;
using Pronto_MIA.Domain.Entities;
/// <summary>
/// Interface declaring the operations needed of ... | 2.64196 | ec439d7df6292fafe876475a5131947a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847427 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mehmetkillar/BlogProject-BackEnd",
"max_stars_repo_path": "BlogProject/MKProject.UdemyBlog.DataAccess/Concrete/EntityFrameworkCore/Context/UdemyBlogContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166647"
} | starcoder | using Microsoft.EntityFrameworkCore;
using MKProject.UdemyBlog.DataAccess.Concrete.EntityFrameworkCore.Mapping;
using MKProject.UdemyBlog.Entities.Concrete;
using System;
using System.Collections.Generic;
using System.Text;
namespace MKProject.UdemyBlog.DataAccess.Concrete.EntityFrameworkCore.Context
{
public cla... | 2.003663 | 017f2ab543239ba8e3d83eabc74fcada |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847428 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khncao/com.minus4kelvin.core",
"max_stars_repo_path": "Runtime/Inventory/ItemSlotHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166648"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace m4k.Items {
// [ExecuteInEditMode]
public class ItemSlotHandler : MonoBehaviour, IDropHandler
{
public Inventory inventory;
public GameObject slotsParent, ... | 1.725639 | f330a57fdd070214a0ae8f67d2b08a11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847429 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "angelobreuer/Butler",
"max_stars_repo_path": "tests/SingletonLifetimeTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166649"
} | starcoder | namespace Butler.Tests
{
using Butler.Lifetime;
using Butler.Tests.Dummy;
using Xunit;
/// <summary>
/// Contains tests for the <see cref="Lifetime.Singleton"/> service lifetime.
/// </summary>
public sealed class SingletonLifetimeTests
{
/// <summary>
/// Tests... | 2.858839 | 7e3ac373582d85a6abe831ead0a2dc0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847430 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mtonosaki/WebInvestigation",
"max_stars_repo_path": "WebInvestigation/Controllers/HomeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166650"
} | starcoder | // (c) 2020 <NAME>
// Licensed under the MIT license.
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.Diagnostics;
using System.Net.Http;
using WebInvestigation.Models;
namespace WebInvestigation.Controllers
{
public class HomeController : Controller
{
private readonl... | 2.002706 | 72522173611e37b638e1aacf30a3f8de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847431 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cptnalf/monotree",
"max_stars_repo_path": "Database.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166651"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Text;
namespace Monotree
{
/// <summary>Database connection to monotone's database.</summary>
class Database
{
/// <summary>Filename of the database.</summary>
string filename;
/// <summa... | 2.787941 | a74e921914fd19790a39a283683e8c42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847432 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Erebuxy/AnimeArchive",
"max_stars_repo_path": "UIModule/MainView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166652"
} | starcoder | <reponame>Erebuxy/AnimeArchive<filename>UIModule/MainView.xaml.cs
using System;
using System.Collections.ObjectModel;
using System.Linq;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace BangumiArchive.UIModule
{
/// <summary>
/// The main Series grid... | 2.210608 | c1a6bffdfbccdeaa1c42f8280fbd7103 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847433 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mmg-fhir-ig/cbs-ig-dotnet",
"max_stars_repo_path": "src/GaTech.Chai.Cbs/CbsVaccinationACIPRecommendationProfile/CbsVaccinationACIPRecommendation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166653"
} | starcoder | <reponame>mmg-fhir-ig/cbs-ig-dotnet<filename>src/GaTech.Chai.Cbs/CbsVaccinationACIPRecommendationProfile/CbsVaccinationACIPRecommendation.cs<gh_stars>1-10
using System;
using Hl7.Fhir.Model;
using GaTech.Chai.FhirIg.Extensions;
using System.Linq;
using System.Collections.Generic;
namespace GaTech.Chai.Cbs.Vaccination... | 2.027979 | 40e69c535269f60e23b2059828dff496 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847434 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ICanHazCode/BepInEx.Harmony",
"max_stars_repo_path": "BepInEx.Harmony/EmitDelegate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166654"
} | starcoder | <filename>BepInEx.Harmony/EmitDelegate.cs
using HarmonyLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Emit;
namespace BepInEx.Harmony
{
public partial class HarmonyWrapper
{
internal static Dictionary<int, Delegate> DelegateCache = new Dictionary<int, Del... | 2.624213 | 5a6a994978e9aed02de8d017de767ac1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847435 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CriusNyx/BehaviourTreeNodeEditor",
"max_stars_repo_path": "Assets/MainAssembally/Scripts/DataStructures/Voxels/BoundingBoxVoxelBounds.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166655"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public struct BoundingBoxVoxelBounds2 : IVoxelBounds2
{
public readonly Vector2 center;
public readonly Vector2 size;
public readonly float rotation;
public BoundingBoxVoxelBounds2(Vector2 center, Vector2 siz... | 2.684835 | 064bd769a2405ecc3df40860a46361b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847436 | {
"extension": "c-sharp",
"max_stars_count": "589.0",
"max_stars_repo_name": "manuelxmarquez/Vortice.Windows",
"max_stars_repo_path": "src/Vortice.Direct2D1/DirectWrite/TextRendererBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166656"
} | starcoder | // Copyright (c) <NAME> and contributors.
// Distributed under the MIT license. See the LICENSE file in the project root for more information.
using System;
using System.Numerics;
using SharpGen.Runtime;
using Vortice.DCommon;
namespace Vortice.DirectWrite
{
public abstract class TextRendererBase : CallbackBase,... | 2.108588 | 25f83c5226d8b853ec9f8ba66191549a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847437 | {
"extension": "c-sharp",
"max_stars_count": "128.0",
"max_stars_repo_name": "soulsmods/DSMapStudio",
"max_stars_repo_path": "HKX2/Autogen/hclBendStiffnessConstraintSetLink.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166657"
} | starcoder | <gh_stars>100-1000
using SoulsFormats;
using System.Collections.Generic;
using System.Numerics;
namespace HKX2
{
public partial class hclBendStiffnessConstraintSetLink : IHavokObject
{
public virtual uint Signature { get => 2341101167; }
public float m_weightA;
public float m_w... | 1.693573 | 2e3091e67ee14c5755eed3581afcc843 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847438 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "istanescuwehkamp/react-survey-app",
"max_stars_repo_path": "Backend/SurveyCore/SurveyCore/SurveyCore/Services/FeedbackService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166658"
} | starcoder | <filename>Backend/SurveyCore/SurveyCore/SurveyCore/Services/FeedbackService.cs
using System;
using System.Linq;
using Newtonsoft.Json;
using SurveyCore.Infrastructure.Repositories;
namespace SurveyCore.Services
{
public class FeedbackService : IFeedbackService
{
private readonly ISurveyRepository surv... | 2.788574 | 6d5e6d01fe03d000d3f29f2308c1d684 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847439 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Micle257/Coding",
"max_stars_repo_path": "DynamicMenu/DynamicMenu.Infrastructure/Migrations/DataContextModelSnapshot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166659"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="DataContextModelSnapshot.cs">
// Copyright (c) <NAME>. All Rights Reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace DynamicMenu.Infrastructure.Migrations
{
... | 2.137085 | cadfaa86d66322f7e11b629048886636 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847440 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "ShekharPaatni/SDK",
"max_stars_repo_path": "integration/csharp/src/Integration.Test/Model/SpendingControlVendorRequestDataVOTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166660"
} | starcoder | <gh_stars>10-100
/*
* Hydrogen Integration API
*
* The Hydrogen Integration API
*
* OpenAPI spec version: 1.3.1
* Contact: <EMAIL>
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using NUnit.Framework;
using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;
... | 1.689705 | fb97f5ab931219fccb1fa09a60c404a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847441 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DeveloperUniversity/CS-ASP-044",
"max_stars_repo_path": "Lesson-44/CS-ASP_044/Battle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166661"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CS_ASP_044
{
public class Battle
{
public void DetermineBattle(Hero hero, Monster monster) { }
}
} | 1.814903 | 1db338b25203dd8565875cb3a688bf00 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847442 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Zingabopp/BeatSaberDataProvider",
"max_stars_repo_path": "SongFeedReaders/Readers/IFeedSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166662"
} | starcoder | using System;
using SongFeedReaders.Data;
namespace SongFeedReaders.Readers
{
public interface IFeedSettings : ICloneable
{
string FeedName { get; } // Name of the feed
int FeedIndex { get; } // Index of the feed
/// <summary>
/// Number of songs per page.
/// </summa... | 3.051346 | a4b69a65a328c336fc14cbd553e98120 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847443 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NickPolyder/FreeParkingSystem",
"max_stars_repo_path": "src/Parking/FreeParkingSystem.Parking.Contract/Queries/GetParkingSpotByIdRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166663"
} | starcoder | <reponame>NickPolyder/FreeParkingSystem
using FreeParkingSystem.Common.Authorization;
using FreeParkingSystem.Common.Messages;
namespace FreeParkingSystem.Parking.Contract.Queries
{
[AuthorizeRequest]
public class GetParkingSpotByIdRequest : BaseRequest
{
public int Id { get; }
public int ParkingSiteId { get; ... | 1.793745 | 7a7c87c354758379ade70935315cb802 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847444 | {
"extension": "c-sharp",
"max_stars_count": "119.0",
"max_stars_repo_name": "dotnuttx/Alter-Native",
"max_stars_repo_path": "Examples/RTDP/DEM/Core/DemList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166664"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DemManager
{
//-------------------------------------------------------------------------
/// <summary>
/// This class implements a basic list of Dem objects.
/// </summary>
//--------------------------... | 3.082598 | 384052ff96a3889bd34892523fbd9307 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847445 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "glorylo/handyconfig",
"max_stars_repo_path": "HandyConfig.Tests/ConfigBundlerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166665"
} | starcoder | <filename>HandyConfig.Tests/ConfigBundlerTests.cs
using NUnit.Framework;
using System;
using HandyConfig.Configuration;
using System.Collections.Generic;
using System.Diagnostics;
namespace HandyConfig.Tests
{
[TestFixture]
public class ConfigBundlerTests
{
public NameValueTypeElementCollection Se... | 2.821707 | 14a58a465a2d1edb5c7a39446966655a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847446 | {
"extension": "c-sharp",
"max_stars_count": "404.0",
"max_stars_repo_name": "YersonSolano/CocosSharp",
"max_stars_repo_path": "Extensions/GUI/CCControlExtension/CCControlStepper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166666"
} | starcoder | <reponame>YersonSolano/CocosSharp<filename>Extensions/GUI/CCControlExtension/CCControlStepper.cs
using System.Diagnostics;
namespace CocosSharp
{
public enum CCControlStepperPart
{
PartMinus = 0,
PartPlus,
PartNone
}
public class CCControlStepper : CCControl
{
cons... | 2.367989 | 16facb1fe3b0e23f04ff65fd26b4cead |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847447 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LightGive/UnityUIUtil",
"max_stars_repo_path": "Runtime/UITreeView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166667"
} | starcoder | using System.Linq;
using System.Collections.Generic;
using UnityEngine;
namespace LightGive.UIUtil
{
public class UITreeView : MonoBehaviour
{
[SerializeField] UINode _topNode = null;
[field: SerializeField] public bool DefaultReShowHide { get; private set; } = false;
public List<UINode... | 2.27459 | fab033c9b5355b4777a5556dbeddd975 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847448 | {
"extension": "c-sharp",
"max_stars_count": "226.0",
"max_stars_repo_name": "prophetl33t/OWLib",
"max_stars_repo_path": "TankLib/STU/Types/STUStatescriptStateCombatModFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166668"
} | starcoder | <reponame>prophetl33t/OWLib
// Generated by TankLibHelper
using TankLib.STU.Types.Enums;
// ReSharper disable All
namespace TankLib.STU.Types
{
[STU(0x6226036A, 360)]
public class STUStatescriptStateCombatModFilter : STU_FC063208
{
[STUField(0xF60AA143, 232)] // size: 16
public teStructured... | 0.774827 | 9310e70d5c9e693d4f923605d126de57 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847449 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wasakredit/dotnet-checkout-sdk",
"max_stars_repo_path": "src/WasaKredit.Client.Dotnet.Sdk/Exceptions/WasaKreditApiException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166669"
} | starcoder | <gh_stars>0
using System;
using System.Net;
namespace WasaKredit.Client.Dotnet.Sdk.Exceptions
{
public class WasaKreditApiException : WebException
{
public WasaKreditApiException(
WasaKreditError error,
Guid correlationId)
:base(error.DeveloperMessage)
{
... | 1.627441 | ad9c548f8d8461fbee8bafc95c2ed827 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847450 | {
"extension": "c-sharp",
"max_stars_count": "429.0",
"max_stars_repo_name": "skeptycal/RTVS",
"max_stars_repo_path": "src/Package/Impl/ProjectSystem/Commands/SendToRemoteCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166670"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel.Composition;
using System.IO;
using System.Linq;
usin... | 1.638282 | cdb47930fca8fde096cce42eef634008 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847451 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "smdx24/CPI-Source-Code",
"max_stars_repo_path": "Org.BouncyCastle.Bcpg.OpenPgp/PgpSignatureGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166671"
} | starcoder | <reponame>smdx24/CPI-Source-Code
// PgpSignatureGenerator
using Org.BouncyCastle.Bcpg;
using Org.BouncyCastle.Bcpg.OpenPgp;
using Org.BouncyCastle.Bcpg.Sig;
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.Security;
using Org.BouncyCastle.Utilities;
using System;
using Sys... | 1.98079 | 0d4897025ff7c99515563e496985d927 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847452 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "Autarkysoft/Denovo",
"max_stars_repo_path": "Src/Tests/Bitcoin/P2PNetwork/MockMessagePayloads.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166672"
} | starcoder | // Autarkysoft Tests
// Copyright (c) 2020 Autarkysoft
// Distributed under the MIT software license, see the accompanying
// file LICENCE or http://www.opensource.org/licenses/mit-license.php.
using Autarkysoft.Bitcoin;
using Autarkysoft.Bitcoin.P2PNetwork.Messages.MessagePayloads;
using System;
namespace Tests.Bit... | 2.086727 | c4ed9d843cef5cb49e208aa33432d3d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847453 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "redVeilSyndicate/D2DLauncher",
"max_stars_repo_path": "UniversalGameLauncher/LauncherForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166673"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Net;
using System.Threading;
using System.Windows.Forms;
using System.Xml;
using System.Xml.Serialization;
using ICSharpCode.SharpZipLib.Zip;
namespace UniversalGa... | 2.327137 | fa3221cc90fa881e753ab5ec8829137b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847454 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DynamicBlue/SuperSocket",
"max_stars_repo_path": "test/CSuperSocket.DemoServer/Runtime/DemoSession.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166674"
} | starcoder | <reponame>DynamicBlue/SuperSocket
using SuperSocket.Server;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace CSuperSocket.DemoServer.Runtime
{
public class DemoSession<TSessionData> : AppSession<TSessionData>
{
public int GameHallId { get; inte... | 1.970104 | 03918a52f7feaa44d16995125e1e92ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847455 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "sheepit/sheepit",
"max_stars_repo_path": "source/SheepIt.Api/DataAccess/Sequencing/IdSequences.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166675"
} | starcoder | namespace SheepIt.Api.DataAccess.Sequencing
{
public class IdSequence
{
public static readonly IdSequence Environment = new IdSequence("environment");
public static readonly IdSequence Package = new IdSequence("package");
public static readonly IdSequence Deployment = new IdSequence("dep... | 2.121033 | 6c3e7eebdf6e3f2ab29d55cb8462b0c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847456 | {
"extension": "c-sharp",
"max_stars_count": "101.0",
"max_stars_repo_name": "dfederm/component-detection",
"max_stars_repo_path": "src/Microsoft.ComponentDetection.Detectors/rust/Contracts/CargoLock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166676"
} | starcoder | using System.Diagnostics.CodeAnalysis;
using Nett;
namespace Microsoft.ComponentDetection.Detectors.Rust.Contracts
{
// Represents Cargo.Lock file structure.
public class CargoLock
{
[SuppressMessage("StyleCop.CSharp.NamingRules", "SA1300:ElementMustBeginWithUpperCaseLetter", Justification = "Dese... | 1.843359 | 3fe4a1d966800073b414e2e59d1e3999 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847457 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iotconnect-apps/SmartLighting",
"max_stars_repo_path": "iot.solution.iotconnect/Model/Device/Response/ReleaseDeviceResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166677"
} | starcoder |
namespace IoTConnect.Model
{
public class ReleaseDeviceResult
{
}
}
| 1.223343 | 59b061d5ef7054fb78b5dd2e4691af28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847458 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "KvanTTT/DAGE",
"max_stars_repo_path": "DesktopAntlrGrammarEditor/RuntimeWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166678"
} | starcoder | <gh_stars>10-100
using AntlrGrammarEditor;
namespace DesktopAntlrGrammarEditor
{
public class RuntimeWrapper
{
public Runtime? Runtime { get; }
public RuntimeWrapper(Runtime? runtime) => Runtime = runtime;
public override string ToString() => Runtime?.ToString() ?? "<auto>";
}
} | 1.73719 | b9eef6a8648722934b6aab07b4500a14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847459 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cityjoy/NetCoreFrame.Admin",
"max_stars_repo_path": "CoreFrame.Web/Areas/AttachmentManage/Views/Attachment/UploadFileForm.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:166679"
} | starcoder | @{
Layout = "~/Views/Shared/_Layout_List.cshtml";
}
@section toolbar{
@*<a id="downloadTemplate" class="easyui-linkbutton" data-options="iconCls:'icon-excel'">下载导入模板</a>*@
}
<form id="dataForm" enctype="multipart/form-data" class="easyui-form" method="post" data-options="novalidate:true">
<table c... | 1.964633 | c989b9b6bafcaf551debd474ec0a4bcb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847460 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "jefking/King.Service",
"max_stars_repo_path": "King.Service.Demo/Tasks/Recurring.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166680"
} | starcoder | <reponame>jefking/King.Service
namespace King.Service.Demo.Tasks
{
using King.Service;
using System.Diagnostics;
/// <summary>
/// Recurring Task
/// </summary>
public class Recurring : RecurringTask
{
public override void Run()
{
Trace.TraceInformation("working... | 1.390413 | 983dfc80e6ecbda40c38e186579bdab3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847461 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dktrotti/SaltyBid",
"max_stars_repo_path": "Assembly-CSharpTests/Assets/Scripts/Input/InputBufferImplTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166681"
} | starcoder | <reponame>dktrotti/SaltyBid
using NUnit.Framework;
using Assets.Scripts.Input;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assets.Scripts.Input.Tests
{
public class InputBufferImplTests
{
private readonly InputSequence S... | 2.457694 | e0768c43b2cec4866653234032f56c95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847462 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "has-taiar/MoviesExplorer",
"max_stars_repo_path": "MoviesExplorer/MoviesExplorer.Core/Models/Dtos/MoviesListDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166682"
} | starcoder | <filename>MoviesExplorer/MoviesExplorer.Core/Models/Dtos/MoviesListDto.cs
using System;
using System.Collections.Generic;
namespace MoviesExplorer.Core
{
public class MoviesListDto
{
public MoviesListDto ()
{
results = new List<MovieDto> ();
}
public int page { get; set; }
public List<MovieDto> result... | 2.288376 | 0cbf7dff5a6c506e433fb4ec65973a8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847463 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "IlyaFinkelshteyn/logofx-client-mvvm-viewmodel-extensions",
"max_stars_repo_path": "src/LogoFX.Client.Mvvm.ViewModel.Extensions/src/IPagingViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166683"
} | starcoder | <filename>src/LogoFX.Client.Mvvm.ViewModel.Extensions/src/IPagingViewModel.cs<gh_stars>1-10
namespace LogoFX.Client.Mvvm.ViewModel.Extensions
{
/// <summary>
/// Represents paging view model, i.e. an object that can display a collection of view models in pages.
/// </summary>
public interface IPagingVi... | 2.860884 | f21567df521003f912b3ad4be4c5b099 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847464 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Koceto/SoftUni",
"max_stars_repo_path": "Old Code/Programming Fundamentals/Regex - Exercises/Extractsentencesbykeyword/Extractsentencesbykeyword/SentencesByKeyword.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166684"
} | starcoder | <filename>Old Code/Programming Fundamentals/Regex - Exercises/Extractsentencesbykeyword/Extractsentencesbykeyword/SentencesByKeyword.cs
namespace ExtractSentencesByKeyword
{
using System;
using System.Text.RegularExpressions;
public class SentencesByKeyword
{
public static void Main()
... | 3.729837 | 4d0bed3b3c878612db06fd57a19c7ca0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847465 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mayapeneva/Web-Development-Basics",
"max_stars_repo_path": "EXAMS/MISH-MASH_Ivo_Ok/MishMash.DataModels/Tag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166685"
} | starcoder | namespace MishMash.DataModels
{
using Base;
public class Tag : BaseModel<int>
{
public string Name { get; set; }
}
} | 1.738587 | 89c78cfd5e53b44543bf7c244a90be22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847466 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "ladenedge/Ninject.Extensions.Interception",
"max_stars_repo_path": "src/Ninject.Extensions.Interception/Registry/AdviceRegistry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166686"
} | starcoder | // -------------------------------------------------------------------------------------------------
// <copyright file="AdviceRegistry.cs" company="Ninject Project Contributors">
// Copyright (c) 2007-2010 Enkari, Ltd. All rights reserved.
// Copyright (c) 2010-2017 Ninject Project Contributors. All rights reserve... | 1.918151 | a8beb787758a05008e47868de7953924 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847467 | {
"extension": "c-sharp",
"max_stars_count": "148.0",
"max_stars_repo_name": "ScriptBox99/Money",
"max_stars_repo_path": "src/Money/Outcome.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166687"
} | starcoder | using Money.Events;
using Neptuo.Events;
using Neptuo.Events.Handlers;
using Neptuo.Models.Domains;
using Neptuo.Models.Keys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Money
{
/// <summary>
/// A model of outcome.
/// </su... | 2.866375 | 57c3c5ecaee3cf0f953db50ab8a6d093 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847468 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "danrien/NSpec.VsAdapter",
"max_stars_repo_path": "sln/src/NSpec.VsAdapter/Core/CrossDomain/Proxyable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166688"
} | starcoder | using System;
using System.Runtime.Remoting;
namespace NSpec.VsAdapter.Core.CrossDomain
{
public abstract class Proxyable : MarshalByRefObject, IDisposable
{
public override object InitializeLifetimeService()
{
// Claim an infinite lease lifetime by returning null here.
... | 2.193886 | 9d9c1ceb1d2c593c33d27402ee58ba71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847469 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "tpeczek/Lib.AspNetCore.Security",
"max_stars_repo_path": "Lib.AspNetCore.Security/Http/Reports/ContentSecurityPolicyViolationReport.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166689"
} | starcoder | namespace Lib.AspNetCore.Security.Http.Reports
{
/// <summary>
/// Content Security Policy dispositions.
/// </summary>
public enum ContentSecurityPolicyDisposition
{
/// <summary>
/// The "enforce" disposition.
/// </summary>
Enforce,
/// <summary>
/... | 2.213421 | 21a787533a9d373ab926bace04c9f9e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847470 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "tbrych/htl-csharp",
"max_stars_repo_path": "entity-framework/9030-temperature-sensor/solution/TemperatureLogger/Model.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166690"
} | starcoder | <filename>entity-framework/9030-temperature-sensor/solution/TemperatureLogger/Model.cs
using System;
namespace TemperatureLogger
{
// Required exercise: Create model classes for Entity Framework
public class TemperatureReading
{
public int ID { get; set; }
public DateTime MeasureDateTime ... | 2.513353 | 231d0453f120e2248d904200d4e29de3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847471 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BryanWilhite/Songhay.StudioFloor",
"max_stars_repo_path": "Songhay.StudioFloor.Desktop/Views/AboutView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166691"
} | starcoder | using Songhay.Mvvm.Models;
using Songhay.Mvvm.ViewModels;
using System.Reflection;
using System.Windows.Controls;
namespace Songhay.StudioFloor.Desktop.Views
{
/// <summary>
/// Interaction logic for AboutView.xaml
/// </summary>
public partial class AboutView : UserControl, IView
{
public... | 1.679452 | 9c4657658faf9b705a088367a9cf7553 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847472 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IvanIvTodorov/SoftUniEducation",
"max_stars_repo_path": "C#OOP/Encapsulation/Encapsulation-Exercise/FootballTeamGenerator/StartUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166692"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace FootballTeamGenerator
{
class StartUp
{
public static void Main(string[] args)
{
string text = Console.ReadLine();
List<Team> teams = new List<Team>();
int index = 0;
... | 3.676818 | 457cb68341a492f203abd047d906af2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847473 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andreitudorica/UTCN_LICENTA",
"max_stars_repo_path": "TCCC/SetupApplication/packages/NetTopologySuite.Core.1.15.1/src/NetTopologySuite/Noding/Snapround/SimpleSnapRounder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166693"
} | starcoder | <reponame>andreitudorica/UTCN_LICENTA
using System.Collections;
using System.Collections.Generic;
using GeoAPI.Geometries;
using NetTopologySuite.Algorithm;
using NetTopologySuite.Geometries;
namespace NetTopologySuite.Noding.Snapround
{
/// <summary>
/// Uses Snap Rounding to compute a rounded,
/// fully ... | 2.54366 | 708615b6b601e3e58b38a79a85679f95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847474 | {
"extension": "c-sharp",
"max_stars_count": "352.0",
"max_stars_repo_name": "LZhenHong/HTFramework",
"max_stars_repo_path": "RunTime/ObjectPool/ObjectPoolManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166694"
} | starcoder | <reponame>LZhenHong/HTFramework<filename>RunTime/ObjectPool/ObjectPoolManager.cs<gh_stars>100-1000
using System.Collections.Generic;
using UnityEngine;
namespace HT.Framework
{
/// <summary>
/// 对象池管理器
/// </summary>
[InternalModule(HTFrameworkModule.ObjectPool)]
public sealed class ObjectPoolMana... | 2.324153 | 8a9627820f44df0b654da51721a491ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847475 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NRevolution/NRevolution-Framework",
"max_stars_repo_path": ".SolutionItems/CommonAssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166695"
} | starcoder | using System.Reflection;
[assembly: AssemblyCompany("NRevolution")]
[assembly: AssemblyProduct("NRevolution Framework")]
[assembly: AssemblyCopyright("Copyright (c) 2015 NRevolution")]
#if (DEBUG)
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: Assembl... | 1.354073 | 17ba3039b43d214b0c881853465681f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847476 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "beingawesome/chapter4",
"max_stars_repo_path": "src/Chapter4/Commands/Messaging/CommandMetadataAccessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166696"
} | starcoder | using Chapter4.Metadata;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace Chapter4.Commands.Messaging
{
public class CommandMetadataAccessor
{
private readonly AsyncLocal<IMetadata> _local;
internal CommandMetadataAccessor() => _local = new ... | 2.611434 | b15639ad04dacf6f4f1e6f23d9d80c9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847477 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ghuntley/xamarin-macios",
"max_stars_repo_path": "src/CoreBluetooth/CBUUID.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166697"
} | starcoder | <reponame>ghuntley/xamarin-macios<filename>src/CoreBluetooth/CBUUID.cs
//
// CBUUID helpers
//
// Authors:
// <NAME> <<EMAIL>>
// <NAME> <<EMAIL>>
//
// Copyright 2012-2014 Xamarin Inc. All rights reserved.
//
using System;
using System.Text;
using XamCore.Foundation;
namespace XamCore.CoreBluetooth {
public parti... | 2.299139 | c6c5e3cf71deb1953ade2e7bb64d68b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847478 | {
"extension": "c-sharp",
"max_stars_count": "436.0",
"max_stars_repo_name": "DotNetUz/RethinkDb.Driver",
"max_stars_repo_path": "Source/RethinkDb.Driver/ErrorBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166698"
} | starcoder | using RethinkDb.Driver.Ast;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Proto;
namespace RethinkDb.Driver
{
internal class ErrorBuilder
{
internal string Msg { get; }
internal ResponseType? ResponseType { get; }
internal Backtrace Backtrace { get; set; }
inte... | 2.161191 | ad2514f723b57e05b6bc192f979dac94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847479 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "E01D/Base",
"max_stars_repo_path": "src/E01D.Base.Data.Queries.Models/Coding/Code/Api/E01D/Base/Data/Query_I.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166699"
} | starcoder | namespace Root.Coding.Code.Api.E01D.Core.Data
{
public interface Query_I
{
object CreateConnection<T>();
}
}
| 1.000073 | d23098665c153be3f51089fa90ec4c87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847480 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "s3spyd3r/winRTtoolkit",
"max_stars_repo_path": "winRTtoolkit/IO/BaseJsonStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166700"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Threading.Tasks;
namespace winRTtoolkit.IO
{
public class BaseJsonStorage
{
public static Task<string> Serialize<T>(T type)
{
var result = string.Empty;
if (type != null)
result = JsonConvert.SerializeOb... | 2.824597 | 9fbfcd39549d762c25de9c7b8a0a3a9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847481 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "stichting-cito/QuestifyBuilder",
"max_stars_repo_path": "Builder/Logic.Service/Cache/CacheTestResourceDtoService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166701"
} | starcoder | using System.Collections.Generic;
using Questify.Builder.Logic.Service.Interfaces;
using AssessmentTestResourceDto = Questify.Builder.Logic.Service.Model.Entities.AssessmentTestResourceDto;
namespace Questify.Builder.Logic.Service.Cache
{
public class CacheTestResourceDtoService : CacheResourceDtoService<Assessme... | 2.093836 | 1ab714174f2702da83978e4c078d8b51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847482 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JFouts/clearly",
"max_stars_repo_path": "src/Clearly.EventSourcing/IEventSourcedAggregateRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166702"
} | starcoder | using System;
using System.Threading.Tasks;
using Clearly.Core;
using Clearly.Core.Interfaces;
namespace Clearly.EventSourcing
{
public interface IEventSourcedAggregateRepository<TAggregate> : IAggregateRepository<TAggregate> where TAggregate : AggregateRoot, new()
{
new IEventSourcedAggregate<TAggre... | 1.86118 | 196aa3c1fbc3e9942b4ba76840c005c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847483 | {
"extension": "c-sharp",
"max_stars_count": "1794.0",
"max_stars_repo_name": "richamo/wcf",
"max_stars_repo_path": "src/System.Private.ServiceModel/tests/Stress/SharedPoolsOfWCFObjects/CallStats.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166703"
} | starcoder | <gh_stars>1000+
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Linq;
using System.Threading.Tasks;
using System.Collections.Concurrent;
using System.Threading;
using System.Diagnostics;
... | 2.631937 | bb12330381ac6b89371557f6a3e51cd4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847484 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eylvisaker/ShootTheTraps",
"max_stars_repo_path": "AgateLib/AgateLib.Tester/FrameCounter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166704"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AgateLib.Tests
{
public class FrameCounter
{
const int MinimumSamples = 5;
private Queue<float> sampleBuffer = new Queue<float>();
public FrameCou... | 2.706422 | 1eeb0f0e44f6bde250187648efda275b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847485 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Terricide/MixedReality-WebRTC",
"max_stars_repo_path": "libs/Microsoft.MixedReality.WebRTC/LocalVideoTrack.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166705"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Microsoft.MixedReality.WebRTC.Interop;
using Microsoft.MixedReality.WebRTC.Tracing;
namespace Microsoft.MixedReality.WebRTC
{
/// <summary>
/// Kind of video p... | 2.239283 | 14eaa5c75d433fa61ceb82f367911049 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847486 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Convly/AREA",
"max_stars_repo_path": "build/AREA/Network/NetTools/EventContent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166706"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Network.NetTools
{
/// <summary>
/// The content of an Event
/// </summary>
public class EventContent
{
/// <summary>
/// The name of the Event
/// ... | 2.184286 | 04bb88d1f5cfbc1f29b8f444b3d79757 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847487 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cloudlayerio/cloudlayerio-csharp",
"max_stars_repo_path": "cloudlayerio-dotnet-test/types-tests/WaitUntilOptionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166707"
} | starcoder | using cloudlayerio_dotnet.types;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace cloudlayerio_dotnet_test.types_tests
{
[TestClass]
public class WaitUntilOptionsTests
{
[TestMethod]
public void ConvertToString_Load()
{
var val = WaitUntilOptions.load.ToStri... | 1.949968 | 225f9e932e819fd83f4ed66de7cbda33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847488 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "orhankarabak/FastCommerce",
"max_stars_repo_path": "FastCommerce.Web.API/Infrastructure/MapsterProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166708"
} | starcoder | using FastCommerce.Entities.Entities;
using FastCommerce.Web.API.Interfaces;
using FastCommerce.Web.API.Models;
using Mapster;
using Microsoft.AspNetCore.Hosting;
using System;
namespace FastCommerce.Web.API.Infrastructure
{
public class MapsterProfile : IMapsterProfile
{
private IWebHostEnvironment _... | 1.826032 | 3fbe7516360a2dd2038ada3116cbc8a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847489 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "comfyneet/BachelorThesis",
"max_stars_repo_path": "Source/C#/RiceDoctor/RiceDoctor.SemanticCodeInterpreter/Nodes/ImageNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166709"
} | starcoder | using System.Text;
using JetBrains.Annotations;
using RiceDoctor.Shared;
namespace RiceDoctor.SemanticCodeInterpreter
{
public enum ImageType
{
Online,
Static
}
public class ImageNode : TextContainerNode
{
public ImageNode([NotNull] string url, ImageType type) : base("img"... | 2.877513 | f4c8f7885700a2570f01814ae83bd2c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847490 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Lyt99/Fork",
"max_stars_repo_path": "ProjectUnknown/ScriptLines/SETFLAG.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166710"
} | starcoder | <gh_stars>1-10
using ProjectFork.ScriptLines;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjectFork.ScriptLines
{
class SETFLAG : SET
{
protected override void Set(string k, string s)
{
if (s == "Tr... | 2.235084 | 5fb02fc73fd15e2531f8a2be6cad6749 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847491 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "smskmrym/formdeneme2",
"max_stars_repo_path": "formdeneme2/formdeneme2/Models/depo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166711"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace formdeneme2.Models
{
public class depo
{
private static List<ogrenci> _ogrencis = new List<ogrenci>();
public static List<ogrenci> ogrencis
{
get
{
... | 1.912194 | a274d3e3fcca1132c72998b9cef77bf2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847492 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GiacomoMariani/JReac",
"max_stars_repo_path": "Screen/J_ScreenControls.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166712"
} | starcoder | <reponame>GiacomoMariani/JReac<gh_stars>0
using UnityEngine;
namespace JReact.JScreen
{
public class J_ScreenControls
{
public static J_ScreenControls Main = new J_ScreenControls();
/// <summary>
/// screen width, initially taken from the screen
/// </summary>
private f... | 2.615817 | b5779800845b0a7c01626c8401c8c782 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847493 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "goncalo-oliveira/authentication-extensions",
"max_stars_repo_path": "src/HMAC/HmacAuthenticationServiceExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166713"
} | starcoder | <filename>src/HMAC/HmacAuthenticationServiceExtensions.cs
using System;
using Microsoft.AspNetCore.Authentication;
using Faactory.Extensions.Authentication;
namespace Microsoft.Extensions.DependencyInjection
{
public static class HmacAuthenticationServiceExtensions
{
public static IServiceCollection Ad... | 2.079412 | 6168378324d50ae4cf42caf30efe7e27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847494 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "InstantBusinessNetwork/IBN",
"max_stars_repo_path": "Source/Server/WebReports/UserReports/GlobalModules/ReportHeader.ascx.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166714"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----... | 1.201691 | 2f2f50f0749103d758d26babc465d568 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847495 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NandipMakwana/AspNetCoreMvcCryptoValueProvider",
"max_stars_repo_path": "AspNetCoreMvcCryptoValueProvider/Controllers/HomeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166715"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using AspNetCoreMvcCryptoValueProvider.Models;
namespace AspNetCoreMvcCryptoValueProvider.Controllers
{
public class HomeController : Controller
{
... | 2.727512 | 95513c7eb23212d396f9c04881f2db35 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847496 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trmcnealy/System.Option",
"max_stars_repo_path": "System.Option.UnitTests/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166716"
} | starcoder | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("System.Option.UnitTests")]
[assembly: AssemblyDescription("UnitTests for System.Option")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Sys... | 1.367468 | 51894988a56d7fb281afbc43198ff5e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847497 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kanatkubash/TransitSimulation",
"max_stars_repo_path": "MapConfigure/ViewModels/MapControlViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166717"
} | starcoder | <reponame>kanatkubash/TransitSimulation
using System.Diagnostics;
namespace MapConfigure.ViewModels
{
using GMap.NET;
using GMap.NET.MapProviders;
using Commands;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using ... | 1.396744 | 7fcefd73984d5b20ea3ff184233c1aa6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847498 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "osukeesu/keesu-2",
"max_stars_repo_path": "osu.Game/Online/DevelopmentEndpointConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166718"
} | starcoder | <reponame>osukeesu/keesu-2
// Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Online
{
public class DevelopmentEndpointConfiguration : EndpointConfiguration
{
public DevelopmentEndpointConfi... | 1.591257 | e937b0a40992591c88d2ba832d634271 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847499 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "masanori840816/AzurePipelineSample",
"max_stars_repo_path": "AzurePipelineSample/Models/User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166719"
} | starcoder | using System;
namespace AzurePipelineSample.Models
{
public class User
{
public int ID { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public DateTime LastUpdateDate { get; set; }
}
} | 1.901432 | b90f6ffd9fe7ed9ca1640066a5305db9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847500 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MiroslavPeychev/C-Sharp-Fundamentals",
"max_stars_repo_path": "Objects and Classes/Lab/02. Randomize Words/RandomiseWords.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166720"
} | starcoder | <reponame>MiroslavPeychev/C-Sharp-Fundamentals
namespace _02._Randomize_Words
{
using System;
public class RandomiseWords
{
public static void Main()
{
string[] words = Console.ReadLine().Split(' ');
Random random = new Random();
for (int i = 0; i < wo... | 3.053314 | fd67f1d8ace78045317b54ebba01a709 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847501 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bholmes/NiteWorks",
"max_stars_repo_path": "FlightWork/ManagedSimConnect/SimConnectNative.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166721"
} | starcoder | <reponame>bholmes/NiteWorks
using System;
using System.Runtime.InteropServices;
using HRESULT = System.Int32;
using HANDLE = System.IntPtr;
using LPCSTR = System.String;
using HWND = System.IntPtr;
using DWORD = System.UInt32;
namespace SimConnect
{
internal class SimConnectNative
{
const CallingConvention SinCo... | 1.49437 | 2931a96c241edb46229cb9f05bff3b05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847502 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mitsbits/NoBorg",
"max_stars_repo_path": "src/infra/Borg.Infra/Collections/Hierarchy/BaseHierarchalNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166722"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
namespace Borg.Infra.Collections.Hierarchy
{
public abstract class BaseHierarchalNode<TKey> : ITreeNode<TKey>, IHierarchyData where TKey : IEquatable<TKey>
{
private readonly List<ITreeNode<TKey>> _source;
public... | 2.518708 | d1347d306815eef4603c33c6961b0d17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847503 | {
"extension": "c-sharp",
"max_stars_count": "77.0",
"max_stars_repo_name": "aTiKhan/nHydrate",
"max_stars_repo_path": "Source/nHydrate.Generator.Common/Models/TableIndexColumn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166723"
} | starcoder | using nHydrate.Generator.Common.Util;
using System;
using System.Linq;
using System.Xml;
namespace nHydrate.Generator.Common.Models
{
public class TableIndexColumn : BaseModelObject
{
#region Constructor
public TableIndexColumn(INHydrateModelObject root)
: base(root)
{
... | 2.270763 | 4b6c7f8301719d968ef32ca71636206c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847504 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Skulek/AntiFraudSystem",
"max_stars_repo_path": "AntiFraud/Products/Services/IProductService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166724"
} | starcoder | <reponame>Skulek/AntiFraudSystem
using System.Collections.Generic;
using AntiFraud.Orders.Dtos;
namespace AntiFraud.Products.Services
{
public interface IProductService
{
IEnumerable<ProductDto> GetProducts();
}
} | 1.279159 | 3d72af7d45ee9fc91c94603f21628002 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847505 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Achilles-Software/Entities.Sqlite",
"max_stars_repo_path": "Achilles.Entities.Sqlite/Relational/Storage/RelationalDatabase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166725"
} | starcoder | <gh_stars>1-10
#region Namespaces
using System.Threading;
using System.Threading.Tasks;
using System.Transactions;
#endregion
namespace Achilles.Entities.Storage
{
public abstract class RelationalDatabase : IRelationalDatabase
{
#region Fields
protected readonly IDataContextService _dbConte... | 2.390945 | a859dc7ee877d3d3b901d0cbf2bc75fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847506 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kriskok95/SellMe",
"max_stars_repo_path": "Services/SellMe.Services/Interfaces/IMessagesService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166726"
} | starcoder | <filename>Services/SellMe.Services/Interfaces/IMessagesService.cs
namespace SellMe.Services.Interfaces
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Web.ViewModels.BindingModels.Messages;
using Web.ViewModels.ViewModels.Messages;
public interface IMessagesService
{
... | 2.072332 | c4cbd9ab2d48c580c101ef8b3e43c730 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847507 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikolastefanov/CarService",
"max_stars_repo_path": "CarService/CarService/Services/Mechanics/IMechanicsService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166727"
} | starcoder | <reponame>nikolastefanov/CarService
namespace CarService.Services.Mechanics
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
public interface IMechanicsService
{
bool BecomeMechanic(
string fullName
, string pho... | 1.881129 | 79accdbf7acda59c4d52bc12ae8bc092 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847508 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Smousten/SecureWiki",
"max_stars_repo_path": "SecureWiki/SecureWikiTests/CacheManagerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166728"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.VisualStudio.TestPlatform.Utilities;
using NUnit.Framework;
using SecureWiki.Cryptography;
using SecureWiki.MediaWiki;
using SecureWiki.Utilities;
namespace SecureWikiTests
{
public class CacheManagerTests
{
private CacheM... | 2.281997 | 6950fe6044844a77d3ff27b5f2322011 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847509 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iotbusters/assistant.net.iot",
"max_stars_repo_path": "src/Scheduler/Scheduler.Contracts/Events/RunFailedEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166729"
} | starcoder | <reponame>iotbusters/assistant.net.iot
using Assistant.Net.Messaging.Abstractions;
using System;
namespace Assistant.Net.Scheduler.Contracts.Events
{
/// <summary>
/// The run has failed event.
/// </summary>
public class RunFailedEvent : IMessage
{
/// <summary/>
public RunFai... | 2.008774 | 7498fe2b94602d3003a34f0f70c37a81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847510 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vostok/hercules.client",
"max_stars_repo_path": "Vostok.Hercules.Client.Tests/Sink/Statistics/StatisticsCollector_Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166730"
} | starcoder | using FluentAssertions;
using NUnit.Framework;
using Vostok.Hercules.Client.Sink.Statistics;
namespace Vostok.Hercules.Client.Tests.Sink.Statistics
{
[TestFixture]
internal class StatisticsCollector_Tests
{
private StatisticsCollector collector;
[SetUp]
public void TestSetup()
... | 2.173432 | fce2371000179b228016e08785ce8170 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847511 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "otac0n/KnowledgeInterfaceFormat",
"max_stars_repo_path": "KnowledgeInterchangeFormat/Expressions/ExplicitFunctionalTerm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166731"
} | starcoder | // Copyright © <NAME>. All Rights Reserved. This source is subject to the MIT license. Please see license.md for more information.
namespace KnowledgeInterchangeFormat.Expressions
{
using System;
using System.Collections.Generic;
using System.Text;
/// <summary>
/// A function invoked via the <c>v... | 2.882368 | 08c4f61e2f8fa94b53e6a2a96bf25eb8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.