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 | 68133 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "rytt0001/NoWaterNoLife",
"max_stars_repo_path": "Source/1.0/CompProperties_WaterSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68134"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RimWorld;
using Verse;
namespace MizuMod
{
public class CompProperties_WaterSource : CompProperties
{
public enum SourceType : byte
{
Undefined = 0,
Item,
Building,
... | 2.471975 | 936267c7c4a5a641733a7acd977d0090 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Charlie9830/Dimmer-Labels-Wizard",
"max_stars_repo_path": "Dimmer Labels Wizard/Storage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68135"
} | starcoder | <filename>Dimmer Labels Wizard/Storage.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace Dimmer_Labels_Wizard
{
public class Storage
{
public void SaveToFile(string fileNa... | 3.003369 | 12a8afc827d400900ee49359334f06e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68135 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Livven/AngleSharp",
"max_stars_repo_path": "AngleSharp/Dom/Collections/NamedNodeMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68136"
} | starcoder | <gh_stars>0
namespace AngleSharp.Dom.Collections
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
/// <summary>
/// NamedNodeNap is a key/value pair of nodes that can be accessed by
/// numeric or string index.
/// </summary>
[De... | 2.305736 | 735c6caa887c43d1370ddebbc3fdf31f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68136 | {
"extension": "c-sharp",
"max_stars_count": "251.0",
"max_stars_repo_name": "mguoth/yuniql",
"max_stars_repo_path": "yuniql-core/IEnvironmentService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68137"
} | starcoder | <filename>yuniql-core/IEnvironmentService.cs
namespace Yuniql.Core
{
/// <summary>
/// Interface for implementing helper class for extracting environment variables.
/// </summary>
public interface IEnvironmentService
{
/// <summary>
/// Returns the current directory where yuniql is ... | 2.858218 | 80006bde37658dae9175b82661105de1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68137 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Stubbl/stubbl-identity",
"max_stars_repo_path": "src/Stubbl.Identity/Controllers/LockedOutController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68138"
} | starcoder | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Stubbl.Identity.Controllers
{
[Authorize]
public class LockedOutController : Controller
{
[HttpPost("/locked-out", Name = "LockedOut")]
public IActionResult LockedOut()
{
return View();
... | 1.605058 | 6b57c020a18113fe3531cd9964d1fa56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68138 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zoomlacms/web005",
"max_stars_repo_path": "Source-Code-母婴在线门户全站源代码/Views/Ask/MoreProblems.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:68139"
} | starcoder | @using ZoomLaCMS.Models.Ask
@model ZoomLa.SQLDAL.SQL.PageSetting
@{
Layout = "~/Views/Shared/_ask.cshtml";
VM_AskInfo vmask = new VM_AskInfo();
}
@section head{
<title>问题列表-@(Call.SiteName)问答</title>
}
@section content{
<div class="container">
<ol class="breadcrumb">
<li>您的位置:<a href="/">网站首页</a></... | 1.639363 | 067e6f6a233861b4a78765a05996aa05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68139 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "incoplex/SilverlightToolkit",
"max_stars_repo_path": "Release/Silverlight4/Source/RiaClient.Tests/System.ComponentModel.DataAnnotations/ScaffoldAttributeTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68140"
} | starcoder | // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
#if !SILVERLIGHT
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace System.ComponentMode... | 1.896194 | 7f34503b539ca7913257e13515999eb1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68140 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "PacktPublishing/Microservices-Communication-in-.NET-Using-gRPC",
"max_stars_repo_path": "Chapter-10/Part2/GrpcAuthentication/UserFacingApp/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:68141"
} | starcoder | @{
ViewData["Title"] = "Home Page";
}
<div class="text-center">
<h1 class="display-4">Please enter the id of the secret you want to view:</h1>
<form asp-action="Details" method="get">
<p>
<input type="text" name="Id" />
<input type="submit" value="Submit" />
</p>
... | 2.394774 | 62880ae0b9ceff6c03c642e056d9c5b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68141 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "kenkendk/sme",
"max_stars_repo_path": "src/SME.VHDL/Attributes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68142"
} | starcoder | using System;
namespace SME.VHDL
{
/// <summary>
/// Attribute for supplying the type used in VHDL output.
/// </summary>
public class VHDLTypeAttribute : Attribute
{
public string Type { get; set; }
public string Alias { get; set; }
public VHDLTypeAttribute(string type, s... | 2.699553 | e41e62e5f3ea1416e213e26689079d73 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68142 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Houzkin/HouzkinPackage",
"max_stars_repo_path": "HouzkinLibrary/HouzkinArchitecture/Architecture/DataErrorNotificationManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68143"
} | starcoder | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Windows;
using System.Windows.Threading;
namespace System.ComponentModel {
/// <summary>
/// データの検証を担うオブジェクトを提供する。
/// </summary>
public sealed class DataErrorNoti... | 2.462467 | 9a6eca49801faa52c288b3a5c35734ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68143 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Intemporel/WoWDatabaseEditor",
"max_stars_repo_path": "Rendering/OpenGLBindings/KhrTextureCompressionAstcLdr.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68144"
} | starcoder | <filename>Rendering/OpenGLBindings/KhrTextureCompressionAstcLdr.cs
namespace OpenGLBindings
{
/// <summary>
/// Not used directly.
/// </summary>
public enum KhrTextureCompressionAstcLdr
{
/// <summary>
/// Original was GL_COMPRESSED_RGBA_ASTC_4x4_KHR = 0x93B0
/// </summary>
... | 2.091287 | 05c67e99c98719009faad0a2ddc227f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68144 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "italabs/ITA.Common",
"max_stars_repo_path": "SOURCE/ITA.Common.Installers/HostInstaller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68145"
} | starcoder | <filename>SOURCE/ITA.Common.Installers/HostInstaller.cs<gh_stars>0
using System;
using System.Collections;
using System.ComponentModel;
using System.Configuration.Install;
using System.IO;
using System.ServiceProcess;
using Microsoft.Win32;
using log4net;
using ITA.Common.Tracing;
namespace ITA.Common.Host
{
/// <... | 1.880635 | df3369ddb1cdc66dfe448efeac09acb1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68145 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fredatgithub/CribleEratosthene",
"max_stars_repo_path": "source/UnitTestCrible/UnitTestCrible.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68146"
} | starcoder | <gh_stars>0
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTestCrible
{
[TestClass]
public class UnitTestCrible
{
[TestMethod]
public void TestMethod_Crible1()
{
var source = new bool[120];
source = LibraryEratosthene.CribleEratosthene.InitializeCrible(source);
... | 1.954585 | 455bb8f345864ee601025bc3a4e23ccf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68146 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Shkyrockett/EnvelopeWarpPlayground",
"max_stars_repo_path": "EnvelopeWarpLibrary/Classes/Geometry/Envelopes/CubicEnvelope.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68147"
} | starcoder | // <copyright file="CubicEnvelope.cs">
// Copyright © 2019 - 2020 Shkyrockett. All rights reserved.
// </copyright>
// <author id="shkyrockett">Shkyrockett</author>
// <license>
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </license>
// <summary></sum... | 2.705213 | c91d2cd9b09c22d56fd7da0297b7cd99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68147 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VaLiuM09/Creator",
"max_stars_repo_path": "Editor/Analytics/AnalyticsEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68148"
} | starcoder | <gh_stars>0
namespace VPG.Editor.Analytics
{
internal struct AnalyticsEvent
{
public string Category;
public string Action;
public string Label;
}
}
| 0.753584 | dfa7eace18875b810f923d7d09430c02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68148 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "grofit/battle-kill-9000",
"max_stars_repo_path": "src/BK9K/BK9K.Game/AI/Applicators/Considerations/External/PartyLowHealthConsiderationApplicator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68149"
} | starcoder | using System;
using System.Collections.Generic;
using BK9K.Game.Data.Variables;
using BK9K.Game.Extensions;
using BK9K.Game.Levels;
using BK9K.Game.Units;
using BK9K.Mechanics.Units;
using OpenRpg.AdviceEngine;
using OpenRpg.AdviceEngine.Considerations;
using OpenRpg.AdviceEngine.Keys;
using OpenRpg.Core.Requirements;
... | 1.920258 | d2f9b0a3b7934a570378762aacb664c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68149 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Nethereum/Nethereum.BlockchainProcessing",
"max_stars_repo_path": "src/Nethereum.LogProcessing.Dynamic/Matching/EventMatcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68150"
} | starcoder | using Nethereum.ABI.Model;
using Nethereum.Contracts;
using Nethereum.RPC.Eth.DTOs;
using System;
using System.Linq;
namespace Nethereum.LogProcessing.Dynamic.Matching
{
public class EventMatcher<TEvent>: EventMatcher
{
public EventMatcher(
IEventAddressMatcher addressMatcher = null,
... | 2.534903 | 874f2022bb1a04636fb6f606b7566003 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "06012021-dotnet-uta/EthanBakerP1",
"max_stars_repo_path": "Project1Folder/ModelsLibrary/Customers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68151"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
namespace ModelsLibrary
{
public class Customers
{
[Key]
public int CustomerID { get; set; }
[Required]
[MaxLength(20)]
[Display(Name = "Firs... | 2.276793 | d0d1ff801864e6f459fd708a690923b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68151 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AlexTrepanier/Uno",
"max_stars_repo_path": "src/Uno.UWP/Generated/3.0.0.0/Windows.Media/IMediaMarker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68152"
} | starcoder | #pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Media
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial interface IMediaMarker
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__ ... | 1.942021 | d18c78711ec9496573b159e46395a049 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68152 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AbabeiAndrei/WProject",
"max_stars_repo_path": "WProject.GenericLibrary/Helpers/Extensions/ReflexionEx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68153"
} | starcoder | <reponame>AbabeiAndrei/WProject<gh_stars>0
using System;
namespace WProject.GenericLibrary.Helpers.Extensions
{
public static class ReflexionEx
{
public static object GetProperty(this object obj, string propertyName)
{
return GetProperty<object>(obj,propertyName);
}
... | 3.106013 | a4a1fb8a836d69975f6b37d3088af316 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68153 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hct-vladimir/SOS-Shared",
"max_stars_repo_path": "DataAccess/Models/VPERSONAL.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68154"
} | starcoder | <filename>DataAccess/Models/VPERSONAL.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will b... | 1.418302 | 3dc0436438a382b0766d0afffd0696fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68154 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "Catel/Catel.Examples",
"max_stars_repo_path": "src/Catel.Examples.WPF.MultiLingual/ViewModels/DataWindowViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68155"
} | starcoder | <reponame>Catel/Catel.Examples
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DataWindowViewModel.cs" company="Catel development team">
// Copyright (c) 2008 - 2017 Catel development team. All rights reserved.
// </copyright... | 2.142546 | cfeec22a450ce1a4c0c0bfeb6f9de0f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68155 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "SimonCropp/Argon",
"max_stars_repo_path": "src/Argon.JsonPath/FieldFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68156"
} | starcoder | class FieldFilter : PathFilter
{
internal string? Name;
public FieldFilter(string? name) =>
Name = name;
public override IEnumerable<JToken> ExecuteFilter(JToken root, IEnumerable<JToken> current, JsonSelectSettings settings)
{
foreach (var token in current)
{
if (t... | 2.236659 | 26fd113058b3596b9b97160faaeaf123 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68156 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "gitter-badger/open-pdd-net-sdk",
"max_stars_repo_path": "PddOpenSdk/PddOpenSdk/Models/Request/Invoice/QueryInvoiceDetailRequestModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68157"
} | starcoder | using Newtonsoft.Json;
namespace PddOpenSdk.Models.Request.Invoice
{
public partial class QueryInvoiceDetailRequestModel : PddRequestModel
{
/// <summary>
/// 订单号
/// </summary>
[JsonProperty("order_sn")]
public string OrderSn { get; set; }
/// <summary>
/... | 1.738233 | 2d13fdfe21966d3868e520614ce2917f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68157 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lvermeulen/Dynatrace.Net",
"max_stars_repo_path": "src/Dynatrace.Net/Common/Converters/RumMetricsConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68158"
} | starcoder | using System.Collections.Generic;
using Dynatrace.Net.Configuration.CalculatedMetrics.Models;
namespace Dynatrace.Net.Common.Converters
{
public class RumMetricsConverter : JsonEnumConverter<RumMetrics>
{
private static readonly Dictionary<RumMetrics, string> s_pairs = new Dictionary<RumMetrics, string>
... | 1.639129 | 0de1dcdbf1adad89b341209c827d74ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68158 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SaberSnail/GoldenAnvil.Utility",
"max_stars_repo_path": "GoldenAnvil.Utility/DisposableUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68159"
} | starcoder | using System;
namespace GoldenAnvil.Utility
{
public static class DisposableUtility
{
public static void Dispose<T>(ref T obj)
where T : IDisposable
{
obj?.Dispose();
obj = default(T);
}
}
}
| 2.617613 | 8c3191e0904e8106072a6a011ef17276 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68159 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "jbuedel/AgentRalphPlugin",
"max_stars_repo_path": "NRefactory/Project/Src/Visitors/AstComparisonIgnoreLiteralsVisitor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68160"
} | starcoder | using ICSharpCode.NRefactory.Ast;
namespace AgentRalph.Visitors
{
public class AstComparisonIgnoreLiteralsVisitor : AstComparisonVisitor
{
public override bool VisitPrimitiveExpression(PrimitiveExpression primitiveExpression, object d)
{
return true;
}
}
} | 1.683805 | 00e21a72f9c894bfc3886543736c64b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68160 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MapleWithoutWords/sword_nine",
"max_stars_repo_path": "src/WebApi/Sword.Nine.Service/IService/ISnRuleClassAttributeSettingService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68161"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Sword.Nine.Domain;
using NoRain.Service;
using System.ComponentModel.DataAnnotations.Schema;
using Common.APICommon;
using NoRain.Common;
namespace Sword.Nine.Service
{
/// <summary>
/// 规则类别属性配置表服务实现类
/// </summary>
pub... | 1.977797 | b89f57a28eb3afc902cbafc1b4e6d028 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68161 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "maishumaishu/ALinq",
"max_stars_repo_path": "ALinq/Oracle/OrcaleFormatter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68162"
} | starcoder | using System;
using System.Diagnostics;
using System.Text;
using ALinq.Mapping;
using ALinq.SqlClient;
namespace ALinq.Oracle
{
class OracleFormatter : DbFormatter
{
internal class Visitor : SqlFormatter.Visitor
{
public override void FormatValue(object value)
{
... | 2.237322 | aed8ebc6963da342b512fc627c214e14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68162 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "LittleCopernicus/DPGame",
"max_stars_repo_path": "Assets/DesignPatternExample/Factory Method/FactoryMethod.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68163"
} | starcoder | using UnityEngine;
using System.Collections;
namespace DesignPattern_FactoryMethod
{
// 成品物件類型
public abstract class Product
{
}
// 成品物件類型A
public class ConcreteProductA : Product
{
public ConcreteProductA()
{
Debug.Log("生成物件類型A");
}
}
// 成品物件類型B
public class ConcreteProductB : Product
{
pub... | 3.306688 | 049150ad8590d4479cee1e6f1541e254 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68163 | {
"extension": "c-sharp",
"max_stars_count": "1296.0",
"max_stars_repo_name": "Youssef1313/roslyn-analyzers",
"max_stars_repo_path": "src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/Runtime/PreferConstCharOverConstUnitStringTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68164"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Xunit;
using VerifyCS = Test.Utilities.CSharpCodeFixVerifier<
Microsoft.NetCore.Analyzers.Runtime.PreferConstCharOverConstUnitString... | 2.465776 | eca79680d50e64672790bf5f2149cf97 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68164 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RoboPhred/autoccultist",
"max_stars_repo_path": "src/Brain/IMotivation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68165"
} | starcoder | namespace Autoccultist.Brain
{
using System.Collections.Generic;
/// <summary>
/// Defines a package of primary and supporting goals.
/// </summary>
public interface IMotivation
{
/// <summary>
/// Gets the motivation name.
/// </summary>
string Name { get; }
... | 2.681046 | 4a20c822be1a92ac69d1d4db5cd990d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68165 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vrenken/EtAlii.Generators",
"max_stars_repo_path": "Source/EtAlii.Generators.PlantUml.Tests/CodeGeneration/PlantUmlStateMachineParser.Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68166"
} | starcoder | namespace EtAlii.Generators.PlantUml.Tests
{
using EtAlii.Generators.PlantUml;
using Xunit;
public class PlantUmlStateMachineParserTests
{
[Fact]
public void PlantUmlStateMachineParser_Create()
{
// Arrange.
var lifetime = new PlantUmlTestMachineLifetime... | 2.435105 | 3279e705df0c20cd728b5e8414088fe8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68166 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sikozonpc/ToDo-Manager-APp",
"max_stars_repo_path": "TDMForms/AddTaskForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68167"
} | starcoder | <filename>TDMForms/AddTaskForm.Designer.cs
namespace TDMForms
{
partial class AddTaskForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resource... | 2.206721 | f6bc3b4a6d5eb4e396bc2858cbba4009 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68167 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Guillemsc/Barista",
"max_stars_repo_path": "Assets/Barista-Shared/Scripts/Logic/LevelLogic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68168"
} | starcoder | <reponame>Guillemsc/Barista
using Barista.Shared.Logic.States;
using Juce.Core.Events;
using Juce.Core.State;
using Juce.Core.Tickable;
namespace Barista.Shared.Logic
{
public class LevelLogic : ITickable
{
public IEventReceiver EventReceiver { get; }
public LevelLogicUseCasesRepository UseCas... | 2.033859 | bffa412ae17b2cc8228a7bb80268fa27 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68168 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "harjup/bird-watch",
"max_stars_repo_path": "src/BirdWatch/Assets/src/Code/Field/ParallaxScroller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68169"
} | starcoder | <reponame>harjup/bird-watch<gh_stars>1-10
using UnityEngine;
using System.Collections;
using DG.Tweening;
public class ParallaxScroller : MonoBehaviour
{
public float StartPosition;
public float EndPosition;
public float Speed = 1f;
private Tweener _tween;
// Use this for initialization
// v... | 2.286356 | 1ab48a6d3ae0316a63a14eeae66e1bba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68169 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NGTDI/Server",
"max_stars_repo_path": "src/ngtdiLibrary/DAOs/UserDAO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68170"
} | starcoder | using MongoDB.Driver;
using NGTDI.Library.Objects;
using TreeGecko.Library.Mongo.DAOs;
namespace NGTDI.Library.DAOs
{
public class UserDAO : AbstractMongoDAO<User>
{
public UserDAO(MongoDatabase _mongoDB) : base(_mongoDB)
{
HasParent = false;
}
public override stri... | 2.435829 | 9a9f5fe72363aa0a21adf4576cf8c5d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68170 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "D4N3-777/din-api",
"max_stars_repo_path": "src/Din.Application.WebAPI/Content/SearchResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68171"
} | starcoder | <filename>src/Din.Application.WebAPI/Content/SearchResponse.cs
using System.Collections.Generic;
namespace Din.Application.WebAPI.Content
{
public class SearchResponse
{
public int TmdbId { get; set; }
public string Overview { get; set; }
public string PosterPath { get; set; }
... | 2.062601 | 16774cc8f739dde5ce750acf0feb116b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68171 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mbohlool/client-csharp",
"max_stars_repo_path": "kubernetes/src/io.kubernetes.csharp/Model/UnversionedAPIResourceList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68172"
} | starcoder | /*
* Kubernetes
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: v1.5.1-660c2a2
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using... | 2.105226 | c070745311da12f018c33b3912d6bae8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68172 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "egyptianbman/Keycloak.Net",
"max_stars_repo_path": "src/model/IdentityProviders/IdentityProviderMapperType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68173"
} | starcoder | using Keycloak.Net.Model.Converters;
using Newtonsoft.Json;
namespace Keycloak.Net.Model.IdentityProviders
{
[JsonConverter(typeof(IdentityProviderMapperTypeConverter))]
public enum IdentityProviderMapperType
{
HardcodedUserSessionAttribute,
HardcodedRole,
AttributeImporter,
... | 1.427929 | be87f6df7652d78b7724436573987c64 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68173 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "thangchung/northwind-dotnet",
"max_stars_repo_path": "Shipping/UseCases/PickShipment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68174"
} | starcoder | <gh_stars>10-100
using Northwind.IntegrationEvents.Contracts;
namespace Shipping.UseCases;
public record PickShipmentCommand : ICommand
{
public Guid OrderId { get; init; }
public Guid ShipperId { get; init; }
public Guid CustomerId { get; init; }
public string? BeFailedAt { get; init; } // "Dispatch... | 2.353096 | 78f5b1eb68a9f11537e415a1caec70f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68174 | {
"extension": "c-sharp",
"max_stars_count": "3294.0",
"max_stars_repo_name": "BaruaSourav/docs",
"max_stars_repo_path": "docs/standard/serialization/snippets/system-text-json-how-to-5-0/csharp/CustomConverterUnixEpochDateNoZone.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68175"
} | starcoder | <reponame>BaruaSourav/docs
using System;
using System.Globalization;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Text.RegularExpressions;
namespace CustomConverterUnixEpochDateNoZone
{
class Program
{
public static void Main()
{
var forecast = new For... | 2.924066 | d713053b75e63b3417f8f5ff91fbe500 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68175 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BugsUK/FindApprenticeship",
"max_stars_repo_path": "src/SFA.DAS.RAA.Api/Global.asax.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68176"
} | starcoder | <reponame>BugsUK/FindApprenticeship
namespace SFA.DAS.RAA.Api
{
using System.Web.Http;
public class WebApiApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
GlobalConfiguration.Configure(WebApiConfig.Register);
Microsoft.ApplicationInsi... | 1.152519 | 22967eb7cf5d8e6b8716fee2797761f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68176 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "skbkontur/result",
"max_stars_repo_path": "Kontur.Tests.Results/Inheritance/Conversion/Upcast/Value_Should.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68177"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Kontur.Results;
using NUnit.Framework;
namespace Kontur.Tests.Results.Inheritance.Conversion.Upcast
{
[TestFixture]
internal class Value_Should
{
private static IEnumerable<TestCaseData> GetCases() =>
UpcastExamples
... | 2.155184 | b1e3704f42902c13db777c129ddbb8b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68177 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "DevTeam/IoCContainer",
"max_stars_repo_path": "IoC.Tests/UsageScenarios/Observables.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68178"
} | starcoder | namespace IoC.Tests.UsageScenarios
{
using System;
using Moq;
using Xunit;
public class Observables
{
[Fact]
public void Run()
{
// $visible=true
// $tag=3 BCL types
// $priority=01
// $description=Observables
// $... | 2.871399 | a553d69a2f5c9fb1e9e44b779c80a29a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68178 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kash0321/elector",
"max_stars_repo_path": "src/Kash.Elector/ElectoralList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68179"
} | starcoder | using Kash.CrossCutting.Diagnostics;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace Kash.Elector
{
public class ElectoralList
{
public string Party { get; protected set; }
readonly IList<District> _districts = null;
public IReadOnlyList<District> Dis... | 2.75188 | 3164a9d2c6ddadf4a7cb29a7e1a50573 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68179 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lzocateli00/Lzfy.DevPack",
"max_stars_repo_path": "src/Nuuvify.CommonPack.Extensions/Implementation/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68180"
} | starcoder | <gh_stars>0
namespace Nuuvify.CommonPack.Extensions.Implementation
{
public static class Constants
{
/// <summary>
/// </summary>
/// <value>CorrelationId</value>
public static string CorrelationHeader
{
get
{
return "CorrelationI... | 1.366137 | 8968ffe1aea157e7f08246d691e4878b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68180 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qq283335746/ECShop",
"max_stars_repo_path": "src/TygaSoft/IDAL/IHandlerUserProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68181"
} | starcoder | <filename>src/TygaSoft/IDAL/IHandlerUserProfile.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TygaSoft.IDAL
{
public interface IHandlerUserProfile
{
#region 成员方法
/// <summary>
/// 保存当前请求,有则更新,无则新增
/// </summary>
... | 2.263785 | 253b8c13d5dc10f4c25a8b148718a3fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68181 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adamkuder/MessengerClient",
"max_stars_repo_path": "MessengerClient/MessengerClient/ChatPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68182"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MessengerClient
{
public partial class ChatPage : Form
{
public ChatPage()
... | 1.292862 | 17d6abe17930c33b056ee1fadce87241 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68182 | {
"extension": "c-sharp",
"max_stars_count": "565.0",
"max_stars_repo_name": "Enigma422/OpenBullet2",
"max_stars_repo_path": "OpenBullet2.Core/Models/Jobs/ProxyCheckJobOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68183"
} | starcoder | <reponame>Enigma422/OpenBullet2
using OpenBullet2.Core.Models.Proxies;
using OpenBullet2.Core.Models.Settings;
using RuriLib.Models.Jobs;
namespace OpenBullet2.Core.Models.Jobs
{
/// <summary>
/// Options for a <see cref="ProxyCheckJob"/>.
/// </summary>
public class ProxyCheckJobOptions : JobOptions
... | 1.983873 | ade0c29dbfedb97ee955a3142685fa48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68183 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CorneliusCornbread/Siege-Defense",
"max_stars_repo_path": "Siege-Defense/Assets/Scripts/Game/ScoreManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68184"
} | starcoder | using Mirror;
using SiegeDefense.Game;
using UnityEngine;
using UnityEngine.Assertions;
namespace SiegeDefense.Game
{
public class ScoreManager : NetworkBehaviour
{
public static ScoreManager Instance { get; private set; }
[SerializeField]
private int wallRepairCost = 200;
[Seria... | 2.319839 | 61fcd4e430fbe1c87a06b80dcc8fee7a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68184 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ObsidianMinor/SteamStandardProject",
"max_stars_repo_path": "src/Steam.Common/SteamGid.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68185"
} | starcoder | <gh_stars>1-10
using System;
namespace Steam
{
/// <summary>
/// Represents a Steam global unique identifier
/// </summary>
public readonly struct SteamGid : IEquatable<SteamGid>
{
private readonly uint _sequentialCount;
private readonly byte _processId;
/// <summary>
... | 3.008385 | a31a1b4706df1529cfd121c204982e14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68185 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarkZuber/homecontrol",
"max_stars_repo_path": "src/HomeControl.Web/Devices/ISonyNetworkProjector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68186"
} | starcoder | <filename>src/HomeControl.Web/Devices/ISonyNetworkProjector.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace HomeControl.Web.Devices
{
public interface ISonyNetworkProjector
{
Task TurnOnAsync();
Task TurnOffAsync();
}... | 1.761783 | e51224044e0ef20b4bea8e51d1964cfa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68186 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sozuer53/BBC",
"max_stars_repo_path": "Server/BBC_API/src/BBC.Services/Identity/Dto/UserDtos/CreateUserDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68187"
} | starcoder | <reponame>sozuer53/BBC
using System;
using System.Collections.Generic;
using System.Text;
namespace BBC.Services.Identity.Dto.UserDtos
{
public class CreateUserDto:UserDto
{
}
}
| 0.86624 | 9635187d7238c8ad898aa0b4d2c3a36d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68187 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jakob-Eichberger/Graphentheorie-Programm",
"max_stars_repo_path": "GraphenProgramm/MainWindow.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68188"
} | starcoder | namespace GrafenProgramm
{
partial class MainWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
///... | 1.923856 | 9aa5efe10f45f9c5d9aa922b7ead47c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68188 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FkLaagom/EmotionDetectionUWP",
"max_stars_repo_path": "EmotionRecognition/Converters/EmotionToStringConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68189"
} | starcoder | using Microsoft.Azure.CognitiveServices.Vision.Face.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Data;
namespace EmotionRecognition.Converters
{
public class EmotionToStringConverter : IV... | 2.65516 | 05925cb595c11e0a4ce6628a27000a56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68189 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ThyWoof/VGAudio",
"max_stars_repo_path": "src/VGAudio.Cli/Metadata/Print.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68190"
} | starcoder | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using VGAudio.Cli.Metadata.Containers;
namespace VGAudio.Cli.Metadata
{
internal static class Print
{
public static string PrintMetadata(Options options)
{
AudioFile input = options... | 2.660568 | 41e58202a69ce7d6d10a68ff88b67fb3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68190 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SteveBate/DataPipe",
"max_stars_repo_path": "datapipe/Core/Middleware/ExceptionAspect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68191"
} | starcoder | <gh_stars>0
using System;
using System.Threading.Tasks;
namespace DataPipe.Core.Middleware
{
/// <summary>
/// ExceptionAspect - handler to deal with unexpected errors. Invokes the OnError callback on the message if supplied
/// </summary>
public class ExceptionAspect<T> : Aspect<T>, Filter<T> where T ... | 2.384521 | 5f5196d5fdc3a1123f6911e44dba6e70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68191 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ObsidianMinor/SteamStandardProject",
"max_stars_repo_path": "src/Steam.Web/StringSerializers/LanguageSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68192"
} | starcoder | <reponame>ObsidianMinor/SteamStandardProject<filename>src/Steam.Web/StringSerializers/LanguageSerializer.cs
using System;
using Steam.Web.Interface;
namespace Steam.Web.StringSerializers
{
/// <summary> Converts a <see cref="Language"/> to a web API language code string </summary>
public class LanguageSerializ... | 2.530313 | 521700e6ef84df30c0b70aa5a7aaa0ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68192 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JonasSyrstad/Stardust.Rest",
"max_stars_repo_path": "Stardust.Interstellar.Rest.Service.Asp/IServiceExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68193"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using System.Web.Http.Controllers;
using Stardust.Interstellar.Rest.Common;
using Stardust.Interstellar.Rest.Extensions;
namespace Stardust.Interstellar.Rest.Service
{
///... | 1.851176 | 5f28709ef83a66744f6d4e1283fe6f67 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68193 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ExcellentNonsense/CarRental",
"max_stars_repo_path": "CarRental.Core/Entities/PriceListItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68194"
} | starcoder | using System.Collections.Generic;
namespace CarRental.Domain.Entities
{
public class PriceListItem : BaseEntity
{
public Car Car { get; set; }
public decimal PricePerDay { get; set; }
public int CarId { get; set; }
public ICollection<Order> Orders { get; set; }
}
}
| 1.967268 | e2b33db9a6a40741e26a0a446e7396a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68194 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uniQodeAB/uniqode-web",
"max_stars_repo_path": "src/UniQode.Web/Controllers/WorkfieldController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68195"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using Newtonsoft.Json;
using UniQode.Contracts.Services;
using UniQode.Entities.Data;
using UniQode.Entities.Enums;
using UniQode.Models.Shared;
using UniQode.Web.Extensions;
namespace UniQode.Web.Controllers
{
[Authorize]
... | 1.906548 | 4ec33fec0b79aff0d8b9eddb0b3eb536 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68195 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skippyfox/fursvp",
"max_stars_repo_path": "src/fursvp.domain/Authorization/IUserAccessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68196"
} | starcoder | // <copyright file="IUserAccessor.cs" company="skippyfox">
// Copyright (c) skippyfox. All rights reserved.
// Licensed under the MIT license. See the license.md file in the project root for full license information.
// </copyright>
namespace Fursvp.Domain.Authorization
{
/// <summary>
/// Accesses an <see cr... | 1.862167 | b95078798c80c19e16036587a8ac1b54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68196 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "v-alje/secmgmt-open-powershell",
"max_stars_repo_path": "src/PowerShell/Utilities/ConcurrencyTaskScheduler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68197"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Online.SecMgmt.PowerShell.Utilities
{
using System;
using System.Collections.Concurrent;
using System.Diagnostics;
usin... | 2.592313 | b5908b66cdd3a910eb2d0423b717af6c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68197 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HectorRPC/Toggl2Excel",
"max_stars_repo_path": "Toggl.Foundation.Tests/Mocks/MockWorkspace.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68198"
} | starcoder | using System;
using Toggl.Foundation.Models.Interfaces;
using Toggl.PrimeRadiant;
namespace Toggl.Foundation.Tests.Mocks
{
public sealed class MockWorkspace : IThreadSafeWorkspace
{
public string Name { get; set; }
public bool Admin { get; set; }
public DateTimeOffset? SuspendedAt { ... | 1.458217 | be191cc0a45e65cf03739eef4e346a86 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68198 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "appsonsf/FabricEAP",
"max_stars_repo_path": "src/GroupFileDomain/Dtos/UploadInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68199"
} | starcoder | using System;
namespace GroupFile.Dtos
{
/// <summary>
/// 上传参数
/// </summary>
public class UploadInput
{
/// <summary>
/// 文件存储Id
/// </summary>
public string StoreId { get; set; }
/// <summary>
/// 群组Id
/// </summary>
public Guid Gr... | 2.026495 | 4a8fe4c72850d6d86ec3bce75b12ee10 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68199 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "epam/DFP",
"max_stars_repo_path": "csharp/EPAM.Deltix.DFP.Test/MathTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68200"
} | starcoder | <filename>csharp/EPAM.Deltix.DFP.Test/MathTest.cs
using MathNet.Numerics;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Text;
using static EPAM.Deltix.DFP.Decimal64;
using static EPAM.Deltix.DFP.Decimal64Math;
using static EPAM.Deltix.DFP.Test.TestUtils;
namespace EPAM.Deltix.DFP... | 2.804147 | 8150f1c879e9d8ceb4c13340cb7303d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68200 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "Sigma88/Sigma-Dimensions",
"max_stars_repo_path": "[Source]/SigmaDimensions/Dimensions/SigmaDimensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68201"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using Kopernicus;
using Kopernicus.ConfigParser.BuiltinTypeParsers;
namespace SigmaDimensionsPlugin
{
[KSPAddon(KSPAddon.Startup.MainMenu, true)]
internal class SigmaDimensions : MonoBehaviour
{
... | 1.947569 | 60c0eb5664267bb852b66755e1762312 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68201 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "public-department-of-science/grammar-analyzer",
"max_stars_repo_path": "GrammarAnalyzer/Analyzer.Tokens/Infrastructure/ITokenInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68202"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
namespace Analyzer.Tokens.Infrastructure
{
public interface ITokenInfo
{
public IReadOnlyList<IToken> GetTokensAsReadOnlyList();
public void AddTokenByType(TokenType type);
public void AddTokenByType(TokenType type, string text);
}
}
| 1.601446 | 1a5b4a2510332a1fc9b8dc6035a69059 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68202 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mryildirim91/Hexfall-Demo",
"max_stars_repo_path": "Assets/Scripts/Core Game/SelectableTile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68203"
} | starcoder | <reponame>mryildirim91/Hexfall-Demo<gh_stars>0
using System.Collections.Generic;
using Mryildirim.Utilities;
using UnityEngine;
namespace Mryildirim.CoreGame
{
[RequireComponent(typeof(PolygonCollider2D))]
public class SelectableTile : MonoBehaviour
{
[SerializeField]private LayerMask _gameTileLaye... | 2.255354 | 9422861def34818f2195a98031307117 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68203 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AtefeBahrani/EngineeringUnits",
"max_stars_repo_path": "EngineeringUnits/UnitTypebase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68204"
} | starcoder | using Fractions;
using Newtonsoft.Json;
using EngineeringUnits.Units;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
namespace EngineeringUnits
{
// This is inherited by all UnitTypes
// It ... | 2.579725 | 3719436cfbe50236b6072b08982ce859 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68204 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "yuretz/kanrenmo",
"max_stars_repo_path": "kanrenmo/Context.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68205"
} | starcoder | <filename>kanrenmo/Context.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Kanrenmo.Annotations;
namespace Kanrenmo
{
/// <summary>
/// Kanren execution context (variable scope)
/// </summary>
public partial class Context
... | 3.03731 | e84188976c61485c27234607f85560aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68205 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "Sydres/FiveMRpServerResources",
"max_stars_repo_path": "src/FiveM/RPClient/Classes/Environment/AquaticSpawner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68206"
} | starcoder | using CitizenFX.Core;
using FamilyRP.Roleplay.Client.Helpers;
using FamilyRP.Roleplay.SharedClasses;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FamilyRP.Roleplay.Client.Classes.Environment
{
static class AquaticSpawner
{
... | 2.614431 | 499fc69feb076717e2f8c1e7ef997947 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68206 | {
"extension": "c-sharp",
"max_stars_count": "101.0",
"max_stars_repo_name": "Cloud-W/DOTSoftheDead",
"max_stars_repo_path": "Assets/_Project/Scripts/TransformEntityBridge.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68207"
} | starcoder | <filename>Assets/_Project/Scripts/TransformEntityBridge.cs
using System.Collections;
using System.Collections.Generic;
using Unity.Entities;
using Unity.Transforms;
using UnityEngine;
public class TransformEntityBridge : MonoBehaviour
{
public bool Write = false;
public Entity BridgedEntity;
public Entity... | 2.309956 | 3dc9ea74804a3885e15754ffdea9a716 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68207 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bigworld12/Orchestra",
"max_stars_repo_path": "src/Orchestra.Shell.MahApps/Services/MahAppsBaseColorService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68208"
} | starcoder | namespace Orchestra.Services
{
using System.Collections.Generic;
public class MahAppsBaseColorSchemeService : BaseColorSchemeService
{
public override IReadOnlyList<string> GetAvailableBaseColorSchemes()
{
return new List<string>()
{
OrchestraEnvironm... | 2.201716 | ade0dcaaca27d8980a205e55780373c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68208 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "akbuz9455/Otel-Otomasyonu",
"max_stars_repo_path": "OtelOtomasyon/musteri-cikis.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68209"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.OleDb;
namespace OtelOtomasyon
{
public partial class musteri_cikis ... | 2.005776 | 8c0890aec80f10bbd2b67a913da3874b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68209 | {
"extension": "c-sharp",
"max_stars_count": "953.0",
"max_stars_repo_name": "SeanKilleen/SpecFlow",
"max_stars_repo_path": "TechTalk.SpecFlow/Assist/ValueRetrievers/UShortValueRetriever.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68210"
} | starcoder | using System.Globalization;
namespace TechTalk.SpecFlow.Assist.ValueRetrievers
{
public class UShortValueRetriever : StructRetriever<ushort>
{
protected override ushort GetNonEmptyValue(string value)
{
ushort.TryParse(value, NumberStyles.Any, CultureInfo.CurrentCulture, out ushort ... | 2.426608 | d1e6add119078c142640aaf6ab02b6dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68210 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "djspider117/jacked",
"max_stars_repo_path": "Jacked/Assets/ShaderIndependentGlow/Scripts/SIG_GlowMask_Global.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68211"
} | starcoder | <reponame>djspider117/jacked
using UnityEngine;
using System.Collections;
using System;
[AddComponentMenu("Image Effects/Shader-Independent Glow/GlowMask global")]
public class SIG_GlowMask_Global : MonoBehaviour {
public TextureInfo[] glowMasks;
[System.Serializable]
public class TextureInfo
{
[HideInIns... | 2.010106 | 5f7ca8260b0cee239ff8a958b663fa0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68211 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LightosLimited/RailML",
"max_stars_repo_path": "v3.1/Models/XsdConvert/genericRailML/TGear.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68212"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------... | 2.223348 | e22d0065c7eff401f61d51580a93a647 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68212 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "atifaziz/Nod",
"max_stars_repo_path": "src/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68213"
} | starcoder | <gh_stars>0
#region Copyright (c) 2019 <NAME>. 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
//
// Unless requir... | 2.109332 | 54c2abaa85750c428b22ca2d0fd12731 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68213 | {
"extension": "c-sharp",
"max_stars_count": "1338.0",
"max_stars_repo_name": "jawn/Neutronium",
"max_stars_repo_path": "Neutronium.Core/JavascriptFramework/IndividualJavascriptCollectionChange.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68214"
} | starcoder | using Neutronium.Core.WebBrowserEngine.JavascriptObject;
namespace Neutronium.Core.JavascriptFramework
{
/// <summary>
/// Describe an atomic modifications related to a collection
/// </summary>
public class IndividualJavascriptCollectionChange
{
public IndividualJavascriptCollectionChange... | 2.545877 | 99f8495f0e000778287c0dea174f54f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68214 | {
"extension": "c-sharp",
"max_stars_count": "80.0",
"max_stars_repo_name": "McHarny/tankinspector",
"max_stars_repo_path": "TankInspector/Modeling/Tank/PedantBattleBoosterScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68215"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Smellyriver.TankInspector.Modeling
{
internal class PedantBattleBoosterScript : ConsumableScript
{
public PedantBattleBoosterScript(Database database)
: base(database)
{
}
public override string[] EffectiveDo... | 1.829368 | 9db7830aa99e08d3d3771b75419b5ae3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68215 | {
"extension": "c-sharp",
"max_stars_count": "127.0",
"max_stars_repo_name": "RakhithJK/CyberCAT",
"max_stars_repo_path": "CyberCAT.Core/Enums/Dumped Enums/EDebuggerColor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68216"
} | starcoder | <gh_stars>100-1000
namespace CyberCAT.Core.DumpedEnums
{
public enum EDebuggerColor
{
RED = 0,
YELLOW = 1
}
}
| 0.977847 | 353c9118b3f2bd79b7af518d954a73ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68216 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mugiban/ID-Audio",
"max_stars_repo_path": "Assets/ID/Utilities/Extensions/VectorExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68217"
} | starcoder | using UnityEngine;
namespace ID.Runtime.Utilities.Extensions
{
public static class VectorExtensions
{
public static Vector3 With(this Vector3 original, float? x = null, float? y = null, float? z = null)
{
return new Vector3(x ?? original.x, y ?? original.y, z ?? original.z);
... | 2.894773 | 8d62686d3ca45d985e215b6ddd427186 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68217 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Xyncross1111/Zhongli",
"max_stars_repo_path": "Zhongli.Data/Models/Moderation/Infractions/Reprimands/ReprimandResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68218"
} | starcoder | <filename>Zhongli.Data/Models/Moderation/Infractions/Reprimands/ReprimandResult.cs
using System.Collections.Generic;
using System.Linq;
namespace Zhongli.Data.Models.Moderation.Infractions.Reprimands;
public class ReprimandResult
{
public ReprimandResult(Reprimand reprimand, ReprimandResult? result)
{
... | 2.562409 | 942c8f09531552cbb677e86b1a71b455 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68218 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MikhailYugov/AnkiSharp",
"max_stars_repo_path": "Helpers/SynthetizerHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68219"
} | starcoder | <reponame>MikhailYugov/AnkiSharp<gh_stars>0
using System.Globalization;
using System.IO;
using System.Speech.Synthesis;
using NAudio.Wave;
namespace AnkiSharp.Helpers
{
internal static class SynthetizerHelper
{
public static void CreateAudio(string path, string text, CultureInfo cultureInfo, int bitra... | 2.583618 | 4c684afc4f909b517e7871e584c81237 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68219 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "choshinyoung/Toast",
"max_stars_repo_path": "Examples/Calculator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68220"
} | starcoder | using System;
using Toast;
namespace Examples
{
class Calculator
{
public static void Run()
{
Toaster toaster = new();
toaster.AddCommand(ToastCommand.CreateFunc<float, ToastContext, float, float>("add", (x, ctx, y) => x + y));
toaster.AddCommand(ToastComma... | 3.45365 | 63040fe4112a43d98af5077fde6449b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68220 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zoomlacms/web005",
"max_stars_repo_path": "Source-Code-母婴在线门户全站源代码/Areas/User/Views/Info/MySubscription_List.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:68221"
} | starcoder | <reponame>zoomlacms/web005
@using System.Data
@using ZoomLa.BLL.Helper
@model ZoomLa.SQLDAL.SQL.PageSetting
@{
Model.cols=5;
Model.Check=false;
}
<table class="table table-striped table-bordered" id="EGV">
<tr><td colspan="5" class="text-center">我的订阅管理</td></tr>
<tr>
<td>编号</td>
<td>订阅标题</td>
<td>生效日期</td>... | 1.896261 | 97e85c8f551930a19bbc7c7204b5d9b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68221 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit",
"max_stars_repo_path": "multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Core/AlibabaCloud/SDK/ROS/CDK/Core/ConstructOrder.cs",
"provenance": "train-00000-of-000... | starcoder | using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace AlibabaCloud.SDK.ROS.CDK.Core
{
/// <summary>In what order to return constructs.</summary>
[JsiiEnum(nativeType: typeof(ConstructOrder), fullyQualifiedName: "@alicloud/ros-cdk-core.ConstructOrder")]
public enum Const... | 2.052203 | f240c2421d2f3cfb14eca90c9bda0a7f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68222 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MyJetMarketingBox/MarketingBox.Email.Service",
"max_stars_repo_path": "src/MarketingBox.Email.Service/Subscribers/PasswordChangedSubscriber.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68223"
} | starcoder | <reponame>MyJetMarketingBox/MarketingBox.Email.Service
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Autofac;
using DotNetCoreDecorators;
using MarketingBox.Auth.Service.Messages;
using MarketingBox.Email.Service.Engines;
using Microsoft.Extensions.Logging;
namespace MarketingBox.... | 2.344026 | e7404126245cc4917ff89fadee7661a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68223 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "beingawesome/chapter4",
"max_stars_repo_path": "src/Chapter4/Snapshots/Store/Null/NullStore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68224"
} | starcoder | <filename>src/Chapter4/Snapshots/Store/Null/NullStore.cs<gh_stars>0
using System;
using System.Threading.Tasks;
using Chapter4.EventSourcing;
namespace Chapter4.Snapshots.Store.Null
{
internal sealed class NullStore : ISnapshotStore
{
public Task<SnapshotDescriptor> GetLatestSnapshot<T>(string type, s... | 2.570198 | f16d0f6fe17977c94c2a2332d95cec9a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68224 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "HMS-Core/hms-xamarin-bindings",
"max_stars_repo_path": "android/samples/DriveKitDemo/SplashActivity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68225"
} | starcoder | /*
Copyright 2021. Huawei Technologies Co., Ltd. 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... | 1.799216 | 649368d6dfedbbdd13d7e2e8af9e65a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68225 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AnotherEpigone/novalia",
"max_stars_repo_path": "Ui/Consoles/MainConsoleOverlays/LogConsole.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68226"
} | starcoder | <reponame>AnotherEpigone/novalia
using SadConsole;
using SadRogue.Primitives;
namespace Novalia.Ui.Consoles.MainConsoleOverlays
{
public class LogConsole : Console
{
public LogConsole(int width, int height)
: base(width, height)
{
DefaultBackground = ColorHelper.Control... | 2.317285 | 7608e1de122bad43e7cad6f01ea8b4a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68226 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tuffrabit/virtual-xinput-host",
"max_stars_repo_path": "AnalogStickBinding.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68227"
} | starcoder | namespace TuFFrabitX360
{
public enum AnalogStickBinding : int
{
Unbound = 0,
LeftStick = 1,
RightStick = 2
}
}
| 1.707583 | cc3c66f3e09dd66773852ab74003898b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68227 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SNBnani/Xian",
"max_stars_repo_path": "Ris/Client/Workflow/Extended/OrderNoteConversationComponentRecipientTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68228"
} | starcoder | #region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using System.Collections.Generic;
using ClearCan... | 2.047145 | adffa8d07e10010f5653fcfaf10dc90d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68228 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "System.Activities/System/Activities/BookmarkOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68229"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace System.Activities
{
using System;
[Flags]
public enum BookmarkOptions
... | 1.582422 | 06a07a7a3d06206f8fb138578521e627 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68229 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "optimus1006/toures-balon",
"max_stars_repo_path": "services/Convenios/ConveniosAPI/Convenios/ConveniosAPI/Interfaces/IConvenioRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68230"
} | starcoder | using Javeriana.Convenios.Api.Models;
using Javeriana.Convenios.Api.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Javeriana.Convenios.Api.Interfaces
{
public interface IConvenioRepository : IRepositoryBase<Conv... | 1.869127 | e0c5097d5bd4d460b775ca51656a838f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68230 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "Veraatversus/AnnoSavegameViewer",
"max_stars_repo_path": "src/AnnoSavegameViewer/GeneratedA7s/Structures/Savegame2/Generated/NoContent/AreaIncidentManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68231"
} | starcoder | namespace AnnoSavegameViewer.Structures.Savegame.Generated {
using AnnoSavegameViewer.Serialization.Core;
public class AreaIncidentManager {
[BinaryContent(Name = "incidentTypeData", NodeType = BinaryContentTypes.Node)]
public IncidentTypeData IncidentTypeData { get; set; }
}
} | 1.417155 | 9e3188508053ca2ea33b4e771df01b85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68231 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "InsonusK/IServiceCollectionExtension.LazyLoadService",
"max_stars_repo_path": "src/IServiceCollectionExtension.LazyLoadService.Test/Transient_Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68232"
} | starcoder | <reponame>InsonusK/IServiceCollectionExtension.LazyLoadService
using System;
using IServiceCollectionExtension.LazyLoadService.Test.TestClasses;
using Microsoft.Extensions.DependencyInjection;
using NUnit.Framework;
namespace IServiceCollectionExtension.LazyLoadService.Test
{
public class Transient_Test
{
... | 2.158755 | 1dd19e25f020c12e02fac669b10964e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68232 | {
"extension": "c-sharp",
"max_stars_count": "1365.0",
"max_stars_repo_name": "dmolokanov/iotedge",
"max_stars_repo_path": "edge-util/test/Microsoft.Azure.Devices.Edge.Storage.Test/StoreUtilsTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68233"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.Azure.Devices.Edge.Storage.Test
{
using System.Linq;
using Microsoft.Azure.Devices.Edge.Util.Test.Common;
using Xunit;
[Unit]
public class StoreUtilsTest
{
[Fact]
public void KeyToOffsetConversionTest()
... | 2.016857 | 0403d0bfb0ac2c920b8396def2ced735 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.