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 | 8836312 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "SkillsFundingAgency/das-commitments",
"max_stars_repo_path": "src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.UnitTests/Controllers/ApprenticeshipControllerTests/ApprenticeshipControllerTests.cs",
"provenance": "train-00027-of-00045.jsonl... | starcoder | <gh_stars>1-10
using System.Threading;
using System.Threading.Tasks;
using AutoFixture.NUnit3;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Moq;
using NUnit.Framework;
using SFA.DAS.CommitmentsV2.Api.Controllers;
using SFA.DAS.CommitmentsV2.Api.Types.Requests;
using SFA.DAS.... | 1.700997 | a45bc6d35a5dbf39eef834d2be214c6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836313 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cmontellanob/programacionIII",
"max_stars_repo_path": "ColaCircular/ColaCircular/ColaCircular.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155533"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace ColaCircular
{
class ColaCircular<T>
{
public const int Maximo = 10;
private T[] arreglo = new T[Maximo];
private int final = 0;
private int frente =0;
public vo... | 3.325101 | 7324c9d556e6f4c436580076614d459b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wenksi/freight",
"max_stars_repo_path": "Assets/Rocket.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155534"
} | starcoder | <filename>Assets/Rocket.cs
using System;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Rocket : MonoBehaviour
{
private int currentLevelIndex = 0;
[SerializeField] private float rcsThrust = 100f;
[SerializeField] private float mainThrust = 100f;
[SerializeField] private AudioCli... | 2.360518 | 5673d666b8d3e672e6dcfb8e53ee7301 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836315 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gubanotorious/neo-sharp",
"max_stars_repo_path": "src/NeoSharp.Core/Models/OperationManger/TransactionResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155535"
} | starcoder | using NeoSharp.Core.Types;
namespace NeoSharp.Core.Models.OperationManger
{
public class TransactionResult
{
public UInt256 AssetId;
public Fixed8 Amount;
}
} | 1.227383 | a94bb4a153d47eaefaa991a17e9d973d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836316 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ponderingprogrammer/dajumbl",
"max_stars_repo_path": "ContextMap/src/PonderingProgrammer.Dejumbl.Web/Pages/MyContexts/Edit.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:155536"
} | starcoder | @page "{contextKey}"
@using Microsoft.AspNetCore.Authorization
@model EditModel
@attribute [Authorize]
@{
ViewData["Title"] = "Editing ";
}
<form method="post">
<div asp-validation-summary="All" class="text-danger"></div>
<div class="form-group">
<label asp-for="Input.Name"></label>
<inpu... | 1.862539 | e003c529bd58a06a5af910563164bb7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836317 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wjwat/Bakery.Solution",
"max_stars_repo_path": "Bakery/Views/Flavors/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:155537"
} | starcoder | <reponame>wjwat/Bakery.Solution
<h2>Flavors</h2>
@if (@Model.Flavors.Count == 0)
{
<h3>No Treats have been created yet!</h3>
}
else
{
<hr />
@await Html.PartialAsync("_Tables/_Flavors")
<hr />
}
@if (User.Identity.IsAuthenticated)
{
@await Html.PartialAsync("_Buttons/_AddFlavor")
@await Ht... | 1.725044 | 5cde3509a264f312711ec15880c6cba7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836318 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "laichunpongben/Alicization",
"max_stars_repo_path": "Model/Demographics/Growth.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155538"
} | starcoder | <gh_stars>1-10
using MathNet.Numerics.Distributions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Alicization.Model.Demographics.Players;
using Alicization.Model.Demographics.Corporations;
using Alicization.Util.Numerics;
namespace Alicization.Model.Demographics
{
in... | 2.71706 | d2240fb65b5a19e9448695fd17655a24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836319 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "masastack/MASA.MC",
"max_stars_repo_path": "src/Web/Masa.Mc.Web.Admin/Components/Pickers/DateRangePicker.razor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155539"
} | starcoder | // Copyright (c) MASA Stack All rights reserved.
// Licensed under the Apache License. See LICENSE.txt in the project root for license information.
namespace Masa.Mc.Web.Admin.Components.Pickers;
public partial class DateRangePicker
{
[Parameter]
public DateTimeOffset? StartTime { get; set; }
[Parameter... | 2.27791 | d39eeb6612c9e99cfaec33c525a24094 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836320 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "wenfeifei/Surging.Sample",
"max_stars_repo_path": "src/Servers/Identity/Hl.Identity.IApplication/Authorization/Dtos/AccountProfiles.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155540"
} | starcoder | using AutoMapper;
using Hl.Identity.Domain.Authorization.Users;
using Hl.Identity.Domain.Shared.Users;
namespace Hl.Identity.IApplication.Authorization.Dtos
{
public class AccountProfiles : Profile
{
public AccountProfiles()
{
CreateMap<UserInfo, LoginUserInfo>();
}
}
}... | 1.289474 | 5719063c1a7ebd87db39cfe5e0156488 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836321 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nor0x/playwright-sharp",
"max_stars_repo_path": "src/PlaywrightSharp.Tests/Chromium/JSResetOnNavigationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155541"
} | starcoder | using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Newtonsoft.Json;
using PlaywrightSharp.Tests.Attributes;
using PlaywrightSharp.Tests.BaseTests;
using Xunit;
using Xunit.Abstractions;
namespace PlaywrightSharp.Tests.Chromium
{
///<playwright-file>chromium/chromium.spec.j... | 1.880628 | ae78c50d1f19515901faa3fa2ca88e7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836322 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sweaty-Chair/SC-Essentials",
"max_stars_repo_path": "Assets/SweatyChair/Essentials/Databases/DatabaseSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155542"
} | starcoder | using UnityEngine;
namespace SweatyChair
{
/// <summary>
/// A setting class that save which databases to load by DatabaseManager.
/// </summary>
[CreateAssetMenu(fileName = "DatabaseSettings", menuName = "Sweaty Chair/Settings/Database")]
public class DatabaseSettings : ScriptableObjectSingleton<DatabaseSettin... | 2.200891 | 7d8c489f6fd1ae71325c37b3eed6cf05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836323 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UmerIftikhar/Chronicle",
"max_stars_repo_path": "src/EFCoreTestAppWithChronicleSaga/Handlers/OrderSagaHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155543"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Chronicle;
using MediatR;
using EFCoreTestApp.Commands;
using EFCoreTestApp.Events;
using EFCoreTestApp.Persistence;
namespace EFCoreTestApp.Handlers
{
public class OrderSagaH... | 2.132756 | 583b61814aa0871353f934a539ec28b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836324 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EsriJapan/maps-app-gislight",
"max_stars_repo_path": "GISLight10/Ui/FormAttributeSum.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155544"
} | starcoder | <reponame>EsriJapan/maps-app-gislight
namespace ESRIJapan.GISLight10.Ui
{
partial class FormAttributeSum
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// ... | 1.751668 | 6f406224152ab12443059a35da8fdf05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836325 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/dfc-app-account",
"max_stars_repo_path": "DFC.App.Account.UnitTests/Controllers/EditDetailsControllerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155545"
} | starcoder | using System;
using DFC.App.Account.Application.Common.Enums;
using DFC.App.Account.Application.Common.Models;
using DFC.App.Account.Controllers;
using DFC.App.Account.Models;
using DFC.App.Account.Services;
using DFC.App.Account.Services.DSS.Interfaces;
using DFC.App.Account.ViewModels;
using FluentAssertions;
using ... | 1.715245 | 0052e83556b4252f5e7bf1cc89e2bfcd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836326 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "just-the-benno/Beer",
"max_stars_repo_path": "src/DaAPI/Service/Beer.DaAPI.Service.Infrastructure/StorageEngine/DHCPv6/DHCPv6LeaseEntryDataModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155546"
} | starcoder | <reponame>just-the-benno/Beer
using System;
using System.Collections.Generic;
using System.Text;
using static Beer.DaAPI.Shared.Responses.StatisticsControllerResponses.V1;
namespace Beer.DaAPI.Infrastructure.StorageEngine.DHCPv6
{
public class DHCPv6LeaseEntryDataModel : ILeaseEntry
{
public Guid Id {... | 1.267611 | b65a11f7089364bf3fe2e5f199bc5ab7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836327 | {
"extension": "c-sharp",
"max_stars_count": "118.0",
"max_stars_repo_name": "Wlitsoft/WeixinSDK",
"max_stars_repo_path": "src/WeixinSDK.Config/Builder/MessageProcessConfigurationBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155547"
} | starcoder | <gh_stars>100-1000
/**********************************************************************************************************************
* 描述:
* 消息处理配置信息构造者。
*
* 变更历史:
* 作者:李亮 时间:2016年12月25日 新建
*
****************************************************************************************************... | 2.387224 | c52d689ee4d371c6d441f4dfc7b32007 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836328 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrThee/PhilSrc",
"max_stars_repo_path": "Runtime/Phil Custom Drawers/Editor/InlineCorralDrawer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155548"
} | starcoder | <reponame>MrThee/PhilSrc
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace Phil {
namespace Drawers {
[CustomPropertyDrawer(typeof(Attributes.InlineCorral))]
public class InlineCorralDrawer : PropertyDrawer {
public override void OnGUI(Rect position, Seri... | 2.029759 | 14c4b38dd04307e3467c6836966d8582 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836329 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "FirstPlatoLV/EmuController",
"max_stars_repo_path": "EmuController.Client.NET/PID/PIDStateFlags.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155549"
} | starcoder | <reponame>FirstPlatoLV/EmuController
using System;
using System.Collections.Generic;
using System.Text;
namespace EmuController.Client.NET.PID
{
[Flags]
public enum PIDStateFlags : byte
{
DevicePaused = 0x01,
ActuatorsEnabled = 0x02,
ActuatorsPowered = 0x10,
Paused = Device... | 1.691436 | a44651f12a86e1cac3856df4bbd0d66a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836330 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YeastFx/Yeast",
"max_stars_repo_path": "test/Yeast.Partials.Tests/PartialBuilderTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155550"
} | starcoder | using Microsoft.CSharp.RuntimeBinder;
using System.Collections.Generic;
using System.Dynamic;
using Xunit;
using Yeast.Partials.Tests.TestObjects;
namespace Yeast.Partials.Tests
{
public class PartialBuilderTests
{
[Fact]
public void SupportsNullSource()
{
// Act
... | 2.509508 | dd56c05ad35421f0506f0017f5ea4c6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836331 | {
"extension": "c-sharp",
"max_stars_count": "987.0",
"max_stars_repo_name": "ObsoleteAcey/pose",
"max_stars_repo_path": "src/Pose/Extensions/MethodBaseExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155551"
} | starcoder | <filename>src/Pose/Extensions/MethodBaseExtensions.cs<gh_stars>100-1000
using System;
using System.Reflection;
namespace Pose.Extensions
{
internal static class MethodBaseExtensions
{
public static bool InCoreLibrary(this MethodBase methodBase)
{
return methodBase.DeclaringType.Asse... | 2.479764 | 2c762918b98a5a0e1502e60a265debca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836332 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Syrapt0r/Protocol-18",
"max_stars_repo_path": "Assets/VoxelImporter/Scripts/Editor/EditorCommon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155552"
} | starcoder | using UnityEngine;
using UnityEngine.Assertions;
using UnityEditor;
using UnityEditorInternal;
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
namespace VoxelImporter
{
public abstract class EditorCommon : Editor
{
... | 2.346535 | f8dfe379fb1abd0f45dd55f1cfc86448 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836333 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JumboWu/xlstool",
"max_stars_repo_path": "JsonExporter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155553"
} | starcoder | using System;
using System.IO;
using System.Data;
using System.Text;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace xlstool {
/// <summary>
/// 将DataTable对象,转换成JSON string,并保存到文件中
/// </summary>
class JsonExporter : IExporter{
string mContext = "";
public string co... | 2.872096 | 06814cf29ae99812359d07a4e7caa4d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836334 | {
"extension": "c-sharp",
"max_stars_count": "391.0",
"max_stars_repo_name": "morrisjdev/SapphireDb",
"max_stars_repo_path": "SapphireDb/Attributes/QueryAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155554"
} | starcoder | <gh_stars>100-1000
using System;
using System.Reflection;
using SapphireDb.Helper;
using SapphireDb.Models.SapphireApiBuilder;
namespace SapphireDb.Attributes
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class QueryAttribute : QueryAttributeBase, ICompilableAttribute
{
p... | 2.261859 | e0a1dd32f44d1b8f68110c80a6e58297 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836335 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Erdroy/FlaxVoxels",
"max_stars_repo_path": "Source/Game/FlaxVoxels/Terrain/VoxelTerrainChunk.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155555"
} | starcoder | <filename>Source/Game/FlaxVoxels/Terrain/VoxelTerrainChunk.cs<gh_stars>1-10
// FlaxVoxels (c) 2018-2019 Damian 'Erdroy' Korczowski
using System;
using System.Runtime.CompilerServices;
using FlaxEngine;
using FlaxVoxels.Math;
namespace FlaxVoxels.Terrain
{
/// <summary>
/// VoxelTerrainChunk class. Impleme... | 2.397084 | 2b71304491867845c01be6452a09f672 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836336 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "abc013/WarriorsSnuggery",
"max_stars_repo_path": "WarriorsSnuggery.Game/UI/Objects/MessageBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155556"
} | starcoder | using System;
using WarriorsSnuggery.Graphics;
namespace WarriorsSnuggery.UI.Objects
{
public class Message
{
public enum MessageType
{
INFORMATION,
DECISION
}
public readonly MessageType Type;
public readonly Action OnContinue;
public readonly Action OnDecline;
public readonly Action OnAgree;
... | 2.656634 | 50b931f503a32d0370e89e2dfccac001 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836337 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ebifrier/Okiami",
"max_stars_repo_path": "VoteClient/Model/MainModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155557"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.ComponentModel;
using System.Linq;
using Ragnarok;
using Ragnarok.Utility;
using Ragnarok.NicoNico;
using Ragnarok.NicoNico.Live;
using Ragnarok.ObjectModel;
namespace VoteSystem.Client.Model
{
using P... | 2.317256 | 5048f5b7714714b5d0a1d5696c734553 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836338 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "santedb/santedb-server",
"max_stars_repo_path": "SanteDB.Persistence.Data.ADO.Test/PersistenceTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155558"
} | starcoder | <gh_stars>1-10
/*
* Copyright (C) 2021 - 2021, SanteSuite Inc. and the SanteSuite Contributors (See NOTICE.md for full copyright notices)
* Copyright (C) 2019 - 2021, Fyfe Software Inc. and the SanteSuite Contributors
* Portions Copyright (C) 2015-2018 Mohawk College of Applied Arts and Technology
*
* Licensed un... | 1.864987 | d3c8fe57650ce62a1c7855e12092c93d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836339 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nhs-digital-gp-it-futures/GPITBuyingCatalogue",
"max_stars_repo_path": "tests/NHSD.GPIT.BuyingCatalogue.WebApp.UnitTests/ActionFilters/OrdersActionFilterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155559"
} | starcoder | using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
using AutoFixture;
using AutoFixture.AutoMoq;
using AutoFixture.Idioms;
using FluentAssertions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Abstractions;
using Microsoft.Asp... | 1.781642 | dcf69c46317143a114812f22653b81f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836340 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tintoy/docker-terraform-ansible",
"max_stars_repo_path": "src/DockerExecutorApi/DockerExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155560"
} | starcoder | <filename>src/DockerExecutorApi/DockerExtensions.cs<gh_stars>1-10
using Docker.DotNet;
using Docker.DotNet.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace DD.Research.DockerExecutor.Api
{
public static clas... | 2.573104 | 19b0f07a338e4d81165776770efc9284 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836341 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "snax4a/service-quotes-api",
"max_stars_repo_path": "src/ServiceQuotes.Infrastructure/Repositories/AddressRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155561"
} | starcoder | <filename>src/ServiceQuotes.Infrastructure/Repositories/AddressRepository.cs
using ServiceQuotes.Domain.Entities;
using ServiceQuotes.Domain.Repositories;
using ServiceQuotes.Infrastructure.Context;
namespace ServiceQuotes.Infrastructure.Repositories
{
public class AddressRepository : Repository<Address>, IAddres... | 1.699655 | 918d99547bda78e270530e13d23c7930 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836342 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "dstockhammer/Castle.Transactions",
"max_stars_repo_path": "src/Castle.IO/Internal/LongPathDirectory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155562"
} | starcoder | <reponame>dstockhammer/Castle.Transactions
#region license
// Copyright 2004-2012 Castle Project, <NAME> &contributors - https://github.com/castleproject
//
// 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... | 2.652918 | 1c9c4f2f190da1cbdf789aa674b6833f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836343 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "skittleson/GcodeController",
"max_stars_repo_path": "GcodeController.Tests/SerialDeviceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155563"
} | starcoder | namespace GcodeController.Tests {
public class SerialDeviceTests {
public void CheckIfMachineIsAtIdle() {
// send command ? then get run then get idle
/*
<Idle,MPos:0.000,22.951,0.000,WPos:-3.029,-5.000,0.000>
ok
<Run,MPos:0.000,21.106,0.000,WPos:-3.029,-6.845,0.000>
ok
... | 1.725417 | 8f2a5d2d10946733edd14976d444d103 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836344 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RumenTanovski/CoolVacationT",
"max_stars_repo_path": "Services/CoolVacationT.Services.Data/PeriodService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155564"
} | starcoder | namespace CoolVacationT.Services.Data
{
using System;
using System.Threading.Tasks;
using CoolVacationT.Data.Common.Repositories;
using CoolVacationT.Data.Models;
public class PeriodService : IPeriodService
{
private readonly IDeletableEntityRepository<Period> periodRepository;
... | 2.700119 | 4802beebbfc0472e5cde41a72eb32fa8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836345 | {
"extension": "c-sharp",
"max_stars_count": "907.0",
"max_stars_repo_name": "komdil/WebApi",
"max_stars_repo_path": "test/E2ETest/Microsoft.Test.E2E.AspNet.OData/Formatter/ODataFormatterTestBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155565"
} | starcoder | <reponame>komdil/WebApi
//-----------------------------------------------------------------------------
// <copyright file="ODataFormatterTestBase.cs" company=".NET Foundation">
// Copyright (c) .NET Foundation and Contributors. All rights reserved.
// See License.txt in the project root for license informat... | 1.672965 | 7cf5d243613b0c306de01b07685bb9cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836346 | {
"extension": "c-sharp",
"max_stars_count": "105.0",
"max_stars_repo_name": "ib1333/EventSourcingKafka",
"max_stars_repo_path": "source/Shared/Jambo.Domain/Model/Posts/IPostWriteOnlyRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155566"
} | starcoder | <filename>source/Shared/Jambo.Domain/Model/Posts/IPostWriteOnlyRepository.cs
namespace Jambo.Domain.Model.Posts
{
using System.Threading.Tasks;
public interface IPostWriteOnlyRepository
{
Task AddPost(Post post);
Task UpdatePost(Post post);
}
}
| 2.004978 | 4994e6a451576a06bdfd88a00bd396dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836347 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mcculic/millarowframework",
"max_stars_repo_path": "src/Millarow.Rest/RequestFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155567"
} | starcoder | namespace Millarow.Rest
{
public class RequestFile
{
public RequestFile(RequestContent content, string name)
{
content.AssertNotNull(nameof(content));
Content = content;
Name = name;
}
public RequestContent Content { get; }
... | 2.172791 | 178ca3e0c04bc04a03adf1da1057c716 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836348 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "LykkeCity/Lykke.Service.HFT",
"max_stars_repo_path": "src/Lykke.Service.HFT.Core/Services/IOrderBooksService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155568"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Lykke.Service.HFT.Contracts.OrderBook;
namespace Lykke.Service.HFT.Core.Services
{
public interface IOrderBooksService
{
Task<ICollection<Guid>> GetOrderIdsAsync(IEnumerable<string> assetPairs);
Task<IEnumerabl... | 1.336221 | 92db6243a856ca61204a68c0b97f01f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836349 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "D3ad5h0t/ImageViewerTest",
"max_stars_repo_path": "ImageViewerTest/Models/Folder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155569"
} | starcoder | <reponame>D3ad5h0t/ImageViewerTest
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ImageViewerTest.Models;
namespace ImageViewerTest.ViewModels
{
public class Folder : BaseObject
{
}
}
| 1.156223 | 045811f2c7815d4d0c3b7ecc69c4f359 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836350 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Sentinent/BrawlhallaNet",
"max_stars_repo_path": "BrawlhallaNet/BrawlhallaApiClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155570"
} | starcoder | using BrawlhallaNet.Responses;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace BrawlhallaNet
{
public class BrawlhallaApiClient : IDisposable
{
... | 2.721748 | a1ed5b5de66f45b99e32f8d52b854e4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836351 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sebnema/HttpAbstractions-1.0.0-rc1-NoAuthHandler",
"max_stars_repo_path": "src/Microsoft.AspNet.Http/Features/RequestCookiesFeature.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155571"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNet.Http.Internal;
using Microsoft.Extensions.Primitives;
using Mi... | 1.93172 | 3d68fd3f38dab5268c3d3dcbf9a28677 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836352 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Whystedz/TheWhystedzGame",
"max_stars_repo_path": "Assets/Scripts/Networking/TempNetworkManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155572"
} | starcoder | <reponame>Whystedz/TheWhystedzGame<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Mirror;
public class TempNetworkManager : NetworkManager
{
[Header("Player characters")]
[SerializeField] private List<GameObject> playerPrefabs;
public override void OnS... | 1.97717 | 6b1b081b030be1ba6f4e2370a8e6ffa5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836353 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Iverson127/ConsoleProgram",
"max_stars_repo_path": "ConsoleProgram/AutoItReportGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155573"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using Excel = Microsoft.Office.Interop.Excel;
namespace ConsoleProgram
{
class AutoItReportGenerator : IConsoleProgram
{
string AutoItDirectory { get; set; }
string Conf... | 2.180745 | f1f4a10ed29d8769dab69d2091b47ae8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836354 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "herrylau/wwzkushop",
"max_stars_repo_path": "MxWeiXinPF.Model/weixin/wx_wsite_modulebase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155574"
} | starcoder | <reponame>herrylau/wwzkushop<filename>MxWeiXinPF.Model/weixin/wx_wsite_modulebase.cs
using System;
namespace MxWeiXinPF.Model
{
/// <summary>
/// 微网站组件基本表
/// </summary>
[Serializable]
public partial class wx_wsite_modulebase
{
public wx_wsite_modulebase()
{}
#region Model
private int _id;
private stri... | 2.092705 | c8192eb88ca8f5ce2c11b54b927de87d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836355 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "el2iot2/HttpArchive",
"max_stars_repo_path": "src/HttpArchive/Timings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155575"
} | starcoder | <filename>src/HttpArchive/Timings.cs
using System.Text.Json.Serialization;
namespace HttpArchive
{
/// <summary>
/// This object describes various phases within request-response round trip. All times are specified in milliseconds.
/// </summary>
/// <remarks>
/// http://www.softwareishard.com/blog... | 2.786218 | 83651005053e0261fa628511f339ecbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836356 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "phuongpk97/asp-electro-phone-store",
"max_stars_repo_path": "eShopSolution.ViewModels/System/Users/ConfirmEmailViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155576"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace eShopSolution.ViewModels.System.Users
{
public class ConfirmEmailViewModel
{
public string token { get; set; }
public string email { get; set; }
}
}
| 1.377349 | 14ab97cd78815de366a4834af0fa4e1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836357 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Dafeesh/TopDownMMO_archived-prototype",
"max_stars_repo_path": "Server_Instance/InstanceServer/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155577"
} | starcoder | <filename>Server_Instance/InstanceServer/Program.cs
using System;
using System.Net;
using System.Threading;
using System.Windows.Forms;
using Extant;
using InstanceServer.Control;
using InstanceServer.Links;
namespace InstanceServer
{
class Program
{
[STAThread]
static void Main()
{
... | 2.276602 | 78a630fb9d64612e2b7a996579066c9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836358 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gpreviatti/FinnacesManagementSystem",
"max_stars_repo_path": "src/Infrastructure/Data/Mapping/CategoryMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155578"
} | starcoder | using Domain.Entities;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Data.Mapping
{
public class CategoryMap : BaseMap<Category>
{
public CategoryMap() : base("Categories") { }
public override void Configure(EntityTypeBuilder<Category> builder)
{
base.Con... | 2.526724 | 29599a283f7c50edde31cceeb442b93c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836359 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Panzershrekk/Ludum_dare_43",
"max_stars_repo_path": "LudumDare43_2D/Assets/VN Engine/Scripts/Nodes/ExitAllActorsNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155579"
} | starcoder | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
namespace VNEngine
{
// Removes all actors from the scene. If sliding out, waits until the actor if offscreen first
public class ExitAllActorsNode : Node
{
public bool slide_out = false; // If true, have all characters slide out be... | 2.81682 | 739ceaf37d2fc1ef10807ae8e9a62e45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yvelikov/Programming-Fundamentals",
"max_stars_repo_path": "Lists - Lab/Lists Lab/02.Append Lists/AppendLists.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155580"
} | starcoder | <gh_stars>0
namespace _02.Append_Lists
{
using System;
using System.Collections.Generic;
using System.Linq;
public class AppendLists
{
public static void Main()
{
var input = Console.ReadLine()
.Split('|')
.ToList();
var resu... | 3.223804 | 61a36e5c3112fc65cb9e450a048d66c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836361 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "ValueCreation/RoutePlanner",
"max_stars_repo_path": "Source/ArcLogisticsApp/Converters/RestrictionUsageLabelConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155581"
} | starcoder | /*
| Version 10.1.84
| Copyright 2013 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 License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law o... | 2.290248 | 1e49cb37af364e93b7acfccb95546648 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836362 | {
"extension": "c-sharp",
"max_stars_count": "153.0",
"max_stars_repo_name": "alka69/OpenMMO",
"max_stars_repo_path": "Plugins/_CORE_/_CORE_SYSTEMS_/ProcessLauncher/Scripts/_base/ScriptableProcessLauncher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155582"
} | starcoder | <filename>Plugins/_CORE_/_CORE_SYSTEMS_/ProcessLauncher/Scripts/_base/ScriptableProcessLauncher.cs
//BY DX4D
using System;
using System.Diagnostics;
using UnityEngine;
[CreateAssetMenu( menuName = "OpenMMO/System/Process Launcher", order = 0)]
public class ScriptableProcessLauncher : ScriptableObject, IProcessLaunche... | 2.251833 | 2db1bc548869a752cfe1de159e86d0bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836363 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "samsilverman/MercuryMessaging",
"max_stars_repo_path": "Assets/MercuryMessaging/Support/Interpolators/Interpolator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155583"
} | starcoder | <reponame>samsilverman/MercuryMessaging
// Copyright (c) 2017-2019, Columbia University
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain ... | 2.065062 | 8ff3b53b1197bbb8f31bdeeebe4f9f1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WightLight/Moon-s-Haunted",
"max_stars_repo_path": "Assets/Ghosts/Spawner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155584"
} | starcoder | <filename>Assets/Ghosts/Spawner.cs<gh_stars>0
using System;
using System.Collections.Generic;
class Spawner<T> where T : Spawnable
{
private List<T> objects;
private float nextTime;
private float timeSinceLastSpawn = 0;
private Random random = new Random();
public Spawner(List<T> objects)
{
... | 3.187552 | 1ed3d237e9cb83c2e531a781b05e51b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836365 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DaiCapra/build-server",
"max_stars_repo_path": "States/UpdateManifestState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155585"
} | starcoder | <filename>States/UpdateManifestState.cs<gh_stars>0
using System.Threading.Tasks;
using Pipeline.Data;
namespace Pipeline.States
{
public class UpdateManifestState : State
{
private readonly DataContainer _dataContainer;
private readonly ManifestProvider _manifestProvider;
public Updat... | 2.452334 | f05694b31df6f33313c3022693633165 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836366 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Halceyon/lock-stock-and-auth",
"max_stars_repo_path": "src/LockStockAuth/Auth/AuthDbContextConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155586"
} | starcoder | <reponame>Halceyon/lock-stock-and-auth
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.Entity.Migrations;
using System.Linq;
using System.Security.Cryptography;
using LockStockAuth.Auth.Entities;
using LockStockAuth.Auth.Managers;
using LockStockAuth.Auth.Models;
using Micr... | 2.250276 | cbacec5c04d8589c328546435a00bc42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836367 | {
"extension": "c-sharp",
"max_stars_count": "306.0",
"max_stars_repo_name": "RaulSebastian/Kledex",
"max_stars_repo_path": "samples/Kledex.Sample.EventSourcing/Domain/ProductService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155587"
} | starcoder | <gh_stars>100-1000
using Kledex.Commands;
using Kledex.Sample.EventSourcing.Domain.Commands;
using System.Threading.Tasks;
namespace Kledex.Sample.EventSourcing.Domain
{
public class ProductService : IProductService
{
public async Task<CommandResponse> CreateProductAsync(CreateProduct command)
... | 1.943482 | b8685733a169dc26627206661c7e57d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836368 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "SherApp/Sher",
"max_stars_repo_path": "src/Sher.Application/Processing/ICommandHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155588"
} | starcoder | <filename>src/Sher.Application/Processing/ICommandHandler.cs
using MediatR;
namespace Sher.Application.Processing
{
public interface ICommandHandler<in TRequest, TResponse> : IRequestHandler<TRequest, TResponse>
where TRequest : ICommand<TResponse>
{
}
public interface ICommandHandler<in TRequ... | 1.909686 | ef067b63a3f83944334ce60c46d3f341 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836369 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "toeb/core.common",
"max_stars_repo_path": "Core.Common/Entities/ServiceBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155589"
} | starcoder | <filename>Core.Common/Entities/ServiceBase.cs
using System.ComponentModel.Composition;
using Core.Modules.Entities;
namespace Core.Modules.Entities
{
public class ServiceBase
{
[Import(AllowRecomposition = true)]
public IEntityService EntityService
{
get;
set;
}
[Import(AllowRecom... | 2.071499 | 9570c72c9839ddb822be1f0f8ebd7b80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836370 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Marvin-Brouwer/FluentSerializer",
"max_stars_repo_path": "src/FluentSerializer.Core/Text/SystemStringBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155590"
} | starcoder | <filename>src/FluentSerializer.Core/Text/SystemStringBuilder.cs<gh_stars>1-10
using System;
using System.Runtime.CompilerServices;
using System.Text;
using FluentSerializer.Core.Configuration;
namespace FluentSerializer.Core.Text;
/// <summary>
/// Internal implementation of <see cref="ITextWriter"/> using <see cref=... | 2.718775 | 46ed72173632709fcf3c7e2b555d5b20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836371 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "m-adamski/virtual-hosts-manager",
"max_stars_repo_path": "source/VirtualHostsManager/ConfigWindow.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155591"
} | starcoder | <reponame>m-adamski/virtual-hosts-manager<gh_stars>1-10
namespace VirtualHostsManager
{
partial class ConfigWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean ... | 2.071391 | f536701b9c4e8623d95df1403625a4dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836372 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "uvbs/FullSource",
"max_stars_repo_path": "Source/Source/Tools/GameDesignerEditor/ThirdParty/TextEditor/Project/Src/Document/CustomLineManager/CustomLineManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155592"
} | starcoder | <filename>Source/Source/Tools/GameDesignerEditor/ThirdParty/TextEditor/Project/Src/Document/CustomLineManager/CustomLineManager.cs
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="<NAME>" email="<EMAIL>"/>
// <version>$Revision: 1.1 ... | 2.824191 | 56a6af0dd3d60c4b5df4c1c24761b897 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836373 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArkadySK/gbx-net",
"max_stars_repo_path": "Src/GBX.NET/FileRef.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155593"
} | starcoder | <gh_stars>0
using System.Diagnostics;
namespace GBX.NET;
/// <summary>
/// A file reference used for locating media.
/// </summary>
[DebuggerTypeProxy(typeof(DebugView))]
public class FileRef
{
/// <summary>
/// Version of the file reference.
/// </summary>
public byte Version { get; }
/// <summ... | 2.250822 | 73cda93ca3ecaf9b5194a60444f7ee00 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836374 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "YehudaEi/Bluestacks-source-code",
"max_stars_repo_path": "src/HD-Player/Backup/Guids.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155594"
} | starcoder | // Decompiled with JetBrains decompiler
// Type: BlueStacks.Player.Guids
// Assembly: HD-Player, Version=4.250.0.1070, Culture=neutral, PublicKeyToken=null
// MVID: 7E2636C4-7B08-4EB4-9C45-ADCCA898CA6B
// Assembly location: C:\Program Files\BlueStacks\HD-Player.exe
using System;
namespace BlueStacks.Player
{
publi... | 1.500873 | 9d91a0fcedf6667bdc78e1a45e089154 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836375 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "artemgur/medicine_sem",
"max_stars_repo_path": "Sem/Sem/ModelsTables/Article.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155595"
} | starcoder | using Sem.DB_Operations;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Sem.ModelsTables
{
public class Article
{
public Article(List<object> articleParams)
{
Title = articleParams[0].ToString();
Image = articleParams[1] == null || articleP... | 2.589943 | 7d694fc0d02193140035729607180312 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836376 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mediaexplorer74/WMDevManShutdown",
"max_stars_repo_path": "DeviceManager/Manager/HardwareDeviceManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155596"
} | starcoder | <reponame>mediaexplorer74/WMDevManShutdown
// HardwareDeviceManager
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DeviceManager.Model;
using Windows.Data.Json;
using Windows.Web.Http;
using static DeviceManager.DeviceManager;
namespace Devic... | 2.498877 | bc9dd829d76de5c75536021ae942f53e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836377 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tetra-Pak-APIs/TetraPak.XP",
"max_stars_repo_path": "source/TetraPak.XP.Auth.Abstractions/GrantHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155597"
} | starcoder | <filename>source/TetraPak.XP.Auth.Abstractions/GrantHelper.cs
using System;
using System.Collections.Generic;
namespace TetraPak.XP.Auth.Abstractions
{
public static class GrantHelper
{
internal static Grant ForAuthCode(this Grant self,
ActorToken accessToken,
DateTime expires... | 2.696853 | b44c07a0600ef214934d4aabda08d66d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836378 | {
"extension": "c-sharp",
"max_stars_count": "650.0",
"max_stars_repo_name": "tafaly/Firebase.Xamarin",
"max_stars_repo_path": "Database/Offline/StreamingOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155598"
} | starcoder | <filename>Database/Offline/StreamingOptions.cs<gh_stars>100-1000
namespace Firebase.Database.Offline
{
public enum StreamingOptions
{
/// <summary>
/// No realtime streaming.
/// </summary>
None,
/// <summary>
/// Streaming of only new items - not the existing o... | 2.967964 | 033e93f6ebbade622c50758fe645b455 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836379 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ku3mich/Identifier.SpellChecker",
"max_stars_repo_path": "SpellChecker.Tests/CustomDictionaryTetsts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155599"
} | starcoder | <filename>SpellChecker.Tests/CustomDictionaryTetsts.cs
using Xunit;
namespace SpellChecker.Tests
{
public class CustomDictionaryTetsts
{
readonly ISpellChecker Checker;
public CustomDictionaryTetsts(IPathResolver resolver)
{
Checker = new FileWordListChecker(reso... | 2.512388 | bc9a2aa266c1b2a82ac0ae339959f9a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836380 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Smahdie/Blog",
"max_stars_repo_path": "components/Components.FileUpload/FileUploadServiceCollectionExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155600"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using Component.FileUpload.Implementations;
using Component.FileUpload.Implementations.FileSignatures;
using Component.FileUpload.Interfaces;
namespace FileUpload
{
public static class FileUploadServiceCollectionExtension
{
public static IServiceCollecti... | 1.805784 | 63b9718d0d0d8f98ee5d08597728dbc4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836381 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "c3dr0x/kinetix",
"max_stars_repo_path": "Kinetix/Kinetix.Caching/CacheException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155601"
} | starcoder | <gh_stars>1-10
using System;
using System.Runtime.Serialization;
namespace Kinetix.Caching {
/// <summary>
/// Exception sur la gestion des caches.
/// </summary>
[Serializable]
public class CacheException : Exception {
/// <summary>
/// Crée une nouvelle exception.
/// </s... | 2.609211 | e7240479ecec1d93afbcf9674b52fdc9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836382 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GuoQqizz/SmartChinese",
"max_stars_repo_path": "AbhsChinese.Web/Models/Subjects/FillInBlankSubjectVm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155602"
} | starcoder | <gh_stars>0
namespace AbhsChinese.Web.Models.Subjects
{
public class FillInBlankSubjectVm : SubjectVm
{
}
} | 0.725052 | 8661c803be5ec9fb72c6e0371cd42404 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836383 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/tl-find-provider-api",
"max_stars_repo_path": "src/Sfa.Tl.Find.Provider.Api/Extensions/JsonExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155603"
} | starcoder | using System.Text.Json;
namespace Sfa.Tl.Find.Provider.Api.Extensions;
public static class JsonExtensions
{
public static bool SafeGetBoolean(this JsonElement element,
string propertyName)
{
return element.TryGetProperty(propertyName, out var property)
&& property.ValueKind is... | 2.840905 | 46c61c99dfbd6954e056641c76641aef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836384 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "dougperkes/Mail-API-Win10-UWP",
"max_stars_repo_path": "MailClientWin10App/Converters/ControlExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155604"
} | starcoder | using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace MailClientWin10App.Converters
{
class ControlExtensions
{
public static string GetHTML(DependencyObject obj)
{
return (string)obj.GetValue(HTMLProperty);
}
public static void SetHTML(DependencyObject... | 2.739457 | 70e2950b232a7fdc732fdeade8c04f6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836385 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Pjanssen/ScriptCenter",
"max_stars_repo_path": "ScriptCenter/DevCenter/Forms/InstallerUIForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155605"
} | starcoder | <filename>ScriptCenter/DevCenter/Forms/InstallerUIForm.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using ScriptCenter.Package;
using ScriptCenter.Rep... | 2.237253 | 1114ac24ee88822e8fbbeb20d3572aa0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836386 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TJF0700/Koden",
"max_stars_repo_path": "Koden.Utils.Logger/Logger/RunningLog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155606"
} | starcoder | <reponame>TJF0700/Koden<gh_stars>0
#region License
// Copyright (c) 2014 <NAME>
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the 'Software'), to deal in the Software without
// restriction, including without limitation the ... | 2.109115 | 17149775c1b245affb59913f59299a6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836387 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "CosmosProgramme/Cosmos.Standard",
"max_stars_repo_path": "src/Cosmos.Logging/Cosmos/Logging/Core/ArgsHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155607"
} | starcoder | using System.Collections.Generic;
using System.Linq;
namespace Cosmos.Logging.Core {
internal static class ArgsHelper {
public static object[] CleanUp(object[] messageTemplateParameters) {
if (messageTemplateParameters == null)
return null;
var ret = new List<object... | 2.573348 | 28412f65f8b87a7821b1a9e83a027e1d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836388 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MiracleDevs/Paradigm.CodeGen",
"max_stars_repo_path": "src/Paradigm.CodeGen.Output/IOutputPlugin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155608"
} | starcoder | using Paradigm.CodeGen.Output.Models.Configuration;
using Paradigm.Core.DependencyInjection.Interfaces;
namespace Paradigm.CodeGen.Output
{
public interface IOutputPlugin
{
void RegisterPlugin(OutputConfiguration configuration, IDependencyBuilder builder);
}
} | 1.335515 | 51f49ac60a0afdf61e7697d520e39cc7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836389 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jraadt/okta-aspnet",
"max_stars_repo_path": "Okta.AspNetCore.WebApi.IntegrationTest/Controllers/MessageController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155609"
} | starcoder | <filename>Okta.AspNetCore.WebApi.IntegrationTest/Controllers/MessageController.cs
// <copyright file="MessageController.cs" company="Okta, Inc">
// Copyright (c) 2018-present Okta, Inc. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.... | 2.18271 | 7369ae5dbcfdc47b41e0376dcf8a0963 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836390 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ishanshastri/ExpertSystem",
"max_stars_repo_path": "ExpertSystem/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155610"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Xml.Serialization;
namespace ExpertSystem
{//Check Out: https://skilldrick.github.io/easy6502/
class Program
{
/// <summary>
/// The list of rules (knowledge base)
/// </summary>
s... | 3.035103 | 3574e98c3ee38d2326ee87718d7b9119 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836391 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "15835229565/EasyOffice",
"max_stars_repo_path": "EasyOffice/Filters/RequiredFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155611"
} | starcoder | using EasyOffice.Attributes;
using EasyOffice.Enums;
using EasyOffice.Filters;
using EasyOffice.Interfaces;
using EasyOffice.Models.Excel;
using EasyOffice.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace EasyOffice.Filters
{
/// <summary>
... | 2.213922 | 119c7b6fdad09fcffda35ee69a0e7b3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836392 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "sucrose0413/LykkeWalletAPI",
"max_stars_repo_path": "LykkeApi2/Models/ClientAccountModels/UserInfoResponseModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155612"
} | starcoder | using Lykke.Service.Kyc.Abstractions.Domain.Verification;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace LykkeApi2.Models.ClientAccountModels
{
public class UserInfoResponseModel
{
public string Email { get; set; }
public string FirstName { get; set; }
public string... | 1.596295 | 36902fcea98c4ec76c9c93736415c8de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836393 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tobytop/Lamp",
"max_stars_repo_path": "src/Lamp.Core/Filter/FilterContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155613"
} | starcoder | using Lamp.Core.Protocol.Communication;
using Lamp.Core.Protocol.Server;
using System;
using System.Collections.Generic;
namespace Lamp.Core.Filter
{
public class FilterContext
{
/// <summary>
/// 头部
/// </summary>
public Payload Payload { get; set; }
/// <summary>
... | 1.699462 | 9c6b01f1b8367323bf0180af892830ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836394 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hellocrex/PoissonSoft.CommonUtils",
"max_stars_repo_path": "Src/PoissonSoft.CommonUtils/EncodingExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155614"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace PoissonSoft.CommonUtils
{
/// <summary>
/// Encoding extensions
/// </summary>
public static class EncodingExtension
{
/// <summary>
/// Convert bytes to hex
/// </summary>
/// <param name=... | 3.187946 | 70d148262da61ff982fc45127151e77a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836395 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "YouenZeng/LeetCode",
"max_stars_repo_path": "LeetCode/LeetAgain/WordPatternSln.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155615"
} | starcoder | <filename>LeetCode/LeetAgain/WordPatternSln.cs
using System;
using System.Collections.Generic;
namespace LeetCode.LeetAgain
{
public class WordPatternSln : ISolution
{
public bool WordPattern(string pattern, string str)
{
string[] arr = str.Split(' ');
if (pattern.Length... | 3.768964 | d7a166fcde7681b57831e84c2abb3bd5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836396 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DFE-Digital/trams-data-api",
"max_stars_repo_path": "TramsDataApi/Gateways/IConcernsCaseGateway.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155616"
} | starcoder | using System.Collections.Generic;
using TramsDataApi.DatabaseModels;
namespace TramsDataApi.Gateways
{
public interface IConcernsCaseGateway
{
ConcernsCase SaveConcernsCase(ConcernsCase concernsCase);
IList<ConcernsCase> GetConcernsCaseByTrustUkprn(string trustUkprn, int page, int count);
... | 1.598506 | e61f7e7339310b09dd3c934252d44a7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836397 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ekzyis/CrypTool-2",
"max_stars_repo_path": "LibSource/OpenCLNet/Device.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155617"
} | starcoder | /*
* Copyright (c) 2009 <NAME>(<EMAIL>)
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge,... | 2.350989 | b6541efc5ca7eccc0859557e8095c940 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836398 | {
"extension": "c-sharp",
"max_stars_count": "17707.0",
"max_stars_repo_name": "shenzhiming88/ScreenToGif",
"max_stars_repo_path": "ScreenToGif/Capture/RegionSelectHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155618"
} | starcoder | <reponame>shenzhiming88/ScreenToGif
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using ScreenToGif.Native;
using ScreenToGif.Util;
using ScreenToGif.Windows.Other;
namespace ScreenToGif.Capture
{
internal static class RegionSelectHelper
{
int... | 2.413868 | 48448c666ef93d5dcaec17393be6a0b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836399 | {
"extension": "c-sharp",
"max_stars_count": "361.0",
"max_stars_repo_name": "TypeTen/HunterPie",
"max_stars_repo_path": "HunterPie.Core/Logger/Debugger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155619"
} | starcoder | using System;
using System.Collections.ObjectModel;
using System.Text;
using System.Windows;
using System.Windows.Threading;
using HunterPie.Utils;
using Newtonsoft.Json;
namespace HunterPie.Logger
{
public struct LogString
{
public string Message { get; set; }
public object Color { get; set; ... | 2.938728 | b95c430ab2901be797d78250b143950c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836400 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "htna/HCsbLib",
"max_stars_repo_path": "HCsbLib/HCsbLib/HTLib2.Bioinfo/External.Tinker/src/i_atmlst.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155620"
} | starcoder | namespace HTLib2.Bioinfo
{
public partial class Tinker
{
public partial class Src
{
///
///
/// ###################################################
/// ## COPYRIGHT (C) 1992 by <NAME> ##
/// ## All Rights Reserved ##
/// #########################################... | 1.930308 | 373f623d88ec88409fa862726ef7941b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836401 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "webbod/AccountManager",
"max_stars_repo_path": "AccountManager.Interfaces/Accounts/Repository/IAccountUpdater.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155621"
} | starcoder | <gh_stars>1-10
using AccountManager.Interfaces.DataStore;
namespace AccountManager.Interfaces.Accounts.Repository
{
public interface IAccountUpdater : IUpdater<IAccountCredentials, IAccount>
{
}
} | 1.011355 | 6ea4a46609a2cf98162d0378304ddb0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836402 | {
"extension": "c-sharp",
"max_stars_count": "144.0",
"max_stars_repo_name": "jlariono/Carbon",
"max_stars_repo_path": "Source/TaskScheduler/TaskInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155622"
} | starcoder | <reponame>jlariono/Carbon<gh_stars>100-1000
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | 1.656092 | dd1e9e90652ca7ec9be1dc1267447e71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836403 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rossiyareich/WaveshareTouchscreenFix3",
"max_stars_repo_path": "HID.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155623"
} | starcoder | #define RECIEVERAW
#undef RECIEVERAW
using SharpLib.Hid;
using SharpLib.Win32;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using Timer = System.Windows.Forms.Timer;
namespace WaveshareTouchscreenFix3
{
public class HID
{
private... | 2.218505 | b1b20c01333e2efc0216c05469f6873f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836404 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-mashfield/WeatherApp2",
"max_stars_repo_path": "WeatherViewerApplication/Views/TitleBar.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155624"
} | starcoder | using System.Windows.Controls;
namespace WeatherViewerApplication.Views
{
/// <summary>
/// Interaction logic for TitleBar
/// </summary>
public partial class TitleBar : UserControl
{
public TitleBar()
{
InitializeComponent();
}
}
}
| 1.554 | b1299c784c25387b1da5d9fc5e372401 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836405 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "adrenalynn/ColonyCommandsMod",
"max_stars_repo_path": "src/AreaShowCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155625"
} | starcoder | <reponame>adrenalynn/ColonyCommandsMod
using System.Collections.Generic;
using System.Text.RegularExpressions;
using Pipliz;
using Chatting;
using Chatting.Commands;
namespace ColonyCommands
{
public class AreaShowCommand : IChatCommand
{
public bool TryDoCommand(Players.Player causedBy, string chattext, List<stri... | 2.268909 | 4955c14812f551e6b7b47427fd2444ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836406 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mouseflow/elasticsearch-net",
"max_stars_repo_path": "src/Examples/Examples/Root/MappingPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155626"
} | starcoder | using Elastic.Xunit.XunitPlumbing;
using Nest;
namespace Examples.Root
{
public class MappingPage : ExampleBase
{
[U]
public void Line141()
{
// tag::b311b42b7dcc69821df1f77bfaf2d50d[]
var createIndexResponse = client.Indices.Create("my_index", c => c
.Map(m => m
.Properties(p => p
.Text(t... | 2.039409 | 1caa27727c4bc4e7c6722c8326fd0152 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836407 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "sebastiencambon/CoreSync",
"max_stars_repo_path": "Sample.TodoList.API/WebHostExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155627"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Sample.TodoList.Entities.Shared;
namespace Sample.TodoList.API
{
public static class WebHost... | 2.002954 | 157bc3e31ae4bdee43cd51f87bef5d88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836408 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kabieror/PropertyBot",
"max_stars_repo_path": "src/PropertyBot.Provider.Wunschimmo/WunschimmoProviderBootstrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155628"
} | starcoder | using PropertyBot.Common.Ioc;
using PropertyBot.Interface;
using PropertyBot.Provider.Wunschimmo.Converter;
using PropertyBot.Provider.Wunschimmo.WebClient;
namespace PropertyBot.Provider.Wunschimmo
{
public class WunschimmoProviderBootstrapper
{
public static void Register(IIocContainer iocContainer)... | 1.419733 | 19bac73a967b6a79ff2dad56ada6881c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836409 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "liupeirong/Azure",
"max_stars_repo_path": "PowerBIISV/pbipaembed/Controllers/MyReportController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155629"
} | starcoder | using System;
using System.Configuration;
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using Microsoft.PowerBI.Api.V2;
using Microsoft.PowerBI.Api.V2.Models;
using Microsoft.Rest;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using System.Security.Cl... | 1.997972 | 09105dcb8faf61d59bde880f1cf9c03b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sharpie86/taxjar.net",
"max_stars_repo_path": "src/Taxjar/Entities/TaxjarCategory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155630"
} | starcoder | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Taxjar
{
public class CategoriesResponse
{
[JsonProperty("categories")]
public List<Category> Categories { get; set; }
}
public class Category
{
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("product_tax_code")... | 1.97577 | 479c1d541b79be46469423154cb26c99 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836411 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "akpobatuka/akpobatuka",
"max_stars_repo_path": "Assets/_Script/gym_items/use_item_UI_toggle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155631"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using UnityEngine.UI;
using System;
namespace AssemblyCSharp {
public class use_item_UI_toggle : MonoBehaviour, IComparable<use_item_UI_toggle> {
public int id = 0;
public int name_id;
public int desc_id;
Image _image = null;
Image _imageQ = nu... | 2.165193 | 658e4bb6554e040d50cb2df1e661d9bc |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.