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 | 8839984 | {
"extension": "c-sharp",
"max_stars_count": "149.0",
"max_stars_repo_name": "EasyAbp/Shop",
"max_stars_repo_path": "plugins/Coupons/src/EasyAbp.EShop.Plugins.Coupons.Domain/EasyAbp/EShop/Plugins/Coupons/CouponTemplates/ICouponTemplateRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159204"
} | starcoder | <filename>plugins/Coupons/src/EasyAbp.EShop.Plugins.Coupons.Domain/EasyAbp/EShop/Plugins/Coupons/CouponTemplates/ICouponTemplateRepository.cs<gh_stars>100-1000
using System;
using Volo.Abp.Domain.Repositories;
namespace EasyAbp.EShop.Plugins.Coupons.CouponTemplates
{
public interface ICouponTemplateRepository : IR... | 1.530255 | aa0d932490867556b7d99dfadf79fb20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839985 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "KristopherMoore/Midnight-The-Final-Sun",
"max_stars_repo_path": "Assets/Scripts/Enemy Scripts/EnemySpawnFountain.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159205"
} | starcoder | <reponame>KristopherMoore/Midnight-The-Final-Sun
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//class to handle a spawning set of enemies
//VERY inefficient script, made for TESTING purposes
public class EnemySpawnFountain : MonoBehaviour {
private List<GameObject> enemyList;
... | 2.653202 | 97bf84292441c5c7018f627f5cfa6fce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839986 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CrewNerd/BoatTracker",
"max_stars_repo_path": "src/BoatTrackerBot.Tests/ContextExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159206"
} | starcoder | namespace BoatTrackerBot.Tests
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
public static class ContextExtensions
{
public static string GetDirectLineToken(this TestContext context)
{
return context.Properties["DirectLineToken"].ToString();
}
public st... | 1.740253 | 9ebb7776b571b41194e70acecd9764f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839987 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "MicrohexHQ/csharp-sdk",
"max_stars_repo_path": "test/TransactionTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159207"
} | starcoder | using binance.dex.sdk.broadcast;
using binance.dex.sdk.crypto;
using binance.dex.sdk.message;
using binance.dex.sdk.model;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace binance.dex.sdk.test
{
public class TransactionTest
{
[Fact]
public void WalletTe... | 1.681098 | 31d5114b29c1facddd4ca3c5f691115d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839988 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "xfleckx/BeMoBI_VREF",
"max_stars_repo_path": "Scripts/Logic/Timer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159208"
} | starcoder | using System;
using System.Collections;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.EventSystems;
namespace Assets.VREF.Scripts.Logic
{
public class Timer : MonoBehaviour, IEventSystemHandler
{
public string aName = "NameOfYourTimer";
public float Duration = 10;
pu... | 2.556925 | 02aaffed67343410216489c769e8618b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839989 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "devpandya/Xamarin",
"max_stars_repo_path": "Xamarin/XamarinApp/XamarinApp.DatabaseAccess/DatabaseConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159209"
} | starcoder | <reponame>devpandya/Xamarin
using SQLite;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xamarin.Forms;
using XamarinApp.Models;
namespace XamarinApp.DatabaseAccess
{
public class DatabaseConnection
{
private static SQLiteAsyncConnection _sqlConnection;
private static bo... | 2.100134 | c9df78e4f41a67b85b3151a5cb9a0319 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839990 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "FellowshipOfTheGame/treinamento2019-grupo3",
"max_stars_repo_path": "Projeto Treinamento 3 - 2019/Assets/Scripts/Managers/UIManager/UIManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159210"
} | starcoder | <filename>Projeto Treinamento 3 - 2019/Assets/Scripts/Managers/UIManager/UIManager.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class UIManager : MonoBehaviour
{
public static UIManager instance;
public Text[... | 2.547615 | 535cf81d952d8a937ce0673ad5f3f558 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839991 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nguyendev/DVMN",
"max_stars_repo_path": "Code/DVMN/DoVuiHaiNao/Views/Gallery/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:159211"
} | starcoder | <reponame>nguyendev/DVMN
@model DoVuiHaiNao.Models.GalleryViewModels.GalleryViewModel
@{
ViewData["Title"] = "Tất cả hình ảnh trong đố vui hại não" + "| Dovuihainao.Net";
ViewData["Desciption"] = "Do vui hai nao";
string scheme = Context.Request.Scheme;
string host = Context.Request.Host.Host;
stri... | 2.355707 | 53c819fd3e3371051c2c0ae701dd0d29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839992 | {
"extension": "c-sharp",
"max_stars_count": "483.0",
"max_stars_repo_name": "i-yangchun/Helios",
"max_stars_repo_path": "src/Helios/Channels/Sockets/AbstractSocketChannel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159212"
} | starcoder | <reponame>i-yangchun/Helios
// Copyright (c) Petabridge <https://petabridge.com/>. All rights reserved.
// Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information.
// See ThirdPartyNotices.txt for references to third party code used inside Helios.
using System;
using S... | 2.045414 | 377dc35df71071e1047038daa999576c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839993 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "netonjm/Xamarin.PropertyEditing",
"max_stars_repo_path": "Xamarin.PropertyEditing/Drawing/CommonRadialGradientBrush.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159213"
} | starcoder | using System;
using System.Collections.Generic;
namespace Xamarin.PropertyEditing.Drawing
{
/// <summary>
/// Represents a radial gradient in the property editor panel.
/// A focal point defines the beginning of the gradient, and a circle defines the end point of the gradient.
/// </summary>
[Serializable]
publi... | 2.930451 | 3a53f244d43c325f21e73d08ff4d319a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839994 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrija-mitrovic/FZWS",
"max_stars_repo_path": "FZWS.ConsoleUI/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159214"
} | starcoder | using FZWS.Core;
using FZWS.Core.Models.Lager;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace FZWS.ConsoleUI
{
class Program
{
const string USTANOVA_ID = "******";
const string ORG_JEDINICA = "****... | 2.471852 | c1876b1ca352f074cd8bde6d1e34b3b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839995 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "erniephillips/WeightApp",
"max_stars_repo_path": "WeightApp/Adapters/ListViewTextLeftRightAdapter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159215"
} | starcoder | using Android.Views;
using Android.Widget;
using DataAccessLayer.Models;
using System.Collections.Generic;
/*
* <NAME> : 01/27/2022
* Purpose: Display profile and weight entry page listview
* Function: Adapter is passed a list of a custom object for displaying left & right side text that user can click which loads a... | 2.781395 | 6a48c6e1e47d8c0ae0996ef4e7ce8a2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839996 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LeSphax/ML-agents",
"max_stars_repo_path": "unity-environment/Assets/ML-Agents/Examples/Matchmaking/Matchmaking.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159216"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class Matchmaking : MonoBehaviour
{
public const int MAX_VALUE = 50;
public const int BATCH_MAX_SIZE = 10;
private GameObject batchPanel;
private GameObject resultPanel;
private... | 2.412085 | 20b8df01c886ac415218057f2bd5f601 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839997 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Energinet-DataHub/geh-charges",
"max_stars_repo_path": "source/GreenEnergyHub.Charges/source/GreenEnergyHub.Charges.Tests/MessageHub/Models/AvailableChargeData/AvailableChargeDataFactoryTests.cs",
"provenance": "train-00027-of-00045.j... | starcoder | <filename>source/GreenEnergyHub.Charges/source/GreenEnergyHub.Charges.Tests/MessageHub/Models/AvailableChargeData/AvailableChargeDataFactoryTests.cs
// Copyright 2020 Energinet DataHub A/S
//
// Licensed under the Apache License, Version 2.0 (the "License2");
// you may not use this file except in compliance with the ... | 1.627717 | 94fc492ad6578fe0ef7f9e5ecd9abfa7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839998 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "Husqvik/SQLPad",
"max_stars_repo_path": "SqlPad.Oracle/SemanticModel/OracleInsertTarget.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159218"
} | starcoder | using System.Collections.Generic;
using System.Linq;
namespace SqlPad.Oracle.SemanticModel
{
public class OracleInsertTarget : OracleReferenceContainer
{
public OracleInsertTarget(OracleStatementSemanticModel semanticModel) : base(semanticModel)
{
}
public StatementGrammarNode RootNode { get; set; }
publ... | 1.952674 | 1959bd31e1b598a1d3da10259729db67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839999 | {
"extension": "c-sharp",
"max_stars_count": "378.0",
"max_stars_repo_name": "Zangorr/StardewMods",
"max_stars_repo_path": "Common/Integrations/JsonAssets/IJsonAssetsApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159219"
} | starcoder | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Pathoschild.Stardew.Common.Integrations.JsonAssets
{
/// <summary>The API provided by the Json Assets mod.</summary>
public interface IJsonAssetsApi
{
/// <summary>Get the custom spritesheet for an in-game entity, and ... | 2.580087 | 5a083287618da4553e640ea11ef5d6da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840000 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "smoogipooo/BinaryBitLib",
"max_stars_repo_path": "BinaryBitLibTests/NumericsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159220"
} | starcoder | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BinaryBitLib;
using System.IO;
namespace BinaryBitLibTests
{
[TestClass]
public class NumericsTests
{
[TestMethod]
public void TestUnsignedShort()
{
using (MemoryStream ms = new MemoryS... | 2.635514 | 41975290ee8146a32952be1a5836d1db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840001 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Gallio/mbunit-v2",
"max_stars_repo_path": "src/mbunit/TestFu/Data/OracleClient/OracleAdministrator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159221"
} | starcoder | <reponame>Gallio/mbunit-v2<filename>src/mbunit/TestFu/Data/OracleClient/OracleAdministrator.cs<gh_stars>1-10
using System;
using System.Text;
namespace TestFu.Data.OracleClient
{
public sealed class OracleAdministrator : DbAdministrator
{
public OracleAdministrator(string connectionString, stri... | 2.095043 | f7cb32cf9806b457e334905479f1d4f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840002 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "aalitor/AltoMultiThreadDownloadManager-master",
"max_stars_repo_path": "DownloadManagerPortal/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159222"
} | starcoder | <reponame>aalitor/AltoMultiThreadDownloadManager-master
using AltoMultiThreadDownloadManager.NativeMessages;
using DownloadManagerPortal.SingleInstancing;
using Newtonsoft.Json;
using System;
using System.Windows.Forms;
namespace DownloadManagerPortal
{
static class Program
{
/// <summary>
///... | 1.705949 | 5950d2a5a91737f6ed7c54de4fd66ad1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840003 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "otahirs/ClubIS",
"max_stars_repo_path": "CoreLayer/DTOs/PaymentListDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159223"
} | starcoder | using System;
using ClubIS.CoreLayer.Enums;
namespace ClubIS.CoreLayer.DTOs
{
public class PaymentListDTO
{
public int Id { get; set; }
public DateTime Date { get; set; }
public string ExecutorName { get; set; }
public string SourceAccountName { get; set; }
public strin... | 1.749413 | 93cf54a8f852aa64b6d9cfb2d5fa9009 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840004 | {
"extension": "c-sharp",
"max_stars_count": "137.0",
"max_stars_repo_name": "scareyo/TMPE",
"max_stars_repo_path": "TLM/TLM/U/UIScaler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159224"
} | starcoder | <reponame>scareyo/TMPE<gh_stars>100-1000
namespace TrafficManager.U {
using System;
using ColossalFramework.UI;
using TrafficManager.State;
using TrafficManager.Util;
using UnityEngine;
/// <summary>
/// Code of UIScaler from ModTools by <NAME>
/// https://github.com/kianzarrin/Skylines... | 2.142249 | e23d70663b6157f424d87550317a05a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840005 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BillDinger/SCHackathon2016",
"max_stars_repo_path": "src/Feature/PageContent/code/Views/PageContent/PageTeaser.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:159225"
} | starcoder | <gh_stars>0
@using Sitecore.Feature.PageContent
@using Sitecore.Foundation.SitecoreExtensions.Extensions
@using Sitecore.Foundation.SitecoreExtensions.Repositories
@model Sitecore.Mvc.Presentation.RenderingModel
@if (Model.Item == null)
{
return;
}
<div class="teaser teaser-default">
<h3 class="teaser-heading">
... | 1.928756 | 941969f093c0ffe451ae23932682cf9f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840006 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pgourlain/Captura",
"max_stars_repo_path": "src/Captura/Presentation/ValueConverters/InkToolToIconConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159226"
} | starcoder | <gh_stars>0
using System;
using System.Globalization;
using System.Windows.Controls;
using System.Windows.Data;
namespace Captura
{
public class InkToolToIconConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
v... | 1.991749 | 30ebfdc0a241ecc5da353e94ac1e76d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840007 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "vmanthena/aspnetwebstack",
"max_stars_repo_path": "src/System.Web.Http.WebHost/Routing/HttpWebRoute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159227"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Net.Http;
using System.Web.Http.Routing;
using System.Web.Routing;
namespace System.Web.Http.WebHo... | 2.434862 | 3ffc199a0a45d442339fbcefdc60b8b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840008 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iwaag/AGAsset",
"max_stars_repo_path": "StdUtil/StdAssetReferers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159228"
} | starcoder | using AGDev.StdUtil;
using System.Collections.Generic;
namespace AGAsset.StdUtil {
public class RepositoryReferer : AssetReferer {
void AssetReferer.ReferAsset(AssetUnitInfo assetUnitInfo, AssetReferenceListener listener) {
var strings = assetUnitInfo.reference.Split(' ');
if (strings[0].EndsWith(".git")) {
... | 2.193463 | 84acd8992a52a9766c15e560cf0ebc64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840009 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Panda-Lewandowski/DataBase",
"max_stars_repo_path": "Exam/C#/ConsoleApplication11/ConsoleApplication11/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159229"
} | starcoder | <filename>Exam/C#/ConsoleApplication11/ConsoleApplication11/Program.cs<gh_stars>1-10
using System;
using System.Data;
using System.Data.SqlClient;
namespace ConsoleApplication11
{
class Program
{
static void Main(string[] args)
{
string connectionString = @"Data Source=.\... | 3.075338 | d0e90ff8756a66970c46184d94258c20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840010 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "haramizu/headstart",
"max_stars_repo_path": "src/Middleware/integrations/ordercloud.integrations.library/extensions/AssemblyExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159230"
} | starcoder | using System;
using System.Linq;
using System.Reflection;
namespace ordercloud.integrations.library
{
public static class AssemblyExtensions
{
public static Type GetTypeByAttribute<T>(this Assembly assembly, Func<T, bool> op) where T : Attribute
{
var commands = assembly.GetTypes()... | 2.533623 | 2623d3389e8e47ca37e602129aa20b8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840011 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Heber94/Settler",
"max_stars_repo_path": "Assets/Scripts/Eventos/TormentaArena.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159231"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TodosLosEventos
{
public class TormentaArena : Evento
{
/* TODO
* Cambiar la clase a como sea que se llame la clase edificio.
*/
//private Edificio EdificioReforzado;
System.Random rnd = new System.R... | 2.926078 | 92babef098399d354cc0a0ec91e5d47d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840012 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "adamlarner/angularbooking",
"max_stars_repo_path": "AngularBooking.Tests/Data/Repository/Db/DbRepositoryVenueTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159232"
} | starcoder | <reponame>adamlarner/angularbooking
using AngularBooking.Data;
using AngularBooking.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace AngularBooking.Tests.Data.Repository.Db
{
public class DbRepositoryVenueTest : DbRepositoryTestBase
{
... | 2.445982 | 66fde44ff74170f8dbae0b9c4bde4bc6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840013 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "jeffersondidisilva/Orion",
"max_stars_repo_path": "src/SharedKernel/Orion.DataContracts/Results/ValidationErrorResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159233"
} | starcoder | using System.Collections.Generic;
namespace Orion.DataContracts.Results
{
public record ValidationErrorResult
{
public string Field { get; init; }
public IList<string> Messages { get; init; }
}
} | 1.568309 | 36356677a4cc672c81dcacd554980ed7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840014 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adrianwright109/razor-tooling",
"max_stars_repo_path": "src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test.Common/LanguageServerTestBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159234"
} | starcoder | <filename>src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test.Common/LanguageServerTestBase.cs
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See License.txt in the project root for license information.
#nullable disable
using System;
using System.Collections.Gene... | 1.681581 | 1bca9e115972834d8002e17042620761 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840015 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "e1ement/RT-BACK",
"max_stars_repo_path": "Contracts/IRepositoryManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159235"
} | starcoder | namespace Contracts
{
public interface IRepositoryManager
{
IValueRepository ValueRepository { get; }
IFtpSettingsRepository FtpSettingsRepository { get; }
ITaskRepository TaskRepository { get; }
IUserRepository UserRepository { get; }
IDialogRepository DialogRepository ... | 1.495875 | 25d984d3e25b81366696796eeab6dc94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840016 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RichiCoder1/Cake.TeamCity",
"max_stars_repo_path": "src/SolutionInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159236"
} | starcoder | <reponame>RichiCoder1/Cake.TeamCity
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Cake.
// </auto-generated>
//------------------------------------------------------------------------------
using System.Reflection;
[assembly: Asse... | 1.436133 | d5e23407bfbd921322190f9e6f64a390 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840017 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prayzzz/LivestreamStarter",
"max_stars_repo_path": "Service/Extensions/RepositoryExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159237"
} | starcoder | using System.Linq;
using BaseEntities;
using Services.Interfaces;
namespace Services.Extensions
{
public static class RepositoryExtension
{
public static GameModel GetGameOrDefault(this IRepository repository, string name)
{
return repository.GetQueryable<GameModel>().FirstOrDefa... | 2.60726 | dfe4dfcfd1052a98ea5778971cd948f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840018 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "msaykov/OLT-FSP",
"max_stars_repo_path": "OLT-FSP/Models/Ports/AddPortFormModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159238"
} | starcoder | namespace OLT_FSP.Models.Ports
{
using System.ComponentModel.DataAnnotations;
using static Data.DataConstants;
public class AddPortFormModel
{
public int Number { get; set; } // AutoFill
//[Display(Name = "Select Zone")]
//[Required]
//[StringLength(ZoneMaxLength, Mi... | 2.286468 | 067a0ae1aa80bc8d5717479983eb2a26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840019 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "dseller/DolDoc.NET",
"max_stars_repo_path": "DolDoc.Editor/Entries/Indent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159239"
} | starcoder | <reponame>dseller/DolDoc.NET<filename>DolDoc.Editor/Entries/Indent.cs
using DolDoc.Editor.Commands;
using DolDoc.Editor.Core;
using System.Collections.Generic;
namespace DolDoc.Editor.Entries
{
[Entry("ID")]
public class Indent : DocumentEntry
{
public Indent(IList<Flag> flags, IList<Argu... | 2.443747 | 82af6a7c3cf3f277ea1edef8f4b230f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840020 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rbx44/RX.Pharmacy.Web",
"max_stars_repo_path": "src/RX.Svng.Web.Service.Test/Services/ApiValidationServiceTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159240"
} | starcoder | <reponame>rbx44/RX.Pharmacy.Web
using System.Linq;
using RX.Svng.Web.Service.Models;
using RX.Svng.Web.Service.Services;
using Xunit;
namespace RX.Svng.Web.Service.Test.Services
{
public class ApiValidationServiceTest
{
private readonly ApiValidationService _apiValidationService;
public ApiVa... | 2.076277 | dfba6d4e54b8b3c793be5b2af2a89e09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840021 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "WickedFlame/Polaroider",
"max_stars_repo_path": "src/Tests/Polaroider.Tests/UpdateSnapshot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159241"
} | starcoder | using System.Linq;
using FluentAssertions;
using NUnit.Framework;
namespace Polaroider.Tests
{
public class UpdateSnapshot
{
[Test]
[UpdateSnapshot]
public void Update()
{
var resolver = new SnapshotSetupResolver();
var reader = new Snapshot... | 2.037977 | b9e3806fa71cf3e9da950357c21ebf16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840022 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nandehutuzn/WPFPlayerDemo",
"max_stars_repo_path": "WPFPlayerDemo/DesktopLyric.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159242"
} | starcoder | <reponame>nandehutuzn/WPFPlayerDemo
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Im... | 1.859506 | 61f683a070895d3fc8d9ff5970208e59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840023 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "chetanra/FacebookMessengerWebhooks",
"max_stars_repo_path": "FBMessenger/BaseTypes/Recipient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159243"
} | starcoder | using Newtonsoft.Json;
namespace Facebook.Messenger
{
public class Recipient
{
// Gets or sets the Id. These IDs are page-scoped IDs (PSID). This means that the IDs are unique for a given page.
[JsonProperty("id")]
public string Id { get; set; }
// Gets or sets the ... | 2.395548 | 11f442158d775a4abf74397330894dd5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840024 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kamilk08/BookLoversApi",
"max_stars_repo_path": "BookLovers.Auth.Infrastructure/Mappings/AudienceMapping.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159244"
} | starcoder | using AutoMapper;
using BookLovers.Auth.Domain.Audiences;
using BookLovers.Auth.Infrastructure.Persistence.ReadModels;
namespace BookLovers.Auth.Infrastructure.Mappings
{
public class AudienceMapping : Profile
{
public AudienceMapping()
{
CreateMap<Audience, AudienceReadModel>()
... | 2.250854 | 7f4fe94af68bab1449ef2d1d0c2d75c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840025 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "YarGU-Demidov/math-site",
"max_stars_repo_path": "src/MathSite/Controllers/ErrorsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159245"
} | starcoder | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace MathSite.Controllers
{
public class ErrorsController : Controller
{
[AllowAnonymous]
[Route("/error/404")]
public IActionResult NotFound404()
{
Response.StatusCode = 404;
... | 2.144557 | a8b0bb618d06605fd9f5314bc58a5716 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840026 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "the-code-man/timeseries-data-store",
"max_stars_repo_path": "core/TimeSeries.Shared.Contracts/Entities/SingleValueTimeSeries.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159246"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace TimeSeries.Shared.Contracts.Entities
{
public class SingleValueTimeSeries
{
[Key]
public int DataId { get; set; }
public string Source { get; set; }
public double Time { get; set; }
public double Value { get; set... | 2.017256 | 3c2f19d81e50ff7f9cf9848c287611e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840027 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "timik44452/Raytraicing",
"max_stars_repo_path": "Tracer/Tracer/GDI/FrameBuffer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159247"
} | starcoder | <filename>Tracer/Tracer/GDI/FrameBuffer.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace GDI
{
public class FrameBuffer
{
public int[] Data;
public FrameBuffer(int Width, int Height)
{
Data = new int[Width * Height];
}
}
}
| 2.188929 | ab29db027ba16788eac572d4eb5ac237 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840028 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edoomm/evaseac",
"max_stars_repo_path": "app/Evaseac/User Controls/Workgroup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159248"
} | starcoder | <reponame>edoomm/evaseac
using System;
using System.Data;
using System.Threading.Tasks;
using System.Windows.Forms;
using Evaseac.Properties;
using Evaseac.User.Google_Drive;
using Evaseac.Boxes;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
using System.Diagnosti... | 2.199879 | d8676e719676ebba95e846bc64399ab9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840029 | {
"extension": "c-sharp",
"max_stars_count": "277.0",
"max_stars_repo_name": "CyberSys/coreclr-mono",
"max_stars_repo_path": "src/mscorlib/corefx/System/Globalization/TextElementEnumerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159249"
} | starcoder | <reponame>CyberSys/coreclr-mono
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
//
////////////////////////////////////////////////////////////////////////////
//
// Class: TextElementEnumerator
//
// Pur... | 2.831351 | 4e094563b644cf3ec849c7ed686607d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840030 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dpozimski/monuments-manager",
"max_stars_repo_path": "source/Core/Monuments.Manager.Application/Monuments/Queries/GetRecentMonumentDetailsQueryHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159250"
} | starcoder | <gh_stars>0
using MediatR;
using Monuments.Manager.Application.Exceptions;
using Monuments.Manager.Application.Monuments.Extensions;
using Monuments.Manager.Application.Monuments.Models;
using Monuments.Manager.Domain.Entities;
using Monuments.Manager.Persistence;
using System.Collections.Generic;
using System.Threadi... | 1.997088 | 889aecbc30b1ee8c31737cb17f669d8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840031 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "akorda/git4e",
"max_stars_repo_path": "src/Git4e.Abstractions/LazyHashableObjectBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159251"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
namespace Git4e
{
/// <summary>
/// Provides a base class of all lazy hashable objects. It provides a hashable object
/// instance in a later time i... | 2.911554 | aa598d5aee60ea4c5d8d44085f23af77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840032 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mToxicCode/toxicode-sso-api",
"max_stars_repo_path": "src/ToxiCode.SSO.Api/Handlers/GetUser/GetUserCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159252"
} | starcoder | <gh_stars>0
using MediatR;
namespace ToxiCode.SSO.Api.Handlers.GetUser;
public record GetUserCommand(Guid UserId, string IpAddress, bool IsExtended) : IRequest<AuthenticateResponse>; | 0.909044 | dd21eb07166ee3027698bee9fe543581 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840033 | {
"extension": "c-sharp",
"max_stars_count": "230.0",
"max_stars_repo_name": "studentutu/dotsnav",
"max_stars_repo_path": "Assets/DotsNav/Core/Systems/EndDotsNavEntityCommandBufferSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159253"
} | starcoder | using Unity.Entities;
namespace DotsNav.Systems
{
/// <summary>
/// Runs as last system in DotsNavSystemGroup. Assign to DotsNavSystemGroup.EcbSource to us as an alternative
/// to EndFixedStepSimulationEntityCommandBufferSystem which is used by default.
/// </summary>
[UpdateInGroup(typeof... | 1.948213 | 7c29106b6cdcf2649405c62e7198a2d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840034 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stairaku/embc-ess-mod",
"max_stars_repo_path": "ess/src/API/EMBC.Tests.Integration.ESS/WebAppTestBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159254"
} | starcoder | using System;
using EMBC.ESS;
using Microsoft.AspNetCore.Mvc.Testing;
using Microsoft.Extensions.DependencyInjection;
using Serilog;
using Xunit;
using Xunit.Abstractions;
namespace EMBC.Tests.Integration.ESS
{
public class WebAppTestFixture<TStartup> : WebApplicationFactory<TStartup>
where TStartup : cla... | 1.929606 | 718cd0d14004f7dee35d60d64edf30d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840035 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "stanac/LiteApi",
"max_stars_repo_path": "LiteApi/LiteApi/Attributes/AttributeConventions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159255"
} | starcoder | <filename>LiteApi/LiteApi/Attributes/AttributeConventions.cs
namespace LiteApi
{
/// <summary>
/// Internally used for describing how to resolve some of the validation errors.
/// </summary>
internal static class AttributeConventions
{
public static string ErrorResolutionSuggestion =>
... | 2.674315 | d5aa8144ebf27676e86636665e4ef043 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840036 | {
"extension": "c-sharp",
"max_stars_count": "3147.0",
"max_stars_repo_name": "tomy2105/elsa-core",
"max_stars_repo_path": "src/core/Elsa.Abstractions/Events/WorkflowExecutionBurstCompleted.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159256"
} | starcoder | <gh_stars>1000+
using Elsa.Services.Models;
using MediatR;
namespace Elsa.Events
{
/// <summary>
/// Fired when the workflow runner queue was completely processed.
/// </summary>
public class WorkflowExecutionBurstCompleted : INotification
{
public WorkflowExecutionBurstCompleted(WorkflowE... | 1.764907 | 09b7be73f65a341ec5f98c95aad32628 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840037 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SupportedTlsVersions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159257"
} | starcoder | <reponame>gjy5885/azure-sdk-for-net<filename>sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SupportedTlsVersions.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.ComponentModel;
na... | 2.305628 | f202d97ddf47c192607f3d2e09177468 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840038 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ahsanfarooq216/Assignment5",
"max_stars_repo_path": "Q4GetMinStack/Q4GetMinStack/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159258"
} | starcoder | <filename>Q4GetMinStack/Q4GetMinStack/Program.cs
using System;
using System.Collections;
namespace Q4GetMinStack
{
class Program
{
static void Main(string[] args)
{
MyStack s = new MyStack();
s.Push(5);
s.Push(4);
s.Push(3);
s.Push(3)... | 3.563172 | 7db584ff78ecb2168eee1a70591d3365 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840039 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AscenKeeprov/CSharp-OOP-Basics",
"max_stars_repo_path": "Exercise4-Inheritance/BookShop/Book.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159259"
} | starcoder | using System;
using System.Text;
public class Book
{
private string title;
private const string InvalidTitle = "Title not valid!";
private string author;
private const string InvalidAuthor = "Author not valid!";
private decimal price;
private const string InvalidPrice = "Price not valid!";
... | 3.704208 | 837b9471eb8b4124a2a832f6bed4d212 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840040 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "Jumpercables/Wave",
"max_stars_repo_path": "src/Wave.Extensions.Miner/ESRI/ArcGIS/Geodatabase/Extensions/Exceptions/MissingFieldModelName.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159260"
} | starcoder | namespace ESRI.ArcGIS.Geodatabase
{
/// <summary>
/// An exception that indicates a field is missing a model name.
/// </summary>
public class MissingFieldModelNameException : MissingModelNameException
{
#region Constructors
/// <summary>
/// Initializes a new insta... | 2.88791 | be50a557057be1ee7af772314045e4b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840041 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "KaiWalter/family-board-lambda-signalr",
"max_stars_repo_path": "FamilyBoardInteractive/Flows.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159261"
} | starcoder | <reponame>KaiWalter/family-board-lambda-signalr
using FamilyBoardInteractive.Models;
using Microsoft.Azure.WebJobs;
using System.Threading.Tasks;
namespace FamilyBoardInteractive
{
public class Flows
{
[FunctionName(nameof(FullBoardUpdate))]
public static async Task FullBoardUpdate(
... | 1.918234 | a601bf836864605ca7cca286259e7c1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840042 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SimonGeering/ChatterBot",
"max_stars_repo_path": "src/Core/ChatterBot/Core/Config/ApplicationSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159262"
} | starcoder | <reponame>SimonGeering/ChatterBot
using System.Text;
namespace ChatterBot.Core.Config
{
public class ApplicationSettings
{
public string Entropy { get; set; } = string.Empty;
public byte[] SaltBytes => Encoding.UTF8.GetBytes(Entropy);
public string LightDbConnection { get; set; } = str... | 1.911771 | 68b0b7223dcd4f9d9752039d1e801da5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840043 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vic-alexiev/Miscellanea",
"max_stars_repo_path": "src/SnakeGame/SnakeGame.Console/ConsoleSnake.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159263"
} | starcoder | <gh_stars>0
using SnakeGame.Common;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SnakeGame.ConsoleApp
{
public class ConsoleSnake
{
private Dictionary<Direction, Point> deltas;
private Queue<... | 2.975884 | 35acbd620b7e72cd363f7c16d6d1f84e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840044 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mdekrey/GraphLinQL",
"max_stars_repo_path": "GraphLinqQL.StarWars.EFCore/StarWars/Implementations/PageInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159264"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GraphLinqQL.StarWars.Implementations
{
class PageInfo : Interfaces.PageInfo.GraphQlContract<PageInfoValues>
{
public override IGraphQlScalarResult<string?> EndCursor()
{
return this.Reso... | 2.248548 | 338d7cf8ab4c6165b0ad8a74b1a51334 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840045 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "richstep/TVWS-DB-Code",
"max_stars_repo_path": "src/Portal/Views/Account/ExternalLoginFailure.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:159265"
} | starcoder | <!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->
@{
ViewBag.Title = "Login Failure";
}
<hgroup class="title">
<h1>@ViewBag.Title.</h1>
<h2>Unsuccessful login with service.</h2>
</hgroup>
| 1.726756 | 6b0fa1d38d9bd8f0901d3b33f472673d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840046 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scottenriquez/cdktf-alpha-csharp-testing",
"max_stars_repo_path": "resources/.gen/aws/aws/Wafv2WebAclRuleStatementNotStatementStatementAndStatementStatementNotStatementStatementSqliMatchStatementFieldToMatchQueryString.cs",
"provenanc... | starcoder | using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiByValue(fqn: "aws.Wafv2WebAclRuleStatementNotStatementStatementAndStatementStatementNotStatementStatementSqliMatchStatementFieldToMatchQueryString")]
public class Wafv2WebAclRuleStatementNotStatementStatementAn... | 1.360668 | b83d6833c6d663830d23e0478a87f497 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840047 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "caedriel/theFirstValkyrieRemasted",
"max_stars_repo_path": "DoYouKnowTheWay/Assets/Scripts/SpawnSystemCs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159267"
} | starcoder | <reponame>caedriel/theFirstValkyrieRemasted
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SpawnSystemCs : MonoBehaviour
{
#region Game Settings
[Header("WaveCount")]
[SerializeField]
private int waveCount;
[SerializeField]
priv... | 2.146754 | bd7f38ad34a34be367def93cbaafb5a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840048 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "usausa/XamarinFormsComponents",
"max_stars_repo_path": "Example.FormsApp/Example.FormsApp/Modules/Dialog/NumberView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159268"
} | starcoder | <gh_stars>0
namespace Example.FormsApp.Modules.Dialog
{
using Example.FormsApp.Modules;
using XamarinFormsComponents.Popup;
[Popup(DialogId.InputNumber)]
public partial class NumberView
{
public NumberView()
{
InitializeComponent();
}
}
}
| 0.786949 | 13804760557ddba8841b133badcacb5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840049 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "blairconrad/fluentassertions",
"max_stars_repo_path": "FluentAssertions.Net35/Common/Services.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159269"
} | starcoder | namespace FluentAssertions.Common
{
/// <summary>
/// Maintains the framework-specific services.
/// </summary>
internal static class Services
{
static Services()
{
ResetToDefaults();
}
public static void ResetToDefaults()
{
Configura... | 2.372279 | 68862924f5005107dbc4ece6b609f540 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840050 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "j-fdion/facturation",
"max_stars_repo_path": "Views/Gestion/Facture.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:159270"
} | starcoder | <reponame>j-fdion/facturation
@model Facture
@using AppFactu.Models;
@using System.Text;
@using System.Globalization;
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/paper-css/0.3.0/paper.css">
<style>
@@page {
size: letter
}
... | 2.130585 | 6c3e00b2de320ccb8b24a2567bba19fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840051 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "pudds/cfl-api.net",
"max_stars_repo_path": "src/v1/Core/Models/Players/KickoffReturns.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159271"
} | starcoder | <reponame>pudds/cfl-api.net<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace mdryden.cflapi.v1.Models.Players
{
public class KickoffReturns
{
[JsonProperty("kickoff_returns")]
public int KickoffRetu... | 1.874676 | 2c143d12e8fe1d53d9199dfbb6c4474e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840052 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AJEETX/PetRego.Demo",
"max_stars_repo_path": "PetRego.Demo/V1/Models/Links.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159272"
} | starcoder | <filename>PetRego.Demo/V1/Models/Links.cs
using System.Collections.Generic;
namespace PetRego.Demo.V1.Models
{
public class LinkInfo
{
public string Href { get; set; }
public string Rel { get; set; }
public string Method { get; set; }
}
public class Link<T>
{
public... | 2.234223 | 3a87a0c060b59cd3261bbe5351ce2410 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jaredthirsk/LionFire.Core",
"max_stars_repo_path": "src/LionFire.ObjectBus.Abstractions/OBases/Resolution/IReferenceToOBaseService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159273"
} | starcoder | <filename>src/LionFire.ObjectBus.Abstractions/OBases/Resolution/IReferenceToOBaseService.cs
using LionFire.Referencing;
namespace LionFire.ObjectBus
{
public interface IReferenceToOBaseService
{
(IOBus OBus, IOBase OBase) Resolve(IReference input);
IOBus ResolveOBus(IReference input);
... | 1.888084 | bb6ce8c14953c1527cd494f1dc23f409 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840054 | {
"extension": "c-sharp",
"max_stars_count": "389.0",
"max_stars_repo_name": "ai408/abp-vue-admin-element-typescript",
"max_stars_repo_path": "aspnet-core/modules/platform/LINGYUN.Platform.EntityFrameworkCore/LINGYUN/Platform/EntityFrameworkCore/PlatformEfCoreQueryableExtensions.cs",
"provenance": "train-0002... | starcoder | <gh_stars>100-1000
using LINGYUN.Platform.Datas;
using LINGYUN.Platform.Layouts;
using LINGYUN.Platform.Menus;
using Microsoft.EntityFrameworkCore;
using System.Linq;
namespace LINGYUN.Platform.EntityFrameworkCore
{
public static class PlatformEfCoreQueryableExtensions
{
public static IQueryable<Layo... | 2.314849 | acf3ab66aefd2aeb1113905c586d0c05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840055 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "radoikoff/SoftUni",
"max_stars_repo_path": "DB Advanced/BusTicketsSystem/BusTicketsSystem.Models/BusCompany.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159275"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace BusTicketsSystem.Models
{
public class BusCompany
{
public int Id { get; set; }
[Required]
public string Name { get; set; }
public string Nationality { get; set; }
... | 1.991346 | 208a89dfe845151fda4efd072f336b0a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840056 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pokornysimon/NetfoxDetective",
"max_stars_repo_path": "NetfoxCore/Common/Core/Interfaces/Model/Exports/IFileMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159276"
} | starcoder | namespace Netfox.Core.Interfaces.Model.Exports
{
public interface IFileMessage
{
string Name { get; set; }
}
} | 1.522295 | 559ac6a0a3910c6109d67f5d35acec4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840057 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "jasonjoh/dotnet-tutorial",
"max_stars_repo_path": "dotnet-tutorial/Views/Home/Contacts.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:159277"
} | starcoder | @* Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE.txt in the project root for license information.*@
@model IEnumerable<Microsoft.Graph.Contact>
@{
ViewBag.Title = "Contacts";
}
<h2>Contacts</h2>
<table class="table">
<tr>
<th>
DisplayName
... | 2.625896 | 984b7551ff64003c1339dfff97d92b3b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840058 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bewood/OpenAdStack",
"max_stars_repo_path": "ActivitiesCommon/ActivityUtilitiesUnitTests/DynamicAllocationUtilitiesFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159278"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="DynamicAllocationUtilitiesFixture.cs" company="Rare Crowds Inc">
// Copyright 2012-2013 Rare Crowds, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in c... | 2.02446 | a24473bc29a48844f4267a54fdccc7e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840059 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dogukanalan/Sultanlar",
"max_stars_repo_path": "Sultanlar/Sultanlar.UI/frmINTERNETanketler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159279"
} | starcoder | <filename>Sultanlar/Sultanlar.UI/frmINTERNETanketler.cs
using Sultanlar.DatabaseObject.Internet;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace S... | 2.438641 | 0949f19ee5efedaf9341543bfe44cc78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840060 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Library-Starlight/ProgramerCore",
"max_stars_repo_path": "PInvoke/PlatformInvoke/PointerHelper/PointerExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159280"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace System
{
/// <summary>
/// <see cref="IntPtr"/>扩展方法
/// </summary>
public static class PointerExtensions
{
#region 扩展方法
// 实际使用时,将泛型类型改为实际的类型。
// 使用泛型会导致IntellSence出现大量无用的扩展方法
/// <summary>
/// ... | 3.195484 | c371094fc42634cf7d76b0e5874df864 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840061 | {
"extension": "c-sharp",
"max_stars_count": "136.0",
"max_stars_repo_name": "Embodimentgeniuslm3/GHOSTS",
"max_stars_repo_path": "src/Ghosts.Client/Infrastructure/TempFiles.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159281"
} | starcoder | <reponame>Embodimentgeniuslm3/GHOSTS
// Copyright 2017 <NAME>. All Rights Reserved. See LICENSE.md file for terms.
using System;
using System.IO;
using System.Threading;
using NLog;
namespace Ghosts.Client.Infrastructure
{
public class TempFiles
{
private static readonly Logger _log = LogM... | 2.568645 | 8fd01551563e462d29c69159685cbcaf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840062 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ebruaktas99/personeltakipprojesi",
"max_stars_repo_path": "personeltakip/personeltakip/Form2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159282"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.OleDb;
//regex kütüphanesinin tanımlanması.Görevi:Güvenli parola oluşturmayı sağlayan h... | 2.424536 | 5364832ae83d2d97ef5033a6e60bdcc7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840063 | {
"extension": "c-sharp",
"max_stars_count": "568.0",
"max_stars_repo_name": "NicolaAtorino/NBench",
"max_stars_repo_path": "src/NBench.TestAssembly/ConfigBenchmark.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159283"
} | starcoder | <gh_stars>100-1000
// Copyright (c) Petabridge <https://petabridge.com/>. All rights reserved.
// Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Syste... | 2.416035 | 11ef08142b926cb3ba79cb0d9510c588 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840064 | {
"extension": "c-sharp",
"max_stars_count": "63.0",
"max_stars_repo_name": "masastack/MASA.Contrib",
"max_stars_repo_path": "src/Storage/Masa.Contrib.Storage.ObjectStorage.Aliyun/Internal/DefaultAliyunStorageOptionProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159284"
} | starcoder | // Copyright (c) MASA Stack All rights reserved.
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
namespace Masa.Contrib.Storage.ObjectStorage.Aliyun.Internal;
internal class DefaultAliyunStorageOptionProvider : IAliyunStorageOptionProvider
{
private AliyunStorageOp... | 1.895677 | 240ea3a0aa3896bc6a80ac891a228f9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840065 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "panosru/CleanDDDArchitecture",
"max_stars_repo_path": "Domains/Account/Application/UseCases/UpdateDetails/UpdateDetailsUseCase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159285"
} | starcoder | <reponame>panosru/CleanDDDArchitecture
namespace CleanDDDArchitecture.Domains.Account.Application.UseCases.UpdateDetails
{
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Aggregates;
using Aviant.DDD.Application.Orchestration;
using Aviant.DDD.Application.UseCases;... | 2.314256 | 3cff42366424e7fedfeaa20ce9e3365a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840066 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VZhuck/fsync-cli",
"max_stars_repo_path": "FSyncCli/Core/Dataflow/CalculateFileHashTransformBlock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159286"
} | starcoder | using System;
using System.IO;
using System.Security.Cryptography;
using System.Threading.Tasks.Dataflow;
using FSyncCli.Infrastructure;
namespace FSyncCli.Core.Dataflow
{
public class CalculateFileHashTransformBlock
{
private readonly IFileRepoService _sourceFileRepoService;
public IPropagat... | 2.347968 | 62633e547c0e2f6d0cc841ff2929d917 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840067 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "robinrizvi/Audio-Gallery-Suite",
"max_stars_repo_path": "Software/audiogallery/manageuser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159287"
} | starcoder | /* --------------------------------------------------------------------------------------------------------------------
* AUDIO-GALLERY-SUITE
* --------------------------------------------------------------------------------------------------------------------
* Author: <NAME>
* Email: <EMAIL>
* We... | 2.381015 | b8a3a2b1496480ecb505f33c3c014a8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840068 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "sanderploegsma/aoc",
"max_stars_repo_path": "2016/csharp/Day06/Solution.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159288"
} | starcoder | using System.Collections.Generic;
using System.Linq;
namespace AdventOfCode2016.Day06
{
internal class Solution
{
private readonly char[,] _input;
public Solution(IEnumerable<string> input)
{
_input = Matrix.Create(input.Select(x => x.ToArray()).ToArray());
... | 3.25826 | 06e8dc131901a6363230b533d90f4a1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840069 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stefb965/WindowsTemplateStudio",
"max_stars_repo_path": "code/src/UI/ViewModels/ProjectSetupViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159289"
} | starcoder | // ******************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILI... | 1.837625 | 07875c34791cd7cfe89e6e476994be4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840070 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "punchjay/CSHP330A",
"max_stars_repo_path": "ProjectOne/src/ProjectOne.Database/Class.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159290"
} | starcoder | using System.Collections.Generic;
namespace ProjectOne.Database
{
public partial class Class
{
public Class()
{
UserClass = new HashSet<UserClass>();
}
public int ClassId { get; set; }
public string ClassName { get; set; }
public string ClassDescrip... | 2.286413 | ddb066eac5d07393f2f8509f996aacff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840071 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Alexxx2207/CSharpAdvanced",
"max_stars_repo_path": "Defining Classes-ex/PokemonTrainer/Trainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159291"
} | starcoder | <filename>Defining Classes-ex/PokemonTrainer/Trainer.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace Pokemon_Trainer
{
class Trainer
{
public int ID { get; set; }
public string Name { get; set; }
public int NumberOfBadges { get; set; }
... | 2.66026 | fba178a6a8ec09d3468a0927fb39383f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840200 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "Swiftpaws/xsemmel",
"max_stars_repo_path": "Xsemmel/Helpers/XmlDocumentEx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159420"
} | starcoder | <reponame>Swiftpaws/xsemmel<filename>Xsemmel/Helpers/XmlDocumentEx.cs
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Xml;
using XSemmel.Configuration;
namespace XSemmel.Helpers
{
public static class XmlDocumentEx
{
public static string ToUTF8String(this XmlDocum... | 2.437642 | 0db566f4be8e01d8d72161b0a6369d7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840201 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "PelionIoT/mbed-cloud-sdk-dotnet",
"max_stars_repo_path": "src/Legacy/Backends/ConnectorCa/Model/DeveloperCertificateRequestData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159421"
} | starcoder | <filename>src/Legacy/Backends/ConnectorCa/Model/DeveloperCertificateRequestData.cs
/*
* <auto-generated>
* Connect CA API
*
* mbed Cloud Connect CA API allows services to get device credentials.
*
* OpenAPI spec version: 3
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
* </auto-generate... | 2.176054 | 2b2157f2d0fb2009e4091de8de305916 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840202 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ReuseReduceRecycle/HitagiBot",
"max_stars_repo_path": "HitagiBot/Services/LastFm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159422"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using HitagiBot.Exceptions;
using IF.Lastfm.Core.Api;
using IF.Lastfm.Core.Objects;
namespace HitagiBot.Services
{
public static class LastFm
{
private static readonly LastfmClient LastfmHandle =
new LastfmC... | 2.512964 | a6df27b168721a37f2987b4d71618386 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840203 | {
"extension": "c-sharp",
"max_stars_count": "117.0",
"max_stars_repo_name": "alipay/alipay-sdk-net",
"max_stars_repo_path": "AlipaySDKNet/Response/AlipayCommerceIotServiceutilBuildtextSendResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159423"
} | starcoder | using System;
using System.Xml.Serialization;
namespace Aop.Api.Response
{
/// <summary>
/// AlipayCommerceIotServiceutilBuildtextSendResponse.
/// </summary>
public class AlipayCommerceIotServiceutilBuildtextSendResponse : AopResponse
{
/// <summary>
/// 语音文件id
... | 1.329229 | 74c6d17cb1b7113a1abdbb4e74f6a7c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840204 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Liang-Zhinian/CqrsFrameworkDotNet",
"max_stars_repo_path": "Sample/Reservation/src/Services/Catalog/Catalog.Api/Infrastructure/CatalogContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159424"
} | starcoder | <reponame>Liang-Zhinian/CqrsFrameworkDotNet
using System;
namespace Catalog.Api.Infrastructure
{
using Microsoft.EntityFrameworkCore;
using Model;
using Microsoft.EntityFrameworkCore.Design;
using Catalog.Api.Infrastructure.Mappings;
public class CatalogContext : DbContext
{
public Cat... | 2.12436 | dcb9600cf81e418bee89ba54e771b8a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840205 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "base31/Stact",
"max_stars_repo_path": "src/Stact.Specs/Channels/RequestResponseContext_Specs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159425"
} | starcoder | <filename>src/Stact.Specs/Channels/RequestResponseContext_Specs.cs
namespace Stact.Specs.Channels
{
using Stact;
using Magnum.Extensions;
using Magnum.TestFramework;
[Scenario]
public class Sending_a_request
{
UntypedChannel _client;
UntypedChannel _server;
[Given]
public void Two_channel... | 2.660637 | 5d34b2421d7841333b7845fc9cad62bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840206 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "miko-t/stickman_new",
"max_stars_repo_path": "Assets/Scripts/Tutorials/Limb.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159426"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Limb : MonoBehaviour {
//the list of all the limb parts.
private List<LimbPart> parts = new List<LimbPart> ();
// the end Root, with means all out position would be relative to this transform,
/... | 2.274158 | 9d70e72c4f9147494d61c26a18c98016 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840207 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "seand88/PlanetServer",
"max_stars_repo_path": "UnityClient/PlanetServer/Src/Core/MessageHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159427"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.Remoting;
using PS.Events;
namespace PS.Core
{
sealed class MessageHelper
{
public static PsEvent CreateMessage(string name)
{
MessageType message = MessageType.ValueOf(name);
ObjectHandle obj = Activ... | 2.304325 | 75bbbba592ec3ff467bc07fba892fd3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840208 | {
"extension": "c-sharp",
"max_stars_count": "188.0",
"max_stars_repo_name": "NETMF/llilum",
"max_stars_repo_path": "Zelig/Zelig/RunTime/Framework/Windows/Storage/Streams/IOutputStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159428"
} | starcoder | //
// Copyright (c) Microsoft Corporation. All rights reserved.
//
using System;
namespace Windows.Storage.Streams
{
using Windows.Foundation;
public interface IOutputStream : IDisposable
{
IAsyncOperationWithProgress<uint, uint> WriteAsync(IBuffer buffer);
IAsyncOperation<bool> FlushAs... | 1.552236 | 0cffd85b56038d7638fbf96c1179ba31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840209 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Italbytz/random-extensions-nuget",
"max_stars_repo_path": "Italbytz.Extensions.Random/Italbytz.Extensions.Random/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159429"
} | starcoder | <filename>Italbytz.Extensions.Random/Italbytz.Extensions.Random/Extensions.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace Italbytz.Extensions
{
public static class Extensions
{
// Return a random value between 0 inclusive and max exclusive.
public static double... | 3.565434 | a5f167a49c1fc9f6ef85bdb694c53f76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840210 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BlairCorban/AlterEarth2.0",
"max_stars_repo_path": "CatchingAnimals/Assets/Scripts/staywithnav.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159430"
} | starcoder | <filename>CatchingAnimals/Assets/Scripts/staywithnav.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class staywithnav : MonoBehaviour {
public Transform tr1;
public Transform tr2;
// Use this for initialization
void Start () {
}
// Update is called once per f... | 2.250085 | e2843253908fbf8b2b34f85d020a11f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840211 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andr3196/Scenario",
"max_stars_repo_path": "src/Scenario.Domain/Services/EventHandling/IScenarioEventService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159431"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
using Scenario.Domain.Models.Scenarios;
using Scenario.Domain.Shared.Events;
namespace Scenario.Domain.Services.EventHandling
{
public interface IScenarioEventService
{
Task HandleEvent<TEvent, TEntity>(TEvent @event, CancellationToken cancellation... | 1.919276 | d228574ce90b5623fb1122387697e1d0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.