added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837212 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JCoil/StorageGuru",
"max_stars_repo_path": "ImprovedComponents/Techs/TechGmRice.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156432"
} | starcoder | <filename>ImprovedComponents/Techs/TechGmRice.cs
using Planetbase;
using PlanetbaseModUtilities;
using UnityEngine;
namespace ImprovedComponents
{
public class TechGmRice : Tech
{
// Token: 0x06000BA2 RID: 2978 RVA: 0x000412E6 File Offset: 0x0003F4E6
public TechGmRice()
{
l... | 2.097325 | 5dda4a7c55d97b9bcc00547ff2b188a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837213 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Qibbi/BinaryAssetBuilder",
"max_stars_repo_path": "source/SageBinaryData/SageBinaryData/Modules/FindCoverBehavior.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156433"
} | starcoder | <gh_stars>1-10
using Relo;
using System.Runtime.InteropServices;
namespace SageBinaryData
{
[StructLayout(LayoutKind.Sequential)]
public struct FindCoverBehaviorModuleData
{
public UpdateModuleData Base;
public AssetReference<AttributeModifier> AttributeModifierInCover;
public floa... | 1.171058 | 7982d42bde2c244f7b63ca6b35ed8663 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837214 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "PJChamley/das-payments-V2",
"max_stars_repo_path": "src/SFA.DAS.Payments.AcceptanceTests.EndToEnd/Steps/PV2_1851_Steps.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156434"
} | starcoder | using System.Linq;
using System.Threading.Tasks;
using Autofac;
using SFA.DAS.Payments.AcceptanceTests.Core.Automation;
using SFA.DAS.Payments.Model.Core.Entities;
using TechTalk.SpecFlow;
namespace SFA.DAS.Payments.AcceptanceTests.EndToEnd.Steps
{
[Binding]
[Scope(Feature = "PV2-1851-Non-Levy-Learner-Made-Re... | 2.004181 | 51603f2488239d84ce9c21b31e0814f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837215 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "justdmitry/NanoRpcSharp",
"max_stars_repo_path": "NanoRpcSharp.Tests/Messages/AccountsCreateTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156435"
} | starcoder | namespace NanoRpcSharp.Messages
{
using System;
using Newtonsoft.Json.Linq;
using Xunit;
public class AccountsCreateTests
{
[Fact]
public void RequestOk()
{
var req = new AccountsCreateRequest("000D1BAEC8EC208142C99059B393051BAC8380F9B5A2E6B2489A277D81789F3F", 2... | 2.208724 | 01e2176372e4c2a163e53ca0c7d05eb3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837216 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ilovejs/PetShopv4",
"max_stars_repo_path": "Backup/IMessaging/IOrder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156436"
} | starcoder | <reponame>ilovejs/PetShopv4
using PetShop.Model;
namespace PetShop.IMessaging {
/// <summary>
/// This is the interface that the MessagingFactory returns.
/// To create a new implementation of Order Messaging, developers
/// need to implement this interface to comply with Abstract Factory Design Patte... | 2.841712 | cf4bb52b92c943c917cad4d1a95d28e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837217 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "philiplaureano/LinFu.Loaders",
"max_stars_repo_path": "LinFu.Loaders/LoaderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156437"
} | starcoder | using LinFu.Loaders.Interfaces;
namespace LinFu.Loaders
{
public static class LoaderExtensions
{
/// <summary>
/// Builds a new object using the state loaded into the current loader.
/// </summary>
/// <param name="loader">The loader that will be used to configure the new target... | 3.070105 | 1ff00bf259e7b94e7dd37d82c12d425c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837218 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zaccharles/aws-lambda-dotnet",
"max_stars_repo_path": "Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/AwsNamingPolicy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156438"
} | starcoder | <reponame>zaccharles/aws-lambda-dotnet
using System;
using System.Collections.Generic;
using System.Text.Json;
namespace Amazon.Lambda.Serialization.SystemTextJson
{
/// <summary>
/// Custom AWS naming policy
/// </summary>
public class AwsNamingPolicy : JsonNamingPolicy
{
readonly IDictio... | 2.547364 | 799c6534a3e960f05558824035416f25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837219 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "kaosborn/KaosCollections",
"max_stars_repo_path": "Bench/RbExample03/RbExample03.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156439"
} | starcoder | using System;
using System.Linq;
using Kaos.Collections;
namespace ExampleApp
{
class RbExample03
{
static double Median (RankedBag<int> vals)
{
if (vals.Count == 0) return 0D;
if (vals.Count % 2 == 1) return (double) vals.ElementAt (vals.Count/2);
return (v... | 3.413033 | 3d3c064554c2e6980604639ffd7300fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837220 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IndicoDataSolutions/indico-client-csharp",
"max_stars_repo_path": "Indico/Entity/SubmissionFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156440"
} | starcoder | <filename>Indico/Entity/SubmissionFilter.cs
using Indico.Types;
using System;
using System.Collections.Generic;
using System.Dynamic;
namespace Indico.Entity
{
[Obsolete("This is the V1 Version of the object. Please use V2 where possible.")]
public class SubmissionFilter : Filter
{
public string I... | 2.584584 | 21072c55c6472656ba5f85a7ff68800c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837221 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VVoev/Telerik-Academy",
"max_stars_repo_path": "15.Data-Structures-and-Algorithms/02. Linear-Data-Structures/live-demo-21.06.2017/LinearDataStructuresDemos/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156441"
} | starcoder | using System;
using System.Diagnostics;
using Helpers;
using Queue;
using System.Collections.Generic;
using System.Collections;
using ListDataStructure;
namespace DsaDemos
{
class Range : IEnumerable<int>
{
private int startValue;
private int endValue;
private int step;
public... | 3.623543 | 3f0af842a10cad424a714c6252d9c612 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837222 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Galya-IT/negroni-rpg-xna",
"max_stars_repo_path": "src/NegroniGame/NegroniGame/Items/Coins.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156442"
} | starcoder | <reponame>Galya-IT/negroni-rpg-xna
namespace NegroniGame.Items
{
using Microsoft.Xna.Framework.Graphics;
using System;
public struct Coins
{
private int amount;
public int Amount
{
get
{
return this.amount;
}
... | 2.377065 | 504677dc9941217aa0c518b69172565d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837223 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "RomanGL/VKSaver",
"max_stars_repo_path": "VKSaver2/VKSaver/VKSaver.PlatformShared/Controls/ServiceAuthBlock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156443"
} | starcoder | <filename>VKSaver2/VKSaver/VKSaver.PlatformShared/Controls/ServiceAuthBlock.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using VKSaver.Core.Models.Common;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace VKSaver.Controls
{
[TemplateVisualState(Name = SIGNED_I... | 2.353291 | 5ffc1555b4dbd88569b600c936de5af2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837224 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tugrulelmas/CalorieTracker",
"max_stars_repo_path": "src/Backend/CalorieTracker/Data/CalorieTrackerContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156444"
} | starcoder | using CalorieTracker.Models.FoodEntries;
using CalorieTracker.Models.Roles;
using CalorieTracker.Models.Users;
using Microsoft.EntityFrameworkCore;
using System;
namespace CalorieTracker.Data {
public class CalorieTrackerContext : DbContext {
public CalorieTrackerContext(DbContextOptions<CalorieTrackerCon... | 2.347652 | 2f1d447afc1b1f2873ac9f9fe84aaf50 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837225 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igoreksiz/NetOffice",
"max_stars_repo_path": "Source/Excel/DispatchInterfaces/LeaderLines.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156445"
} | starcoder | <reponame>igoreksiz/NetOffice
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.ExcelApi
{
/// <summary>
/// DispatchInterface LeaderLines
/// SupportByVersion Excel, 9,10,11,12,14,15,16
/// </summary>
/// <remarks> MSDN Online: http://ms... | 1.431356 | f5209bfb35d517aeeb199ed1aa7893c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837226 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tsjdev-apps/alexa-azurefunctions-samples",
"max_stars_repo_path": "AlexaAzureFunctions/AlexaAzureFunctions/AlexaHelloNameFunction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156446"
} | starcoder | using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Alexa.NET.Request;
using Alexa.NET.Request.Type;
using Alexa.NET.Response;
using A... | 2.566175 | 48807d234d7e900f1b5cfe34c612adc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837227 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jasperdelange/CourseMaterial",
"max_stars_repo_path": "D&SA Fundamentals/SmellsAndrefactorings/Exercise/VideoStoreStart/Customer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156447"
} | starcoder | using System.Collections.Generic;
namespace VideoStoreStart
{
public class Customer
{
private readonly string _name;
private readonly List<Rental> _rentals = new List<Rental>();
public Customer(string name)
{
_name = name;
}
public void AddRental(R... | 3.499342 | d58cdcd6e443a13e7c0b938b815adef6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837228 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "WildGums/Orc.LogViewer",
"max_stars_repo_path": "src/Orc.LogViewer/Converters/CategoryTextConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156448"
} | starcoder | namespace Orc.LogViewer.Converters
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;
using Catel;
using Catel.MVVM.Converters;
public class CategoryTextConverte... | 2.406875 | 60a88cc33abb500d4870e6e99407ef16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837229 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andreireinus/I243",
"max_stars_repo_path": "src/Vault.Core/IEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156449"
} | starcoder | <gh_stars>0
using System.ComponentModel.DataAnnotations;
namespace Vault.Core
{
public interface IEntity
{
[Key]
int Id { get; set; }
}
}
| 1.357782 | d4b6fd41fc5b7be943203ced255e52f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837230 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pedroaz/BowlingAdventures",
"max_stars_repo_path": "Assets/Menus/SelectLevelMenu/PlanetsShaders.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156450"
} | starcoder | <reponame>pedroaz/BowlingAdventures<filename>Assets/Menus/SelectLevelMenu/PlanetsShaders.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlanetsShaders : MonoBehaviour {
[SerializeField] private Button[] planetsButtons;
[SerializeField] pri... | 1.679947 | 14fee5ac169c28474299d720d5e2c6bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837231 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DaanV2/Map-Generator.Net",
"max_stars_repo_path": "MapGeneratorLib/Process/Static Classes/Reporters/Reporters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156451"
} | starcoder | using System;
using System.Diagnostics.CodeAnalysis;
namespace Map.Process {
///DOLATER <summary>add description for class: Reporters</summary>
public static partial class Reporters {
/// <summary>
///
/// </summary>
/// <returns></returns>
[return: NotNull]
pu... | 2.721979 | e37f78e20e7ef1b7d274ae11faf192c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837232 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "h2oboi89/AdventOfCode",
"max_stars_repo_path": "AdventOfCode/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156452"
} | starcoder | <reponame>h2oboi89/AdventOfCode<gh_stars>1-10
using CommandLine;
using System.Diagnostics;
using System.Reflection;
namespace AdventOfCode;
public class Program
{
public static void Main(string[] args)
{
Parser.Default.ParseArguments<Options>(args)
.WithParsed(options =>
{
... | 2.890855 | adef29d85926d6dfb6dd63d2177ae254 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837233 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MasterScott/CP77Tools",
"max_stars_repo_path": "CP77.CR2W/Types/cp77/audioAudioFoliageMaterial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156453"
} | starcoder | using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class audioAudioFoliageMaterial : CVariable
{
[Ordinal(0)] [RED("loopEnd")] public CName LoopEnd { get; set; }
[Ordinal(1)] [RED("loopStart")] public CName... | 1.248664 | 9203f068e314bc6d4b14f1f5770120e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837234 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dotsudo/plus-clean",
"max_stars_repo_path": "HabboHotel/Catalog/Vouchers/Voucher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156454"
} | starcoder | <reponame>dotsudo/plus-clean
namespace Plus.HabboHotel.Catalog.Vouchers
{
public class Voucher
{
internal Voucher(string code, string type, int value, int currentUses, int maxUses)
{
Code = code;
Type = VoucherUtility.GetType(type);
Value = value;
... | 2.443567 | 4856bce83e91deb97345f9fea127f019 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837235 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lequanganhkhuong/eProject-Sem3",
"max_stars_repo_path": "eProject-Sem3/ZuLuCommerce/ZuLuCommerce/Areas/ADMIN/Models/ChangePasswordVm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156455"
} | starcoder | <reponame>lequanganhkhuong/eProject-Sem3<gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace ZuLuCommerce.Areas.ADMIN.Models
{
public class ChangePasswordVm
{
public int Id { get; set; }
public s... | 1.805026 | 8468019e5118db384daad6a9658e2fb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837236 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Canvastudio/Prometheus",
"max_stars_repo_path": "Design/EfficiencyShow/Assets/Scripts/AnimateDone.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156456"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AnimateDone : MonoBehaviour
{
public void FallDone()
{
SendMessageUpwards("DoneFall");
}
public void QiPao()
{
SendMessageUpwards("ChangeState");
}
public void BaoZa1()
{
... | 1.542679 | 1eef422bd1cd33f221cfd792a491e730 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837237 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "sjp/Schematic",
"max_stars_repo_path": "src/SJP.Schematic.Core/Comments/IDatabaseViewComments.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156457"
} | starcoder | using System.Collections.Generic;
using LanguageExt;
namespace SJP.Schematic.Core.Comments
{
/// <summary>
/// Defines comment information related to <see cref="IDatabaseView"/> instances.
/// </summary>
public interface IDatabaseViewComments
{
/// <summary>
/// The name... | 2.289167 | ae11c2bb30b44727b629a04743cf9689 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837238 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "n-yousefi/DerafshSample",
"max_stars_repo_path": "DerafshSample/Views/Shared/EditorTemplates/UITab.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:156458"
} | starcoder | <filename>DerafshSample/Views/Shared/EditorTemplates/UITab.cshtml
@{
Layout = null;
}
<ul class="nav nav-tabs">
<li role="presentation" class="active"><a href="#">Home</a></li>
<li role="presentation"><a href="#">Profile</a></li>
<li role="presentation"><a href="#">Messages</a></li>
</ul> | 1.542229 | 79db8c9bdf68e0e7dbdccf8346787001 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837239 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CauseyWestling/Hangfire.RecurringJobAdmin",
"max_stars_repo_path": "src/Hangfire.RecurringJobAdmin/Pages/ChangeJobDispatcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156459"
} | starcoder | <reponame>CauseyWestling/Hangfire.RecurringJobAdmin
using Hangfire.Annotations;
using Hangfire.Dashboard;
using Hangfire.RecurringJobAdmin.Core;
using Hangfire.RecurringJobAdmin.Models;
using Hangfire.States;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
us... | 2.057719 | f4d8c403d03dc22c2cce971cb47a7147 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837240 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "JetStream96/QSimPlanner",
"max_stars_repo_path": "src/Tests/UnitTest/MathTools/Vectors/Vector3DExtensionTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156460"
} | starcoder | using NUnit.Framework;
using QSP.AviationTools.Coordinates;
using QSP.MathTools.Vectors;
namespace UnitTest.MathTools.Vectors
{
[TestFixture]
public class Vector3DExtensionTest
{
[Test]
public void ToVector3DTest()
{
var delta = 1e-7;
Assert.IsTrue(new LatLo... | 2.300453 | f681f6a8d904ee20e59d51dbb9655df3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837241 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "KuraiAndras/MainThreadDispatcher.Unity",
"max_stars_repo_path": "Assets/MainThreadDispatcher.Unity/UnityMainThreadDispatcherExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156461"
} | starcoder | using UnityEngine;
namespace MainThreadDispatcher.Unity
{
public static class UnityMainThreadDispatcherExtensions
{
private static UnityMainThreadDispatcher _instance;
public static UnityMainThreadDispatcher Instance
{
get
{
if (_instance is nul... | 1.884643 | 2043b03fbc26e25b2470b49afa23555b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837242 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bab178/NetCorePortfolio",
"max_stars_repo_path": "Repositories/ResumeRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156462"
} | starcoder | using Microsoft.AspNetCore.Hosting;
using System.IO;
using System.Linq;
namespace NetCorePortfolio.Repositories
{
public class ResumeRepository : IResumeRepository
{
private readonly IWebHostEnvironment _webHostEnvironment;
public ResumeRepository(IWebHostEnvironment webHostEnvironment)
... | 2.766263 | af786f86c6d9de3ce738c67a841a0e1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837243 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "migeyusu/ConciseDesign",
"max_stars_repo_path": "ConciseDesign.WPF/UIElementPool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156463"
} | starcoder | using System;
using System.Windows;
using FORCEBuild;
namespace ConciseDesign.WPF
{
/*public class ViewPool
{
}
interface IPreRender
{
void PreRend();
}
public class UIElementPool<T>:ObjectPool<T>,IPreRender where T: UIElement
{
public int PreRenderCount { get; ... | 2.637979 | 60fc2e5b01cd9deebe93ae5e02998e63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837244 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "harry-harris-27/Xamarin.Essentials.Services",
"max_stars_repo_path": "src/Xamarin.Essentials.Services/Flashlight/FlashlightService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156464"
} | starcoder | <reponame>harry-harris-27/Xamarin.Essentials.Services
using System;
using System.Threading.Tasks;
namespace Xamarin.Essentials
{
public class FlashlightService : IFlashlightService
{
public virtual Task TurnOnAsync() => Flashlight.TurnOnAsync();
public virtual Task TurnOffAsync() => Flashlight... | 1.69784 | cce3ef2e3376929a949158f09cb0cace |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837245 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "RemiGC/moddingSuite",
"max_stars_repo_path": "moddingSuite/View/DialogProvider/ViewInstance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156465"
} | starcoder | using moddingSuite.ViewModel.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace moddingSuite.View.DialogProvider
{
public class ViewInstance
{
public Window View { get; protected set; }
publi... | 2.123215 | 915618ba3319a8714215ce8c3015d6cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837246 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fjiang2/sqlcli",
"max_stars_repo_path": "sysdata.code/ClassBuilder/DataContract2ClassBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156466"
} | starcoder | <reponame>fjiang2/sqlcli<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Data;
using Sys;
using Sys.CodeBuilder;
using Sys.Data;
using Sys.Data.Entity;
using Sys.Stdio;
namespace Sys.Data.Code
{
public class DataContract2ClassBuilder ... | 2.275162 | 8a6512fc38da9a66165c936d3dc7584e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837247 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Tauron1990/Project-Manager-Akka",
"max_stars_repo_path": "Src/Shared/Tauron.Application.Common/Application/ActorWorkflow/WorkflowResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156467"
} | starcoder | <filename>Src/Shared/Tauron.Application.Common/Application/ActorWorkflow/WorkflowResult.cs<gh_stars>1-10
using JetBrains.Annotations;
namespace Tauron.Application.ActorWorkflow;
[PublicAPI]
#pragma warning disable AV1564
public sealed record WorkflowResult<TContext>(bool Succesfully, string Error, TContext Context);... | 1.701547 | 3b38b57ea9572dfc58e0a964ad28c405 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837248 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ewgeni-dinew/02.Algorihtms_DataStructures",
"max_stars_repo_path": "ProductInventory/ProductInventory/Factories/ProductFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156468"
} | starcoder | namespace ProductInventory.Factories
{
using ProductInventory.Contacts;
using System;
using System.Linq;
using System.Reflection;
internal class ProductFactory : IProductFactory
{
public IProduct CreateProduct(string type, string name,string description, int quantity, decimal price)
... | 2.877746 | d69c719296c558e622dbe497318054c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837249 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "skwasjer/Rebus.ServiceProvider.Named",
"max_stars_repo_path": "src/Rebus.ServiceProvider.Named/INamedBusFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156469"
} | starcoder | <reponame>skwasjer/Rebus.ServiceProvider.Named<gh_stars>1-10
using System;
using Rebus.Bus;
using Rebus.Config;
namespace Rebus.ServiceProvider.Named
{
/// <summary>
/// Factory to resolve a Rebus <see cref="IBus" /> by name.
/// </summary>
public interface INamedBusFactory
{
/// <summary>... | 2.43011 | 246a11b1cdfdd4da0299aa1a0bb46a11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837250 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sejoslaw/Chemistry.NET",
"max_stars_repo_path": "Tools/Chemistry.NET.Tools.IonsGenerator/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156470"
} | starcoder | /// <summary>
/// Author: <NAME>
/// Project: Chemistry.NET
/// Source: https://github.com/Sejoslaw/Chemistry.NET
/// </summary>
using System.Threading.Tasks;
using Chemistry.NET.Tools.Common;
namespace Chemistry.NET.Tools.IonsGenerator
{
static class Program
{
static async Task Main(string[] args)
... | 1.704434 | f0038b96040243f268ca9af512845e52 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837251 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kidel/SharpGit",
"max_stars_repo_path": "SharpGit/UI/LoginPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156471"
} | starcoder | <gh_stars>1-10
using SharpGit.Backbone;
using SharpGit.Model.Facade;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.I... | 2.24033 | f8d661eaea46ab1edd1e42e54a7ba17f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837252 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amironov73/ManagedIrbis5",
"max_stars_repo_path": "Source/Libs/AM.Core5/Source/Logging/LoggingUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156472"
} | starcoder | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// ReSharper disable CheckNamespace
// ReSharper disable CommentTypo
// ReSharper disable IdentifierTypo
// ReSharper disable UnusedMember.Global
// ReSharper... | 2.524758 | 65466b3e5e0af9c8b594ea8f04c70f84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837253 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rovianbauer/Magia",
"max_stars_repo_path": "Magia/Magia.Application/AgendamentoContext/QueryHandlers/ObterSalasQueryHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156473"
} | starcoder | using AutoMapper;
using Magia.Application.AgendamentoContext.Queries;
using Magia.Application.AgendamentoContext.QueryResults;
using Magia.Domain.AgendamentoContext.Interfaces;
using Magia.Domain.Core.Notification;
using Magia.Domain.Core.Queries;
using MediatR;
using System.Collections.Generic;
using System.Threading... | 1.901631 | c73ba435c5a72d705c7f605fa35eea78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837254 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DAXGRID/cim-asset-parser",
"max_stars_repo_path": "src/CIM.Asset.Parser/Asset/Namespace.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156474"
} | starcoder | using System.Collections.Generic;
namespace CIM.Asset.Parser.Asset
{
public class Namespace
{
public string Id { get; set; }
public string Name { get; set; }
public List<Entity> Entities { get; set; }
}
}
| 1.673598 | 62ebaff231a8ffff054874a89a45cbaa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837255 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wpqs/AutoGDPR",
"max_stars_repo_path": "Src/WISA/GDPR-AspNetCore22/Gdpr.UI.WebApp/Data/GdprSeedRepoDummy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156475"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Gdpr.Domain;
using Gdpr.Domain.Models;
using MxReturnCode;
namespace Gdpr.UI.WebApp.Data
{
public class GdprSeedRepoDummy : IGdprSeedRepo
{
public void Dispose()
{
//dummy repo so... | 2.083148 | 317f15c363e0142b2172c7049c315393 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837256 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Jayant505/Testing.HttpClient",
"max_stars_repo_path": "Testing.HttpClient.UnitTests/HttpClientTestingFactoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156476"
} | starcoder | // <copyright file="HttpClientTestingFactoryTests.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
namespace Testing.HttpClient.UnitTests
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public sealed class HttpClientTestingFactoryTest... | 2.603785 | a8e8609a2a3908377474a4cf966b7319 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837257 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ElleTojaroon/azure-sdk-for-net",
"max_stars_repo_path": "sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SiteLogsConfigData.Serialization.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156477"
} | starcoder | <gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using Azure.Core;
using Azure.ResourceManager.AppService.Models;
namespace Azure.ResourceManager.AppService
{
public partial class SiteLog... | 1.541646 | 6723637b3a9eff0f705b0d1b07f08675 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837258 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cactuaroid/reactive",
"max_stars_repo_path": "Ix.NET/Source/System.Interactive.Async/Average.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156478"
} | starcoder | <reponame>cactuaroid/reactive
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Threading;
using System.Thread... | 2.417961 | e1ec6a2e2586da4d47017713826495ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837259 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "gehongyan/KaiHeiLa.Net",
"max_stars_repo_path": "src/KaiHeiLa.Net.Core/Entities/Channels/IPrivateChannel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156479"
} | starcoder | <filename>src/KaiHeiLa.Net.Core/Entities/Channels/IPrivateChannel.cs
using System.Collections.Generic;
namespace KaiHeiLa;
/// <summary>
/// Represents a generic channel that is private to selected recipients.
/// </summary>
public interface IPrivateChannel : IChannel
{
/// <summary>
/// Gets the user... | 2.525651 | d8d18ff94be44cedf5607e523eb72add |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837260 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "viagogo/GogoKit.net",
"max_stars_repo_path": "src/GogoKit/Models/Request/SellerListingUpdate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156480"
} | starcoder | using System.Collections.Generic;
using System.Runtime.Serialization;
namespace GogoKit.Models.Request
{
[DataContract]
public class SellerListingUpdate : NewSellerListing
{
[DataMember(Name = "published")]
public bool? IsPublished { get; set; }
[DataMember(Name = "lms_optin")]
... | 1.508742 | f1bcdae15dcfc48949176035cec05e55 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837261 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mausschubser/qdchatreader",
"max_stars_repo_path": "QDChatReader/QDChatWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156481"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.I... | 1.846902 | 85780b19b816ea102aaec3794f6a63f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837262 | {
"extension": "c-sharp",
"max_stars_count": "379.0",
"max_stars_repo_name": "didalqb/MsSystem-BPM-ServiceAndWebApps",
"max_stars_repo_path": "src/Services/System/MsSystem.Sys.Model/SysLog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156482"
} | starcoder | <reponame>didalqb/MsSystem-BPM-ServiceAndWebApps
using JadeFramework.Core.Dapper;
using JadeFramework.Core.Domain.Entities;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MsSystem.Sys.Model
{
/// <summary>
/// 日志表
/// </summary>
... | 1.905921 | f60d89f068ddc23c03430e0dba29a526 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837263 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Warglaive/CSharp-OOP-Advanced",
"max_stars_repo_path": "IteratorsandComparatorsExercise/07.EqualityLogic/07.EqualityLogic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156483"
} | starcoder | using System;
using System.Collections.Generic;
public class Program
{
public static void Main()
{
var sorted = new SortedSet<Person>();
var hash = new HashSet<Person>();
var N = int.Parse(Console.ReadLine());
for (int i = 0; i < N; i++)
{
var input = Cons... | 3.516124 | 458eb721349a5656dd64babae2e68a24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837264 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kalantar-msb/hello",
"max_stars_repo_path": "target/liberty/wlp/lib/features/checksums/com.ibm.ws.artifact.zip.nls-1.0.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156484"
} | starcoder | <filename>target/liberty/wlp/lib/features/checksums/com.ibm.ws.artifact.zip.nls-1.0.cs<gh_stars>0
#Fri Oct 13 05:04:05 BST 2017
lib/features/com.ibm.ws.artifact.zip.nls-1.0.mf=1d99098b216c355c85ae4dd9a801803f
lib/com.ibm.ws.artifact.zip.nls_1.0.18.jar=1641f984becc64acf0488f05bfd515cb
| 1.002925 | e71d68f4fb034c21cad4037e32c3a788 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837265 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KingMannyThe8th/SpartaCSharpwork",
"max_stars_repo_path": "PRACTICE_RUN/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156485"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PRACTICE_RUN
{
class Program
{
static void Main(string[] args)
{
int[] array01 = new int[4];
Queue<int> queue01 = new Queue<int>();
... | 3.406558 | 55405162442e60d38cd1383aad51d8a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837266 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "amir-abdi/OrthoAid",
"max_stars_repo_path": "src/Pop ups/ComputeNormalsForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156486"
} | starcoder | <reponame>amir-abdi/OrthoAid
using System.Windows.Forms;
namespace OrthoAid
{
partial class ComputeNormalsForm : PopUpForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/... | 2.207 | 4e9db9bc84f9a2b2055e9ef953f804a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837267 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brunoliveiraaraujo/Moddable-Inventory",
"max_stars_repo_path": "Assets/Demo/Scripts/ItemTypes/Armors/ArmorFeet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156487"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ArmorFeet : Armor
{
}
| 1.039467 | 7e1b947dd246d1d4bc8d1683e8bf3bb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837268 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "cecarlsen/TrackingToolsForUnity",
"max_stars_repo_path": "Assets/TrackingTools/Runtime/Base/TrackingToolsConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156488"
} | starcoder | <filename>Assets/TrackingTools/Runtime/Base/TrackingToolsConstants.cs
/*
Copyright © <NAME> 2020
http://cec.dk
*/
using UnityEngine;
namespace TrackingTools
{
public static class TrackingToolsConstants
{
public static string intrinsicsDirectoryPath { get { return Application.streamingAssetsPath + "/TrackingToo... | 1.502501 | 1c700eb94a87a8b679fe9cab4135b7d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837269 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Vladimir-Novick/TaskContainer-Manager",
"max_stars_repo_path": "src/TaskContainerLib/TaskItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156489"
} | starcoder | <gh_stars>1-10
using System;
using System.Threading;
using System.Threading.Tasks;
/*
Copyright (C) 2016-2018 by <NAME> http://www.linkedin.com/in/vladimirnovick ,
<EMAIL> , http://www.sgcombo.com , https://github.com/Vladimir-Novick
Permission is hereby granted, free of charge, to any person obtaining... | 2.374674 | f07e992327dca3322f4e41b08d8f361b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837270 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Swynfel/godot-template",
"max_stars_repo_path": "Scripts/Utils/Save/Encoding.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156490"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using Godot;
namespace Utils {
public static class Encoding {
public static Godot.Collections.Array<T> ToGodotArray<T>(this IEnumerable<T> enumerable) {
return new Godot.Collections.Array<T>(enumerable);
}
public st... | 2.94901 | 6d9e513dd5b091906c8a17e050ad3379 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837271 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JohnLambe/JLCSUtils",
"max_stars_repo_path": "JLCSUtils/JLUtils/Validation/NestedValidationAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156491"
} | starcoder | <filename>JLCSUtils/JLUtils/Validation/NestedValidationAttribute.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JohnLambe.Util.Collections;
namespace JohnLambe.Util.Vali... | 2.956155 | 790ed3dfc8dbc89a50b891d957392d02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837272 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "burakoner/GizzaLibraries",
"max_stars_repo_path": "Gizza.Extensions/System/DateTime/IsDateEqual.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156492"
} | starcoder | using System;
namespace Gizza.Extensions
{
public static partial class Extensions
{
/// <summary>
/// A DateTime extension method that query if 'date' is date equal.
/// </summary>
/// <param name="date">The date to act on.</param>
/// <param name="dateToCompare">Dat... | 3.447032 | b4a555779faea94f08b77c402a292a1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837273 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexanderMorou/AbstractionProject",
"max_stars_repo_path": "Libraries/Slf/Languages/VisualBasic.NET/Languages/VisualBasic/My/MyNamespaceDeclaration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156493"
} | starcoder | <reponame>AlexanderMorou/AbstractionProject
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AllenCopeland.Abstraction.Slf.Ast;
using AllenCopeland.Abstraction.Slf.Abstract;
namespace AllenCopeland.Abstraction.Slf.Languages.VisualBasic.My
{
internal class MyName... | 2.257375 | 62e86e568aec0daed03b5ca607151bb9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837274 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "darkfoxdeveloper/OpenConquerEmulator5517",
"max_stars_repo_path": "zfserver v2.5517/MsgServer/Structures/Interfaces/IKoCount.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156494"
} | starcoder | <filename>zfserver v2.5517/MsgServer/Structures/Interfaces/IKoCount.cs
// World Conquer Online Project 2.5517 - Phoenix Project Based
// This project has been created by <NAME>
// Source Infrastructure based on Phoenix Source, written by <NAME>
// This source is targeted to Conquer Online, client version 5517
//
// C... | 2.22647 | 25231b7c660da8ffb69fc56b95d935f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837275 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jason-Skillman/RTS-Demo",
"max_stars_repo_path": "Assets/Scripts/Managers/DragManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156495"
} | starcoder | <filename>Assets/Scripts/Managers/DragManager.cs
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using RTSEngine;
public class DragManager : MonoBehaviour {
//Singleton
public static DragManager main;
public List<RTSGameObject> selectedObjects = new List<RTSGameObject>... | 2.410728 | 1e1fb08e7cf81cd89b4cd3f2df4a12e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837276 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AJEETX/facade_design_pattern",
"max_stars_repo_path": "FacadeAndCommandPattern/Domain/Account.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156496"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace CommandPattern
{
class Account
{
public int ID { get; private set; }
public string Description { get; set; } = "Savings";
public double Balance { get; set; } = 333;
public Account(int Id)
{
... | 2.612129 | 1bc87d95f01a1d4acd453495ba498463 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837277 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aimanan/BuildItRepo",
"max_stars_repo_path": "Buildit/Buildit.Web.Models/Contracts/ICustomMappings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156497"
} | starcoder | using AutoMapper;
namespace Buildit.Web.Models.Contracts
{
public interface ICustomMappings
{
void CreateMappings(IMapperConfigurationExpression configuration);
}
}
| 1.550838 | 409394f352ca0bf6e754ed8593878b71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837278 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "theMoaningEchidnas/Database-Project",
"max_stars_repo_path": "AnimaniaConsole/AnimaniaConsole.UnitTests/Core/Commands/SearchPostsCommandTests/Execute_Should.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156498"
} | starcoder | <reponame>theMoaningEchidnas/Database-Project
using AnimaniaConsole.Core.Commands;
using AnimaniaConsole.DTO.Models;
using AnimaniaConsole.Services.Contracts;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System.Collections.Generic;
namespace AnimaniaConsole.UnitTests.Core.Commands.SearchPostsC... | 2.107574 | 3abad6e0b81ae6321ca5598075f166f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837279 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nelson-Chacon/Ventas",
"max_stars_repo_path": "Proyectos_inicio/Sistema-Rentas/Rentas/Win.Rentas/FormProductos.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156499"
} | starcoder | using BL.Rentas;
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 Win.Rentas
{
public partial class FormProductos : Form
{
Prod... | 2.781682 | 56f3aef304ee6dc376bf0c139e03838f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837280 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "anteatergames/ludustack",
"max_stars_repo_path": "LuduStack.Domain.Messaging/Validation/Game/FollowGameCommandValidation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156500"
} | starcoder | namespace LuduStack.Domain.Messaging
{
public class FollowGameCommandValidation : BaseUserCommandValidation<FollowGameCommand, int>
{
public FollowGameCommandValidation()
{
ValidateId();
ValidateUserId();
}
}
} | 1.645578 | 7584c90fc7de57c86ccc541e9d4db368 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837281 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mario40000/Heroic_Adventure",
"max_stars_repo_path": "Assets/Scripts/Pickers/ExtinghiserController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156501"
} | starcoder | <reponame>Mario40000/Heroic_Adventure<gh_stars>0
using UnityEngine;
public class ExtinghiserController : MonoBehaviour {
public new Rigidbody2D rigidbody;
// Use this for initialization
void Start ()
{
rigidbody.AddForce(Vector3.up * 1, ForceMode2D.Impulse);
StaticData.extinghiser = 1;
... | 1.454016 | a6d3f341050d5a19a514b809519eb3a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837282 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IvanPashchenko/resharper-unity",
"max_stars_repo_path": "resharper/src/resharper-unity/Json/Psi/Caches/AsmDefCacheItemBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156502"
} | starcoder | using System.Collections.Generic;
namespace JetBrains.ReSharper.Plugins.Unity.Json.Psi.Caches
{
public class AsmDefCacheItemBuilder
{
private string myName;
private int myOffset;
private readonly List<string> myReferences = new List<string>();
public void SetNameDefinition(str... | 2.622138 | 071aa1ea6697fa9af973ecab59ff3656 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837283 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Philipe1985/NexttWeb",
"max_stars_repo_path": "Nextt_Gestao_Compra/Nextt_Gestao_Compra.Dominio/Interfaces/Servico/Gerenciamento/IServicoGrupoEmpresa.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156503"
} | starcoder | using Nextt_Gestao_Compra.Dominio.Entidades;
using System.Collections;
using System.Collections.Generic;
namespace Nextt_Gestao_Compra.Dominio.Interfaces.Servico.Gerenciamento
{
public interface IServicoGrupoEmpresa : IServicoPadrao<Parametros>
{
List<IEnumerable> BuscaCargaInicial();
List<IEn... | 1.607512 | 10b0d48285ff119513157f73cde3103e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837284 | {
"extension": "c-sharp",
"max_stars_count": "490.0",
"max_stars_repo_name": "rstm-sf/LightInject",
"max_stars_repo_path": "src/LightInject.Tests/ImmutableMapTreeTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156504"
} | starcoder | <gh_stars>100-1000
namespace LightInject.Tests
{
using System;
using System.Collections.Generic;
using LightInject.SampleLibrary;
using Xunit;
public class ImmutableHashMapTreeTests
{
[Fact]
public void Add_LeftRotation_ReturnsBalancedImmutableHashTree()
{
v... | 2.786879 | f9dfe4b23b87d85cdbedeaf67f708347 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837285 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lisandropodesta/basurtas",
"max_stars_repo_path": "CardGames/Bazas/BazasScoreboard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156505"
} | starcoder | <gh_stars>0
using Lit;
using System;
namespace CardGames.Bazas
{
public class BazasScoreboard
{
public BazasScoreboardRound[] Rounds { get; private set; }
private readonly byte playersCount;
private bool started;
private byte currRound;
public BazasScoreboard(int pl... | 2.810088 | 4499f46b91bd844caa20531dbd3c9ca9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837286 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ckarcz/Strata.ConvertedToCSharp",
"max_stars_repo_path": "modules/math/src/main/java/com/opengamma/strata/math/impl/integration/RombergIntegrator1D.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156506"
} | starcoder | using System;
/*
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
namespace com.opengamma.strata.math.impl.integration
{
using RombergIntegrator = org.apache.commons.math3.analysis.integration.RombergIntegrator;
using UnivariateIn... | 2.580518 | d039ba2ece90918a2a830a1fa44eba2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837287 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "molnarbence/MbUtils.Kafka",
"max_stars_repo_path": "src/MbUtils.Kafka.Tool/Commands/ProduceCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156507"
} | starcoder | <reponame>molnarbence/MbUtils.Kafka
using System;
using System.Threading.Tasks;
using McMaster.Extensions.CommandLineUtils;
using Microsoft.Extensions.Logging;
namespace MbUtils.Kafka.Tool.Commands
{
[Command("produce")]
[HelpOption]
public class ProduceCommand
{
[Option(Description = "Path to file ... | 2.223331 | f4dd7529f84f0f028cfd92db0b01f52d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837288 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alberto-chiesa/jsondiffpatch.net",
"max_stars_repo_path": "Src/JsonDiffPatchDotNet/JsonDiffPatch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156508"
} | starcoder | <reponame>alberto-chiesa/jsondiffpatch.net
using System;
using JsonDiffPatchDotNet.Internals;
using Newtonsoft.Json.Linq;
namespace JsonDiffPatchDotNet
{
public class JsonDiffPatch
{
private readonly DiffOptions _diffOptions;
public JsonDiffPatch() : this(new DiffOptions())
{
}
public JsonD... | 2.69493 | 227e14c9693822b781ecff0f514d278b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837289 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "vpenades/InteropBitmaps",
"max_stars_repo_path": "src/InteropTypes.Graphics.Backends.SkiaSharp/_Implementation.PixelFormats.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156509"
} | starcoder | <reponame>vpenades/InteropBitmaps<filename>src/InteropTypes.Graphics.Backends.SkiaSharp/_Implementation.PixelFormats.cs
using System;
using System.Collections.Generic;
using System.Text;
using INTEROPFMT = InteropTypes.Graphics.Bitmaps.PixelFormat;
using INTEROPPIX = InteropTypes.Graphics.Bitmaps.Pixel;
using SKIACO... | 2.232727 | ddb7767f18b55301b2e05f919a6936ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837290 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "outcomputelabs/outkeep",
"max_stars_repo_path": "src/Outkeep.Core.Abstractions/ISystemClock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156510"
} | starcoder | using System;
namespace Outkeep
{
/// <summary>
/// Abstract calls to the system clock to ease testing.
/// </summary>
public interface ISystemClock
{
/// <summary>
/// Gets the current date and time in UTC.
/// </summary>
public DateTimeOffset UtcNow { get; }
}... | 2.548126 | bde753de1bee9584fb06f29004a5e59d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837291 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ap0llo/mddocs",
"max_stars_repo_path": "src/MdDocs.CommandLineHelp/Loaders/IDocumentationLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156511"
} | starcoder | <gh_stars>1-10
using Grynwald.MdDocs.CommandLineHelp.Model;
using Mono.Cecil;
namespace Grynwald.MdDocs.CommandLineHelp.Loaders
{
internal interface IDocumentationLoader
{
ApplicationDocumentation Load(AssemblyDefinition assembly);
}
}
| 1.209702 | 32ae73e5f802a552ed9d07f6ed9d6a84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837292 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dbegogow/We-Love-Food",
"max_stars_repo_path": "WeLoveFood.Test/Data/PortionsTestData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156512"
} | starcoder | <filename>WeLoveFood.Test/Data/PortionsTestData.cs
using System.Linq;
using WeLoveFood.Data.Models;
using System.Collections.Generic;
namespace WeLoveFood.Test.Data
{
public static class PortionsTestData
{
public static IEnumerable<Portion> GetPortions(int count)
=> Enumerable
... | 2.731662 | f497c4d76999232c35f75ca57b136265 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837293 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "tied/bitbucket-for-visual-studio",
"max_stars_repo_path": "Source/Tests/Unit/GitClientVS.Infrastructure.Tests/ViewModels/LoginDialogViewModelTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156513"
} | starcoder | <filename>Source/Tests/Unit/GitClientVS.Infrastructure.Tests/ViewModels/LoginDialogViewModelTests.cs
using System;
using System.IO;
using GitClientVS.Contracts.Interfaces.Services;
using GitClientVS.Contracts.Interfaces.Views;
using GitClientVS.Contracts.Models;
using GitClientVS.Contracts.Models.GitClientModels;
usin... | 2.136916 | 6762fa74eff038e42e9b20069f7f46d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837294 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "egorozh/Ariadna",
"max_stars_repo_path": "src/Ariadna.WPF/App/Document/DocumentViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156514"
} | starcoder | <filename>src/Ariadna.WPF/App/Document/DocumentViewModel.cs
namespace Ariadna;
public abstract class DocumentViewModel : PaneViewModel, IDocumentViewModel
{
public virtual void Dispose()
{
}
protected DocumentViewModel(string title) : base(title)
{
}
} | 1.73742 | a742417c9f9cfa42fcc9752d9d9c8d3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837295 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "davidikin45/DigitalNomadDaveAspNetCore2",
"max_stars_repo_path": "src/AspNetCore.Base/Tasks/IAsyncDbInitializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156515"
} | starcoder | <filename>src/AspNetCore.Base/Tasks/IAsyncDbInitializer.cs
using System.Threading.Tasks;
namespace AspNetCore.Base.Tasks
{
public interface IAsyncDbInitializer
{
Task ExecuteAsync();
int Order { get; }
}
} | 1.834773 | c0c0e10bb086e665d7bcd35631613347 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837296 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "nieaijun99/McDull",
"max_stars_repo_path": "ZR.Admin.WebApi/Controllers/Business/BizBookController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156516"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Infrastructure;
using Infrastructure.Attribute;
using Infrastructure.Enums;
using Infrastructure.Model;
using Mapster;
using ZR.Model.Dto;
using ZR.Model.Models;
using ZR.Service.Business.IBusinessService... | 2.055573 | be3548ca021e80397ba4b5792e5c66e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837297 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "abdullahgb/JPProject.Core",
"max_stars_repo_path": "tests/JPProject.Sso.Domain.Tests/ModelTests/FileTypeViewModelTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156517"
} | starcoder | <reponame>abdullahgb/JPProject.Core
using FluentAssertions;
using JPProject.Sso.Application.ViewModels;
using System.IO;
using Xunit;
namespace JPProject.Sso.Domain.Tests.ModelTests
{
public class FileTypeViewModelTests
{
[Fact]
public void Should_Normalize_File_Type_Png()
{
... | 2.083027 | be64526c4049acd7b1b9cd2aa11becfe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837298 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lykkecloud/MT",
"max_stars_repo_path": "src/MarginTrading.Backend.Services/Helpers/LiquidationHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156518"
} | starcoder | <gh_stars>0
// Copyright (c) 2019 Lykke Corp.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Linq;
using Common;
using MarginTrading.Backend.Core;
using MarginTrading.Backend.Core.MatchingEngines;
using MarginTrading.Backend.Core.Orders;
u... | 1.843067 | e7bb4b8769a9c26f95cb5e3a1e64e11f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837299 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "niku-live/UncommonSense.CBreeze",
"max_stars_repo_path": "CBreeze/UncommonSense.CBreeze.Core/Table/Field/ExtendedTableFilterType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156519"
} | starcoder | namespace UncommonSense.CBreeze.Core.Table.Field
{
public enum TableFilterType
{
Const,
Filter,
Field
}
}
| 1.073356 | e875a00f682a9d92b2d1d3d234a38ab5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837300 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "medvedy/toggl",
"max_stars_repo_path": "Toggl.Networking/ApiClients/Interfaces/IClientsApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156520"
} | starcoder | using Toggl.Shared.Models;
namespace Toggl.Networking.ApiClients
{
public interface IClientsApi
: IPullingApiClient<IClient>,
IPullingChangedApiClient<IClient>,
ICreatingApiClient<IClient>
{
}
}
| 1.073205 | f6269f6c64ec42007ee0a20ff785e995 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837301 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "Aux/Wumpus.Net",
"max_stars_repo_path": "src/Wumpus.Net.Rpc/Entities/VoiceMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156521"
} | starcoder | using Voltaic;
using Voltaic.Serialization;
namespace Wumpus.Entities
{
/// <summary> xxx </summary>
public class VoiceMode
{
/// <summary> xxx </summary>
[ModelProperty("type")]
public Optional<Utf8String> Type { get; set; }
/// <summary> xxx </summary>
[ModelPrope... | 1.8348 | 813ac8b8a6fffc12271ee20e7447c0eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837302 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/errors/cs0657-2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156522"
} | starcoder | <reponame>lefb766/mono<gh_stars>100-1000
// CS0657: `return' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `assembly, module'. All attributes in this section will be ignored
// Line: 7
// Compiler options: -warnaserror
using System;
[return: CLSCompliant (f... | 1.569825 | 2678fcd35f2536a519d027db69c1c8c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837303 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "codeandexplore/Codx.Auth",
"max_stars_repo_path": "src/Codx.Auth/Views/Users/Details.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:156523"
} | starcoder |
@model UserDetailsViewModel
@{
ViewData["Title"] = "Details";
}
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="@Url.Action("Index","Home")">Home</a></li>
<li class="breadcrumb-item"><a href="@Url.Action("Index","Users")">Users</a></li>
<li ... | 2.103637 | 69674e0410981b4499521717f4190be0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837304 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "Max4aters/L2ScriptMaker",
"max_stars_repo_path": "L2ScriptMaker/Extensions/VbCompatibleHelper/Libraries.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156524"
} | starcoder | namespace L2ScriptMaker.Extensions.VbCompatibleHelper
{
class Libraries
{
public static bool GlobalLog(string ModuleName, string LogMessage, short HeaderFlag)
{
// HeaderFlag = 0 - start text, 1 - normal message, 2 - end text
return true;
}
private static string GetCommentaryFromStr(string SourceStr)
... | 2.456102 | 905226e0f5ebf539af532735dc3bdde7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837305 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/elasticsearch-net",
"max_stars_repo_path": "tests/Examples/Indices/UpdateSettingsPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156525"
} | starcoder | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using Elastic.Elasticsearch.Xunit.XunitPlumbing;
using Nest;
using System.ComponentModel;
using Newtonsoft.Json.Li... | 1.836387 | 1b0e672a5b2a41e4810908bdc90d1ece |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837306 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KimJaea/GameAIProject",
"max_stars_repo_path": "Assets/Script/CharacterController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156526"
} | starcoder | using UnityEngine;
using System.Collections;
public class CharacterController : MonoBehaviour
{
private Animation anim;
private float curSpeed, targetSpeed, rotSpeed;
private float maxForwardSpeed = 3.0f;
private float maxBackwardSpeed = -3.0f;
public GameObject skillParticlePrefab;
... | 2.099023 | a353c8e3229ddf09be22fb80778cba74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837307 | {
"extension": "c-sharp",
"max_stars_count": "117.0",
"max_stars_repo_name": "alipay/alipay-sdk-net",
"max_stars_repo_path": "AlipaySDKNet/Response/AlipayCommerceEducateTrainCourseOfflineResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156527"
} | starcoder | using System;
using System.Xml.Serialization;
namespace Aop.Api.Response
{
/// <summary>
/// AlipayCommerceEducateTrainCourseOfflineResponse.
/// </summary>
public class AlipayCommerceEducateTrainCourseOfflineResponse : AopResponse
{
}
}
| 0.93624 | 2235d1ceee1d580169775f7ac874a509 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837308 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andre-laskawy/lib-smarthome-innogy",
"max_stars_repo_path": "src/SmartHome.Innogy/Models/Base/IHasID.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156528"
} | starcoder | ///-----------------------------------------------------------------
/// File: IHasID.cs
/// Author: <NAME>
/// Date: 12.10.2018 17:43:56
///-----------------------------------------------------------------
namespace SmartHome.Innogy.Models.Base
{
/// <summary>
///... | 2.101332 | a44f0d91d03525137c0e0ce214b8ea1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837309 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rowellx68/PulseTile-React",
"max_stars_repo_path": "api/Core/Pulse.Infrastructure/Patients/PatientRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156529"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using MongoDB.Driver;
using Pulse.Domain.Patients.Entities;
using Pulse.Infrastructure.Mongo;
namespace Pulse.Infrastructure.Patients
{
public class PatientRepository : IPatientRepository
{
public Pati... | 2.323533 | 373537a46815d88a78f1feb13b5e7582 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837310 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jcurl/VolumeInfo",
"max_stars_repo_path": "VolumeDeviceInfo/IO/Storage/Win32/IOSVolumeDeviceInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156530"
} | starcoder | namespace RJCP.IO.Storage.Win32
{
using System.IO;
using System.Runtime.InteropServices;
internal interface IOSVolumeDeviceInfo
{
FileAttributes GetFileAttributes(string pathName);
string GetVolumePathName(string pathName);
string QueryDosDevice(string dosDevice);
st... | 1.883438 | bf7ded6832003d790fcc68bf80d5b0a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837311 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tksuoran/renderstack_net",
"max_stars_repo_path": "examples/RenderStack/example.Sandbox/Operations/SubdivideOperation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156531"
} | starcoder | <filename>examples/RenderStack/example.Sandbox/Operations/SubdivideOperation.cs
namespace example.Sandbox
{
public partial class Operations
{
public void Subdivide()
{
if(selectionManager == null)
{
return;
}
if(selectionManager.M... | 2.208168 | b3952ca65a4bab909a82fb0e2c7d616e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.