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 | 8837812 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Faulo/AGGamesEngineering",
"max_stars_repo_path": "Assets/UI/Scripts/TabMenuButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157032"
} | starcoder | <filename>Assets/UI/Scripts/TabMenuButton.cs
using TMPro;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace AGGE.UI {
[RequireComponent(typeof(Image))]
public class TabMenuButton : MonoBehaviour, IPointerEnterHandler, IPointerClickHandler, IPointerExit... | 2.171623 | 6ac6a572bf3d58a93d41b1787b82d531 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837813 | {
"extension": "c-sharp",
"max_stars_count": "87.0",
"max_stars_repo_name": "daveReeves/SpatialSlur",
"max_stars_repo_path": "SpatialSlur/Meshes/Impl/HeGraphFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157033"
} | starcoder |
/*
* Notes
*/
using System;
using System.Collections.Generic;
using SpatialSlur;
using D = SpatialSlur.SlurMath.Constantsd;
namespace SpatialSlur.Meshes.Impl
{
/// <summary>
///
/// </summary>
/// <typeparam name="TG"></typeparam>
/// <typeparam name="TV"></typeparam>
/// <typeparam nam... | 2.365076 | ec81f8e2b67b70108750f65063195e20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837814 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "caos/zitadel-csharp",
"max_stars_repo_path": "tests/Zitadel.AuthN.Dev.NetCore31/Pages/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:157034"
} | starcoder | <reponame>caos/zitadel-csharp
@namespace Zitadel.AuthN.Dev.NetCore31.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 0.996518 | 8457aa2eb633e29cd6b182fbb6a56f50 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837815 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cemoses/aspnet",
"max_stars_repo_path": "Docs-master/aspnet/fundamentals/configuration/sample/src/CustomConfigurationSource/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157035"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Data.Entity;
using Microsoft.Framework.Configuration;
namespace CustomConfigurationSource
{
public class Program
{
public void Main(string[] args)
{
var builder = new Co... | 2.696631 | 7dda0a9be3f92b23aad23b95d22839b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837816 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "coman3/PlatHak",
"max_stars_repo_path": "PlatHak/PlatHak.Server.Common/NewServerWorldManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157036"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using PlatHak.Common.Maths;
using PlatHak.Common.Network;
using PlatHak.Common.Objects;
using P... | 2.42755 | 90f226c3161c4dc021b6d8497d94e2d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837817 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sakapon/Bang",
"max_stars_repo_path": "Bang/OnlineTest/Graphs/Int/SppTest/Dijkstra_CFR677_G.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157037"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using AlgorithmLab.Graphs.Int;
namespace OnlineTest.Graphs.Int.SppTest
{
// Test: https://codeforces.com/contest/1433/problem/G
class Dijkstra_CFR677_G
{
static int[] Read() => Array.ConvertAll(Console.ReadLine().Split(), in... | 2.696698 | 1ffa6ffeb3300821a4696e2b3f469912 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837818 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StolarQQ/Shelfy_2.0",
"max_stars_repo_path": "src/Shelfy.Infrastructure/AutoMapper/AutoMapperConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157038"
} | starcoder | <filename>src/Shelfy.Infrastructure/AutoMapper/AutoMapperConfig.cs
using AutoMapper;
using Shelfy.Core.Domain;
using Shelfy.Infrastructure.Commands.Author;
using Shelfy.Infrastructure.Commands.Book;
using Shelfy.Infrastructure.Commands.Review;
using Shelfy.Infrastructure.DTO.Author;
using Shelfy.Infrastructure.DTO.Boo... | 2.135084 | e56dc990d7ce8df250bc8ce6aed2e876 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837819 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rallen090/Solver",
"max_stars_repo_path": "MineSweeper.Analyzer/Solvers/ISolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157039"
} | starcoder | <reponame>rallen090/Solver
using System;
using MineSweeper.Logic;
using MineSweeper.Models;
namespace MineSweeper.Solvers
{
public interface ISolver : IDisposable
{
Move GetNextMove(Cell[,] grid);
}
}
| 1.704294 | 77d52bccc185d7055f49255a4b1fe58e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837820 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "firstcrazydeveloper/Temprory",
"max_stars_repo_path": "PACE/WebApi/src/SqlCodeGenerator/ISqlGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157040"
} | starcoder | <filename>PACE/WebApi/src/SqlCodeGenerator/ISqlGenerator.cs
using System.Collections.Generic;
using PACEWebApiCore.Utilities;
namespace SqlCodeGenerator
{
/// <summary>
///
/// </summary>
/// <typeparam name="T"></typeparam>
public interface ISqlGenerator<T> where T : new()
{
/// <sum... | 2.257088 | 7fd2edbc64f3544e32aa587c8bd896bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837821 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "littleTitan/KTL",
"max_stars_repo_path": "Assets/Code/Player/RandomSpawn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157041"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RandomSpawn : MonoBehaviour {
float x;
float y;
float z;
public float elevation;
Vector3 pos;
void Start()
{
x = Random.Range(50, 450);
z = Random.Range(50, 450);
... | 2.212092 | 38ae39efd0295af932967275830fdcb0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837822 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NiCoTinEz/omise-dotnet",
"max_stars_repo_path": "Omise/Searchables.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157042"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using Omise.Models;
namespace Omise
{
public interface ISearchable<TModel> : IResource<TModel> where TModel : ModelBase
{
SearchScope Scope { get; }
}
public static class Searchables
{
static readonly Serializer se... | 2.484546 | b2695b70195beec0ebbd0253b7e5c008 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837823 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "cracker4o/elm327lib",
"max_stars_repo_path": "ElmCommunicator/ElmCommunicatorPortable/Commands/ObdIICommands/ShowTroubleCodes/GetTroubleCodesSendMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157043"
} | starcoder | <filename>ElmCommunicator/ElmCommunicatorPortable/Commands/ObdIICommands/ShowTroubleCodes/GetTroubleCodesSendMessage.cs
using ElmCommunicatorPortable.Responses.ObdIIResponses.ShowTroubleCodes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace... | 2.262982 | 22ee3591b54c4baed58bfcf7eba655b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837824 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TMihova/HCenterHarmony",
"max_stars_repo_path": "HCH.Services/ExaminationsService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157044"
} | starcoder | using HCH.Data;
using HCH.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace HCH.Services
{
public class ExaminationsService : IExaminationsService
{
private readonly HCHWebContext context;
pu... | 2.655368 | 513c6e516d7a1c448b774c22bf9975d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837825 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Reiikz/UtilityRlib",
"max_stars_repo_path": "UtilityRlib/NumericHelpers/MyCalculator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157045"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UtilityRlib.NumericHelpers
{
public static class MyCalculator
{
static int IntGetPercentage(int input, int percentage)
{
return (input * percent... | 1.910212 | f9cdb65d82b2a4da39708861e1538d6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837826 | {
"extension": "c-sharp",
"max_stars_count": "73.0",
"max_stars_repo_name": "vgromfeld/ReswPlus",
"max_stars_repo_path": "src/Library/HTMLParserUnitTeste.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157046"
} | starcoder | using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VisualStudio.TestTools.UnitTesting.AppContainer;
using ReswPlusLib.Shared.EmphasisedStrings;
using Windows.UI.Text;
using Windows.UI.Xaml.Documents;
namespace ReswPlusLibUnitTests
{
[TestClass]
public class Htm... | 2.58568 | 772c5023522af9c9def96ed1eeb0ddda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837827 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "WhiteRaidho/LibraryCMS",
"max_stars_repo_path": "App/App/Models/Borrow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157047"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace App.Models
{
[Table("Borrows")]
public class Borrow
{
[Key]
public int BorrowId { get;... | 2.361521 | f15bb30822a8d5ee4c92e15f529c1486 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837828 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "simonmoreau/MyFeeds",
"max_stars_repo_path": "philippesilberzahn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157048"
} | starcoder | <filename>philippesilberzahn.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.ServiceModel.Syndication;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
using HtmlAgilityPack;
namespace HTTP2RSS
{
public class PhilippeSilberza... | 2.680626 | afa3fffdff2da85eed70bf4e7a0d7754 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837829 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "Virtual-World-RE/HSDLib",
"max_stars_repo_path": "HSDRaw/AirRide/Vc/KAR_vcAttributes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157049"
} | starcoder | <gh_stars>10-100
namespace HSDRaw.AirRide.Vc
{
public class KAR_vcAttributes : HSDAccessor
{
public override int TrimmedSize => 0x1F0;
public int KirbySitBoneIndex { get => _s.GetInt32(0x0); set => _s.SetInt32(0x0, value); }
public int KirbyAdditionalBoneIndex { get => _s.GetInt32(0x4... | 1.47304 | d2473bc005a28c56121d04a47d1b53bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837830 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brettjenkins/sentry-dotnet",
"max_stars_repo_path": "src/Sentry/Protocol/Transaction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157050"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Sentry.Extensibility;
using Sentry.Internal.Extensions;
namespace Sentry.Protocol
{
// https://develop.sentry.dev/sdk/event-payloads/transaction
/// <summary>
/// Sentry performance transaction.
/// </summa... | 2.096185 | ed260eb103b41a1cebc42ad28ea4dd50 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837831 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lotes/agile-metrics",
"max_stars_repo_path": "ClassLibrary1/Instance/Impl/Graph.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157051"
} | starcoder | <filename>ClassLibrary1/Instance/Impl/Graph.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ClassLibrary1.E00_Addons;
using ClassLibrary1.E01_Artifacts;
using ClassLibrary1.E02_TypedKeys;
using ClassLibrary1.N00_Config.Facade;
using ClassLibr... | 2.26747 | c96c0d24f2b53a75a71f98667eee4616 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837832 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aavilaco/PdfSharpCore",
"max_stars_repo_path": "PdfSharpCore/Drawing/XColors.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157052"
} | starcoder | #region PDFsharp - A .NET library for processing PDF
//
// Authors:
// <NAME>
//
// Copyright (c) 2005-2016 empira Software GmbH, Cologne Area (Germany)
//
// http://www.PdfSharp.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of t... | 2.42232 | 79dfb565047e3473a615eace2c5d7818 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837833 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "smnplicity/cryptocurrency",
"max_stars_repo_path": "src/CryptoCurrency.Core/Currency/Monaco.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157053"
} | starcoder | namespace CryptoCurrency.Core.Currency
{
public class Monaco : ICurrency
{
public CurrencyCodeEnum Code => CurrencyCodeEnum.MCO;
public string Label => "Monaco";
public string Symbol => "MCO";
}
}
| 2.27983 | d7fcb34998ef36657f562c331399a69d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837834 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "kephas-software/kephas",
"max_stars_repo_path": "src/Kephas.Plugins.Abstractions/Plugins/IPlugin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157054"
} | starcoder | <reponame>kephas-software/kephas
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IPlugin.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See L... | 1.722208 | 7137575121b1bd7958b246d8c440e1aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837835 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "itscharlieliu/Street-Monster-Wars",
"max_stars_repo_path": "Street Monster Wars/Library/PackageCache/com.unity.timeline@1.2.2/Editor/DirectorNamedColor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157055"
} | starcoder | <reponame>itscharlieliu/Street-Monster-Wars
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Text;
using UnityEditor.Timeline;
namespace UnityEngine.Timeline
{
[Serializable]
class DirectorNamedColor : ScriptableObject
{
... | 1.5137 | ed1b44bdf5da193496897d6fa4417334 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837836 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NinetailLabs/VaraniumSharp.CompoundDocumentFormatStorage",
"max_stars_repo_path": "VaraniumSharp.CompoundDocumentFormatStorage/CompoundFileManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157056"
} | starcoder | <reponame>NinetailLabs/VaraniumSharp.CompoundDocumentFormatStorage
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using VaraniumSharp.Attributes;
using VaraniumSharp.Enumerations;
using Varan... | 2.39205 | 67b813ef34b10b4cacc8c528275c6bd4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837837 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "matanbright/Scrupdate",
"max_stars_repo_path": "Scrupdate/Classes/Objects/ProgramListViewItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157057"
} | starcoder | // Copyright © 2021 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 2.242659 | a8ce1f67fb578513b7e147239a56efcf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837838 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ipponshimeji/Zafu",
"max_stars_repo_path": "src/Zafu/Text/LineJsonFormatter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157058"
} | starcoder | <gh_stars>0
using System;
using System.Diagnostics;
using System.IO;
namespace Zafu.Text {
public class LineJsonFormatter: JsonFormatter {
#region data
public static readonly LineJsonFormatter Instance = new LineJsonFormatter();
#endregion
#region IJsonFormatter
public override void WriteObjectEnd(Tex... | 2.381588 | baa877291260d9d661d5d693e5b117df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837839 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Propeus/loteria",
"max_stars_repo_path": "Loteria/Views/Shared/ErroPartial.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:157059"
} | starcoder |
@if (!ViewData.ModelState.IsValid)
{
<div class="alert alert-danger">
<strong>Erro!</strong> Verifique os erros abaixo
<ul>
@foreach (var item in ViewData.ModelState.SelectMany(x => x.Value.Errors))
{
<li>@item.ErrorMessage</li>
}
</ul>
... | 2.906888 | 48ccf47c55fd23f441eca98848d676b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837840 | {
"extension": "c-sharp",
"max_stars_count": "380.0",
"max_stars_repo_name": "slang25/coypu",
"max_stars_repo_path": "src/Coypu.Drivers.Tests/When_finding_ids.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157060"
} | starcoder | <filename>src/Coypu.Drivers.Tests/When_finding_ids.cs
using Shouldly;
using NUnit.Framework;
namespace Coypu.Drivers.Tests
{
public class When_finding_ids : DriverSpecs
{
[Test]
public void Finds_element_by_id()
{
Id("firstLinkId").Id.ShouldBe("firstLinkId");
... | 2.413015 | ecfc96ba4101563d104051abe067bad0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837841 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yfzhang2015/GofForCSharp",
"max_stars_repo_path": "DesignPattern.Prototype/ConcretePrototype/WeeklyLog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157061"
} | starcoder | <reponame>yfzhang2015/GofForCSharp<filename>DesignPattern.Prototype/ConcretePrototype/WeeklyLog.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace DesignPattern.Prototype.ConcretePrototype
{
/// <summary>
/// 工作周报:具体原型类
/// 考... | 2.86899 | b0d166aba3d1aa5b662a74162d004c5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837842 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yaroslav08/KyivDigital",
"max_stars_repo_path": "KyivDigital/KyivDigital.MVC/Controllers/SettingsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157062"
} | starcoder | using Microsoft.AspNetCore.Mvc;
namespace KyivDigital.MVC.Controllers
{
[Route("settings")]
public class SettingsController : Controller
{
public IActionResult Index() => View();
}
} | 1.379759 | c083427b9c7108c94c6534ee5a25b9f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837843 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sunaliner/LandRushProject",
"max_stars_repo_path": "LandRushLibrary/LandRushLibrary/Items/Potion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157063"
} | starcoder | <gh_stars>0
using Newtonsoft.Json;
namespace LandRushLibrary.Items
{
[JsonObject(MemberSerialization.OptOut)]
public class Potion : ConsumpiveItem
{
public int RecorveyPoint { get; set; }
public override GameItem Clone()
{
Potion clone = new Potion();
... | 1.96598 | 90b497add219110b5b1dd38fb11894f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837844 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KevinLamb/EasyAccessKit",
"max_stars_repo_path": "Demo/DemoEasyAccess/Views/Carousel/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:157064"
} | starcoder | <reponame>KevinLamb/EasyAccessKit
@model List<global::EasyAccessKit.CarouselClass.CarouselItem>
@{
ViewData["Title"] = "Carousel";
}
@EasyAccessKit.Bs4.MainHeading(ViewData["Title"].ToString())
@EasyAccessKit.Bs4.Carousel(Model)
| 1.923376 | 71512e7b59c807c41f5c948794e8f56b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837845 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DanielaBuryova/CooKit",
"max_stars_repo_path": "CooKit/CooKit/Models/Impl/Generic/GenericImageStep.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157065"
} | starcoder | using System;
using CooKit.Models.Steps;
using Xamarin.Forms;
namespace CooKit.Models.Impl.Generic
{
internal sealed class GenericImageStep : IBigImageRecipeStep
{
public Guid Id { get; internal set; }
public RecipeStepType Type { get; internal set; }
public ImageSource Image { get; in... | 1.620274 | 1ba947ca14a7069aa81a07d576c665f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837846 | {
"extension": "c-sharp",
"max_stars_count": "75.0",
"max_stars_repo_name": "BTELNYY/SharpMC",
"max_stars_repo_path": "src/TestPlugin/Class1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157066"
} | starcoder | using System;
using SharpMC.Core.API;
using SharpMC.Core.Entity;
using SharpMC.Core.Enums;
namespace TestPlugin
{
[Plugin]
public class TestPlugin : IPlugin
{
private PluginContext _context;
public void OnEnable(PluginContext context)
{
_context = context;
}
public void OnDisable()
{
}
... | 2.386701 | e6f04556edeb3dcf01fcb880f1f53908 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837847 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NathanClouseAX/AAXDataEntityPerfTest",
"max_stars_repo_path": "Projects/AAXDataEntityPerfTest/ODataUtility/Connected Services/D365/CompFixedPlanTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157067"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 1.878322 | 71c02f70230964ffd9ea47f1c65c1f63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837848 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Georgegig/EstateSocialSystem",
"max_stars_repo_path": "Source/EstateSocialSystem/EstateSocialSystem.Data.Models/SocialSystemModels/EstateRating.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157068"
} | starcoder | <filename>Source/EstateSocialSystem/EstateSocialSystem.Data.Models/SocialSystemModels/EstateRating.cs<gh_stars>0
namespace EstateSocialSystem.Data.Models
{
using Common.Models;
using System;
using System.ComponentModel.DataAnnotations.Schema;
public class EstateRating : AuditInfo, IDeletableEntity
... | 2.111649 | 691d3fbd9694ff30cb0a5d63fde22004 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837849 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "behreajj/CSharpWork",
"max_stars_repo_path": "Edge2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157069"
} | starcoder | using System;
using System.Collections;
using System.Text;
/// <summary>
/// Organizes components of a 2D mesh into an edge with an origin and
/// destination. This is not used by a mesh internally; it is created upon
/// retrieval from a mesh.
/// </summary>
[Serializable]
public readonly struct Edge2 : IEquatable<Ed... | 3.091898 | f45b7a0c81437f2fd12fa886e73c5775 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837850 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igoreksiz/NetOffice",
"max_stars_repo_path": "Source/Excel/DispatchInterfaces/AddIn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157070"
} | starcoder | <filename>Source/Excel/DispatchInterfaces/AddIn.cs<gh_stars>0
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.ExcelApi
{
/// <summary>
/// DispatchInterface AddIn
/// SupportByVersion Excel, 9,10,11,12,14,15,16
/// </summary>
/// <remar... | 1.413902 | a14d201bfc849a33e13f67fc2b47f4f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837851 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maryamariyan/LoggingGenerator",
"max_stars_repo_path": "Microsoft.Extensions.Logging.Generators.Tests/TestClasses/TestInstances.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157071"
} | starcoder | // © Microsoft Corporation. All rights reserved.
#pragma warning disable CA1801 // Review unused parameters
#pragma warning disable CA1822
namespace Microsoft.Extensions.Logging.Generators.Test.TestClasses
{
public partial class TestInstances
{
private readonly ILogger _myLogger;
public TestI... | 2.063288 | f2d24e51666a9259dcc4aec2a946e173 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837852 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nsafari/AseFramework",
"max_stars_repo_path": "AseFramework.Messaging/Serialization/SerializedMetaData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157072"
} | starcoder | using System;
using Ase.Messaging.Messaging;
namespace Ase.Messaging.Serialization
{
/// <summary>
/// Represents the serialized form of a {@link MetaData} instance.
/// </summary>
/// <typeparam name="T">The data type representing the serialized object</typeparam>
public class SerializedMetaData<... | 2.995542 | afcc2af5bd7e6aa9bbc09dafa95fd4af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837853 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mysharp/abp-vue-admin-element-typescript",
"max_stars_repo_path": "aspnet-core/modules/identityServer/LINGYUN.Abp.IdentityServer.EntityFrameworkCore/LINGYUN/Abp/IdentityServer/ApiScopes/EfCoreApiScopeRepository.cs",
"provenance": "tra... | starcoder | <reponame>mysharp/abp-vue-admin-element-typescript
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Volo.Abp.DependencyInjection;
using Volo.Abp.EntityFrame... | 2.017633 | 986c2911a14260477c52042628affa7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837854 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "gmantaos/Commander.NET",
"max_stars_repo_path": "Commander.NET/Attributes/CommandHandlerAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157074"
} | starcoder | <reponame>gmantaos/Commander.NET
using System;
using System.Collections.Generic;
using System.Text;
namespace Commander.NET.Attributes
{
[AttributeUsage(AttributeTargets.Method)]
public class CommandHandlerAttribute : Attribute
{
}
}
| 1.321477 | bf933407ace51a5ef5cc47107332a4d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837855 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ogysha/unit-of-work-and-repository-demo",
"max_stars_repo_path": "Data/Entities/MongoDb/Book.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157075"
} | starcoder | <reponame>ogysha/unit-of-work-and-repository-demo
using System;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace Data.Entities.MongoDb
{
public class Book : IDbEntity
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public ObjectId Id { get; set; }
p... | 2.045659 | 3d937221f76b9b4dc905259d88d0fe32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837856 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alishov/ProjectIT",
"max_stars_repo_path": "Reservation/Views/MenuConsole.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157076"
} | starcoder | <reponame>alishov/ProjectIT
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Reservation.Views
{
public class MenuConsole
{
public string MenuInsert()
{
Console.WriteLine("1 - Добави държава");... | 1.933377 | 687fcc8ed6348ed07eb07d351030bf04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837857 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "whizkidwwe1217/GoldRush",
"max_stars_repo_path": "Core/Pipeline/AsyncFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157077"
} | starcoder | <filename>Core/Pipeline/AsyncFilter.cs
using System.Threading.Tasks;
namespace GoldRush.Core.Pipeline
{
public abstract class AsyncFilter<T> : IFilter<T>
{
private IFilter<T> next;
protected abstract Task<T> Process(T input);
public virtual async Task<T> Execute(T input)
{
... | 2.745542 | 9c25e738458c085f5cd9995cbb2cf42d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837858 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "adamsitnik/winforms",
"max_stars_repo_path": "src/System.Windows.Forms.Primitives/src/Interop/Mso/Interop.msocstate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157078"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
internal static partial class Interop
{
internal static partial class Mso
{
/// <summary>
/... | 2.326132 | b41669477df7a29848548222509fc3ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837859 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rattrapdev-public/Domain-Block-.net",
"max_stars_repo_path": "RattrapDev.DDD.Block/Specification/ILinqSpecification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157079"
} | starcoder | using System;
using System.Linq.Expressions;
namespace RattrapDev.DDD.Block.Specification
{
/// <summary>
/// Base contract for doing LINQ based specifications. Note the default implementation
/// of <see cref="LinqSpecification"/> implements <see cref="ISpecification"/> by
/// executing the lambda expression.
/... | 2.414607 | 56bfc90ec00c2d861c380c355917fdb2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837860 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eswk22/dark-ninja",
"max_stars_repo_path": "Infrastucture.Common/Translators/IEntityTranslator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157080"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Infrastructure.Utility.Translators
{
public interface IEntityTranslator
{
bool CanTranslate<TTarget, TSource>();
bool CanTranslate(Type targetType, Type sourceType);
TTarget Translate<TTarget>(IEntityTranslator... | 2.060656 | 3df4feff8dc26e468386b942fd46a63d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837861 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ComputationalReflection/stadyn",
"max_stars_repo_path": "Tests/src/Tests/CLRCGExamplesTestCases.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157081"
} | starcoder | using System.IO;
using DynVarManagement;
using TargetPlatforms;
namespace Tests
{
class CLRCGExamplesTestCases : Test
{
#region Constructor
/// GenerateCode = true
/// Run = true
/// Dynamic = true
/// Target = "clr"
/// </summary>
public CLRCGExampl... | 2.284714 | 7b98424d9908b1f7f75b403a535f7777 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837862 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "luxiong-ms/azure-sdk-for-net",
"max_stars_repo_path": "sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Generated/Models/DataSourceCredential.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157082"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.AI.MetricsAdvisor.Models
{
/// <summary> The DataSourceCredential. </summary>
internal partial class DataSourceCredential
{
/// <su... | 2.131509 | a9a906f2f009dac428f441c36bf7bcec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837863 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Trifectgaming/Trifect-CMS",
"max_stars_repo_path": "Modules/_Backup/NGM.Forum/Migrations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157083"
} | starcoder | using System;
using NGM.Forum.Extensions;
using NGM.Forum.Services;
using Orchard.ContentManagement.MetaData;
using Orchard.Data.Migration;
namespace NGM.Forum {
public class Migrations : DataMigrationImpl {
private readonly ITaxonomyImportService _taxonomyImportService;
public Migrations(ITaxono... | 2.03078 | c84773d9308f4996fb5f37d2bff9b0ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837864 | {
"extension": "c-sharp",
"max_stars_count": "62.0",
"max_stars_repo_name": "danielcrenna/vault",
"max_stars_repo_path": "ebnf/src/ebnf/Nodes/Rule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157084"
} | starcoder | using System.Diagnostics;
namespace ebnf.Nodes
{
[DebuggerDisplay("{ToString()}")]
public class Rule : Node
{
public string Identifier { get; set; }
public Expression Expression { get; set; }
public override string ToString()
{
return string.Format("Rule: {0} =... | 2.332061 | ed283ce70be4dff4cbd3e09298214298 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837865 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Cricle/Ao.ObjectDesign",
"max_stars_repo_path": "src/Ao.ObjectDesign.WpfDesign/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157085"
} | starcoder | <reponame>Cricle/Ao.ObjectDesign<filename>src/Ao.ObjectDesign.WpfDesign/AssemblyInfo.cs
using System.Windows.Markup;
[assembly: XmlnsDefinition("https://github.com/Cricle/Ao.ObjectDesign", "Ao.ObjectDesign.WpfDesign")]
[assembly: XmlnsDefinition("https://github.com/Cricle/Ao.ObjectDesign", "Ao.ObjectDesign.Wpf")]
[ass... | 1.37677 | 7e2fde7f747c3f4585561d76dea54804 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837866 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jeet-maity/Employee-Manager",
"max_stars_repo_path": "EmployeeManager/Utility/ViewModelsModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157086"
} | starcoder | <reponame>jeet-maity/Employee-Manager
using EmployeeManager.ViewModels;
using Ninject.Modules;
namespace EmployeeManager.Utility
{
class ViewModelsModule : NinjectModule
{
public override void Load()
{
RegisterViewModels();
}
private void RegisterViewModels()
... | 1.574779 | 797f422ae1bf789b101529eb3eaf284f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837867 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sidea-sk/SemanticUI",
"max_stars_repo_path": "Source/SemanticUI.Blazor/Labels/LabelBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157087"
} | starcoder | <filename>Source/SemanticUI.Blazor/Labels/LabelBase.cs
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Components;
using Sidea.SemanticUI.Core;
namespace Sidea.SemanticUI.Blazor
{
public class LabelBase : SemanticComponent
{
public LabelBase(string cssName = "label") : base(... | 2.41826 | fe956b48b23a0c6175f8fbfa2378c80e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837868 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "coopere5/advent-of-code-2019",
"max_stars_repo_path": "Day 10/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157088"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Day10
{
internal class Program
{
private static void Main()
{
Point station = Part1();
Part2(station);
Console.ReadLine();
}
private static Point Pa... | 3.150335 | 1f5f58133d0083fb8947851ab7ad6826 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837869 | {
"extension": "c-sharp",
"max_stars_count": "2542.0",
"max_stars_repo_name": "vishnuk007/service-fabric",
"max_stars_repo_path": "src/prod/src/managed/Microsoft.ServiceFabric.Data.Impl/ReplicatedStore/DifferentialStore/StoreComponentReadResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157089"
} | starcoder | <gh_stars>1000+
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Syst... | 2.402745 | 3dc44a18265ff07fcfe8545adc1e6b74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837870 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "UnSkyToo/LiteGui",
"max_stars_repo_path": "LiteGui/Graphics/LGuiCommandList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157090"
} | starcoder | using System.Collections.Generic;
namespace LiteGui.Graphics
{
internal class LGuiCommandList : ILGuiCommandList
{
private readonly List<ILGuiCommand> Commands_;
internal LGuiCommandList()
{
Commands_ = new List<ILGuiCommand>();
}
internal int GetCommandCo... | 2.894194 | 78f0c43877f52004e50793aa78c58b3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Eduardodsb/Primeiro-Game",
"max_stars_repo_path": "primeiro-game/Assets/Scripts/Coins.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157091"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Coins : MonoBehaviour{
public Score score;
public GameObject audioEffect;
// Start is called before the first frame update
void Start(){
score = FindObjectOfType<Score>();
audioEffect = GameObj... | 1.968347 | cda4aff3cdcff40f69b6f30644b427b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jdjong/manual-time-logger",
"max_stars_repo_path": "ManualTimeLogger.Domain/SelectorResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157092"
} | starcoder | <reponame>jdjong/manual-time-logger
using System;
namespace ManualTimeLogger.Domain
{
public class InputPartSelectorResult
{
public bool IsSuccess { get; }
public string InputPart { get; }
public string FailedMessage { get; }
private InputPartSelectorResult(bool isSuccess, str... | 2.451091 | 06f851c5a1392ace0f61bd47983b3244 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837873 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amadron/FinalProject_ShaderProg",
"max_stars_repo_path": "examples/CG/CollisionBroadPhaseExample/RandomVectors.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157093"
} | starcoder | using System;
using System.Numerics;
namespace Example
{
public class RandomVectors
{
public static Vector2 Velocity()
{
var rndData = new byte[2];
rnd.NextBytes(rndData);
var velocity = new Vector2(rndData[0] - 128, rndData[1] - 128);
velocity *= 0.0005f;
return velocity;
}
private static R... | 2.776591 | dc7dfdfebcecdeec6b9505d1473451db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837874 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jSierraB3991/InventarioNetCore",
"max_stars_repo_path": "WebApi/Infrastructure/Dto/Request/TranslateRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157094"
} | starcoder | <reponame>jSierraB3991/InventarioNetCore
using System;
namespace WebApi.Infrastructure.Dto.Request
{
public class TranslateRequest
{
public Guid Product { get; set; }
public Guid Origin { get; set; }
public Guid Destino { get; set; }
public int Stock { get; set; }
}
}
| 1.16213 | 4119a053c9b560ef01f3b6abd2876be9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837875 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gagichce/QR-Code-Generator",
"max_stars_repo_path": "QR Code Encoder/QR Code Encoder/DataEncodeQR.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157095"
} | starcoder | <filename>QR Code Encoder/QR Code Encoder/DataEncodeQR.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace QR_Code_Encoder
{
///By: <NAME> - Grade 12, Late Semester 1, 2011/2012
///this class handles the main data stream creation, from the raw data bei... | 2.767267 | e37163e32426b612c5b83a02358ecee3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837876 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexAbramov/target-labs-portal",
"max_stars_repo_path": "src/portal/Admin/HeaderUserControl.ascx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157096"
} | starcoder | <gh_stars>0
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class Admin_HeaderUserControl ... | 1.447508 | 107f8ddfe0f063f779fa0788bed0f1aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837877 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "smdx24/CPI-Source-Code",
"max_stars_repo_path": "ClubPenguin.UI/DisableUIElementOnStart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157097"
} | starcoder | <filename>ClubPenguin.UI/DisableUIElementOnStart.cs
// DisableUIElementOnStart
Decompiled was cancelled.
| 0.716265 | 771dc700c6d0dc320f1de4226fd16603 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837878 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OrionNebula/DallasMakerspaceCourses",
"max_stars_repo_path": "Introduction to C# for .Net Core/Alzaitu.Introduction.Cars/Tesla.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157098"
} | starcoder | <reponame>OrionNebula/DallasMakerspaceCourses<filename>Introduction to C# for .Net Core/Alzaitu.Introduction.Cars/Tesla.cs
namespace Alzaitu.Introduction.Cars
{
public class Tesla : Car
{
public override double MilesPerUnit => 305; //miles/kwh
public override double MaxSpeed => 155; //mph
... | 2.780949 | c7be3a11dcdd9f4fc769f344bf34aec0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837879 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Jokerlocco/2019-2020_DAM1_EjerciciosClase",
"max_stars_repo_path": "chapter02-controlStructures/060-NestedLoop.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157099"
} | starcoder | <filename>chapter02-controlStructures/060-NestedLoop.cs
// Multiple of 10?
using System;
public class MultipleOfTen
{
public static void Main()
{
Console.Write("How many lines? ");
int lines = Convert.ToInt32(Console.ReadLine());
for (int line = 0; line < lines; lin... | 3.69757 | 0140176e38a85eb4b95615a20182a1a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837880 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jonnyzzz/phd-project",
"max_stars_repo_path": "dsis/src/Scheme.Impl/src/Actions/Entropy/WriteSequenceSlotAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157100"
} | starcoder | <filename>dsis/src/Scheme.Impl/src/Actions/Entropy/WriteSequenceSlotAction.cs<gh_stars>1-10
using System.Collections.Generic;
using System.IO;
using DSIS.Scheme.Ctx;
using DSIS.Scheme.Impl.Actions.Files;
namespace DSIS.Scheme.Impl.Actions.Entropy
{
public class WriteSequenceSlotAction : ActionBase
{
p... | 2.477425 | f9d47e9becf9223e5eb29b28d89abd8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837881 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "AaronFriel/pulumi-aws-native",
"max_stars_repo_path": "sdk/dotnet/KinesisAnalyticsV2/Outputs/ApplicationCheckpointConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157101"
} | starcoder | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.AwsN... | 1.702404 | ce51b941e789cf038802b312f834b8b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prakashbhandari/ExcelCloudAddin",
"max_stars_repo_path": "ExcelCloudAddIn/AsyncConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157102"
} | starcoder | //Title : AsyncConnection.cs
//Package : ExcelCloudAddIn
//Project : ExcelCloud
//Description : Provides connection to server, to send and receive data.
//Created on : June 5, 2016
//Author : <NAME>
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.... | 2.996845 | 0dc72f8b2b83dc474dc602902645bbe5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837883 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ilkerBuguner/CarZone",
"max_stars_repo_path": "Server/CarZone.Server/Infrastructure/Extensions/ServiceCollectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157103"
} | starcoder | namespace CarZone.Server.Infrastructure.Extensions
{
using System;
using System.Text;
using CarZone.Server.Data;
using CarZone.Server.Data.Models;
using CarZone.Server.Features.Advertisements;
using CarZone.Server.Features.BrandModels;
using CarZone.Server.Features.Brands;
using CarZon... | 1.643631 | e62af265dfe2c8c77b09954d0be62e06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837884 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "rusbasan/CvsntGitImporter",
"max_stars_repo_path": "CvsntGitImporterTest/FileInfoTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157104"
} | starcoder | <filename>CvsntGitImporterTest/FileInfoTest.cs
/*
* <NAME> <<EMAIL>>
* Copyright (c) Cambridge Technology Consultants Ltd. All rights reserved.
*/
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using CTC.CvsntGitImporter;
namespace CTC.CvsntGitImporter.TestCode
{... | 2.609808 | 1f68fca3848da0851fedf1092ff287cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fitzychan/GoNorth",
"max_stars_repo_path": "Data/Exporting/IObjectExportSnippetDbAccess.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157105"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
namespace GoNorth.Data.Exporting
{
/// <summary>
/// Interface for Database Access for Object Export Snippets
/// </summary>
public interface IObjectExportSnippetDbAccess
{
/// <summary>
/// Returns an export... | 2.445662 | cead473bd123d868667cd303001b316a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837886 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "magne/unicode-trie",
"max_stars_repo_path": "unicode-trie/CodePointMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157106"
} | starcoder | <filename>unicode-trie/CodePointMap.cs
using System;
using System.Collections;
using System.Collections.Generic;
using CodeHive.unicode_trie.java;
using CodeHive.unicode_trie.util;
namespace CodeHive.unicode_trie
{
/// <summary>
/// Abstract map from Unicode code points (U+0000..U+10FFFF) to integer values.
... | 2.681914 | 4598adc6f735b4061c7a118da817b751 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837887 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KlimovKirill/XT-2018Q4",
"max_stars_repo_path": "EPAM.Task7/EPAM.Task7.DAL/AwardSQLDao.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157107"
} | starcoder | using EPAM.Task7.DAL.Interface;
using EPAM.Task7.Entities;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EPAM.Task7.DAL
{
public class AwardS... | 2.583361 | 0b1c6f70fd2c3e48ae6b4a5375be4186 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837888 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "admplaysis/t3",
"max_stars_repo_path": "teste/T/SGI/Views/WorkFlow/PedCompra.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:157108"
} | starcoder | <filename>teste/T/SGI/Views/WorkFlow/PedCompra.cshtml
@using PagedList
@using PagedList.Mvc
@model IPagedList<SGI.Models.Custom.PedidoCustom>
@{
ViewBag.Title = "Lista de pedidos pendentes aprovação";
Layout = "~/Views/Shared/_Layout.cshtml";
var dados = new SGI.Context.JProtheus();
}
<div class='col-xs-1... | 2.042216 | de5a5014cf0d82d9ded1c8f8c53bca83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837889 | {
"extension": "c-sharp",
"max_stars_count": "131.0",
"max_stars_repo_name": "ebptwllc/eXpand",
"max_stars_repo_path": "Xpand/Xpand.ExpressApp.Modules/WorldCreator.Win/AssemblyPathProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157109"
} | starcoder | <filename>Xpand/Xpand.ExpressApp.Modules/WorldCreator.Win/AssemblyPathProvider.cs
using DevExpress.ExpressApp;
using Xpand.Persistent.Base.General;
namespace Xpand.ExpressApp.WorldCreator.Win {
public class AssemblyPathProvider: System.AssemblyPathProvider {
public override string GetPath(XafApplication a... | 1.857059 | 9a120d2dac550be4c51908c2e335f574 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kriskok95/BodySculptor",
"max_stars_repo_path": "src/Server/BodySculptor.Nutrition/Models/Foods/FoodDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157110"
} | starcoder | namespace BodySculptor.Nutrition.Models.Foods
{
using AutoMapper;
using BodySculptor.Nutrition.Data.Entities;
using BodySculptor.Services.Mapping;
public class FoodDto : IMapFrom<Food>, IHaveCustomMappings
{
public int Id { get; set; }
public string Name { get; set; }
pub... | 2.490149 | f031a1712a080e2a6b1afc54875badfd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837891 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "fdieulle/RelayBoard",
"max_stars_repo_path": "RelayBoard/Core/AnonymousDisposable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157111"
} | starcoder | <reponame>fdieulle/RelayBoard
using System;
using System.Diagnostics;
namespace RelayBoard.Core
{
public class AnonymousDisposable : IDisposable
{
public static readonly IDisposable Empty = new AnonymousDisposable();
private Action _onDispose;
public AnonymousDisposable(Action onDispo... | 2.467407 | 29d5c3b389f780c87eddf3c2b845f6cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837892 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tomrijnbeek/tomrijnbeek-game",
"max_stars_repo_path": "src/Bearded.Game/World/OrthographicCamera.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157112"
} | starcoder | <reponame>tomrijnbeek/tomrijnbeek-game
using OpenTK;
namespace Bearded.Game.World
{
/// <summary>
/// A camera that uses ortographic projection.
/// </summary>
public class OrthographicCamera : Camera
{
private float width;
private float height;
private float zNear;
... | 3.091487 | 10a5e3d33c5a0f8701c1931e4f572686 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837893 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tainicom/WPF-PropertyGrid-Control",
"max_stars_repo_path": "Main/WpfPropertyGrid/Converters/FontConverterDecorator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157113"
} | starcoder | <filename>Main/WpfPropertyGrid/Converters/FontConverterDecorator.cs
/*
* Copyright © 2010, <NAME>
* Copyright © 2014, <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ht... | 2.76551 | ee3dab41c90816af7fb1f77620034580 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837894 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TimeWarpEngineering/MyVault-web",
"max_stars_repo_path": "Source/Client/Features/Edge/State/EdgeWalletInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157114"
} | starcoder | <gh_stars>1-10
namespace Client.Features.Edge
{
using System;
using System.Collections.Generic;
public class EdgeWalletInfo
{
public List<string> AppIds { get; set; }
public bool Archived { get; set; }
public bool Deleted { get; set; }
public string Id { get; set; }
public Dictionary<strin... | 1.259567 | 9330c5c6fbd21a8db325090edce642bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837895 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "286studio/Sim286",
"max_stars_repo_path": "AVG/Assets/Naninovel/Editor/Common/ReadOnlyPropertyDrawer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157115"
} | starcoder | // Copyright 2017-2020 Elringus (<NAME>). All Rights Reserved.
using UnityEngine;
using UnityEditor;
namespace Naninovel
{
[CustomPropertyDrawer(typeof(ReadOnlyAttribute))]
public class ReadOnlyPropertyDrawer : PropertyDrawer
{
public override void OnGUI (Rect position, SerializedProper... | 1.988092 | e7933c62f6eec766582092b2c96ddba0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837896 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "fossabot/netcore-proj",
"max_stars_repo_path": "DotSpatial.Projections/Transforms/SwissObliqueMercator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157116"
} | starcoder | <filename>DotSpatial.Projections/Transforms/SwissObliqueMercator.cs
// ********************************************************************************************************
// Product Name: DotSpatial.Projection
// Description: The basic module for MapWindow version 6.0
// ******************************************... | 2.408246 | bd7ac0800bba91803c864aace7295b00 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837897 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "RheaAyase/Valkyrja.core",
"max_stars_repo_path": "Events.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157117"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using Valkyrja.core;
using Discord.Net;
using guid = System.UInt64;
namespace Valkyrja.entities
{
public class Events
{
private ValkyrjaClient Client;
/// <summary> Triggers only once, as soon... | 2.186411 | 7ddeabc03b862e43a5a2ec224dd9d39c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837898 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrei-galkin/Structures-and-Algorithms",
"max_stars_repo_path": "Lib/Algorithms/MergeSort.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157118"
} | starcoder | <filename>Lib/Algorithms/MergeSort.cs
namespace Algorithms
{
public class MergeSort
{
/// <summary>
/// Merge Sort
/// </summary>
public static void Sort(int[] array)
{
int[] temp = new int[array.Length];
Sort(array, temp, 0, array.Length - 1);
... | 3.685307 | 01f12c8a1c465be9d28fd4c8e338bb0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837899 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ReutEdvi/ProjectMP",
"max_stars_repo_path": "ProjectMPublish/ProjectMPublish/Models/DAL/DBServ.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157119"
} | starcoder | <gh_stars>0
using System;
using System.Data.SqlClient;
using System.Web.Configuration;
using System.Data;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ProjectMPublish.Models.DAL
{
public class DBServ
{
public SqlDataAdapter da;
public Data... | 2.569375 | d7d8fcf947fab15bd799abd242f9ce22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837900 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "wbpluto/microsoft-graph-explorer-api",
"max_stars_repo_path": "GraphWebApi/Models/CodeSnippetResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157120"
} | starcoder | <gh_stars>10-100
namespace GraphWebApi.Models
{
internal class CodeSnippetResult
{
public string Code { get; set; }
public bool StatusCode { get; set; }
public string Message { get; set; }
public string Language { get; set; }
}
} | 1.420104 | 16238ce20be0eec66cc98e2d20d5d27e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837901 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "t9mike/GridView",
"max_stars_repo_path": "Sources/Grid.Sample.iOS/Samples/BaseViewController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157121"
} | starcoder | using System;
using CoreGraphics;
using UIKit;
namespace GridViewSample.Samples
{
public class BaseViewController : UIViewController
{
public BaseViewController()
{
}
protected UIView Make_Box(UIColor bg_color)
{
return Make_Box(bg_color, 0, 0);
}
... | 2.408322 | 2ad95b8b127014c624eddb98ca93e9fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837902 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "mdamyanova/C-Sharp-Web-Development",
"max_stars_repo_path": "04.High-Quality Code/Homework/08.High Quality Classes/Cohesion-and-Coupling/Models/ThreeDimensional.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157122"
} | starcoder | <reponame>mdamyanova/C-Sharp-Web-Development
namespace CohesionAndCoupling.Models
{
using System;
public class ThreeDimensional : DimensionMethods
{
private double z1;
private double z2;
public ThreeDimensional(double x1, double x2, double y1, double y2, double z1, double z2)
... | 3.281036 | e90a5ea98c5691c43455787491ea3004 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837903 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "epignosisx/autodash",
"max_stars_repo_path": "src/Autodash.Core/UI/Models/EmailConfigVm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157123"
} | starcoder | <reponame>epignosisx/autodash
using FluentValidation.Results;
namespace Autodash.Core.UI.Models
{
public class EmailConfigVm
{
public string SmtpServer { get; set; }
public int Port { get; set; }
public string FromEmail { get; set; }
public ValidationFailure[] Errors { get; set;... | 1.5682 | cbbdc9fd978b57e1b0cfdfece953e4a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837904 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Manne990/ImageLoader",
"max_stars_repo_path": "ImageLoader/Common/ILoggerService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157124"
} | starcoder | <filename>ImageLoader/Common/ILoggerService.cs
using System;
using System.Runtime.CompilerServices;
namespace ImageLoader.Common
{
public interface ILoggerService
{
LogLevel CurrentLogLevel { get; set; }
void LogError(Exception ex, [CallerMemberName] string sender = null);
void LogErr... | 2.318761 | ca4b35dbb1f1c104afabb6457c1a2d3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837905 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hikipuro/BasicClasses.cs",
"max_stars_repo_path": "BasicClasses/UnicodePlane.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157125"
} | starcoder | namespace BasicClasses {
public class UnicodePlane {
public static readonly UnicodePlane BasicMultilingualPlane = new UnicodePlane(
"Basic Multilingual Plane", 0x0000, 0xFFFF
);
public static readonly UnicodePlane SupplementaryMultilingualPlane = new UnicodePlane(
"Supplementary Multilingual Plane", 0x100... | 3.142067 | b7a2f13cef4a61b40637942926ef5fa5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837906 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SivtaTres/KingFrogs",
"max_stars_repo_path": "Screens/MainMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157126"
} | starcoder | using System;
using Godot;
using Array = Godot.Collections.Array;
namespace Morozurfu.Screens
{
public class MainMenu : Control
{
private Array _buttons = new Array();
private TextureButton _currentButton = new TextureButton();
private int _crutchButton = 0;
public ov... | 2.234791 | bfb06086675c07d8e4d74c211a8e2e47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837907 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "kant2002/wpf-test",
"max_stars_repo_path": "src/Test/Common/Code/Microsoft/Test/Stability/Extensions/Factories/ItemsListFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157127"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Windows;
using System.Windows... | 2.369409 | 3a2cf0b94a8e88dba14b249898a199c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837908 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shenlei149/ProjectEuler",
"max_stars_repo_path": "ProjectEuler/051-100/S88.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157128"
} | starcoder | <filename>ProjectEuler/051-100/S88.cs
using System.Linq;
namespace ProjectEuler
{
public class S88 : ISolution
{
private static readonly int Max = 12_000;
public string GetAnswer()
{
return GenerateMinProductSumNumber().Distinct().Sum().ToString();
}
privat... | 3.548971 | 5146e4b64146e1c4e1a3e05c5a5edd82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837909 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "perlun/sitegen",
"max_stars_repo_path": "src/Sitegen/UrlUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157129"
} | starcoder | <filename>src/Sitegen/UrlUtils.cs<gh_stars>0
namespace Sitegen
{
public static class UrlUtils
{
// Note: the algorithm below is obviously utterly inefficient in that it performs n passes to perform the
// slugification, when a single pass doing it all-at-once would be tons more efficient, both i... | 3.539894 | 3efe7fb9223a4b980152e02a65f21cb5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837910 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "siwater/Cloudworks",
"max_stars_repo_path": "Citrix.Cloudworks.Agent/ErrorHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157130"
} | starcoder | <reponame>siwater/Cloudworks<filename>Citrix.Cloudworks.Agent/ErrorHandler.cs<gh_stars>0
/*
* Copyright (c) 2013-2014 Citrix Systems, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* 'Software'), to deal in the Softw... | 1.734708 | c79fc56865afad7e73ac573fd7408446 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837911 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sergeystoyan/CliverRoutines",
"max_stars_repo_path": "Config/Config.auxiliary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157131"
} | starcoder | //********************************************************************************************
//Author: <NAME>
// <EMAIL>
// <EMAIL>
// <EMAIL>
// http://www.cliversoft.com
//********************************************************************************************
using System;
using Sy... | 2.780818 | 40674760223a43160a80923ac296bb3e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.