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 | 2537 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "securenative/securenative-dotnet",
"max_stars_repo_path": "SecureNative.SDK/Context/SecureNativeContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2538"
} | starcoder | using System.Collections.Generic;
namespace SecureNative.SDK.Context
{
public class SecureNativeContext
{
private string ClientToken { get; set; }
private string Ip { get; set; }
private string RemoteIp { get; set; }
private Dictionary<string, string> Headers { get; set; }
... | 2.484644 | dba8705c686520390b129ed9bc3ad34f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2538 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Asheshz/website",
"max_stars_repo_path": "nuget.cake",
"provenance": "train-00000-of-00045.jsonl.gz:2539"
} | starcoder | <gh_stars>0
#addin "nuget:https://api.nuget.org/v3/index.json?package=Polly&version=7.1.0"
#addin "nuget:https://api.nuget.org/v3/index.json?package=LitJson&version=0.13.0"
#addin "nuget:https://api.nuget.org/v3/index.json??package=Cake.FileHelpers&version=3.3.0"
using System.Net.Http;
using Polly;
public static void... | 2.281877 | 732c0144c31dda186f6f74da7aeceeda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2539 | {
"extension": "c-sharp",
"max_stars_count": "1142.0",
"max_stars_repo_name": "qhdwight/silk-net",
"max_stars_repo_path": "src/OpenAL/Silk.NET.OpenAL/AudioException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2540"
} | starcoder | <reponame>qhdwight/silk-net<gh_stars>1000+
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace Silk.NET.OpenAL
{
/// <summary>
/// Represents exceptions related to the audio subsystem.
/// </summa... | 2.091336 | 12d3b4a71f23c8d1032cc88a9cdc7a72 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2540 | {
"extension": "c-sharp",
"max_stars_count": "86.0",
"max_stars_repo_name": "alexanderdna/AmeowCoin",
"max_stars_repo_path": "AmeowGUI/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2541"
} | starcoder | using System;
using System.IO;
using System.Windows.Forms;
namespace Ameow.GUI
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
public static void Main()
{
Application.SetHighDpi... | 2.519057 | fd4de7b4ae04dc87e3fae8aa60b1995c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2541 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IT-rolling-out/IRO.Telegram.Bot.LikeMvc",
"max_stars_repo_path": "samples/IRO.Samples.AspWebhooks/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2542"
} | starcoder | <gh_stars>1-10
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Telegram.Bot.AspNetPipeline.Core;
using Telegram.Bot.AspN... | 2.227594 | 19de26701702104edb4fdfc519e9d463 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2542 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Nigelmnz/DuelGame",
"max_stars_repo_path": "Unity/Assets/Scripts/MenuNetworkController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2543"
} | starcoder | using UnityEngine;
using System.Collections;
using SocketIO;
using System.Collections.Generic;
public class MenuNetworkController : MonoBehaviour {
public MenuController mc;
public SocketIOComponent socket;
public GlobalState gs;
// Use this for initialization
void Start () {
//Get connection instance
gs = ... | 2.165385 | 7568066ebd1c74692bfbec8a56d611f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2543 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "LordZoltan/Rezolver",
"max_stars_repo_path": "test/Rezolver.Tests/Targets/ScopedTargetTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2544"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit.Abstractions;
using Xunit;
using Rezolver.Targets;
namespace Rezolver.Tests.Targets
{
public class ScopedTargetTests : TargetTestsBase
{
public ScopedTargetTests(ITestOutputHelper ou... | 2.529747 | add5802534345eceff7ba90dcad27963 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2544 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "territorytools/territory-tools",
"max_stars_repo_path": "Alba/Controllers/AzureMaps/GeocodeResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2545"
} | starcoder | <filename>Alba/Controllers/AzureMaps/GeocodeResult.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Controllers.AzureMaps
{
public class GeocodeResult
{
public Summary summary { get; set; }
public Result[] results { get; set; }
}
public class Summary
... | 2.289098 | 69f2c6989dc73de95912f7a1abdae33f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2545 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dolittle/DotNET.Fundamentals",
"max_stars_repo_path": "Source/Build/BuildMessages.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2546"
} | starcoder | // Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Dolittle.Lifecycle;
namespace Dolittle.Build
{
/// <summary>
/// Represents an implementation of <see cref="IBuildMessages"/>.
/// </sum... | 2.541651 | cbf337bb8d162a45c133c9509acd9281 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2546 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jaredthirsk/LionFire.Behaviors",
"max_stars_repo_path": "LionFire.Behaviors/Recurrance/PollingProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2547"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace LionFire.Behaviors
{
#if NO_COROUTINES
public interface IPollingProvider
{
void Register(IPoller poller);
void Unregister(IPoller poller)... | 1.719488 | 00e06de1be7eff67b0a3b17421051a88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2547 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "test-wiz-sec/pulumi-azure-nextgen",
"max_stars_repo_path": "sdk/dotnet/Media/Latest/Outputs/ContentKeyPolicySymmetricTokenKeyResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2548"
} | starcoder | <gh_stars>0
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace... | 1.379783 | b2137783eb608d3cd0d31ebfd6e1f161 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2548 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gasparekferenc/hrmApp.N-Layer.MVC",
"max_stars_repo_path": "scr/hrmApp/hrmApp.Web/Views/Shared/Components/DataSheetProcessStatus/Default.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:2549"
} | starcoder | <reponame>gasparekferenc/hrmApp.N-Layer.MVC<filename>scr/hrmApp/hrmApp.Web/Views/Shared/Components/DataSheetProcessStatus/Default.cshtml<gh_stars>0
@using hrmApp.Web.Constants
@model hrmApp.Web.ViewModels.ComponentsViewModels.ProcessStatusViewModel
@{
ViewData["CardTitleName"] = "Felvételi folyamat státusza";
}
... | 2.161464 | a9f5ca3a908287a9bad10fb2dc2e0e01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2549 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leonard-thieu/toofz-necrodancer-leaderboards-entityframework",
"max_stars_repo_path": "toofz.NecroDancer.Leaderboards.Data/SqlCommandException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2550"
} | starcoder | using System;
using System.Data.SqlClient;
using System.Text;
namespace toofz.NecroDancer.Leaderboards
{
public sealed class SqlCommandException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="SqlCommandException"/> class with a specified error message and
... | 3.26456 | dd44f012dd67455f9190bc60027f347e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2550 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TN8001/SimpleAudioPlayer",
"max_stars_repo_path": "SimpleAudioPlayer/View/Normal.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2551"
} | starcoder | <reponame>TN8001/SimpleAudioPlayer
using System.Windows.Controls;
namespace SimpleAudioPlayer
{
public partial class Normal : UserControl
{
public Normal()
{
InitializeComponent();
}
}
}
| 1.250014 | 5ed3a64d8151c004dc6a2470828b518b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2551 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jakubsenk/ReliefTool",
"max_stars_repo_path": "ReliefTool/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2552"
} | starcoder | <gh_stars>1-10
using ReliefLib;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ReliefTool
{
class Program
{
static void Main(string[] args)
{
DataPreparatorOptions options = new DataPrepa... | 2.593243 | b4840475bc9753d6c7951dfbe2bbea91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2552 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AlFasGD/runtime",
"max_stars_repo_path": "src/libraries/System.Runtime.Extensions/tests/System/Environment.GetEnvironmentVariable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2553"
} | starcoder | <reponame>AlFasGD/runtime
// 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.Collections;
using System.Collections.Generic;
using System.IO;
using System.... | 2.013017 | 9e4fd421cc396512395844dcf46ee9d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2553 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Wincent01/DeathBlow-Editor",
"max_stars_repo_path": "Assets/Scripts/DeathBlow/Components/World/ZoneDetails.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2554"
} | starcoder | <reponame>Wincent01/DeathBlow-Editor<gh_stars>1-10
using System;
using UnityEngine;
using System.Collections.Generic;
using UnityEditor;
using DeathBlow;
using InfectedRose.Luz;
using InfectedRose.Lvl;
using System.Linq;
using DeathBlow.Components;
using System.IO;
using RakDotNet.IO;
using InfectedRose.Database.Conce... | 1.828728 | 95b91e2fd20115a779ccf7c0d9a555e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2554 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xxlhcgxx/JTableFuncao",
"max_stars_repo_path": "FI.AtividadeEntrevista/DAL/Beneficiarios/DaoBeneficiario.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2555"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FI.AtividadeEntrevista.DML;
namespace FI.AtividadeEntrevista.DAL
{
/// <summary>
/// Classe de acesso a dados de beneficiario
/// </summary>
internal class DaoBe... | 2.377265 | fc0655a0389e250b7c08b2f50344bff9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2555 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "project-scorpio/Scorpio",
"max_stars_repo_path": "src/EntityFrameworkCore/src/Scorpio.EntityFrameworkCore/Scorpio/EntityFrameworkCore/ScorpioDbContextOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2556"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Scorpio.EntityFrameworkCore.DependencyInjection;
namespace Scorpio.EntityFrameworkCore
{
/// <summary>
///
/// </summary>
public class ScorpioDbContextOptions
{
private readonly Dictionary<Type, List<IModelCreatingC... | 2.233598 | 12ad1f9d68982d627bae60ece2fea1d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2556 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "ladimolnar/BitcoinBlockchain",
"max_stars_repo_path": "Sources/BitcoinBlockchainSample/BlockchainStatistics.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2557"
} | starcoder | <filename>Sources/BitcoinBlockchainSample/BlockchainStatistics.cs
//-----------------------------------------------------------------------
// <copyright file="BlockchainStatistics.cs">
// Copyright © <NAME>. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------... | 2.632369 | d2d08532393718ee689e9991f653ce31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2557 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "twwalter/moorestech",
"max_stars_repo_path": "Server.Protocol/PacketResponse/Player/CoordinateToChunkBlocks.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2558"
} | starcoder | <gh_stars>1-10
using Game.World.Interface;
using Game.World.Interface.DataStore;
using Server.Protocol.PacketResponse.Const;
namespace Server.PacketHandle.PacketResponse.Player
{
public static class CoordinateToChunkBlocks
{
public static int[,] Convert(Coordinate coordinate, IWorldBlockDatastore worl... | 2.395536 | 7c76b282e9ebd59a94a08085250c7b2e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2558 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "snebjorn/mvc-onion-template",
"max_stars_repo_path": "UnitTests/Examples/FakeDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2559"
} | starcoder | using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web.Mvc;
using AutoMapper;
using Faker;
using Microsoft.AspNet.Identity;
using NSubstitute;
using Presentation.Web.Controllers;
using Presentation.Web.Mail;
using Presentation.Web.Models.Student;
using Xunit;
using Core.DomainS... | 2.561899 | f4de2b1c1bae7199055b5bb25c0bb2a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2559 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sneumann/pwiz",
"max_stars_repo_path": "pwiz_tools/Skyline/EditUI/RefineDlg.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2560"
} | starcoder | /*
* Original author: <NAME> <brendanx .at. u.washington.edu>,
* MacCoss Lab, Department of Genome Sciences, UW
*
* Copyright 2009 University of Washington - Seattle, WA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th... | 1.501275 | a621b49d054a985244fe5c279b590b41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2560 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jdruin/Wolfpack-Redux",
"max_stars_repo_path": "Wolfpack.Core.Interfaces/IActivityPlugin.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2561"
} | starcoder | namespace Wolfpack.Core.Interfaces
{
/// <summary>
/// Marker interface to differentiate Activity
/// </summary>
public interface IActivityPlugin : IServicePlugin, ICanBeSwitchedOff
{
}
} | 1.535341 | 3900c202ab242998cd45d9ab3d328300 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2561 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NateKeefe/Reflector",
"max_stars_repo_path": "Scribe.Connector.Common.Reflection/PropertyType/Specialized/NInt16Property.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2562"
} | starcoder | <reponame>NateKeefe/Reflector
namespace Scribe.Connector.Common.Reflection.PropertyType.Specialized
{
using System;
internal sealed class NInt16Property : SimpleNullableProperty<short>
{
public NInt16Property(ISettablePropertyDef pDef, string propName, Type propType, Func<object, object> getter, A... | 2.351748 | 484de971f8b0f83ff577c4fe1ecc6f60 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2562 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lil-kita/expo-server-sdk-dotnet",
"max_stars_repo_path": "src/Exceptions/InvalidTokenException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2563"
} | starcoder | <filename>src/Exceptions/InvalidTokenException.cs
using System;
namespace ExpoCommunityNotificationServer.Exceptions
{
/// <summary>
/// The exception that is thrown when smth wrong with expo token
/// </summary>
[Serializable()]
public class InvalidTokenException : ArgumentNullException
{
... | 2.306833 | f6b6d51db0db1c99076c9835c642cce6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2563 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "LykkeCity/bitcoinservice",
"max_stars_repo_path": "src/BitcoinApi/Middleware/GlobalErrorHandlerMiddleware.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2564"
} | starcoder | <reponame>LykkeCity/bitcoinservice
using System;
using System.IO;
using System.Threading.Tasks;
using BitcoinApi.Extensions;
using Common;
using Common.Log;
using Microsoft.AspNetCore.Http;
namespace BitcoinApi.Middleware
{
public class GlobalErrorHandlerMiddleware
{
private readonly ILog _log;
... | 1.975722 | fabef5e86efb799fc4cc560edd2c7263 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2564 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ekfuji/ecommerceASP.NET",
"max_stars_repo_path": "ecommerce/ecommerce/Migrations/201809041143468_AddUsuario.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2565"
} | starcoder | namespace ecommerce.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class AddUsuario : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Usuario",
c => new
{
... | 2.029912 | 97fd1ca2f96592422e4d54976b1510d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2565 | {
"extension": "c-sharp",
"max_stars_count": "454.0",
"max_stars_repo_name": "ryanclarke/QuickGraph",
"max_stars_repo_path": "src/QuickGraph/Algorithms/TSP/TSP.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2566"
} | starcoder | using System.Collections.Generic;
using QuickGraph.Algorithms.ShortestPath;
using System;
namespace QuickGraph.Algorithms.TSP
{
public class TSP<TVertex, TEdge, TGraph> : ShortestPathAlgorithmBase<TVertex, TEdge, TGraph>
, ITreeBuilderAlgorithm<TVertex, TEdge>
where TGraph : BidirectionalGraph... | 2.694936 | a43590fa59f4a73a91f29fb9b92bf265 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2566 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "jfmc/FPSSample",
"max_stars_repo_path": "Packages/com.unity.shadergraph/Editor/Data/Interfaces/Graph/IGraph.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2567"
} | starcoder | <reponame>jfmc/FPSSample
using System;
using System.Collections.Generic;
namespace UnityEditor.Graphing
{
public interface IGraph : IOnAssetEnabled
{
IEnumerable<T> GetNodes<T>() where T : INode;
IEnumerable<IEdge> edges { get; }
void AddNode(INode node);
void RemoveNode(INode n... | 2.188856 | 9dbbe4c181915766679990b510ffd473 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2567 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dotlattice/LatticeObjectTree",
"max_stars_repo_path": "LatticeObjectTree/Comparison/ObjectTreeNodeDifference.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2568"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LatticeObjectTree.Comparison
{
/// <summary>
/// A difference between two nodes in an object tree.
/// </summary>
public class ObjectTreeNodeDifference
{
/// <summary>
/// C... | 3.33938 | 121e879d676ec23ea61d45e298bf7412 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2568 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BugsUK/FindApprenticeship",
"max_stars_repo_path": "src/SFA.Apprenticeships.Web.Manage/ViewModels/ReportVacancyExtensionsParameters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2569"
} | starcoder | <reponame>BugsUK/FindApprenticeship<gh_stars>1-10
namespace SFA.Apprenticeships.Web.Manage.ViewModels
{
using System.Web.UI.WebControls;
using System.Collections.Generic;
using Domain.Entities.Raa.Vacancies;
using Raa.Common.ViewModels.Report;
public class ReportVacancyExtensionsParameters : Repo... | 1.350491 | 7b6631e2de425bd4425318c64800c219 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2569 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wayne-o/delete-me",
"max_stars_repo_path": "source/Infrastructure/Azure/Infrastructure.Azure/MessageLog/AzureEventLogReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2570"
} | starcoder | // ==============================================================================================================
// Microsoft patterns & practices
// CQRS Journey project
// ==============================================================================================================
// ©2012 Microsoft. All rights re... | 2.158488 | 039a9c1c7d833f0b0d5033c2716dba7a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2570 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Juna-Idler/Titalyver2",
"max_stars_repo_path": "Titalyver2/ManualSearchWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2571"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 2.344029 | 478986dddb0d8e9519a5f3f01c265af1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2571 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "agilecreativity/pulumi-docker",
"max_stars_repo_path": "sdk/dotnet/Inputs/ContainerUploadGetArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2572"
} | starcoder | <filename>sdk/dotnet/Inputs/ContainerUploadGetArgs.cs
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using Syst... | 1.396376 | bf7564815945d4397327c5d29032ee50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2572 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pmsereno/Dnn.Platform",
"max_stars_repo_path": "DNN Platform/Library/Services/FileSystem/Wrappers/IconControllerWrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2573"
} | starcoder | <filename>DNN Platform/Library/Services/FileSystem/Wrappers/IconControllerWrapper.cs<gh_stars>0
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System;
using DotNetNuke.ComponentModel;
using DotN... | 1.873396 | b1160dec7156edadba5679a61f4fcc09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2573 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cesarsouza/DataTable",
"max_stars_repo_path": "Sources/DataTableTests/DataTableTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2574"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
using DataAccess;
using System.IO;
namespace DataTableTests
{
public class DataTableTests
{
[Fact]
public void SaveToCSV()
{
var dt = DataTable.New.FromEnumerab... | 3.336918 | dc1f503c2b7c3cf79e3c303ee8670d2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2574 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "erkinakdeniz/Identity",
"max_stars_repo_path": "Authantication_identity/Models/RecoveryPasswordViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2575"
} | starcoder | <filename>Authantication_identity/Models/RecoveryPasswordViewModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Authantication_identity.Models
{
public class RecoveryPasswordViewModel
{
public string Email { get; set; }
}
} | 1.817382 | 2b8beda4c9f485ec2109c2fffb4b7851 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2575 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YOGOIT/Adnc",
"max_stars_repo_path": "src/ServerApi/Services/Adnc.Usr/Adnc.Usr.Application/Services/DeptAppService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2576"
} | starcoder | using Adnc.Application.Shared.Services;
using Adnc.Core.Shared.IRepositories;
using Adnc.Infra.Common.Helper;
using Adnc.Usr.Application.Caching;
using Adnc.Usr.Application.Contracts.Dtos;
using Adnc.Usr.Application.Contracts.Services;
using Adnc.Usr.Core.Entities;
using Adnc.Usr.Core.Services;
using System.Collection... | 2.136344 | 243a2b6f2a37e1f34b63e68dce6d4a41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2576 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Moolight/MagiCloudSDK",
"max_stars_repo_path": "Assets/MagiCloud/Expansion/Features/Feature/MCNone.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2577"
} | starcoder | <reponame>Moolight/MagiCloudSDK<gh_stars>1-10
using System;
namespace MagiCloud.Features
{
/// <summary>
/// 无操作
/// </summary>
public class MCNone : MCOperaObject
{
}
}
| 1.213288 | 57e620376b8e2765ed72603f810c56d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2577 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pulumi/pulumi-kubernetes-crds",
"max_stars_repo_path": "operators/portworx-essentials/dotnet/Kubernetes/Crds/Operators/PortworxEssentials/Core/V1Alpha1/Outputs/StorageClusterSpecNodesNetwork.cs",
"provenance": "train-00000-of-00045.js... | starcoder | <reponame>pulumi/pulumi-kubernetes-crds
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serializati... | 1.462766 | 0a351092d8e88ef455d158473dbe02fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2578 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vesy53/SoftUni",
"max_stars_repo_path": "C# Advanced/C# OOP/LabAndExercises/08.InterfacesAndAbstractionExercise/p08.03.MilitaryElite/Contracts/ILieutenantGeneral.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2579"
} | starcoder | namespace p08._03.MilitaryElite.Contracts
{
using System.Collections.Generic;
public interface ILieutenantGeneral : IPrivate
{
IReadOnlyCollection<ISoldier> Privates { get; }
void AddPrivate(ISoldier newPrivate);
}
}
| 2.140366 | f46c699c0d31dea990b754314f9a68c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2579 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "codexdigitalcards/codex-online",
"max_stars_repo_path": "codex-test/TestClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2580"
} | starcoder | <reponame>codexdigitalcards/codex-online<gh_stars>0
using codex_online;
using Lidgren.Network;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Nez;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
n... | 2.077998 | ff9d2efebd93cf4a625fc972eb01caeb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2580 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mpomarlan/ease_ph_pr2_scenes",
"max_stars_repo_path": "Assets/RosSharp/Editor/MeshImporter/ColladaAssetPostProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2581"
} | starcoder | <reponame>mpomarlan/ease_ph_pr2_scenes
/*
© Siemens AG, 2017
Author: Dr. <NAME> (<EMAIL>)
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.00852 | 5590c4e495c4cab6a4a485eb14304ad2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2581 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/MicrosoftSecurityProductName.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2582"
} | starcoder | <reponame>gjy5885/azure-sdk-for-net
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior a... | 1.057073 | a1b802cfb748e4ab69e88d60d8edd07f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2582 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "shoy160/nopCommerce",
"max_stars_repo_path": "Tests/Nop.Data.Tests/Catalog/ProductSpecificationAttributePersistenceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2583"
} | starcoder | <reponame>shoy160/nopCommerce<filename>Tests/Nop.Data.Tests/Catalog/ProductSpecificationAttributePersistenceTests.cs<gh_stars>1-10
using System;
using Nop.Core.Domain.Catalog;
using Nop.Tests;
using NUnit.Framework;
namespace Nop.Data.Tests.Catalog
{
[TestFixture]
public class ProductSpecificationAttributePer... | 2.311913 | 1ec237b6abc16298e750debf0d000de9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2583 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GitHarr/SoftUni",
"max_stars_repo_path": "Homework/C#Fundamentals/C# OOP Basics/ExamPrep5September2017-GrandPrix/GrandPrix/Factories/DriverFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2584"
} | starcoder | <gh_stars>0
using System;
public class DriverFactory
{
public Driver CreateDriver(string type, string name, Car car)
{
Driver driver = null;
if (type == "Aggressive")
{
driver = new AggressiveDriver(name, car);
return driver;
}
else if (type == ... | 2.884262 | e68b76789b4aacefe793c2629017f27d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2584 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pixelapocalypseuk/aspnetboilerplatetest",
"max_stars_repo_path": "aspnet-core/src/test.Web.Mvc/Views/Shared/Components/TenantChange/_ChangeModal.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:2585"
} | starcoder | @using Abp.MultiTenancy
@using test.Web.Models.Common.Modals
@using test.Web.Views.Shared.Components.TenantChange
@model ChangeModalViewModel
@{
Layout = null;
}
@await Html.PartialAsync("~/Views/Shared/Modals/_ModalHeader.cshtml", new ModalHeaderViewModel(L("ChangeTenant")))
<form name="TenantChangeForm" role="f... | 1.879528 | e9f26db703835803b00c9dea53800eb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2585 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "OsvaldoMartini/Blazor_Projects",
"max_stars_repo_path": "blazor-tasks/src/BlazorTasks.Server/Infrastructure/Searching/SearchTerm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2586"
} | starcoder | using System;
namespace BlazorTasks.Server.Infrastructure
{
public class SearchTerm
{
public string Name { get; set; }
public string Operator { get; set; }
public string Value { get; set; }
public bool ValidSyntax { get; set; }
public ISearchExpressionProvider Expr... | 1.764432 | b849d88983ede113e2d5aca34382be06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2586 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "lennybacon/Thinktecture.IdentityModel",
"max_stars_repo_path": "source/EmbeddedSts/WsFed/EmbeddedTokenService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2587"
} | starcoder | <filename>source/EmbeddedSts/WsFed/EmbeddedTokenService.cs
/*
* Copyright (c) <NAME>, <NAME>. All rights reserved.
* see LICENSE
*/
using System.IdentityModel;
using System.IdentityModel.Configuration;
using System.IdentityModel.Protocols.WSTrust;
using System.Security.Claims;
namespace Thinktecture.IdentityMode... | 1.858116 | 4b3a01099b6ddba925f621dce89b3643 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2587 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marianahycit/IdentityServer4.LdapExtension",
"max_stars_repo_path": "IdentityServer.LdapExtension/LdapConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2588"
} | starcoder | /// <summary>
/// Configuration section that can be serialized from the AppSettings configuration.
/// </summary>
namespace IdentityServer.LdapExtension
{
public class LdapConfig
{
public string Url { get; set; }
public int Port { get; set; }
public bool Ssl { get; set; }
... | 2.027139 | 536cc8d87f7ee82edd80d35a1bd7fef0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2588 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Egaliterrier/Pandaros.Settlers",
"max_stars_repo_path": "Pandaros.Settlers/Pandaros.Settlers/IPandaDamage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2589"
} | starcoder | using System.Collections.Generic;
namespace Pandaros.Settlers
{
public interface IPandaDamage
{
Dictionary<DamageType, float> Damage { get; }
}
} | 1.91755 | 31203e24147dc283877542b31e459fe3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2589 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hwangce/33Toolkits",
"max_stars_repo_path": "ToolkitProject/XCopyGUI/obj/Debug/XCopyGUI_Content.g.i.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2590"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
[assembly: ... | 1.365816 | d3a138b5fcd20a3c136db732096c899f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2590 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheNoxNox/NoahB_AG231_ARProject",
"max_stars_repo_path": "ARProject_NoahB/Assets/MyProjectFiles/Scripts/Tower/TowerHitbox.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2591"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TowerHitbox : MonoBehaviour
{
public Tower myTower;
public void GetHit(float damage)
{
myTower.TakeDamage(damage);
}
}
| 1.692288 | 2eab2a31cb7674194e8a32c654474ba1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2591 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ForNeVeR/Avalonia",
"max_stars_repo_path": "src/Perspex.Styling/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2592"
} | starcoder | <filename>src/Perspex.Styling/Properties/AssemblyInfo.cs
// Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Reflection;
using Perspex.Metadata;
[assembly: AssemblyTitle("Perspex.Styling")]
[a... | 1.460248 | 56c28d52e65d075d32c56fe31d67cf72 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2592 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "im1sha/erp",
"max_stars_repo_path": "IterationMethod/IterationMethod/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2593"
} | starcoder | <filename>IterationMethod/IterationMethod/Program.cs
using ClosedXML.Excel;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace IterationMethod
{
internal class Program
{
private static void Main(string[] args)
{
const int TOTAL_ADDITIONAL_... | 2.689731 | ecd10e95f342817b4e61739a217045b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2593 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mmivanova/movie-api",
"max_stars_repo_path": "MovieAPI/MovieAPI/Controllers/MovieController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2594"
} | starcoder | <gh_stars>1-10
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using MovieAPI.Dtos.MovieDtos;
using MovieAPI.Services;
namespace MovieAPI.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class MovieController : ControllerBase
{
private readonly IMovi... | 2.603695 | b4b930a1ab7b79184ec8578ad1ab792c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2594 | {
"extension": "c-sharp",
"max_stars_count": "162.0",
"max_stars_repo_name": "JamesYing/JCWX",
"max_stars_repo_path": "WebClasses/Command.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2595"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WX.Framework;
namespace WX.Demo.WebClasses
{
public class Command
{
public string Keywords { get; set; }
public string Parameter { get; set; }
public IMessageHandler MessageHandler { get; set;... | 1.479403 | f9f9e77f97a45ff76166f515848e0016 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2595 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Sirokujira/MicroFrameworkPK_v4_3",
"max_stars_repo_path": "Framework/Tools/Emulator/ProtectedDataStorage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2596"
} | starcoder | <filename>Framework/Tools/Emulator/ProtectedDataStorage.cs
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved... | 2.236607 | 659f825f1a06606993a4b37134d15439 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2596 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "limnylopez/c-sharp",
"max_stars_repo_path": "Ejercicios/ProyectoFinal-POO/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2597"
} | starcoder | using System;
namespace Pos
{
class Program
{
static void Main(string[] args)
{
string opcion = "";
ProyectoFinal_POO pos = new ProyectoFinal_POO();
while (true)
{
Console.Clear();
Console.WriteLine(" SISTEMA ... | 2.883285 | 6bd890651c7b85e6e027b09883dad093 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2597 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pappabj0rn/AdventOfCode2019",
"max_stars_repo_path": "src/Aoc2019/IntcodeComputer/InstructionDecoder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2598"
} | starcoder | using System;
using System.Linq;
using Aoc2019.IntcodeComputer.Instructions;
namespace Aoc2019.IntcodeComputer
{
public interface IInstructionDecoder
{
void Decode(ComputerState state);
}
public class InstructionDecoder : IInstructionDecoder
{
private readonly Instruction[] _instr... | 3.015751 | a404c096486aca4970c4b28759aadadd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2598 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dhrobbins/Janga",
"max_stars_repo_path": "TestSuite/Employee.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2599"
} | starcoder | <reponame>dhrobbins/Janga<filename>TestSuite/Employee.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TestSuite
{
public class Employee
{
public string FirstName { get; set; }
public string LastName { get; set; }
public int Age { get; ... | 2.063808 | d71dd17b3baf7590f6f62bca9e4f5c1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2599 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Higurashi-kagome/Algorithms-4th-Edition-in-Csharp",
"max_stars_repo_path": "2 Sorting/2.2/2.2.18/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2600"
} | starcoder | <gh_stars>1-10
using System;
using _2._2._18;
var a = new LinkedList<int>();
var shuffle = new MergeShuffle();
a.Insert(1);
a.Insert(2);
a.Insert(3);
a.Insert(4);
a.Insert(5);
a.Insert(6);
for (var i = 0; i < 200; i++)
{
shuffle.Shuffle(a);
Console.WriteLine(a.ToString());
} | 2.97154 | fc5d23c46061a242f08dc2e9145141fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2600 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LKneringer/Alturos.PanTilt",
"max_stars_repo_path": "src/Alturos.PanTilt.TestUI/Contract/MockZoomProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2601"
} | starcoder | <reponame>LKneringer/Alturos.PanTilt<gh_stars>1-10
using System;
using System.Threading.Tasks;
namespace Alturos.PanTilt.TestUI.Contract
{
public class MockZoomProvider : IZoomProvider
{
private double _currentZoom = 0;
public event Action<double> ZoomChanged;
public MockZoomProvider(... | 2.37141 | 34fb6cb72eec4ca3604021302df8d041 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2601 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "simonferquel/simcim",
"max_stars_repo_path": "SimCim.Root.V2/ClassWin32Desktop.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2602"
} | starcoder | <filename>SimCim.Root.V2/ClassWin32Desktop.cs
using Microsoft.Management.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using SimCim.Core;
namespace SimCim.Root.V2
{
public class Win32Desktop : CIMSetting
{
public Win32Desktop()
{
}
... | 1.942099 | 483c65e958db7e4d9b9c53a655ff058d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2602 | {
"extension": "c-sharp",
"max_stars_count": "399.0",
"max_stars_repo_name": "rogerex/Mediator.Net",
"max_stars_repo_path": "src/Mediator.Net.Test/TestEventHandlers/PublishDerivedEventShouldBeHandledByBaseHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2603"
} | starcoder | <filename>src/Mediator.Net.Test/TestEventHandlers/PublishDerivedEventShouldBeHandledByBaseHandler.cs
using System;
using System.Threading.Tasks;
using Mediator.Net.TestUtil;
using Mediator.Net.TestUtil.Handlers.EventHandlers;
using Mediator.Net.TestUtil.Messages;
using Mediator.Net.TestUtil.TestUtils;
using Shouldly;
... | 2.344412 | 9a920aaea94a8a31305fa8c9586accc5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2603 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vvduong/Architecture",
"max_stars_repo_path": "Persistence/Categories/CategoryConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2604"
} | starcoder | <filename>Persistence/Categories/CategoryConfiguration.cs<gh_stars>0
using Architecture.Domain.Categories;
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Architecture.Persistence.Categories
{
... | 2.568119 | 30e0ddaa858510010170406a0c924e99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2604 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "moljac/Samples.Xamarin.Forms",
"max_stars_repo_path": "samples/tutorial/Extras-01-XAML-Extensions/Triggers/Triggers/Triggers/Views/Xaml/PageTriggerProperty.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2605"
} | starcoder | using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace Triggers.Views.Xaml
{
public partial class PageTriggerProperty : ContentPage
{
public PageTriggerProperty ()
{
InitializeComponent ();
}
}
}
| 1.20191 | 715641fc4c610f230b229dd1bd510004 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2605 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pashcovich/Mathematical-Mesh",
"max_stars_repo_path": "Confirm/Goedel.Confirm/SchemaConfirmProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2606"
} | starcoder |
// Copyright (c) 2016 by .
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, ... | 2.035215 | 627c1f25585db55767681b1bb01ee13d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2606 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jesusArangor/EvaluaDocentesIngrid",
"max_stars_repo_path": "CalificacionesDocente/Datos/UsuarioDb.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2607"
} | starcoder | <gh_stars>0
using Dapper;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Modelo.Interfaces;
using Modelo.Modelos;
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
namespace Datos
{
public class UsuarioDb : IUsu... | 2.643338 | 0b77bf8e17e8e55b55f0beb042a05531 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2607 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MCSN-project2014/APproject",
"max_stars_repo_path": "APproject/Helpers/HelperParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2608"
} | starcoder | using System;
namespace APproject
{
public static class HelperParser
{
public static bool TryParse (string file, out ASTNode node)
{
node = null;
try
{
Scanner scanner = new Scanner(file);
Parser parser = new Parser(scanner);
p... | 2.798326 | 470e8a7bf0c28810f44b60c808c06cc4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2608 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rjarvis/JobInterviewGame",
"max_stars_repo_path": "Assets/Toon City People/Scripts/HeadphoneSelector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2609"
} | starcoder | <filename>Assets/Toon City People/Scripts/HeadphoneSelector.cs
using System.Collections.Generic;
using UnityEngine;
namespace HeadphoneSelector
{
public class HeadphoneSelector : MonoBehaviour
{
public const int MAXIMUM_NUMBER_HEADPHONES = 6
;
[Range(0, MAXIMUM_NUMBER_HEADPHONES - 1)]
... | 2.764186 | 616ee8b191988d6c1ee015f4b5590b76 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2609 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "rclabo/ICU4N",
"max_stars_repo_path": "src/ICU4N/Text/PluralRulesSerialProxy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2610"
} | starcoder | <filename>src/ICU4N/Text/PluralRulesSerialProxy.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace ICU4N.Text
{
/// <author>markdavis</author>
#if FEATURE_SERIALIZABLE
[Serializable]
#endif
internal class PluralRulesSerialProxy
{
//private static readonly long seri... | 2.179828 | b0dca6baf8b9d0f7f3f05049b5b10551 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2610 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Eilon/issue-labeler",
"max_stars_repo_path": "src/Microsoft.DotNet.GitHub.IssueLabeler/Models/AzureBlobModelHolder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2611"
} | starcoder | using Azure.Storage;
using Azure.Storage.Blobs;
using Azure.Storage.Blobs.Models;
using Microsoft.DotNet.GitHub.IssueLabeler;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.ML;
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace... | 2.473326 | 7adcb23dc6138a75614c903bc7536f55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2611 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "colin-mueller-sonarsource/altinn-notifications",
"max_stars_repo_path": "src/Altinn.Notifications/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2612"
} | starcoder | <filename>src/Altinn.Notifications/Program.cs
using System.Text.Json;
using System.Text.Json.Serialization;
using Altinn.Common.AccessToken.Configuration;
using Altinn.Notifications.Configuration;
using Altinn.Notifications.Core;
using Altinn.Notifications.Integrations;
using Altinn.Notifications.Integrations.Configu... | 1.453198 | 60fa9adbdf527933d81a851974858dd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2612 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LiveOrDevTrying/Allie.Chat",
"max_stars_repo_path": "Allie.Chat.Lib/DTOs/Currencies/CurrencyUserDTO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2613"
} | starcoder | namespace Allie.Chat.Lib.DTOs.Currencies
{
/// <summary>
/// A Currency User data-transfer object
/// </summary>
public class CurrencyUserDTO : BaseDTO
{
/// <summary>
/// The amount of Currency currently accrued
/// </summary>
public int Quantity { get; set; }
}... | 1.959376 | 5ba9a04d1ff6b7db4503bfa9975e0463 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2613 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "moljac/Samples.Xamarin.Forms",
"max_stars_repo_path": "samples/tutorial/Expert-01-PlatformSpecific/DependencyService/Hardware/Bluetooth/PrinterPortable.QPrinter/PrinterPortable.QPrinter/FeaturesCapabilities/Bluetooth/QPrinter/IBluetooth... | starcoder | using System;
using System.Collections.Generic;
namespace PlatformSpecific.DependencyService.FeaturesCapabilities.Bluetooth
{
public interface IBluetoothPrinterService
{
string Read();
string ReadAsync();
void Write(string data);
void WriteAsync(string data);
}
}
| 1.882612 | 28e79f996a86f91e46d157d689052413 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2614 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "haihala/intratorn",
"max_stars_repo_path": "Assets/Scripts/DataClass/Entity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2615"
} | starcoder | <reponame>haihala/intratorn
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Entity : MonoBehaviour {
public FloatVariable Max_health;
public FloatVariable Health;
public StringVariable Name;
public FloatVariable Speed;
public Inventory inventory;
p... | 1.459993 | 9aa7c7a5cbf40652ad6e46d605b9fea9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2615 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "V-Uzunov/Soft-Uni-Education",
"max_stars_repo_path": "02.ProgrammingFundamentalsC#/05.MethodsAndDebuggingExercise/04.NumbersInReversedOrder/NumbersInReversedOrder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2616"
} | starcoder | using System;
using System.Linq;
class NumbersInReversedOrder
{
static void Main()
{
var n = Console.ReadLine();
var result = ReverseDigitOrder(n);
Console.WriteLine(result);
}
private static string ReverseDigitOrder(string n)
{
var reverse = "";
for (int ... | 3.507569 | f4e85f6f925f532bdb594e1c0ab00008 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2616 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "samuelcaldas/PPO.NETv2",
"max_stars_repo_path": "PPO.NETv2/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2617"
} | starcoder | <filename>PPO.NETv2/Program.cs<gh_stars>0
//// Train
// import gym
// import numpy as np
// import tensorflow.compat.v1 as tf
// tf.disable_v2_behavior()
// from policy_net import Policy_net
// from ppo import PPOTrain
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.T... | 2.214827 | 9bf4da922693f098023065525f29ca5a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2617 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lukx1/Backupper",
"max_stars_repo_path": "Core/Server/Server/Controllers/RSAForDaemonController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2618"
} | starcoder | <reponame>lukx1/Backupper
using Server.Authentication;
using Server.Models;
using Shared.NetMessages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web;
using System.Web.Http;
namespace Server.Controllers
{
public class RSAForDaemonController : ApiControlle... | 2.184003 | eea1fe94cc6769326cc4219d12384489 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2618 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "210215-USF-NET/Jonathan-Long-P0",
"max_stars_repo_path": "StoreApp/StoreDL/ProductRepoDB.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2619"
} | starcoder | using System.Collections.Generic;
using Model = StoreModels;
using Entity = StoreDL.Entities;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using System;
namespace StoreDL
{
/// <summary>
///
/// </summary>
public class ProductRepoDB : IProductRepository
{
private Entity.StoreDBCo... | 3.102744 | d1914cbc3342ce76360b67b07110403a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2619 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "awesome-archive/PTVS",
"max_stars_repo_path": "Python/Product/VSInterpreters/PackageManager/PipPackageManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2620"
} | starcoder | // Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
/... | 1.711023 | 87579255bb78a9be9cfc6c635a8c5200 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2620 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "petyakostova/Telerik-Academy",
"max_stars_repo_path": "C#/C# 1/1. Intro-Programming-Homework/Print-First-And-Last-Name/FirstLastName.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2621"
} | starcoder | //Problem 7. Print First and Last Name
//Create console application that prints your first and last name, each at a separate line.
using System;
class FirstLastName
{
static void Main()
{
Console.WriteLine("FirstName");
Console.WriteLine("LastName");
}
} | 3.751394 | 65fe45a8c29bd689c88b281d534d3ee5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2621 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "igniuss/DiscordHackerWeek",
"max_stars_repo_path": "RPGBot/Characters/Warrior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2622"
} | starcoder | using DSharpPlus.Entities;
namespace RPGBot.Characters {
// Warrior has an attack bonus, but average health and gold earned
public class Warrior : CharacterBase {
public override float AttackPowerMultiplier {
get { return 1.5f; }
}
public override float DefenseMultiplier... | 2.701673 | 3b5291a2eadf30e28829d9faf644f64b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2622 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "codeBalok/ooohcarBlazor-backend",
"max_stars_repo_path": "ooohCar.Client.Infrastructure/Managers/IManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2623"
} | starcoder | namespace ooohCar.Client.Infrastructure.Managers
{
public interface IManager
{
}
} | 1.108891 | 51dd664b50022e938beecac962df29d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2623 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "seljmov/Semantic-IDE",
"max_stars_repo_path": "Semantic/Solution/Scanner/Warnings/SemanticWarning.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2624"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
namespace Semantic.Solution
{
public class SemanticWarning : SemanticFind
{
public SemanticWarning(SemanticOperator @operator, List<Word> items)
: base(@operator, items)
{
ErrorType = Strings.Warning;
}
}
} | 1.693078 | c5665c4ad0870d392969b755859765b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2624 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "FreyaFreed/mordheim",
"max_stars_repo_path": "Assembly-CSharp/UIStat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2625"
} | starcoder | using System;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
public class UIStat : global::UnityEngine.MonoBehaviour
{
protected virtual void Awake()
{
if (this.statSelector != null)
{
this.statSelector.onSelect.AddListener(new global::UnityEngine.Events.UnityAction(this.OnStatSelected));... | 2.094915 | 535518ccd9721e4c5676ca7f7962d642 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2625 | {
"extension": "c-sharp",
"max_stars_count": "392.0",
"max_stars_repo_name": "JMayrbaeurl/Industrial-IoT",
"max_stars_repo_path": "api/src/Microsoft.Azure.IIoT.OpcUa.Api/src/Core/Models/ServiceResultApiModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2626"
} | starcoder | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Azure.II... | 1.79114 | e93120da65380196aa47894af6698a83 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2626 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khooversoft/MlHost",
"max_stars_repo_path": "Src/Tools/MlProcess/Activities/BuildJournalFile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2627"
} | starcoder | <filename>Src/Tools/MlProcess/Activities/BuildJournalFile.cs
using Autofac;
using Autofac.Core;
using CsvHelper;
using CsvHelper.Configuration;
using Microsoft.Extensions.Logging;
using MlProcess.Application;
using MlProcess.Models;
using MlProcess.Services;
using System.Globalization;
using System.IO;
using System.Th... | 2.405043 | 720b85ec845a5e5fd18ccdda0161c98d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FlorianGrimm/Brimborium.Net",
"max_stars_repo_path": "Brimborium.WebFlow/Demo.Logic/Logic/IEbbesRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2628"
} | starcoder | using Demo.Model;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Demo.Logic {
public interface IEbbesRepository {
Task<List<EbbesModel>> QueryAsync(string pattern, CancellationToken cancellationToken);
Task<bool> UpsertAsync(EbbesModel value);
... | 1.851463 | c6b67872771c68d3817aca92a2703eb9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2628 | {
"extension": "c-sharp",
"max_stars_count": "273.0",
"max_stars_repo_name": "alexchandel/armok-vision",
"max_stars_repo_path": "Assets/Scripts/MapGen/Meshing/VoxelGrid/Voxel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2629"
} | starcoder | <gh_stars>100-1000
using UnityEngine;
using System;
[Serializable]
public class Voxel
{
public enum State
{
Empty,
Floor,
Wall,
Intruded
}
public State state;
public bool edge;
public Vector3 position, eastEdge, southEdge, cornerPosition;
public Voxel(int... | 2.617959 | 6f190b41cf228dbbfd5146828353cb98 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2629 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "darshitachavda/Clean-Architecture-manga-pro",
"max_stars_repo_path": "source/Manga.Infrastructure/EntityFrameworkDataAccess/MangaContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2630"
} | starcoder | namespace Manga.Infrastructure.EntityFrameworkDataAccess
{
using System;
using Manga.Domain.Accounts;
using Manga.Domain.Customers;
using Manga.Domain.ValueObjects;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
public sealed class MangaContext... | 2.547274 | b0861df9fe1300d4267bf79fe9ebc7bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "henriquehrf/Ewave-Livraria-Senior",
"max_stars_repo_path": "ToDo-API/Livraria.ToDo/test/ToDo.Service.Test/Mocks/MockInstituicaoEnsinoRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2631"
} | starcoder | <filename>ToDo-API/Livraria.ToDo/test/ToDo.Service.Test/Mocks/MockInstituicaoEnsinoRepository.cs<gh_stars>0
using System.Collections.Generic;
using ToDo.Domain.Entities;
namespace ToDo.Service.Test.Mocks
{
public class MockInstituicaoEnsinoRepository : BaseMock<InstituicaoEnsino, MockInstituicaoEnsinoRepository>
{
... | 2.115221 | ce8d64f3b1628cc2b03c8c49d9bcd67d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2631 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "larryeedwards/openyan",
"max_stars_repo_path": "Assembly-CSharp/SetColorPickerColor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2632"
} | starcoder | using System;
using UnityEngine;
// Token: <KEY> RID: 413
[RequireComponent(typeof(UIWidget))]
public class SetColorPickerColor : MonoBehaviour
{
// Token: 0x06000C7B RID: 3195 RVA: 0x000685E8 File Offset: 0x000669E8
public void SetToCurrent()
{
if (this.mWidget == null)
{
this.mWidget = base.GetComponent<U... | 1.894304 | a0597d22e7fc1c69a4b12acae41ac059 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2632 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brunom/project-system",
"max_stars_repo_path": "src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/IActiveConfiguredProjectsProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2633"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE.md file in the project root for more information.
using System.Collections.Immutable;
using Microsoft.VisualStudio.Composition;
namespace Microsoft.VisualStudio.P... | 2.254107 | baa7cc7758704adf8b34f45fef8d200a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2633 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GLipitch/Binance.Net",
"max_stars_repo_path": "Binance.Net/Objects/Futures/MarketData/BinanceFuturesCompositeIndexInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2634"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using CryptoExchange.Net.Converters;
using Newtonsoft.Json;
namespace Binance.Net.Objects.Futures.MarketData
{
/// <summary>
/// Index info
/// </summary>
public class BinanceFuturesCompositeIndexInfo
{
/// <summary>
/// T... | 2.008395 | 3214d19611d16d747cf9e123e6b11fa9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jandella/SociFilarmonica",
"max_stars_repo_path": "SociFilarmonicaApp/SociFilarmonicaApp/Pages/Soci/TipiSoci/Create.cshtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2635"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Mvc.Rendering;
using SociFilarmonicaApp.Data;
using SociFilarmonicaApp.Data.DbModels;
namespace SociFilarmonicaApp.Page... | 2.393626 | 5df662c7c4333673da26092b0cb6ccc2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2635 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sric0880/unity-framework",
"max_stars_repo_path": "Assets/Scripts/FSM/Core/Transition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2636"
} | starcoder | <reponame>sric0880/unity-framework
using UniRx;
public class Transition
{
private FSM fsm;
private State targetState;
private State sourceState;
private ReactiveProperty<bool> condition;
private IObservable<bool> asyncOpt; //状态切换执行的异步代码
public State TargetState { get { return targetState; } }
public State Sour... | 2.466604 | 0f1f5a9fdf5b617e9486205870368c84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2636 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EEEDSPLab/iHRTF-Spatializer",
"max_stars_repo_path": "Demo/Assets/Scripts/SOFALoad.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2637"
} | starcoder | <filename>Demo/Assets/Scripts/SOFALoad.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using SFB;
public class SOFALoad : MonoBehaviour {
private Button openSOFA;
public int sofaID;
private string path;
// Use this for initialization
void Start (... | 2.231127 | 9c5e5b4ce944e0dc1513d8b0231ae062 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.