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 | 8829312 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tinohager/BookLibrary.Management",
"max_stars_repo_path": "src/BookLibrary.Management.MssqlDataAccessLayer/MssqlBorrowHistoryRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148532"
} | starcoder | using BookLibrary.Management.DataAccessLayer;
using BookLibrary.Management.DataAccessLayer.Model;
using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace BookLibrary.Management.MssqlDataAccessLayer
{
public class MssqlBorrowHistoryRepos... | 2.65369 | 8f4437537504d2bd4aa974429d90979d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829313 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "marcelochaves95/Urplace",
"max_stars_repo_path": "Assets/Scripts/Utilities/RopeEndGizmo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148533"
} | starcoder | <reponame>marcelochaves95/Urplace
using UnityEngine;
using System.Collections;
public class RopeEndGizmo : MonoBehaviour
{
float gizmoSize = 0.3f;
Color gizmoColor = Color.green;
void OnDrawGizmos()
{
Gizmos.color = gizmoColor;
Gizmos.DrawSphere(this.transform.position, g... | 1.899473 | 52d6647cce4f45e3ed04cf3d6bd87647 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aibotstechrepo/ContractManagementSystem_Instance1",
"max_stars_repo_path": "ContractManagementSystem/obj/Release/Package/PackageTmp/Views/Template/New.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:148534"
} | starcoder | @model ContractManagementSystem.Models.CommonModel
@{
ViewBag.Title = "New";
Layout = "~/Views/Shared/_HomeLayout.cshtml";
string CurrentUserID()
{
string userName = string.Empty;
if (HttpContext.Current.Request.IsAuthenticated)
{
userName = HttpContext.Current.Use... | 2.223989 | ef47439b5b177c7edd82fff680a3be90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829315 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "shastriUF/nidevlabs",
"max_stars_repo_path": "WebServiceRunner/WebServiceRunner/WebServiceRegistrationInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148535"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Xml.Serialization;
namespace NationalInstruments.WebServiceRunner
{
/// <summary>
/// Provides registration information for a Web Service GLL
/// It is expected that this file is next to the GLL that is being registered and has ... | 2.916288 | 8b3eb36a8cc5163ba646a64624cea520 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829316 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "drmathias/Ticketbooth",
"max_stars_repo_path": "test/Ticketbooth.Api.Tests/Controllers/PublicControllerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148536"
} | starcoder | <gh_stars>1-10
using Microsoft.Extensions.Logging;
using Moq;
using NBitcoin;
using NUnit.Framework;
using SmartContract.Essentials.Ciphering;
using SmartContract.Essentials.Randomness;
using Stratis.Bitcoin.Connection;
using Stratis.Bitcoin.Consensus;
using Stratis.Bitcoin.Features.MemoryPool;
using Stratis.Bitcoin.F... | 1.510076 | af9a04abc522444beea5872850ef53b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829317 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "nineconsult/Kickoff2016Net",
"max_stars_repo_path": "src/Abp/MultiTenancy/ITenantIdResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148537"
} | starcoder | <filename>src/Abp/MultiTenancy/ITenantIdResolver.cs<gh_stars>1-10
namespace Abp.MultiTenancy
{
/// <summary>
/// Used to get current tenant id.
/// This interface can be implemented to get Tenant's Id if user has not logged in.
/// It can resolve TenantId from subdomain, for example.
/// </summary>... | 2.194018 | 7906ea2b49ef8b0540450a456d9c90bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829318 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "indrivo/bizon360_pm",
"max_stars_repo_path": "IndrivoPM/IndrivoPM.Application/EntityServices/JobPositions/Queries/GetJobPositionDetails/GetJobPositionDetailQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148538"
} | starcoder | <reponame>indrivo/bizon360_pm
using System;
using MediatR;
namespace Gear.Manager.Core.EntityServices.JobPositions.Queries.GetJobPositionDetails
{
public class GetJobPositionDetailQuery:IRequest<JobPositionDetailModel>
{
public Guid Id { get; set; }
}
}
| 1.036958 | 169d9470b0add9dceda5d2cdf36b25f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829319 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NiksonHernandes/LiguagemCSharp",
"max_stars_repo_path": "AulasFacul/Aulas/TelaDeLogin-MVC/Views/Lista/AdicionarUsuario.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:148539"
} | starcoder | <reponame>NiksonHernandes/LiguagemCSharp
@model TelaDeLogin_MVC.Models.ListaModel
@{
ViewData["Title"] = "AdicionarUsuario";
}
<h1>AdicionarUsuario</h1>
<h4>ListaModel</h4>
<hr />
<div class="row">
<div class="col-md-4">
<form asp-action="AdicionarUsuario">
<div asp-validation-summary="M... | 1.96482 | c400f2c2173a8dd60d0760b4942ae95d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829320 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "jhett12321/Forgelight-Unity-Integration",
"max_stars_repo_path": "Assets/ForgelightUnity/Editor/Utils/ProjectFileUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148540"
} | starcoder | namespace ForgelightUnity.Editor.Utils
{
using System;
using System.IO;
using UnityEngine;
public class ProjectFileUtils
{
/// <summary>
/// Gets the root project directory.
/// </summary>
public static string GetProjectDirectory()
{
return Direc... | 3.090875 | a78d5d5e42057f570ed6eb99ab21ed23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829321 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SlavyanaC/SuggestionApp",
"max_stars_repo_path": "SuggestionAppLibrary/GlobalUsings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148541"
} | starcoder | <reponame>SlavyanaC/SuggestionApp
global using SuggestionAppLibrary.Models;
global using MongoDB.Bson;
global using MongoDB.Bson.Serialization.Attributes;
global using MongoDB.Driver;
global using SuggestionAppLibrary.DataAccess.Contracts; | 1.065524 | 2c40bc04c576377ecf094e826b89709c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829322 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sealkeen/NWindowsKits",
"max_stars_repo_path": "NWindowsKits/NWindowsKits/d3d11.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148542"
} | starcoder | <gh_stars>1-10
// This source code was generated by ClangCaster
using System;
using System.Runtime.InteropServices;
namespace NWindowsKits
{
// C:/Program Files (x86)/Windows Kits/10/Include/10.0.18362.0/um/d3d11.h:14457
public delegate int PFN_D3D11_CREATE_DEVICE(
IntPtr __param__0,
D... | 1.439036 | 8689bcdb38cbbd4a56b38f0f982e41c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829323 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danhpaiva/trinket-digital-security",
"max_stars_repo_path": "TrinketDigitalSecurity/forms/module_five/F_M_Five_03.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148543"
} | starcoder | <gh_stars>0
namespace TrinketDigitalSecurity
{
public partial class F_M_Five_03 : Form
{
public F_M_Five_03()
{
InitializeComponent();
}
private void btn_exit_Click(object sender, EventArgs e)
{
Close();
}
private void btn_back_C... | 1.731663 | 7ee87f73a891e6d05a8aa844f22bdbf5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829324 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Bayer-Group/COLID-Registration-Service",
"max_stars_repo_path": "libs/COLID.Common/Extensions/EnumerableExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148544"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices.ComTypes;
namespace COLID.Common.Extensions
{
public static class EnumerableExtension
{
public static IEnumerable<(T item, int index)> WithIndex<T>(this IEnumerable<T> source)
{
... | 2.808317 | 2b1493e3f729b07fcea1838e9d87f2c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829325 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cc004/SekaiApi",
"max_stars_repo_path": "SekaiAgent/Controllers/ApiController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148545"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Runtime.InteropServices.ComTypes;
using System.Security.Cryptography;
using System.Text;
using System.... | 2.098379 | abdd489e463b1a0653455ba29cbfa703 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829326 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "elendil-software/ASCOM.Alpaca.Client.Toolkit",
"max_stars_repo_path": "src/Ascom.Alpaca.Client/Logging/ILogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148546"
} | starcoder | <gh_stars>1-10
namespace ES.Ascom.Alpaca.Client.Logging
{
/// <summary>
/// Represents a type used to log events
/// <para>An implementation of the interface can act as an adapter for common loggers</para>
/// </summary>
public interface ILogger
{
/// <summary>
/// Write a log ev... | 2.320219 | 6acd181d6414a7f8d41ec8d359afa5db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829327 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wdcossey/dng.Syndication",
"max_stars_repo_path": "src/Writers/ContentElementWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148547"
} | starcoder | <gh_stars>0
using System;
using System.ComponentModel;
using System.Linq;
using System.Xml.Linq;
using dng.Syndication.Enums;
namespace dng.Syndication.Writers
{
public class ContentElementWriter : IElementWriter
{
public XElement Write(XName name, object value, string attributeName, FeedType feedType... | 2.659801 | 0b4a44627541f22a9ca94d11c93fc59a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829328 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NadejdaTs/Programming-Fundamentals",
"max_stars_repo_path": "Exercise2/DataTypesAndVariables/DataTypesAndVariables/ComparingFloats/ComparingFloats.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148548"
} | starcoder | using System;
namespace ComparingFloats
{
class ComparingFloats
{
static void Main(string[] args)
{
double number = double.Parse(Console.ReadLine());
double secNumber = double.Parse(Console.ReadLine());
double eps = 0.000001d;
if (Math.Abs(numbe... | 3.613313 | d269343a344214a5386097e39686df02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829329 | {
"extension": "c-sharp",
"max_stars_count": "276.0",
"max_stars_repo_name": "JamesDBartlett3/Analysis-Services",
"max_stars_repo_path": "BismNormalizer/BismNormalizer/TabularCompare/UI/ValidationOutputButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148549"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace BismNormalizer.TabularCompare.UI
{
public partial class ValidationOutputButton : UserControl
{
private bool ... | 2.431502 | 419e03440c2a34f4fe10f58d1c275bd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829330 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rogue-fong/rocketpowAR",
"max_stars_repo_path": "UnityClient/Assets/Scripts/AudioLibrary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148550"
} | starcoder | <reponame>rogue-fong/rocketpowAR
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AudioLibrary : Singleton<AudioLibrary>
{
[Header("Narrative Clips")]
public AudioClip NarrativePlaceElevator;
public AudioClip NarrativeWelcomeGreeting;
public AudioClip NarrativeIntro;
... | 1.451115 | d91973c3c8cdf62059c83030707fd3b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829331 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "aehrea/Mapping_Tools",
"max_stars_repo_path": "Mapping_Tools/Components/Graph/GraphState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148551"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Windows;
namespace Mapping_Tools.Components.Graph {
/// <summary>
/// This class is meant to contain all the defining information for a <see cref="Graph"/> instance.
/// You can use this for serialization or to transport information of a <s... | 2.916358 | 38ba3875d48a8abdd3ef0fe7081cc524 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829332 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "CheshireDev/MoodBlender",
"max_stars_repo_path": "Source/Mood.Target.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148552"
} | starcoder | using UnrealBuildTool;
public class MoodTarget : TargetRules
{
public MoodTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Game;
ExtraModuleNames.Add("Mood");
DefaultBuildSettings = BuildSettingsVersion.V2;
}
}
| 1.755406 | 530f4204f2150fe4ca0668ac9f1c22df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829333 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "net-lisias-kspu/HideEmptyTechTreeNodes",
"max_stars_repo_path": "source/HideEmptyTechTreeNodes/HETTNSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148553"
} | starcoder | //using KSP.UI.Screens;
using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;
using UnityEngine;
namespace HideEmptyTechTreeNodes
{
internal class HETTNSettings
{
// ----------------
// Option Settings.
... | 2.052569 | 7b74e85fa5700f67a9990b6d6b51f0cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829334 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Unipisa/eligere",
"max_stars_repo_path": "src/EligereES/Models/DB/ElectionRole.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148554"
} | starcoder | using System;
using System.Collections.Generic;
namespace EligereES.Models.DB
{
public partial class ElectionRole
{
public ElectionRole()
{
ElectionStaff = new HashSet<ElectionStaff>();
}
public Guid Id { get; set; }
public string Label { get; set; }
... | 2.160053 | c870775d18542497672e54c8b952d924 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829335 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CaptainCow95/DatabaseV2",
"max_stars_repo_path": "Library/Networking/ConnectionType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148555"
} | starcoder | <reponame>CaptainCow95/DatabaseV2
namespace Library.Networking
{
/// <summary>
/// Represents the type of the connection.
/// </summary>
public enum ConnectionType
{
/// <summary>
/// Represents an outgoing connection.
/// </summary>
Outgoing,
/// <summary>
... | 2.030859 | 94b774381cfac3274402bcb137a2bd79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829336 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "Kayserheimer/Dynamics-Crm-DevKit",
"max_stars_repo_path": "test/v.2.10.31/Abc.LuckyStar2/Abc.LuckyStar2.Shared/Entities/SLAItem.generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148556"
} | starcoder | //---------------------------------------------------------------------------------------------------
// <auto-generated>
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// Generated by DynamicsCrm.DevKit - https://github.com/phuocle/Dynamics-Crm-DevKit
// </auto-gen... | 1.219608 | 8ed59530abd8d7b22fd5757982a5d735 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829337 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chrischu/Wrapperator",
"max_stars_repo_path": "src/Wrapperator/Generators/Types/TypeGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148557"
} | starcoder | using System;
using System.CodeDom;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Wrapperator.Generators.Members;
using Wrapperator.Helpers;
using Wrapperator.Model;
namespace Wrapperator.Generators.Types
{
internal abstract class TypeGenerator : CodeDomGenerator
{
private... | 2.478152 | 827594e1e300c397077c5cc20e1813c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829338 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zhangyukof/litebyte",
"max_stars_repo_path": "C#/Unity/Assets/LiteByteDemo/Scripts/Types/ST_Float64Type.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148558"
} | starcoder | <filename>C#/Unity/Assets/LiteByteDemo/Scripts/Types/ST_Float64Type.cs
namespace LiteByte.Demo {
using System;
using ProtoBuf;
/// <summary> Float Type </summary>
[Serializable][ProtoContract]
public struct ST_Float64Type {
[ProtoMember(1)] public double float64;
}
} | 1.903951 | 89fc9b3eb2d7ea7dcadce06554c673bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829339 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Valkke/programming-basics",
"max_stars_repo_path": "conditional-statements/conditional-statement/task-2/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148559"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace task_2
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello DGITRADE!");
// Define istructions
Con... | 2.168804 | 99b11a7a6d3d5edb8d0014b6c28d2f68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829340 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "LBHackney-IT/repairs-api-dotnet",
"max_stars_repo_path": "RepairsApi/V2/Infrastructure/Identification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148560"
} | starcoder | using Microsoft.EntityFrameworkCore;
namespace RepairsApi.V2.Infrastructure
{
[Owned]
public class Identification
{
public string Type { get; set; }
public string Number { get; set; }
}
}
| 1.569384 | 27080d43cab8c0d19e304b6e6977e5b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829341 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "praveenv4k/Indriya",
"max_stars_repo_path": "src/indriya_msgs/csharp/kinect_body.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148561"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------... | 1.740569 | 7fa0bcc29f362f094dd3392ed2f40794 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829342 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "ahwm/GoDaddyWrapper.Net",
"max_stars_repo_path": "src/GodaddyWrapper/Attributes/CountryAttribtue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148562"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
namespace GodaddyWrapper.Attributes
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
sealed int... | 2.530783 | a11ea18c1d4825cf84d0baf7502f2ee1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829343 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AdamoT/MiLightNet",
"max_stars_repo_path": "MilightNet/Controllers/V6/MiLightControllerV6.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148563"
} | starcoder | <filename>MilightNet/Controllers/V6/MiLightControllerV6.cs<gh_stars>0
using MiLightNet.Utils;
using System;
using System.IO;
using System.Net;
using System.Net.NetworkInformation;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
namespace MiLightNet.Controllers.V6
{
///... | 2.399017 | 077d0facd136c6c4be5e1cebf21613fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829344 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hackdou/go2cs",
"max_stars_repo_path": "src/Tests/Behavioral/ArrayPassByValue/ArrayPassByValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148564"
} | starcoder | <filename>src/Tests/Behavioral/ArrayPassByValue/ArrayPassByValue.cs
// package main -- go2cs converted at 2019 November 18 01:05:23 UTC
// Original source: C:\Projects\go2cs\src\Tests\Behavioral\ArrayPassByValue\ArrayPassByValue.go
using fmt = go.fmt_package;
using static go.builtin;
namespace go
{
public static p... | 2.798091 | 3615561d56604e5ab5ed86e56d9b0c23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829345 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "LiangJianyi/VisualizationRecorder",
"max_stars_repo_path": "VisualizationRecorder/Model/StatistTotalByDateTime.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148565"
} | starcoder | <filename>VisualizationRecorder/Model/StatistTotalByDateTime.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Numerics;
using Janyee.Utilty;
using VisualizationRecorder.CommonTool;
namespace VisualizationRecorder {
using TioSalamanca = List<IGrouping<Big... | 3.074709 | 5571338907cdb054a7cf6ba6c746f15b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829346 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "FaberSanZ/RenderingDX12",
"max_stars_repo_path": "Src/Renderer/Image/IMGLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148566"
} | starcoder | <reponame>FaberSanZ/RenderingDX12<filename>Src/Renderer/Image/IMGLoader.cs
// Copyright (c) 2019-2020 <NAME>. All Rights Reserved.
/*=============================================================================
IMGLoader.cs
=============================================================================*/
//using ... | 1.893254 | d483248735ad689dca4adc644d83b134 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829347 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "juliansangillo/nbg-unity-sdk",
"max_stars_repo_path": "NBG Unity SDK/Assets/Plugins/Naughty Biker Games/Source/Raycast/Installers/RaycasterInstaller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148567"
} | starcoder | using Zenject;
using NaughtyBikerGames.SDK.Adapters;
using NaughtyBikerGames.SDK.Adapters.Interfaces;
namespace NaughtyBikerGames.SDK.Raycast.Installers {
/**
* A Zenject installer that installs bindings for the Raycaster API dependencies. To use, call
* RaycasterInstaller.Install(Container).
*... | 1.937227 | e2a16519ea93068e5385c5f0268f1daa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829348 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexnoddings/Melinoe",
"max_stars_repo_path": "Client/State/GameReset/GameResetReducers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148568"
} | starcoder | <reponame>alexnoddings/Melinoe
using Fluxor;
namespace Melinoe.Client.State.GameReset
{
public static class GameResetReducers
{
[ReducerMethod]
public static GameState ReduceGameResetAction(GameState state, GameResetAction action) =>
action.NewGameState;
}
}
| 1.529438 | f57a365cb762af10a048f3fb0424e262 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829349 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ArmouredFish/TAUtil",
"max_stars_repo_path": "TAUtil/Tnt/ITntSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148569"
} | starcoder | namespace TAUtil.Tnt
{
using System.Collections.Generic;
/// <summary>
/// <para>
/// Adapter for the <see cref="TntWriter"/> class.
/// This interface provides properties and methods
/// for retrieving data in order to write it to a TNT file.
/// </para>
/// <para>
/// U... | 2.984267 | 4d9e8b3b94573da9a72267221f809c85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ghostdog87/WoWJunkyard",
"max_stars_repo_path": "WoWJunkyard/WoWJunkyard/Services/Utilities/CharacterItemsConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148570"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace WoWJunkyard.Services.Utilities
{
public class CharacterItemsConverter : JsonConverter
{
private readonly List<string> _propertyMappings = new List<st... | 2.992342 | 64b5f29ebe68c37135230038fcd53b89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829351 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DnnSoftwarePersian/Dnn.Platform",
"max_stars_repo_path": "DNN Platform/Library/Services/EventQueue/EventMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148571"
} | starcoder | #region Copyright
//
<<<<<<< HEAD
<<<<<<< HEAD
=======
=======
>>>>>>> update form orginal repo
// DotNetNuke® - https://www.dnnsoftware.com
// Copyright (c) 2002-2018
// by DotNetNuke Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// do... | 1.748886 | 77a3a8a0c916ddfb3920de9b0af2abbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829352 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AliUyanik/Reportity",
"max_stars_repo_path": "Reportity/Reportity/Reportity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148572"
} | starcoder | using Reportity.Common;
using Reportity.Core;
using Reportity.Enums;
using Reportity.Exception;
namespace Reportity
{
public static class Reportity
{
public static byte[] ToStreamReport<T>(this IEnumerable<T> list, ReportTypes type)
{
IByteExporter<T>? Renderer = null;
... | 2.601166 | 32c75440bb7c780dfe988134c9637e14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829353 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JAD-SVK/mono-tools",
"max_stars_repo_path": "rules/Gendarme.Rules.Exceptions/InstantiateArgumentExceptionCorrectlyRule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148573"
} | starcoder | <gh_stars>1-10
//
// Gendarme.Rules.Exceptions.InstantiateArgumentExceptionCorrectlyRule
//
// Authors:
// <NAME> <<EMAIL>>
// <NAME> <<EMAIL>>
//
// (C) 2008 <NAME>
// Copyright (C) 2008,2010 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of th... | 2.269998 | 5c74ac2fd6e930863ef802cbee78ea9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829354 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-shared-packages",
"max_stars_repo_path": "SFA.DAS.Http/SFA.DAS.Http/Logging/EventIds.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148574"
} | starcoder | using Microsoft.Extensions.Logging;
namespace SFA.DAS.Http.Logging
{
internal static class EventIds
{
public static readonly EventId SendingRequest = new EventId(1, nameof(SendingRequest));
public static readonly EventId SendingRequestHeaders = new EventId(2, nameof(SendingRequestHeaders));
... | 1.336967 | e1b645aa24f9179517d17e6913636a6b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829355 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mfpalladino/palla.labs.vdt",
"max_stars_repo_path": "Server/src/Palla.Labs.Vdt.WebApi/App/Dominio/Modelos/Cliente/Cnpj.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148575"
} | starcoder | using System;
using Palla.Labs.Vdt.App.Compartilhado;
using Palla.Labs.Vdt.App.Dominio.Excecoes;
// ReSharper disable once CheckNamespace
namespace Palla.Labs.Vdt.App.Dominio.Modelos
{
public class Cnpj
{
private readonly string _numero;
public Cnpj(string cnpj)
{
_numero ... | 2.964165 | f1a639b835dde015b76468c3fcdf7e0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829356 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "newkisoft/newki-inventory-main",
"max_stars_repo_path": "inventory/Controllers/Api/GoodsContainerController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148576"
} | starcoder | <reponame>newkisoft/newki-inventory-main
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using inventory.Data;
using inventory.Models;
using inventory.Services;
using Microsoft.AspNetCore.Authorization;
using Amazon.S3;
using Amazon;
using Amazon.Ru... | 2.024548 | 4f40e099b9937f79b172972b01d0dd7c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829357 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Walter-Haynes/UnityTileMapSerialization",
"max_stars_repo_path": "Assets/Scripts/General/SaveSystems/Helpers/SceneProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148577"
} | starcoder | <filename>Assets/Scripts/General/SaveSystems/Helpers/SceneProfile.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class SceneProfile
{
public string scene = "";
public SceneProfile (SceneData sceneData){
scene = sceneData.scene... | 2.127372 | fd73cf0f2f0e8f7da2dea07250c3260d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829358 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "srkreddy1238/onnxruntime",
"max_stars_repo_path": "csharp/src/Microsoft.ML.OnnxRuntime/NativeOnnxObjectHandle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148578"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace Microsoft.ML.OnnxRuntime
{
internal class NativeOnnxObjectHandle : SafeHandle
{
public NativeOnnxObjectHandle(IntPtr ptr)
: base(IntPtr.Zero, true)
{
handle = ptr;
}
public override bool IsIn... | 2.212596 | 4937995adb0eb4f2e24456f8e1392d58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829359 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "belidzs/Mailgun.Models.SignedEvent",
"max_stars_repo_path": "Mailgun.Models.SignedEvent/MailgunEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148579"
} | starcoder | // <copyright file="MailgunEvent.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>
using System.Collections.Generic;
using Mailgun.Models.SignedEvent.EventDetails;
namespace Mailgun... | 2.202829 | 1a9e812537805343ed26e86bb041da14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829360 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "redcurry/WhiskerPrint",
"max_stars_repo_path": "src/WhiskerPrint/LogicLayer/Matching/IMatcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148580"
} | starcoder | using System.Drawing;
namespace WhiskerPrint.LogicLayer.Matching
{
public interface IMatcher : IProgressible
{
double GetScore(Image image1, Image image2);
}
}
| 2.044654 | 10174cd53da3dfe3d716f50b96f07e4e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829361 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Miruken-DotNet/Miruken.AspNet",
"max_stars_repo_path": "Source/Miruken.AspNet.Swagger/SwaggerAuthorizationExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148581"
} | starcoder | <gh_stars>0
namespace Miruken.AspNet.Swagger
{
using System;
using Swashbuckle.Swagger;
public static class SwaggerAuthorizationExtensions
{
public static SwaggerMediatesFilter RequireBasicToken(
this SwaggerMediatesFilter filter)
{
filter.Operations +... | 1.933105 | ec66728f8251f23d48f85f4bcfaefa85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829362 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dustray/VicoldUtility",
"max_stars_repo_path": "src/VicoldUtility4Net5/VicoldGis/DefaultMapData/DefaultDataManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148582"
} | starcoder | <reponame>Dustray/VicoldUtility<filename>src/VicoldUtility4Net5/VicoldGis/DefaultMapData/DefaultDataManager.cs
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Media;
using VicoldGis.VMap.Projections... | 2.300143 | 5d4737795656b9983c886f73270fa6aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829363 | {
"extension": "c-sharp",
"max_stars_count": "95.0",
"max_stars_repo_name": "LambdaSharp/LambdaSharpTool",
"max_stars_repo_path": "src/LambdaSharp.ApiGateway/Internal/ApiGatewayInvocationTargetDirectory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148583"
} | starcoder | <filename>src/LambdaSharp.ApiGateway/Internal/ApiGatewayInvocationTargetDirectory.cs<gh_stars>10-100
/*
* LambdaSharp (λ#)
* Copyright (C) 2018-2021
* lambdasharp.net
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ... | 2.272436 | 3651a89b6ee719c533dad5a4b186183d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tthiatma/Owpini",
"max_stars_repo_path": "Owpini.Core/OwpiniUsers/OwpiniUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148584"
} | starcoder | using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
namespace Owpini.Core.OwpiniUsers
{
public class OwpiniUser : IdentityUser
{
}
}
| 1.137765 | df6a0d0c1974083c4fa18160d4712a73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829365 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wildbook/LeagueClientApi",
"max_stars_repo_path": "Model/LolPftPFTEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148585"
} | starcoder | <filename>Model/LolPftPFTEvent.cs<gh_stars>1-10
/*
* LeagueClient
*
* 7.23.209.3517
*
* OpenAPI spec version: 1.0.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System.Runtime.Serialization;... | 2.60392 | ea5251d5c842e5fa0a51af9149d24e73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829366 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KellyKey/Sigma",
"max_stars_repo_path": "VersionOne.ServiceHost.ConfigurationTool/BZ/TestProjectEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148586"
} | starcoder | using System;
using VersionOne.ServiceHost.ConfigurationTool.Entities;
namespace VersionOne.ServiceHost.ConfigurationTool.BZ {
public class TestProjectEventArgs : EventArgs {
public readonly TestPublishProjectMapping Mapping;
public TestProjectEventArgs(TestPublishProjectMapping mapping) {
... | 1.475455 | c87a8d2f0082b43b3fd90aba2bbd7a3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MyJetWallet/Service.Authorization",
"max_stars_repo_path": "src/Service.Authorization/Modules/ServiceModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148587"
} | starcoder | using System;
using Autofac;
using Autofac.Core;
using Autofac.Core.Registration;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using MyJetWallet.Sdk.NoSql;
using MyJetWallet.Sdk.Service;
using MyJetWallet.Sdk.ServiceBus;
using Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure;
using Serv... | 1.418832 | 57305e89959b07e06659023f3305d401 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829368 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ajjack5/design-patterns",
"max_stars_repo_path": "DesignPatterns/Creational/Prototype/CSharp/Examples/Virus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148588"
} | starcoder | namespace DesignPatterns.Creational.Prototype.CSharp.Examples
{
public abstract class Virus
{
public string GeneticMaterial { get; set; }
protected Virus() { }
protected Virus(Virus originalVirus)
{
GeneticMaterial = originalVirus.GeneticMaterial;
}
}
}... | 2.889638 | 2e051543c66b5794ad911c5f9a23fd20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829369 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sergey128/HRI-Umbraco",
"max_stars_repo_path": "HRI/Models/ContactFormViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148589"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace HRI.Models
{
public class ContactFormViewModel
{
[Required]
public string MessageType { get; set; }
[Required]
public string FirstName { get; set; }
... | 2.764593 | dc021b28378144808f2b142fac12d5bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829370 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryuuguu/Electoral-Cartogram-Unity",
"max_stars_repo_path": "Assets/Scripts/UI Toolkit Map/Cleaned/UitRegionEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148590"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UitRegionEditor : MonoBehaviour {
public float indent;
public static RegionList currentRegionList;
public string votesImageName = "VotesImage.png";
public string se... | 2.133238 | a6bbc40befcee38f054f6c5c7e90cff2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829371 | {
"extension": "c-sharp",
"max_stars_count": "244.0",
"max_stars_repo_name": "Eibwen/Musoq",
"max_stars_repo_path": "Musoq.Evaluator/Tables/TableIndex.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148591"
} | starcoder | <reponame>Eibwen/Musoq<filename>Musoq.Evaluator/Tables/TableIndex.cs
using System;
namespace Musoq.Evaluator.Tables
{
public class TableIndex : IEquatable<TableIndex>
{
public TableIndex(string name)
{
ColumnName = name;
}
public string ColumnName { get; }
... | 2.78322 | 1dd08ea1a7307e92ad4d428462863609 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829372 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Luiz-HSSD/LES_passagens_areas",
"max_stars_repo_path": "Core/DAO/AssentoDAO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148592"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using Dominio;
using Npgsql;
namespace Core.DAO
{
public class AssentoDAO : AbstractDAO
{
public AssentoDAO() : base("assento", "assento_id")
{
}
public override void alterar(EntidadeDominio ... | 2.418342 | ad43092b9dc241724919637d19c1f1df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829373 | {
"extension": "c-sharp",
"max_stars_count": "94.0",
"max_stars_repo_name": "RMITBLOG/winget-cli-restsource",
"max_stars_repo_path": "src/WinGet.RestSource.Utils/Models/Arrays/InstallerSuccessCodes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148593"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="InstallerSuccessCodes.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
// ------------------------------------------------------------------... | 2.655582 | be6ffedd3987a4adcb66ca08a64d41fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829374 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rafaeldolfe/MasterServerChess",
"max_stars_repo_path": "Assets/Sisus/Power Inspector/Code/Editor/Drawers/Field/PrefixControlComboDrawer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148594"
} | starcoder | #define SAFE_MODE
#define DEBUG_FOCUS_FIELD
//#define DEBUG_NULL_FIELD_INFO
#define DEBUG_ON_CLICK
using System;
using UnityEngine;
using UnityEditor;
using Object = UnityEngine.Object;
namespace Sisus
{
/// <summary>
/// Class for fields that have both a prefix and a linked control,
/// which are essentially tr... | 2.065152 | 0c1c82a45b795ab49441da81bdd0c54e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829375 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ZzzMrJin/jynew",
"max_stars_repo_path": "jyx2/Assets/Scripts/EventsGraph/Nodes/Jyx2SwitchRoleAnimationNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148595"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using HanSquirrel.ResourceManager;
using HSFrameWork.ConfigTable;
using Jyx2;
using UnityEngine;
using XNode;
[CreateNodeMenu("场景/切换地图角色动态")]
[NodeWidth(150)]
public class Jyx2SwitchRoleAnimationNode : Jyx2SimpleNode
{
private void Reset() {
... | 1.468049 | 585bee530e0757302ce4f44bd7673d48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829376 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CloudHeaven/Azure",
"max_stars_repo_path": "src/ResourceManagement/RecoveryServices.Backup/RecoveryServicesBackupManagement/Generated/RestoreOperations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148596"
} | starcoder | //
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// 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 requi... | 1.835276 | 67820904cfcaebec22541561436dc213 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829377 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kaanlab/OutlookReportsAddIn",
"max_stars_repo_path": "OutlookReportsAddIn/ViewModels/ReportForPeriodViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148597"
} | starcoder | using OutlookReportsAddIn.Helpers;
using OutlookReportsAddIn.Services;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace OutlookReportsAddIn.ViewModels
{
public class Repor... | 2.510403 | 3705575ff4d9c549eae600a1c1efb58e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829378 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ctrlcommunity/Ctrl.Framework",
"max_stars_repo_path": "src/Domain/System/Ctrl.Domain.Models/CtrlCloud/Logs/ISystemExceptionLogRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148598"
} | starcoder | <reponame>ctrlcommunity/Ctrl.Framework
using Ctrl.Domain.Models.Dtos.Logs;
using Ctrl.Domain.Models.Entities;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using CtrlCloud.Framework.Domain.Models.CtrlCloud.Logs;
using Volo.Abp.Domain.Repositories;
namespace Ctrl.Domain.DataAc... | 1.654037 | d4fde499acc5a6a2507371faa81999e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829379 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ZsemberiDaniel/TicTacToe",
"max_stars_repo_path": "Assets/Scripts/GUI/DoneGame/DoneGameDisabler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148599"
} | starcoder | <filename>Assets/Scripts/GUI/DoneGame/DoneGameDisabler.cs
using UnityEngine;
using UnityEngine.SceneManagement;
public class DoneGameDisabler : MonoBehaviour {
public Vector3 camOnLastScenePosition;
public string[] scenesOnWhichToShow = new string[] {
"Menu", "BluetoothConnect", "GooglePlayConnectScr... | 2.496111 | 547ccb1d626a6d511266d765f965cbd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829380 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ulivegenov/SmartCarRentals",
"max_stars_repo_path": "Web/SmartCarRentals.Web/Views/Cars/All.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:148600"
} | starcoder | <filename>Web/SmartCarRentals.Web/Views/Cars/All.cshtml
@using SmartCarRentals.Common;
@using System.Linq;
@model SmartCarRentals.Web.ViewModels.Administration.Cars.CarsAllViewModelCollection
@{
this.ViewData["Title"] = "Cars All";
var bgUrl = "https://res.cloudinary.com/dp70enihl/image/upload/v1585135294/Smar... | 2.566718 | 66f776eb1053395a9a5ae141913bbcfb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829381 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "corle-bell/MineSweeping",
"max_stars_repo_path": "Assets/BmFramework/Third/Infinity Code/uContext/Scripts/Editor/Helpers/WindowsHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148601"
} | starcoder | /* INFINITY CODE */
/* https://infinity-code.com */
using System;
using InfinityCode.uContext.Integration;
using InfinityCode.uContext.UnityTypes;
using UnityEditor;
using UnityEngine;
namespace InfinityCode.uContext
{
public static class WindowsHelper
{
public const string ... | 1.938316 | 0dd1fd231dc60ee134b57793f745d004 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829382 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "sandialabs/nnsd-common",
"max_stars_repo_path": "src/COMMONConfig/UseCase/LoadConfigurationCSV.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148602"
} | starcoder | using COMMONConfig.Boundaries.Configuration;
using COMMONConfig.Utils;
using gov.sandia.sld.common.db.models;
using Microsoft.Win32;
namespace COMMONConfig.UseCase
{
public class LoadConfigurationCSV : ILoadRequest
{
private readonly ILoadResponse loadBoundaryOutput;
public LoadConfigurationC... | 2.063231 | fca415fe3cc2f39809b0f533b4077460 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829383 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "CharlesOkwuagwu/URSA",
"max_stars_repo_path": "URSA.Http.Tests/Given_instance_of_the/RequestHandler_class.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148603"
} | starcoder | using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using URSA;
using URSA.ComponentModel;... | 1.838869 | d03d58abd25df1c4fbcf680ce91c980b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829384 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iivchenko/Done",
"max_stars_repo_path": "Src/Done.Web/Models/Goals/NewGoalViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148604"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace Done.Web.Models.Goals
{
public sealed class NewGoalViewModel
{
[Required]
[MaxLength(100)]
public string Name { get; set; }
public string Description { get; set; }
}
}
| 1.829388 | 4a6f6966d537a5da837249d239ffa4d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829385 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AshBloo/Net6Template",
"max_stars_repo_path": "src/AdminLTE/Services/MessageServices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148605"
} | starcoder | using AdminLTE.Common.Extensions;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using MimeKit;
using System;
using System.IO;
using System.Net;
using System.Net.Mail;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using ConfigurationManager = AdminLTE.Common.Extensions.... | 2.365465 | 8fff8e2945ab8b0368550db1b2d3e8a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829386 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "omernaser/Huawei-MAP",
"max_stars_repo_path": "HMS_Map_Demo/HMS_Map_Demo/MainActivity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148606"
} | starcoder | using Android.App;
using Android.OS;
using Android.Support.V7.App;
using Android.Runtime;
using Android.Widget;
using Com.Huawei.Hms.Maps;
using Android;
using Com.Huawei.Hms.Maps.Internal;
using IOnMapReadyCallback = Com.Huawei.Hms.Maps.IOnMapReadyCallback;
using Android.Support.V4.App;
using Android.Content;
using S... | 1.713445 | 266cb267982ba9d4531b69ca330e563d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829387 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eByte23/NEvilES",
"max_stars_repo_path": "src/Sample/GTD.Common/EventProcessorModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148607"
} | starcoder | using System.Reflection;
using Autofac;
using NEvilES;
using NEvilES.DataStore;
using NEvilES.Pipeline;
namespace GTD.Common
{
public class EventProcessorModule : Autofac.Module
{
private readonly Assembly domain;
private readonly Assembly readModel;
public EventProcessorM... | 1.825672 | 990aa5dd4d6066b549650b176154048c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829388 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "usr-sse2/roslyn-sdk",
"max_stars_repo_path": "src/Tools/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.CodeFix.Testing/EmptyCodeFixProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148608"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
namespace Microsoft.CodeAnalysis.Testing
{
///... | 1.943781 | 844bfa035c031784d4b750062a29eada |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829389 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "seanmiddleditch/Simplecs",
"max_stars_repo_path": "Simplecs/Views/View.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148609"
} | starcoder | // Simplecs - Simple ECS for C#
//
// Written in 2019 by <NAME> (http://github.com/seanmiddleditch)
//
// To the extent possible under law, the author(s) have dedicated all copyright
// and related and neighboring rights to this software to the public domain
// worldwide. This software is distributed without any warran... | 2.737631 | fcebe1436b84784cccd3a882b1f412a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829390 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidehnis/Baxter",
"max_stars_repo_path": "Baxter/Signal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148610"
} | starcoder | <filename>Baxter/Signal.cs
using System;
namespace Baxter.Domain
{
//<summary>The most basic 'message' of the system containing data pertinent for the context</summary>
public class Signal
{
#region Public Constructors
public Signal()
{
}
public Signal(Type type) :... | 2.908942 | b8f750a04eb71cfdde3dedede32c5e27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829391 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/class/Mono.Security/Test/tools/postecho/postecho.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148611"
} | starcoder | <filename>mcs/class/Mono.Security/Test/tools/postecho/postecho.cs
//
// postecho.cs: TLS/SSL Post Echo Test Program
//
// Authors:
// <NAME> <<EMAIL>>
// <NAME> <<EMAIL>>
//
// (C) 2005 Novell (http://www.novell.com)
//
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Text;
usi... | 2.393609 | a32f678c0e2292e126bc44522c656b6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829392 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "TwitchPlaysPokemon/tpp-core",
"max_stars_repo_path": "TPP.Core/Chat/TwitchChatQueue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148612"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using NodaTime;
using TPP.Model;
using TwitchLib.Client;
namespace TPP.Core.Chat
{
public record OutgoingMessage
{
private OutgoingMessage()
{
// Having a private constructor and ... | 2.914529 | 72328b6d78d99f94d5dfdb136fe9e203 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829393 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trdwll/CaptureThat",
"max_stars_repo_path": "CaptureThat/CaptureThat/Classes/Config.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148613"
} | starcoder | /*
* Copyright (c) 2016-2019 Russ 'trdwll' Treadwell. All rights reserved.
* Licensed under the MIT License. See LICENSE.md file in the project root for full license information.
*/
using System;
using System.Windows.Forms;
using System.Drawing.Drawing2D;
using System.Linq;
using apollo.Core;
namespace CaptureThat... | 2.081477 | 37efa66f431ef60a1cdcd1459cf468ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829394 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dotsudo/plus-clean",
"max_stars_repo_path": "HabboHotel/Rooms/RoomPromotion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148614"
} | starcoder | namespace Plus.HabboHotel.Rooms
{
using System;
public class RoomPromotion
{
public RoomPromotion(string Name, string Desc, int CategoryId)
{
this.Name = Name;
Description = Desc;
TimestampStarted = PlusEnvironment.GetUnixTimestamp();
Timesta... | 2.676128 | 9b406d921b2add51e3fc73821942761d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829395 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "melquelima/WEB",
"max_stars_repo_path": "C_SHARP_PROJECTS/Rainhadascamisetas3/PIST.API/Controllers/PagosController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148615"
} | starcoder |
using Entidade;
using Newtonsoft.Json.Linq;
using PIST.NegocioInterface;
using Rainhadascamisetas.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Cors;
using System.Configuration;
using static Rainhadascam... | 1.98086 | 006c3e6a77ae3e5d7dc6154272cad45e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829396 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Facepunch/sbox-unicycle-frenzy",
"max_stars_repo_path": "code/UI/Navigator/NavigatorPanel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148616"
} | starcoder | using Sandbox.Html;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Sandbox.UI
{
/// <summary>
/// A panel that acts like a website. A single page is always visible
/// but it will cache other views that you visit, and allow forward/backward navigation.
/// </summary>
[Library( "navi... | 2.424818 | 6f43196fd987e4f475d2423572c5245d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829397 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kodcu/EmailNotifier",
"max_stars_repo_path": "Src/Notifier/Message/EmailStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148617"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Notifier.Message
{
public enum EmailStatus
{
ERROR,
SEND,
WAITING
}
}
| 1.366353 | 69697c4728724066eb6c3181e4df9365 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829398 | {
"extension": "c-sharp",
"max_stars_count": "389.0",
"max_stars_repo_name": "wabbajack-tools/wabbajack",
"max_stars_repo_path": "Wabbajack.Compression.BSA/TES3Archive/Builder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148618"
} | starcoder | <filename>Wabbajack.Compression.BSA/TES3Archive/Builder.cs<gh_stars>100-1000
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Wabbajack.Common;
using Wabbajack.Compression.BSA.Interfaces;
using Wabbajack.DTOs.BSA.ArchiveStates;
using Wabbajack.DTOs.BSA.FileStates;
namespa... | 2.453007 | be319f8a5a312b89454f4b3e4a601324 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829399 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "byuitechops/earth-kingdom-project2",
"max_stars_repo_path": "test/CanvasModuleGetter.Tests/UserInputTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148619"
} | starcoder | using System;
using System.Collections.Generic;
using Xunit;
namespace CanvasModuleGetter.Tests
{
public class userInputTest
{
[Fact]
public void constructorsTest()
{
//test default constructor
UserInput userInput = new UserInput();
Assert.Equal("", ... | 2.802999 | 88adf7f80af332822441f3cf4b0948bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829400 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "neronotte/Greg.Xrm.Batches",
"max_stars_repo_path": "Greg.Xrm.Batches.Core/Configuration/FlowConfigurationElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148620"
} | starcoder | <reponame>neronotte/Greg.Xrm.Batches
using System.Configuration;
namespace Greg.Xrm.Batches.Core.Configuration
{
public class FlowConfigurationElement : ConfigurationElement
{
[ConfigurationProperty("type", IsRequired = true)]
public string Type
{
get { return (string)this["type"]; }
set { this["type"] =... | 1.887537 | bfe76bd40ba4f94a2781f6ec8028d672 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829401 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "jugstalt/gview5",
"max_stars_repo_path": "gView.System/Framework/System/PlugInManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148621"
} | starcoder | <filename>gView.System/Framework/System/PlugInManager.cs
using gView.Framework.UI;
using gView.GraphicsEngine.Skia;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Xml;
namespace gView.Framework.system
{
public class Known... | 1.700439 | 4e1b3bc40b2e3d825a8053795ec65d81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829402 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dvdvliet/Versatile",
"max_stars_repo_path": "Versatile.Core/AssemblyVersion/Grammar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148622"
} | starcoder | <filename>Versatile.Core/AssemblyVersion/Grammar.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Sprache;
namespace Versatile
{
public partial class AssemblyVersion
{
public class Grammar
{
public static Parser<string> Digits
{
... | 2.728754 | dde2aacfa84c88384ea2676dac4571ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829403 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "raphaelswk/todo-list",
"max_stars_repo_path": "TodoListApp.Web/Controllers/UserTaskController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148623"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using Microsoft.AspNet.Identity;
using System.Web.Mvc;
using TodoListApp.Web.ViewModels;
using TodoListApp.Business.Contracts;
using TodoListApp.Business.Implementations;
using TodoListApp.Entities;
namespace TodoListApp.Web.Controllers
{
[Authorize]
public class ... | 1.881137 | 1cb4abd5ef52d80abbee683084fe2b6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829404 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "harshsaver/WindowsCommunityToolkit",
"max_stars_repo_path": "Microsoft.Toolkit.Uwp.UI/Converters/StringFormatConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148624"
} | 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;
using Windows.UI.Xaml.Data;
namespace Microsoft.Toolkit.Uwp.UI.Converters
{
/// <summary>
///... | 2.815211 | 5292f7c72d13405d3ec583f57b13a066 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829405 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "appkins/SimpleIdentityServer",
"max_stars_repo_path": "SimpleIdentityServer/src/Apis/SimpleIdServer/SimpleIdentityServer.Shell/Areas/Shell/Views/Error/Get401.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:148625"
} | starcoder | <div class="row">
<h1 class="errorbox">
ERROR 401 : You're not authorized
</h1>
</div> | 1.612881 | 71b7efc8fa14cc07ce3fa4972be26c69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829406 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "AVazquez-TDS/com.newblood.lighting-internals",
"max_stars_repo_path": "Editor/LightProbes/ProbeSetTetrahedralization.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148626"
} | starcoder | <gh_stars>1-10
using System;
using UnityEngine;
namespace NewBlood
{
[Serializable]
public sealed class ProbeSetTetrahedralization
{
[SerializeField]
Tetrahedron[] m_Tetrahedra;
[SerializeField]
Vector3[] m_HullRays;
public Tetrahedron[] tetrahedra
{
... | 1.97081 | b24b48951c89cd58793e9a680e7698e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829407 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ghi-electronics/NETMF-Gadgeteer",
"max_stars_repo_path": "Modules/GHIElectronics/Camera/Camera_43/Camera_43.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148627"
} | starcoder | using GHI.Usb.Host;
using Microsoft.SPOT;
using System;
using System.Threading;
using GT = Gadgeteer;
using GTM = Gadgeteer.Modules;
namespace Gadgeteer.Modules.GHIElectronics {
/// <summary>A Camera module for Microsoft .NET Gadgeteer</summary>
[Obsolete]
public class Camera : GTM.Module {
... | 2.368243 | cd04c0e617f9930dc62433f8c4c9a801 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829408 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "PieroCastillo/Vultaik",
"max_stars_repo_path": "Src/Vultaik.Toolkit/Desktop/Trigger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148628"
} | starcoder | <gh_stars>10-100
// Copyright (c) 2019-2021 <NAME>. All Rights Reserved. https://github.com/FaberSanZ
// This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
/*=============================================================================
Trigger.cs
===================================... | 2.582384 | e673f118083ca30bcc17950c571ef536 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829409 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kooroshoo/Endless-Faller",
"max_stars_repo_path": "Assets/Scripts/CreatingPlatforms.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148629"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
public class CreatingPlatforms : MonoBehaviour
{
[SerializeField] private GameObject[] platforms;
public float instantiateRateInSeconds;
public float platformSpeed;
private float totalTime;
... | 2.274609 | b8b3be0b490dd0b6547f59fd057f9f82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "210215-USF-NET/Jacob_Gaughan_P0",
"max_stars_repo_path": "StoreApp/StoreBL/CustomerBL.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148630"
} | starcoder | <reponame>210215-USF-NET/Jacob_Gaughan_P0
using System;
using System.Collections.Generic;
using StoreDL;
using StoreModels;
namespace StoreBL
{
public class CustomerBL : ICustomerBL
{
private ICustomerRepository _repo;
public CustomerBL(ICustomerRepository repo){
_repo = repo;
... | 2.140047 | e02c8096086f358382be3662fa8c6eca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829411 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xvan/vb6-merge-driver",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148631"
} | starcoder | <reponame>xvan/vb6-merge-driver
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.IO;
using System.Runtime.ConstrainedExecution;
using System.Diagnostics;
namespace vb6_merge_driver
{
public cla... | 2.301205 | 97771a68f293c72a8793822cca412bc8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.