added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72433 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "System.Data/fx/src/data/System/Data/StateChangeEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72434"
} | starcoder | <filename>System.Data/fx/src/data/System/Data/StateChangeEvent.cs
//------------------------------------------------------------------------------
// <copyright file="StateChangeEvent.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" pri... | 2.148378 | dbfadf685bae02db2b4ab225792e1f0d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72434 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RyanClementsHax/GW2Api.NET",
"max_stars_repo_path": "GW2Api.NET/V2/Achievements/Dto/AchievementRewardTypes/Item.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72435"
} | starcoder | <reponame>RyanClementsHax/GW2Api.NET
using GW2Api.NET.Json.Attributes;
namespace GW2Api.NET.V2.Achievements.Dto.AchievementRewardTypes
{
[JsonDiscriminator("Item")]
public record Item(
int Id,
int Count
) : AchievementReward();
}
| 1.675552 | a528c66b42658b1c4cafadefb62d19b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72435 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mcknell/Stile",
"max_stars_repo_path": "source/Stile/Prototypes/Specifications/SemanticModel/Evaluations/Measurement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72436"
} | starcoder | #region License info...
// Stile for .NET, Copyright 2011-2013 by <NAME>
// Licensed under the MIT License found at the top directory of the Stile project on GitHub
#endregion
#region using...
using System.Linq;
using System.Threading.Tasks;
using JetBrains.Annotations;
using Stile.Prototypes.Specifications.SemanticMo... | 2.171725 | 89be007a33ebb9570e91652bdac66a8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72436 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "richardjharding/timestablecsharp",
"max_stars_repo_path": "FunctionApp1/TimesTableSpeechlet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72437"
} | starcoder | <filename>FunctionApp1/TimesTableSpeechlet.cs<gh_stars>1-10
using AlexaSkillsKit.Slu;
using AlexaSkillsKit.Speechlet;
using AlexaSkillsKit.UI;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AlexaSkillsKit.Authenticat... | 2.637991 | 02b12fac34e552c03c20730ce4942da1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72437 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jdm7dv/financial",
"max_stars_repo_path": "windows/CsForFinancialMarkets/CsForFinancialMarkets/BookExamples/Ch10/TestADE/TestADE.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72438"
} | starcoder | // TestADE.cs
//
// One-factor Black Scholes using ADE method.
//
// (C) Datasim Education BV 2010-2013
//
// 2012-11-15 DD clean-up of code
//
using System;
using System.Collections.Generic;
using System.Reflection;
class BSTestMain
{
// 0. Choose which option factory to use
public stat... | 2.776716 | c71466a800e3f1d81850d00cf34b796a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72438 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ihiresolutions/investec-api-bank-service",
"max_stars_repo_path": "bank-service.integration/Models/AddWalletTransactionDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72439"
} | starcoder | using System;
namespace bank_service.integration.Models
{
public sealed class AddWalletTransactionDto
{
public string Source { get; set; }
public TransactionType Type { get; set; }
public TransactionTrigger Trigger { get; set; }
public DateTime TransactionDate { get; set; }
... | 2.239906 | 862aed8fc73ff646ff684d9ca324627b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72439 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StephenDRodger/TCS-Gauge-Example",
"max_stars_repo_path": "Implementation/BankingLogin.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72440"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Gauge.CSharp.Lib;
using Gauge.CSharp.Lib.Attribute;
using Gauge.Example.Implementation.Pages;
using OpenQA.Selenium;
using NUnit.Framework;
namespace Gauge.Example.Implementation
{
public clas... | 2.323895 | 1d40d2029dc5e80a49e22afb8b190dcd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72440 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "josipgrgic/ML.NET-Playground",
"max_stars_repo_path": "DigitRecognition/DigitRecognizer/DigitInputData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72441"
} | starcoder |
using Microsoft.ML.Data;
namespace DigitRecognizer
{
public class DigitInputData
{
[ColumnName("PixelValues")]
[VectorType(28 * 28)]
public float[] PixelValues { get; set; }
public float Number { get; set; }
}
}
| 1.737359 | 8853fc5e1ea1f4ff40fd4cd9891ba2f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72441 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Phytal/Nayu",
"max_stars_repo_path": "Nayu/Modules/API/Anime/WeebDotSh/owo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72442"
} | starcoder | using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Nayu.Helpers;
using Nayu.Libs.Weeb.net;
using Nayu.Libs.Weeb.net.Data;
using Nayu.Preconditions;
/*
oooo ww ww oooo
oo oo ww ww oo oo
oo oo ww ww ww oo oo
oooo ww ww oooo
*/
namespace N... | 2.274037 | ff9381e7efacd6c09fb8156c5c7e16ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72442 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wjk/dotnet-corefxlab",
"max_stars_repo_path": "tests/System.Binary.Base64.Tests/PerformanceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72443"
} | starcoder | <filename>tests/System.Binary.Base64.Tests/PerformanceTests.cs
// 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.Generic;
using... | 2.272782 | e2e4f764897902233375d40759a1469d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72443 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "berhu/Git_Projet_C_sharp",
"max_stars_repo_path": "Sequence 2/Seq2 - 2/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72444"
} | starcoder | <reponame>berhu/Git_Projet_C_sharp<filename>Sequence 2/Seq2 - 2/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Seq2___2
{
class Program
{
static void Main(string[] args)
{
double A;
... | 3.418819 | 87f4da249ed711fd656687de8b24ef2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72444 | {
"extension": "c-sharp",
"max_stars_count": "99.0",
"max_stars_repo_name": "jhliptak/VisioAutomation",
"max_stars_repo_path": "VisioAutomation_2010/VisioAutomation/ShapeSheet/Query/SectionQueryColumns.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72445"
} | starcoder | <filename>VisioAutomation_2010/VisioAutomation/ShapeSheet/Query/SectionQueryColumns.cs
using IVisio = Microsoft.Office.Interop.Visio;
namespace VisioAutomation.ShapeSheet.Query
{
public class SectionQueryColumns : Columns
{
public IVisio.VisSectionIndices SectionIndex { get; }
interna... | 1.942868 | 71b12d4fba0bf790ee7e5403eb3b7aea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72445 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pmdevers/ecs-with-events",
"max_stars_repo_path": "src/game.engine/Events/Event.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72446"
} | starcoder | namespace Game.Engine.EventSystem
{
public class Event
{
public Event(object eventType, object eventData)
{
EventType = eventType;
EventData = eventData;
}
public object EventType { get; }
public object EventData { get; }
}
} | 2.39485 | 254c0378e47efbd8975616cbac85993e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72446 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "NickolayNanov/Software-Engineering",
"max_stars_repo_path": "C# Fundamentals/C# OOP Advanced/Unit Tests/Exercise/UnitTesting/Database.Tests/DatabaseTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72447"
} | starcoder | <reponame>NickolayNanov/Software-Engineering
namespace Tests
{
using DataBase;
using NUnit.Framework;
using System;
using System.Linq;
using System.Reflection;
[TestFixture]
public class DatabaseTests
{
private const string NameOfArray = "data";
private const string Name... | 2.759465 | 540a22eef3708a2e998642a4de7426aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72447 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "TiBall/StravaTokenManager",
"max_stars_repo_path": "src/AccidentalFish.Strava.TokenManager.Abstractions/AthleteSummary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72448"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace AccidentalFish.Strava.TokenManager.Abstractions
{
public class AthleteSummary
{
public string Id { get; set; } // an int currently but we assume it could be anything in the future
public string FirstName { get; set; ... | 1.997953 | 5425cec13d0dfbf2d6403bf34d926613 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72448 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kiling91/tarkov-assistant",
"max_stars_repo_path": "TelegramBotWrapper/UserLanguageMiddleware.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72449"
} | starcoder | using System.Text;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using RestSharp;
using Telegram.Bot.Types;
using Telegram.Bot.Wrapper.UserRegistry;
namespace Telegram.Bot.Wrapper
{
public cl... | 2.421977 | e82385502cb3c4a3ea0ac173e1052049 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72449 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TihomirIvanovIvanov/Stopify",
"max_stars_repo_path": "Stopify/Web/Stopify.Web/Areas/Identity/Pages/Account/Register.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:72450"
} | starcoder | @page
@model RegisterModel
@{
ViewData["Title"] = "Register";
}
<h1 class="bg-primary text-white font-weight-bold text-center p-3 w-25 mx-auto rounded">Register</h1>
<form method="post" class="form border-primary-4 rounded p-3 w-25 mx-auto mt-3">
<div class="form-group mx-auto">
<div class="d-flex jus... | 2.273494 | 16ec6ab235f84f9008951acb40f9380b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72450 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "guliver-jham/GEngine",
"max_stars_repo_path": "Determinism/FInt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72451"
} | starcoder | <gh_stars>1-10
using System;
public struct FInt
{
// New determininistic point from https://stackoverflow.com/questions/605124/fixed-point-math-in-c
// Coudn't get my deterministic point figured out because of sin, cos and other things =(
public long RawValue;
public const int SHIFT_AMOUNT = 12; //12 ... | 3.327459 | 68628a35554e149dcf3c32642535bf4f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72451 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "serranda/SecuritySeriousGame",
"max_stars_repo_path": "SIMSCADA/Assets/ImportedAssets/Awesome Charts/Core/Scripts/Data/PieData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72452"
} | starcoder | <filename>SIMSCADA/Assets/ImportedAssets/Awesome Charts/Core/Scripts/Data/PieData.cs<gh_stars>0
using System;
using UnityEngine;
namespace AwesomeCharts {
[System.Serializable]
public class PieData : ChartData {
[SerializeField]
private PieDataSet dataSet;
public PieDataSet DataSet ... | 2.6827 | 2cae8bca1d695193d97ac130196e028f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72452 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/runtime",
"max_stars_repo_path": "src/libraries/System.Net.Requests/src/System/Net/GlobalProxySelection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72453"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics.CodeAnalysis;
namespace System.Net
{
[Obsolete(
"This class has been deprecated. Please use WebRequest.DefaultWebProxy instead to access and set... | 2.508457 | f7b4be9a41a5338583ac031b7307d299 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72453 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Stephen-MK-Lv/JSLean",
"max_stars_repo_path": "Common/Securities/ISecurityMarginModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72454"
} | starcoder | <reponame>Stephen-MK-Lv/JSLean
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Lic... | 2.392784 | c11ff1e3ee13f6c4d6dba978ae782518 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72454 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ooples/alpaca-trade-api-csharp",
"max_stars_repo_path": "Alpaca.Markets/Parameters/HistoricalCryptoQuotesRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72455"
} | starcoder | <gh_stars>1-10
namespace Alpaca.Markets;
/// <summary>
/// Encapsulates request parameters for
/// <see cref="IHistoricalQuotesClient{TRequest}.ListHistoricalQuotesAsync(TRequest,CancellationToken)"/> and
/// <see cref="IHistoricalQuotesClient{TRequest}.GetHistoricalQuotesAsync(TRequest,CancellationToken)"/> calls.
/... | 2.623495 | 14248503ad7144c6b9bd2514711a06a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72455 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "markstiles/SitecoreCognitiveServices.Core",
"max_stars_repo_path": "src/Foundation/IBMSDK/code/LanguageTranslator/Models/IdentifiedLanguage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72456"
} | starcoder | using Newtonsoft.Json;
namespace SitecoreCognitiveServices.Foundation.IBMSDK.LanguageTranslator.Models
{
public class IdentifiedLanguage
{
[JsonProperty("language", NullValueHandling = NullValueHandling.Ignore)]
public string Language { get; set; }
[JsonProperty("confidence", NullValueHa... | 1.919186 | d554c4bd2d4fd7bfeb4b52a66eac3440 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72456 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "peitschie/transmute",
"max_stars_repo_path": "Transmute/IResourceMapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72457"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using Transmute.Builders;
using Transmute.Internal;
using Transmute.Maps;
namespace Transmute
{
public interface IResourceMapper<TContext>
{
bool CanConstruct(Type type);
object ConstructOrThrow(Type type);
voi... | 1.676506 | 507099bfacbbb4434a97b2b1641f06b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72457 | {
"extension": "c-sharp",
"max_stars_count": "159.0",
"max_stars_repo_name": "SeanKilleen/Docs",
"max_stars_repo_path": "aspnet/web-forms/overview/data-access/custom-button-actions/adding-and-responding-to-buttons-to-a-gridview-cs/samples/sample10.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72458"
} | starcoder | protected void SuppliersProducts_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName.CompareTo("IncreasePrice") == 0 ||
e.CommandName.CompareTo("DecreasePrice") == 0)
{
// The Increase Price or Decrease Price Button has been clicked
// Determine the ID of the produc... | 2.583929 | b70ab40705c06b0113dd1d5708cb1859 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72458 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "realwayjyc/AssetStudio",
"max_stars_repo_path": "UnityAnalyser/UnityObject/RectTransform.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72459"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
namespace UnityAnalyzer
{
public class RectTransform:Transform
{
private float anchorMinX;
public float AnchorMinX
{
get { return anchorMinX; }
... | 1.755391 | b0f8992c9f09431286f776fa63d267f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72459 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "lshade/botframework-telephony",
"max_stars_repo_path": "samples/csharp_dotnetcore/05a.telephony-recording-download-function/CallRecordingEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72460"
} | starcoder | using System;
namespace BotFramework.Telephony.Samples
{
public static class DownloadRecordingConstants
{
public static string RecordingFileStatusUpdated = "Microsoft.Communication.RecordingFileStatusUpdated";
}
public class RecordingChunks
{
public string DocumentId {ge... | 1.989212 | 401e605c0581c4f9118205ea090d1857 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72460 | {
"extension": "c-sharp",
"max_stars_count": "57.0",
"max_stars_repo_name": "bouiboui/unity-stories",
"max_stars_repo_path": "Assets/UnityStories/Examples/Example1/Scripts/CountText_Example1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72461"
} | starcoder | <reponame>bouiboui/unity-stories
using UnityEngine;
using UnityEngine.UI;
public class CountText_Example1 : MonoBehaviour
{
public Text countText;
public Text countNotPersistedText;
public void SetCountText(int count)
{
countText.text = "Count is: " + count;
}
public void SetCountTe... | 1.955854 | 2e948ec91033cf82380587409c25de85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72461 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Denis144/unity-infinite-runner-2d",
"max_stars_repo_path": "src/Assets/InfiniteRunner2D/Scripts/ObstacleBlock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72462"
} | starcoder | <reponame>Denis144/unity-infinite-runner-2d<filename>src/Assets/InfiniteRunner2D/Scripts/ObstacleBlock.cs
public class ObstacleBlock : Obstacle
{
} | 0.946721 | ab437c51539f6ae1305363035e56c27c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72462 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "redoste/nitrosharp",
"max_stars_repo_path": "src/NitroSharp/Graphics/RenderItems/DialoguePage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72463"
} | starcoder | <reponame>redoste/nitrosharp
using System.Collections.Generic;
using System.Numerics;
using NitroSharp.NsScript;
using NitroSharp.NsScript.VM;
using NitroSharp.Saving;
using NitroSharp.Text;
namespace NitroSharp.Graphics
{
internal sealed class DialoguePage : RenderItem2D
{
private enum ConsumeResult
... | 2.053978 | 6346a47a3bf73c8d8828d4eaa752a3a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72463 | {
"extension": "c-sharp",
"max_stars_count": "957.0",
"max_stars_repo_name": "emadurandal/Effekseer",
"max_stars_repo_path": "Dev/Editor/EffekseerCore/Utl/RGBHSVColor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72464"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Effekseer.Utl
{
public struct RGBHSVColor
{
public int RH;
public int GS;
public int BV;
public static RGBHSVColor RGBToHSV(RGBHSVColor rgb)
{
double max;
double min;
dou... | 3.03756 | 025879f892e5180fe7c5231c363e28c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72464 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ExtendedXmlSerializer/NextRelease",
"max_stars_repo_path": "src/ExtendedXmlSerializer/ExtensionModel/Content/AlteredConverters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72465"
} | starcoder | using System.Reflection;
using ExtendedXmlSerializer.ContentModel.Conversion;
using ExtendedXmlSerializer.Core;
using ExtendedXmlSerializer.Core.Sources;
namespace ExtendedXmlSerializer.ExtensionModel.Content
{
sealed class AlteredConverters : IConverters
{
readonly IAlteration<IConverter> _alteration;
... | 1.998744 | 9144462f6f6f00022403aa4fe5990a59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72465 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NathanClouseAX/AAXDataEntityPerfTest",
"max_stars_repo_path": "Projects/AAXDataEntityPerfTest/ConsoleApp1/Connected Services/D365/AdvancedRule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72466"
} | 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.953413 | c3d3f8a2eb139f18bffd3e9ed3d9d5cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72466 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "Kryptos-FR/Avalonia.GameStudio",
"max_stars_repo_path": "sources/Avalonia.GameStudio.Core/Extensions/TaskExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72467"
} | starcoder | using System;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace Avalonia.GameStudio.Core.Extensions
{
public static class TaskExtensions
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void Forget(this Task task)
{
if (task ==... | 2.126588 | 7822822871bf9275f4e4b53b7d3988ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72467 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "VelizarVeli/ScalemodelWorld",
"max_stars_repo_path": "src/Data/Scalemodel.Data.Models/Abstractions/MyModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72468"
} | starcoder | <filename>src/Data/Scalemodel.Data.Models/Abstractions/MyModel.cs
using System;
using System.ComponentModel.DataAnnotations;
using Scalemodel.Data.Models.Contracts;
namespace Scalemodel.Data.Models.Abstractions
{
public abstract class MyModel : BaseModel, IMyModel
{
[Required]
[DataType(DataTy... | 2.191144 | 1294476bf881d05bcdc42206e1ee6ffe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72468 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "divega/UdfCodeFirstSample",
"max_stars_repo_path": "UdfCodeFirstSample/Fun.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72469"
} | starcoder | using System;
using System.Data.Entity;
namespace UdfCodeFirstSample
{
public static class Fun
{
[DbFunction("CodeFirstDatabaseSchema", "GetAge")]
public static int? GetAge(DateTime? birthDate)
{
// this in-memory implementation will not be invoked when working on LINQ to En... | 3.162419 | ec8cf4701ebbac4b5e9a6732d453b3ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72469 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "atryx/video-converter",
"max_stars_repo_path": "VideoApp/VideoApp/Models/ViewModels/VideoFileModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72470"
} | starcoder | using System.Collections.Generic;
namespace VideoApp.Web.Models.ViewModels
{
public class VideoFileModel
{
public int Id { get; set; }
public string Filename { get; set; }
public string FileDirectory { get; set; }
public string Duration { get; set; }
public string Size ... | 1.703744 | 0a5e55a62dec06ba325dd17135645c0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72470 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rakaveli/MrP_TelegramBot",
"max_stars_repo_path": "src/Services/ProductRequestService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72471"
} | starcoder | using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using MrP_TelegramBot.Configurations;
using MrP_TelegramBot.Interfaces;
using MrP_TelegramBot.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Task... | 2.632629 | d5d2e987f09970d7622c07fd3a987e5f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72471 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "twins2020/uno.extensions",
"max_stars_repo_path": "src/Uno.Extensions.Navigation.UI/Controls/ActionRequestHandlerBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72472"
} | starcoder | using System;
using System.Linq;
namespace Uno.Extensions.Navigation.UI
{
public abstract class ActionRequestHandlerBase<TView> : ControlRequestHandlerBase<TView>
where TView : FrameworkElement
{
protected void BindAction<TElement, TEventHandler>(
TElement view,
Func<Action<FrameworkElement>, TEventHandle... | 2.205133 | 2e8af57b4c7272e52135ff26d3164ce9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72472 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nexus-link/Nexus.Link.Libraries",
"max_stars_repo_path": "test/Nexus.Link.Libraries.Web.AspNet.Tests/InboundPipe/NexusLinkMiddleware/SaveConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72473"
} | starcoder | #if NETCOREAPP
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Nexus.Link.Libraries.Core.Application;
using Nexus.Link.Libraries.Core.Logging;
using Nexus.Link.Libraries.Core.Platform.Configuratio... | 1.825821 | 1862cf6f3e8ad9bba6eb68d8fc1ff690 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72473 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lapd87/SoftUniProgrammingFundamentalsCSharp",
"max_stars_repo_path": "ProgrammingFundamentalsCSharp/08DictionariesLambdaLINQ/905ParkingValidation/ParkingValidation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72474"
} | starcoder | <reponame>lapd87/SoftUniProgrammingFundamentalsCSharp
using System;
using System.Collections.Generic;
using System.Linq;
class ParkingValidation
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
Dictionary<string, string> userLicenseNum = new Dictionary<string, string> { };
... | 3.143157 | 883db36ea0109d3727c38610bfd6555c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72474 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MatfRS2/SeminarskiRadovi",
"max_stars_repo_path": "programski-projekti/Matf-RS2-FocusOpen/FocusOPEN_OS_Source_3_3_9_5/FocusOPEN.Website/MyAccount/EditProfile.aspx.designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72475"
} | starcoder | <reponame>MatfRS2/SeminarskiRadovi
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4952
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regen... | 1.18326 | 26c1de8f969f0788c9827c9ef592a179 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72475 | {
"extension": "c-sharp",
"max_stars_count": "3107.0",
"max_stars_repo_name": "danieloff/Flurl",
"max_stars_repo_path": "PackageTesters/PackageTester.NETCore/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72476"
} | starcoder | <filename>PackageTesters/PackageTester.NETCore/Program.cs
using System;
namespace PackageTester
{
public class Program
{
public static void Main(string[] args) {
new Tester().DoTestsAsync().Wait();
Console.ReadLine();
}
}
} | 1.891602 | 280e419aa29b362046b2beed82a42f09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72476 | {
"extension": "c-sharp",
"max_stars_count": "434.0",
"max_stars_repo_name": "tallior/Microsoft.Unity.Analyzers",
"max_stars_repo_path": "src/Microsoft.Unity.Analyzers.Tests/MessageSignatureTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72477"
} | starcoder | <filename>src/Microsoft.Unity.Analyzers.Tests/MessageSignatureTests.cs
/*--------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.... | 2.128324 | 03d713a8af16534f6d7d26795abbb05a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72477 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "joelam789/my-sharp-server",
"max_stars_repo_path": "netstd20/MySharpServerExample.ServerApp/CommonLog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72478"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MySharpServer.Common;
using MySharpServer.Framework;
namespace MySharpServerExample.ServerApp
{
public static class CommonLog
{
static readonly ServerFormLogger m_Logger = null;
static CommonLog()
... | 2.709528 | 2deb7f4840f22ad54d44ec3079dd4118 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72478 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CIRCULARKA/Aura.UI",
"max_stars_repo_path": "src/Aura.UI/Controls/Generators/CardCollectionItemContainerGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72479"
} | starcoder | <gh_stars>1-10
using Aura.UI.Data;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Generators;
using Avalonia.Data;
namespace Aura.UI.Controls.Generators
{
public class CardCollectionItemContainerGenerator<TCardControl> : ItemContainerGenerator<TCardControl> where TCardControl : CardControl, ICont... | 2.423389 | 0724a64eafe1a6c257554ea50106f4e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72479 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "DeathZeppelin/ESI.NET",
"max_stars_repo_path": "ESI.NET/Models/Sovereignty/Structure.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72480"
} | starcoder | using Newtonsoft.Json;
using System;
namespace ESI.NET.Models.Sovereignty
{
public class Structure
{
[JsonProperty("alliance_id")]
public int AllianceId { get; set; }
[JsonProperty("solar_system_id")]
public int SolarSystemId { get; set; }
[JsonProperty("structure_id"... | 1.871954 | c655a3bc2753dd9365f3ab1226888e20 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72480 | {
"extension": "c-sharp",
"max_stars_count": "157.0",
"max_stars_repo_name": "aspose-cells/Aspose.Cells-for-.NET",
"max_stars_repo_path": "Demos/Apps/Aspose.Cells.Parser/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72481"
} | starcoder | <reponame>aspose-cells/Aspose.Cells-for-.NET
using System.IO;
using Aspose.Cells.Common.Config;
using Aspose.Cells.Common.Controllers;
using Aspose.Cells.Parser.Controllers;
using Elastic.Apm.AspNetCore;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Micro... | 1.698674 | ce07610ab5a3d5576685391c9627c786 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72481 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VelinArbov/GameShop",
"max_stars_repo_path": "Web/GameShop.Web/Areas/Identity/Pages/Account/Manage/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:72482"
} | starcoder | <filename>Web/GameShop.Web/Areas/Identity/Pages/Account/Manage/_ViewImports.cshtml
@using GameShop.Web.Areas.Identity.Pages.Account.Manage
| 1.388405 | 3bcc95995bf28a1fb09f96d82953e090 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72482 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anas-dev-92/Store",
"max_stars_repo_path": "CompanyStores/Entities/TransportInvoice.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72483"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Metadata.Ecma335;
using System.Threading.Tasks;
namespace DrugStore.Entities
{
public class TransportInvoice
{
public int TransportInvoiceId { get; set; }
public int Quantity { get; set; }
public... | 1.758484 | 7517ff6abd91b22edf154a0f59c59afa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72483 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "baywet/AlchemyAPIClient",
"max_stars_repo_path": "AlchemyAPIClient/Responses/AlchemyRelationsResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72484"
} | starcoder | using System.Collections.Generic;
namespace AlchemyAPIClient.Responses
{
public class AlchemyRelationsResponse : AlchemyResponseBase<AlchemyRelation>
{
public List<AlchemyRelation> Relations { get; set; }
}
}
| 1.642213 | ca01461d9c470096ed3ce4117ee46065 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72484 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "www30506/Crosis_Res",
"max_stars_repo_path": "Scripts/Other/UGUI_AdditionalFeatures/CButton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72485"
} | starcoder | <reponame>www30506/Crosis_Res
using UnityEngine;
using System.Collections;
using UnityEngine.Events;
using UnityEngine.EventSystems;
using UnityEngine.UI;
[RequireComponent (typeof (EventTrigger))]
[AddComponentMenu("UI/Other/CButton")]
public class CButton : MonoBehaviour {
private bool isMouseDown =false;
private... | 2.149042 | 3fe94603117575499aef0b6d78f2923e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72485 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SuperRembo/CodeConverter",
"max_stars_repo_path": "Web/Pages/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:72486"
} | starcoder | @using ICSharpCode.CodeConverter.Web
@namespace ICSharpCode.CodeConverter.Web.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.299174 | 9a8fb9fd5ca85dd1dcd92f821ad38cbc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72486 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maddoxlab/VRSpeechCorpusBooth",
"max_stars_repo_path": "VRSpeechCorpusBooth-Unity/Assets/Experiment_Tools/Scripts/SimpleClasses/RingRotation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72487"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class RingRotation
{
// PERSPECTIVE RING ROTATIONS
public float[] obj0_xRot;
public float[] obj0_yRot;
public float[] obj1_xRot;
public float[] obj1_yRot;
public float[] obj2_xRot;
p... | 1.549678 | 2657bcac13fe3680b6b650ebf1ac8397 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72487 | {
"extension": "c-sharp",
"max_stars_count": "54.0",
"max_stars_repo_name": "shadowchamber/SolidCP",
"max_stars_repo_path": "SolidCP/Sources/SolidCP.EnterpriseServer.Code/SpamExperts/SpamExpertsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72488"
} | starcoder | <filename>SolidCP/Sources/SolidCP.EnterpriseServer.Code/SpamExperts/SpamExpertsController.cs
// Copyright (c) 2016, SolidCP
// SolidCP is distributed under the Creative Commons Share-alike license
//
// SolidCP is a fork of WebsitePanel:
// Copyright (c) 2015, Outercurve Foundation.
// All rights reserved.
//
// Redi... | 1.819142 | 28d72830760879c312bb2727c26d0dea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72488 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ebx/OpenPokerAI",
"max_stars_repo_path": "EncogFramework2.5/Solve/Genetic/Mutate/MutateShuffle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72489"
} | starcoder | // Encog(tm) Artificial Intelligence Framework v2.5
// .Net Version
// http://www.heatonresearch.com/encog/
// http://code.google.com/p/encog-java/
//
// Copyright 2008-2010 by Heaton Research Inc.
//
// Released under the LGPL.
//
// This is free software; you can redistribute it and/or modify it
// under the terms ... | 2.329107 | 7dbb0ac088425cb111fe47b877baf43a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72489 | {
"extension": "c-sharp",
"max_stars_count": "126.0",
"max_stars_repo_name": "xiongfang/UnrealCS",
"max_stars_repo_path": "Script/UnrealEngine/GeneratedScriptFile/FCurveEdTab.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72490"
} | starcoder | using System;
namespace UnrealEngine
{
public partial struct FCurveEdTab
{
public FString TabName;
/// <summary>Remember the view setting for each tab.</summary>
public float ViewStartInput;
public float ViewEndInput;
public float ViewStartOutput;
public float ViewEndOutput;
}
}
| 1.66411 | 14c304e816a229caf555f14b2be7e20a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72490 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vasiliki-t/Local-ea",
"max_stars_repo_path": "Project 2 Common/Data/Repositories/UserRepo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72491"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using Project_2_Common.Data.Interfaces;
using Project_2_Common.Models;
using Project_2_Common.Models.MapViewModels;
namespace Project_2_Common.Data... | 2.305063 | 9a80bdaa6023ee678d0368d73084ef7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72491 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "SoulSight/Yard",
"max_stars_repo_path": "src/Stylus/Stylus/Reasoning/BackwardReasoner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72492"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Stylus.Parsing;
namespace Stylus.Reasoning
{
public class BackwardReasoner : Reasoner
{
public IEnumerable<QueryGraph> Translate(QueryGraph original)
{
... | 1.644217 | a00bc50a2020ca6eaf4a0887f08e1b1d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72492 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RaaLabs/Connectors.Lora",
"max_stars_repo_path": "Source/Events/LoraDatapointOutput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72493"
} | starcoder | // Copyright (c) RaaLabs. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using RaaLabs.Edge.Modules.EdgeHub;
namespace RaaLabs.Edge.Connectors.Lora.Events
{
[OutputName("output")]
public class LoraDatapointOutput : IEdgeHubOutgoingEve... | 1.336007 | 5f791e4b5be0a4de285d16f93644ef37 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72493 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "meeron/battleships",
"max_stars_repo_path": "src/Battleships.Game/GameBoard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72494"
} | starcoder | namespace Battleships.Game
{
using System.Collections.Generic;
public class GameBoard
{
private readonly Dictionary<Coordinate, ShootResult> _shoots;
private readonly Ocean _ocean;
public GameBoard(Ocean ocean)
{
_ocean = ocean;
_shoots = new Dicti... | 3.217731 | f64b4d5301d5b96633bc4ab2f725cc0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72494 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zsombi55/Homework_01",
"max_stars_repo_path": "BasicFindPairs/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72495"
} | starcoder | <reponame>Zsombi55/Homework_01<filename>BasicFindPairs/Program.cs
/*
* User: Zsombor
* Date: 2020-12-21
* Time: 09:27
* 11th.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace BasicFindPairs
{
// Goal: get an int array, double iterate: check [i] against [j] (start i + 1), while i... | 3.477824 | 5599e0baabcdd3dfa73c54d570beb9f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72495 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jimbobbennett/FormsDroidEffectIssue",
"max_stars_repo_path": "iOS/Effects/LightFontEffect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72496"
} | starcoder | <reponame>jimbobbennett/FormsDroidEffectIssue
using PlatformSpecifics.iOS.Effects;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
using UIKit;
[assembly: ResolutionGroupName("JimBobBennett")]
[assembly: ExportEffect(typeof(LightFontEffect), nameof(LightFontEffect))]
namespace PlatformSpecifics.iOS.Effects
{
... | 2.22715 | da6aeafdf2bbd560c379f674bcf561dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72496 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jpacelli62/EDDI",
"max_stars_repo_path": "DataDefinitions/StoredModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72497"
} | starcoder | namespace EddiDataDefinitions
{
public class StoredModule
{
public Module module { get; set; }
public string name => module?.localizedName;
public int slot { get; set; }
public bool intransit { get; set; }
public string system { get; set; }
public string sta... | 2.168351 | 0704f3e66cef53ce92efba555d5974ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72497 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alejandrolazarte/CodeChallenge",
"max_stars_repo_path": "CodeChallenge/Data/Model/Hervivoro.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72498"
} | starcoder | <filename>CodeChallenge/Data/Model/Hervivoro.cs<gh_stars>0
namespace CodeChallenge.Data.Model
{
public class Hervivoro : Animal
{
public override string ToString()
{
return "Hervivoro";
}
}
}
| 2.609656 | fc214116b4c82b7cc4264168b3585228 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72498 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasonjoh/kiota",
"max_stars_repo_path": "src/Kiota.Builder/Writers/TypeScript/TypeScriptConventionService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72499"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Kiota.Builder.Extensions;
using static Kiota.Builder.CodeTypeBase;
namespace Kiota.Builder.Writers.TypeScript;
public class TypeScriptConventionService : CommonLanguageConventionService
{
public TypeScriptConventionService(LanguageWriter lan... | 2.458907 | b9d4df81c7e7cdb0c7638aeb07cf21c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72499 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "velocitysystems/gestures",
"max_stars_repo_path": "tests/Gestures.Tests/Recognizers/PlatformPanRecognizer_Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72500"
} | starcoder | // <copyright file="PlatformPanRecognizer_Tests.cs" company="Velocity Systems">
// Copyright (c) 2020 Velocity Systems
// </copyright>
using FluentAssertions;
using System;
using System.Reactive.Linq;
using Xunit;
namespace Velocity.Gestures.Tests
{
/// <summary>
/// Tests the implementation of <see cref... | 2.290266 | 3bdad894f978e65dba92a7141f42fd16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72500 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UnrealKaraulov/w3gReplayEditor",
"max_stars_repo_path": "dotahittest/DotaHAB/Extras/Replay Parser/ReplayMapCache.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72501"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using DotaHIT.Core;
using DotaHIT.Core.Compression;
using DotaHIT.Core.Resources;
using System.IO;
using System.Reflection;
using System.Collections.Specialized;
using System.Drawing;
using Deerchao.War3Share.W3gParser;
namespace DotaHIT.Extras
{
p... | 2.141398 | 1d41f2c900186ca67afc1e8ff9fdecd5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72501 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat",
"max_stars_repo_path": "src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/UrlScheme/WxaQuerySchemeRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72502"
} | starcoder | <reponame>vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /wxa/queryscheme 接口的请求。</para>
/// </summary>
public class WxaQuerySchemeRequest : WechatApiRequest
{
/// <summary>
/// 获取或设置小程序 URL Scheme。
... | 2.032251 | 227dc22072bbe0aa951d4a1dcfe5d9d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72502 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VisualAcademy/Trees",
"max_stars_repo_path": "Trees.Models/TreeDataInXml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72503"
} | starcoder | <reponame>VisualAcademy/Trees
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace Trees.Models
{
public class TreeDataInXml : TreeBase
{
private readonly string _connectionString;
public TreeDataInXml(string connectionString)
{
... | 3.293249 | fded09d0d95f00b6f5cf019cc24a085d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72503 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kerwinxu/barcodeManager",
"max_stars_repo_path": "ClsImport/ClsImportExcel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72504"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Data.OleDb;
using System.IO;
using System.Data;
using Xuhengxiao.MyDataStructure;
using System.Windows.Forms;
using Xuhengxiao.DataBase;
namespace Xuhengxiao.ImportData
{
public class ClsImportExcel
{
//如下的... | 2.729401 | ba4da77b8a317d221443aaabec51ed8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72504 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/keyvault/Azure.Security.KeyVault.Keys/perf/Infrastructure/KeysScenarioBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72505"
} | starcoder | <reponame>gjy5885/azure-sdk-for-net
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Azure.Test.Perf;
namespace Azure.Security.KeyVault.Keys.Perf.Infrastructure
{
public abstract cla... | 1.933332 | 575f47228db0691206cbdef0d32cb992 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72505 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeffjl74/SimpleMessageBox",
"max_stars_repo_path": "SimpleMessageBox/RtfBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72506"
} | starcoder | using System.Drawing;
using System.Text;
namespace SimpleMessageBoxes
{
/// <summary>
/// Defines the text alignment for a text group.
/// </summary>
public class RtfAlign
{
/// <summary>
/// Sets left aligned text.
/// </summary>
public const int Left = 1;
... | 3.227722 | 2726b5497f95086e728005038619ac7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72506 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wk-j/primary-constructor",
"max_stars_repo_path": "sample/PrimaryConstructor.Sample/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72507"
} | starcoder | using System;
using Microsoft.Extensions.DependencyInjection;
namespace PrimaryConstructor.Sample
{
class Program
{
static void Main(string[] args)
{
var services = new ServiceCollection();
services.AddSingleton<MyDependency>();
services.AddSingleton<MyService>();
var injector = services.BuildServic... | 3.028619 | f997aa11b247fddfd535f37dd5297755 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72507 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uniquelau/umbraco-look",
"max_stars_repo_path": "src/Our.Umbraco.Look/Services/LookService_SetTagIndexer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72508"
} | starcoder | <reponame>uniquelau/umbraco-look
using System;
using Umbraco.Core.Logging;
namespace Our.Umbraco.Look.Services
{
internal partial class LookService
{
/// <summary>
/// Register consumer code to perform when indexing tags
/// </summary>
/// <param name="tagIndexer">Your custom t... | 2.154853 | e1d668d3d144a6b8564558c30f3d02bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72508 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JulieLy8619/mscHackathon2019PocketPCS",
"max_stars_repo_path": "pocketPCS/Models/ArmyDutyStations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72509"
} | starcoder | using System;
namespace pcsHackathon2019.Models
{
public enum ArmyDutyStations
{
FortBliss,
FortPolk,
JointBaseLewisMcChord,
FortIrwin,
FortRiley,
FortCampbell,
FortDrum,
FortHood,
FortBenning,
FortBragg,
FortCarson,
}
... | 1.57702 | 8558ac845651d4d6f8356e080f61e82d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72509 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "santedb/openiz",
"max_stars_repo_path": "OpenIZ.Core.Model/Map/CastMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72510"
} | starcoder | /*
* Copyright 2015-2018 Mohawk College of Applied Arts and Technology
*
*
* 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
*
* U... | 2.14287 | 877686ef633dab3c11cbb9fc42e52e04 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72510 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MaxRev-Dev/cr-proxy",
"max_stars_repo_path": "src/Server/Proxy/IProxyServer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72511"
} | starcoder | <filename>src/Server/Proxy/IProxyServer.cs
namespace CRProxy.Server
{
public interface IProxyServer : IDisposable
{
Task StartAsync();
void Stop();
}
} | 1.531216 | 4a448926fb0fbad19cfaa24fc2dd3a24 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72511 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FSakowski/Notes.Net",
"max_stars_repo_path": "WebApp.Test/NoteControllerTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72512"
} | starcoder | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Moq;
using Notes.Net.Controllers;
using Notes.Net.Models;
using Notes.Net.Models.ViewModels;
using Notes.Net.Service;
using System;
using System.IO;
using System.Linq;
using Xunit;
namespace WebApp.Test
{
public class NoteControllerTest
{
... | 2.270026 | 0b2c6c5eb19f8ce5b218e21456d10066 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72512 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "codedipper/WinBot",
"max_stars_repo_path": "Source/Commands/NerdStuff/MUFCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72513"
} | starcoder | <gh_stars>1-10
using System;
using System.Net;
using System.Threading.Tasks;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using DSharpPlus.Entities;
using WinBot.Util;
using WinBot.Commands.Attributes;
namespace WinBot.Commands.NerdStuff
{
public class MUFCommand : BaseCommandModule
... | 2.183116 | 519b76f70e00d2b3e2589d02290fd815 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72513 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Minstreams/Professional-Training-Tank",
"max_stars_repo_path": "Assets/Scripts/Object/FragileWall.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72514"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 可破坏墙
/// </summary>
public class FragileWall : AmmoDetector
{
protected override void Hit(Ammo ammo)
{
ammo.DieWithWall();
}
private void OnTriggerEnter(Collider other)
{
... | 2.212726 | 2bc357f5e5a427beec24833db3f89a96 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72514 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "n3v3r94/CarDealer",
"max_stars_repo_path": "CarDealer.Services/ICarServices.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72515"
} | starcoder | <reponame>n3v3r94/CarDealer<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace CarDealer.Services
{
using Models;
using System.Collections.Generic;
public interface ICarServices
{
IEnumerable<CarModel> ByMake(string make);
}
}
| 1.632738 | 0de33f7d054c3191718a0623f7699e4b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72515 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ennerperez/DataTables-Blazored",
"max_stars_repo_path": "samples/BlazorServer/Services/EmployeeRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72516"
} | starcoder | <reponame>ennerperez/DataTables-Blazored<gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Dynamic.Core;
using System.Linq.Expressions;
using System.Reflection;
using System.Threading.Tasks;
using DataTables.Blazored.Models;
using Blazo... | 2.47978 | a0bc7d032221e0d2f5afa91edd8839be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72516 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanielCauser/shiny",
"max_stars_repo_path": "src/Shiny.Beacons/Platforms/Android/BeaconService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72517"
} | starcoder | <reponame>DanielCauser/shiny
using System;
using Shiny.Infrastructure;
using Android.App;
using Android.Content;
using Android.OS;
using Microsoft.Extensions.DependencyInjection;
namespace Shiny.Beacons
{
[Service(
Name = "com.shiny.BeaconService",
Exported = false
)]
public class BeaconS... | 1.896927 | 79078a3be0bd60069b72ebebe627791b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72517 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NithinHA/Frenzy_Pop",
"max_stars_repo_path": "Gameathon sahyadri take2/Assets/Scripts/Platforms/Platforms.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72518"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Platforms : MonoBehaviour {
[Header("Platform Details")]
public int platform_length = 1;
public GameObject platform_prefab;
public Sprite platform_sprite;
[HideInInspector]
private GameObject[] _platform;
public GameO... | 2.422569 | 6a2109e2558daec1f4b7072d923feeaa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72518 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alex-kulakov/dataobjects-net",
"max_stars_repo_path": "Orm/Xtensive.Orm/Core/Interfaces/IHasVersion.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72519"
} | starcoder | <filename>Orm/Xtensive.Orm/Core/Interfaces/IHasVersion.cs<gh_stars>0
// Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
namespace Xtensive.Core
{
/// <summary>
/// Allows to track changes in object by its <see cref="Version"/>.
/// </s... | 2.206014 | 2e7b7fdcb307b12e043f7a7de9bb1681 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72519 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "pronoooobster/Selectio",
"max_stars_repo_path": "Assets/Chart And Graph/Script/Text/ChartLabelAlignment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72520"
} | starcoder | <filename>Assets/Chart And Graph/Script/Text/ChartLabelAlignment.cs<gh_stars>1-10
#define Graph_And_Chart_PRO
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public enum ChartLabelAlignment
{
Top,
Base
}
| 1.742203 | 0dd4e6132faff9412a9721e708934fe9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72520 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Lombiq/Open-Source-Orchard-Extensions",
"max_stars_repo_path": "src/Orchard/ContentManagement/Handlers/CloneContentContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72521"
} | starcoder | namespace Orchard.ContentManagement.Handlers {
public class CloneContentContext : ContentContextBase {
public CloneContentContext(ContentItem contentItem) : base(contentItem) {
}
}
}
| 1.616704 | 0a175acaf9a1d88bc382f16dd4c11e15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72521 | {
"extension": "c-sharp",
"max_stars_count": "63.0",
"max_stars_repo_name": "yonsaber/Otter",
"max_stars_repo_path": "Examples/FlippyFlop/HudTitleInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72522"
} | starcoder | <filename>Examples/FlippyFlop/HudTitleInfo.cs
using Otter.Core;
using Otter.Graphics;
using Otter.Graphics.Text;
using Otter.Utility;
using Otter.Utility.Glide;
namespace FlippyFlop
{
class HudTitleInfo : Entity
{
public RichText TextTitle = new RichText("FLIPPY FLOP", 50);
public RichText Tex... | 2.351505 | 0af767a8f17bca8fe59185793552701d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72522 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "surrenity/battleSimulatorTest",
"max_stars_repo_path": "BattleSimulatorTest/Units/Barbarian.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72523"
} | starcoder | using System;
namespace BattleSimulatorTest
{
public class Barbarian : Unit
{
public Barbarian(string name)
:base()
{
this.Health = 8;
this.ManaPoints = 0;
this.MinDamage = 5;
this.MaxDamage = 10;
this.MovementPoints = 3;
this.Name = name;
this.AttackRange = ... | 2.335261 | d53fb7cae45ddc0b74e04ed8dc390d52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72523 | {
"extension": "c-sharp",
"max_stars_count": "3180.0",
"max_stars_repo_name": "sm-g/MvvmCross",
"max_stars_repo_path": "MvvmCross.Plugins/Messenger/Subscriptions/TypedSubscription.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72524"
} | starcoder | <reponame>sm-g/MvvmCross<filename>MvvmCross.Plugins/Messenger/Subscriptions/TypedSubscription.cs<gh_stars>1000+
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MS-PL license.
// See the LICENSE file in the project root for more information.
u... | 1.944633 | ba5c904817f619e37d4461406db80cd2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72524 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MatheusLittig/top-or-flop",
"max_stars_repo_path": "api/Services/Models/AnimeListService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72525"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using api.Data.EFCore.Intefaces;
using api.Models;
using api.Services.Interfaces;
namespace api.Services.Models
{
public class AnimeListService : IAnimeListService
{
private readonly IEFCoreAnimeListsRepository _animeListRepository;
public An... | 2.473209 | 007fbff35ff1c6fcca62ed5cc8da875e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72525 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Neroz1x/GSU.Museum",
"max_stars_repo_path": "GSU.Museum.API/Services/CompareService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72526"
} | starcoder | using GSU.Museum.API.Interfaces;
using GSU.Museum.CommonClassLibrary.Interfaces;
using GSU.Museum.CommonClassLibrary.Models;
using System.Collections.Generic;
namespace GSU.Museum.API.Services
{
public class CompareService : ICompareService
{
public bool IsEquals(int hashCode, IMuseumItemDTO item)
... | 2.912073 | 442206cd717cceb64cd4e9ec2ca7ce84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72526 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "havenindustries/Amusoft.VisualStudio.TemplateGenerator",
"max_stars_repo_path": "src/Generator.Shared/Transformation/SolutionTemplateContentBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72527"
} | starcoder | <filename>src/Generator.Shared/Transformation/SolutionTemplateContentBuilder.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Generator.Shared.Serialization;
using Folder = Generator.Shared.Template.Folder;
using Project = Generator.Shared.Template.Project;
namespace Generator.Shared.Transf... | 2.481903 | 4f28cc6b2b04752132f32626844809c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72527 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anedyalkov/CSharp-Programming-Fundamentals",
"max_stars_repo_path": "Lambda and LINQ-Exercises/Lambda and LINQ-Exercises/01.Register Users/01.Register Users.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72528"
} | starcoder | <reponame>anedyalkov/CSharp-Programming-Fundamentals
namespace _01.Register_Users
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
public class Program
{
public static void Main()
{
var registeredUsers = new Dictionary... | 3.184822 | 438c0271e6ed14715fef10989afe5a2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72528 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GhazanfarKhan/MicroserviceArchitecture",
"max_stars_repo_path": "test/IdentityMicroservice.UnitTests/IdentityControllerTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72529"
} | starcoder | using IdentityMicroservice.Controllers;
using IdentityMicroservice.Model;
using IdentityMicroservice.Repository;
using Microsoft.AspNetCore.Mvc;
using Middleware;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace IdentityMicroservice.UnitTests
{
public class Ident... | 2.19484 | 72606f53590cbdb0cc56429a6866b848 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72529 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "lennybacon/Thinktecture.IdentityModel",
"max_stars_repo_path": "source/Core/X509Certificates/X509CertificatesName.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72530"
} | starcoder | <filename>source/Core/X509Certificates/X509CertificatesName.cs
/*
* Copyright (c) <NAME>, <NAME>. All rights reserved.
* see LICENSE
*/
using System.ComponentModel;
using System.Security.Cryptography.X509Certificates;
namespace Thinktecture.IdentityModel
{
[EditorBrowsable(EditorBrowsableState.Never)]
pu... | 2.3138 | c12532172369d7e843eb50d4320faad2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72530 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "massimde/SitecoreDataImporter",
"max_stars_repo_path": "Sitecore.SharedSource.DataImporter/App_Start/AreaRegistration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72531"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Sitecore.SharedSource.DataImporter.App_Start
{
public class DataImportAreaRegistration : AreaRegistration
{
public override string AreaName => "DataImport";
public override voi... | 1.794091 | 9fef19504e0f766a7d8e98a48c8dd759 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72531 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mssplitio/.net-client",
"max_stars_repo_path": "Net SDK Unit Tests/Unit Tests/Client/RedisSplitManagerUnitTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72532"
} | starcoder | <gh_stars>0
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Splitio.Services.Cache.Classes;
using Splitio.Domain;
using System.Collections.Concurrent;
using System.Collections.Generic;
using Splitio.Services.Client.Classes;
using Moq;
using Splitio.Services.Cache.Interfaces;
using Splitio.Redis.Services.Clie... | 2.108554 | 1946760e515676ec92f2667967a009cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 72532 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daniel2IT/ToDoWebApp",
"max_stars_repo_path": "ToDoWebApp/Services/ToDoItemService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:72533"
} | starcoder | <filename>ToDoWebApp/Services/ToDoItemService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using ToDoWebApp.Models;
using ToDoWebApp.Repository;
namespace ToDoWebApp.Services
{
public class ToDoItemService : IToDoItemService
{
private readonly TodoAPIRepository TodoItems;
... | 3.05605 | ed26ad3f5fd7e3ff4b9a1a75f7059761 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.