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 | 69305 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nv-ksavaria/Uno",
"max_stars_repo_path": "src/Uno.UWP/Generated/3.0.0.0/Windows.UI.Input.Inking/InkStrokeBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69306"
} | starcoder | #pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Input.Inking
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
[global::Uno.NotImplemented]
#endif
public partial class InkStrokeBuilder
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
[... | 2.245481 | 2039f6d8b4d28566e35c0fcb4350e9bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69306 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rom3n/hakaton",
"max_stars_repo_path": "MobileTemplate/UI/Pages/Map/MapPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69307"
} | starcoder | <reponame>Rom3n/hakaton
using MobileTemplate.BL.ViewModels.Map;
using Xamarin.Forms.Maps;
using Xamarin.Forms.Xaml;
namespace MobileTemplate.UI.Pages.Map {
public partial class MapPage : BasePage {
public MapPage() {
InitializeComponent();
BindingContext = new MapViewModel();
LocationMap.MoveToRegion(MapS... | 1.850619 | 20eb932a9eb879ca9965ecf1c03833be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69307 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Balabili/MyBlog",
"max_stars_repo_path": "Blog/Views/Home/ArticleDetails.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:69308"
} | starcoder |
@{
ViewBag.Title = "ArticleDetails";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<div>
@Html.Partial("~/Views/Component/ArticleDetails.cshtml")
@Html.Partial("~/Views/Component/ArticleComments.cshtml")
@Html.Partial("~/Views/Component/AddArticleComments.cshtml")
</div>
@section scripts{
<scr... | 1.457537 | 9f1848cf2b26d83a384729b419c034f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69308 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iotconnect-apps/SmartLighting",
"max_stars_repo_path": "iot.solution.iotconnect/Model/Device/Request/ReleaseDeviceModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69309"
} | starcoder | <gh_stars>1-10
namespace IoTConnect.Model
{
public class ReleaseDeviceModel
{
}
}
| 1.028642 | 5b96dcb6ad4fb5a067831d870fed2e59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69309 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "alexs0ff/IdentityServer4Core3Example",
"max_stars_repo_path": "src/Models/ExchangeRateItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69310"
} | starcoder | <reponame>alexs0ff/IdentityServer4Core3Example
namespace IdentityServer4WebApp.Models
{
public class ExchangeRateItem
{
public string FromCurrency { get; set; }
public string ToCurrency { get; set; }
public double Value { get; set; }
}
}
| 1.606469 | 03dbe265e5624ec381371588e504bff1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69310 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "viordash/HhPlumsailTest",
"max_stars_repo_path": "Application/HhPlumsailApp/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69311"
} | starcoder | <reponame>viordash/HhPlumsailTest
using System;
using System.Web.Http;
using HhPlumsailApp.ErrorsHandling;
using HhPlumsailApp.Extensions;
using Microsoft.Owin;
using Microsoft.Owin.Security.OAuth;
using Owin;
[assembly: OwinStartup(typeof(HhPlumsailApp.Startup))]
namespace HhPlumsailApp {
public partial c... | 1.505447 | 95fdd1be2297008f49bc731c958c3458 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69311 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "OlegOLK/FTX.Net",
"max_stars_repo_path": "FTX.Net/Objects/FTXPay/FTXAppOrder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69312"
} | starcoder | <filename>FTX.Net/Objects/FTXPay/FTXAppOrder.cs
using FTX.Net.Converters;
using FTX.Net.Enums;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace FTX.Net.Objects.FTXPay
{
/// <summary>
/// App order
/// </summary>
public class FTXAppOrder
{
... | 2.411102 | 1e2fdfcc3e8918f8b1b21544093cdbda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69312 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jphellemons/LittleBook",
"max_stars_repo_path": "LittleBook/Controllers/TodoController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69313"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using LittleBook.Services;
using LittleBook.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
namespace LittleBook.Controllers
{
[Authori... | 2.451862 | 70bccfc978c4c09f971e38c1f81a76a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69313 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "marcosjimenez/DotNetFaker",
"max_stars_repo_path": "DotNetFaker/Generators/AddressGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69314"
} | starcoder | <reponame>marcosjimenez/DotNetFaker<filename>DotNetFaker/Generators/AddressGenerator.cs
// Copyright (c) <NAME>, All rights reserved.
// Licensed under the MIT License
// Author: <NAME>
// Created: 2017-03-13
// Last Modified: 2017-09-25
namespace DotNetFaker.Generators
{
... | 2.065425 | 60ec44f70586fcb9bf0edffc058fd7f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69314 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "LittleFish-233/CnGalWebSite",
"max_stars_repo_path": "CnGalWebSite/CnGalWebSite.DataModel/ViewModel/Articles/HiddenArticleModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69315"
} | starcoder | <filename>CnGalWebSite/CnGalWebSite.DataModel/ViewModel/Articles/HiddenArticleModel.cs
namespace CnGalWebSite.DataModel.Model
{
public class HiddenArticleModel
{
public long[] Ids { get; set; }
public bool IsHidden { get; set; }
}
}
| 1.806452 | 93e8e70e257ef30e2e070fb8fb4b9585 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69315 | {
"extension": "c-sharp",
"max_stars_count": "188.0",
"max_stars_repo_name": "NETMF/llilum",
"max_stars_repo_path": "Zelig/Zelig/RunTime/Zelig/Kernel/HardwareModel/TargetPlatform/ARMv4/Coprocessor15.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69316"
} | starcoder | <reponame>NETMF/llilum
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
namespace Microsoft.Zelig.Runtime.TargetPlatform.ARMv4
{
using System;
using TS = Microsoft.Zelig.Runtime.TypeSystem;
using EncDef = Microsoft.Zelig.TargetModel.ArmProcessor.EncodingDefinition;
public s... | 1.662804 | 96f3bedf281312f9c879178b9e37c75b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69316 | {
"extension": "c-sharp",
"max_stars_count": "1984.0",
"max_stars_repo_name": "pavel-petrenko/nodejstools",
"max_stars_repo_path": "Nodejs/Tests/Core/Debugger/Commands/ChangeLiveCommandTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69317"
} | starcoder | <reponame>pavel-petrenko/nodejstools<gh_stars>1000+
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.NodejsTools.Debugger;
using Microsoft.NodejsTools.Debugger.Commands;
using Microsoft.V... | 1.988521 | 2ffa0d692af42106f09e4aca94f729fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69317 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emreozsoy/UnityBasicPlatformMovements",
"max_stars_repo_path": "GroundMoveDiagonel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69318"
} | starcoder | using UnityEngine;
public class GroundMoveDiagonel : MonoBehaviour
{
[SerializeField] private float thrust, maxPos = -5,minPos= -12;
[SerializeField] private bool busyUP, busyDown;
private void Start()
{
busyUP = true;
}
private void FixedUpdate()
{
if (this.t... | 2.358933 | 3bfa1aed8207b0622a65716bce3e00f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69318 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "Nirad/Infusion",
"max_stars_repo_path": "Infusion.LegacyApi/SpeechJournalAwaiter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69319"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace Infusion.LegacyApi
{
public sealed class SpeechJournalAwaiter
{
private readonly EventWaitHandle entryReceivedEvent = new EventWaitHandle(false, EventResetMode.ManualReset);
... | 2.41 | 2f6b4ee54cae5021a08336c54cfe354b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69319 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArtusCanisLupus/RpcNet",
"max_stars_repo_path": "Test/TestXdr.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69320"
} | starcoder | namespace Test
{
using NUnit.Framework;
using RpcNet;
using RpcNet.Internal;
[TestFixture]
internal class TestXdr
{
private readonly IXdrReader reader;
private readonly StubNetwork stubNetwork;
private readonly IXdrWriter writer;
public TestXdr()
{
... | 2.344939 | de51f730820af99c83271e49bf9f9504 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69320 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thinktedlab/game_EcoLogic",
"max_stars_repo_path": "EcoLogic/Assets/Scripts/Enimy_2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69321"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enimy_2 : MonoBehaviour
{
public float speed;
public float moveTime;
private bool dirRigth = true;
private float timer;
public Animator animator;
// Update is called once per frame
void Update()... | 2.300921 | 187cbcefedfd9021b3e2892f35d0c486 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69321 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "fcheadle/TheSadRogue.Primitives",
"max_stars_repo_path": "TheSadRogue.Primitives.UnitTests/RectangleTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69322"
} | starcoder | using Xunit;
using XUnit.ValueTuples;
using System.Linq;
using System.Collections.Generic;
namespace SadRogue.Primitives.UnitTests
{
public class RectangleTests
{
#region Test Data
public static Rectangle[] EqualRectangles = new Rectangle[]
{
new Rectangle(1, 2, 11, 17), n... | 2.928912 | 7eb4e0fc245b71e7e4fdf5b6848c0980 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69322 | {
"extension": "c-sharp",
"max_stars_count": "94.0",
"max_stars_repo_name": "ashlyrclark/docs.particular.net",
"max_stars_repo_path": "samples/sqltransport/multi-instance/SqlTransportLegacySystemClient_3/Receiver/OrderHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69323"
} | starcoder | using System.Threading.Tasks;
using Messages;
using NServiceBus;
using NServiceBus.Logging;
public class OrderHandler :
IHandleMessages<ClientOrder>
{
static ILog log = LogManager.GetLogger<OrderHandler>();
#region Reply
public Task Handle(ClientOrder message, IMessageHandlerContext cont... | 2.14247 | 2d32b352e6d67cb50239e98d2a7392f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69323 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ganchong/LuaUI",
"max_stars_repo_path": "Assets/Scripts/CSharp/core/kit/AbstractRandom.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69324"
} | starcoder |
public abstract class AbstractRandom
{
/* static fields */
protected static readonly float FLOAT_MAX = 1.0f - 1.192092896e-07f;
protected static readonly float FLOAT_AM = 1.0f / 2147483563.0f;
protected static readonly double DOUBLE_MAX = 1.0d - 1.192092896e-07f;
protected static readonly double DOUBLE_AM = 1.0d... | 2.888597 | 65c863ef82e0ab0a173136daf1cc66a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69324 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Hydrofluoric0/DofusRE",
"max_stars_repo_path": "src/DofusRE/GameData/classes/effects/Effect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69325"
} | starcoder |
using System;
using System.Collections.Generic;
using DofusRE.IO;
using DofusRE.GameData.classes;
namespace DofusRE.GameData.classes
{
public class Effect : GameDataClass
{
public const String MODULE = "Effects";
public int id;
public uint descriptionId;
public int iconId;
... | 1.641245 | 73eb1066f97ccfa50cf43a93d4b86b44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69325 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "valadas/DNN.Announcements",
"max_stars_repo_path": "MVP/Models/TemplateConfigurationModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69326"
} | starcoder | using DotNetNuke.Modules.Announcements.Components.Settings;
using DotNetNuke.Modules.Announcements.Components.Template;
namespace DotNetNuke.Modules.Announcements.MVP.Models
{
public class TemplateConfigurationModel
{
public Settings Settings { get; set; }
public ITemplate Template { get; set;... | 1.487965 | f636f674a82cc58ee63baf07a0c4f99f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69326 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jwKav/HospitalDatabase",
"max_stars_repo_path": "Hospital_API/Models/Doctor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69327"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hospital_API.Models
{
public class Doctor
{
//public Doctor()
//{
// Patients = new HashSet<Patient>();
//}
public int DoctorId { get; set; }
... | 1.838793 | 19227a8f77d2c84fc191346606d3373c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69327 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tmteam/Funny",
"max_stars_repo_path": "src/Tests/NFun.SyntaxTests/ImplicitCastTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69328"
} | starcoder | <gh_stars>1-10
using NFun.TestTools;
using NUnit.Framework;
namespace NFun.SyntaxTests {
[TestFixture]
public class ImplicitCastTest {
[TestCase("uint8", (byte)42, "uint8", (byte)42)]
[TestCase("uint8", (byte)42, "uint16", (ushort)42)]
[TestCase("uint16", (ushort)42, "uint16", (ushort)42)]
[TestCase("... | 2.258843 | 28d6a3802bf0a92f5e9eb80d6b160b37 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69328 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Platform-Agile-Software/PAF-Community",
"max_stars_repo_path": "OptionalLibraries/BasicxUnit/QualityAssurance/TestFrameworks/BasicxUnitEmulator/Display/Exceptions/IPAFTestResultNavigationExceptionData.cs",
"provenance": "train-00000-o... | starcoder | //@#$&+
//
//The MIT X11 License
//
//Copyright (c) 2010 - 2017 Icucom 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 without restriction, including without limitatio... | 2.159755 | ccca7165c9e834c7a775a65338ba1ab7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69329 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "MorganPersson/NBehave",
"max_stars_repo_path": "src/NBehave.Console.Specifications/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69330"
} | starcoder | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("NBehave.Console.Tests")]
[assembly: Guid("ad482b06-bd3b-4f83-9905-3a1f93ef3abc")]
| 1.103132 | 2e34a9423b40f824cdb6a2ea341fb7f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69330 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "M4iKZ/DazCam",
"max_stars_repo_path": "DazCamUI/DazCamUI/UI/Positions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69331"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
using System.Windows.Forms;
using DazCamUI.Controller;
using DazCamUI.GCode;
namespace DazCamUI
{
public partial class Positions : Form
{
#region Declarations
private Machine _machi... | 2.067283 | 3aceff3d9e3f59ef030eb656c47dd3ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69331 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Smahdie/MultiLanguageWebsite",
"max_stars_repo_path": "MultiLanguageWebApp/CultureRouteConstraint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69332"
} | starcoder | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using System.Collections.Generic;
namespace MultiLanguageWebApp
{
public class CultureRouteConstraint : IRouteConstraint
{
public bool Match(HttpContext httpContext, IRouter route, string routeKey, RouteValueDictionary values, RouteD... | 2.696184 | 194b0a7169fac2d958f9d9ed29d93c6c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69332 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "AnomalousMedical/Medical",
"max_stars_repo_path": "Standalone/Controller/ImageRenderer/RenderPresetCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69333"
} | starcoder | <reponame>AnomalousMedical/Medical<filename>Standalone/Controller/ImageRenderer/RenderPresetCollection.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Engine.Saving;
namespace Medical
{
public class RenderPresetCollection : Saveable, IEnumerable<RenderPreset>... | 2.228514 | 31f8780506a644c063fef180bfc161ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69333 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TFZR-RSOK/SI2019-Team01-Timesheat",
"max_stars_repo_path": "Business/API/Deserializers/RestSharpJsonNetDeserializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69334"
} | starcoder | <filename>Business/API/Deserializers/RestSharpJsonNetDeserializer.cs
using System;
using Newtonsoft.Json;
using RestSharp.Deserializers;
using TimeshEAT.Business.API.Converters;
namespace TimeshEAT.Business.API.Deserializers
{
public class RestSharpJsonNetDeserializer : IDeserializer
{
public T Deseri... | 2.565135 | 623453592032b782bf078f97af0ab2ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69334 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SuperBianka/SoftUni-CSharp-Track",
"max_stars_repo_path": "CSharp Advanced/CSharpAdvanced - FunctionalProgramming - Exercise/11.ThePartyReservationFilterModule/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69335"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace _11.ThePartyReservationFilterModule
{
class Program
{
static void Main(string[] args)
{
Func<string, string, bool> startsWithFunc = (name, pattern) => name.StartsWith(pattern);
Func<string, str... | 3.38372 | 832228804da06b041ff4948ee35112b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69335 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "snakefoot/sentry-dotnet",
"max_stars_repo_path": "test/Sentry.Tests/AppDomainProcessExitIntegrationTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69336"
} | starcoder | <filename>test/Sentry.Tests/AppDomainProcessExitIntegrationTests.cs<gh_stars>1-10
using System;
using NSubstitute;
using Sentry.Integrations;
using Sentry.Internal;
using Xunit;
namespace Sentry.Tests
{
public class AppDomainProcessExitIntegrationTests
{
private class Fixture
{
publ... | 1.994392 | 9df387b36c115ada683148c85f9a6133 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "the-nerbs/PEReader",
"max_stars_repo_path": "PEReader/ExtensionMethods.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69337"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace PEReader
{
internal static class ExtensionMethods
{
/// <summary>
/// Reads a marshal-able type fro ma stream.
... | 3.316866 | 99472df518b3e7ba19a7af57582be7ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69337 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lneninger/quickbookdestop-integrator",
"max_stars_repo_path": "src/public API/Framework/Framework.FileStorage.Standard/FileStorage/Models/FileArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69338"
} | starcoder | using Framework.Storage.DataHolders.Messages;
using Framework.Storage.FileStorage.TemporaryStorage;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Framework.Storage.FileStorage.Models
{
public abstract class FileArgs :... | 2.270185 | 30d7ba27a94d1931c1257704205ad167 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69338 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "nickyandreev/AssemblyDefender",
"max_stars_repo_path": "src/AssemblyDefender/Obfuscation/Rename/RenamedAssemblyResolverGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69339"
} | starcoder | <filename>src/AssemblyDefender/Obfuscation/Rename/RenamedAssemblyResolverGenerator.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AssemblyDefender.Net;
using AssemblyDefender.Common;
using AssemblyDefender.Common.IO;
namespace AssemblyDefender
{
public class RenamedAsse... | 2.306383 | cd9153b3b1bbe0ecc95776853888272d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69339 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sam0830/kureshi-stack",
"max_stars_repo_path": "kureshi-stack/Assets/Scripts/HowTo/ReturnToTitleButton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69340"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ReturnToTitleButton : MonoBehaviour {
void Start () {
}
/**
* タイトルシーン読み込み
*/
public void OnClick() {
GameSceneManager.Instance.LoadTitleScene();
}
}
| 1.239091 | 059d6de347f64b0fc5e296facc9cd590 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69340 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bogosoft/Hashing.Cryptography",
"max_stars_repo_path": "Bogosoft.Hashing.Cryptography/CryptoHashStrategy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69341"
} | starcoder | using System;
using System.Security.Cryptography;
namespace Bogosoft.Hashing.Cryptography
{
/// <summary>
/// A collection of cryptographically secure <see cref="IHash"/> implementations.
/// </summary>
public static class CryptoHashStrategy
{
/// <summary>
/// Get a has... | 3.178438 | 7f1801923e992263100a5eea1533f567 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69341 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sndnvaps/OneCard_",
"max_stars_repo_path": "WindowsUI.TQS/SystemForm/SetMealList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69342"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsUI.TQS.SystemForm
{
public partial class SetMealList : UserControl
{
private SetMealInfo _mealInfo;
... | 2.635412 | f36d82f33b5aa5af02bbef133b5aa062 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69342 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tigeryzx/MediaShare",
"max_stars_repo_path": "aspnet-core/src/MediaShare.Core/Media/VideoFavRelation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69343"
} | starcoder | <filename>aspnet-core/src/MediaShare.Core/Media/VideoFavRelation.cs<gh_stars>0
using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace MediaShare.Media
{
public class VideoFavRelation :Entity
{
public virtual Video Video { get; set; }
public vir... | 1.741728 | bd37d1df49b1692cdbd832a18ec527cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69343 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "electroball09/StandardUnity",
"max_stars_repo_path": "code/Util/ReflectionUtil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69344"
} | starcoder | <gh_stars>0
using UnityEngine;
using System;
using System.Reflection;
using System.ComponentModel;
public static class ReflectionUtil
{
public static object CreateInstanceFromString(string _type)
{
Type type = Type.GetType(_type);
if (type == null)
return null;
return Acti... | 2.384283 | 5bcb740c4f9696b223d8938ba0404232 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69344 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "ToadsworthLP/Millennium",
"max_stars_repo_path": "Library/PackageCache/com.unity.test-framework.performance@1.0.6-preview/Editor/TestReportGraph/SampleGroupAdditionalData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69345"
} | starcoder | struct SampleGroupAdditionalData
{
public float min;
public float lowerQuartile;
public float median;
public float upperQuartile;
public float max;
} | 1.674404 | 00a596267c024f925cb257dca1a93bd0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69345 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gaelgael5/Datadeep",
"max_stars_repo_path": "src/Salesforces/CommandLines/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69346"
} | starcoder | namespace Bb
{
public static class Constants
{
static Constants()
{
var n = typeof(Constants).Name.Split('.');
RootCommand = n[n.Length - 1];
}
public const string Name = "Salesforce cli v1";
public const string ShortVersion = "v1";
pub... | 2.061826 | 97b84e79975650baa0d8ffd1fb156945 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69346 | {
"extension": "c-sharp",
"max_stars_count": "133.0",
"max_stars_repo_name": "neozhu/RazorPageCleanArchitecture",
"max_stars_repo_path": "src/SmartAdmin.WebUI/Pages/AspNetCore/Interactive.cshtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69347"
} | starcoder | <reponame>neozhu/RazorPageCleanArchitecture
using CleanArchitecture.Razor.Infrastructure.Persistence;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace SmartAdmin.WebUI.Pages.AspNetCore
{
public class InteractiveModel : PageModel
{
private readonly ILogger<InteractiveModel> _logger;
private ... | 1.83822 | f69f10d4fe5e2166f38c94e16ac054ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69347 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "majd01/C-SharpPractices",
"max_stars_repo_path": "C#_Lecture_Notes/Week_6/WindowsFormsApp1/WindowsFormsApp1/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69348"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApp1
{
public partial class Form1 : Form
{
public Fo... | 3.272488 | abf46a9c1eb9ef4ecb82d29625c12502 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69348 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "night-moon-studio/DynamicCacheScript",
"max_stars_repo_path": "src/DynamicDictionary/Base/DynamicDictionaryBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69349"
} | starcoder | <reponame>night-moon-studio/DynamicCacheScript<gh_stars>1-10
using System.Runtime.CompilerServices;
#if NET5_0
[SkipLocalsInit]
#endif
public abstract class DynamicDictionaryBase<TKey, TValue>
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public abstract TValue GetValue(TKey key);
[MethodImpl(Me... | 2.258759 | 4dfb21e127bce94ec3a4f6f50fe0c37d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69349 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "appconfi/appconfi-web",
"max_stars_repo_path": "src/App.Web/Infrastructure/UrlService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69350"
} | starcoder | <gh_stars>0
using App.Service.Common;
using System;
namespace App.Web.Infrastructure
{
public class UrlService : IUrlService
{
private readonly string baseUrl;
public UrlService(string baseUrl)
{
this.baseUrl = baseUrl;
}
public string GetBaseUrl()
... | 1.911607 | 162fa513b18e731d3834ecf2ac2fec92 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69350 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "zedy-wj/CEDAR.GitHub.Collector",
"max_stars_repo_path": "GitHub.Collectors/Model/IHasher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69351"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Newtonsoft.Json.Linq;
namespace Microsoft.CloudMine.GitHub.Collectors.Model
{
public interface IHasher
{
string ComputeSha256Hash(JObject jsonObject, Repository repository);
}
}
| 1.395652 | 9a9cf2fad9f910750ae811521c780f15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69351 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "youngcm2/Harpoon",
"max_stars_repo_path": "Harpoon.Registrations/WebHookTrigger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69352"
} | starcoder | using Newtonsoft.Json;
using System;
namespace Harpoon.Registrations
{
/// <summary>
/// Represents an strongly-typed event template that may trigger a webhook
/// </summary>
public class WebHookTrigger<TPayload> : WebHookTrigger
{
/// <summary>
/// Initializes a new instance of th... | 3.037138 | e14200211e7770074467fe5594909e96 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69352 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ga-explorer/GeometricAlgebraLib",
"max_stars_repo_path": "GraphicsComposerLib/GraphicsComposerLib.WebGl/ThreeJs/Obsolete/Lights/TjAmbientLight.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69353"
} | starcoder | <filename>GraphicsComposerLib/GraphicsComposerLib.WebGl/ThreeJs/Obsolete/Lights/TjAmbientLight.cs
namespace GraphicsComposerLib.WebGl.ThreeJs.Obsolete.Lights
{
/// <summary>
/// This light globally illuminates all objects in the scene equally.
/// This light cannot be used to cast shadows as it does not ha... | 2.839869 | c86f5acf50904a6e06b9ac2978d7e2fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69353 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/das-apprentice-feedback-jobs",
"max_stars_repo_path": "src/SFA.DAS.ApprenticeFeedback.Jobs/Functions/TemporaryGeneratedFunction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69354"
} | starcoder | // FunctionEndpointTrigger
using Azure.Messaging.ServiceBus;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.ServiceBus;
using Microsoft.Extensions.Logging;
using NServiceBus;
using System.Threading.Tasks;
namespace SFA.DAS.ApprenticeFeedback.Jobs.Functions
{
/// <summary>
/// This function exists due ... | 1.905236 | 97aef125f855ce087ab0fe906c82471e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69354 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "martinfowler-cn/issue-hook",
"max_stars_repo_path": "IssueHookAPI/CONSTS.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69355"
} | starcoder | <gh_stars>0
using Octokit;
namespace IssueHookAPI
{
public class CONSTS
{
public class Label
{
public static string Label_Welcome = "Welcome";
public static string Label_Translating = "Translating";
public static string Label_Pushed = "Pushed";
pu... | 1.079976 | 10916751a90a80c648b6429d6510f2da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69355 | {
"extension": "c-sharp",
"max_stars_count": "4874.0",
"max_stars_repo_name": "frankracis-work/ImageSharp",
"max_stars_repo_path": "src/ImageSharp/ImageInfoExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69356"
} | starcoder | // Copyright (c) <NAME>.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp
{
/// <summary>
/// Extension methods that allow the addition of geometry calculating methods to the <see cref="IImageInfo"/> type
/// </summary>
public static class ImageInfoExtensions
{
... | 3.08311 | 9426509ec66975480bc76de2cf9d7b90 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69356 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CHSR/PyramidModelWebApp",
"max_stars_repo_path": "Pyramid/Pyramid/MasterPages/Dashboard.master.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69357"
} | starcoder | <reponame>CHSR/PyramidModelWebApp<filename>Pyramid/Pyramid/MasterPages/Dashboard.master.cs
using Pyramid.Code;
using Pyramid.Models;
using System;
using System.Linq;
namespace Pyramid.MasterPages
{
public partial class Dashboard : System.Web.UI.MasterPage
{
protected void Page_Load(object sen... | 2.086961 | a99f24c3d27b4e2685d41a23fe1409a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69357 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "victorprocure/VP.Common",
"max_stars_repo_path": "src/VP.Common.WPF/Converters/BooleanToGrayscaleConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69358"
} | starcoder | namespace VP.Common.WPF.Converters
{
public class BooleanToGrayscaleConverter
{
}
} | 1.088972 | 78d75c2e312c70cf5465b1489a98fa6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69358 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tvede-dk/platform-performance-c-",
"max_stars_repo_path": "platformPerformer/Timer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69359"
} | starcoder | <reponame>Tvede-dk/platform-performance-c-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
using System.ComponentModel;
using System.Threading;
namespace platformPerformer {
class Timer {
private lo... | 2.634157 | ae16c92aeb591dcd568c16d82f7a8ce4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69359 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ahamidou/SmartApi",
"max_stars_repo_path": "SmartApi/Infrastructure/Json/RedactedValueProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69360"
} | starcoder | using Newtonsoft.Json.Serialization;
using System;
namespace SmartApi.Infrastructure
{
public class RedactedValueProvider : IValueProvider
{
private readonly Type _type;
private readonly bool _isString;
public RedactedValueProvider(Type type)
{
_type = ty... | 2.642783 | ba09c8263d9fd82cb7af90cfbbc626f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "todor-enikov/TelerikAcademy",
"max_stars_repo_path": "C Sharp OOP - 2016/03. ExtensionMethodsDelegatesLambdaLINQ/Students/StudentsMain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69361"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Students
{
class StudentsMain
{
static void Main()
{
List<Student> allStudents = new List<Student>();
allStudents.Add(new Student("Ivan", "Petr... | 3.238908 | 6777ee848e5ea702733d19c562191e8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69361 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kittyfisto/.NETBuild",
"max_stars_repo_path": "Build/ExpressionEngine/ItemListProjection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69362"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Build.DomainModel.MSBuild;
using Build.IO;
namespace Build.ExpressionEngine
{
public sealed class ItemListProjection
: IExpression
{
private readonly IExpression[] _projectedFilename;
private readonly string _itemListName;
public Item... | 2.456378 | 74430b0b1f72962616624d5eb27e81e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69362 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jopie64/WampSharp",
"max_stars_repo_path": "src/net45/Default/WampSharp.NewtonsoftJson/Newtonsoft/DetailsOptionsConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69363"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Immutable;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using WampSharp.Core.Serialization;
using WampSharp.V2;
using WampSharp.V2.Core.Contracts;
namespace WampSharp.Newtonsoft
{
pu... | 2.212947 | cc3bbbdc54bc5b182dfe1ee772fe6003 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69363 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Pingel91/KanbanBoard",
"max_stars_repo_path": "UserStoryBoard/UserStoryBoard/Pages/Admin/CreateUser.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:69364"
} | starcoder | <reponame>Pingel91/KanbanBoard
@page
@model UserStoryBoard.Pages.Admin.CreateUserModel
@{
}
<h1>Create a new User</h1>
<div class="row">
<div class="col-md-4">
<form method="post">
<div class="form-group">
<label asp-for="@Model.UserName" class="control-lable"></label>
... | 1.923169 | 023db6eed978690b4a33c080a47c9a13 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69364 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "comstyle/eXpand",
"max_stars_repo_path": "Demos/Modules/Security/SecurityTester.Module/FunctionalTests/RememberMe/RememberMeObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69365"
} | starcoder | using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Xpo;
namespace SecurityTester.Module.FunctionalTests.RememberMe {
[DefaultClassOptions]
public class RememberMeObject:BaseObject {
public RememberMeObject(Session session) : base(session){
}
}
}
| 1.414359 | 3dee5ef59ef2ae3e77a5dcf6356c0579 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69365 | {
"extension": "c-sharp",
"max_stars_count": "129.0",
"max_stars_repo_name": "SQLauto/Ilaro.Admin",
"max_stars_repo_path": "samples/Ilaro.Admin.Sample/Configurators/OrderDetailConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69366"
} | starcoder | using Ilaro.Admin.Core.Customization;
using Ilaro.Admin.Sample.Models.Northwind;
namespace Ilaro.Admin.Sample.Configurators
{
public class OrderDetailConfiguration : EntityConfiguration<OrderDetail>
{
public OrderDetailConfiguration()
{
Group("Order");
Table("Order Det... | 2.158735 | 7218d8d3923f512055512b54331363cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69366 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lionize/TaskManagementService",
"max_stars_repo_path": "src/Data/Repositories/UserTaskRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69367"
} | starcoder | using TIKSN.Data.Mongo;
using TIKSN.Lionize.TaskManagementService.Data.Entities;
namespace TIKSN.Lionize.TaskManagementService.Data.Repositories
{
public class UserTaskRepository : MongoRepository<UserTaskEntity, string>, IUserTaskRepository
{
public UserTaskRepository(IMongoDatabaseProvider mongoData... | 1.555729 | ff26858a385e1daff4affa04d8c08b2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "berkeleybross/sifter.net",
"max_stars_repo_path": "src/Sifter/AutoCompleteSuggestion.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69368"
} | starcoder | // <copyright file="AutoCompleteSuggestion.cs" company="Berkeleybross">
// Copyright (c) Berkeleybross. All rights reserved.
// </copyright>
namespace Sifter
{
/// <summary>
/// Holds a suggested value to autocomplete a search, with it's score.
/// </summary>
/// <typeparam name="T">The type of <see cre... | 3.165143 | b701391e50106cc3525d55bc7433275f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69368 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sevdalin/Software-University-SoftUni",
"max_stars_repo_path": "C-sharp-Web-Developer/C# OOP Basics/01. DefiningClasses/06. RawData/Cargo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69369"
} | starcoder | <reponame>sevdalin/Software-University-SoftUni
public class Cargo
{
public int weight;
public string type;
public Cargo(int weight, string type)
{
this.weight = weight;
this.type = type;
}
} | 2.240841 | 822bad95d44ab08993ec6ef9614824e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69369 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fhbilgen/Bugger",
"max_stars_repo_path": "BuggerNetEng/AllYouDoIsExceptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69370"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Runtime.ExceptionServices;
using System.Security;
namespace BuggerNetEng
{
public class AllYouDoIsException
{
public static ReaderWriterLock SyncObj;
public AllYouDoIsException()
... | 2.644376 | 75b9df9a89739f9a99bae5d64cdefc02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69370 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Crogarox/JKChat",
"max_stars_repo_path": "JKChat.Android/TemplateSelectors/ChatItemTemplateSelector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69371"
} | starcoder | <reponame>Crogarox/JKChat
using System;
using JKChat.Core.ViewModels.Chat.Items;
using MvvmCross.DroidX.RecyclerView.ItemTemplates;
namespace JKChat.Android.TemplateSelectors {
public class ChatItemTemplateSelector : MvxTemplateSelector<ChatItemVM> {
private const int MessageViewType = 0;
private const int Inf... | 2.153337 | 3718ff66265ecc708c92b2751be63f58 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69371 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hdefucom/HDF",
"max_stars_repo_path": "Example/WinForm/Editor/YidanSoft.Library.EmrEditor/Src/Document/CurrentFontProperty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69372"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
namespace YidanSoft.Library.EmrEditor.Src.Document
{
/// <summary>
/// add by myc 2014-07-17 09:22
/// 当前字体属性,这个跟随鼠标点击位置处的文本字符的字体属性设置,用于插入新的文本字符时的字体属性控制。
/// </summary>
public... | 2.765544 | 6479eca0a4d5e3ea5572ef1fc00dd68e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69372 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MaferYangPointJun/Spring.net",
"max_stars_repo_path": "test/Spring/Spring.Data.Tests/Data/ITestObjectMgr.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69373"
} | starcoder | <filename>test/Spring/Spring.Data.Tests/Data/ITestObjectMgr.cs
using Spring.Objects;
namespace Spring.Data
{
public interface ITestObjectMgr
{
void SaveTwoTestObjects(TestObject to1, TestObject to2);
void DeleteTwoTestObjects(string name1, string name2);
}
} | 1.615948 | 0db660137980c2f33be9761565b4a784 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69373 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jammykam/Sitecore-Instance-Manager",
"max_stars_repo_path": "src/SIM.Adapters/MongoDb/MongoDbDatabase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69374"
} | starcoder | namespace SIM.Adapters.MongoDb
{
using JetBrains.Annotations;
public class MongoDbDatabase
{
#region Fields
[NotNull]
private readonly string connectionString;
[NotNull]
private readonly string name;
#endregion
#region Constructors
public MongoDbDatabase(string name, string ... | 2.698902 | 23a92cf8e0f3e7c1407e9de39c6337ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69374 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ramidzkh/ObjectWeb.Asm",
"max_stars_repo_path": "ObjectWeb.Asm/ObjectWeb/Asm/Tree/TypeAnnotationNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69375"
} | starcoder | <filename>ObjectWeb.Asm/ObjectWeb/Asm/Tree/TypeAnnotationNode.cs
// ASM: a very small and fast Java bytecode manipulation framework
// Copyright (c) 2000-2011 INRIA, France Telecom
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided th... | 2.457587 | 442d5eff89179862d56db242e74bdf7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69375 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "oussamabonnor1/SportyKa_Unity_Android",
"max_stars_repo_path": "Survival/BasketballSurvival.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69376"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Advertisements;
using UnityEngine.Analytics;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class BasketballSurvival : MonoBehaviour {
public GameObject bestScoreTxt;
public loser ... | 1.921093 | 363134cb7e01f525846ef4924714344d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69376 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Renan-Saraiva/syspec",
"max_stars_repo_path": "Tools/DbCheck/Classes/Trigger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69377"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace dbcheck
{
public class Trigger
{
public Trigger()
{
}
public Trigger(string name, string body)
{
Name = name;
Body = b... | 3.138451 | 0d77b7593761eba71f3f00093e51e91d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69377 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "birojnayak/codelyzer",
"max_stars_repo_path": "src/Analysis/Codelyzer.Analysis.Model/ExternalReferences.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69378"
} | starcoder | <gh_stars>10-100
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
namespace Codelyzer.Analysis.Model
{
public class ExternalReferences
{
public ExternalReferences()
{
NugetReferences = new List<ExternalReference>();
... | 1.719883 | ebabc8f7b535b9a84a4e52081cba1b7f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69378 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DrJohnMelville/Melville",
"max_stars_repo_path": "src/Melville.WpfAppFramework/IocBridges/DIBridge.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69379"
} | starcoder | <filename>src/Melville.WpfAppFramework/IocBridges/DIBridge.cs<gh_stars>0
using System;
using System.Reflection;
using Melville.IOC.BindingRequests;
using Melville.IOC.IocContainers;
using Melville.MVVM.Wpf.DiParameterSources;
namespace Melville.WpfAppFramework.IocBridges
{
public class DiBridge:IDIIntegration
... | 2.220283 | 060674a39b362537de87314a9c59d749 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69379 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "leoshiang/RSAR",
"max_stars_repo_path": "RSAR/Models/SearchOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69380"
} | starcoder | namespace RSAR.Models
{
public class SearchOptions
{
public string[] ExcludedDirectories { get; set; }
public string[] ExcludedExtensions { get; set; }
public string[] IncludedDirectories { get; set; }
public string[] IncludedExtensions { get; set; }
public Output... | 1.745962 | 9fe670efe50e6bd4a2377912e52ed4ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69380 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CecoKT/TelerikHomeworks",
"max_stars_repo_path": "CSharp1/02.PrimitiveDataTypesAndVariables/03.SafelyeCompare/SafelyCompare.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69381"
} | starcoder | using System;
class SafelyCompare
{
//03.Write a program that safely compares floating-point numbers with precision of 0.000001.
// Examples:(5.3 ; 6.01) -> false; (5.00000001 ; 5.00000003) -> true
static void Main()
{
Console.WriteLine(" Please enter the first real number:");
floa... | 4.268595 | d63159a78c030c6d019ee025c024ae5c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69381 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ambientlight/TrashMob",
"max_stars_repo_path": "TrashMobJobs/StatGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69382"
} | starcoder | namespace TrashMobJobs
{
using System;
using System.Data.SqlClient;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.Functions.Worker;
using Microsoft.Extensions.Logging;
using TrashMob.Shared;
public class StatGenerator
{
// Runs once a day at 1 AM Z
... | 2.315241 | 9d20d05a2c1f7ed4d6020c22df31682b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69382 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "khorozhansky/Advanced-MultiSelect-for-Dynamics",
"max_stars_repo_path": "MultiSelectPlugin/Utils/ExceptionHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69383"
} | starcoder | namespace AdvancedMultiSelect.Utils
{
using System;
using System.ServiceModel;
using System.Text;
using Microsoft.Xrm.Sdk;
public static class ExceptionHelper
{
public static InvalidPluginExecutionException BuildInvalidPluginExecutionException(Exception e, Type type, ITracingService tracingService)
... | 2.349392 | 41d7c16acba09988849dba24cad8bc41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69383 | {
"extension": "c-sharp",
"max_stars_count": "676.0",
"max_stars_repo_name": "c3-hoge-fuga-piyo/VContainer",
"max_stars_repo_path": "VContainer/Assets/VContainer/Runtime/IRegistration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69384"
} | starcoder | using System;
using System.Collections.Generic;
namespace VContainer
{
public interface IRegistration
{
Type ImplementationType { get; }
IReadOnlyList<Type> InterfaceTypes { get; }
Lifetime Lifetime { get; }
object SpawnInstance(IObjectResolver resolver);
}
}
| 1.619688 | 796c3b224f045718e23c7cba03135257 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69384 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "LuviKunG/LuviTools",
"max_stars_repo_path": "Attribute/StringPath/Editor/StringPathDrawer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69385"
} | starcoder | using System.IO;
using UnityEditor;
using UnityEngine;
[CustomPropertyDrawer(typeof(StringPathAttribute))]
public class StringPathDrawer : PropertyDrawer
{
private const float BUTTON_SIZE = 56;
private const string TYPE_NOT_SUPPORT = "Type not support.";
private static readonly GUIContent BUTTON_LABEL_SEL... | 2.457593 | 6bbe8c09abe6cc93a06981ed7f6fc673 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69385 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Devulak/Slideshow",
"max_stars_repo_path": "Slideshow/Fullscreen.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69386"
} | starcoder | using System.Linq;
using System.Windows;
using System.Windows.Input;
using System.Threading;
using System;
using System.ComponentModel;
namespace Slideshow
{
/// <summary>
/// Interaction logic for Fullscreen.xaml
/// </summary>
public partial class Fullscreen : Window
{
private VisualImag... | 2.764961 | e520ed84386ad0bc7dddc044b8bfc118 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69386 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "LaudateCorpus1/nunitv3",
"max_stars_repo_path": "src/NUnitFramework/tests/Attributes/RetryAttributeTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69387"
} | starcoder | <filename>src/NUnitFramework/tests/Attributes/RetryAttributeTests.cs
// ***********************************************************************
// Copyright (c) 2015 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "... | 2.135263 | 88e8a93d864d2412007ea5321f145382 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69387 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "linkasu/linka.plays-unity-old",
"max_stars_repo_path": "Assets/Scripts/GameProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69388"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameProcessor : MonoBehaviour
{
public int steps = 10;
public Text StepsText;
public Text[] ErrorsTexts;
public GameObject GameOverPanel;
public Image Answe... | 2.441437 | 169a868544b9436fc00a358b02059005 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69388 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yscode001/YNet",
"max_stars_repo_path": "YNet/YNet/KCP/Net/KCPClient_AbstractMethod.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69389"
} | starcoder | <filename>YNet/YNet/KCP/Net/KCPClient_AbstractMethod.cs
// Author:yaoshuai
// Email:<EMAIL>
// Date:2021-11-27
// ------------------------------
namespace YNet.KCP
{
public abstract partial class KCPClient<T> where T : KCPSession, new()
{
/// <summary>
/// 网络状态改变
/// </summary>
... | 1.981614 | aa09a348174bd5e2cde859e434407c10 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69389 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zaoqi/MineCase",
"max_stars_repo_path": "src/MineCase.Protocol/Protocol/Play/UseItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69390"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using MineCase.Serialization;
namespace MineCase.Protocol.Play
{
#if !NET46
[Orleans.Concurrency.Immutable]
#endif
[Packet(0x20)]
public sealed class UseItem
{
[SerializeAs(DataType.VarInt)]
public Hand Hand;
p... | 2.157998 | 1caacf2c2e1bad6f6626923c47d51e18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69390 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brian-reichle/TypeNameInterpretation",
"max_stars_repo_path": "src/TypeNameInterpretation.Test/InsParserTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69391"
} | starcoder | using System.Linq;
using NUnit.Framework;
namespace TypeNameInterpretation.Test
{
[TestFixture]
class InsParserTest
{
[TestCase("Foo.Bar", ExpectedResult = "Foo.Bar")]
[TestCase("\\[Foo.Bar\\]", ExpectedResult = "[Foo.Bar]")]
[TestCase("Foo\\\\Bar", ExpectedResult = "Foo\\Bar")]
public string Assembly_Unqua... | 2.730546 | 80c498ea0287e01df3646aa39834c20a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69391 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "reegomes/Asteroids",
"max_stars_repo_path": "Assets/_Scripts/UfoRed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69392"
} | starcoder | <filename>Assets/_Scripts/UfoRed.cs
using System.Collections;
using UnityEngine;
public class UfoRed : MonoBehaviour
{
private const int _valueCon = 3;
private const int _speedCon = 300;
private const int _conPoints = 1000;
private GameObject _tPlayer;
[SerializeField]
private Rigidbody2D _rb;
... | 2.28151 | 6a6f4a456c22a6b065ba2f1b4d6d1404 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69392 | {
"extension": "c-sharp",
"max_stars_count": "2542.0",
"max_stars_repo_name": "gridgentoo/ServiceFabricAzure",
"max_stars_repo_path": "src/prod/test/System.Fabric/scenarios/Hosting/StatelessSanityTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69393"
} | starcoder | <gh_stars>1000+
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Syst... | 2.032235 | b53cc8a73c4b6758d020a80c2b186783 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69393 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "damagefilter/damagebot4twitch",
"max_stars_repo_path": "DamageLib/Commands/CommandContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69394"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DamageBot.Commands {
public delegate void CommandDelegate(IMessageReceiver caller, string[] args);
public class CommandContainer {
public CommandDelegate commandLogic;
public CommandAttribu... | 2.879881 | d88f83e084ba7532ad9e9d935377c2bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69394 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheTechArch/altinn-studio",
"max_stars_repo_path": "src/Altinn.Apps/AppTemplates/AspNet/App.IntegrationTests/Data/apps/tdd/sirius/services/SiriusAPI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69395"
} | starcoder | using App.IntegrationTests.Mocks.Services;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace App.IntegrationTestsRef.Data.apps.tdd.sirius.services
{
public class SiriusAPImock : ISiriusApi
{
public Task<Stream> GetNæringPDF(Strea... | 2.185787 | 982f35792f72b1239b0d6fb771c7166e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69523 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "illuminati-inc-2020/ramayana-mobile",
"max_stars_repo_path": "Ramayana Mobile/Assets/DragonBones/DragonBones/factory/BaseFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69524"
} | starcoder | using System.Collections.Generic;
namespace DragonBones
{
/**
* @private
*/
public class BuildArmaturePackage
{
public string dataName = null;
public DragonBonesData data = null;
public ArmatureData armature = null;
public SkinData skin = null;
}
/**
... | 2.546481 | e6a30273435d76880ba93e37bed2a601 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69524 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "dbeals/GameSaveSystem",
"max_stars_repo_path": "Examples/TextAdventure/GameState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69525"
} | starcoder | <gh_stars>1-10
// /***********************************************************************
// This is free and unencumbered software released into the public domain.
//
// Anyone is free to copy, modify, publish, use, compile, sell, or
// distribute this software, either in source code form or as a compiled
// binary... | 2.204885 | f4214d3c96c596af20bef031217b74cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69525 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AjdinVreto/petShop",
"max_stars_repo_path": "PetShop/Migrations/20220302173722_Inicijalna.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69526"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace PetShop.Migrations
{
public partial class Inicijalna : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Drzava",
c... | 2.086678 | e65036f02fb4650fd42199928e7d04a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69526 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "reignstudios/ReignSDK",
"max_stars_repo_path": "Platforms/Common/Reign.Video.OpenGL/Buffers/IndexBuffer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69527"
} | starcoder | <gh_stars>1-10
using Reign.Core;
using System;
namespace Reign.Video.OpenGL
{
public class IndexBuffer : IIndexBuffer
{
#region Properties
private Video video;
private uint indexBuffer;
#endregion
#region Constructors
public unsafe IndexBuffer(IDisposableResource parent, BufferUsages bufferUsage, int[] ... | 1.855841 | 89cbf6c8251366d4d6fe338a030b000b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69527 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "reductech/Core",
"max_stars_repo_path": "Core.TestHarness/ExampleCase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69528"
} | starcoder | <filename>Core.TestHarness/ExampleCase.cs<gh_stars>1-10
using System.Text;
using Reductech.Sequence.Core.Internal.Parser;
using static Reductech.Sequence.Core.TestHarness.SpaceCompressor;
namespace Reductech.Sequence.Core.TestHarness;
public abstract partial class StepTestBase<TStep, TOutput>
{
public static The... | 2.489322 | a573900ec4982dedf9e201740e7ab1be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69528 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wvdhouten/Soapbox",
"max_stars_repo_path": "Soapbox.Web/Views/Blog/_CardsPage.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:69529"
} | starcoder | <reponame>wvdhouten/Soapbox<filename>Soapbox.Web/Views/Blog/_CardsPage.cshtml
@model IPagedList<Post>
<section class="container content post-cards">
@foreach (var post in Model.Items)
{
<partial name="_Card" model="post" />
}
</section>
<partial name="_Paging" model="Model" />
| 2.014625 | d0e657130e39d430b0f64d868c080d6a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69529 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "csdahlberg/CodeTigerLib",
"max_stars_repo_path": "UnitTests/UnitTests.CodeTiger.Core/Threading/AsyncAutoResetEventTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69530"
} | starcoder | <reponame>csdahlberg/CodeTigerLib<gh_stars>1-10
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using CodeTiger.Threading;
using Xunit;
namespace UnitTests.CodeTiger.Threading
{
/// <summary>
/// Contains unit tests for the <see cref="AsyncAutoResetEvent"/> class.
//... | 2.697617 | f8c00236302451bf32af2b2eacb39c5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69530 | {
"extension": "c-sharp",
"max_stars_count": "146.0",
"max_stars_repo_name": "RedBandana/Intersect-Engine",
"max_stars_repo_path": "Intersect.Editor/Forms/Editors/Events/Event Commands/EventCommand_GiveExperience.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69531"
} | starcoder | <filename>Intersect.Editor/Forms/Editors/Events/Event Commands/EventCommand_GiveExperience.cs
using System;
using System.Windows.Forms;
using Intersect.Editor.Localization;
using Intersect.GameObjects.Events.Commands;
namespace Intersect.Editor.Forms.Editors.Events.Event_Commands
{
public partial class EventCom... | 2.412999 | c13f581ec15228eee2b7ba7427d8aee3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69531 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "bbqchickenrobot/IL2JS",
"max_stars_repo_path": "mscorlib/System/Collections/Generic/KeyValuePair`2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69532"
} | starcoder | <gh_stars>10-100
using System.Text;
namespace System.Collections.Generic
{
public struct KeyValuePair<TKey, TValue>
{
private TKey key;
private TValue value;
public KeyValuePair(TKey key, TValue value)
{
this.key = key;
this.value = value;
}
... | 3.274426 | 0c7e63ea0ba444f15765514ea4b30cca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69532 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "htna/HCsbLib",
"max_stars_repo_path": "HCsbLib/HCsbLib/HTLib2/HStatic/HStatic.HSelectLargest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69533"
} | starcoder | <filename>HCsbLib/HCsbLib/HTLib2/HStatic/HStatic.HSelectLargest.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HTLib2
{
public static partial class HStatic
{
public static T[] HSelectLargest<T>(this IList<List<T>> groups)
{
... | 2.77374 | 3672a100c5fd47c5ae4d7f04bfefb5bc |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.