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 | 6837 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "austinkeller/pwiz",
"max_stars_repo_path": "pwiz_tools/Shared/zedgraph/ZedGraph/ZoomState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6838"
} | starcoder | <reponame>austinkeller/pwiz<filename>pwiz_tools/Shared/zedgraph/ZedGraph/ZoomState.cs
//============================================================================
//ZedGraph Class Library - A Flexible Line Graph/Bar Graph Library in C#
//Copyright © 2004 <NAME>
//
//This library is free software; you can redistribu... | 2.58207 | a8f522a4bb2e7eef83bb2912a31d6241 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6838 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ptanlam/eShop",
"max_stars_repo_path": "services/notification-service/src/NotificationService.API/Models/GetNotificationsForUserDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6839"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
namespace NotificationService.API.Models
{
public record GetNotificationsForUserDto
{
[EmailAddress]
public string Email { get; init; }
[Range(1, int.MaxValue)]
public int Limit { get; init; }
[Range(0, int.Ma... | 1.976109 | dfcd65080596edcf96590c0c93c2abd8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6839 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "Pathoschild/Mods.Entoarox",
"max_stars_repo_path": "DynamicDungeons/Tiles/Tile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6840"
} | starcoder | using System;
using xTile;
namespace Entoarox.DynamicDungeons.Tiles
{
internal abstract class Tile
{
/*********
** Fields
*********/
protected string Layer;
protected int X;
protected int Y;
/*********
** Public methods
*********/
... | 2.706336 | 9725f37a71b2bc513f766c65b90994bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6840 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DrJohnMelville/Pdf",
"max_stars_repo_path": "Src/Melville.Pdf.LowLevel/Filters/Predictors/TiffPredictor2Encoder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6841"
} | starcoder | using System;
using System.Buffers;
using System.Diagnostics;
using Melville.Pdf.LowLevel.Filters.LzwFilter;
using Melville.Pdf.LowLevel.Filters.StreamFilters;
using Melville.Pdf.LowLevel.Model.Primitives.VariableBitEncoding;
namespace Melville.Pdf.LowLevel.Filters.Predictors;
public static class ScanLineLengthCompu... | 2.727406 | 88d9c70fcbcdf7ba01ba3546bd969e42 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6841 | {
"extension": "c-sharp",
"max_stars_count": "151.0",
"max_stars_repo_name": "AmSmart/InfinityCrawler",
"max_stars_repo_path": "tests/InfinityCrawler.Tests.TestSite/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6842"
} | starcoder | using System;
using System.IO;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileProviders;
namespace InfinityCrawler.Tests.TestSite
{
public class Startup
{
private SiteContext Context { get; }
public Startup(SiteContext context)
{
Context ... | 2.050668 | 6fda24db5904c9381a22c25257e739d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6842 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JardoHornak/Kros.Libs",
"max_stars_repo_path": "Kros.KORM/src/Kros.KORM/Query/Expressions/GroupByExpression.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6843"
} | starcoder | using Kros.KORM.Query.Sql;
using Kros.Utils;
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Text.RegularExpressions;
namespace Kros.KORM.Query.Expressions
{
/// <summary>
/// Expression, which represent GROUP BY statement from sql select query.
/// </summary>
/// <seealso... | 2.768946 | 8b10d777813aa681f9f445844913c73b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6843 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jose-hr14/test1",
"max_stars_repo_path": "Vectores/Vectores/Misc.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6844"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace Vectores
{
class Misc
{
public static int GetMinValue(int a, int b)
{
if (a < b)
{
return a;
}
else
{
return b;
... | 2.981325 | e3ac87d636dff1913bd3da413705144a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6844 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Foxpips/ExamQuestions",
"max_stars_repo_path": "ExamQuestions/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6845"
} | starcoder | using System;
using ExamQuestions.Tests.Events;
namespace ExamQuestions
{
public class Program
{
// public int this[int index] { get{} set }
public static void Main2(string[] args)
{
RunEventCode();
}
private static void RunEventCode()
... | 2.718942 | 28628dc48dbb136244aea20f1a75a53f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6845 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EibrielInv/explorer",
"max_stars_repo_path": "unity-client/Assets/Scripts/MainScripts/DCL/Components/TextShape/Tests/TextShapeTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6846"
} | starcoder | <gh_stars>0
using DCL.Components;
using DCL.Helpers;
using DCL.Models;
using NUnit.Framework;
using System.Collections;
using TMPro;
using UnityEngine;
using UnityEngine.TestTools;
namespace Tests
{
public class TextShapeTests : TestsBase
{
[UnitySetUp]
protected override IEnumerator SetUp()
... | 2.171612 | a3b01684b5866cf5e6175dc8bb72b36f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6846 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "GuOrg/Gu.Analyzers",
"max_stars_repo_path": "Gu.Analyzers.Test/GU0100WrongDocsTests/Valid.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6847"
} | starcoder | namespace Gu.Analyzers.Test.GU0100WrongDocsTests
{
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis.Diagnostics;
using NUnit.Framework;
public static class Valid
{
private static readonly DiagnosticAnalyzer Analyzer = new DocsAnalyzer();
[TestCase("StringBuilder")]
[Te... | 2.160876 | 2b66de7af3aba8e743e56b96240b52e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6847 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zfy1045056938/THDN_Script",
"max_stars_repo_path": "THDN/Basic/Scripts/Generic/Triggers/vSimpleTrigger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6848"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace Invector
{
[RequireComponent(typeof(BoxCollider))]
[vClassHeader("SimpleTrigger", openClose = false, useHelpBox = true, helpBoxText = "Tags and Layer To Detect : Use this to filter tags a... | 2.260316 | be4d41a25f9c16563c88bfb89ff40fba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6848 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kaiyumcg/Vortex",
"max_stars_repo_path": "Vortex/Code/Runtime/Tasks/MixAndPlayAnimations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6849"
} | starcoder | using UnityEngine;
namespace Vortex
{
[System.Serializable]
public class MixAndPlayAnimations : IAnimationTask
{
[SerializeField] MixableAnimationClip[] clips;
[SerializeField] bool mixWithCurrent;
[Header("After how long the animation will have full weight?")]
[SerializeFie... | 2.345264 | 7c073f52d2e78c3c4c7d97395f4e4a00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6849 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "arlm/LanguagesSharp",
"max_stars_repo_path": "BabelFish/Interpreter/InterpreterException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6850"
} | starcoder | <reponame>arlm/LanguagesSharp
using System;
namespace BabelFish.Interpreter
{
public class InterpreterException : Exception
{
public InterpreterException(string message) : base(message)
{
}
}
}
| 1.511025 | 30fc25f2bbc9e2795e0f0941daad6bd5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6850 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Scalfi/NLW_csharp_backend",
"max_stars_repo_path": "Migrations/20200609224818_InitialCreate.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6851"
} | starcoder | // <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using NLW.Models.Database;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace NLW.Mig... | 1.940985 | 4b38a429adf5426692c3709b7c6a2955 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6851 | {
"extension": "c-sharp",
"max_stars_count": "1268.0",
"max_stars_repo_name": "EricNgo1972/itextsharp",
"max_stars_repo_path": "src/core/iTextSharp/text/pdf/PdfDestination.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6852"
} | starcoder | <gh_stars>1000+
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2020 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Soft... | 2.090419 | 6dde7bc30065debfc89aea41083726cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6852 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rex-core/IvoryProxy",
"max_stars_repo_path": "src/IvorySharp/Core/AbstractInvocation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6853"
} | starcoder | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using IvorySharp.Caching;
using IvorySharp.Extensions;
using JetBrains.Annotations;
namespace IvorySharp.Core
{
/// <summary>
/// Abstract method invocation that not tied to method invocation kind.
/// </summary>
internal ab... | 2.63445 | 5198abb1ec4f3da74b713e110bd4f49d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6853 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SoftUni-marks/Programming-Basics-Jan-2016",
"max_stars_repo_path": "Part-II-C#-Basics/03. Lists and Matrices/Tasks/08.Rotate-a-Matrix/Rotate-a-Matrix.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6854"
} | starcoder | using System;
/*
* Rotate a Matrix
*
* Write a program to read a matrix of words (space separated) and
* rotate it on the right
*/
public class RotateMatrix
{
private static void Main(string[] args)
{
int rows = int.Parse(Console.ReadLine());
int cols = int.Parse(Console.ReadLine());
... | 4.104478 | 17752ab9dc231f1b597f0b7331fa7d3d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6854 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "codacy-badger/greatreadingadventure",
"max_stars_repo_path": "src/GRA.Domain.Model/JobDetailsHouseholdImport.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6855"
} | starcoder | namespace GRA.Domain.Model
{
public class JobDetailsHouseholdImport
{
public string Filename { get; set; }
public int HeadOfHouseholdId { get; set; }
public int ProgmamId { get; set; }
public int? SchoolId { get; set; }
public bool IsHomeSchooled { get; set; }
pu... | 1.442136 | ab09ea27e300c75b6406280253b48a0d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6855 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AdmiralFrijoles/discord-atlassian-webhook",
"max_stars_repo_path": "DiscordAtlassianWebhook/Bitbucket/Models/Repository/CommitSummary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6856"
} | starcoder | <gh_stars>1-10
using Newtonsoft.Json;
namespace DiscordAtlassianWebhook.Bitbucket.Models.Repository
{
public class CommitSummary
{
[JsonProperty("raw")]
public string Raw { get; set; }
[JsonProperty("markup")]
public string Markup { get; set; }
[JsonProperty("html")]
... | 1.564996 | fff8bf713902ca48817090927f933a72 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6856 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hkedwards/MSExample",
"max_stars_repo_path": "AppStudio.DataProviders/OAuth/OAuthTokens.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6857"
} | starcoder | using System.Collections.Generic;
namespace AppStudio.DataProviders.OAuth
{
public class OAuthTokens : Dictionary<string, string>
{
}
}
| 1.123977 | bd784e3a4182c44cecf5ee131a36dfb3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6857 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "apircher/netrix",
"max_stars_repo_path": "NetrixPackage/NetRixMain/NetRix/WebEditing/Elements/Tables/ColElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6858"
} | starcoder | <reponame>apircher/netrix<gh_stars>10-100
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Design;
using System.Web.UI.WebControls;
using GuruComponents.Netrix.ComInterop;
using GuruComponents.Netrix.UserInterface.TypeConverters;
using GuruComponents.Netrix.UserInterface.TypeEditors;
using Displa... | 2.655823 | c2669913ff399654d8d9e1dfffda6fab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6858 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fruffin/Thinktecture.IdentityServer.v3.EntityFramework",
"max_stars_repo_path": "Source/Core.EntityFramework/Entities/Token.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6859"
} | starcoder | <filename>Source/Core.EntityFramework/Entities/Token.cs
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Thinktecture.IdentityServer.Core.EntityFramework.Entities
{
public class Token
{
[Key]
public string Key { get; set; ... | 2.469771 | 9402f7d6adaf1239947ff0122e9634ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6859 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "hdneo/mxo-hd",
"max_stars_repo_path": "hds/world/WorldConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6860"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections;
using System.Collections.Generic;
using System.Xml;
namespace hds
{
public class WorldConfig
{
private string filename;
public string serverName;
public string weather = "bluesky2";
public bool IsPvpServer = false... | 2.534826 | a516db8130ac53d16560a3d453f380cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6860 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cuilishen/WallpaperTool",
"max_stars_repo_path": "WallpaperTool/WallpaperTool/Server/Models/WallpaperType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6861"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WallpaperTool.Server.Models
{
public enum WallpaperType
{
Exe,
Video,
HTML
}
}
| 1.463898 | 668b58c9a1eeab566cb2819c3e5fbbab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6861 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/dfc-providerportal-tribalexporter",
"max_stars_repo_path": "src/Dfc.CourseDirectory.Services/Interfaces/CourseTextService/ICourseTextSearchCriteria.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6862"
} | starcoder | <reponame>SkillsFundingAgency/dfc-providerportal-tribalexporter
using System;
using System.Collections.Generic;
using System.Text;
namespace Dfc.CourseDirectory.Services.Interfaces.CourseTextService
{
public interface ICourseTextSearchCriteria
{
string LARSRef { get; set; }
}
}
| 1.140796 | 6e59be5831724d493e3550428b12efb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6862 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "Therzok/dotnet-trees",
"max_stars_repo_path": "TunnelVisionLabs.Collections.Trees.Test/List/TreeListCount.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6863"
} | starcoder | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace TunnelVisionLabs.Collections.Trees.Test.List
{
using System.Collections.Generic;
using Xunit;
/// <summary>
/// Tests for <see c... | 2.746353 | 5026189723b8eb0489264bba74d0a248 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6863 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "SaxxonPike/RhythmCodex",
"max_stars_repo_path": "Source/RhythmCodex.Lib/Digital573/Providers/IDigital573AudioKeyProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6864"
} | starcoder | <filename>Source/RhythmCodex.Lib/Digital573/Providers/IDigital573AudioKeyProvider.cs
namespace RhythmCodex.Digital573.Providers
{
public interface IDigital573AudioKeyProvider
{
int[] Get(byte[] source);
}
} | 1.696533 | d3d6ef094ce195fc99e097ed45aa52c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6864 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fredjk-gh/ObservatoryFramework",
"max_stars_repo_path": "ObservatoryFramework/Attributes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6865"
} | starcoder | using System;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Observatory.Framework
{
public class SettingDisplayName : Attribute
{
private string name;
public SettingDisplayName(string name)
{
this.name = n... | 2.59988 | 0f14095fc81a84ecc2f083aeb3703299 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6865 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gokhangirgin/InstaNET",
"max_stars_repo_path": "InstaNET/Model/GeoLoc.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6866"
} | starcoder | namespace InstaNET.Model
{
public class GeoLoc
{
public float latitude { get; set; }
public float longitude { get; set; }
}
}
| 1.8146 | d74bbae8f45415991c43024bc88039da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6866 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yerongn/HandyControl",
"max_stars_repo_path": "src/Shared/HandyControlDemo_Shared/UserControl/Controls/WindowDemoCtl.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6867"
} | starcoder | using System.Windows;
using HandyControl.Controls;
using HandyControl.Data;
using HandyControl.Tools;
using MessageBox = HandyControl.Controls.MessageBox;
namespace HandyControlDemo.UserControl
{
public partial class WindowDemoCtl
{
public WindowDemoCtl()
{
InitializeCo... | 1.971584 | de9ecb9e0a7b45a887eb3c674f8e1ec7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6867 | {
"extension": "c-sharp",
"max_stars_count": "1612.0",
"max_stars_repo_name": "SimonRupar/DbUp",
"max_stars_repo_path": "src/dbup-tests/TestInfrastructure/RecordingDataParameterCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6868"
} | starcoder | <reponame>SimonRupar/DbUp
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using DbUp.Engine.Output;
namespace DbUp.Tests.TestInfrastructure
{
class RecordingDataParameterCollection : IDataParameterCollection
{
readonly IUpgradeLog logger;
readonly Li... | 2.248116 | 43afeb03b6bb43156d91003f5b970061 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6868 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yyg1987/XamCnblogs-master",
"max_stars_repo_path": "XamCnblogs/XamCnblogs.UI/Controls/XamNavigationPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6869"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Xamarin.Forms;
using XamCnblogs.Portable.Interfaces;
namespace XamCnblogs.UI.Controls
{
public class XamNavigationPage : NavigationPage
{
// 首次按下返回键时间戳
private DateTime firstBackPressedTime = DateTime.MinValue;
pu... | 2.320594 | fb923f6a5b966ad724aa604086bbfb73 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6869 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "nuyagi/A_2011",
"max_stars_repo_path": "Packages/com.haphazard/Runtime/InterpreterOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6870"
} | starcoder | <filename>Packages/com.haphazard/Runtime/InterpreterOptions.cs
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
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.or... | 1.652606 | e5a99fe5141ce7be9cd159a7fb81f2ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6870 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "hstarorg/Lara",
"max_stars_repo_path": "src/Lara.Pay/Tenpay/Params/CloseOrderParams.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6871"
} | starcoder | <gh_stars>1-10
namespace Lara.Pay.Tenpay.Params
{
public class CloseOrderParams : BaseParams
{
}
} | 0.634868 | 06a66efb1c130f74ce8384c383584957 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6871 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "dotmos/uGameFramework",
"max_stars_repo_path": "Unity/Assets/GameFramework/Services/SerializerService/FlatbufferUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6872"
} | starcoder | <gh_stars>10-100
using System.Collections.Generic;
using System;
using FlatBuffers;
using System.Linq;
using System.Collections;
using System.Text;
using System.Threading;
using UnityEngine;
namespace Service.Serializer
{
public struct ExtendedTable
{
public static readonly ExtendedTable NULL = new E... | 2.277605 | 0dbd12963212cf7dae327d69c0dbce33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6872 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kirby561/CryptoRetriever",
"max_stars_repo_path": "CryptoRetriever/Data/DatasetTester.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6873"
} | starcoder | <reponame>kirby561/CryptoRetriever
using System;
using System.Collections.Generic;
using System.Windows;
namespace CryptoRetriever.Data {
/// <summary>
/// Tests classes in the Dataset package.
/// </summary>
class DatasetTester {
public static bool TestDatasetInsertAndAdd() {
List... | 3.006718 | 3410ae7738201ba62d96ae982e3c2fea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6873 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "astyanax/Project-Xenocide",
"max_stars_repo_path": "xna/branches/componentbranch/Xenocide/Source/UI/Dialogs/OptionsDialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6874"
} | starcoder | #region Copyright
/*
--------------------------------------------------------------------------------
This source file is part of Xenocide
by Project Xenocide Team
For the latest info on Xenocide, see http://www.projectxenocide.com/
This work is licensed under the Creative Commons
Attribution-NonCommercia... | 2.11104 | c86b75a1aeb670c81f3b01b7fe8fc919 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6874 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "takemurakimio/missing-part-1",
"max_stars_repo_path": "Assets/Plugins/EZ/GUI/Controls/UITextField.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6875"
} | starcoder | <reponame>takemurakimio/missing-part-1
//-----------------------------------------------------------------
// Copyright 2010 <NAME> and Above and Beyond Software
// All rights reserved
//-----------------------------------------------------------------
using UnityEngine;
using System.Collections;
/// <remarks>
///... | 2.376744 | 2d0f4912af594b9d8b6010c99cdd8275 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6875 | {
"extension": "c-sharp",
"max_stars_count": "115.0",
"max_stars_repo_name": "PreferLinux/FluffySpoon.AspNet.EncryptWeMust",
"max_stars_repo_path": "src/FluffySpoon.AspNet.EncryptWeMust.Redis/RegistrationExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6876"
} | starcoder | using System;
using FluffySpoon.AspNet.EncryptWeMust.DistributedCache;
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
// ReSharper disable once CheckNamespace
namespace FluffySpoon.AspNet.EncryptWeMust
{
public static class Registra... | 2.114557 | e4c5094dea64075164678a3a6a0ab049 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6876 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "larsolm/Archives",
"max_stars_repo_path": "Monster RPG Game Kit/MonsterRPGGameKit/Assets/Monster RPG/Scripts/Engine/World/Tiles/RuleOverrideTile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6877"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
namespace PiRhoSoft.MonsterRpgEngine
{
[HelpURL(MonsterRpg.DocumentationUrl + "rule-override-tile")]
[CreateAssetMenu(fileName = nameof(RuleOverrideTile), menuName = "PiRho Soft/Tiles/Rule Override Tile", order = 109)]
p... | 2.21679 | 0449787384d42a7cceea4cf1de99b484 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6877 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "m-esm/HCMS",
"max_stars_repo_path": "src/HCMS.Web/Areas/Manage/Views/Cultures/index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6878"
} | starcoder | <filename>src/HCMS.Web/Areas/Manage/Views/Cultures/index.cshtml
@model IEnumerable<HCMS.Dynamics.Localization.Entities.Culture>
@{
var phrases = (HCMS.Dynamics.Localization.Phrases)ViewBag.Phrases;
var cc = phrases.CurrentCulture.CultureName();
ViewBag.title = phrases.Get("Localization Cultures");
}
<d... | 2.509009 | 72cdfeec2b27a1e62cce4c19d2b57c54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6878 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JasonBock/PartiallyApplied",
"max_stars_repo_path": "src/PartiallyApplied.IntegrationTests/StandardMethodTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6879"
} | starcoder | <reponame>JasonBock/PartiallyApplied
using NUnit.Framework;
namespace PartiallyApplied.IntegrationTests
{
public static class Maths
{
public static int Add(int a, int b) => a + b;
public static int Multiply(int a, int b) => a * b;
public static int Sum(int a, int b, int c, int d) => a + b + c + d;
public st... | 3.161424 | 40ff9293ec6a912f395bc6cf0e318c7e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6879 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "141-Gelecek-Varlik-FullStack-Bootcamp/net-5-api-httpverbs-kullanimi-emirxmertoglu",
"max_stars_repo_path": "BasicUser.API/BasicUser.API/Controllers/UserController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6880"
} | starcoder | using BasicUser.Model;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BasicUser.API.Controllers
{
[Route("api/v1/[controller]s")]
[ApiController]
public class UserController : Contr... | 2.549345 | 2abd2fd8e6780dcc403a4395ed156ad3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6880 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Enegia/InfluxDB.Client",
"max_stars_repo_path": "src/Vibrant.InfluxDB.Client/Parsers/LineProtocolEscape.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6881"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Vibrant.InfluxDB.Client.Metadata;
namespace Vibrant.InfluxDB.Client.Parsers
{
internal static class LineP... | 2.504075 | 28a5410db71d52e2d93679185c9dff27 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6881 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JayLenahan/LD35",
"max_stars_repo_path": "Assets/Controllers/BossAttackScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6882"
} | starcoder | using UnityEngine;
using System.Collections;
public class BossAttackScript : MonoBehaviour {
private Vector3 goalPosition;
private Vector3 velocity;
// Use this for initialization
void Start () {
goalPosition = transform.localPosition + new Vector3(0f, 0f, -25f);
Move();
}
// U... | 2.245382 | ab79a1a5da4a286278c4fe1fd020bd75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "salimdeveloper/MVCExtentions",
"max_stars_repo_path": "MVCExtentions/MVCExtentions/App_Start/FilterConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6883"
} | starcoder | using MVCExtentions.Infrastructure.Extentions;
using System.Web.Mvc;
namespace MVCExtentions.App_Start
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new ExceptionLoggingFilter());
}
}
} | 1.29495 | aa9ff9eb5526c95c53bdfb109102152f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6883 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "meilar/Bakery.Solution",
"max_stars_repo_path": "Bakery/Models/Order.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6884"
} | starcoder | using System.Collections.Generic;
namespace Bakery.Models
{
public class Order
{
public int Amount { get; set; }
public string Description { get; set; }
public int Id { get; }
public string Due { get; set; }
public string Notes { get; set; }
private static List<Order> _instances = new List<... | 3.100992 | 4ec58991151c9922941b3a3632f8d2d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6884 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jmservera/advent-of-code-2021",
"max_stars_repo_path": "day04/GiantSquid/Game.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6885"
} | starcoder | <reponame>jmservera/advent-of-code-2021<gh_stars>0
using System;
using System.Collections.Generic;
public class Game {
public static int Play(Bingo bingo){
for(int i=0;i<bingo.Numbers.Length;i++){
markNumbers(bingo, bingo.Numbers[i]);
if(i>5){
var winner=getWinners(b... | 2.923063 | 13832bdbd8b13c4fc2c39b40d25c61b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/AspNetWebStack",
"max_stars_repo_path": "src/System.Web.Http.SelfHost/Properties/SRResources.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6886"
} | starcoder | <reponame>belav/AspNetWebStack<filename>src/System.Web.Http.SelfHost/Properties/SRResources.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.239
//
// Changes to this file may ... | 1.758536 | 640055bb33b08bcbbf6fea6858bb503a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6886 | {
"extension": "c-sharp",
"max_stars_count": "601.0",
"max_stars_repo_name": "SeanKilleen/Docs",
"max_stars_repo_path": "aspnetcore/security/key-vault-configuration/samples/key-name-prefix-sample/1.x/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6887"
} | starcoder | using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Logging;
namespace KeyVaultConfigProviderSample
{
public static class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.ConfigureLoggi... | 1.92332 | 947d28a3cd07a3f1af34e66b92cb567c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6887 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "gulyasmarton/PetriPrinter",
"max_stars_repo_path": "gCodeAPI/PetriTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6888"
} | starcoder | <reponame>gulyasmarton/PetriPrinter
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Threading.Tasks;
namespace GCodeAPI
{
/// <summary>
/// This class represents a object which is prepared... | 2.87471 | 4c0ccc5512e3e3d03216f6f9e7565e1e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6888 | {
"extension": "c-sharp",
"max_stars_count": "5343.0",
"max_stars_repo_name": "jongalloway/AspNetCore.Docs",
"max_stars_repo_path": "aspnetcore/security/authentication/accconfirm/sample/WebPWrecover60/Services/AuthMessageSenderOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6889"
} | starcoder | namespace WebPWrecover.Services;
public class AuthMessageSenderOptions
{
public string? SendGridKey { get; set; }
}
| 0.938567 | fc729e925c321a3bbdd34580cb8a8ea8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6889 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RyanHauert/fubumvc",
"max_stars_repo_path": "src/FubuMVC.RavenDb/ContainerExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6890"
} | starcoder | <gh_stars>1-10
using FubuCore.Binding;
using StructureMap;
namespace FubuMVC.RavenDb
{
public static class ContainerExtensions
{
public static void Apply(this IContainer container, ServiceArguments arguments)
{
arguments.EachService(container.Inject);
}
}
} | 1.420058 | cddd9517235ed04230ea47f56c8bc97a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wardweistra/SE-Workshopdag-20201008",
"max_stars_repo_path": "src/AspnetRun.Core/Entities/Product.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6891"
} | starcoder | using AspnetRun.Core.Entities.Base;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace AspnetRun.Core.Entities
{
public class Product : Entity
{
[Required, StringLength(80)]
public string Name { get; set; }
public string Slug { get; set; }
... | 2.394696 | 04f4630aa0a33631624e2e44c1218a72 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6891 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "InfDev/GitServer",
"max_stars_repo_path": "GitServer.ApplicationCore/Models/AuthorizationLog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6892"
} | starcoder | <filename>GitServer.ApplicationCore/Models/AuthorizationLog.cs<gh_stars>100-1000
using System;
using System.Collections.Generic;
namespace GitServer.ApplicationCore.Models
{
public class AuthorizationLog
{
public Guid ID { get; set; }
public long UserID { get; set; }
public DateTime Iss... | 1.983914 | 1154c86e460d8624baaecdb4b9264dd3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6892 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "solo12zw74/keyhub",
"max_stars_repo_path": "src/KeyHub.Data/Boot/MembershipBoot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6893"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Web.Security;
using KeyHub.Core.Errors;
using KeyHub.Core.Kernel;
using KeyHub.Model;
using WebMatrix.WebData;
namespace KeyHub.Data.Boot
{
/// <summary>
/// Holds the boot pro... | 2.077208 | 5dbe99c6ad00b84794f471db62e2c5a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6893 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dangercato/FrostyToolsuite",
"max_stars_repo_path": "FrostySdk/Resources/Texture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6894"
} | starcoder | using FrostySdk.IO;
using FrostySdk.Managers;
using System;
using System.IO;
namespace FrostySdk.Resources
{
public enum TextureType
{
TT_2d = 0x0,
TT_Cube = 0x1,
TT_3d = 0x2,
TT_2dArray = 0x3,
TT_1dArray = 0x4,
TT_1d = 0x5,
TT_CubeArray = 0x6,
};
... | 2.142073 | 841ac4be96a3f5b51ab2956b3bd58ddf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6894 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "reyasmohammed/WinTenBot.NET",
"max_stars_repo_path": "src/WinTenBot/WinTenBot/IO/Storage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6895"
} | starcoder | <reponame>reyasmohammed/WinTenBot.NET<filename>src/WinTenBot/WinTenBot/IO/Storage.cs
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Serilog;
using Telegram.Bot.Types.InputFiles;
using WinTenBot.Model;
namespace WinTenBot.IO
{
public static class Storage
{
public ... | 2.631925 | 9dc315d63195625e551b768b66184204 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6895 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sharparam/SteamLib",
"max_stars_repo_path": "Sharparam.SteamLib/LocalUser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6896"
} | starcoder | <filename>Sharparam.SteamLib/LocalUser.cs<gh_stars>1-10
/* LocalUser.cs
*
* Copyright © 2013 by <NAME>.
*
* 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, includin... | 2.448628 | fcb8bebde398564741beaab7f69cfbd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6896 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "elmahio/Elmah.Io.Cli",
"max_stars_repo_path": "src/Elmah.Io.Cli/CommandBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6897"
} | starcoder | using Elmah.Io.Client;
using System;
using System.Net.Http.Headers;
using System.Text;
namespace Elmah.Io.Cli
{
abstract class CommandBase
{
internal static string _assemblyVersion = typeof(CommandBase).Assembly.GetName().Version.ToString();
protected static IElmahioAPI Api(string apiKey)
... | 2.146803 | b108a411a09af6e94f6a851be1349198 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6897 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hugs/selenium",
"max_stars_repo_path": "selenium/src/csharp/WebdriverBackedSelenium/Internal/SeleniumEmulation/RemoveAllSelections.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6898"
} | starcoder | <reponame>hugs/selenium
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using OpenQA.Selenium;
namespace Selenium.Internal.SeleniumEmulation
{
internal class RemoveAllSelections : SeleneseCommand
{
private ElementFinder finder;
... | 2.270336 | 32a4fb00966175c80de767aa44da88d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6898 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "Pilchie/efcore",
"max_stars_repo_path": "test/EFCore.Relational.Tests/TestUtilities/FakeProvider/FakeSqlGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6899"
} | starcoder | <filename>test/EFCore.Relational.Tests/TestUtilities/FakeProvider/FakeSqlGenerator.cs
// 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.Text;
using Microsoft.EntityFrameworkC... | 1.99666 | 73ffdec50c6f115972b92ea8e5a0caff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6899 | {
"extension": "c-sharp",
"max_stars_count": "319.0",
"max_stars_repo_name": "danielcaceresm/SharpGenTools",
"max_stars_repo_path": "SharpGen/Generator/Marshallers/BoolToIntArrayMarshaller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6900"
} | starcoder | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using SharpGen.Model;
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
namespace SharpGen.Generator.Marshallers
{
internal sealed class BoolToIntArrayMarshaller : ArrayMarshallerBase
{
... | 1.990208 | 7e15ed5c60e80a77a0c8e6a4f77abf82 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6900 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mantis1262/TP",
"max_stars_repo_path": "AdaptiveProgramming/ReflectionUnitTest/ReflectorUnitTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6901"
} | starcoder | <reponame>mantis1262/TP
//____________________________________________________________________________
//
// Copyright (C) 2018, <NAME>.
//
// To be in touch join the community at GITTER: https://gitter.im/mpostol/TP
//____________________________________________________________________________
using Microsoft.Visu... | 2.150328 | a85ca42109f2701003c32dfa16f1a7d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6901 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saimonfer90/BulkSqlLoader",
"max_stars_repo_path": "BulkSqlLoader.Core/TypeAnalyzer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6902"
} | starcoder | using System.Collections.Generic;
using System.Reflection;
namespace Loaders.Utilities
{
internal class TypeAnalyzer<T>
{
internal readonly Dictionary<string, PropertyInfo> PropertiesIndex;
internal TypeAnalyzer()
{
PropertiesIndex = new Dictionary<string, PropertyInfo>();... | 2.596461 | 8941b19e9a124ff68c7178b75d787085 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6902 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "smdx24/CPI-Source-Code",
"max_stars_repo_path": "ClubPenguin.Input/InputResult-TResult-.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6903"
} | starcoder | <filename>ClubPenguin.Input/InputResult-TResult-.cs
// InputResult<TResult>
public abstract class InputResult<TResult>
{
public abstract void CopyTo(TResult copyToInputResult);
public abstract void Reset();
}
| 1.997477 | a6c25ae45bf4a06560f310da27ff9dec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6903 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "riccardod/fubumvc",
"max_stars_repo_path": "src/FubuCore/Binding/ExpandEnvironmentVariablesFamily.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6904"
} | starcoder | <filename>src/FubuCore/Binding/ExpandEnvironmentVariablesFamily.cs
using System;
using System.Reflection;
using FubuCore;
using FubuCore.Reflection;
namespace FubuCore.Binding
{
public class ExpandEnvironmentVariablesFamily : IConverterFamily
{
public bool Matches(PropertyInfo property)
... | 2.630969 | 71febc958cac4f7fcbdf680195399a58 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6904 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "PacktPublishing/Implementing-Azure-Putting-Modern-DevOps-to-Use",
"max_stars_repo_path": "Chapter16/HelloWorldActorsApplication/HelloWorldActor.Client/ReminderHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6905"
} | starcoder | <reponame>PacktPublishing/Implementing-Azure-Putting-Modern-DevOps-to-Use
namespace HelloWorldActor.Client
{
using System;
using HelloWorldActor.Interfaces;
public class ReminderHandler : IReminderActivatedEvent
{
public void ReminderActivated(string message)
{
Console.For... | 2.360635 | 38ac2c55e2989d2817865ea43c3c7428 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6905 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "colinjacobsorckestra/BetterRetail",
"max_stars_repo_path": "tests/Orckestra.Composer.Cart.Tests/Services/Order/OrderHistoryViewService_GetOrderDetailViewModelAsync.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6906"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Globalization;
using FizzWare.NBuilder.Generators;
using FluentAssertions;
using Moq;
using Moq.AutoMock;
using NUnit.Framework;
using Orckestra.Composer.Cart.Factory.Order;
using Orckestra.Composer.Cart.Parameters.Order;
using Orckestra.Compo... | 1.661451 | 7f91318e5d1a16906762cecc3573fd77 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6906 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Eilon/dotnet-maui-check",
"max_stars_repo_path": "MauiCheck/Checkups/DotNetSdkCheckupContributor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6907"
} | starcoder | using DotNetCheck.Manifest;
using DotNetCheck.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DotNetCheck.Checkups
{
public class DotNetSdkCheckupContributor : CheckupContributor
{
public override IEnumerable<Checkup> Contribute(Manifest.Manifest manifest, S... | 2.175618 | ab1073de32c350d7c5e97f606a8e6d52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6907 | {
"extension": "c-sharp",
"max_stars_count": "402.0",
"max_stars_repo_name": "passeride/netcoredbg",
"max_stars_repo_path": "test-suite/MITestSizeof/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6908"
} | starcoder | <gh_stars>100-1000
using System;
using System.IO;
using NetcoreDbgTest;
using NetcoreDbgTest.MI;
using NetcoreDbgTest.Script;
namespace NetcoreDbgTest.Script
{
class Context
{
public void Prepare(string caller_trace)
{
Assert.Equal(MIResultClass.Done,
... | 1.974936 | b257f56e09b336d17a525b9fe3447443 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6908 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "stephenfuqua/Ed-Fi-ODS-AdminApp",
"max_stars_repo_path": "Application/EdFi.Ods.AdminApp.Management/Identity/RegisterCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6909"
} | starcoder | // SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using System.Threading.Tasks;
using EdFi.Ods.Admin... | 1.963848 | 6dfbb81a08c7aa40fbde5124d3e6f8ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6909 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jackypham94/PetCareCenter",
"max_stars_repo_path": "PhotoSharingApp/PhotoSharingApp.Universal/ViewModels/MainPageViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6910"
} | starcoder | //-----------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// The MIT License (MIT)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files... | 2.035429 | 1f6466f93b3094d0f142504b63d84ef9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6910 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pashcovich/More",
"max_stars_repo_path": "src/Windows/Windows.Store/Windows.Interactivity/PrintContractBehavior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6911"
} | starcoder | <reponame>pashcovich/More
namespace More.Windows.Interactivity
{
using Input;
using Printing;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.Contracts;
using System.Windows.Input;
using System.Windows.Interactivity;
us... | 2.319783 | 5ba367f8ed88d2dbce05cf97dd28966f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6911 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "WMaxZimmerman/NTrospection",
"max_stars_repo_path": "src/NTrospection.CLI/Services/MethodService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6912"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using NTrospection.CLI.Attributes;
using NTrospection.CLI.Models;
namespace NTrospection.CLI.Services
{
public interface IMethodService
{
string GetCommandName(MethodInfo info);
... | 2.749595 | c5bbdafd0f467252d09ee25fba21cde1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6912 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Galya-IT/negroni-rpg-xna",
"max_stars_repo_path": "src/NegroniGame/NegroniGame/Items/Armor/MajesticShield.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6913"
} | starcoder | <gh_stars>0
namespace NegroniGame.Items.Armor
{
using System;
public class MajesticShield : Armor, Interfaces.IShield
{
public MajesticShield()
: base("Majestic Shield", 8, 100, GameScreen.Instance.MajesticSetTextures[4])
{ }
}
}
| 1.49789 | 2b971a425525a6d5cba068dd5faa10c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6913 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "balassy/service-status-monitor",
"max_stars_repo_path": "src/ServiceStatusMonitor/ViewModels/Home/StatusResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6914"
} | starcoder | <reponame>balassy/service-status-monitor<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ServiceStatusMonitor.ViewModels.Home
{
public class StatusResponse
{
public EnvironmentStatus Dev { get; set; }
public EnvironmentStatus Stage { get;... | 1.422985 | fdb0be35733af3a8df047876595c8175 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6914 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xiangxingxing/AElf",
"max_stars_repo_path": "contract/AElf.Contracts.Genesis/BasicContractZero_Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6915"
} | starcoder | <reponame>xiangxingxing/AElf
namespace AElf.Contracts.Genesis
{
public partial class BasicContractZero
{
public const int ContractProposalExpirationTimePeriod = 86400; // 60 * 60 * 24
public const int CodeCheckProposalExpirationTimePeriod = 600; // 60 * 10
}
} | 0.813519 | 2a1367bcc2db3b0fb66b1aacf087242c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6915 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bbday/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/D3D11_SHADER_RESOURCE_VIEW_DESC__union_0.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6916"
} | starcoder | <reponame>bbday/DirectN<filename>DirectN/DirectN/Generated/D3D11_SHADER_RESOURCE_VIEW_DESC__union_0.cs
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d3d11.h(3390,5)
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct D3D11_S... | 1.510309 | 00d5a3ceb58262c6f2ce0544064a8b0a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6916 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mkramer74/WebSitePanel",
"max_stars_repo_path": "WebsitePanel.Installer/Sources/WebsitePanel.Setup/Common/SetupVariables.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6917"
} | starcoder | <gh_stars>0
// Copyright (c) 2015, Outercurve Foundation.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// - Redistributions of source code must retain the above copyright notice... | 1.382148 | d6e07fb6de66fe8de64b5a918d2bdc53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6917 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kaukulpr/nsdk",
"max_stars_repo_path": "CapModel/UserMedia.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6918"
} | starcoder | <gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is ... | 1.190793 | 415980863918f4f877a4cab153461219 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6918 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "apurplecaboose/Project-Parkour",
"max_stars_repo_path": "ImaRunnerImaTrackstar/Assets/Polaris - Low Poly Ecosystem/Polaris - Low Poly Terrain Engine/Runtime/Scripts/SplineTool/GFoliageRemover.cs",
"provenance": "train-00000-of-00045.j... | starcoder | #if GRIFFIN
using System.Collections.Generic;
using UnityEngine;
using Unity.Burst;
using Unity.Collections;
using Unity.Jobs;
using UnityEngine.Rendering;
namespace Pinwheel.Griffin.SplineTool
{
[GDisplayName("Foliage Remover")]
public class GFoliageRemover : GSplineModifier
{
[SerializeField]
... | 1.591307 | 0660bbb06494cac8f5700cb8d6519528 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6919 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mylinx/YT.CMS.Web",
"max_stars_repo_path": "YT.CMS.IBaseRespository/IYT_CMS_UsersRespository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6920"
} | starcoder | <filename>YT.CMS.IBaseRespository/IYT_CMS_UsersRespository.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YT.CMS.Core;
using YT.CMS.Entity;
namespace YT.CMS.IRespository
{
public interface IYT_CMS_UsersRespository: IBaseRepository<YT_C... | 1.364438 | b726545b60cf51acd4eb13eb13a37124 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6920 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "Aragas/Bannerlord.MBOptionScreen",
"max_stars_repo_path": "src/MCM/Abstractions/Ref/IRef.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6921"
} | starcoder | using System;
using System.ComponentModel;
namespace MCM.Abstractions.Ref
{
/// <summary>
/// An interface that provides access to some value for MCM to get/set.
/// </summary>
public interface IRef : INotifyPropertyChanged
{
/// <summary>
/// Underlying type of the value
/... | 2.635859 | 81f0cbe252edcfe9f9eeed7d844d42b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6921 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "perpetualintelligence/protocols",
"max_stars_repo_path": "test/PerpetualIntelligence.Shared.Test/Services/InfraHelperTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6922"
} | starcoder | <filename>test/PerpetualIntelligence.Shared.Test/Services/InfraHelperTests.cs<gh_stars>0
/*
Copyright (c) Perpetual Intelligence L.L.C. All Rights Reserved.
For license, terms, and data policies, go to:
https://terms.perpetualintelligence.com
*/
using Microsoft.VisualStudio.TestTools.UnitTesting;
using P... | 2.310104 | f693bdb8555808f856ae60bea9d9f754 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6922 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "averrunci/Charites",
"max_stars_repo_path": "Spec/Charites.Spec/ElementInjectorSpec.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6923"
} | starcoder | // Copyright (C) 2018 Fievus
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
using Carna;
namespace Charites.Windows.Mvc
{
[Specification("ElementInjector Spec")]
class ElementInjectorSpec : FixtureSteppable
{
IElementIn... | 2.151387 | cdacaf8cadf36313073260d77af36050 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6923 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "mjbarlow/Amplify-Umbraco-Theme-Support",
"max_stars_repo_path": "src/Amplify.Web/App_Data/Models/XMlsiteMapSettings.generated.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6924"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Umbraco.ModelsBuilder v8.1.6
//
// Changes to this file will be lost if the code is regenerated.
// </auto-generated>
//------------------------------------------------... | 1.718952 | c9fd422090448f4f690d65d32d4e7eb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6924 | {
"extension": "c-sharp",
"max_stars_count": "3557.0",
"max_stars_repo_name": "YuliiaKovalova/winforms",
"max_stars_repo_path": "src/System.Windows.Forms.Design/src/System/Windows/Forms/Design/ControlDesigner.ChildSubClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6925"
} | starcoder | <gh_stars>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.Diagnostics;
using static Interop;
namespace System.Windows.Forms.Design
{
public... | 2.140399 | e14c78ec00e21cdea244b111a2fb13b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6925 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StevenLiekens/feature-master",
"max_stars_repo_path": "samples/FeatureMaster.Samples.ConsoleApp/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6926"
} | starcoder | <gh_stars>0
using System.Threading.Tasks;
using FeatureMaster.Samples.ConsoleApp.Features;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace FeatureMaster.Samples.ConsoleApp
{
public class Program
{
public static asy... | 2.044877 | 7350d9b73476718250b6f9537678d2ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6926 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thomasrayner/PSScriptAnalyzer",
"max_stars_repo_path": "Engine/Generic/SkipTypeDefinition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6927"
} | starcoder | <gh_stars>0
//
// Copyright (c) Microsoft Corporation.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLD... | 1.578091 | 1f9a90deebf506b9f10da842041939bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6927 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "qxlllll/MMORPG",
"max_stars_repo_path": "Frontend/Assets/3DGamekit/Packages/ProCore/Polybrush/Code/Enum/z_PlacementDirection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6928"
} | starcoder | using UnityEngine;
namespace Polybrush
{
/**
* How prefabs should be oriented when placed on a surface.
*/
public enum z_PlacementDirection
{
SurfaceNormal,
Up,
Down,
Left,
Right,
Forward,
Backward
}
}
| 1.989418 | 1dc2cac20a5f62aa2e455fcec967f3d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6928 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Kahath/KNet",
"max_stars_repo_path": "KNetFramework/Managers/Core/AssemblyManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6929"
} | starcoder | /*
* Copyright © Kahath 2015
* Licensed under MIT license.
*/
using KNetFramework.Managers.Base;
using KNetFramework.Managers.Interface;
using System;
using System.Reflection;
namespace KNetFramework.Managers.Core
{
public class AssemblyManager : ManagerBase<AssemblyManager, IAssemblyManager>
{
#region Events... | 2.369832 | 642acf21533a8667e0ea8cf1b7976392 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6929 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aclearworld/LearningReflectionOnCShape",
"max_stars_repo_path": "LearningReflectionOnCShape/LearningReflectionOnCShape/Generic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6930"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace LearningReflectionOnCShape
{
public class Generic<T>
where T:class
{
private T target;
private Type targetType;
... | 3.369339 | 705798d9c2f381431eabfd3896a1101a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6930 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "akadirdursun/HoodedGreenGoblin",
"max_stars_repo_path": "Hooded-Green Goblin/Assets/Scripts/AStar/AStar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6931"
} | starcoder | using UnityEngine;
using System.Collections.Generic;
using UnityEngine.Tilemaps;
using System.Linq;
namespace AbdulkadirDursun.AStar
{
public class AStar : MonoBehaviour
{
#region variables
private List<Node> openList = new List<Node>();
private List<Node> closedList = new List<Node>()... | 2.476179 | 4288270c6f87826f072ac2ffc967a27c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6931 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tillig/nant-tasks",
"max_stars_repo_path": "Paraesthesia.Tools.NAntTasks/AlphaResx/AlphaResxTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6932"
} | starcoder | <reponame>tillig/nant-tasks
using System;
using System.CodeDom.Compiler;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Globalization;
using System.IO;
using System.Resources;
using NAnt.Core;
using NAnt.Core.Attributes;
using NAnt.Core.Types;
namespace P... | 2.544739 | cbb14bf96be7da543b9e53b7cb0bf9c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6932 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PawPadIO/Hub",
"max_stars_repo_path": "src/PawPadIO.Hub.Web/Views/Account/ErrorEnable2FA.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6933"
} | starcoder | <reponame>PawPadIO/Hub
@using PawPadIO.Hub.Web.Resources
@inject LocService SharedLocalizer
@{
ViewData["Title"] = @SharedLocalizer.GetLocalizedHtmlString("ERROR_ENABLE_MFA_ERROR_TITLE");
}
<h1>@SharedLocalizer.GetLocalizedHtmlString("ERROR_ENABLE_MFA_CLIENT_APP_REQUIRES_MFA")</h1>
<br />
@SharedLocalizer.GetLo... | 1.553896 | bad02d9e6d3ae4f1c66eae96ce902aad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6933 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NibiruResearchCenter/MechanicalDms",
"max_stars_repo_path": "src/MechanicalDms.Database/Models/DiscordUser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6934"
} | starcoder | <filename>src/MechanicalDms.Database/Models/DiscordUser.cs
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MechanicalDms.Database.Models
{
[Table("DiscordUser", Schema = "mechanical_dms")]
public record DiscordUser
{
... | 2.221511 | 1797593a47250e43c45ac2897d6af8b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6934 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mixellent/aspnetcore-realworld-example-app",
"max_stars_repo_path": "src/Conduit/Features/Users/Details.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6935"
} | starcoder | using System.Net;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using Conduit.Infrastructure;
using Conduit.Infrastructure.Errors;
using Conduit.Infrastructure.Security;
using FluentValidation;
using MediatR;
using Microsoft.EntityFrameworkCore;
namespace Conduit.Features.Users
{
public c... | 2.238297 | 7f3ee288b8fd71312d7e7a5180cf6a1f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6935 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pushqrdx/SteroidsVS",
"max_stars_repo_path": "Source/Steroids.Core/Extensions/IWpfTextViewExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6936"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Text;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
using Steroids.Contracts;
using Steroids.Core.Diagnostics.Contracts;
namespace Steroids.Core.Extensions
{
... | 2.500344 | ffe4ecf21b3368889d017182f8c3cc37 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6936 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ZaraclaJ/XamGridViewForms",
"max_stars_repo_path": "Droid/MainActivity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6937"
} | starcoder | <reponame>ZaraclaJ/XamGridViewForms
using System;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using FFImageLoading;
namespace XamGridViewForms.Droid
{
[Activity(Label = "XamGridViewForms.Droid", Icon = "@d... | 1.645756 | 529ba4dc6ea7b0b9089ed3ca62ab289d |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.