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 | 8831312 | {
"extension": "c-sharp",
"max_stars_count": "115.0",
"max_stars_repo_name": "jesuissur/googleads-dotnet-lib",
"max_stars_repo_path": "examples/AdWords/CSharp/v201809/Remarketing/AddAudience.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150532"
} | starcoder | <filename>examples/AdWords/CSharp/v201809/Remarketing/AddAudience.cs
// Copyright 2018 Google LLC
//
// 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... | 2.090368 | 1e1266cc55942d07fb4d61b0b4d774cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831313 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KristofferStrube/Elmah.Io.Cli",
"max_stars_repo_path": "src/Elmah.Io.Cli/LogCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150533"
} | starcoder | using Elmah.Io.Client.Models;
using System;
using System.CommandLine;
using System.CommandLine.Invocation;
namespace Elmah.Io.Cli
{
class LogCommand : CommandBase
{
internal static Command Create()
{
var logCommand = new Command("log")
{
new Option<strin... | 2.839171 | 156bcc360e5fe6b5fe21fafc4b82ad9f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831314 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "abhatia25/Computer-Programming-2",
"max_stars_repo_path": "Snakes and Shillelaghs/Snakes and Shillelaghs/Form2.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150534"
} | starcoder | namespace Snakes_and_Shillelaghs
{
partial class frmLevel1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.245639 | 4ebc153252b7ffc617daac4e4bb7194e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831315 | {
"extension": "c-sharp",
"max_stars_count": "226.0",
"max_stars_repo_name": "prophetl33t/OWLib",
"max_stars_repo_path": "TankLib/STU/Types/STUUXRadioButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150535"
} | starcoder | // Generated by TankLibHelper
// ReSharper disable All
namespace TankLib.STU.Types
{
[STU(0xDD1EC812, 48)]
public class STUUXRadioButton : STU_74217D0B
{
}
}
| 0.450305 | 0191119d9f39b22fbadca4690a441387 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831316 | {
"extension": "c-sharp",
"max_stars_count": "128.0",
"max_stars_repo_name": "adamkrupadev/adam-video-conferencing",
"max_stars_repo_path": "src/Services/ConferenceManagement/Strive.Core.Tests/Services/ConferenceControl/UseCases/CloseConferenceHandlerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150... | starcoder | using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Microsoft.Extensions.Logging;
using Moq;
using Strive.Core.Services.ConferenceControl.Gateways;
using Strive.Core.Services.ConferenceControl.Notifications;
using Strive.Core.Services.ConferenceControl.Requests;
using Strive.Core.Services.Confere... | 2.07195 | 01fccf6a48cd208e54dc8b9489c54bc1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831317 | {
"extension": "c-sharp",
"max_stars_count": "127.0",
"max_stars_repo_name": "JetBrains/godot-support",
"max_stars_repo_path": "resharper/src/ProjectModel/ProjectExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150537"
} | starcoder | using System.Linq;
using JetBrains.Annotations;
using JetBrains.ProjectModel;
using JetBrains.ProjectModel.Propoerties;
namespace JetBrains.ReSharper.Plugins.Godot.ProjectModel
{
public static class ProjectExtensions
{
public static bool IsGodotProject([CanBeNull] this IProject project)
{
... | 1.956153 | ecb77ade79a0dee60a83402e2cb03b33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831318 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndriiYudaichev/SignNow.NET",
"max_stars_repo_path": "SignNow.Net.Test/AcceptanceTests/DocumentServiceTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150538"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using SignNow.Net.Interfaces;
using SignNow.Net.Service;
using SignNow.Net.Test;
using System.IO;
namespace AcceptanceTests
{
[TestClass]
public partial class DocumentServiceTest : AuthorizedApiTestBase
{
readonly IDocumentService docService;
... | 2.055857 | 40de80eff3a38118eff70da0cdb4c50b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831319 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "steffibreuer/identity",
"max_stars_repo_path": "src/Codeworx.Identity.AspNetCore/HttpContextBaseUriAccessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150539"
} | starcoder | using System;
using Microsoft.AspNetCore.Http;
namespace Codeworx.Identity.AspNetCore
{
public class HttpContextBaseUriAccessor : IBaseUriAccessor
{
public HttpContextBaseUriAccessor(IHttpContextAccessor httpContextAccessor = null)
{
if (httpContextAccessor == null)
{
... | 2.452675 | 47ea64409d2f6842b27db36b0de00edf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831320 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "traegerp/dagger",
"max_stars_repo_path": "Dagger.Data/Connections/IConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150540"
} | starcoder | namespace Dagger.Data.Connections
{
public interface IConnection
{
string GetConnectionString();
}
}
| 1.761955 | 2a36e2daae699f6140e351858d6fd7e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831321 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ruialexrib/Programatica.AspNetCore31AppSkeleton",
"max_stars_repo_path": "Programatica.AspNetCore31AppSkeleton/Views/_ViewStart.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:150541"
} | starcoder | @{
Layout = "~/Views/Shared/AdminLTE/_Layout.cshtml";
}
| 1.156076 | 5b1ab54a87c01eed7f7269036ea1d1b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831322 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "dskprt/nylium",
"max_stars_repo_path": "Starfield.Core/Block/Blocks/BlockYellowShulkerBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150542"
} | starcoder | // FILE AUTOGENERATED. DO NOT MODIFY
using System;
namespace Starfield.Core.Block.Blocks {
[Block("minecraft:yellow_shulker_box", 514, 9306, 9311, 9310)]
public class BlockYellowShulkerBox : BlockBase {
public override ushort State {
get {
if(Facing == "north") {... | 2.37822 | e6f1d0b7525b31075b5db089edaa7ad1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831323 | {
"extension": "c-sharp",
"max_stars_count": "142.0",
"max_stars_repo_name": "jepperc/ldap4net",
"max_stars_repo_path": "LdapForNet/LdapCredential.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150543"
} | starcoder | namespace LdapForNet
{
public class LdapCredential
{
public string UserName { get; set; }
public string Password { get; set; }
public string AuthorizationId { get; set; }
public string Realm { get; set; }
}
} | 1.527944 | 57f6e2e8e90aaecef710a80a3052ae29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831324 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "brunolauze/freebsd-dotnet-ports",
"max_stars_repo_path": "dotnet/System.Diagnostics.Debug/files/patch-src__System.Diagnostics.Debug__src__AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150544"
} | starcoder | --- /dev/null 2016-01-28 08:53:16.000000000 -0500
+++ src/System.Diagnostics.Debug/src/AssemblyInfo.cs 2016-01-28 08:54:23.006167000 -0500
@@ -0,0 +1,12 @@
+using System.Reflection;
+
+[assembly: AssemblyTitle("System.Diagnostics.Debug")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[ass... | 1.540315 | 5acfd2e4ffea74ff114b5fa2610694a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831325 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mohas/ModManager",
"max_stars_repo_path": "Source/ModManager/Utilities/Workshop.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150545"
} | starcoder | <reponame>mohas/ModManager<gh_stars>0
// Workshop.cs
// Copyright <NAME>, 2018-2018
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using HarmonyLib;
using RimWorld;
using Steamworks;
using Verse;
using Verse.Sound;
namespace ModManager
{
public static class Workshop
... | 1.898274 | 69b50d23e4ce3f1b9c99c56ffb461fa7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831326 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "SalHe/Leidian",
"max_stars_repo_path": "SalHe.Leidian/LdConsoleExecutable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150546"
} | starcoder | <filename>SalHe.Leidian/LdConsoleExecutable.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SalHe.Leidian
{
/// <summary>
/// ldconsole.exe
/// </summary>
public class LdConsoleExecutable : Executable
{
public... | 2.881283 | 2d3cb1ccb1aa9e107d82796f33085cc5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831327 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jadarnel27/Data.HashFunction",
"max_stars_repo_path": "src/System.Data.HashFunction.BernsteinHash/BernsteinHash_Implementation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150547"
} | starcoder | using System.Data.HashFunction.BernsteinHash;
using System.Data.HashFunction.Core;
using System.Data.HashFunction.Core.Utilities.UnifiedData;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
namespace System.Data.HashFunction.BernsteinHash
{
internal class BernsteinHash... | 2.537068 | 593e6873736da6ac6d9c2279f2366428 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831328 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "NMFCode/NMF",
"max_stars_repo_path": "Transformations/Transformations/Tests/MockComputation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150548"
} | starcoder | using NMF.Transformations.Core;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NMF.Transformations.Tests
{
/// <summary>
/// Mocks a computation
/// </summary>
public class MockComputation : Computation
{
private re... | 2.871906 | 3364bc17179e538ff890cb1ba5b258c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831329 | {
"extension": "c-sharp",
"max_stars_count": "184.0",
"max_stars_repo_name": "bubdm/AlephNote",
"max_stars_repo_path": "Source/AlephNote.PluginInterface/Util/UICommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150549"
} | starcoder | <gh_stars>100-1000
using MSHC.WPFStub;
namespace AlephNote.PluginInterface.Util
{
public class UICommand
{
public string Header { get; }
public ITypedCommand<INoteRepository> Command { get; }
public UICommand(string header, ITypedCommand<INoteRepository> command)
{
... | 1.634967 | d5d1c07b3b2a4cb0e8354546e5e6c419 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831330 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "SuperJMN/VisualDesigner",
"max_stars_repo_path": "Glass/Glass.Design.Pcl/DesignSurface/VisualAids/Selection/SelectionMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150550"
} | starcoder | namespace Glass.Design.Pcl.DesignSurface.VisualAids.Selection
{
public enum SelectionMode
{
Direct,
Invert,
Add,
Subtract
}
} | 1.42485 | 626ca03fc37c9a66f3654e024e2b2cf7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831331 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "suelinton/loanGames",
"max_stars_repo_path": "com.EmprestimoDeJogos.Infrastructure/Identity/AppIdentityDbContextSeed.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150551"
} | starcoder | <reponame>suelinton/loanGames
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace com.EmprestimoDeJogos.Infrastructure.Identity
{
public class AppIdentityDbContextSeed
{
public static async Task SeedAsync(UserM... | 2.234286 | e205fb08a4b3b6051c660f22b65e8da9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831332 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "liyang-live/SQLBuilder",
"max_stars_repo_path": "SQLBuilder.Console/Models/User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150552"
} | starcoder | <reponame>liyang-live/SQLBuilder
using SQLBuilder;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SysKey = System.ComponentModel.DataAnnotations.KeyAttribute;
using SysTable = System.ComponentModel.DataAnnotations.Schema.TableAttribute;
using SysColumn = System.ComponentMod... | 2.070771 | 53150722caccf44db4e773a0342365ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831333 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mediaexplorer74/win3mu",
"max_stars_repo_path": "Win3muCore/HandleMaps/HDC.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150553"
} | starcoder | <filename>Win3muCore/HandleMaps/HDC.cs
/*
Win3mu - Windows 3 Emulator
Copyright (C) 2017 Topten Software.
Win3mu is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your optio... | 2.47074 | e128dee703c67f12c3c7798f69103d84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831334 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "StrubT/SchemaGenerator",
"max_stars_repo_path": "SchemaGenerator/SchemaGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150554"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using Newtonsoft.Json;
namespace StrubT.SchemaGenerator {
public static class SchemaGenerator {
public static Schema GenerateSchema(JsonReader reader, string name = null, string type = null) {
var schema = new Schema(name);
... | 2.874184 | a9cacda4fc1c9ceccb3f5c93eb95bf60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831335 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MSDN-WhiteKnight/ApiDocView",
"max_stars_repo_path": "Html.Presentation/ContentData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150555"
} | starcoder | /* Html.Presentation
* Copyright (c) 2022, MSDN.WhiteKnight (https://github.com/MSDN-WhiteKnight)
* License: MIT */
using System;
using System.Collections.Generic;
using System.Text;
namespace Html.Presentation
{
public sealed class ContentData
{
public byte[] Content { get; set; }
public ... | 2.987 | 589feb784c77033223d03fc38ebc4e76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "beatthat/optional-components",
"max_stars_repo_path": "Runtime/optional-components/Editor/OptionalComponentEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150556"
} | starcoder | <reponame>beatthat/optional-components<gh_stars>0
using System;
using BeatThat.GetComponentsExt;
using BeatThat.Pools;
using UnityEngine;
namespace BeatThat.OptionalComponents
{
public static class EditorExt
{
public static void OnGUIProposeAddOptionalComponents(this Component onGUITarget)
{
var bkgColorS... | 2.421255 | afa43b3307fd9352f8fe5e1eacb47a91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831337 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "agustinsantos/FalconNet",
"max_stars_repo_path": "F4Common/GameIO/Simfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150557"
} | starcoder | <reponame>agustinsantos/FalconNet
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace FalconNet.F4Common
{
public enum SIMLIB
{
SIMLIB_MAX_OPEN_FILES = 20,
SIMLIB_UPDATE = 0x1,
SIMLIB_CREATE = 0x2,
SIMLIB_READ = 0x4,
... | 2.729934 | 7a3673f87212b783d163f63f9080083b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831338 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "bingtianyiyan/google-api-dotnet-client",
"max_stars_repo_path": "Src/Support/Google.Apis.Tests/System.Net/HttpListenerRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150558"
} | starcoder | <reponame>bingtianyiyan/google-api-dotnet-client
/*
Copyright 2017 Google 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
Unless required by app... | 2.239594 | e6f9ad72b2ad770d5d2645312435f709 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831339 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Savaed/SDCWebApp",
"max_stars_repo_path": "SDCWebApp/Models/ActivityLog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150559"
} | starcoder | <reponame>Savaed/SDCWebApp
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace SDCWebApp.Models
{
public class ActivityLog : BasicEntity
{
public enum ActivityType
{
// Account activities.
LogIn,
LogOut,
PasswordChange,
... | 2.310907 | 09ad7944202a9d648489938a12337275 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831340 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ozanercan/MySQL-vs-MsSQL-Insertion-Speed",
"max_stars_repo_path": "DatabaseSpeedTest/Classes/Databases/MySQL.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150560"
} | starcoder | <reponame>ozanercan/MySQL-vs-MsSQL-Insertion-Speed
using DatabaseSpeedTest.Interfaces;
using MySql.Data.MySqlClient;
namespace DatabaseSpeedTest.Classes.Databases
{
public class MySQL : IDatabase
{
MySqlConnection con = new MySqlConnection("Server=localhost;Database=speedtest;Uid=root;Pwd=;");
... | 2.912561 | d5e5c526a103e1771547ef154b912741 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831341 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "indrivo/bizon360_pm",
"max_stars_repo_path": "IndrivoPM/IndrivoPM/Views/Reports/Dashboards/_ProjectActivityTypeTrackerChart.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:150561"
} | starcoder | <reponame>indrivo/bizon360_pm<gh_stars>0
@model Gear.Manager.Core.EntityServices.Reports.Queries.Charts.GetProjectActivityTypeTrackers.ProjectActivityTrackersListViewModel
@{
Layout = null;
}
<canvas id="pie-chart-tracker-types" width="800" height="450"></canvas>
<script>
function GetActivityTrackerNames() {... | 2.326742 | 2c5d61e959a3f48f2a61943c1cd7390b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831342 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SquirtingElephant/XNA-Library",
"max_stars_repo_path": "Lib_XBox/QuadTree/QuadTree.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150562"
} | starcoder | /*
* TODO:
* - Push items to child nodes when the # of items > maxitems per node.
* - What do I do with a moving/scaling item?
* - How do I handle a big item that spans across multiple nodes?
* - Return the items that are inside a certain rectangle.
* - What happens when 3 or more objects of the same size are lo... | 3.02025 | 070261fe2110a9f4b3785ff1de813334 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831343 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "KeithHenry/Lib.AspNetCore.ServerTiming",
"max_stars_repo_path": "Test.AspNetCore.ServerTiming/Infrastructure/ServerTimingServerStartup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150563"
} | starcoder | <filename>Test.AspNetCore.ServerTiming/Infrastructure/ServerTimingServerStartup.cs
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Lib.AspNetCore.ServerTiming;
using Lib.AspNetCore.ServerTiming.Http.Headers;
names... | 2.016778 | d26cc83380a17a2e88f97979aa0d2f78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831344 | {
"extension": "c-sharp",
"max_stars_count": "11580.0",
"max_stars_repo_name": "BSoDGamingYT/Ryujinx",
"max_stars_repo_path": "Ryujinx.HLE/HOS/Services/Nv/NvDrvServices/NvHostCtrlGpu/Types/ZbcSetTableArguments.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150564"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace Ryujinx.HLE.HOS.Services.Nv.NvDrvServices.NvHostCtrlGpu.Types
{
[StructLayout(LayoutKind.Sequential)]
struct ZbcColorArray
{
private uint element0;
private uint element1;
private uint element2;
private uint eleme... | 1.936874 | 401908843a5b388c109e6e70e4a17aca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831345 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nicodeslandes/Eagle",
"max_stars_repo_path": "Eagle.Test/FilePicker/FilePickerViewModelTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150565"
} | starcoder | using NUnit.Framework;
using Eagle.FilePicker.ViewModels;
using Moq;
using Eagle.ViewModels;
namespace Eagle.Test.FilePicker
{
[TestFixture]
public class FilePickerViewModelTests
{
private Mock<IObjectPropertiesProvider> _objectPropertyProvider;
private Mock<IFileManager> _fileM... | 2.127221 | 158e0677b9fee50e725b008946a14be7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831346 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Milkenm/MCSM",
"max_stars_repo_path": "MCSM_Core/Extensions/Buffer/WriteInt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150566"
} | starcoder | <reponame>Milkenm/MCSM
using System.Collections.Generic;
namespace MCSM_Core.Extensions
{
public static partial class BufferExtensions
{
public static void WriteInt(this List<byte> buffer, int value)
{
while ((value & 128) != 0)
{
buffer.Add((byte)(value & 127 | 128));
value = (int)((uint)value) >... | 2.617932 | 2c285538c629d6b6d7de4cffcac8e9d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831347 | {
"extension": "c-sharp",
"max_stars_count": "1202.0",
"max_stars_repo_name": "talrasha/Dynamo",
"max_stars_repo_path": "src/DynamoCoreWpf/Controls/Login.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150567"
} | starcoder | using System.Windows;
using System.Windows.Controls;
using Dynamo.ViewModels;
using Greg.AuthProviders;
namespace Dynamo.Wpf.Controls
{
/// <summary>
/// Interaction logic for Login.xaml
/// </summary>
public partial class Login : UserControl
{
private readonly PackageManagerClientViewMo... | 2.087272 | a6d7e3b1daa97dbd498a0d483692ca51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831348 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Devwarlt/LOE-V6-SERVER",
"max_stars_repo_path": "gameserver/logic/skills/Spawn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150568"
} | starcoder | #region
using LoESoft.GameServer.realm;
using LoESoft.GameServer.realm.entity;
#endregion
namespace LoESoft.GameServer.logic.behaviors
{
public class Spawn : Behavior
{
private readonly ushort children;
private readonly int initialSpawn;
private readonly int maxChildren;
priv... | 2.343567 | c2e13fca925790d5b686ef032f2a2198 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831349 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "sguest/NbtLib",
"max_stars_repo_path": "Tests/NbtLib.Tests/Serialization/NestedObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150569"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
namespace NbtLib.Tests.Serialization
{
public class NestedObject
{
public CompoundChild CompoundChild { get; set; }
public List<ListChild> ListChild { get; set; }
}
public class CompoundChild
{
public string StringTag { get;... | 1.962451 | 0283bc529ef71f34173436ba2aa7d8ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sir1usBl4ck/PathfinderSheet",
"max_stars_repo_path": "PathfinderSheetDataAccess/Serializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150570"
} | starcoder | <filename>PathfinderSheetDataAccess/Serializer.cs<gh_stars>0
using System.Collections.ObjectModel;
using System.IO;
using Newtonsoft.Json;
namespace PathfinderSheetDataAccess
{
public class Serializer
{
public void SerializeCollection<T>(ObservableCollection<T> t,string filename)
{
... | 3.183903 | 48d50098f5c9e764e94bf07abf99e2b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831351 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "efieleke/CommandLib",
"max_stars_repo_path": "Commands/ScheduledCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150571"
} | starcoder | using System;
using System.Globalization;
namespace Sophos.Commands
{
/// <summary>
/// Represents a <see cref="Command"/> that executes at a given time. When a ScheduledCommand is executed, it will enter an
/// efficient wait state until the time arrives at which to execute the underlying command.
/// </summary>... | 2.974621 | fe07bc8443ba75073c04f3ec5b0d6152 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831352 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "pagarme/bifrost",
"max_stars_repo_path": "PagarMe.Bifrost.Setup.Helper/InstallerContents.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150572"
} | starcoder | <filename>PagarMe.Bifrost.Setup.Helper/InstallerContents.cs
using PagarMe.Generic;
using System;
using System.IO;
using System.IO.Compression;
namespace PagarMe.Bifrost.Setup.Helper
{
internal class InstallerContents : ProgramVersion
{
public static void PublishLinux()
{
var instal... | 2.499143 | f4a5cb80de0410fbffd4f4c8f61e985e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831353 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brianpos/fhir-distillery",
"max_stars_repo_path": "fhir.distillery.test/ScanServerSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150573"
} | starcoder | <filename>fhir.distillery.test/ScanServerSettings.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace fhir.distillery.test
{
public class ScanServerSettings
{
public string baseurl { get; set; }
public string[] querie... | 1.42367 | 50ac5fac91607491389aad0a1a7b6414 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831354 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "djosuhe/cake",
"max_stars_repo_path": "Inmobiliaria/Views/Lotificadora/Create.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:150574"
} | starcoder | <filename>Inmobiliaria/Views/Lotificadora/Create.cshtml
@model InmobiliariaViewModels.Lotificadora.LotificadoraViewModels
@{
ViewBag.Title = "Ingresar Lotificadora";
}
<div class="row">
<div class="col s12 m12 l12">
<h2 class="blue-text text-darken-1">Ingresar Lotificadora</h2>
@using (Html.Beg... | 2.091297 | 052da742c91534f3ade6eedbbb529e8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831355 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kulics/xytodo-cross-platform",
"max_stars_repo_path": "XyTodo/XyTodo.iOS/Cross/CrossUserPreferences.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150575"
} | starcoder | using Foundation;
using Xamarin.Forms;
using XyTodo.Cross;
using XyTodo.iOS.Cross;
[assembly: Dependency( typeof( CrossUserPreferences ) )]
namespace XyTodo.iOS.Cross
{
class CrossUserPreferences : ICrossUserPreferences
{
public void Clear()
{
throw new System.NotImplementedExcepti... | 2.207284 | 57b1dc3e61569d5e1dbe50393d94da38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831356 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FMSC-Measurements/NatCruise",
"max_stars_repo_path": "src/NatCruise.Cruise/Models/Abstractions/IHasTreeID.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150576"
} | starcoder | <filename>src/NatCruise.Cruise/Models/Abstractions/IHasTreeID.cs<gh_stars>0
namespace NatCruise.Cruise.Models
{
public interface IHasTreeID
{
string TreeID { get; set; }
}
} | 1.901695 | 1ae6572c772c91a6f8699cbdc67158f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831357 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hsinghkalsi/newrelic-dotnet-agent",
"max_stars_repo_path": "src/Agent/NewRelic/Agent/Core/DependencyInjection/IContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150577"
} | starcoder | /*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
using System;
using System.Collections.Generic;
namespace NewRelic.Agent.Core.DependencyInjection
{
public interface IContainer : IDisposable
{
void Register<TInterface, TConcrete>()
whe... | 1.84277 | f71a1a6471b2c914c0622fa4702f281b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831358 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MalauD/CSM",
"max_stars_repo_path": "src/Networking/Server.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150578"
} | starcoder | <gh_stars>0
using CSM.Networking.Config;
using CSM.Networking.Status;
namespace CSM.Networking
{
/// <summary>
/// Server
/// </summary>
public class Server : BaseServer
{
/// <summary>
/// Get the Player object of the server host
/// </summary>
public Playe... | 2.53025 | 190cba3dd55082b2b5d0441f1b14eb8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831359 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Jan0660/Log73",
"max_stars_repo_path": "src/Log73.Extensions.YamlDotNet/YamlDotNetSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150579"
} | starcoder | <filename>src/Log73.Extensions.YamlDotNet/YamlDotNetSerializer.cs
using YamlDotNet.Serialization;
namespace Log73.Extensions.YamlDotNet
{
/// <summary>
/// Serializes objects as YAML using YamlDotNet.
/// </summary>
public class YamlDotNetSerializer : IObjectSerializer
{
public Serializer S... | 2.82197 | 5370b03b99541ef5a0efccd8d78f0f38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "italabs/ITA.Common",
"max_stars_repo_path": "SOURCE/ITA.Common.Host/DatabaseManager/DatabaseConnectionMonitor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150580"
} | starcoder | <filename>SOURCE/ITA.Common.Host/DatabaseManager/DatabaseConnectionMonitor.cs
using System;
using System.Threading;
using ITA.Common.Host.Interfaces;
using log4net;
namespace ITA.Common.Host.DatabaseManager
{
/// <summary>
/// Вспомогательный класс для мониторинга соединения с базой данных. При исчерпании лим... | 2.495916 | 149078f688463a62812ec1f0af8dafdd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831361 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "piruzhaolu/blog",
"max_stars_repo_path": "BlogProject/Assets/DOTS/SineMotionSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150581"
} | starcoder | <reponame>piruzhaolu/blog
using UnityEngine;
using System.Collections;
using Unity.Entities;
using Unity.Jobs;
using Unity.Burst;
using Unity.Transforms;
using Unity.Mathematics;
using Unity.Collections;
public class SineMotionSystem : JobComponentSystem
{
[BurstCompile]
[RequireComponentTag(typeof(SineTag))]... | 1.98225 | 75ec23af56fa880ecadedf7a79b986b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831362 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KevOrr/TensorFlow.NET",
"max_stars_repo_path": "src/TensorFlowNET.Core/Eager/TFE_Executor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150582"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Tensorflow.Eager
{
public struct TFE_Executor
{
IntPtr _handle;
public TFE_Executor(IntPtr handle)
=> _handle = handle;
public static implicit operator TFE_Executor(IntPtr handle)
=> ... | 2.133837 | 6db1cab59257cfbd006f636dceff5666 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831363 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Shadowrabbit/RabiAssetBundleManager",
"max_stars_repo_path": "Assets/Scripts/Core/Resource/BundleLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150583"
} | starcoder | // ******************************************************************
// /\ /| @file BundleLoader.cs
// \ V/ @brief AB包加载器 负责一个AB包的加载与卸载
// | "") @author Shadowrabbit, <EMAIL>
// / |
// / \\ @Modified 2021-05-07 19:30:20
// ... | 2.386647 | 80ecb2508c9a5e387b760efdfb4636ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JamesStuder/Scribe-API-.NET",
"max_stars_repo_path": "Scribe.Api.Library/Models/RelnameinformationlookupModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150584"
} | starcoder | <reponame>JamesStuder/Scribe-API-.NET<filename>Scribe.Api.Library/Models/RelnameinformationlookupModel.cs
namespace Scribe.Api.Library.Models
{
public class RelnameinformationlookupModel
{
public string Key { get; set; }
public ImportMapValueModel Value { get; set; }
}
} | 1.516926 | 180540039517ed00f36ca9e0d51ab30c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831365 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Andro0/TelerikAcademy",
"max_stars_repo_path": "C#1/Homework_Primitive Data Types and Variables/08.IsoscelesTriangle/IsoscelesTriangle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150585"
} | starcoder | /* Write a program that prints an isosceles triangle of 9 copyright symbols ©, something like this:
©
© ©
© ©
© © © © */
using System;
class IsoscelesTriangle
{
static void Main()
{
Console.OutputEncoding = System.Text.Encoding.Unicode;
Console.Write(" \u00A9\n\n");
Cons... | 3.477384 | c2c4c3e6c8ead1acbe8d3aa8658d87bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831366 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JackalFoxtrot/Project03_DungeonInventory",
"max_stars_repo_path": "Assets/ScriptableObjects/Items/Scripts/ConsumableObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150586"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "New Consumable Object", menuName = "Inventory Systems/Items/Consumable")]
public class ConsumableObject : ItemObject
{
public int restoreHealthValue;
public void Awake()
{
type = Ite... | 1.699175 | 4e465bb9c29479d7c610e1b59676eea7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831367 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "MTantos1/csla",
"max_stars_repo_path": "Source/Csla.Validation.Test/VIdentity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150587"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Csla.Core;
using Csla.Security;
namespace Csla.Validation.Test
{
[Serializable]
public class VIdentity : CslaIdentity
{
public VIdentity() { }
public VIdentity(para... | 1.632936 | 827e8cda863d76682cb71dafb59a0bb2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831368 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DenicaAtanasova/SoftUni",
"max_stars_repo_path": "II_C#_Fundamentals/01.C#_Advanced/L02_Multidimensional_Arrays/P07_Lego_Blocks/StartUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150588"
} | starcoder | <reponame>DenicaAtanasova/SoftUni<gh_stars>0
using System;
using System.Linq;
namespace P07_Lego_Blocks
{
class StartUp
{
static void Main(string[] args)
{
var n = int.Parse(Console.ReadLine());
var cellsCounter = new int[n];
var firstBlock = ArrangeBlock(... | 3.495832 | 44548542e5cfd99d05fde2e30dbd0cf3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831369 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "neo-ngd/Neo3-GUI",
"max_stars_repo_path": "neo3-gui/neo3-gui/Helpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150589"
} | starcoder | <reponame>neo-ngd/Neo3-GUI
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Net.WebSockets;
using System.Numerics;
using System.Reflection;
using System.Text;
using System.Te... | 1.663077 | 39199436259db3cbebad377776828db5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831370 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "acid996/Signals",
"max_stars_repo_path": "src-extensibility/05 Aspects/09 Authentication and authorization/Signals.Aspects.Auth.NetCore/CustomScheme/SignalsAuthenticationHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:15059... | starcoder | using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
namespace Signals.Aspects.Auth.NetCore.CustomScheme
{
/// <summary>
/// Authenticaiton handler wrapped that uses custom principal pr... | 2.520584 | 31299668a7158c34ae56e8ac65209376 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831371 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sundews/Sundew.DiscriminatedUnions",
"max_stars_repo_path": "Source/Sundew.DiscriminatedUnions.CodeFixes/TextHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150591"
} | starcoder | <filename>Source/Sundew.DiscriminatedUnions.CodeFixes/TextHelper.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TextHelper.cs" company="Hukano">
// Copyright (c) Hukano. All rights reserved.
// Licensed under the MIT licens... | 2.520781 | 2e25a16415e6352e54cb27d3d9159783 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831372 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodingGorilla/commandr",
"max_stars_repo_path": "src/Commandr/Results/PlainTextResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150592"
} | starcoder | <reponame>CodingGorilla/commandr
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace Commandr.Results
{
internal class PlainTextResult : ICommandResult
{
private readonly int _statusCode;
private readonly string _result;
public PlainTextResult(int st... | 2.411213 | 538d8e27c83e9588c4839ec76a9fceae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831373 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Killers2/K2host.WebServer",
"max_stars_repo_path": "Enums/OPageType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150593"
} | starcoder | <reponame>Killers2/K2host.WebServer<gh_stars>0
/*
' /====================================================\
'| Developed <NAME> (www.k2host.co.uk) |
'| Projected Started: 2019-07-04 |
'| Use: General |
' \========================================... | 1.435282 | f8e9b90e2cf3d899b1a2ad3793f09cbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831374 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "congzhiwei1994/_myMain",
"max_stars_repo_path": "2020.3.15f2_main/Assets/3rd/taecgLibrary/ShaderReference/Editor/ShaderReferenceMiscellaneous.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150594"
} | starcoder | <reponame>congzhiwei1994/_myMain<gh_stars>0
/**
* @file ShaderReferenceMath.cs
* @author <NAME>(<EMAIL>)
* @created 2018-12-05
* @updated 2021-02-03
*
* @brief 杂项,一些算法技巧
*/
#if UNITY_EDITOR
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace taecg.t... | 1.963389 | 4550d3f57a615d2ed86182898c41236a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831375 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "radicalgraphics/unityassets",
"max_stars_repo_path": "FpsHud3D/Assets/FpsHud/Scripts/FpsHudUvCoords.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150595"
} | starcoder | using UnityEngine;
[RequireComponent(typeof(MeshFilter))]
public class FpsHudUvCoords : MonoBehaviour
{
[SerializeField]
Vector2[] uv = new Vector2[4];
void Start()
{
GetComponent<MeshFilter>().mesh.uv = uv;
}
} | 1.481999 | 91f68ce34f3f466da23969ffb0b5c520 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831376 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yo-li/DBManage",
"max_stars_repo_path": "DBManage/Views/DB/Detail.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:150596"
} | starcoder | @{
ViewBag.Title = "数据库管理";
}
<input type="hidden" id="TableName" value="@ViewBag.TableName " />
<script src="~/Scripts/laytpl/laytpl.js"></script>
<script src="~/Scripts/layer/layer.js"></script>
<script src="~/Scripts/Comm.js"></script>
<div class="container">
<h3>@Html.Raw("数据库管理</br>")</h3>
<br />
... | 2.309803 | a2b2f6215f603ae9b7b643f73c6bc3e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831377 | {
"extension": "c-sharp",
"max_stars_count": "148.0",
"max_stars_repo_name": "piovezan/SOpt",
"max_stars_repo_path": "CSharp/Algorithm/SumRandom.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150597"
} | starcoder | <filename>CSharp/Algorithm/SumRandom.cs
int soma = 0;
for (int i = 0; i < Convert.ToInt32(qtdD6.Text); i++ ) {
soma += rnd.Next(1, 7);
}
resultadoD6.Text = soma.ToString();
//Alternativa
var qtde = Convert.ToInt32(qtdD6.Text)
resultadoD6.Text = (rnd.Next(qtde, qtde * 6 + 1)).ToString();
//https://pt.stackoverflo... | 2.768589 | 4420d51213999b98d77c1721a13e8ef4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831378 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "NewfolderGames/Out_of_Keys",
"max_stars_repo_path": "Assets/Scripts/PlayerKeyboard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150598"
} | starcoder | <reponame>NewfolderGames/Out_of_Keys<filename>Assets/Scripts/PlayerKeyboard.cs
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerKeyboard : MonoBehaviour {
public static readonly KeyCode[][] KeyCodes = new KeyCode[][] {
n... | 1.753441 | 034b085be587d9a18f1561f380221222 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831379 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "winstongubantes/CryptoApp",
"max_stars_repo_path": "src/CryptoApp/CryptoApp/ViewModels/CryptoDetailPageViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150599"
} | starcoder | using Prism.Commands;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using Acr.UserDialogs;
using CryptoApp.Models;
using CryptoApp.Services;
using Prism.Navigation;
using Prism.Services;
using System.Threading.Tasks;
using System.Diagnostics;
using CryptoApp.Models.Dtos;
using Cr... | 2.29717 | b6443a3b7948cfc3ea600adabf9a48f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831380 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shadowstrafe/AdventOfCode2017",
"max_stars_repo_path": "Day11/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150600"
} | starcoder | <filename>Day11/Program.cs<gh_stars>0
using System;
using System.IO;
namespace Day11
{
class Program
{
static void Main(string[] args)
{
// string[] input = "se,sw,se,sw,sw".Split(',');
string[] input = File.ReadAllText(args[0]).Split(',');
PartOne(input);
... | 3.867512 | 630beb36a3f15c1d606d1c733d669261 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831381 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marindraganov/BoardGameWithoutName",
"max_stars_repo_path": "BoardGameWithoutName/GameLogic/interfaces/ITakeOffer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150601"
} | starcoder | namespace GameLogic.Interfaces
{
using System.Collections.Generic;
using GameLogic.Map.Fields.Institutions;
public interface ITakeOffer
{
Offer Offer { get; set; }
}
}
| 1.620172 | d966b2df24f9e79c5f5360ef7b25d7df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831382 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "PenguinF/sandra-three",
"max_stars_repo_path": "Sandra.Chess/Pgn/PgnVariationSyntax.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150602"
} | starcoder | <reponame>PenguinF/sandra-three
#region License
/*********************************************************************************
* PgnVariationSyntax.cs
*
* Copyright (c) 2004-2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance ... | 2.189273 | 0f53ba904d8f963c2c602ace005316e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831383 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "electrifier/electrifier",
"max_stars_repo_path": "src/electrifier.Core/Properties/Resources.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150603"
} | starcoder | <filename>src/electrifier.Core/Properties/Resources.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be l... | 1.897489 | c2ff53444c4954a9f68e1afde402d114 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831384 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "douglasfls/it-lab-crud",
"max_stars_repo_path": "ItLab.CrudApp/Pages/Product/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:150604"
} | starcoder | <filename>ItLab.CrudApp/Pages/Product/Index.cshtml
@page
@model ItLab.CrudApp.ProductPage.IndexModel
@{
ViewData["Title"] = "Index";
}
<h1>Index</h1>
<p>
<a asp-page="Create">Create New</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => mod... | 2.567667 | 1ab8782a90924a885602099a1d5670f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831385 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "myroot/maui",
"max_stars_repo_path": "src/Compatibility/Core/src/Tizen/Renderers/IndicatorViewRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150605"
} | starcoder | using Microsoft.Maui.Controls.Platform;
namespace Microsoft.Maui.Controls.Compatibility.Platform.Tizen
{
public class IndicatorViewRenderer : ViewRenderer<IndicatorView, Native.IndicatorView>
{
public IndicatorViewRenderer()
{
RegisterPropertyHandler(IndicatorView.CountProperty, UpdateCount);
RegisterPrope... | 1.974517 | 52f27e5d3f28063020b89c8bb613d926 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831386 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "LogicAndTrick/LinqToSQL2",
"max_stars_repo_path": "tests/ReadWriteTests/Pair.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150606"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ReadWriteTests.SqlServer
{
public class Pair<T1, T2>
{
public Pair()
{
}
public Pair(T1 v1, T2 v2)
{
this.Value1 = v1;
this.Value2 = v2;
}
public T1 Value1 { get; set; }
public T2 Value2 { get; set... | 2.758761 | f4f8aafed21998905c97f9333ee5ca80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831387 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DataDog/dd-shared-components-dotnet",
"max_stars_repo_path": "shared/src/Shared-Libs/DynamicDiagnosticSourceBindings/UnusedSrc/Datadog.DynamicDiagnosticSourceBindings/public/ActivityKindStub.cs",
"provenance": "train-00027-of-00045.js... | starcoder | <reponame>DataDog/dd-shared-components-dotnet
namespace Datadog.DynamicDiagnosticSourceBindings
{
/// <summary>
/// This MUST have a 1-to-1 value mapping to
/// https://github.com/dotnet/runtime/blob/master/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/ActivityKind.cs
/... | 2.392909 | 8eb5db1c5cd2104e92c4dc5705964e20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831388 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LaneSang/InTheHand.Net.Personal",
"max_stars_repo_path": "InTheHand.Net.Personal/Net.Bluetooth.Widcomm/WidcommStBtIf.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150608"
} | starcoder | // 32feet.NET - Personal Area Networking for .NET
//
// InTheHand.Net.Bluetooth.Widcomm.WidcommStBtIf
//
// Copyright (c) 2008-2010 In The Hand Ltd, All rights reserved.
// Copyright (c) 2008-2010 <NAME>, All rights reserved.
// This source code is licensed under the In The Hand Community License - see License.txt
us... | 1.988594 | 94fed21ee5c960a1290fa29112099c57 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831389 | {
"extension": "c-sharp",
"max_stars_count": "94.0",
"max_stars_repo_name": "folding/PerfIt",
"max_stars_repo_path": "src/PerfIt/CounterTypes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150609"
} | starcoder | #if NET452
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PerfIt
{
public class CounterTypes
{
public const string AverageTimeTaken = "AverageTimeTaken";
public const string TotalNoOfOperations = "TotalNoOfOperations";
public... | 1.948153 | e3db4491546f6f517ce817021da325f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831390 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "duongphuhiep/chatasp",
"max_stars_repo_path": "src/dal/Models/User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150610"
} | starcoder | using System;
using System.Collections.Generic;
namespace Dal.Models
{
/// <summary>
/// And user can make or join any conversation
/// </summary>
public class User
{
public string NickName { get; set; }
public string FirstName { get; set; }
public string LastName { get; se... | 1.967827 | 61b5de4108e4713cba63a858919ca97b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831391 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thogil/MediaBrowser.Theater",
"max_stars_repo_path": "MediaBrowser.Theater.Presentation/ViewModels/MediaStreamViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150611"
} | starcoder | <filename>MediaBrowser.Theater.Presentation/ViewModels/MediaStreamViewModel.cs
using MediaBrowser.Model.Dto;
using MediaBrowser.Model.Entities;
using MediaBrowser.Theater.Interfaces.ViewModels;
using System;
using System.Collections.Generic;
using System.Globalization;
namespace MediaBrowser.Theater.Presentation.View... | 2.604419 | 8c92d0b269edcc098a6b3be0588ac37d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831392 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "FluffierThanThou/MedicalTab",
"max_stars_repo_path": "Source/MedicalInfo/HarmonyPatches/DefGenerator_GenerateImpliedDefs_PreResolve.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150612"
} | starcoder | <filename>Source/MedicalInfo/HarmonyPatches/DefGenerator_GenerateImpliedDefs_PreResolve.cs
// <NAME>
// DefGenerator_GenerateImpliedDefs_PreResolve.cs
// 2017-05-16
using DynamicPawnTable;
using HarmonyLib;
using RimWorld;
using Verse;
namespace Fluffy {
[HarmonyPatch(typeof(DefGenerator), nameof(DefGenerator.Gen... | 2.202273 | 09d4e72ba72a42ee9e1a061822a9f301 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831393 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maxoizs/CardGames",
"max_stars_repo_path": "test/CardGame.Tests/PlayerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150613"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace CardGame.Tests
{
[TestFixture]
public class PlayerTest
{
[Test]
public void WhenPlayerDeal_ShouldFlushCardsWithNewDeal()
{
var player = new SnapPlayer( "P1");
var card = n... | 2.961831 | ee21edba52b5c89a5ad2b0b837bbe338 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831394 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Markusgp/BDSA_As04",
"max_stars_repo_path": "Assignment4.Entities/UserRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150614"
} | starcoder | <reponame>Markusgp/BDSA_As04<gh_stars>0
using System.Collections.Generic;
using Assignment4.Core;
using System.Data;
using System;
using System.Linq;
namespace Assignment4.Entities
{
} | 0.981382 | ba256b0e95ecf4b10f7b3709357b07a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831395 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "danstoyanov/CSharp-OOP",
"max_stars_repo_path": "Polymorphism/Polymorphism Exercise Problems/P04_Wild_Farm/Models/Animals/Animal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150615"
} | starcoder | using P04_Wild_Farm.Contracts;
using P04_Wild_Farm.Models.Foods;
namespace P04_Wild_Farm.Models.Animals
{
public class Animal : IAnimal
{
public Animal()
{
}
public Animal(string name, double weight)
: this()
{
this.Name = name;
thi... | 3.116561 | 942ccaf994b639eb8e3a3dd508b4daf2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831396 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amironov73/ManagedIrbis5",
"max_stars_repo_path": "Source/Libs/AM.Core5/Source/Commands/CommandDescriptor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150616"
} | starcoder | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// ReSharper disable CheckNamespace
// ReSharper disable ClassNeverInstantiated.Global
// ReSharper disable CommentTypo
// ReSharper disable EventNeverSubscri... | 2.342257 | d89e7fa97a13cf2e354c0841d3422f6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831397 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "omeaart/Nancy",
"max_stars_repo_path": "src/Nancy.Demo.Authentication.Token.TestingDemo/LoginFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150617"
} | starcoder | namespace Nancy.Demo.Authentication.Token.TestingDemo
{
using System;
using Nancy.Testing;
using Nancy.Tests;
using Xunit;
public class LoginFixture
{
private readonly Browser browser;
public LoginFixture()
{
var bootstrapper = new TestBootstrap... | 2.209515 | 80fcd9abb24d9b8f446aba4808fc37f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831398 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mrh0057/HoytSys.Common",
"max_stars_repo_path": "HoytSys.Messaging/IMessageStore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150618"
} | starcoder | <reponame>mrh0057/HoytSys.Common
using System.Threading.Tasks;
using A19.Messaging.Common;
namespace A19.Messaging
{
public interface IMessageStore<TPayloadType, TBody, TCtx> where TPayloadType:struct
where TCtx:IMessageCtx<TPayloadType, TBody>
{
/// <summary>
/// Stores a message... | 2.610454 | c9ffdb58035fb126240ef7bc3059cae1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831399 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "watzlawek/CyberCAT",
"max_stars_repo_path": "CyberCAT.Core/Enums/Dumped Enums/EAILastHitReactionPlayed.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150619"
} | starcoder | <filename>CyberCAT.Core/Enums/Dumped Enums/EAILastHitReactionPlayed.cs
namespace CyberCAT.Core.DumpedEnums
{
public enum EAILastHitReactionPlayed
{
None = -1,
Twitch = 0,
Impact = 1,
Stagger = 2,
Knockdown = 3
}
}
| 1.534271 | bcd82ab983a807547a368bab9e32793d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831400 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "multinetinventiv/routine",
"max_stars_repo_path": "src/Routine/Service/Configuration/ConventionBasedServiceConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150620"
} | starcoder | <reponame>multinetinventiv/routine
using System;
using System.Collections.Generic;
using Routine.Core;
using Routine.Core.Configuration;
namespace Routine.Service.Configuration
{
public class ConventionBasedServiceConfiguration : LayeredBase<ConventionBasedServiceConfiguration>, IServiceConfiguration
{
public Sin... | 1.752961 | ef3c131293d4bde40e9222ad02ecd3dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831401 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/tl-result-and-certification",
"max_stars_repo_path": "src/Tests/Sfa.Tl.ResultsAndCertification.IntegrationTests/Services/PathwayServiceTests/When_GetPathwaySpecialismsByPathwayLarId_Called_With_Valid_Data.cs",
"pro... | starcoder | using FluentAssertions;
using Microsoft.Extensions.Logging;
using NSubstitute;
using Sfa.Tl.ResultsAndCertification.Application.Services;
using Sfa.Tl.ResultsAndCertification.Data.Interfaces;
using Sfa.Tl.ResultsAndCertification.Domain.Models;
using Sfa.Tl.ResultsAndCertification.Models.Contracts;
using System.Linq;
u... | 2.253583 | d361f990b96d021d09e040f74358856c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831402 | {
"extension": "c-sharp",
"max_stars_count": "471.0",
"max_stars_repo_name": "MadDroid/Steam-Library-Manager",
"max_stars_repo_path": "Source/Steam Library Manager/Definitions/Updater.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150622"
} | starcoder | namespace Steam_Library_Manager.Definitions
{
internal static class Updater
{
// Update control URL
public static string VersionControlUrl = "https://raw.githubusercontent.com/RevoLand/Steam-Library-Manager/master/Binaries/Version.xml";
}
} | 1.886989 | ad58f6a47fd3bb89adc0804104dc1406 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831403 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "monemihir/webextras",
"max_stars_repo_path": "trunk/WebExtras.DemoApp/Areas/Bootstrap/Controllers/MvcController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150623"
} | starcoder | <gh_stars>1-10
/*
* This file is part of - WebExtras Demo application
* Copyright (C) 2014 <NAME>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 2 of the License,... | 1.87135 | 39a2ddc3f563353f898cce47d112014b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831404 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "smbc-digital/iag-webapp",
"max_stars_repo_path": "test/StockportWebappTests/Unit/Parsers/ContactUsMessageTagParserTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150624"
} | starcoder | <reponame>smbc-digital/iag-webapp
using System;
using System.Collections.Generic;
using FluentAssertions;
using Moq;
using StockportWebapp.Models;
using StockportWebapp.Parsers;
using StockportWebapp.ProcessedModels;
using StockportWebapp.Utils;
using Xunit;
namespace StockportWebappTests_Unit.Unit.Parsers
{
publ... | 2.098958 | 82a859cdec8b21154981f1abf3d48b77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831405 | {
"extension": "c-sharp",
"max_stars_count": "438.0",
"max_stars_repo_name": "nlcamp/azure-iot-sdk-csharp",
"max_stars_repo_path": "iothub/service/src/Common/Exceptions/ConfigurationNotFoundException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150625"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Runtime.Serialization;
namespace Microsoft.Azure.Devices.Common.Exceptions
{
/// <summary>
/// The exception that is thrown when th... | 2.549525 | 3a43a8914971bc5d476d453180db705e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831406 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "amanchik3007/UltraMafia",
"max_stars_repo_path": "src/UltraMafia.DAL/Enums/GameSessionStates.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150626"
} | starcoder | namespace UltraMafia.DAL.Enums
{
public enum GameSessionStates
{
Registration,
Playing,
GameOver,
ForceFinished
}
} | 1.396934 | 45984b03fd4a37d6d2d9c8fd3a1801eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831407 | {
"extension": "c-sharp",
"max_stars_count": "240.0",
"max_stars_repo_name": "hacky1997/calculator",
"max_stars_repo_path": "src/Calculator.Shared/Views/DateCalculator.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150627"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Globalization;
using Windows.Globalization.DateTimeFormatting;
using Windows.UI.Core;
using Windows.UI.ViewManagement;
usin... | 1.914162 | 489fd0a4bf90c0a1af4978a6313fa071 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831408 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FeatureToggleStudy/LVK",
"max_stars_repo_path": "src/LVK.Performance.Counters/PerformanceCounters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150628"
} | starcoder | <filename>src/LVK.Performance.Counters/PerformanceCounters.cs
using System;
using System.Collections.Concurrent;
namespace LVK.Performance.Counters
{
internal class PerformanceCounters : IPerformanceCounters
{
private readonly ConcurrentDictionary<string, IPerformanceCounter> _Counters =
ne... | 2.603189 | 1cec4612b099f9378d5a550954393662 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831409 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Phils0/UkRailTimetableDatabase",
"max_stars_repo_path": "Loader/TimetableLoader/SqlServer/RecordLoaderBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150629"
} | starcoder | using System;
using System.Data;
using System.Data.SqlClient;
using Serilog;
namespace TimetableLoader.SqlServer
{
internal abstract class RecordLoaderBase
{
private SqlConnection _connection;
private Sequence _sequence;
protected ILogger _logger;
protected abstract string Tabl... | 2.813714 | f9bebcdc4c71ce8d806df39805c27ce6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831410 | {
"extension": "c-sharp",
"max_stars_count": "121.0",
"max_stars_repo_name": "sisisin/pulumi-gcp",
"max_stars_repo_path": "sdk/dotnet/Dataproc/Outputs/WorkflowTemplatePlacementManagedCluster.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150630"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 2.044589 | 0ca3fff64725e6d3fc66c3f05cd6237c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831411 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "twgraham/Blue",
"max_stars_repo_path": "src/Blue.Core/Common/IBluetoothAdapter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150631"
} | starcoder | using System.Threading.Tasks;
namespace Blue.Common
{
public interface IBluetoothAdapter
{
string Address { get; }
string Name { get; }
string Alias { get; set; }
bool Discoverable { get; set; }
bool Discovering { get; }
string[] UUIDs { get; }
Task Star... | 1.719403 | 980b6c75e38570ea830176f1b5b68228 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.