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 | 88461 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "libraplanet/naucon",
"max_stars_repo_path": "naulib/AudioStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88462"
} | starcoder | using System;
using System.IO;
namespace naulib
{
public class AudioStream : IDisposable
{
private Stream stream;
public AudioStream(Stream stream)
{
this.stream = stream;
}
public void Dispose()
{
stream.Dispose();
}
#... | 3.359727 | 4bc251cd860e1c5c9201f1258cad3187 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88462 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lucafusti/urbie",
"max_stars_repo_path": "fustinonispostamente/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88463"
} | starcoder | using System;
using System.Text.Json;
using System.Windows.Forms;
namespace fustinonispostamente
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
/**
* @fn private void Login_Click(object sender, EventArgs e)
*
... | 2.302876 | dddb8da18d7eb3d4441e3765abcadd47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88463 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "seanlinmt/tradelr",
"max_stars_repo_path": "bajula/Libraries/scheduler/shipwire/InventoryUpdate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88464"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Shipwire;
using tradelr.DataAccess;
using tradelr.DBML;
using tradelr.DBML.Models;
using clearpixels.Logging;
using tradelr.Models.products;
namespace tradelr.Libraries.scheduler
{
public class Invent... | 2.358584 | 329296593071ab8a77f4dcc7c499e72c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88464 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vnau/Kelary.Infrastructure",
"max_stars_repo_path": "Kelary.Infrastructure/Converters/BooleanToVisibilityConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88465"
} | starcoder | #region Disclaimer / License
// Copyright (c) 2017 The Kelary Team
//
// 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 us... | 2.407396 | fda326228765175247269801d5ed8d17 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88465 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PacktPublishing/Unity-Android-Game-Development-Build-7-2D-and-3D-Games",
"max_stars_repo_path": "game-course-assets4/All Game scripts/3D Runner/PlayerController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88466"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour {
Rigidbody rb;
Animator anim;
[SerializeField]
float speed;
[SerializeField]
float jumpForce;
void Awake(){
rb = GetComponent<Rigidbody> ();
anim = GetCompone... | 2.225081 | 4ec2610ccdff57a12b2cc3404d379b1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88466 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Nyerst/ILSpy",
"max_stars_repo_path": "ICSharpCode.Decompiler.Tests/TestCases/Ugly/NoLocalFunctions.Expected.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88467"
} | starcoder | <reponame>Nyerst/ILSpy
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace ICSharpCode.Decompiler.Tests.TestCases.Ugly
{
public sealed class Handle
{
private readonly Func<int> _func;
public Handle(Func<int> func)
{
_func = func;
}
}
public static class... | 2.436277 | a226913bc4e88ec5ab32f23c6f6f6449 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88467 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mojtaba-yekta/beasy-beaver",
"max_stars_repo_path": "TuringMachine/Model/Machine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88468"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace TuringMachine.Model
{
public class Machine
{
public string StartPoint { get; set; }
public List<CardRaw> Cards { get; set; }
}
}
| 1.699095 | e9026229439f5d115a792bbc6ffc1e6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88468 | {
"extension": "c-sharp",
"max_stars_count": "324.0",
"max_stars_repo_name": "1adetbeyfendi/madb",
"max_stars_repo_path": "SharpAdbClient/TransportType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88469"
} | starcoder | // <copyright file="TransportType.cs" company="The Android Open Source Project, <NAME>, Quamotion">
// Copyright (c) The Android Open Source Project, <NAME>, Quamotion. All rights reserved.
// </copyright>
namespace SharpAdbClient
{
/// <summary>
/// Specifies the transport type used between the device and th... | 2.365574 | 0a3f7b3fadc033e2ea75794d56a5cfd8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88469 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "vkvenkat/corefx",
"max_stars_repo_path": "src/System.ServiceModel.Syndication/tests/System/ServiceModel/Syndication/InlineCategoriesDocumentTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88470"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.Ser... | 2.043709 | a01cfcea89891d7c9606990752713888 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88470 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NWebsec/NWebsec.TestSites",
"max_stars_repo_path": "Mvc5owin/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88471"
} | starcoder | <reponame>NWebsec/NWebsec.TestSites<gh_stars>1-10
using System.Security.Cryptography.X509Certificates;
using Microsoft.Owin;
using NWebsec.Owin;
using Owin;
[assembly: OwinStartup(typeof(Mvc5owin.Startup))]
namespace Mvc5owin
{
public class Startup
{
public void Configuration(IAppBuilder... | 1.545664 | f1d469871a218cf94f3dc617bdd9e92c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88471 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Battleman/StartHack2k17",
"max_stars_repo_path": "FFS/Assets/Scripts/LogiInit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88472"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LogiInit : MonoBehaviour
{
const float INTERPOLATE_STEP = 0.08f;
int red = 0;
int green = 0;
int blue = 0;
private static float goal_r = 0.0f;
private static float goal_g = 0.0f;
private static float go... | 2.47867 | f677e27c3e86590bb24a2e022a91054b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88472 | {
"extension": "c-sharp",
"max_stars_count": "65.0",
"max_stars_repo_name": "hcq0618/Unity-ImageLoader",
"max_stars_repo_path": "Assets/Scripts/BestHTTP/Caching/HttpCacheUriBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88473"
} | starcoder | using System;
namespace BestHTTP.Caching
{
public interface HttpCacheUriBuilder
{
Uri BuildCacheUri (Uri uri);
}
}
| 1.735376 | 2e1be39e4ffa4ad941af959f1ba2ee7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88473 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "d3x0r/xperdex",
"max_stars_repo_path": "OpenSkiePOS/WebInterfaces/IBarcodeReceiver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88474"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
namespace WebInterfaces
{
[ServiceContract]
public interface IBarcodeReceiver
{
[OperationContract]
//[OperationContractAttribute( AsyncPattern = true )]
bool Handle... | 2.221811 | 49884802be498cfd24e910a2a0dd3e52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88474 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "Planshit/ProjectEvent",
"max_stars_repo_path": "src/ProjectEvent.UI/Services/IEventMangerService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88475"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Text;
namespace ProjectEvent.UI.Services
{
public interface IEventMangerService
{
}
}
| 1.043742 | f90c7569e55c544ef393bfac0b0f3872 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88475 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sookeke/PSP",
"max_stars_repo_path": "backend/entities/ContactMethod.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88476"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Pims.Dal.Entities
{
/// <summary>
/// ContactMethod class, provides an entity for the datamodel to manage personal contact method.
/// </summary>
[MotiTable("PIMS_CONTACT_METHOD", "CNTMTH")]
public class ContactMethod : Bas... | 2.795169 | 8f65c5b81d170eb798a912cef2426857 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88476 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "TheDoomKing/BTM",
"max_stars_repo_path": "BTM.MobileApp/BTM.MobileApp/Models/BugPreviewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88477"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace BTM.MobileApp.Models
{
public class BugPreviewModel
{
public int Id { get; set; }
public string Title { get; set; }
public DateTime DateAdded { get; set; }
public string Submitter { get; set; }
... | 1.605847 | 1058d1a84aed874cb85f47445a8f5849 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88477 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HultimateH/EasyScaleMod",
"max_stars_repo_path": "EasyScale/Mod.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88478"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using JetBrains.Annotations;
using spaar.ModLoader;
using UnityEngine;
// ReSharper disable CompareOfFloatsByEqualityOperator
namespace Lench.EasyScale
{
public class Mod : spaar.ModLoader.Mod
{
public override string Name { get;... | 1.785893 | 70242939a6514f0966099fb64c17c49c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88478 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ecraciun/TerribleBankInc",
"max_stars_repo_path": "src/TerribleBankInc/Views/Transfer/GetAllTransactions.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:88479"
} | starcoder | @model IEnumerable<TerribleBankInc.Models.Entities.BankTransaction>
@{
var clientId = int.Parse(User.Identity.Name);
}
<h2>Incoming</h2>
@await Html.PartialAsync("_TransactionsList", Model.Where(x => x.DestinationClientId == clientId))
<h2>Outgoing</h2>
@await Html.PartialAsync("_TransactionsList", Model.Where(... | 2.16822 | 253522eb8103234bef94625fe0f7b3c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88479 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "glitch100/Halo-API",
"max_stars_repo_path": "HaloEzAPI/Model/Request/Sort.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88480"
} | starcoder | <filename>HaloEzAPI/Model/Request/Sort.cs
namespace HaloEzAPI.Model.Request
{
public enum Sort
{
Name,
Description,
Accessibility,
Created,
Modified,
BookmarkCount,
}
}
| 1.63068 | dc5cca19117ce9fab69247e9bdf6f33d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88480 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wouterdevinck/lamp",
"max_stars_repo_path": "src/dashboard/WhitelistMiddleware.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88481"
} | starcoder | using Microsoft.AspNetCore.Http;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
namespace LampControl {
public class WhitelistMiddleware {
private readonly List<string> _userWhitelist = new List<string>() {
"b83ffb1a4d2e0f4b" // <EMAIL>
}... | 2.531675 | 546e310bdcbccc6a46f575b579ba76f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88481 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "gdlcf88/PrivateMessaging",
"max_stars_repo_path": "src/EasyAbp.PrivateMessaging.Domain.Shared/PrivateMessages/SendPrivateMessageEto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88482"
} | starcoder | <gh_stars>10-100
using System;
using JetBrains.Annotations;
using Volo.Abp.Data;
using Volo.Abp.MultiTenancy;
namespace EasyAbp.PrivateMessaging.PrivateMessages
{
[Serializable]
public class SendPrivateMessageEto : IMultiTenant, IHasExtraProperties
{
public Guid? TenantId { get; set; }
... | 1.945071 | 270e574ec990446b5b817c0673211726 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88482 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eoincampbell/coding-puzzles",
"max_stars_repo_path": "daily/DailyCodingProblems/Base/BasePuzzle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88483"
} | starcoder | namespace DailyCodingProblems.Base
{
using System.Threading.Tasks;
public abstract class BasePuzzle : IPuzzle
{
public string Name { get; }
protected BasePuzzle(string name)
{
Name = name;
}
protected abstract Task<string> ExecuteImpl();
public... | 3.229905 | a772d19bbf923e4bf77bc8cf6c944564 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88483 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danjoconnell/VideoScriptEditor",
"max_stars_repo_path": "VideoScriptEditor/VideoScriptEditor/PrismExtensions/ContentPresenterRegionAdapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88484"
} | starcoder | /*
Based on ContentControlRegionAdapter.cs, located at https://github.com/PrismLibrary/Prism/blob/master/src/Wpf/Prism.Wpf/Regions/ContentControlRegionAdapter.cs
Prism is licensed under The MIT License (MIT), Copyright (c) .NET Foundation.
The full text of the license is available at https://github.com/Pr... | 2.586632 | 7732e5471c613471b34c5fb5176481c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88484 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aevansme/SpotifyApi.NetCore",
"max_stars_repo_path": "src/SpotifyApi.NetCore/Models/Playlist.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88485"
} | starcoder | <reponame>aevansme/SpotifyApi.NetCore<gh_stars>0
// Generated by https://quicktype.io
using System;
using Newtonsoft.Json;
namespace SpotifyApi.NetCore
{
/// <summary>Playlist object (full)</summary>
/// <remarks>
/// https://developer.spotify.com/documentation/web-api/reference/object-model/#playlist-obje... | 1.748551 | e7c01cf08d99285b197cd6e3246a0dae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88485 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "patrickCode/AzDoc",
"max_stars_repo_path": "AzDoc.Service/Core/Domain/WorkflowContext/Aggregates/Step.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88486"
} | starcoder | <filename>AzDoc.Service/Core/Domain/WorkflowContext/Aggregates/Step.cs
using AzDoc.Common.Domain;
using System.Threading.Tasks;
using AzDoc.Common.Constants;
using AzDoc.Domain.WorkflowContext.ValueObjects;
namespace AzDoc.Domain.WorkflowContext.Aggregates
{
public abstract class Step: Aggregate
{
pro... | 2.285931 | 57e5a973f4aca9942b7c210eef76eb29 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88486 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TomaszKandula/TokanPages",
"max_stars_repo_path": "TokanPages.Backend/TokanPages.Backend.Database/Initializer/Data/Articles/Article4.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88487"
} | starcoder | namespace TokanPages.Backend.Database.Initializer.Data.Articles
{
using System;
using System.Diagnostics.CodeAnalysis;
using Users;
[ExcludeFromCodeCoverage]
public static class Article4
{
public const string TITLE = ".NET Memory Management";
public const string DESCRIPTION... | 2.152734 | 402b107a44c18c9bb3e158d97fc768d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88487 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "e1ement/RT-BACK",
"max_stars_repo_path": "Entities/Models/ValueEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88488"
} | starcoder | <reponame>e1ement/RT-BACK<filename>Entities/Models/ValueEntity.cs
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Entities.Models
{
[Table("Values")]
public class ValueEntity : AutoincrementEntity
{
[Required(ErrorMessage = "Description is... | 2.423101 | d61cd5775097dcfeeee90d09c14f6ec8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88488 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TiagoPimCosta/StockProject",
"max_stars_repo_path": "backend/StockProject/StockProject/Entities/Product.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88489"
} | starcoder | <reponame>TiagoPimCosta/StockProject
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace StockProject.Entities
{
public class Product
{
[BsonId]
public ObjectId Id { get; set... | 2.140538 | fd8788345276153dac73d1765826d783 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88489 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Misttgun/Battle-Robot",
"max_stars_repo_path": "Unity/Assets/BattleRobo/Scripts/Network/LauncherScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88490"
} | starcoder | <filename>Unity/Assets/BattleRobo/Scripts/Network/LauncherScript.cs
using UnityEngine;
using UnityEngine.UI;
namespace BattleRobo.Networking
{
public class LauncherScript : Photon.PunBehaviour
{
// The Ui Panel to let the user enter name, connect and play
public GameObject controlPanel;
... | 2.383402 | 3aa414f88c02825093ac1acf1d59d87d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88490 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amz-hjinfeng/ScrapyCore",
"max_stars_repo_path": "ScrapyCpre.Fundamental/Kernel/Load/LoadContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88491"
} | starcoder | <filename>ScrapyCpre.Fundamental/Kernel/Load/LoadContext.cs
using ScrapyCore.Fundamental.Scheduler;
using System;
using System.Collections.Generic;
using System.Text;
namespace ScrapyCore.Fundamental.Kernel.Load
{
public class LoadContext
{
public object Parameter { get; set; }
public Platfor... | 1.407951 | b1ce18d68de55c4522d054b92b51c9ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88491 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FutureProcessing/HttpResponder",
"max_stars_repo_path": "HttpResponder/ResponseSpec.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88492"
} | starcoder | <reponame>FutureProcessing/HttpResponder<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Dynamic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Owin;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;... | 2.482006 | bda9655f072f69833a102222e5b11feb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88492 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nblondel/tales_of_tiles",
"max_stars_repo_path": "Assets/Scripts/Player/PlayerStoneToPlayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88493"
} | starcoder | <reponame>nblondel/tales_of_tiles
using UnityEngine;
public class PlayerStoneToPlayer : StateMachineBehaviour {
private PlayerScript _playerScript;
private PlayerHealth _playerHealth;
private CameraFollow _cameraFollow;
private void Awake() {
_playerScript = GameObject.FindGameObjectWithTag("... | 1.823199 | 8642020683f6c790d0a4056ee463f6fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88493 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "xinliuleo/dockercompose-azdevops",
"max_stars_repo_path": "src/BlogApp.Data/DbConfiguration/PostEntityConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88494"
} | starcoder | <gh_stars>1-10
using BlogApp.Data.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace BlogApp.Data.DbConfiguration
{
public sealed class PostEntityConfiguration : IEntityTypeConfiguration<Post>
{
public void Configure(EntityTypeBuilder<Post> ... | 2.715774 | 5fb71c4d97384555a6c614d69e23b555 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88494 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jpopadak/CoreMatchers",
"max_stars_repo_path": "test/StandardMatchers.Tests/Matchers/Collection/IsEnumerableWithSizeFacts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88495"
} | starcoder | <filename>test/StandardMatchers.Tests/Matchers/Collection/IsEnumerableWithSizeFacts.cs
using System.Collections.Generic;
using JPopadak.CoreMatchers;
using JPopadak.CoreMatchers.Matchers;
using Xunit;
using static JPopadak.CoreMatchers.Matchers.Matchers;
using static JPopadak.StandardMatchers.Matchers.Matchers;
names... | 2.329033 | 681dd3859670860c07583a09824b4477 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88495 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "BetulTugce/LibraryAutomation",
"max_stars_repo_path": "libraryAutomation/frmEditBook.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88496"
} | starcoder |
namespace libraryAutomation
{
partial class frmEditBook
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.687864 | 54e61d402e2798c8d5df8bc9e180cbcc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88496 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wudameinv/AElf",
"max_stars_repo_path": "test/AElf.Kernel.Configuration.Tests/OptionalLogEventListeningService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88497"
} | starcoder | <reponame>wudameinv/AElf
using System.Collections.Generic;
using System.Threading.Tasks;
using AElf.Kernel.Blockchain;
using AElf.Kernel.SmartContract.Application;
namespace AElf.Kernel.Configuration.Tests
{
public class OptionalLogEventListeningService<T> : ILogEventListeningService<T> where T : ILogEventProcesso... | 1.429233 | 30a5769cf1bed643c8ba6a0d4b1217be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88497 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marcusts/Com.MarcusTS.SharedForms",
"max_stars_repo_path": "Common/DeviceServices/OrientationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88498"
} | starcoder | <gh_stars>0
// *********************************************************************************
// Assembly : Com.MarcusTS.SharedForms
// Author : <NAME> (Marcus Technical Services, Inc.)
// Created : 12-23-2018
// Last Modified On : 12-23-2018
//
// <copyright file="OrientationService.cs" ... | 2.138924 | 2c93829861f04fa104e7ddf6d4e4b51b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88498 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "suaveavocado/insane-backpack",
"max_stars_repo_path": "SuaveAvocado.Sensor.Mock/Secrets/SecretRevealer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88499"
} | starcoder | using System;
using Microsoft.Extensions.Options;
namespace SuaveAvocado.Sensor.Mock.Secrets
{
public class SecretRevealer : ISecretRevealer
{
private readonly DeviceConfiguration _secrets;
// I’ve injected <em>secrets</em> into the constructor as setup in Program.cs
public SecretRevea... | 2.753216 | 3ce3996730490437d00e763e058e8803 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88499 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Horusiath/orleans",
"max_stars_repo_path": "src/Orleans/AssemblyLoader/CachedReflectionOnlyTypeResolver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88500"
} | starcoder | <reponame>Horusiath/orleans<gh_stars>0
using System;
using System.IO;
using System.Reflection;
namespace Orleans.Runtime
{
internal class CachedReflectionOnlyTypeResolver : CachedTypeResolver
{
private static readonly Logger logger;
static CachedReflectionOnlyTypeResolver()
{
... | 2.321372 | 3fa84f0a602a6f9b4841bee8cbda6ed6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88500 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lunacys/lunge",
"max_stars_repo_path": "src/lunge.Library/Discord/RPC/RPC/Commands/ICommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88501"
} | starcoder | using lunge.Library.Discord.RPC.RPC.Payload;
namespace lunge.Library.Discord.RPC.RPC.Commands
{
interface ICommand
{
IPayload PreparePayload(long nonce);
}
}
| 1.257117 | d045f6b5d257d973b137d2ce4e644dd7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88501 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "erdembayar/NuGet.Client",
"max_stars_repo_path": "test/NuGet.Core.Tests/NuGet.Build.Tasks.Test/GetRestorePackageReferencesTaskTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88502"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using Microsoft.Build.Framework;
using Xunit;
namespace NuGet.Build.Tasks.Test
{
/// <summary>
/// Verifies functionality in... | 2.317375 | a5bb022b5948ce9bdb417c9de37f583f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88502 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "0x1000000/Expressions",
"max_stars_repo_path": "Expression/Arithmetic/ExprExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88503"
} | starcoder | <filename>Expression/Arithmetic/ExprExtension.cs
using System;
namespace Expression.Arithmetic
{
public static class ExprExtension
{
public static int Evaluate(this Expr expr)
=> expr.Accept(ExprEvaluator.Instance);
public static string Print(this Expr expr)
=> expr.... | 3.072715 | 12abb1aad2cf22f3321d40a90254cf7a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88503 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "psxvoid/dngrep",
"max_stars_repo_path": "dngrep.tool/Abstractions/CodeAnalysis/Project.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88504"
} | starcoder | <reponame>psxvoid/dngrep<gh_stars>0
using System.Threading.Tasks;
using dngrep.tool.Abstractions.CodeAnalysis.CSharp;
using MSCompilation = Microsoft.CodeAnalysis.Compilation;
using MSCSharpCompilation = Microsoft.CodeAnalysis.CSharp.CSharpCompilation;
using MSProject = Microsoft.CodeAnalysis.Project;
namespace dngre... | 2.161413 | 7f6b5da61b2d41f2806b96a6b045bf84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88504 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "PsychoReptile/xray-builder.gui",
"max_stars_repo_path": "XRayBuilder.Core/src/Extras/Bootstrap/BootstrapExtras.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88505"
} | starcoder | <filename>XRayBuilder.Core/src/Extras/Bootstrap/BootstrapExtras.cs
using SimpleInjector;
using XRayBuilder.Core.DataSources.Amazon.Bootstrap;
using XRayBuilder.Core.Extras.AuthorProfile;
using XRayBuilder.Core.Extras.EndActions;
using XRayBuilder.Core.Extras.StartActions;
using XRayBuilder.Core.Libraries.Bootstrap.Mode... | 1.552463 | 8e37d1a4dce879462bc9f7fb28c91b7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88505 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "LordMike/NtfsLib",
"max_stars_repo_path": "NtfsExtract/NTFS/Headers/AttributeResidentHeader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88506"
} | starcoder | using System;
using System.Diagnostics;
namespace NtfsExtract.NTFS.Headers
{
public class AttributeResidentHeader
{
public uint ContentLength { get; set; }
public ushort ContentOffset { get; set; }
public static AttributeResidentHeader ParseHeader(byte[] data, int offset = 0)
... | 2.681592 | 694bc26b981d78d5accbe39fa5082360 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88506 | {
"extension": "c-sharp",
"max_stars_count": "440.0",
"max_stars_repo_name": "WeiiWang/AgileMapper",
"max_stars_repo_path": "AgileMapper.UnitTests/SimpleTypeConversion/WhenConvertingToBytes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88507"
} | starcoder | <gh_stars>100-1000
namespace AgileObjects.AgileMapper.UnitTests.SimpleTypeConversion
{
using System.Collections.Generic;
using Common;
using Common.TestClasses;
using TestClasses;
#if !NET35
using Xunit;
#else
using Fact = NUnit.Framework.TestAttribute;
[NUnit.Framework.TestFixture]
#endif... | 2.51009 | 85391c3cbaf681cb80d9bb928d96894e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88507 | {
"extension": "c-sharp",
"max_stars_count": "1649.0",
"max_stars_repo_name": "thevirtuoso1973/MudBlazor",
"max_stars_repo_path": "src/MudBlazor/Enums/DividerType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88508"
} | starcoder | <reponame>thevirtuoso1973/MudBlazor
using System.ComponentModel;
namespace MudBlazor
{
public enum DividerType
{
[Description("fullwidth")]
FullWidth,
[Description("inset")]
Inset,
[Description("middle")]
Middle
}
}
| 1.659022 | 074ce36b1c5594ec7dafc438b8d141bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88508 | {
"extension": "c-sharp",
"max_stars_count": "68.0",
"max_stars_repo_name": "devmentors/Inflow",
"max_stars_repo_path": "src/Shared/Inflow.Shared.Abstractions/Kernel/Exceptions/InvalidFullNameException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88509"
} | starcoder | using Inflow.Shared.Abstractions.Exceptions;
namespace Inflow.Shared.Abstractions.Kernel.Exceptions;
public class InvalidFullNameException : InflowException
{
public string FullName { get; }
public InvalidFullNameException(string fullName) : base($"Full name: '{fullName}' is invalid.")
{
FullNam... | 2.533051 | e72151934e93be2ffcf8bf17e10474b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88509 | {
"extension": "c-sharp",
"max_stars_count": "487.0",
"max_stars_repo_name": "cdwiegand/csharp-driver",
"max_stars_repo_path": "src/Cassandra.Tests/DataStax/Insights/InsightTypeConverterTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88510"
} | starcoder | //
// Copyright (C) DataStax Inc.
//
// 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 la... | 2.002328 | dd5202d50e6904fb8b55502e78dc2354 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88510 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "laaragm/GradesManager",
"max_stars_repo_path": "GradesManager.Infra.Abstractions/Repositories/IClassroomStudents.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88511"
} | starcoder | <gh_stars>0
using Base.Infra.Abstractions.Repositories;
using GradesManager.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace GradesManager.Infra.Abstractions.Repositories
{
public interface IClassroomStudents : IRepository<ClassroomStudent>
... | 1.80857 | b96c9197f16f9d9f74f939b8753da945 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88511 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "onderyildirim/iotedge-logging-and-monitoring-solution",
"max_stars_repo_path": "FunctionApp/FunctionApp/MetricsCollector/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88512"
} | starcoder | namespace FunctionApp.MetricsCollector
{
public static class Constants
{
public static readonly string VersionNumber = "0.1.2.0"; // TODO: grab this from somewhere else
public static readonly string MetricOrigin = "iot.azm.ms";
public static readonly string MetricNamespace = "metricsmod... | 1.464272 | 64f3eef76210a68e893beb24ea57fa1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88512 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JPVenson/WPFCommon",
"max_stars_repo_path": "JPB.WPFToolsAwesome.NetStandard/Error/IErrorCollectionBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88513"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Collections.Specialized;
using JPB.WPFToolsAwesome.Error.ValidationTypes;
namespace JPB.WPFToolsAwesome.Error
{
public interface IErrorCollectionBase : ICollection<IValidation>, INotifyCollectionChanged
{
IEnumerable<IValidation> FilterErrors(string fi... | 1.614976 | 9f2a85afc96a3b711473ffa7bec4410b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88513 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sherikhanx/SOSERP",
"max_stars_repo_path": "webapp/Areas/secure/Views/Office/Details.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:88514"
} | starcoder | <reponame>sherikhanx/SOSERP<filename>webapp/Areas/secure/Views/Office/Details.cshtml
@model BaseApp.Entity.Office
@{
ViewBag.Title = Model.Title;
var updatedUser = ViewBag.UpdatedUser as BaseApp.Entity.AppUser;
var createdUser = ViewBag.CreatedUser as BaseApp.Entity.AppUser;
string acronym = string.Jo... | 2.105155 | 563f974993f49e1058b366fa6987da1f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88514 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "chotkos/SMSApi",
"max_stars_repo_path": "smsapi/Api/Response/FieldOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88515"
} | starcoder | using System.Runtime.Serialization;
namespace SMSApi.Api.Response
{
[DataContract]
public class FieldOptions : BasicCollection<FieldOption>
{
private FieldOptions() : base() { }
}
}
| 1.458678 | b2c4d690616d87f8433ffc014aa00001 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88515 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SnowyGFL/MapDownloader.Cli",
"max_stars_repo_path": "src/Utils/Extensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88516"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
namespace MapDownloader
{
static class Extensions
{
public static bool IsValidURL(this string url)
{
bool result = Uri.TryCreate(url, UriKind.Absolute, out Uri uriResult) && (u... | 2.664684 | 02407d6415b6992dd21bae944f012a71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88516 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "one-system/one-system-monitor",
"max_stars_repo_path": "src/OneSystemMonitor.Domain/PingModule/PingAggregate/PingOperation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88517"
} | starcoder | <filename>src/OneSystemMonitor.Domain/PingModule/PingAggregate/PingOperation.cs
using System;
using System.Net.NetworkInformation;
using System.Text;
namespace OneSystemMonitor.PingModule.PingAggregate
{
public static class PingOperation
{
public static PingReply PingResource(string resourceUri)
... | 2.966749 | 2206a086deecb489678a8794c37a95dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88517 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ChrWieg/TvHeadend",
"max_stars_repo_path": "TvHeadendGui/Views/Recordings.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88518"
} | starcoder | using System.Windows.Controls;
namespace TvHeadendGui.Views
{
/// <summary>
/// Interaction logic for RecordingsView
/// </summary>
public partial class Recordings : UserControl
{
public Recordings()
{
InitializeComponent();
}
}
}
| 1.21768 | 39c5d245e0f5bb27cfe729cc7e06b340 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88518 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "WamWooWam/HedgeModManager",
"max_stars_repo_path": "HedgeModManager/src/HMMCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88519"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Pipes;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace HedgeModManager
{
public static class HMMCommand
{
public static NamedPipeServerStream Pipe;
public sta... | 2.60512 | be8b2d18555f3bf64e0d819cbdb51151 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88519 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jsakamoto/BlazorWOL-for-Windows",
"max_stars_repo_path": "Server/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88520"
} | starcoder | <reponame>jsakamoto/BlazorWOL-for-Windows
using System;
using System.IO;
using System.Runtime.InteropServices;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace... | 1.90413 | b0cfd8ff33e815203326db4b6f7487fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88520 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kharzette/GrogTools",
"max_stars_repo_path": "LightExplore/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88521"
} | starcoder | using System;
using System.Threading;
using System.Diagnostics;
using System.Collections.Generic;
using System.Windows.Forms;
using InputLib;
using MaterialLib;
using UtilityLib;
using MeshLib;
using SharpDX;
using SharpDX.Direct3D;
using SharpDX.Windows;
using Device = SharpDX.Direct3D11.Device;
using MatLib = Materi... | 1.900858 | 218f029a163f66e67235da1837ab9642 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88521 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "2002-feb24-net/kyran-project1",
"max_stars_repo_path": "GameRealmWeb/Views/Login/Login.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:88522"
} | starcoder | <reponame>2002-feb24-net/kyran-project1<gh_stars>0
@model GameRealmWeb.ViewModels.CustomersViewModel
<form action="/Orders/Option" method="post">
<div class="container">
<label for="uname"><b>Username</b></label>
<input type="text" placeholder="Enter Username" name="uname" require... | 1.965203 | 4224b8f82e539c68a23fc00856dce00a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88522 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "babelshift/LimitedLiability",
"max_stars_repo_path": "LimitedLiability/Content/MapCellType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88523"
} | starcoder | namespace LimitedLiability.Content
{
public enum MapCellType
{
None,
PathNode,
DeadZone
}
} | 1.241901 | a042fc67d056d9ad12b879b296752e31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88523 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "rootdevelop/Excalibur",
"max_stars_repo_path": "Examples/MvvmCross/Excalibur.Tests.Cross.Core/Services/LoggedInUserService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88524"
} | starcoder | <gh_stars>1-10
using System;
using System.Threading.Tasks;
using Excalibur.Cross.Services;
using Excalibur.Tests.Cross.Core.Domain;
namespace Excalibur.Tests.Cross.Core.Services
{
public class LoggedInUserService : ServiceBase<LoggedInUser>
{
public override Task<LoggedInUser> SyncData()
{
... | 1.545963 | f66fdc0e6c3ac6d51031679e79bfb4ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88524 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wisdark/Lunar",
"max_stars_repo_path": "Lunar/PortableExecutable/DataDirectories/RelocationDirectory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88525"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection.PortableExecutable;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Lunar.Native.Enums;
using Lunar.Native.Structs;
using Lunar.PortableExecutable.Records;
namespace Lunar.PortableExecutable.DataDirectories
{
... | 2.218217 | 1d2012a69cb091cc97813015520c62dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88525 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oliver4888/OliBot",
"max_stars_repo_path": "OliBot.API/DIType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88526"
} | starcoder | <filename>OliBot.API/DIType.cs
namespace OliBot.API
{
public enum DIType
{
HostedService,
Transient,
Scoped,
Singleton,
Options
}
}
| 1.475079 | 2ba24dd3e60a0d9a2df8ddf27e85895c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88526 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dampir/GoogleInterviewPreparation",
"max_stars_repo_path": "CommonAlgo/InterviewBit/StackQueues/SimplifyPath.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88527"
} | starcoder | <reponame>dampir/GoogleInterviewPreparation
using System.Collections.Generic;
using NUnit.Framework;
namespace CommonAlgo.InterviewBit.StackQueues
{
public class SimplifyPath
{
[TestCase]
public void SimplifyPathTest()
{
var simplifyPathTest = SimplifyPathTest("/a/./b/../..... | 3.000202 | 57b69a27df2d9cd74c68720e817500a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88527 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alejandro61299/Technical-Test-Innovamat",
"max_stars_repo_path": "Unity Project/Assets/Scripts/States/QuestionScreenState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88528"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MyEvents;
public class QuestionScreenState : State
{
Timer timer;
public QuestionScreenState(StateMachine stateMachine ) : base(stateMachine)
{}
public override void Enter()
{
EventManager.instance.StartL... | 2.125063 | 47ddd9e36a359638d33e704f9bac8e9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88528 | {
"extension": "c-sharp",
"max_stars_count": "114.0",
"max_stars_repo_name": "dev4null/Prism.Container.Extensions",
"max_stars_repo_path": "src/Shiny.Prism/Navigation/NavigationExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88529"
} | starcoder | using System.Linq;
using Microsoft.Extensions.DependencyInjection;
using Prism.Common;
using Prism.Navigation;
namespace Shiny
{
public static class NavigationExtensions
{
public static void UseNavigationDelegate(this IServiceCollection services)
{
services.AddSingleton<INavigation... | 1.823731 | c3ce7bf71852cda8c4ea35e70cec3ff4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88529 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "softwx/ServiceStack",
"max_stars_repo_path": "tests/ServiceStack.Logging.Tests/UseCases/UsingLog4Net.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88530"
} | starcoder | using ServiceStack.Logging.Log4Net;
using NUnit.Framework;
namespace ServiceStack.Logging.Tests.UseCases
{
[TestFixture]
public class UsingLog4Net
{
[Test]
public void Log4NetUseCase()
{
LogManager.LogFactory = new Log4NetFactory();
ILog log = LogManager.GetL... | 2.138201 | cf19a17d1859bc212df157a849f7c462 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88530 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FloodCitiSense/FloodCitiSense",
"max_stars_repo_path": "aspnet-core/src/IIASA.FloodCitiSense.Application.Shared/Datatypes/Dtos/GetAllSensorsForExcelInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88531"
} | starcoder | namespace IIASA.FloodCitiSense.Datatypes.Dtos
{
public class GetAllSensorsForExcelInput
{
public string Filter { get; set; }
public string NameFilter { get; set; }
}
} | 1.402221 | cbc23e31bf841acb73e804d589eba895 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88531 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mvelosop/MicroFlow",
"max_stars_repo_path": "src/MicroFlow/Application/Services/IBudgetItemTypeServices.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88532"
} | starcoder | <reponame>mvelosop/MicroFlow
using Domion.Abstractions;
using Domion.Base;
using MicroFlow.Domain.Model;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace MicroFlow.Application.Services
{
public interface IBudgetItemTypeServices
{
Task<OperationResult<BudgetItemType... | 1.745123 | 732e0bc5843d0d11836f9d81056e54a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88532 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dursuntokgoz/Paribu.Net",
"max_stars_repo_path": "Paribu.Net/SocketObjects/ParibuOrderBook.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88533"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
namespace Paribu.Net.SocketObjects
{
public class ParibuSocketOrderBook
{
public string Pair { get; set; }
public List<ParibuSocketOrderBookEntry> BidsToAdd { get; set; }
public List<ParibuSocketOrderBookEntry> BidsToRemove { get; set; ... | 2.270938 | a11143d605e7851dfd2f4f32661e93c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88533 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "suckerface/ErsatzTV",
"max_stars_repo_path": "ErsatzTV.Core/Interfaces/Repositories/ISearchRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88534"
} | starcoder | <reponame>suckerface/ErsatzTV<gh_stars>0
using System.Collections.Generic;
using System.Threading.Tasks;
using ErsatzTV.Core.Domain;
using LanguageExt;
namespace ErsatzTV.Core.Interfaces.Repositories
{
public interface ISearchRepository
{
public Task<List<int>> GetItemIdsToIndex();
public Task... | 1.74463 | ad35a57156963707f8f5427b0dabd449 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88534 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "CWKSC/MyLib_Unity",
"max_stars_repo_path": "0_MyLib_Unity_2020/0_MyLib_Csharp_Beta/CommonType/MyFunc/MyFunc.Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88535"
} | starcoder | <gh_stars>1-10
using MyLib_Csharp_Beta.CommonMethod;
using System;
using static MyLib_Csharp_Beta.ProgrammingPattern.ProgramStructure;
namespace MyLib_Csharp_Beta.CommonType
{
public partial class MyFunc
{
public static double Foo(int n, MyFunc<double, double> func)
{
double sum... | 3.476506 | 30e41564f8724bb3b33ecccaae31201d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88535 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LANDIS-II-Foundation/Extension-Density-Harvest",
"max_stars_repo_path": "src/HarvestRegime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88536"
} | starcoder | /**
* Namespace: Landis.Extension.Landispro.Harvest
* Class: HarvestRegime
*
* Ver Author Date Note
* --------------------------------------------------------------
* V1.0 <NAME> 12/2018 Initial version
*
****************************************************************... | 2.140272 | fe54090760bab90228f220c36e62a5b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88536 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "beachmiles/androidmono",
"max_stars_repo_path": "jni/MonoJavaBridge/android/generated/android/os/PowerManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88537"
} | starcoder | <filename>jni/MonoJavaBridge/android/generated/android/os/PowerManager.cs
namespace android.os
{
[global::MonoJavaBridge.JavaClass()]
public partial class PowerManager : java.lang.Object
{
internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
static PowerManager()
{
InitJNI();
}
protec... | 1.710905 | ce82c66ff448c90b11135cbc1fb1d6ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88537 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CrestedShark/WarioWareJam",
"max_stars_repo_path": "Assets/Scripts/Minigames/SkiFree.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88538"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
public class SkiFree : BaseMinigame
{
public Rigidbody player;
private const float force = 100f;
private Vector3 dir;
public List<GameObject> list = new List<GameObject>();
public List<GameObject> list2 = new List<GameObject>();
private int succ... | 2.162061 | 2e200dba495a3e2dd668dba354ca0d12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88538 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/Core",
"max_stars_repo_path": "src/Castle.Core/DynamicProxy/Generators/BaseInterfaceProxyGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88539"
} | starcoder | // Copyright 2004-2021 Castle Project - http://www.castleproject.org/
//
// 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 req... | 1.540132 | 9fd5dfddf1e872fddef95cdb06cfd68a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88539 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tgardner851/AuraWeb",
"max_stars_repo_path": "AuraWeb/Views/Universe/RegionInfo.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:88540"
} | starcoder | <reponame>tgardner851/AuraWeb<filename>AuraWeb/Views/Universe/RegionInfo.cshtml
@model AuraWeb.Models.UniverseRegionInfoPageViewModel
@{
ViewData["Title"] = Model.Region.Name;
}
<div class="jumbotron">
<h1 class="display-4">@Model.Region.Name</h1>
<p>
<i>Region</i>
</p>
<hr class="my-4">
... | 2.440669 | c0f24e6abad5589d80286f7c558890cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88540 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nasa/Mixed-Reality-Exploration-Toolk",
"max_stars_repo_path": "Unity/Assets/Framework/Components/AssemblyGrabber/Scripts/AssemblyGrabber.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88541"
} | starcoder | // Copyright © 2018-2021 United States Government as represented by the Administrator
// of the National Aeronautics and Space Administration. All Rights Reserved.
using UnityEngine;
using System.Collections.Generic;
using GSFC.ARVR.MRET.Selection;
using GSFC.ARVR.MRET.Common.Schemas;
using GSFC.ARVR.MRET.Infrastruct... | 1.594839 | 1a02cb432b3fe76fa688d0441f3fe76a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88541 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "watfordjc/csharp-stream-controller",
"max_stars_repo_path": "OBSWebSocketLibrary/Models/Events/Sources.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88542"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace uk.JohnCook.dotnet.OBSWebSocketLibrary.ObsEvents
{
public class SourceCreatedObsEvent : EventBase
{
[JsonPropertyName("sourceName")]
public ... | 1.953015 | 9044a6822d608270b3814c213c11d840 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88542 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "luhongguo/AdminAgentAnchor",
"max_stars_repo_path": "Elight.Logic/Sys/SysLogLogic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88543"
} | starcoder | <gh_stars>1-10
using Elight.Entity.Sys;
using Elight.Logic.Base;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Elight.Utility.Log;
using Elight.Utility.Network;
using Elight.Utility.Extension;
namespace Elight.Logic.Sys
{
... | 2.217696 | aa7bb1b96a2e554088e97c7f1614e3d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88543 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "contino/dotnet-training-course",
"max_stars_repo_path": "Kata/CustomTypes/AdHoc/MenuFactory/DrinksMenu.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88544"
} | starcoder | namespace Kata.CustomTypes.MenuFactory
{
public class DrinksMenu : MenuBase
{
protected override void CreateMenuItems()
{
Items.Add(new CoffeeMenuItem());
Items.Add(new WineMenuItem());
// Items.Add(new TeaMenuItem());
// Items.Add(new BeerMenuItem()... | 1.90877 | 89203fb7cf44621ab5e8ebd1c603f81c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88544 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ljhljh235/AutoRest",
"max_stars_repo_path": "src/generator/AutoRest.Python.Azure/GeneratorSettingsPya.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88545"
} | starcoder | using static AutoRest.Core.Utilities.DependencyInjection;
namespace AutoRest.Python.Azure
{
public class GeneratorSettingsPya : GeneratorSettingsPy
{
/// <summary>
/// Gets the name of code generator.
/// </summary>
public override string Name => "Azure.Python";
///... | 1.79037 | 4d40ddc37b377de4de43673948749751 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88545 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Alword/TechnicalVision",
"max_stars_repo_path": "Views/UserPrompter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88546"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TechnicalVision.WindowsForms.Views
{
public static class UserPrompter
{
public static string ShowDialog(string text, string caption)
{
... | 2.628411 | 874515bf55e243acb32685b2cb253717 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88546 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JokinAce/NETCore.Encrypt",
"max_stars_repo_path": "src/JokinsCryptor/Exception/OutofMaxlengthException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88547"
} | starcoder | using System;
using System.Security.Cryptography;
namespace JokinsCryptor {
/// <summary>
/// The encrypt string out of max length exception
/// </summary>
public class OutofMaxlengthException : Exception {
/// <summary>
/// The max length of encrypt data
/// </summary>
... | 3.154156 | 72d148f177e462a873c7774e429d9d78 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88547 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AndiPexton/GildedRose",
"max_stars_repo_path": "src/GildedRose.Tests/ConjuredItemTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88548"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using FluentAssertions;
using GildedRose.Gateway;
using Xunit;
using static Shadow.Quack.Duck;
namespace GildedRose.Tests
{
/*
We have recently signed a supplier of conjured items. This requires an update to our system:
"Conjured" ... | 2.244375 | 09c830dcb7a9d5ca3d6becf036ab6fb6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88548 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oswaldoguevara/tides-of-madness",
"max_stars_repo_path": "Tides of madness/Assets/scripts/AdministradorRed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88549"
} | starcoder | <reponame>oswaldoguevara/tides-of-madness
using System.Collections;
using System.Collections.Generic;
using System.Net;
using UnityEngine;
using UnityEngine.Networking;
//esta
public class AdministradorRed : MonoBehaviour {
public GameObject prefabCliete;
public GameObject prefabServidor;
int puerto= 8500... | 2.166012 | d4a1d9a4db8b8877700036f345c9b7d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88549 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Borayvor/ReservationSystem",
"max_stars_repo_path": "ReservationSystem/ReservationSystem/Areas/Administration/ViewModels/ReservationAddViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88550"
} | starcoder | <gh_stars>0
using System;
using System.ComponentModel.DataAnnotations;
using ReservationSystem.Common;
namespace ReservationSystem.Areas.Administration.ViewModels
{
public class ReservationAddViewModel
{
[Display(Name = "Date for reservation")]
[DataType(DataType.Date)]
[DisplayFormat(DataFormatString... | 1.837706 | 47ccd4469869f687b9c3e8a93ebf1eea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88550 | {
"extension": "c-sharp",
"max_stars_count": "1700.0",
"max_stars_repo_name": "pmccloghrylaing/marten",
"max_stars_repo_path": "src/DinnerParty/Views/Dinners/My.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:88551"
} | starcoder | <filename>src/DinnerParty/Views/Dinners/My.cshtml
@using System.Collections.Generic
@using System.Linq
@using Nancy.ViewEngines.Razor
@using DinnerParty.Models
@inherits NancyRazorViewBase<dynamic>
@{
Layout = "_Layout.cshtml";
}
<h2>My Dinners</h2>
<ul class="upcomingdinners">
@foreach (var dinner in Model.... | 2.48211 | ead856cdd0f154c2f37616b4d956af08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88551 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jdm7dv/Microsoft-Biology-Foundation",
"max_stars_repo_path": "archive/Changesets/beta/Source/MBF/MBF/IO/MBFStreamReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88552"
} | starcoder | <gh_stars>0
// *****************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the Microsoft Public License.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMP... | 2.887808 | 55639a1d552cbad8fa607acfd642201f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88552 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Dev-Owl/Brainy",
"max_stars_repo_path": "Page/Johnny/Models/ViewModel/Base/BaseViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88553"
} | starcoder | using Johnny.Models.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Johnny.Models.ViewModel.Base
{
public class BaseViewModel
{
public string titel { get; set; }
public List<Menu> Menuitems { get; set; }
}
}
| 1.46688 | 0895bd996f47e9997b707a558231af4f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88553 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leandrolustosa/ia-local-search",
"max_stars_repo_path": "visualizador-dinamico/VisualizadorDinamicoGraficos/Models/NodeState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88554"
} | starcoder | <reponame>leandrolustosa/ia-local-search
using System.Text.Json.Serialization;
namespace VisualizadorDinamicoGraficos.Models
{
public class NodeState
{
[JsonPropertyName("py/state")]
public NodeRoot Root { get; set; }
}
}
| 1.481276 | f8fe1e43dc1ee8ffd465d6e40bd6e27c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88554 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ndodger/ib-flex-reader",
"max_stars_repo_path": "IbFlexReader/IbFlexReader.Xml/Contracts/QueryResponse/SecuritiesInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88555"
} | starcoder | namespace IbFlexReader.Xml.Contracts.QueryResponse
{
using System.Collections.Generic;
using System.Xml.Serialization;
[XmlRoot(ElementName = "SecuritiesInfo")]
public class SecuritiesInfo
{
[XmlElement(ElementName = "SecurityInfo")]
public List<SecurityInfo> SecurityInfo { get; se... | 1.848394 | dd4dc5e23a02a7eab94e97b56f90b099 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88555 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davasorus/Paneltest-WPF",
"max_stars_repo_path": "MVVM/ViewModel/newView1ViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88556"
} | starcoder | <gh_stars>0
namespace Paneltest_WPF.MVVM.ViewModel
{
internal class newView1ViewModel
{
}
} | 0.547511 | 3de98a831d92faa8d8cf240979c6ba82 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88556 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "AmirKarimi/Xoqal",
"max_stars_repo_path": "Source/Xoqal.Presentation/ViewModels/EnumCheckBoxItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88557"
} | starcoder | #region License
// EnumCheckBoxItem.cs
//
// Copyright (c) 2012 Xoqal.com
//
// 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 ... | 2.53949 | 187983ccb999a40eac16a26c1f1713f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88557 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "studentutu/CSharpCodeProject",
"max_stars_repo_path": "UGUI/Component/Handler/Fader/UIPositionFader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88558"
} | starcoder | /*************************************************************************
* Copyright (c) 2021 Mogoson. All rights reserved.
*------------------------------------------------------------------------
* File : UIPositionFader.cs
* Description : Null.
*--------------------------------------------------... | 2.386312 | 3a69661a98ba566210a99a5db0d6fa6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88558 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "diaconesq/RecurringDates",
"max_stars_repo_path": "RecurringDates/Helpers/NumberHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88559"
} | starcoder |
namespace RecurringDates.Helpers
{
public static class NumberHelpers
{
public static string ToOrdinalString(this decimal val)
{
if (val == -1)
{
return "last";
}
if (val < -1)
{
return ToOrdinalString(-... | 3.622867 | 73a13b430d1e002437fc3f8c86fe8fd1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88559 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikneem/generic-api-with-az-devops-pipeline-and-arm",
"max_stars_repo_path": "src/Demo.DataMigration/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88560"
} | starcoder | <gh_stars>0
using System;
using System.Linq;
using Bogus;
using Bogus.DataSets;
using Demo.Data;
using Demo.Data.Entities;
using Microsoft.Data.SqlClient;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.CommandLineUtils;
namespace Demo.DataMigration
{
class Program
{
public static int ... | 2.358702 | 92c58bb6678fdad9769d805222304d2b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88560 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sedc-codecademy/sk2020-dotnetunittest-02",
"max_stars_repo_path": "src/Module02/SEDC.Travel.Service.CustomTests/InitTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88561"
} | starcoder | using SEDC.Travel.Service.CustomTests.CustomAttributes;
using Xunit;
namespace SEDC.Travel.Service.CustomTests
{
[TestCaseOrderer("SEDC.Travel.Service.CustomTests.CustomAttributes.PriorityOrderer", "SEDC.Travel.Service.CustomTests")]
public class InitTest
{
[Fact]
[Priority(1)]
pub... | 1.641407 | 08e10affc42aa3bb85fee5e7a99abbfc |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.