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 | 6337 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "michaellperry/Correspondence",
"max_stars_repo_path": "Tools/Correspondence.Factual/AST/Field.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6338"
} | starcoder | using System;
namespace Correspondence.Factual.AST
{
public class Field : DataMember
{
private bool _publish;
private Condition _publishCondition;
public Field(int lineNumber, string name, DataType type, bool publish, Condition publishCondition)
: base(lineNumber, name, typ... | 2.517651 | 45c6ebc75135453430f4c81fdfc52b5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6338 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "iamonuwa/herc-in-blazorstate",
"max_stars_repo_path": "Tools/Source/Commands/SetVersion/SetBlazorStateVersion/SetBlazorStateVersionHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6339"
} | starcoder | namespace Tools.Commands.SetVersion
{
using System.IO;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Tools.Services;
internal class SetBlazorStateVersionHandler : IRequestHandler<SetBlazorStateVersionRequest>
{
private string BaseP... | 2.179459 | 9296064cb796ad2d917bc35b261e691f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6339 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "yuleyule66/AspNetCoreBenchmarksCompare",
"max_stars_repo_path": "MSBenchmarks/experimental/BasicHttpServer/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6340"
} | starcoder | using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
namespace BasicHttpServer
{
public class Program
{
static readonly string responseStr = "HTTP/1.1 200 OK\r\n" +
"Content-Type: text/plain;charset=UTF-8\r\n" +
"Content-Length: 1... | 3.006103 | 9d8df04ec941399c2458dca73fdf6abc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6340 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "y2k4life/StealthTechRayTracer",
"max_stars_repo_path": "test/StealthTech.RayTracer.Specs/Triangles.feature.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6341"
} | starcoder | // ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by SpecFlow (http://www.specflow.org/).
// SpecFlow Version:3.1.0.0
// SpecFlow Generator Version:3.1.0.0
//
// Changes to this file may cause incorrect behavior and wil... | 1.998425 | b548b46ac1947ec28282bccf020cae33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6341 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "potojunior/ppInk",
"max_stars_repo_path": "src/FormOptions.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6342"
} | starcoder | <filename>src/FormOptions.Designer.cs
namespace gInk
{
partial class FormOptions
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being us... | 1.652937 | 33c7e63472b4b7b64b61599595b95f44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6342 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nczsl/Fone",
"max_stars_repo_path": "Netlibs.Test/IEquationTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6343"
} | starcoder | <reponame>nczsl/Fone<gh_stars>0
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Text;
using Util.Mathematics;
namespace Netlibs.Test {
[Microsoft.VisualStudio.TestTools.UnitTesting.TestClass]
public class IEquationTest {
[TestMethod]
... | 1.302494 | e72a77f7b59fd2a0b7ccd7d957c8ada2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6343 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uon-coehm/IQCare",
"max_stars_repo_path": "SourceBase/DataAccess/BusinessProcess.FormBuilder/BQueryBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6344"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Configuration;
using Application.Common;
using DataAccess.Base;
using DataAccess.Common;
using DataAccess.Entity;
using Interface.FormBuilder;
using System.Data.SqlClient;
using System.Collections.Specialized;
namespa... | 2.263749 | dd89602a8df22d952961816a8523c50a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6344 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AkshayBhanawala/ASP-DocAppManSys",
"max_stars_repo_path": "DoctorsAppointmentManager/Pages/User_Patient/Patient_MasterPage.Master.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6345"
} | starcoder | using System;
using System.Web.UI.WebControls;
namespace DoctorsAppointmentManager.Pages.User_Patient
{
public partial class Patient_MasterPage : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
}
}
}
} | 1.531741 | 27b923aa2090b68470e5434d736be236 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6345 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nnaabbcc/exercise",
"max_stars_repo_path": "windows/pw6e.official/CSharp/Chapter15/ClockRack/ClockRack/TimeZoneDisplayInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6346"
} | starcoder | namespace ClockRack
{
public struct TimeZoneDisplayInfo
{
public int Bias { set; get; }
public string TimeZoneKey { set; get; }
public string Display { set; get; }
}
}
| 1.556228 | 31e06901e9cabf900860d6d2c6455e69 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6346 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "uQr/akka.net",
"max_stars_repo_path": "src/core/Akka.Streams/Actors/ActorPublisher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6347"
} | starcoder | <reponame>uQr/akka.net
//-----------------------------------------------------------------------
// <copyright file="ActorPublisher.cs" company="Akka.NET Project">
// Copyright (C) 2015-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka... | 2.048935 | 45bad997846f0ba5d6aeec68afd65a69 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6347 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "IvaAngelova/Perfect-Home-To-You-System",
"max_stars_repo_path": "PerfectHomeToYou/PerfectHomeToYou/Services/Apartments/Models/ApartmentServiceModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6348"
} | starcoder | using PerfectHomeToYou.Data.Models.Enumerations;
namespace PerfectHomeToYou.Services.Apartments.Models
{
public class ApartmentServiceModel : IApartmentModel
{
public int Id { get; init; }
public ApartmentsTypes ApartmentType { get; set; }
public string CityName { get; init; }
... | 2.005875 | 08f9d461dae01d0db9c4e09385ca2b80 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6348 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EvansHub/Masuit.Tools",
"max_stars_repo_path": "Masuit.Tools/Media/ImageUtilities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6349"
} | starcoder | using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace Masuit.Tools.Media
{
/// <summary>
/// 图片处理
/// </summary>
public static class ImageUtilities
{
#region 正方型裁剪并缩放
... | 2.822708 | 7b5f24a42dc234a12a517615994067bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6349 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "longvutam/vtl-nvp",
"max_stars_repo_path": "RadzenBlazorDemos/obj/Debug/net5.0/Razor/Pages/TooltipPage.razor.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6350"
} | starcoder | #pragma checksum "D:\c#\blazor\vtl-nvp\RadzenBlazorDemos\Pages\TooltipPage.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "ffba02403842b2362dbea98aba1c80d3e6f38109"
// <auto-generated/>
#pragma warning disable 1591
namespace RadzenBlazorDemos.Pages
{
#line hidden
using System;
using System.Collections.Gene... | 1.74527 | 4d52bdd31f445afadac2ba581838e62d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6350 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "jonwingfield/Windsor",
"max_stars_repo_path": "src/Castle.Windsor/Windsor/Configuration/Interpreters/XmlProcessor/ElementProcessors/DefaultElementProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6351"
} | starcoder | <gh_stars>1-10
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICEN... | 2.038764 | 2e3424544b480c3aa707eca4acc94c55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6351 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "cnsuhao/OtterUI-1",
"max_stars_repo_path": "Tool/NAudio/NAudioTests/WindowsMedia/WindowsMediaTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6352"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using NAudio.WindowsMediaFormat;
using System.Runtime.InteropServices;
using System.IO;
namespace NAudioTests.WindowsMedia
{
[TestFixture]
public class WindowsMediaTests
{
private string testWm... | 2.27573 | 768c78f04d98981af87901736dbd6e32 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6352 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iAvinashVarma/GeeksforGeeks",
"max_stars_repo_path": "Middle/Factory/SortFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6353"
} | starcoder | <gh_stars>1-10
using GeeksForGeeks.Middle.Enum;
using GeeksForGeeks.Middle.Interface;
using GeeksForGeeks.Middle.Concrete.Sort;
using System.Collections.Generic;
using GeeksForGeeks.Middle.Observer;
namespace GeeksForGeeks.Middle.Factory
{
public class SortFactory
{
private static volatile SortFactory... | 2.517686 | 09b2b2435efafb49b73866dd7aaf829e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6353 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "cryogen/GlmSharp",
"max_stars_repo_path": "GlmSharp/GlmSharpCompat/Swizzle/swizzle_dvec2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6354"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using GlmSharp.Swizzle;
// ReSharper disable InconsistentNaming
namespace GlmSharp.Swizzle
{
/// <summary>
/// Temporary vector o... | 2.678233 | bad753bfadf4172930cb5768ae5efb67 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6354 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jmanuelcorral/cursoaspnetcore",
"max_stars_repo_path": "sesion8/colegio/colegio/Models/Alumno.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6355"
} | starcoder | <filename>sesion8/colegio/colegio/Models/Alumno.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace colegio.Models
{
public class Alumno : BaseModel<int>
{
public string Nombre { get; set; }
public string Apellidos { get; set; }
publ... | 1.963662 | 1becf6517349d76e939dee07b7f103b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6355 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "r1052/OpenNetLink",
"max_stars_repo_path": "src/OpenNetLinkApp/Services/SGAppUpdater/SGAppUpdaterService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6356"
} | starcoder | <reponame>r1052/OpenNetLink
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using System.Globalization;
using System.ComponentModel;
using System.Net;
using System.Net.Http;
using Syste... | 1.919911 | 1212e729d6020eedb34860cf47d2b9d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6356 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "grecosoft/NetFusion",
"max_stars_repo_path": "netfusion/src/Core/NetFusion.Bootstrap/Container/CompositeApp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6357"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using NetFusion.Base;
using NetFusion.Base.Logging;
using NetFusion.Bootstrap.Exceptions;
using NetFusion.Bootstrap.Health;
using NetFusion... | 2.256703 | 0cd9eb8c35f6b5fe72b0071d96d942db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6357 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "CaptainMuscles/RW_FacialStuff",
"max_stars_repo_path": "Source/RW_FacialStuff/Components/CompProperties_BodyAnimator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6358"
} | starcoder | using JetBrains.Annotations;
using System.Collections.Generic;
using UnityEngine;
using Verse;
namespace FacialStuff
{
// ReSharper disable UnassignedField.Global
// ReSharper disable StyleCop.SA1307
// ReSharper disable StyleCop.SA1401
// ReSharper disable InconsistentNaming
public class CompProp... | 1.933092 | b6e11f8f3009f73bb77683f35d26d094 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6358 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "AIFramework/AIFrameworkOpen",
"max_stars_repo_path": "AI/BackEnds/DSP/NWaves/Filters/ThiranFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6359"
} | starcoder | <gh_stars>1-10
using AI.BackEnds.DSP.NWaves.Filters.Base;
using AI.BackEnds.DSP.NWaves.Utils;
using System;
using System.Linq;
namespace AI.BackEnds.DSP.NWaves.Filters
{
/// <summary>
/// N-th order Thiran allpass interpolation filter for delay 'Delta' (samples)
///
/// N = 13
/// Delta = 13 + 0.... | 2.569353 | 626d8a6bee44b1aa8ca9cf3a306bd738 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6359 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hlebushek2020/YukoBot",
"max_stars_repo_path": "YukoClient/ViewModels/RenameChannelViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6360"
} | starcoder | <reponame>Hlebushek2020/YukoBot<filename>YukoClient/ViewModels/RenameChannelViewModel.cs
using Prism.Commands;
using Prism.Mvvm;
using System;
using System.Windows;
using YukoClient.Models;
using YukoClientBase.Interfaces;
using SUI = Sergey.UI.Extension;
namespace YukoClient.ViewModels
{
public class RenameChann... | 2.323788 | c943ee6229acb11164e4b4249c46071b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dpedwards/dotnet-core-restapi",
"max_stars_repo_path": "RESTfulAPI/RESTfulAPI/Extensions/UserViewModelMapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6361"
} | starcoder | <reponame>dpedwards/dotnet-core-restapi
// =======================================================
// Author: <NAME>
// Email: <EMAIL>
// Web:
// =======================================================
using RESTfulAPI.Core.EntityLayer;
using RESTfulAPI.ViewModels;
namespace RESTfulAPI.Extensions
{
/// <su... | 2.275525 | 914ecb822a721554ecd8ef256fd4d78a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6361 | {
"extension": "c-sharp",
"max_stars_count": "147.0",
"max_stars_repo_name": "0xced/serilog-sinks-console",
"max_stars_repo_path": "src/Serilog.Sinks.Console/Sinks/SystemConsole/Output/LevelTokenRenderer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6362"
} | starcoder | // Copyright 2017 Serilog Contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... | 1.957626 | 9ce4a3e50cd0039f1a33540282195609 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6362 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Lladruc37/Sergi_Guillem_Tanks_Assignment",
"max_stars_repo_path": "Assets/Scripts/AI/LowerAmmo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6363"
} | starcoder | <reponame>Lladruc37/Sergi_Guillem_Tanks_Assignment
using UnityEngine;
using Pada1.BBCore;
using Pada1.BBCore.Tasks;
using Pada1.BBCore.Framework;
[Action("MyActions/Lower Ammo")]
[Help("Decreases ammo by one")]
public class LowerAmmo : BasePrimitiveAction
{
[InParam("myself")]
public GameObject myself;
... | 1.81223 | 608f971b9db57628d3d9bf5ef2722df3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6363 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "En3Tho/Something-obviously-useless",
"max_stars_repo_path": "SomethingObviouslyUseless/En3Tho.ILHelpers/DynamicMethodBuilder/DynamicMethodExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6364"
} | starcoder | <reponame>En3Tho/Something-obviously-useless<gh_stars>1-10
using System;
using System.Reflection.Emit;
namespace En3Tho.ILHelpers.DynamicMethodBuilder
{
public static class DynamicMethodExtensions
{
public static T CreateDelegate<T>(this DynamicMethod method) where T : Delegate
{
... | 2.606534 | 8d14118a0b4455e1ff0d50e7396a2b65 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6364 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "CompassPHS/scurrynet",
"max_stars_repo_path": "src/Scurry.Scheduler.Service/Config.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6365"
} | starcoder | <filename>src/Scurry.Scheduler.Service/Config.cs
using Owin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Dispatcher;
namespace Scheduler.Service.Api.Setup
{
public class Co... | 2.075692 | 9f25d1669a93640c8f9ff681b3f25527 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6365 | {
"extension": "c-sharp",
"max_stars_count": "62.0",
"max_stars_repo_name": "MSchmoecker/Jotunn",
"max_stars_repo_path": "JotunnLib/DebugUtils/DebugHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6366"
} | starcoder | <reponame>MSchmoecker/Jotunn<gh_stars>10-100
using System;
using System.Linq;
using HarmonyLib;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
namespace Jotunn.DebugUtils
{
internal class DebugHelper : MonoBehaviour
{
private const string jtn = @"
__/\\__ __/\\___ __/\\... | 1.839598 | b4ce3d23ce121f41edd20f4f25826ec1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6366 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cleversolutions/DEnc",
"max_stars_repo_path": "DEnc/Encode/Encoder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6367"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.IO;
using System.Diagnostics;
using DEnc.Serialization;
using System.Threading;
namespace DEnc
{
/// <summary>
/// A construct for performing encode functions.
/// </summary>
public class Enco... | 2.740688 | 3bdc80144580a186863795a734b8ba3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6367 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "johnGuayTroya/ECYM",
"max_stars_repo_path": "EntrenamientoCognitivoYMas/EntrenamientoCognitivoYMas/Jugador.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6368"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EntrenamientoCognitivoYMas
{
class Jugador
{
private string _strNick;
private int _intAprendeEscribiendo;
private int _intPalabrasFla... | 2.407285 | 6749e2623fa564e27474ad753760fbb0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6368 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LaNsDiego/RePositorioUPTCapas",
"max_stars_repo_path": "Repositorio.Infraestructura.Datos/Mapeos/SubComunidadMapeo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6369"
} | starcoder | using Repositorio.Dominio.Entidades;
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Repositorio.Infraestructura.Datos.Mapeos
{
public class SubComunidadMapeo : EntityTypeConfiguration<SubCom... | 2.207191 | 40f9852899f35775940e91580ef810eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6369 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rakisaionji/TLAC_CSharp_1.01",
"max_stars_repo_path": "DivaHook/Emulator/Components/JvsEmulator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6370"
} | starcoder | using System;
using DivaHook.Emulator.Input;
using DivaHook.Emulator.Config;
using DivaHook.Emulator.Input.Ds4;
namespace DivaHook.Emulator.Components
{
public class JvsEmulator : IEmulatorComponent
{
private const long INPUT_STATE_STRUCT_PTR_ADDRESS = 0x0000000140CEF5E0L;
public J... | 2.127419 | 4bbe9bc7b285cee26a75f00fb45b4cbd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6370 | {
"extension": "c-sharp",
"max_stars_count": "2766.0",
"max_stars_repo_name": "palzj/OpenLiveWriter",
"max_stars_repo_path": "src/managed/OpenLiveWriter.PostEditor/PostHtmlEditing/Behaviors/ResizerControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6371"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
using OpenLiveWriter.CoreServices;
namespace OpenLiveWri... | 2.336815 | 68900c4a9f3ed0c1cc3ed134eae1eaef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6371 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nowhh01/music-store",
"max_stars_repo_path": "Music Store/Services/IReviewsService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6372"
} | starcoder | using Music_Store.Models.ViewModels;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Music_Store.Services
{
public interface IReviewsService
{
Task<IEnumerable<ReviewViewModel>> GetReviewsFromSongAsync(int songID, int startIndex, int reviewsCount);
Task AddReviewToIte... | 1.860264 | fc46f7f561539224131bf11b409c557e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6372 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "blaherrod/Meraki.Api",
"max_stars_repo_path": "Meraki.Api/Sections/Products/Insight/InsightApplicationsSection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6373"
} | starcoder | <filename>Meraki.Api/Sections/Products/Insight/InsightApplicationsSection.cs
namespace Meraki.Api.Sections.Products.Insight;
public class InsightApplicationsSection
{
public IInsightApplication Applications { get; internal set; } = null!;
public IInsightApplicationHealthByTime HealthByTime { get; internal set; } =... | 1.706032 | 104d71e00d96672f4fc16e69d538b300 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6373 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "activa/Xamarin.Forms",
"max_stars_repo_path": "Xamarin.Forms.Core/Shapes/SkewTransform.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6374"
} | starcoder | using System;
namespace Xamarin.Forms.Shapes
{
public class SkewTransform : Transform
{
public SkewTransform()
{
}
public SkewTransform(double angleX, double angleY)
{
AngleX = angleX;
AngleY = angleY;
}
public SkewTransform(double a... | 2.774664 | 42a9f509fed15307789603b0f88e91e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6374 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "happy-travel/supplier-request-logger",
"max_stars_repo_path": "HappyTravel.HttpRequestAuditLogger/Options/RequestAuditLoggerOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6375"
} | starcoder | <filename>HappyTravel.HttpRequestAuditLogger/Options/RequestAuditLoggerOptions.cs
using System;
using System.Net.Http;
using HappyTravel.HttpRequestAuditLogger.Models;
namespace HappyTravel.HttpRequestAuditLogger.Options
{
public class RequestAuditLoggerOptions
{
public string Endpoint { get; set; } =... | 1.951747 | 40521ad2dd2beec42677b75140b4d4dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6375 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "slango0513/Papagei",
"max_stars_repo_path": "Papagei.Common/Temp/ServiceCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6376"
} | starcoder | //using Papagei;
//using Microsoft.Extensions.DependencyInjection;
//using Microsoft.Extensions.DependencyInjection.Extensions;
//using Microsoft.Extensions.ObjectPool;
//using System;
//namespace Papagei
//{
// public class PooledEntityPolicy<T> : IPooledObjectPolicy<T> where T : Entity
// {
// private ... | 2.299499 | 177595f8d6a7059a21d7aad7bd827fd5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6376 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AbabeiAndrei/Gallery",
"max_stars_repo_path": "Gallery/App_Start/RouteConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6377"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace Gallery
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathI... | 2.040629 | 4f0b5ac01378a0bd916937910e24f2c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6377 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KirillSBarsukov/ProcessingApp",
"max_stars_repo_path": "ProcessingApp/Controllers/PropertyController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6378"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using Processing... | 2.487484 | 882838e879ccaecd5fdec67c5dfce141 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6378 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Creou/CreouDotCom",
"max_stars_repo_path": "CreouDotCom/Logging/ILogService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6379"
} | starcoder | <reponame>Creou/CreouDotCom<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CreouDotCom.Logging
{
public interface ILogService
{
void logException(System.Net.Mail.SmtpException ex);
void emailException(System.Net.Mail.Sm... | 1.642138 | c83bb8693f74d4b59df8637fe7179e7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6379 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "dimitarminchev/ITCareer",
"max_stars_repo_path": "01. Introduction to Programming/2018/Подготовка за практически изпит/ConsoleApp12/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6380"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp12
{
class Program
{
// 12. Магически числа
static void Main(string[] args)
{
var n = long.Parse(Console.ReadLine());
for (lo... | 3.350976 | 0292323786b546b7579790ac714c2e54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6380 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vidapogosoft/NetCore092021",
"max_stars_repo_path": "BLWA1/Repositorio/IRegistradoRepositorio.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6381"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BLWA1.Repositorio
{
public interface IRegistradoRepositorio
{
Task<HttpResponseWrapper<T>> GetRegistrados<T>(string url);
}
}
| 1.732813 | e6be31ea756ac36ff729358a222a4572 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6381 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thnetii/gh-actions-toolkit-dotnet",
"max_stars_repo_path": "src/THNETII.GitHubActions.Toolkit.Core/GhWorkflowCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6382"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Text;
using static THNETII.GitHubActions.Toolkit.Core.GhWorkflowCommandName;
namespace THNETII.GitHubActions.Toolkit.Core
{
public partial class GhWorkflowCommand
{... | 2.468725 | 028debbb7a5ea143f7f0aa4f992c0415 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6382 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hubuhutu/opencvsharp",
"max_stars_repo_path": "test/OpenCvSharp.Tests/img_hash/MarrHildrethHashTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6383"
} | starcoder | <reponame>hubuhutu/opencvsharp<gh_stars>1-10
using System;
using OpenCvSharp.ImgHash;
using Xunit;
namespace OpenCvSharp.Tests.ImgHash
{
public class MarrHildrethHashTest : TestBase
{
[Fact]
public void CreateAndDispose()
{
using (var model = MarrHildrethHash.Create())
... | 2.414163 | 585c486c1c89be57e77ae480caf7cbd0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6383 | {
"extension": "c-sharp",
"max_stars_count": "401.0",
"max_stars_repo_name": "gdianaty/HlslTools",
"max_stars_repo_path": "src/ShaderTools.CodeAnalysis.ShaderLab/Diagnostics/ShaderLabMessageProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6384"
} | starcoder | <reponame>gdianaty/HlslTools
using ShaderTools.CodeAnalysis.Diagnostics;
using ShaderTools.CodeAnalysis.ShaderLab.Properties;
namespace ShaderTools.CodeAnalysis.ShaderLab.Diagnostics
{
internal sealed class ShaderLabMessageProvider : MessageProvider
{
public static readonly ShaderLabMessageProv... | 1.556382 | 3a54d305f87dec79b1401f9a216d5339 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6384 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ViktorAleksandrov/SoftUni--CSharp-DB-Fundamentals",
"max_stars_repo_path": "Databases Advanced - Entity Framework/10. XML Processing/Product Shop/ProductShop.Data/ServerConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6385"
} | starcoder | <filename>Databases Advanced - Entity Framework/10. XML Processing/Product Shop/ProductShop.Data/ServerConfig.cs<gh_stars>0
namespace ProductShop.Data
{
public class ServerConfig
{
public const string ConnectionString =
@"Server=VIKTOR-PC\SQLEXPRESS;Database=ProductShop;Integrated Security=... | 1.989909 | 9a3961338e62698eba3cf5eab42f6973 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6385 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lurongkai/OasX",
"max_stars_repo_path": "OasX/Integration/ServiceModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6386"
} | starcoder | <gh_stars>0
using Autofac;
using OasX.Service.Impl;
using OasX.Service.Interfaces;
namespace OasX.Integration
{
public class ServiceModule : Module
{
protected override void Load(ContainerBuilder builder) {
builder.RegisterType<CourseService>().As<ICourseService>().InstancePerRequest();
... | 1.136458 | a358353b8d7c89f269d32cb14c714592 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6386 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mayuanyang/OctoPoC",
"max_stars_repo_path": "src/OctoPoC.Core/ReadmodelGeneration/AppSettingAuditableActor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6387"
} | starcoder | using System;
using Akka.Actor;
using OctoPoC.Messages.Events;
namespace OctoPoC.Core.ReadmodelGeneration
{
class AppSettingAuditableActor : ReceiveActor
{
public AppSettingAuditableActor(IAuditableSettingsRepo repo)
{
Receive<AppSettingAddedEvent>(x =>
{
... | 2.179873 | 547c5312c7520a2cab81f94479e3e7fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6387 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "anthonyhawes/protoactor-dotnet",
"max_stars_repo_path": "src/Proto.Persistence/SnapshotStrategies/TimeStrategy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6388"
} | starcoder | using System;
namespace Proto.Persistence.SnapshotStrategies
{
public class TimeStrategy : ISnapshotStrategy
{
private readonly TimeSpan _interval;
private readonly Func<DateTime> _getNow;
private DateTime _lastTaken;
public TimeStrategy(TimeSpan interval, Func<DateTime> getNow... | 2.799919 | 0f6fbfb685683e8934b2b2c1d624cd95 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6388 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Karunp/cocos2d-xna",
"max_stars_repo_path": "cocos2d/menu_nodes/CCMenuItemImage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6389"
} | starcoder | using System;
namespace Cocos2D
{
public class CCMenuItemImage : CCMenuItemSprite
{
public CCMenuItemImage() : this(null, null, null, null)
{
}
public CCMenuItemImage(string normalImage, string selectedImage)
:this(normalImage, selectedImage, null, null)
{
... | 2.484185 | 2c55566a24bfe73e5ff3818c57ab8af6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6389 | {
"extension": "c-sharp",
"max_stars_count": "575.0",
"max_stars_repo_name": "coderstrong/craftsman",
"max_stars_repo_path": "Craftsman/Builders/Tests/FunctionalTests/PutEntityTestBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6390"
} | starcoder | <filename>Craftsman/Builders/Tests/FunctionalTests/PutEntityTestBuilder.cs
namespace Craftsman.Builders.Tests.FunctionalTests
{
using Craftsman.Enums;
using Craftsman.Exceptions;
using Craftsman.Helpers;
using Craftsman.Models;
using System.Collections.Generic;
using System.IO;
using System... | 2.363311 | c77e2e052668c49074cfee2b13100940 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6390 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RichardWilliams/WinUsbRx",
"max_stars_repo_path": "WinUsbRx/Core/DeviceManagement/DeviceInterfaceDetail.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6391"
} | starcoder | <filename>WinUsbRx/Core/DeviceManagement/DeviceInterfaceDetail.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DeviceInterfaceDetail.cs" company="None">
// TODO:
// </copyright>
// <summary>
// Defines the DeviceInterface... | 2.376941 | 337d1282433ffbc76f3f5fd1e7ea943e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6391 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tonycknight/nomoretrolls",
"max_stars_repo_path": "src/nomoretrolls/Workflows/Reactions/BlacklistReplyTextGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6392"
} | starcoder | <gh_stars>0
namespace nomoretrolls.Workflows.Reactions
{
internal class BlacklistReplyTextGenerator : ReplyTextGenerator, IBlacklistReplyTextGenerator
{
private readonly string[] _formats;
public BlacklistReplyTextGenerator() : this(PickRandom())
{
}
public Bla... | 2.377858 | cd53344723b9b5b22be4e68486a55c23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6392 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Flexberry/NewPlatform.Flexberry.ORM.ODataService",
"max_stars_repo_path": "NewPlatform.Flexberry.ORM.ODataServiceCore/Formatter/Deserialization/ExtendedODataEntityDeserializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6393"
} | starcoder | <reponame>Flexberry/NewPlatform.Flexberry.ORM.ODataService<gh_stars>1-10
namespace NewPlatform.Flexberry.ORM.ODataService.Formatter.Deserialization
{
using System;
using System.Collections.Generic;
using Microsoft.AspNet.OData;
using Microsoft.AspNet.OData.Common;
using Microsoft.AspNet.OData.Form... | 2.268357 | 9841131ec82cc6e9ff04ac61e7c6be33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6393 | {
"extension": "c-sharp",
"max_stars_count": "226.0",
"max_stars_repo_name": "laurentkempe/GitDiffMargin",
"max_stars_repo_path": "GitDiffMargin.Shim/ModuleInitializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6394"
} | starcoder | namespace GitDiffMargin.Shim
{
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
internal static class ModuleInitializer
{
[ModuleInitializer]
internal static void Initialize()
{
try
... | 2.361104 | 2a0c6d3a7a98f0bba3b63d297807882d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6394 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Qowaiv/qowaiv-validation",
"max_stars_repo_path": "src/Qowaiv.Validation.DataAnnotations/AnnotatedModelValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6395"
} | starcoder | <reponame>Qowaiv/qowaiv-validation
using Qowaiv.Validation.Abstractions;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace Qowaiv.Validation.DataAnnotations
{
/// <summary>A validator to validate models based on thei... | 2.693733 | a8295db6573ad35338cce8fbf99caa2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6395 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-ILR-1819-ValidationService",
"max_stars_repo_path": "src/ESFA.DC.ILR.ValidationService.Rules.Tests/LearningDelivery/LearnDelFAMType/LearnDelFAMType_22RuleTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6... | starcoder | <filename>src/ESFA.DC.ILR.ValidationService.Rules.Tests/LearningDelivery/LearnDelFAMType/LearnDelFAMType_22RuleTests.cs
using ESFA.DC.ILR.Model.Interface;
using ESFA.DC.ILR.ValidationService.Interface;
using ESFA.DC.ILR.ValidationService.Rules.Constants;
using ESFA.DC.ILR.ValidationService.Rules.LearningDelivery.Learn... | 2.053974 | c9dfd59a80be4a28ea593d703c3ab585 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6396 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Zeodexic/tsorcRevamp",
"max_stars_repo_path": "Buffs/InCombat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6397"
} | starcoder | using Terraria;
using Terraria.ModLoader;
namespace tsorcRevamp.Buffs {
class InCombat : ModBuff {
public override void SetDefaults() {
DisplayName.SetDefault("In Combat");
Description.SetDefault("You are in combat.");
Main.debuff[Type] = true;
Main.buffNoTi... | 1.633732 | 86919c0bb411b649e7b3f7e10b49c3b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6397 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VenoMpie/KitchenSink",
"max_stars_repo_path": "VenoMpie.Common.Interfaces/GGn/SearchResults/UserRatioStats.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6398"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VenoMpie.Common.Interfaces.GGn.SearchResults.SubResults;
namespace VenoMpie.Common.Interfaces.GGn.SearchResults
{
public class UserRatioStats
{
public string uploaded { get; set; }... | 1.439097 | 073ef8b007bdc0d61eb4fda7ddff1720 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6398 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "PhillP/NSimulate",
"max_stars_repo_path": "src/NSimulate/SimulationContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6399"
} | starcoder | <filename>src/NSimulate/SimulationContext.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace NSimulate
{
/// <summary>
/// Context containing state information for a simulation
/// </summary>
public class SimulationContext : IDisposable
{
priva... | 2.872443 | 16935b936f1fe0d62f31b14514849213 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6399 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "tomitomi3/DVDPlayerBowlingSimulator",
"max_stars_repo_path": "DVDPlayerBowlingSimulator/BepuPhysics/Trees/Tree_Add.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6400"
} | starcoder | <gh_stars>1-10
using BepuUtilities;
using System.Numerics;
using System.Runtime.CompilerServices;
using System;
using System.Diagnostics;
using BepuUtilities.Memory;
namespace BepuPhysics.Trees
{
partial struct Tree
{
/// <summary>
/// Merges a new leaf node with an existing leaf n... | 2.645859 | 0b51fee0a72937eec775a23b0ebfe80f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6400 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "v-jaswel/cognitive-services-personalizer-samples",
"max_stars_repo_path": "demos/PersonalizerTravelAgencyDemo/PersonalizerTravelAgencyDemo/Views/Home/Partials/_LayoutC.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6401"
} | starcoder | <reponame>v-jaswel/cognitive-services-personalizer-samples
@model PersonalizerTravelAgencyDemo.Models.Action
<div class="hero-container">
@await Html.PartialAsync("_Image.cshtml", Model)
</div>
@await Html.PartialAsync("_ConfirmOrange.cshtml", Model)
<div class="row mt-4">
<div class="col-md-6 col-... | 1.735724 | 4673f907271b8f1b5b1a7285b973d010 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6401 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "karaivanska/Programming-Fundamentals",
"max_stars_repo_path": "Ext-Strings-and-Text-Processing-Exercises/jsonStringify/jsonStringify.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6402"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class jsonStringify
{
static void Main()
{
string input = Console.ReadLine();
StringBuilder output = new StringBuilder();
while (input != "stringify")
{
... | 3.389893 | 478000ffa3b517abd467781ebd1ef7f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6402 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jeanbern/Augury",
"max_stars_repo_path": "Augury.Tests/DAWG/DawgTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6403"
} | starcoder | using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Augury.Test.DAWG
{
[TestClass]
public class DawgTest : DawgTestBase<TestDawg>
{
protected override TestDawg CreateInstance(IEnumerable<string> words)
{
return new TestDawg(words);
... | 1.813859 | 578148e47cef0c6b608a3c7cb9420888 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6403 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "anthonychaussin/SQLScriptGenerator",
"max_stars_repo_path": "SQLScriptGenerator/Models/Table.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6404"
} | starcoder | <filename>SQLScriptGenerator/Models/Table.cs
using System;
using System.Collections.Generic;
namespace SQLScriptGenerator.Model
{
/// <summary>
/// Représentation d'une table SQL
/// </summary>
public class Table
{
/// <summary>
/// Nom de la base de donnée
/// </summary>
... | 3.300267 | 3f9264cc4514e2179c3475795ccb3176 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6404 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "KuraiAndras/Extenject.Microsoft",
"max_stars_repo_path": "Extenject.Microsoft/Assets/Extenject.Microsoft/DiTranslator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6405"
} | starcoder | <gh_stars>1-10
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Zenject;
namespace Extenject.Microsoft
{
public static class DiTranslator
{
public static DiContainer Translate(this IServiceCollection services, D... | 2.511576 | 859db9cdf33f9bb7785dbf85ddb9d922 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6405 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Blyth77/Assignment4",
"max_stars_repo_path": "Assignment4.Entities/User.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6406"
} | starcoder | <reponame>Blyth77/Assignment4
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Assignment4.Core;
namespace Assignment4.Entities
{
public class User
{
public int Id {get; set;}
[Required]
[StringLength(100)]
public string Name ... | 1.938128 | 81fc78c64b0c1d1b07500873956f5985 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6406 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DimitarVezalov/SenseIt",
"max_stars_repo_path": "Web/SenseIt.Web/Controllers/StoreController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6407"
} | starcoder | namespace SenseIt.Web.Controllers
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using SenseIt.Services.Data;
using SenseIt.Web.ViewModels.Products;
using static SenseIt.Common.GlobalConstants.Pagination;
public class StoreController : B... | 2.236714 | f37f531b1cdc9e00e56688ebe5b75ad4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6407 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "apetrut/structurizer",
"max_stars_repo_path": "src/tests/UnitTests/StructureBuilderTests/StructureBuilderGraphTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6408"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Structurizer;
namespace UnitTests.StructureBuilderTests
{
[TestClass]
public class StructureBuilderGraphTests : StructureBuilderBaseTests
{
public StructureBuilderGraphTests()
{
Builder = StructureBuilder.Create(c => c.R... | 2.763036 | e5d60332587978bec6c33d55d23875cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6408 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DynaSpan/html2openxml",
"max_stars_repo_path": "src/Html2OpenXml/HtmlConverter.ProcessTag.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6409"
} | starcoder | <gh_stars>0
/* Copyright (C) <NAME> https://github.com/onizet/html2openxml - All Rights Reserved
*
* This source is subject to the Microsoft Permissive License.
* Please see the License.txt file for more information.
* All other rights reserved.
*
* THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT W... | 1.924636 | 3b459a7fc8d8238cd205cf73fe582276 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6409 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "dimitarminchev/ITCareer",
"max_stars_repo_path": "07. Software Development/2019/1. MVC/ConsoleMVC/Model/Tip.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6410"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleMVC.Model
{
class Tip
{
private double amount;
public double Amount
{
get { return amount; }
set { amount = value; }
}
... | 3.261191 | e9252bb537fc0df969b10f53a2479bbd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6410 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "retinas/SELP",
"max_stars_repo_path": "EducationMaterialAccess/Src/Persistence/Migrations/20200108081237_1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6411"
} | starcoder | <filename>EducationMaterialAccess/Src/Persistence/Migrations/20200108081237_1.cs
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Persistence.Migrations
{
public partial class _1 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... | 1.902378 | f10ddf749e82312084f10fc59ac8e97c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6411 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Grille/CircuitToy",
"max_stars_repo_path": "CircuitLib/Math/Vec2Extension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6412"
} | starcoder | <filename>CircuitLib/Math/Vec2Extension.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
namespace CircuitLib.Math;
internal static class Vec2Extension
{
public static Vector2 Round(this Vector2 vec)
{
return... | 2.572867 | c07ea15cd0513b9a560ee8c33be34673 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6412 | {
"extension": "c-sharp",
"max_stars_count": "507.0",
"max_stars_repo_name": "JieGou/wpfspark",
"max_stars_repo_path": "WPFSpark/FluidPivotPanel/PivotItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6413"
} | starcoder | // Copyright (c) 2017 <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, including without limitation the rights
// to use, copy, modify, merge, publish, ... | 2.35704 | 38c2e1240e279b2a9ab1126e9567d8a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6413 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "erwincoumans/marathon-envs",
"max_stars_repo_path": "UnitySDK/Assets/MarathonEnvs/Scripts/StyleTransfer002Master.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6414"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using MLAgents;
using System;
public class StyleTransfer002Master : MonoBehaviour {
public float FixedDeltaTime = 0.005f;
public bool visualizeAnimator = true;
// general observations
public List<Muscle002... | 1.610543 | c86911f74ac244397d0021c10f8156d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6414 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ethereal77/stride",
"max_stars_repo_path": "sources/shaders/Stride.Core.Shaders/Ast/UnaryExpression.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6415"
} | starcoder | <gh_stars>0
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org)
// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net)
// Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// See the LICENSE.md file in the project root for full license inf... | 2.434527 | 6476bd7fd3b1dedf7b48a7cdf0487876 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6415 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "aFranchon/FrancoisSauce",
"max_stars_repo_path": "Assets/____FrancoisSauce/Scripts/___FSUtils/SmoothTransformConstraint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6416"
} | starcoder | <reponame>aFranchon/FrancoisSauce
using System;
using UnityEngine;
namespace FrancoisSauce.Scripts.FSUtils
{
/// <summary>
/// Script to make the gameObject's transform follow smoothly the target's transform.
/// FOR THE MOMENT ONLY USE 0 TIME TO FOLLOW
/// </summary>
public class SmoothTransformC... | 2.758622 | 62922a43eeaa994d94316f31412f790f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6416 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SchoolMasterNL/couchbase-net-client",
"max_stars_repo_path": "Src/Couchbase/Logging/ILog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6417"
} | starcoder | <filename>Src/Couchbase/Logging/ILog.cs<gh_stars>0
using System;
namespace Couchbase.Logging
{
public interface ILog
{
bool IsDebugEnabled { get; }
void Trace(string message, params object[] args);
void Trace(Exception exception);
void Trace(string message, Exception exception)... | 1.88993 | e70fc4c39077e4cab29ff9bbe999f921 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6417 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "szlatkow/itext7-dotnet",
"max_stars_repo_path": "itext/itext.kernel/itext/kernel/colors/gradients/GradientColorStop.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6418"
} | starcoder | /*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
AGPL licensing:
This program is free... | 2.435791 | 88de409787eef7d21315dca18c6d2f48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6418 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "LeRondPoint/FormsSkiaBikeTracker",
"max_stars_repo_path": "sample/Xamarin.Forms.SKMaps.Sample.Forms/Controls/CircledImageView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6419"
} | starcoder | // **********************************************************************
//
// CircledImageView.xaml.cs
//
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
//
// Copyright (c) 2017, <NAME>
//
// ***************************... | 2.150757 | 987087760e301548116a02ac4d82be43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6419 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "chulatelo/Ryujinx",
"max_stars_repo_path": "ARMeilleure/Instructions/InstEmitException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6420"
} | starcoder | <reponame>chulatelo/Ryujinx<gh_stars>1-10
using ARMeilleure.Decoders;
using ARMeilleure.Translation;
using static ARMeilleure.Instructions.InstEmitFlowHelper;
using static ARMeilleure.IntermediateRepresentation.OperandHelper;
namespace ARMeilleure.Instructions
{
static partial class InstEmit
{
public ... | 1.786454 | ea1e4e0007b3c7668c8ee07f6394ae2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6420 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zephyrrus/BloodDonation",
"max_stars_repo_path": "Angle/Views/Elements/Tour.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6421"
} | starcoder |
@{
ViewBag.Title = "Tour";
}
<h3>
Tour
<small>The easiest way to show people how to use your website.</small>
</h3>
<div class="container-fluid">
<button id="start-tour" class="btn btn-primary mb-lg">Start Tour!</button>
<div class="row">
<div class="col-lg-6">
<div id="tour-s... | 2.586768 | 3395f4a924122bd7597c45167c5b942a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6421 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "basegpu/dotnet-kafka",
"max_stars_repo_path": "src/KafkaDemo/Services/KafkaProducerService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6422"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using Confluent.Kafka;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace KafkaDemo.Services
{
public class KafkaProducerService : BaseService<KafkaProducerService>
{
private readonly IProducer<Null... | 2.640108 | aa737532217a38c8f609459c839b84cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6422 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "0x0AB/RPGCore",
"max_stars_repo_path": "src/RPGCore.Behaviour/Events/EventCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6423"
} | starcoder | using Newtonsoft.Json;
using RPGCore.View;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace RPGCore.Behaviour
{
[JsonObject]
public class EventCollection<TKey, TValue> : IEventCollection<TKey, TValue>, IDisposable, ISyncField
{
[JsonIgnore]
public EventColl... | 2.424933 | c7f51ebc9aef642053e45baa51b40dac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6423 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "felipebaltazar/Easy.Common",
"max_stars_repo_path": "Easy.Common/DiagnosticReport/NetworkDetails.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6424"
} | starcoder | // ReSharper disable once CheckNamespace
// ReSharper disable InconsistentNaming
namespace Easy.Common
{
using System.Net;
using System.Net.NetworkInformation;
/// <summary>
/// Represents the details of the network available in the local computer.
/// </summary>
public sealed class NetworkDet... | 2.55222 | ca7caf24272c495792abf6c5adabea4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6424 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "AaronFriel/pulumi-google-native",
"max_stars_repo_path": "sdk/dotnet/ContainerAnalysis/V1Beta1/Outputs/VulnerabilityLocationResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6425"
} | starcoder | <gh_stars>10-100
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
name... | 1.623028 | 6057adf7a26fd3799aae921d33356816 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6425 | {
"extension": "c-sharp",
"max_stars_count": "389.0",
"max_stars_repo_name": "ai408/abp-vue-admin-element-typescript",
"max_stars_repo_path": "aspnet-core/modules/lt/LINGYUN.Abp.LocalizationManagement.Domain/LINGYUN/Abp/LocalizationManagement/LocalizationStore.cs",
"provenance": "train-00000-of-00045.jsonl.gz... | starcoder | <reponame>ai408/abp-vue-admin-element-typescript<filename>aspnet-core/modules/lt/LINGYUN.Abp.LocalizationManagement.Domain/LINGYUN/Abp/LocalizationManagement/LocalizationStore.cs<gh_stars>100-1000
using LINGYUN.Abp.Localization.Dynamic;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Localiz... | 2.045694 | 00e17bc02747c15308c5e8985c80fe74 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6426 | {
"extension": "c-sharp",
"max_stars_count": "481.0",
"max_stars_repo_name": "trueai-org/module-shop",
"max_stars_repo_path": "src/server/src/Modules/Shop.Module.Catalog/Data/CatalogCustomModelBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6427"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Shop.Infrastructure;
using Shop.Infrastructure.Data;
using Shop.Infrastructure.Helpers;
using Shop.Module.Catalog.Entities;
using Shop.Module.Catalog.Models;
using Shop.Module.Core.Entities;
using Shop.Module.Core.Models;
namespace Shop.Module.Catalog.Data
{
public class... | 1.940505 | a0d8f45afca22d40faaec01c008009cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6427 | {
"extension": "c-sharp",
"max_stars_count": "54.0",
"max_stars_repo_name": "stormpath/stormpath-sdk-dotnet",
"max_stars_repo_path": "test/Stormpath.SDK.Tests.Common/Fakes/AbstractMockHttpClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6428"
} | starcoder | // <copyright file="AbstractMockHttpClient.cs" company="Stormpath, Inc.">
// Copyright (c) 2016 Stormpath, Inc.
//
// 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.apac... | 2.208692 | da0cff68d0e8d7bfdd2f3154e35905d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6428 | {
"extension": "c-sharp",
"max_stars_count": "133.0",
"max_stars_repo_name": "keikei14/MikuMikuLibrary",
"max_stars_repo_path": "MikuMikuLibrary/Geometry/BoundingSphere.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6429"
} | starcoder | <gh_stars>100-1000
using System.Numerics;
namespace MikuMikuLibrary.Geometry
{
public struct BoundingSphere
{
public Vector3 Center;
public float Radius;
public BoundingBox ToBoundingBox()
{
return new BoundingBox
{
Center = Center,
... | 2.808746 | 176998a5052e624142f9ce56c0967327 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6429 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ProphetLamb-Organistion/Roslynator",
"max_stars_repo_path": "src/Core/Empty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6430"
} | starcoder | <gh_stars>0
// Copyright (c) <NAME> and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
namespace Roslynator
{
internal static class Empty
{
public static IEnumerator<T> Enumerator<T>()
... | 1.624973 | 077d90e805e4970320f99acd998f64db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6430 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thoang126/RPG2D-92718-complete-special-craft",
"max_stars_repo_path": "Assets/uMMORPG/Addons/FhizAddOns/_Level 0/_UCE_Tools/Scripts/UCE_Tools.Classes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6431"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections.Generic;
using System.Linq;
using Mirror;
// =======================================================================================
// UCE POPUP - CLASS
// =======================================================================================
[System.Seria... | 1.137705 | ef6b13556ba9dac4bfb7f856d4c20f8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6431 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "EL-BID/nexso",
"max_stars_repo_path": "VS2013_PROJECT/NZPortalWeb/DesktopModules/Nexso/NZSolutionWizard/Settings.ascx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6432"
} | starcoder | using DotNetNuke.Entities.Modules;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DotNetNuke.Services.Exceptions;
using NexsoProBLL;
using NexsoProDAL;
using System.Threading;
using DotNetNuke.Services.Localization;
publ... | 2.028232 | 3e92b8565f65a086f75b42f65b0c883a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6432 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "gitter-badger/Printing-Pattern-Programs",
"max_stars_repo_path": "CSharp Pattern Programs/Alphabetic Patterns/Pattern 8.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6433"
} | starcoder | <reponame>gitter-badger/Printing-Pattern-Programs
using System;
class Pattern_19
{
public static void Main()
{
for (int i = 4;i >= 0;i--)
{
for (int j = 0;j <= i;j++)
{
Console.Write((char)(j + 65));
}
Console.WriteLine();
}
Console.ReadKey(true);
}
}
| 2.632135 | 04092a79d20767825af7f0afe9dc45d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nithinmohantk/Dotnet-Core-3.1-Microservice-Sample",
"max_stars_repo_path": "Contoso.Data/ContosoDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6434"
} | starcoder | <gh_stars>0
using Contoso.Data.Entities;
using Microsoft.EntityFrameworkCore;
using System;
namespace Contoso.Data
{
public class ContosoDbContext : DbContext
{
public DbSet<Job> Jobs { get; set; }
public DbSet<BatchProcessResult> Results { get; set; }
protected override void OnConfi... | 1.786799 | 8cca026ad74f7d306bc585840b2fee84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6434 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jeffthestrider/social-village-simulator",
"max_stars_repo_path": "SocialVillageSimulator/Parsers/IActionParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6435"
} | starcoder | using Jochum.SocialVillageSimulator.GameObjects;
namespace Jochum.SocialVillageSimulator.Parsers
{
public interface IActionParser
{
Interactions.ParsedAction GetAction(string actionText);
}
} | 1.813144 | 585409c9eb5c1d431049ca4d1b5f4f92 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6435 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pranav2196/PGManager",
"max_stars_repo_path": "PGManager.DataAccess/Repository/Repository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6436"
} | starcoder | <gh_stars>0
using PGManager.DataAccess.Data;
using PGManager.DataAccess.Repository.IRepository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using Microsoft.EntityFrameworkCore;
using System.Threading.Tasks;
namespace PGManager.DataAccess.Reposit... | 2.49741 | c6e3aee0524ec30701f2496c7505e31d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6436 | {
"extension": "c-sharp",
"max_stars_count": "1222.0",
"max_stars_repo_name": "peterthorpe81/MudBlazor",
"max_stars_repo_path": "src/MudBlazor.UnitTests/Components/RatingTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6437"
} | starcoder | <filename>src/MudBlazor.UnitTests/Components/RatingTests.cs
using System;
using System.Linq;
using Bunit;
using FluentAssertions;
using Microsoft.AspNetCore.Components.Web;
using NUnit.Framework;
namespace MudBlazor.UnitTests.Components
{
[TestFixture]
public class RatingTests : BunitTest
{
/// <... | 2.643715 | 4f2efaefd11ccdb6f6f0d2bff97c006b |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.