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 | 8832212 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "rollrat/custom-crawler",
"max_stars_repo_path": "CustomCrawler/chrome-devtools/Method/Network/GetCookies.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151432"
} | starcoder | /***
Copyright (C) 2020. rollrat. All Rights Reserved.
Author: Custom Crawler Developer
***/
using CustomCrawler.chrome_devtools.Types.Network;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CustomCrawle... | 1.684314 | 475c496e7eae434f6f32ae63c3ab03ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832213 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jxdong1013/archivems",
"max_stars_repo_path": "pc/ArchiveMS/UILibrary/Controls/HotKeySetControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151433"
} | starcoder | 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;
namespace TCUILibrary.Controls
{
public partial class HotKeySetControl : TCBaseControl
{ /// <summary>
/// 标记热键是否设置
... | 2.640009 | d69ce2c9edf1ef4dd1cb820b305d1549 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832214 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "las6731/homenotify",
"max_stars_repo_path": "HomeNotify.Android/MainActivity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151434"
} | starcoder | <reponame>las6731/homenotify
using System.Collections.Generic;
using System.Net.Http;
using Android.App;
using Android.OS;
using Android.Support.V7.App;
using Android.Runtime;
using Android.Widget;
using Android.Content;
using Android.Gms.Common;
using Android.Util;
using Firebase.Messaging;
using Firebase.Iid;
using ... | 1.884718 | 13df3bfb7dbe509139fdabfe5f5cb5f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832215 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hunter-ltd/Name-From-Game",
"max_stars_repo_path": "WatcherLib/Watcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151435"
} | starcoder | #nullable enable
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using WindowsTools;
namespace WatcherLib
{
/// <summary>
/// A derived class of <see cref="FileSystemWatcher"/>.
... | 2.952562 | 20d91178e10744f7e88aa9a16a757da6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832216 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "LaudateCorpus1/distributed-architecture-of-moba-game-server",
"max_stars_repo_path": "PurificationPioneer/Assets/PurificationPioneer/Script/Battle/LocalCameraHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151436"
} | starcoder | using System;
using Cinemachine;
using PurificationPioneer.Scriptable;
using ReadyGamerOne.Common;
using UnityEngine;
using UnityEngine.Assertions;
namespace PurificationPioneer.Script
{
public class LocalCameraHelper : MonoSingleton<LocalCameraHelper>
{
[SerializeField]private Camera usedCamera;
... | 2.121649 | be64f9a521efe1c93a577cc3343dc624 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832217 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bySawka/sharp_software_testing",
"max_stars_repo_path": "addressbook-web-test/addressbook-web-test/tests/ContactCreationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151437"
} | starcoder | using NUnit.Framework;
using System.Collections.Generic;
using System.Xml.Serialization;
using Newtonsoft.Json;
using System.IO;
namespace WebAddressbookTests
{
[TestFixture]
public class ContactCreationTests : ContactBaseTest
{
public static IEnumerable<ContactData> RandomContactDataProvider()
... | 2.658144 | 9250e057c24d63ab7f60c65c9eed0aeb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832218 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YusupFayzrahmanov/WebApp_TransportCompany",
"max_stars_repo_path": "Controllers/RefuelingController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151438"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WebApp_TransportCompany.Extensions;
using WebApp_Transpo... | 2.060027 | 78e4da61a2aed4e51a9eb417f76c9d1d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832219 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DejaFu/FlyCasual",
"max_stars_repo_path": "Assets/Scripts/Model/Content/Core/Ability/TemplateAbilities/TriggeredAbility/TriggersForAbility/BeforeYouExecuteManeuver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151439"
} | starcoder | using Movement;
using Ship;
namespace Abilities
{
public class BeforeYouExecuteManeuver : TriggerForAbility
{
private TriggeredAbility Ability;
private ConditionsBlock Conditions;
public BeforeYouExecuteManeuver(ConditionsBlock conditions)
{
Conditions = conditions... | 2.553405 | 5eee9b7567e544ee8aff0d3efada8748 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832220 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "celigo/netsuite-service-manager-dotnet",
"max_stars_repo_path": "ServiceManager/SuiteTalk/ISearchRecord.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151440"
} | starcoder | <reponame>celigo/netsuite-service-manager-dotnet
namespace com.celigo.net.ServiceManager.SuiteTalk
{
/// <summary>
/// Represents basic criteria for a NetSuite search.
/// </summary>
public interface ISearchBasic { }
/// <summary>
/// Represents a NetSuite Search
/// </summary>... | 2.219827 | fdee3c2291c22d52b91a8f2e638f10af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832221 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Dobartek/wspay-dotnet",
"max_stars_repo_path": "WSPay.Net/Models/Responses/ProcessPaymentResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151441"
} | starcoder | namespace WSPay.Net
{
using Newtonsoft.Json;
public class ProcessPaymentResponse : ProcessPaymentRequest
{
[JsonProperty("WSPayOrderId")]
public string WSPayOrderId { get; set; }
[JsonProperty("ApprovalCode")]
public string ApprovalCode { get; set; }
[Json... | 1.835094 | fbd6b774851094e4901e47b7b74e47d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832222 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "finphie/BitbankDotNet",
"max_stars_repo_path": "tests/BitbankDotNet.Tests/PrivateApis/BitbankRestApiClientGetCurrencyPairSettingsAsyncTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151442"
} | starcoder | <reponame>finphie/BitbankDotNet<filename>tests/BitbankDotNet.Tests/PrivateApis/BitbankRestApiClientGetCurrencyPairSettingsAsyncTest.cs
using System;
using System.Diagnostics.CodeAnalysis;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using BitbankDotNet.InternalShared.H... | 2.060952 | eb9a8a05558567b4bcaf15ddea671dff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832223 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "skonves/Konves.ChordPro",
"max_stars_repo_path": "src/Konves.ChordPro/Directives/Alignment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151443"
} | starcoder | <reponame>skonves/Konves.ChordPro<gh_stars>1-10
namespace Konves.ChordPro.Directives
{
public enum Alignment
{
Center,
Left
}
}
| 1.236731 | d143a38927b21b06f17a1c0a407fcb20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832224 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dariogriffo/easy-evs",
"max_stars_repo_path": "tests/EasyEvs.Tests/Events/Orders/v2/OrderEventCancelled.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151444"
} | starcoder | namespace EasyEvs.Tests.Events.Orders.v2
{
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
using Contracts;
public class OrderEventCancelled : IEvent
{
[JsonConstructor]
public OrderEventCancelled(Guid id, DateTime timestamp, Guid... | 1.929993 | d7b282e40f227f13d0c09a3fd2844cb6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832225 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "dandeduck/asteroids-unlimited",
"max_stars_repo_path": "Assets/Scripts/Mechanics/Ships/Weapons/WeaponSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151445"
} | starcoder | <reponame>dandeduck/asteroids-unlimited
using UnityEngine;
public abstract class WeaponSystem : MonoBehaviour
{
public abstract void StartShooting(Ship target);
public abstract void StopShooting();
public abstract bool IsShooting();
}
| 1.969375 | 9aba2a5626f07b5db72d7be49afdf362 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832226 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wszhh/OnlineTest",
"max_stars_repo_path": "HOPU/Controllers/UifiedTestCenterController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151446"
} | starcoder | using HOPU.Models;
using HOPU.Services;
using Microsoft.AspNet.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using X.PagedList;
namespace HOPU.Controllers
{
[Authorize]
public class UifiedTestCenterController : Controller
{
private readonly ICou... | 2.199089 | 7bfd28a2f16b474683ac7026cce10c9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832227 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RuoyiJ/cute-top-down-scrolling-game",
"max_stars_repo_path": "Lemon One/Assets/Scripts/Player/PlayerMovement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151447"
} | starcoder | using UnityEngine;
using System.Collections;
public class PlayerMovement : MonoBehaviour
{
SpriteRenderer bg;
float screenHeight;
float scaleFactor;
[SerializeField, Range(0, 0.5f)]
float fixStartPointOnScreen;
[SerializeField, Range(1, 10f)]
float initSpeed;
public static bool IsAuto... | 2.024715 | 5dcd7890eb3a08d6ac4b176fc5306be1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832228 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Liburia/PathOfModifiers",
"max_stars_repo_path": "Dusts/LightningVapour.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151448"
} | starcoder | <gh_stars>1-10
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ModLoader;
namespace PathOfModifiers.Dusts
{
public class LightningVapour : ModDust
{
class CustomData
{
public int time;
public int currentFrame;
}
const float scaleMultiplier ... | 2.228173 | c4558e61823a951078f23009374f22b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832229 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DeStiCap/Dim-Mind",
"max_stars_repo_path": "Global Game Jam 2020/Assets/MainAsset/Scripts/Gameplay/MarkPointController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151449"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DSC.Core;
namespace GGJ2020
{
public class MarkPointController : MonoBehaviour
{
#region Variable
#region Variable - Inspector
#pragma warning disable 0649
[SerializeField] protected Transform[] m_ar... | 2.062144 | bcded3ea765f3c74ea3bda5421982631 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832230 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "drbeardsly/BeardslyStreamFailuresFS2020",
"max_stars_repo_path": "RandFailuresFS2020/FailuresCommon/Preset/SQLPresets.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151450"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;
using System.Data.SQLite;
using Dapper;
namespace FailuresCommon
{
public class SQLPresets : SQLiteDataAccess
{
public static List<PresetModel> LoadPresets()
{
using (IDbConnection cnn = new SQLit... | 2.54618 | bc0b3d1b3f193109b77d98c7e2318d90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832231 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cheficha/TelerikAcademyAlpha",
"max_stars_repo_path": "StudentGroups/StudentGroups/Order.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151451"
} | starcoder | <filename>StudentGroups/StudentGroups/Order.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StudentGroups
{
public static class Order
{
public static void Group(this List<Student> students)
{
var order... | 3.392895 | 72b836317b9a5c062476bcbaac6f0885 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832232 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arturo1212/comFORT",
"max_stars_repo_path": "Assets/TerrainAssets/NoiseSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151452"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class NoiseSettings
{
public enum FilterType { Simple, Cushion}
public FilterType filterType;
[ConditionalHide("filterType", 0)]
public SimpleNoiseSettings simpleNoiseSettings;
[ConditionalH... | 2.450758 | a5228cca6b467101ea567596db507a35 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832233 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "roccacreative/crumb-crm",
"max_stars_repo_path": "src/CrumbCRM.Web/Controllers/SearchController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151453"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CrumbCRM.Services;
using CrumbCRM.Enums;
using System.Web.Security;
using CrumbCRM.Filters;
using CrumbCRM.Web.Filters;
using CrumbCRM.Web.Models;
using CrumbCRM.Web.Helpers;
using Newtonsoft.Json;
namesp... | 2.216242 | cf117e365d0f95c448466feb12eb338b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832234 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "hub-burgan-com-tr/bbt.endorsement",
"max_stars_repo_path": "dms/Dms.Integration.Api/Services/MessagingService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151454"
} | starcoder | using Dms.Integration.Api.Models.Messages;
using Dms.Integration.Infrastructure.Extensions;
using Newtonsoft.Json;
using RestSharp;
namespace Dms.Integration.Api.Services;
public interface IMessagingService
{
Task<SendMailResponse> SendMailTemplateAsync(SendEmailTemplateRequest request);
Task<MessagingRespo... | 2.292967 | 5e24507f07a510b7dbed2dcdeea56d1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832235 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DenisWO/MyCommerce",
"max_stars_repo_path": "src/MyCommerce.App/obj/Debug/netcoreapp3.1/Razor/Views/Products/Index.cshtml.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151455"
} | starcoder | #pragma checksum "D:\GitHub\MyCommerce\src\MyCommerce.App\Views\Products\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "39ce031ced59aa49a9a0bf7482bc92cac544053c"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.... | 1.584481 | aa7991c7015d0412c4d40820b71614cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832236 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Squirrelbear/FourthWorkshopDemoProject",
"max_stars_repo_path": "TeamvsTeamGame/Assets/Scripts/Templates/StatusActions/IfHasStatusEffectStatusAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151456"
} | starcoder | <filename>TeamvsTeamGame/Assets/Scripts/Templates/StatusActions/IfHasStatusEffectStatusAction.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "IfHasStatusEffectStatusAction", menuName = "Team Objects/StatusAction/New IfHasStatusEffect StatusAction", order =... | 2.492654 | b8df9c59406fe0567ac282225de66a78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832237 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lucasvieiravicente/FatecMauaJobNewsletterBlazor",
"max_stars_repo_path": "Services/AdminServices/JobAdminService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151457"
} | starcoder | <gh_stars>0
using FatecMauaJobNewsletter.Domains.Consts;
using FatecMauaJobNewsletter.Domains.Models.Request;
using FatecMauaJobNewsletter.Domains.Utils;
using FatecMauaJobNewsletter.Services.Interfaces.AdminServices;
using System;
using System.Threading.Tasks;
namespace FatecMauaJobNewsletter.Services.AdminServices
... | 1.483123 | 88af46e3429e00e2ea75f26ab775a2aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832238 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "PatrickRatzow/space-dotnet-sdk",
"max_stars_repo_path": "src/JetBrains.Space.Samples.Web/Pages/Logout.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:151458"
} | starcoder | <reponame>PatrickRatzow/space-dotnet-sdk
@page
@model JetBrains.Space.Samples.Web.Pages.Logout
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<title>Logout</title>
</head>
<body>
<div>
Logout
</div>
</body>
</html> | 1.370464 | 7f10a1fc57d72a60e72965411666d27b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832239 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "Nirad/Infusion",
"max_stars_repo_path": "Infusion.Desktop/Console/ConsoleContent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151459"
} | starcoder | <reponame>Nirad/Infusion
using Infusion.LegacyApi.Console;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
namespace Infusion.Desktop.Console
{
public sealed class ConsoleContent : INotifyPropertyChanged
{
private ObservableCollection<C... | 2.595336 | 9f9e03ed6fb3495e00da82353d29813e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832240 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexdresko/GutenTag.Hspi",
"max_stars_repo_path": "GutenTag.Hspi/Link.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151460"
} | starcoder | using GutenTag;
namespace GutenTag.Hspi
{
[Void]
public class Link : Tag
{
public Link() : base("link")
{
}
}
} | 1.526691 | 9fb81324d6a3f528121e8820b840b06b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832241 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CoolsJoris/NBi",
"max_stars_repo_path": "NBi.Core/Calculation/IResultSetFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151461"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RS = NBi.Core.ResultSet;
namespace NBi.Core.Calculation
{
public interface IResultSetFilter
{
RS.ResultSet Apply(RS.ResultSet rs);
RS.ResultSet AntiApply(RS.ResultSet rs);
... | 1.708954 | 5b35c3cafa7917c3a022453181215374 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832242 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vasilivanov93/SOFTUNI",
"max_stars_repo_path": "C#/01. Programing Basic C#/Project/05. Loops/10. HalfSumElement/HalfSumElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151462"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _10.HalfSumElement
{
class HalfSumElement
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
double sum = 0.0;
... | 3.849222 | fd7480f67999d18ef1cde2a52e117684 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832243 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vannghi20/DoAn_Web1",
"max_stars_repo_path": "ProjectWeb1/ProjectWeb1/Models/Customer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151463"
} | starcoder | <reponame>vannghi20/DoAn_Web1
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace ProjectWeb1.Models
{
public class Customer
{
public int Id { get; set; }
[StringLength(255)]
[Required(E... | 2.614136 | df4ac3e4807bc0151a1bd3c25c4a7f63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832244 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RixianOpenTech/RxWrappers",
"max_stars_repo_path": "Source/Wrappers/mscorlib/System.Text.EncoderFallback.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151464"
} | starcoder | <filename>Source/Wrappers/mscorlib/System.Text.EncoderFallback.cs
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using MS.Core;
namespace System.Text
{
public static class __EncoderFallback
{
public static IObservable<System.Text.Encod... | 2.092649 | 11f0bb09b9f9804783044cfb3b42a733 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832245 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fengjixuchui/AttackSurfaceAnalyzer",
"max_stars_repo_path": "Lib/Utils/RegistryWalker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151465"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using AttackSurfaceAnalyzer.Objects;
using Microsoft.Win32;
using Serilog;
using System;
using System.Collections.Generic;
namespace AttackSurfaceAnalyzer.Utils
{
public class RegistryWalker
{
public stati... | 2.405739 | 23911fb4784fa91a212a37161cc923f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832246 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "gdbobu/CocoStudio2.0.6",
"max_stars_repo_path": "CocoStudio.Model/ViewModel/PositionFrame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151466"
} | starcoder | // Decompiled with JetBrains decompiler
// Type: CocoStudio.Model.ViewModel.PositionFrame
// Assembly: CocoStudio.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 9A645332-034C-44D3-9062-5E94EDCB75FF
// Assembly location: C:\Program Files (x86)\Cocos\Cocos Studio 2\CocoStudio.Model.dll
using Coco... | 1.822537 | 12430497788547fc18c23880431cb08a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832247 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanielaIvanova/CSharp-Fundamentals",
"max_stars_repo_path": "05. Conditional-Statements/05.BiggestOf3/BiggestOf3.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151467"
} | starcoder | //Write a program that finds the biggest of three numbers that are read from the console.
using System;
class BiggestOf3
{
static void Main()
{
double a = double.Parse(Console.ReadLine());
double b = double.Parse(Console.ReadLine());
double c = double.Parse(Console.ReadLine());
... | 4.058494 | beecbdb0bf2803c62eae4e0221826572 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832248 | {
"extension": "c-sharp",
"max_stars_count": "474.0",
"max_stars_repo_name": "boxstack/google-cloud-dotnet",
"max_stars_repo_path": "apis/Google.Cloud.Logging.Console/Google.Cloud.Logging.Console.Tests/TestFormatterOptionsMonitor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151468"
} | starcoder | // Copyright 2020 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 2.014644 | f9fb02e7da0d6e57f296fe921a1a1d77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832249 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "UniGameTeam/UniGameFlow",
"max_stars_repo_path": "Runtime/NodeSystem/Interfaces/IValueConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151469"
} | starcoder | <reponame>UniGameTeam/UniGameFlow<gh_stars>10-100
namespace UniModules.GameFlow.Runtime.Interfaces
{
using Core;
using UniModules.UniCore.Runtime.ObjectPool.Runtime.Interfaces;
using UniModules.UniGame.Core.Runtime.Interfaces;
public interface IValueConnection<TValue> : IDataValue<TValue>,IPoolable
... | 1.653457 | ac9895ea671e980639888a0de3f55225 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832250 | {
"extension": "c-sharp",
"max_stars_count": "5973.0",
"max_stars_repo_name": "olirobert/uno",
"max_stars_repo_path": "src/SamplesApp/UITests.Shared/Windows_UI_Input/PointersTests/Capture.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151470"
} | starcoder | using System;
using System.Linq;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Uno.UI.Samples.Controls;
namespace UITests.Shared.Windows_UI_Input.PointersTests
{
[SampleControlInfo("Pointers", "Capture")]
public sealed partial class Capture : Page
{
public Capture()
{
this.InitializeComponent... | 2.231901 | 964a44a332fc6bbb0f959ecb963a36dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832251 | {
"extension": "c-sharp",
"max_stars_count": "86.0",
"max_stars_repo_name": "isabella232/google-cloud-visualstudio",
"max_stars_repo_path": "GoogleCloudExtension/GoogleCloudExtension/ProgressDialog/ProgressDialogWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151471"
} | starcoder | <reponame>isabella232/google-cloud-visualstudio
// Copyright 2016 Google Inc. All Rights Reserved.
//
// 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/license... | 2.555536 | 15c7752862da284612660e5f4cfb5be3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832252 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mysteryjeans/Feedbook",
"max_stars_repo_path": "Feedbook/Sync/ISynchronizer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151472"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Feedbook.Sync
{
internal interface ISynchronizer
{
void Start();
void Stop();
}
}
| 1.516266 | fb21099383987d56767b4bca439b8eb3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832253 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LuohuaRain/payment",
"max_stars_repo_path": "src/Essensoft.AspNetCore.Payment.Alipay/Response/MybankCreditCreditriskDsddAdmitConsultResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151473"
} | starcoder | <filename>src/Essensoft.AspNetCore.Payment.Alipay/Response/MybankCreditCreditriskDsddAdmitConsultResponse.cs
using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Response
{
/// <summary>
/// MybankCreditCreditriskDsddAdmitConsultResponse.
/// </summary>
public class Myba... | 1.869634 | 08259d35a675fb1d476469e62a65331e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832254 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "li-haobin/O2DESNet.Optimizer",
"max_stars_repo_path": "O2DESNet.Optimizer/IHasGradient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151474"
} | starcoder | <filename>O2DESNet.Optimizer/IHasGradient.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace O2DESNet.Optimizer
{
public interface IHasGradient : ISingleObjectiveEvaluator
{
IList<double> GetGradient(IList<double> decisions);
}
}
| 1.706233 | 04cad9238fafec83a10aee3231b118c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832255 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hsytkm/Roix",
"max_stars_repo_path": "src/Roix.Core/RoixSize.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151475"
} | starcoder | using Roix.Core.Extensions;
using System;
using System.Runtime.CompilerServices;
namespace Roix.Core
{
//public interface IRoixSize<T> where T : struct, IComparable<T>
//{
// public T Width { get; }
// public T Height { get; }
//}
public record RoixSize<T> /*: IRoixSize<T>*/ where T : s... | 2.95361 | 58ef263bb458a9e115ed27d729fe70d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832256 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ushamandya/xenadmin",
"max_stars_repo_path": "XenModel/XenAPI-Extensions/IVMPolicy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151476"
} | starcoder | <reponame>ushamandya/xenadmin
/* Copyright (c) <NAME>, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* co... | 1.305764 | 49d6f8a2a9b6a29b98c1826ce005c876 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832257 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ukod/LiveScreenWallpaper",
"max_stars_repo_path": "LiveScreen/MainForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151477"
} | starcoder | <reponame>ukod/LiveScreenWallpaper<filename>LiveScreen/MainForm.Designer.cs
namespace LiveScreen
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
///... | 1.980991 | 5aa6c0df3b05593a0d56add2449e59dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832258 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BillHertzing/OpenSourceProjects",
"max_stars_repo_path": "CryptoCurrency/Get-HashrateToCoin/WebGet/WebRequestIDT.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151478"
} | starcoder | using System;
namespace ATAP.WebGet
{
public class WebRequestIDT : IWebRequestIDT
{
string webRequestIDStr;
public WebRequestIDT(string webRequestIDStr)
{
this.webRequestIDStr = webRequestIDStr;
}
public string WebRequestIDStr { get => webRequestIDStr; set =>... | 2.203605 | 1ebc65f41d8290ddae6e53c84c7d32c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832259 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "game-forest/Citrus",
"max_stars_repo_path": "Lime/Extensions/DynamicFont/CharCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151479"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using Lime.Graphics.Platform;
namespace Lime
{
class CharCache
{
private DynamicTexture texture;
private IntVector2 position;
private int lineAdditionalHeight; // Used for lines containing glyphs with diacritics.
private readonly List<ITexture>... | 2.745053 | e4ec44189cbad9aacd4164795f7f799b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832260 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hancheester/apollo",
"max_stars_repo_path": "Dache/Apollo.Dache.Client/ICacheClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151480"
} | starcoder | <filename>Dache/Apollo.Dache.Client/ICacheClient.cs
using System;
using System.Collections.Generic;
namespace Apollo.Dache.Client
{
/// <summary>
/// Represents a cache client.
/// </summary>
public interface ICacheClient
{
/// <summary>
/// Gets the object stored at the given cach... | 2.967918 | 6441b3944fdeca992efbf957f8cca370 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832261 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HectorRPC/Toggl2Excel",
"max_stars_repo_path": "Toggl.Foundation.Tests/MvvmCross/Combiners/DateTimeOffsetDateFormatValueCombinerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151481"
} | starcoder | using System;
using System.Collections.Generic;
using FluentAssertions;
using MvvmCross.Binding.Bindings.SourceSteps;
using MvvmCross.Converters;
using Toggl.Foundation.MvvmCross.Combiners;
using Toggl.Multivac;
using Xunit;
namespace Toggl.Foundation.Tests.MvvmCross.Combiners
{
public sealed class DateTimeOffset... | 2.188236 | 025c4695e6db65da8cdfa725b6233d79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832262 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AGranosik/LetChooseTeams",
"max_stars_repo_path": "LCT/LCT.Core/Entites/Tournaments/ValueObjects/TournamentLimit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151482"
} | starcoder | <gh_stars>0
using LCT.Core.Entites.Tournaments.Exceptions;
using LCT.Core.Shared.Exceptions;
namespace LCT.Core.Entites.Tournaments.ValueObjects
{
public class TournamentLimit
{
public TournamentLimit(int limit)
{
Validate(limit);
Limit = limit;
}
public... | 2.265241 | 840b17cd504cc2a1daac3f890cc5e9f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832263 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SimonCropp/elasticsearch-net",
"max_stars_repo_path": "src/Elastic.Clients.Elasticsearch/_Generated/Types/Ml/JobStats.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151483"
} | starcoder | <reponame>SimonCropp/elasticsearch-net<filename>src/Elastic.Clients.Elasticsearch/_Generated/Types/Ml/JobStats.g.cs<gh_stars>0
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more ... | 1.419242 | 062f575966d2c71bf9c48867008b7f02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832264 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "alessandraurso/gameoff2020",
"max_stars_repo_path": "Unity Project/Assets/SCRIPT/PopulationManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151484"
} | starcoder | <filename>Unity Project/Assets/SCRIPT/PopulationManager.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PopulationManager : MonoBehaviour
{
// Animation curves for convenience
public AnimationCurve populationCurve;
public AnimationCurve deathProbabilityCurve;... | 2.470655 | df169f437a2d6ee2a5c839316837e8c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832265 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "danielwcarey/BlazorGamepad",
"max_stars_repo_path": "src/DanielCarey.Blazor.Controls/Services/GamepadEndpointRouteBuilderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151485"
} | starcoder | <gh_stars>1-10
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
/// <summary>
/// This Extension builder requires IEndpointRouteBuilder, which isn't available in a separate NuGet package.
/// I opt... | 2.335699 | ef4457146f6862a12bad664dc45bd821 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832266 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yp-creative/yop-net-sdk",
"max_stars_repo_path": "SDK/yop.encrypt/AESEncrypter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151486"
} | starcoder | <reponame>yp-creative/yop-net-sdk<gh_stars>0
using SDK.yop.utils;
using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Text;
namespace SDK.yop.encrypt
{
public class AESEncrypter
{
/// <summary>
/// AES加密
/// </summary>
/// <param name="encryptStr">明文</p... | 2.311634 | 2d6ec681ed8c96a0b56bee3e7dc5aeef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832267 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "joncloud/tetrominoes",
"max_stars_repo_path": "src/Tetrominoes/MatchState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151487"
} | starcoder | namespace Tetrominoes
{
public enum MatchState
{
Playing,
Paused,
Lost
}
}
| 1.550097 | 4059364c865541cd8ebaffe707abc2a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832268 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "gehongyan/KaiHeiLa.Net",
"max_stars_repo_path": "src/KaiHeiLa.Net.Core/Entities/Messages/Cards/Modules/IModuleBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151488"
} | starcoder | namespace KaiHeiLa;
/// <summary>
/// A generic module builder for creating an <see cref="IModule"/>.
/// </summary>
public interface IModuleBuilder
{
/// <summary>
/// Specifies the module type of the <see cref="IModule"/> this builder creates.
/// </summary>
/// <returns>
/// A <see c... | 2.667876 | e6d714026edc1ee8d44b8a0f700aff09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832269 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrRomo/Super-Extreme-Roll-Ball-Game-Rally",
"max_stars_repo_path": "Assets/PostProcesingControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151489"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.PostProcessing;
using GameBall;
using UnityEngine.UI;
public class PostProcesingControl : MonoBehaviour {
public GameObject player;
public Toggle ChromaB, BloomB, ColorB;
PostProcessingBehaviour filters... | 1.779608 | 4c55c7fd8d453cd91447c5ab606564b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832270 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "interlockledger/interlockledger-tags",
"max_stars_repo_path": "InterlockLedger.Tags/Crypto/Types/Keys/RSA/RSAHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151490"
} | starcoder | // ******************************************************************************************************************************
//
// Copyright (c) 2018-2021 InterlockLedger Network
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided... | 2.148895 | 7803423fdc5be358ee70d72a01473156 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832271 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jmreynolds/CSharp8",
"max_stars_repo_path": "Samples/RangesAndIndices/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151491"
} | starcoder | <filename>Samples/RangesAndIndices/Program.cs
using System;
using System.Collections.Generic;
using static System.Console;
namespace RangesAndIndices
{
class Program
{
static void Main(string[] args)
{
foreach (var name in GetNames())
{
WriteLine(name);
... | 3.702358 | 241ac43d94f6d6b3f6ccfec39e119e6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832272 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tivtag/Silverlight.LangtonsAnt",
"max_stars_repo_path": "Source/Direction4.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151492"
} | starcoder | <filename>Source/Direction4.cs
// <copyright file="Direction4.cs" company="federrot Software">
// Copyright (c) federrot Software. All rights reserved.
// </copyright>
// <summary>
// Defines the Ant.Direction4 enumeration.
// </summary>
// <author>
// <NAME>
// </author>
namespace Ant
{
/// <summary>... | 2.549245 | 6b43d5cc0821d2a45e083ba614f79c40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832273 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vesy53/SoftUni",
"max_stars_repo_path": "C# Advanced/C# OOP/Exams/BasicsExamRetake26April2018/StorageMaster/StorageMaster/Entities/Storages/Warehouse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151493"
} | starcoder | namespace StorageMaster.Entities.Storages
{
using StorageMaster.Entities.Vehicles;
public class Warehouse : Storage
{
private const int InitialCapacity = 10;
private const int InitialGarageSlots = 10;
private static Vehicle[] InitialVehicles = new Vehicle[]
{
n... | 2.497883 | 3f03a82be118fdf7426d3f0e8a2926a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832274 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZornitsaM/CSharp-OOP-Tasks",
"max_stars_repo_path": "Exams/Exam - 22.08.2020/1. First Task/EasterRaces/Core/ChampionshipController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151494"
} | starcoder | <filename>Exams/Exam - 22.08.2020/1. First Task/EasterRaces/Core/ChampionshipController.cs
using EasterRaces.Core.Contracts;
using EasterRaces.Models.Cars;
using EasterRaces.Models.Cars.Contracts;
using EasterRaces.Models.Drivers;
using EasterRaces.Models.Races;
using EasterRaces.Repositories;
using EasterRaces.Util... | 2.736249 | 39bf905145f93ca34df369393a0d8826 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832275 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chr1sto/orbit",
"max_stars_repo_path": "Orbit.Domain/GameCharacter/Commands/CharacterCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151495"
} | starcoder | using Orbit.Domain.Core.Commands;
using System;
using System.Collections.Generic;
using System.Text;
namespace Orbit.Domain.GameCharacter.Commands
{
public abstract class CharacterCommand : Command
{
public Guid Id { get; protected set; }
public DateTime UpdatedOn { get; protected set; }
... | 1.916526 | f4e8cb485b5a5d8100a17355284d54fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832276 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bezzad/ReoGrid",
"max_stars_repo_path": "DemoJP/Worksheet/OnlyNumberInputDemo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151496"
} | starcoder | <reponame>bezzad/ReoGrid
/*****************************************************************************
*
* ReoGrid - .NET 表計算スプレッドシートコンポーネント
* https://reogrid.net/jp
*
* ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。
*
* このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、
* 著作権者は補償を含むあらゆる責任を負いません。
*
* Copyright ... | 1.775768 | d17b8dc5a366ae347e9f938f0bc3b8b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832277 | {
"extension": "c-sharp",
"max_stars_count": "2066.0",
"max_stars_repo_name": "JosephTico/UtinyRipper",
"max_stars_repo_path": "uTinyRipperCore/Parser/Classes/Texture3D.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151497"
} | starcoder | using System;
using System.Collections.Generic;
using uTinyRipper.Classes.Textures;
using uTinyRipper.Converters;
using uTinyRipper.YAML;
using uTinyRipper.Classes;
using uTinyRipper.Classes.Misc;
namespace uTinyRipper.Classes
{
public sealed class Texture3D : Texture
{
public Texture3D(AssetInfo assetInfo) :
b... | 2.352154 | d52a503296e5d5a835e035d4391f9576 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832278 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danielcrenna/ActiveOps",
"max_stars_repo_path": "src/ActiveOps/Controllers/CachesDebugController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151498"
} | starcoder | // Copyright (c) <NAME> & Contributors. 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 ActiveCaching;
using ActiveRoutes;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensio... | 1.822037 | 858001f977abfef2f5380bbc71e26496 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832279 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/AspNetWebStack",
"max_stars_repo_path": "src/Microsoft.Web.Mvc/ModelBinding/KeyValuePairModelBinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151499"
} | 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.Collections.Generic;
using System.Web.Mvc;
namespace Microsoft.Web.Mvc.ModelBinding
{
public sealed class KeyValuePairModelBinder<TKe... | 2.062263 | d98aba9e9770092e380e8b1cc1ff0570 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832280 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rbrink/Animal-Register",
"max_stars_repo_path": "Source/AnimalRegister.Application/Services/Management/Entries/Dtos/DeleteEntryInput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151500"
} | starcoder | <reponame>rbrink/Animal-Register<gh_stars>0
using System.ComponentModel.DataAnnotations;
namespace AnimalRegister.Application.Management.Entries.Dtos
{
public class DeleteEntryInput
{
/// <summary>
/// Id of requested entry
/// </summary>
[Required]
public lon... | 1.824152 | 34531c9046759893a951adc0d79fc9d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832281 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "DLR-SC/island-viz",
"max_stars_repo_path": "Assets/OsgiViz_Classes/VR_Interaction/HierarchicalComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151501"
} | starcoder | <gh_stars>10-100
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using ignoreHovering = Valve.VR.InteractionSystem.IgnoreHovering;
namespace OsgiViz
{
public class HierarchicalComponent : MonoBehaviour{
public HierarchicalComponent parentComponent;
public List<Hie... | 2.434157 | a1d3f27f9252b907531caec26b585e5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832282 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AccelByte/accelbyte-csharp-sdk",
"max_stars_repo_path": "AccelByte.Sdk/Api/Platform/Operation/PaymentConfig/UpdatePaymentTaxConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151502"
} | starcoder | // Copyright (c) 2022 AccelByte Inc. All Rights Reserved.
// This is licensed software from AccelByte Inc, for limitations
// and restrictions contact your company contract manager.
// This code is generated by tool. DO NOT EDIT.
using System.Net;
using System.IO;
using System.Text.Json;
using AccelByte.Sdk.Api.Platf... | 1.674392 | f491007ff1c21a2d959da0a04ca8a216 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832283 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dreamnucleus/Commands",
"max_stars_repo_path": "DreamNucleus.Commands.Autofac.Tests/Common/DependencyPipeline.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151503"
} | starcoder | using DreamNucleus.Commands.Pipelines;
namespace DreamNucleus.Commands.Autofac.Tests.Common
{
public class DependencyPipeline : Pipeline
{
}
}
| 0.570705 | 649690d8c8d9b899787d4d3c8fbec1eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832284 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tianzhiyuan/Spellet",
"max_stars_repo_path": "src/Ors.Core.Autofac/ConfigurationExtensitions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151504"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Autofac;
using Ors.Core.Components;
using Ors.Core.Configurations;
namespace Ors.Core.Autofac
{
public static class ConfigurationExtensitions
{
public static Configuration UseAutofac(this Configurat... | 1.972666 | 1a6245a0f6c1f6c7c57eefe8defea6b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832285 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pieterdol/snake",
"max_stars_repo_path": "Assets/Scrips/SnakeBlock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151505"
} | starcoder | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SnakeBlock : MonoBehaviour
{
Vector3 position;
public GameObject top;
public GameObject bottom;
public GameObject left;
public GameObject right;
private GameManager gameManage... | 2.349703 | ccc3500e9de599906d343e6d8682ea1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832286 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "GridProtectionAlliance/openXDA",
"max_stars_repo_path": "Source/Libraries/openXDA.Configuration/FileWatcherSection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151506"
} | starcoder | <gh_stars>10-100
//******************************************************************************************************
// FileWatcherSection.cs - Gbtc
//
// Copyright © 2021, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license... | 2.175535 | 9cdeaf35ead64a5b843ed41af612df75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832287 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "grecojoao/FlyGon.Notifications",
"max_stars_repo_path": "tests/FlyGon.Notifications.Test/Validations/PhoneValidationContractTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151507"
} | starcoder | <reponame>grecojoao/FlyGon.Notifications
using FlyGon.Notifications.Validations;
using NUnit.Framework;
namespace FlyGon.Notifications.Test.Validations
{
class PhoneValidationContractTests
{
private const string MessageCellphone = "Invalid Cellphone";
private const string MessagePhone = "Inval... | 2.190584 | 4aebfbee2a91f6ae95682642b382f764 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832288 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChessGeekBoy/InstantAPIs",
"max_stars_repo_path": "Fritz.InstantAPIs/JsonAPIsConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151508"
} | starcoder | <gh_stars>0
using System.Text.Json.Nodes;
namespace Microsoft.AspNetCore.Builder;
internal class JsonAPIsConfig
{
internal HashSet<WebApplicationExtensions.TypeTable> Tables { get; } = new HashSet<WebApplicationExtensions.TypeTable>();
internal string JsonFilename = "mock.json";
}
public class JsonAPIsConfigB... | 2.665138 | c17a3f2b37d9939be3f50653f8542bb8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832289 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "AaronFriel/pulumi-aws-native",
"max_stars_repo_path": "sdk/dotnet/MediaLive/Inputs/ChannelHlsOutputSettingsArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151509"
} | starcoder | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.AwsN... | 1.43191 | 8a2465a52ad79e7ad84f60f7b303d255 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832290 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "poneymusical/Identity.Console",
"max_stars_repo_path": "Identity.Console/Base/IService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151510"
} | starcoder | <reponame>poneymusical/Identity.Console
using MediatR;
namespace Identity.Console.Base
{
public interface IService<in TOptions> : IRequestHandler<TOptions, int>
where TOptions : BaseOptions { }
} | 1.18027 | 5751c333a6be715ada8f9fe458bcd76d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832291 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "hismightiness/dnnextensions",
"max_stars_repo_path": "Modules/DNNHangout/Components/DateTimeConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151511"
} | starcoder | /*
' Copyright (c) 2015 <NAME>
' All rights reserved.
'
' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
' THE AUTHORS OR COPYRIGHT HOLDERS BE... | 2.54245 | 0c27ad134a20693bb4884772db1a2634 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832292 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mtcairneyleeming/DocumentAnnotation",
"max_stars_repo_path": "server/Pages/Texts/TextList.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151512"
} | starcoder | <filename>server/Pages/Texts/TextList.cshtml.cs
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
using DocumentAnnotation.Models;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFrameworkCore;
namespace DocumentAnnotation.Pages.Texts
{
public class Text... | 2.221777 | 82303ed71b0367b46e8b18914f49699c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832293 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "beango-project/beango-framework",
"max_stars_repo_path": "framework/src/Sprite.UidGenerator/DependencyInjection/UniqueIdGeneratorOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151513"
} | starcoder | <filename>framework/src/Sprite.UidGenerator/DependencyInjection/UniqueIdGeneratorOptions.cs
using System;
using System.Collections.Generic;
using Sprite.UidGenerator;
namespace Sprite.UidGenerator
{
public class UniqueIdGeneratorOptions
{
public UniqueIdGeneratorType UniqueIdGeneratorType { get; set; ... | 1.555048 | f92469bc759d15ca7af84a81ba0fce67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832294 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jinhong-/Manatee.Json",
"max_stars_repo_path": "Manatee.Json/Schema/SchemaLoadException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151514"
} | starcoder | using System;
namespace Manatee.Json.Schema
{
/// <summary>
/// Thrown when a schema could not be loaded.
/// </summary>
public class SchemaLoadException : Exception
{
internal SchemaLoadException(string message) : base(message) { }
}
} | 2.301771 | a49c1e871127a4a8619f15b838106dce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832295 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hamstercat/MediaBrowser.Channels",
"max_stars_repo_path": "MediaBrowser.Plugins.SoundCloud/SoundCloudListingDownloader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151515"
} | starcoder | using MediaBrowser.Common.Net;
using MediaBrowser.Controller.Channels;
using MediaBrowser.Model.Logging;
using MediaBrowser.Model.Serialization;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Plugins.SoundCloud
{
public class SoundCloudListingDownloa... | 2.243675 | 488aed4b59259138d6e41158fcf1a13d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832296 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "motz-art/OSM-pbf-convert",
"max_stars_repo_path": "OsmReader/PbfDataObjects/Blob.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151516"
} | starcoder | <gh_stars>1-10
using System.IO;
namespace OsmReader.PbfDataObjects
{
public class Blob
{
public BlobHeader Header { get; set; }
public Stream RawData { get; set; }
public long RawSize { get; set; }
public Stream DeflateData { get; set; }
public Stream LZMAData { get; se... | 1.690616 | bd779def62b40d79a2df6af88d91d5c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832297 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "public-department-of-science/grammar-analyzer",
"max_stars_repo_path": "GrammarAnalyzer/Analyzer.Parser/Parsers/Statements/PrintStatementParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151517"
} | starcoder | using Analyzer.Parser.Infrastructure.ParsingInfo;
using Analyzer.Parser.Infrastructure.Statements;
using Analyzer.Tokens;
using Grammar.Common.Infrastructure.Executable;
using Grammar.Core.Streams.Out.Print.Screen;
using System;
namespace Analyzer.Parser.Statements
{
public class PrintStatementParser : IPrintStat... | 2.568553 | 6b9ee56d1ebb5a7a7c1f131d9c3286bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832298 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "zgh551/APA_DebugAssistant",
"max_stars_repo_path": "APA_DebugAssistant/SerialCom.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151518"
} | starcoder | <reponame>zgh551/APA_DebugAssistant
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO.Ports;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace APA_DebugAssistant
{
class SerialCom
{
private bool closing;
... | 2.569834 | 46336e7baaacb5addb8f68310f88bba1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832299 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Alshobban/Think-Race-Win",
"max_stars_repo_path": "Assets/Plugins/desExt/Runtime/References/BaseReference.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151519"
} | starcoder | using System;
using desExt.Runtime.Utils;
using desExt.Runtime.Variables;
using UnityEngine;
namespace desExt.Runtime.References
{
[Serializable]
public abstract class SimpleReference<TValue, TSerializedClass> : BaseReference
where TSerializedClass : BaseTypeVariable<TValue>
{
#pragma warning disab... | 2.614408 | ff7a56d9be1b7fe6955bf002ca509836 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832300 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "pashcovich/viadf",
"max_stars_repo_path": "viadfweb/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:151520"
} | starcoder | @{
Layout = "~/Views/Shared/_Layout.cshtml";
ViewBag.HeaderAdCode = "div-gpt-ad-1498571364610-3";
ViewBag.FooterAdCode = "div-gpt-ad-1498571364610-2";
}
<h1 class="header center">Buscador del Transporte Público - Ciudad de México</h1>
<div class="inapp-show">
<p>
Creamos una nueva versión del... | 2.552038 | 1c628efc1aa16039a0c27b204ce6154e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832301 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KrzysiekTalarczyk/mySimpleMessageService",
"max_stars_repo_path": "src/mySimpleMessageService.Application/Messages/Handlers/DeleteMessageCommandHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151521"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
using MediatR;
using mySimpleMessageService.Application.Exceptions;
using mySimpleMessageService.Application.Interfaces;
using mySimpleMessageService.Application.Messages.Command;
namespace mySimpleMessageService.Application.Messages.Handlers
{
class DeleteMes... | 2.395517 | bbe8e7d9f69717ad2f1f368eadc4c478 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832302 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "lopes19/MathAnalytics",
"max_stars_repo_path": "MathAnalytics/Extensions/ProrataRate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151522"
} | starcoder | <reponame>lopes19/MathAnalytics<filename>MathAnalytics/Extensions/ProrataRate.cs
using System;
namespace MathAnalytics
{
// 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 ... | 2.694551 | 8234b84cd0dfd1f15df0ae8ae727e952 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832303 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Eibx/Rebronx",
"max_stars_repo_path": "server/Systems/System.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151523"
} | starcoder | namespace Rebronx.Server.Systems
{
public class System
{
protected T GetData<T>(Message message) where T : class
{
if (string.IsNullOrEmpty(message?.Data))
return null;
try
{
// TODO: use System.Text.Json
// TOD... | 2.447174 | a3d1f763c35cb2788590fd77b415ce3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832304 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "georghinkel/FostDevices",
"max_stars_repo_path": "TestConsole/BarcodeScannerService/Client.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151524"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generi... | 1.968326 | dc4f831852aebdba3e87c29c452bd38b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832305 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "astra-emsg/ASTRA.EMSG",
"max_stars_repo_path": "Master/ASTRA.EMSG.Business/Services/EntityServices/Katalogs/GemeindeKatalogService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151525"
} | starcoder | using System.Collections.Generic;
using ASTRA.EMSG.Business.Entities.Katalogs;
using ASTRA.EMSG.Business.Infrastructure.Transactioning;
using ASTRA.EMSG.Business.Models.Katalogs;
using ASTRA.EMSG.Business.ReflectionMappingConfiguration;
using ASTRA.EMSG.Business.Services.Common;
using ASTRA.EMSG.Business.Services.Entit... | 1.950302 | 67319dbfb55593db04b19719c0bb449e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832306 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alex-kulakov/dataobjects-net",
"max_stars_repo_path": "Orm/Xtensive.Orm/Orm/Model/OnRemoveAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151526"
} | starcoder | <filename>Orm/Xtensive.Orm/Orm/Model/OnRemoveAction.cs
// Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: <NAME>
// Created: 2008.06.24
using System;
namespace Xtensive.Orm
{
/// <summary>
/// Defines actions that c... | 2.300634 | 3f77c56a98ccbb3354dea384aee69b34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832307 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "shimat/opencvsharp_2410",
"max_stars_repo_path": "sample/CStyleSamplesCS/Samples/CornerDetect.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151527"
} | starcoder | using System;
using OpenCvSharp;
using SampleBase;
namespace CStyleSamplesCS
{
/// <summary>
/// Corner detection
/// </summary>
/// <remarks>
/// http://opencv.jp/sample/gradient_edge_corner.html#goodfeatures
/// </remarks>
class CornerDetect
{
public CornerDetect()
{
... | 2.37925 | 8dd68cb7bdf6dde4ab4c7849bb7e43a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832308 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sozuer53/BBC",
"max_stars_repo_path": "Server/BBC_API/src/BBC.Services/Services/Common/Dto/BaseDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151528"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace BBC.Services.Services.Common.Dto
{
/// <summary>
/// DTO MarkUp
/// </summary>
public class BaseDto<TKey> where TKey : IEquatable<TKey>
{
public TKey Id { get; set; }
}
public class BaseDto
{
}
... | 1.748822 | 84b6466e52a6e32900ed6ff361456fe1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832309 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexpantyukhin/Docker.Compose.Rule.Net",
"max_stars_repo_path": "src/Docker.Compose.Rule.Net/Execution/DockerComposeExecOption.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151529"
} | starcoder | <filename>src/Docker.Compose.Rule.Net/Execution/DockerComposeExecOption.cs
using System.Collections.Generic;
namespace Docker.Compose.Rule.Net.Connection
{
public class DockerComposeExecOption
{
public static List<string> Options(params string[] options)
{
return new List<string>();
... | 1.714798 | 5b9a66ad274e69ca5478d67ccc20f49b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832310 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "casablancahotelsoftware/Piral.Blazor",
"max_stars_repo_path": "src/Piral.Blazor.Tools/tasks/CollectStaticWebAssetsTask.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151530"
} | starcoder | using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using System;
using System.IO;
namespace Piral.Blazor.Tools.Tasks
{
public class CollectStaticWebAssetsTask : Task
{
[Required]
public string AssetPath { get; set; }
[Required]
public string TargetPath { get; se... | 2.75261 | 09d1182d4a62d46536302986b4aa387c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832311 | {
"extension": "c-sharp",
"max_stars_count": "63.0",
"max_stars_repo_name": "mk1024/Optimus",
"max_stars_repo_path": "source/Knyaz.Optimus.WfApp/Controls/SetAttributeForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151531"
} | starcoder | <reponame>mk1024/Optimus
namespace Knyaz.Optimus.WfApp.Controls
{
partial class SetAttributeForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.975424 | de320284dfe75e9b984b16819f7d36f0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.