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 | 8840140 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "Vespertan/everest",
"max_stars_repo_path": "MARC.Everest.Test/Manual/DataTypes/IVLExamplesTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159360"
} | starcoder | <reponame>Vespertan/everest<filename>MARC.Everest.Test/Manual/DataTypes/IVLExamplesTest.cs
/**
* Copyright 2008-2014 Mohawk College of Applied Arts and Technology
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. You may
... | 2.052588 | b5aa02c747fc6c6dc8a5e5758e43f915 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840141 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "felix1000/ODataConnectedService-For-VS2022",
"max_stars_repo_path": "src/ODataConnectedService/Views/SchemaTypes.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159361"
} | starcoder | <gh_stars>10-100
using System.Linq;
using Microsoft.OData.ConnectedService.ViewModels;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using Microsoft.OData.ConnectedService.Models;
namespace Microsoft.OData.ConnectedService.Views
{
/// <summary>
/// Interaction logic for Obje... | 2.02141 | 4a99b218d42275b8f2ad6b5b54f325d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840142 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "colinjacobsorckestra/BetterRetail",
"max_stars_repo_path": "src/Orckestra.Composer.Cart/ViewModels/CheckoutSignInAsGuestViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159362"
} | starcoder | <filename>src/Orckestra.Composer.Cart/ViewModels/CheckoutSignInAsGuestViewModel.cs
using Orckestra.Composer.ViewModels;
namespace Orckestra.Composer.Cart.ViewModels
{
public sealed class CheckoutSignInAsGuestViewModel : BaseViewModel
{
/// <summary>
/// The Checkout URL to target
/// <... | 2.072857 | 06740aad4b36482f73dc66f6e79b496c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840143 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SPDEVGUY/VotingInfoWebsite",
"max_stars_repo_path": "VotingInfo/Database/Logic/Data/Voter/VoterLogic.Static.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159363"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Data;
using VotingInfo.Database.Contracts;
using VotingInfo.Database.Contracts.Data;
///////////////////////////////////////////////////////////
//Do not modify this file. Use a partial class to extend.//
////////////////////////... | 2.53506 | be5c0868ccec839eba4854018f7cb7fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840144 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SVemulapalli/cofoundry",
"max_stars_repo_path": "src/Cofoundry.Domain/Domain/Pages/Queries/GetPageVersionBlockRenderDetailsByIdQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159364"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Cofoundry.Domain.CQS;
namespace Cofoundry.Domain
{
/// <summary>
/// Returns data for a specific block in a page version by it's id. Because
/// the mapped display model may contain ot... | 2.330829 | bd9bd1187f407ea4099dde8f203f21a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840145 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rjporosh/StudentInformation",
"max_stars_repo_path": "StudentInformation/Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159365"
} | starcoder | namespace StudentInformation
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.063628 | 1b6a67d2aafd9a423de0bc20954b7c8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840146 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hzhhhbb/LeetCode",
"max_stars_repo_path": "src/LeetCode.Test/HashTable/LongestSubstringWithoutRepeatingCharactersTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159366"
} | starcoder | <reponame>hzhhhbb/LeetCode<filename>src/LeetCode.Test/HashTable/LongestSubstringWithoutRepeatingCharactersTests.cs
using LeetCode.HashTable;
using NUnit.Framework;
namespace LeetCode.Tests.HashTable
{
[TestFixture()]
public class LongestSubstringWithoutRepeatingCharactersTests
{
[Test()]
... | 2.714563 | 3fa3c1ee1cf5c5161960696599199369 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840147 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jonisavo/space-invaders-vs",
"max_stars_repo_path": "Assets/Scripts/Powerups/Online/PowerupMovementOnline.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159367"
} | starcoder | <reponame>jonisavo/space-invaders-vs
using Photon.Pun;
using UnityEngine;
namespace SIVS
{
[RequireComponent(typeof(PhotonView))]
public class PowerupMovementOnline : PowerupMovement
{
private PhotonView _photonView;
private void Awake() => _photonView = GetComponent<PhotonView>();
... | 1.56797 | b926f6d55e53f005980a602f6ce87e23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840148 | {
"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/Poll/Types/SingleChoice/SingleChoiceAnswerValidatorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1... | starcoder | <filename>src/Services/ConferenceManagement/Strive.Core.Tests/Services/Poll/Types/SingleChoice/SingleChoiceAnswerValidatorTests.cs
using Strive.Core.Services.Poll.Types.SingleChoice;
using Xunit;
namespace Strive.Core.Tests.Services.Poll.Types.SingleChoice
{
public class SingleChoiceAnswerValidatorTests
{
... | 2.34778 | 34333b91602b607e566e6085af58bc36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840149 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skrysmanski/AppWeave",
"max_stars_repo_path": "src/AppMotor.Core/IO/DirectoryPath.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159369"
} | starcoder | #region License
// Copyright 2021 AppMotor Framework (https://github.com/skrysmanski/AppMotor)
//
// 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/lice... | 2.809693 | 354f1e313943578a44c5e875b4ebb274 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840150 | {
"extension": "c-sharp",
"max_stars_count": "133.0",
"max_stars_repo_name": "h0730303779/WebQQWeChat",
"max_stars_repo_path": "src/WebQQCore/Im/Action/WebLogoutAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159370"
} | starcoder | <filename>src/WebQQCore/Im/Action/WebLogoutAction.cs
using System;
using iQQ.Net.WebQQCore.Im.Core;
using iQQ.Net.WebQQCore.Im.Event;
using iQQ.Net.WebQQCore.Im.Http;
using iQQ.Net.WebQQCore.Util;
using Newtonsoft.Json.Linq;
namespace iQQ.Net.WebQQCore.Im.Action
{
/// <summary>
/// <para>登录退出</para>
/// <... | 2.192814 | cede1857dff0735c1eadfc1b3e324da5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840151 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeneralMine/Unity-coding-examples",
"max_stars_repo_path": "GDD Workshop/Assets/Bitcoin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159371"
} | starcoder | <reponame>GeneralMine/Unity-coding-examples
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bitcoin : Currency {
}
| 1.124482 | 185feebce6d4fb24263578976a9f197f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840152 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tobiasvonarx/ETH-DINFK-Bot",
"max_stars_repo_path": "ETHDINFKBot/MigrateSQLiteToMariaDB.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159372"
} | starcoder | using Discord;
using Discord.Rest;
using Discord.WebSocket;
using ETHBot.DataLayer;
using ETHBot.DataLayer.Data.Fun;
using Microsoft.Data.Sqlite;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ETHDINFKB... | 2.345141 | 29838451a7447dd24744b71d7b9c3cad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840153 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "xiangmaolin/Grit.Net.DataAccess",
"max_stars_repo_path": "Nice.DataAccess/Exceptions/DbExcuteException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159373"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Text;
namespace Nice.DataAccess.Exceptions
{
[Serializable]
public sealed class DbExcuteException : DbException
{
private string sql;
public string Sql
{
get { return sql; }
... | 2.65664 | 50c9c8cf7cbcbe2ff687e7a5ba30af44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840154 | {
"extension": "c-sharp",
"max_stars_count": "97.0",
"max_stars_repo_name": "pboechat/CityGeneration",
"max_stars_repo_path": "Assets/Scripts/Pipeline/Stage/CombinedBuildingsMeshGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159374"
} | starcoder | <filename>Assets/Scripts/Pipeline/Stage/CombinedBuildingsMeshGenerator.cs
using UnityEngine;
using System;
using System.Collections.Generic;
using ModelRepository;
using Pattern;
public class CombinedBuildingsMeshGenerator : BuildingsMeshGenerator
{
enum GroundFloorOpts
{
NONE,
ITEMS,
F... | 2.210659 | 8100ae761ea21f72d72c343f62ceb9d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840155 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sputier/CQELight",
"max_stars_repo_path": "benchmarks/CQELight_Benchmarks/Models/EventStore/TestAggregate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159375"
} | starcoder | using CQELight.Abstractions.DDD;
using CQELight.Abstractions.Events.Interfaces;
using CQELight.Abstractions.EventStore;
using System;
using System.Collections.Generic;
using System.Text;
namespace CQELight_Benchmarks.Models
{
partial class TestAggregate : EventSourcedAggregate<Guid, TestAggregateState>
{
... | 1.733459 | ae25912ec63f540f77b3fc16f8181399 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840156 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chi-rei-den/Silverfish",
"max_stars_repo_path": "cards/ULDUM/ULDA/Sim_ULDA_BOSS_03p.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159376"
} | starcoder | <filename>cards/ULDUM/ULDA/Sim_ULDA_BOSS_03p.cs
/* _BEGIN_TEMPLATE_
{
"id": "ULDA_BOSS_03p",
"name": [
"怪盗晋升",
"E.V.I.L. Promotion"
],
"text": [
"<b>被动英雄技能</b>\n在你使用一张<b>跟班</b>牌后,使其获得+@/+@<i>(你每使用一张<b>跟班</b>牌都会升级)</i>。",
"[x]<b>Passive Hero Power</b>\nAfter you play a <b>Lackey</b>, give it\n+@/... | 2.072595 | d923d9a92be05a4b851a68a7addc7bc4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840157 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "joe564338/G_R",
"max_stars_repo_path": "VelcroPhysics-master/ContentPipeline/SVGImport/Objects/VerticesContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159377"
} | starcoder | using System.Collections.Generic;
namespace VelcroPhysics.ContentPipelines.SVGImport.Objects
{
public class VerticesContainer : Dictionary<string, List<VerticesExt>>
{
public VerticesContainer()
{
}
}
}
| 1.329808 | 655c283cf77d2606c73b98e27305f838 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "XeEngine/XeTools",
"max_stars_repo_path": "Xe.Tools.Components.KernelEditor/Views/TabActorDrop.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159378"
} | starcoder | using System.Windows.Controls;
namespace Xe.Tools.Components.KernelEditor.Views
{
/// <summary>
/// Interaction logic for TabActorDrop.xaml
/// </summary>
public partial class TabActorDrop : UserControl
{
public TabActorDrop()
{
InitializeComponent();
}
}
}
| 1.096356 | 1fc21f01626cef6cf235297ae128dba6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840159 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "codescene-org/das-assessor-service",
"max_stars_repo_path": "src/SFA.DAS.AssessorService.PrintFunction.Tests/AssessorServiceApi/WhenSystemRequestsCertificatesToBePrinted.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159379"
} | starcoder | <reponame>codescene-org/das-assessor-service<gh_stars>0
using System.Collections.Generic;
using System.Linq;
using FizzWare.NBuilder;
using FluentAssertions;
using Newtonsoft.Json;
using NUnit.Framework;
using RichardSzalay.MockHttp;
using SFA.DAS.AssessorService.Api.Types.Models.Certificates;
namespace SFA.DAS.Asses... | 2.002073 | df27fe86ac87151d9c296e23bcab441a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840160 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "WiproDS2018/DS_FR",
"max_stars_repo_path": "Code/DigitalSignage_v1.0/WebApp/DigitalSignage/Digital Signage/Views/Home/Campaign.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:159380"
} | starcoder | <reponame>WiproDS2018/DS_FR
<div class="container-fluid ms_root" ng-controller="CampaignController">
<div class="clearfix"></div>
@* Left Side Content *@
<div class="col-md-3 col-sm-4 col-xs-12 col-lg-2 zindx">
<div class="lftmenu_mas">
<span class="col-xs-3 lftbox"><img src="~/Images/... | 2.074861 | 73eb54a9cdaaa75bf93cff4b03906078 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840161 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "bekdepo/APIMon",
"max_stars_repo_path": "APIMonLib/Hooks/ws2_32.dll/Hook_bind.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159381"
} | starcoder | <reponame>bekdepo/APIMon
using System;
using System.Collections.Generic;
using System.Text;
namespace APIMonLib.Hooks.ws2_32.dll
{
public class Hook_bind : AbstractHookDescription
{
//public override APIFullName api_full_name { get { return new APIFullName("ws2_32.dll", "bind"); } }
... | 1.788745 | 02c97d8c162a950448cc07a80e4c087d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840162 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "CRGCode/NEvilES",
"max_stars_repo_path": "src/NEvilES/Pipeline/Async/AsyncCommandProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159382"
} | starcoder | <reponame>CRGCode/NEvilES
using System;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using NEvilES.Abstractions;
using NEvilES.Abstractions.Pipeline;
using NEvilES.Abstractions.Pipeline.Async;
namespace NEvilES.Pipeline.Async
{
public class AsyncCommandProcessor<TCommand> : ... | 2.281028 | 8ffc46bb1318c039571b200729087637 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840163 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "joshhunt/bungie-api-cs",
"max_stars_repo_path": "BungieNetApi/Models/DeveloperRole.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159383"
} | starcoder | <filename>BungieNetApi/Models/DeveloperRole.cs
using System.Runtime.Serialization;
namespace GhostSharper.Models
{
public enum DeveloperRole
{
/// <summary>
/// None = 0
/// </summary>
[EnumMember(Value = "0")]
None = 0,
/// <summary>
/// Owner = 1
... | 2.203593 | b2b047e102f64886479ee8ddb91a542f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840164 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "harleydk/SOLIDwDesignPatternsCourse",
"max_stars_repo_path": "SOLIDprinciples/DependencyInversion/DependencyInversion_fludInterfacePattern/Logging/PressureSensorNullObjectLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159384... | starcoder | namespace DependencyInversion_fluidInterfacePattern
{
public sealed class PressureSensorNullObjectLogger : PressureSensorLogger
{
public PressureSensorNullObjectLogger() : base(new DiagnosticsNullObjectLogger())
{
}
}
} | 1.8107 | 1c65a23858b4b9f484d056ba888c91da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840165 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VirtualPhotonics/Vts.Silverlight",
"max_stars_repo_path": "src/Vts.Gui.Silverlight/View/Application/Panels/InverseSolverView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159385"
} | starcoder | using System.Windows.Controls;
namespace Vts.Gui.Silverlight.View
{
public partial class InverseSolverView : UserControl
{
public InverseSolverView()
{
InitializeComponent();
}
}
}
| 1.137802 | 0224569cdbc8afc0543645dc30102bc5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840166 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StuffPacker/StuffPacker",
"max_stars_repo_path": "src/StuffPacker/ViewModel/PackListViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159386"
} | starcoder | <gh_stars>0
using Shared.Contract;
using System;
using System.Collections.Generic;
namespace StuffPacker.ViewModel
{
public class PackListViewModel
{
public PackListViewModel()
{
Items = new List<PackListGroupViewModel>();
}
public string Name { get; set; }
... | 2.005666 | 3efaefe581e5d7d5e504989d7aeac8b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840167 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DataExperts/Dexih.Utils.MessageHelpers",
"max_stars_repo_path": "src/Dexih.Utils.MessageHelpers/ReturnValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159387"
} | starcoder | using System;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Text.Json.Serialization;
namespace Dexih.Utils.MessageHelpers
{
/// <summary>
/// Provide a simple structure that can be used as a function return value containing
/// the success, message and exception d... | 3.047437 | 3332b28275203cba7afcce95b3ed7e10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840168 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "tchivs/BlazorComponent",
"max_stars_repo_path": "src/Component/BlazorComponent/Components/TimePicker/TimePicker/ITimePicker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159388"
} | starcoder | using Microsoft.AspNetCore.Components.Web;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlazorComponent
{
public interface ITimePicker : IHasProviderComponent
{
SelectingTimes Selecting { get; }
bool AmPmInTitle ... | 1.642431 | 33bad4f00275ec144fa43e6312f2f425 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840169 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "0XC8/NanUI",
"max_stars_repo_path": "NetDimension.NanUI.XP/ChromiumFX/Generated/CfxKeyEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159389"
} | starcoder | <gh_stars>10-100
// Copyright (c) 2014-2015 <NAME>
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// 1. Redistributions of source code must retain the above copyright
// notice,... | 1.734898 | 1dbbec3aac8082bb908d8f6c3fb56663 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840170 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "CptWesley/RadiantMapToWavefrontObj",
"max_stars_repo_path": "src/RadiantMapToObj/Internal/Conversion/BrushConversionHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159390"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using RadiantMapToObj.Quake;
using RadiantMapToObj.Quake.Hammer;
using RadiantMapToObj.Wavefront;
namespace RadiantMapToObj.Internal.Conversion
{
/// <summary>
/// Provides helper functions for converting brushes to objects.
/// </summary>... | 3.120244 | 8809905880f80d90e9cb556095ef4240 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840171 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasonmalinowski/project-system",
"max_stars_repo_path": "src/Microsoft.VisualStudio.ProjectSystem.Managed.VS.UnitTests/ProjectSystem/VS/PropertyPages/TestPropertyProviders.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159391"
} | starcoder | <gh_stars>0
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.VisualStudio.ProjectSystem.Properties;
namespace Microsoft.Visua... | 2.032335 | 163fe9ab393de06fae65c8f56aab5d10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840172 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AmirCpu2/PardisCMS",
"max_stars_repo_path": "Pardis.Product.BLL/ViewModel/SalesFolder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159392"
} | starcoder | <filename>Pardis.Product.BLL/ViewModel/SalesFolder.cs
using Pardis.Product.BLL.Functions;
using Pardis.PublicFunction;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Syste... | 2.183539 | f144b43ffec8e6ced20103806cf4307f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840173 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sauterl/dynamic-modelling",
"max_stars_repo_path": "Assets/Scripts/Factory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159393"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using Unibas.DBIS.DynamicModelling;
using Unibas.DBIS.DynamicModelling.Models;
using Unibas.DBIS.DynamicModelling.Objects;
using UnityEngine;
using UnityEngine.UI;
public class Factory : MonoBehaviour
{
public float Width = 1;
p... | 2.138513 | 5d39f13c2563d7cc41765de5823aa6cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840174 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "DNN-Connect/Conference",
"max_stars_repo_path": "Server/Conference/Views/Home/MyPresentations.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:159394"
} | starcoder | <gh_stars>1-10
@inherits ConferenceWebPage<Conference>
@using Connect.DNN.Modules.Conference.Common;
@using Connect.Conference.Core.Common;
@using Connect.Conference.Core.Models.Conferences;
@using Connect.Conference.Core.Models.Sessions;
@using Connect.Conference.Core.Repositories;
@{
RequirePermissionLevel(Conferen... | 1.983489 | 817c605c03293688e9b25f7d10dd9a1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840175 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "alipay/antchain-openapi-prod-sdk",
"max_stars_repo_path": "deps/csharp/core/Models/QueryPlanRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159395"
} | starcoder | <gh_stars>1-10
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AntChain.SDK.Deps.Models
{
public class QueryPlanRequest : TeaModel {
[NameInMap("auth_token")]
[Validation(Required=false)]
public s... | 1.035498 | 853cd73a7bddc3cb0f3191fa619a32bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840176 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "garfiedhuang/FileHelper",
"max_stars_repo_path": "FileHelpers.Demos/OrdersVerticalBar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159396"
} | starcoder | using FileHelpers;
namespace FileHelpersSamples
{
/// <summary>
/// Sample Orders class delimited by a vertical bar.
/// Used by most examples to break up data and display
/// it
/// </summary>
[DelimitedRecord("|")]
public sealed class OrdersVerticalBar
{
public str... | 2.264203 | 4915bfae208573f65b0f1bda178ac417 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840177 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yordanov1/Bookstore",
"max_stars_repo_path": "Bookstore/Controllers/BooksController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159397"
} | starcoder | namespace Bookstore.Controllers
{
using AutoMapper;
using Bookstore.Infrastructure.Extensions;
using Bookstore.Models.Books;
using Bookstore.Services.Books;
using Bookstore.Services.Moderators;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
public class Books... | 2.440856 | e1121c3ed1dd5747db71b2d0fc7b0999 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840178 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "VictorTzeng/Zxw.Framework.NetCore.Demo",
"max_stars_repo_path": "src/Zxw.Framework.Website.IRepositories/ISysMenuRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159398"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
using AspectCore.Extensions.Cache;
using Zxw.Framework.NetCore.Attributes;
using Zxw.Framework.NetCore.Repositories;
using Zxw.Framework.Website.Models;
using Zxw.Framework.Website.ViewModels;
namespace Zxw.Fra... | 1.645099 | 78b23cf5884dfe0c60e80eff460fc751 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840179 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dantincu/turmerik-obsolete-2021-05-11",
"max_stars_repo_path": "dotnet/src-miscelaneous/TncvdMisc.SimplePasswordTool.WinForms.App/Forms/MainForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159399"
} | starcoder | <reponame>dantincu/turmerik-obsolete-2021-05-11
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Turmenic.Core.Collection;
using Turmenic.Logging.Logger;
using SimplePasswordTool.Services;
namespace SimplePasswordTool.Forms
{
public partial class MainForm : Form... | 2.225313 | ecdbb381b86b47b4555eda8f52dfb1a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840180 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "kbabiy/LogCast",
"max_stars_repo_path": "Examples/NLog/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159400"
} | starcoder | using System;
using System.Threading;
using LogCast;
using LogCast.NLog;
namespace Examples.NLog
{
public static class Program
{
private static readonly ILogger Log = LogManager.GetLogger();
static void Main()
{
LogConfig.Configure(new NLogManager());
Operatio... | 2.701429 | 1cd9a51be1027f731c733a2b13001227 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840181 | {
"extension": "c-sharp",
"max_stars_count": "134.0",
"max_stars_repo_name": "jiyuwu/TemplateCore",
"max_stars_repo_path": "TemplateCore/Views/Office/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:159401"
} | starcoder | <reponame>jiyuwu/TemplateCore
@{
ViewData["Title"] = "Offce";
Layout = "~/Views/Share/_Layout.cshtml";
}
<script type="text/javascript">
function DTEPPlusExport() {
$.ajax({
type: "post",
contentType: 'application/json',
url: '/Office/DTExportEPPlusExcel',
... | 1.818803 | 72d73ec4b39bf4832051e9004c74f8d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840182 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GuMiner/napack",
"max_stars_repo_path": "common/NapackCommon/Exceptions/UnsupportedNapackFileException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159402"
} | starcoder | <reponame>GuMiner/napack<filename>common/NapackCommon/Exceptions/UnsupportedNapackFileException.cs<gh_stars>0
using System;
namespace Napack.Common
{
public class UnsupportedNapackFileException : Exception
{
public UnsupportedNapackFileException(string file, string usage)
: base("A ... | 2.568542 | 05da512091ea7d8306de8f0bcc8bafd1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840183 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chrisfaria/xamarin-rest-template",
"max_stars_repo_path": "xTemplate.Mobile/xTemplate.Mobile/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159403"
} | starcoder | <reponame>chrisfaria/xamarin-rest-template
using System;
using System.Threading.Tasks;
using xTemplate.Mobile.Bootstrap;
using xTemplate.Mobile.Contracts.Services.General;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
[assembly: XamlCompilation(XamlCompilationOptions.Compile)]
namespace xTemplate.Mobile
{
public... | 2.041788 | efda1892f1d484579503a3e22f32fb32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840184 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mdlglobal-atlassian-net/iap-desktop",
"max_stars_repo_path": "Google.Solutions.IapDesktop.Application/Services/Workflows/ICredentialsService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159404"
} | starcoder | //
// Copyright 2020 Google LLC
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Ver... | 1.813127 | 99fa5ac88b28fe8e4102e222e3ff4360 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840185 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PaulBraetz/PBAppRepository",
"max_stars_repo_path": "PBApplication/Requests/AsUserGetPaginatedRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159405"
} | starcoder | <gh_stars>0
using PBApplication.Requests.Abstractions;
using PBCommon.Encryption;
using PBCommon.Encryption.Abstractions;
using System;
using System.Threading.Tasks;
namespace PBApplication.Requests
{
public class AsUserGetPaginatedRequest : AsUserRequest, IAsUserGetPaginatedRequest
{
public AsUserGetPaginatedRe... | 1.671937 | de9ac23d31b5a938699c0540db8156c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840186 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zhaoxin2022/BlockchainBridgeConnect",
"max_stars_repo_path": "Runtime/packages/solnet/Solnet.Rpc/Messages/JsonRpcStreamResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159406"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Solnet.Rpc.Messages
{
public class JsonRpcStreamResponse <T>
{
public ResponseValue<T> result { get; set; }
public int subscription { get; set; }
}
public cla... | 1.600335 | 21a89f5428d81d3b5f0e08a813fd15d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840187 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Stenway/WSV-CS",
"max_stars_repo_path": "Stenway.Wsv/WsvParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159407"
} | starcoder | using System.Collections.Generic;
namespace Stenway.Wsv
{
class WsvParser {
private static readonly string MULTIPLE_WSV_LINES_NOT_ALLOWED = "Multiple WSV lines not allowed";
private static readonly string UNEXPECTED_PARSER_ERROR = "Unexpected parser error";
private static WsvLine ParseLine(WsvCharIterator ite... | 3.202724 | 60c7f393739d5693c49b21f3f7731063 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840188 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Olga-Sh1/jsm-ars",
"max_stars_repo_path": "src/JSMBaseC/JSMBaseC/Hypothesis.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159408"
} | starcoder | <reponame>Olga-Sh1/jsm-ars
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace JSMBase
{
public sealed class Hypothesis<T, TData> : IHypothesis<T, TData>, IObjectable where TData : JSMDataBase<T>
{
/// <summary>Замкнуто ли пересечен... | 2.49579 | 4f76cf6258dbaf9a6839e988cb680372 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840189 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mikaeldui/TrackerListBot",
"max_stars_repo_path": "src/TrackerList.Base/ITrackerStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159409"
} | starcoder | <gh_stars>0
using System.Linq;
namespace TrackerList.Base
{
/// <summary>
/// Provides permanent storage of tracker information.
/// </summary>
public interface ITrackerStorage
{
/// <summary>
/// Should return all known trackers, not caring for their state.
/// </summary>
... | 2.29467 | 298b8eb99496f22b00a390e0208c48ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840190 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ElderByte-/Archimedes.Framework",
"max_stars_repo_path": "Archimedes.Framework/AOP/AOPUitl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159410"
} | starcoder | <filename>Archimedes.Framework/AOP/AOPUitl.cs
using System;
using System.Linq;
using Archimedes.Framework.Stereotype;
namespace Archimedes.Framework.AOP
{
internal static class AOPUitl
{
private static readonly Type[] ComponentAttributs = { typeof(ServiceAttribute), typeof(ControllerAttribute), typeof... | 2.811346 | 0d45b1c2f22bf80f64aa55986ba258de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840191 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "tzhsweet/NanUI",
"max_stars_repo_path": "NetDimension.NanUI/ChromiumCore/EvaluateTask.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159411"
} | starcoder | using Chromium.Remote;
using System;
using System.Collections.Generic;
namespace NetDimension.NanUI.ChromiumCore
{
class EvaluateTask : CfrTask
{
// quick fix: cache evaluation tasks so the GC won't
// collect them before CEF performs the callback (fixes issue #64)
// TODO: This involves hashing and locking.... | 2.131997 | 281b30e5a639109f6fd2e2bab719167b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840192 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deimspb/TSParser",
"max_stars_repo_path": "TSParser/DictionariesData/Dictionaries.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159412"
} | starcoder | <reponame>deimspb/TSParser
// Copyright 2021 <NAME>
//
// 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... | 1.893173 | e5b1f9ef7b004c03e408fb98b1382b46 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840193 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Devolutions/wayk-sdk-dotnet",
"max_stars_repo_path": "Wayk.Net/Now/NowAuth.Callbacks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159413"
} | starcoder | namespace Devolutions.Wayk.Now
{
using System;
using Devolutions.Wayk.Native;
using static Native.NativeNow;
public partial class NowAuth
{
private readonly NativeNowAuthBeginEventHandler onClientBeginCallback = OnClientBeginCallback;
private readonly NativeNowAuthFailureEventHandl... | 2.284908 | ab305e5d010e142b4f96b02d351f8a09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840194 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SpeedyE1780/Brick-Breaker",
"max_stars_repo_path": "Assets/Scripts/Utilities/SpawnBricks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159414"
} | starcoder | using UnityEngine;
public class SpawnBricks : MonoBehaviour
{
[SerializeField] private int maxColumns = 11;
[SerializeField] private int bricksAmount = 22;
[SerializeField] private GameObject brickPrefab;
[SerializeField] private Vector3 startPosition;
/// <summary>
/// Place bricks in a grid... | 2.471102 | 4a40adbc8324bfa6075b74378596ae79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840195 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brann0n/Remote-Access-Trollkit",
"max_stars_repo_path": "Trollkit Client/Modules/CommandHandlers/VisualsHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159415"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Net.Sockets;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Forms;
... | 2.118423 | 8269b232897996ea8fb3e9a8cd16940b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840196 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "undancer/oni-data",
"max_stars_repo_path": "Managed/main/FeedbackScreen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159416"
} | starcoder | using STRINGS;
using UnityEngine;
public class FeedbackScreen : KModalScreen
{
public LocText title;
public KButton dismissButton;
public KButton closeButton;
public KButton bugForumsButton;
public KButton suggestionForumsButton;
public KButton logsDirectoryButton;
public KButton saveFilesDirectoryButton;... | 1.569542 | 36179a2166e1136825e94291ac6eec04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840197 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "amarsa-msft/svcperf",
"max_stars_repo_path": "src/Viewer/UIUtils/DataGridUtilities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159417"
} | starcoder | namespace EtlViewer.Viewer.UIUtils
{
using System;
using System.Collections.Generic;
using System.Windows.Controls;
using System.Windows.Input;
static class DataGridUtilities
{
public static void CopyWithHeaders(DataGrid grid)
{
var previous = grid.Cl... | 2.545167 | ccc7694cc0be4b4f839d205e400becd5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840198 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JasKill/Discord.Net-Labs",
"max_stars_repo_path": "src/Discord.Net.WebSocket/Entities/Interaction/SocketInteraction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159418"
} | starcoder | using Discord.Rest;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Model = Discord.API.Interaction;
namespace Discord.WebSocket
{
/// <summary>
/// Represents a Web-Socket based Discord Interaction
/// </summary>
public abstract class SocketInteraction : SocketEntit... | 2.209512 | 33eb2e1b37634d0212499e6e35c52586 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840199 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Greybird/SpecFlow.Unity",
"max_stars_repo_path": "sample/MyCalculator/MyCalculator.Specs/Support/TestDependencies.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159419"
} | starcoder | using System;
using System.Linq;
using Microsoft.Practices.Unity;
using SpecFlow.Unity;
using TechTalk.SpecFlow;
namespace MyCalculator.Specs.Support
{
public static class TestDependencies
{
[ScenarioDependencies]
public static IUnityContainer CreateContainer()
{
// crea... | 2.15905 | 650d5692387c511ef091e61f83df4394 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839944 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dminta/BFPaperButtonXamarinIOS",
"max_stars_repo_path": "BFPaperButtonXamarinIOS/BFPaperButtonTapCircleDiameter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159164"
} | starcoder | <reponame>dminta/BFPaperButtonXamarinIOS
// BFPaperButton for Xamarin iOS
//
// Originally created by <NAME>
// Ported to Xamarin iOS by <NAME>
//
// The MIT License (MIT)
//
// Copyright (c) 2014 <NAME>
// Copyright (c) 2016 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
... | 1.905289 | 9618d05b0f1757823d1fb00b1571bb8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839945 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MHeasell/SnappyMap",
"max_stars_repo_path": "SnappyMap/Generation/ISectionChooser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159165"
} | starcoder | <reponame>MHeasell/SnappyMap
namespace SnappyMap.Generation
{
using System;
using System.Collections.Generic;
using SnappyMap.Data;
using SnappyMap.Database;
public interface ISectionChooser
{
Section ChooseSectionOfType(SectionType type);
}
public class SectionD... | 2.705388 | 7532e5a82e8c7c9fa56e5bd098aac2bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brandonmarcum/PizzaStore",
"max_stars_repo_path": "PizzaStore.Library/EFData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159166"
} | starcoder | <filename>PizzaStore.Library/EFData.cs
using System.Collections.Generic;
using System.Linq;
using PizzaStore.Data;
namespace PizzaStore.Library
{
public class EFData
{
private PizzaContext db = new PizzaContext();
public List<Crust> ReadCrust()
{
return db.Crusts.ToList();... | 3.056964 | 915c0e0601efe785a52741ebc2e28f40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839947 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Tulpep/PayU",
"max_stars_repo_path": "Tulpep.PayULibrary/Services/ServicesHelpers/CryptoHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159167"
} | starcoder | using System.Globalization;
using System.Security.Cryptography;
using System.Text;
namespace Tulpep.PayULibrary.Services.ServicesHelpers
{
public static class CryptoHelper
{
public static string RequestSignature(RequestSignatureModel model)
{
string source = $"{model.ApiKey}~{model... | 3.078864 | 66f7af6633e89fbe7dac933e863703d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839948 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MTEC-3230/MTEC-3230-Projects",
"max_stars_repo_path": "SongSpot/Assets/Scripts/Saver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159168"
} | starcoder | <filename>SongSpot/Assets/Scripts/Saver.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//checks for unblocked quests
public class Saver : MonoBehaviour {
public GameObject[] Unlocked,Locked;
public int level_num;
// Use this for initialization
void Start () {
... | 2.174251 | 69487bb566ab485a1bc2484bc15f0b4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839949 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "dodopizza/primitives",
"max_stars_repo_path": "src/Dodo.Primitives.Benchmarks/Benchmarks/GeneratorBenchmarks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159169"
} | starcoder | <filename>src/Dodo.Primitives.Benchmarks/Benchmarks/GeneratorBenchmarks.cs
using System;
using System.Diagnostics.CodeAnalysis;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
namespace Dodo.Primitives.Benchmarks.Benchmarks
{
[GcServer(true)]
[MemoryDiagnoser]
[GroupBenchmarksBy(Benchmark... | 2.055883 | 8375053d65a00623b0a1c3e299e47c81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839950 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "azsdaja/7drl-2018",
"max_stars_repo_path": "Assets/Scripts/GameLogic/ActionLoop/Actions/DropAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159170"
} | starcoder | <reponame>azsdaja/7drl-2018
using System.Collections.Generic;
using Assets.Scripts.GameLogic.ActionLoop.ActionEffects;
namespace Assets.Scripts.GameLogic.ActionLoop.Actions
{
public class DropAction : GameAction
{
public ItemData ItemToDrop { private set; get; }
public DropAction(ActorData actorData, float ene... | 2.305623 | 934ec312006915afa85e8cc5975a90b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839951 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CamelDev/GribApi.NET",
"max_stars_repo_path": "src/GribApi.NET/Grib.Api.Tests/Settings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159171"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Grib.Api.Tests
{
static class Settings
{
public const string PACIFIC_WIND = ".\\TestData\\Pacific.wind.7days.grb";
public const string GRIB = ".\\TestData\\GRIB.grb";
... | 1.548826 | 8c65ff1a9bd9ee2722c157f37cd94d7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839952 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "vrenken/EtAlii.Ubigia",
"max_stars_repo_path": "Source/Api/EtAlii.Ubigia.Api.Functional.Parsing.Tests/Context/1. Parsing/Unit tests/Schemas/SchemaParser.Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159172"
} | starcoder | // Copyright (c) <NAME>. All rights reserved. See the license on https://github.com/vrenken/EtAlii.Ubigia
namespace EtAlii.Ubigia.Api.Functional.Parsing.Tests
{
using EtAlii.Ubigia.Api.Functional.Tests;
using Xunit;
public partial class SchemaParserTests : IClassFixture<FunctionalUnitTestContext>
{
... | 2.155852 | db498eb203f62a447a5be599aacd95eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839953 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SandGardeners/Exhaustlands",
"max_stars_repo_path": "Assets/Scripts/Managers/InterfaceManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159173"
} | starcoder | <reponame>SandGardeners/Exhaustlands
using System;
using System.Collections;
using System.Collections.Generic;
using Cinemachine;
using UnityEngine;
using Priority_Queue;
using UnityEngine.UI;
using DG.Tweening;
public partial class InterfaceManager : MonoBehaviour
{
public GameObject goBackArrow;
Dicti... | 2.027191 | 17461c95b9e2218809d86a3213f56db6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839954 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "forki/Labs",
"max_stars_repo_path": "RelatedRecords.Client/Converters/IntToVisibilityConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159174"
} | starcoder | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace RelatedRecords.Client
{
public class IntToVisibilityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if (n... | 2.715968 | f45a6d7ec75593bf2ab74f2ae905cabd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839955 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hpslavov/TelerikAcademy",
"max_stars_repo_path": "CSHARPTWO/MultiDimensionalArraysHW/02.MaximalSum/MaximalSum.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159175"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _02.MaximalSum
{
class MaximalSum
{
static void Main()
{
//Write a program that reads a rectangular matrix of size N x M and finds in it the squ... | 3.63788 | 355d81c820e99ef131eab593a7e51533 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839956 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "nkrapivin/YoYoProject",
"max_stars_repo_path": "YoYoProject/Controllers/GMTimeLine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159176"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using YoYoProject.Models;
namespace YoYoProject.Controllers
{
public sealed class GMTimeline : GMResource
{
public MomentManager Moments { get; }
internal override string ResourcePath => $@"timelines\... | 2.485713 | e97b39e631baac2996fd96032b09b8ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839957 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JakubK/Files",
"max_stars_repo_path": "src/Files.Uwp/ISearchBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159177"
} | starcoder | <reponame>JakubK/Files<gh_stars>1-10
using Files.Filesystem;
using System;
using System.Collections.Generic;
using Windows.Foundation;
using Windows.UI.Xaml.Controls;
namespace Files
{
public interface ISearchBox
{
event TypedEventHandler<ISearchBox, SearchBoxTextChangedEventArgs> TextChanged;
... | 2.137012 | a86e0375d326c18a84dfcfe29a24afbf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "reflectronic/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/Windows/um/propsys/IDelayedPropertyStoreFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159178"
} | starcoder | <gh_stars>0
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/propsys.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtime... | 1.506538 | 8d1fde5202db75159f0316e3c1090335 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839959 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nefarius/Direct3DHook",
"max_stars_repo_path": "Capture/Interface/ScreenshotExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159179"
} | starcoder | <gh_stars>1-10
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Runtime.InteropServices;
namespace Direct3DHookLib.Interface
{
public static class ScreenshotExtensions
{
public static Bitmap ToBitmap(this byte[] data, int width, int height, int stride, PixelFormat pixe... | 2.875668 | cef7a54561b62c2a12a3c14ca1f6958c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839960 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fredericaltorres/DotNetCorePlugInExperiment",
"max_stars_repo_path": "PlugInManagerLibUnitTests/PlugInManagerLibUnitTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159180"
} | starcoder | <filename>PlugInManagerLibUnitTests/PlugInManagerLibUnitTests.cs
using PlugInManagerLib;
using System;
using System.IO;
using Xunit;
namespace PlugInManagerLibUnitTests
{
public class PlugInManagerLibUnitTests
{
private const string GoodPlugInFQN = "FredCoreLib.FredPlugIn";
string assemblyFile... | 2.658995 | 00a9832af5896842d76512cbdfdf1c2d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839961 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Frydac/VoicepackCombiner",
"max_stars_repo_path": "VoicepackCombinerTest/AssemblyTestSetup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159181"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace RecursionTracker.Plugins.VoicepackCombiner.VoicepackCombinerTest
{
/// <summary>
/// Things to initialize once before any of the tests run
/// </summary>
[TestClass]
public class AssemblyTestSetup
{
[AssemblyInitiali... | 1.978436 | 607d23de053527a1ac6450d74f36393a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839962 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "edcoss/Sitecore-Script",
"max_stars_repo_path": "SitecoreScript/sitecore/admin/SitecoreScript/ScriptEditor.aspx.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159182"
} | starcoder | <gh_stars>1-10
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-------------------------... | 1.194645 | d85fd08a50ccb3d5f31d5bcd26ae3aeb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839963 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Oinary/UnityDemo",
"max_stars_repo_path": "DemoProject_Science/DemoProject_Science/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159183"
} | starcoder | using System;
namespace DemoProject_Science
{
class Program
{
static int MyID;
static string MyName;
static float MyShoesSize;
static void Main(string[] args)
{
MyID = 114514;
MyName = "高輪ゲートウェイ";
MyShoesSize = 26.5f;
}
}... | 2.566103 | acb1e261e854ade727fa7c597db58c04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839964 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "acsBenceTamas/Everest",
"max_stars_repo_path": "Celeste.Mod.mm/Patches/BadelineOldsite.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159184"
} | starcoder | #pragma warning disable CS0626 // Method, operator, or accessor is marked external and has no attributes on it
#pragma warning disable CS0414 // The field is assigned but its value is never used
using Celeste.Mod;
using Celeste.Mod.Entities;
using Celeste.Mod.Meta;
using Microsoft.Xna.Framework;
using Microsoft.Xna.F... | 1.95603 | 8d892a9e393bca20e60c176e814182fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839965 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "siyamandayubi/Orchardcollaboration",
"max_stars_repo_path": "src/Orchard.Web/Modules/Orchard.CRM.Core/Settings/FileUploadPartSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159185"
} | starcoder | namespace Orchard.CRM.Core.Settings
{
using Orchard.ContentManagement.MetaData.Builders;
using Orchard.ContentManagement.MetaData.Models;
using System.Globalization;
public static class FileUploadPartSettingsExtensions
{
public static FileUploadPartSettings GetFileUploadPartSettings(this Co... | 2.426211 | b244af090d847ff2779d072de521801e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839966 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Labelix/Labelix",
"max_stars_repo_path": "backend/Labelix-Backend/Labelix.Contracts/Client/Buisiness/IUserManagementController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159186"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Labelix.Contracts.Persistence;
namespace Labelix.Contracts.Client.Buisiness
{
public interface IUserManagementController
{
Task AddUserToProject(int projectId, IUser model);
Task RemoveUserFr... | 1.613411 | 4760f95a9a5bd203127dfdfab2f05b5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839967 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TrevorDArcyEvans/EllieWare",
"max_stars_repo_path": "Code/edtftpnet/src/net/ftp/FTPFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159187"
} | starcoder | // edtFTPnet
//
// Copyright (C) 2004 Enterprise Distributed Technologies Ltd
//
// www.enterprisedt.com
//
// This library 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
// versio... | 1.580598 | 12c4efaad916cc0018fc675cea995fa5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839968 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "lipnus/musicGame",
"max_stars_repo_path": "Assets/Test/A.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159188"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class A : MonoBehaviour {
Text textObj;
//Button button;
// Use this for initialization
void Start () {
//button = (GameObject.Find("Button") as GameObject).GetComponent<Button>(... | 2.212456 | d38b221450799694c627b6daabc97002 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839969 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Moffein/AncientWisp",
"max_stars_repo_path": "AncientWisp/Tokens.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159189"
} | starcoder | <filename>AncientWisp/Tokens.cs<gh_stars>0
using R2API;
using System;
using System.Collections.Generic;
using System.Text;
namespace AncientWisp
{
public class Tokens
{
public Tokens()
{
LanguageAPI.Add("MOFFEIN_ANCIENTWISP_BODY_NAME", "Ancient Wisp");
LanguageAPI.Add("... | 2.476504 | 92dd37c0ddb7c36cc454155143825439 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839970 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "NOtherDev/NOtherLookup",
"max_stars_repo_path": "NOtherLookup.Tests/Dictionary_ToLookup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159190"
} | starcoder | using System.Linq;
using System.Collections.Generic;
using System;
using Machine.Specifications;
using NOtherLookup;
using Tests.Utils;
namespace Tests
{
[Subject("IDictionary.ToLookup")]
public class Dictionary_ToLookup_basic
{
[Behaviors]
public class When_converting_IDictionary_to_lookup... | 2.683247 | 7e0f8b5afe9ba123ea9338a77321fb28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839971 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "akorkiatupa/questions-api",
"max_stars_repo_path": "Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159191"
} | starcoder | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using DbUp;
using netcore_api.Data;
using netcore_api.Hubs;
using System.Threading.Tasks;
using Microsoft.AspNetC... | 2.018197 | 83673a528e7c19e1a876cdf1a9769f52 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839972 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SapientGuardian/GtirbSharp",
"max_stars_repo_path": "GtirbSharp/proto/CFG.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159192"
} | starcoder | // This file was generated by a tool; you should avoid making direct changes.
// Consider using 'partial classes' to extend these types
// Input: CFG.proto
#pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace GtirbSharp.proto
{
[global::ProtoBuf.ProtoContra... | 2.083163 | c870229840f2472348b800069c5a03c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839973 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JFouts/clearly",
"max_stars_repo_path": "src/Clearly.EventSourcing/IDomainEventRegistry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159193"
} | starcoder | <reponame>JFouts/clearly<filename>src/Clearly.EventSourcing/IDomainEventRegistry.cs
using System;
using Clearly.Core;
using Clearly.Core.Interfaces;
namespace Clearly.EventSourcing
{
public interface IDomainEventRegistry<out TAggregate> where TAggregate : AggregateRoot
{
Type GetHandlerType(Type event... | 1.838008 | 55023d43d7ee00f1c5d9bbe3c5df4eca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839974 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "soriano7788/VocabularyCardProject",
"max_stars_repo_path": "VocabularyCard.Web/Extensions/VideoResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159194"
} | starcoder | <filename>VocabularyCard.Web/Extensions/VideoResult.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Hosting;
using System.Web.Mvc;
namespace VocabularyCard.Web.Extensions
{
public class VideoResult : FileResult
{
public string F... | 2.627571 | ba7893bbd73ec0fbf8b9dfd05bfc77d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839975 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bsides44/MARSGeofencing",
"max_stars_repo_path": "MARS geofencing/Library/PackageCache/com.unity.mars@1.3.1/Editor/Scripts/Data/MarsWorldScaleSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159195"
} | starcoder | <reponame>bsides44/MARSGeofencing
using Unity.MARS.Settings;
using Unity.XRTools.Utils;
using UnityEditor.XRTools.Utils;
using UnityEngine;
using UnityEngine.Scripting.APIUpdating;
namespace UnityEditor.MARS
{
[ScriptableSettingsPath(MARSCore.UserSettingsFolder)]
[MovedFrom("Unity.MARS")]
internal class M... | 1.040722 | 2a37cfe6a35896825f93a929ca83d96a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839976 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "esso23/MatBlazor",
"max_stars_repo_path": "src/MatBlazor/Components/MatSort/MatSortChangedEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159196"
} | starcoder | <filename>src/MatBlazor/Components/MatSort/MatSortChangedEvent.cs
using System.IO;
namespace MatBlazor
{
public class MatSortChangedEvent
{
public string SortId { get; set; }
public MatSortDirection Direction { get; set; }
}
} | 1.647747 | d66dbb388ac77b85d1591c259fd5730d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839977 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ChrisMissal/Eaglesong",
"max_stars_repo_path": "Eaglesong/dota2proto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159197"
} | starcoder | <filename>Eaglesong/dota2proto.cs
// Generated from: dota2.proto
namespace dota2
{
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name = @"CDemoFileHeader")]
public partial class CDemoFileHeader : global::ProtoBuf.IExtensible
{
public CDemoFileHeader() { }
private string _demo... | 1.683944 | 17843b042725ad1f5efc2a5000ab5506 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839978 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chunk1ty/FrameworkPlayground",
"max_stars_repo_path": "src/TplDataFlow/TplDataFlow/Consumer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159198"
} | starcoder | <gh_stars>0
using System;
using System.Threading;
using System.Threading.Tasks.Dataflow;
namespace TplDataFlow
{
public class Consumer
{
public Consumer(int id, string name)
{
Id = id;
Name = name;
ActionBlock = new ActionBlock<Message>(Foo);
}
... | 2.72925 | 8ce88603e64db67abf6c598595c3def9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839979 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SCLDGit/ShirleyTracerSharp",
"max_stars_repo_path": "TheNextWeek/DataTypes/Shapes/MovingSphere.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159199"
} | starcoder | <reponame>SCLDGit/ShirleyTracerSharp<filename>TheNextWeek/DataTypes/Shapes/MovingSphere.cs
using System;
using System.Collections.Generic;
using System.Text;
using TheNextWeek.DataTypes.Materials;
using TheNextWeek.DataTypes.Utility;
using Math = System.Math;
namespace TheNextWeek.DataTypes.Shapes
{
class Movin... | 2.650408 | 2c5e5c015bad9c9b290ece9c2e6a4e60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839980 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joelhoisko/DotNET.Fundamentals",
"max_stars_repo_path": "Specifications/Mapping/for_Maps/when_asking_if_has_map_for_known_combination.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159200"
} | starcoder | <gh_stars>0
using System;
using Dolittle.Mapping;
using Machine.Specifications;
namespace Dolittle.Mapping.Specs.for_Maps
{
public class when_asking_if_has_map_for_known_combination : given.map_for_source_and_target_in_system
{
static bool result;
Because of = () => result = maps.HasFor(typeo... | 1.484602 | 7de7598a9a84b56e41e5920e9db2efe8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839981 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ymdn3/Snippets",
"max_stars_repo_path": "projects/KOILib.Common.Aspmvc/Models/IHtmlFormElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159201"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KOILib.Common.Aspmvc.Models
{
public interface IHtmlInputElement
{
string Accept { get; set; }
string Alt { get; set; }
string AutoComplete { get; set; } //HTML... | 1.811964 | 4273572330f0884d2b5b818023f829e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839982 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mgrman/TycoonTerrain",
"max_stars_repo_path": "Assets/Votyra/Core/Models/Area2i.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159202"
} | starcoder | using System;
namespace Votyra.Core.Models
{
/// <summary>
/// Max is inclusive
/// </summary>
public struct Area2i : IEquatable<Area2i>
{
public static readonly Area2i All = new Area2i(Vector2i.FromSame(int.MinValue / 2), Vector2i.FromSame(int.MaxValue / 2 - 1));
public static... | 3.210754 | e298fb186973c4102cbb5bc35f5bd857 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839983 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "talrand/DocnetExtended",
"max_stars_repo_path": "src/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159203"
} | starcoder | <reponame>talrand/DocnetExtended
namespace DocnetExtended
{
public static class Constants
{
public const int NotSet = -99;
}
} | 1.200036 | e154b9f71d932317970f7b08d1ff8d64 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.