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 | 70433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "armohamm/Restaurant-App",
"max_stars_repo_path": "src/Server/services/identity.api/Identity.API/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70434"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using AutoMapper;
using Identity.API.Data;
using Identity.API.IdentityServer;
using Identity.API.Model.Entities;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Micros... | 1.855054 | 0c171b6fbe56b62baced146fd915029b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70434 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "acamposve/DocManager6",
"max_stars_repo_path": "Services/ReceiptsFilesService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70435"
} | starcoder | using AutoMapper;
using Dapper;
using Microsoft.Extensions.Options;
using System.Data;
using System.Threading.Tasks;
using WebApi.Helpers;
using WebApi.Interfaces;
using WebApi.Models.ReceiptsFiles;
namespace WebApi.Services
{
public class ReceiptsFilesService : IReceiptsFilesService
{
private readonl... | 2.340567 | 4a018534d8065638a768ab61d907f4fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70435 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ethereal77/stride",
"max_stars_repo_path": "sources/engine/Stride.Input/VirtualButton/VirtualButtonConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70436"
} | starcoder | // Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org)
// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net)
// Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// See the LICENSE.md file in the project root for full license information.
u... | 2.369627 | 455b49303b79509ac4cf72f8e38a5f0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70436 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EgoistDeveloper/Process",
"max_stars_repo_path": "Process/Process/Models/Workout/Entities/WorkoutTarget.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70437"
} | starcoder | <reponame>EgoistDeveloper/Process
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Process.Models.Workout
{
public class WorkoutTarget : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
public long Id { get; se... | 1.988941 | dbf949b8b492cb97e73de98ce0f3875b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70437 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JensRL/PPaNM",
"max_stars_repo_path": "Homeworks/MonteCarlo/B/mc.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70438"
} | starcoder | <gh_stars>0
using System;
using static System.Console;
using static System.Math;
public class mc{
public static (double, double) mcint(Func<vector,double> f, vector a, vector b, int N){
int dim = a.size;
double V = 1.0;
for(int i=0; i<dim; i++){
V *= b[i]-a[i];
}
double sum = 0, sum2 = 0;
var x =... | 3.155354 | 668075131cdf922e0de2c77fd489a4a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70438 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "octansIt/environmentassessment",
"max_stars_repo_path": "EnvironmentAssessment.Wizard/Common/VimApi/E/EVCAdmissionFailedCPUModelForMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70439"
} | starcoder | namespace EnvironmentAssessment.Common.VimApi
{
public class EVCAdmissionFailedCPUModelForMode : EVCAdmissionFailed
{
protected string _currentEVCModeKey;
public string CurrentEVCModeKey
{
get
{
return this._currentEVCModeKey;
}
set
{
this._currentEVCModeKey = value;
}
}
}
}
| 1.592354 | 2b6871e36a4c73ad66a15e6dcc486a52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70439 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VikneshMSFT/ms-identity-javascript-angular-spa-aspnet-webapi-multitenant",
"max_stars_repo_path": "Chapter2/TodoListAPI/Controllers/ConfigurationsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70440"
} | starcoder | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Identity.Web.Resource;
using System.Threading.Tasks;
using TodoListAPI.Models;
using TodoListAPI.Repository;
namespace TodoListAPI.Controllers
{
[Route("api/[controller]")]
[ApiController... | 2.027121 | efd398e70bf6ec415a1c0bcb283cdd1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70440 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Open-Justice/ODR",
"max_stars_repo_path": "Projects/ClickNClaim.Common/UserColors.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70441"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClickNClaim.Common
{
class UserColors
{
public static string[] Colors = new string[] { "#A61000", "#086FA1", "#007439", "#FFE100", "#BC008D", "#F60018", "#009E8E... | 1.943597 | 9848d00afd01cfa92fd3db00ba0bf44e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70441 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dlidstrom/Snittlistan",
"max_stars_repo_path": "Snittlistan.Web/Areas/V2/ViewModels/TeamOfWeekLeadersViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70442"
} | starcoder | namespace Snittlistan.Web.Areas.V2.ViewModels
{
using System;
using System.Collections.Generic;
using System.Linq;
using Snittlistan.Web.Areas.V2.Domain;
using Snittlistan.Web.Areas.V2.ReadModels;
public class TeamOfWeekLeadersViewModel
{
public TeamOfWeekLeadersViewModel... | 2.631777 | fc072215e531750de96ddbc2aab1d778 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70442 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "msutic/sbes-rezervacija-karata",
"max_stars_repo_path": "Client/WCFClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70443"
} | starcoder | <filename>Client/WCFClient.cs<gh_stars>0
using Contracts;
using Manager;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Security.Principal;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
namespace Client... | 2.553433 | 4698399a7de8fb17e343e0ea6f72bd0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70443 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JamesKovacs/fluent-nhibernate",
"max_stars_repo_path": "src/FluentNHibernate/MappingModel/Output/XmlListWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70444"
} | starcoder | <reponame>JamesKovacs/fluent-nhibernate
using System.Xml;
using FluentNHibernate.MappingModel.Collections;
using FluentNHibernate.Utils;
namespace FluentNHibernate.MappingModel.Output
{
public class XmlListWriter : BaseXmlCollectionWriter, IXmlWriter<ListMapping>
{
private readonly IXmlWriterSe... | 2.075441 | 5f49ffbda9511d8a184b39102e3ec679 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeValue/AzureCloudCampFeb2017",
"max_stars_repo_path": "Exercise/CodeTweet/CodeTweet/CodeTweet.Web/App_Start/Modules/ApplicationIdentityModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70445"
} | starcoder | <reponame>CodeValue/AzureCloudCampFeb2017<filename>Exercise/CodeTweet/CodeTweet/CodeTweet.Web/App_Start/Modules/ApplicationIdentityModule.cs
using System.Data.Entity;
using System.Web;
using CodeTweet.IdentityDal;
using CodeTweet.IdentityDal.Migrations;
using CodeTweet.Web.Identity;
using Microsoft.AspNet.Identity.Owi... | 1.587878 | 7af2597d4921b7c05a481afc5edaa77c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70445 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "janecher/HairSalon.Solution",
"max_stars_repo_path": "HairSalon/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:70446"
} | starcoder | @{
Layout = "_Layout";
}
<h2 class="home">Welcome to the Eau Claire's Salon!</h2>
<h3 class="home">@Html.ActionLink("See all stylists", "Index", "Stylists")</h3>
| 1.591532 | e1e74174a24542f8ce893fcde3bdd1de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70446 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SergeiMol/CATSdesigner",
"max_stars_repo_path": "api/LMPlatform.UI/ApiControllers/LabsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70447"
} | starcoder | using LMPlatform.UI.Attributes;
namespace LMPlatform.UI.ApiControllers
{
using System;
using System.Linq;
using System.Web.Helpers;
using System.Web.Http;
using System.Web.Mvc;
using Application.Core;
using Application.Infrastructure.SubjectManagement;
using LMPlatform.UI.ViewModels.... | 2.084975 | 7a401a540511c8616222d487a600eec4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70447 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Devil-Eye-Studio/The-Loop-of-Riddles",
"max_stars_repo_path": "Assets/_Scripts/Triggers/AnimationTrigger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70448"
} | starcoder | <reponame>Devil-Eye-Studio/The-Loop-of-Riddles
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AnimationTrigger : MonoBehaviour
{
[SerializeField] private Animator animator;
[SerializeField] private string triggerName;
private void OnTriggerEnter(Collider other... | 2.010107 | 06eacad09b351809beeefcf2fc193aca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70448 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "galich/SharpDevelop",
"max_stars_repo_path": "src/AddIns/BackendBindings/AspNet.Mvc/Project/Src/Completion/RazorCSharpParserModelTypeVisitor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70449"
} | starcoder | // Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop 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 use, co... | 2.130538 | 7538ffb3f64e1e94cb8ec4935ec18ee6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70449 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Michelle-99/DiscordManager",
"max_stars_repo_path": "DiscordManager/Events/Discord/MessageUpdatedEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70450"
} | starcoder | using DCM.Interfaces;
using Discord;
using Discord.WebSocket;
namespace DCM.Events.Discord
{
public class MessageUpdatedEvent : Event
{
public MessageUpdatedEvent(Cacheable<IMessage, ulong> oldMessage, SocketMessage newMessage, ISocketMessageChannel channel)
{
OldMessage = oldMessa... | 2.155667 | 0b92e9b5e9c109b8ca892bc99d1ae91f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70450 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mitchasdf/N64_ROM_Editor",
"max_stars_repo_path": "N64RomEditor/src/MIPS3Codec/OpcodeFileParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70451"
} | starcoder | <filename>N64RomEditor/src/MIPS3Codec/OpcodeFileParser.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
namespace N64RomEditor.src.MIPS3Codec
{
public class OpcodeFileParser
{
// A map of BitField type by bit field code
private static readonly Diction... | 2.958571 | b064e581797a250e50f4c3a751a6b3c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70451 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nemec/dotnet-pluralizer",
"max_stars_repo_path": "PluralizeSample/IPluralForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70452"
} | starcoder | using System;
namespace PluralizeSample
{
public interface IPluralForm
{
string Value { get; }
string Description { get; }
}
}
| 1.997256 | bc9dda6627fc3a3a63c1a60db6e4db5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70452 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "masoud-bahrami/CraftingDesignUsingTDD",
"max_stars_repo_path": "CodeKata/MultiCurrency/TDD.CodeKata.MultiCurrency/Sum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70453"
} | starcoder | namespace TDD.CodeKata.MultiCurrency
{
public class Sum: IExpression
{
public IExpression Augend;
public IExpression Addend;
public Sum(IExpression augend , IExpression addend)
{
Augend = augend;
Addend = addend;
}
public Money Reduce(Ban... | 2.991079 | 79a704ee249d1b65b4b2eb38f3935a1b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70453 | {
"extension": "c-sharp",
"max_stars_count": "75.0",
"max_stars_repo_name": "dncuug/scaffolder",
"max_stars_repo_path": "Scaffolder.API/Application/Security/AuthorizationManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70454"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Scaffolder.Core.Meta;
namespace Scaffolder.API.Application.Security
{
public class AuthorizationManager
{
private readonly Dictionary<Configuration, string> _configurations;
public AuthorizationManager(S... | 2.801459 | 2c3c22138f277c8be9687f430ccc081c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70454 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lucasmarcuzo/URI",
"max_stars_repo_path": "Desafios em C#/1075 - Resto 2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70455"
} | starcoder | <gh_stars>0
using System;
//Developed by: @LucasMarcuzo
class URI1075 {
static void Main(string[] args) {
int n;
n=int.Parse(Console.ReadLine());
for(int i = 0; i <10000; i++)
{
if(i % n == 2)
{
Console.WriteLine(i);
}... | 2.862329 | fce97e800352bed6c12e4452e2123beb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70455 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CuplexUser/ImageViewer",
"max_stars_repo_path": "ImageView/Managers/FormStateManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70456"
} | starcoder | <reponame>CuplexUser/ImageViewer
using ImageViewer.Models;
using Serilog;
using System.Collections.Concurrent;
using Color = System.Drawing.Color;
namespace ImageViewer.Managers
{
public class FormStateManager
{
public static bool RestoreFormState(ApplicationSettingsModel settings, Form form)
... | 2.617246 | df8dbecc5c6b54c76cc82c5faa966570 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70456 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PaulDixon/ssrp_hololens_src",
"max_stars_repo_path": "Assets/_ssrp/scripts/SSRP_entity_manager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70457"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SSRP_entity_manager : MonoBehaviour
{
PersistantManager boss;
// Entity manager
// Rendering gui
//public GameObject contextEntityViewGameObject; // we will be instatiating metaData Prefabs
private RectTra... | 1.780108 | 7a2af48dc982909c6beccaae046822c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70457 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DataSCCource/SchiffeVersenken",
"max_stars_repo_path": "SchiffeVersenken/Solver/RandomSolver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70458"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using static SchiffeVersenken.Helper;
namespace SchiffeVersenken.Solver
{
/// <summary>
/// Solver, that shoots random without any search algorithm
/// </summary>
... | 2.969002 | 75c4a0d1379d3c04e669ebcbe07e957b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70458 | {
"extension": "c-sharp",
"max_stars_count": "378.0",
"max_stars_repo_name": "cofiem/StardewMods",
"max_stars_repo_path": "ContentPatcher/Framework/Migrations/Migration_1_23.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70459"
} | starcoder | <gh_stars>100-1000
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text.RegularExpressions;
using ContentPatcher.Framework.Conditions;
using ContentPatcher.Framework.ConfigModels;
using ContentPatcher.Framework.Constants;
using ContentPatcher.Framework.Lexing.LexTokens;
using Pathoschild.Stardew.... | 2.423004 | 8cdee6b085ee8f600e7bf10de6d0d841 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70459 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SoftFx/FDK2",
"max_stars_repo_path": "Calculator/Validation/ModifyOrderRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70460"
} | starcoder | <filename>Calculator/Validation/ModifyOrderRequest.cs
namespace TickTrader.FDK.Calculator.Validation
{
public class ModifyOrderRequest
{
public string OrderId { get; set; }
public decimal? AmountChange { get; set; }
public decimal? MaxVisibleAmount { get; set; }
public decimal? ... | 1.66173 | 2c4dae528802e8c558d8667b257bacd0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70460 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Witiza/Programmer-Test-Unity",
"max_stars_repo_path": "Assets/Scripts/SaveLoad.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70461"
} | starcoder | using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using UnityEngine;
//We save the scores to a binary file, and the volume to a player pref
public static class SaveLoad
{
public static void SaveScores(int[] scores)
{
if (scores.Length != 9)
{
Debug.LogWarning("... | 3.003545 | 6d1c38ae263eb6037f3645a34618dbfc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70461 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rstropek/odata-netfx",
"max_stars_repo_path": "ODataFaq/ODataFaq.DemoDataGenerator/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70462"
} | starcoder | using ODataFaq.DataModel;
using System;
using System.Threading.Tasks;
namespace ODataFaq.DemoDataGenerator
{
class Program
{
static async Task Main(string[] _)
{
Console.WriteLine("Press any key to continue with clearing the database 'ODataFaq' on (localdb)\\v11.0 and filling it with demo data ...");
Cons... | 2.659995 | d84ef7717b89ac96356462edbe8715f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70462 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iwenli/AspNetServer",
"max_stars_repo_path": "src/Iwenli.AspNetServer/AspNet20/UI/Show.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70463"
} | starcoder | using System.Diagnostics;
namespace AspNet20.UI
{
public partial class Show : BaseForm
{
public Show(string rootUrl, string path)
{
InitializeComponent();
this.txtBoxPath.Text = path;
this.lklabRootUrl.Text = rootUrl;
lklabRootUrl.LinkClicked += ... | 2.041603 | cec36d73b3c3ebe6d0756e28c3c7801f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70463 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tarikeminagictacta/Quizard",
"max_stars_repo_path": "Quizard.API/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70464"
} | starcoder | <reponame>tarikeminagictacta/Quizard<filename>Quizard.API/Startup.cs<gh_stars>0
using AutoMapper;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.E... | 1.585215 | fdc24bb9cccef829d4a04f354d4c6b13 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70464 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "Slesa/Prolog.NET",
"max_stars_repo_path": "src/obsolete/PrologWorkbench.Explorer/ExplorerModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70465"
} | starcoder | <filename>src/obsolete/PrologWorkbench.Explorer/ExplorerModule.cs
using System.Windows.Controls;
using Microsoft.Practices.Prism.Modularity;
using Microsoft.Practices.Prism.Regions;
using Microsoft.Practices.Unity;
using PrologWorkbench.Core.Contracts;
using PrologWorkbench.Explorer.Resources;
using PrologWorkbe... | 1.832462 | 6c9e2e04a66ff241e8efbb79c1c7c58c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70465 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neon-nyan/CollapseLauncher",
"max_stars_repo_path": "Hi3HelperCore/Classes/Data/Tools/GenshinDispatchHelper/GenshinDispatchHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70466"
} | starcoder | <filename>Hi3HelperCore/Classes/Data/Tools/GenshinDispatchHelper/GenshinDispatchHelper.cs<gh_stars>0
using Hi3Helper.Preset;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
using static System.Convert;
namespace Hi3Helper.Data
{
pu... | 2.01492 | 8dae5d2aeecf8c92919b73548c788017 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70466 | {
"extension": "c-sharp",
"max_stars_count": "6723.0",
"max_stars_repo_name": "ramkannan1012/practical-aspnetcore",
"max_stars_repo_path": "projects/net6/minimal-api-pokedex/src/Minimal.Api.Pokedex/Services/IPokedexRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70467"
} | starcoder | using Minimal.Api.Pokedex.Models;
namespace Minimal.Api.Pokedex.Services
{
public interface IPokedexRepository
{
public Task<PokemonEntity[]> Read();
}
}
| 1.352152 | fe27592b1579a3bb7c06f839a04ffe78 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70467 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iAvinashVarma/BiometricAPI",
"max_stars_repo_path": "BiometricBLL/Model/Person.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70468"
} | starcoder | using BiometricBLL.Custom.Converter;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Xml.Serialization;
namespace BiometricBLL.Model
{
[XmlRoot("Persons")]
public c... | 2.595567 | b2ac7ad9e2ca2aad81df43a7b22e011b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70468 | {
"extension": "c-sharp",
"max_stars_count": "419.0",
"max_stars_repo_name": "steffendx/GoNorth",
"max_stars_repo_path": "Services/Export/Placeholder/ScribanRenderingEngine/ValueCollector/DailyRoutineEventListValueCollector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70469"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using GoNorth.Data.Exporting;
using GoNorth.Data.Kortisto;
using GoNorth.Services.Export.DailyRoutine;
using GoNorth.Services.Export.Data;
using GoNorth.Services.Export.Placeholder.ScribanRenderingEngine.RenderingObjects;
using GoNorth.Services.Expo... | 1.916968 | 92740ab0336682948beb4f304c8b82dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70469 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TraceabilityInternet/TraceabilityDriver",
"max_stars_repo_path": "packages/gudusoft.gsqlparser.trial.3.3.2.6/src/test/formatsql/testCTE.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70470"
} | starcoder | <gh_stars>1-10
using System;
namespace gudusoft.gsqlparser.test.formatsql
{
/*
* Date: 11-3-22
*/
using EDbVendor = gudusoft.gsqlparser.EDbVendor;
using TGSqlParser = gudusoft.gsqlparser.TGSqlParser;
using GFmtOpt = gudusoft.gsqlparser.pp.para.GFmtOpt;
using GFmtOptFactory = gudusoft.gsqlpars... | 2.177642 | 16419d5e9692871d1ac86adb445f7e3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70470 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mczachurski/community",
"max_stars_repo_path": "SunLine.Community.Web/Views/Account/ForgotPassword.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:70471"
} | starcoder | @model SunLine.Community.Web.ViewModels.Account.ForgotPasswordViewModel
@{
ViewBag.Title = "Forgot your password?";
}
<div class="row">
<div class="col-sm-6 col-sm-offset-3">
<div class="panel panel-default panel-center">
<div class="panel-heading">
<h3 class="panel-title">... | 2.19938 | 478a5d3912faf831edcf5d2399871138 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70471 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "furkanisitan/course-shop",
"max_stars_repo_path": "src/Services/Identity/Identity.Model/Responses/UserResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70472"
} | starcoder | using MagiCore.Model;
namespace CourseShop.Services.Identity.Model.Responses;
public class UserResponse : IResponse
{
public string? Id { get; set; }
public string? UserName { get; set; }
public string? Email { get; set; }
public string? City { get; set; }
} | 1.523868 | 0a0ecf80d7419088caed095b2223a75d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70472 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "DragonSpark/Framework",
"max_stars_repo_path": "DragonSpark.Application/Security/ContentHash.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70473"
} | starcoder | using System.Security.Cryptography;
using System.Text;
namespace DragonSpark.Application.Security;
public sealed class ContentHash : HashBase
{
public static ContentHash Default { get; } = new();
ContentHash() : base(MD5.Create, Encoding.ASCII) {}
} | 1.994128 | 5744fd381453132f5eeb56dcb810b8ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70473 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stStoyanov93/SoftUni-Databases-Fundamentals-2017",
"max_stars_repo_path": "DB Advanced Entity Framework Core/04 AdvancedRelations/BillsPaymentSystem/P01_BillsPaymentSystem.Data/PaymentSystemDBContex.cs",
"provenance": "train-00000-of-... | starcoder | <filename>DB Advanced Entity Framework Core/04 AdvancedRelations/BillsPaymentSystem/P01_BillsPaymentSystem.Data/PaymentSystemDBContex.cs
using Microsoft.EntityFrameworkCore;
using P01_BillsPaymentSystem.Data.Models;
using P01_BillsPaymentSystem.Data.EntityConfig;
namespace P01_BillsPaymentSystem.Data
{
public cl... | 2.40539 | 669edfbdf3321722d5e1f4a713cbaf97 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70474 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DPLSSE/CompoundInterest",
"max_stars_repo_path": "CompoundInterestBackend/CompoundInterestBackend.Accessors.Shared/DTOMapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70475"
} | starcoder | using AutoMapper;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("CompoundInterestBackend.Tests.AccessorTests")]
namespace CompoundInterestBackend.Accessors.Shared
{
internal static class DTOMapper
{
static IMapper _mapper;
private static IConfigurationProvider... | 2.073491 | 19e3b4174c6de7fd66a7ffa98f972eed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70475 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pranathi2000/IT380",
"max_stars_repo_path": "Assets/Scripts/UIFunctions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70476"
} | starcoder | <filename>Assets/Scripts/UIFunctions.cs<gh_stars>0
using UnityEngine;
using UnityEngine.SceneManagement;
using TMPro;
public class UIFunctions : MonoBehaviour
{
private void Start()
{
Debug.Log("Hello World! This is my first script");
}
public void SetScene(string sceneName)
{
Sc... | 2.170991 | f0febd1d7c7454b3f694fbc1ea69775e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70476 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RobertAcksel/UnrealCS",
"max_stars_repo_path": "Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Editor_64bits/UAudioSettings_FixSize.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70477"
} | starcoder | <reponame>RobertAcksel/UnrealCS
#if WITH_EDITOR
#if PLATFORM_64BITS
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace UnrealEngine
{
/// <summary>Audio settings.</summary>
public partial class UAudioSettings
{
static readonly int DefaultSoundClassName__Offset;
/... | 2.001833 | 4b9e86cb9ca1cf14ae7b06e5dc96bf6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70477 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShadyWhite/Anamnesis",
"max_stars_repo_path": "Anamnesis/GameData/GameDataService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70478"
} | starcoder | // © Anamnesis.
// Licensed under the MIT license.
namespace Anamnesis.Services;
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Anamnesis.Actor;
using Anamnesis.Files;
using Anamnesis.GameData;
using Anamnesis.GameData.Excel;
using Anamnesis.GameData.Sheets;
usin... | 1.900884 | c327c8cf1ffa1a030aa19b1380004323 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70478 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "olinyavod/Melomans-2",
"max_stars_repo_path": "Module.MessageRouter.Abstractions/Message/MessageDefinition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70479"
} | starcoder | <filename>Module.MessageRouter.Abstractions/Message/MessageDefinition.cs
namespace Module.MessageRouter.Abstractions.Message
{
public class MessageDefinition
{
public string MessageId { get; set; }
public string AccessGroup { get; set; }
}
}
| 1.772794 | 5fb071470e516d59581f0f2fc5e938ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70479 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stewartm83/TaxCalculator",
"max_stars_repo_path": "src/Calculator.Web/Controllers/CalculationsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70480"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Microsoft.EntityFrameworkCore;
using Calculator.Core;
using Calculator.Web.Models;
namespace Calculator.Web.Controllers
{
[Route("api/[controlle... | 2.433577 | 91e94a5f2b1fad80524c7ef7e2d8255c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70480 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kentico/xperience-module-intercom",
"max_stars_repo_path": "src/CMS/CMSModules/Newsletters/Tools/Newsletters/Newsletter_List.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70481"
} | starcoder | <reponame>Kentico/xperience-module-intercom<filename>src/CMS/CMSModules/Newsletters/Tools/Newsletters/Newsletter_List.aspx.cs
using System;
using CMS.Base;
using CMS.Core;
using CMS.DataEngine;
using CMS.FormEngine.Web.UI;
using CMS.Helpers;
using CMS.Newsletters;
using CMS.Newsletters.Web.UI;
using CMS.Site... | 1.780572 | 8c62b1fdeaf797f1ee7029a0446e2e35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70481 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jackobo/jackobs-code",
"max_stars_repo_path": "MockBootstrapper/GGPMock.Core/Models/InstallationContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70482"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GGPMockBootstrapper.Models
{
public class InstallationContext : IInstalationContext
{
public InstallationContext(GGPGameServer.ApprovalSystem.Common.IUserInterfaceServices ui)
{
this.En... | 1.901297 | 0bfaee2584c3f79642051f9116e38bb1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70482 | {
"extension": "c-sharp",
"max_stars_count": "522.0",
"max_stars_repo_name": "essensoft/paymen",
"max_stars_repo_path": "src/Essensoft.Paylink.Alipay/Response/AlipayMerchantImageUploadResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70483"
} | starcoder | using System.Text.Json.Serialization;
namespace Essensoft.Paylink.Alipay.Response
{
/// <summary>
/// AlipayMerchantImageUploadResponse.
/// </summary>
public class AlipayMerchantImageUploadResponse : AlipayResponse
{
/// <summary>
/// 图片在文件存储平台的标识
/// </summary>
[J... | 1.69541 | 9efdfa614e792ca68c5fc08d9294e560 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70483 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "delioff/Project",
"max_stars_repo_path": "Exam/_04MakeitRain/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70484"
} | starcoder | <reponame>delioff/Project
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _04MakeitRain
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
int T = 0;
... | 3.213471 | 1b887ea17fe0f063a6e7e5d3e5728aae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70484 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marcelomcdev/stocksimulator",
"max_stars_repo_path": "Backend/StockSimulator.Data/Repository/OperationRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70485"
} | starcoder | using Microsoft.EntityFrameworkCore;
using StockSimulator.Data.Context;
using StockSimulator.Domain.Entities;
using StockSimulator.Domain.Interfaces.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace StockSimulator.Data.Repository
{
public class... | 2.660334 | 8c75f3d944f30c81dbeb62120f0f6aae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70485 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DeadReport77/Scarlett-Speech-Recognition-Final-Production",
"max_stars_repo_path": "recognizer_StateChanged.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70486"
} | starcoder | <filename>recognizer_StateChanged.cs
namespace Scarlett
{
internal class recognizer_StateChanged
{
}
} | 1.260827 | dd12a41e49c0850847333ac026c7eb18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70486 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-shared-packages",
"max_stars_repo_path": "Messaging/SFA.DAS.Messaging.AzureServiceBus/ExecutionPolicies/TopicSubscriberDefaultPolicy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70487"
} | starcoder | using System;
using Microsoft.ServiceBus.Messaging;
using Polly;
using SFA.DAS.NLog.Logger;
namespace SFA.DAS.Messaging.AzureServiceBus.ExecutionPolicies
{
[PolicyName(PollyPolicyNames.TopicMessageSubscriberPolicyName)]
public class TopicSubscriberDefaultPolicy : ExecutionPolicy
{
private readonly... | 1.97495 | e91b574ef1e287cbf1eb2f6b33a71be8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70487 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kygunco/KyGunCo.Counterpoint",
"max_stars_repo_path": "Source/KyGunCo.Counterpoint.Sdk/Configuration/UserViKitInvConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70488"
} | starcoder | <reponame>kygunco/KyGunCo.Counterpoint
// <auto-generated>
using KyGunCo.Counterpoint.Sdk.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace KyGunCo.Counterpoint.Sdk.Configuration
{
// USER_VI_KIT_INV
public class UserViKitInvConfiguration : IEntity... | 1.644143 | 0053c9952d2944588edb1785e5fbfa56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70488 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stStoyanov93/SoftUni-CSharp-Fundamentals-2018",
"max_stars_repo_path": "C# Advanced/02 Multidimensional Arrays/EXE_MultidimensionalArrays/P10_TheHeiganDance/TheHeiganDance.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70489"
} | starcoder | using System;
namespace P10_TheHeiganDance
{
class TheHeiganDance
{
private const double cloud = 3500.0;
private const double eruption = 6000.0;
static void Main(string[] args)
{
var matrix = CreateMatrix();
double playerHealth = 18500;
dou... | 3.339043 | ed02375e41fe2bc4188a3c675fba9009 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70489 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "samaysar/dotdotnet",
"max_stars_repo_path": "Dot.Net.DevFast/src/Dot.Net.DevFast/Extensions/ThrowIfPredicate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70490"
} | starcoder | <filename>Dot.Net.DevFast/src/Dot.Net.DevFast/Extensions/ThrowIfPredicate.cs
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Runtime.CompilerServices;
using Dot.Net.DevFast.Etc;
using System.Collections.Generic;
using Dot.Net.DevFast.Extensions.StringExt;
namespace Dot.Net.De... | 2.688395 | 07b331f853a4ff59c8b927591c28c590 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70490 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tuoxieyz/fashionDRP",
"max_stars_repo_path": "VersionManager/BO/SoftToUpdateBO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70491"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DBAccess;
using System.ComponentModel;
using CentralizeModel;
using Kernel;
using System.Transactions;
using System.Collections.ObjectModel;
using ViewModelBasic;
namespace VersionManager.BO
{
internal class... | 2.089448 | d572b59072aafa9fe19712684b96a48c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70491 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lmf07120057/MassTransit",
"max_stars_repo_path": "src/MassTransit/Pipeline/Pipes/ScopeSendPipeSpecificationObserver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70492"
} | starcoder | <gh_stars>0
namespace MassTransit.Pipeline.Pipes
{
using PipeConfigurators;
using Scoping;
using SendPipeSpecifications;
public class ScopeSendPipeSpecificationObserver :
ISendPipeSpecificationObserver
{
readonly ISendScopeProvider _sendScopeProvider;
public ScopeSendPipeS... | 1.391385 | cdcfc47e65ab2651d4be1497dca2b8ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70492 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "InquisitorJax/CardView",
"max_stars_repo_path": "PanCardView.Droid/HorizontalViewPager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70493"
} | starcoder | <reponame>InquisitorJax/CardView<filename>PanCardView.Droid/HorizontalViewPager.cs
using Android.Content;
using Android.Runtime;
using Android.Util;
using Android.Views;
using AndroidX.ViewPager.Widget;
using PanCardView.Enums;
using System;
using System.Linq;
using Xamarin.Forms;
namespace PanCardView.Droid
{
publi... | 2.166616 | 79bacc48eb61e940c455489504dd7f05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70493 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johnnyreilly/poorclaresarundel",
"max_stars_repo_path": "PoorClaresAngular/Services/ApplicationSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70494"
} | starcoder | <gh_stars>0
namespace PoorClaresAngular.Services
{
public class ApplicationSettings : IApplicationSettings
{
private readonly System.Collections.Specialized.NameValueCollection _props = System.Configuration.ConfigurationManager.AppSettings;
public string SmtpUserName
{
get ... | 1.67227 | 833a096384abfdf39a06e91d0dfa42ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70494 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Krypton-Suite/Extended-Toolk",
"max_stars_repo_path": "Source/Krypton Toolkit/Shared/Krypton.Toolkit.Suite.Extended.Utilities/Classes/System/SAPI/Synthesis/Common/Prompt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70495"
} | starcoder | <gh_stars>0
#region BSD License
/*
* Use of this source code is governed by a BSD-style
* license or other governing licenses that can be found in the LICENSE.md file or at
* https://raw.githubusercontent.com/Krypton-Suite/Extended-Toolkit/master/LICENSE
*/
#endregion
using Krypton.Toolkit.Suite.Extended.Utilities... | 2.079834 | 7ff596b729c65e4ee7f9c7d39209c3f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70495 | {
"extension": "c-sharp",
"max_stars_count": "444.0",
"max_stars_repo_name": "YevgeniyShunevych/Atata",
"max_stars_repo_path": "src/Atata/Attributes/ControlSearch/FindByDescendantAttributeAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70496"
} | starcoder | using System;
using System.Collections.Generic;
namespace Atata
{
/// <summary>
/// Specifies that a control should be found by the specified attribute of any control's descendant.
/// Finds the control that has any descendant having specified attribute matching the specified term(s).
/// Uses <see cr... | 3.034516 | 74c9274b79bcafa4bf6337ded2b3ea13 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70496 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "c-johnson/space-station-14",
"max_stars_repo_path": "Content.Server/Botany/Seed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70497"
} | starcoder | <filename>Content.Server/Botany/Seed.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Content.Server.GameObjects.Components.Botany;
using Content.Server.GameObjects.EntitySystems;
using Content.Shared.Atmos;
using Content.Shared.Interfaces;
using Content.Shared.Utility;
using Robust.Server.G... | 2.004885 | 6255a21756b3eacfc76a46b9b56ad5dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70497 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Jturesson90/CommonUnityToolsMobile",
"max_stars_repo_path": "Runtime/Notifications/DefaultSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70498"
} | starcoder | <reponame>Jturesson90/CommonUnityToolsMobile
using Drolegames.Notifications.Common;
using System;
using System.Collections.Generic;
using System.IO;
namespace Drolegames.Notifications
{
/// <summary>
/// Standard serializer used by the <see cref="GameNotificationsManager"/> if no others
/// are p... | 2.654734 | c9f7c6ba0823d817653d1ec5fc1ba35d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70498 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "albert18/ASP-Core-w-Entity",
"max_stars_repo_path": "EmailAndConfirmation/AuthenticationAndAuthorizationEg/AuthenticationAndAuthorizationEg/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70499"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AuthenticationAndAuthorizationEg.Data;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Dependen... | 2.242455 | aa7c8494f00b5582ce9d4b1d23a773cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70499 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dotnet-demos/simple-message-queue-k8s-rabbitmq",
"max_stars_repo_path": "message-processor/Logger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70500"
} | starcoder | <gh_stars>0
using System;
using System.Threading;
namespace message_processor
{
class Logger
{
static internal void WriteLine(string message)
{
Console.WriteLine($"{DateTime.UtcNow} | {Environment.MachineName} | {Thread.CurrentThread.ManagedThreadId} | {message}");
}
}
... | 2.362343 | b0e908c8de94fb7aead3367b697b22fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70500 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LEADTOOLS/main-imaging-demo-dotnet",
"max_stars_repo_path": "MainImagingDemo/UI/PanViewerForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70501"
} | starcoder | <reponame>LEADTOOLS/main-imaging-demo-dotnet<filename>MainImagingDemo/UI/PanViewerForm.cs
// *************************************************************
// Copyright (c) 1991-2020 LEAD Technologies, Inc.
// All Rights Reserved.
// *******************************... | 2.09462 | 2754a75e4d1d169a85efa0e9cd6d36cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70501 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "urdeveloper/prpl-server-netcore",
"max_stars_repo_path": "Prpl/PrplExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70502"
} | starcoder | <gh_stars>0
using System;
using System.Linq;
using System.IO;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Options;
using System.Collections.Generic;
using Microsoft.AspNetCor... | 1.907795 | 830305095cd9010fd23e7d4ed6d5abe9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70502 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ysdy44/Retouch-Photo2-UWP",
"max_stars_repo_path": "Retouch Photo2.Layers/LayerManagers/LayerManager.Group.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70503"
} | starcoder | <reponame>ysdy44/Retouch-Photo2-UWP
using FanKit.Transformers;
using Microsoft.Graphics.Canvas;
using Retouch_Photo2.Layers.Models;
using System.Collections.Generic;
using System.Linq;
namespace Retouch_Photo2.Layers
{
/// <summary>
/// Manager of <see cref="ILayer"/>.
/// Represents a collection of layer... | 2.509195 | 7a734789b6ac4e8f338c8c287f19b2f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70503 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MoonyGames/file547",
"max_stars_repo_path": "file547/Assets/file547/Packages/Aura 2/Core/Code/Classes/DirectionalLightsManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70504"
} | starcoder | <reponame>MoonyGames/file547
/***************************************************************************
* *
* Copyright (c) <NAME> (@RaphErnaelsten) *
* All Rights Reserved. ... | 2.291427 | bae0ba38323e81bd4ccd959b5876b53b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70504 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "5118234/FreeSql",
"max_stars_repo_path": "Providers/FreeSql.Provider.SqlServer/SqlServerExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70505"
} | starcoder | <gh_stars>1-10
using FreeSql;
using FreeSql.Internal.Model;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
#if microsoft
using Microsoft.Data.SqlClient;
#else
using System.Data.SqlClient;
#endif
using System.Threading.Tasks;
public static partial class FreeSqlSqlServerGlobalExten... | 2.343612 | 93442e9fc81b3973df47562630123046 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70505 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "AlexGipp/ModernWarfare.Net",
"max_stars_repo_path": "src/ModernWarfare.Net/Helpers/ApiProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70506"
} | starcoder | <filename>src/ModernWarfare.Net/Helpers/ApiProcessor.cs
using System.IO;
using System.Threading.Tasks;
namespace ModernWarfare.Net.Helpers
{
public class ApiProcessor
{
public static async Task<Stream> GetUser(string apiUrl)
{
var jsonAsStream = await ApiHelper.ApiClient.GetStreamA... | 2.371868 | 322a5406f0e3357100b84d73dd91ac4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70506 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mashles/AdventOfCode2020",
"max_stars_repo_path": "AdventOfCode/Day_09.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70507"
} | starcoder | <reponame>mashles/AdventOfCode2020<gh_stars>0
using AoCHelper;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace AdventOfCode
{
public class Day_09 : BaseDay
{
private readonly long[] _input;
private readonly Dictionary<int, List<long>> _sums;
... | 2.936216 | f20d92fea82bf4c75a6e1b2264e1c523 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70507 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shashinma/CSEB-Windows",
"max_stars_repo_path": "SafeExamBrowser.Client/Operations/Events/ApplicationNotFoundEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70508"
} | starcoder | /*
* Copyright (c) 2021 ETH Zürich, Educational Development and Technology (LET)
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
using SafeExamBrowser.Core... | 1.72965 | c098845a0035e5c35e807417932d314d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70508 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Calabonga/Calabonga.Microservices.Core",
"max_stars_repo_path": "src/Calabonga.Microservices.Core/Calabonga.Microservices.Core/AppContracts.Messages.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70509"
} | starcoder | namespace Calabonga.Microservices.Core
{
/// <summary>
/// Architecture infrastructure common symbols
/// </summary>
public static partial class AppContracts
{
public static class Messages
{
/// <summary>
/// "User not registered in the system"
//... | 1.903731 | 305c908c0114fc5ffb6650a73e49b022 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70509 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "uncled1023/IRCBot",
"max_stars_repo_path": "IRCBot/Bot/Modules/roll_call.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70510"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bot.Modules
{
class roll_call : Module
{
public override void control(bot ircbot, BotConfig Conf, string[] line, string command, int nick_access, string nick, string channel, b... | 2.428385 | 0ef2cef42829ff85287aa8fd9685edbe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70510 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "dagguh/netrunner",
"max_stars_repo_path": "Assets/Scripts/Model/Timing/ITurn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70511"
} | starcoder | <gh_stars>1-10
using System.Threading.Tasks;
using model.play;
namespace model.timing
{
public interface ITurn
{
ClickPool Clicks { get; }
Side Side { get; }
Task Start();
/// <summary>
/// Tells observers the turn has just started.
/// It's different from "whe... | 2.255946 | dd534058791be3152451b33d9efe6ad5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70511 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AJMitev/CSharp-Programming-Fundamentals",
"max_stars_repo_path": "05.Lists/Lab 1 - Remove Negatives and Reverse/RemoveReversPrint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70512"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
public class RemoveReversPrint
{
public static void Main()
{
//Input
List<int> listOfNumbers = new List<int>(Console.ReadLine().Split(' ').Select(int.Parse).ToList());
//Logic
listOfNumbers.Reverse();
L... | 3.94067 | 38a65ab114059a639f1d967a6bb9fecc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70512 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "wilsonvargas/Blog.Core",
"max_stars_repo_path": "src/RazorLight/RazorLightException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70513"
} | starcoder | <reponame>wilsonvargas/Blog.Core
using System;
namespace RazorLight
{
public class RazorLightException : Exception
{
public RazorLightException()
{
}
public RazorLightException(string message) : base(message) { }
public RazorLightException(string message, Exception ex... | 1.730411 | b40a0998b1ca4c1f2d2f187dc950aadc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70513 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nicedone/siemens-ros-sharp",
"max_stars_repo_path": "Unity3D/Assets/RosSharp/Scripts/CameraImagePublisher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70514"
} | starcoder | <gh_stars>1-10
/*
© CentraleSupelec, 2017
Author: Dr. <NAME> (<EMAIL>)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>.
Unless required by applicable l... | 2.080442 | c0da0ef89595c427aed41633e068a0df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70514 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Surye/tbnmobile",
"max_stars_repo_path": "TBNMobile/TBNMobile/Database/Models/Show.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70515"
} | starcoder | using SQLite.Net.Attributes;
namespace TBNMobile.Database.Models
{
public class Show
{
[AutoIncrement, PrimaryKey]
public int ID { get; set; }
public string Name { get; set; }
public string ImageName { get; set; }
public string RssFeed { get; set; }
}
}
| 1.832652 | ecb1cfb055fea8f1915b94824116c104 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70515 | {
"extension": "c-sharp",
"max_stars_count": "108.0",
"max_stars_repo_name": "yinyue200/PeanutButter",
"max_stars_repo_path": "source/Win32Service/PeanutButter.WindowsServiceManagement.Tests/GlobalSetup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70516"
} | starcoder | <filename>source/Win32Service/PeanutButter.WindowsServiceManagement.Tests/GlobalSetup.cs
using System;
using System.IO;
using System.Linq;
using NUnit.Framework;
using PeanutButter.Utils;
namespace PeanutButter.WindowsServiceManagement.Tests
{
[SetUpFixture]
public class GlobalSetup
{
private strin... | 2.428166 | 7f1961699c97298db8e91eabe949ab15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70516 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HofmaDresu/WideWorldCalendar",
"max_stars_repo_path": "WideWorldCalendar.Core/ScheduleFetcher/Game.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70517"
} | starcoder | <reponame>HofmaDresu/WideWorldCalendar
using System;
namespace WideWorldCalendar.ScheduleFetcher
{
public class Game
{
public DateTime ScheduledDateTime { get; set; }
public string Field { get; set; }
public bool IsHomeGame { get; set; }
public Team MyTeam { get; set; }
public Team OpposingTeam { get; set;... | 1.768382 | 85f89b8f81e4c76cdfd5efcb0a684aa0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70517 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xclemence/PeNet",
"max_stars_repo_path": "src/PeNet/Structures/MetaDataTables/TypeRef.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70518"
} | starcoder | namespace PeNet.Structures.MetaDataTables
{
public class TypeRef : AbstractTable
{
public TypeRef(byte[] buff, uint offset, HeapSizes heapSizes, IndexSize indexSizes)
: base(buff, offset, heapSizes, indexSizes)
{
ResolutionScope = ReadSize(IndexSizes[Index.ResolutionSco... | 2.272952 | d362a894cc927707414449ab2c2fb209 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70518 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "AndreRSanchez/ATSPM",
"max_stars_repo_path": "MOE.Common/Business/MaxTimeHDLogClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70519"
} | starcoder | <gh_stars>10-100
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Xml;
namespace MOE.Common.Business
{
public class MaxTimeHDLogClient
{
public XmlDocument GetFull(string url)
{
var xml = new XmlDocument();
using (var client = new HttpCli... | 2.556094 | 7de9d5f3e081ca78da792d25d808b718 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70519 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "dzimchuk/power-video-player",
"max_stars_repo_path": "Players/WPF/Pvp.App/ViewModel/MediaInformationViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70520"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Input;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using GalaSoft.MvvmLight.Messaging;
using Pvp.App.Messaging;
using Pvp.Core.DirectShow;
using Pvp.Core.MediaEngine;
using Pvp.Core.MediaE... | 1.930868 | 5c8c6a923baec9230b5e587d3f74bb29 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70520 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SRM256/gsf",
"max_stars_repo_path": "Source/Libraries/GSF.Security/SecurityProviderCache.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70521"
} | starcoder | <gh_stars>0
//******************************************************************************************************
// SecurityProviderCache.cs - Gbtc
//
// Copyright © 2012, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license a... | 1.818773 | 7a85989502e05a77d4a760701ca653bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70521 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZSnake/backend-class",
"max_stars_repo_path": "src/Starscream.Web/Api/Infrastructure/Configuration/ConfigureAutomapperMappings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70522"
} | starcoder | <gh_stars>0
using System;
using AutoMapper;
using Autofac;
using Starscream.Domain.Entities;
using Starscream.Web.Api.Requests;
using Starscream.Web.Api.Responses.Admin;
namespace Starscream.Web.Api.Infrastructure.Configuration
{
public class ConfigureAutomapperMappings : IBootstrapperTask<ContainerBuilder>
{
... | 1.389575 | 7f66f14fa135bdb2c00bb75e669d47bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70522 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Red-Sharp-Group/RedSharp.Logging",
"max_stars_repo_path": "RedSharp.Logging.System/Services/LoggerService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70523"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
using RedSharp.Logging.Sys.Enums;
using RedSharp.Logging.Sys.Interfaces.Services;
using RedSharp.Logging.Sys.Interfaces.Utils;
using RedSharp.Logging.Sys.Models;
using RedSharp.Sys.Helpers;
namespace RedSharp.Log... | 2.249306 | 869154d53e6788e8b8a26a4b8c9b5601 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70523 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Shtereva/CSharp-Advanced",
"max_stars_repo_path": "Functional Programming/13. TriFunction/StartUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70524"
} | starcoder | using System;
using System.Linq;
namespace _13.TriFunction
{
public class StartUp
{
public static void Main()
{
int number = int.Parse(Console.ReadLine());
var names = Console.ReadLine().Split();
Func<string, int> sum = (n) => n.ToCharArray().Sum(x => (int... | 3.654682 | f51f3feeea13197ab4279b4b9e32e08b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70524 | {
"extension": "c-sharp",
"max_stars_count": "9402.0",
"max_stars_repo_name": "pyracanda/runtime",
"max_stars_repo_path": "src/libraries/System.Configuration.ConfigurationManager/src/System/Configuration/ConfigXmlReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70525"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Configuration.Internal;
using System.Diagnostics;
using System.IO;
using System.Xml;
namespace System.Configuration
{
internal sealed class ConfigXmlReader : XmlTex... | 2.447057 | 197ff7a909b6b06663e1affd865cc484 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70525 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "echoprotocol/echo-unity-lib",
"max_stars_repo_path": "Plugins/CustomTools/Extensions/Core/VectorExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70526"
} | starcoder | <reponame>echoprotocol/echo-unity-lib<gh_stars>1-10
using UnityEngine;
namespace CustomTools.Extensions.Core.Vector {
public static class VectorExtension {
public static Vector3 ToVector3( this Vector2 v, float z = 0f ) {
var cast = ( Vector3 )v;
cast.z = z;
return cast;
}
public static Vector4 To... | 2.025036 | 1919ab8df4a74e46dcf34cd76c8025d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70526 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kreghek/upgrade-assistant",
"max_stars_repo_path": "src/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.CodeFixes/IdentifierUpgradeCodeFixer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70527"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFix... | 2.146514 | c24fc20452be1b4065a75983f8ca3c92 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70527 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MingboPeng/csharp-sdk",
"max_stars_repo_path": "src/PollinationSDK/Interface/Io/Inputs/Dag.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70528"
} | starcoder | <gh_stars>0
//This is auto generated by create_interface.py
//Do not edit this manually!.
namespace PollinationSDK.Interface.Io.Inputs
{
public partial interface IDag {}
}
//Classes implemented this interface:
namespace PollinationSDK
{
public partial class DAGArrayInput: PollinationSDK.Interface.Io.Inputs.IDag {}
... | 0.922698 | 8a62e1039e10c0ee5a059fe2ca97dfe2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70528 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ValeryBur/TeachMeSkills-DotNet-Starter",
"max_stars_repo_path": "src/TeachMeSkills.DotNet.Task17/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70529"
} | starcoder | using System;
using System.Threading;
using System.Globalization;
namespace TeachMeSkills.DotNet.Task17
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Welcome to Currency Converter!");
Console.Write("Input currency sum: ");
int curren... | 3.671573 | cf6dc6a546c214e85d2ab09c94eeda87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70529 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gagandeepgarg/Centralized-Data-Ingestion-Outgestion",
"max_stars_repo_path": "InternalLibraries/ZionWeb.UnitTests/Managers/OutgestionManagerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70530"
} | starcoder | <filename>InternalLibraries/ZionWeb.UnitTests/Managers/OutgestionManagerTests.cs
using Microsoft.AspNetCore.Mvc;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
using ZionWeb.BusinessLogic;
using ZionWeb.DAL;
using ZionWeb.DAL.Entities;
using ZionWeb.Models... | 1.969866 | fd5ec59bb856b2960a474758ab00d6c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70530 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zhaifanhua/zhaifanhuaBlog",
"max_stars_repo_path": "backend/ZhaiFanhuaBlog.IServices/Sites/ISiteConfigurationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70531"
} | starcoder | // ----------------------------------------------------------------
// Copyright ©2022 ZhaiFanhua All Rights Reserved.
// FileName:ISiteConfigurationService
// Guid:4852cc95-ec03-49e1-baea-98df25740234
// Author:zhaifanhua
// Email:<EMAIL>
// CreateTime:2022-01-22 下午 02:34:58
// ---------------------------------------... | 1.149756 | 2cb61e6b9c292f8586952f3302e52699 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70531 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "tonyredondo/ObjectInspector",
"max_stars_repo_path": "src/Wanhjor.ObjectInspector/ObjectInspector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70532"
} | starcoder | <filename>src/Wanhjor.ObjectInspector/ObjectInspector.cs
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.CompilerServices;
namespace Wanhjor.ObjectInspector
{
/// <summary>
/// Object inspector
/// </summary>
public sealed class ObjectInspector
{
... | 3.077158 | 62e888e70a7759acbb27a5de5c946aa0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70532 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "basyura/Eleve",
"max_stars_repo_path": "Eleve/WindowCloseType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70533"
} | starcoder | <reponame>basyura/Eleve
namespace Eleve
{
public enum WindowCloseType
{
None = 0,
OK = 1,
Close = 2,
Cancel = 3,
}
}
| 1.165721 | 49371aa55b80ad87ef92464c8236a0cb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.