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 | 8847884 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "stanb/Comformation",
"max_stars_repo_path": "src/Comformation/Generated/RDS/DBSecurityGroup/DBSecurityGroupResource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167104"
} | starcoder | using System;
using System.Collections.Generic;
using Comformation.IntrinsicFunctions;
namespace Comformation.RDS.DBSecurityGroup
{
/// <summary>
/// AWS::RDS::DBSecurityGroup
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-security-group.html
/// </summary>
pu... | 2.163369 | bfed5c49af65f0c7a5844d61935f37cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847885 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "QitzPub/UniRxWorkBook",
"max_stars_repo_path": "Assets/UniRxWorkBook/Operators/08_Repeat/Lesson_8_Repeat.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167105"
} | starcoder | <filename>Assets/UniRxWorkBook/Operators/08_Repeat/Lesson_8_Repeat.cs
using UnityEngine;
using System.Collections;
using UniRx;
using UnityEngine.UI;
namespace UniRxWorkBook.Operators
{
public class Lesson_8_Repeat : MonoBehaviour
{
[SerializeField]
private Text resultLabel;
... | 2.914298 | ebf7426d6685bf26b0d91486882036f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847886 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "AlexMacocian/MTSC",
"max_stars_repo_path": "MTSC/Exceptions/IncompleteRequestURIException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167106"
} | starcoder | using System;
namespace MTSC.Exceptions
{
public sealed class IncompleteRequestURIException : Exception
{
public IncompleteRequestURIException()
{
}
public IncompleteRequestURIException(string message) : base(message)
{
}
public IncompleteRequestURIExc... | 2.114028 | d563ca871b5bc27987b6a1450f8fb842 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847887 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tranphucuk/Shopmart-E-Commerce",
"max_stars_repo_path": "NetcoreOnlineShop.Application/Interfaces/IBlogService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167107"
} | starcoder | using NetcoreOnlineShop.Application.ViewModels;
using NetcoreOnlineShop.Application.ViewModels.Blog;
using NetcoreOnlineShop.Utilities.Dtos;
using System.Collections.Generic;
namespace NetcoreOnlineShop.Application.Interfaces
{
public interface IBlogService
{
void Add(BlogViewModel blogViewModel);
... | 1.809992 | d668108b78d4092f897a18110b2403e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847888 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ZeroDeng01/P2PSocket.Client.WFM",
"max_stars_repo_path": "src/P2PSocket.Client/Models/Send/Send_0x0202.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167108"
} | starcoder | <filename>src/P2PSocket.Client/Models/Send/Send_0x0202.cs
using System;
using System.Collections.Generic;
using P2PSocket.Core.Extends;
using P2PSocket.Core.Models;
using P2PSocket.Core;
using System.Text;
using P2PSocket.Core.Utils;
namespace P2PSocket.Client.Models.Send
{
public class Send_0x0202 : SendPacket
... | 1.97465 | 9f53536321d7f4d0b09b4a747d5ad113 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847889 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RevanthVallamsetty/GDPOfficeHours",
"max_stars_repo_path": "WebApp/Views/Home/Schedule.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:167109"
} | starcoder | <gh_stars>0
@model IEnumerable<WebApp.Models.scheduleModel>
@{
ViewBag.Title = "Office Hours";
}
<div class="row">
<div class="col-xs-6">
@Html.Partial("Calendar")
</div>
<div class="col-xs-offset-4 col-md-2" style="margin-top: 0px;padding-right: 0px;padding-left: 60px;">
... | 1.479755 | 70ee7a12f97aaefb01a4fe5342d58aea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Matusson/DCore",
"max_stars_repo_path": "tests/DiscordBotTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167110"
} | starcoder | <filename>tests/DiscordBotTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DCore;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using Discord.WebSocket;
using DCore.Helpers;
using DCore.Configs;
using Discord;
using System.IO;
nam... | 2.465269 | 4ae3bd0718ca2305df3eef6f89884de9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847891 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lighterlightbulb/Novetus",
"max_stars_repo_path": "Novetus/NovetusCore/StorageAndFunctions/VarStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167111"
} | starcoder | #region Usings
using System.Drawing;
#endregion
#region Variable Storage
public class VarStorage
{
#region Asset Cache Definition
public class AssetCacheDef
{
public AssetCacheDef(string clas, string[] id, string[] ext,
string[] dir, string[] gamedir)
{
Class = clas... | 2.201853 | d04a22f5235a265b449e28dc80020671 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847892 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "angelneychev/Dalmatian",
"max_stars_repo_path": "src/Data/Dalmatian.Data.Models/Enum/HipRating.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167112"
} | starcoder | namespace Dalmatian.Data.Models.Enum
{
using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore.Diagnostics;
public enum HipRating
{
[Display(Name = "Not available")]
Not_available = 0,
[Display(Name = "OFA - Normal")]
OFA_Normal = 10,
... | 2.283339 | 25864ad908b5ad9037fe3b35242758c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847893 | {
"extension": "c-sharp",
"max_stars_count": "321.0",
"max_stars_repo_name": "kaby76/antlr4cs",
"max_stars_repo_path": "runtime/CSharp/Antlr4.Tool/Codegen/Model/Chunk/NonLocalAttrRef.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167113"
} | starcoder | // Copyright (c) <NAME>, <NAME>. All Rights Reserved.
// Licensed under the BSD License. See LICENSE.txt in the project root for license information.
namespace Antlr4.Codegen.Model.Chunk
{
using Antlr4.Codegen.Model.Decl;
public class NonLocalAttrRef : ActionChunk
{
public string ruleName;
... | 1.869318 | a0dc6b63cf090ce0274a441f3ea68f5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847894 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lipemon1/unitycomparisons",
"max_stars_repo_path": "Assets/ForAndForeach/Scripts/Enemy/Enemy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167114"
} | starcoder | <filename>Assets/ForAndForeach/Scripts/Enemy/Enemy.cs<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ForAndForeach
{
public class Enemy
{
public int Id;
public int Health;
public int Attack;
public bool Ranged;
pu... | 3.354667 | 3a1c5532b5162009579cd84b5fb7bb2d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847895 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marcuson/A2BBServer",
"max_stars_repo_path": "A2BBIdentityServer/Config.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167115"
} | starcoder | <reponame>marcuson/A2BBServer<gh_stars>0
using A2BBCommon;
using IdentityModel;
using IdentityServer4;
using IdentityServer4.Models;
using System.Collections.Generic;
namespace A2BBIdentityServer
{
/// <summary>
/// Identity Server configuration utilities.
/// </summary>
public class Config
{
... | 1.910302 | ce4af45d1df6e3fae46b2aad82c70c77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847896 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ekzyis/CrypTool-2",
"max_stars_repo_path": "LibSource/CrypToolStoreLib/CrypToolStoreLib/Database/DatabaseConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167116"
} | starcoder | /*
Copyright 2018 <NAME> <Nils.Kopal<AT>Uni-Kassel.de>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicab... | 2.827379 | 6f94f8fca857f53ff1755d0d870a3e33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847897 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "valdisz/atlantis-economy-adivsor",
"max_stars_repo_path": "server/Parser/Parsers/BattleHeadlineParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167117"
} | starcoder | namespace advisor
{
// Sandlings (384) attacks Mystic Masons (15876) in desert (50,28) in Feapi'iss!
// Unit (127) attempts to assassinate Sneaky Git (8720) in mountain (49,39) in Swerthenchi!
public class BattleHeadlineParser : BaseParser {
readonly IReportParser unitName = new UnitNameParser();
... | 2.240142 | cb138ce125bc09e5ffd91c93b04f28ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847898 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JimmyHaglund/AgnosticPathSearch",
"max_stars_repo_path": "AgnosticSearch/AgnosticSearch/IPathGraph.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167118"
} | starcoder | using System.Collections.Generic;
namespace AgnosticSearch {
public interface IPathGraph<TKey, TNode> : IEnumerable<TNode> {
void Add(TNode node);
bool Contains(TNode node);
void RemoveNode(TNode node);
TNode GetNode(TKey key);
}
} | 2.693814 | 34cf5f30a0d67911d69e51f5dc3fb5a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847899 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ggnv/KnowledgeSpreadSystem",
"max_stars_repo_path": "KnowledgeSpreadSystem/KnowledgeSpreadSystem.Web/Areas/Administration/Controllers/LogsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167119"
} | starcoder | namespace KnowledgeSpreadSystem.Web.Areas.Administration.Controllers
{
using System.Collections;
using System.Web.Mvc;
using KnowledgeSpreadSystem.Data;
using KnowledgeSpreadSystem.Web.Areas.Administration.Controllers.Base;
public class LogsController : AdministratorController
{
publi... | 1.583375 | f91bdbbc7fe425427107559f214c888a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847900 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pchaderton/DomainDrivenGameEngine.Media.AssimpNet",
"max_stars_repo_path": "src/DomainDrivenGameEngine.Media.AssimpNet/Readers/AssimpNetModelReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167120"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Numerics;
using Assimp;
using DomainDrivenGameEngine.Media.AssimpNet.Extensions;
using DomainDrivenGameEngine.Media.Models;
using DomainDrivenGameEngine.Media.Readers;
using AssimpBone... | 2.334955 | 3e455b74526299c22be36ad2170b28fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847901 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "petrasvestartas/NGon",
"max_stars_repo_path": "Ngon/NGonsCore/NGonsCore/Graphs/MyGraph/LineGraph.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167121"
} | starcoder | using Grasshopper;
using Grasshopper.Kernel.Data;
using Rhino.Geometry;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NGonsCore.Graphs {
public static class LineGraph {
public static Mesh CurveMesh(List<Line> lines, List<doub... | 2.289798 | 639fd5f9724d1c2369b06c52db87fc73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847902 | {
"extension": "c-sharp",
"max_stars_count": "73.0",
"max_stars_repo_name": "tiger4589/Xamarin.Forms-CardView",
"max_stars_repo_path": "CardViewExamples/CardViewExample/CardViewExample/SwipeToClearEnabledPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167122"
} | starcoder | using Xamarin.Forms;
namespace CardViewExample
{
public partial class SwipeToClearEnabledPage : ContentPage
{
public SwipeToClearEnabledPage()
{
InitializeComponent();
}
}
}
| 1.268344 | cf39ae439fc2abd6a0bd84a3497b60a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847903 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AskewTV/VoxelBox",
"max_stars_repo_path": "ManicDiggerLib/Server/Systems/MonsterWalk.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167123"
} | starcoder | <filename>ManicDiggerLib/Server/Systems/MonsterWalk.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
class ServerSystemMonsterWalk : ServerSystem
{
}
| 1.547948 | 8021487a09a7cf53d20f70685f119f29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847904 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "pboyd04/Moto.Net",
"max_stars_repo_path": "Moto.Net.RPC/RadioID.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167124"
} | starcoder | namespace Moto.Net.RPC
{
public class RadioID
{
int id;
public int Int
{
get
{
return this.id;
}
set
{
this.id = value;
}
}
public override string ToString()
... | 2.356748 | c42d97bebfa3f9359ebc0e44c23839cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847905 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "smirnov-coder/startup-creative-agency-razor-pages",
"max_stars_repo_path": "src/Web.RazorPages/Infrastructure/MonthTagHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167125"
} | starcoder | <filename>src/Web.RazorPages/Infrastructure/MonthTagHelper.cs<gh_stars>1-10
using System.Globalization;
using Microsoft.AspNetCore.Razor.TagHelpers;
namespace StartupCreativeAgency.Web.RazorPages.Infrastructure
{
/// <summary>
/// Вспомогательный класс пользовательского тега 'month'. Преобразует целочисленный... | 2.942336 | a30f05c5c7db62e2f4ab601e4ee95f1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847906 | {
"extension": "c-sharp",
"max_stars_count": "472.0",
"max_stars_repo_name": "aungthetnaing/Windows-Machine-Learning",
"max_stars_repo_path": "Samples/AudioPreprocessing/WinUI/AudioPreprocessing/AudioPreprocessing/ViewModel/PreprocessViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167126"
} | starcoder | <filename>Samples/AudioPreprocessing/WinUI/AudioPreprocessing/AudioPreprocessing/ViewModel/PreprocessViewModel.cs
using AudioPreprocessing.Model;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using System.Windows.Input;... | 2.557616 | fde7234f727d3be40e77371361378fc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847907 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "git-custom-code/AutomatedTesting",
"max_stars_repo_path": "src/Test.AutomatedTesting.TestDomain/Async/GenericTask/IFooGenericTaskReferenceTypeParameter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167127"
} | starcoder | <reponame>git-custom-code/AutomatedTesting
namespace CustomCode.AutomatedTesting.TestDomain
{
using System.Threading.Tasks;
/// <summary>
/// Interface that simulates a dependency that contains an asynchronous method
/// with a reference type parameter that returns a (reference type) <see cref="Task{TR... | 1.976871 | 38d80d3d3ff7ed080a201b40e1373d77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847908 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "officialmoonbyte/UniversalServer2",
"max_stars_repo_path": "UniversalServer/UniversalPluginFramework/ServerPlugin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167128"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Moonbyte.UniversalServer.PluginFramework
{
public interface UniversalPluginFramework
{
string Name { get; }
void OnLoad(string PluginSettingsDirectory);
... | 1.045396 | 12aacb3c4094099cddb55d17c7f2fc61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847909 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "TeaDrivenDev/Graphology",
"max_stars_repo_path": "Src/TeaDriven.Graphology/Traversal/IGetObjectGraph.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167129"
} | starcoder | using System;
using System.Collections.Generic;
namespace TeaDriven.Graphology.Traversal
{
public interface IGetObjectGraph
{
GraphNode For(object currentObject, Type referenceType, string referenceName, IEnumerable<object> graphPath);
}
} | 1.872024 | 4457aed39c451db1a6abee89d85ea01d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847910 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "balazssimon/devtools-cs",
"max_stars_repo_path": "Src/Main/DevToolsX.Testing.Selenium/Commands/Screenshot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167130"
} | starcoder | <reponame>balazssimon/devtools-cs
using OpenQA.Selenium;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace DevToolsX.Testing.Selenium
{
public class Screenshot : CommandsBase
{
private static int screenshotIndex = 0;
private static object screenshotL... | 2.389541 | 86baf95620adbde4aa7cdde0fd4250c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847911 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nasakib/gdk-for-unity",
"max_stars_repo_path": "test-project/Assets/Generated/Source/improbable/dependentschema/DependentComponentComponentReaderWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167131"
} | starcoder | // =====================================================
// DO NOT EDIT - this file is automatically regenerated.
// =====================================================
using System;
using System.Collections.Generic;
using Improbable.Gdk.Core;
using Improbable.Gdk.Subscriptions;
using Unity.Entities;
using Entity = ... | 1.969159 | 5a213162fd291a28d069e837b4d1a3da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847912 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sonozuki/StardewMods",
"max_stars_repo_path": "BarkingUpTheRightTree/Models/Parsed/ParsedCustomTree.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167132"
} | starcoder | <filename>BarkingUpTheRightTree/Models/Parsed/ParsedCustomTree.cs
using BarkingUpTheRightTree.Models.Converted;
using BarkingUpTheRightTree.Tools;
using System;
using System.Collections.Generic;
namespace BarkingUpTheRightTree.Models.Parsed
{
/// <summary>Represents a custom tree.</summary>
/// <remarks>This ... | 2.973066 | 46b30bbecebd72fc597767bea73fdfd4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847913 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "UncraftedName/UncraftedDemoParser",
"max_stars_repo_path": "DemoParser/src/Parser/Components/Messages/UserMessages/Shake.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167133"
} | starcoder | <gh_stars>10-100
using System;
using DemoParser.Parser.Components.Abstract;
using DemoParser.Utils;
using DemoParser.Utils.BitStreams;
namespace DemoParser.Parser.Components.Messages.UserMessages {
public class Shake : UserMessage {
public ShakeCommand Command;
public float Amplitude;
public float Frequency;... | 2.423094 | 9ead8682383fbdfa8c7a9a2875612233 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847914 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gvangeel/masstransit-saga-demo",
"max_stars_repo_path": "src/MassTransit.Saga.Demo.Contracts/Trips/ITripCancellationRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167134"
} | starcoder | using System;
namespace MassTransit.Saga.Demo.Contracts.Trips
{
public interface ITripCancellationRequest
{
Guid TripId { get; }
string Reason { get; }
}
}
| 1.46217 | 3d9d5a8fec1f2a7ec850f06149ec08f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847915 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bcso/WanderLust",
"max_stars_repo_path": "NamePending/Assets/PumpkinScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167135"
} | starcoder | using UnityEngine;
using System.Collections;
public class PumpkinScript : MonoBehaviour {
public float speed;
// Update is called once per frame
void Update () {
transform.Rotate (new Vector3 (15, 30, 45) * Time.deltaTime*speed);
}
}
| 2.003627 | 02a7d40dd954bc6619899e4ce7b2aaa2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847916 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "intj-t/openvmsft",
"max_stars_repo_path": "WRK-V1.2/tests/bcl/system/datetime/co1520touniversaltime.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167136"
} | starcoder | // ==++==
//
//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are contained in the file
// named license.txt, which can be found in the root of this distribution.
// By using this software in any fashion, you are agreeing to b... | 2.229727 | 84334323afdb3ccd33938a81801ae681 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847917 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "_no_namespace/ScriptableCullingParameters.--m_CullingPlanes--e__FixedBuffer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167137"
} | starcoder | [CompilerGeneratedAttribute] // RVA: 0xC89D0 Offset: 0xC8AD1 VA: 0xC89D0
[UnsafeValueTypeAttribute] // RVA: 0xC89D0 Offset: 0xC8AD1 VA: 0xC89D0
public struct ScriptableCullingParameters.<m_CullingPlanes>e__FixedBuffer // TypeDefIndex: 3322
{
// Fields
public byte FixedElementField; // 0x0
}
| 1.166557 | 23b9a1a76b67a3cef87356bbe95e83f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847918 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hnguyen094/absurdjoy",
"max_stars_repo_path": "Others/MovementAmplifier.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167138"
} | starcoder | <gh_stars>0
// https://www.notion.so/Movement-Amplifier-624650bf671e4d72ba8b44de9a7e9d51
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace absurdjoy {
/// <summary>
/// A simple script that takes motion from one object, amplifies it, and applies it to another object.
/// Credit to <... | 2.504917 | 1f3cbd301b49cf7993ad445dd4e8799b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847919 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "profjordanov/WeddingsPlanner",
"max_stars_repo_path": "src/server/WeddingsPlanner.Core/Generators/ICsvReportGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167139"
} | starcoder | using System.Collections.Generic;
using WeddingsPlanner.Core.Reports;
namespace WeddingsPlanner.Core.Generators
{
public interface ICsvReportGenerator
{
CsvReport GenerateReport<T>(IEnumerable<T> records, string reportName)
where T : IReportModel;
}
} | 1.813158 | d1d64525e52d56a1eafe970a069d3cf3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847920 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Tarak-Chandra-Sarkar/StackImplementationUsingTDD",
"max_stars_repo_path": "StackImplementationUsingTDD/ExceededSizeException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167140"
} | starcoder | <gh_stars>1-10
using System;
namespace StackImplementationUsingTDD
{
public class ExceededSizeException : Exception
{
}
}
| 1.514696 | 31d375b9a93882af4caa511cedbfc55b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847921 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "naman-guptaa/first-pr-Hacktoberfest--2019",
"max_stars_repo_path": "codes/algorithms/quick_sort/csharp/QuickSort.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167141"
} | starcoder | <reponame>naman-guptaa/first-pr-Hacktoberfest--2019<gh_stars>1-10
using System;
namespace QuickSort
{
class QuickSort
{
static void Main(string[] args)
{
int[] array = { 3, 10, 7, 9, 1, 5, 8 };
QuickSort qs = new QuickSort();
qs.Sort(array, 0, array.Length -... | 3.550574 | 1d7da2e9c796b5714559cfb22eafe31a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847922 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "egyptianbman/Keycloak.Net",
"max_stars_repo_path": "tests/integration/Users/Step3_0.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167142"
} | starcoder | <gh_stars>0
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Keycloak.Net.Model.Common;
using Keycloak.Net.Model.Users;
using Xunit;
namespace Keycloak.Net.Tests
{
/// <summary>
/// Integration tests for 'Users' management.
/// </summary>
[Collection(KeycloakClientTests.U... | 1.572215 | 81984c8881465d602ac173a2dee40d15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847923 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PicoHex/Zaabee.Serializers",
"max_stars_repo_path": "src/Zaabee.Serializer.Abstractions/IJsonSerializer.ToJson.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167143"
} | starcoder | <filename>src/Zaabee.Serializer.Abstractions/IJsonSerializer.ToJson.cs
namespace Zaabee.Serializer.Abstractions;
public partial interface IJsonSerializer
{
/// <summary>
/// Serialize to json.
/// </summary>
/// <param name="value"></param>
/// <typeparam name="TValue"></typeparam>
/// <returns... | 2.304559 | dfe8bc572a83c7b382e2b3b9a4e82297 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847924 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gabrielvallep/SifarISSS",
"max_stars_repo_path": "SifarISSS/SifarISSS/Areas/Usuarios/Controllers/UserController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167144"
} | starcoder | <reponame>Gabrielvallep/SifarISSS<filename>SifarISSS/SifarISSS/Areas/Usuarios/Controllers/UserController.cs
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SifarISSS.Areas.Usuarios.Controllers
{
[Area("Usuarios")]
publi... | 1.574035 | d82660083b48065b0a4deb66ed9307a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847925 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YatoEbisu/Desafio-CasaDoCodigoAPI",
"max_stars_repo_path": "CasaDoCodigo/src/CasaDoCodigo.Domain/Interfaces/ICategoriaService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167145"
} | starcoder | <reponame>YatoEbisu/Desafio-CasaDoCodigoAPI
using CasaDoCodigo.Domain.Entities;
namespace CasaDoCodigo.Domain.Interfaces
{
public interface ICategoriaService
{
void Insert(Categoria obj);
}
}
| 1.272846 | 996fff6c000e49ca083322c6051e922b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847926 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zakkreyshort/LocalBusiness",
"max_stars_repo_path": "LocalBusinessInterface/Models/Categories.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167146"
} | starcoder | <reponame>zakkreyshort/LocalBusiness<gh_stars>0
using System.Collections.Generic;
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections;
namespace LocalBusinessInterface.Models
{
public class Category
{
public Category()
{
this.Places = new HashSet<Place>();
}... | 2.146436 | 8d6b067707bb2cba19151f78a5f966d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847927 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mpaulosky/IRCERApplication",
"max_stars_repo_path": "src/IRCER.BL/Api/IApiIssueEndPoints.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167147"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Threading.Tasks;
using IRCER.Core.Dtos.IssueRequests;
namespace IRCER.BL.Api
{
public interface IApiIssueEndPoints
{
Task<IEnumerable<IssueDto>> GetAllIssuesAsync();
Task<IssueDto> GetIssueByIdAsync(int id);
Task CreateIssueAsync(IssueForCreationDto i... | 1.397592 | b29da4bb389f31031dc9438f636104bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847928 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lsoft/Banana",
"max_stars_repo_path": "Banana.Common/Visualizer/BitmapHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167148"
} | starcoder | <gh_stars>0
using System;
using System.Drawing;
using System.Linq;
namespace Banana.Common.Visualizer
{
public class BitmapHelper
{
public static void CreateContrastEnhancedBitmapFrom(
float[] layer,
int width,
int height,
Bitmap bitmap,
... | 2.940546 | 9621bc8a7a1d9486d2ab0d620cd741b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847929 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivayloivanof/OOP-CSharp",
"max_stars_repo_path": "02.StaticMemebersAndNamespaces/OtherHomeworks/02. OOP-Static-Members-and-Namespaces/BetweenTwoPoints/BetweenTwoPoints/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167149"
... | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BetweenTwoPoints
{
class DistanceCalculator
{
public static double FindDistance(Point firstPoint, Point secondPoint)
{
double something = (secondPoint.X - f... | 3.730823 | 2df2d388e24a6861775c1e35dcdfc702 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847930 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AutomateThePlanet/LambdaTest-NUnit-Tutorial",
"max_stars_repo_path": "chapter-page-objects/NUnitPageObjects/NUnitPageObjects/Version3/CartPage/Assertions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167150"
} | starcoder | <reponame>AutomateThePlanet/LambdaTest-NUnit-Tutorial<gh_stars>1-10
using NUnit.Framework;
namespace NUnitPageObjects.Version3
{
public partial class CartPage
{
public static void AssertCouponAppliedSuccessfully()
{
Assert.AreEqual("Coupon code applied successfully.", MessageAlert.... | 2.128039 | a3194042a447f9a576fa9503c1bc2240 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847931 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "drunkwater/leetcode",
"max_stars_repo_path": "medium/csharp/c0076_143_reorder-list/00_leetcode_0076.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167151"
} | starcoder | // DRUNKWATER TEMPLATE(add description and prototypes)
// Question Title and Description on leetcode.com
// Function Declaration and Function Prototypes on leetcode.com
//143. Reorder List
//Given a singly linked list L: L0→L1→…→Ln-1→Ln,
//reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…
//You may not modify the values in the li... | 3.209105 | 877821aa876010d63925af27f9a77191 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847932 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mcampulla/acroyoga",
"max_stars_repo_path": "acroyoga.it/Views/Home/Index2.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:167152"
} | starcoder | <!-- Full Page Image Background Carousel Header -->
<header>
<div class="rwd-video1 padding_video">
<iframe src="//www.youtube.com/embed/Wnlr00bytN8?wmode=transparent&autoplay=1&loop=1&rel=0&controls=0&showinfo=0&playlist=Wnlr00bytN8" allowfullscreen="" frameborder="0" width="16px" height="9px"></iframe>
... | 2.414658 | 368e77a71803614e48358af834721452 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847933 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bassclefstudio/.NET-Serialization",
"max_stars_repo_path": "BassClefStudio.NET.Serialization/BaseTypes/ColorSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167153"
} | starcoder | <reponame>bassclefstudio/.NET-Serialization<filename>BassClefStudio.NET.Serialization/BaseTypes/ColorSerializer.cs
using BassClefStudio.NET.Core.Primitives;
using BassClefStudio.NET.Serialization.Services;
using System;
using System.Collections.Generic;
using System.Text;
namespace BassClefStudio.NET.Serialization.Ba... | 2.590394 | cb9069ab5a4cd4907becfd175ef833d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847934 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jcbozonier/docu",
"max_stars_repo_path": "src/Docu.Console/Documentation/Comments/InlineText.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167154"
} | starcoder | <reponame>jcbozonier/docu
namespace Docu.Documentation.Comments
{
public class InlineText : IComment
{
public InlineText(string text)
{
Text = text;
}
public string Text { get; private set; }
public override string ToString()
{
return Tex... | 2.053112 | 4b16df1add8556e645ffc06b65db176d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848063 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "nahueltaibo/NetCoreRover",
"max_stars_repo_path": "src/Robot.MessageBus/Messages/AppliedVelocityMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167283"
} | starcoder | <filename>src/Robot.MessageBus/Messages/AppliedVelocityMessage.cs
using Robot.Utils;
namespace Robot.MessageBus.Messages
{
/// <summary>
/// A class for a Velocity message sent by <see cref="Robot.Controllers.Motion.ObstacleAvoidanceController"/>
/// </summary>
/// <remarks>This velocity vector is a f... | 2.05879 | 16be5dd03293c777e52f37d2135f3690 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848064 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gvaduha/json-with-blobs",
"max_stars_repo_path": "src/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167284"
} | starcoder | using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("json-with-blobs-test")]
| 0.818464 | 5ceb0435e4cc4c88e02bfa20386a5194 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848065 | {
"extension": "c-sharp",
"max_stars_count": "79.0",
"max_stars_repo_name": "razor950/FASTBuild-Dashboard",
"max_stars_repo_path": "Source/Views/Worker/WorkerCoreStatusView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167285"
} | starcoder | using System.Windows.Controls;
namespace FastBuild.Dashboard.Views.Worker
{
/// <summary>
/// Interaction logic for WorkerCoreStatusView.xaml
/// </summary>
public partial class WorkerCoreStatusView : UserControl
{
public WorkerCoreStatusView()
{
InitializeComponent();
}
}
}
| 1.214007 | 94c95b6530f4bbdc76d16bf14de910fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848066 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "rachel2386/Studio2Game",
"max_stars_repo_path": "Assets/1-DoubleRachel/Shared/Scripts/Tools/PseudoGameObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167286"
} | starcoder | using Sirenix.OdinInspector;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PseudoGameObject : MonoBehaviour
{
public GameObject[] children;
private void Awake()
{
foreach(var go in children)
{
go.transform.SetParent(this.transform)... | 2.356382 | 1e9ada1d85c2f9c715c19b28b9cc289b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848067 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "strugglesharp/SimpleTcp",
"max_stars_repo_path": "UTF8TCPClientTest/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167287"
} | starcoder | <gh_stars>0
using SimpleTcp.VivinUTF8TCP;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UTF8TCPClientTest
{
class Program
{
static void Main(string[] args)
{
UTF8TcpClient _Client = new UTF8TcpClient("1... | 2.442483 | 6efc36aae0f777cf522044402500882e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848068 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ConsciaNorge/NetPlugAndPlay",
"max_stars_repo_path": "Connectivity/libterminal/Tasks/Cisco/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167288"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace libterminal.Tasks.Cisco
{
public class Constants
{
public static string Rfc1035Label = "[A-Za-z0-9]([A-Za-z0-9-]+[A-Za-z0-9])?";
}
}
| 1.374647 | 874efe429d4b0a51647ce14d012d517f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848069 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeometricFishTankVR/ViewpointCalibration",
"max_stars_repo_path": "Unity_Projects/cubee-user-calibration/Assets/Spheree/Scripts/PrizeSceneController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167289"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PrizeSceneController : MonoBehaviour {
public Transform viewerTransform;
private Rigidbody prizeBoxRigidBody;
private Transform textTransform;
private AudioSource applauseAudio;
private bool i... | 2.001151 | cdd7b3402dd4b891dee0ee5239bdcde1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848070 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "PedroSoaresMadetech/evidence-api",
"max_stars_repo_path": "EvidenceApi.Tests/V1/Factories/ResponseFactoryTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167290"
} | starcoder | using System.Collections.Generic;
using AutoFixture;
using EvidenceApi.V1.Domain;
using EvidenceApi.V1.Domain.Enums;
using EvidenceApi.V1.Factories;
using FluentAssertions;
using NUnit.Framework;
namespace EvidenceApi.Tests.V1.Factories
{
public class ResponseFactoryTest
{
private readonly IFixture _fi... | 2.088171 | 6d38ca1dfe5c0f4020e5646682af45d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848071 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "fpaganini/CloseEmulator",
"max_stars_repo_path": "src/XBOX360_Controller.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167291"
} | starcoder | <filename>src/XBOX360_Controller.Designer.cs<gh_stars>1-10
namespace br.com.pgnSoft.Games
{
partial class XBOX360_Controller
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
... | 1.879613 | 588269c6d1c09792434438a351a3e09f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848072 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Nethereum/Nethereum.BlockchainProcessing",
"max_stars_repo_path": "src/Nethereum.LogProcessing.Dynamic/Configuration/IEventContractQueryConfigurationRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167292"
} | starcoder | <reponame>Nethereum/Nethereum.BlockchainProcessing
using Nethereum.LogProcessing.Dynamic.Handling.Handlers;
using System.Threading.Tasks;
namespace Nethereum.LogProcessing.Dynamic.Configuration
{
public interface IEventContractQueryConfigurationRepository
{
Task<ContractQueryConfiguration> GetAsync(lo... | 1.19215 | 46392d3a41aca1d5370fd4beb34a9b2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848073 | {
"extension": "c-sharp",
"max_stars_count": "173.0",
"max_stars_repo_name": "thild/kalk",
"max_stars_repo_path": "src/Kalk.Core/Model/KalkAlias.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167293"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Scriban.Runtime;
namespace Kalk.Core
{
public sealed class KalkAlias : ScriptObject
{
public KalkAlias(string name, IEnumerable<string> aliases, bool isUser)
{
if (aliases == null) throw new ArgumentNullExcept... | 2.77185 | e770e42467d4f8d5934fae52035de22b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848074 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "spellbound-game/spellbound",
"max_stars_repo_path": "Assets/AudioManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167294"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class AudioManager : MonoBehaviour
{
public AudioClip menu_music;
public AudioClip forest_music;
public AudioClip cave_music;
AudioSource audioSource;
AudioSource backgroundMusi... | 2.415353 | ba2d87eca3d32c5906de69ae83695c62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848075 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "krzysztofowsiany/pictogr",
"max_stars_repo_path": "PictOgr.Infrastructure/Events/ExitApplicationEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167295"
} | starcoder | <reponame>krzysztofowsiany/pictogr
using CQRS.Event;
namespace PictOgr.Infrastructure.Events
{
public class ExitApplicationEvent : IEvent
{
}
}
| 0.948429 | d4c2456e67d308e6df2b1ad99cf2ac74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848076 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CitiesSkylinesMods/SequenceLogger",
"max_stars_repo_path": "SequenceLogger/SequenceLogger/AssetDataExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167296"
} | starcoder | namespace SequenceLogger {
using ICities;
using JetBrains.Annotations;
using SequenceLogger.Util;
using System.Collections.Generic;
[UsedImplicitly]
public class AssetDataExtension : IAssetDataExtension {
[UsedImplicitly]
static AssetDataExtension() {
Log.Info("Asse... | 2.28504 | 0d8e1e0e98bd941319d9e474621d4931 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848077 | {
"extension": "c-sharp",
"max_stars_count": "5234.0",
"max_stars_repo_name": "SvanBoxel/OrchardCore",
"max_stars_repo_path": "src/OrchardCore.Modules/OrchardCore.Shortcodes/ViewModels/ShortcodeViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167297"
} | starcoder | <filename>src/OrchardCore.Modules/OrchardCore.Shortcodes/ViewModels/ShortcodeViewModel.cs
using Shortcodes;
namespace OrchardCore.Shortcodes.ViewModels
{
public class ShortcodeViewModel
{
public Arguments Args { get; set; }
public string Content { get; set; }
public Context Context { ge... | 1.36775 | 7f2a20914a97a5d427f43ae6d1e65dc5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848078 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "asarium/FSOLauncher",
"max_stars_repo_path": "Libraries/SDLGlue/SDLJoystick.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167298"
} | starcoder | <gh_stars>1-10
#region Usings
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
#endregion
namespace SDLGlue
{
public enum SDLJoystickEventType
{
Added,
Removed
}
public class SDLJoystickEventArgs
{
interna... | 2.804134 | d34b1a41889af4864ac0f704a00ab437 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848079 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JClingo/gitbook",
"max_stars_repo_path": "Dataphoria/Dataphoria.Web/Controllers/DataFhirController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167299"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Cors;
using Alphora.Dataphor.DAE.NativeCLI;
using Hl7.Fhir.Model;
using Hl7.Fhir.Serialization;
using Newtonsoft.Json.Linq;
namespace Alphora.Dataphor... | 2.048137 | cb2e2f0ecc30b385075b4f2ef53028cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848080 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Juntoz/dotnet-webapi-integration",
"max_stars_repo_path": "Eagle.ExternalIntegration.Service/DataTransferObjects/RmsStokDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167300"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Eagle.ExternalIntegration.Service.DataTransferObjects
{
public class RmsStokDto
{
public string SKU { get; set; }
public int StoreNo { get; set; }
p... | 1.226314 | 7440860abd56f229a90fdbc834a983d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848081 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HelloWindows/AccountBook-",
"max_stars_repo_path": "client/framework/UnityCsReference-master/Editor/Mono/UIElements/Toolbar/ToolbarSearchField.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167301"
} | starcoder | <filename>client/framework/UnityCsReference-master/Editor/Mono/UIElements/Toolbar/ToolbarSearchField.cs
// Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using System;
using UnityEngine;
using UnityEngine.UIElement... | 1.767118 | 55d13fe1897c08e7a914b96f1b71b307 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848082 | {
"extension": "c-sharp",
"max_stars_count": "100.0",
"max_stars_repo_name": "mootz12/dotnet-stellar-sdk",
"max_stars_repo_path": "stellar-dotnet-sdk/responses/results/ClawbackClaimableBalanceNotClawbackEnabled.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167302"
} | starcoder | namespace stellar_dotnet_sdk.responses.results
{
/// <summary>
/// NotClawback flag enabled
/// </summary>
public class ClawbackClaimableBalanceNotClawbackEnabled : ClawbackClaimableBalanceResult
{
}
}
| 1.346667 | 671dfafc355c3ba36abc90202ff88945 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848083 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "mattjuffs/slickcms",
"max_stars_repo_path": "SlickCMS.Web/Views/Static/Contact.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:167303"
} | starcoder | <gh_stars>1-10
@{
ViewData["MetaTitle"] = "Contact";
ViewData["MetaDescription"] = "";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h1 class="title"><span>Contact</span></h1>
<div class="block">
<section>
<div class="row-fluid">
<div class="span6">
<p>No, Threepio'... | 2.502493 | fa42f54973cb36502b95cc8bf412b020 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848084 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tategriffin/DeadManSwitch",
"max_stars_repo_path": "Source/DeadManSwitch.Service.Wcf/IAccountService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167304"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
namespace DeadManSwitch.Service.Wcf
{
[ServiceContract]
public interface IAccountService
{
[OperationContract]
OperationResponse<boo... | 1.841268 | 411c397da710c70e91202e685e3a9171 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848085 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cmu-sei/Caster.Api",
"max_stars_repo_path": "src/Caster.Api/Domain/Services/ArchiveService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167305"
} | starcoder | <reponame>cmu-sei/Caster.Api
// Copyright 2021 <NAME>. All Rights Reserved.
// Released under a MIT (SEI)-style license. See LICENSE.md in the project root for license information.
using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Caster.Api.Domain.Models;
using ICSharpCode.SharpZ... | 2.578162 | 5c149e09856cea7da6fb8c54b7126ab8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848086 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nelsonsbrian/HairSalonDB",
"max_stars_repo_path": "HairSalon/Views/Stylists/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:167306"
} | starcoder | @using HairSalon.Models
<div class="jumbotron">
<h1>Snappy Snips Hair Salon: Roster/Client Base</hr>
</div>
<div class="container-fluid">
<h1>Stylists</h1>
<div class="row">
<div class="col-md-2">
<h1>Master Data</h1>
<form action='/master' method='get'>
<button class=... | 2.803839 | 72f701e0cfc72624a6f68c41b8c88c36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848087 | {
"extension": "c-sharp",
"max_stars_count": "67.0",
"max_stars_repo_name": "moljac/pjsip4net",
"max_stars_repo_path": "pjsip.Interop/Services/AutoMappingMapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167307"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using AutoMapper;
using pjsip.Interop.Interfaces;
using pjsip4net.Core;
using pjsip4net.Core.Data;
using pjsip4net.Core.Interfaces;
using pjsip4net.Core.Utils;
namespace pjsip.Interop.Services
{
public class AutoMappingMapper : IMapper
... | 1.612576 | 3ec779407877c3300309bee24e625d10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848088 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nodashin/DDD-OnionArchitecture-Traning",
"max_stars_repo_path": "IssueManagementSystem/IssueManagementSystem.ApplicationService.Web/ViewModels/User/UserViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167308"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IssueManagementSystem.ApplicationService.Web.Attributes;
namespace IssueManagementSystem.ApplicationService... | 2.294136 | 6af06dd69c31a5adb7f4293e14595c94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848089 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kave-cc/csharp-data-processing",
"max_stars_repo_path": "KaVE.FeedbackProcessor/StatisticsUltimate/ContextFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167309"
} | starcoder | /*
* Copyright 2017 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | 2.309309 | 9b59467d09a9993ba27b6fd38b2c1f76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848090 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "keymusicman/CurrencyLayerNET",
"max_stars_repo_path": "CurrencyLayerSDK/Infrastructure/Endpoints.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167310"
} | starcoder | <reponame>keymusicman/CurrencyLayerNET<gh_stars>1-10
namespace CurrencyLayer4NET.Infrastructure
{
public class Endpoints
{
public const string CURRENCIES = "list";
public const string RATES = "live";
public const string HISTORICAL_RATES = "historical";
public const string CONVER... | 0.811144 | a61f8fc19138aeb9039b8e61d302220b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848091 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hermanussen/Helixbase",
"max_stars_repo_path": "src/Feature/Hero/website/Views/Hero/Error.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:167311"
} | starcoder | @* Generator: MvcHelper *@
<p>Error on the Hero page</p> | 1.308944 | 32ee82c6e980ccbf7b2eb7f088d965e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848092 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scglwsj/DapperTest",
"max_stars_repo_path": "DapperTest.Common/Interface/Repository/ITeamRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167312"
} | starcoder | using DapperTest.Common.Models.Teams;
namespace DapperTest.Common.Interface.Repository
{
public interface ITeamRepository
{
TeamDo FindById(int id);
TeamDo FindByOwnerId(int id);
}
} | 1.491348 | 2896a1ad439664a2783d8cc085383cfa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848093 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkorinosGimnazija/api.skorinosgimnazija.lt",
"max_stars_repo_path": "src/Domain/Options/EmailOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167313"
} | starcoder | <filename>src/Domain/Options/EmailOptions.cs
namespace SkorinosGimnazija.Infrastructure.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public record EmailOptions
{
public string SenderName { get; init; } = default!;
public string S... | 1.736616 | 2127c84ddb351e4f32b2cd4128d8ed12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848094 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "elyor0529/docker-explorer-windows",
"max_stars_repo_path": "DockerExplorer/WinForms/DockerServerControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167314"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using DockerExplorer.Presenters;
using DockerExplorer.Model;
using NetBox.Extensions;
using DockerExplore... | 2.100436 | ea69f19c5ea7671758ea4ebb5a97c56b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848095 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jrob/Expression-Evaluator",
"max_stars_repo_path": "ExpressionEvaluatorTests/StdDevTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167315"
} | starcoder | using NUnit.Framework;
using Vanderbilt.Biostatistics.Wfccm2;
namespace ExpressionEvaluatorTests
{
[TestFixture]
public class StdDevTests
{
private Expression func;
[SetUp]
public void init() { func = new Expression(""); }
[TearDown]
public void clear() { func.Clea... | 2.726113 | ed87377127f2b78d2ea61c73bcdc0e03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848096 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mingyaulee/JsBind.Net",
"max_stars_repo_path": "src/JsBind.Net/Internal/InvokeResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167316"
} | starcoder | using System.Text.Json.Serialization;
using JsBind.Net.Internal.JsonConverters;
namespace JsBind.Net.Internal
{
/// <summary>
/// Base class of invocation result from JavaScript.
/// </summary>
internal class InvokeResult
{
[JsonPropertyName("isError")]
public bool IsError { get; s... | 2.402439 | 90713bff5108c81684147d61d60830bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848097 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Dongliang-y/NMicroAPP",
"max_stars_repo_path": "service/NPlatform.Domains/DTO/Sys/Rule_DataDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167317"
} | starcoder | <gh_stars>1-10
/***********************************************************
**项目名称:ZJJWFoundationPlatform.DTO
**功能描述: 数据传输层
**作 者: codesmith脚本生成
**版 本 号: 1.0 ... | 1.703281 | 3f4c5d78d69e121e86d0d98822b328f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848098 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "toyiyo/todo",
"max_stars_repo_path": "aspnet-core/src/toyiyo.todo.Web.Mvc/Views/Projects/_EditModal.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:167318"
} | starcoder | @using toyiyo.todo.Web.Models.Projects
@using toyiyo.todo.Web.Models.Common.Modals
@model toyiyo.todo.Web.Models.Projects.EditProjectModalViewModel
@{
Layout = null;
}
@await Html.PartialAsync("~/Views/Shared/Modals/_ModalHeader.cshtml", new ModalHeaderViewModel(L("EditProject")))
<form name="ProjectEditForm" role... | 2.055457 | 962a8c4f6eff567ce555375f030d10c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848099 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "Supernic3/Slipe-Core",
"max_stars_repo_path": "Slipe/Core/Source/SlipeClient/Browsers/Events/OnCreatedEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167319"
} | starcoder | <reponame>Supernic3/Slipe-Core<filename>Slipe/Core/Source/SlipeClient/Browsers/Events/OnCreatedEventArgs.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Slipe.Client.Browsers.Events
{
public class OnCreatedEventArgs
{
internal OnCreatedEventArgs() { }
}
}
| 1.189523 | 711c2d6ebe6b37e157c23ef41105ac59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848100 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "smbc-digital/iag-webapp",
"max_stars_repo_path": "src/StockportWebapp/Utils/GroupPermissionHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167320"
} | starcoder | <filename>src/StockportWebapp/Utils/GroupPermissionHelper.cs
namespace StockportWebapp.Utils
{
public static class GroupPermissionHelper
{
public static string GetPermisison(string letter)
{
switch (letter.ToUpper()) {
case "A":
return "Administra... | 2.586722 | f664d6fd140e6e73df725cf229f50c0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848101 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "delevv/Carpfish",
"max_stars_repo_path": "Web/Carpfish.Web.ViewModels/Home/IndexViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167321"
} | starcoder | <filename>Web/Carpfish.Web.ViewModels/Home/IndexViewModel.cs
namespace Carpfish.Web.ViewModels.Home
{
using System.Collections.Generic;
using Carpfish.Web.ViewModels.Lakes;
using Carpfish.Web.ViewModels.Rigs;
using Carpfish.Web.ViewModels.Trophies;
public class IndexViewModel
{
public... | 1.837574 | 7a767c3ee7c2e5b43a29a434d143b9b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848102 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlbertJvR/RabbitMq.Broker.Service",
"max_stars_repo_path": "RabbitMq.Broker.Service/RabbitMq.Adapter.Abstractions/RabbitMqOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167322"
} | starcoder | <reponame>AlbertJvR/RabbitMq.Broker.Service
using System;
using System.Collections.Generic;
using System.Text;
namespace RabbitMq.Adapter.Abstractions
{
public class RabbitMqOptions
{
public string HostName { get; set; }
}
}
| 1.323627 | 7771c014c67525109390c678b7296fd4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848103 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Borck/CB-Libs",
"max_stars_repo_path": "CB.SystemTests/Collections/ObservableDictionaryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167323"
} | starcoder | using Xunit;
namespace CB.System.Collections {
public class ObservableDictionaryTests {
[Fact]
public void ObservableDictionaryTest() {
var objExpected = new object();
var dictionary = new ObservableDictionary<MyKey, object> {{new MyKey(815), objExpected}};
var obj = dictionary[new MyK... | 2.704461 | f8e981b9ae6d0f59c0d061e79a79f48c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848104 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "82ndAirborneDiv/Epi-Info-Cloud-Contact-Tracing",
"max_stars_repo_path": "Cloud Enter/Epi.Cloud.Interfaces/DataInterfaces/ISecurityDataService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167324"
} | starcoder | <gh_stars>1-10
using Epi.Cloud.Common.Message;
namespace Epi.Cloud.Interfaces.DataInterfaces
{
public interface ISecurityDataService
{
UserAuthenticationResponse PassCodeLogin(UserAuthenticationRequest request);
UserAuthenticationResponse SetPassCode(UserAuthenticationRequest request);
UserAuthentication... | 1.382582 | 3e6cfd7a7e88ed3da62e582e92305db3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848105 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kcrnac/ng-instagram",
"max_stars_repo_path": "backend/Instagram.Repository/Implementations/UserRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167325"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Instagram.Data;
using Instagram.Data.Model.Account;
using Instagram.Repository.Interfaces;
using Microsoft.EntityFrameworkCore;
namespace Instagram.Repository.Implementations
{
public class UserRepository : BaseRepository<App... | 2.354789 | 2b6a6bf6b1104186a4168f63ef8c1dfb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848106 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eldiablo-1226/Diablo-Cms-Ecommerce",
"max_stars_repo_path": "DiabloCms.UseCases/Services/Products/Specifications/ProductByColorSpecification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167326"
} | starcoder | <filename>DiabloCms.UseCases/Services/Products/Specifications/ProductByColorSpecification.cs
using System;
using System.Linq;
using System.Linq.Expressions;
using DiabloCms.Entities.Models;
using DiabloCms.UseCases.Base;
namespace DiabloCms.UseCases.Services.Products.Specifications
{
public class ProductByColorSp... | 2.790616 | 31a99178e5567e4206994459d578c7d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848107 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "netcode-gamer/game.ultimaonline.io",
"max_stars_repo_path": "UltimaOnline.Data/Items/Special/Veteran Rewards/Brazier.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167327"
} | starcoder | <reponame>netcode-gamer/game.ultimaonline.io
using System;
using UltimaOnline;
using UltimaOnline.Gumps;
using UltimaOnline.Multis;
using UltimaOnline.Network;
using UltimaOnline.Engines.VeteranRewards;
namespace UltimaOnline.Items
{
public class RewardBrazier : Item, IRewardItem
{
public ov... | 2.158185 | 5a56fac4c71f2b8506afbdc15c5643a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848108 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dongpn-vn/Dongpn",
"max_stars_repo_path": "Demo Test/ObjectPool/Scripts/Event/KillEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167328"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class KillEvent : BaseEvent<KillEventData>
{
public override KillEventData Data { get; }
public KillEvent(GameObject k, GameObject v)
{
Data = new KillEventData(k, v);
}
}
| 1.956629 | 1925686e6e431067bb741fb957f77128 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848109 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Metibor/ualbion",
"max_stars_repo_path": "src/Game/Gui/Inventory/LogicalInventorySlot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167329"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using UAlbion.Api;
using UAlbion.Core;
using UAlbion.Formats.Assets;
using UAlbion.Game.Events;
using UAlbion.Game.Events.Inventory;
using UAlbion.Game.Gui.Controls;
using UAlbion.Game.Input;
using UAlbion.Game.State;
using UAlbion.Game.State.... | 2.052908 | c69093fad5fd68c0d35ac0127de76ba8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848110 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NAGeorge/SolidCP-fork",
"max_stars_repo_path": "SolidCP/Sources/ACMESharp/ACMESharp/ACMESharp/Messages/IdentifierPart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167330"
} | starcoder | namespace ACMESharp.Messages
{
public class IdentifierPart
{
public string Type
{ get; set; }
public string Value
{ get; set; }
}
}
| 1.484936 | af068423f6979fdf2d99f1f80c1384d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848111 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kdcllc/MachineLearningSample",
"max_stars_repo_path": "src/NaiveBayesClassifyer/GenerateSample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167331"
} | starcoder | <filename>src/NaiveBayesClassifyer/GenerateSample.cs<gh_stars>0
using System;
namespace MachineLearning
{
public class GenerateSample
{
static Random ran = new Random(25); // 25 gives a nice demo
public static string[] MakeData(int numRows) // make dummy data
{
string[] result = new string[numRow... | 3.396332 | 199308d635afb5fc8a209ca8f0ecfe6c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.