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 | 67261 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "sucrose0413/LykkeWalletAPI",
"max_stars_repo_path": "LykkeApi2/Models/2Fa/GoogleSetupCodeCheckResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67262"
} | starcoder | <reponame>sucrose0413/LykkeWalletAPI<filename>LykkeApi2/Models/2Fa/GoogleSetupCodeCheckResponse.cs
namespace LykkeApi2.Models._2Fa
{
public class GoogleSetupCodeCheckResponse
{
public bool IsValid { set; get; }
}
}
| 1.155964 | 4c3420b826dc1ab5fd3f0987bd452ab4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67262 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "ualehosaini/Beef",
"max_stars_repo_path": "tools/Beef.Test.NUnit/Tests/EventSubscriberTestHost.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67263"
} | starcoder | <gh_stars>10-100
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef
using Beef.Events;
using Beef.Events.Subscribe;
using System.Diagnostics;
using System.Threading.Tasks;
namespace Beef.Test.NUnit.Tests
{
/// <summary>
/// Provides a <see cref="EventSubscriberHost"... | 2.260113 | 5407c55f1b52364f32fea5ac79b86fe5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67263 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "2011-nov02-net/jay-project1",
"max_stars_repo_path": "Aqua.Data/Migrations/20201121195309_LocationCharLimit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67264"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
namespace Aqua.Data.Migrations
{
public partial class LocationCharLimit : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DeleteData(
schema: "Aqua",
table: ... | 2.317114 | 0ce8582efc65d0d7039008fb9d3ad2b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67264 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "keutmann/SPM",
"max_stars_repo_path": "SharePoint Manager 2010/SharePoint Manager 2007/Components/TreeViewExplorer/ServiceCollectionNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67265"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Administration;
using Keutmann.SharePointManager.Library;
namespace Keutmann.SharePointManager.Components
{
class ServiceCollectionNode : ExplorerNodeBase
{
public SPServiceCollec... | 2.102133 | b3f20ca93377d6ab52af107ecbb1bf01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67265 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ALMikhai/CCompiler",
"max_stars_repo_path": "CCompiler/CodeGenerator/Printf.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67266"
} | starcoder | <reponame>ALMikhai/CCompiler<gh_stars>0
using System;
using CCompiler.Parser;
using CCompiler.SemanticAnalysis;
using CCompiler.Tokenizer;
using Mono.Cecil;
using Mono.Cecil.Cil;
namespace CCompiler.CodeGenerator
{
public class Printf : FuncSymbol
{
private static EnvironmentSnapshot _arguments;
... | 2.208695 | 590c563280aaa5255ef7e19286fd95d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67266 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Milkitic/OsuLivePlayer",
"max_stars_repo_path": "OsuLivePlayer/Model/EasingEnum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67267"
} | starcoder | <filename>OsuLivePlayer/Model/EasingEnum.cs
namespace OsuLivePlayer.Model
{
public enum EasingEnum
{
Linear, EasingOut, EasingIn,
QuadIn, QuadOut, QuadInOut,
CubicIn, CubicOut, CubicInOut,
QuartIn, QuartOut, QuartInOut,
QuintIn, QuintOut, QuintInOut,
SineIn, Sine... | 1.95148 | 68c1857e32a73a269c534d6d89c3eea7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67267 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "garrethmartin/HSC_UML",
"max_stars_repo_path": "graph_clustering/code/dotnetcore/GNG/GNGConsoleApp/InputOutputData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67268"
} | starcoder | <filename>graph_clustering/code/dotnetcore/GNG/GNGConsoleApp/InputOutputData.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Configuration;
using System.IO;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
... | 2.055554 | c9df6124dc716114c41e17d3a523c320 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67268 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PascalBe07/monkeyCode-urvent",
"max_stars_repo_path": "Frontend/Projects/MonkeyCode.Framework.Portable.Urvent/Models/Mobile/MobileEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67269"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MonkeyCode.Framework.Portable.Urvent.Models.Mobile
{
public abstract class MobileEntity
{
}
}
| 1.080607 | 31059bee9e100fd4289527b23dd04f0a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67013 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "dotnetcloud/SqsToolbox",
"max_stars_repo_path": "test/DotNetCloud.SqsToolbox.Core.Tests/Delete/SqsBatchDeleterTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67014"
} | starcoder | <reponame>dotnetcloud/SqsToolbox
namespace DotNetCloud.SqsToolbox.Tests.Delete
{
//public class SqsBatchDeleterTests
//{
// [Fact]
// public async Task Start_ThrowsWhenStartedTwice()
// {
// var options = new SqsBatchDeletionOptions
// {
// QueueUrl = ... | 1.733255 | 02e07e2ba6217043d0cd1e6cdfa45c05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67014 | {
"extension": "c-sharp",
"max_stars_count": "100.0",
"max_stars_repo_name": "RyanHauert/fubumvc",
"max_stars_repo_path": "src/FubuMVC.Core/ServiceBus/ScheduledJobs/Persistence/InMemorySchedulePersistence.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67015"
} | starcoder | <filename>src/FubuMVC.Core/ServiceBus/ScheduledJobs/Persistence/InMemorySchedulePersistence.cs
using System.Collections.Generic;
using System.Linq;
using FubuCore.Util;
namespace FubuMVC.Core.ServiceBus.ScheduledJobs.Persistence
{
public class InMemorySchedulePersistence : ISchedulePersistence
{
priva... | 2.715758 | 1e74708dc7dc280e26ed7e92aa59ff65 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67015 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "endink/Schubert",
"max_stars_repo_path": "src/Framework/Schubert.Framework/Localization/Localizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67016"
} | starcoder | <gh_stars>10-100
using System;
namespace Schubert.Framework.Localization
{
/// <summary>
/// 获取指定资源键的本地化字符串(如果键不存在获取 defaultString)。
/// </summary>
/// <param name="key">要获取的本地化资源的键。</param>
/// <param name="defaultString">在资源未找到时返回的默认字符串。</param>
/// <param name="args">用于格式化本地化资源的参数。</param>
... | 2.55739 | 2dd43391ac033ca1b9243b82b363cf52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67016 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "codemonkey85/roslyn",
"max_stars_repo_path": "Src/Compilers/CSharp/Source/Binder/InMethodBinder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67017"
} | starcoder | <reponame>codemonkey85/roslyn
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Diagnostics;
using System.Threading;
using Microsoft.Co... | 2.214754 | d982523c8a41de521c1da056af55bcb4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67017 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sakupo/unity-template",
"max_stars_repo_path": "Assets/Airtest/Unity3D/ugui/UnityNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67018"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine;
namespace Poco
{
public class UnityNode : AbstractNode
{
public static Dictionary<string, string> TypeNames = new Dictionary<string, string>() {
{ "Text", "Text" },
{ "Gradient ... | 1.912423 | 7cacda456c6a832d436a96a7a4e641dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67018 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "b9chris/StripeAsync",
"max_stars_repo_path": "StripeAsync/Core/Serialization/UnixDateTimeConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67019"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Brass9.Clients.Stripe.Core.DateTimeExtensions;
namespace Brass9.Clients.Stripe.Core.Serialization
{
/// <summary>
/// Handle ... | 2.784933 | bcbca815ba165f7c7d3baca5f845cae5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67019 | {
"extension": "c-sharp",
"max_stars_count": "250.0",
"max_stars_repo_name": "Tonymmm/xamarin-forms-book-preview-2",
"max_stars_repo_path": "Chapter23/FormattedTextToggle/FormattedTextToggle/FormattedTextToggle/FormattedTextTogglePage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67020"
} | starcoder | using System;
using System.ComponentModel;
using Xamarin.Forms;
using Xamarin.FormsBook.Toolkit;
namespace FormattedTextToggle
{
public partial class FormattedTextTogglePage : ContentPage
{
public FormattedTextTogglePage()
{
InitializeComponent();
}
void OnBehavior... | 2.205784 | 29ae65666e0b60dee8888c433f95162a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67020 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aaron-salisbury/ProjectTemplates",
"max_stars_repo_path": "Win98Core/Base/ValidatableModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67021"
} | starcoder | using System;
using System.Collections.Generic;
namespace Win98Core.Base
{
public class ValidatableModel
{
public List<string> Errors { get; set; } = new List<string>();
public string ErrorMessage { get => string.Join(Environment.NewLine, Errors.ToArray()); }
public bool IsValid { get ... | 2.454702 | 4ad608713dd6b21e998e010421c0012f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67021 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stevenh-ACM/AspNetCore.Diagnostics.HealthChecks",
"max_stars_repo_path": "test/HealthChecks.UI.Tests/Functional/DatabaseProviders/UpdateConfigurationTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67022"
} | starcoder | <filename>test/HealthChecks.UI.Tests/Functional/DatabaseProviders/UpdateConfigurationTests.cs
using FluentAssertions;
using HealthChecks.UI.Core.Data;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extens... | 1.942848 | a01035a113dccaf5a7d425ac5f4a328d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67022 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "darojuv/cset",
"max_stars_repo_path": "CSETWebApi/CSETWeb_Api/DataLayer/IFileRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67023"
} | starcoder | <gh_stars>1-10
////////////////////////////////
//
// Copyright 2018 Battelle Energy Alliance, LLC
//
//
////////////////////////////////
using System.Collections.Generic;
using DataAccess.Model;
using DataLayer;
namespace DataAccess
{
public interface IFileRepository
{
IEnumerable<FileDescrip... | 1.355417 | d03006f71d4ac94b0c10305120ff4a68 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67023 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DFE-Digital/search-and-compare-api",
"max_stars_repo_path": "src/domain/Lists/IFilteredList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67024"
} | starcoder | <filename>src/domain/Lists/IFilteredList.cs
using System.Collections.Generic;
namespace GovUk.Education.SearchAndCompare.Domain.Lists
{
public interface IFilteredList<T>
{
int TotalCount { get; set; }
}
} | 1.700678 | f1fb754a0d49dac92172b109a89b47e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67024 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JamieMagee/Docker.Registry.Client",
"max_stars_repo_path": "Source/Docker.Registry.Client/Registry/UnauthorizedApiException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67025"
} | starcoder | <gh_stars>0
namespace Docker.Registry.Client.Registry
{
/// <summary>
/// Thrown when an api response is returned as unauthorized.
/// </summary>
public class UnauthorizedApiException : RegistryApiException
{
internal UnauthorizedApiException(RegistryApiResponse response)
: base... | 1.667608 | ef40e3a66aa13675783cf05b17e338bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67025 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "kurena-777/NFugue",
"max_stars_repo_path": "src/NFugue/Theory/TimeSignature.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67026"
} | starcoder | <reponame>kurena-777/NFugue
namespace NFugue.Theory
{
public class TimeSignature
{
public static readonly TimeSignature CommonTime = new TimeSignature(4, 4);
public TimeSignature(int beatsForMeasure, int durationForBeat)
{
BeatsForMeasure = beatsForMeasure;
Dura... | 2.27605 | 3534200ae0c68192e1dcfa003397ad4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67026 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "Creatordev/DTLS.Net",
"max_stars_repo_path": "src/DTLS.Net/ServerHandshake.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67027"
} | starcoder | <reponame>Creatordev/DTLS.Net
/***********************************************************************************************************************
Copyright (c) 2016, Imagination Technologies Limited and/or its affiliated group companies.
All rights reserved.
Redistribution and use in source and binary forms, ... | 1.671806 | 30a0a07bae3b34d6acf92c951fc765d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67027 | {
"extension": "c-sharp",
"max_stars_count": "439.0",
"max_stars_repo_name": "pirocorp/CSharp-Web-Basics",
"max_stars_repo_path": "03. ASYNC AWAIT IN DETAIL/Blog/Blog.Web/Views/Articles/All.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:67028"
} | starcoder | <gh_stars>100-1000
@model ArticleListingViewModel
@{
ViewData.SetTitle("All Articles");
}
@if (Model.Articles.Any())
{
<div class="text-center">
<h1 class="display-4">@ViewData.GetTitle()</h1>
<partial name="_ArticleListingPartial" model="@Model.Articles" />
<div class="container mar... | 2.55922 | 922554080a464c672e84e02abdca58b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67028 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ousttrue/UniVRM",
"max_stars_repo_path": "Assets/VRM10/Runtime/Migration/Materials/MigrationMToonMaterial.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67029"
} | starcoder | using System;
using System.Collections.Generic;
using MToon;
using UniGLTF;
using UniGLTF.Extensions.VRMC_materials_mtoon;
using UniJSON;
using UnityEngine;
using VRMShaders.VRM10.MToon10.Runtime;
using ColorSpace = VRMShaders.ColorSpace;
using OutlineWidthMode = MToon.OutlineWidthMode;
using RenderMode = MToon.RenderM... | 1.749236 | 3dee8bb113ad2dd76ec35b587aba0bf3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67029 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "rileywhite/Cilador",
"max_stars_repo_path": "src/Cilador/Fody/Config/InterfaceMixinMapType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67030"
} | starcoder | /***************************************************************************/
// Copyright 2013-2019 <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.... | 2.034094 | 549f7c3a8e113d40786ed92bae16595a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67030 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "charlehsin/net6-webapi-tutorial",
"max_stars_repo_path": "TodoApi/Models/UserRegister.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67031"
} | starcoder | <gh_stars>1-10
using System.ComponentModel.DataAnnotations;
namespace TodoApi.Models;
public class UserRegister
{
[Required(ErrorMessage = "User Name is required")]
[StringLength(100, ErrorMessage = "The {0} value cannot exceed {1} characters. ")]
public string UserName { get; set; }
[EmailAddress]
... | 2.36816 | db9c824d3226107aa12a9e048b55bbaa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67031 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mihir0106/Solitaire-Using-Unity",
"max_stars_repo_path": "Solitarie/Assets/Scripts/MoveCount.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67032"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MoveCount : MonoBehaviour
{
public Text MoveCountText;
public int count;
public static MoveCount instance;
// Start is called before the first frame update
void Start()
... | 1.770688 | c1f04b3ee52546516a4d835fc2df7d92 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67032 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "publichealthengland/fingertips-open",
"max_stars_repo_path": "PholioVisualisationWS/DataConstruction/ParentChildAreaRelationshipBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67033"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using PholioVisualisation.PholioObjects;
using PholioVisualisation.DataAccess;
using PholioVisualisation.DataSorting;
namespace PholioVisualisation.DataConstruction
{
public class ParentChildAreaRelationshipBuilder
{
private IgnoredAre... | 2.610114 | 61a76f089d57e18cb8c4ca52a7a5597e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67033 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hansoli68/LabelAnnotator",
"max_stars_repo_path": "Records/DatasetRecord.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67034"
} | starcoder | <gh_stars>1-10
using Prism.Mvvm;
using System.Collections.Generic;
namespace COCOAnnotator.Records {
public class DatasetRecord : BindableBase {
private string _BasePath;
public string BasePath {
get => _BasePath;
set => SetProperty(ref _BasePath, value);
}
... | 2.390857 | 9709e979c80406b55372893c0fd81493 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67034 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Zulkir/ClarityWorlds",
"max_stars_repo_path": "Source/Clarity.App.Worlds/Media/Media2D/RichTextEditInteractionElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67035"
} | starcoder | using Clarity.App.Worlds.Helpers;
using Clarity.App.Worlds.Interaction;
using Clarity.App.Worlds.UndoRedo;
using Clarity.Common.Numericals.Algebra;
using Clarity.Engine.Gui;
using Clarity.Engine.Interaction;
using Clarity.Engine.Interaction.Input;
using Clarity.Engine.Interaction.Input.Keyboard;
using Clarity.Engine.I... | 1.858868 | 4e1843c08967a40ece1cc12d05f8594e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67035 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "aidilumarov/AngleSharp",
"max_stars_repo_path": "src/AngleSharp/Html/Dom/IHtmlOrderedListElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67036"
} | starcoder | namespace AngleSharp.Html.Dom
{
using AngleSharp.Attributes;
using System;
/// <summary>
/// Represents the ol HTML element.
/// </summary>
[DomName("HTMLOListElement")]
public interface IHtmlOrderedListElement : IHtmlElement
{
/// <summary>
/// Gets or sets if the orde... | 2.438719 | 75da81ba3bfd9667e7c16244f33fbb72 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67036 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Cybermork/Infinity-Jump",
"max_stars_repo_path": "Scripts/AudioManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67037"
} | starcoder | <reponame>Cybermork/Infinity-Jump<gh_stars>1-10
using UnityEngine;
public class AudioManager : MonoBehaviour
{
public AudioSource musicSource;
void Awake()
{
this.tag = "GameManager";
GameObject[] objs = GameObject.FindGameObjectsWithTag("GameManager");
musicSource.volume = Player... | 1.979819 | 30c749cbaeb10cba19816881f7330084 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67037 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mxschmitt/playwright-sharp",
"max_stars_repo_path": "src/Playwright.Tests/JSHandleAsElementTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67038"
} | starcoder | <filename>src/Playwright.Tests/JSHandleAsElementTests.cs<gh_stars>1-10
/*
* MIT License
*
* Copyright (c) Microsoft Corporation.
*
* 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 witho... | 2.219312 | fe3913dbf394500b6a8b88f627077e4f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67038 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "valentinvucea/mp3-tag-reder",
"max_stars_repo_path": "Tasks/SaveToDb.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67039"
} | starcoder | using System;
using System.Collections.Generic;
using EFCore.BulkExtensions;
using Microsoft.EntityFrameworkCore;
using Mp3TagReader.Data;
using Mp3TagReader.Models;
namespace Mp3TagReader.Tasks
{
public class SaveToDb
{
public SaveToDb(Settings config)
{
List<Song> songsList = new ... | 2.622646 | 9815b40f0390be7342b5ca0a5d5511ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67039 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Xeinaemm/Xeinaemm.Standard",
"max_stars_repo_path": "src/Xeinaemm.AspNetCore.Api/ModelBindingContextExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67040"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="ModelBindingContextExtensions.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>
// -----... | 2.423953 | 3558cde4f2aecccc2dca5b8208bcdb6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67040 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Nils277/KerbetrotterTools",
"max_stars_repo_path": "Sources/Plugin/KerbetrotterTools/Editor/KerbetrotterCategories.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67041"
} | starcoder | <filename>Sources/Plugin/KerbetrotterTools/Editor/KerbetrotterCategories.cs
/*
* Copyright (C) 2021 Nils277 (https://github.com/Nils277)
*
* 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
... | 1.488565 | aa4c195c3d9174421479f173ecd85ac3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67041 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "austinkeller/pwiz",
"max_stars_repo_path": "pwiz_tools/Skyline/Executables/BuildMethod/BuildAnalystFullScanMethod/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67042"
} | starcoder | <gh_stars>0
/*
* Original author: <NAME> <vsharma .at. u.washington.edu>,
* MacCoss Lab, Department of Genome Sciences, UW
*
* Copyright 2011 University of Washington - Seattle, WA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in c... | 2.360675 | 266373213d97156337393d3e04ededb2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67042 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LooWooTech/Kaopu",
"max_stars_repo_path": "Ztop.Todo.Web/Views/iPad/CreateAccount.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:67043"
} | starcoder | <reponame>LooWooTech/Kaopu
@{
iPadAccount account = ViewBag.Account;
bool edit = ViewBag.Edit;
Layout = null;
}
<h3 class="text-center">录入账号</h3>
<div class="alert " role="alert" style="display:none" id="Message">
<span></span>
</div>
<hr />
<div class="row">
<h4 class="text-center">Apple ID 密保问... | 2.094051 | fd2e88d6e636948424502318e00bd31d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67043 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "codescene-org/das-apply-service",
"max_stars_repo_path": "src/SFA.DAS.ApplyService.Application/Organisations/UpdateOrganisation/UpdateOrganisationHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67044"
} | starcoder | using MediatR;
using SFA.DAS.ApplyService.Domain.Entities;
using System.Threading;
using System.Threading.Tasks;
namespace SFA.DAS.ApplyService.Application.Organisations.UpdateOrganisation
{
public class UpdateOrganisationHandler : IRequestHandler<UpdateOrganisationRequest, Organisation>
{
private rea... | 2.307091 | ee9cb0c579ac0c7b0d83ecda34c6b2b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67044 | {
"extension": "c-sharp",
"max_stars_count": "54.0",
"max_stars_repo_name": "vorov2/dyalect",
"max_stars_repo_path": "Dyalect/Runtime/Types/Primitives/DyIntegerTypeInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67045"
} | starcoder | <filename>Dyalect/Runtime/Types/Primitives/DyIntegerTypeInfo.cs
using Dyalect.Debug;
using System.Globalization;
namespace Dyalect.Runtime.Types
{
internal sealed class DyIntegerTypeInfo : DyTypeInfo
{
public DyIntegerTypeInfo() : base(DyType.Integer) { }
protected override SupportedOperation... | 2.745496 | 2b2d1feeb53ea55c507a8c689bf54ec2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67045 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "WickedFlame/Polaroider",
"max_stars_repo_path": "src/Polaroider/Mapping/IValueFormatter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67046"
} | starcoder | namespace Polaroider.Mapping
{
/// <summary>
/// Interface for formatting types to string
/// </summary>
public interface IValueFormatter : IMapper
{
/// <summary>
/// Format the object to a string
/// </summary>
/// <param name="value"></param>
/// <returns></returns>
string Format(object... | 2.632555 | d84bb6982a7935440f3992cf7a087e10 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67046 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "andyalm/mount-aws",
"max_stars_repo_path": "MountAws/Services/Wafv2/RuleItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67047"
} | starcoder | <filename>MountAws/Services/Wafv2/RuleItem.cs<gh_stars>1-10
using System.Management.Automation;
using Amazon.WAFV2;
using Amazon.WAFV2.Model;
using MountAnything;
using MountAws.Services.Wafv2.StatementNavigation;
namespace MountAws.Services.Wafv2;
public class RuleItem : AwsItem<Rule>
{
public RuleItem(ItemPath ... | 2.233288 | a5574c344e1cc4cf7657726bdcbc931d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67047 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kamit9171/csharp-language-server-protocol",
"max_stars_repo_path": "src/Protocol/Models/ReferenceRegistrationOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67048"
} | starcoder | using System.Collections.Generic;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.LanguageServer.Protocol.Server.Capabilities;
namespace OmniSharp.Extensions.LanguageServer.Protocol.Models
{
public class ReferenceRegistrationOptions : WorkDoneTextDocumentRegistrationOptions
{
public clas... | 1.758477 | 91a99f7e4296f59160a3af3a8200baaf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67048 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cartman300/FishGfx",
"max_stars_repo_path": "FishGfx/Game/InputManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67049"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FishGfx;
using System.Numerics;
using FishGfx.Graphics;
namespace FishGfx.Game {
public class InputManager {
Key[] AllKeys;
Dictionary<Key, bool> KeysPressed = new Dictionary<Key, bool>();
... | 2.761358 | 787c8d9d278d62fff0ccc3846b642198 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67049 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TheArchitect123/UWP-Wpf-Apps",
"max_stars_repo_path": "IMDBConsumer/IMDBConsumer.Utilities.Extensions/CompressionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67050"
} | starcoder | <filename>IMDBConsumer/IMDBConsumer.Utilities.Extensions/CompressionExtensions.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
namespace IMDBConsumer.Utilities.Extensions
{
public static class CompressionExtensions
{
public static byte[] Decompress(this... | 2.608124 | f649a2d0e1cbd370ba169cb2450d3468 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67050 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "bucknellu/zen",
"max_stars_repo_path": "Zen.Base/Common/PriorityAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67051"
} | starcoder | using System;
namespace Zen.Base.Common
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public sealed class PriorityAttribute : Attribute
{
public int Level { get; set; } = 0;
}
} | 2.025058 | 480ad1e782f030060adbec503c6849ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67051 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TorMartin74/serilog-sinks-date-format-path",
"max_stars_repo_path": "test/DFPSinkLogRunning/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67052"
} | starcoder | <reponame>TorMartin74/serilog-sinks-date-format-path
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Serilog;
namespace DFPSinkLogRunning
{
public class Program
{
public static void Main( string[] args )
{
Run();
Co... | 2.82532 | 7423769fffc49f829069816699eee72c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67052 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "uk-gov-mirror/defra.prsd-weee",
"max_stars_repo_path": "src/EA.Weee.Domain/Producer/RegisteredProducer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67053"
} | starcoder | namespace EA.Weee.Domain.Producer
{
using Prsd.Core;
using Prsd.Core.Domain;
using Scheme;
using System;
using System.Collections.Generic;
public class RegisteredProducer : Entity, IEquatable<RegisteredProducer>
{
public RegisteredProducer(
string producerRegistrationNu... | 2.370742 | d01db3f81a8eed485e5b339c4853f706 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sasa42/crest-oceanrender",
"max_stars_repo_path": "src/unity/Assets/Crest/Scripts/Helpers/SortedListCachedArrays.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67054"
} | starcoder | // This file is subject to the MIT License as seen in the root of this folder structure (LICENSE)
using System.Collections.Generic;
namespace Crest
{
/// <summary>
/// I reallllly wanted to use a sorted list, but was getting garbage when doing foreach loop, so this
/// really dumb wrapper caches arrays f... | 3.371023 | bfef31d6df41f62b27a1c61920eed8bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67054 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SyntSky/GoodGame",
"max_stars_repo_path": "SyntSky.GoodGame.Api.V4/Dto/Stream/StreamerDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67055"
} | starcoder | using System.Text.Json.Serialization;
namespace SyntSky.GoodGame.Api.V4.Dto.Stream;
public class StreamerDto
{
[JsonPropertyName("nickname")]
public string Nickname { get; set; } = null!;
[JsonPropertyName("avatar")]
public string? Avatar { get; set; }
} | 1.745738 | d1ca859c0d51645bf9347e460ad64fc2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67055 | {
"extension": "c-sharp",
"max_stars_count": "594.0",
"max_stars_repo_name": "MattGal/crank",
"max_stars_repo_path": "samples/micro/Md5VsSha256.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67056"
} | starcoder | <gh_stars>100-1000
// 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.Security.Cryptography;
using BenchmarkDotNet.Attributes;
namespace Mi... | 2.478512 | 96b376c15bb950f97dbd90896a9fe0a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67056 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SuavePirate/UITextFieldShaker",
"max_stars_repo_path": "Bindings/Binding/UITextField_Shake_StructsAndEnums.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67057"
} | starcoder | using System;
using ObjCRuntime;
[Native]
public enum ShakeDirection : nint
{
Horizontal,
Vertical
}
| 1.43014 | fb55356470e39d41d22898ecdc1362d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67057 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HeloiseKatharine/Crud",
"max_stars_repo_path": "CadastroCliente/Form2.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67058"
} | starcoder | namespace CadastroCliente
{
partial class Form2
{
/// <summary>
/// Variável de designer necessária.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpar os recursos que estão sendo usados.
/// </summary>
... | 2.155529 | 53c17f6de510fc3418152ded2b7e1eb2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67058 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khalidabuhakmeh/MarkdownSnippets",
"max_stars_repo_path": "src/Tests/Console/CommandRunnerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67059"
} | starcoder | <reponame>khalidabuhakmeh/MarkdownSnippets<filename>src/Tests/Console/CommandRunnerTests.cs
using System.Threading.Tasks;
using VerifyXunit;
using Xunit;
[UsesVerify]
public class CommandRunnerTests
{
string? targetDirectory;
ConfigInput? configInput;
[Fact]
public async Task Empty()
... | 1.831471 | 9a82d970543aac3b73c32876ee7c25ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67059 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AvtRikki/Avalonia",
"max_stars_repo_path": "src/Avalonia.Controls/Platform/IPopupImpl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67060"
} | starcoder | <gh_stars>1-10
// Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
namespace Avalonia.Platform
{
/// <summary>
/// Defines a platform-specific popup window implementation.
/// </summary>
pub... | 0.935943 | 05e7bb6726761384dde0e9b5ad52d9a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67060 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "davidsagang/Mvc",
"max_stars_repo_path": "test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Binders/HeaderModelBinderProviderTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67061"
} | starcoder | // 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.Collections.Generic;
using System.Collections.ObjectModel;
using Xunit;
namespace Microsoft.AspNetCore.Mvc.ModelBinding.Bin... | 2.222061 | bce15a4ada7c2acc323ba36f728440c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67061 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "burcinsahin/FluentBootstrap",
"max_stars_repo_path": "FluentBootstrap.Tests/BreadcrumbsFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67062"
} | starcoder | using NUnit.Framework;
namespace FluentBootstrap.Tests
{
[TestFixture]
public class BreadcrumbsFixture
{
[Test]
public void BreadcrumbProducesCorrectHtml()
{
TestHelper.AssertHtml<ASP._Views_Tests_Breadcrumbs_cshtml>("test-breadcrumb",
@"<ol class=""breadcrumb"">
<li... | 1.93497 | d07716112804ce97a953082dcad25c28 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67062 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lumiria/ViewService.Wpf",
"max_stars_repo_path": "src/ViewService/View/Xaml/MessageBoxService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67063"
} | starcoder | <reponame>lumiria/ViewService.Wpf
#nullable enable
using System.Windows;
namespace ViewServices.View.Xaml
{
/// <summary>
/// Represents a view service for displaying a message box.
/// </summary>
public sealed class MessageBoxService : FreezableViewService<IMessageBoxService>
{
private I... | 2.125516 | 975c8995f52f8098ed70f4356febacde |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67063 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Whalics/Cube-Dudes",
"max_stars_repo_path": "Assets/Scripts/CardSystem/AbilityCardDisplay.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67064"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class AbilityCardDisplay : MonoBehaviour
{
public Character character;
public TMP_Text nameText;
//public TMP_Text descriptionText;
public TMP_Text healthText;
public... | 2.264883 | 838af46e9e000f4db0b3bda43cc8a166 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67064 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "chaeschpi/cloudstack.net",
"max_stars_repo_path": "src/CloudStack.Net/Generated/DeleteVpnConnection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67065"
} | starcoder | <reponame>chaeschpi/cloudstack.net
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace CloudStack.Net
{
public class DeleteVpnConnectionRequest : APIRequest
{
public DeleteVpnConnectionRequest() : base("del... | 2.193466 | 396765a8076da3996b7729db0028e470 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67065 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "SkillsFundingAgency/dfc-digital",
"max_stars_repo_path": "DFC.Digital/DFC.Digital.Repository.SitefinityCMS.UnitTests/Modules/StructuredDataInjectionRepositoryTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67066"
} | starcoder | using DFC.Digital.Data.Model;
using DFC.Digital.Repository.SitefinityCMS.Modules;
using FakeItEasy;
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Telerik.Sitefinity.DynamicModules.Model;
using Xunit;
namespace DFC.Digital.Repository.Sit... | 1.881387 | 49f62b241ad462d054ba86a143a6c3d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67066 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "DrumMidiEditor/DrumMidiEditor",
"max_stars_repo_path": "DrumMidiEditor/pView/pEditer/pEdit/BpmInputForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67067"
} | starcoder | using System;
using System.Windows.Forms;
using DrumMidiEditor.pConfig;
using DrumMidiEditor.pGeneralFunction.pLog;
namespace DrumMidiEditor.pView.pEditer.pEdit
{
/// <summary>
/// BPM入力フォーム
/// </summary>
internal partial class BpmInputForm : Form
{
/// <summary>
/// BPM入力フラグ
/// </summary>
priva... | 2.514254 | 57f61c754228701f1b1b430de3a5dc11 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67067 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JTOne123/stuart-client-csharp",
"max_stars_repo_path": "stuart-client-csharp/Models/Job/Request/AccessCode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67068"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using StuartDelivery.Models.Job.Enums;
namespace StuartDelivery.Models.Job.Request
{
public class AccessCode
{
/// <summary>
/// Access code
/// </summary>
[JsonProperty(PropertyName = "code")]
[JsonRequired]
... | 2.423051 | 0ffc443ee688b34699fd1169e2033187 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67068 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guerro323/opentk",
"max_stars_repo_path": "src/OpenToolkit.Windowing.Common/Enums/ContextProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67069"
} | starcoder | <reponame>guerro323/opentk<filename>src/OpenToolkit.Windowing.Common/Enums/ContextProfile.cs
//
// ContextProfile.cs
//
// Copyright (C) 2019 OpenTK
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
//
namespace OpenToolkit.Windowing.Common
{
... | 2.009194 | 4cbfa07cbb4de39c1bdad6f9c27b4ae2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67069 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "mat1jaczyyy/Zetris",
"max_stars_repo_path": "Zetris.TETRIO/UI.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67070"
} | starcoder | using System;
using System.Diagnostics;
using System.Globalization;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Threading;
namespace Zetris.TETRIO {
partial class UI: IUI {
static bool FreezeEvents = true;
static string InactiveString, Act... | 2.138728 | d7529c1127db0c8cadaf86801bab164e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67070 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "acs3235/VTS",
"max_stars_repo_path": "src/Vts/IO/ICustomBinaryWriterOfT.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67071"
} | starcoder | <reponame>acs3235/VTS<filename>src/Vts/IO/ICustomBinaryWriterOfT.cs
using System.IO;
namespace Vts.IO
{
/// <summary>
/// General interface to write a specified type to binary
/// </summary>
/// <typeparam name="T">Type to write</typeparam>
public interface ICustomBinaryWriter<T>
{
... | 2.698179 | 972994c6d4a2b67bfa734f1d3f3b4fba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67071 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SayusiAndo/DigitalLibrary",
"max_stars_repo_path": "src/MasterData/MasterData.Validators/DimensionStructureValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67072"
} | starcoder | // <copyright file="DimensionStructureValidator.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// Licensed under MIT.
// </copyright>
namespace DigitalLibrary.MasterData.Validators
{
using System.Diagnostics.CodeAnalysis;
using DigitalLibrary.MasterData.DomainModel;
using FluentVali... | 2.256201 | 2d37dd1573454e0e67e8c3a00dc9641e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67072 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kpandya3/WakeUpWithKinect",
"max_stars_repo_path": "Accord.NET projects/Accord.Statistics/Distributions/Univariate/Continuous/EmpiricalHazardDistribution.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67073"
} | starcoder | <gh_stars>1-10
// Accord Statistics Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © <NAME>, 2009-2015
// cesarsouza at gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// Li... | 2.611993 | 2cde8c3d13a3a60ee99513d51d3bc0a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67073 | {
"extension": "c-sharp",
"max_stars_count": "11219.0",
"max_stars_repo_name": "obedurena/aspnetboilerplate",
"max_stars_repo_path": "src/Abp.Quartz/Quartz/Configuration/AbpQuartzConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67074"
} | starcoder | <gh_stars>1000+
using Quartz;
using Quartz.Impl;
namespace Abp.Quartz.Configuration
{
public class AbpQuartzConfiguration : IAbpQuartzConfiguration
{
public IScheduler Scheduler => StdSchedulerFactory.GetDefaultScheduler().Result;
}
} | 1.239388 | df8fc5446acfdf46eadf597138c8c43e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67074 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "airfoot/WebProject",
"max_stars_repo_path": "WebProject/bin/Release/Publish/Views/Shared/TaskStateDisplay.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:67075"
} | starcoder | @using WebProject.Infrastructure
@model WebProject.Infrastructure.TaskState
@if (Model == TaskState.Applying)
{
@Html.Raw("申请中")
}
else if(Model == TaskState.Approved)
{
@Html.Raw("已批准")
}
else if(Model == TaskState.Refused)
{
@Html.Raw("已拒绝")
}
else if(Model == TaskState.Canceled)
{
@Html.Raw("已取消")
... | 2.58811 | e807f94f5e9a72e687b9be903080e1c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67075 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brunoklm/actools-1",
"max_stars_repo_path": "AcManager.Tools/Miscellaneous/AppUpdater.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67076"
} | starcoder | // #define FORCE_UPDATE
// #define SKIP_ACTUAL_UPDATE
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Threading;
using System.Thread... | 1.915973 | 81e19c30b3ceea35fce80f1034792e31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67076 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Alexx999/SwfSharp",
"max_stars_repo_path": "SwfSharp/Utils/BitWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67077"
} | starcoder | <filename>SwfSharp/Utils/BitWriter.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace SwfSharp.Utils
{
class BitWriter : IDisposable
{
private const int BufferSize = 64;
private BinaryWriter _writer;
private bool _keepOpen;
private ... | 2.99042 | ad9a3d89e521b31e53ddcdb31ff008b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67077 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anupam128/reef",
"max_stars_repo_path": "lang/cs/Org.Apache.REEF.Common/Tasks/TaskConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67078"
} | starcoder | <reponame>anupam128/reef
// 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... | 1.724294 | 3a4dc87a098e2c186b4a9728e718ab8c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67078 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jinhong-/Manatee.Json",
"max_stars_repo_path": "Manatee.Json/Schema/StringFormat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67079"
} | starcoder | <reponame>jinhong-/Manatee.Json
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using Manatee.Json.Internal;
namespace Manatee.Json.Schema
{
/// <summary>
/// Defines various string formatting types used for StringSchema validation.
/// </su... | 2.088622 | 0e79c41bbabee473af2bd41785baaad7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67079 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "mwwhited/BinaryDataDecoders",
"max_stars_repo_path": "src/BinaryDataDecoders.TestUtilities/Xml/Xsl/Extensions/TrxExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67080"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml.Linq;
using System.Xml.XPath;
using BinaryDataDecoders.ToolKit;
namespace BinaryDataDecoders.TestUtilities.Xml.Xsl.Extensions
{
/// <summary>
/// wrapper around MS Test Results intended for use with XslCompiledTransfor... | 2.320372 | f6442de2d919f0ca3d18dc3180ae6d9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67080 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "erayrafet/ModernFlyouts",
"max_stars_repo_path": "ModernFlyouts/Interop/ShellMessageHookHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67081"
} | starcoder | using ModernFlyouts.Core.Interop;
using System;
using static ModernFlyouts.Core.Interop.NativeMethods;
namespace ModernFlyouts.Interop
{
public class ShellMessageHookHandler : WndProcHookHandler
{
private enum HookMessageEnum : uint
{
HOOK_MEDIA_PLAYPAUSE = 917504,
HOOK... | 2.067322 | f694bcb101180a071ee6814496c55b15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67081 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "virajs/KRuntime",
"max_stars_repo_path": "src/Microsoft.Framework.PackageManager/Restore/RestoreCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67082"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. 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.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.IO.Compression;
using System.Li... | 1.778354 | cad60deb60b168f2bb7abdde202a9223 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67082 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DnnSoftwarePersian/Dnn.Platform",
"max_stars_repo_path": "DNN Platform/Tests/DotNetNuke.Tests.Core/Common/NavigationManagerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67083"
} | starcoder | <<<<<<< HEAD
<<<<<<< HEAD
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using DotNetNuke.Abstractions;
=======
using DotNetNuke.Abstractions;
>>>>>>> Merges latest changes from 9.4.x into development... | 1.684871 | 723ebc97254ec7e76409df8396cbe915 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67083 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mouseflow/elasticsearch-net",
"max_stars_repo_path": "src/Nest/Aggregations/Bucket/DateHistogram/DateHistogramBucket.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67084"
} | starcoder | <reponame>mouseflow/elasticsearch-net
using System;
using System.Collections.Generic;
namespace Nest
{
public class DateHistogramBucket : KeyedBucket<double>
{
private static readonly long EpochTicks = new DateTimeOffset(1970, 1, 1, 0, 0, 0, 0, TimeSpan.Zero).Ticks;
public DateHistogramBucket(IReadOnlyDictiona... | 2.195144 | 4b73af7cd7bc35b0b7bc19d00a6bcc84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67084 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sakchai/ResearchProject",
"max_stars_repo_path": "Research.Web.Framework/Factories/ProfessorModelFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67085"
} | starcoder | <filename>Research.Web.Framework/Factories/ProfessorModelFactory.cs<gh_stars>1-10
using System;
using System.Linq;
using System.Runtime.Serialization;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using Microsoft.AspNetCore.Mvc.Routing;
using Research.Core;
using Research.Data;
using Research.Enum;
using Research.Ser... | 2.292241 | fb4b4e1de762fb049b9c13cc0552cf5a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67085 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Feonya/JetPaper_Edu",
"max_stars_repo_path": "Assets/Scripts/Charactors/CollisionChecker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67086"
} | starcoder | <filename>Assets/Scripts/Charactors/CollisionChecker.cs<gh_stars>0
using UnityEngine;
public class CollisionChecker : MonoBehaviour
{
private PlayerController playerController;
private void Start()
{
playerController = GetComponent<PlayerController>();
}
private void OnTriggerStay2D(Coll... | 2.285513 | be8dfcb41f01fd7cfcb9e1ce05514da7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67086 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "C0DEF52/LessonAdventureGame",
"max_stars_repo_path": "Assets/Scripts/ScriptableObjects/Interaction/Conditions/Condition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67087"
} | starcoder | using UnityEngine;
public class Condition : ScriptableObject
{
public string description;
public bool satisfied;
public int hash;
} | 1.57774 | 9d4c9f46f87033acbda88700e218a50b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67087 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "madeso/protect-my-circles",
"max_stars_repo_path": "Assets/WebCamStreamer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67088"
} | starcoder | <filename>Assets/WebCamStreamer.cs
using System.Collections.Generic;
using UnityEngine;
public class RemoteWebCamDevice
{
public string name;
public string internalName;
public WebCamDevice device;
public WebCamTexture texture;
public Color32[] imageBuffer;
public Texture2D image;
public void StartStream(int ... | 2.63951 | 183f08c54e88ac5d3866d59cf9665ed1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67088 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JavierCanon/GoogleAnalyticsTracker",
"max_stars_repo_path": "src/Others/SmartAnalytics/SmartAnalytics/Report/SmartAnalytics.Report/Controllers/HomeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67089"
} | starcoder | using System.Web;
using System.Web.Mvc;
using SmartAnalytics.Report.Extendsions;
using SmartAnalytics.Report.Filters;
using SmartAnalytics.Report.Models;
using SmartAnalytics.Services;
using SmartAnalytics.Services.Impl;
namespace SmartAnalytics.Report.Controllers
{
public class HomeController : Controller
{
... | 1.897606 | c06ba7c4531719e4e1ad41abeea0ceef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67089 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "eduard-bystrov/Dotmim.Sync",
"max_stars_repo_path": "Projects/Dotmim.Sync.Core/Builders/DbTableBuilder.Triggers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67090"
} | starcoder | <filename>Projects/Dotmim.Sync.Core/Builders/DbTableBuilder.Triggers.cs
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Text;
using System.Linq;
using System.Data;
using System.Diagnostics;
using System.Threading.Tasks;
namespace Dotmim.Sync.Builders
{
public abstract partia... | 2.751594 | bc1b6fe2558ab0025b222002efd5ea90 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67090 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ati-ozgur/Karkas",
"max_stars_repo_path": "Karkas.CodeGeneration/Karkas.CodeGeneration.Sqlite/Implementations/TableSqlite.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67091"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Karkas.CodeGenerationHelper.Interfaces;
using Karkas.Core.DataUtil;
using System.Data;
namespace Karkas.CodeGeneration.Sqlite.Implementations
{
public class TableSqlite : ITable
{
public TableSqlite(DatabaseSq... | 2.452682 | dadd42918a9c59ae91ecb0a009e2108f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67091 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "robertvanloenhout/gold-parser-engine",
"max_stars_repo_path": "GoldParserEngine/com/calitha/goldparser/lalr/GotoAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67092"
} | starcoder | using System;
using System.Collections;
namespace com.calitha.goldparser.lalr
{
/// <summary>
/// A GotoAction is an action that tells the LALR parser to go to a new state.
/// A goto action happens after a reduction.
/// </summary>
public class GotoAction : Action
{
private State state;
/// <summary>
//... | 3.039895 | 5b302e3fec02a1d08934133decc77df9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67092 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "johnri/aspnetcore",
"max_stars_repo_path": "src/Middleware/Rewrite/src/PatternSegments/QueryStringSegment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67093"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.AspNetCore.Rewrite.PatternSegments;
internal class QueryStringSegment : PatternSegment
{
public override string? Evaluate(RewriteContext context, BackReferen... | 2.137575 | 2950134ecc9123e6ff06cf6651a9c2d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67093 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "XiaoXin1900/Sudoku",
"max_stars_repo_path": "src/Sudoku.Core/Data/Grid.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67094"
} | starcoder | namespace Sudoku.Data;
/// <summary>
/// Represents a sudoku grid. The type is the substitution plan of type <see cref="SudokuGrid"/>.
/// </summary>
/// <remarks>
/// The type doesn't contain the initial sudoku grid data.
/// </remarks>
/// <seealso cref="SudokuGrid"/>
#if DEBUG
[DebuggerDisplay($@"{{{nameof(ToStrin... | 2.586658 | ca5a56de7383fd6abfca168e0607a591 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67094 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kalus/ink",
"max_stars_repo_path": "inklecate/Plugins/ChoiceListPlugin.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67095"
} | starcoder | <reponame>Kalus/ink
using System;
using System.Text;
using System.IO;
using Ink;
using Ink.Parsed;
using System.Collections.Generic;
namespace InkPlugin
{
// Finds all choices within the story, and produce a JSON file with their contents,
// including in which file they were defined.
internal class Choic... | 2.525092 | c451a9aff9273f439d06f42a13ea3611 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67095 | {
"extension": "c-sharp",
"max_stars_count": "146.0",
"max_stars_repo_name": "anton2007/osu-stream",
"max_stars_repo_path": "osu!stream/GameModes/SongSelect/SongSelect_SongInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67096"
} | starcoder | <filename>osu!stream/GameModes/SongSelect/SongSelect_SongInfo.cs
using OpenTK;
using OpenTK.Graphics;
using osum.GameplayElements.Beatmaps;
using osum.Graphics;
using osum.Graphics.Sprites;
using osum.Helpers;
namespace osum.GameModes.SongSelect
{
public partial class SongSelectMode : GameMode
{
... | 2.196889 | 8627c0caa16ad0574490094168c6f62e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67096 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "jelledruyts/IdentitySamples",
"max_stars_repo_path": "TodoListWebCore/Views/Account/SignedOut.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:67097"
} | starcoder | <reponame>jelledruyts/IdentitySamples
@{
ViewBag.Title = "Signed Out";
}
<h1>You have been signed out.</h1> | 1.487625 | 837b28f5708613df4caf1cffc30402e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67097 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nickgaudreau/ODataSamples",
"max_stars_repo_path": "WebApi/v4/DynamicEdmModelCreation/DynamicEdmModelCreation/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67098"
} | starcoder | namespace DynamicEdmModelCreation
{
public static class Constants
{
public const string CustomODataPath = "CustomODataPath";
public const string ODataDataSource = "ODataDataSource";
public const string MyDataSource = "mydatasource";
public const string AnotherDataSource = "an... | 1.596951 | cb560a6e7fe0655ef0906d1f19358d81 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67098 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NurAliia/XT-2018Q4",
"max_stars_repo_path": "Epam.Task7/Epam.Task7.BLL/CacheLogic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67099"
} | starcoder | // <copyright file="CacheLogic.cs" company="Epam">
// Copyright Epam. All rights reserved
// </copyright>
namespace Epam.Task7.BLL
{
using System.Collections.Generic;
using System.Linq;
using Epam.Task7.BLL.Interface;
using Epam.Task7.Entities;
/// <summary>
/// This class describes a... | 3.105789 | 63aae78cc0c3d9c16b8d6e1eb50784d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67099 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sonia1013/Qpay_Core",
"max_stars_repo_path": "Qpay_Core/Models/ExternalAPI/BaseRequestModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67100"
} | starcoder | <reponame>sonia1013/Qpay_Core
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Threading.Tasks;
namespace Qpay_Core.Models.ExternalAPI
{
public class BaseRequestModel
{
/// <summary>
/// API版本
/// </summary>
pub... | 1.388338 | ede85deeebbf877af67c14e758c78bf6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67100 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-recruit",
"max_stars_repo_path": "src/QA/QA.Web/Views/Shared/_ReviewHistories.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:67101"
} | starcoder | @model ReviewHistoriesViewModel
<div asp-show="@Model.HasHistories" class="govuk-grid-row">
<div class="govuk-grid-column-full">
<div class="govuk-!-margin-bottom-6"><a href="#history" id="history_link" class="govuk-body govuk-link">Show reviewers history</a></div>
<div id="history">
<... | 2.452939 | 8c4eacefaf45719317dd016c2015699a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67101 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "metaprov/modeldapi",
"max_stars_repo_path": "lang/csharp/src/Github/Com/Metaprov/Modeldapi/Services/Featurepipeline/V1/Featurepipeline.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67102"
} | starcoder | // <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: github.com/metaprov/modelaapi/services/featurepipeline/v1/featurepipeline.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc ... | 1.563359 | fd7fa8307f76efa65b0bc3f37f7fd529 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67102 | {
"extension": "c-sharp",
"max_stars_count": "88.0",
"max_stars_repo_name": "jairomh17/Samples",
"max_stars_repo_path": "2009/MvcDebugIntoSource/mvcsource/MVC/test/SystemWebMvcTest/Mvc/Test/ModelErrorTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67103"
} | starcoder | namespace System.Web.Mvc.Test {
using System;
using System.Web.Mvc;
using System.Web.TestUtil;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class ModelErrorTest {
[TestMethod]
public void ConstructorThrowsIfExceptionIsNull() {
// Act & Asse... | 2.474935 | ec0d9f4047f2f93f01fb6c631dfdbbcb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67103 | {
"extension": "c-sharp",
"max_stars_count": "142.0",
"max_stars_repo_name": "TigerHix/Cytoid",
"max_stars_repo_path": "Assets/Scripts/Online/Quest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67104"
} | starcoder | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
[Serializable]
public class OngoingQuest
{
[JsonProperty("name")] public string Name { get; set; }
[JsonProperty("rewards")] public List<Reward> Rewards { get; set; }
[JsonProperty("objectives")] public List<Objective> Objectives { get;... | 2.461212 | 8b0e0763c2fa136e4a777bddfae55476 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67104 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ilyalatt/onliner-by-flat-bot",
"max_stars_repo_path": "src/Rnd.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67105"
} | starcoder | <gh_stars>1-10
using System;
using System.Security.Cryptography;
namespace OnlinerByFlatBot
{
static class Rnd
{
const int BufferSize = sizeof(int) * 1024;
static readonly byte[] Buffer = new byte[BufferSize];
static readonly RandomNumberGenerator Rng = RandomNumberGenerator.Create();
... | 3.069806 | a8d41ed1d6e111d8630b87c8cdc9b2df |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.