added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71133 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jaimegh2012/controlEquipo",
"max_stars_repo_path": "ControlEquipo/ControlEquipo.WebAdmin/Controllers/ProcesadoresController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71134"
} | starcoder | using ControlEquipo.BL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace ControlEquipo.WebAdmin.Controllers
{
[Authorize]
public class ProcesadoresController : Controller
{
ProcesadorBL _procesadorBL;
List<Pro... | 2.246178 | 76d3be2c0b6ad613d83e030c16ae5e21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71134 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mvanderelsen/Lego.Ev3.Framework",
"max_stars_repo_path": "Lego.Ev3.Framework/Firmware/lms2012/ENCRYPT.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71135"
} | starcoder | <gh_stars>1-10
namespace Lego.Ev3.Framework.Firmware
{
internal enum ENCRYPT
{
ENCRYPT_NONE = 0,
ENCRYPT_WPA2 = 1,
}
}
| 1.2612 | 4d1610085d4ab49a282da6bedbc0551d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71135 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "colinangusmackay/Xander.PasswordValidator",
"max_stars_repo_path": "src/Xander.PasswordValidator.TestSuite/TestValidationHandlers/AlwaysFailValidationHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71136"
} | starcoder | <filename>src/Xander.PasswordValidator.TestSuite/TestValidationHandlers/AlwaysFailValidationHandler.cs
namespace Xander.PasswordValidator.TestSuite.TestValidationHandlers
{
public class AlwaysFailValidationHandler : ValidationHandler
{
public override bool Validate(string password)
{
return false;
... | 1.699125 | 31f651f72b8e8a5ae8ca1a6c9d361117 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71136 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "DapperDino/Roguelike-Stream",
"max_stars_repo_path": "Assets/Scripts/StateMachines/StateActions/StateAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71137"
} | starcoder | <gh_stars>1-10
using UnityEngine;
namespace Roguelike.StateMachines.StateActions
{
public abstract class StateAction : MonoBehaviour
{
public virtual void Enter() { }
public virtual void Trigger(float deltaTime) { }
public virtual void Exit() { }
}
}
| 1.598055 | 4d184a4bd99a15cba30960f0ddbd80b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71137 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maikelbos0/WarOfEmpires",
"max_stars_repo_path": "WarOfEmpires.Queries/Empires/GetBuildingQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71138"
} | starcoder | using WarOfEmpires.Models.Empires;
namespace WarOfEmpires.Queries.Empires {
public sealed class GetBuildingQuery : IQuery<BuildingModel> {
public string Email { get; }
public string BuildingType { get; }
public GetBuildingQuery(string email, string buildingType) {
Email = ... | 2.388007 | 473c6cb0811ef757453b076d6cc27a9c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71138 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "SimonPrins/TyrSc2",
"max_stars_repo_path": "Tyr/Micro/WaitForDetectionController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71139"
} | starcoder | using SC2APIProtocol;
using SC2Sharp.Agents;
using SC2Sharp.Util;
namespace SC2Sharp.Micro
{
public class WaitForDetectionController : CustomController
{
public override bool DetermineAction(Agent agent, Point2D target)
{
if (agent.Unit.IsFlying)
return false;
... | 2.444567 | 0228fb5d8ea815883600d9fefdef3a0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71139 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ysofologis/samples",
"max_stars_repo_path": "src/ys.samples.webapi/ys.samples.core/dataaccess/IEntityRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71140"
} | starcoder | <filename>src/ys.samples.webapi/ys.samples.core/dataaccess/IEntityRepository.cs
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace ys.samples.dataaccess {
pu... | 2.204606 | 69cf4e69d52027904d83164349c1074d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71140 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nicolasazrak/RenderMan",
"max_stars_repo_path": "SRC/Renderman/ParticleSystemManager/ParticleSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71141"
} | starcoder | <reponame>nicolasazrak/RenderMan
using Microsoft.DirectX;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AlumnoEjemplos.SRC.Renderman.ParticleSystemManager
{
class ParticleSystem
{
List<Particle> particles;
Vector3 gravity;
Vector3 slime... | 1.703848 | 05f8b3e03b57778697d767451c94877b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71141 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "brian91292/BeatSaberMarkupLanguage",
"max_stars_repo_path": "BeatSaberMarkupLanguage/TypeHandlers/ButtonHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71142"
} | starcoder | <filename>BeatSaberMarkupLanguage/TypeHandlers/ButtonHandler.cs
using BeatSaberMarkupLanguage.Parser;
using System;
using System.Collections.Generic;
using UnityEngine.UI;
using static BeatSaberMarkupLanguage.BSMLParser;
namespace BeatSaberMarkupLanguage.TypeHandlers
{
[ComponentHandler(typeof(Button))]
publi... | 2.595543 | 6a723d37e3a09fd9d30ce16b246598cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71142 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gerinka/EnhancedDocumentCreator",
"max_stars_repo_path": "Edc.WebClient/App_Start/AutofacConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71143"
} | starcoder | using System.Configuration;
using System.Data.Common;
using System.Linq;
using System.Reflection;
using System.Web.Http;
using System.Web.Mvc;
using Autofac;
using Autofac.Core;
using Autofac.Integration.Mvc;
using Autofac.Integration.WebApi;
using Edc.Infrastructure.Configuration;
using Edc.Infrastructure.DataAccess;... | 1.771094 | ea7e77455730a01878ba85e40f6be07c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71143 | {
"extension": "c-sharp",
"max_stars_count": "204.0",
"max_stars_repo_name": "christopher-james-mcmahon/active-directory-b2c-advanced-policies",
"max_stars_repo_path": "wingtipgamesb2c/src/WingTipGamesWebApplication/Views/Demo/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:71144"
} | starcoder | <reponame>christopher-james-mcmahon/active-directory-b2c-advanced-policies
@{
Layout = null;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Demo - Wing... | 2.112596 | bb45a0b0905f6bdc188bfa58c52a6165 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71144 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "haonguyen96/laptrinhweb",
"max_stars_repo_path": "dmtg.aspx.designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71145"
} | 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.406652 | e58c7689a3797aa454b7482dce388352 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71145 | {
"extension": "c-sharp",
"max_stars_count": "187.0",
"max_stars_repo_name": "Dithn/nunit3-vs-adapter",
"max_stars_repo_path": "src/NUnitTestAdapter/NUnit3TestExecutor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71146"
} | starcoder | <reponame>Dithn/nunit3-vs-adapter
// ***********************************************************************
// Copyright (c) 2011-2021 <NAME>, <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal i... | 1.692439 | b6c9183c0a4061b4cee37391e2d11caf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71146 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DeltaX-Community/DeltaX",
"max_stars_repo_path": "Source/Core/DeltaX.Domain.Common/Repositories/IRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71147"
} | starcoder | <reponame>DeltaX-Community/DeltaX<gh_stars>1-10
namespace DeltaX.Domain.Common.Repositories
{
public interface IRepository
{
IUnitOfWork UnitOfWork { get; }
}
}
| 1.216826 | 325733548628ccd28e61f47b3afdeb4c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71147 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "linksplatform/Sigil-vNext",
"max_stars_repo_path": "SigilTests/Compares.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71148"
} | starcoder | <filename>SigilTests/Compares.cs
using NUnit.Framework;
using Sigil;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace SigilTests
{
[TestFixture]
public partial class Compares
{
[Test]
public void Equals()
{
var e... | 2.593432 | 97599f8dbd900cb2c22ec1b254c383e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71148 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ivandrofly/corefx",
"max_stars_repo_path": "src/Common/src/Interop/Unix/System.Security.Cryptography.Native/Interop.EcDsa.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71149"
} | starcoder | <reponame>ivandrofly/corefx
// 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.InteropServices;
using Microsoft.Win32.SafeHandles;
internal stati... | 1.904883 | f5c495a478892968c40bac3e7cada742 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71149 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "almartson/UnityMainMenuTemplate",
"max_stars_repo_path": "Assets/Scripts/LoadAutomatically.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71150"
} | starcoder | using UnityEngine;
/// <summary>
/// This class allows us to load a scene automatically, in a certain programmed moment.
/// </summary>
public class LoadAutomatically : MonoBehaviour
{
/// <summary>
/// The Level to Load.
/// </summary>
[Tooltip("The Level to Load.")]
public int _myLevel = 1;
... | 3.09769 | 66f0907a087172aaba1967aa53e26768 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "longod/WhiteAlbum",
"max_stars_repo_path": "WA.Viewer/ViewModels/SettingsControlViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71151"
} | starcoder | using Prism.Commands;
using Prism.Mvvm;
using Prism.Services.Dialogs;
using Reactive.Bindings;
using Reactive.Bindings.Extensions;
using System;
using System.Reactive.Disposables;
using System.Windows;
using System.Windows.Controls;
namespace WA.Viewer.ViewModels
{
class SettingsControlViewModel : Bin... | 1.840816 | b096bbc0e1c6d948dfb82c17cad11b76 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71151 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "msimecek/Guess-Speaker-Bot",
"max_stars_repo_path": "MDevCampBot/Services/TelemetryService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71152"
} | starcoder | using MDevCampBot.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
namespace MDevCampBot.Services
{
public static class TelemetryService
{
//static HttpCl... | 2.363268 | 7bb399e954651683a7a72e892d43b768 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71152 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tsuixl/UploadCloud",
"max_stars_repo_path": "upload/Common/UploadFileInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71153"
} | starcoder | <filename>upload/Common/UploadFileInfo.cs
using System.IO;
using Util;
namespace Common
{
public class UploadFileInfo
{
public string LocalFileName { get; set; }
public string UploadFileName { get; set; }
public UploadFileInfo(string localFileName)
{
SetFileName (lo... | 2.637455 | 4c4750a1e505fb2da8806f3039b40a02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71153 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NovusCraft/NovusCraft",
"max_stars_repo_path": "source/NovusCraft/Web/Controllers/BlogController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71154"
} | starcoder | // # Copyright © 2011-2012, Novus Craft
// # All rights reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web.Mvc;
using AutoMapper;
using NovusCraft.Infrastructure.AreaRegistrations;
using NovusCraft.Infrastructure.Commands;
using NovusCraft.Infrastructure.I... | 1.924677 | f3a09bf782ea10e9cb94df03fb3ff43f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71154 | {
"extension": "c-sharp",
"max_stars_count": "77.0",
"max_stars_repo_name": "AjayIdeology/SalesProject",
"max_stars_repo_path": "DataLayer/DataClasses/SampleWebAppDb.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71155"
} | starcoder | <reponame>AjayIdeology/SalesProject
#region licence
// The MIT License (MIT)
//
// Filename: SampleWebAppDb.cs
// Date Created: 2014/05/20
//
// Copyright (c) 2014 <NAME> (www.selectiveanalytics.com & www.thereformedprogrammer.net)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
/... | 2.472727 | 244136c9f7e79aa0f22b36fee78d7198 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71155 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xtremista89/NEAT.net",
"max_stars_repo_path": "NEAT/ConnectionGene.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71156"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NEAT.Abstrations;
namespace NEAT
{
public class ConnectionGene : IConnectionGene
{
public ConnectionGene(uint innovation, INodeGene input, INodeGene output, float weight)
{... | 2.676036 | c21845f9ae1ac3f09b227c6cc0e0e05b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71156 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SK0P3iN/Rapid-Prototyping-Unity-Game",
"max_stars_repo_path": "Assets/Plugins/GameCreator/Core/Mono/Utilities/Attributes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71157"
} | starcoder | <reponame>SK0P3iN/Rapid-Prototyping-Unity-Game
namespace GameCreator.Core
{
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// --------------------------------------------------------------------------------------------
public class VariableAttribute : PropertyAttribute
{
publi... | 2.108661 | 2c47a7c5ac317ce12846f7da075d1204 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71157 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FacioRatio/CSharpRailway",
"max_stars_repo_path": "FacioRatio.CSharpRailway/Extensions/TeeABCDE.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71158"
} | starcoder | <reponame>FacioRatio/CSharpRailway<gh_stars>1-10
using System;
using System.Threading.Tasks;
namespace FacioRatio.CSharpRailway
{
[System.Diagnostics.DebuggerStepThrough]
public static class ResultTeeABCDEExtensions
{
public static Result<(A, B, C, D, E)> Tee<A, B, C, D, E>(this Result<(A, B, C, D... | 2.959301 | 7d22fac44a94779b9a393e0366b57046 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VanGog06/FootballApp",
"max_stars_repo_path": "Web/FootballApp.Api/Controllers/StandingsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71159"
} | starcoder | <reponame>VanGog06/FootballApp
using FootballApp.Services.DataServices.Contracts;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace FootballApp.Api.Controllers
{
[Authorize]
[Route("api/[controller]")]
[ApiController]
public class StandingsController : ControllerBase
... | 2.159078 | 60e2b041a1b34b9e66c1b9697cdaa0a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71159 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "letmego9go/RapidityHttp",
"max_stars_repo_path": "src/Configurations/HttpServiceConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71160"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
namespace Rapidity.Http.Configurations
{
/// <summary>
/// 全局配置信息
/// </summary>
public class HttpServiceConfiguration : IHttpServiceConfiguration
{
private readonly ArrayList _innerList = new ArrayList();
p... | 2.886758 | 81ab6279af11ac3fccda3ef70286b85f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71160 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "webyneter/Components-Analysis",
"max_stars_repo_path": "App/SettingsForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71161"
} | starcoder | namespace Webyneter.ComponentsAnalysis.App
{
partial class SettingsForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </... | 1.688864 | 97b9a74c7da21ddca50c474568bb0562 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71161 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "planetClaire/Orchard-FileUploadField",
"max_stars_repo_path": "Settings/DbFilesFieldSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71162"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace DbFilesField.Settings
{
public class DbFilesFieldSettings
{
public string Hint { get; set; }
public bool Required { get; set; }
public bool AllowMultiple { get; set; }
[Required]
public int MaxKb { get; set; }
... | 1.887541 | 8d9af269f6d162fe8dd8341446ee6093 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71162 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "axionbio/SpiceSharp",
"max_stars_repo_path": "SpiceSharp/Components/Semiconductors/MOS/Common/ModelNoiseParameters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71163"
} | starcoder | using SpiceSharp.Attributes;
namespace SpiceSharp.Components.MosfetBehaviors.Common
{
/// <summary>
/// Noise parameters for a <see cref="Model"/>
/// </summary>
public class ModelNoiseParameters : ParameterSet
{
/// <summary>
/// Gets the flicker-noise coefficient parameter.
... | 2.335766 | f09ebb3105de6406409be1fd68cf1dba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71163 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "spoconnor/ElixirMessagingServer",
"max_stars_repo_path": "DotNet/TestClient/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71164"
} | starcoder | <filename>DotNet/TestClient/Constants.cs
using System;
namespace Hexpoint.Blox
{
/// <summary>
/// Use Settings class for values that can be altered but not saved.
/// Use Config class for values that can be altered and saved.
/// Use Constants class for values that cannot be altered.
/// </summary>
internal st... | 2.591307 | d440594b498ff85089da07634bf45b62 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71164 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "knocte/TelegramClient",
"max_stars_repo_path": "src/TelegramClient.Core/ApiServies/AuthApiService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71165"
} | starcoder | namespace TelegramClient.Core.ApiServies
{
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using BarsGroup.CodeGuard;
using OpenTl.Schema;
using OpenTl.Schema.Account;
using OpenTl.Schema.Auth;
using TelegramClient.Core.ApiS... | 2.009526 | a2ec755a95c6147dc057f1ccc77079a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71165 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "usernameHed/Splago",
"max_stars_repo_path": "Splago/Assets/_Scripts/Core/Utils/EventAnalytics.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71166"
} | starcoder | <filename>Splago/Assets/_Scripts/Core/Utils/EventAnalytics.cs
/*using UnityEngine;
using UnityEngine.Analytics;
using System.Collections.Generic;
//[RequireComponent(typeof(CircleCollider2D))]
public class EventAnalytics : MonoBehaviour
{
#region variable
/// <summary>
/// variable privé
/// </summary... | 2.289855 | 8a61c58aef6769406b27eb5877fa1412 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71166 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gustavoandradebh/ProjectCode",
"max_stars_repo_path": "Crossover_ProjectCode/ProjectCode.Ui.Api/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71167"
} | starcoder | <gh_stars>0
using AutoMapper;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using ProjectCode.Application.Service;
using ProjectCod... | 1.855584 | 5151693d6e87e342bd3ccfd04ad38698 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71167 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "lnupmi11/ScientificReport",
"max_stars_repo_path": "ScientificReport.DTO/Models/Department/DepartmentCreateModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71168"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace ScientificReport.DTO.Models.Department
{
public class DepartmentCreateModel
{
[Required]
public string Title { get; set; }
[Required]
[Display(Name = "Head of Department")]
public Guid S... | 1.887096 | b4c7f4352d9a3d3b5a9ca596e325abc9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71168 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "michal880/device-simulation-dotnet",
"max_stars_repo_path": "Services/Exceptions/InvalidInputException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71169"
} | starcoder | <filename>Services/Exceptions/InvalidInputException.cs
// Copyright (c) Microsoft. All rights reserved.
using System;
namespace Microsoft.Azure.IoTSolutions.DeviceSimulation.Services.Exceptions
{
/// <summary>
/// This exception is thrown when a client sends a request badly formatted
/// or containing inv... | 2.457846 | 4b00fffd9f654b43dfbd5c051d147cc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71169 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "BlocksTeam/Blocks",
"max_stars_repo_path": "Blocks/Utils/NBT/IntTag.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71170"
} | starcoder | /*
╔══╗─ ╔╗─── ╔═══╗ ╔═══╗ ╔╗╔═╗ ╔═══╗
║╔╗║─ ║║─── ║╔═╗║ ║╔═╗║ ║║║╔╝ ║╔═╗║
║╚╝╚╗ ║║─── ║║─║║ ║║─╚╝ ║╚╝╝─ ║╚══╗
║╔═╗║ ║║─╔╗ ║║─║║ ║║─╔╗ ║╔╗║─ ╚══╗║
║╚═╝║ ║╚═╝║ ║╚═╝║ ║╚═╝║ ║║║╚╗ ║╚═╝║
╚═══╝ ╚═══╝ ╚═══╝ ... | 2.29633 | dc894058f68c1e679287773c47d5b7f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71170 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "fforjan/ChromeDevTools.Host",
"max_stars_repo_path": "ChromeDevTools.Host/Runtime/Input/TouchPoint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71171"
} | starcoder | <reponame>fforjan/ChromeDevTools.Host<gh_stars>1-10
namespace ChromeDevTools.Host.Runtime.Input
{
using Newtonsoft.Json;
/// <summary>
/// TouchPoint
/// </summary>
public sealed class TouchPoint
{
/// <summary>
/// X coordinate of the event relative to the main frame's viewport... | 2.347815 | ed3832b1c838b4260961cfcdcce59733 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71171 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dannyc84/MinesweeperGame",
"max_stars_repo_path": "MinesweeperBusinessLogic/Models/FieldModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71172"
} | starcoder | <reponame>dannyc84/MinesweeperGame
using MinesweeperBusinessLogic.Interfaces;
using System;
namespace MinesweeperBusinessLogic.Models
{
public class FieldModel : IFieldModel
{
private SquareModel[,] mineField { get; set; }
private int rows { get; set; }
private int cols { get; set; }
... | 3.292773 | 50d2a20585ad7681e065999b9cdd2e0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71172 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tugrulcan/UniversitePersonelOtomasyonu",
"max_stars_repo_path": "UniversitePersonelOtomasyon/Models/DataModel/tblKullanicilar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71173"
} | starcoder | <filename>UniversitePersonelOtomasyon/Models/DataModel/tblKullanicilar.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manu... | 2.011065 | efb8d3ef320c10d8d582862e6b38978e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71173 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HNochev/PublicTransport",
"max_stars_repo_path": "PublicTransport/Areas/Identity/Pages/Account/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:71174"
} | starcoder | @using PublicTransport.Areas.Identity.Pages.Account | 1.233435 | 99eb41e572fe343b4ebeedb3063622f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71174 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "voxell-tech/UnityASR",
"max_stars_repo_path": "Runtime/DeepSpeechClient/Structs/Metadata.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71175"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace DeepSpeechClient.Structs
{
[StructLayout(LayoutKind.Sequential)]
internal unsafe struct Metadata
{
/// <summary>
/// Native list of candidate transcripts.
/// </summary>
internal unsafe IntPtr transcripts;
... | 2.005232 | 333eba16728fd76dd383c0b994b9b9c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71175 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Simplicio00/NSG_BancoDeVagas_Senai",
"max_stars_repo_path": "Back end/Banco_De_Vagas_NSG/Banco_De_Vagas_NSG/Controllers/CandidatoController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71176"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Banco_De_Vagas_NSG.Configurations;
using Banco_De_Vagas_NSG.Configurations.Model;
using Banco_De_Vagas_NSG.Domains;
using Banco_De_Vagas_NSG.Interfaces;
using Banco_De_Vagas_NSG.Solutions;
using Microsoft.AspNetCore.... | 2.014304 | f6440c71217f6ccfdce608653983e9c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71176 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hugoj0s3/SimpleValidationComposite",
"max_stars_repo_path": "src/SimpleCompositeValidation/Validations/String/StringMaximumLengthValidation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71177"
} | starcoder | <filename>src/SimpleCompositeValidation/Validations/String/StringMaximumLengthValidation.cs
using System.Collections.Generic;
using SimpleCompositeValidation.Base;
namespace SimpleCompositeValidation.Validations.String
{
/// <summary>
/// Validates a string requiring a maximum length.
/// </summary>
... | 3.394977 | 1337e7719353bcb6d6fbdc8064612486 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71177 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "Paymentsense/Dapper.SimpleLoad",
"max_stars_repo_path": "src/Dapper.SimpleLoad/IDbConnectionFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71178"
} | starcoder | using System;
using System.Data;
namespace Dapper.SimpleLoad
{
public interface IDbConnectionFactory : IDisposable
{
IDbConnection GetConnection();
}
}
| 1.675737 | 80449a3cc5c7ac2bce13f2387f4522c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71178 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kangtao/azure-sdk-for-net",
"max_stars_repo_path": "sdk/digitaltwins/Azure.DigitalTwins.Core/src/Serialization/WritableProperty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71179"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Text.Json.Serialization;
namespace Azure.DigitalTwins.Core.Serialization
{
/// <summary>
/// An optional, helper class for deserializing a digital twin.
/// The ModelProperties dictionary on <see ... | 2.236686 | 7e9515bdc04b9dc944233b154e887fd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71179 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ar-museum/ar-component",
"max_stars_repo_path": "Menu_And_AR/Assets/Scripts/AR_TEAM/Http/Endpoints.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71180"
} | starcoder | namespace Assets.Scripts.AR_TEAM.Http {
public static class Endpoints {
public static readonly string JSON_TOKEN_INPUT =
"{ \"deviceId\": \"2535C5EB-D6ED-4ABC-956B-4ACF29938F26\", \"token\": \"<PASSWORD>\" }";
public static readonly string API_URL = "https://armuseum.ml/api/";
p... | 1.461461 | ae17696eaf4cc78b2a785d31434f8ca9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71180 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Darlingnotin/project-apollo",
"max_stars_repo_path": "ProjectApollo/Registry/APIRegistry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71181"
} | starcoder | // Copyright 2020 Vircadia
//
// 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 or agr... | 2.271592 | 26873518e0d6ec900b5de041db2e6943 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71181 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "KojimaKumiko/LogParser",
"max_stars_repo_path": "LogParser/Models/Enums/Install.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71182"
} | starcoder | namespace LogParser.Models.Enums
{
public enum Install
{
None = 0,
Success = 1,
UpToDate = 2,
Error = 3,
}
}
| 1.734851 | a1434af1c2dd9ceedb4fe6c5cb868e83 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71182 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eshava/report.pdf",
"max_stars_repo_path": "Eshava.Report.Pdf.Core/Models/ElementRectangle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71183"
} | starcoder | <gh_stars>0
using Eshava.Report.Pdf.Core.Interfaces;
namespace Eshava.Report.Pdf.Core.Models
{
public class ElementRectangle : ElementLine
{
public override void Draw(IGraphics graphics, Point topLeftPage, Size sizePage)
{
var rectangleSize = GetSize(graphics);
var topLeft = new Point(topLeftPage.X + PosX... | 2.439082 | 778252c7fceb36aad6934fb2fd2c0f70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71183 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Oj18/HPP-NC",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71184"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using Mono.Cecil;
using Mono.Cecil.Cil;
using Mono.Cecil.Inject;
namespace HPP_NC
{
// This will be the modloader.
public static class PatcherProgram
{
internal ... | 2.079218 | 4cc647264740094a2041194038482129 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71184 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeCity/Lykke.Service.PaySign",
"max_stars_repo_path": "src/Lykke.Service.PaySign/Controllers/CallbackStubController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71185"
} | starcoder | <filename>src/Lykke.Service.PaySign/Controllers/CallbackStubController.cs
using System;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using Common.Log;
using Lykke.Common.Api.Contract.Responses;
using Lykke.Common.Log;
using Lykke.Service.PaySign.Core.Services;
using Microsoft.AspNe... | 2.116898 | cf45aa0a050b6e206861a790eb25abdb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71185 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RocketSurgeonsGuild/SpaceShuttle",
"max_stars_repo_path": "src/Foundation/InheritFromAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71186"
} | starcoder | using System.Diagnostics;
namespace Rocket.Surgery.LaunchPad.Foundation;
/// <summary>
/// Allows you copy the properties of the another class or interface, and include a helper method to copy content to the given record.
/// </summary>
/// <remarks>
/// This attribute works on record classes only.
/// </rem... | 2.74388 | 10d57eea132704727397d8975d19c7df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71186 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Liang-Zhinian/CqrsFrameworkDotNet",
"max_stars_repo_path": "Sample/Reservation/v1/Registration/Registration.Domain/AggregatesModel/OrderStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71187"
} | starcoder | <filename>Sample/Reservation/v1/Registration/Registration.Domain/AggregatesModel/OrderStatus.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Registration.Domain.SeedWork;
namespace Registration.Domain.AggregatesModel
{
public class OrderStatus : Enumeration
{
public static ... | 2.812516 | 3c48817d2a313d259a2842271fd53343 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71187 | {
"extension": "c-sharp",
"max_stars_count": "83.0",
"max_stars_repo_name": "chiller00/QuickBooks-V3-DotNET-SDK",
"max_stars_repo_path": "IPPDotNetDevKitCSV3/ThirdParty/Linq Extender/QueryProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71188"
} | starcoder | ////********************************************************************
//https://github.com/mehfuzh/LinqExtender/blob/master/License.txt
//Copyright (c) 2007- 2010 LinqExtender Toolkit Project.
//Project Modified by Intuit
/*******************************************************************************
* Copyright... | 2.174336 | 11f6f23b9dc77d25b722c74319c7eac0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71188 | {
"extension": "c-sharp",
"max_stars_count": "1984.0",
"max_stars_repo_name": "stefb965/nodejstools",
"max_stars_repo_path": "Common/Tests/Utilities/OutputReceiver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71189"
} | starcoder | <gh_stars>1000+
// 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.Diagnostics;
using System.Text;
namespace TestUtilities
{
public class OutputReceiver
{
public readonly... | 2.103317 | ec5c158d1158c4fcaa8ae95ed2a12d12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71189 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DanielLoRo31/xamarin-project-uber",
"max_stars_repo_path": "Proyect_U/Views/MapPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71190"
} | starcoder | using Proyect_U.Models;
using Proyect_U.Services;
using Proyect_U.Views;
using System;
using System.Threading.Tasks;
using Xamarin.Essentials;
using Xamarin.Forms;
using Xamarin.Forms.Maps;
using Xamarin.Forms.Xaml;
namespace ZGAF_DELR_EXAMEN_2P.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public... | 2.227611 | fd5f48b70d865506d1d558c505eb0ca8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71190 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hostur/Games-Core",
"max_stars_repo_path": "Assets/_Scripts/UI/Scenes/MainMenu/MainMenuSceneRules.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71191"
} | starcoder | namespace UI.Scenes.MainMenu
{
public class MainMenuSceneRules : SceneRules
{
public override void OnGoBack()
{
if (!CanGoBack) return;
Publish(new ShowPopupEvent(PopupOptions.PositiveNegative,"EXIT", "EXIT_WINDOW_DIALOG", OnPopupResult, true));
}
private void OnPopupResult(PopupResult... | 1.727073 | 7ca045900982855522c46d255b6b8678 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71191 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dfds/resource-provisioning-poc",
"max_stars_repo_path": "src/ResourceProvisioning.Broker.Infrastructure/EntityFramework/Configurations/ResourceRootEntityTypeConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71192"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using ResourceProvisioning.Broker.Domain.Aggregates.ResourceAggregate;
namespace ResourceProvisioning.Broker.Infrastructure.EntityFramework.Configurations
{
class ResourceRootEntityTypeConfiguration : IEntityTyp... | 1.814364 | 8053c883faee1776f9a38f99122ef4eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71192 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Minstreams/FloorBlaster",
"max_stars_repo_path": "Assets/Scripts/SubSystem/AudioSystem/Operator/MusicChanger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71193"
} | starcoder | <reponame>Minstreams/FloorBlaster
using UnityEngine;
namespace GameSystem.Operator
{
[AddComponentMenu("[AudioSystem]/Operator/MusicChanger")]
public class MusicChanger : Linker.AudioConfigLinker
{
#if UNITY_EDITOR
[MinsHeader("Operator of AudioSystem", SummaryType.PreTitleOperator, -1)]
[... | 1.657963 | 5d4897110ab1edce6dd28f5fbba78034 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71193 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ngr90/SImpl.SearchModule",
"max_stars_repo_path": "src/SImpl.SearchModule.Abstraction/Queries/Occurance.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71194"
} | starcoder | <filename>src/SImpl.SearchModule.Abstraction/Queries/Occurance.cs<gh_stars>1-10
namespace SImpl.SearchModule.Abstraction.Queries
{
public enum Occurance
{
Must,
Should,
MustNot,
Filter
}
} | 1.713951 | 5b196ee3512696cfffff9bb045180240 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71194 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mmitche/cli",
"max_stars_repo_path": "src/Microsoft.DotNet.Cli.Utils/CoreHost.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71195"
} | starcoder | using System;
using System.IO;
using Microsoft.DotNet.ProjectModel;
namespace Microsoft.DotNet.Cli.Utils
{
public static class CoreHost
{
internal static string _hostDir;
internal static string _hostExePath;
/// <summary>
/// Gets the path to the version of corehost that was sh... | 2.337076 | 7c4e749886ea6f5320dbb7dd7bdb3dd6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71195 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "finlabsuk/open-banking-connector",
"max_stars_repo_path": "src/OpenBanking.Library.Connector/Operations/ExternalApi/IApiGetRequests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71196"
} | starcoder | <reponame>finlabsuk/open-banking-connector<gh_stars>10-100
// Licensed to Finnovation Labs Limited under one or more agreements.
// Finnovation Labs Limited licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;... | 1.214727 | 46743dcc6dfaa80b389150a3eb639328 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71196 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gabrialessi/GestioneEsercizi",
"max_stars_repo_path": "Project/GestioneEsercizi/GestioneEsercizi/Views/AboutView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71197"
} | starcoder | using System.Diagnostics;
using System.Windows.Controls;
namespace GestioneEsercizi.Views
{
public partial class AboutView : UserControl
{
public AboutView() => InitializeComponent();
private void NavigateWebsite(object sender, System.Windows.Navigation.RequestNavigateEventArgs e)
{
... | 2.086094 | a8e2ad4eb2f0ac8b5cec396ad2679a63 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71197 | {
"extension": "c-sharp",
"max_stars_count": "5937.0",
"max_stars_repo_name": "KodamaSakuno/wpf",
"max_stars_repo_path": "src/Microsoft.DotNet.Wpf/src/UIAutomation/UIAutomationTypes/System/Windows/Automation/TreeScope.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71198"
} | 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.
// Description: TreeScope flags for listening to events
using System;
namespace System.Windows.Automation
{
/... | 2.367875 | d1c44617a3dda7b82e7768a829c8ca2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71198 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeBusinessPlatform/lykke.service.settings",
"max_stars_repo_path": "src/Services/Extensions/ByteExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71199"
} | starcoder | using System.IO;
using System.Security.Cryptography;
using System.Text;
using Newtonsoft.Json;
namespace Services.Extensions
{
public static class ByteExtensions
{
internal static byte[] Encrypt<T>(this T src, string key)
{
byte[] result;
using (var aes = Aes.Create())... | 3.082679 | 4dac646187d54519a8b80f98893edbce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71199 | {
"extension": "c-sharp",
"max_stars_count": "615.0",
"max_stars_repo_name": "tg73/ErrorProne.NET",
"max_stars_repo_path": "src/ErrorProne.NET.Core/BodySyntaxExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71200"
} | starcoder | <reponame>tg73/ErrorProne.NET
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace ErrorProne.NET.Core
{
public static class BodySyntaxExtensions
{
public static MethodDeclarationSyntax? WithStatements(this MethodDeclarationSyntax method... | 2.37513 | 8112820b3b59c227ac8b3f3343da74cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71200 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ckarcz/Strata.ConvertedToCSharp",
"max_stars_repo_path": "modules/product/src/main/java/com/opengamma/strata/product/credit/type/ImmutableCdsConvention.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71201"
} | starcoder | <filename>modules/product/src/main/java/com/opengamma/strata/product/credit/type/ImmutableCdsConvention.cs
using System;
using System.Collections.Generic;
using System.Text;
/*
* Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
namespa... | 1.969144 | fd6f2c412fbfebeb9fd437c18b00c119 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71201 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "archi-Doc/BigMachines",
"max_stars_repo_path": "BigMachines/BigMachines/BigMachine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71202"
} | starcoder | // Copyright (c) All contributors. All rights reserved. Licensed under the MIT license.
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading;
using System... | 2.464691 | 9f55122e0f32042e014a20bdf429dd8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71202 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "iboxdb/db4o-gpl",
"max_stars_repo_path": "db4o.net/Db4odoc.Tutorial.Chapters/F1/Chapter9/TransparentPersistenceExample.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71203"
} | starcoder | <reponame>iboxdb/db4o-gpl<gh_stars>10-100
using System;
using System.IO;
using Db4objects.Db4o;
using Db4objects.Db4o.Config;
using Db4objects.Db4o.TA;
using Db4odoc.Tutorial.F1;
namespace Db4odoc.Tutorial.F1.Chapter9
{
public class TransparentPersistenceExample : Util
{
readonly static stri... | 2.286241 | adb40cf69928164504c2937d0aabe678 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71203 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NanoBob/trilogy-sa-money-trainer",
"max_stars_repo_path": "TrilogyMoneyTrainer/Offsets.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71204"
} | starcoder | <gh_stars>0
namespace TrilogyMoneyTrainer;
public enum Offsets : long
{
Money = 0x5252BC8,
MoneyDisplay = 0x5252BCC
}
| 1.06021 | be5b287d41d9e7e764ecfd801a480f4b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71204 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "horoscope-dev/Dalamud.Divination.DiscordIntegration",
"max_stars_repo_path": "Divination.DiscordIntegration.IpcModel/ClearTemplatesPayload.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71205"
} | starcoder | <gh_stars>0
namespace Divination.DiscordIntegration.IpcModel
{
public class ClearTemplatesPayload
{
public string? Source { get; init; }
public string? Group { get; init; }
}
}
| 0.829044 | 6b2699255f68cb4a2225816c313bd22a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71205 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "willnode/Usink",
"max_stars_repo_path": "Assets/Plugins/Usink/Editor/Modules/Extras.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71206"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using UnityEditor;
using UnityEngine;
using UnityEditor.SceneManagement;
using System.Text.RegularExpressions;
namespace Usink
{
static public class Extras
{
static Event ev { get { re... | 2.142363 | be59d2721e638b38fd3268bc0826bf8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71206 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ridicoulous/Bitfinex.Net",
"max_stars_repo_path": "Bitfinex.Net/BitfinexSocketClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71207"
} | starcoder | using Bitfinex.Net.Converters;
using Bitfinex.Net.Objects;
using Bitfinex.Net.Objects.SocketObjects;
using CryptoExchange.Net;
using CryptoExchange.Net.Logging;
using CryptoExchange.Net.Objects;
using CryptoExchange.Net.Sockets;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.... | 2.098654 | 0b097350401a1e9a2c434ef0927af27e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71207 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WabisabiNeet/salmonlog",
"max_stars_repo_path": "salmonlog/SalmonlogCore/IScene.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71208"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SalmonlogCore
{
public abstract class Scene
{
protected Context ctx { get; set; }
public Scene(Context c)
{
ctx = c;
}
... | 2.57047 | ba496923783f38936da8a79f3fceb892 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71208 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "LazZiya/ExpressLocalization",
"max_stars_repo_path": "LazZiya.ExpressLocalization/GenericResourceReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71209"
} | starcoder | <reponame>LazZiya/ExpressLocalization<gh_stars>10-100
using Microsoft.AspNetCore.Mvc.Localization;
using System;
using System.Globalization;
using System.Resources;
namespace LazZiya.ExpressLocalization
{
/// <summary>
/// Reads resource key and return relevant localized string value
/// </summary>
in... | 2.613336 | 2e90de199255d5b13d1e1b43b689717e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71209 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tngraf/Tethys.Framework",
"max_stars_repo_path": "Tethys.Forms/Caret.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71210"
} | starcoder | #region Header
// --------------------------------------------------------------------------
// Tethys.Silverlight
// ==========================================================================
//
// This library contains common code for Windows Forms applications.
//
// =================================================... | 2.571155 | 3a0ddbe6f9dc49dd5447279217e3c3a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71210 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DuyTungHa/Discrete-Mathematics",
"max_stars_repo_path": "Chapter8/BinarySearchTree/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71211"
} | starcoder | <reponame>DuyTungHa/Discrete-Mathematics<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BinarySearchTree
{
class Program
{
List<int> numbers;
Node root;
static void Main(string[] args)
{
... | 3.618585 | 6afae1c9fd028eaaf2953592165a7702 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71211 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aceade/AceadePathfinding",
"max_stars_repo_path": "Scripts/Editor/BuildMeshEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71212"
} | starcoder | <reponame>aceade/AceadePathfinding
using UnityEngine;
using UnityEditor;
using System.Collections.Generic;
[CustomEditor(typeof(BuildNavMesh))]
public class BuildMeshEditor : Editor {
// a placeholder for a new walkable layer
int walkable;
// these determine the physical size of a Node in world space
float cel... | 2.540387 | 4fbad9f0e2d985bbb6d0a4910cf0d29e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71212 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-ILR-1819-ReportService",
"max_stars_repo_path": "src/ESFA.DC.ILR.ReportService.Tests/Helpers/TestFM35Builder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71213"
} | starcoder | <reponame>SkillsFundingAgency/DC-ILR-1819-ReportService
using System.Collections.Generic;
using ESFA.DC.ILR.FundingService.FM35.FundingOutput.Model.Output;
namespace ESFA.DC.ILR.ReportService.Tests.Helpers
{
public static class TestFM35Builder
{
public static FM35Global Build()
{
r... | 1.67243 | 0b1cf325b757a05925dfe88fd441d02f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71213 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "greeduomacro/vivre-uo",
"max_stars_repo_path": "Scripts/Mobiles/Special/Wanderer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71214"
} | starcoder | <gh_stars>0
using System;
using Server;
namespace Server.Mobiles
{
public class Wanderer : Mobile
{
private Timer m_Timer;
[Constructable]
public Wanderer()
{
this.Name = "Me";
this.Body = 0x1;
this.AccessLevel = AccessLevel.Counselor;
m_Timer = new InternalTimer( this );
m_Timer.Start();
... | 2.41306 | eb44824cb2771cd18c40bcf09303c993 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71214 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kusbr/azure-iothub-tcpgw",
"max_stars_repo_path": "SocketIoT.Core.Contracts/Credentials/IDeviceCredential.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71215"
} | starcoder | namespace SocketIoT.Core.Common
{
public interface IDeviceCredential
{
DeviceCredentialType credentialType { get; }
string DeviceId { get; }
string Username { get; }
string SasToken{ get; }
}
}
| 1.692842 | abd2fc8aa465c5b3deba664307a9a952 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71215 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "csf-dev/CSF.Screenplay.Selenium",
"max_stars_repo_path": "CSF.Screenplay.Selenium/BrowserFlagsIntegrationBuilderExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71216"
} | starcoder | <reponame>csf-dev/CSF.Screenplay.Selenium
using System;
using CSF.FlexDi;
using CSF.Screenplay.Integration;
using CSF.WebDriverExtras.Flags;
namespace CSF.Screenplay.Selenium
{
/// <summary>
/// Extension methods relating to the registration of an implementation <see cref="IGetsBrowserFlags"/> for Screenplay.
/... | 2.145045 | 576fb178f0aa9b8aa43cc2f21a7a225e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71216 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SNBnani/Xian",
"max_stars_repo_path": "ImageViewer/Common/WorkItem/Tests/TestServiceProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71217"
} | starcoder | #if UNIT_TESTS
using System;
using ClearCanvas.Common;
using System.ServiceModel;
namespace ClearCanvas.ImageViewer.Common.WorkItem.Tests
{
// Use a UnitTestExtensionFactory instead of declaring this an extension, because it will break debug builds that include the UNIT_TESTS symbol.
internal class... | 2.020538 | 4c15a46e02d3bfefd5f005528dbbb5d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71217 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ddrake/Factotum",
"max_stars_repo_path": "Factotum/AppMain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71218"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlServerCe;
using System.IO;
using DowUtils;
namespace Factotum
{
public partial class AppMain : Form
{
// Allow 3 seconds to conne... | 2.196359 | 542250e0679a4ac167036daa3164954b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71218 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "akadirdursun/HoodedGreenGoblin",
"max_stars_repo_path": "Hooded-Green Goblin/Assets/Scripts/Managers/EnemySpawner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71219"
} | starcoder | <gh_stars>0
using AbdulkadirDursun.ScriptableEvents;
using System.Collections.Generic;
using UnityEngine;
public class EnemySpawner : MonoBehaviour
{
[SerializeField] private GameObject enemyPrefabs;
[SerializeField] private Transform spawnPosition;
[SerializeField] private int maxEnemy = 0;
[Header... | 2.311645 | 231ba670ad17ec7ea3804419a8408dab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71219 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stephen-hawley/xamarin-macios",
"max_stars_repo_path": "src/Intents/INSetClimateSettingsInCarIntent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71220"
} | starcoder | <filename>src/Intents/INSetClimateSettingsInCarIntent.cs
#if IOS
using System;
using Foundation;
using Intents;
using ObjCRuntime;
namespace Intents {
public partial class INSetClimateSettingsInCarIntent {
#if NET
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform (... | 1.832622 | 0036a4170a61b21b61a1a94515e5a01d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71220 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zadykian/postgres-marula",
"max_stars_repo_path": "src/Postgres.Marula.App.Control/UIElements/Lifetime/UiShutdown.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71221"
} | starcoder | using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Terminal.Gui;
namespace Postgres.Marula.App.Control.UIElements.Lifetime
{
/// <inheritdoc />
internal class UiShutdown : IUIShutdown
{
private readonly IHostApplicationLifetime applicationLifetime;
public UiShutdown(IHostApplicationLifetim... | 1.976733 | bf40d53ce7b65c5ba9bc7f951f73248b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71221 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "glad4enkonm/micron",
"max_stars_repo_path": "core/templates/Core/Grpc/_Server.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71222"
} | starcoder |
using System.Threading;
using System.Threading.Tasks;
using Broadcast.<%= packagePascalCase %>;
using Grpc.Core;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Core.Business.Interface;
using Core.Helper;
using static Broadcast.<%= packagePascalCa... | 2.128784 | 7e483a50c77050cec92e6ac133ae0344 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71222 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cps274203/LEO",
"max_stars_repo_path": "SyslogAnalysis.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71223"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Load_Effort_Optimisation
{
public partial class SyslogAnalysis : F... | 2.153729 | 64d9eaa559d19bd702926b65cdcf1c3c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71223 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DontBelieveMe/Markdown2Html.Net",
"max_stars_repo_path": "Markdown2Html/Source/Link.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71224"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
namespace Markdown2Html
{
class Link : Parser
{
private bool IsLinkStart(string token)
{
return token == "[";
}
... | 3.170839 | 47907bbd97e5a94287ab794c3833b4f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71224 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JBildstein/Cudio",
"max_stars_repo_path": "Source/Cudio/Commands/ICommandHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71225"
} | starcoder | using System.Threading.Tasks;
namespace Cudio
{
/// <summary>
/// Provides methods to execute a command.
/// </summary>
/// <typeparam name="T">The type of the command.</typeparam>
public interface ICommandHandler<T>
where T : ICommand
{
/// <summary>
/// Executes a comm... | 3.016978 | 3a4ccda3d39c451497f3e5baac29a2cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71225 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "pavl0v/RandomForest",
"max_stars_repo_path": "RandomForest.App/ViewModels/MainWindowViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71226"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RandomForest.App.ViewModels
{
public class MainWindowViewModel : INotifyPropertyChanged
{
private Mode _selectedMode = Mode.Excel;
public M... | 2.683073 | 14f8d963122ee75b30784c8908ee754e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71226 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "augustoproiete-forks/cake-contrib--Cake.7zip",
"max_stars_repo_path": "src/Cake.7zip.Tests/Parsers/TestOutputParserTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71227"
} | starcoder | <reponame>augustoproiete-forks/cake-contrib--Cake.7zip<filename>src/Cake.7zip.Tests/Parsers/TestOutputParserTests.cs
using System.Linq;
using Cake.SevenZip.Parsers;
using Cake.SevenZip.Tests.Fixtures;
using FluentAssertions;
using Xunit;
namespace Cake.SevenZip.Tests.Parsers
{
public class TestOutputParserTests... | 2.32172 | d88bc27c6dd2082d8ae0f914c6a7e42f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71227 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "tarwn/BasicAzureStorageSDK",
"max_stars_repo_path": "Basic.Azure.Storage/Communications/BlobService/BlobOperations/LeaseBlobReleaseRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71228"
} | starcoder | using Basic.Azure.Storage.Communications.Core;
using Basic.Azure.Storage.Communications.Core.Interfaces;
using Basic.Azure.Storage.Communications.Utility;
namespace Basic.Azure.Storage.Communications.BlobService.BlobOperations
{
/// <summary>
/// Lease Blob - Only the Release Lease action
/// https://msdn... | 2.493248 | ece0457bd157149eab5fa2764e790852 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71228 | {
"extension": "c-sharp",
"max_stars_count": "319.0",
"max_stars_repo_name": "skyhoshi/AjaxControlToolkit",
"max_stars_repo_path": "AjaxControlToolkit/Accordion/AccordionCommandEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71229"
} | starcoder | <reponame>skyhoshi/AjaxControlToolkit
using System;
using System.Web.UI.WebControls;
namespace AjaxControlToolkit {
// The AccordionCommandEventArgs provides access to the container
// AccordionContentPanel for data commands
public class AccordionCommandEventArgs : CommandEventArgs {
AccordionCont... | 1.732466 | d7a0a086e93423737182d4450cfc1d1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71229 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Forbidden-Duck/VideoRentals",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71230"
} | starcoder | using System;
using System.Windows.Forms;
using SQLController;
namespace Rentals {
static class Program {
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main() {
// Initialize the Database
Initializ... | 2.031012 | eae226f102bc0a190fb1a7cfb1e5147b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71230 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HeilOliver/Timeify",
"max_stars_repo_path": "Api/Timeify.Core/Dto/UseCaseRequests/GetJobTaskForJobRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71231"
} | starcoder | using Timeify.Core.Dto.UseCaseResponse;
using Timeify.Core.Interfaces;
namespace Timeify.Core.Dto.UseCaseRequests
{
public class GetJobTaskForJobRequest : IUseCaseRequest<GetJobTaskForJobResponse>
{
public GetJobTaskForJobRequest(int jobId, string userId)
{
JobId = jobId;
... | 1.900358 | cdd919d4442b3912d5b450683d168932 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71231 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "d-velop/dvelop-sdk-cs",
"max_stars_repo_path": "dvelop-sdk-httpclientextensions/HttpClientExtensions/DelegatingHandler/ForwardDvRequestIdHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71232"
} | starcoder | <filename>dvelop-sdk-httpclientextensions/HttpClientExtensions/DelegatingHandler/ForwardDvRequestIdHandler.cs
using System.Diagnostics;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Dvelop.Sdk.BaseInterfaces;
namespace Dvelop.Sdk.HttpClientExtensions.DelegatingHandler
{
public... | 2.263799 | 2ba182eaaf43a47d06461dc32bf5028a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71232 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "psulek/lhqeditor",
"max_stars_repo_path": "src/Utils/NameValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71233"
} | starcoder | <reponame>psulek/lhqeditor
#region License
// Copyright (c) 2021 <NAME> / ScaleHQ Solutions s.r.o.
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including wi... | 2.39649 | cf0b4b10ba4a29087c1d0bc18320f07c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.