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 | 8817418 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uta-org/HitsSniffer",
"max_stars_repo_path": "HitsSniffer.Backend/Controller/BaseWorker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136638"
} | starcoder | using System;
using System.Net;
using System.Text.RegularExpressions;
using System.Threading;
using HitsSniffer.Controller.Interfaces;
using HtmlAgilityPack;
using uzLib.Lite.Core;
using uzLib.Lite.Extensions;
using static HitsSniffer.Controller.DriverWorker;
namespace HitsSniffer.Controller
{
public abstract cla... | 2.346568 | 399fe02e02d1011754b0b8e0b584e2c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817419 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Unisys/NSign",
"max_stars_repo_path": "src/NSign.Abstractions/VerificationResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136639"
} | starcoder | namespace NSign
{
/// <summary>
/// Represents the possible outcomes of signature verification.
/// </summary>
public enum VerificationResult
{
/// <summary>
/// The outcome is unknown.
/// </summary>
Unknown,
/// <summary>
/// The signature input fo... | 2.70087 | 29f264b3d74a839b79657b3faf4950aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817420 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "naminodarie/AtCoderProject",
"max_stars_repo_path": "Competitive.Library/Math/Matrix/ArrayMatrix.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136640"
} | starcoder | using AtCoder;
using AtCoder.Internal;
using AtCoder.Operators;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Kzrnm.Competitive
{
using static MethodImplOptions;
public readonly struct ArrayMatrix<T, TOp>
where TO... | 2.706778 | 26d171ad37315670a788cc0e886e1757 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817421 | {
"extension": "c-sharp",
"max_stars_count": "228.0",
"max_stars_repo_name": "TovarishN/nitra",
"max_stars_repo_path": "Ide/NitraCommonVSIX/LibraryManager/GotoInfoLibraryNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136641"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.Shell.Interop;
using System.IO;
using Nitra.ClientServer.Messages;
using Nitra.ClientServer.Client;
namespace Nitra.VisualStudio
{
/// <summary>
/// Это одна строка в окошке Find All Refe... | 2.447886 | 2ce28572006e3d5f252414f6ab046714 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817422 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tobik312/GUS-lib",
"max_stars_repo_path": "Models/Info/Interfaces/IStanDanych.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136642"
} | starcoder | <gh_stars>1-10
namespace GUS_lib.Models{
public interface IStanDanych : IGetValueResult<string>{}
} | 0.930434 | 66de51af794218fded8def4e56d84ffa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817423 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Microsoft/TpmRCDecoder",
"max_stars_repo_path": "TpmRcDecoder/TpmRcDecoder.Universal/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136643"
} | starcoder | using System;
using System.Linq;
using TpmRcDecoder.Views;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Media.SpeechRecognition;
using Windows.Storage;
using Windows.UI;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
using Windows.UI.Xaml.C... | 2.31046 | 8c8397175b73d320135f96b433a3fe13 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817424 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jmnoland/WorkTracker",
"max_stars_repo_path": "WorkTracker/Models/Requests/UpdateStoryRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136644"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace WorkTracker.Models.Requests
{
public class UpdateStoryRequest
{
public int StoryId { get; set; }
public int StateId { get; set; }
public int? ProjectId { get; set; ... | 2.667154 | 53265459b43fbb19273d5be66d4aeccd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817425 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zzgchina888/msdn-code-gallery-microsoft",
"max_stars_repo_path": "OneCodeTeam/C# Sample to list all the active TCP and UDP connections using Windows Form appl/[C#]-C# Sample to list all the active TCP and UDP connections using Windows F... | starcoder | namespace SocketConnection
{
partial class SocketConnectionForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>... | 1.799608 | c5b4adb7522d35662e25b3b002399de9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817426 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "krisk0su/Movies",
"max_stars_repo_path": "src/ViewModels/MoviesApp.ViewModels/SeriesEntities/CreateSeriesEntityViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136646"
} | starcoder | <reponame>krisk0su/Movies
namespace MoviesApp.ViewModels.SeriesEntities
{
using System;
using MoviesApp.Common.Series;
public class CreateSeriesEntityViewModel:ISeriesEntity
{
public CreateSeriesEntityViewModel()
{
}
public CreateSeriesEntityViewModel(Guid ... | 1.985127 | 1fc36df4abad4894906740a0bf7c2ba2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817427 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "anas-899/2D-Bin-Packing-with-Genetic-Algorithm",
"max_stars_repo_path": "GeneticAlgorithm/GeneticPlacement/SkyLine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136647"
} | starcoder | <reponame>anas-899/2D-Bin-Packing-with-Genetic-Algorithm
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GeneticPlacement
{
public class SkyLineBinPack
{
public class SkylineNode
{
/// The starting x-coordinate (leftmost).
... | 2.780523 | 63969ef184077b1a15faab79519c1935 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817428 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeanluctritsch/CommunityServer",
"max_stars_repo_path": "module/ASC.Api/ASC.Api.Mail/MailApi.Folders.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136648"
} | starcoder | <filename>module/ASC.Api/ASC.Api.Mail/MailApi.Folders.cs
/*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* 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.apa... | 1.916487 | 758239b1af016277a103431225bd1d6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817429 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mlnethub/Bet.AspNetCore",
"max_stars_repo_path": "src/Bet.Extensions.AzureStorage/Options/StorageTableOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136649"
} | starcoder | <reponame>mlnethub/Bet.AspNetCore
namespace Bet.Extensions.AzureStorage.Options
{
public class StorageTableOptions : StorageOptionsBase
{
/// <summary>
/// The name of the table.
/// </summary>
public string TableName { get; set; } = string.Empty;
}
}
| 1.632536 | a1e08fed42650401a0777db26d816200 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817430 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jsouthron/solrsearch",
"max_stars_repo_path": "src/SolrSearch/SolrQuery/SolrExtensionMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136650"
} | starcoder | namespace SolrSearch.SolrQuery
{
using System;
using System.Linq;
using System.Web;
public static class SolrExtensionMethods
{
public static string ToSolrQueryString(this object obj)
{
var properties = from p in obj.GetType().GetProperties()
w... | 2.871181 | cf9ab48e82d7e9cc1e4746a2a6d10d66 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817431 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MTEC-3230/MTEC-3230-Events",
"max_stars_repo_path": "Assets/Scripts/ON_Tools/ON_Trigger_Emit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136651"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ON{
public class ON_Trigger_Emit : ON_TriggerEvents {
public ParticleSystem parti;
public int amount;
public override void Ping()
{
if(parti!=null)
parti.Emit(amount);
}
}
}
| 1.860582 | 85f317991c75e3489a33cf8e58ba6f77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817432 | {
"extension": "c-sharp",
"max_stars_count": "127.0",
"max_stars_repo_name": "RakhithJK/CyberCAT",
"max_stars_repo_path": "CyberCAT.Core/Enums/Dumped Enums/entVisualControllerComponentForcedLodDistance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136652"
} | starcoder | namespace CyberCAT.Core.DumpedEnums
{
public enum entVisualControllerComponentForcedLodDistance
{
Default = 0,
Background = 1,
Regular = 2,
Cinematic = 3,
Vehicle = 4,
CinematicVehicle = 5
}
}
| 1.070424 | 4433b9a82faf5718d8879876e2e5e8bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817433 | {
"extension": "c-sharp",
"max_stars_count": "314.0",
"max_stars_repo_name": "wbonbon/ACT.Hojoring",
"max_stars_repo_path": "source/ACT.SpecialSpellTimer/ACT.SpecialSpellTimer.Core/RaidTimeline/TimelinePositionSyncModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136653"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Xml.Serialization;
using FFXIV.Framework.Extensions;
using FFXIV.Framework.XIVHelper;
namespace ACT.SpecialSpellTimer.RaidTimeline
{
[Serializable]
[XmlType(TypeName = "p-syn... | 2.383907 | b91734118b1d3379a569a8488cd63068 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817434 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MossPiglets/WizardWorldAPI",
"max_stars_repo_path": "WizardWorldApi/WizardWorld.Persistance/Models/MagicalCreatures/CreatureClassificationByMinistryOfMagic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136654"
} | starcoder | <gh_stars>1-10
namespace WizardWorld.Persistance.Models.MagicalCreatures {
public enum CreatureClassificationByMinistryOfMagic {
None = 0
//Beast, Being
}
}
| 1.467172 | 3ffe978533eb16eacd16a8d1c4144601 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817435 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SZarrow/CPI",
"max_stars_repo_path": "src/CPI.Common/Domain/FundOut/YeePay/YeePaySinglePayResultQueryResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136655"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace CPI.Common.Domain.FundOut.YeePay
{
public class YeePaySinglePayResultQueryResponse
{
public Int32 PageIndex { get; set; }
public Int32 PageSize { get; set; }
public Int32 TotalCount { get; set; }
publi... | 1.407753 | af525f9dda4f5280fd5c564d097cdbf2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817436 | {
"extension": "c-sharp",
"max_stars_count": "63.0",
"max_stars_repo_name": "wdmir/MonumentVally-Demo",
"max_stars_repo_path": "Assets/Script/ColliderTrigger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136656"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class ColliderTrigger : MonoBehaviour {
public UnityEvent triggerEnger;
void OnTriggerEnter(Collider other)
{
// Debug.LogError ("here");
triggerEnger.Invoke ();
}
}
| 1.674701 | 93f986b6d5bbf7f6fd3ad0e5a44bf533 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817437 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stevejgordon/elasticsearch-net",
"max_stars_repo_path": "src/Nest/XPack/Watcher/Transform/IndexedScriptTransform.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136657"
} | starcoder | <reponame>stevejgordon/elasticsearch-net<filename>src/Nest/XPack/Watcher/Transform/IndexedScriptTransform.cs
// 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 information
using... | 1.82952 | 23ec2f1faf7528cabb08b7d469678367 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817438 | {
"extension": "c-sharp",
"max_stars_count": "241.0",
"max_stars_repo_name": "654306663/EZUnity",
"max_stars_repo_path": "Assets/EZhex1991/EZUnity/Runtime/Miscellaneous/EZScrollRect.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136658"
} | starcoder | /* Author: <EMAIL>
* CreateTime: 2017-08-09 18:08:00
* Organization: #ORGANIZATION#
* Description: 对原生ScrollRect的扩展,设置网格大小,滑动停止后自动Focus最近的点,和EZGridLayout2D配合
*/
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace EZhex1991.EZUnity
{
public class EZScrollRect ... | 2.279033 | f1bd10311415a77da8543ced0f1bd413 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817439 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "makingsensetraining/mobile-pocs",
"max_stars_repo_path": "Xamarin/MvvmSeed/MvvmSeed/MvvmSeed.Application/ViewModels/SampleViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136659"
} | starcoder | <reponame>makingsensetraining/mobile-pocs<gh_stars>0
using MvvmCross.Core.ViewModels;
using MvvmSeed.Application.ViewModels.Interfaces;
using MvvmSeed.Domain.Services;
namespace MvvmSeed.Application.ViewModels
{
public class SampleViewModel : MvxViewModel, ISampleViewModel
{
private readonly IStringRa... | 2.380539 | 469f95b0ecd580e00e558734b84be4e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817440 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hwj113946/netcore2.1-layui-oracle",
"max_stars_repo_path": "WebApplication1/Controllers/WorkFlow/WorkFlowController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136660"
} | starcoder | <reponame>hwj113946/netcore2.1-layui-oracle
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using Common;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
using Oracle.ManagedDataAccess.Client;
using WebAppl... | 1.580866 | 04de371b8e48ec49075b78c85307456d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817441 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RobertAcksel/UnrealCS",
"max_stars_repo_path": "Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Game_32bits/UAnimCompress_FixSize.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136661"
} | starcoder | <filename>Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Game_32bits/UAnimCompress_FixSize.cs
#if WITH_GAME
#if PLATFORM_32BITS
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace UnrealEngine
{
public partial class UAnimCompress
{
static rea... | 1.979684 | 3cdbbe2defa5d0d6e77728c754cffed8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817442 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/tl-result-and-certification",
"max_stars_repo_path": "src/Tests/Sfa.Tl.ResultsAndCertification.Web.UnitTests/Loader/IndustryPlacementLoaderTests/GetSpecialConsiderationReasonsList/When_Called_With_Valid_Data.cs",
"... | starcoder | <reponame>SkillsFundingAgency/tl-result-and-certification<gh_stars>0
using FluentAssertions;
using NSubstitute;
using Sfa.Tl.ResultsAndCertification.Common.Enum;
using Sfa.Tl.ResultsAndCertification.Models.Contracts.IndustryPlacement;
using Sfa.Tl.ResultsAndCertification.Web.ViewModel.IndustryPlacement.Manual;
using S... | 1.837518 | cd7b02c744e6009c63f17302feca66c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817443 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aTiKhan/ModelSync",
"max_stars_repo_path": "ModelSync.Library/Extensions/ConnectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136663"
} | starcoder | using Dapper;
using System.Data;
using System.Threading.Tasks;
namespace ModelSync.Extensions
{
internal static class ConnectionExtensions
{
public static async Task<bool> RowExistsAsync(this IDbConnection connection, string fromWhere, object parameters = null, IDbTransaction transaction = null)
... | 2.520325 | 12c012f4f90bfd9ce29b83ec667cd120 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "muyumuqing/Abp.Zero3",
"max_stars_repo_path": "src/Abp.Zero/MultiTenancy/AbpTenantManagerExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136664"
} | starcoder | <reponame>muyumuqing/Abp.Zero3<filename>src/Abp.Zero/MultiTenancy/AbpTenantManagerExtensions.cs
using System.Collections.Generic;
using Abp.Authorization.Users;
using Abp.Threading;
using Microsoft.AspNet.Identity;
namespace Abp.MultiTenancy
{
public static class AbpTenantManagerExtensions
{
public sta... | 1.833573 | 371a85935a595d1f908215708067884f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817445 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ekzyis/CrypTool-2",
"max_stars_repo_path": "CrypPlugins/JosseCipher/JosseCipherSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136665"
} | starcoder | /*
Copyright CrypTool 2 Team <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed... | 2.146036 | c6d37b2f968485de48d8e2f06bc2eb23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817446 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "biss-git/SoftalkPlugin",
"max_stars_repo_path": "SoftalkPlugin/VoiceEngine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136666"
} | starcoder | using NAudio.Wave;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yomiage.SDK;
using Yomiage.SDK.Config;
using Yomiage.SDK.Talk;
using Yomiage.SDK.VoiceEffects;
namespace SoftalkPlugin
{
public cl... | 2.210477 | d1c00cb6da9a564007462928d3945f7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817447 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PhilShishov/Design-Patterns",
"max_stars_repo_path": "BehavioralPatterns/MediatorPattern/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136667"
} | starcoder | <filename>BehavioralPatterns/MediatorPattern/Program.cs
namespace MediatorPattern
{
class Program
{
static void Main(string[] args)
{
Participant jhon = new ConcreteParticipant("Jhon");
Participant peter = new ConcreteParticipant("Peter");
Participant nasko =... | 3.057915 | fea53e0d821972b053469956480fa715 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817448 | {
"extension": "c-sharp",
"max_stars_count": "183.0",
"max_stars_repo_name": "JohnPKosh/azos",
"max_stars_repo_path": "src/Azos/IO/Console/HttpConsolePort.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136668"
} | starcoder | <reponame>JohnPKosh/azos<filename>src/Azos/IO/Console/HttpConsolePort.cs<gh_stars>100-1000
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Azos.Collections;
using Azos.Conf;
using... | 1.979219 | 994e6ae7ab6ce0eb7697b350167a00de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817449 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peter-stoyanov/ASP.NET-Core-MVC",
"max_stars_repo_path": "LanguageBuilder/LanguageBuilder.Services/Models/TranslationListingServiceModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136669"
} | starcoder | <reponame>peter-stoyanov/ASP.NET-Core-MVC
using LanguageBuilder.Data.Models;
using LanguageBuilder.Services.Mapping;
namespace LanguageBuilder.Services.Models
{
public class TranslationListingServiceModel : IMapFrom<Translation>
{
}
}
| 1.209225 | c744e446889aa7f3502686f7782aa9ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817450 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "NathanWarden/godot_ai_csharp",
"max_stars_repo_path": "Godot_Project/BehaviorTree/Leaves/Actions/Seek2D.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136670"
} | starcoder | using Godot;
namespace BehaviorTree
{
public class Seek2D : SeekBase<Node2D>
{
protected override Vector3 GetNodePosition(Node2D target)
{
return target.Position.ToVector3();
}
}
} | 1.633026 | 18c1478056a966e35b8f89d2c0b84944 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817451 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "PureKrome/SimpleLogging",
"max_stars_repo_path": "Samples/NancyFx Sample/Modules/HomeModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136671"
} | starcoder | <reponame>PureKrome/SimpleLogging
using System;
using Nancy;
using Shouldly;
using SimpleLogging.Core;
namespace SimpleLogging.Samples.NancyFX.Modules
{
public class HomeModule : NancyModule
{
private readonly ILoggingService _loggingService;
public HomeModule(ILoggingService loggi... | 1.902497 | 682a0580d0312c1e6c4f875bf8f4cf15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817452 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DenicaMavreva/MyFirstApp",
"max_stars_repo_path": "CCA/Views/Courses/Delete.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:136672"
} | starcoder | <gh_stars>0
@model CCA.ViewModels.Course.CourseInputViewModel
@{
ViewData["Title"] = "Delete";
}
<h2>Delete</h2>
<main class="mt-3 mb-5">
<h1 class="text-center">Delete Course</h1>
<hr class="hr-2 bg-dark" />
<form class="mx-auto half-width" method="post" asp-controller="Courses" asp-action="Delete"... | 2.009444 | f6bda0ac9c068755c55e19afd2d76892 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817453 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MobiliyaTechnologies/RESTServer",
"max_stars_repo_path": "RestService/EnergyManagementScheduler.WebJob/Utilities/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136673"
} | starcoder | <filename>RestService/EnergyManagementScheduler.WebJob/Utilities/Constants.cs
namespace EnergyManagementScheduler.WebJob.Utilities
{
public class Constants
{
public const string DATE_TIME_FORMAT = "yyyy-MM-dd HH:mm:ss";
public const string ANOMALY_ALERT_MESSAGE = "There are {0}(s) detected in p... | 1.791791 | d6693ed98c53da2b30ad18a4305cc0e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817454 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "apd47/Azure-Kinect-Unity-Streaming",
"max_stars_repo_path": "Assets/Scripts/Older Files/RoomCaptureBuffer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136674"
} | starcoder | <filename>Assets/Scripts/Older Files/RoomCaptureBuffer.cs
using Microsoft.Azure.Kinect.Sensor;
using System;
using System.Threading.Tasks;
using UnityEngine;
public class RoomCaptureBuffer : MonoBehaviour
{
Texture2D colorTexture;
Texture2D depthTexture;
Texture2D oldDepthTexture;
Vector3 currentAng... | 1.937606 | ce4f08eba70a0ce1aee73625bdb2d37c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817455 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nanderto/BlazorRades.State",
"max_stars_repo_path": "src/BlazorRades/BlazorRades.State.Website/Count.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136675"
} | starcoder | <reponame>nanderto/BlazorRades.State
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlazorRades.State.Website
{
public class Count
{
public Count(int count)
{
Current = count;
}
public int Current { get; ... | 1.758131 | c0e3033e007722746c7033e88a856131 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817456 | {
"extension": "c-sharp",
"max_stars_count": "365.0",
"max_stars_repo_name": "abharath27/azure-libraries-for-net",
"max_stars_repo_path": "src/ResourceManagement/ServiceBus/QueueAuthorizationRulesImpl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136676"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Management.ServiceBus.Fluent
{
using System.Threading;
using System.Threading.Tasks;
using ResourceManager.Fluent.Core;
u... | 1.714455 | 550c4fe5e5e43274bd86e523d51b040b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817457 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "psmulovics/ComposeUI",
"max_stars_repo_path": "src/DockManagerCore/Desktop/EditableTextBlockAdorner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136677"
} | starcoder | /*
* <NAME> makes this available to you under the Apache License,
* Version 2.0 (the "License"). You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.
*
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. Unless requ... | 2.26811 | 862488a7ec0fe169866ece74b2384aa9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817458 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "GeorgiZlatanov/Online-Exam-System",
"max_stars_repo_path": "OnlineExamination.Web/Controllers/QnAsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136678"
} | starcoder | <gh_stars>1-10
using Microsoft.AspNetCore.Mvc;
using OnlineExamination.BLL.Services;
using OnlineExamination.ViewModels;
using System.Threading.Tasks;
namespace OnlineExamination.Web.Controllers
{
public class QnAsController : Controller
{
private readonly IExamService _examService;
private re... | 2.123655 | a43c91cbceecbbb6bfa5041e9231c8db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817459 | {
"extension": "c-sharp",
"max_stars_count": "81.0",
"max_stars_repo_name": "AFWberlin/orchestrator-powershell",
"max_stars_repo_path": "UiPath.Web.Client/generated202010/Models/SearchContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136679"
} | starcoder | <filename>UiPath.Web.Client/generated202010/Models/SearchContext.cs
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace UiPath.Web.Client202010.Models
{
using Newtonsof... | 2.185556 | eabe5bf7af40383f9518daad8b3c937c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817460 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khiem2/quanlyhocsinh",
"max_stars_repo_path": "cms_form/Web_CMS/ETO/ETO/SinglePage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136680"
} | starcoder | <reponame>khiem2/quanlyhocsinh<filename>cms_form/Web_CMS/ETO/ETO/SinglePage.cs
namespace ETO
{
using System;
public class SinglePage
{
private DateTime createDate;
private string createdUserName;
private string icon;
private string language;
private string singlepag... | 2.020704 | d3689b0fd90451ee8b7211c0b88a6e17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817461 | {
"extension": "c-sharp",
"max_stars_count": "914.0",
"max_stars_repo_name": "haptear/Bing.NetCore",
"max_stars_repo_path": "framework/src/Bing.AspNetCore/Bing/AspNetCore/RealIp/RealIpMiddleware.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136681"
} | starcoder | using System;
using System.Net;
using System.Threading.Tasks;
using Bing.Logs;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Options;
namespace Bing.AspNetCore.RealIp
{
/// <summary>
/// 真实IP中间件
/// </summary>
public... | 2.591391 | d112ee20091b3fb3977f614612c11291 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817462 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kema8351/object-pool",
"max_stars_repo_path": "ObjectPool/ObjectPool/Pool/MapPool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136682"
} | starcoder | using System.Collections.Generic;
namespace Pool
{
public class MapPool<T, TKey, TValue> where T : IDictionary<TKey, TValue>, new()
{
public static MapPool<T, TKey, TValue> Pool { get; } = new MapPool<T, TKey, TValue>();
Stack<T> pool = new Stack<T>();
public MapPool()
{
... | 2.839539 | 9b5841adb0549d483974dc7f3b6d1fc7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817463 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "dilomo/Pterodactyl",
"max_stars_repo_path": "PterodactylEngine/Strike.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136683"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PterodactylEngine
{
public class Strike
{
private string _text;
public Strike(string text)
{
Text = text;
}
public string Create()... | 2.925697 | 3f55c2199a98bc0f98b33827fc27ee75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817464 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VPKSoft/VPKSoft.SpellCheck.ExternalDictionarySource",
"max_stars_repo_path": "DictionaryPackageTestApplication/FormMain.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136684"
} | starcoder | <reponame>VPKSoft/VPKSoft.SpellCheck.ExternalDictionarySource
namespace DictionaryPackageTestApplication
{
partial class FormMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <sum... | 2.006938 | 434d960034db1c26a3c4508195b6024e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817465 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CursedExistence/ro.devpool.hbase",
"max_stars_repo_path": "ro.devpool.hbase/Interfaces/Configuration/IConnectionPoolConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136685"
} | starcoder | namespace ro.devpool.hbase.Interfaces.Configuration
{
public interface IConnectionPoolConfiguration
{
int? MaxInstances { get; set; }
long SecondsToKeep { get; set; }
bool IsRestrictive { get; set; }
}
} | 1.442604 | 24fa5ac47dcf27a1e41d573149656ee9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817466 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ashishpatelcs/uno",
"max_stars_repo_path": "src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/TextBlockControl/TextBlock_Multiline_In_StarStackPanel.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136686"
} | starcoder | <reponame>ashishpatelcs/uno
using Uno.UI.Samples.Controls;
using Uno.UI.Samples.Presentation.SamplePages;
using Windows.UI.Xaml.Controls;
namespace Uno.UI.Samples.Content.UITests.TextBlockControl
{
[SampleControlInfo("TextBlockControl", "TextBlock_Multiline_In_StarStackPanel", typeof(TextBlockViewModel), description:... | 1.619266 | 9dff7386d047d50ab891b5518bcd5c82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817467 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IodineLang/IOx",
"max_stars_repo_path": "iox/ReflectionHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136687"
} | starcoder | namespace iox {
using System;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
/// <summary>
/// Reflection helper.
/// </summary>
public static class ReflectionHelper {
/// <summary>
/// Get the Iodine build date and time.
/// </summary>
/// <returns>The ... | 2.48713 | 7710a060620e84a90fceca32b00270b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817468 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "Necromantic/ECS-Sandbox",
"max_stars_repo_path": "Assets/Scripts/ECS/ColoringComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136688"
} | starcoder | using System;
using Unity.Entities;
using UnityEngine;
namespace com.binaryfeast.ECS
{
[Serializable]
public struct Coloring : IComponentData
{
public Color Value;
public Coloring(Color Value)
{
this.Value = Value;
}
public Coloring(float r, float g, f... | 2.354141 | 2075a21f056eb680e7d382b336b94e65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817469 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "HalfBlood-Prince/Online-Proposal-Submission",
"max_stars_repo_path": "Core/Resources/ProposalWithOutNavResource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136689"
} | starcoder | using ProjectFinal101.Core.Validators;
using System.ComponentModel.DataAnnotations;
namespace ProjectFinal101.Core.Resources
{
public class ProposalWithOutNavResource
{
public long Id { get; set; }
[Required]
[Range(1, 3)]
public byte Status { get; set; }
[RequiredProp... | 1.975244 | 793675cf37c55cd98581a0f391773050 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817470 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ChristinaNikolova/BeautySalon",
"max_stars_repo_path": "Web/BeautySalon.Web.ViewModels/Products/ViewModels/LikeProductViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136690"
} | starcoder | namespace BeautySalon.Web.ViewModels.Products.ViewModels
{
public class LikeProductViewModel
{
public bool IsAdded { get; set; }
public int LikesCount { get; set; }
}
}
| 1.428443 | 693a73d375249b84bf4af846914cd410 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817471 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "trylock/viewer",
"max_stars_repo_path": "src/Viewer.Query/QueryProgress.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136691"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Viewer.Query
{
/// <summary>
/// Type of <see cref="QueryProgressReport"/>.
/// </summary>
public enum ReportType
{
/// <summ... | 2.856387 | b87302ab58f34fb494988a9666cdb2c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817472 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zolotov-av/unity",
"max_stars_repo_path": "Test Unity Project/Assets/Nanosets/Scripts/TouchManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136692"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Nanosoft
{
/**
* Менеджер касаний
*/
public class TouchManager
{
/**
* Трекеры
*/
public TouchTracker[] touches;
/**
* Конструктор
*/
public TouchManager(int count)
{
touches = new TouchTracker[count];
for... | 2.812437 | 52076aa561ad5c5f5b10b2e561bd38c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817473 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Benix22/pitstop",
"max_stars_repo_path": "src/WebApp/Controllers/VehicleOwnerManagementController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136693"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Pitstop.Models;
using Pitstop.ViewModels;
using AutoMapper;
using Polly;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.Mvc.Rendering;
using WebApp.Commands;
using WebApp.RESTClients;
usi... | 1.994961 | 4e324e34acc98b4039e01ad8ce40620f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817474 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lightstreamer/Lightstreamer-lib-client-dotnet",
"max_stars_repo_path": "Lightstreamer_DotNet_Client_Unified/com/lightstreamer/util/threads/providers/Joinable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136694"
} | starcoder | /*
* Copyright (c) 2004-2015 Lightstreamer s.r.l., <NAME>, 6 - 20124 Milano,
* Italy. All rights reserved. www.lightstreamer.com This software is the
* confidential and proprietary information of Lightstreamer s.r.l. You shall not
* disclose such Confidential Information and shall use it only in accordance
* with... | 2.844842 | 59ebf6264f34ec10fd8981cc51460f1a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817475 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sametkoyuncu/shopapp-udemy",
"max_stars_repo_path": "shopapp.webui/EmailServices/IEmailSender.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136695"
} | starcoder | <reponame>sametkoyuncu/shopapp-udemy
using System.Threading.Tasks;
namespace shopapp.webui.EmailServices
{
public interface IEmailSender
{
Task SendEmailAsync(string email, string subject, string htmlMessage);
}
} | 1.21733 | ffc223a277a569f58497d826bbe69059 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817476 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Nukleon84/OpenFMSL",
"max_stars_repo_path": "source.contracts/OpenFMSL.Contracts/OpenFMSL.Core/ModelLibrary/Flash.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136696"
} | starcoder | using OpenFMSL.Core.Expressions;
using OpenFMSL.Core.Flowsheeting;
using OpenFMSL.Core.Numerics;
using OpenFMSL.Core.Thermodynamics;
using OpenFMSL.Core.UnitsOfMeasure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpenFMSL.Core.ModelLibr... | 2.220157 | 943a23d5b8d33eadf943b2648dc87088 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817477 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IamMarek/MIDNP",
"max_stars_repo_path": "MIDNP/LinqWorkshop/1_LinqEssentialsTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136697"
} | starcoder | <reponame>IamMarek/MIDNP
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace MIDNP.Linq
{
[TestClass]
public sealed class LinqEssentialsTest
{
/// <summary>
/// A public field with a list of students. ... | 3.352048 | 0b321d85c8fffdc146d7263d4c570531 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817478 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "ivandrofly/corefx",
"max_stars_repo_path": "src/System.Data.SqlClient/tests/StressTests/System.Data.StressRunner/MemApi.Windows.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136698"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.InteropServices;
namespace DPStressHarness
{
static class MemApi
{
#pra... | 1.800319 | b5815d7c7891514c7c65e3bcbc64034f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817479 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rogeralsing/pigeon",
"max_stars_repo_path": "src/core/Akka.Streams.TestKit.Tests/TestPublisherSubscriberSpec.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136699"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="TestPublisherSubscriberSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net>
// <... | 1.880784 | e27fbc420a281ceea34dc363cf204ccb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817480 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "petebryant/freelunch.uk",
"max_stars_repo_path": "freelunch.uk/RedirectOnErrorAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136700"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace freelunch.uk
{
public class RedirectOnErrorAttribute : FilterAttribute, IExceptionFilter
{
public void OnException(ExceptionContext filterContext)
{
// Don't interfe... | 2.341739 | a17319aa0a699cc3877749fcf6d23823 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817481 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RocChing/Crawler",
"max_stars_repo_path": "Crawl.Core/Model/Think/ThinkCrawlStartRule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136701"
} | starcoder | <filename>Crawl.Core/Model/Think/ThinkCrawlStartRule.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Crawl.Core.Model
{
public class ThinkCrawlStartRule
{
/// <summary>
/// 开始URL
/// </summary>
public string Url { get; set; }
/// <summar... | 2.761924 | 0c4f31d210fa483e7fd4b08858ce94dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817482 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gameestudio/common",
"max_stars_repo_path": "Assets/_Root/Scripts/Extension.Enum.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136702"
} | starcoder | namespace Pancake.Common
{
using System;
public static partial class Util
{
/// <summary>
/// return enum by string name <paramref name="value"/>
/// </summary>
/// <param name="value"></param>
/// <typeparam name="T"></typeparam>
/// <returns></returns>
... | 2.904473 | c84e66eefdd26936b2b98a172afc3e24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817483 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "1Blackdiamondsc/Lykke.Service.LiquidityEngine",
"max_stars_repo_path": "src/Lykke.Service.LiquidityEngine/Rabbit/Subscribers/B2C2OrderBooksSubscriber.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136703"
} | starcoder | <filename>src/Lykke.Service.LiquidityEngine/Rabbit/Subscribers/B2C2OrderBooksSubscriber.cs
using System;
using System.Linq;
using System.Threading.Tasks;
using Common.Log;
using Lykke.Common.ExchangeAdapter.Contracts;
using Lykke.Common.Log;
using Lykke.RabbitMqBroker;
using Lykke.RabbitMqBroker.Subscriber;
using Lykk... | 1.825468 | e57ea25b09039987a73ce0b9555ddea6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817484 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pmillsaps/zone.timemfg.com",
"max_stars_repo_path": "src/Orchard.Web/Modules/Time.Data/EntityModels/TimeMFG/LoadListJobStatu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136704"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regener... | 1.307145 | 3bfe0e23d3ac76b7a4aada21b0b9e592 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817485 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "teroneko/Teronis.DotNet",
"max_stars_repo_path": "src/Microsoft/JSInterop/0.Core/src/Component/Assigners/ValueAssignerIteratorExecutor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136705"
} | starcoder | // Copyright (c) Teroneko.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Threading.Tasks;
using Teronis.Microsoft.JSInterop.Collections;
using Teronis.Microsoft.JSInterop.Reflection;
namespace Teronis.Microsoft.JSInterop.Component.Assigners
{
i... | 2.020278 | cb11b8337321cf9765a401dd74bb03f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817486 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "v-stadam/iotedge",
"max_stars_repo_path": "edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Docker/EdgeAgentDockerModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136706"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.Azure.Devices.Edge.Agent.Docker
{
using System.Collections.Generic;
using Microsoft.Azure.Devices.Edge.Agent.Core;
using Microsoft.Azure.Devices.Edge.Util;
using Newtonsoft.Json;
public class EdgeAgentDockerModule : DockerModule, ... | 2.038394 | 78e55cadfd81df1c156dadfb14347fe2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817487 | {
"extension": "c-sharp",
"max_stars_count": "288.0",
"max_stars_repo_name": "syberside/CMS",
"max_stars_repo_path": "Kooboo.CMS/Kooboo.CMS.Sites/Extension/ModuleArea/ModuleInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136707"
} | starcoder | #region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using Kooboo.Runtime.Serialization;
using Kooboo... | 1.944361 | 9dc4bd45662b965f2f1024db00dad1d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817488 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "lunt/lunt",
"max_stars_repo_path": "src/Lunt/Abstractions/IInternalConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136708"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using Lunt.Bootstrapping;
namespace Lunt
{
/// <summary>
/// The internal configuration for Lunt that decides
/// what internal components should be used.
/// </summary>
public interface IInternalConfiguration
{
/// <summary>
/// ... | 1.632955 | 23b5ecfc8deaf9952c5d2e8276e11d60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817489 | {
"extension": "c-sharp",
"max_stars_count": "365.0",
"max_stars_repo_name": "abharath27/azure-libraries-for-net",
"max_stars_repo_path": "src/ResourceManagement/Network/Domain/HasFrontendPort/Update/IUpdate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136709"
} | starcoder | <filename>src/ResourceManagement/Network/Domain/HasFrontendPort/Update/IUpdate.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Management.Network.Fluent.HasFrontendPort.Update
{
... | 2.386307 | c736b89985625d4145ea507d50972e0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817490 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MathiasZander/ServiceFabricPerfomanceTest",
"max_stars_repo_path": "src/MassTransit/Topology/Configuration/IPublishTopologyConfigurationObserverConnector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136710"
} | starcoder | namespace MassTransit.Topology
{
using GreenPipes;
public interface IPublishTopologyConfigurationObserverConnector
{
ConnectHandle ConnectPublishTopologyConfigurationObserver(IPublishTopologyConfigurationObserver observer);
}
}
| 1.379227 | ae6773e9a407376da14b7d0aae4a6f02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817491 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gastyCode/game-assignment",
"max_stars_repo_path": "Assets/Scripts/RunningEnemy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136711"
} | starcoder | <gh_stars>0
using UnityEngine;
public class RunningEnemy : MonoBehaviour
{
public float enemySpeed = 10f;
public float distanceBetween = 5f;
public float raycastDistance;
public Transform groundDetection;
public Transform target;
private Rigidbody2D rb;
private bool isMovingRight = true;
... | 2.04447 | c16f8dfee9bed0e343612ac7320febe1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817492 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "XiLife-OSPC/AspNetCore.Mini",
"max_stars_repo_path": "src/AspNetCore.Mini.Core/Context/IFeatureCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136712"
} | starcoder | <filename>src/AspNetCore.Mini.Core/Context/IFeatureCollection.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
namespace AspNetCore.Mini.Core
{
public interface IFeatureCollection : IDictionary<Type, object> { }
}
| 1.544954 | 93a8825668c608c0e0f0c1d71594e1b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817493 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hnmendes/microservices-project",
"max_stars_repo_path": "src/Catalog.Service/Catalog.Domain/Services/ServiceBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136713"
} | starcoder | using Catalog.Domain.Contracts.Repositories;
using Catalog.Domain.Contracts.Services;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Catalog.Domain.Services
{
public class ServiceBase<TEntity> : IServiceBase<TEntity> where TEntity : class
{
private readonly IRepositoryBase<T... | 2.679549 | a957140474fd5b4b340b9cb2cee9c27f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817494 | {
"extension": "c-sharp",
"max_stars_count": "266.0",
"max_stars_repo_name": "sgermosen/TorneoPredicciones",
"max_stars_repo_path": "_Legacy/_App/TorneoPredicciones/API/Controllers/TournamentTeamsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136714"
} | starcoder | namespace API.Controllers
{
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Description;
using Models;
using Domain;
public class TournamentTeamsController : ApiController
... | 2.337303 | 5dd6028e079a70856f9882286a09a924 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817495 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "stevencohn/Orqa",
"max_stars_repo_path": "River.Orqa.Editor/IBraceMatchingEx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136715"
} | starcoder | namespace River.Orqa.Editor
{
using System;
using System.Drawing;
public interface IBraceMatchingEx : IBraceMatching
{
// Methods
void Assign(IBraceMatchingEx Source);
void ResetBracesColor();
void ResetBracesStyle();
void ResetUseRoundRect();
// Pro... | 1.888104 | a8eb88e2f65cb9035e12f365a3504c84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817496 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trbenning/Foundatio",
"max_stars_repo_path": "src/Core/Extensions/StringExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136716"
} | starcoder | <filename>src/Core/Extensions/StringExtensions.cs
using System;
using System.Text.RegularExpressions;
namespace Foundatio.Extensions {
public static class StringExtensions {
private static readonly Regex _whitespace = new Regex(@"\s");
public static string RemoveWhiteSpace(this string s) {
... | 3.161581 | b81dd9c52b83db4497b200481dd1b01d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817497 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "ghuntley/StructuredEditor",
"max_stars_repo_path": "Core/Blocks/Factory/BlockActivatorFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136717"
} | starcoder | using System;
using System.Collections.Generic;
using GuiLabs.Utils;
using System.Collections.ObjectModel;
namespace GuiLabs.Editor.Blocks
{
/// <summary>
/// Stores a list of block types: Type[]
/// BlockActivatorFactory.CreateBlocks() creates instances of those types
/// and returns the instances
//... | 3.102701 | 6d38a275255c1dfd586be79d48dd1173 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817498 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-apply-service",
"max_stars_repo_path": "src/SFA.DAS.ApplyService.Web/Infrastructure/Services/ProcessPageFlowService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136718"
} | starcoder | <reponame>uk-gov-mirror/SkillsFundingAgency.das-apply-service
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
using SFA.DAS.ApplyService.Application.Apply.Roatp;
using SFA.DAS.ApplyService.Web.Configuration;
using SFA.DAS.ApplyService... | 1.864538 | f76ba4e5de708d7eb38ec01dfa70c029 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817499 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "timandy/fy_directui",
"max_stars_repo_path": "src/Microsoft.Drawing/Classes/TranslateGraphics.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136719"
} | starcoder | <filename>src/Microsoft.Drawing/Classes/TranslateGraphics.cs<gh_stars>10-100
using System.Drawing;
namespace Microsoft.Drawing
{
/// <summary>
/// 平移变换
/// </summary>
public sealed class TranslateGraphics : DisposableMini
{
private int m_X; //水平平移
private int m_Y... | 3.048232 | ef8ae84effc9762485a89e26daf267c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817500 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TomMalow/atc",
"max_stars_repo_path": "test/Atc.Tests/Data/DataFactoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136720"
} | starcoder | <reponame>TomMalow/atc
using System;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics.CodeAnalysis;
using Atc.Data;
using FluentAssertions;
using Xunit;
namespace Atc.Tests.Data
{
public class DataFactoryTests
{
[Theory]
[InlineData(0, DropDownFirstItemType.None)]
... | 2.318277 | b777a7b6cd7f786b71e71f196bfef0d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817501 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Vanwards/pyrusapi-csharp",
"max_stars_repo_path": "Enums/ResponseFormat.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136721"
} | starcoder | <gh_stars>1-10
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace PyrusApiClient
{
[JsonConverter(typeof(StringEnumConverter))]
public enum ResponseFormat
{
[EnumMember(Value = "json")]
Json,
[EnumMember(Value = "csv")]
Csv
}
}
| 1.767775 | cf8af921d07efe849ffcb8d5903df0ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817502 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DeadlyBrad42/ludumdare-25",
"max_stars_repo_path": "ludumdare-25/ludumdare-25/Classes/Level.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136722"
} | starcoder | <filename>ludumdare-25/ludumdare-25/Classes/Level.cs<gh_stars>0
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using ludumdare_25.Classes;
using ludumdare_25.Managers;
using Microsoft.Xna.Framework.Graphics;
namespace ludumdare_25
{
class... | 2.701898 | fcef50f960fb269677238e3454d636e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817503 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "James-Frowen/BitPacking",
"max_stars_repo_path": "JamesFrowen.BitPacking.Tests/Tests/BitPackingCopyFromOtherTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136723"
} | starcoder | using NUnit.Framework;
namespace JamesFrowen.BitPacking.Tests
{
public class BitPackingCopyFromOtherTests
{
private NetworkWriter writer;
private NetworkWriter otherWriter;
private NetworkReader reader;
[SetUp]
public void Setup()
{
this.writer = new... | 2.670957 | d7bdfce14b1c2b8e8cafeef7de63b73d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817504 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "SaxxonPike/RhythmCodex",
"max_stars_repo_path": "Source/RhythmCodex.Lib/Gdi/Streamers/IPngStreamWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136724"
} | starcoder | <gh_stars>1-10
using System.IO;
using RhythmCodex.Graphics.Models;
namespace RhythmCodex.Gdi.Streamers
{
public interface IPngStreamWriter
{
void Write(Stream stream, IRawBitmap rawBitmap);
}
} | 1.588099 | 4f5e59a70412ef32c86e9c57a2521558 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817505 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wwosik/mannheim",
"max_stars_repo_path": "Mannheim.Salesforce/Client/SalesforceClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136725"
} | starcoder | <reponame>wwosik/mannheim
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Mannheim.Salesforce.Authentication;
using Mannheim.Salesforce.Client.RestApi;
using Mannheim.... | 2.202461 | b3933c6beb5935557d61a794c93e2e6b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817506 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mono/workbooks",
"max_stars_repo_path": "Agents/Xamarin.Interactive/Telemetry/Models/AgentSession.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136726"
} | starcoder | //
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Xamarin.Interactive.Telemetry.Models
{
sealed class AgentSession : ITelemetryEvent
{
public Guid AgentSessionId { get; set; }
public G... | 1.510354 | 71294ac8b11dc18575dcab9ac4759180 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817507 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CarbonNeuron/amonguscapture",
"max_stars_repo_path": "AmongUsCapture/Memory/GameMemReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136727"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
using AmongUsCapture.Memory.Structs;
using AmongUsCapture.TextColorLibrary;
using AUOffsetManager;
using Newtonsoft.Json;
namespace AmongUsCapture
{
... | 2.105303 | af3497756570c717e296008b3f983d89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817508 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ylchu/ULogViewer",
"max_stars_repo_path": "ULogViewer/MainWindow.axaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136728"
} | starcoder | using Avalonia;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
using Avalonia.Markup.Xaml;
using Avalonia.Markup.Xaml.Templates;
using Avalonia.VisualTree;
using CarinaStudio.Collections;
using CarinaStudio.Configuration;
using CarinaStudio.Threading;
using CarinaStudio.ULogViewer.Controls... | 1.95129 | 6d4318e814daa69ed2e356a38d7eca85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817509 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "HylandSoftware/Harbor.Tagd",
"max_stars_repo_path": "test/Harbor.Tagd.Tests/Rules/RuleParserTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136729"
} | starcoder | using Harbor.Tagd.Rules;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.FileProviders;
using System;
using Xunit;
namespace Harbor.Tagd.Tests.Rules
{
public class RuleParserTests
{
internal class TestRuleProvider : DotNetConfigurationRuleProvider
{
public TestRuleProvider(IC... | 2.248672 | 1a92cc610def874cf88e668851ee2c6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817510 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CptMoore/MechEngineer",
"max_stars_repo_path": "source/Features/DamageIgnore/DamageIgnoreFeature.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136730"
} | starcoder | <reponame>CptMoore/MechEngineer
namespace MechEngineer.Features.DamageIgnore;
internal class DamageIgnoreFeature : Feature<DamageIgnoreSettings>
{
internal const string Namespace = nameof(MechEngineer) + "." + nameof(Features) + "." + nameof(DamageIgnore);
internal static readonly DamageIgnoreFeature Shared ... | 1.584456 | b98626236fcb7755342aa1eb36c63da7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817511 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hrvoje-grabusic/CMS",
"max_stars_repo_path": "Kooboo.CMS/Kooboo.CMS.Web/Areas/Sites/Controllers/ViewController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136731"
} | starcoder | #region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using Kooboo.CMS.Common;
using Kooboo.CMS.Common.Persistence.Non_Relational;
using Kooboo.CMS.Content.Models;
using Kooboo.CMS.Content.Query;
using Kooboo.CMS.Sites;
usin... | 1.520856 | ccb95d123d06e3f9b6f3fd99ff01d65a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817512 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhugelongfei/astar",
"max_stars_repo_path": "Runtime/Lib/PriorityQueue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136732"
} | starcoder | <filename>Runtime/Lib/PriorityQueue.cs
using System;
namespace Lonfee.AStar
{
public class PriorityQueue<T> where T : IComparable<T>
{
public T[] heap;
public int Count { get; private set; }
public PriorityQueue() : this(16) { }
public PriorityQueue(int capacity)
{
... | 3.396696 | 2369a9410b82ba3fa1a31dd1f0068a77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817513 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sunloving/photosphere-search-engine",
"max_stars_repo_path": "src/Photosphere.SearchEngine/FileVersioning/FileVersion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136733"
} | starcoder | <filename>src/Photosphere.SearchEngine/FileVersioning/FileVersion.cs<gh_stars>1-10
using System;
namespace Photosphere.SearchEngine.FileVersioning
{
internal class FileVersion : IComparable<FileVersion>, IFileVersion
{
public FileVersion(string path, DateTime lastWriteDate, DateTime creationDate)
... | 2.846787 | 570f8ca42cbd3edb567e334bdad6f375 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817514 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "WhiteCoreSim/WhiteCore-Merger",
"max_stars_repo_path": "OpenSim/Grid/AssetInventoryServer/Plugins/Simple/SimpleAssetStoragePlugin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136734"
} | starcoder | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... | 1.778817 | 84306f972f3f01ccf5de941458915e7c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817515 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kiapanahi/famous-design-patterns",
"max_stars_repo_path": "Patterns in Action/WpfApp/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136735"
} | starcoder | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | 1.906435 | 17d52c9071ea40f959ff105aef8d65c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817516 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "desotohs/cats-closet-point-of-sale",
"max_stars_repo_path": "Main/Service.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136736"
} | starcoder | using System;
using System.ServiceProcess;
using System.Threading;
namespace CatsCloset.Main {
partial class Service : ServiceBase {
private Thread ServiceThread;
public Service() {
InitializeComponent();
}
private void ServiceMain() {
try {
... | 2.309575 | c501a8e45228b597248622cc8ff7f9cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817517 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "histechup/WpfVideoEditor",
"max_stars_repo_path": "WpfVideoEditor/Models/VideoFormat.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136737"
} | starcoder | namespace WpfVideoEditor.Models
{
public enum VideoFormat
{
FromSource,
MP4,
MKV,
WEBM,
}
}
| 1.504218 | 2454000d95766ad4acfffa9c455ead79 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.