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 | 93261 | {
"extension": "c-sharp",
"max_stars_count": "59.0",
"max_stars_repo_name": "tibel/Caliburn.Light",
"max_stars_repo_path": "src/Caliburn.Light.Core/ViewModel/DeactivationEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93262"
} | starcoder | using System;
namespace Caliburn.Light
{
/// <summary>
/// EventArgs sent during deactivation.
/// </summary>
public sealed class DeactivationEventArgs : EventArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="DeactivationEventArgs"/> class.
/// </summary... | 2.759102 | 35c44472153149ba0b88fa8cdce4e1d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93262 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leslierichardson95/advent-of-code-2021",
"max_stars_repo_path": "Day1/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93263"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
namespace Day1
{
internal class Program
{
static void Main(string[] args)
{
string[] list = File.ReadAllLines("C:/Users/lerich/OneDrive - Microsoft/source/adve... | 3.49199 | 5dcb0135adcab788938a2f0f28c8c6b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93263 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Reinms/RoR2Modding",
"max_stars_repo_path": "Sniper/Expansions/NoData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93264"
} | starcoder | <reponame>Reinms/RoR2Modding
using System;
using System.Collections.Generic;
using System.Text;
namespace Rein.Sniper.Expansions
{
internal struct NoData { }
}
| 0.78715 | 8f7fcdecb290a748853aa02c9d5c8840 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93264 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "BigEggStudy/LeetCode-CS",
"max_stars_repo_path": "LeetCode/0401-0450/0435-NonOverlappingIntervals.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93265"
} | starcoder | <filename>LeetCode/0401-0450/0435-NonOverlappingIntervals.cs
//-----------------------------------------------------------------------------
// Runtime: 96ms
// Memory Usage: 26.4 MB
// Link: https://leetcode.com/submissions/detail/381387185/
//---------------------------------------------------------------------------... | 3.292153 | ebc665b85426965a659a8640ef37c743 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93265 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cosmos-loops/cosmos-object-visitors",
"max_stars_repo_path": "src/CosmosStack.Extensions.ObjectVisitors/CosmosStack/Reflection/ObjectVisitors/Core/ObjectCallerExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93266"
} | starcoder | <reponame>cosmos-loops/cosmos-object-visitors<filename>src/CosmosStack.Extensions.ObjectVisitors/CosmosStack/Reflection/ObjectVisitors/Core/ObjectCallerExtensions.cs
using System.Reflection;
namespace CosmosStack.Reflection.ObjectVisitors.Core
{
internal static class ObjectCallerExtensions
{
public st... | 2.689326 | 32ad3a76a2eea03543d88525b7061840 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93266 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lan666as/CoronaWatch",
"max_stars_repo_path": "CoronaWatchLibrary/Service/JHUDataService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93267"
} | starcoder | using CoronaWatchDB;
using Newtonsoft.Json.Linq;
using RestSharp;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Windows;
namespace CoronaWatchLibrary
{
public class JHUDataService : BaseDataService
{
private static readonly string AP... | 2.531747 | dd9e65ad2f2ec7889fd8993ccdbac5f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93267 | {
"extension": "c-sharp",
"max_stars_count": "203.0",
"max_stars_repo_name": "smholvoet/promitor-docs-poc",
"max_stars_repo_path": "src/Promitor.Core.Scraping/Configuration/Serialization/IFieldDeserializationInfoBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93268"
} | starcoder | <gh_stars>100-1000
namespace Promitor.Core.Scraping.Configuration.Serialization
{
/// <summary>
/// An object that can build <see cref="FieldDeserializationInfo" /> objects.
/// </summary>
public interface IFieldDeserializationInfoBuilder
{
/// <summary>
/// Builds the deserializatio... | 1.725669 | bcb77af36d1f413f9e885383b4e6843f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93268 | {
"extension": "c-sharp",
"max_stars_count": "262.0",
"max_stars_repo_name": "yak-shaver/FlatSharp",
"max_stars_repo_path": "src/Benchmarks/Benchmark/Internal/SerializationContextBenchmark.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93269"
} | starcoder | <reponame>yak-shaver/FlatSharp
/*
* Copyright 2018 <NAME>
*
* 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 a... | 2.102428 | decea97c62bf4a6652dda320b25b95bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93269 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "noordwind/Collectively.Services.Users",
"max_stars_repo_path": "src/Collectively.Services.Users/Handlers/DeleteAccountHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93270"
} | starcoder | using System.Threading.Tasks;
using Collectively.Messages.Commands;
using Collectively.Common.Services;
using Collectively.Services.Users.Services;
using Collectively.Messages.Commands.Users;
using Collectively.Messages.Events.Users;
using RawRabbit;
namespace Collectively.Services.Users.Handlers
{
public class De... | 2.334807 | 524c4cc932e5738a179ab617cb08deb2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93270 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "tngraf/FOSSology.REST.dotnet",
"max_stars_repo_path": "Fossology.Rest.Dotnet.Test/FossologyClientTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93271"
} | starcoder | <filename>Fossology.Rest.Dotnet.Test/FossologyClientTest.cs
// ---------------------------------------------------------------------------
// <copyright file="FossologyClientTest.cs" company="Tethys">
// Copyright (C) 2019 <NAME>
// </copyright>
//
// Licensed under the MIT License.
// SPDX-License-Identifier: MIT
/... | 2.159688 | 126f5d6148e08ccb5ea093672e669201 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93271 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Shazwazza/UmbracoBenchmarks",
"max_stars_repo_path": "Umbraco.Bootstrapper/ConsoleBootManagerBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93272"
} | starcoder | <filename>Umbraco.Bootstrapper/ConsoleBootManagerBase.cs<gh_stars>0
using System;
using System.Collections.Specialized;
using System.Configuration;
using System.Configuration.Provider;
using System.IO;
using System.Reflection;
using System.Web.Security;
using Umbraco.Core;
using Umbraco.Core.Configuration;
using Umbra... | 2.293955 | 907cc52cdf10e2173b60b7016ba39a45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93272 | {
"extension": "c-sharp",
"max_stars_count": "4226.0",
"max_stars_repo_name": "gstsgy/Util",
"max_stars_repo_path": "src/Util.Ui.Angular.AntDesign/Zorro/Cards/CardTagHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93273"
} | starcoder | using Microsoft.AspNetCore.Razor.TagHelpers;
using Util.Ui.Angular.Base;
using Util.Ui.Configs;
using Util.Ui.Renders;
using Util.Ui.TagHelpers;
using Util.Ui.Zorro.Cards.Renders;
namespace Util.Ui.Zorro.Cards {
/// <summary>
/// 卡片
/// </summary>
[HtmlTargetElement( "util-card")]
public class Car... | 2.008847 | 4916d9820b04d55706b65560bf2e401f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93273 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sandersaares/aoc2021",
"max_stars_repo_path": "Aoc2021/D5P1/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93274"
} | starcoder | <gh_stars>0
using Koek;
namespace Aoc2021.D5P1;
// Also part 2.
public static class Program
{
private sealed record InputPositionPair(WorldPosition Start, WorldPosition End);
public static async Task MainAsync(IAsyncEnumerable<string> inputLines)
{
// Parse the lines into point series.
v... | 3.190524 | affe6c6f924babead92aae27cd1dd2e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93274 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jochenvangasse/Agatha",
"max_stars_repo_path": "Tests/TestRequestHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93275"
} | starcoder | using System;
using System.Threading.Tasks;
using Agatha.Common;
using Agatha.ServiceLayer;
namespace Tests
{
public class TestRequestHandler : RequestHandler<SomeRequest, SomeResponse>
{
public override Response Handle(SomeRequest request)
{
throw new System.NotImplementedExceptio... | 1.963569 | 9633e8918f2c57829aedbfc09b1313e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93275 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nikola-Arnaudov/ASP.NET-Core-Project-Opera-House-Theater-",
"max_stars_repo_path": "OperaHouseTheater/Data/Models/PerformanceType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93276"
} | starcoder | namespace OperaHouseTheater.Data.Models
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
public class PerformanceType
{
public int Id { get; set; }
[Required]
public string Type { get; set; }
public IEnumerable<Performance> Performances... | 2.268241 | 56ca4df6675748d1f75a251c807f0537 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93276 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "18jn02-8/telledge",
"max_stars_repo_path": "UnitTest/Section/getRoom.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93277"
} | starcoder | <filename>UnitTest/Section/getRoom.cs
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using telledge.Models;
namespace UnitTest.Sections
{
[TestClass]
public class getRoom
{
[TestMethod]
public void Success()
{
Section section = new Section... | 2.364942 | df039e6c09d2fb72a7155441dfa8d3f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93277 | {
"extension": "c-sharp",
"max_stars_count": "379.0",
"max_stars_repo_name": "didalqb/MsSystem-BPM-ServiceAndWebApps",
"max_stars_repo_path": "src/Services/Weixin/MsSystem.Weixin.Model/WxKeyword.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93278"
} | starcoder | <reponame>didalqb/MsSystem-BPM-ServiceAndWebApps
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JadeFramework.Core.Dapper;
using JadeFramework.Core.Extensions;
namespace MsSystem.Weixin.Model
{
/// <summary>
/// 关键字
/// </summary>
[... | 1.90871 | ed43f43f0ad7ab8e3f4834c66939e6f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93278 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bcgov/tno",
"max_stars_repo_path": "libs/net/entities/Validation/KafkaTopicAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93279"
} | starcoder | <filename>libs/net/entities/Validation/KafkaTopicAttribute.cs
using System.ComponentModel.DataAnnotations;
using System.Text.RegularExpressions;
namespace TNO.Entities.Validation;
/// <summary>
/// KafkaTopicAttribute class, provides validation for Kafka topics.
/// </summary>
public class KafkaTopicAttribute : Valid... | 2.711519 | 1edb90e92e949d1c8799639a2f4f2b23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93279 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guillaume-fr/MvvmCross",
"max_stars_repo_path": "Cirrious/Test/Cirrious.MvvmCross.Test/ViewModels/MvxSaveStateTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93280"
} | starcoder | // MvxSaveStateTest.cs
// (c) Copyright Cirrious Ltd. http://www.cirrious.com
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Stuart Lodge, @slodge, <EMAIL>
using System;
using System.Collections.Generic;
using ... | 2.022636 | f7b0693114ac6a3696a8f96bf6dbaa4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93280 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "burcMnt/HepsioradaAPI-HepsiBurada-HW-4",
"max_stars_repo_path": "Hepsiorada.Domain/Repository/IOrderRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93281"
} | starcoder | <gh_stars>1-10
using Hepsiorada.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hepsiorada.Domain.Repository
{
public interface IOrderRepository : IRepository<Order>
{
public Task<Order> AddOrderWithDetails(... | 1.572393 | ab95af3ef6fa20642f0a784c7e5831aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93281 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Contron/Sharpknife",
"max_stars_repo_path": "Sharpknife/Utilities/Dates.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93282"
} | starcoder | using System;
namespace Sharpknife.Utilities
{
/// <summary>
/// Provides a collection of methods to work with <see cref="DateTime" /> instances.
/// </summary>
public static class Dates
{
/// <summary>
/// Returns the estimated time ago for the specified date.
/// </summary>
/// <param name="date">the d... | 3.627574 | 22e9d2ab4ec2ceff87ab359bc3eaaf0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93282 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ngdseattle/neo-fx",
"max_stars_repo_path": "src/NeoFx/Contract.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93283"
} | starcoder | <reponame>ngdseattle/neo-fx<gh_stars>1-10
using System;
using System.Buffers;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using DevHawk.Buffers;
namespace NeoFx
{
public static class Contract
{
private class ECPointComparer : IComparer<ECPoint>
{
... | 2.355108 | 44b7751619b8e03429bd742af07127dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93283 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "jkrmc12/IFC-gen",
"max_stars_repo_path": "lang/csharp/src/IFC/IfcPropertySetDefinitionSelect.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93284"
} | starcoder |
using System;
using System.ComponentModel;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Linq;
using STEP;
namespace IFC
{
public class IfcPropertySetDefinitionSelect : Select
{
public IfcPropertySetDefinitionSelect(IfcPropertySetDefinition choice){ this.choice = choice; }
public ... | 1.642934 | 31cc7a20aa119d9bf30b06a398ea0133 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93284 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "peteroupc/colorvalidator",
"max_stars_repo_path": "ColorValidatorTest/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93285"
} | starcoder | <reponame>peteroupc/colorvalidator<filename>ColorValidatorTest/Program.cs
using System;
namespace ColorValidatorTest {
internal class Program {
internal static void Main() {
}
}
}
| 1.457671 | d17573aa38e76e5f2f10d90ad45cab4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93285 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "spoilerdo/bied",
"max_stars_repo_path": "libraries/IntegrationTestServer/IntegrationTestServer/MockServer/TestServerFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93286"
} | starcoder | using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.PlatformAbstractions;
using System;
using System.Collections.Generic;
using System.IO;
using... | 2.063354 | c120bb23a6d4621d408c1203a784d306 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93286 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prospectvision/OpenTrack.NET",
"max_stars_repo_path": "OpenTrack.Lib/Utilities/MessageInspector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93287"
} | starcoder | using System;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Description;
using System.ServiceModel.Dispatcher;
namespace OpenTrack.Utilities
{
/// <summary>
/// Behavior that can be added to the WCF client to getting request and response raw XML.
/// </summary>
... | 2.227106 | 3b58d387159cbd42360ceaee5d788286 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93287 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yuanlipeng/client",
"max_stars_repo_path": "Assets/Csharp/Common/UIEventListener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93288"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
public class UIEventListener : MonoBehaviour, IPointerClickHandler
{
public static UIEventListener Get(GameObject obj)
{
UIEventListener comp = obj.GetComponent<UIEventL... | 2.133932 | 2894530cc604b1b61a63c6bd06ac0344 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93288 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "waldrafarnold/HackerRank",
"max_stars_repo_path": "Algorithms/Implementation/Grading Students/Solution.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93289"
} | starcoder | <reponame>waldrafarnold/HackerRank
// https://www.hackerrank.com/challenges/grading/problem
using System;
using System.IO;
class Solution
{
/*
* Complete the gradingStudents function below.
*/
static int[] gradingStudents(int[] grades)
{
for (int i = 0; i < grades.Length; i++)
... | 3.370371 | c863c016fbf831b4dbad482b5cc813d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93289 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JuliusLindsberg/cities-skylines-pseudo-multiplayer-mod",
"max_stars_repo_path": "PseudoMultiplayerClient/Source/pseudomultiplayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93290"
} | starcoder | using System;
using ICities;
using System.Net.Sockets;
using System.IO;
using System.Text;
using PMCommunication;
using System.Timers;
using ColossalFramework.UI;
using System.Collections;
namespace PM
{
public class PseudoMultiplayer : IUserMod
{
//this variable here should find some ot... | 2.399973 | 45e7247e14fa88065ae086f84dd487b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93290 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xunilrj/Collections.SqlServer",
"max_stars_repo_path": "sources/MachinaAurum.Collections.SqlServer/SqlNoMemoryDictionary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93291"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace MachinaAurum.Collections.SqlServer
{
public class SqlNoMemoryDictionary<TKey, TValue> : IDictionary<TKey, TValue>
{
public TValue this[TKey key]
{
get
... | 2.685792 | 77ea54cbdc471045db03aa354ad11360 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93291 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sekmenhuseyin/Mastering-ABP-Framework",
"max_stars_repo_path": "Samples/Chapter-03/ProductManagement/src/ProductManagement.Domain/Data/ProductManagementDataSeedContributor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93292"
} | starcoder | using ProductManagement.Categories;
using ProductManagement.Products;
using System;
using System.Threading.Tasks;
using Volo.Abp.Data;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Repositories;
namespace ProductManagement.Data
{
public class ProductManagementDataSeedContributor :
IDataSeedCont... | 2.373786 | 223d00c15c0e8b0b86ffe040bedeb040 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93292 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "Baertierchen/OpenTracker",
"max_stars_repo_path": "OpenTracker.Models/Dungeons/Nodes/DungeonNodeDictionary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93293"
} | starcoder | using System.Collections.Generic;
using OpenTracker.Models.Dungeons.Mutable;
using OpenTracker.Utils;
namespace OpenTracker.Models.Dungeons.Nodes
{
/// <summary>
/// This class contains the <see cref="IDictionary{TKey,TValue}"/> container of <see cref="IDungeonNode"/> indexed
/// by <see cref="DungeonNode... | 2.619465 | e311d4683aad49f07340b0145e1a1c7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93293 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mavidian/PendAdvisor",
"max_stars_repo_path": "PendAdvisor.API/Controllers/AdviceController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93294"
} | starcoder | using AutoMapper;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using PendAdvisor.API.DTOs;
using PendAdvisorModel;
using Swashbuckle.AspNetCore.Annotations;
namespace PendAdvisor.API.Controllers
{
[ApiController]
[Route("api/[controller]")]
[SwaggerTag("Leverages trained ML model to provi... | 2.730381 | 557e9696eae693f2e62a77984ebd2e32 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93294 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "jafin/TestStack.ConventionTests",
"max_stars_repo_path": "Samples/SampleApp.Tests/MvcTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93295"
} | starcoder | namespace SampleApp.Tests
{
using NUnit.Framework;
using SampleApp.Mvc;
using TestStack.ConventionTests;
using TestStack.ConventionTests.ConventionData;
using TestStack.ConventionTests.Conventions;
[TestFixture]
public class MvcTests
{
[Test]
public void Mvc... | 1.446251 | f025e10a378c45aef7f6e1a98beb3e2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93295 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "timrisi/AuroraSquadBuilder",
"max_stars_repo_path": "SquadBuilder/View/Custom/CustomShipsView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93296"
} | starcoder | <filename>SquadBuilder/View/Custom/CustomShipsView.xaml.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace SquadBuilder
{
public partial class CustomShipsView : BaseView
{
public CustomShipsView ()
{
InitializeComponent ();
BindingContext = new CustomShipsVie... | 1.801843 | b0272bc67b8f02bd264af81b6dce53c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93296 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "thisXYH/Dapper.Client",
"max_stars_repo_path": "Dapper.Client/AbstractDbClient_Async.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93297"
} | starcoder | <filename>Dapper.Client/AbstractDbClient_Async.cs
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Threading.Tasks;
namespace Dapper.Client
{
public abstract partial class AbstractDbClient
{
///<inheritdoc/>
public async Task<int> Execut... | 2.623721 | 9c051c9b0dd1edc4058e17854d9d6165 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93297 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1806-jun25-net/Project-Anthony-Randall-Cristian-BackEnd-",
"max_stars_repo_path": "ZVRPub.API/XUnitTestZVRPub.API/LocationControllerTesting.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93298"
} | starcoder | <filename>ZVRPub.API/XUnitTestZVRPub.API/LocationControllerTesting.cs<gh_stars>0
using Moq;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using ZVRPub.API.Controllers;
using ZVRPub.Repository;
using ZVRPub.Scaffold;
using ZVRPub.API;
using static Microsoft.EntityFrameworkCore.DbLogger... | 2.454621 | 6400d2c1884a1147a3f45fcd341cc2f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93298 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jacobrave/Sloth",
"max_stars_repo_path": "Timer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93299"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Timer : MonoBehaviour {
Text timerReadout;
float gameTime;
string extra0;
void Start () {
timerReadout = GetComponent<Text>();
gameTime = 0;
}
void Update () {
g... | 2.44606 | 31a6f341ca388c3e0d77a59ce012131c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93299 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "huahuajjh/yueyouyuebei",
"max_stars_repo_path": "src/TravelAgent.Web/TravelAgent.DALSQL/VisaBrand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93300"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using TravelAgent.IDAL;
using TravelAgent.Tool;
namespace TravelAgent.DALSQL
{
public class VisaBrand:IVisaBrand
{
/// <summary>
/// 取得最新插入的ID
/// </sum... | 2.508335 | b161e7bd0da343fed397ec94563268d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93300 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Arke64/ArkeCLR",
"max_stars_repo_path": "ArkeCLR.Runtime/Signatures/ArrayShape.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93301"
} | starcoder | using ArkeCLR.Utilities;
#pragma warning disable S1104
namespace ArkeCLR.Runtime.Signatures {
public class ArrayShape : ICustomByteReader {
public uint Rank;
public uint NumSizes;
public uint[] Size;
public uint NumLoBounds;
public uint[] LoBound;
public void Read... | 2.192773 | a07e89e03d9561cbeff27e1e5a3a6173 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93301 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BadCodebot/SRFS2",
"max_stars_repo_path": "SRFS/Commands/CalcCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93302"
} | starcoder | <gh_stars>0
using Blocks.CommandLine;
using SRFS.IO;
using SRFS.Model;
using System;
using System.ComponentModel;
using SRFS.Model.Clusters;
using System.Security.Cryptography;
using System.Security;
using System.Text;
namespace SRFS.Commands {
[Command(Name = "calc", Description = "Make an SRFS filesystem")]
... | 2.38537 | a507eb5cc0a0e9b74c82aca4dc86216d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93302 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kenannur/Vegas.Database.Repository",
"max_stars_repo_path": "Vegas.Database.MongoDB/Repository/MongoAsyncRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93303"
} | starcoder | <filename>Vegas.Database.MongoDB/Repository/MongoAsyncRepository.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MongoDB.Driver;
using Vegas.Database.MongoDB.Context;
using Vegas.Database.MongoDB.Entity;
namespace Vegas.Database.MongoDB... | 2.760288 | 12fce13c4e72baea1c56bbbfbe7476b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93303 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeometricFishTankVR/ViewpointCalibration",
"max_stars_repo_path": "Unity_Projects/cubee-user-calibration/Assets/Biglab/Utility/OrientTowards.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93304"
} | starcoder | <reponame>GeometricFishTankVR/ViewpointCalibration<filename>Unity_Projects/cubee-user-calibration/Assets/Biglab/Utility/OrientTowards.cs
using UnityEngine;
namespace Biglab
{
/// <summary>
/// Orients an object to point towards the given transform.
/// </summary>
public class OrientTowards : MonoBehav... | 2.636798 | 2a7b7e3f61f3fda59001e1f71480110b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93304 | {
"extension": "c-sharp",
"max_stars_count": "86.0",
"max_stars_repo_name": "HierGibtEsDrachen/octoawesome",
"max_stars_repo_path": "OctoAwesome/OctoAwesome.Client/Settings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93305"
} | starcoder | <filename>OctoAwesome/OctoAwesome.Client/Settings.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
namespace OctoAwesome.Client
{
/// <summary>
/// Verwaltet die Anwendungseinstellunge... | 3.012097 | 5d6af5a331b10fbe9d4ee65915e4781e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93305 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BearerPipelineTest/Adnc",
"max_stars_repo_path": "src/ServerApi/Services/Adnc.Usr/Adnc.Usr.WebApi/Authorize/Tokens.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93306"
} | starcoder | <gh_stars>0
namespace Adnc.Usr.WebApi.Authorize
{
public enum Tokens
{
AccessToken = 1,
RefreshToken = 2
}
}
| 0.898987 | eb1d9117aa63aaa17099aa20ad617470 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93306 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ChrisPelatari/XunitForms",
"max_stars_repo_path": "source/XunitForms.Test/TestForms/RadioButtonTestForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93307"
} | starcoder | #region Copyright (c) 2003-2005, <NAME>
/********************************************************************************************************************
'
' Copyright (c) 2003-2005, <NAME>
' All rights reserved.
'
' Redistribution and use in source and binary forms, with or without modification, are permi... | 1.919465 | da157738a3dbf4dd54c14effa0a85f41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93307 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "lovemai073/ActiveMQ_Operation",
"max_stars_repo_path": "test/Apache-NMS-AMQP-Test/Test/Util/NMSLogger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93308"
} | starcoder | <filename>test/Apache-NMS-AMQP-Test/Test/Util/NMSLogger.cs<gh_stars>10-100
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this fil... | 2.389955 | acb11642ea6fd29f35db292841298fad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93308 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "segafan/wme1_jankavan_tlc_edition-repo",
"max_stars_repo_path": "src/utils/SpriteOptimizer/SpriteOptimizer/SpriteOptimizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93309"
} | starcoder | <reponame>segafan/wme1_jankavan_tlc_edition-repo<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using DeadCode.WME.Core;
using System.IO;
using System.Windows.Forms;
using System.Drawing;
namespace DeadCode.WME.SpriteOptimizer
{
public class SpriteOptimizer
{
private s... | 2.532868 | 78a93d9f36732ba076e207ce3e16429f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93309 | {
"extension": "c-sharp",
"max_stars_count": "111.0",
"max_stars_repo_name": "PrivadoTest/arcobjects-sdk-community-samples",
"max_stars_repo_path": "Net/Controls/TOCControlContextMenu/CSharp/LayerSelectable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93310"
} | starcoder | <reponame>PrivadoTest/arcobjects-sdk-community-samples<filename>Net/Controls/TOCControlContextMenu/CSharp/LayerSelectable.cs
/*
Copyright 2019 Esri
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 ... | 1.920938 | 755e88aa4bd80685ec43b09052a57eb7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93310 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LordAshes/TaleSpire-ExtraAssetsRegistrationPlugin",
"max_stars_repo_path": "TaleSpireTemplatePlugin/ExtraAssetRegistrationPlugin.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93311"
} | starcoder | <gh_stars>1-10
using BepInEx;
using BepInEx.Configuration;
using Bounce.Unmanaged;
using Newtonsoft.Json;
using System.Linq;
using System.Reflection;
using UnityEngine;
using ExtraAssetsLibrary;
using System;
using System.Collections;
using System.Collections.Generic;
namespace LordAshes
{
[BepInPlu... | 1.689288 | 071b85baf1300a8338a8491c9b05c07a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93311 | {
"extension": "c-sharp",
"max_stars_count": "1030.0",
"max_stars_repo_name": "5e8enin9/WOA-Deployer-Rpi",
"max_stars_repo_path": "Source/Deployer.Raspberry/DppInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93312"
} | starcoder | namespace Deployer.Raspberry
{
public class DppInfo
{
public string PhoneType { get; set; }
public string Lpsn { get; set; }
public string Mc { get; set; }
public string Hwid { get; set; }
public string Btr { get; set; }
public string Ctr { get; set; }
}
} | 1.412519 | 831d779ccab296555e12b413953e9d52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93312 | {
"extension": "c-sharp",
"max_stars_count": "25151.0",
"max_stars_repo_name": "weilandia/selenium",
"max_stars_repo_path": "dotnet/test/support/UI/SelectTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93313"
} | starcoder | using System.Collections.Generic;
using System.Collections.ObjectModel;
using NUnit.Framework;
using System.Reflection;
using System;
using Moq;
namespace OpenQA.Selenium.Support.UI
{
[TestFixture]
public class SelectTests
{
private Mock<IWebElement> webElement;
[SetUp]
public void... | 2.559227 | 012dba882de0cb7e6ddca20efd177957 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93313 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NEOBOM/dotnetcore-libraries",
"max_stars_repo_path": "src/Library.Framework/Library.Framework.Test/HttpService/Entities/Operative.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93314"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
namespace Library.Framework.Test.HttpService.Entities
{
[DataContract]
public class Operative
{
[DataMember]
public int Status { get; set; }
}
}
| 1.459258 | 8cdf1f785906b490800969aee637e1f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lucasven/NetCoreMicro",
"max_stars_repo_path": "NetCoreMicro.Identity/Services/IUserService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93315"
} | starcoder | <reponame>lucasven/NetCoreMicro
using NetCoreMicro.Common.Auth;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NetCoreMicro.Services.Identity.Services
{
public interface IUserService
{
Task RegisterAsync(string email, string password, string ... | 1.622558 | 9244b75592208e35e95bd7bffa8998bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93315 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vladisa385/SurviveOnSotka",
"max_stars_repo_path": "Entities/TypeFood.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93316"
} | starcoder | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace SurviveOnSotka.Entities
{
public class TypeFood : DomainObject
{
[Required, MinLength(5), MaxLength(40)]
public string Name { get; set; }
public string PathToIcon { get; set; }
public ICol... | 2.058967 | 5a732a648a77baa0dcacacb8071e6fec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93316 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EnergyNick/SimpleResult",
"max_stars_repo_path": "src/SimpleResult/Settings/ResultSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93317"
} | starcoder | using System;
namespace SimpleResult.Settings
{
/// <summary>
/// Settings for general Result behavior in certain scenarios
/// </summary>
public static class ResultSettings
{
/// <summary>
/// Current parameters used in Results
/// </summary>
public static ResultPa... | 2.881909 | b3084916d689dcede4a85d1bd2808eab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93317 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "MSGRRojas/featureadmin",
"max_stars_repo_path": "src/FeatureAdmin/ViewModels/DetailViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93318"
} | starcoder | <reponame>MSGRRojas/featureadmin
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FeatureAdmin.Core.Models.Enums;
using FeatureAdmin.Core.Models;
using Caliburn.Micro;
namespace FeatureAdmin.ViewModels
{
public class DetailViewModel : IHaveD... | 2.004511 | bbec1a37c55db1f2e54516bd4e288a08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93318 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "youstinus/schedule",
"max_stars_repo_path": "schedule.api.framework/Models/LectureProfessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93319"
} | starcoder | using schedule.api.framework.Base;
namespace schedule.api.framework.Models
{
class LectureProfessor : BaseModel
{
public Lecture Lecture { get; set; }
public Professor Professor { get; set; }
public long LectureId { get; set; }
public long ProfessorId { get; set; }
}
}
| 1.581532 | 8f8331988c6cc73ddd612db4979bbf42 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93319 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FantasyVII/Vault-Tech",
"max_stars_repo_path": "VaultTech/VaultTech/UI/ComponentTexture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93320"
} | starcoder | /*
* <Copyright>
* Owned by:- Vault 16 Software
* Author:- <NAME>
* Date Created:- 22/April/2014
* Date Moddified :- 24/February/2015
* </Copyright>
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
... | 2.179136 | a0e9a1130488510fe6529e1162a935b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93320 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "XRouter-Service-Explorer/Blocknet.Lib",
"max_stars_repo_path": "CoinConfig/CoinRpcConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93321"
} | starcoder |
namespace Blocknet.Lib.CoinConfig
{
public class CoinRpcConfig
{
public RpcInput Blocknet { get; set; }
public RpcInput CryptoCoin { get; set; }
}
}
| 1.157561 | f1e6523266569aef00417514f62aed1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93321 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ldam77/MadLibs-csharp",
"max_stars_repo_path": "Models/MadLibsVariable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93322"
} | starcoder | namespace MadLibs.Models
{
public class MadLibsVariable
{
private string person1;
private string person2;
private string animal;
private string exclaimation;
private string verb;
private string noun;
public string GetPerson1()
{
return person1;
}
public void SetPerso... | 2.590566 | 3d47f7cadc1b02aff2aafe1a1babe3d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93322 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "kevingosse/winforms",
"max_stars_repo_path": "src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemDisplayStyle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93323"
} | starcoder | <reponame>kevingosse/winforms
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Windows.Forms {
using System;
/// <include file='doc\ToolSt... | 1.917778 | 48e7aac83af751f421207e44ec73bb13 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93323 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "guryanovev/Rosalia",
"max_stars_repo_path": "Src/Rosalia.TaskLib.NuGet/Input/Dependency.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93324"
} | starcoder | <filename>Src/Rosalia.TaskLib.NuGet/Input/Dependency.cs<gh_stars>1-10
namespace Rosalia.TaskLib.NuGet.Input
{
public class Dependency
{
public Dependency(string id, string version, string targetFramework)
{
Id = id;
Version = version;
TargetFramework = target... | 2.394198 | b41db01ce8960724942fce6263ac98d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93324 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NinjaDoMato/OctoPrint",
"max_stars_repo_path": "OctoPrint.API/Models/Job.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93325"
} | starcoder | <filename>OctoPrint.API/Models/Job.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OctoPrint.API.Models
{
public class JobDetails
{
public JobData Job { get; set; }
public Progress Progress { get; set; }
p... | 2.365405 | 84a24af790267e18c81bf532e3e2a9f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93325 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "emirozturk/Gorsel-Programlama-2020",
"max_stars_repo_path": "Uygulama11/Uygulama11-1/Uygulama11/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93326"
} | starcoder | <filename>Uygulama11/Uygulama11-1/Uygulama11/MainWindow.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;... | 2.593044 | b5dd11f27a808d2e752b94f92b4aae45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93326 | {
"extension": "c-sharp",
"max_stars_count": "495.0",
"max_stars_repo_name": "mrcece/ColaFrameWork",
"max_stars_repo_path": "Assets/Scripts/Generate/UnityEngine_UI_Extensions_UITableViewCellWrap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93327"
} | starcoder | <filename>Assets/Scripts/Generate/UnityEngine_UI_Extensions_UITableViewCellWrap.cs
//this source code was auto-generated by tolua#, do not modify it
using System;
using LuaInterface;
public class UnityEngine_UI_Extensions_UITableViewCellWrap
{
public static void Register(LuaState L)
{
L.BeginClass(typeof(UnityEng... | 1.92379 | 5cca60c86593de0706046fdd43d27df8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93327 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kirichenec/ReceptionNET",
"max_stars_repo_path": "src/Reception.App.Model/Auth/AuthenticateResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93328"
} | starcoder | using Reception.Extension;
namespace Reception.App.Model.Auth
{
public class AuthenticateResponse
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Login { get; set; }
public string MiddleName { get; s... | 2.455022 | 5f37644a540a585aa46c739ae3f65852 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93328 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mailslurp/mailslurp-client-csharp",
"max_stars_repo_path": "src/mailslurp.Test/Api/MissedEmailControllerApiTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93329"
} | starcoder | /*
* MailSlurp API
*
* MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) ... | 1.581434 | 34575e73c92265824ea088719d6e44f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93329 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fakit/OSM-AutoCAD",
"max_stars_repo_path": "Mustern/core-releases-v1.3/OsmSharp.Test/Collections/Sorting/QuickSortTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93330"
} | starcoder | <filename>Mustern/core-releases-v1.3/OsmSharp.Test/Collections/Sorting/QuickSortTests.cs
// OsmSharp - OpenStreetMap (OSM) SDK
// Copyright (C) 2015 <NAME>
//
// This file is part of OsmSharp.
//
// OsmSharp is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public Licen... | 2.687238 | c8be7856187ad5c22f14fce9db087db0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93330 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joachimdalen/azure-functions-extensions",
"max_stars_repo_path": "src/JoachimDalen.AzureFunctions.Extensions/Models/MultipartRequestData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93331"
} | starcoder | <filename>src/JoachimDalen.AzureFunctions.Extensions/Models/MultipartRequestData.cs
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using JoachimDalen.AzureFunctions.Extensions.Abstractions;
namespace JoachimDalen.AzureFunctions.Extensions.Models
{
public class MultipartRequestData<T... | 2.172579 | 0960f502cc317d0a42624c883b1f1154 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93331 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "niteshkumarshaw/MicroLib.DesignPatterns",
"max_stars_repo_path": "MicroLib.DesignPatterns/RepositoryPattern/Repository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93332"
} | starcoder | <filename>MicroLib.DesignPatterns/RepositoryPattern/Repository.cs
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace MicroLib.DesignPatterns.RepositoryPattern
{
public class Repository<TEnti... | 3.038378 | a2e8674ea9f055ee124d8c3b7d0c5207 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93332 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thomsumit/mozu-dotnet",
"max_stars_repo_path": "Mozu.Api/Urls/Commerce/WishlistUrl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93333"
} | starcoder | <gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a Codezu.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------... | 2.054694 | 0dde6aff4b37878fc92b1e0eb7176422 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93333 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "greeduomacro/vivre-uo",
"max_stars_repo_path": "Scripts/Items/Armor/ArmorEnums.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93334"
} | starcoder | using System;
namespace Server.Items
{
public enum ArmorQuality
{
Low,
Regular,
Exceptional
}
public enum ArmorDurabilityLevel
{
Regular,
Durable,
Substantial,
Massive,
Fortified,
Indestructible
}
public enum ArmorProtectionLevel
{
Regular,
Defense,
Guarding,
Hardening,
Fortificat... | 2.047515 | dcd3f7e7a9c7847def8847835f243e1e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93334 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chumano/nextone",
"max_stars_repo_path": "src/Libs/SharpMap/UnitTests/Serialization/BaseSerializationTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93335"
} | starcoder | using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using SharpMap.Utilities;
namespace UnitTests.Serialization
{
public abstract class BaseSerializationTest
{
protected static T SandD<T>(T input, IFormatter formatter)
{
using ... | 2.386944 | a578a81780bb9a9fb17545bb7bba2e5c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93335 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kawasawa/mypad.netcore",
"max_stars_repo_path": "MyPad/Views/Regions/StatusBarView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93336"
} | starcoder | using System.Windows.Controls;
namespace MyPad.Views.Regions;
/// <summary>
/// StatusBarView.xaml の相互作用ロジック
/// </summary>
public partial class StatusBarView : UserControl
{
[LogInterceptor]
public StatusBarView()
{
InitializeComponent();
}
}
| 1.164049 | ec2f27603f0bc7ad0eb998364321cd12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/PdfCardGenerator",
"max_stars_repo_path": "PdfCardGenerator/Extensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93337"
} | starcoder | <gh_stars>0
using PdfSharp.Drawing;
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using System.Xml.Linq;
namespace PdfCardGenerator
{
internal static class Extensions
{
public static IDisposable RotateTransform(this XGraphics gfx, Elements.Element element, XEleme... | 2.533424 | 2424c584510f753f063f74033c0b1eae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93337 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Fotia13/KHPC-Toolkit",
"max_stars_repo_path": "KHPCToolkit/VAGConverterOnly/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93338"
} | starcoder | using NAudio.Wave;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using Xe.BinaryMapper;
using Newtonsoft.Json;
using VAGExtractor;
namespace SCDEncoder
{
class Program
{
private static void Main(string[] args)
{... | 2.387079 | 4a37dd0637433f8a59430ed767e3763f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93338 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vyara/Telerik-C-2-Homeworks",
"max_stars_repo_path": "06. Strings and Text Processing/DateInBulgarian/DateInBulgarian.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93339"
} | starcoder | //Problem 17. Date in Bulgarian
//Write a program that reads a date and time given in the format: day.month.year hour:minute:second
//and prints the date and time after 6 hours and 30 minutes (in the same format) along with the day of week in Bulgarian.
using System;
using System.Globalization;
using System.Thread... | 3.970107 | 7ca5fea8c801a1c966245649f460f532 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93339 | {
"extension": "c-sharp",
"max_stars_count": "589.0",
"max_stars_repo_name": "manuelxmarquez/Vortice.Windows",
"max_stars_repo_path": "src/Vortice.DirectComposition/IDCompositionDevice.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93340"
} | 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 SharpGen.Runtime;
using SharpGen.Runtime.Win32;
using Vortice.DXGI;
namespace Vortice.DirectComposition
{
public partial class IDCompositionDevice
... | 1.935081 | 113397816dad73551d1e3008a345db74 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93340 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "EdmondShtogu/rms",
"max_stars_repo_path": "src/RMS.Persistence.Ef/Extensions/EngineExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93341"
} | starcoder | using Autofac;
using RMS.Core.Domain;
using RMS.Core.Extensions;
using RMS.Persistence.Ef;
using RMS.Persistence.Ef.DataProviders;
using System;
using System.Linq;
namespace RMS.Core
{
public static class EngineExtensions
{
/// <summary>
/// Adds entity framework services
/// </summary>... | 2.304807 | 01a31587a779cb4db6d47dc140d98d28 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93341 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alenSavov/WebUni",
"max_stars_repo_path": "SchoolDiary.Services/Events/Models/CreateEventInputViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93342"
} | starcoder | using Microsoft.AspNetCore.Http;
using System;
using System.ComponentModel.DataAnnotations;
namespace SchoolDiary.Services.Events.Models
{
public class CreateEventInputViewModel
{
public string Id { get; set; }
[Required]
[MinLength(2, ErrorMessage = "Minimum length is 2 sign.")]
... | 2.270909 | 6436109471438efa2fd7b896739f2b2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93342 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "themehrdad/nettelebot",
"max_stars_repo_path": "NetTelebot/Type/Payment/SuccessfulPaymentInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93343"
} | starcoder | <reponame>themehrdad/nettelebot
using NetTelebot.BotEnum;
using NetTelebot.Extension;
using Newtonsoft.Json.Linq;
namespace NetTelebot.Type.Payment
{
/// <summary>
/// This object contains basic information about a successful payment.
/// See <see href="https://core.telegram.org/bots/api#successfulpayment... | 2.494209 | b7240eb06485f2d7ab2d2daef4d759f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93343 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DoggySazHi/UNObot",
"max_stars_repo_path": "src/UNObot/Modules/DebugCommands.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93344"
} | starcoder | using System;
using System.Linq;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using UNObot.Plugins;
using UNObot.Plugins.Attributes;
using UNObot.Plugins.Helpers;
using UNObot.Services;
namespace UNObot.Modules;
public class DebugCommands : UNObotModule<UNObotCommandContext>
{
private read... | 2.27162 | 1d08b6f4051c409b31fe2d326d788595 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93344 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "tcdanielh/TutoriVR",
"max_stars_repo_path": "Assets/Evereal/VRVideoPlayer/Scripts/Internal/CopyTexture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93345"
} | starcoder | /* Copyright (c) 2020-present Evereal. All rights reserved. */
using UnityEngine;
namespace Evereal.VRVideoPlayer
{
[RequireComponent(typeof(Renderer))]
public class CopyTexture : MonoBehaviour
{
public VRVideoPlayer vrPlayer;
private void Update()
{
// Video source not ready yet.
if (... | 2.174731 | d74dde6f02e1957cf0081eb0dc3df116 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93345 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marax27/Algenic",
"max_stars_repo_path": "Algenic.UnitTests/SampleUnitTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93346"
} | starcoder | using System;
using FluentAssertions;
using Xunit;
namespace Algenic.UnitTests
{
public class SampleUnitTests
{
[Fact]
public void ExampleTest()
{
Func<int, int> action = x => x * x;
var givenValue = 42;
var expectedValue = givenValue * givenValue;
... | 2.774901 | 995f70ffadbe15f7ad196bde041c7040 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93346 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "interserver/mailbaby-api-samples",
"max_stars_repo_path": "swagger-client/csharp-dotnet2/src/main/CsharpDotNet2/IO/Swagger/Model/SendMailAdv.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93347"
} | starcoder | <filename>swagger-client/csharp-dotnet2/src/main/CsharpDotNet2/IO/Swagger/Model/SendMailAdv.cs
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace IO.Swagger.Model {
/// <summary>
/// Details for an Email... | 2.296813 | 4d78910c2f3bab3d45451a6720d82b6f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93347 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ihristova11/GetHired",
"max_stars_repo_path": "GetHired/GetHired.UnitTests/Services/CompanyServiceTestss/GetById_Should.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93348"
} | starcoder | using System;
using NUnit.Framework;
using GetHired.DataModels.Repositories.Contracts;
using Moq;
using GetHired.DomainModels;
using GetHired.DataModels.Contracts;
using AutoMapper;
using GetHired.Services.Services;
using System.Linq.Expressions;
using GetHired.DTO;
namespace GetHired.UnitTests.Services.CompanyServic... | 2.343637 | 0933fa66f261f59762c6f8330de0b7d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93348 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "roshannizar/ShoppingCart",
"max_stars_repo_path": "ShoppingCart/ShoppingCart.Core/Service/Services/ProductService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93349"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using ShoppingCart.Data.Context;
using ShoppingCart.Core.ServiceInterface;
using ShoppingCart.Data.Models;
using ShoppingCart.Core.Exceptions;
using Microsoft.EntityFrameworkCore;
using AutoMapper;
using ShoppingCart.Core.BusinessObj... | 2.769854 | b875eeee5f076dc6f5c5aae979213755 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93349 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ArySbrana/DotCEP",
"max_stars_repo_path": "DotCEP/DotCEP/BancosDeDados.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93350"
} | starcoder | using System;
using Microsoft.Data.Sqlite;
namespace DotCEP
{
internal class BancosDeDados
{
internal SqliteConnection Conexao { get; private set; }
internal BancosDeDados(EBancoDeDados banco)
{
if (banco == EBancoDeDados.cache)
Conexao = new SqliteConnectio... | 2.317292 | d8fe34808381eee7683d87b03d3ef7b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tahirahmed76/AssemblyPay.Sdk",
"max_stars_repo_path": "Org.OpenAPITools/Api/BatchTransactionsApi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93351"
} | starcoder | <gh_stars>0
/*
* Assembly API
*
* Assembly (formely PromisePay) is a powerful payments engine custom-built for platforms and marketplaces.
*
* The version of the OpenAPI document: 2.0
* Contact: <EMAIL>
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using AssemblyPay.Sd... | 1.815306 | 1b9adc4a1481a0367628a44f88fd26c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93351 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "martinstenhoff/ews-managed-api",
"max_stars_repo_path": "ComplexProperties/PhysicalAddressEntry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93352"
} | starcoder | <reponame>martinstenhoff/ews-managed-api<gh_stars>0
/*
* Exchange Web Services Managed API
*
* Copyright (c) Microsoft Corporation
* All rights reserved.
*
* MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation fil... | 2.366887 | ca2882782be2e5bfbc2d6509abd15623 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93352 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pictos/maui",
"max_stars_repo_path": "src/ControlGallery/src/Xamarin.Forms.Controls/GalleryPages/ShapesGalleries/PathTransformStringGallery.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93353"
} | starcoder | namespace Microsoft.Maui.Controls.ControlGallery.GalleryPages.ShapesGalleries
{
public partial class PathTransformStringGallery : ContentPage
{
public PathTransformStringGallery()
{
InitializeComponent();
}
}
}
| 1.169398 | ca9c75b85e7b247185f30665de40662f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93353 | {
"extension": "c-sharp",
"max_stars_count": "86.0",
"max_stars_repo_name": "agnicore/nfx",
"max_stars_repo_path": "src/NFX/Serialization/Arow/ArowAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93354"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NFX.Serialization.Arow
{
/// <summary>
/// Denotes types that generate Arow ser/deser core
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple=false, Inherited=false)]... | 1.887619 | 46ee630134be93fc9efc065b78872ccd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93354 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kiwidoggie/deadlocked-server",
"max_stars_repo_path": "Server.Dme/MediusManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93355"
} | starcoder | using DotNetty.Codecs;
using DotNetty.Codecs.Json;
using DotNetty.Common.Internal.Logging;
using DotNetty.Handlers.Logging;
using DotNetty.Transport.Bootstrapping;
using DotNetty.Transport.Channels;
using DotNetty.Transport.Channels.Sockets;
using RT.Common;
using RT.Cryptography;
using RT.Models;
using Server.Pipelin... | 1.650523 | d724d5519cc58542c593325f84d0c2d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93355 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "cserkaran/ZendeskApiClient",
"max_stars_repo_path": "src/ZendeskApi.Client/Resources/Interfaces/Ticket/ITicketFieldsResource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93356"
} | starcoder | <filename>src/ZendeskApi.Client/Resources/Interfaces/Ticket/ITicketFieldsResource.cs
using System;
using System.Threading;
using System.Threading.Tasks;
using ZendeskApi.Client.Models;
using ZendeskApi.Client.Responses;
namespace ZendeskApi.Client.Resources
{
public interface ITicketFieldsResource
{
[O... | 1.862767 | df8794ef6fb54c7046788d623e79a53d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93356 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "Omarookolosio94/CodeMazeGuides",
"max_stars_repo_path": "csharp-basic-topics/ExpressionBodiedMembersInCsharp/Test/SquareTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93357"
} | starcoder | using ExpressionBodiedMembersInCsharp;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Test
{
[TestClass]
public class SquareTests
{
[TestMethod]
public void WhenCalculateAreaMethodCalled_AreaIsReturned()
{
var square = new Square(2);
Assert.Ar... | 2.828857 | a70dbfc432d3ee374d1fa30b696b84a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93357 | {
"extension": "c-sharp",
"max_stars_count": "137.0",
"max_stars_repo_name": "jakubpas/biodotnet",
"max_stars_repo_path": "Source/Bio.Core/IO/BAM/FileOffset.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93358"
} | starcoder | <filename>Source/Bio.Core/IO/BAM/FileOffset.cs
using System;
using System.Globalization;
namespace Bio.IO.BAM
{
/// <summary>
/// Class to hold offset of a BAM file.
/// </summary>
public struct FileOffset : IComparable<FileOffset>
{
/// <summary>
/// The two types are stored in o... | 3.245772 | 52778e80c13f519bd0b7db8bc68f807b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93358 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sjp/SJP.Schema",
"max_stars_repo_path": "src/SJP.Schematic.Core/Comments/EmptyDatabaseViewCommentProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93359"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using LanguageExt;
namespace SJP.Schematic.Core.Comments;
/// <summary>
/// A view comment provider that always returns empty results.
/// </summary>
/// <seealso cref="IDatabaseViewCommentProvider" />
... | 2.185036 | 6721c227ee77c24f846cadfa03b738aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93359 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nightsoul357/HBK-Storage",
"max_stars_repo_path": "HBK.Storage.Core/FileSystem/FileSystemFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93360"
} | starcoder | <reponame>nightsoul357/HBK-Storage
using Amazon;
using Amazon.S3;
using HBK.Storage.Adapter.StorageCredentials;
using HBK.Storage.Core.FileSystem.AmazonS3;
using HBK.Storage.Core.FileSystem.FTP;
using HBK.Storage.Core.FileSystem.GoogleDrive;
using HBK.Storage.Core.FileSystem.Local;
using HBK.Storage.Core.FileSy... | 2.426944 | e712424a9d92e70a7bbca3018489730f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JustForFunDeveloper/GeoDoorServer",
"max_stars_repo_path": "GeoDoorServer/Migrations/UserDb/20200724082412_migration4.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93361"
} | starcoder | <reponame>JustForFunDeveloper/GeoDoorServer<filename>GeoDoorServer/Migrations/UserDb/20200724082412_migration4.cs
using Microsoft.EntityFrameworkCore.Migrations;
namespace GeoDoorServer.Migrations.UserDb
{
public partial class migration4 : Migration
{
protected override void Up(MigrationBuilder migrat... | 2.02112 | 11bb0612395d5dde82b5ee6c9a49de1d |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.