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 | 8835040 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sarofc/com.saro.behaviortree",
"max_stars_repo_path": "Runtime/Utility/TypeExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154260"
} | starcoder | <filename>Runtime/Utility/TypeExtensions.cs
using System;
using System.Collections.Generic;
namespace Saro.BT.Utility
{
public static class TypeExtensions
{
public static readonly Dictionary<string, string> SimpleTypeNames = new Dictionary<string, string>()
{
{ "Boolean", "bool"}... | 3.313639 | 7c063c0e9d8c402553cd9b0ee3a4b5be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835041 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "Veritania/PerpetuumServer",
"max_stars_repo_path": "src/Perpetuum/Robots/Robot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154261"
} | starcoder | <reponame>Veritania/PerpetuumServer
using System;
using System.Collections.Generic;
using System.Linq;
using Perpetuum.Accounting.Characters;
using Perpetuum.Builders;
using Perpetuum.Common;
using Perpetuum.Containers;
using Perpetuum.Containers.SystemContainers;
using Perpetuum.EntityFramework;
using Perpetuum.Export... | 1.911294 | 01967b7a40f2dc50ed7f16605c249587 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835042 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "okanakgul/Ocelot",
"max_stars_repo_path": "test/Ocelot.Benchmarks/ExceptionHandlerMiddlewareBenchmarks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154262"
} | starcoder | using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Validators;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Ocelot.Configuration.Reposi... | 1.66651 | e564c69b865e34b7d21b9d61f53259c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835043 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "scottdorman/cadru",
"max_stars_repo_path": "src/Cadru.AspNetCore/Http/RequestResponseLoggingScopeFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154263"
} | starcoder | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Cadru.Core.Logging;
using Microsoft.AspNetCore.Http;
namespace Cadru.AspNetCore.Http
{
/// <summary>
/// Provides methods for creating a
/// <see cref="LoggingScope"/> from an
/// <see cref="Ht... | 2.458781 | e97cc1c5d3dbbbc3dc1cd0d11438e777 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835044 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "simonec73/threatsmanager",
"max_stars_repo_path": "Sources/Extensions/ThreatsManager.Quality/Analyzers/EquivalentEntities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154264"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using PostSharp.Patterns.Contracts;
using ThreatsManager.Interfaces;
using ThreatsManager.Interfaces.ObjectModel;
using ThreatsManager.Interfaces.ObjectModel.Entities;
using ThreatsManager.Interfaces.ObjectModel.Properties;
using Threa... | 2.495008 | e137c2c1bb75a64f06a9fa5c636c6086 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835045 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edgar1016/VnManager",
"max_stars_repo_path": "src/VnManager/Helpers/NsfwHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154265"
} | starcoder | <reponame>edgar1016/VnManager
// Copyright (c) micah686. All Rights Reserved.
// Licensed under the MIT License. See the LICENSE file in the project root for license information.
using System;
using System.Globalization;
using VndbSharp.Models.Common;
using VnManager.Models.Settings;
namespace VnManager.Helpers
{
... | 2.748953 | 6009444088353226bd84a24c1f0e4c2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835046 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tnboswell/ContentReportBuilder",
"max_stars_repo_path": "ContentReportBuilder.docX/Builder/DocumentElementFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154266"
} | starcoder | <gh_stars>0
using ContentReportBuilder.Builder;
using ContentReportBuilder.docX.Builder.Word.Elements;
using ContentReportBuilder.Models;
using System.Collections.Generic;
using Xceed.Document.NET;
namespace ContentReportBuilder.docX.Builder
{
class DocumentElementFactory : DocumentElementFactoryBase
{
... | 1.75384 | 82141450c8404ffa883cded9974777f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835047 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fezproof/polynova",
"max_stars_repo_path": "Assets/Abilities/AbilityUI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154267"
} | starcoder | using UnityEngine;
public class AbilityUI : MonoBehaviour
{
public AbilityRS abilitiesInv;
AbilityItem[] slots;
void Awake ()
{
slots = GetComponentsInChildren<AbilityItem> ();
UpdateAbilities ();
}
public void UpdateAbilities ()
{
Ability[] abilities = abilitiesInv.GetAbilities ();
for (int i = 0;... | 2.079021 | 1ae771c119535c889d6aa090d1f4e924 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835048 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WithUnity/WithUnity.Tools",
"max_stars_repo_path": "WithUnity.Tools.Test/LogTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154268"
} | starcoder | <reponame>WithUnity/WithUnity.Tools<gh_stars>0
/* Copyright 2015-2021 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, co... | 2.332778 | 903fde15f7cfca4755de1a8a19df5a4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835049 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "samkeen/Planet-Zed",
"max_stars_repo_path": "Assets/Scripts/SceneLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154269"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class SceneLoader : MonoBehaviour
{
void Start()
{
Invoke("LoadScene", 2.0f);
}
// Update is called once per frame
void LoadScene()
{
SceneMa... | 1.800423 | 6a69bd70841dc8e9a9ba2dddfe8018ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835050 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GalaxiaGuy/IabTcf",
"max_stars_repo_path": "src/IabTcf/PurposeOneTreatment.shared.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154270"
} | starcoder | namespace GamesWithGravitas.IabTcf
{
public enum PurposeOneTreatment
{
NoSpecialTreatment = 0,
NotDisclosed = 1,
}
}
| 1.338535 | 7ab4beb87271789456a6cd0bbac11934 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835051 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HeyJoel/Examples.PaymentGateway",
"max_stars_repo_path": "Examples.PaymentGateway.Domain/Payments/Repositories/InMemoryPaymentRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154271"
} | starcoder | <reponame>HeyJoel/Examples.PaymentGateway
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Examples.PaymentGateway.Domain.Internal
{
public class InMemoryPaymentsRepository : IPaymentRepository
... | 2.630195 | 4db64d51d7b7bcfe1198d917faf78d66 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835052 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bclehmann/Website",
"max_stars_repo_path": "src/cookbooks/4.1.4-beta/source/signal_gradientaboveandbelowgradient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154272"
} | starcoder | // Gradient Fill Above and Below
// Gradients can be used to fill above and below.
var plt = new ScottPlot.Plot(600, 400);
double[] data = DataGen.RandomWalk(1000);
plt.Style(Style.Gray1);
plt.Colorset(Drawing.Palette.OneHalfDark);
var sig = plt.AddSignal(data);
sig.MarkerSize = 0;
sig.Color = Color.Black;
sig.FillT... | 2.752265 | a1ac991a01ee23ce1c85cbcfdc4f287d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "petedavis/elsa-core",
"max_stars_repo_path": "src/core/Elsa.Core/Activities/ControlFlow/IfElse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154273"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
using Elsa.Expressions;
using Elsa.Extensions;
using Elsa.Results;
using Elsa.Services;
using Elsa.Services.Models;
namespace Elsa.Activities.ControlFlow
{
public class IfElse : Activity
{
private readonly IWorkflowExpressionEvaluator e... | 2.499726 | 15254ace26a1a0b43680e43acf6be50a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835054 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "msrao83/Telerik",
"max_stars_repo_path": "Controls/Core.UWP/Data/PropertyValueLookup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154274"
} | starcoder | using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Runtime.CompilerServices;
using Microsoft.CSharp.RuntimeBinder;
namespace Telerik.Core.Data
{
/// <summary>
/// Represents a concrete <see cref="ValueLookup"/> implementation that retrieves property value given the name of the ... | 2.759861 | 0b5468e36411af3037081a6099ff93d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835055 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "titrinidad/AltiumSharp",
"max_stars_repo_path": "AltiumSharp/Records/Sch/SchBezier.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154275"
} | starcoder | <filename>AltiumSharp/Records/Sch/SchBezier.cs
using System.Drawing;
namespace AltiumSharp.Records
{
public class SchBezier : SchBasicPolyline
{
public override int Record => 5;
public SchBezier() : base()
{
Color = ColorTranslator.FromWin32(255);
}
}
}
| 2.244545 | f5dbfcb87dba12bd03e1a411afaeb59c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835056 | {
"extension": "c-sharp",
"max_stars_count": "131.0",
"max_stars_repo_name": "Menniti/Bizanc.io.Core",
"max_stars_repo_path": "Bizanc.io.Matching.Core/Domain/IPeerManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154276"
} | starcoder | using System;
using System.Threading.Tasks;
using Bizanc.io.Matching.Core.Domain.Messages;
namespace Bizanc.io.Matching.Core.Domain
{
public interface IPeerManager
{
void Connect(IPeer peer);
Task Disconnect(IPeer peer);
}
} | 1.421878 | cde1e5950081d52367b0f61a93f74741 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835057 | {
"extension": "c-sharp",
"max_stars_count": "219.0",
"max_stars_repo_name": "mramra3004/AuthPermissions.AspNetCore",
"max_stars_repo_path": "Test/UnitTests/TestAuthPermissions/TestPermissionPacker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154277"
} | starcoder | // Copyright (c) 2021 <NAME>, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/
// Licensed under MIT license. See License.txt in the project root for license information.
using System.Linq;
using AuthPermissions.PermissionsCode.Internal;
using Test.TestHelpers;
using Xunit;
using Xunit.Extensions.AssertE... | 2.527777 | 19cd63e215350f2c7eb0f59cde2ed3df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835058 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "unosquare/entityframework-specification",
"max_stars_repo_path": "src/Unosquare.EntityFramework.Specification.Common/Extensions/SpecificationExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154278"
} | starcoder | using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq.Expressions;
using Unosquare.EntityFramework.Specification.Common.Primitive;
namespace Unosquare.EntityFramework.Specification.Common.Extensions
{
public static class SpecificationExtensions
{
public static Specification<T> And<T>(... | 2.469552 | bb010d9186ce3072f7b2c5b3c35ab7cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835059 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "songkyoo/UVViewer",
"max_stars_repo_path": "Assets/Plugins/Macaron/UVViwer/Editor/Internal/MeshSourceType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154279"
} | starcoder | <reponame>songkyoo/UVViewer
namespace Macaron.UVViewer.Editor.Internal
{
internal enum MeshSourceType
{
SelectedObject,
Custom
}
}
| 0.676165 | 8647aebb10d3ae228872d0044c741457 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835060 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "playgen/SUGAR-SocialGamification",
"max_stars_repo_path": "PlayGen.SUGAR.Server.Core.Tests/MatchControllerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154280"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using PlayGen.SUGAR.Common;
using PlayGen.SUGAR.Server.Model;
using Xunit;
namespace PlayGen.SUGAR.Server.Core.Tests
{
public class MatchControllerTests : CoreTestBase, IDisposable
{
private bool _isDispos... | 2.280307 | 37bce58751970a4718eb469729f8f196 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835061 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "biarne-a/Zebus",
"max_stars_repo_path": "src/Abc.Zebus/SubscriptionOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154281"
} | starcoder | using System;
namespace Abc.Zebus
{
[Flags]
public enum SubscriptionOptions
{
Default,
ThereIsNoHandlerButIKnowWhatIAmDoing,
}
} | 1.407317 | 4bdd407b70682e6e154c6d01941586e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835062 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KinveyApps/SimpleMessaging",
"max_stars_repo_path": "SimpleMessaging/SimpleMessaging/ViewControllerUsers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154282"
} | starcoder | <gh_stars>0
using System;
using CoreGraphics;
using UIKit;
namespace SimpleMessaging
{
public partial class ViewControllerUsers : UIViewController
{
internal UITextField SenderIDView;
internal UILabel MessageView;
nfloat h = 31.0f;
UIColor colorDarkBlue = UIColor.FromRGB(7, 69, 126);
UIColor colorLightBlu... | 2.020864 | 540d88cd1103fd483337be328671fce9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835063 | {
"extension": "c-sharp",
"max_stars_count": "365.0",
"max_stars_repo_name": "abharath27/azure-libraries-for-net",
"max_stars_repo_path": "src/ResourceManagement/AppService/Domain/InterfaceImpl/ConnectionStringImpl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154283"
} | 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.AppService.Fluent
{
using Microsoft.Azure.Management.AppService.Fluent.Models;
internal partial class ConnectionStrin... | 2.225831 | 8c7de5e8b35e3544e5a09a280e78bf2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835064 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jen20/AggregateSource",
"max_stars_repo_path": "src/AggregateSource.Testing/AggregateCommandThrowStateBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154284"
} | starcoder | using System;
namespace AggregateSource.Testing
{
class AggregateCommandThrowStateBuilder : IAggregateCommandThrowStateBuilder
{
readonly Func<IAggregateRootEntity> _sutFactory;
readonly object[] _givens;
readonly Action<IAggregateRootEntity> _when;
readonly Exception _throws;
... | 2.166325 | f9cfd58ab469b06f43431ad3777ac684 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835065 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vladimir-Novick/Multiple-Queue-Service",
"max_stars_repo_path": "MQS.NetCore2.Server/MQS.NetCore2.Server/Code/DataCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154285"
} | starcoder |
using MQS.NetCore2.Api;
using MQS.NetCore2.Code;
using System;
using System.Collections.Concurrent;
using TaskContainerLib;
/*
Copyright (C) 2016-2018 by <NAME> http://www.linkedin.com/in/vladimirnovick ,
<EMAIL> , http://www.sgcombo.com , https://github.com/Vladimir-Novick
Permission is hereby ... | 1.851812 | 2fcf4a426c2961d6b7bdc8560900761f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835066 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kartegagithub/partner-center-dotnet",
"max_stars_repo_path": "src/PartnerCenter/Models/Usage/SpendingBudget.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154286"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Store.PartnerCenter.Models.Usage
{
/// <summary>
/// The spending budget allocated to the customer by the partner.
/// </summary>
publ... | 1.911735 | b86704878c1471066421ed935cc89eab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835067 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "rgregg/photo-organizer",
"max_stars_repo_path": "PhotoOrganizer/CFileInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154287"
} | starcoder | #if FALSE
using System;
using System.Text;
using System.IO;
using Shell32;
using System.Collections;
namespace PhotoOrganizer
{
/// <summary>
/// Returns the detailed Information of a given file.
/// </summary>
public class CFileInfo : IFileInfo
{
public CFileInfo(string sFPath, FileAt... | 2.770094 | bee735f99eeb9ba1e1211993277aac4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835068 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Harbour8643/Harbour.Utils",
"max_stars_repo_path": "Harbour.Utils/HttpUtils/JsonData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154288"
} | starcoder | <gh_stars>0
namespace Harbour.Utils
{
/// <summary>
/// Json返回值类
/// </summary>
public class JsonData<T>
{
/// <summary>
/// JsonData
/// </summary>
public JsonData() { }
/// <summary>
/// JsonData
/// </summary>
/// <param name="Code"... | 2.322919 | 10fd0d4473143a318e7e5dcf41662ca3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835069 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "tiksn/TIKSN-Framework",
"max_stars_repo_path": "TIKSN.Core/Data/Mongo/IMongoClientSessionStore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154289"
} | starcoder | using MongoDB.Driver;
namespace TIKSN.Data.Mongo
{
public interface IMongoClientSessionStore
{
void SetClientSessionHandle(IClientSessionHandle clientSessionHandle);
void ClearClientSessionHandle();
}
}
| 1.363941 | 6b66c7663388f992f8efc9b45706ed78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835070 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JohnLTaylor/azure-cosmos-dotnet-v3",
"max_stars_repo_path": "Microsoft.Azure.Cosmos/src/IMediaResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154290"
} | starcoder | //------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos
{
using Microsoft.Azure.Cosmos.Collections;
using System.Collections.Specialized;
usi... | 2.213832 | eeaec83e786f14a3cfe34e3e8004a92f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835071 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "czarek-szok/DDD.Example",
"max_stars_repo_path": "src/Ecommerce.Sales.Domain/Orders/Discount/CustomerVipDiscountPolicy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154291"
} | starcoder |
namespace Sales.Domain.Orders.Policies.Discount
{
public class CustomerVipDiscountPolicy : IDiscountPolicy
{
private double _discount;
public CustomerVipDiscountPolicy(double discountPercentage)
{
_discount = discountPercentage / 100;
}
public double Calcu... | 2.812419 | 1d96a6eba31327b356939dcfec4c6e32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835072 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "russellmorley/machine",
"max_stars_repo_path": "tests/SIL.Machine.Tokenization.SentencePiece.Tests/SentencePieceDetokenizerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154292"
} | starcoder | <gh_stars>10-100
using System.Linq;
using NUnit.Framework;
namespace SIL.Machine.Tokenization.SentencePiece
{
[TestFixture]
public class SentencePieceDetokenizerTests
{
[Test]
public void Detokenize()
{
var detokenizer = new SentencePieceDetokenizer();
string sentence = detokenizer.Detokenize("▁In ▁par... | 2.741317 | b8c628e86c3029ac1a4d42147e7ec8dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835073 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DEFRA/prsd-iws",
"max_stars_repo_path": "src/EA.Iws.TestHelpers/DomainFakes/TestableTechnologYEmployed.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154293"
} | starcoder | namespace EA.Iws.TestHelpers.DomainFakes
{
using Domain.NotificationApplication;
using Helpers;
public class TestableTechnologyEmployed : TechnologyEmployed
{
public new bool AnnexProvided
{
get { return base.AnnexProvided; }
set { ObjectInstantiator<Technology... | 2.037432 | f4383e3064d0b0dacd2affe91fa94b47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835074 | {
"extension": "c-sharp",
"max_stars_count": "144.0",
"max_stars_repo_name": "GSoft-SharePoint/dynamite",
"max_stars_repo_path": "Source/GSoft.Dynamite/Lists/IPublishedLinksEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154294"
} | starcoder | <filename>Source/GSoft.Dynamite/Lists/IPublishedLinksEditor.cs<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GSoft.Dynamite.Lists.Entities;
using Microsoft.SharePoint;
namespace GSoft.Dynamite.Lists
{
/// <summary>
/... | 2.318788 | ee0ef921714183537d8c75518784055e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834819 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "max-ieremenko/SqlDatabase",
"max_stars_repo_path": "Sources/SqlDatabase/Scripts/ScriptFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154039"
} | starcoder | using System;
using System.IO;
using System.Linq;
using SqlDatabase.Configuration;
using SqlDatabase.IO;
namespace SqlDatabase.Scripts
{
internal sealed class ScriptFactory : IScriptFactory
{
public AssemblyScriptConfiguration AssemblyScriptConfiguration { get; set; }
public IPowerShellFactor... | 2.667829 | 2c2ccbd34a10390faa1618855f85cd23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834820 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "americoa/ConstantContactV2",
"max_stars_repo_path": "ConstantContactV2/Models/Contacts/Note.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154040"
} | starcoder |
using System;
using System.Runtime.Serialization;
namespace Aarvani.ConstantContactV2.Models.Contacts
{
[DataContract]
[Serializable]
public class Note
{
[DataMember(Name = "id", EmitDefaultValue = false)]
public string Id { get; set; }
[DataMember(Name = "note", Emit... | 1.85643 | 430fb727cb4db5aadebeaa6b5dbce354 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834821 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "modelica/efmi-containermanager",
"max_stars_repo_path": "eFMUContainerManager.CLI/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154041"
} | starcoder | <gh_stars>1-10
/*
* Copyright (c) 2021, dSPACE GmbH, Modelica Association and contributors
*
* Licensed under the 3-Clause BSD license(the \"License\");
* you may not use this software except in compliance with
* the License.
* ... | 2.033807 | 793194123421cde54e3b354448d7ea19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834822 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mylan719/snowfur2016",
"max_stars_repo_path": "SnowFur.BL/Dtos/AttendeeListItemDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154042"
} | starcoder | <reponame>Mylan719/snowfur2016<filename>SnowFur.BL/Dtos/AttendeeListItemDto.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SnowFur.BL.Dtos
{
public class AttendeeListItemDto
{
public int Count { get; set; }
... | 1.831101 | 443823d8d96c956a3b78c79f6041fda8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834823 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mousavi310/efcore",
"max_stars_repo_path": "test/EFCore.Design.Tests/TestUtilities/DesignTestHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154043"
} | starcoder | <filename>test/EFCore.Design.Tests/TestUtilities/DesignTestHelpers.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.EntityFrameworkCore.Diagnostics;
using Microsoft.EntityFrameworkCore.TestUtilities.FakeProvider;... | 1.330878 | 7db0249e2e74b2e21d1107be45bf720b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834824 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "velddev/Meru",
"max_stars_repo_path": "Meru.Commands/PrivateCommandProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154044"
} | starcoder | <reponame>velddev/Meru
using System;
using System.Collections.Generic;
using System.Text;
namespace Meru.Commands
{
class PrivateCommandProcessor : CommandProcessor
{
private PrivateCommandProcessorConfiguration config;
public PrivateCommandProcessor(object ownerId, PrivateCommandProcessorCon... | 1.757547 | b61e7a976168d9cacbece322cc563460 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834825 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "hAmpzter/NSwag.Examples",
"max_stars_repo_path": "samples/NSwagWithExamples/Models/CustomInternalErrorOnMethodLevel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154045"
} | starcoder | <gh_stars>1-10
using NSwagWithExamples.Models;
public class CustomInternalErrorOnMethodLevel
{
public string Reason { get; set; }
public int Severity { get; set; }
public string AdditionalErrorInfo { get; set; }
} | 1.577833 | 9f2cdd8f9f7cf4988b616187502814f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834826 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShriefFadl/AutoSignup",
"max_stars_repo_path": "AutoSignup/Generators/UserGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154046"
} | starcoder | <filename>AutoSignup/Generators/UserGenerator.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutoSignup.Generators
{
public static class UserGenerator
{
public static User LastGeneratedUser;
public static void I... | 3.023544 | df05abcddebdd552d6b624aa185dcf5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834827 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mohamed-Hamouda/Lighto",
"max_stars_repo_path": "Assets/2DLightAssets/Scripts/3.CoverExplosion(shockwave)/ReachedEventManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154047"
} | starcoder | using UnityEngine;
using System.Collections;
public class ReachedEventManager : MonoBehaviour {
DynamicLight light2d;
GameObject myGO;
GameObject[] GOsReached;
// Use this for initialization
void Start () {
light2d = GameObject.Find("2DLight").GetComponent<DynamicLight>() as DynamicLight;
myGO = GameObje... | 2.350407 | 3bc211fa74bd2c0e43bb15e7835ef792 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834828 | {
"extension": "c-sharp",
"max_stars_count": "108.0",
"max_stars_repo_name": "yinyue200/PeanutButter",
"max_stars_repo_path": "source/TestUtils/RandomBuilderPerformanceTest/Fortel/QualityAssuranceViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154048"
} | starcoder | <reponame>yinyue200/PeanutButter<gh_stars>100-1000
using System.Collections.Generic;
using System.Web.Mvc;
namespace RandomBuilderPerformanceTest.Fortel
{
public class QualityAssuranceViewModel : ViewModelBase
{
public string QualityAssuranceNumber { get; set; }
public List<AttachmentViewModel... | 1.126156 | f216700ef0f8586a0904e35a99e30b30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834829 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sookeke/PSP",
"max_stars_repo_path": "backend/entities/Person.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154049"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace Pims.Dal.Entities
{
/// <summary>
/// Person class, provides an entity for the datamodel to manage persons.
/// </summary>
[MotiTable("PIMS_PERSON", "PERSON")]
public class Person : BaseApp... | 2.798727 | 5e8cb3d445c0541c69035be8e7f5ec8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834830 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rikace/orleans",
"max_stars_repo_path": "src/OrleansRuntime/Catalog/ActivationDirectory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154050"
} | starcoder | <reponame>rikace/orleans
/*
Project Orleans Cloud Service SDK ver. 1.0
Copyright (c) Microsoft Corporation
All rights reserved.
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the ""Software""), to deal in the Software... | 2.032263 | 5b5c3b6c7031973fa846379a0252e527 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834831 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "george-polevoy/JumboExcel",
"max_stars_repo_path": "JumboExcel/ExcelHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154051"
} | starcoder | using System;
using System.Text;
namespace JumboExcel
{
/// <summary>
/// Auxiliary, Excel specific functions.
/// </summary>
static class ExcelHelper
{
/// <summary>
/// Formats the cell address for Excel.
/// </summary>
/// <param name="row">Zero base... | 3.438163 | 35a4488929c7e66f3b8ea8ed735d13a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834832 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fossabot/Etl.Net",
"max_stars_repo_path": "src/Paillave.Etl/Core/Aggregation/AggregationProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154052"
} | starcoder | using Paillave.Etl.Core.Aggregation.Visitors;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace Paillave.Etl.Core.Aggregation
{
public class Ag... | 2.444522 | 2e1473b7fc3a17980c62bdb99e581d65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834833 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Slesa/Poseidon",
"max_stars_repo_path": "src/BackOffice/BackOffice/ViewModels/ShellViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154053"
} | starcoder | using System.ComponentModel;
using System.Windows;
using System.Windows.Input;
using Microsoft.Practices.Prism.Commands;
using Microsoft.Practices.Prism.Interactivity.InteractionRequest;
using Microsoft.Practices.Prism.PubSubEvents;
using Microsoft.Practices.ServiceLocation;
using Poseidon.BackOffice.Common;
namespa... | 2.114496 | 3074f13c770c7e493d35027ccff89452 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834834 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Yeah69/BFF",
"max_stars_repo_path": "ViewModel/Extensions/IDisposableRxCommandExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154054"
} | starcoder | using MrMeeseeks.Reactive.Extensions;
using MrMeeseeks.Windows;
using System;
using System.Reactive;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
namespace BFF.ViewModel.Extensions
{
public static class IDisposableRxCommandExtensions
{... | 2.421972 | bcc67a657d1966db70532f1297d914f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834835 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "theChaosCoder/VSRepoGUI",
"max_stars_repo_path": "VSRepoGUI/Converters/ButtonStatusConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154055"
} | starcoder | using System;
using System.Windows.Data;
using System.Windows.Media;
namespace VSRepoGUI.Converters
{
public class ButtonStatusConverter : IValueConverter
{
//public static Style style = "MaterialDesignRaisedButton";
public object Convert(object value, Type targetType, object parameter, Syst... | 2.530365 | de52566d4dd3c54fb8d50ff889074457 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834836 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hnjm/Chat",
"max_stars_repo_path": "Finalizer/Function.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154056"
} | starcoder | using System.Threading.Tasks;
using Amazon.DynamoDBv2;
using LambdaSharp.Chat.Common.DataStore;
using LambdaSharp.Chat.Common.Records;
using LambdaSharp;
using LambdaSharp.Finalizer;
namespace LambdaSharp.Chat.Finalizer {
public sealed class Function : ALambdaFinalizerFunction {
//--- Fields ---
... | 2.29132 | a67190f7125c684c3cfd48d3a57a931f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834837 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rajanadar/EasyNotification",
"max_stars_repo_path": "Butterfly.PushNotification/Types/Classes/ValidationResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154057"
} | starcoder | // <copyright file="ValidationResult.cs" company="Butterfly">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
// <summary>
// The 'ValidationResult' class.
// </summary>
namespace Butterfly.PushNotification
{
using System;
/// <summary>
/// The response to a validation operation.
/// </... | 2.765613 | 238acc99c2736a9490d43e01370a54b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834838 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "regiuskornel/dotnettraining",
"max_stars_repo_path": "Core/Delegates/AnonymousDelegate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154058"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SampleHorse.Core.Delegates
{
class AnonymousDelegate
{
public int ConvertToInt(string number)
{
SampleDelegate cardinal = delegate(string str)
{... | 3.322539 | 29586e79106f0ce7e6884366489a4216 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834839 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "VSS-DEV/X-Filer",
"max_stars_repo_path": "src/XFiler/Tab/ViewModels/Search/Models/RouteModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154059"
} | starcoder | <gh_stars>10-100
namespace XFiler;
public class RouteModel : ResultsModel
{
public Route Route { get; }
public RouteModel(string text, Route route) : base(text)
{
Route = route;
}
} | 1.808038 | 41abd06d51985a9fdaaf496942f488b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834840 | {
"extension": "c-sharp",
"max_stars_count": "183.0",
"max_stars_repo_name": "BSick7/Fayde",
"max_stars_repo_path": "Tools/WickedSick.MVVM/TreeViewEx/TreeViewBehavior.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154060"
} | starcoder | using System.Windows;
using System.Windows.Controls;
using System.Windows.Interactivity;
namespace WickedSick.MVVM.TreeViewEx
{
public class TreeViewBehavior : Behavior<TreeView>
{
public static readonly DependencyProperty SelectedItemProperty = DependencyProperty.Register(
"Selec... | 2.624593 | aee7d65acb27e0d6438a4dc9dcbe84a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834841 | {
"extension": "c-sharp",
"max_stars_count": "577.0",
"max_stars_repo_name": "Klug76/flashdevelop",
"max_stars_repo_path": "External/Archive/FlashDebugger/FlexSDK/SwfUtils/flash/swf/tags/DoInitAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154061"
} | starcoder | ////////////////////////////////////////////////////////////////////////////////
//
// ADOBE SYSTEMS INCORPORATED
// Copyright 2003-2006 Adobe Systems Incorporated
// All Rights Reserved.
//
// NOTICE: Adobe permits you to use, modify, and distribute this file
// in accordance with the terms of the license ... | 2.108799 | 77bdc26be8ababf0eacd7f22b7850b59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834842 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hanabi1224/Bing.NetCore",
"max_stars_repo_path": "src/Bing/Logs/Abstractions/ILogFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154062"
} | starcoder | namespace Bing.Logs.Abstractions
{
/// <summary>
/// 日志工厂
/// </summary>
public interface ILogFactory
{
/// <summary>
/// 获取日志
/// </summary>
/// <param name="name">日志名称</param>
/// <returns></returns>
ILog GetLog(string name);
}
}
| 2.383606 | 4a8246b7ff193b0fdb447d763eb94bf7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834843 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "kdcllc/Bet.AspNetCore.Configuration",
"max_stars_repo_path": "src/Bet.AspNetCore.Sample/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154063"
} | starcoder | <reponame>kdcllc/Bet.AspNetCore.Configuration<gh_stars>10-100
using System;
using System.Threading.Tasks;
using Bet.AspNetCore.Sample.Data;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Serilog;
... | 1.940443 | f7cf27feaa857dd1586ca9877759c40f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834844 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MarketKernel/webmoney-api",
"max_stars_repo_path": "WebMoney.XmlInterfaces/BasicObjects/HashKind.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154064"
} | starcoder | namespace WebMoney.XmlInterfaces.BasicObjects
{
public enum HashKind
{
MD5,
SHA256
}
}
| 1.650957 | 0af47a17541f1a5869b775f81a80b0b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834845 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "gageas/lutea",
"max_stars_repo_path": "Lutea/DefaultUI/Shell32.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154065"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace Gageas.Lutea.DefaultUI
{
class Shell32
{
[DllImport("Shell32.dll")]
public extern static int ExtractIconEx(string libName, int iconIndex,
In... | 2.185757 | 21cedd9bcc8ee1f6fea224eeab6898c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834846 | {
"extension": "c-sharp",
"max_stars_count": "86.0",
"max_stars_repo_name": "M-Mommsen/BinaryKits.Zpl",
"max_stars_repo_path": "src/BinaryKits.Zpl.Viewer/IPrinterStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154066"
} | starcoder | <reponame>M-Mommsen/BinaryKits.Zpl<filename>src/BinaryKits.Zpl.Viewer/IPrinterStorage.cs
namespace BinaryKits.Zpl.Viewer
{
public interface IPrinterStorage
{
void AddFile(char storageDevice, string fileName, byte[] data);
byte[] GetFile(char storageDevice, string fileName);
}
}
| 1.896916 | 80a2371613243dd573b996c28ed630e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834847 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NickMOrlando/CSharpWars-CodeMash-2020",
"max_stars_repo_path": "src/backend/CSharpWars/CSharpWars.Tests/Mapping/PlayerMapperTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154067"
} | starcoder | using System;
using CSharpWars.DtoModel;
using CSharpWars.Mapping;
using CSharpWars.Model;
using FluentAssertions;
using Xunit;
namespace CSharpWars.Tests.Mapping
{
public class PlayerMapperTests
{
[Fact]
public void PlayerMapper_Can_Map_PlayerModel_To_PlayerDto()
{
// Arra... | 2.627596 | f9d7a8e7dbedb5884b797c9ce4651d30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834848 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LEI-Hongfaan/UltimateOrb.Core",
"max_stars_repo_path": "UltimateOrb.Core.SourceGenerators/System/Runtime/CompilerServices/NullableContextAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154068"
} | starcoder | using System;
using Microsoft.CodeAnalysis;
namespace System.Runtime.CompilerServices {
[CompilerGenerated]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
public sealed ... | 2.218949 | c34c58fabadf8f45d283c8420f402dcb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834849 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ethereal77/stride",
"max_stars_repo_path": "sources/engine/Stride.Shaders.Parser/Mixins/StrideTagCleaner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154069"
} | starcoder | // Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org)
// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net)
// Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// See the LICENSE.md file in the project root for full license information.
u... | 1.559465 | 4cd7c3aaa1266301583a25fd2a4ba6fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834850 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SolutionheadOpenTech/EF-Split-Projector",
"max_stars_repo_path": "Tests/LINQMethods/Join_KeyComparer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154070"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Tests.Helpers;
namespace Tests.LINQMethods
{
[TestFixture]
public class Join_KeyComparer : LINQQueryableInventoryMethodTestBase<JoinSelect>
{
protected override IQueryable<JoinSelect> GetQuery(IQueryable<InventorySele... | 2.608293 | f3ce954109a4be46a5b5bb176c5af379 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834851 | {
"extension": "c-sharp",
"max_stars_count": "780.0",
"max_stars_repo_name": "OliveiraLands/cofoundry",
"max_stars_repo_path": "src/Cofoundry.Web/App_Start/Routes/RobotsRouteRegistration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154071"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
namespace Cofoundry.Web
{
public class RobotsRouteRegistration : IOrderedRouteRegistration
{
public int Ordering => (int)RouteRegistrationOrdering.Early;
... | 2.005831 | 8b7fa1dc83ef8ed8318cbe64f6875b70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834852 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "h-alone/aceadmin",
"max_stars_repo_path": "src/Netnr.P/Netnr.Blog.Web/Areas/Gist/Controllers/CodeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154072"
} | starcoder | using System.Linq;
using Microsoft.AspNetCore.Mvc;
namespace Netnr.Web.Gist.Controllers
{
[Area("Gist")]
public class CodeController : Controller
{
/// <summary>
/// Gist一条操作
/// </summary>
/// <returns></returns>
public IActionResult Index()
{
s... | 2.046701 | a601430ad97c8e66a7bfa3d0c2598574 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834853 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "porresuppe/localization-provider-aspnet",
"max_stars_repo_path": "src/DbLocalizationProvider.AspNet/Queries/GetTranslationHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154073"
} | starcoder | // Copyright (c) 2019 <NAME>.
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy, modify, merge, publish, dist... | 1.767202 | 09862abd016aa76dd0163ada3a799534 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834854 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SilentWave/ObjConvert",
"max_stars_repo_path": "src/Obj2Gltf/Gltf/Mesh.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154074"
} | starcoder | <reponame>SilentWave/ObjConvert
using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace SilentWave.Gltf
{
/// <summary>
/// A set of primitives to be rendered.
///
/// A node can contain one or more meshes and its transform places the meshes in
/// the s... | 2.528035 | ed5545bf383e8a7dae5fcceb5cfcd376 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834855 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "austinkeller/pwiz",
"max_stars_repo_path": "pwiz_tools/Shared/Common/DataBinding/Attributes/ExpensiveAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154075"
} | starcoder | using System;
namespace pwiz.Common.DataBinding.Attributes
{
/// <summary>
/// Use this attribute to indicate that a property is expensive to calculate.
/// Double-clicking on a column header to resize will be disabled for this property
/// and all descendents.
/// </summary>
[Attribu... | 2.181838 | 699836279733bb59303b4692a42a6e25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834856 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "youstinus/algorithm-analysis",
"max_stars_repo_path": "MergeSortOP/DataArray.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154076"
} | starcoder | using System;
using SortBase;
namespace MergeSortOP
{
public interface IDataArray
{
int Length { get; }
Numbers this[int index] { get; }
Numbers First();
Numbers Next();
DataArray Head();
DataArray Tail();
DataArray MergeSortArray();
bool CheckSo... | 3.523808 | c63a0f95827b83923a30efbdf94dcc8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834857 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "Nukleon84/MiniSim",
"max_stars_repo_path": "source/MiniSim.Core/Thermodynamics/Factories/VariableFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154077"
} | starcoder | <gh_stars>10-100
using MiniSim.Core.Expressions;
using MiniSim.Core.UnitsOfMeasure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MiniSim.Core.Thermodynamics
{
public class VariableFactory
{
UnitSet _internal = UnitSet.Cre... | 2.765967 | a54cda0421bce69ad17119785002caf0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834858 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TH3UNKN0WN-1337/Heathen-System-Core",
"max_stars_repo_path": "Assets/_Heathen Engineering/SystemsCore/Framework/EventTools/CollisionStaySender.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154078"
} | starcoder | using HeathenEngineering.Serializable;
using UnityEngine;
namespace HeathenEngineering.Events
{
[AddComponentMenu("System Core/Events/Collision Stay Sender")]
public class CollisionStaySender : MonoBehaviour
{
[Header("Game Event")]
public CollisionGameEvent PhysicsEvent;
[Header(... | 2.227656 | bf7b08124945a302e99f580473642ab2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834859 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ThePhilStrongProject/CRAPserver",
"max_stars_repo_path": "CRAPserver/MessageObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154079"
} | starcoder | <reponame>ThePhilStrongProject/CRAPserver
using System;
using System.Collections.Generic;
using System.Data.SQLite;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace CRAPserver
{
class MessageObject
{
public int nodeid;
public string statetyp... | 2.863806 | 9c4d6ca035770cbabad615d5191bfd87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834860 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dolittle-einar/Runtime",
"max_stars_repo_path": "Specifications/Events.Coordination/for_UncommittedEventStreamCoordinator/given/all_dependencies.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154080"
} | starcoder | <gh_stars>0
using Dolittle.Runtime.Events.Storage;
using Dolittle.Runtime.Events.Publishing;
using Dolittle.Runtime.Events.Processing;
using Dolittle.Logging;
using Machine.Specifications;
using Moq;
namespace Dolittle.Runtime.Events.Coordination.Specs.for_UncommittedEventStreamCoordinator.given
{
public class al... | 1.127229 | ef83de577c2c6cd8f5f9f55a0c0f86e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834861 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "Ravadre/Stacks",
"max_stars_repo_path": "Stacks/Client/RawByteClientStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154081"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Reactive.Linq;
namespace Stacks
{
public class RawByteClientStream : Stream
{
private IRawByteClient client;
... | 2.669333 | b8fdec246024998eec419a5a471d80e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shimitei/Open-Xml-PowerTools",
"max_stars_repo_path": "OpenXmlPowerTools/PtOpenXmlUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154082"
} | starcoder | /***************************************************************************
Copyright (c) Microsoft Corporation 2012-2015.
This code is licensed using the Microsoft Public License (Ms-PL). The text of the license can be found here:
http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx... | 2.05523 | 88c852264cd1048e473f940985eaeba3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834863 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "JonathanAsbury-ACS/azure-iot-platform-dotnet-1",
"max_stars_repo_path": "src/services/device-telemetry/Services/Concurrency/ITimer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154083"
} | starcoder | <gh_stars>1-10
// <copyright file="ITimer.cs" company="3M">
// Copyright (c) 3M. All rights reserved.
// </copyright>
using System;
namespace Mmm.Iot.DeviceTelemetry.Services.Concurrency
{
public interface ITimer
{
ITimer Start();
ITimer StartIn(TimeSpan delay);
void Stop();
... | 1.670239 | eb55313666e5f035b13be5ea053ac81a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834864 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EvgeniManolov/Share-Travel-System",
"max_stars_repo_path": "src/ShareTravelSystem.ViewModels/Review/DisplayReviewViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154084"
} | starcoder | <reponame>EvgeniManolov/Share-Travel-System
namespace ShareTravelSystem.ViewModels.Review
{
using System;
using System.ComponentModel.DataAnnotations;
using Common;
using Data.Models;
public class DisplayReviewViewModel : IMapFrom<Review>
{
public int Id { get; set; }
[Require... | 1.985211 | eecbe1d20867746eb0647dc41309faca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834865 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "biaomopopo/Unity3D-Server",
"max_stars_repo_path": "Server Game Frame/Server Game Frame/Script/PlayerDic/PlayerManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154085"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Server_Game_Frame.Script.PlayerDic
{
public class PlayerManager
{
//玩家列表
static Dictionary<string, Player> players = new Dictionary<string, Player>();
public s... | 2.721032 | 21a15748e04893b9e630523833b0ba88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834866 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "didimitrov/OnlineShop",
"max_stars_repo_path": "OnlineShop.Web/Models/ProductViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154086"
} | starcoder | <reponame>didimitrov/OnlineShop
using OnlineShop.Data.DAL;
namespace OnlineShop.Web.Models
{
public class ProductViewModel
{
public ProductViewModel(string name, decimal price, int id, string image,byte rating)
{
Id=id;
Name = name;
Price = price;
... | 2.364824 | 1169b3153dca5ed8193c421412c6ea81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834867 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SinfonyGit/Impol-IzsekovanjeRondelic",
"max_stars_repo_path": "Izvorna koda/net core - backend/IzracunStevilaRondelic/Rondelica.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154087"
} | starcoder | <reponame>SinfonyGit/Impol-IzsekovanjeRondelic<filename>Izvorna koda/net core - backend/IzracunStevilaRondelic/Rondelica.cs
using System;
using System.Diagnostics;
namespace AlgoritemOptimalnegaIzracunaRondelic
{
public class Rondelica
{
public static Tuple<int, string> IzracunRondelice(int sirinaTra... | 2.614571 | d702101378045543b4baa159875c2b0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834868 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CartBlanche/IOKit-Sharp",
"max_stars_repo_path": "IOKit.Sharp/BaseDeviceManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154088"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using CoreFoundation;
using Foundation;
namespace IOKit.Sharp
{
public abstract class BaseDeviceManager
{
#region Event Handlers
public EventHandler<DeviceArgs> OnDeviceAdded;
public EventHandler<DeviceArgs> OnDevice... | 2.355702 | 5693120c4c83fd2cbca9305765e049c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834869 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "b-y-t-e/TheSaga",
"max_stars_repo_path": "TheSaga/TheSaga/Commands/ExecuteStepCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154089"
} | starcoder | using TheSaga.Events;
using TheSaga.MessageBus;
using TheSaga.Models;
using TheSaga.Models.Interfaces;
using TheSaga.ModelsSaga.Actions.Interfaces;
using TheSaga.ModelsSaga.Interfaces;
using TheSaga.ModelsSaga.Steps.Interfaces;
using TheSaga.ValueObjects;
namespace TheSaga.Commands
{
internal class ExecuteStepCom... | 1.532154 | 35c0ea7d126b194da87cd0302cdb2ea1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834870 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "fernandosgodoy/single-agenda-assessment",
"max_stars_repo_path": "SingleAgenda/SingleAgenda.Entities/UsersAndRoles/User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154090"
} | starcoder | <filename>SingleAgenda/SingleAgenda.Entities/UsersAndRoles/User.cs
using SingleAgenda.Entities.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace SingleAgenda.Entities.UsersAndRoles
{
p... | 2.424767 | cdd6c4de5a025d069d01b69dd994a8c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neiltait/medex_api_pub",
"max_stars_repo_path": "MedicalExaminer.Models/IExamination.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154091"
} | starcoder | using System;
using System.Collections.Generic;
using MedicalExaminer.Models.Enums;
namespace MedicalExaminer.Models
{
public interface IExamination
{
string HospitalNumber_1 { get; set; }
string HospitalNumber_2 { get; set; }
string HospitalNumber_3 { get; set; }
string Med... | 1.927123 | 7d1cf1145ad5d3064f64fdb405ab5eb7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834872 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "myblindy/roslyn",
"max_stars_repo_path": "src/Features/CSharp/Portable/CodeFixes/AddExplicitCast/AddExplicitCastCodeFixProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154092"
} | 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.
#nullable enable
using System.Collections.Immutable;
using System.Composition;
using System.Diagnostics.CodeAnalys... | 1.652162 | 16b2bee1e4bfcc7aa373b99f1bf49da8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834873 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DenysVuika/SPG",
"max_stars_repo_path": "SPG/PropertyEditing/ComboBoxEditorBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154093"
} | starcoder | /*
* Copyright © 2011, <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 2.462556 | 9e6af0f1219d1bdeb0b285d2dcde2f0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834874 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "Uintra/Uintra",
"max_stars_repo_path": "src/Uintra/Features/Notification/Sql/Reminder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154094"
} | starcoder | <reponame>Uintra/Uintra<filename>src/Uintra/Features/Notification/Sql/Reminder.cs
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Uintra.Features.Notification.Configuration;
using Uintra.Persistence;
using Uintra.Persistence.Sql;
namespace Uintra.Fe... | 1.786124 | dac313fd5a7a49c24371a866ae674905 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834875 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "CslaGenFork/CslaGenFork",
"max_stars_repo_path": "trunk/Samples/DeepLoad/DAL-DTO/ParentLoadROSoftDelete.DataAccess/ERLevel/E05_SubContinent_ReChildDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154095"
} | starcoder | namespace ParentLoadROSoftDelete.DataAccess.ERLevel
{
public partial class E05_SubContinent_ReChildDto
{
}
}
| 0.751459 | 3f12da0d513ba35d0112111e910b01a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834876 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jypa/GreyWorm",
"max_stars_repo_path": "GreyWorm/Deciders/IMoveDecider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154096"
} | starcoder | <gh_stars>0
using Network;
namespace GreyWorm
{
public interface IMoveDecider
{
Maybe<Direction> Decide(Level level);
}
} | 1.472766 | 169202d10bd8e86a50bf334def38c447 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834877 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "itanoss/NFluent",
"max_stars_repo_path": "src/NFluent/Checks/EventWaitHandleCheckExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154097"
} | starcoder | <filename>src/NFluent/Checks/EventWaitHandleCheckExtensions.cs
// // --------------------------------------------------------------------------------------------------------------------
// // <copyright file="EventWaitHandleCheckExtensions.cs" company="">
// // Copyright 2014 <NAME>
// // Licensed under the Apa... | 2.62247 | ce765446aa132939d441914854724a50 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834878 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "jmarcincin/MultiK2",
"max_stars_repo_path": "MultiK2/SensorType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154098"
} | starcoder | namespace MultiK2
{
public enum SensorType
{
Unknown,
Local,
NetworkServer,
NetworkClient
}
}
| 1.495053 | 6aa057c05610539c68661b625bf64d03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834879 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AnotherEnd15/AEAssist",
"max_stars_repo_path": "AEAssist/AI/Machinist/GCD/MCHGCD_ChainSaw.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154099"
} | starcoder | using System.Threading.Tasks;
using AEAssist.Define;
using AEAssist.Helper;
namespace AEAssist.AI.Machinist.GCD
{
public class MCHGCD_ChainSaw : IAIHandler
{
public int Check(SpellEntity lastSpell)
{
if (!SpellsDefine.ChainSaw.IsReady())
return -1;
retur... | 2.226265 | a18530ab37cdbacc86de0e427a1afb2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834880 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ianitor/ObjectServicePlatform",
"max_stars_repo_path": "Osp/Backend/Ianitor.Osp.Backend.Authentication/Google/GoogleAuthSchemeCreator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154100"
} | starcoder | <filename>Osp/Backend/Ianitor.Osp.Backend.Authentication/Google/GoogleAuthSchemeCreator.cs
using Ianitor.Osp.Backend.Authentication.DynamicAuth;
using Ianitor.Osp.Backend.Persistence.SystemEntities;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Google;
namespace Ianitor.Osp.Back... | 2.087091 | efcdd8ff79f1765bcf85bd5b4fbb04c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834881 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "i-duarte/MyLib",
"max_stars_repo_path": "src/MyLib.Extensions/MyComparable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154101"
} | starcoder | <reponame>i-duarte/MyLib
using System;
using System.Linq;
namespace MyLib.Extensions
{
public static class MyComparable
{
public static bool Between<T>(this T source, T from, T to)
where T : IComparable
=> !(source.CompareTo(from) < 0 || source.CompareTo(to) > 0);
public static bool In<T>(this T source, p... | 3.063715 | b1bca126db81b676974885f59524b93a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834882 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "CyberSys/coreclr-mono",
"max_stars_repo_path": "tests/src/CoreMangLib/cti/system/char/chariconvertibletochar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154102"
} | starcoder | <reponame>CyberSys/coreclr-mono
using System;
using System.Globalization;
/// <summary>
/// Char.System.IConvertible.ToChar(IFormatProvider)
/// Return the current char object.
/// </summary>
public class CharIConvertibleToChar
{
public static int Main()
{
CharIConvertibleToChar testObj = new CharIConv... | 2.814017 | a705db40e0047551b58418adff618f99 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834883 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uxb2bralph/IFS-EIVO03",
"max_stars_repo_path": "eIVOGo/SAM/inquireallowancecancellationtoreset.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:154103"
} | starcoder | <filename>eIVOGo/SAM/inquireallowancecancellationtoreset.cshtml
@{ Register Src="~/Module/EIVO/InquireAllowanceToReset.ascx" TagPrefix="uc1" TagName="InquireAllowanceToReset" }
@section headContent {
}
@section mainContent {
<uc1:InquireAllowanceToReset runat="server" id="InquireAllowanceToReset" />
}
| 1.112898 | 9ee8a62a85da9ceadbbdc038d9815303 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.