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 | 8818118 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "grzesiek-galezowski/pdf-presenter",
"max_stars_repo_path": "PdfPresenter/App.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137338"
} | starcoder | using System;
using System.Configuration;
using System.Windows;
using PdfPresenter.NonGuiCode;
using PdfPresenter.ViewModels;
namespace PdfPresenter
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
[STAThread]
protected override void OnStartu... | 2.229207 | 685d1570e720ab71d6dd59081efeddd1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818119 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "martinwoodward/OpenLiveWriter",
"max_stars_repo_path": "src/managed/OpenLiveWriter.PostEditor/Video/VideoSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137339"
} | starcoder | <reponame>martinwoodward/OpenLiveWriter
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using OpenLiveWriter.CoreServices;
using OpenLiveWriter.CoreServices.Settings;
namespace OpenLiveWriter.PostEditor.Video
{
public clas... | 1.859657 | 2aa9c79aed16011197851d6ade2dd92a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818120 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "dazinator/DotNet.Cabinet",
"max_stars_repo_path": "src/DotNet.Cabinet/FileSizeUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137340"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace DotNet.Cabinets
{
public static class FileSizeUtils
{
}
}
| 1.172063 | 42d150a4ae2b1f115e384162ee66b96a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818121 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "illegitimis/AspNetCore.Diagnostics.HealthChecks",
"max_stars_repo_path": "src/HealthChecks.UI.K8s.Operator/Controller/HealthChecksController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137341"
} | starcoder | using HealthChecks.UI.K8s.Operator.Extensions;
using HealthChecks.UI.K8s.Operator.Handlers;
using k8s;
using Microsoft.Extensions.Logging;
namespace HealthChecks.UI.K8s.Operator.Controller
{
internal class HealthChecksController : IHealthChecksController
{
private readonly IKubernetes _client;
... | 2.049811 | d03adea4378fd14ee1b500c565625cb9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818122 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nifanfa/BootTo.NET",
"max_stars_repo_path": "Kernel/Driver/Power.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137342"
} | starcoder | <filename>Kernel/Driver/Power.cs
namespace MOOS.Driver
{
public static class Power
{
public static void Reboot()
{
//Use PS2 Controller To Reboot
while ((Native.In8(0x64) & 0x02) != 0) ;
Native.Out8(0x64, 0xFE);
Native.Hlt();
}
pub... | 2.139157 | a25998331ee50ce1e15348abb45d8927 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818123 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DrakoGlyph/Riverport",
"max_stars_repo_path": "Riverport/Hero/Artificier/Equipment/SymbioticEvolutionCardController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137343"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Handelabra.Sentinels.Engine.Controller;
using Handelabra.Sentinels.Engine.Model;
namespace Riverport.Artificier
{
public class SymbioticEvolutionCardController : ArtificierBaseCardController
{... | 2.199223 | 4def6700370c4f78e9aa3d87a9eeb2c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818124 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Roman-Dementiev/Dwares",
"max_stars_repo_path": "Druid/Druid.UWP/ResourceSvc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137344"
} | starcoder | <filename>Druid/Druid.UWP/ResourceSvc.cs
//using System;
//using Xamarin.Forms;
//using Dwares.Dwarf;
//using Dwares.Druid.Services;
//using Windows.ApplicationModel.Resources;
//[assembly: Dependency(typeof(Druid.UWP.ResourceSvc))]
//namespace Druid.UWP
//{
// public class ResourceSvc : IResourceSvc
// {
// public... | 2.241818 | f0abd3115bb0ac202a883a9a7cba12c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818125 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "craibuc/intacct-sdk-net",
"max_stars_repo_path": "Intacct.SDK/Functions/InventoryControl/WarehouseTransferCreate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137345"
} | starcoder | <reponame>craibuc/intacct-sdk-net
/*
* Copyright 2021 Sage Intacct, Inc.
*
* 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
*
* or in... | 1.74346 | c774951d62609caecd42fe30638cd546 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818126 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "wangkanai/wangkanai",
"max_stars_repo_path": "Webmaster/src/DependencyInjection/WebmasterApplicationExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137346"
} | starcoder | <reponame>wangkanai/wangkanai
// Copyright (c) 2014-2022 <NAME>, All Rights Reserved.Apache License, Version 2.0
using Microsoft.AspNetCore.Builder;
using Wangkanai.Webmaster;
using Wangkanai.Webmaster.Services;
using Wangkanai.Webserver;
namespace Microsoft.Extensions.DependencyInjection;
/// <summary>
/// Extens... | 1.642193 | 497db7932a0eea69ec8333e59482310d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818127 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ymassad/ComposingHonestFunctionsExamples",
"max_stars_repo_path": "ReportGenerator6/IReportGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137347"
} | starcoder | <gh_stars>1-10
using System.Collections.Immutable;
namespace ReportGenerator6
{
public interface IReportGenerator
{
Report Generate(ImmutableArray<City> cities);
}
} | 1.791806 | b01c0411f5e414f6d04cc22182b998b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818128 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "EIDSS/EIDSS-Legacy",
"max_stars_repo_path": "EIDSS v6/eidss.webclient/Controllers/VectorController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137348"
} | starcoder | using System;
using System.Linq;
using System.Web.Mvc;
using bv.model.BLToolkit;
using bv.model.Model.Core;
using eidss.model.Schema;
using eidss.web.common.Controllers;
using eidss.web.common.Utils;
using eidss.webclient.Utils;
namespace eidss.webclient.Controllers
{
[AuthorizeEIDSS]
public clas... | 1.80645 | 3a243e8e6e34e63c14dafce5b83dd10f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818129 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sholev/SoftUni",
"max_stars_repo_path": "C#-WebDeveloper-3.0/C#-OOP-Basics-June-2016/Exercises/Methods/LastDigitName/LastDigitName/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137349"
} | starcoder | namespace LastDigitName
{
using System;
class Startup
{
static void Main(string[] args)
{
var number = Console.ReadLine();
var wrappedNumber = new Number(number);
Console.WriteLine(wrappedNumber.GetLastDigit());
}
}
}
| 2.827369 | c997cf366f4c8e051fdb6a98e36b29dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818130 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "sanderploegsma/aoc",
"max_stars_repo_path": "2020/csharp/Day23/Solution.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137350"
} | starcoder | <filename>2020/csharp/Day23/Solution.cs
using System.Collections.Generic;
using System.Linq;
namespace AdventOfCode2020.Day23
{
internal class Solution
{
private readonly IReadOnlyCollection<int> _cups;
public Solution(string input)
{
_cups = input.Selec... | 3.33619 | 85b71102eba378357ebb2ea7022cd797 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818131 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "arteknology/AI-2_MiniMax",
"max_stars_repo_path": "Assets/Scripts/GameManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137351"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections;
using UnityEngine.UI;
using System.Collections.Generic;
using Players;
using UnityEngine;
using GameSet;
using MiniMax;
public class GameManager : MonoBehaviour
{
//Pieces prefabs
public GameObject WhitePawn;
public GameObject RedPawn;
public Game... | 2.288625 | 92f8aa7433b8d05f3f2f862f675a64f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818132 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ryanheath/ravendb",
"max_stars_repo_path": "test/SlowTests/MailingList/Severin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137352"
} | starcoder | <reponame>ryanheath/ravendb
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FastTests;
using Xunit;
namespace SlowTests.MailingList
{
public class Severin_null_data_time : RavenTestBase
{
[Fact]
public void QueryDateCompareTest()
... | 2.50897 | 9dee1990a9112e4ef757a0e987e9b4dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818133 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lkubis/AspNetCore.WebApiExample",
"max_stars_repo_path": "AspNetCore.WebApi/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137353"
} | starcoder | <gh_stars>0
using AspNetCore.Domain;
using AspNetCore.Infrastructure;
using AspNetCore.Infrastructure.Managers;
using AspNetCore.Infrastructure.Repositories;
using AspNetCore.WebApi.Filters;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCo... | 1.759919 | 0615ab5b3fcda7df1628547743fbfe0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BlueForeverI/time-table",
"max_stars_repo_path": "TimeTable.Data/Models/ProjectHours.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137354"
} | starcoder | using System;
namespace TimeTable.Data.Models
{
public partial class ProjectHours
{
public decimal ProjectId { get; set; }
public decimal EmployeeId { get; set; }
public DateTime TaskDate { get; set; }
public decimal? ProjectMonthId { get; set; }
public string... | 2.0643 | 4644143466a26627ee5e5dd86a556f27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818135 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "corymurphy/CertificateManager",
"max_stars_repo_path": "Deployment/package/Views/PrivateCertificateAuthority/New.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:137355"
} | starcoder | <reponame>corymurphy/CertificateManager<gh_stars>1-10
@{
ViewData["Title"] = "Home Page";
Layout = "~/Views/Shared/_Layout.full.cshtml";
}
<!-- Breadcrumbs -->
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="#">Private Certificates</a>
</li>
<li class="breadcrumb-item active"... | 2.521324 | b634f91f7c19fc5b60cfd701b1efb974 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818136 | {
"extension": "c-sharp",
"max_stars_count": "183.0",
"max_stars_repo_name": "njmube/Mysqlbackup.net",
"max_stars_repo_path": "source code/MySqlBackupTestApp/FormTestExportImportMemory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137356"
} | 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.IO;
using MySql.Data.MySqlClient;
namespace MySqlBackupTestApp
{
public partial class FormTestExportImportMemory : Form
{
by... | 2.591183 | b96b6d5d87bf6a72cb51c17f4fac1e31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818137 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "PierrickBlons/Diverse",
"max_stars_repo_path": "Diverse.Tests/NumberFuzzerShould.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137357"
} | starcoder | <reponame>PierrickBlons/Diverse
using System;
using System.Collections.Generic;
using System.Linq;
using Diverse.Address;
using Diverse.Address.Geography;
using NFluent;
using NUnit.Framework;
namespace Diverse.Tests
{
/// <summary>
/// All about the primitives related to Numbers.
/// </summary>
[Test... | 2.798469 | 5bf6eea97ad574829355a7ea34ba801c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818138 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "div72/ThunderKit",
"max_stars_repo_path": "Editor/Core/Data/AssemblyDef.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137358"
} | starcoder | <gh_stars>10-100
using System;
namespace ThunderKit.Core.Data
{
[Serializable]
public partial class AssemblyDef
{
public string name;
public string[] references;
public string[] optionalUnityReferences;
public string[] includePlatforms;
public string[] excludePlatfo... | 1.202188 | 7b58794f604a8aa531656748bca9e0b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818139 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "huangpf/PSharp",
"max_stars_repo_path": "Source/Core/Options/SchedulingStrategy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137359"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="SchedulingStrategy.cs">
// Copyright (c) 2015 <NAME> (<EMAIL>)
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// ... | 2.451012 | 4449b6a98ae55db93811911077dc4924 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818140 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JomaCorpFX/InsaneDotnet",
"max_stars_repo_path": "Insane/EntityFrameworkCore/Infrastructure/FlavorsDbContextOptionsBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137360"
} | starcoder | <gh_stars>0
using Insane.EntityFrameworkCore.Infrastructure.Internal;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Insane.EntityFrameworkCore.Infras... | 1.600543 | c8b6320d9cd164a1781ba206617b59f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818141 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MagicMango/BotFramework",
"max_stars_repo_path": "DiscordBot/Interfaces/IWillCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137361"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DiscordBot.Interfaces
{
public interface IWillCommand
{
}
}
| 1.248279 | 0b5d917d2c3d49347af40698d4bfe7de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818142 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BerkEmreCabuk/electronic-shopping",
"max_stars_repo_path": "ElectronicShopping/test/ElectronicShopping.Api.Tests/Repositories/Entities/CartEntityTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137362"
} | starcoder | <reponame>BerkEmreCabuk/electronic-shopping
using ElectronicShopping.Api.Enums;
using ElectronicShopping.Api.Repositories.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace ElectronicShopping.Api.Tests.Repositories.Entit... | 1.992902 | 0627a966f9b025253f6901003f6b1caf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818143 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Foxite/ImageSetCompression",
"max_stars_repo_path": "ImageSetCompression.AndroidApp/SettingsFragment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137363"
} | starcoder | <reponame>Foxite/ImageSetCompression<filename>ImageSetCompression.AndroidApp/SettingsFragment.cs<gh_stars>1-10
using Android.OS;
using AndroidX.Preference;
namespace ImageSetCompression.AndroidApp {
public class SettingsFragment : PreferenceFragmentCompat {
public override void OnCreatePreferences(Bundle savedInst... | 1.851621 | 711930e185619d73401038a9049d04a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818144 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "heldersepu/SwaggerTest",
"max_stars_repo_path": "Swagger_Test/Controllers/MapTilesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137364"
} | starcoder | using Swagger.Net.Annotations;
using System.Drawing;
using System.Drawing.Imaging;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Web.Http;
namespace Swagger_Test.Controllers
{
[RoutePrefix("MapTiles")]
public class MapTilesController : ImageBaseController
{
... | 2.355303 | b90888a97aa7c86931afe6e5f80d85ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818145 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmequus/gizmofort.connector.erpnext",
"max_stars_repo_path": "Libs/GizmoFort.Connector.ERPNext/ERPTypes/Delivery_settings/Delivery_settingsService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137365"
} | starcoder | <reponame>dmequus/gizmofort.connector.erpnext
using GizmoFort.Connector.ERPNext.PublicInterfaces;
using GizmoFort.Connector.ERPNext.PublicInterfaces.SubServices;
using GizmoFort.Connector.ERPNext.PublicTypes;
namespace GizmoFort.Connector.ERPNext.ERPTypes.Delivery_settings
{
public class Delivery_settingsService :... | 1.554445 | 35852c1bbb8a8e3bd6e87729a041b516 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818146 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wolfrug/ggj2021",
"max_stars_repo_path": "GGJ2021/Assets/UnityInk/Scripts/UIResourceObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137366"
} | starcoder | <filename>GGJ2021/Assets/UnityInk/Scripts/UIResourceObject.cs
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class UIResourceObject : MonoBehaviour
{
public string inkVariableName;
public string inkMaxVariableName = "";
public TextM... | 2.120444 | 8ecb4c1e60f8c5fa9a47786804c531fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818147 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jdehlin/Twitta",
"max_stars_repo_path": "Source/Twitta.Website/Repositories/UsersRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137367"
} | starcoder | using System.Linq;
using Dapper;
using Twitta.Website.Models;
using Twitta.Website.RepositoryInterfaces;
namespace Twitta.Website.Repositories
{
public class UsersRepository : IUsersRepository
{
public User GetItem(long userId)
{
const string sql = "SELECT * FROM Users WHERE UserId... | 2.811542 | 4fa2a6868eb12e78aed4df423161475e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818148 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "stark-lang/stark-roslyn",
"max_stars_repo_path": "src/Features/Stark/Portable/Organizing/Organizers/MethodDeclarationOrganizer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137368"
} | 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.Composition;
using System.Threading;
using StarkPlatform.CodeAnalysis.Stark.Syntax;
using StarkPlatform.CodeAnalysis.Organizing.Organizers;
nam... | 1.639195 | 96180a89761978c6087fff1f8c56dd42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818149 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zqu1016/GQRobotSDK",
"max_stars_repo_path": "IBoxs.Core/AppInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137369"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
using IBoxs.Core.Export;
namespace IBoxs.Core
{
/// <summary>
/// 插件信息
/// </summary>
public class AppInfo
{
/// <summary>
/// 应用名称
/// </summary>
public string AppName { get; private set; }
/// <summary>
... | 1.938811 | e033ffc3d071d5f3af5a0daea9e0d100 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SouadSEBAA/DigiX",
"max_stars_repo_path": "WpfApp2/Noyau/AddNbits.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137370"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
namespace Noyau
{
/// <summary>
/// Un additionneur n bits fait l'addition de deux nombres, de n bits chacun
/// </summary>
class AddNbits : CircCombinatoire
{
// Ceci est le constructeur de AddNbit, il est utilisé pour la créatio... | 2.712462 | 1dbfb116c24b332bcf2fa9e6e26d0ab8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818151 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pkanev/CarsManager",
"max_stars_repo_path": "src/Application/Common/Utils/UserService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137371"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
using System.Threading.Tasks;
using CarsManager.Application.Common.Interfaces;
using CarsManager.Domain.Entities;
using Microsoft.EntityFrameworkCore;
namespace CarsManager.Application.Common.Utils
{
public class UserService : IUserService
{
private read... | 2.668369 | a449756cb45c6ae69b9ef98c3d9bbdb5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818152 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TkYu/QianzhanCloud",
"max_stars_repo_path": "src/QianzhanCloud/Models/SoftwareCopyright.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137372"
} | starcoder | namespace Qianzhan.Models
{
/// <summary>
/// 软件著作权
/// </summary>
public class SoftwareCopyright
{
/// <summary>
/// 公司主键
/// </summary>
public string companyKey { get; set; }
/// <summary>
/// 登记号
/// </summary>
public s... | 2.120502 | 9321c84fd6c5a0163a7bd8f2ac49a4f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818153 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "PetarKTodorov/IPTV.Big.Heart",
"max_stars_repo_path": "src/DTOs/IPTV.Big.Heart.DTOs.BindingModels/User/Create/CreateRoleBindingModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137373"
} | starcoder | <reponame>PetarKTodorov/IPTV.Big.Heart<filename>src/DTOs/IPTV.Big.Heart.DTOs.BindingModels/User/Create/CreateRoleBindingModel.cs
namespace IPTV.Big.Heart.DTOs.BindingModels.User.Create
{
public class CreateRoleBindingModel
{
public CreateRoleBindingModel(string name)
{
this.Name = n... | 1.959419 | d2f161fb025b4ea604dea949b4f83765 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829148 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Derke-Nguyen/virt",
"max_stars_repo_path": "Assets/Scripts/DamageCalc/SwordCollider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148368"
} | starcoder | <reponame>Derke-Nguyen/virt
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SwordCollider : MonoBehaviour
{
PlayerController player;
public float damage = 10;
//Allows for access to the player when this script is run
void Start()
{
player = Find... | 2.612393 | 78bb39ec1f473ef116113b615e3c8023 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829149 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kaefergeneral/ZeldaVR",
"max_stars_repo_path": "ZeldaVR/Assets/_Scripts/Misc/DestroyChildrenOnLevelLoad.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148369"
} | starcoder | <gh_stars>1-10
using UnityEngine;
public class DestroyChildrenOnLevelLoad : MonoBehaviour
{
void OnLevelWasLoaded(int level)
{
//print(" OnLevelWasLoaded: " + level);
foreach (Transform child in transform)
{
Destroy(child.gameObject);
}
}
} | 2.461122 | 56663c2420c8671019dd204543e2c86f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MauricioRB06/Sr_Catknight",
"max_stars_repo_path": "Assets/SrCatknight/Scripts/Levels/General/DamageZone.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148370"
} | starcoder | <gh_stars>0
// Copyright (c) 2021 MauricioRB06 <https://github.com/MauricioRB06>
// MIT License < Please Read LICENSE.md >
//
// The Purpose Of This Script Is:
//
// Generate a zone where constant damage is applied to the character as long as he remains in it.
//
// Documentation and References:
//
// Unity Awake:... | 2.483795 | 4d9a64c7bec603bd393c8e8a2dc72bf1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829151 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nabinkjha/CleanArchitecture",
"max_stars_repo_path": "ECom.Application/Mappings/PaymentDetailProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148371"
} | starcoder | <gh_stars>0
using ECom.Application.Features.PaymentDetails.Commands.Create;
using ECom.Application.Features.PaymentDetails.Queries.GetAllCached;
using ECom.Application.Features.PaymentDetails.Queries.GetAllPaged;
using ECom.Application.Features.PaymentDetails.Queries.GetById;
using ECom.Domain.Entities;
using AutoMapp... | 1.284277 | 0e5560a20e8e459bfc6e0cee810aead9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829152 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cheng219/tianyu",
"max_stars_repo_path": "Assets/Scripts/View/Backpack/BackPackWnd.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148372"
} | starcoder | //==============================================
//作者:邓成
//日期:2016/2/29
//用途:背包界面
//=================================================
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class BackPackWnd : GUIBase
{
#region UI控件对象
public BackpackPageUI backpackPageUI;
... | 1.483147 | 2e844e754e4821d3b80fb0b59a37afda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829153 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Fresa/Spdy.NET",
"max_stars_repo_path": "src/Spdy/SpdySession.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148373"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.IO.Pipelines;
using System.Threading;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflow;
using Spdy.Collections;
using Spdy.Extensions;
using Spdy.Frames;
using Spdy.Frames.Readers;
using Spdy.Frames.Writers;
us... | 1.973298 | dc267e87a8d553caa4a5cb002d585fef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829154 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "comrade-coop/apocryph",
"max_stars_repo_path": "src/Apocryph.Ipfs/Serialization/ObjectParameterConstructorConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148374"
} | starcoder | <reponame>comrade-coop/apocryph
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Apocryph.Ipfs.Serialization
{
// NOTE: Can remove in .NET 5
public class ObjectParameterConstructorConverter : Jso... | 2.359636 | a562877ed8a3a926123f84dc146627e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829155 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Jither/Jint.DebugAdapter",
"max_stars_repo_path": "Jint.DebugAdapter/DebuggerException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148375"
} | starcoder | <reponame>Jither/Jint.DebugAdapter
namespace Jint.DebugAdapter
{
public class DebuggerException : Exception
{
public DebuggerException(string message) : base(message)
{
}
}
}
| 1.548756 | d6e26503807656ffa92b9a51bf2a451b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829156 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "akihiro0105/CommunicationServicesUnitySample",
"max_stars_repo_path": "CommunicationServicesUnitySample/Assets/Scripts/CommunicationServices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148376"
} | starcoder | #if WINDOWS_UWP
using Azure.Communication;
using Azure.Communication.Calling;
using System;
using System.Collections.Generic;
#endif
using System.Threading.Tasks;
public class CommunicationServices
{
#if WINDOWS_UWP
private CallClient callClient;
private CallAgent callAgent;
private Call call;
private... | 2.099522 | dc6790256bd98b1929a33b6a8c34060a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829157 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "EBassie/Procon-2-Protocols-Frostbite",
"max_stars_repo_path": "src/Myrcon.Protocols.Frostbite/Objects/FrostbiteGroupingList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148377"
} | starcoder | #region Copyright
// Copyright 2014 Myrcon Pty. Ltd.
//
// 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 appl... | 2.299443 | ea360ff16d4ca264cfa2148bfd331455 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Wanscher/stedfinder",
"max_stars_repo_path": "source/PlaceFinder/PlaceFinder.Interface/IFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148378"
} | starcoder | using ESRI.ArcGIS.ArcMapUI;
using ESRI.ArcGIS.Geometry;
namespace GeodataStyrelsen.ArcMap.PlaceFinder.Interface
{
public interface IFactory
{
IMxDocument MxDocument { get; set; }
IGeosearchService GeosearchService { get; set; }
IPlaceFinderDockableWindow PlaceFinderDockableWindow { get... | 1.415291 | 239abced090df7b590a6d0705c29d755 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829159 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "itrofimow/corefx",
"max_stars_repo_path": "src/System.Diagnostics.EventLog/tests/System/Diagnostics/Reader/EventLogConfigurationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148379"
} | 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.Diagnostics.Eventing.Reader;
using Xunit;
namespace System.Diagnostics.Tests
{
public class EventL... | 2.029617 | f0dbd9903b70d8a6445091a0273b0457 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829160 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "starsoft35/sharding-core",
"max_stars_repo_path": "src/ShardingCore/TableExists/Abstractions/ITableEnsureManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148380"
} | starcoder | <reponame>starsoft35/sharding-core
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using ShardingCore.Sharding.Abstractions;
namespace ShardingCore.TableExists.Abstractions
{
public interface ITableEnsureManag... | 1.836698 | cc9f638ecd96b6bce287bdcafa74accf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829161 | {
"extension": "c-sharp",
"max_stars_count": "94.0",
"max_stars_repo_name": "vijayraavi/vssetup.powershell",
"max_stars_repo_path": "src/VSSetup.PowerShell/PowerShell/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148381"
} | starcoder | // <copyright file="Extensions.cs" company="Microsoft Corporation">
// Copyright (C) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt in the project root for license information.
// </copyright>
namespace Microsoft.VisualStudio.Setup.PowerShell
{
using System;
usi... | 2.707618 | 9880783530b5d8a5f3017e0d0604b6ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829162 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BlokerX/GameAssistant",
"max_stars_repo_path": "GameAssistant/WidgetViewModels/ClockViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148382"
} | starcoder | using GameAssistant.Core;
using GameAssistant.Models;
using System;
using System.Timers;
using System.Windows.Media;
namespace GameAssistant.WidgetViewModels
{
/// <summary>
/// View model that contains bindings for ClockWidget.
/// </summary>
internal class ClockViewModel : BindableObject, IWidgetVie... | 2.830525 | e615c1e24b65a975b508e1464e6a4eaa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829163 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "volodin002/RC-DBA",
"max_stars_repo_path": "Query/Impl/QueryBuilderImpl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148383"
} | starcoder | using RC.DBA.Metamodel;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
namespace RC.DBA.Query.Impl
{
class QueryBuilderImpl : IQueryBuilder
{
int alias_number;
QueryContext _ctx;
public QueryBuil... | 2.301978 | 0aeea44649d0efa4af47f826c4d2631d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829164 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StefanPuia/nadeko",
"max_stars_repo_path": "src/NadekoBot/Modules/Music/_Common/Impl/RemoteTrackInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148384"
} | starcoder | <reponame>StefanPuia/nadeko
namespace NadekoBot.Modules.Music;
public sealed record RemoteTrackInfo(
string Id,
string Title,
string Url,
string Thumbnail,
TimeSpan Duration,
MusicPlatform Platform,
Func<Task<string?>> _streamFactory) : ITrackInfo
{
private readonly Func<Task<string?>>... | 1.664279 | ca5ad779f8e4dbc5adc2591d8123e6bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829165 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "QuackerTeam/quacker.filtering",
"max_stars_repo_path": "src/Quacker.Filtering/Interfaces/IFilteringConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148385"
} | starcoder | <gh_stars>0
using System.Reflection;
namespace Quacker.Filtering.Interfaces
{
public interface IFilteringConfiguration
{
void RegisterFilter(IFilter filter);
void RegisterAssembly(Assembly assembly);
}
} | 1.3285 | 0d9a3a01d388c1530c6c1a4d2ef70f0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829166 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Xadneil/JSInterpreter",
"max_stars_repo_path": "JSInterpreter/Lexer/LexerState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148386"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace JSInterpreter.Lexer
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1815:Override equals and operator equals on value types")]
public struct LexerState
{
public int position;
publi... | 2.388779 | ff44649d19e52a5682b2a74079469e9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829167 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "BBGONE/JRIAppAngular",
"max_stars_repo_path": "AngularTest/RIAPP.DataService/Core/EntityChangeState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148387"
} | starcoder | using RIAPP.DataService.Core.Types;
using System;
namespace RIAPP.DataService.Core
{
public class EntityChangeState
{
public EntityChangeState()
{
ChangedFieldNames = new string[0];
ParentRows = new ParentChildNode[0];
}
public object Entity { get; set;... | 1.861325 | 75e7f6f5fc0a20e677377e60bfbb3799 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829168 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lukaszunity/mono",
"max_stars_repo_path": "mcs/class/System.Data/ReferenceSources/ResDescriptionAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148388"
} | starcoder | using System.ComponentModel;
namespace System.Data
{
sealed class ResDescriptionAttribute : DescriptionAttribute
{
public ResDescriptionAttribute (string description)
: base (description)
{
}
}
} | 1.816986 | 08ee9e759771ce13948d35b93a3e5fee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829169 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CoderESalazar/schoolibrary",
"max_stars_repo_path": "LibraryMVC/Views/DbIndex/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:148389"
} | starcoder | @model IEnumerable<LibraryMVC4.Models.dbindex>
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_adminTemplate.cshtml";
var grid = new WebGrid(Model, canPage: false, defaultSort: "dbTitle" );
}
@Html.ActionLink("Go back to Library Admin", "index", "admin")
<h2>Database Master Index</h2>
<p>This is... | 2.112882 | c40e16c0204725eeddcc534250d7f4f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829170 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "18965824402/mycattest",
"max_stars_repo_path": "Pomelo.Data.MyCat-master/src/Pomelo.Data.MyCat/Authentication/MyCatAuthenticationPlugin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148390"
} | starcoder | <gh_stars>10-100
// Copyright (c) Pomelo Foundation. All rights reserved.
// Licensed under the MIT. See LICENSE in the project root for license information.
using System.IO;
using System;
using System.Data.Common;
using Pomelo.Data.Common;
using System.Text;
using System.Diagnostics;
namespace Pomelo.Data.MyCat.Aut... | 2.187121 | 68a7e3fb8c4a8783922c5c766cdf4748 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829171 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kaplas80/TF3.YakuzaPlugins",
"max_stars_repo_path": "src/TF3.YarhlPlugin.YakuzaKiwami2/Converters/Armp/Reader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148391"
} | starcoder | // Copyright (c) 2021 Kaplas
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distri... | 2.413437 | bfe3630d8ece7449abf6248261ae8818 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829172 | {
"extension": "c-sharp",
"max_stars_count": "191.0",
"max_stars_repo_name": "raindigi/Merchello",
"max_stars_repo_path": "test/Merchello.Tests.IntegrationTests/TestHelpers/UmbracoContextHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148392"
} | starcoder | <filename>test/Merchello.Tests.IntegrationTests/TestHelpers/UmbracoContextHelper.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Rhino.Mocks;
using System.Web;
using Umbraco.Core;
using Umbraco.Web;
namespace Merchello.Tests.IntegrationTests... | 1.947978 | 622154d4a73f5a0f4f3f94036b820eac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829173 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Y2PM/1DayProjectW14",
"max_stars_repo_path": "ProjectW14/WebApplication1/Controllers/AddItemToBasketController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148393"
} | starcoder | using ADOClassLibrary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Web;
using System.Web.Mvc;
using WCFServiceCL;
using WebApplication1.Models;
namespace WebApplication1.Controllers
{
public class AddItemToBasketController : Controller
{
p... | 2.372212 | fac85b4e1fb3ac6e07a14a628acd1230 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829174 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "bbqchickenrobot/IL2JS",
"max_stars_repo_path": "Tests/Microsoft.ServiceBus.Messaging/Messaging/Amqp/ByteBuffer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148394"
} | starcoder | <gh_stars>10-100
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
namespace Microsoft.ServiceBus.Messaging.Amqp
{
using System;
using System.IO;
using Microsof... | 2.502738 | f52d847a918aa8b546a098f9c3cc073d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829175 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Teq2/Doto-Content-Unlocker",
"max_stars_repo_path": "File Formats/VTF/Vtf.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148395"
} | starcoder | /*
* Doto-Content-Unlocker, tool for unlocking custom dota2 content.
*
* Copyright (c) 2014 Teq, https://github.com/Teq2/Doto-Content-Unlocker
*
* 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 ... | 2.356235 | 38608d3c4729892c436fb3828412dd24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829176 | {
"extension": "c-sharp",
"max_stars_count": "244.0",
"max_stars_repo_name": "marufbd/SharpCaster",
"max_stars_repo_path": "SharpCaster.Test/ProtoBufTester.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148396"
} | starcoder | using System.Text;
using SharpCaster.Models;
using Xunit;
namespace SharpCaster.Test
{
public class ProtoBufTester
{
[Fact]
public void Connect_Should_Be_Serialized_Well()
{
var connectMessage = MessageFactory.Connect();
connectMessage.Namespace = "urn:x-cast:co... | 1.964474 | 17cc1a309fed5b846703c3e99c5b6ca2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829177 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZeoxZeos/TelerikBalzor_v08",
"max_stars_repo_path": "TelerikBlazor/TelerikBlazor.App/Pages/Button/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:148397"
} | starcoder | <gh_stars>0
@page "/button/index"
<h4>Basic Button</h4>
<KendoButton>Only Button</KendoButton>
<KendoButton Class="k-primary">Class</KendoButton>
<h4>Buttons with icons</h4>
<KendoButton SpriteClass="k-icon netherlandsFlag" Class="active">Sprite</KendoButton>
<KendoButton Icon="filter" Class="active">Icon</KendoBu... | 1.949516 | 1195507fb1e4551e474f544b50a7bd6b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829178 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hmcts/vh-notify-api",
"max_stars_repo_path": "NotificationApi/NotificationApi.AcceptanceTests/Hooks/HooksSequence.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148398"
} | starcoder | namespace NotificationApi.AcceptanceTests.Hooks
{
internal enum HooksSequence
{
ZapHooks = 1,
ConfigHooks = 2,
HealthCheckHooks = 3
}
}
| 1.010251 | 17b8b94cd2e2819436fcc4a1ca59011c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829179 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bsmr/WolvenKit-CyberCAT",
"max_stars_repo_path": "CyberCAT.Core/Enums/Dumped Enums/HitShape_Type.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148399"
} | starcoder | <reponame>bsmr/WolvenKit-CyberCAT<filename>CyberCAT.Core/Enums/Dumped Enums/HitShape_Type.cs
namespace CyberCAT.Core.DumpedEnums
{
public enum HitShape_Type
{
Normal = 0,
InternalWeakSpot = 1,
ExternalWeakSpot = 2,
ProtectionLayer = 3
}
}
| 1.066751 | ac8890879c874639c71cadf4d22459f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829180 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dalprahcd/exercism-solutions",
"max_stars_repo_path": "csharp/secret-handshake/SecretHandshake.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148400"
} | starcoder | using System;
using System.Linq;
namespace SecretHandshake;
[Flags]
public enum Secrets
{
None = 0,
Wink = 1,
DoubleBlink = 2,
CloseYourEyes = 4,
Jump = 8,
ReverseOrder = 16
}
public static class SecretHandshake
{
public static string[] Commands(int cmd)
{
var query = Enum.Ge... | 3.401718 | 75e360cd945d9c8cb8e66888fe6e1a64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829181 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "coderIML/NetOffice.net",
"max_stars_repo_path": "Source/Office/Tools/Informations/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148401"
} | starcoder | <filename>Source/Office/Tools/Informations/AssemblyInfo.cs
using System;
using System.ComponentModel;
using System.Reflection;
using System.Collections.Generic;
using System.Text;
namespace NetOffice.OfficeApi.Tools.Informations
{
/// <summary>
/// Assembly related helper tools (Supports also the internal Net... | 2.772226 | b1ab5f21b4d045d2213eec20c2454759 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829182 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "dend/grunt",
"max_stars_repo_path": "Grunt/Grunt/Models/HaloInfinite/Links.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148402"
} | starcoder | <filename>Grunt/Grunt/Models/HaloInfinite/Links.cs<gh_stars>10-100
namespace Grunt.Models.HaloInfinite
{
public class Links
{
public Link Self { get; set; }
}
}
| 1.697656 | 0285dd4f9579255b95a14afbfef5609b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829183 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "egrzeszczak/thesis-project",
"max_stars_repo_path": "APP/Classes/ImgToGcode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148403"
} | starcoder | using System;
using System.IO;
using System.Drawing;
namespace Laser
{
class ImgToGcode
{
private static Bitmap bmp;
/*
*/
static void Main(string[] args)
{
try
{
bmp = new Bitmap("C:\\Users\\gribi... | 3.045061 | 02b68d99138bfc21e7bd5c1028f79310 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829184 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryansalt/ExtCore-MultipleDataContextExample",
"max_stars_repo_path": "src/WebApplication.ExtensionB.Data.EntityFramework.Sqlite/ItemARepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148404"
} | starcoder | <reponame>ryansalt/ExtCore-MultipleDataContextExample
// Copyright © 2015 <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using Data.Abstractions.Extensions;
using ExtCore.... | 1.923263 | 2020138f8a28339a2944ce9f60a06657 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829185 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rapid-Cyber-Defense/magic",
"max_stars_repo_path": "backend/slots/Version.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148405"
} | starcoder | <gh_stars>0
/*
* Magic, Copyright(c) <NAME> 2019 - 2021, <EMAIL>, all rights reserved.
* See the enclosed LICENSE file for details.
*/
using magic.node;
using magic.signals.contracts;
namespace magic.backend.slots
{
/// <summary>
/// [version] slot returning the version of Magic that is currently being us... | 1.979404 | 2d0b6d134706659866f1e2fbde8190ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829186 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mbrajk/di-container",
"max_stars_repo_path": "DependencyInjection/ServiceContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148406"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using DependencyInjection.Enums;
namespace DependencyInjection
{
public class ServiceContainer
{
private readonly List<ServiceDescriptor> _serviceDescriptors;
public ServiceContainer(List<ServiceDescriptor> serviceDescriptors)... | 2.875279 | 3f4ca2a5de3dcd24539c34c1d8a07f1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829187 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ProjectICKX/UnityCommon",
"max_stars_repo_path": "Scripts/Script/UpdateSystem/CustomPlayerLoopUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148407"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Experimental.LowLevel;
namespace ICKX {
public static class CustomPlayerLoopUtility {
static bool isInit = false;
static PlayerLoopSystem playerLoopSystem;
public static void InsertLoop (Type playe... | 2.468464 | 3cec78344b6e01b03b76226b40f5525e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829188 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Flexberry/NewPlatform.Flexberry.ORM.ClickHouseDataService",
"max_stars_repo_path": "Tests/BusinessServers/UpdateObjectTestBS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148408"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-ge... | 1.432383 | b9eba740f0bb91fe226fabf73131f887 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829189 | {
"extension": "c-sharp",
"max_stars_count": "203.0",
"max_stars_repo_name": "yuzd/Autofac.Annotation",
"max_stars_repo_path": "test/AutoConfiguration_Bean/MyConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148409"
} | starcoder | <filename>test/AutoConfiguration_Bean/MyConfig.cs<gh_stars>100-1000
using System;
using System.Collections.Generic;
using Autofac.Annotation;
namespace Autofac.Configuration.Test.AutoConfiguration_Bean
{
[AutoConfiguration("Test")]
public class MyConfig
{
[Bean]
public virtual MyModel GetM... | 2.525928 | 5303510442342063c8abba3bddad0fbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829190 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cuongnq/White",
"max_stars_repo_path": "src/Components/Repository/Tests/UITests/Sessions/WorkSessionTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148410"
} | starcoder | using System.IO;
using White.Core;
using White.Core.Factory;
using White.Core.UIItems;
using White.Core.UIItems.WindowItems;
using NUnit.Framework;
using White.Core.UITests;
using White.Repository.Services;
using White.Repository.Sessions;
namespace White.Repository.UITests.Sessions
{
[TestFixture]
... | 1.929921 | e03386193e7e7e3478b5aaafc1c26026 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829191 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mansoor-omrani/Locust.NET",
"max_stars_repo_path": "Modules/Locust.Modules.Base/Service/AppCrossOrigin/Add/Request.Customized.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148411"
} | starcoder | <filename>Modules/Locust.Modules.Base/Service/AppCrossOrigin/Add/Request.Customized.cs
using System;
using System.Data;
using Locust.Data;
using Locust.ServiceModel;
namespace Locust.Modules.Base.Strategies
{
public partial class AppCrossOriginAddRequest : IBaseServiceRequest
{
public CommandParameter Id ... | 1.895373 | f5869b7ec4598c351ae6159a1f4cc23c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829192 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moljac/Samples.AndroidX",
"max_stars_repo_path": "samples/issues/0014-NoClassDefFoundError androidx.lifecycle.LifecycleOwner/to-Xamarin-v2/Common/PDF/PageIterator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148412"
} | starcoder | using System;
using System.Runtime.InteropServices;
using pdftronprivate.trn;
using pdftron.Common;
using TRN_Iterator = System.IntPtr;
using TRN_ItrData = System.IntPtr;
namespace pdftron.PDF
{
/// <summary> PageIterator is an iterator type that can be used to traverse a list
/// pages in a PDF document. ... | 2.757757 | ed13a2c09dc01ef593148fb19f4a732e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829193 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "bing-framework/Bing.MockData",
"max_stars_repo_path": "src/Bing.MockData/Core/Randomizers/ChineseIdCardRandomizer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148413"
} | starcoder | <filename>src/Bing.MockData/Core/Randomizers/ChineseIdCardRandomizer.cs
using Bing.MockData.Abstractions.Randomizers;
using Bing.MockData.Core.Options;
using Bing.MockData.Datas;
using Bing.MockData.Internals.Generators;
namespace Bing.MockData.Core.Randomizers
{
/// <summary>
/// 身份证随机生成器
/// </summary>
... | 2.557393 | 7f8aaa447ad2cc6e5814e8d4585a0992 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829194 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "harrywsh/hackx-holokit",
"max_stars_repo_path": "Assets/Finch/Calibration/Scripts/Utils/Bouncing.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148414"
} | starcoder | <reponame>harrywsh/hackx-holokit
using System.Collections;
using UnityEngine;
public class Bouncing : MonoBehaviour
{
public float Amplitude = 0.1f;
private bool isMovingUp = true;
private float startPositionY;
private float endPositionY;
private const float SlerpInterval = 0.5f;
private floa... | 2.333292 | a9b45bbb5240ce7c8a567159857bd8c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829195 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "W3S-uORM/GCS",
"max_stars_repo_path": "GCS/Models/API/Metatag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148415"
} | starcoder | namespace W3S_GCS.Models.API {
public class Metatag {
public string viewport { get; set; }
//public string __invalid_name__geo.placename { get; set; }
public string author { get; set; }
//public string __invalid_name__msvalidate.01 { get; set; }
}
} | 1.114565 | bd16aba935bda99e844daca132b01cee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829196 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "meryemdemirkaya/AD.OpenXml",
"max_stars_repo_path": "src/AD.OpenXml/Structures/ContentTypesInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148416"
} | starcoder | using System.Xml.Linq;
using JetBrains.Annotations;
namespace AD.OpenXml.Structures
{
// TODO: document ContentTypesInfo file.
/// <summary>
///
/// </summary>
[PublicAPI]
public static class ContentTypesInfo
{
/// <summary>
///
/// </summary>
[NotNull] publ... | 2.170667 | 919b75472b7a5ebe8da67d58d8f961a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829197 | {
"extension": "c-sharp",
"max_stars_count": "174.0",
"max_stars_repo_name": "KirillBorunov/SampSharp",
"max_stars_repo_path": "src/TestMode.Entities/Systems/IssueTests/Issue326Timers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148417"
} | starcoder | <filename>src/TestMode.Entities/Systems/IssueTests/Issue326Timers.cs
using System;
using System.Diagnostics;
using SampSharp.Entities;
using SampSharp.Entities.SAMP;
namespace TestMode.Entities.Systems.IssueTests
{
public class Issue326Timers : ISystem
{
private readonly Stopwatch _stopwatch1 = new St... | 2.379993 | 3180fc3cff004bb5c514576026f1b312 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829198 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xyrusworx/foundation",
"max_stars_repo_path": "src/lib/XyrusWorx.Foundation/Diagnostics/QueueLogWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148418"
} | starcoder | <reponame>xyrusworx/foundation
using System.Collections.Generic;
using JetBrains.Annotations;
using XyrusWorx.Collections;
namespace XyrusWorx.Diagnostics
{
[PublicAPI]
public sealed class QueueLogWriter : LogWriter
{
private readonly Queue<LogMessage> mLogMessages = new Queue<LogMessage>();
private readonly o... | 2.563063 | 4fd5b023719b8f1d193cbf589bba97f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829199 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nevsnirG/AMQP.Plugin",
"max_stars_repo_path": "src/AMQP.Plugin.Abstractions/IConsumerExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148419"
} | starcoder | namespace AMQP.Plugin.Abstractions
{
/// <summary>
/// Contains overloads for methods inside <see cref="IConsumer"/>.
/// </summary>
public static class IConsumerExtension
{
/// <summary>
/// Register a consumer on random generated queue.
/// </summary>
/// <param na... | 2.710794 | 0007124f2e1bc4b7d605797b665f94e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829200 | {
"extension": "c-sharp",
"max_stars_count": "4601.0",
"max_stars_repo_name": "MiaHub/xamarin-forms-samples",
"max_stars_repo_path": "WorkingWithListviewNative/iOS/D/NativeiOSListViewSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148420"
} | starcoder | using System;
using UIKit;
using System.Collections.Generic;
using Foundation;
using System.Linq;
namespace WorkingWithListviewNative.iOS
{
public class NativeiOSListViewSource : UITableViewSource
{
// declare vars
IList<DataSource2> tableItems;
NativeListView2 listView;
readonly NSString cellIdentifier = n... | 2.62931 | 15afaed7f06efbbdd6c42dcec59ce878 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829201 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "romanov-is-here/orleans",
"max_stars_repo_path": "src/Orleans.Core/Serialization/BinaryTokenStreamWriter2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148421"
} | starcoder | <reponame>romanov-is-here/orleans
using System;
using System.Buffers;
using System.Buffers.Binary;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using Orleans.CodeGene... | 1.935814 | 3755fd6618b6b1df4838a8ac55043619 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829202 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ahmedalejo/System.Reactive.EventStream",
"max_stars_repo_path": "test/EventStream/EventStreamTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148422"
} | starcoder | <filename>test/EventStream/EventStreamTests.cs
using FakeItEasy;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Concurrency;
using System.Reactive.Disposables;
using System.Rea... | 2.645351 | ad923a5be673111d39640c0c2d143da2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829203 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ai-line-mod/NRatings.Client",
"max_stars_repo_path": "src/NRatings.Client/Business/RRDataFetcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148423"
} | starcoder | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Threading.Tasks;
using NRatings.Client.ApiClient;
using NRatings.Client.ApiClient.DTO;
using NRatings.Client.Domain;
using Car = NRatings.Client.Domain.Car;
using Driver = NRatings.Client.Domain.Driver;
using Dr... | 2.45309 | 3deb4dec1625e8258f68261ed16b6360 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829204 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "PacktPublishing/Mastering-C-7.2-and-.NET-Core-2.1-Application-Development",
"max_stars_repo_path": "Chapter06/04 - Angular/Pages/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:148424"
} | starcoder | @using myAngularApp
@namespace myAngularApp.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.206031 | fda75724c9cfd0330fc5c0a17f950912 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829205 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "53V3N1X/Theta",
"max_stars_repo_path": "Sources/Theta/Structures/Stack.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148425"
} | starcoder | namespace Theta.Structures
{
/// <summary>Implements a First-In-Last-Out stack data structure.</summary>
/// <typeparam name="T">The generic type within the structure.</typeparam>
public interface Stack<T> : Structure<T>,
// Structure Properties
Structure.Countable<T>,
Structure.Clearable<T>
{
#region void... | 3.62834 | 960fa52825234b528a243cd051dbbb9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829206 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vladd/WarframeAgent",
"max_stars_repo_path": "Agent/Agent/View/Converters/InvasionGroupConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148426"
} | starcoder | using System;
using System.Globalization;
using System.Windows.Data;
using Core.ViewModel;
namespace Agent.View.Converters
{
public class InvasionGroupConverter : IValueConverter
{
public class InvasionGroup : IEquatable<InvasionGroup>
{
public string Planet { get; set; }
... | 2.549778 | 15fd8234397956c03d272d5af8ff86fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829207 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eahs/RoverPass-Backend",
"max_stars_repo_path": "ADSBackend/Views/ReportStudents/Details.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:148427"
} | starcoder | <filename>ADSBackend/Views/ReportStudents/Details.cshtml
@model ADSBackend.Models.ReportStudent
@{
ViewData["Title"] = "Index";
}
<div class="ibox">
<div class="ibox-title">
<h2>Details | Report a Student</h2>
<p>
<a asp-action="Index" class="btn btn-primary">Back to List</a>
... | 2.35294 | 0276e41c578b053fda1ccb361631e69e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829208 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "loftwah/PrtgAPI",
"max_stars_repo_path": "src/PrtgAPI.Tests.UnitTests/CSharp/ObjectData/SensorTotalsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148428"
} | starcoder | using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PrtgAPI.Tests.UnitTests.Support.TestItems;
using PrtgAPI.Tests.UnitTests.Support.TestResponses;
namespace PrtgAPI.Tests.UnitTests.ObjectData
{
[TestClass]
public class SensorTotalsTests : BaseTest
{
[UnitTest]
... | 1.882333 | 4dd3af8ee4365683a90ddef79d158cbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829209 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "michelin/i4i-iot-hub-portal",
"max_stars_repo_path": "src/AzureIoTHub.Portal/Shared/Constants/CloudToDeviceMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148429"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace AzureIoTHub.Portal.Shared.Constants
{
public class CloudToDeviceMethods
{
public const string GetModuleLogs = "GetModuleLogs";
}
}
| 1.257702 | 3c290557e922b83d493e40797c571619 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829210 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Mora-Hannover/FARGonautica",
"max_stars_repo_path": "Software/Musicat/RhythmCat/RhythmCat/Codelets/Links/LookForContourRelationshipCodelet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148430"
} | starcoder | <reponame>Mora-Hannover/FARGonautica<filename>Software/Musicat/RhythmCat/RhythmCat/Codelets/Links/LookForContourRelationshipCodelet.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace RhythmCat {
[Codelet("Linker", CodeletAttribute.CodeletWorkType.Create, 20, true)]
public class ... | 2.349979 | cdf396a8ac6d1955d6ee0c172b8fec5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829211 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cobra91/TelegramCSharpForward",
"max_stars_repo_path": "TeleSharp.TL/TL/Messages/TLAbsAllStickers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148431"
} | starcoder | namespace TeleSharp.TL.Messages
{
public abstract class TLAbsAllStickers : TLObject
{
}
}
| 0.948926 | ed423996d2b9be97511ff48f8dd53535 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.