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 | 8850512 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MatthewKirik/methodology_lab1",
"max_stars_repo_path": "App/Localization/Locale.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169732"
} | starcoder | namespace App.Localization
{
public static class Locale
{
public static string WrongArgumentsMsg = "You specified the wrong amount of arguments.";
public static string GreetingMsg = "Hello! Please, enter a, b and c coefficients " +
"as in ... | 3.242805 | 69c463e41e069c0e360bb47d2930208f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850513 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "klockwurk/golden_bullet",
"max_stars_repo_path": "Shooter/Assets/Scripts/OrientTowardsVelocity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169733"
} | starcoder | /*******************************************************************************/
/*!
\file OrientTowardsVelocity.cs
\author <NAME>
\par All content © 2015 DigiPen (USA) Corporation, all rights reserved.
\par Team That Thumb is Satin
\brief
File does does things. COOL things.
*/
/***********************... | 2.399066 | e2e0ec7e13610ac73be9e72f2a821cc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850514 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lucasvieiravicente/FatecMauaJobNewsletterAPI",
"max_stars_repo_path": "Domains/Models/Response/LoginResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169734"
} | starcoder | namespace FatecMauaJobNewsletter.Domains.Models
{
public class LoginResponse
{
public LoginResponse()
{
}
public LoginResponse(string jwtToken)
{
JwtToken = jwtToken;
}
public bool IsAdmin { get; set; }
public string JwtToken { get... | 1.745426 | 9e5cf298333fbf1dbb92da49790ed64c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850515 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "wozzo/Cake.Graph",
"max_stars_repo_path": "src/Cake.Graph/Templates/GraphTemplateManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169735"
} | starcoder | <reponame>wozzo/Cake.Graph
using System;
using System.Threading.Tasks;
using RazorLight;
namespace Cake.Graph.Templates
{
/// <summary>
/// Functions for reading embedded resources
/// </summary>
public class GraphTemplateManager : IGraphTemplateManager
{
private RazorLightEngine Engine { g... | 2.550499 | c1a1ce92e1dacd576a4cc50e3a2ba870 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850516 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "ericmutta/AngleSharp.Css",
"max_stars_repo_path": "src/AngleSharp.Css/Values/Multiples/CssPeriodicValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169736"
} | starcoder | namespace AngleSharp.Css.Values
{
using AngleSharp.Css.Dom;
using AngleSharp.Text;
using System;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// Represents a periodic CSS value.
/// </summary>
public class CssPeriodicValue<T> : ICssMultipleValue
... | 2.969746 | 61885b1ecdf420d1c5380d67b2f00888 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850517 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RosieMable/Final_Game",
"max_stars_repo_path": "FinalGame/Assets/Scripts/Audio/Dialogue/DialogueNPC.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169737"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ZaldensGambit
{
public class DialogueNPC : MonoBehaviour
{
// Proximity Dialogue - What is said when the player walks nearby the NPC
[SerializeField] private Dialogue[] proximityDialogue;
private i... | 2.384954 | 7e3d96eb5f0312730fbce8ffa6c41c36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850518 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JunShimura/MovingTest",
"max_stars_repo_path": "Assets/Script/RotatePhysical.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169738"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Assertions;
[RequireComponent(typeof(Rigidbody))]
public class RotatePhysical : MonoBehaviour
{
[Header("かかる時間"), Range(0.0625f, 100)]
public float duration = 1.0f;
private Rigidbody rigidBody... | 2.196761 | 42630bc50463625d79946e4756b166f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850519 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aaronr4043/Pirate-In-Barrels",
"max_stars_repo_path": "Assets/Play_video.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169739"
} | starcoder | using UnityEngine;
using System.Collections;
public class Play_video : MonoBehaviour
{
bool initialPlay = false;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update()
{
Renderer r = GetComponent<Renderer>();
MovieTe... | 2.294394 | c5e6bc6541042e67d3ffcd31b451e545 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850520 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vinogradnick/electricity-system",
"max_stars_repo_path": "ElectricityManagerWebCore/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:169740"
} | starcoder | <gh_stars>0
@using ElectricityManagerWebCore
@using ElectricityManagerWebCore.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.343773 | 6ec9c1176a7a8473c3402d4c027e224c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850521 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "antonrademaker/codeadvent",
"max_stars_repo_path": "puzzles/2020/19/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169741"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace _11
{
internal class Program
{
private static void Main()
{
string filePath = GetInputFilePat... | 2.828316 | 4f9fc5ea8a1609c8ad9c1a7025f5c1c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850522 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "MUDHub/MUDhub",
"max_stars_repo_path": "src/server/MUDhub.Server/ApiModels/Characters/CharacterResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169742"
} | starcoder | namespace MUDhub.Server.ApiModels.Characters
{
public class CharacterResponse
{
public CharacterApiModel? Character { get; set; }
}
}
| 1.457676 | 9651703dd9a2c0893f6fd76cc138b3cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850523 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kbmacneal/church_of_the_emporer_as_messiah",
"max_stars_repo_path": "Views/FAQ/FAQOld.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:169743"
} | starcoder | <gh_stars>0
@model FAQModel
@{
ViewData["Title"] = "FAQ";
}
<div class="container-fluid">
<div class="row-fluid">
<div class="col-3 d-block mx-auto">
<img class="img-scaled mx-auto d-block" src="~/Assets/crusader_bot.jpg"></img>
</div>
</div>
<div class="row-fluid">
... | 1.943047 | 525d3423623a796f023c2d0048e937f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850524 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sirkirby/serilog-sinks-eventgrid",
"max_stars_repo_path": "src/Serilog.Sinks.EventGrid/LoggerEventGridExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169744"
} | starcoder | <gh_stars>1-10
namespace Serilog.Sinks.EventGrid
{
public static class LoggerEventGridExtensions
{
/// <summary>Information log event helper for EventGrid sink</summary>
/// <param name="logger">The Serilog ILogger</param>
/// <param name="eventType">The event type sent to EventGrid Grid</param>
//... | 2.62799 | 1af885cc0fbafa2b44ce9bfc34d82ee9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850525 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "Jorch72/CS-Astrid.Framework",
"max_stars_repo_path": "Astrid.Framework/Particles/Modifiers/GravityParticleModifer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169745"
} | starcoder | <reponame>Jorch72/CS-Astrid.Framework
using System.Collections.Generic;
using Astrid.Core;
namespace Astrid.Particles.Modifiers
{
public class GravityParticleModifer : ParticleModifier
{
public GravityParticleModifer()
{
Gravity = new Vector2(0, 100);
}
public Vect... | 2.243464 | 1280c80884646831d7393d1b43895811 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850526 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DevBetterNet/ffn",
"max_stars_repo_path": "webapi/src/Dev/Core/Domain/Localization/ILocalizedEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169746"
} | starcoder | namespace Dev.Core.Domain.Localization
{
public interface ILocalizedEntity
{
}
}
| 1.099367 | 1578b034b029a2f6433b3e3396c1c819 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850527 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1TaNaTa1/Programming-Fundamentals",
"max_stars_repo_path": "09. Text Processing/Exercise/07. String Explosion/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169747"
} | starcoder | <filename>09. Text Processing/Exercise/07. String Explosion/Program.cs<gh_stars>0
using System;
using System.Text;
namespace _07._String_Explosion
{
class Program
{
static void Main()
{
var input = Console.ReadLine().Split('>');
var result = new StringBuilder();
... | 3.928417 | 5c3d7dd778af3e8e6b59c31703bd5efe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850528 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "josesolanor/AllocateMemoryCSharp",
"max_stars_repo_path": "MVC/Views/Blocks/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:169748"
} | starcoder | <reponame>josesolanor/AllocateMemoryCSharp
@model Core.Models.ProcessDTO
@{
ViewData["Title"] = "Index";
}
<h5 style="color: red">@TempData["Msg"]</h5>
<h4>Add new process</h4>
<hr />
<div class="row">
<div class="col-md-12">
<form asp-action="AddProcess">
<div asp-validation-summary="Mo... | 2.141381 | 7f92ba69d23864c7400cadaa6761ac49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850529 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "nano-byte/common",
"max_stars_repo_path": "src/Common/Native/CompilerUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169749"
} | starcoder | // Copyright <NAME>
// Licensed under the MIT License
#if NETFRAMEWORK
using System.CodeDom.Compiler;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using Microsoft.CSharp;
using NanoByte.Common.Storage;
namespace NanoByte.Common.Native
{
/// <summary>
/// Provides helper... | 2.254895 | 9181f54741b1876c9c6530248d5dcadc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850530 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dacky179/MORYX-Factory",
"max_stars_repo_path": "src/Moryx.ControlSystem/Materials/MaterialCapabilities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169750"
} | starcoder | // Copyright (c) 2021, Phoenix Contact GmbH & Co. KG
// Licensed under the Apache License, Version 2.0
using Moryx.AbstractionLayer.Capabilities;
namespace Moryx.ControlSystem.Materials
{
/// <summary>
/// Base capabilities for all material containers
/// </summary>
public class MaterialCapabilities :... | 1.943828 | 138fdb6e184d77745b1a8081ca285234 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850531 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "milliorn/Anvil",
"max_stars_repo_path": "NWN.Anvil/src/main/Services/Dialog/DialogState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169751"
} | starcoder | <filename>NWN.Anvil/src/main/Services/Dialog/DialogState.cs
namespace Anvil.Services
{
public enum DialogState
{
Invalid,
Start,
SendEntry,
SendReplies,
HandleReply,
}
}
| 1.045542 | b1f643c3405b40b034b144d69ae45903 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850532 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "baobeijq/Individual-Project",
"max_stars_repo_path": "GDOKinectInteraction/SingleKinect/FrameProcess/FaceProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169752"
} | starcoder | using System;
using System.Diagnostics;
using Microsoft.Kinect;
using Microsoft.Kinect.Face;
using SingleKinect.CoordinateConvert;
namespace SingleKinect.FrameProcess
{
public class FaceProcessor
{
private int bodyCount = 6;
private const double FaceRotationIncrementInDegrees = 5.0;
... | 2.863276 | 2a8b022bc5352a2da679cbc8ac3fc66a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850533 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/dfc-app-skillshealthcheck",
"max_stars_repo_path": "DFC.App.SkillsHealthCheck.Services.SkillsCentral/Messages/GetAssessmentQuestionResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169753"
} | starcoder |
using DFC.App.SkillsHealthCheck.Services.SkillsCentral.Models;
namespace DFC.App.SkillsHealthCheck.Services.SkillsCentral.Messages
{
public class GetAssessmentQuestionResponse : GenericResponse
{
public Question Question { get; set; }
}
}
| 1.193014 | 668b1216dc61d50e12d90edc6beced51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850534 | {
"extension": "c-sharp",
"max_stars_count": "191.0",
"max_stars_repo_name": "raindigi/Merchello",
"max_stars_repo_path": "src/Merchello.Core/Models/Rdbms/ProductDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169754"
} | starcoder | <filename>src/Merchello.Core/Models/Rdbms/ProductDto.cs
namespace Merchello.Core.Models.Rdbms
{
using System;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.DatabaseAnnotations;
/// <summary>
/// The product dto.
/// </summary>
[TableName("merchProduct")]
[PrimaryKey("p... | 2.173285 | 537d6514fe274f89898b38de8465a21a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850535 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Elitsa-Georgieva/SoftUni-CSharp_Fundamentals",
"max_stars_repo_path": "Text Processing/02.CharacterMultiplier/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169755"
} | starcoder | using System;
namespace _02.CharacterMultiplier
{
class Program
{
static void Main(string[] args)
{
// четем ред и го сплитваме по спейс
string[] words = Console.ReadLine()
.Split(" ", StringSplitOptions.RemoveEmptyEntries);
//правим си про... | 3.667002 | 6dd5b93ac00a97b6e894fedae09dce76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850536 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "SaxxonPike/CartridgeBuilder2",
"max_stars_repo_path": "Source/CartridgeBuilder2.Lib/Builder/IRomBuilderConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169756"
} | starcoder | using System.Collections.Generic;
using CartridgeBuilder2.Lib.Prg;
namespace CartridgeBuilder2.Lib.Builder
{
/// <summary>
/// Contains source data for use in building ROMs.
/// </summary>
public interface IRomBuilderConfiguration
{
/// <summary>
/// Contains files to compile.
... | 2.420794 | 2c0a87cf124c872f0ac0a33ce0691841 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850537 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aallfredo/MassTransitPHP",
"max_stars_repo_path": "src/MassTransit.AzureServiceBusTransport/Configuration/Configurators/ServiceBusEndpointSpecification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169757"
} | starcoder | // Copyright 2007-2018 <NAME>, <NAME>, <NAME>, et. al.
//
// 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.203533 | 95a8da7d3991804fa1dee95df15fe0a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850538 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "n-Ultima/ModmailBot",
"max_stars_repo_path": "ModmailBot/CommandGroups/HelpCommandGroup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169758"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Humanizer;
using ModmailBot.Common;
using OneOf.Types;
using Remora.Commands.Attributes;
using ... | 2.327851 | 0117d27853b49d2e5744ce750cd5ad8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850539 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "smbc-digital/iag-webapp",
"max_stars_repo_path": "src/StockportWebapp/Controllers/DocumentController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169759"
} | starcoder | <gh_stars>1-10
using System.Threading.Tasks;
using Microsoft.ApplicationInsights.AspNetCore.Extensions;
using Microsoft.AspNetCore.Mvc;
using StockportWebapp.Http;
using StockportWebapp.Parsers;
using StockportWebapp.ProcessedModels;
using StockportWebapp.Repositories;
using StockportWebapp.ViewModels;
namespace Stock... | 1.95408 | da61e9fcaff2fae3d56c6e6f8b64a5c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850540 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kirby561/Beef",
"max_stars_repo_path": "Beef/ErrorCodes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169760"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Beef {
public enum ErrorCode {
// Successful
Success,
// Authentication
AuthenticationFailed,
// Win Reporting
LoserRankInvalid,
... | 2.767153 | 6f3c5aa921e86280418931725535a0d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850541 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SergKorol/C-projects",
"max_stars_repo_path": "GlobalCityManager/Views/Country/Create.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:169761"
} | starcoder | <reponame>SergKorol/C-projects
@model GlobalCityManager.Models.Country
<h1>Add Coutnry</h1>
@using (Html.BeginForm()) {
<table border="1">
@Html.Partial("_InputCountry", Model)
<tr>
<td></td>
<td><input type="submit" value="Add" /></td>
</tr>
</table... | 1.740976 | f39384c56bb2d621332ea2833f8a7fda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850542 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Milyli/DocMAH",
"max_stars_repo_path": "DocMAH/Configuration/IDocumentationConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169762"
} | starcoder | <filename>DocMAH/Configuration/IDocumentationConfiguration.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace DocMAH.Configuration
{
public interface IDocumentationConfiguration
{
/// <summary>
/// Title of the documentation page.
/// </summary>
string PageTitle { get;... | 2.331699 | a4d53c4bcb18ce67364c109251e373d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850543 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "stefan-lindegger/BBT.StructureTools",
"max_stars_repo_path": "src/BBT.StructureTools/Copy/Helper/CopyHelperOperations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169763"
} | starcoder | <gh_stars>1-10
namespace BBT.StructureTools.Copy.Helper
{
using System.Collections.Generic;
using BBT.StructureTools.Copy;
using BBT.StructureTools.Copy.Operation;
using BBT.StructureTools.Extension;
/// <inheritdoc/>
internal class CopyHelperOperations<T> : ICopyOperation<T>
{
pri... | 2.328782 | a5c7a163a1a940ac223242dbdf30b932 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850544 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "webloverand/AFramework",
"max_stars_repo_path": "AFramework/Assets/Scripts/CFramework/Runtime/1.Plugins/1.QR/Scripts/CreatorExample/CreateCodeManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169764"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Text.RegularExpressions;
public class CreateCodeManager
{
public enum GeoMode
{
GEO,
GoogleMaps
}
public enum WIFIMode
{
WEP,
WPA,
nopass
}
pu... | 2.636923 | 917ec55d89fff9cdb27898e70c42fd83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850545 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kblok/async-programming-talk",
"max_stars_repo_path": "AsyncProgrammingWeb/Controllers/ValuesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169765"
} | starcoder | using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
namespace AsyncProgrammingWeb.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class ValuesController : ControllerBase
{
[HttpGet... | 2.025235 | a8b9fe7c0139c45953b098d9c8679e4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850546 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "corranrogue9/FxCore",
"max_stars_repo_path": "Source/Core.Tests/Microsoft/VisualStudio/TestTools/UnitTesting/ExceptionAssert.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169766"
} | starcoder | <filename>Source/Core.Tests/Microsoft/VisualStudio/TestTools/UnitTesting/ExceptionAssert.cs
namespace Microsoft.VisualStudio.TestTools.UnitTesting
{
using System;
using Fx;
/// <summary>
/// Utilities for asserting when exceptions are thrown and what kind of exceptions are beings thrown
/... | 3.023977 | 6cc7cefba70081cfbe9542f684f28622 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850547 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DurgaPrasadReddyV/eShopOnAbp",
"max_stars_repo_path": "services/ordering/src/EShopOnAbp.OrderingService.Application.Contracts/Orders/DashboardInput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169767"
} | starcoder | namespace EShopOnAbp.OrderingService.Orders
{
public class DashboardInput
{
public string Filter { get; set; }
}
} | 1.317658 | cf962bd10363da44a8ca66afce450392 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850548 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mcarcini/FailTracker",
"max_stars_repo_path": "FailTracker.Web/Infrastructure/StandarRegistry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169768"
} | starcoder | <gh_stars>0
using StructureMap.Configuration.DSL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace FailTracker.Web.Infrastructure
{
public class StandarRegistry : Registry
{
public StandarRegistry() {
Scan(scan =>
{
... | 1.246736 | 3caedee501a1af75f6113374f0cad28e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850549 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nventive/ExtendedSplashScreen",
"max_stars_repo_path": "src/library/ExtendedSplashScreen.Uno/Implementations/ExtendedSplashScreen.Android.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169769"
} | starcoder | #if __ANDROID__
using Android.App;
using Microsoft.Extensions.Logging;
using System;
using Uno.Extensions;
using Uno.Logging;
using Uno.UI;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
namespace Nventive.Extend... | 2.210915 | 5c50d7c5b53e8e176804e79c4f410282 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850550 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CDU55/MyCalculator",
"max_stars_repo_path": "MyCalculator.Parsers/CodeContractsUitls/BigIntegerExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169770"
} | starcoder | using System;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
namespace MyCalculator.Parsers.CodeContractsUitls
{
public static class BigIntegerExtensions
{
public static BigInteger SquareRoot(this BigInteger number)
{
BigInteger n = 0, p = 0;
... | 3.092622 | 74868fc096ef7ff240e4a639e735ba0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850551 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "willitscale/OAI-Mitel-Inter-Tel-Library",
"max_stars_repo_path": "OAI/Packets/Events/Gateway/OAILinkStatusEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169771"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OAI.Models;
using OAI.Controllers;
namespace OAI.Packets.Events.Gateway
{
/**
* Link Status Event – LS
*
* Generates link status messages to the application. These messages al... | 2.672673 | ee46bbd904dd7f09ebf90e5b482f121a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850552 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JwanKhalaf/Bejebeje.Api",
"max_stars_repo_path": "Bejebeje.Models/Lyric/LyricCardViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169772"
} | starcoder | <gh_stars>1-10
namespace Bejebeje.Models.Lyric
{
public class LyricCardViewModel
{
public string Title { get; set; }
public string Slug { get; set; }
public bool IsAwaitingApproval { get; set; }
public bool IsVerified { get; set; }
}
}
| 1.339679 | 53d7138092c6aea8428f23f51b1d22e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850553 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TruchaGames/StartupCitiesGameJam",
"max_stars_repo_path": "BikiesUnityProject/Assets/CityElements/Scripts/CityManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169773"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//enum to know if we are CREATING a station or MOVING one that we already have
enum BuildingMode
{
NONE = 0,
REPLACING,
CREATING
}
public class CityManager : MonoBehaviour
{
[Header("Game parameters")]
// -- Amount o... | 2.833531 | 376497b8d5d6f2f3530722e9e8ec8211 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850554 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Emiliano978/jwt",
"max_stars_repo_path": "src/JWT/IJsonSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169774"
} | starcoder | <gh_stars>0
using System;
namespace JWT
{
/// <summary>
/// Provides JSON Serialize and Deserialize. Allows custom serializers used.
/// </summary>
public interface IJsonSerializer
{
/// <summary>
/// Serializes an object to a JSON string.
/// </summary>
... | 2.921824 | 0189f5ea342957eb418efc45dc528da7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850555 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mortalitas/FFXIVQuickLauncher",
"max_stars_repo_path": "src/XIVLauncher.Common/CommonUniqueIdCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169775"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Newtonsoft.Json;
using XIVLauncher.Common.PlatformAbstractions;
namespace XIVLauncher.PlatformAbstractions
{
public class CommonUniqueIdCache : IUniqueIdCache
{
private const int DAYS_TO_TIMEOUT = 1;
priv... | 2.689585 | cfa550d1f1836fd25e0a620de525de3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850556 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Panthr75/CSharp-Javascript",
"max_stars_repo_path": "src/Numbers/Number/StaticMethods/ParseFloat.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169776"
} | starcoder | <reponame>Panthr75/CSharp-Javascript
namespace JavaScript
{
public partial class Number
{
/// <summary>
/// Converts a string to a floating-point number.
/// </summary>
/// <param name="s">A string that contains a floating-point number.</param>
/// <returns></returns>
... | 2.375462 | d824a49b5ec376badadab08f2ef9533d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850557 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mholo65/service-fabric-chitchat",
"max_stars_repo_path": "WebApi/Controllers/ChatController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169777"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.WebSockets;
using System.Text;
using System.Threading.Tasks;
using Owin.WebSocket;
using WebApi.Models;
using WebApi.Services;
namespace WebApi.Controllers
{
public class ChatController : WebSocketConnection
{
private ... | 2.845319 | b32c48e5fa273a7049b3b765614fc763 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850558 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fhoering/autorest",
"max_stars_repo_path": "src/generator/AutoRest.Ruby/Templates/VersionTemplate.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:169778"
} | starcoder | @using AutoRest.Ruby.Templates
@using System.Linq
@inherits AutoRest.Core.Template<AutoRest.Ruby.TemplateModels.VersionTemplateModel>
# encoding: utf-8
@Header("# ")
@EmptyLine
module @Settings.Namespace
VERSION = '@Model.Version'
end
| 1.443034 | 299bb758a3e414390c040dd93b3b9c5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850559 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Zjadacz/Combinatorics",
"max_stars_repo_path": "src/GG.Combinatorics/MathHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169779"
} | starcoder | using System;
namespace GG.Combinatorics
{
public class MathHelper
{
/// <summary>
/// Returns Factoral of given natural number, when number is not from natural numbers domain throws exception
/// </summary>
public static long Factorial(int n)
{
if(n < 0)
... | 3.721951 | dae4b15e766bb023e44b528742b0cb5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850560 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dof-dss/de-exceptional-closures",
"max_stars_repo_path": "de-exceptional-closures-core/Dtos/ClosureReasonDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169780"
} | starcoder | <reponame>dof-dss/de-exceptional-closures
using System;
namespace de_exceptional_closures_core.Dtos
{
public class ClosureReasonDto
{
public int Id { get; set; }
public string UserId { get; set; }
public string InstitutionName { get; set; }
public string Srn { get; set; }
... | 1.656253 | 2a644715346d55bbbe816a2309a93285 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850561 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DFE-Digital/trams-data-api",
"max_stars_repo_path": "TramsDataApi/Controllers/TrustsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169781"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using TramsDataApi.ResponseModels;
using TramsDataApi.UseCases;
namespace TramsDataApi.Controllers
{
[ApiController]
[ApiVersion("1.0")]
public class TrustsContro... | 2.434233 | 3f0208555e7e8ff63931dab8864e16e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850562 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "momoma-null/MomomaAssetProcessor",
"max_stars_repo_path": "Assets/MomomaAssets/GraphView/Editor/Interface/INodeProcessorEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169782"
} | starcoder | using UnityEditor;
#nullable enable
namespace MomomaAssets.GraphView
{
public interface INodeProcessorEditor
{
bool UseDefaultVisualElement { get; }
void OnEnable();
void OnDisable();
void OnGUI(SerializedProperty processorProperty, SerializedProperty inputPortsProperty, Serial... | 1.930493 | 09d524ff78953525861b4ed7148e2c26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850563 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "BinaryConstruct/Transvoxel-XNA",
"max_stars_repo_path": "Transvoxel/SurfaceExtractor/SurfaceExtractor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169783"
} | starcoder | <filename>Transvoxel/SurfaceExtractor/SurfaceExtractor.cs
using Transvoxel.Geometry;
using Transvoxel.VolumeData;
using Transvoxel.Math;
using Transvoxel.Lengyel;
using System.Diagnostics;
namespace Transvoxel.SurfaceExtractor
{
public interface ISurfaceExtractor
{
Mesh GenLodRegion(Vector3i... | 2.499281 | d15a0f6257b143a9636ac9b9b3ae8499 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850564 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belre/ImageRoiEditor",
"max_stars_repo_path": "ImageRoiApps/Model/DataSet/RecipeHandler/Group/MeasureGroup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169784"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace ClipXmlReader.Model.DataSet.RecipeHandler.Group
{
public class MeasureGroup : Base.BaseTreeGroup
{
/// <summary>
/// 現在のオブジェクトの添え字を表します。
//... | 2.234926 | 804adca98f0fd25214238df52f7de389 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850565 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "4vz/jovice",
"max_stars_repo_path": "Aphysoft.Share/External/SVG/Filter Effects/ISvgFilterable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169785"
} | starcoder | <filename>Aphysoft.Share/External/SVG/Filter Effects/ISvgFilterable.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Svg.FilterEffects
{
public interface ISvgFilterable
{
SvgFilter Filter { get; set; }
}
}
| 1.435786 | e52bd3fd1f517e2007d5cb8e24fff3f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850566 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ikaratsoris/bowling-game",
"max_stars_repo_path": "Assets/Scripts/GameHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169786"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using UnityEngine.UI;
public class GameHandler : MonoBehaviour {
public ThrowBall controls;
private int player;
public int currentRound;
private int currentBall;
private int currentScor... | 2.297827 | 417dc4ca2e15b80d38ee0661af3674b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850567 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joshisachin675/SocialMediaBroadcast",
"max_stars_repo_path": "smartData/Views/Account/ForgotPassword.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:169787"
} | starcoder | @{
ViewBag.Title = "Change Password";
}
@using Microsoft.AspNet.Identity
@model smartData.Models.ManageUserViewModel
<div class="margintop50">
<p>You're logged in as <strong>@User.Identity.GetUserName()</strong>.</p></div>
@*@using (Html.BeginForm("ForgotPassword", "Account", FormMethod.Post, new { @class = ... | 2.117579 | 7c0b115786baaa0780f94777cbfadfb5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850568 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IvailoSpasov/SoftUni",
"max_stars_repo_path": "C#OOP/C# OOP Exam Preparation/SpaceStation/SpaceStation/Repositories/PlanetRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169788"
} | starcoder | <filename>C#OOP/C# OOP Exam Preparation/SpaceStation/SpaceStation/Repositories/PlanetRepository.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SpaceStation.Models.Planets.Contracts;
namespace SpaceStation.Repositories.Contracts
{
public class PlanetRepository : IRep... | 2.987904 | eab98b3e9b219b0050b2fa60799206ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850569 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "branis97/AllSafe",
"max_stars_repo_path": "Assets/Scripts/EnemyMovement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169789"
} | starcoder | <filename>Assets/Scripts/EnemyMovement.cs
using UnityEngine;
using System.Collections;
[RequireComponent(typeof(Enemy))]
public class EnemyMovement : MonoBehaviour {
private Transform target;
private int wavepointIndex = 0;
private Enemy enemy;
private float nextRotation;
private GameObject endRotation;
voi... | 2.310451 | 98ec621c99eaa312315d0b15f58f2986 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850570 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wwu-sehome-tutoring/SehomeTutoringCenter",
"max_stars_repo_path": "SehomeTutoringCenter/Subject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169790"
} | starcoder | <reponame>wwu-sehome-tutoring/SehomeTutoringCenter
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SehomeTutoringCenter
{
class Subject
{
public Subject()
{
... | 2.018754 | 22ac7cdedfa7d01664a3172fb9dec9b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850571 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "spincrus090/awesome-dotnet",
"max_stars_repo_path": "user-authentication-sample/SB.Model/Entity/Authentication/ProfilePhoto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169791"
} | starcoder | <reponame>spincrus090/awesome-dotnet<filename>user-authentication-sample/SB.Model/Entity/Authentication/ProfilePhoto.cs
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace SB.Model.Entity.Authentication
{
public class ProfilePhoto : AuditableEntity
{
[Column(Order = 1)]
... | 1.990192 | a41b21e536bca6dfb460af2fbb21623d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850572 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "syedtakbar/Coding-Challenge",
"max_stars_repo_path": "maze-api/MazeSover.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169792"
} | starcoder | <filename>maze-api/MazeSover.cs<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace syedtakbar_maze_api
{
public class MazeSolverImpl: IMazeSolver
{
//public Tuple<int, string> solveMaze(string [] mazeInput)
public string solveM... | 2.984406 | 518b0235f4848ee544b5371ded8eb0c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850573 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MrIndomitable/MTW",
"max_stars_repo_path": "MyTenantWorld/REST/RestService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169793"
} | starcoder | <reponame>MrIndomitable/MTW<filename>MyTenantWorld/REST/RestService.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace MyTenantWorld
{
public class RestService : IRestService
{
HttpCli... | 2.450077 | ae158b8b20126c38588b7a9f516d555e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850574 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xtom0369/BulletPhysicsForUnity",
"max_stars_repo_path": "BulletSharpPInvoke/BulletSharp/SoftBody/DeformableMultiBodyConstraintSolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169794"
} | starcoder | <reponame>xtom0369/BulletPhysicsForUnity
using System;
using static BulletSharp.UnsafeNativeMethods;
namespace BulletSharp.SoftBody
{
public class DeformableMultiBodyConstraintSolver : MultiBodyConstraintSolver
{
public DeformableMultiBodyConstraintSolver()
: base(ConstructionInfo.Null)
{
IntPtr native = ... | 1.773542 | 0f0462473b3692a1fb55e9dc8e6ea313 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850575 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "VaLiuM09/VPG-Core",
"max_stars_repo_path": "Source/Core/Runtime/ProcessController/AttachToUserView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169795"
} | starcoder | using System;
using UnityEngine;
using UnityEngine.UI;
using VRBuilder.Core.Configuration;
namespace VRBuilder.ProcessController
{
/// <summary>
/// Puts the parent GameObject to the same position and rotation of the user camera.
/// </summary>
public class AttachToUserView : MonoBehaviour
{
... | 2.411929 | f245c508648bb2403763c30de0a3131e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850576 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wishfuldroplet/unity_supermariobros",
"max_stars_repo_path": "Assets/_Project/_Sandbox/Scripts/SandboxDataBindTester.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169796"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using WishfulDroplet;
using WishfulDroplet.Extensions;
public class SandboxDataBindTester : MonoBehaviour {
public List<Camera> cameraWatcher = new List<Camera>();
private void Start() {
DataWatcher.AddWatcher(cameraWatcher);
//Da... | 1.780466 | 965d38aba5c79b72426e654504debbfe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850577 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bill-cooper/catc-cms",
"max_stars_repo_path": "src/Orchard.Web/Modules/ceenq.com.AwsManagement/Commands/Route53Commands.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169797"
} | starcoder | using ceenq.com.AwsManagement.Models;
using ceenq.com.Core.Infrastructure.Dns;
using Orchard;
using Orchard.Commands;
using Orchard.ContentManagement;
namespace ceenq.com.AwsManagement.Commands
{
public class Route53Commands : DefaultOrchardCommandHandler {
private readonly IDnsManager _dnsManager;
... | 2.223025 | 3280fdc08c44614cd23b3673b36e01b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850578 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RyoLee/Gevjon",
"max_stars_repo_path": "Plugins/PipeServer/PipeServer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169798"
} | starcoder | using Gevjon.Common;
using Gevjon.PlugIn;
using System.ComponentModel.Composition;
using System.IO;
using System.IO.Pipes;
using System.Text.Json;
using System.Windows;
namespace Gevjon.PipeServer {
[Export(typeof(IPlugIn))]
public class PipeServer : IPlugIn {
private event EventHandler handler;
... | 2.130105 | f28cab3655e307dc34ddc99328ea8fb1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850579 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "nnn1590/spritely",
"max_stars_repo_path": "src/Palettes/Palettes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169799"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
namespace Spritely
{
public class Palettes
{
private Document m_doc;
private Dictionary<int, Palette> m_palettes;
private Palette m_paletteCurrent;
public enum Type
{
Sprite,
Background
}
pri... | 2.691646 | 456f58ff20916b5ed6cdf8b878dff9e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850580 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "CoryJHolland/CognizantMAQSdotnet",
"max_stars_repo_path": "Framework/BaseMongoTest/IMongoTestObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169800"
} | starcoder | <gh_stars>1-10
//--------------------------------------------------
// <copyright file="IMongoTestObject.cs" company="Cognizant">
// Copyright 2022 Cognizant, All rights Reserved
// </copyright>
// <summary>Holds Mongo test object interface</summary>
//--------------------------------------------------
using Cognizan... | 1.985375 | c3834a6de7f2939e128596005d4c9604 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850581 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "HirenBodhi/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK",
"max_stars_repo_path": "NextGenSoftware.OASIS.API.Providers.EthereumOASIS/ContractDefinition/UpdateAvatarDetailFunction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:... | starcoder | namespace NextGenSoftware.OASIS.API.Providers.EthereumOASIS.ContractDefinition
{
public partial class UpdateAvatarDetailFunction : UpdateAvatarDetailFunctionBase { }
} | 0.755364 | db2643dcbb1aa90e2e8311ea3722dcf6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850582 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "AaronFriel/pulumi-google-native",
"max_stars_repo_path": "sdk/dotnet/ToolResults/V1Beta3/Outputs/IosRoboTestResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169802"
} | starcoder | <gh_stars>10-100
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
name... | 0.840469 | e08faa9cfb391b6d83837a2ca6e49a24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850583 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sinsens/SRulesEngine",
"max_stars_repo_path": "src/SRulesEngine/Models/WorkflowRules.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169803"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
namespace SRulesEngine.Models
{
/// <summary>
///并行处理的工作流
/// </summary>
public class WorkflowRules
{
public WorkflowRules()
{
RuleResults = new List<RuleResult>(5);
}
/// <summary>
/// 工作集名称
... | 2.13215 | 08837d383d2d169cff14a2e4412abb6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850584 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "thetjyoung/BudgetAnalyser",
"max_stars_repo_path": "BudgetAnalyser/Dashboard/ProtectFilesUserControl.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169804"
} | starcoder | <filename>BudgetAnalyser/Dashboard/ProtectFilesUserControl.xaml.cs<gh_stars>1-10
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Input;
namespace BudgetAnalyser.Dashboard
{
/// <summary>
/// Interaction logic for ProtectFilesUserControl.xaml
/// </summary>
public... | 2.430963 | 2e0f4af7c9089bbcecd230e1083eab07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850585 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nigurr/TestResultParser",
"max_stars_repo_path": "Agent.Plugins.Log.TestResultParser.Parser/Parser/Node/Jest/JestTestResultParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169805"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Agent.Plugins.Log.TestResultParser.Parser
{
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
... | 2.44248 | e93fbfaa3a6791f07c9bb7b82585ef0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850586 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nohros/nohros-must",
"max_stars_repo_path": "src/tests/desktop/configuration/StringLoginModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169806"
} | starcoder | <reponame>nohros/nohros-must<filename>src/tests/desktop/configuration/StringLoginModule.cs
using System;
using System.Collections.Generic;
using System.Text;
using Nohros.Security.Auth;
namespace Nohros.Test.Configuration
{
public class StringLoginModule : ILoginModule
{
public void Init(Sub... | 1.666935 | 09b6a95ebda5fba610d84693fd0150a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850587 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "meco00/CSharp-Web",
"max_stars_repo_path": "RazorViews/RazorViews/Views/Cats/All.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:169807"
} | starcoder | <reponame>meco00/CSharp-Web
@using RazorViews.Services
@model List<CatViewModel>
@inject ICustomViewData customViewData
@{
ViewData["Name"] = "Ivaylo";
}
@section Styles
{
<link href="~/css/cats.css" rel="stylesheet"/>
}
<h1>
All cats: - @(Model.Count*10)
<br/>
@(Model.Any() ? Model.Count ... | 2.570973 | aeb69552be611930fd019dacbcaa250e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850588 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Seanharrs/coopjam",
"max_stars_repo_path": "Assets/_Scripts/Interactions/Interactable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169808"
} | starcoder | using UnityEngine;
using UnityEngine.Events;
using Coop;
namespace Coop
{
public class Interactable : MonoBehaviour
{
[SerializeField]
private UnityEvent m_OnInteract = new UnityEvent();
[SerializeField]
internal Vector2 m_IconOffset = Vector2.zero;
public void Interact()
{
m_OnInteract.Invoke();
... | 2.183878 | a68a65339e4648392e45fcf75569e1af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850589 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ico093/TelerikAcademy",
"max_stars_repo_path": "WebServesesAndCloud/Homework/01.ASP.NETWebAPI/WebApi/MusicStore.Data/MusicStoreContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169809"
} | starcoder | using MusicStore.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MusicStore.Data
{
public class MusicStoreContext : DbContext
{
public MusicStoreContext()
: base("MusicStoreDb")... | 2.164262 | 23d7e6d20c2175d6a01eba171e841d65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850590 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "ewmccarty/CatFactory.SqlServer",
"max_stars_repo_path": "CatFactory.SqlServer.Tests/Helpers/XmlSerializerHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169810"
} | starcoder | <reponame>ewmccarty/CatFactory.SqlServer
using System.IO;
using System.Xml;
using System.Xml.Serialization;
namespace CatFactory.SqlServer.Tests.Helpers
{
public static class XmlSerializerHelper
{
public static string Serialize<T>(T obj)
{
var serializer = new XmlSerializer(obj.Get... | 2.862647 | 4986f02c103422e60addd19863c073be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850591 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gitjit/crashbox_public",
"max_stars_repo_path": "src/CrashBox.Models/Crash.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169811"
} | starcoder | <filename>src/CrashBox.Models/Crash.cs
//using System.Text.Json.Serialization;
using Newtonsoft.Json;
namespace CrashBox.Models
{
public class Crash : BaseModel
{
// //[JsonProperty(PropertyName = "app")]
// [JsonPropertyName("app")]
// public string App { get; set; }
// //[Jso... | 2.093088 | 5837c6caa1fb5e66cb5fd341ccc89e33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850592 | {
"extension": "c-sharp",
"max_stars_count": "16061.0",
"max_stars_repo_name": "andres-gimenez/maui",
"max_stars_repo_path": "src/Core/src/WindowOverlay/WindowOverlay.Standard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169812"
} | starcoder | <filename>src/Core/src/WindowOverlay/WindowOverlay.Standard.cs
namespace Microsoft.Maui
{
public partial class WindowOverlay
{
object? _graphicsView = null;
/// <inheritdoc/>
public void Invalidate()
{
}
/// <inheritdoc/>
public virtual bool Initialize()
{
return IsNativeViewInitialized = true;
... | 2.054651 | 4838d4e8e5e322b7a23c9e5c8ee62c53 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850593 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "chrisderwahre/JSRGraffitiTool",
"max_stars_repo_path": "Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169813"
} | starcoder | <reponame>chrisderwahre/JSRGraffitiTool<filename>Form1.cs
using System;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using AFS;
namespace Jet_Set_Radio_Graffiti_Tool
{
public partial class Form1 : Form
{
public Form1()
{
... | 2.731858 | 200bf173e22951e0dc2b12daeb4d7a45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850594 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "bluewatercg/ScfPackageSources",
"max_stars_repo_path": "src/Basic/Senparc.Scf.Core/Models/DataBaseModel/Mapping/XscfModuleAccountConfigurationMapping.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169814"
} | starcoder | <reponame>bluewatercg/ScfPackageSources<gh_stars>10-100
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Text;
namespace Senparc.Scf.Core.Models.DataBaseModel
{
public class XscfModuleAccountConfigurationMappin... | 1.616616 | 5aab52c61bb90319a2e85b5e57ee88cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850595 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "personal-robots/word-tree",
"max_stars_repo_path": "WordTree/Assets/Scripts/GestureManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169815"
} | starcoder | <reponame>personal-robots/word-tree<filename>WordTree/Assets/Scripts/GestureManager.cs<gh_stars>1-10
using UnityEngine;
using System;
using System.Collections;
using TouchScript.Gestures;
using TouchScript.Behaviors;
using TouchScript.Hit;
//<summary>
// Manage gesture events
// Governs what happens when certain gest... | 2.638102 | 43040e9873700cabe85b34b97d6eaa54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850596 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "Speckoz/UniLink",
"max_stars_repo_path": "Speckoz.UniLinks/UniLinks.API/Business/Interfaces/ILessonBusiness.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169816"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using UniLinks.Dependencies.Data.VO;
using UniLinks.Dependencies.Data.VO.Lesson;
namespace UniLinks.API.Business.Interfaces
{
public interface ILessonBusiness
{
Task<LessonVO> AddTaskAsync(LessonVO lesson);
Task<LessonVO> FindByIdTa... | 2.005857 | dc241f67b76b9db1d63602e9d3881d23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850597 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DenisVargasRivero/FinalIAP1",
"max_stars_repo_path": "Assets/Scripts/NPC/States/PursueState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169817"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using IA.FSM;
using IA.LineOfSight;
using IA.Floquing;
using IA.PathFinding;
#if UNITY_EDITOR
using UnityEditor;
#endif
public class PursueState : State
{
public Action<CommonState> SwitchState = delegate { };
public... | 2.159831 | 44244616e310bf44c635419a4a730528 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850598 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "jleiva-gap/Ed-Fi-Analytics-Middle-Tier",
"max_stars_repo_path": "src/EdFi.AnalyticsMiddleTier.Tests/Classes/GradingPeriodDim.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169818"
} | starcoder | // SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using System;
using System.Diagnostics.CodeAnalys... | 1.720785 | 894de70d763e81874fb961ad209eb01e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850599 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marinaponce07/Dulce-Paraiso",
"max_stars_repo_path": "formReportInv.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169819"
} | starcoder | using System.Windows.Forms;
namespace Tienda
{
public partial class FormReportInv : Form
{
public FormReportInv()
{
InitializeComponent();
}
}
}
| 1.16745 | bc534ef4deb95a3d378d61de183ffecf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850600 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "snakealpha/Hibi",
"max_stars_repo_path": "src/Parser/Symbol.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169820"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
namespace Elecelf.Hibiki.Parser
{
/// <summary>
/// Provide helper methods for symbol manager in scan phase.
/// </summary>
public class SymbolHelper
{
public SymbolHelper()
{
_nameToSymbolMap["epsilon"] = new ... | 2.659727 | 65087e179200e425ce1412b3db847e10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850601 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ilinkmobility/GoodApp.UWP",
"max_stars_repo_path": "GoodApp/Views/HomePage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169821"
} | starcoder | <gh_stars>0
using Firebase.Auth;
using Firebase.Database;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.Foundation.Collections;
using W... | 1.847069 | 49746731c5de69457ef4ee751d29d0c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850602 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gfrancischini/HostingAdapter",
"max_stars_repo_path": "HostingAdapter/Hosting/Channel/StdioClientChannel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169822"
} | starcoder | <gh_stars>0
/*
MIT License
Copyright (c) Microsoft. All rights reserved.
Copyright (c) <NAME> 2017
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 limitati... | 1.979131 | fb09f4529868bebf24da326e177aa62e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850603 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "plbonneville/blog-examples",
"max_stars_repo_path": "running-a-console-application-directly-in-your-browser/src/ConsoleAppWasm/Store/ZipFileUseCase/Class.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169823"
} | starcoder | <reponame>plbonneville/blog-examples<filename>running-a-console-application-directly-in-your-browser/src/ConsoleAppWasm/Store/ZipFileUseCase/Class.cs
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Fluxor;
#nullable enable
namespace ConsoleAppWasm.Store.ZipFil... | 2.588107 | 7a1192415beec8b4191b3f5326afb62c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850604 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Daymortel/Stump",
"max_stars_repo_path": "src/Stump.Server.WorldServer/Handlers/Context/RolePlay/ContextRoleplayJobHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169824"
} | starcoder | <reponame>Daymortel/Stump<filename>src/Stump.Server.WorldServer/Handlers/Context/RolePlay/ContextRoleplayJobHandler.cs<gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using Stump.DofusProtocol.Messages;
using Stump.Server.BaseServer.Network;
using Stump.Server.WorldServer.Core.Network;
using Stump.S... | 1.818576 | db0414fe18ec4b65f81e2ea59aadf3de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850605 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "buzzware/shiny",
"max_stars_repo_path": "src/Shiny.Core/Caching/AbstractCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169825"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Shiny.Caching
{
public abstract class AbstractCache : ICache, IDisposable
{
public virtual async Task<T> TryGet<T>(string key, Func<Task<T>> getter, TimeSpan? timeSpan = null)
{
var obj = await... | 2.828259 | 7b602bb9dc2fcf83c02680b2ef7a909b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850606 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "LaudateCorpus1/More",
"max_stars_repo_path": "Miscellaneous/FixedInterfaces.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169826"
} | starcoder | // © Copyright 2016 HP Development Company, L.P.
// SPDX-License-Identifier: MIT
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace More
{
/*
public interface IFixedMap<T,K>
{
Boolean ContainsKey(T key);
Boolean TryGetValue(T key, out K value);
... | 2.817796 | 06d8b2e9b1d8cddda27bc6df26e90823 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850607 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "replaysMike/NUnit.Extension.TestMonitor",
"max_stars_repo_path": "NUnit.Extension.TestMonitor/NUnit.Extension.TestMonitor/ConfigurationResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169827"
} | starcoder | using Microsoft.Extensions.Configuration;
using Newtonsoft.Json;
using System.IO;
using System.Reflection;
namespace NUnit.Extension.TestMonitor
{
public class ConfigurationResolver
{
private const string SettingsFilename = "appsettings.json";
private const string ConfigurationSectionName = "T... | 2.543143 | 00358f8c3e5d3a62c023da1122a615a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850608 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TanvirArjel/JwtAuthenticationInAspNetCore",
"max_stars_repo_path": "src/JwtAuthenticationApi/JwtAuthentication.Api/ApiModels/AuthenticationModels/RegistrationModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169828"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace JwtAuthentication.Api.ApiModels.AuthenticationModels
{
public class RegistrationModel
{
[Required]
[EmailAddress]
[StringLength(50, MinimumLength = 5, ErrorMessage = "Email should be between 5 to 50 characters")]
public str... | 2.819823 | 68bed3a73577b2f39ac143fe3fe937b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850609 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rfrerebe/GeneticSharp",
"max_stars_repo_path": "src/GeneticSharp.Domain/Selections/StochasticUniversalSamplingSelection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169829"
} | starcoder | <filename>src/GeneticSharp.Domain/Selections/StochasticUniversalSamplingSelection.cs
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using GeneticSharp.Domain.Chromosomes;
using GeneticSharp.Domain.Populations;
using GeneticSharp.Domain.Randomizations;
namespace GeneticSharp.Domain.S... | 3.142939 | 3c32d2be3ee2f42e6f927c057b064922 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850610 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "baonxvn/passcore",
"max_stars_repo_path": "Hpl.Acm.Web/Controllers/BlackListUserController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169830"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Hpl.Acm.Web.Services;
using Hpl.HrmDatabase;
using Microsoft.EntityFrameworkCore;
using Serilog;
using Unosquare.PassCore.Common;
// For more information on enabling Web API for empty... | 2.119949 | 07b04d30dc2b787ca1f9f17ddfa87ef7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8850611 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tkopacz/2017-AAD-MultiTenant-Policy-NETCore",
"max_stars_repo_path": "TK2017MTAADv2/TK2017MTAADv2/TK2017MTAADv2/Extensions/AzureAd/AzureAuthenticationProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:169831"
} | starcoder | using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Graph;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using System.Security.Claims;
using System.Diagnostics;
using System;
namespace Microsoft.AspNetCore.Authentication.Extensions
{
/// <summary>
... | 2.343838 | 85469b274ed6204b947a208167288a7e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.