added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76033 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "zmjack/Dawnx",
"max_stars_repo_path": "~Tests/Dawnx.Test/Security/AesTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76034"
} | starcoder | using Dawnx.Generators;
using Dawnx.Security.AesSecurity;
using NStandard;
using NStandard.Converts;
using NStandard.Flows;
using System;
using System.Security.Cryptography;
using System.Text;
using Xunit;
namespace Dawnx.Security.Test
{
public class AesTests
{
[Fact]
public void Test1()
... | 2.492431 | 48ae7c48bd544ae69be21e4789c3a170 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76034 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "wassim-azirar/GitterClient",
"max_stars_repo_path": "GitterClient/Models/Message.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76035"
} | starcoder | <filename>GitterClient/Models/Message.cs<gh_stars>1-10
/* Message schema
* https://developer.gitter.im/docs/messages-resource
* id: ID of the message.
* text: Original message in plain-text/markdown.
* html: HTML formatted message.
* sent: ISO formated date of the message.
* editedAt: ISO formated date of t... | 2.53688 | cca24e918a01049940ac8751d111b647 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76035 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "hphan9/clockify-nlp-bot",
"max_stars_repo_path": "src/Clockify/Reports/TextToDateRange.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76036"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Recognizers.Text;
using Microsoft.Recognizers.Text.DateTime;
namespace Bot.Clockify.Reports
{
// TODO Culture and DateRef should be configurable.
public class TextToDateRangeService
{
public static DateRange? Conver... | 2.828797 | 9aa9db4a6f7da5ad7c7ac08a49e220c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76036 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "Epictek/DSharpPlusSlashCommands",
"max_stars_repo_path": "DSharpPlus/Net/Models/BaseEditModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76037"
} | starcoder | <filename>DSharpPlus/Net/Models/BaseEditModel.cs
namespace DSharpPlus.Net.Models
{
public class BaseEditModel
{
/// <summary>
/// Reason given in audit logs
/// </summary>
public string AuditLogReason { internal get; set; }
}
} | 1.870301 | dc3a3e4d8bdc826b7770c7ed02bd87ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76037 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SkyrealStudio/Game-Unity-MXSF",
"max_stars_repo_path": "Assets/MyStructures/TaskQueueWithTickCount.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76038"
} | starcoder | <reponame>SkyrealStudio/Game-Unity-MXSF<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyStructures
{
public class DataWithTickCount<T>
{
public DataWithTickCount(int tickCount,T data)
{
th... | 2.480169 | 9f6dd8d74b63f14fd78098a2d0040acc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76038 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mikedamay/SimpleIOCContainer",
"max_stars_repo_path": "PureDITest/TestCode/InheritedBean.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76039"
} | starcoder | <filename>PureDITest/TestCode/InheritedBean.cs
using PureDI;
using PureDI.Attributes;
namespace IOCCTest.TestCode.WithNames
{
[Bean(Name = "some-name")]
public class InheritedBean
{
[BeanReference] public DerivedBean derived;
}
[Bean]
public class DerivedBean : InheritedBean
{
... | 2.417083 | 71edb312dec1c80f6057a04f6b19a45f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76039 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Josyas/CadastroWebMvc",
"max_stars_repo_path": "CadastroWebMvc/CadastroWebMvc/Controllers/SellersController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76040"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using CadastroWebMvc.Models;
using CadastroWebMvc.Models.ViewModels;
using CadastroWebMvc.Services;
using CadastroWebMvc.Services.Exceptions;
namespace CadastroWeb... | 2.511457 | 17d6b74d7a99a4a8d7b89dfc0daa0c77 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76040 | {
"extension": "c-sharp",
"max_stars_count": "219.0",
"max_stars_repo_name": "Manny27nyc/SecureDNS",
"max_stars_repo_path": "Texnomic.SecureDNS.Tests/Core/Serialization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76041"
} | starcoder | <filename>Texnomic.SecureDNS.Tests/Core/Serialization.cs
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Texnomic.SecureDNS.Serialization;
namespace Texnomic.SecureDNS.Tests.Core
{
[TestClass]
public class Serialization
{
[TestMethod]
public void DeserializeDNSCry... | 1.766411 | 42794e01e8fe48ec7b59b16c500d7ba5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76041 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mameolan/Avalonia",
"max_stars_repo_path": "src/Avalonia.Controls/TreeView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76042"
} | starcoder |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Avalonia.Controls.Generators;
using Avalonia.Controls.Primitives;
using Avalonia.Controls.Utils;
using Avalonia.Data;
using Avalonia.Input;
using Avalonia.Input.Platform;
using Avalonia.Inter... | 2.297682 | c64291664f9e25382f806dc6e1beac4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76042 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeCity/RaiBlocks.Net",
"max_stars_repo_path": "RaiBlocks.Tests/RaiUnitsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76043"
} | starcoder | using NUnit.Framework;
namespace RaiBlocks.Tests
{
public class RaiUnitsTests
{
[Test]
public void OperatorPlusTest()
{
const int a = 1;
const int b = 1;
const int c = a + b;
var aRai = new RaiUnits.RaiRaw(a.ToString());
var ... | 2.686483 | 3685987572eadaac9355b291f0a7d88a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76043 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BigETI/ElectrodZMultiplayer",
"max_stars_repo_path": "ElectrodZMultiplayer/Core/Data/Messages/ClientGameLoadingProcessFinishedMessageData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76044"
} | starcoder | using Newtonsoft.Json;
/// <summary>
/// ElectrodZ multiplayer data messages namespace
/// </summary>
namespace ElectrodZMultiplayer.Data.Messages
{
/// <summary>
/// A class that describes a client game loading process finished message
/// </summary>
[JsonObject(MemberSerialization.OptIn)]
intern... | 2.221571 | b283491d041c3718dc17f97b0be0ed73 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76044 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LoyieKing/AdminApprovalBack",
"max_stars_repo_path": "App/Models/InfoInstanceModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76045"
} | starcoder | <reponame>LoyieKing/AdminApprovalBack
using Data.Entity.Approval;
using Data.Entity.Business;
using Data.Entity.SystemManage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AdminApprovalBack.Models
{
public class InfoInstanceModel : IModel<InfoInstanceMo... | 2.059009 | acf1fb58cfe9a452d91db9a74d5ec998 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76045 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Veydron/NamelessTopdownMultiplayerOnlineRPG",
"max_stars_repo_path": "Server/Server/Assets/FishNet/Runtime/Generated/Component/Prediction/DesyncSmoother.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76046"
} | starcoder | using FishNet.Connection;
using FishNet.Object;
using UnityEngine;
namespace FishNet.Component.Prediction
{
public class DesyncSmoother : NetworkBehaviour
{
#region Serialized.
/// <summary>
/// How much time to smooth desyncs over.
/// </summary>
[Tooltip("How much ti... | 2.676564 | 4ebb0eaf75aa47c5a08f06c430a08026 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76046 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "marlonajgayle/Net6WebApiTemplate",
"max_stars_repo_path": "src/Content/src/Net6WebApiTemplate.Application/Categories/NQueries/GetCategoryById/GetCategoryByIdQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76047"
} | starcoder | using MediatR;
using Net6WebApiTemplate.Application.Categories.Dto;
namespace Net6WebApiTemplate.Application.Categories.NQueries.GetCategoryById
{
public class GetCategoryByIdQuery : IRequest<CategoryDto>
{
public int Id { get; set; }
}
}
| 1.599911 | e2184abf29c11866a277f4fd96482b98 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76047 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "zerouid/katanaproject",
"max_stars_repo_path": "tests/FunctionalTests/Facts/Security/Cookies/CookiesAuthCookiePathFact.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76048"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
using System.Web.Hosting;
using FunctionalTests.Common;
using Microsoft.Owin;
usin... | 1.747552 | c2b72ecf58bdf9612498cd22d48e43a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76048 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cellule/PTVS",
"max_stars_repo_path": "Python/Product/Analysis/Parsing/Ast/ErrorParameter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76049"
} | starcoder | // Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//... | 2.191262 | 8e316f79e64d3fcf7fbf56b1fd2d71a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76049 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "Jamy4000/VRDF",
"max_stars_repo_path": "Assets/VRDF/Core/Scripts/Inputs/Components/Oculus/Rift_RiftS_Quest/XButtonInputCapture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76050"
} | starcoder | using Unity.Entities;
namespace VRDF.Core.Inputs
{
/// <summary>
/// Required to capture the input from the X Button of an Oculus Rift, Rift S and Quest controller
/// Used as tag.
/// </summary>
public struct XButtonInputCapture : IComponentData {}
} | 1.529759 | c07a714915d43177fcf6f60941645876 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76050 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Alnirel/com.stansassets.running-dinosaur-clone",
"max_stars_repo_path": "Assets/Plugins/StansAssets/NativePlugins/IOSNativePro/Runtime/API/StoreKit/Templates/ISN_SKPaymentOriginalTransaction.cs",
"provenance": "train-00000-of-00045.js... | starcoder | <gh_stars>1-10
using System;
using UnityEngine;
using SA.Foundation.Templates;
using StansAssets.Foundation;
namespace SA.iOS.StoreKit
{
/// <inheritdoc cref="ISN_iSKPaymentTransaction" />
[Serializable]
public class ISN_SKPaymentOriginalTransaction : SA_Result, ISN_iSKPaymentTransaction
{
[Ser... | 1.566787 | 2c29ccb0ea70dddefc37ac08e32b1b6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76051 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "riccardobl/Effekseer",
"max_stars_repo_path": "Dev/Editor/EffekseerCore/Data/Value/String.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76052"
} | starcoder | <filename>Dev/Editor/EffekseerCore/Data/Value/String.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Effekseer.Data.Value
{
public class String
{
string _value = string.Empty;
public string Value
{
get
{
return GetValue();
}
set
{
Set... | 3.102994 | ed6fb4f622ffe89548821d10a0c632aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76052 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "rainrcn/insql",
"max_stars_repo_path": "src/Insql/Resolvers/Elements/Sql/SetSectionElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76053"
} | starcoder | namespace Insql.Resolvers.Elements
{
/// <summary>
/// set 元素只会在至少有一个子元素的条件返回 SQL 子句的情况下才去插入“SET”子句。而且,若语句的结尾为“,”,set 元素也会将它们去除。
/// </summary>
public class SetSectionElement : TrimSectionElement
{
public SetSectionElement()
{
this.Prefix = "set ";
this.Suffi... | 2.323796 | bc26f59dd906b2fe7fccb4ba93760af1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "patridge/FlatRedBall",
"max_stars_repo_path": "Engines/FlatRedBallXNA/FlatRedBall/ExtensionMethods/Vector3ExtensionMethods.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76054"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.Xna.Framework
{
public static class Vector3ExtensionMethods
{
/// <summary>
/// Returnes the length squared of the 2D distance. In other words, the Z component is ignored.
/// </summary>
... | 3.237998 | e8efbbde68701b9cb22a6a3d1a671f30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76054 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sicel/Puppeteering",
"max_stars_repo_path": "Puppeteering/Assets/Scripts/MarionetteLight.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76055"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/*RGDC Day of the Dead Jam
*Puppeteering
*<NAME>
*/
public class MarionetteLight : MonoBehaviour
{
// Vectors for the physics
private Vector3 position;
private Vector3 direction;
private Vector3 velocity;
... | 2.476897 | 7796b49ea0fb0ba481e58d1ef34139f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76055 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "Incoding-Software/Incoding-Framework",
"max_stars_repo_path": "src/Incoding.UnitTest/MvcContribGroup/Core/Inc Controller/NoAjax/When_inc_controller_base_try_push_with_exception.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76056"... | starcoder | namespace Incoding.UnitTest.MvcContribGroup
{
#region << Using >>
using System.Collections.Specialized;
using Incoding.MSpecContrib;
using Incoding.MvcContrib;
using Machine.Specifications;
#endregion
[Subject(typeof(IncControllerBase))]
public class When_inc_controller_base_try_push... | 1.773314 | 068eceb040b09e583db183b5aa2f3672 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76056 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "folkelib/Folke.Social",
"max_stars_repo_path": "src/Folke.Social/Facebook/FacebookOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76057"
} | starcoder | <filename>src/Folke.Social/Facebook/FacebookOptions.cs
namespace Folke.Social.Facebook
{
public class FacebookOptions
{
public string AppId { get; set; }
public string AppSecret { get; set; }
}
}
| 1.624898 | 4cd29b1b561a892c9969d8a26e0fe29e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76057 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kevinarthurackerman/Chronosphere",
"max_stars_repo_path": "src/Chronosphere/Chronosphere.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76058"
} | starcoder | using System;
namespace Chronosphere
{
public class Chronosphere : IChronosphere
{
private TimeSpan _offsetFromSystemTime;
private TimeSpan _timeZoneOffset;
public Chronosphere()
{
_offsetFromSystemTime = TimeSpan.Zero;
_timeZoneOffset = TimeSpan.Zero;... | 2.92224 | 3a7431867999c917d9fcc4cedf76a07f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76058 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trturino/SignalRTrackingSample",
"max_stars_repo_path": "src/SignalRTrackingSampleApp/Events/EventAggregator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76059"
} | starcoder | <filename>src/SignalRTrackingSampleApp/Events/EventAggregator.cs<gh_stars>0
using System;
using System.Reactive.Linq;
using System.Reactive.Subjects;
namespace SignalRTrackingSampleApp.Events
{
public class EventAggregator : IEventAggregator
{
private readonly Subject<object> subject;
public ... | 2.823755 | 6cdc21dbdf2245e29a308c97bec86626 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76059 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gszwedzik/Ev.ServiceBus",
"max_stars_repo_path": "Ev.ServiceBus/ReceiverWrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76060"
} | starcoder | using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Ev.ServiceBus.Abstractions;
using Microsoft.Azure.ServiceBus;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
namespace Ev.ServiceBus
{
public abstract cla... | 2.310739 | 0bd02ec9f4e6e1c629023be81080f788 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76060 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stephenfuqua/Ed-Fi-ODS-AdminApp",
"max_stars_repo_path": "Application/EdFi.Ods.AdminApp.Management.Azure/GetAzureProductionApiProvisioningWarningsQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76061"
} | starcoder | // SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using System.Collections.Generic;
using Syst... | 2.042647 | 5ff7b7c42d13b74e986528e847899aca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76061 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SiliconHoller/open-precincts",
"max_stars_repo_path": "src/csharp/VoterWatch/OhioImporter/Service References/VoterMaintenance/Reference.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76062"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 1.392733 | 0011d16dee51a400ba639aab3f8c941a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76062 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Wosad/Wosad.Dynamo",
"max_stars_repo_path": "Wosad/Steel/AISC/Connection/AffectedElements/WhitmoreSectionWidth.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76063"
} | starcoder | #region Copyright
/*Copyright (C) 2015 Wosad Inc
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 a... | 2.078975 | 7f445443d164633148476b06775261f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76063 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "muayyat/Skclusive.Blazor.Samples",
"max_stars_repo_path": "Skclusive.Blazor.TodoApp/TodoApp.State/Models/Todo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76064"
} | starcoder | <filename>Skclusive.Blazor.TodoApp/TodoApp.State/Models/Todo.cs
using Skclusive.Blazor.TodoApp.Extension;
using Skclusive.Mobx.Observable;
using Skclusive.Mobx.StateTree;
namespace Skclusive.Blazor.TodoApp.Models
{
#region ITodo
public interface ITodoSnapshot
{
string Title { set; get; }
... | 2.457961 | e7dd2091675c87aaf8542105057e65f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76064 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "UniGameTeam/UniGame.Core",
"max_stars_repo_path": "Editor/Tools/PrefabTools/PrefabTools.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76065"
} | starcoder | <reponame>UniGameTeam/UniGame.Core
using UnityEditor.Experimental.SceneManagement;
namespace UniGame.Tools
{
using System;
using System.Diagnostics;
using UniCore.Runtime.ProfilerTools;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
using Debug = UnityEngine.Debug... | 1.99437 | 01034f654982cbcf110e46655f8c78bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76065 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "waseems/inbox2_desktop",
"max_stars_repo_path": "Code/Platform/Framework/CloudApi/PersonHeader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76066"
} | starcoder | <reponame>waseems/inbox2_desktop
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using Inbox2.Platform.Channels.Extensions;
using Inbox2.Platform.Framework.CloudApi.Enumerations;
using Inbox2.Platform.Framework.ServiceModel.DataContracts;... | 1.701081 | 4e4cbe09dbc6861bb050d09077f34ed0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76066 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "atsushieno/dotnet-dsdl",
"max_stars_repo_path": "Commons.Xml.Relaxng/Commons.Xml.Nvdl/NvdlValidationProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76067"
} | starcoder | <reponame>atsushieno/dotnet-dsdl<gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Specialized;
using System.IO;
using System.Xml;
namespace Commons.Xml.Nvdl
{
public class NvdlValidationProvider
{
NvdlValidate validate;
string schema_type;
NvdlConfig config;
public virtual Nvdl... | 2.306405 | 159aa60cdfd75f7cc957120c07147dda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76067 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "QiuRyan/Bak",
"max_stars_repo_path": "Goverment/Government/Source/Jinyinmao.Government/Response/Staves/StaffResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76068"
} | starcoder | <reponame>QiuRyan/Bak<filename>Goverment/Government/Source/Jinyinmao.Government/Response/Staves/StaffResponse.cs
using Jinyinmao.Government.Models;
using Newtonsoft.Json;
using System;
using System.ComponentModel.DataAnnotations;
namespace Jinyinmao.Government.Response.Staves
{
public class StaffResponse
{
... | 2.253777 | ee256ceb35e2ba774f5a20b9fcd3c045 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76068 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mv-iliev01/ASP.NET-Core-Footshop",
"max_stars_repo_path": "FootShopSystem/Data/Models/Color.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76069"
} | starcoder | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace FootShopSystem.Data.Models
{
using static DataConstants;
public class Color
{
[Key]
[Required]
public int Id { get; set; }
[Required]
[MaxLength(ColorNameMaxLength)]
pub... | 2.408723 | e93eda1aa31928b67eb6fd0d10a7bb05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76069 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "detrin/FlatScraper",
"max_stars_repo_path": "src/MongoCRUD.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76070"
} | starcoder | using System;
using MongoDB.Driver;
using MongoDB.Bson;
using System.Collections.Generic;
namespace FlatScraper
{
public class MongoCRUD
{
private IMongoDatabase db;
public MongoCRUD(string connectionString, string database)
{
var client = new MongoClient(connectionString);... | 2.832703 | 870d1eb319f3ce3a30eb28485aabe84d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76070 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DiegoLChagas/C-entra21",
"max_stars_repo_path": "exercicios/exercicios/exercicios/Form7.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76071"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace exercicios
{
public partial class Form7 : Form
{
double cel, fah, cel1, fah1;
public Form7()
{
Init... | 3.075749 | 8c880c62165210621258a6e767c7e486 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76071 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/providerhub/Microsoft.Azure.Management.ProviderHub/src/Generated/Models/DefaultRolloutPropertiesModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76072"
} | starcoder | <reponame>gjy5885/azure-sdk-for-net<filename>sdk/providerhub/Microsoft.Azure.Management.ProviderHub/src/Generated/Models/DefaultRolloutPropertiesModel.cs
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license... | 1.719242 | 5a0e1196747241b510c80490ee8e9ed4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76072 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nahidhasanswe/AspNetCore-MicroServices-Template",
"max_stars_repo_path": "Core/Core/AspCoreMicroservice.Core/Runtime/Caching/Configuration/ICacheConfigurator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76073"
} | starcoder | <reponame>nahidhasanswe/AspNetCore-MicroServices-Template
// ASP.NET Boilerplate - Web Application Framework https://aspnetboilerplate.com
// Copyright (c) 2013-2017 Volosoft (https://volosoft.com)
// This code is licensed under MIT license (see LICENSE.txt for details)
using System;
namespace AspCoreMicroservice.Cor... | 1.889212 | c7d634dda48c323c8bed8ba7d721cedb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76073 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "martinussuherman/DeputiTigaKemenpora",
"max_stars_repo_path": "Pages/Provinsi/Edit.cshtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76074"
} | starcoder | <reponame>martinussuherman/DeputiTigaKemenpora
using System.Linq;
using System.Threading.Tasks;
using DeputiTigaKemenpora.Data;
using Itm.Misc;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace DeputiTigaKemenpora.Pages.Provinsi
{
[Authorize]
... | 2.212042 | 8a1e336d230e312bc048792d8e1ee5d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76074 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MiroslavPeychev/C-Sharp-OOP",
"max_stars_repo_path": "C# Advanced/Functional Programming/LAB/04. Add VAT/StartUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76075"
} | starcoder | <reponame>MiroslavPeychev/C-Sharp-OOP<gh_stars>1-10
namespace _04._Add_VAT
{
using System;
using System.Linq;
public class StartUp
{
public static void Main()
{
double[] input = Console.ReadLine()
.Split(", ", StringSplitOptions.RemoveEmptyEntries)
... | 3.428821 | bec9bcedbb160c5f8cb8439ff1b3c007 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76075 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "soleil-taruto/Hatena",
"max_stars_repo_path": "a20201226/Decompile/Confused_02/Elsa20200001/ReloadDynamicIronNumber.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76076"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using DxLibDLL;
namespace Charlotte
{
// Token: 0x020000F6 RID: 246
public class ReloadDynamicIronNumber
{
// Token: 0x060009C1 RID: 2497
[DllImport("gdi32.dll")]
public static extern i... | 1.505581 | a014bc1f4c2145c6ef009ad513642648 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76076 | {
"extension": "c-sharp",
"max_stars_count": "265.0",
"max_stars_repo_name": "OUTBOXIT/firebase-admin-dotnet",
"max_stars_repo_path": "FirebaseAdmin/FirebaseAdmin/Auth/UserRecord.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76077"
} | starcoder | <reponame>OUTBOXIT/firebase-admin-dotnet
// Copyright 2019, Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICE... | 2.008676 | f3a42b9dc86b20645aab8edb7cf942e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76077 | {
"extension": "c-sharp",
"max_stars_count": "574.0",
"max_stars_repo_name": "CurufinweU/structuremap",
"max_stars_repo_path": "src/StructureMap/Pipeline/GreediestConstructorSelector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76078"
} | starcoder | using System;
using System.Linq;
using System.Reflection;
using StructureMap.Graph;
using StructureMap.TypeRules;
namespace StructureMap.Pipeline
{
public class GreediestConstructorSelector : IConstructorSelector
{
public ConstructorInfo Find(Type pluggedType, DependencyCollection dependencies, Plugin... | 2.507677 | f43b417b9d4b914d2459fc4ff51601b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76078 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/tl-result-and-certification",
"max_stars_repo_path": "src/Sfa.Tl.ResultsAndCertification.Web/Authentication/TokenRefreshResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76079"
} | starcoder |
namespace Sfa.Tl.ResultsAndCertification.Web.Authentication
{
public class TokenRefreshResult
{
private static readonly TokenRefreshResult NoRefreshNeededResult =
new TokenRefreshResult(true, false, null, null, null);
private static readonly TokenRefreshResult FailedResult =
... | 2.513237 | db34381ad590e7fd12baed06bcb99d07 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76079 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "guidebee/NopCommand",
"max_stars_repo_path": "Domain/BaseEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76080"
} | starcoder | <gh_stars>1-10
namespace NopCommand.Domain
{
public class BaseEntity
{
/// <summary>
/// Gets or sets the entity identifier
/// </summary>
public int Id { get; set; }
public override bool Equals(object obj)
{
return Equals(obj as BaseEntity);
... | 2.848395 | df9edd35a4ee4304b612330fa2ab9c3d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76080 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jacky4566/EarTrumpet",
"max_stars_repo_path": "EarTrumpet/UI/ViewModels/WelcomeViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76081"
} | starcoder | using EarTrumpet.UI.Helpers;
using System.Windows.Input;
namespace EarTrumpet.UI.ViewModels
{
class WelcomeViewModel
{
public string VisibleTitle => ""; // We have a header instead
public string Title { get; }
public ICommand Close { get; set; }
public ICommand LearnM... | 2.401827 | 5e64a1cfe467d13a66ec51cb46bc069a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76081 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brock555/Fluent-Behaviour-Tree",
"max_stars_repo_path": "src/IBehaviourTreeNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76082"
} | starcoder | <reponame>brock555/Fluent-Behaviour-Tree
namespace FluentBehaviourTree
{
public interface IBehaviourTreeNode : IBehaviourTreeNode<TimeData>
{ }
/// <summary>
/// Interface for behaviour tree nodes.
/// </summary>
public interface IBehaviourTreeNode<TTickData>
{
/// <summary>
... | 2.321509 | 2a1f145c375929c1f42e7da5d2a91c3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76082 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mahedee/data-structures-csharp-rmv",
"max_stars_repo_path": "BinarySearch/BinarySearchTest/IterativeSolutionTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76083"
} | starcoder | <reponame>mahedee/data-structures-csharp-rmv<filename>BinarySearch/BinarySearchTest/IterativeSolutionTest.cs
using BinarySearch;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BinarySearchTest
{
[TestClass]
public class IterativeSolutionTest
{
[TestMethod]
public void TestMet... | 2.775965 | 707ed91175b81852b5c0d22d62679f23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76083 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AjayKas/eform-sdk-dotnet",
"max_stars_repo_path": "eFormSDK.Integration.Tests/SqlControllerTestReplyElementy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76084"
} | starcoder | <gh_stars>0
using eFormCore;
using eFormCore.Helpers;
using eFormData;
using eFormShared;
using eFormSqlController;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace eFormSDK.Integration.Tests
{
[TestFixture]
public class SqlControllerT... | 1.601539 | bb045c43d9e621b8d3d4b56adf47f4ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76084 | {
"extension": "c-sharp",
"max_stars_count": "510.0",
"max_stars_repo_name": "Platformus/Platformus",
"max_stars_repo_path": "src/Platformus.Core/Services/Defaults/DefaultEmailSender.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76085"
} | starcoder | <reponame>Platformus/Platformus
// Copyright © 2020 <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using MailKit.Net.Smtp;
using MimeKit;
using Pl... | 2.190699 | ed6554a4665256b34f1485f868ddd011 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76085 | {
"extension": "c-sharp",
"max_stars_count": "233.0",
"max_stars_repo_name": "mramra3004/Sennedjem",
"max_stars_repo_path": "Business/BusinessAspects/Profiler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76086"
} | starcoder | <filename>Business/BusinessAspects/Profiler.cs
using System;
namespace Business.BusinessAspects
{
public sealed class Profiler : IDisposable
{
private long _lastTick;
private long _lastDelta;
private string _lastBlockName;
public long LastDelta
{
get
... | 2.847733 | 52e5b6ff2df9eda3e8c5a890d68f089f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76086 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GreenKn1ght/Orc.Controls",
"max_stars_repo_path": "src/Orc.Controls/Controls/TimeSpanPicker/ViewModels/TimeSpanPickerViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76087"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="TimeSpanPickerViewModel.cs" company="WildGums">
// Copyright (c) 2008 - 2018 WildGums. All rights reserved.
// </copyright>
// --------------------------------------------------... | 2.605445 | efda01168cadb1e31a00d9f5383e19dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76087 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ndrmc/cats-hub",
"max_stars_repo_path": "Domain/DRMFSS.BLL/Repository/StackEventTypeRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76088"
} | starcoder | <filename>Domain/DRMFSS.BLL/Repository/StackEventTypeRepository.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DRMFSS.BLL.Interfaces;
namespace DRMFSS.BLL.Repository
{
public partial class StackEventTypeRepository :GenericRepository<CTSContext,StackEventType>, IStac... | 2.653667 | 1b221bd551f3b9def9f2666054f45301 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76088 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Venom0us/Mordred",
"max_stars_repo_path": "Mordred/WorldGen/WorldCell.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76089"
} | starcoder | <gh_stars>1-10
using Microsoft.Xna.Framework;
using SadConsole;
namespace Mordred.WorldGen
{
/// <summary>
/// Base class of a grid cell
/// </summary>
public class WorldCell : Cell
{
public int CellId { get; private set; }
/// <summary>
/// Can entities walk on this cell
... | 3.173248 | 4309ca1523ffbcc5580c939fc44f19d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76089 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "t1a2l/RealSchoolBus",
"max_stars_repo_path": "RealSchoolBus/Utils/Util.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76090"
} | starcoder | <gh_stars>0
using System;
using System.Linq;
using System.Reflection;
using ColossalFramework.Plugins;
using ICities;
using UnityEngine;
namespace RealSchoolBus.Utils
{
public static class Util
{
public static object GetInstanceField(Type type, object instance, string fieldName)
{
c... | 2.179081 | 0a79617499688083ea80fb3bf331b427 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76090 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "haise0/reAtomizer",
"max_stars_repo_path": "dnSpy/Controls/WpfFocusManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76091"
} | starcoder | <reponame>haise0/reAtomizer
/*
Copyright (C) 2014-2016 <EMAIL>
This file is part of dnSpy
dnSpy is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at yo... | 1.946783 | 37e91332bedf723bc3346613a7c7a7b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76091 | {
"extension": "c-sharp",
"max_stars_count": "159.0",
"max_stars_repo_name": "elinor-fung/coreclr",
"max_stars_repo_path": "tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b00735/b00735.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76092"
} | 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;
struct AA
{
static void f()
{
bool flag = false;
if (flag)
{
... | 2.213085 | 65a7057db6c73b177eff4ac24a901feb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76092 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SammyEnigma/PityuTool.UI",
"max_stars_repo_path": "Repository/INativeProcessExecutable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76093"
} | starcoder | using PityuTool.UI.Misc;
using System.Windows.Forms;
namespace PityuTool.UI.Repository
{
interface INativeProcessExecutable
{
void RegisterNativeProcess(FilterType type, Control control);
void Bind();
}
}
| 1.35558 | 3b4ed64f99279a268e88178e25967a4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76093 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dxworks/honeydew",
"max_stars_repo_path": "HoneydewExtractors/Core/Metrics/IMetric.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76094"
} | starcoder | <reponame>dxworks/honeydew<gh_stars>0
using HoneydewModels;
namespace HoneydewExtractors.Core.Metrics
{
public interface IMetric
{
IMetricValue GetMetric();
string PrettyPrint();
}
}
| 1.41725 | 8db31736ae92ba9915569b3a8f997e27 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76094 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "omajid/linker",
"max_stars_repo_path": "test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyFromAttributeXmlOnNonReferencedAssembly.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76095"
} | 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 Mono.Linker.Tests.Cases.Expectations.Assertions;
using Mono.Linker.Tests.Cases.Expectations.Metadata;
namesp... | 1.735439 | e1eb3c681bbf99e56b5b68b0a2fc3c69 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76095 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "W0dan/PdfCraft",
"max_stars_repo_path": "PdfCraft/Fonts/TrueType/TrueTypeFontDescriptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76096"
} | starcoder | using PdfCraft.Constants;
using PdfCraft.Containers;
namespace PdfCraft.Fonts.TrueType
{
public class TrueTypeFontDescriptor : BasePdfObject
{
private readonly PdfFontDefinition fontDefinition;
private TrueTypeFontFile2 fontFile2;
public TrueTypeFontDescriptor(int objectNumber, PdfFon... | 2.451815 | 79dbe3a2161ad220d209244e2f155adc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76096 | {
"extension": "c-sharp",
"max_stars_count": "100.0",
"max_stars_repo_name": "nightroman/FarNet",
"max_stars_repo_path": "PowerShellFar/Commands/OutFarPanelCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76097"
} | starcoder |
// PowerShellFar module for Far Manager
// Copyright (c) <NAME>
using FarNet;
using System.Collections.Generic;
using System.Management.Automation;
namespace PowerShellFar.Commands
{
[OutputType(typeof(Panel))]
sealed class OutFarPanelCommand : BasePanelCmdlet
{
ObjectPanel _panel;
[Parameter(... | 2.255688 | 21bf8538255298c0a29e2c061ee49cd1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76097 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sawek111/ShooterForDrKmiecik",
"max_stars_repo_path": "ShooterForDrKmiecik/Assets/Scripts/Installers/PlayerInstaller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76098"
} | starcoder | using System;
using UnityEngine;
using Zenject;
public class PlayerInstaller : MonoInstaller<PlayerInstaller>
{
[SerializeField] private Settings _settings = null;
public override void InstallBindings()
{
Container.BindInterfacesAndSelfTo<PlayerHealth>().AsSingle().NonLazy();
Container.Bin... | 1.909616 | b4f34d9ad5d3accf0bb49683beb22c11 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76098 | {
"extension": "c-sharp",
"max_stars_count": "575.0",
"max_stars_repo_name": "ccdarko/Xamarin.Forms.GoogleMaps",
"max_stars_repo_path": "XFGoogleMapSample/XFGoogleMapSample/CameraPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76099"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using Xamarin.Forms;
using Xamarin.Forms.GoogleMaps;
namespace XFGoogleMapSample
{
public partial class CameraPage : ContentPage
{
public CameraPage()
{
InitializeComponent();
var pinMelbourne = ... | 2.493647 | 09e318ce7bb97dc5dba28d1715bbef56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76099 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "itspaiva/DDTank4.1",
"max_stars_repo_path": "Source Server/Game.Server/Server/Consortia/Handle/ConsotiaApplyState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76100"
} | starcoder | <filename>Source Server/Game.Server/Server/Consortia/Handle/ConsotiaApplyState.cs
// Decompiled with JetBrains decompiler
// Type: Game.Server.Consortia.Handle.ConsotiaApplyState
// Assembly: Game.Server, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 7994645F-6854-4AAC-A332-C61842D2DD9F
// Assembly lo... | 1.618627 | ae2f1b04b0ac6f5ed23b87cc6dee1ad5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76100 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Game-Bubble/Run-Transformer",
"max_stars_repo_path": "Assets/Scripts/SO/TransformationManagerChannelSO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76101"
} | starcoder | using System;
using UnityEngine;
namespace SO
{
[CreateAssetMenu(fileName = "Transformation Manager Channel SO", menuName = "SO/Transformation Manager Channel", order = 0)]
public class TransformationManagerChannelSO : ScriptableObject
{
public Action<GameObject> VehicleSpawning;
}
} | 1.408756 | 0fca8152a4d55bb3212345933e4422b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76101 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kevin163/Payment",
"max_stars_repo_path": "src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayTradeFastpayRefundQueryModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76102"
} | starcoder | using System;
using System.Xml.Serialization;
using Newtonsoft.Json;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// AlipayTradeFastpayRefundQueryModel Data Structure.
/// </summary>
[Serializable]
public class AlipayTradeFastpayRefundQueryModel : AlipayObject
{
... | 1.784139 | 54e9bce4ea2d61525734f3bdef6748ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76102 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShereSoft/CountryCollection",
"max_stars_repo_path": "src/CountryCollection/CountryCollection/CountryCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76103"
} | starcoder | <filename>src/CountryCollection/CountryCollection/CountryCollection.cs<gh_stars>0
using ShereSoft;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
/// <summary>
/// Provides the class for a pre-loaded, read-only country collection or ... | 3.228815 | 3175ef43aeaa2ad7adca70a55b5cedd3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76103 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "menlanshu/CSharpDemoCode",
"max_stars_repo_path": "AbstractDemo/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76104"
} | starcoder | using System;
namespace AbstractDemo
{
class Program
{
static void Main(string[] args)
{
SQLiteDataAccess testDataAccess = new SQLiteDataAccess();
((DataAccess)testDataAccess).LoadConnectionString();
((DataAccess)testDataAccess).TestOverride();
... | 2.311723 | d4998f7ce67d946e18093a2bfa3e1181 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76104 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EazyCollectServices/EazyCollectSDK-Dotnet",
"max_stars_repo_path": "EazySDK/SettingsWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76105"
} | starcoder | <reponame>EazyCollectServices/EazyCollectSDK-Dotnet<filename>EazySDK/SettingsWriter.cs
using Newtonsoft.Json.Linq;
using System.IO;
using System.Collections.Generic;
namespace EazySDK
{
public class SettingsWriter
{
private static string JsonArray { get; set; }
private static JObject RootObjec... | 2.161292 | 42edb977390077c82f37852efb710b60 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76105 | {
"extension": "c-sharp",
"max_stars_count": "741.0",
"max_stars_repo_name": "ScriptBox99/Finbuckle.MultiTenant",
"max_stars_repo_path": "src/Finbuckle.MultiTenant.EntityFrameworkCore/MultiTenantEntityTypeBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76106"
} | starcoder | // Copyright Finbuckle LLC, <NAME>, and Contributors.
// Refer to the solution LICENSE file for more inforation.
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Finbuckle.MultiTenant.EntityFrameworkC... | 2.374676 | d985b2e0fbbe5b6c0eacad9ace77e185 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76106 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CharlesZHENG/Ray2018",
"max_stars_repo_path": "Ray.Core/EventBus/Subscriber.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76107"
} | starcoder | <filename>Ray.Core/EventBus/Subscriber.cs
using System;
namespace Ray.Core.EventBus
{
public class Subscriber
{
public Subscriber(Type handler)
{
Handler = handler;
}
public Type Handler { get; }
}
}
| 2.062899 | 9dce77877b065f550a36db94ab76a297 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76107 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gubanotorious/neo-sharp",
"max_stars_repo_path": "test/NeoSharp.Application.Test/UtHelpersModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76108"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using NeoSharp.Core.Cryptography;
using NeoSharp.Core.DI;
using NeoSharp.Core.DI.Modules;
using NeoSharp.Core.Helpers;
using NeoSharp.Core.Wallet.Wrappers;
using NeoSharp.TestHelpers;
namespace NeoSharp.Application.Test
{
[TestClass]
p... | 1.532779 | 5d6f7ee9258ba211c54f908ff671d2af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76108 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "gaoshangguo/Fishing",
"max_stars_repo_path": "Client/Assets/Plugins/Fishing.Common/FishScene/LogicUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76109"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using GF.Unity.Common;
namespace Fishing
{
public class CLogicUtility
{
//---------------------------------------------------------------------
// 角度转弧度
public static float ConvertDegreesToRadians(float d... | 2.87665 | 565921d8ca22e2c6ab1de8b44bc3ebfb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76109 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nschonni/CoreWCF",
"max_stars_repo_path": "src/CoreWCF.NetTcp/src/CoreWCF/Channels/AddressingVersionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76110"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
namespace CoreWCF.Channels
{
internal static class AddressingVersionExtensions
{
static AddressingVersionExtensions()
{
s_namespaceGetter = GetStringGetterForProperty("Namespace");
... | 2.574202 | df3bd40d8a9d0c50dc4f9a2a1859f008 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76110 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tauron1990/TextAdventure",
"max_stars_repo_path": "Neu/Adventure.GameEngine/Systems/GameEventSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76111"
} | starcoder | using Adventure.GameEngine.Core;
using Adventure.GameEngine.Systems.Events;
using EcsRx.Collections;
using EcsRx.Events;
using EcsRx.Plugins.ReactiveSystems.Custom;
using JetBrains.Annotations;
namespace Adventure.GameEngine.Systems
{
[UsedImplicitly]
public sealed class GameEventSystem : EventReactionSystem<... | 2.313261 | 2c153ded97ecae3637835786b5a238a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76111 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "kagasu/GooglePlayStoreApi",
"max_stars_repo_path": "GooglePlayStoreApi/EnumExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76112"
} | starcoder | <reponame>kagasu/GooglePlayStoreApi
using System;
using System.ComponentModel;
using System.Linq;
namespace GooglePlayStoreApi
{
public static class EnumExtensions
{
private static TAttribute GetAttribute<TAttribute>(this Enum value) where TAttribute : Attribute
{
var fieldInfo = v... | 2.809396 | be829f21d8b7a8f0b530720bccee818e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76112 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "CynosuraPlatform/Cynosura.Studio",
"max_stars_repo_path": "Cynosura.Studio.Core/Requests/Solutions/UpdateSolutionValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76113"
} | starcoder | using FluentValidation;
using Microsoft.Extensions.Localization;
namespace Cynosura.Studio.Core.Requests.Solutions
{
public class UpdateSolutionValidator : AbstractValidator<UpdateSolution>
{
public UpdateSolutionValidator(IStringLocalizer<SharedResource> localizer)
{
RuleFor(x => ... | 2.088166 | 98eaeade66dcf3162bff5c0db9aa513b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76113 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "setur/metre",
"max_stars_repo_path": "Cli/src/CliInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76114"
} | starcoder | <filename>Cli/src/CliInput.cs
// --------------------------------------------------------------------------
// <copyright file="CliInput.cs" company="Setur">
// Copyright (c) 2020 Setur (<EMAIL>). All rights reserved.
// Licensed under the Apache-2.0 license. See LICENSE file in the project root
// for full licen... | 2.324044 | 59acdd44168457d6cecc4daaf331c395 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76114 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mccabesp/ModernSlavery-Beta",
"max_stars_repo_path": "ModernSlavery.WebUI.Shared/Views/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:76115"
} | starcoder | @namespace ModernSlavery.WebUI.Shared.Views
@inherits ModernSlavery.WebUI.Shared.Classes.BaseRazorView<TModel>
@using ModernSlavery.WebUI.Shared.Models
@using ModernSlavery.WebUI.Shared.Classes
@using ModernSlavery.WebUI.Shared.Classes.Cookies
@using ModernSlavery.WebUI.Shared.Classes.Patterns
@using ModernSlavery.We... | 1.467638 | c156aaa1949567dbe1ed36a273bae322 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 76115 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Xpl0itR/ZRA.NET",
"max_stars_repo_path": "ZRA.NET/ZraStatusCode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:76116"
} | starcoder | <reponame>Xpl0itR/ZRA.NET
// SPDX-License-Identifier: BSD-3-Clause
// Copyright © 2020 ZRA Contributors (https://github.com/zraorg)
namespace ZRA.NET
{
public enum ZraStatusCode : int
{
Success = 0, // The operation was successful
ZStdError = 1, // An error was retu... | 2.341096 | 6f8abb34191f03587cbb713cf29189e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87644 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jaredburks/VendingMachineFinal",
"max_stars_repo_path": "Controllers/VirtualMachineController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87645"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity.EntityFramework;
namespace VendingMachineNew.Controllers
{
public class VirtualMachineController : Controller
{
// GET: VirtualMachine
... | 1.045192 | 0086bc6ccb36a09cf20911c3cf585af7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87645 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Opdex/opdex-v1-api",
"max_stars_repo_path": "test/Opdex.Platform.Domain.Tests/Models/TransactionLogs/Tokens/DistributionLogTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87646"
} | starcoder | <reponame>Opdex/opdex-v1-api
using System;
using System.Dynamic;
using FluentAssertions;
using Opdex.Platform.Common.Models.UInt;
using Opdex.Platform.Domain.Models.TransactionLogs.Tokens;
using Xunit;
namespace Opdex.Platform.Domain.Tests.Models.TransactionLogs.Tokens;
public class DistributionLogTests
{
[Theory... | 1.905798 | b42319dd9776c7486c1f9e009888080c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87646 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "Epictek/DSharpPlusSlashCommands",
"max_stars_repo_path": "DSharpPlus/Entities/Interaction/DiscordInteractionDataOption.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87647"
} | starcoder | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace DSharpPlus.Entities
{
/// <summary>
/// Represents parameters for interaction commands.
/// </summary>
public sealed class DiscordInteractionDataOption
{
/// <summary>
/// Gets the name of this intera... | 3.078157 | ebf51d7794260ed7d6babc3816edc9cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87647 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTSkelton/Salon.Solution",
"max_stars_repo_path": "HairSalon/Views/Stylists/Edit.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:87648"
} | starcoder | <reponame>JTSkelton/Salon.Solution
@{
Layout = "_Layout";
}
@model Salon.Models.Stylist
<h2>Edit</h2>
<h4>Edit this stylist: @Html.DisplayFor(model => model.StylistName)</h4>
@using (Html.BeginForm())
{
@Html.HiddenFor(model => model.StylistId)
@Html.LabelFor(model => model.StylistName)
@Html.TextBoxFor(mo... | 2.145612 | ce123d1d34c7c73f618227392953972d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87648 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ToastedGuy2/Real-State",
"max_stars_repo_path": "Web/Views/House/Edit.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:87649"
} | starcoder | @model UpdateHouseViewModel
@{
ViewData["Title"] = "Edit";
Layout = "_FormsLayout";
}
@section CSS{
<link rel="stylesheet" href="~/css/form.css">
<link rel="stylesheet" href="~/css/crud.css">
}
<form asp-action="Edit" enctype="multipart/form-data" class="bg-light mx-auto shadow p-4 border border-2 ... | 2.227231 | a4e84e2f48b432f0aefc7c2336e110d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87649 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kamilk08/BookLoversApi",
"max_stars_repo_path": "BookLovers.Bookcases/Domain/BusinessRules/ChangeShelfRules.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87650"
} | starcoder | using System;
using System.Collections.Generic;
using BookLovers.Base.Domain.Aggregates;
using BookLovers.Base.Domain.Rules;
namespace BookLovers.Bookcases.Domain.BusinessRules
{
internal sealed class ChangeShelfRules : BaseBusinessRule, IBusinessRule
{
protected sealed override List<IBusinessRule> Fo... | 2.38783 | 3c5b0ce4290ef2c48cac62fa0c34500f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87650 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "muit/LudumDare33",
"max_stars_repo_path": "Assets/Source/Characters/Bullet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87651"
} | starcoder | <reponame>muit/LudumDare33
using UnityEngine;
using System.Collections;
public class Bullet : Item {
public float despawnDistance = 50;
public float speed = 5.0f;
[System.NonSerialized]
public Vector3 direction;
private Character caster;
private bool shooted = false;
private Vector3 start... | 2.064392 | 5177db87d9c15df4f38930cfda912b35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87651 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ankobi/logexpert",
"max_stars_repo_path": "LogExpert/Backup/GlassfishColumnizer/GlassfishColumnizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87652"
} | starcoder | <filename>LogExpert/Backup/GlassfishColumnizer/GlassfishColumnizer.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using LogExpert;
using System.Globalization;
namespace GlassfishColumnizer
{
class XmlConfig : IXmlLogConfiguration
{
private string startTag = "[#|";
priva... | 2.701405 | daa2974c0913f286465db26c40235feb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Engin-Boot/vitals-simplification-cs-AleenaSaleem",
"max_stars_repo_path": "VitalsChecker/Vitals.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87653"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VitalsChecker
{
public class Vitals
{
string vitalName;
float vitalValue, lower, upper;
internal Vitals() {
this.vitalName = "";
this.vitalValue = 0;
this.... | 3.254333 | 16879d68a64febecba3e86e4f87d0afa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87653 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "magne/dfalex.net",
"max_stars_repo_path": "dfalex/DfaTransitionConsumer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87654"
} | starcoder | /*
* Copyright 2015 <NAME>
* Copyright 2019 <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 applicab... | 2.482726 | a5c4aa4ee9dbf7ec81c7cd58e568e38d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87654 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Berdsen/powered-up",
"max_stars_repo_path": "examples/SharpBrick.PoweredUp.Examples/ExampleMixedBag.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87655"
} | starcoder | using System;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using SharpBrick.PoweredUp;
using static SharpBrick.PoweredUp.Directions;
namespace Example;
public class ExampleMixedBag : BaseExample
{
public override async Task ExecuteAsync()
{
using var t... | 2.11633 | 729ad5d9d4bedc42777a76d780e26954 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87655 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "agartee/Brickweave",
"max_stars_repo_path": "src/Brickweave.Cqrs.Cli/Factories/ParameterValues/BasicParameterValueFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87656"
} | starcoder | using System;
using Brickweave.Cqrs.Cli.Extensions;
using Brickweave.Cqrs.Cli.Models;
namespace Brickweave.Cqrs.Cli.Factories.ParameterValues
{
public class BasicParameterValueFactory : ISingleParameterValueFactory
{
public bool Qualifies(Type targetType)
{
return targetType.IsBasi... | 2.835871 | 696a9b953ecf26a1fe301ffe95a1f903 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87656 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "babbubba/bS.Sked2",
"max_stars_repo_path": "bS.Sked2.Structure/Engine/IEngineTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87657"
} | starcoder | using bS.Sked2.Structure.Base;
using bS.Sked2.Structure.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace bS.Sked2.Structure.Engine
{
/// <summary>
/// The engine task class
/// </summary>
public interface IEngineTask : IEngineFlowComponent
{
/// <summary... | 1.52843 | d90600f5f842bd83ffe9302f011dd1ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87657 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "simonec73/threatsmanager",
"max_stars_repo_path": "Studio/ThreatsManager.Extensions.WinForms/Panels/ProcessList/ProcessListFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87658"
} | starcoder | using ThreatsManager.Interfaces;
namespace ThreatsManager.Extensions.Panels.ProcessList
{
public enum ProcessListFilter
{
[EnumLabel("No special filter applied")]
NoFilter,
[EnumLabel("Processes not included in any Diagram")]
NoDiagram,
[EnumLabel("Processes with no Thr... | 1.794392 | e1c378b1e6ee5ee6d2d48408efbb5f97 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87658 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VincentPT/animation-demo",
"max_stars_repo_path": "Animation/FrameStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87659"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
namespace Animation
{
public abstract class FrameStream
{
public string Name { get; set; }
public abstract ImageSource CurrentFrame { get;... | 1.505767 | 777050ae9b0e162b489837d9e6f84217 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87659 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chalber/Going.Plaid",
"max_stars_repo_path": "src/Plaid/Liabilities/GetLiabilitiesResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87660"
} | starcoder | <filename>src/Plaid/Liabilities/GetLiabilitiesResponse.cs<gh_stars>0
using System.Text.Json.Serialization;
using Going.Plaid.Entity;
namespace Going.Plaid.Liabilities
{
/// <summary>
/// Represents a response from plaid's '<c>/liabilities/get</c>' endpoint. The '<c>/liabilities/get</c>' endpoint returns various det... | 2.762769 | 6fb51068243669cbfc0f366dab006e65 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87660 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "Microsoft/jschema",
"max_stars_repo_path": "src/Json.Schema.ToDotNet.UnitTests/Assert.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87661"
} | starcoder | // Copyright (c) Microsoft Corporation. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using FluentAssertions;
namespace Microsoft.Json.Schema.ToDotNet.UnitTests
{
internal static class Asser... | 2.205616 | ff7164145e9f4571482cd803d349d047 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.