added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9637 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jcapellman/LWWMIW",
"max_stars_repo_path": "CWMII.lib/Enums/Win32_ClassicCOMApplicationClasses.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9638"
} | starcoder | namespace CWMII.lib.Enums {
public enum Win32_ClassicCOMApplicationClasses {
GroupComponent,
PartComponent
}
public static class Win32_ClassicCOMApplicationClassesExtension {
public static string GetWMIValue(this Win32_ClassicCOMApplicationClasses enumOption) => lib.CWMII.GetSingleProperty($"SELECT * FROM Win... | 1.910382 | 10fb5db77f6730aeff3790ef9c24a54e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9638 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "addixon/ErgCompetePM",
"max_stars_repo_path": "PM.BLL/Extensions/ICommandExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9639"
} | starcoder | using PM.BO;
using PM.BO.Interfaces;
using System;
using System.Reflection;
namespace BLL.Extensions
{
/// <summary>
/// Extensions for ICommands
/// </summary>
public static class ICommandExtensions
{
/// <summary>
/// Updates the cooresponding property in PMData with the value of... | 2.998064 | 73ba9d6e14e2bc8e9fa8de84f11e7da7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9639 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gustavo-Kuze/Calculadora-de-medias-UNINTER",
"max_stars_repo_path": "source/CalculadoraDeMedia-UNINTER/Helper/Structure.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9640"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CalculadoraDeMedia_UNINTER.Helper
{
public class Structure
{
public readonly static string[] resultsText =
{
"Aprovado!",
... | 2.763396 | de6f4612975b6f47e1c3a047deb766fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9640 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StephenCWills/PQDashboard",
"max_stars_repo_path": "src/PQDashboard/Views/Main/Documents.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:9641"
} | starcoder | @*******************************************************************************************************
// Documents.cshtml - Gbtc
//
// Copyright © 2016, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// t... | 1.554452 | 356ecb8ce89cfa4ccdeeeb341457c4be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9641 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "yankun1991/MVCCore",
"max_stars_repo_path": "test/Microsoft.AspNetCore.Mvc.FunctionalTests/RazorPagesWithBasePathTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9642"
} | starcoder | <reponame>yankun1991/MVCCore
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
namespace Microsoft.Asp... | 2.013733 | 52b99f59fbd02c23aca2051cfe38848d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9642 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wifiplug/api-client-net",
"max_stars_repo_path": "src/WifiPlug.Api/Entities/DeviceTimerEditEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9643"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
using WifiPlug.Api.Converters;
using WifiPlug.Api.Schema;
namespace WifiPlug.Api.Entities
{
/// <summary>
/// Represents a request to edit a timer on a device.
/// </summary>
public class DeviceTimerEditEntity
... | 2.264956 | e68ebf498e7bcc5f6a4423dc31563727 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9643 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "gaufung/Infrastructures",
"max_stars_repo_path": "src/WebServices/Business/EE/Models/CourseViewModels/UploadViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9644"
} | starcoder | <reponame>gaufung/Infrastructures
namespace Aiursoft.EE.Models.CourseViewModels
{
public class UploadViewModel
{
}
}
| 0.812903 | a5df161fcd345403f329a4fc757c5682 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9644 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Noxalas/Arkanoid-Unity-Clone",
"max_stars_repo_path": "Assets/Scripts/GameManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9645"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameManager : MonoBehaviour
{
private static GameManager _instance;
public static GameManager Instance
{
get
{
if (_instance is null)
... | 2.420829 | dee9ad9a7df58a21f2fb2c514d00b22e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9645 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AakashOfficial/blog",
"max_stars_repo_path": "src/Views/Stuff.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:9646"
} | starcoder | @{
Layout = "Layout";
ViewData["Title"] = "Stuff";
}
<h1>Stuff</h1>
<h2>Presentations</h2>
<p>A select list of presentations I have created for conferences, demos, talks, and tutorials.</p>
<ul>
<li><a href="/presentations/rust-workshop">A Rust Adventure</a> - UW-Whitewater 2015</li>
<li><a href="/pr... | 2.359535 | 231eec42f2f7cf2dad2c6763f83d4ecf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9646 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "logicmoo/Zifmia",
"max_stars_repo_path": "Textfyre.Zifmia.Service/Textfyre.Zifmia.Service/Textfyre.Zifmia.Service/EngineWrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9647"
} | starcoder | <filename>Textfyre.Zifmia.Service/Textfyre.Zifmia.Service/Textfyre.Zifmia.Service/EngineWrapper.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Xml;
using System.Text;
using System.Diagnostics;
//using Newtonsoft.Json;
using Textfyre.VM;
namespace... | 2.279407 | fdb5e5b14588872f4ed44ed5db42a746 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9647 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "abdelrahmansaeedhassan/mvc",
"max_stars_repo_path": "test/Microsoft.AspNet.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/_ViewImports.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9648"
} | starcoder | <reponame>abdelrahmansaeedhassan/mvc
namespace Asp
{
using System.Threading.Tasks;
using TModel = System.Object;
public class ASPV_testfiles_input__viewimports_cshtml : Microsoft.AspNet.Mvc.Razor.RazorPage<dynamic>
{
private static object @__o;
private void @__RazorDesignTimeHelpers__()... | 1.385694 | defd2af7d929ecdfaea161148f910997 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9648 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SuperJura/Exercises",
"max_stars_repo_path": "Node/PsdParser/PsdCs/TestPsd.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9649"
} | starcoder | <filename>Node/PsdParser/PsdCs/TestPsd.cs
using UnityEngine;
public static class TestPsd
{
public static Texture CloudImage = Resources.Load<Texture>("PsdFiles/Test/Cloud");
public static string CloudName = "Cloud";
public static float CloudWidth = 574f;
public static float CloudHeight = 190f;
public static float ... | 1.53805 | 3142f62ebc40fea1fb15cf9af957ffb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9649 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ToddForsberg/BlazorTable",
"max_stars_repo_path": "src/BlazorTable/Interfaces/IFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9650"
} | starcoder | using System;
using System.Linq.Expressions;
namespace BlazorTable
{
public interface IFilter<TableItem>
{
Expression<Func<TableItem, bool>> GetFilter();
}
}
| 1.671702 | ae58e416ae8bb6516f7dfadc1e14ec3d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9650 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "generic-user/ScottPlot",
"max_stars_repo_path": "src/ScottPlot/Renderable/AxisLabel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9651"
} | starcoder | <reponame>generic-user/ScottPlot
using ScottPlot.Drawing;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
namespace ScottPlot.Renderable
{
public class AxisLabel : IRenderable
{
public bool IsVisible { get; set; } = true;
public string Label = null;
... | 2.749093 | fd4cca4f1a4a495ba88159cd20da1a08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9651 | {
"extension": "c-sharp",
"max_stars_count": "9402.0",
"max_stars_repo_name": "pyracanda/runtime",
"max_stars_repo_path": "src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessManager.iOS.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9652"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Runtime.Versioning;
namespace System.Diagnostics
{
internal static partial class ProcessManager
{
/// <summary>Gets the IDs of all processes on the curr... | 2.304891 | 823f139873473b9566ad40411a68f491 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "defterai/SCTools",
"max_stars_repo_path": "SCTools/SCTools/Forms/ManageRepositoriesForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9653"
} | starcoder | using System;
using System.Threading;
using System.Windows.Forms;
using NSW.StarCitizen.Tools.Adapters;
using NSW.StarCitizen.Tools.Helpers;
using NSW.StarCitizen.Tools.Lib.Update;
using NSW.StarCitizen.Tools.Properties;
using NSW.StarCitizen.Tools.Repository;
using NSW.StarCitizen.Tools.Settings;
namespace NSW.StarCi... | 2.147315 | eb461ca90f2be15101857c5477f7d90d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Invenietis/CK-ASPNet-AuthService",
"max_stars_repo_path": "CodeCakeBuilder/yarn/YarnSolution.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9654"
} | starcoder | <gh_stars>0
using Cake.Npm;
using CodeCake.Abstractions;
using CSemVer;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace CodeCake
{
public static class StandardGlobalInfoYarnExtension
{
/// <summary>
/// Adds the <se... | 1.948234 | c6de8dce66aec648e7db80cfdff84c8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9654 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danielpenchew/MVC-Test-Project",
"max_stars_repo_path": "LibrarySystem/Web/LibrarySystem.Web/Models/BookModels/BookDetailViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9655"
} | starcoder | <filename>LibrarySystem/Web/LibrarySystem.Web/Models/BookModels/BookDetailViewModel.cs
using LibrarySytem.Data.Models.Models;
using System;
namespace LibrarySystem.Web.Models.BookModels
{
public class BookDetailViewModel
{
public BookDetailViewModel(Book book)
{
if (book != null)
... | 2.337198 | d3949ca288be6e3db55384a6ace974ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9655 | {
"extension": "c-sharp",
"max_stars_count": "616.0",
"max_stars_repo_name": "craigtp/markdig",
"max_stars_repo_path": "src/Markdig.Tests/TestHtmlAttributes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9656"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using Markdig.Renderers.Html;
using NUnit.Framework;
using System.Collections.Generic;
namespace Markdig.Tests
{
[TestFixture()]
public ... | 2.439302 | be570d6c8ef7b77bb996a2218131dc4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9656 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jiyu-park/arcore-unity-sdk",
"max_stars_repo_path": "Assets/GoogleARCore/SDK/Scripts/Api/Wrappers/CameraConfigListApi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9657"
} | starcoder | <filename>Assets/GoogleARCore/SDK/Scripts/Api/Wrappers/CameraConfigListApi.cs
//-----------------------------------------------------------------------
// <copyright file="CameraConfigListApi.cs" company="Google LLC">
//
// Copyright 2018 Google LLC. All Rights Reserved.
//
// Licensed under the Apache License, Version... | 1.640356 | 0739652413667d0f86adacfea8e2ca67 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9657 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "717009629/EducationAdmin",
"max_stars_repo_path": "aspnet-core/src/EducationAdmin.Application/Options/Dto/PagedOptionResultRequestDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9658"
} | starcoder | using Abp.Application.Services.Dto;
using System;
using System.Collections.Generic;
using System.Text;
namespace EducationAdmin.Options.Dto
{
public class PagedOptionResultRequestDto : PagedResultRequestDto
{
public bool? IsActive { get; set; }
}
}
| 1.309663 | 87dcb4293eb2160cd45426825b610545 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9658 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Muximize/UnitsNet",
"max_stars_repo_path": "UnitsNet/GeneratedCode/Units/LengthUnit.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9659"
} | starcoder | <filename>UnitsNet/GeneratedCode/Units/LengthUnit.g.cs<gh_stars>1-10
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by \generate-code.bat.
//
// Changes to this file will be lost when the code is regenerated.
// The build serve... | 2.483622 | 40ee7995aadcacca5cf77f1daf5bb38e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9659 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RedBandana/Intersect-Engine",
"max_stars_repo_path": "Intersect.Network/Crypto/KeyFormat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9660"
} | starcoder | namespace Intersect.Network.Crypto
{
public enum KeyFormat : byte
{
Aes = 1,
Rsa = 2
}
}
| 1.830081 | a1b2ab22ba71f7d49c43c603e1ac653e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9660 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "antrv/ffmpeg-net",
"max_stars_repo_path": "Antrv.FFMpeg/Interop/libavutil/film_grain_params.h/AVFilmGrainH274Params.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9661"
} | starcoder | <reponame>antrv/ffmpeg-net<filename>Antrv.FFMpeg/Interop/libavutil/film_grain_params.h/AVFilmGrainH274Params.cs<gh_stars>0
using Antrv.FFMpeg.Types;
namespace Antrv.FFMpeg.Interop;
/// <summary>
/// This structure describes how to handle film grain synthesis for codecs using
/// the ITU-T H.274 Versatile supplementa... | 2.180986 | b19e452cd933cfd909aa4603b272a782 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9661 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "albilaga/ViewPager.iOS",
"max_stars_repo_path": "src/ViewPager.iOS/ViewPager.iOS/ViewPager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9662"
} | starcoder | using System;
using System.Collections.Generic;
using CoreFoundation;
using CoreGraphics;
using Foundation;
using UIKit;
namespace ViewPager.iOS
{
public abstract class ViewPagerDataSource
{
public abstract int NumberOfItems(ViewPager viewPager);
public abstract UIView ViewAtIndex(ViewPager viewPager, int index... | 2.328256 | a2ecb1db524310d7a48c8c687c77c406 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9662 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "StanleyGoldman/NRules",
"max_stars_repo_path": "src/NRules/Tests/NRules.IntegrationTests/TestRules/TwoFactSameTypeRule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9663"
} | starcoder | using NRules.IntegrationTests.TestAssets;
namespace NRules.IntegrationTests.TestRules
{
public class TwoFactSameTypeRule : BaseRule
{
public override void Define()
{
FactType4 fact1 = null;
FactType4 fact2 = null;
When()
.Match<FactType4>(()... | 1.997535 | a0bcf5d01ece79b85895275d0834224f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9663 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BigBang1112/markbang",
"max_stars_repo_path": "Markbang/IMdListItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9664"
} | starcoder | <reponame>BigBang1112/markbang
namespace Markbang;
public interface IMdListItem : IWriteable
{
string Text { get; init; }
int Level { get; init; }
int? Rank { get; init; }
}
| 1.640952 | faad494422c39d42117c9e224966aa0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9664 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SharpenedMinecraft/SM1",
"max_stars_repo_path": "Main/Types/Blocks/Yellow_stained_glass_paneBlock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9665"
} | starcoder |
using SharpenedMinecraft.Types.Items;
using System;
using System.Collections.Generic;
using System.Text;
namespace SharpenedMinecraft.Types.Blocks
{
public class Yellow_stained_glass_paneBlock : Block
{
public override string BlockId => "minecraft:yellow_stained_glass_pane";
public override Bl... | 2.452254 | 04a6116adee5ade6623c154e9df2561c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9665 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dotJEM/lucenenet",
"max_stars_repo_path": "src/Lucene.Net.TestFramework/Support/Randomized/Randomness.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9666"
} | starcoder | <gh_stars>1-10
#if FEATURE_RANDOMIZEDCONTEXT
/*
* 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 Lic... | 2.229584 | ac0386da8e417102f3bb6a822619846f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9666 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "imagin-tech/Imagin.NET",
"max_stars_repo_path": "Apps.Text/Panels/File.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9667"
} | starcoder | using Imagin.Common;
using Imagin.Common.Models;
namespace Notes
{
public class FilePanel : Panel
{
public override string Title => "File";
public FilePanel() : base(Resources.Uri(nameof(Notes), "Images/File.png")) { }
}
} | 1.812103 | 8e43d8b7833be1eff389c2052c01b2f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9667 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MaiReo/cool-normalization",
"max_stars_repo_path": "test/Cool.Normalization.Messages.Tests/TestDatas/TestMessageEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9668"
} | starcoder | using Abp.Domain.Entities;
namespace Cool.Normalization.Messages.Tests
{
public class TestMessageEntity : Entity
{
public string RequestId { get; set; }
public string String { get; set; }
public int Int { get; set; }
}
} | 1.499337 | 79b2f9644ed599462396e83eb5c0d27f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9668 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "MichaelHochriegl/CodeGenHelpers",
"max_stars_repo_path": "src/CodeGenHelpers/Internals/CodeWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9669"
} | starcoder | using System;
using System.Text;
namespace CodeGenHelpers
{
internal class CodeWriter : IDisposable, ICodeWriter
{
private readonly string Indent;
private int _indentLevel = 0;
private int _extraIndent = 0;
private readonly StringBuilder _outputCode = new StringBuilder();
... | 2.946408 | 7170458e8668bdc5dd3ef7b8e5c9aac1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9669 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "etas/vs-boost-unit-test-adapter",
"max_stars_repo_path": "VisualStudioAdapter/IProject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9670"
} | starcoder | // (C) Copyright 2015 ETAS GmbH (http://www.etas.com/)
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
using System.Collections.Generic;
namespace VisualStudioAdapter
{
/// <summary>
/// Abst... | 1.845479 | 97a867c7e73b38a25bc2a32593a67dd9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9670 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "endink/Schubert",
"max_stars_repo_path": "src/Framework/Schubert.Framework/Environment/ISchubertEnvironment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9671"
} | starcoder | <filename>src/Framework/Schubert.Framework/Environment/ISchubertEnvironment.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Runtime.Versioning;
using System.Threading.Tasks;
namespace Schubert.Framework.Environment
{
/// <summary>
/// 实现此接口以供应用程序识别当前运行环境。
... | 2.644521 | 4605cda29fb2cd9c0409851af7c826a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9671 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "frontporch/Gearman.NET",
"max_stars_repo_path": "src/Gearman.net/Packet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9672"
} | starcoder | <reponame>frontporch/Gearman.NET
using System;
using System.Text;
using System.Text.RegularExpressions;
namespace Gearman
{
public abstract class Packet
{
protected char[] _Magic;
protected PacketType _Type;
protected int _Size;
protected byte[] _RawData;
protected byte[] _Header;
publi... | 2.756102 | 6cb765a109180bada23c49a6b372837a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9672 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Falven/DapperToolkit",
"max_stars_repo_path": "DapperApps.SLWP.Toolkit/DapperApps.SLWP.Toolkit/Collections/CacheItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9673"
} | starcoder | <reponame>Falven/DapperToolkit
/*
* Copyright (c) Dapper Apps. All rights reserved.
* Use of this source code is subject to the terms of the Dapper Apps license
* agreement under which you licensed this sample source code and is provided AS-IS.
* If you did not accept the terms of the license agreement, you are ... | 2.287068 | 341f724d101ddbdb329b7c4da24327e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9673 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "marta-krzyk-dev/jose-jwt",
"max_stars_repo_path": "jose-jwt/crypto/AesGcm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9674"
} | starcoder | <reponame>marta-krzyk-dev/jose-jwt
using System;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Text;
using Jose.native;
namespace Jose
{
public static class AesGcm
{
/// <summary>
/// Performs AES encryption in GCM chaining mode over plain text
/... | 2.449619 | 85dd8e918eb1b73a1ae08fab528d469d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9674 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tk-yoshimura/TensorShaderAVX",
"max_stars_repo_path": "TensorShader/Tensor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9675"
} | starcoder | using System;
using System.Linq;
using TensorShaderAvxBackend;
namespace TensorShader {
/// <summary>テンソルクラス</summary>
public partial class Tensor : ICloneable{
/// <summary>形状</summary>
public Shape Shape{ protected set; get; }
/// <summary>保有バッファ</summary>
internal AvxArray<f... | 2.924628 | 08ee9d803d84260e02109f817165a9f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9675 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fcurdi/DSA",
"max_stars_repo_path": "DSA/DSAUnitTests/Algorithms/Graphs/BellmanFordShortestPathsFinderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9676"
} | starcoder | using System;
using NUnit.Framework;
using DSA.DataStructures.Graphs;
using DSA.Algorithms.Graphs;
namespace DSAUnitTests.Algorithms.Graphs
{
[TestFixture]
public class BellmanFordShortestPathsFinderTests
{
[Test]
public void UndirectedAndUnweightedGraphShortestPathsCheck()
{
... | 2.890711 | 3a086296f1a0734260bc35287b9b983b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9676 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "tareqimbasher/NetPad",
"max_stars_repo_path": "src/External/OmniSharp.NET/IOmniSharpServerProcessAccessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9677"
} | starcoder | using System.Threading.Tasks;
namespace OmniSharp
{
public interface IOmniSharpServerProcessAccessor<TEntry>
{
Task<TEntry> GetEntryPointAsync();
Task StopProcessAsync();
}
} | 1.546051 | cc69a41c8383085781b57462bc6bac43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9677 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dannsam/ImageSharp",
"max_stars_repo_path": "src/ImageSharp/Processing/Processors/Quantization/WernerPaletteQuantizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9678"
} | starcoder | <reponame>dannsam/ImageSharp<filename>src/ImageSharp/Processing/Processors/Quantization/WernerPaletteQuantizer.cs
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Processors.Dithering;
names... | 2.296174 | d03f9ea5d1307d41f7bf252136abbc34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9678 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Libertus-Lab/Silk.NET",
"max_stars_repo_path": "src/Vulkan/Silk.NET.Vulkan/Enums/DebugUtilsMessageTypeFlagsEXT.gen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9679"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Silk.NET.Core.Attributes;
#pragma warning disable 1591
namespace Silk.NET.Vulkan
{
[Flags]
[NativeName("Name", "VkDebugUtilsMessageTypeFlagsEXT")]
... | 1.54801 | 0a1f7a2e1425d33692f6b99940417d91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9679 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "balaji-dabbara/samples",
"max_stars_repo_path": "snippets/csharp/VS_Snippets_CLR_System/system.String.Format2/cs/Example1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9680"
} | starcoder | <reponame>balaji-dabbara/samples<filename>snippets/csharp/VS_Snippets_CLR_System/system.String.Format2/cs/Example1.cs
using System;
public class Example
{
public static void Main()
{
// <Snippet1>
short[] values= { Int16.MinValue, -27, 0, 1042, Int16.MaxValue };
Console.WriteLine("{0,10} {1,10... | 2.93042 | 10384dbba118f1b5f2f826106c8538ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9680 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danieltruong/ag-lclb-cllc-public",
"max_stars_repo_path": "cllc-public-app/Seeders/VoteQuestionSeeder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9681"
} | starcoder | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using Gov.Lclb.Cllb.Public.Models;
using System;
using System.IO;
using Gov.Lclb.Cllb.Public.Contexts;
using Gov.Lclb.Cllb.Interfaces;
namespace Gov.Lclb.Cllb.Public.Seed... | 2.403684 | 9a63be23a5db0513301c05159f64814c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9681 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SasaCetkovic/Reusables",
"max_stars_repo_path": "CSharp/Extensions/StringExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9682"
} | starcoder | using System.Text;
namespace System
{
public static class StringExtensions
{
public static bool IsASCII(this string value)
{
return Encoding.UTF8.GetByteCount(value) == value.Length;
}
}
}
| 3.004279 | fa4e7cf4c93961cbef4d36269f2673d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9682 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "splitandthechro/nginz",
"max_stars_repo_path": "src/Games/pythontestgame/MainGame.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9683"
} | starcoder | using System;
using nginz;
using nginz.Scripting.Python;
namespace pythontestgame
{
public class MainGame : Game
{
PythonVM python;
public MainGame (GameConfiguration conf)
: base (conf) { }
protected override void Initialize () {
// Set asset directory
Content.ContentRoot = "../../assets";
... | 2.208781 | 15d25e46561f921f952c5938272ff0b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9683 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "s1nav/TestTasks",
"max_stars_repo_path": "Mindbox/AreaCalc/Triangle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9684"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AreaCalc
{
public class Triangle : IFigure
{
public double SideA { get; }
public double SideB { get; }
public double SideC { get; }
public Triangle (double sideA, double sideB, dou... | 3.74534 | e1ff504034f4aa217018fc16e3457c98 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9684 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "demonixis/TES3Unity",
"max_stars_repo_path": "Assets/Scripts/TES/Data/ESM/Records/ENCHRecord.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9685"
} | starcoder | <reponame>demonixis/TES3Unity<gh_stars>10-100
namespace TES3Unity.ESM.Records
{
public enum EnchantType
{
CastOne = 0,
CastStrikes = 1,
CastWhenUsed = 2,
ConstantEffect = 3
}
public enum EnchantRangeType
{
Self = 0,
Touch = 1,
Target = 2
... | 2.351874 | 7f66974e7438e8705ba3096bcc54f27f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9685 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrzeznik/TaxHandling",
"max_stars_repo_path": "RRegistry.Tests/TaxRegistryTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9686"
} | starcoder | <gh_stars>0
using System;
using Xunit;
using RRegistry.DataGenerator;
using RRegistry.Tax;
namespace RRegistry.Tests;
public class UnitTest1
{
[Fact]
public void Match_ExistingRule_Pass()
{
// given
var taxRule = new Rule<FooDocument, decimal?>()
{
Name = "Rule #1",
... | 2.304476 | ec519bf1e064189353dd633af6116075 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9686 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "alexandrvslv/datawf",
"max_stars_repo_path": "External/Mono.Texteditor/Mono.TextEditor.Highlighting/ChunkStyle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9687"
} | starcoder | <filename>External/Mono.Texteditor/Mono.TextEditor.Highlighting/ChunkStyle.cs<gh_stars>1-10
//
// ChunkStyle.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2013 Xamarin Inc. (http://xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and a... | 2.603293 | 59474eab2cc813dea7b82b060a5c9b5f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9687 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "p-lindberg/unity-node-editor",
"max_stars_repo_path": "NodeViewSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9688"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "Node Editor/Node View Settings")]
public class NodeViewSettings : ScriptableObject
{
[Header("Layout Settings")]
[SerializeField] Vector2 minimumSize;
public Vector2 MinimumSize { get { return minimumSize;... | 1.755826 | 6b502bc3726ee994b67916ffd02b44ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9688 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "afonsoft/Afonsoft.ADONET",
"max_stars_repo_path": "Afonsoft.ADONET/Providers/SQLite.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9689"
} | starcoder | using Afonsoft.ADONET.Interfaces;
using System.Data;
using System.Data.SQLite;
namespace Afonsoft.ADONET.Providers
{
internal class SQLite : ISqlProvider
{
private SQLiteConnection sql;
public SQLite(string conectionString)
{
sql = new SQLiteConnection(conectionString);
... | 2.551862 | 097dab13db1ba392092a51b745ed333d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9689 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "undancer/oni-data",
"max_stars_repo_path": "Managed/main/LaunchPadConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9690"
} | starcoder | <reponame>undancer/oni-data<filename>Managed/main/LaunchPadConfig.cs
using System.Collections.Generic;
using STRINGS;
using TUNING;
using UnityEngine;
public class LaunchPadConfig : IBuildingConfig
{
public const string ID = "LaunchPad";
private const int WIDTH = 7;
private const string TRIGGER_LAUNCH_PORT_ID = "... | 1.510034 | 4d38757528ab2b93258abf61d8a01e57 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9690 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alwalker/RelativitySearchTermVetter",
"max_stars_repo_path": "RelativitySearchTermVetter.Business/Rules/StarInQuotes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9691"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace RelativitySearchTermVetter.Business.Rules
{
public class StarInQuotes : Rule
{
public override String GetViolationDescription(params Strin... | 2.847699 | 17220312c96aa8002fa1a6e8e8c18fc9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9691 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Artemyj/atata",
"max_stars_repo_path": "src/Atata/Attributes/IdXPathForLabelAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9692"
} | starcoder | using System;
namespace Atata
{
[AttributeUsage(AttributeTargets.Class)]
public class IdXPathForLabelAttribute : Attribute
{
public IdXPathForLabelAttribute(string xPathFormat)
{
XPathFormat = xPathFormat;
}
public string XPathFormat { get; private ... | 2.265654 | 1b07df7232c71088ec299df5fefd1373 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9692 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "fryderykhuang/MessagePack-CSharp",
"max_stars_repo_path": "benchmark/SerializerBenchmark/Serializers/SpanJsonSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9693"
} | starcoder | <filename>benchmark/SerializerBenchmark/Serializers/SpanJsonSerializer.cs
using Benchmark.Serializers;
public class SpanJson_ : SerializerBase
{
public override object Serialize<T>(T input)
{
return SpanJson.JsonSerializer.Generic.Utf8.Serialize(input);
}
public override T Deserialize<T>(obje... | 1.689644 | b41948cb292b2e86c27dd7ab11b8f8ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9693 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "viniciusmiguel/Checkout.Store",
"max_stars_repo_path": "Server/Checkout.Core.Messaging/WAMP/ServiceInstanceDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9694"
} | starcoder | <gh_stars>0
namespace Checkout.Core.Messaging.WAMP
{
public class ServiceInstanceDto
{
public string InstanceId { get; set; }
}
}
| 0.810416 | 08d80d651de8e8bb83932cd249688866 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9694 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "migueladanrm/WebFinder",
"max_stars_repo_path": "WebFinder.Core/PageLibraryManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9695"
} | starcoder | <gh_stars>0
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using System.IO;
namespace WebFinder
{
public static class PageLibraryManager
{
private static string libraryFile = $@"{Constants.DataDir}\library.json";
public static void SetLibraryFile(string path)
{
... | 2.650419 | 1f36cbb10b2b506b08a2703ae9ac8539 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9695 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chris2001jm/njetty",
"max_stars_repo_path": "NJetty.Util/Util/QuotedStringTokenizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9696"
} | starcoder | #region Apache License
//
// 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, Version 2.... | 2.528127 | 95a3a852ee1e34ee8f2fab78dc7ee9a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9696 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rahodges/Amns",
"max_stars_repo_path": "Amns.GreyFox/Security/GreyFoxRole.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9697"
} | starcoder | <gh_stars>0
/* ********************************************************** *
* AMNS DbModel v1.0 Class Object Business Tier *
* Copyright © 2003-2006 <NAME> *
* All Rights Reserved *
* ----------------------------------------------------------... | 2.628951 | 82ecc8bc46748c7c8a4d70ffbf2e047a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9697 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "ViktorHofer/MMI",
"max_stars_repo_path": "src/Microsoft.Management.Infrastructure/Native/Structures/MI_Array.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9698"
} | starcoder | <filename>src/Microsoft.Management.Infrastructure/Native/Structures/MI_Array.cs
/*
**==============================================================================
**
** Copyright (c) Microsoft Corporation. All rights reserved. See file LICENSE
** for license information.
**
**==========================================... | 2.488662 | 2a623cb04f2b4565a733a2640ea4298a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9698 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "Kreunus/HumarnAnimationXR",
"max_stars_repo_path": "Assets/_OpenXR/Scripts/InteractableExample.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9699"
} | starcoder | using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.XR.Interaction.Toolkit;
public class InteractableExample : XRGrabInteractable
{
// Variables
protected override void Awake()
{
base.Awake();
}
public override void ProcessInteractable(XRInteractionUpdateOrder.UpdatePhase ... | 2.258606 | a6d05108e65a462d94b57d6ef4b50ea3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9699 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jamill/Git-Credential-Manager-Core",
"max_stars_repo_path": "src/windows/GitHub.Authentication.Helper.Windows/Controls/CredentialsControl.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9700"
} | starcoder | <reponame>jamill/Git-Credential-Manager-Core<filename>src/windows/GitHub.Authentication.Helper.Windows/Controls/CredentialsControl.xaml.cs<gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
using GitHub.UI.Controls;
using GitHub.UI.Helpers;
name... | 1.715442 | 55b398f812cdde72a03813ebe0d424f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9700 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "mdabros/SharpLearning.Examples",
"max_stars_repo_path": "src/SharpLearning.Examples/ModelSelection/ClassificationFindBestDefaultModelExample.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9701"
} | starcoder | using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SharpLearning.AdaBoost.Learners;
using SharpLearning.Common.Interfaces;
using SharpLearning.CrossValidation.TrainingTestSplitters;
using SharpLearning.DecisionTrees.Learners;
using Sha... | 2.554435 | c00f9d473ea5efb6e5eeac392d26d602 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9701 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dicarne/aifightworld",
"max_stars_repo_path": "Assets/Script/Level/Level2/Level2Control.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9702"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using UnityEngine.UI;
public class Level2Control : MonoBehaviour
{
public GameObject tile;
public GameObject root;
void Awake()
{
Players = new List<TileHeroInfo>();
Map = ... | 2.284397 | 02a1afb803dde0231f62b07eed83cb4b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9702 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zigorrom/HyperionScreenCap",
"max_stars_repo_path": "HyperionScreenCap/Helper/UpdateChecker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9703"
} | starcoder | <filename>HyperionScreenCap/Helper/UpdateChecker.cs
using HyperionScreenCap.Model.GitHub;
using log4net;
using RestSharp;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.F... | 2.622377 | e1281c2f373ee834d71db94ccfb983de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9703 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "netcode-io/reliable.io.net",
"max_stars_repo_path": "reliable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9704"
} | starcoder | <filename>reliable.cs
/*
reliable.io
Copyright © 2017 - 2019, The Network Protocol Company, Inc.
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 ... | 1.748846 | 56f84746499d11f6062e2ff0c7387b49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9704 | {
"extension": "c-sharp",
"max_stars_count": "74.0",
"max_stars_repo_name": "blueskybcl/SF-Boilerplate",
"max_stars_repo_path": "SF.Core/Data/EFCore/UoW/IEFCoreLogicalArea.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9705"
} | starcoder | /*******************************************************************************
* 命名空间: SF.Core.EFCore.UoW
*
* 功 能: N/A
* 类 名: IEFCoreLogicalArea
*
* Ver 变更日期 负责人 变更内容
* ───────────────────────────────────
* V0.01 2016/11/11 10:57:32 疯狂蚂蚁 初版
*
* Copyright (c) 2016 SF 版权所有
* Description: SF快速开发平台
* Website:http://www.... | 2.265091 | 27db059eb15c1a81b4e11f2ca91d3b82 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9705 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "henricj/phonesm",
"max_stars_repo_path": "Source/Libraries/SM.Media/Utility/RandomGenerators/Well512.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9706"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="Well512.cs" company="<NAME>">
// Copyright (c) 2012-2015.
// <author><NAME></author>
// </copyright>
// -----------------------------------------------------------------------
// Copyright (c) 2012-2015 <NAME> <<EMAIL>>
... | 2.430141 | 9295910c3bbcc709fe7a39d5b25f676c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9706 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1909-sep30-net/wesley-code",
"max_stars_repo_path": "1-csharp/ShapesApp/ShapesApp.App/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9707"
} | starcoder | <reponame>1909-sep30-net/wesley-code
using System;
using ShapesApp.Library;
namespace ShapesApp.App
{
static class Program
{
static void Main(string[] args)
{
string input;
double length;
do
{
Console.WriteLine("Enter a length: ")... | 3.555966 | 4ebefd45f31ec61fb31ad244cab286e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9707 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "mikeobrien/Gribble",
"max_stars_repo_path": "src/Tests/Expressions/ProjectionVisitorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9708"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using Gribble.Expressions;
using Gribble.Model;
using NUnit.Framework;
using Should;
namespace Tests.Expressions
{
[TestFixture]
public class ProjectionVisitorTests
{
public class Entity
{
... | 2.487026 | 88b0a310642820d68f9a70d63b7d9037 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9708 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "margaale/Synology",
"max_stars_repo_path": "Synology/FileStation/Common/Results/TaskAdditionalResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9709"
} | starcoder | <reponame>margaale/Synology<filename>Synology/FileStation/Common/Results/TaskAdditionalResult.cs
using Newtonsoft.Json;
namespace Synology.FileStation.Common.Results
{
/// <summary>
/// Task additional result.
/// </summary>
internal abstract class TaskAdditionalResult<TOwnerResult, TTimeResult, TPerm... | 1.995518 | 26d2447e58d81927ea909c92de428b27 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9709 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "CyberODB/homiebot",
"max_stars_repo_path": "Discord/Voice/MultiCloudTTS.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9710"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using System.IO;
using System.Linq;
using Microsoft.Extensions.Configuration;
using DSharpPlus.CommandsNext;
using DSharpPlus.VoiceNext;
using Homiebot.Discord.Voice.Providers;
using Homiebot.Discord.Voice.... | 2.591674 | 2359a74405720b159e6f79c7d5f8951d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9710 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "UnosquareBelfast/AdminCore",
"max_stars_repo_path": "v2/AdminCore.WebApp/Models/Contract/UpdateContractViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9711"
} | starcoder | <reponame>UnosquareBelfast/AdminCore
using System;
namespace AdminCore.WebApi.Models.Contract
{
public class UpdateContractViewModel
{
public int ContractId { get; set; }
public int TeamId { get; set; }
public int EmployeeId { get; set; }
public DateTime StartDate { get; set; }
public Date... | 1.512559 | 4f839be6eece47e10e4af71c6c8e73a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9711 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "missytoy/Telerik",
"max_stars_repo_path": "Excercise/OnlineMarket/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9712"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wintellect.PowerCollections;
namespace OnlineMarket
{
class Program
{
static Dictionary<string, List<Product>> productsByType = new Dictionary<string, List<Product>>();
sta... | 3.012854 | d4e2d0c82184c0d067eb0ab7bcddf215 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9712 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tinytang/WTM",
"max_stars_repo_path": "src/WalkingTec.Mvvm.Mvc.Admin/Areas/_Admin/ViewModels/FrameworkMenuVMs/FrameworkMenuListVM2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9713"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
namespace WalkingTec.Mvvm.Mvc.Admin.ViewModels.FrameworkMenuVMs
{
public class FrameworkMenuListVM2 : BasePagedListVM<FrameworkMenu_Lis... | 2.063825 | 60376dd1bb8730166835e1f837486a56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9713 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hjbwallace/CrossStitch",
"max_stars_repo_path": "CrossStitch.App/Controls/SearchBox.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9714"
} | starcoder | <reponame>hjbwallace/CrossStitch
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace CrossStitch.App.Controls
{
public partial class SearchBox : UserControl
{
public static readonly DependencyProperty EnterCommandProperty = DependencyProperty.Register(
... | 2.259306 | d29d933fd950342a040aca1e3f4e68b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9714 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "intensifier/NeoAxisEngine",
"max_stars_repo_path": "Project/Assets/Base/UI/Screens/ScenesWindow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9715"
} | starcoder | <filename>Project/Assets/Base/UI/Screens/ScenesWindow.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using NeoAxis;
namespace Project
{
public class ScenesWindow : UIWindow
{
//static double savedScrollPosition;
//
protected override void OnEnabledInSimulation()
{
... | 2.197663 | ccb4935d83cdcdb51f87589d99e13ca4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9715 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AnastasiaChernikova/Non-Relational-Database",
"max_stars_repo_path": "Kunst/Views/Shared/Posts.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:9716"
} | starcoder | <gh_stars>1-10
@model IEnumerable<MVC.ViewModels.PostViewModel>
@{
ViewData["Title"] = "Home Page";
}
<style>
body {
background-image: url(https://cdn.shopify.com/s/files/1/0460/8801/products/abstract-painting-original-art-blue-white-turquoise-aqua-grey-coastal-modern-marbled-pour-paintings-metallic-go... | 2.603574 | c9f21b24c66cb66e6a89c1ff9c85657a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9716 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CSCfi/research-fi-mydata",
"max_stars_repo_path": "aspnetcore/src/api/Services/OrcidJsonParserService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9717"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text.Json;
using api.Models.Orcid;
namespace api.Services
{
/*
* OrcidJsonParserService parses elements from user's ORCID json record.
*
* ORCID record schema
* https://info.orcid.org/documentation/integration-guide/orcid-record/
... | 2.699277 | 4fe2ae2a86a229f41781bbeed1ce2b4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9717 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "m-sadegh-sh/FaraMedia",
"max_stars_repo_path": "src/Libraries/FaraMedia.Data/Mapping/Misc/RedirectorMap.fixed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9718"
} | starcoder | <reponame>m-sadegh-sh/FaraMedia
namespace FaraMedia.Data.Mapping.Misc {
using FaraMedia.Core.Domain.Misc;
public sealed class RedirectorMap : EntityMapBase<Redirector> {
public RedirectorMap() {
Property(r => r.TargetUrl,
pm => pm.Unique(true));
Property(r => r.ShortHash,
pm => pm.Uni... | 1.662195 | 1474238991de1cdaf0ebec94df402647 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9718 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "texus/TGUI.Net",
"max_stars_repo_path": "src/Gui.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9719"
} | starcoder | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// TGUI - Texus' Graphical User Interface
// Copyright (C) 2012-2020 <NAME> (<EMAIL>)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will... | 2.423808 | b810c04d3c66ae2adb1c7b6ddb5643f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9719 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "firstchoiceboise-public/radegast",
"max_stars_repo_path": "Radegast/GUI/Consoles/MediaConsole.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9720"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using OpenMetaverse;
using OpenMetaverse.StructuredData;
using Radegast.Media;
namespace Radegast
{
public partial class MediaConsole : DettachableCo... | 1.715475 | 444a865db5947ce354a8c3f961d0a8ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9720 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dpetasz/ProjektZespolowy",
"max_stars_repo_path": "PrzychodniaPOZ/PrzychodniaPOZ/Views/Admin/DostepneWizytaBadaniaMenu.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:9721"
} | starcoder |
@{
ViewBag.Title = "BadaniaMenu";
Layout = "~/Views/Shared/_LayoutDostepneWizytaBadanie.cshtml";
if (Session["PracownikId"] == null)
{
Response.Redirect("~/Admin/Logowanie");
}
}
| 1.3111 | bd97755a723927ce5a1e1889db790931 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9721 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "p0cket/99N",
"max_stars_repo_path": "Assets/Fungus/Thirdparty/FungusLua/Thirdparty/MoonSharp/Debugger/DebuggerLogic/AsyncDebugger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9722"
} | starcoder | #if (!PCL) && ((!UNITY_5) || UNITY_STANDALONE)
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using MoonSharp.Interpreter;
using MoonSharp.Interpreter.Debugging;
using MoonSharp.VsCodeDebug... | 1.753905 | 9f6928e8cda0409017ffe6f46cf869d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9722 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YourRoyalLinus/online-guitar-rentals",
"max_stars_repo_path": "OGR.Service/GuitarService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9723"
} | starcoder | <reponame>YourRoyalLinus/online-guitar-rentals
using RentalData;
using RentalData.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RentalServices
{
public class GuitarService : IGuitar
{
private RentalContext _context;
public GuitarServic... | 2.656842 | 4d6372c45607260e1e85587590125658 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9723 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Y-Less/SharpVk",
"max_stars_repo_path": "src/SharpVk/Interop/Multivendor/DebugMarkerMarkerInfo.gen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9724"
} | starcoder | <gh_stars>0
// The MIT License (MIT)
//
// Copyright (c) <NAME>/FacticiusVir 2019
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the... | 1.789413 | f3c6dbd79a4d5396080c614dd2bd9fcd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9724 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chucker/AltNetworkUtility",
"max_stars_repo_path": "AltNetworkUtility/ViewModels/DebufferedCommandViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9725"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Input;
using AltNetworkUtility.Services;
using CliWrap;
using CliWrap.Buffered;
using CliWrap.Builders;
using CliWrap.EventStream;
using Microsoft.Toolkit.Mvvm.Input;
using Xamarin... | 2.136542 | 4a7bce9eab7e81bd7377a52f4a1e66c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9725 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Tobaloidee/ClosedXML.Report",
"max_stars_repo_path": "ClosedXML.Report/Excel/AddressChangedEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9726"
} | starcoder | using System;
using ClosedXML.Excel;
namespace ClosedXML.Report.Excel
{
public class AddressChangedEventArgs : EventArgs
{
public AddressChangedEventArgs(IXLRangeBase range, IXLRangeAddress oldAddress, IXLRangeAddress newAddress)
{
NewAddress = newAddress;
Range = range... | 2.462694 | 00ad011aa5fa77056c8aa163be2c0ba9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9726 | {
"extension": "c-sharp",
"max_stars_count": "314.0",
"max_stars_repo_name": "Srpman/InCVisualisation-Demo",
"max_stars_repo_path": "Assets/Scripts/DryWetMidi/Multimedia/OutputDevice/OutputDevice.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9727"
} | starcoder | <reponame>Srpman/InCVisualisation-Demo
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.InteropServices;
using Melanchall.DryWetMidi.Common;
using Melanchall.DryWetMidi.Core;
namespace Melanchall.DryWetMidi.Multimedia
{
/// <summary>
/// Repr... | 2.19144 | bd2c8452204cf0f8737b2911e9bf7bc1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9727 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xzenin/brhym",
"max_stars_repo_path": "src/PoemEditor/WordPicker/UIBoundDataUpdateExtn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9728"
} | starcoder | <filename>src/PoemEditor/WordPicker/UIBoundDataUpdateExtn.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
namespace WordPicker
{
public static class... | 2.504198 | f29865418772a0e1214d039f7e30acdb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9728 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Phils0/UkTimetableService",
"max_stars_repo_path": "Timetable.Test/InternalsHelperExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9729"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using ReflectionMagic;
namespace Timetable.Test
{
internal static class InternalsHelperExtensions
{
internal static Dictionary<string, SortedList<(StpIndicator indicator, ICalendar calendar), Association>> GetAssociations(this IService service)
{
... | 1.91535 | bc6c1bef074247bef17de4e617d7095d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9729 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maxgrig/MvvmCross",
"max_stars_repo_path": "CrossCore/Cirrious.CrossCore/Core/MvxAsyncDispatcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9730"
} | starcoder | // MvxAsyncDispatcher.cs
// (c) Copyright Cirrious Ltd. http://www.cirrious.com
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Stuart Lodge, @slodge, <EMAIL>
using System;
using System.Threading;
using System.Th... | 1.978703 | 719e4f005b414088104bff3ea380813d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9730 | {
"extension": "c-sharp",
"max_stars_count": "81.0",
"max_stars_repo_name": "zhaozilong1988/UnitySamples",
"max_stars_repo_path": "InterpolationFunctions/Assets/SampleUI/PopupAnimation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9731"
} | starcoder | <reponame>zhaozilong1988/UnitySamples
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PopupAnimation : MonoBehaviour
{
[SerializeField]
float _spring = 100f;
[SerializeField]
float _openDamper = 14f;
[SerializeField]
float _closeDamper = 15f;
[SerializeField]
Vector... | 1.900792 | f7752a7736b58b3b7aa2b53ab6b6bc2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9731 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cdufault/arcobjects-sdk-community-samples",
"max_stars_repo_path": "Net/Geodatabase/SetFlowByDigitizedDirection/CSharp/SetFlowByDigitizedDirectionCSharp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9732"
} | starcoder | <filename>Net/Geodatabase/SetFlowByDigitizedDirection/CSharp/SetFlowByDigitizedDirectionCSharp.cs
/*
Copyright 2016 Esri
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://w... | 2.03403 | 79ec4a031eba9af95145639d62c1f752 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9732 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "machine/machine.fakes",
"max_stars_repo_path": "src/Machine.Specifications.Fakes.Examples/4_Using_Moq_Api/MoodIdentifierSpecs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9733"
} | starcoder | using System;
using Machine.Fakes.Examples.SampleCode;
using Machine.Specifications;
using Moq;
using It = Machine.Specifications.It;
namespace Machine.Fakes.Examples.UsingMoqApi
{
[Subject(typeof(MoodIdentifier)), Tags("Examples")]
public class Given_the_current_day_is_monday_when_identifying_my_mood
{
... | 2.768346 | cdeaf1f26470582d6b35c9d4455e5a8d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9733 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Anti-Friz/GURPSLib",
"max_stars_repo_path": "AntiFriz_GURPS_Lib/Types/Items/CalcsModels/Armor/ResourcesModels/ArmorMaterialXMLModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9734"
} | starcoder | <reponame>Anti-Friz/GURPSLib
namespace AntiFrizGURPSLib.Types.Items.CalcsModels.ResourcesModels
{
public class ArmorMaterialXMLModel
{
public int Id { get; set; }
public string TL { get; set; }
public string Material { get; set; }
public string MaterialRus { get; set; }
... | 1.667068 | 0a158c32e26828cdf66806c6edd37cd5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9734 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "lambdageek/corert",
"max_stars_repo_path": "src/System.Private.Reflection.Core/src/System/Reflection/Runtime/MethodInfos/RuntimeSyntheticConstructorInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9735"
} | starcoder | <reponame>lambdageek/corert
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Reflection;
using System.Diagnostics;
using System.Globalizat... | 1.711041 | 3feb1f996ac65e96d1806fb22ec5250a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9735 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LsquaredTechnologies/smarthome-zigbee",
"max_stars_repo_path": "src/Zigbee.Abstractions/NWK/~ICommandPayload.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9736"
} | starcoder | //namespace Lsquared.SmartHome.Zigbee.NWK
//{
// public interface ICommandPayload
// {
// }
//}
| 0.589439 | 82a65320d1d46e92d99037ffae7e19fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9736 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tmont/butterfly",
"max_stars_repo_path": "src/dotnet/Src/ButterflyNet.Parser/Strategies/ListStrategy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9737"
} | starcoder | using System.Linq;
using System.Text;
using ButterflyNet.Parser.Satisfiers;
using ButterflyNet.Parser.Scopes;
namespace ButterflyNet.Parser.Strategies {
public class ListStrategy : ScopeDrivenStrategy {
public ListStrategy() {
AddSatisfier<StartOfLineSatisfier>();
AddSatisfier<CannotNestInsideInline... | 2.885968 | 775a2696a5364ac446cdbd94e5cf6942 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.