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 | 8834612 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "ValueCreation/RoutePlanner",
"max_stars_repo_path": "Source/ArcLogistics/Utility/EnumerableEx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153832"
} | starcoder | /*
| Version 10.1.84
| Copyright 2013 Esri
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law o... | 3.107286 | 019fe86dab7ed6d839120d2c09ace682 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834613 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "AreebaAroosh/Machete",
"max_stars_repo_path": "src/Machete.HL7.Tests/TestSchema/NA.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153833"
} | starcoder | namespace Machete.HL7.Tests.TestSchema
{
public interface NA :
HL7Component
{
Value<decimal> Value1 { get; }
Value<decimal> Value2 { get; }
Value<decimal> Value3 { get; }
Value<decimal> Value4 { get; }
}
} | 1.439736 | 37c209d68295d049612b678eefd0416a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834614 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EdmilsonFernandes/fitcurrilo",
"max_stars_repo_path": "Projeto.Web/Views/Candidato/AddCurriculo.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:153834"
} | starcoder | @model Projeto.Web.Models.CandidatoViewModel
@{
ViewBag.Title = "Cadastro";
Layout = "~/Views/Shared/Layout.cshtml";
}
<h2>Novo Currículo</h2>
@using (Html.BeginForm("AddCurriculo", "Candidato", null, FormMethod.Post, new {enctype = "multipart/form-data"}))
{
@Html.AntiForgeryToke... | 2.266277 | 6d2de9f69447d79b32b9ab680c6834a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834615 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "cps209SpaceAce/Space-Ace",
"max_stars_repo_path": "Other/Robert/Sound/Model/Player.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153835"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace Model
{
public enum PowerUp { Empty, Invincible, ExtraSpeed, ExtraLife, ExtraBom... | 2.599059 | 80ab254c52fa71d48e1088b87f2b25fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834616 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarkPThomas/MPT.Net",
"max_stars_repo_path": "MPT/CSI/API/MPT.CSI.OOAPI.EndToEndTests/Core/Program/Model/Design/CompositeBeamDesigner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153836"
} | starcoder | // ***********************************************************************
// Assembly : MPT.CSI.OOAPI
// Author : <NAME>
// Created : 12-01-2018
//
// Last Modified By : <NAME>
// Last Modified On : 12-01-2018
// ***********************************************************************
// <co... | 2.17009 | 3cd6df09ef6ad7ddf83a8fb2936a648a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834617 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stellardoorgames/SOCollections",
"max_stars_repo_path": "Templates/_SONAME_Manager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153837"
} | starcoder | using StellarDoor.SOCollection;
using UnityEngine;
namespace StellarDoor.SOCollection
{
[CreateAssetMenu]
public class _SONAME_Manager : SOCollector<_SONAME_>
{
}
}
| 0.844854 | cf70515695d9263221ee34302e2b86ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834618 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "theoners/Programing-Basics-Exams",
"max_stars_repo_path": "Exam - 18 December 2016/04. Grades/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153838"
} | starcoder | <gh_stars>1-10
using System;
namespace _04._Grades
{
class Program
{
static void Main(string[] args)
{
int numberOfStudents = int.Parse(Console.ReadLine());
double topStudents = 0;
double between4and5 = 0;
double between3and4 = 0;
do... | 3.6483 | e0de1b449db03a2ef74b0cfed95857b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834619 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "geffzhang/NetOnLinuxBook",
"max_stars_repo_path": "MusicStore/samples/MusicStore/Views/Shared/DemoLinkDisplay.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:153839"
} | starcoder | @{
ViewBag.Title = "Demo link display page - Not for production use";
}
<hgroup class="title">
<h1>@ViewBag.Title.</h1>
</hgroup>
<div>
<p>
Demo link display page - Not for production use.
</p>
@if (ViewBag.Link != null)
{
<p class="text-danger">
For... | 2.454756 | e5da1b09969e320e9094087f8ea7bf53 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834620 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TcavalcantiDesenv/RepasseApcd",
"max_stars_repo_path": "src/APCD/src/PlatinDashboard.Presentation.MVC/Views/Presencas/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:153840"
} | starcoder | <filename>src/APCD/src/PlatinDashboard.Presentation.MVC/Views/Presencas/Index.cshtml<gh_stars>0
@model Model.Entity.MaconModel
@{
ViewBag.Title = "Empresas | Portal APCD";
}
@section styles{
@Styles.Render("~/coreui/ladda/css")
@Styles.Render("~/coreui/datatables/css")
}
@section breadcrumb{
<!-- Bread... | 1.846986 | 60a78c31707911a96c42dceafccfdc4e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834621 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ElijahZAwesome/AO2Sharp",
"max_stars_repo_path": "Alibi/Database/DatabaseManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153841"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Net;
using Alibi.Plugins.API;
using SQLite;
namespace Alibi.Database
{
public class DatabaseManager : IDatabaseManager
{
public const string DatabaseFolder = "Database";
public static readonly string DatabasePath = Path.Combine(Dat... | 2.626288 | e5c5d355b0ff50d749594d0d3e055a34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834622 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maincotech/webcomponents",
"max_stars_repo_path": "src/Maincotech.Web.Components/MaincotechJsInterop.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153842"
} | starcoder | <filename>src/Maincotech.Web.Components/MaincotechJsInterop.cs<gh_stars>0
using Microsoft.JSInterop;
using System.Threading.Tasks;
namespace Maincotech.Web.Components
{
public class MaincotechJsInterop
{
public static ValueTask<string> Prompt(IJSRuntime jsRuntime, string message)
{
... | 2.731839 | 6efb29a23f1341972a7d70d63a084b11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834623 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mathrik/gamertheory",
"max_stars_repo_path": "App_Code/BLL/Comment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153843"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
/// <summary>
/// Summary descriptio... | 2.267471 | f09e06009053e22211cc879b727bdb42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834624 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "kzrnm/roslyn",
"max_stars_repo_path": "src/Features/Core/Portable/EditAndContinue/Contracts/EditAndContinue/ManagedModuleMethodId.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153844"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.Serialization;
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
... | 2.625714 | 79be30a8d1ab5b6613e429bdd0b93864 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834625 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "jeromelaban/Uno.UITest",
"max_stars_repo_path": "src/Uno.UITest.Helpers/Helpers/AppExtensions.Pages.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153845"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using static Uno.UITest.Helpers.Configuration;
using static Uno.UITest.Helpers.Queries.Helpers;
using static Uno.UITest.Helpers.BackdoorInvocationHelper;
using static Uno.UITest.Helpers.PlatformHelpers;
namespace Uno.UITest.Helpers
... | 2.85881 | b9c32eb4c97c7dd83b1574a6e3e6153a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834626 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CreateBaseNZ/magnebot",
"max_stars_repo_path": "Assets/Scripts/JointBreakScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153846"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class JointBreakScript : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
private void OnJo... | 1.685425 | 29884e7264cfec809fb025cdbf8f1d20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834627 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "EasyAbp/GiftCardManagement",
"max_stars_repo_path": "src/EasyAbp.GiftCardManagement.Domain/EasyAbp/GiftCardManagement/GiftCardTemplates/IGiftCardTemplateRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153847"
} | starcoder | using System;
using Volo.Abp.Domain.Repositories;
namespace EasyAbp.GiftCardManagement.GiftCardTemplates
{
public interface IGiftCardTemplateRepository : IRepository<GiftCardTemplate, Guid>
{
}
} | 1.457124 | 26586408e55755bd31558cfc3f194f29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834628 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "VeritasOS/assisted-review-portal",
"max_stars_repo_path": "ARP.Database/GenericRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153848"
} | starcoder | <reponame>VeritasOS/assisted-review-portal<filename>ARP.Database/GenericRepository.cs<gh_stars>1-10
/*
Copyright (c) 2019 Veritas Technologies LLC
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 ... | 2.32116 | e99e55545246962fece2520d7e7df71e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834629 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emir01/Web-Shop",
"max_stars_repo_path": "Source/Solution/WS/Logic/WS.Logic.ProductLogic/ProductLogic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153849"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using WS.Database.Access.Extensions;
using WS.Database.Access.Interface;
using WS.Database.Domain.Categorization;
using WS.Database.Domain.Products;
using WS.Logic.Core.QueryContracts;
using WS.Logic.Core.Results;
using WS.Logic.Products.In... | 2.255364 | e5d06e48eb87bb7077139677b061d636 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834630 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "abhishekbhalani/DotNetArchitecture",
"max_stars_repo_path": "CrossCutting/Utils/Extensions/DateTimeExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153850"
} | starcoder | <reponame>abhishekbhalani/DotNetArchitecture
using System;
using System.Linq;
namespace Solution.CrossCutting.Utils
{
public static class DateTimeExtensions
{
public static DateTime NextDateTime(this DateTime dateTime, DayOfWeek[] days, TimeSpan[] times)
{
times = times.OrderBy(x =>... | 3.266636 | 9451402424ec58cbe6ef678c9c62ded2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834631 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KrzysztofBorowiecki/Generic-Oracle-Entity-Xml-Serializer",
"max_stars_repo_path": "EntityXmlSerializer/EntityXmlSerializer/Entities/Job.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153851"
} | starcoder | <reponame>KrzysztofBorowiecki/Generic-Oracle-Entity-Xml-Serializer
using System.Collections.Generic;
using System.Xml.Serialization;
#nullable disable
namespace EntityXmlSerializer.Entities
{
[XmlType("Job")]
public partial class Job
{
public decimal JobId { get; set; }
public string JobT... | 2.178163 | 941cdfbabb1bf6a557c152f839e139ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834632 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "mschoneman/SyncFoundation",
"max_stars_repo_path": "Samples/BookSample/BookSample.Data/Sync/TypeHandlers/BookSyncableTypeHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153852"
} | starcoder | <reponame>mschoneman/SyncFoundation
using Newtonsoft.Json.Linq;
using BookSample.Data.Interfaces;
using BookSample.Data.Model;
using SyncFoundation.Core.Interfaces;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SyncFoundatio... | 2.128248 | a0e44eb7dbe7f7d8dde331da50226088 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834633 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "drusellers/dotnetlint",
"max_stars_repo_path": "dotnetlint/Configuration/OutputFormat.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153853"
} | starcoder | <reponame>drusellers/dotnetlint<filename>dotnetlint/Configuration/OutputFormat.cs
using System.Collections.Generic;
using System.IO;
using dotnetlint.Rules;
using dotnetlint.Sources;
namespace dotnetlint.Configuration
{
public interface OutputFormat
{
void Write(TextWriter output,
... | 1.518548 | 276bbf64affa2a033ab9a19bf489c4f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834634 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ProjectLimitless/ProjectLimitless",
"max_stars_repo_path": "ProjectLimitless/Config/CoreSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153854"
} | starcoder | /**
* This file is part of Project Limitless.
* Copyright © 2016 <NAME>.
* Project Limitless
* https://www.projectlimitless.io
*
* Project Limitless is free software: you can redistribute it and/or modify
* it under the terms of the Apache License Version 2.0.
*
* You should have received a copy of the Apa... | 2.362397 | 77665815d342aa88bc1694a1641ea647 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834635 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jjrangel09/proyecto-vasbor",
"max_stars_repo_path": "Login_Vasbor/Controller/DetalleCarritoEmpleado.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153855"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class view_DetalleCarritoEmpleado : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
lb_Con.Text = new DAOEmpleado().obte... | 1.993192 | 94ae5cb70c67906233214db35999bccd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834636 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oliu321/OY.Theory",
"max_stars_repo_path": "Sources/Tests/OY.Theory.DataStructures.Tests/ListTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153856"
} | starcoder | <filename>Sources/Tests/OY.Theory.DataStructures.Tests/ListTests.cs
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace OY.Theory.DataStructures.Tests
{
[TestClass]
public class ListTests
{
[TestMethod]
public void TestSingleLinkedList()
{
}
}
}
| 1.562637 | 99ccb341e5dfba4a77d200ba037f537e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834637 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iNeverSleeeeep/NPOI-For-Unity",
"max_stars_repo_path": "NPOI.OpenXmlFormats.Spreadsheet/CT_QueryTableRefresh.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153857"
} | starcoder | using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Serialization;
namespace NPOI.OpenXmlFormats.Spreadsheet
{
[Serializable]
[DebuggerStepThrough]
[XmlType(Namespace = "http://schemas.openxmlformats.org/spreadsheetml/2006/main")]
[XmlRoot(Namespace = "http://schemas.openxmlformat... | 1.709939 | 75cc33c6c8e93a7825d4064c2aa3b58d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834638 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "d2cTool/ONIL_AosFaultsEmu",
"max_stars_repo_path": "AosBznComDevice/Extensions/TaskExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153858"
} | starcoder | <reponame>d2cTool/ONIL_AosFaultsEmu<gh_stars>0
using System;
using System.Threading.Tasks;
namespace AosBznComDevice.Extensions
{
public static class TaskExtension
{
public static async Task<TResult> TimeoutAfter<TResult>(this Task<TResult> task, int millisecondsTimeout)
{
if (task... | 1.967253 | 5e801e9f4cb07fd80ff00ba14b145cf8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834639 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "15958105063/FuneralVue",
"max_stars_repo_path": "Funeral.Core/Controllers/Ach/AchPermissionController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153859"
} | starcoder | <gh_stars>1-10
using AutoMapper;
using Funeral.Core.Common.Helper;
using Funeral.Core.Common.HttpContextUser;
using Funeral.Core.IServices;
using Funeral.Core.Model;
using Funeral.Core.Model.Models;
using Funeral.Core.Model.ViewModels;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Sy... | 1.728105 | 2cfb00058e9ed4f40d332f0efbbd0629 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834640 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "martincostello/adventofcode",
"max_stars_repo_path": "src/AdventOfCode/Puzzles/Y2020/Day23.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153860"
} | starcoder | <filename>src/AdventOfCode/Puzzles/Y2020/Day23.cs
// Copyright (c) <NAME>, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.AdventOfCode.Puzzles.Y2020;
/// <summary>
/// A class representing the puzzle... | 2.991822 | 2cf526635aac8a69609511df583f5377 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834641 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "musukvl/message-playground",
"max_stars_repo_path": "MessageTools/Interceptor/MassTransitMessageBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153861"
} | starcoder | namespace MessageTools.Interceptor;
public class MassTransitMessageBase
{
public string[] MessageType { get; set; }
public Guid MessageId { get; set; }
public Guid ConversationId { get; set; }
public Host Host { get; set; }
public DateTime SentTime { get; set; }
public string GetMess... | 2.054852 | 91f19808aed95a036c81093fcf871272 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834642 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hansgschossmann/nettest",
"max_stars_repo_path": "Pages/UrlCheck.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153862"
} | starcoder | <filename>Pages/UrlCheck.cshtml.cs
using Microsoft.AspNetCore.Mvc.RazorPages;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.NetworkInformation;
using System.Text;
namespace nettest.Pages
{
public class UrlCheckMo... | 2.604729 | 67a5b1f267a99884d3cd2bc2fec9db7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834643 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lpubsppop01/EmacsLikeKeyBindingsFDPlugin",
"max_stars_repo_path": "EmacsLikeKeyBindingsFDPlugin/PluginMain.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153863"
} | starcoder | <gh_stars>0
using PluginCore;
using PluginCore.Controls;
using PluginCore.Managers;
using ScintillaNet;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
namespace lpubsppop01.EmacsLikeKeyBindingsFDPlugin
{
public class PluginMain : IPlugin, IMessa... | 1.572725 | 9826bf9069bfa57237ca63bdd0989463 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834644 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zhaoweijing2003/monodroid-samples",
"max_stars_repo_path": "MonoIO/UI/Widget/TimeRulerView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153864"
} | starcoder | <filename>MonoIO/UI/Widget/TimeRulerView.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.Graphics;
using Android.Util;
using... | 2.520812 | 1bca75d5cf9d7922b77b0791ddf50eb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834645 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Drawaes/Leto2",
"max_stars_repo_path": "src/Leto.OpenSsl11/OpenSslCryptoProviderImpl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153865"
} | starcoder | <filename>src/Leto.OpenSsl11/OpenSslCryptoProviderImpl.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Leto.OpenSsl11
{
internal sealed class OpenSslCryptoProviderImpl : OpenSslCryptoProvider
{
}
}
| 1.136352 | 452094450e325d1482a8bde544fadec9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834646 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "intensifier/NeoAxisEngine",
"max_stars_repo_path": "Sources/Engine/NeoAxis.Core/Libraries/FbxWrapper/FbxControlSet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153866"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//----... | 1.772113 | 4746110518bd6f07c1538550ce955503 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834647 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ali-kiyani/ForeSpark",
"max_stars_repo_path": "aspnet-core/src/ForeSpark.Application/Request/Dto/CitiesDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153867"
} | starcoder | <gh_stars>0
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using System;
using System.Collections.Generic;
using System.Text;
namespace ForeSpark.Request.Dto
{
[AutoMap(typeof(Cities.Cities))]
public class CitiesDto : EntityDto<int>
{
public string Name { get; set; }
public doub... | 1.468625 | 03faf4b6fb718e3301078b34840b4506 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834648 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "OpenTouryoProject/MultiPurposeAuthSite",
"max_stars_repo_path": "root/programs/MultiPurposeAuthSite/MultiPurposeAuthSite/Views/Account/VerifyEmailAddress.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:153868"
} | starcoder | @*
//**********************************************************************************
//* テンプレート
//**********************************************************************************
// 以下のLicenseに従い、このProjectをTemplateとして使用可能です。Release時にCopyright表示してSublicenseして下さい。
// https://github.com/OpenTour... | 2.151819 | 7ee1c62de08df7047fb14ecad33fe907 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834649 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Dingsd4/cave-io",
"max_stars_repo_path": "Cave.IO/IniSectionAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153869"
} | starcoder | <reponame>Dingsd4/cave-io
using System;
namespace Cave.IO
{
/// <summary>
/// Attribute for marking fields or properties for serialization into ini file sections.
/// </summary>
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false)]
public class IniSectionAttri... | 2.761055 | cf6e19410c521d3bdb3c4a3eb9784a61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834650 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sigurdur42/MtgInventory",
"max_stars_repo_path": "Legacy/MtgInventory/MtgDatabase/Models/SanctionedFormat.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153870"
} | starcoder | <gh_stars>0
using System;
namespace MtgDatabase.Models
{
public enum SanctionedFormat
{
Unknown = 0,
Pauper,
Commander,
Standard,
Modern,
Legacy,
Brawl,
Duel,
Future,
Penny,
OldSchool,
Historic,
Vintage,
... | 2.951024 | c1d3c5d63452b85fe3df0520f1e64446 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834651 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "DinoChan/Colorful-Box",
"max_stars_repo_path": "ColorfulBox/ColorfulBox/Views/SettingsPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153871"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... | 1.95969 | 61f127bb5ffdec4803e81ea040ccf8a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834652 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "psryland/rylogic_code",
"max_stars_repo_path": "projects/Trading/Rylobot/strategies/StrategyHedge2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153872"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using cAlgo.API;
using pr.extn;
namespace Rylobot
{
/// <summary></summary>
public class StrategyHedge2 :Strategy
{
// Notes:
// - Open hedged positions 1*MCS apart
// - Set SL to 1*MCS
// - Set TP to 2*MCS
public Stra... | 2.531039 | 9da0677a290a064d3b2c720d8bb1bfce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ModernRoute/MigSharpSQL",
"max_stars_repo_path": "NomadData.Test/MigratorWithoutTransactionsTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153873"
} | starcoder | <reponame>ModernRoute/MigSharpSQL<filename>NomadData.Test/MigratorWithoutTransactionsTest.cs
using NUnit.Framework;
namespace ModernRoute.NomadData.Test
{
[TestFixture]
class MigratorWithoutTransactionsTest : MigratorTest
{
public MigratorWithoutTransactionsTest()
: base()
{
... | 1.45553 | bf8cabb2982b6e043b9d0c44f84bd1c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834654 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Kodestruct/Kodestruct.Dynamo",
"max_stars_repo_path": "Kodestruct/Concrete/ACI318/Section/ShearFriction/ShearFrictionStrength.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153874"
} | starcoder | <reponame>Kodestruct/Kodestruct.Dynamo<filename>Kodestruct/Concrete/ACI318/Section/ShearFriction/ShearFrictionStrength.cs<gh_stars>1-10
#region Copyright
/*Copyright (C) 2015 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.... | 2.390855 | e531265e35cb0d1910756327d612b9a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834655 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "Uintra/Uintra",
"max_stars_repo_path": "src/Uintra/Core/Activity/IntranetActivityTypeEnum.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153875"
} | starcoder | <filename>src/Uintra/Core/Activity/IntranetActivityTypeEnum.cs
namespace Uintra.Core.Activity
{
public enum IntranetActivityTypeEnum
{
News = 1,
Events = 3,
Social = 4,
ContentPage = 6
}
} | 1.531868 | a62948c49e7285ebf85ed6cf9b4b145c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834656 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "paulmriordan/ARKitTranslationLabels",
"max_stars_repo_path": "Assets/Scripts/UI Utils/UIButtonRelease.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153876"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
using UnityEngine.EventSystems;
public class UIButtonRelease : MonoBehaviour, IPointerDownHandler, IPointerUpHandler, IPointerEnterHandler, IPointerExitHandler
{
public UnityEvent onReleased... | 2.438484 | 19874cc620805093937d30f6037836ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834657 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jborza/compression-estimator",
"max_stars_repo_path": "CompressionEstimator/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153877"
} | starcoder | using LibCompressionEstimator;
using System;
namespace CompressionEstimator
{
class Program
{
static void Main(string[] args)
{
var directory = args[0];
//EstimateDirectory(directory);
MakeHtmlReport(directory);
}
private stati... | 2.867682 | a30a8514c10945a6c2a00623d3c88ee3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834658 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Henrique-Castro/SenaiLessons",
"max_stars_repo_path": "API/ShirtStore/Senai.ShirtStore.WebApi/Senai.ShirtStore.WebApi/Interfaces/ITamanhosRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153878"
} | starcoder | <filename>API/ShirtStore/Senai.ShirtStore.WebApi/Senai.ShirtStore.WebApi/Interfaces/ITamanhosRepository.cs<gh_stars>0
using Senai.ShirtStore.WebApi.Domains;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Senai.ShirtStore.WebApi.Interfaces
{
public interf... | 2.196155 | 32db736451da81bfad21e1dc9a49662a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834659 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cazzar/VocaDbTagger",
"max_stars_repo_path": "VocaDbModel/Domain/Globalization/LocalizedStringWithId.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153879"
} | starcoder | <reponame>cazzar/VocaDbTagger<gh_stars>1-10
namespace VocaDb.Model.Domain.Globalization {
public class LocalizedStringWithId : LocalizedString, IEntryWithIntId {
public LocalizedStringWithId() {}
public LocalizedStringWithId(string val, ContentLanguageSelection language)
: base(val, language) {}
public ... | 1.853417 | 6dde25058e72b28b0fc539148901aed5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834660 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NeikoGrozev/CSharp-Web",
"max_stars_repo_path": "Basic/SULS/Controllers/HomeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153880"
} | starcoder | <reponame>NeikoGrozev/CSharp-Web
namespace SULS.Controllers
{
using SIS.HTTP;
using SIS.MvcFramework;
using SULS.Services;
public class HomeController : Controller
{
private readonly IHomeService homeService;
public HomeController(IHomeService homeService)
{
th... | 1.866296 | 00d7f5c215b5d1014ebc88c0a1126a16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834661 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "sinantok/blog-site",
"max_stars_repo_path": "CoreBlogApp.WebUI/obj/Debug/netcoreapp2.1/Razor/Areas/Admin/Views/Category/Index.g.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153881"
} | starcoder | #pragma checksum "C:\Users\<NAME>\Desktop\CoreBlogApp\CoreBlogApp.WebUI\Areas\Admin\Views\Category\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b58c87255a7ec88db8af6f7075823194eeca40e0"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAt... | 1.814143 | 1406d1967e5a68bae7cf4902ad97b47a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834662 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "5118234/Platformus",
"max_stars_repo_path": "src/Platformus.Forms.Data.Entities/CompletedField.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153882"
} | starcoder | <filename>src/Platformus.Forms.Data.Entities/CompletedField.cs
// Copyright © 2015 <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using ExtCore.Data.Entities.Abstractions;
namespace Platformus.Forms.Data.Entities
{
/// <s... | 2.430675 | c81b31a9de64537cc95a1f1ce31520e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834663 | {
"extension": "c-sharp",
"max_stars_count": "345.0",
"max_stars_repo_name": "marrk/MyMediaLite",
"max_stars_repo_path": "src/MyMediaLite/RatingPrediction/EntityAverage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153883"
} | starcoder | <filename>src/MyMediaLite/RatingPrediction/EntityAverage.cs
// Copyright (C) 2011, 2012 <NAME>
// Copyright (C) 2010 <NAME>, <NAME>
//
// This file is part of MyMediaLite.
//
// MyMediaLite is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
//... | 2.413877 | faf41afd5e5c72d859aa16de11b6fff9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834664 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "noobwu/MiniProfiler",
"max_stars_repo_path": "StackExchange.Profiling.Tests/MiniProfileHandlerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153884"
} | starcoder | using System;
using System.Collections.Specialized;
using System.IO.Compression;
using System.Web;
using NUnit.Framework;
using Subtext.TestLibrary;
namespace StackExchange.Profiling.Tests
{
[TestFixture]
class MiniProfilerHandlerTests
{
[Test]
[TestCase("BRILLANT", 404)]
[TestCase... | 1.917616 | 659486be42233985e459ede4525078f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834665 | {
"extension": "c-sharp",
"max_stars_count": "185.0",
"max_stars_repo_name": "maidouofgithub/SuperNAT",
"max_stars_repo_path": "SuperNAT.Model/IModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153885"
} | starcoder | <gh_stars>100-1000
using Dapper.Contrib.Extensions;
using System;
using System.Collections.Generic;
using System.Text;
namespace SuperNAT.Model
{
public interface IModel
{
int id { get; set; }
string user_id { get; set; }
bool is_admin { get; set; }
}
public class BaseModel
... | 1.675098 | 45a2cd2b7ca9acb71dcd8447f61d3966 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834666 | {
"extension": "c-sharp",
"max_stars_count": "131.0",
"max_stars_repo_name": "kylekewley/gsf",
"max_stars_repo_path": "Source/Libraries/GSF.MMS/Model/GetVariableAccessAttributes_Request.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153886"
} | starcoder | <filename>Source/Libraries/GSF.MMS/Model/GetVariableAccessAttributes_Request.cs
//
// This file was generated by the BinaryNotes compiler.
// See http://bnotes.sourceforge.net
// Any modifications to this file will be lost upon recompilation of the source ASN.1.
//
using GSF.ASN1;
using GSF.ASN1.Attributes;
using GS... | 1.959991 | 250c366333ae49ae880cf5145d09769d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834667 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cbraunsch-dev/Feed-the-Snails",
"max_stars_repo_path": "Assets/Scripts/HintOverlayCanvas.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153887"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
using DG.Tweening.Core;
using UnityEngine.UI;
using TMPro;
using System;
public class HintOverlayCanvas : MonoBehaviour, GenericInputDetectionListener
{
public GameObject scrim;
public GameObject high... | 1.885746 | 709e1788aca435740c1aed877b800f36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834668 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AconCavy/atcoder-challenges-cs",
"max_stars_repo_path": "ABC/ABC085/Tests/BTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153888"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class BTests
{
[TestMethod]
public void TestMethod1()
{
var input = @"4
10
8
8
6";
var output = @"3";
Tester.InOutTest(() => Tasks.B.Solve(), input, output);
... | 2.528511 | a9f515975075aae7eed102cc70e064c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834669 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "c3rebro/RFiDGear",
"max_stars_repo_path": "PluginSystem/ViewModelLocator/IViewModelMetadata.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153889"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MefMvvm.SharedContracts.ViewModel
{
public interface IViewModelMetadata
{
string Name { get; }
}
}
| 1.473132 | 844522f2e681e1779fa3ec823bdba8e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834670 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dirk-dagger-667/EmployeeManagement",
"max_stars_repo_path": "EmplSys.Data.Models/Employee.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153890"
} | starcoder | <reponame>dirk-dagger-667/EmployeeManagement<gh_stars>0
namespace EmplSys.Data.Models
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Enums;
using Common;
public class Employee
{
private ICo... | 2.228879 | 22714eb22c67c4255aa7add18827af51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834671 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "everyday-solution/ESolutions.LifeLog",
"max_stars_repo_path": "Web.UI/Default.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153891"
} | starcoder | <filename>Web.UI/Default.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ESolutions.LifeLog.Models;
using System.Drawing;
using ESolutions.Web.UI;
namespace ESolutions.LifeLog.Web.UI
{
[ESolutions.Web.UI.PageUrl(... | 1.956873 | 15cb7fc70a851f7814cd57a90958842e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834672 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "joncloud/rlx-net",
"max_stars_repo_path": "src/Rlx/Functions.TryAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153892"
} | starcoder | using System;
namespace Rlx
{
public static partial class Functions
{
public static Attempt<Unit> Try(Action fn) =>
new Attempt<Unit>(() => { fn(); return Unit.Value; });
public static Attempt<Unit> Try<T>(Action<T> fn, T arg) =>
Try(() => fn(arg));
public sta... | 3.108996 | edf2bf8a355c1330f8d3c0b90f657809 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834673 | {
"extension": "c-sharp",
"max_stars_count": "76.0",
"max_stars_repo_name": "pavlovic-ivan/ParquetSharp",
"max_stars_repo_path": "csharp/RowOriented/MapToColumnAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153893"
} | starcoder | using System;
namespace ParquetSharp.RowOriented
{
/// <summary>
/// Explicitly map the given field to a specific column name.
/// </summary>
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public sealed class MapToColumnAttribute : Attribute
{
public MapToColumnAt... | 2.689555 | cae8ab048309a185515fc7059fbc6d62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834674 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gartenschlaeger/AdminTools",
"max_stars_repo_path": "AdminTools/Forms/FormEncoding.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153894"
} | starcoder | <gh_stars>0
using System;
using System.Text;
using System.Windows.Forms;
namespace AdminTools.Forms
{
public partial class FormEncoding : Form
{
public FormEncoding()
{
InitializeComponent();
cbxEncoding.SelectedIndex = 1;
}
private Encoding GetEncoding... | 2.621591 | f4620e830ce01b8be660c0b8cf4a03dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834675 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NguyenVanBay101097/Website-MVC",
"max_stars_repo_path": "WebBanHang1/obj/Release/Package/PackageTmp/Areas/Admin/Views/Order_Details/Edit.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:153895"
} | starcoder | <filename>WebBanHang1/obj/Release/Package/PackageTmp/Areas/Admin/Views/Order_Details/Edit.cshtml<gh_stars>0
@model WebBanHang1.Models.Order_Details
@{
ViewBag.Title = "Edit";
Layout = "~/Areas/Admin/Views/Shared/Layout_Admin.cshtml";
}
<h2>Edit</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
... | 2.282554 | 0c72b87d93796e89ffe87da1d0001da9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834676 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "actieve/desktop-edge-win",
"max_stars_repo_path": "ZitiDesktopEdge.Client/Server/ServiceActions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153896"
} | starcoder | <gh_stars>1-10
using System.ServiceProcess;
using NLog;
namespace ZitiDesktopEdge.Server {
public static class ServiceActions {
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
private static ServiceController sc = new ServiceController("ziti");
... | 2.302463 | d429aefa0be41d677941455a5723e58b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834677 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "StarkBIM/SampleRevitAddin",
"max_stars_repo_path": "src/StarkBIM.SampleRevitApp.RvtAddin/Configuration/CommandModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153897"
} | starcoder | // <copyright file="CommandModule.cs" company="StarkBIM Inc">
// Copyright (c) StarkBIM Inc. All rights reserved.
// </copyright>
namespace StarkBIM.SampleRevitApp.RvtAddin.Configuration
{
using System.Reflection;
using Autofac;
using JetBrains.Annotations;
using StarkBIM.SampleRevitApp.Commands.Sa... | 1.957818 | 42054c4a53d44509fc50a23c489def21 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834678 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jfuerlinger/csharp_samples_collections_fifa-results",
"max_stars_repo_path": "source/FifaResults/FifaResults.Logic/Controller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153898"
} | starcoder | <reponame>jfuerlinger/csharp_samples_collections_fifa-results
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using FifaResults.Entities;
namespace FifaResults.Logic
{
public class Controller
{
#region Constants
private... | 2.987463 | a138f85c9605f97f9103a5b676e3cfce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834679 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gowithfloat/Float.HttpServer",
"max_stars_repo_path": "Float.HttpServer/LocalHttpServer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153899"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Net;
using System.Threading;
using static Float.HttpServer.HttpRouter;
namespace Float.HttpServer
{
/// <summary>
/// A simple http server.
/// </summary>
public class LocalHttpServer : IDisposable
{
... | 2.728965 | 30493f74e1b25ecb1938a8ae053356fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834680 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "atilaykosker/MailVerification",
"max_stars_repo_path": "Data/AppDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153900"
} | starcoder | <reponame>atilaykosker/MailVerification
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using RobocopID.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
... | 1.301663 | f91909ec08d4a19b57ce74f9af12b5a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834681 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shopOFF/Telerik-Academy-High-Quality-Code-Course",
"max_stars_repo_path": "High-Quality-Code-Part-1/06. Control-Flow-Conditional-Statements-And-Loops/Task2RefactorIfStatements/Potato.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1... | starcoder | <reponame>shopOFF/Telerik-Academy-High-Quality-Code-Course<gh_stars>0
namespace Task2RefactorIfStatements
{
internal class Potato
{
public bool HasBeenPeeled { get; internal set; }
public bool IsNotRotten { get; internal set; }
}
} | 1.472345 | 921716e975964d539af8e037184b9f7c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834682 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "LunariStudios/TsukiSuite",
"max_stars_repo_path": "Assets/Runtime/SerializableDictionary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153902"
} | starcoder | <reponame>LunariStudios/TsukiSuite
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace Lunari.Tsuki.Runtime {
[Serializable]
public class SerializableDictionary<K, V> : Dictionary<K, V>, ISerializationCallbackReceiver {
[SerializeField, HideInInspector]
... | 2.301974 | 7f04019e953890983806fec6ca060390 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834683 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AFO-Studio/Robophobia",
"max_stars_repo_path": "Assets/Scripts/C Sharp/28-12 Extension/Scene/Background/BackgroundManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153903"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
namespace Extended2D.WorldSpace.Background
{
public class BackgroundManager : ExtendedSingleton<BackgroundManager>
{
private BackgroundManager() { }
public GameObject backgroundStorage;
[HideInInspector]
public List<Scrolli... | 2.107545 | 538f8179083bfa7c8ace051ba19d7889 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834684 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "martinsmith1968/OpenAPI.CodeGenerator",
"max_stars_repo_path": "OpenAPI.CodeGenerator/Extensions/ParserExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153904"
} | starcoder | <filename>OpenAPI.CodeGenerator/Extensions/ParserExtensions.cs<gh_stars>0
using Ookii.CommandLine;
using OpenAPI.CodeGenerator.Common.Interfaces;
namespace OpenAPI.CodeGenerator.Extensions
{
public static class ParserExtensions
{
public static T ParseArguments<T>(this string[] args, out CommandLinePar... | 2.640723 | 0e9e4c45c3a50aeef660c6db233dc795 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834685 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "shahedbd/MultitierArchitecture",
"max_stars_repo_path": "Sln.MySchool/MySchool.DBRepo/Repositories/Interfaces/IRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153905"
} | starcoder | using System.Collections.Generic;
using System.Data.SqlClient;
using System.Threading.Tasks;
namespace MySchool.DBRepo.Repositories.Interfaces
{
interface IRepository<T> where T : class
{
Task<IEnumerable<T>> GetAll();
Task<T> GetBy(long ID);
Task<string> Insert(T Entity);
Task... | 2.293741 | a70a7d4926c4eebba1c83146446d7cb9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834686 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gclodge/Themis.Geometry.Server",
"max_stars_repo_path": "tests/Themis.Geometry.Server.Tests/Models/Points/PointTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153906"
} | starcoder | <reponame>gclodge/Themis.Geometry.Server<gh_stars>0
using System.Linq;
using Themis.Geometry.Server.Models.Points;
using Bogus;
using Xunit;
using Assert = Xunit.Assert;
namespace Themis.Geometry.Server.Tests.Models.Points
{
public class PointTest
{
const int Dimensions = 3;
private Faker<Po... | 2.562124 | d915e7ddb4661c900a0537e734b93d35 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834687 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Finaps/EventSourcing",
"max_stars_repo_path": "EventSourcing.Core.Tests/RecordStoreTests/DeleteAllEventsAsync.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153907"
} | starcoder | using Finaps.EventSourcing.Core.Tests.Mocks;
namespace Finaps.EventSourcing.Core.Tests;
public abstract partial class EventSourcingTests
{
[Fact]
public async Task RecordStore_DeleteAllEventsAsync_Can_Delete_Events()
{
var aggregate = new EmptyAggregate();
var events = new List<Event>();
for (var i... | 2.322858 | 69e2d8c6857491f75639ea1f986f658c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834688 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MissGod1/DNSsniffer",
"max_stars_repo_path": "WinDivert/WinDivert.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153908"
} | starcoder | <gh_stars>0
using System;
using System.Runtime.InteropServices;
namespace DNSsniffer.WinDivert
{
enum WINDIVERT_LAYER
{
WINDIVERT_LAYER_NETWORK = 0,
WINDIVERT_LAYER_NETWORK_FORWARD,
WINDIVERT_LAYER_FLOW,
WINDIVERT_LAYER_SOCKET,
WINDIVERT_LAYER_REFLECT,
};
enum W... | 1.844824 | b90f0954ea05154666d2dd7985f06916 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834689 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marneimax/space-station-14",
"max_stars_repo_path": "Content.Server/Tabletop/TabletopSystem.Session.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153909"
} | starcoder | <reponame>marneimax/space-station-14
using Content.Server.Tabletop.Components;
using Content.Shared.Tabletop.Events;
using Robust.Server.GameObjects;
using Robust.Server.Player;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Localization;
using Robust.Shared.Log;
using Robust.Shared.Maths... | 1.983645 | ed0fd9031ca3fcb7458c97456c5cbae5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834690 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "raa-coders/game",
"max_stars_repo_path": "Assets/Scripts/CashRegisterScreen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153910"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
public class CashRegisterScreen : MonoBehaviour {
public GameObject button;
public GameObject text;
private List<string> coctels;
private int points = 0;
private void Start()
... | 2.467519 | 6526794cca9f5c7505613296dbbc38f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834691 | {
"extension": "c-sharp",
"max_stars_count": "3294.0",
"max_stars_repo_name": "BaruaSourav/docs",
"max_stars_repo_path": "docs/standard/serialization/snippets/system-text-json-how-to/csharp/UpperCaseNamingPolicy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153911"
} | starcoder | using System.Text.Json;
namespace SystemTextJsonSamples
{
public class UpperCaseNamingPolicy : JsonNamingPolicy
{
public override string ConvertName(string name) =>
name.ToUpper();
}
}
| 2.282203 | 34a06c76fa73171f048fe9bdcd88b7d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834692 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "aawadall/RL",
"max_stars_repo_path": "code/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153912"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AI.RL.Stochastic
{
class Program
{
static void Main(string[] args)
{
int nActions = 15;
int nStates = 12;
... | 2.771866 | d221aa7f8515ae4cd7a4ed19c603060d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834693 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "philipp-eger-dev/spectrum",
"max_stars_repo_path": "Spectrum.BusinessLogic/Images/PDFImageGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153913"
} | starcoder | using iTextSharp.text.pdf;
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using TesseractUI.BusinessLogic.FileSystem;
using TesseractUI.BusinessLogic.PDF;
namespace TesseractUI.BusinessLogic.Images
{
public class PDFImageGenerator
{
#region Methods
public st... | 2.515429 | 92a7b9d037e996db805e1584bb5e1b6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834694 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KingMannyThe8th/SpartaCSharpwork",
"max_stars_repo_path": "lab_37_by_reference/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153914"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace lab_37_by_reference
{
class Program
{
static void Main(string[] args)
{
// declare integer
int x = 1000;
DoThis(ref x);
... | 3.348049 | b6bc0fc9461aa7ccb2e70ae96934a128 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834695 | {
"extension": "c-sharp",
"max_stars_count": "677.0",
"max_stars_repo_name": "brianpos/fhir-server",
"max_stars_repo_path": "src/Microsoft.Health.Fhir.ValueSets/ConditionalDeleteStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153915"
} | starcoder | // -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... | 1.578699 | 21bfc16451767062a4cde59b5043987b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834696 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "dzimchuk/power-video-player",
"max_stars_repo_path": "Players/WPF/Pvp.App/Util/SingleInstance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153916"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows;
using System.Reflection;
using System.Runtime.Remoting.Channels.Ipc;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting;
namespace Pvp.App.Util
{
clas... | 2.322594 | 3aea3261e9e9eafb55669fc3f1677245 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834697 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "SeanFeldman/ServiceBus.Mischief",
"max_stars_repo_path": "src/ServiceBus.Mischief/ExposeInternals.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153917"
} | starcoder | <reponame>SeanFeldman/ServiceBus.Mischief
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("ServiceBus.Mischief.Tests")] | 1.071013 | 2fd0b6df875d4d7e3018b03f631a3f02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834698 | {
"extension": "c-sharp",
"max_stars_count": "81.0",
"max_stars_repo_name": "HLSW/DeltaEngine",
"max_stars_repo_path": "VisualStudioTemplates/Delta Engine/CreepyTowers/Avatars/Avatar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153918"
} | starcoder | <reponame>HLSW/DeltaEngine
using System.Collections.Generic;
using CreepyTowers.Enemy.Creeps;
using DeltaEngine.Datatypes;
using DeltaEngine.Entities;
namespace $safeprojectname$.Avatars
{
public abstract class Avatar : Entity
{
protected Avatar()
{
AttackFrequencyMultiplier = 1.0f;
RangeMultip... | 2.334956 | f86fd1f633c6e4617966c25b2eaa96d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834699 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jpopadak/CoreMatchers",
"max_stars_repo_path": "test/CoreMatchers.Tests/Matchers/IsNotFacts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153919"
} | starcoder | using System;
using Xunit;
using static JPopadak.CoreMatchers.Matchers.Matchers;
namespace JPopadak.CoreMatchers.Matchers
{
public class IsNotFacts
{
[Fact]
public void NullValue_Not_IsNullSafe()
{
// Given
string actual = "value";
IMatcher<string> m... | 2.632291 | 836a8dab254a769f500a301c459704e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834700 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SimonaMDimitrova/Booking",
"max_stars_repo_path": "Booking/Data/Booking.Data/Migrations/20201224172727_InitialCreate.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153920"
} | starcoder | // <auto-generated />
using System;
using Booking.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Booking.... | 1.956654 | d23c1260797f21b7e9bf67b265792b6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834701 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodingCampus2/csharphometask3-maxflexx",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153921"
} | starcoder | using System;
using CodingCampusCSharpHomework;
namespace HomeworkTemplate
{
class Program
{
static float degreesToRadians(float degrees)
{
return (float)(Math.PI / 180f) * degrees;
}
static float calculateDistance(float lon1, float lat1, float lon2, float lat2)
... | 3.291045 | c96b50a076eac6a1521aeba2095f928a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834702 | {
"extension": "c-sharp",
"max_stars_count": "3359.0",
"max_stars_repo_name": "cnheider/SpaceEngineers",
"max_stars_repo_path": "Sources/Sandbox.Common/ModAPI/Ingame/IMyShipController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153922"
} | starcoder | <filename>Sources/Sandbox.Common/ModAPI/Ingame/IMyShipController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using VRageMath;
namespace Sandbox.ModAPI.Ingame
{
public struct MyShipMass
{
/// <summary>
... | 2.775864 | 6392760beb010c8746a6e0bcea32c933 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834703 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "RedKage/offline_dictionary.com",
"max_stars_repo_path": "offline_dictionary.com_export_xdxf/ExportXdxf.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153923"
} | starcoder | <filename>offline_dictionary.com_export_xdxf/ExportXdxf.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Schema;
using offline_dictionary.com_shared;
using offline_dictionary.com_shared.Messaging;
... | 2.374522 | c126d391cdc7bcdba000272a151d98b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834704 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "twino-framework/horse-mq",
"max_stars_repo_path": "src/Horse.Messaging.Server/Events/EventManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153924"
} | starcoder | <filename>src/Horse.Messaging.Server/Events/EventManager.cs
using System;
using System.Collections.Generic;
using System.Threading;
using Horse.Messaging.Protocol;
using Horse.Messaging.Protocol.Events;
using Horse.Messaging.Server.Clients;
using Horse.Messaging.Server.Containers;
namespace Horse.Messaging.Server.Even... | 2.549238 | f1bb0c5b3d12f2b3c9a8c4ab574c939e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834705 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KrystianSkwierawski/SQuizzes",
"max_stars_repo_path": "src/Infrastructure/Files/SFXFileBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153925"
} | starcoder | using Application.Common.Interfaces;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using static System.Net.Mime.MediaTypeNames;
using System.Text;
namespace Infrastructure.Files;
public class SFXFileBuilder : ISFXFileBuilder
{
private readonly ILogger<SFXFileBuilder> _logger;
public S... | 2.448487 | e4a9995d0d35c68260492ec5d4e9ff59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834706 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "realharry/dotjson-main",
"max_stars_repo_path": "DotJson/src/DotJson/Base/BaseJsonCompatible.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153926"
} | starcoder | <gh_stars>0
using HoloJson.Mini;
using DotJson.Trait;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DotJson.Base
{
// Convenience class to be used as a base class for JsonCompatible classes.
public abstract class BaseJsonCompatible : JsonC... | 1.950102 | 40c99223edd29237c42e706f5494cd7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834707 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Otis-c/Debit-Orders-Gateway",
"max_stars_repo_path": "src/DebitOrdersApi/Features/DebitOrders/Commands/ImportInstructions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153927"
} | starcoder | using DebitOrdersApi.Data;
using DebitOrdersApi.Models;
using MediatR;
using OfficeOpenXml;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace DebitOrdersApi.Features.DebitOrders.Commands
{
public c... | 2.512741 | 560e4cad2b3e0bd6acfe3debe64572be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834708 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LHayate/Welic",
"max_stars_repo_path": "Useful/Classes/Uteis/GerarDocumentoWord.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153928"
} | starcoder | <filename>Useful/Classes/Uteis/GerarDocumentoWord.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Word = Microsoft.Office.Interop.Word;
using Microsoft.Office.Interop.Word;
namespace UseFul.Uteis
{
public static class GerarDocumentoWord
{
public static vo... | 2.858277 | 5305fea0636768d6c96630b3f8e0e66f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834709 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Ed-ward/Binstate",
"max_stars_repo_path": "src/Binstate/src/Config.ITransitions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153929"
} | starcoder | <reponame>Ed-ward/Binstate<filename>src/Binstate/src/Config.ITransitions.cs
using System;
namespace Binstate;
public static partial class Config<TState, TEvent>
{
/// <summary>
/// This interface is used to configure which transitions allowed from the currently configured state.
/// </summary>
public inte... | 2.58646 | a72ddea435928adf1da7d247e4ffa16b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834710 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HelloWindows/AccountBook-",
"max_stars_repo_path": "client/framework/UnityCsReference-master/Modules/UnityConnectEditor/Common/Notification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153930"
} | starcoder | <gh_stars>1-10
// Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using System;
using UnityEngine;
using UnityEngine.UIElements;
namespace UnityEditor.Connect
{
/// <summary>
/// A notification sent by the ... | 1.91308 | 8de458ae021f48f0925be9d1d91cc9b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834711 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sinsjr2/BallFall",
"max_stars_repo_path": "Assets/Script/TEA_Main.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153931"
} | starcoder | using System;
using UnityEngine.Events;
public class Box<T> {
public T value;
public Box(T value) {
this.value = value;
}
}
public class UnityEventRender<Action> : IDisposable {
object value = null;
UnityAction action = null;
IDispacher<Action> dispach;
readonly UnityEvent unityE... | 2.702904 | 8081712e2dd475f7c21bfdf738471b19 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.