added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832912 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pmillsaps/zone.timemfg.com",
"max_stars_repo_path": "src/Orchard.Web/Modules/Time.Configurator/Controllers/SpecialCustomersController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152132"
} | starcoder | <reponame>pmillsaps/zone.timemfg.com
using Orchard;
using Orchard.Localization;
using Orchard.Themes;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using Time.Data.EntityModels.Configu... | 2.173831 | 0739f58faa7597e2aec1965e42b11a00 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832913 | {
"extension": "c-sharp",
"max_stars_count": "78.0",
"max_stars_repo_name": "Igor55x/UAAE",
"max_stars_repo_path": "AssetsAdvancedEditor/Utils/MsgBoxUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152133"
} | starcoder | using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace AssetsAdvancedEditor.Utils
{
public static class MsgBoxUtils
{
public static DialogResult ShowErrorDialog(string message)
{
return MessageBox.Show(message, @"ERROR", MessageBoxButtons.OK, MessageBoxIcon.Err... | 2.571157 | 14782f71cdde2c448ccadbb62bc89418 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832914 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "chrisw000/TA4N",
"max_stars_repo_path": "TA4N.Test/Indicators/Trackers/SMAIndicatorTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152134"
} | starcoder | <filename>TA4N.Test/Indicators/Trackers/SMAIndicatorTest.cs
/*
The MIT License (MIT)
Copyright (c) 2014-2016 <NAME> & respective authors (see AUTHORS)
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 Soft... | 2.28404 | c4b3aa9a9a12dc268ef750f40082e562 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832915 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "BlueMonk1107/Entitas-based-Elimination-Game",
"max_stars_repo_path": "Assets/Sources/Services/EntityService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152135"
} | starcoder | <gh_stars>1-10
using System.Reflection.Emit;
public class EntityService {
public RandomService randomService = RandomService.game;
public static EntityService singleton = new EntityService();
static readonly string[] _items = {
Res.RED_NAME,
Res.GREEN_NAME,
Res.BLUE_NAME,
... | 2.09123 | 9b278e22cf2a552bace0f989fd191a84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832916 | {
"extension": "c-sharp",
"max_stars_count": "344.0",
"max_stars_repo_name": "JamesChCh2/SharpLearning",
"max_stars_repo_path": "src/SharpLearning.InputOutput.Test/Csv/CsvParserTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152136"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SharpLearning.InputOutput.Csv;
namespace SharpLearning.InputOutput.Test.Csv
{
[TestClass]
public class CsvParserTest
{
[TestMethod]
public void CsvP... | 2.671462 | 9d856af37513523c89dc8e2336e141ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832917 | {
"extension": "c-sharp",
"max_stars_count": "129.0",
"max_stars_repo_name": "Zesix/Impulse",
"max_stars_repo_path": "Assets/Scripts/Inventory/UI/Utilities/ScrollBarIncrementer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152137"
} | starcoder | using System;
using UnityEngine;
using UnityEngine.UI;
public class ScrollBarIncrementer : MonoBehaviour
{
// Control parameters
public Scrollbar Target;
public ItemScrollerController MyItemScrollerComponent;
public void Increment()
{
if (Target == null ) throw new Exception("... | 2.63715 | 18469fa564b8c711ce9d3d2d59566040 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832918 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JohnnyKapps/fubumvc",
"max_stars_repo_path": "src/RemoteService/RemoteApplication.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152138"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using FubuMVC.Core.Services;
using FubuMVC.Core.Services.Messaging;
namespace RemoteService
{
public class RemoteGo
{
public Guid Id = Guid.NewGuid();
protected bool Equals(RemoteGo other)
... | 2.688319 | 23d577d3aa34d2588c092c75af5ad14f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832919 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "diogodanielsoaresferreira/Condominium",
"max_stars_repo_path": "Condominium_Manager/Condominium_Manager/ValueConverters/MultiBindingMonthQuota.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152139"
} | starcoder | <filename>Condominium_Manager/Condominium_Manager/ValueConverters/MultiBindingMonthQuota.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Media.I... | 2.678986 | 8b56ebdad5201160903f21ae04e3f18c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832920 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "guojianbin/ToolGood.Algorithm",
"max_stars_repo_path": "ToolGood.Algorithm/AlgorithmEngine.string.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152140"
} | starcoder | <filename>ToolGood.Algorithm/AlgorithmEngine.string.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace ToolGood.Algorithm
{
partial class AlgorithmEngine
{
private void AddStringFunction()
{
... | 2.798701 | e0c9d4dc7c70a7e51066206c4dde4e15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832921 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OguzhanC07/MoneyWatcher",
"max_stars_repo_path": "src/MoneyWatcher.Businness/JwtTools/IJwtService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152141"
} | starcoder | <reponame>OguzhanC07/MoneyWatcher
using MoneyWatcher.Entities.Concrete;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MoneyWatcher.Businness.JwtTools
{
public interface IJwtService
{
public JwtToken GenerateToken(User user... | 1.234232 | 1987563b175ce36d9af56e423c0d80ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832922 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "connectedhealthcities/consent",
"max_stars_repo_path": "src/CHC.Consent/CHC.Consent.EFCore/Configuration/AgencyEntityConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152142"
} | starcoder | <reponame>connectedhealthcities/consent
using CHC.Consent.EFCore.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace CHC.Consent.EFCore.Configuration
{
public class AgencyEntityConfiguration : IEntityTypeConfiguration<AgencyEntity>,
IEntityTypeCon... | 1.814656 | 8303c13209579d8382446e46d773209a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832923 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Pyknic/procedural-terrain",
"max_stars_repo_path": "scripts/ChunkInstance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152143"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using Godot;
public class ChunkInstance : MeshInstance
{
private readonly Chunk data;
private int surfaceId = -1;
public ChunkInstance() { } // Only used internally by Godot.
public ChunkInstance(Chunk chunk)
{
data = chunk;
... | 2.51582 | 5a96979a6535d081d68c7c210040d380 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832924 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tunjiadelana/AutomateThePlanet-Learning-Series",
"max_stars_repo_path": "TestCaseManager/Fidely/demo/DBViewer/ViewModels/DatabaseViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152144"
} | starcoder | <reponame>tunjiadelana/AutomateThePlanet-Learning-Series
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using Fidely.Demo.DBViewer.Models;
using System.Collections;
using Fidely.Framework;
namespace Fidely.Demo.DBViewer.ViewModels
{
publ... | 2.301452 | 2259cc768d2302151d963e81acbba0c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832925 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RixianOpenTech/RxWrappers",
"max_stars_repo_path": "Source/Wrappers/mscorlib/System.Runtime.InteropServices.UCOMIEnumConnectionPoints.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152145"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using MS.Core;
namespace System.Runtime.InteropServices
{
public static class __UCOMIEnumConnectionPoints
{
public static IObservable<Tuple<int, int>> Next(
this IObservable<Sy... | 2.105103 | 627ec879ffc217ac565f3ebbfe837509 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832926 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SeguraChain/SeguraChain",
"max_stars_repo_path": "SeguraChain-Lib/Instance/Node/Network/Database/Manager/ClassPeerCheckManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152146"
} | starcoder | <reponame>SeguraChain/SeguraChain
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using SeguraChain_Lib.Blockchain.Sovereign.Database;
using SeguraChain_Lib.Blockchain.Wallet.Function;
using SeguraChain_Lib.Instance.Node.Network.Enum.P2P.Status;
usin... | 1.886673 | 8229a6cf1299cebe258524634205d91d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832927 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ikde/acdown",
"max_stars_repo_path": "AcDown/AcPlay/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152147"
} | starcoder | <reponame>ikde/acdown
using System.Reflection;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("AcPlay弹幕播放器")]
[assembly: AssemblyDescription("AcPlay弹幕播放器")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Kaedei")]
[assembly: Assemb... | 2.203218 | cd94f4f020043e3fe631a480acf31028 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832928 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "passyweb/csharp-2021",
"max_stars_repo_path": "TodoList/TodoList.ConsoleUI/EfController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152148"
} | starcoder | <filename>TodoList/TodoList.ConsoleUI/EfController.cs
using TodoList.ConsoleUI.Data;
using System.Linq;
using static System.Console;
using TodoList.Logic;
using Microsoft.EntityFrameworkCore;
namespace TodoList.ConsoleUI
{
public class EfController
{
private readonly TodoListContext _context;
... | 3.327378 | 4b26cefb8ab579eb8977ec1d0c08b429 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832929 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ozdeger/BulletHell",
"max_stars_repo_path": "Assets/_Scripts/Player/MovementModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152149"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MovementModule : MonoBehaviour, IMovementModule
{
private float _moveSpeed;
private Rigidbody2D _rb;
private bool _active = true;
private Vector2 _dir;
private IEnumerator coroutine;
private void Sta... | 2.596901 | c8b5d7fe3236779eef32ce654cc5d3a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832930 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Infosys/Script-Control-Center",
"max_stars_repo_path": "WEMServices/WEM.DataAccess/WorkflowCategoryMasterDS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152150"
} | starcoder | /****************************************************************
Copyright 2021 Infosys Ltd.
Use of this source code is governed by Apache License Version 2.0 that can be found in the LICENSE file or at
http://www.apache.org/licenses/
***************************************************************/
using System;
u... | 2.34146 | 5d567c42193c427dc790a129b1a29122 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832931 | {
"extension": "c-sharp",
"max_stars_count": "708.0",
"max_stars_repo_name": "CyberFlameGO/MineCase",
"max_stars_repo_path": "src/MineCase.Server.Interfaces/Game/Light/ILightCollector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152151"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Text;
using Orleans;
namespace MineCase.Server.Game.Light
{
public interface ILightCollector : IGrainWithIntegerKey
{
}
}
| 1.072078 | 2436a8c831ade2f2e46c7822c4c5713a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832932 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "codedipper/WinBot",
"max_stars_repo_path": "Source/Commands/Images/OverlayCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152152"
} | starcoder | using System.IO;
using System.Net;
using System.Threading.Tasks;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using WinBot.Util;
using WinBot.Commands.Attributes;
using static WinBot.Util.ResourceManager;
using ImageMagick;
namespace WinBot.Commands.Images
{
public class OverlayComma... | 2.67482 | a49f8d22aeaba936874f26b8a4807198 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832933 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ekzyis/CrypTool-2",
"max_stars_repo_path": "CrypPluginsExperimental/WebService/AnimationController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152153"
} | starcoder | <gh_stars>10-100
using System;
using System.Windows.Controls;
using System.Windows.Threading;
namespace WebService
{
public class AnimationController
{
#region fields
private readonly WebServicePresentation _presentation;
private readonly DispatcherTimer _controllerTimer;
priv... | 2.439108 | a0a3865e7f18fbfb8ab5c930018a2890 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832934 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "STRockefeller/CodeName308",
"max_stars_repo_path": "CodeName308/Characters/TrustGameCharaters/Betrayer_TG.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152154"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CodeName308.Games.TrustGame;
using CodeName308.Storage;
namespace CodeName308.Characters.TrustGameCharaters
{
public class Betrayer_TG : TrustGameCharatersBase
{
public Betrayer_TG... | 2.474282 | c48252696351151b4bd5d0168bbac234 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832935 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "mtelligent/mtelligent",
"max_stars_repo_path": "Mtelligent/Web/HtmlHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152155"
} | starcoder | <filename>Mtelligent/Web/HtmlHelpers.cs<gh_stars>1-10
using System.Web.Mvc;
using Mtelligent.Entities;
namespace Mtelligent.Web
{
public static class HtmlHelpers
{
public static ExperimentSegment GetHypothesis(this HtmlHelper helper, string experimentName)
{
return ExperimentManager.Current.GetHypothesis(e... | 2.468477 | a00317db3c9d6f70d98cdaafc9bf4510 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832936 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Breakpoint21/hidrive-dotnet-sdk",
"max_stars_repo_path": "src/Kyrodan.HiDrive/Requests/UploadMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152156"
} | starcoder | namespace Kyrodan.HiDrive.Requests
{
public enum UploadMode
{
CreateOnly,
CreateOrUpdate,
}
} | 1.455511 | 19d90ce2e4ad8b7b267b93770783c0a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832937 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "beminee/pporise",
"max_stars_repo_path": "PPORise/Views/InventoryView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152157"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows... | 2.452536 | 69b5c87f87f63794b966dec1bce15aab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832938 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chi-rei-den/Silverfish",
"max_stars_repo_path": "cards/ULDUM/ULDA/Sim_ULDA_BOSS_65h.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152158"
} | starcoder | /* _BEGIN_TEMPLATE_
{
"id": "ULDA_BOSS_65h",
"name": [
"斯拉德",
"Thrud"
],
"text": [
"<i>总有人觉得潜行者一定要潜行。</i>",
"<i>And some people think rogues need to be sneaky.</i>"
],
"cardClass": "ROGUE",
"type": "HERO",
"cost": null,
"rarity": null,
"set": "ULDUM",
"collectible": null,
"dbfId"... | 1.810829 | 93bc4b89de4d2f4a7b1c7990403f27d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832939 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Guy-kun/KanColleViewer",
"max_stars_repo_path": "Grabacr07.KanColleViewer/Model/Toast.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152159"
} | starcoder | <filename>Grabacr07.KanColleViewer/Model/Toast.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Grabacr07.KanColleViewer.Win32;
using MS.WindowsAPICodePack.Internal;
using Microsoft.WindowsAPICodePack... | 2.505757 | 921060e313e9cd369e6eb418ba864923 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832940 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sharemee/DemoProjects",
"max_stars_repo_path": "DemoSolutionA/WebService/WebServiceOld/Demo.asmx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152160"
} | starcoder | <reponame>Sharemee/DemoProjects<filename>DemoSolutionA/WebService/WebServiceOld/Demo.asmx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Services;
using System.Xml;
using System.Xml.Serialization;
namespace WebServiceOld
{
/// <summary>
... | 2.211749 | 974152b0a1c082e133b70ec0135e25ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832941 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Korporal/hardware.esp8266",
"max_stars_repo_path": "Explorer/Steadsoft.RingBuffer/IAsyncIO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152161"
} | starcoder | <gh_stars>0
using System;
namespace Steadsoft.IO
{
/// <summary>
/// Provides access to an object's async begin/end methods for read and write operations.
/// </summary>
public interface IAsyncIO
{
IAsyncResult BeginRecv(byte[] buffer, int offset, int count, AsyncCallback callback, object... | 2.015531 | 47682d3035c9eadf26a3991a7ae86c6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832942 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Flutterish/sentakki",
"max_stars_repo_path": "osu.Game.Rulesets.Sentakki/Objects/Drawables/DrawableTouch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152162"
} | starcoder | <reponame>Flutterish/sentakki
using System.Diagnostics;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Objects.Drawables;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.Sentakki.Co... | 1.62372 | b89bbd3bd7a3aa18b3a19e3efdef6931 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832943 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cnkcplk/api-recruitment-be-test",
"max_stars_repo_path": "ApiApplication/Database/Entities/AuditoriumEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152163"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace ApiApplication.Database.Entities
{
public class AuditoriumEntity
{
public int Id { get; set; }
public List<ShowtimeEntity> Showtimes { get; set; }
public int Seats { get; set;... | 1.625871 | 6afe9c022d50238b7c1f6fcb1e321ac1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832944 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "prospa-group-oss/DotNetExtensions",
"max_stars_repo_path": "src/Prospa.Extensions.AspNetCore.Http/DelegatingHandlers/AccessTokenDelegatingHandlerOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152164"
} | starcoder | <filename>src/Prospa.Extensions.AspNetCore.Http/DelegatingHandlers/AccessTokenDelegatingHandlerOptions.cs
namespace Prospa.Extensions.AspNetCore.Http.DelegatingHandlers
{
public class AccessTokenDelegatingHandlerOptions
{
#pragma warning disable CS8618 // Non-nullable field is uninitialized. Consider declaring... | 1.955946 | abed4984b0302ac304bdd84d8a143a4e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832945 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sshrestha-design/GJam",
"max_stars_repo_path": "Assets/Script/RoateAtapoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152165"
} | starcoder | <filename>Assets/Script/RoateAtapoint.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RoateAtapoint : MonoBehaviour
{
public float degreesPerSec = 360f;
void Start() {
}
void Update() {
float rotAmount = degreesPerSec * Time.delt... | 2.380618 | 9616424960a1c58885f7ee2284b408db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zofia-Szybalska/EulerChallenges",
"max_stars_repo_path": "ProgramingChallenges/Project_Euler/Project_Euler/Euler5.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152166"
} | starcoder | <filename>ProgramingChallenges/Project_Euler/Project_Euler/Euler5.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace Project_Euler
{
class Euler5
{
public static void Calculate()
{
Stopwatch stopwatch = Stopwatch.StartNew();
... | 3.485145 | cbc26e88c8410d3262a9eff7c9361e47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832947 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "renehugentobler/ClientManager",
"max_stars_repo_path": "EmptyWebApiProject/Models/Dial800_Call.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152167"
} | starcoder | <reponame>renehugentobler/ClientManager<filename>EmptyWebApiProject/Models/Dial800_Call.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text;
using System.Runtime.Serialization;
namespace EmptyWebApiProject.Models
{
/// <summary>
/// Represents a single Dia... | 2.019074 | 4703d529a207c5449f897dacfbe026de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832948 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EOP-OMB/CATSV3",
"max_stars_repo_path": "Server/Mod.CatsV3.Server/Mod.CatsV3.Domain/Interfaces/ICorrespondenceRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152168"
} | starcoder | using Mod.CatsV3.Domain.Entities;
using Mod.Framework.Domain.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace Mod.CatsV3.Domain.Interfaces
{
public interface ICorrespondenceRepository : IRepository<Correspondence>
{
... | 1.972219 | 163a82a194e7fe0207737176fabf0475 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832949 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "tailored-apps/GoodREST.IO",
"max_stars_repo_path": "src/Extensions/GoodREST.Extensions.HealthCheck/Messages/CheckResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152169"
} | starcoder | using System.Collections.Generic;
using GoodREST.Interfaces;
namespace GoodREST.Extensions.HealthCheck.Messages
{
public class CheckResponse : IResponse
{
public string Message { get; set; }
public int HttpStatusCode { get; set; }
public string HttpStatus { get; set; }
public I... | 1.692342 | f3d84ca4b9bca8dfaa939b6fe5e6c9aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832950 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mwlopez/hackaton-ifm-cr",
"max_stars_repo_path": "APILotes/Models/Pago.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152170"
} | starcoder | <reponame>mwlopez/hackaton-ifm-cr
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace APIProgramathon.Models
{
public class Pago
{
public string Id { set; get;}
public string FirstName { set; get; }
public string LastName { set; get; }
... | 1.618424 | ab80d48865c180df208c8cd452dc76e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832951 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mikedamay/SimpleIOCContainer",
"max_stars_repo_path": "PureDITest/TestData/NamedDependencies.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152171"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PureDI;
using PureDI.Attributes;
// this module is not compiled as part of the project. It is embedded as a resource.
namespace IOCCTest.TestData
{
[Bean(Name="dep-name-abc")]
public clas... | 1.970616 | cc3f1b82c636d1099e3f6c3dbcf0929a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832952 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "riQQ/MTGAHelper-Windows-Client",
"max_stars_repo_path": "MTGAHelper.Lib.OutputLogParser.Models/GRE/MatchToClient/SubmitDeckReqResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152172"
} | starcoder | using MTGAHelper.Lib.OutputLogParser.Models.GRE.MatchToClient.SubmitDeckReq;
namespace MTGAHelper.Lib.OutputLogParser.Models.GRE.MatchToClient
{
public class SubmitDeckReqResult : MtgaOutputLogPartResultBase<SubmitDeckReqRaw>, ITagMatchResult
{
//public override ReaderMtgaOutputLogPartTypeEnum ResultT... | 1.296495 | 8138e8ae11c58f065d6dbcef49723873 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832953 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EdutechSRL/Adevico",
"max_stars_repo_path": "3-Business/2-Core/lm.Comol.Core.DomainModel/Tag/Domain/TagItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152173"
} | starcoder | using lm.Comol.Core.DomainModel;
using lm.Comol.Core.DomainModel.Languages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace lm.Comol.Core.Tag.Domain
{
[Serializable]
public class TagItem : lm.Comol.Core.DomainModel.DomainBaseObjectLiteMetaInfo<long>
{
... | 1.818341 | 7b485fb6e7dc9a2bb3aafea10fb7bb8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832954 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deyanstoyanov10/Clothes-Store",
"max_stars_repo_path": "ClothingStore.Server/ClothingStore.Server/Features/Categories/Models/CategoriesListingServiceModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152174"
} | starcoder | namespace ClothingStore.Server.Features.Categories.Models
{
using ClothingStore.Server.Data.Enums;
public class CategoriesListingServiceModel
{
public int CategoryId { get; set; }
public Type Type { get; set; }
public string TypeName { get; set; }
public string Name { ge... | 1.659536 | e5b759b6f80e88f2a0f7d9babd62f71c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832955 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "axionbio/SpiceSharp",
"max_stars_repo_path": "SpiceSharpTest/Simulations/TransientTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152175"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using NUnit.Framework;
using SpiceSharp;
using SpiceSharp.Components;
using SpiceSharp.IntegrationMethods;
using SpiceSharp.Simulations;
using SpiceSharpTest.Models;
namespace SpiceSharpTest.Simulations
{
[TestFixture]
public class TransientTests : F... | 2.042278 | 8fd4cffe39231cf44e6b3e0216c79694 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832956 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CadeXLegend/Experimental_Game_01",
"max_stars_repo_path": "Experimental_Game_01/Assets/Tests/Grid Generation Tests/GridGeneratorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152176"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
using Generation;
using UnityEditor.SceneManagement;
namespace Tests
{
public class GridGeneratorTests
{
// A Test behaves as an ordinary method
[Test]
pub... | 2.081108 | 82eae7669d75dd67a2df3265528c28c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832957 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ozturkmuslum/Abp.AspNetCore.Mvc.UI.Theme.AdminLTE",
"max_stars_repo_path": "Pages/TenantManagement/Tenants/ConnectionStringsModal.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152177"
} | starcoder | <filename>Pages/TenantManagement/Tenants/ConnectionStringsModal.cshtml.cs
using Volo.Abp.TenantManagement;
namespace Prometyum.Abp.AspNetCore.Mvc.UI.Theme.AdminLTE.Pages.TenantManagement.Tenants
{
public class ConnectionStringsModal : Volo.Abp.TenantManagement.Web.Pages.TenantManagement.Tenants.ConnectionStringsMo... | 1.161473 | bd2e44919ad053685a720f8cfe1ec699 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PatchesTheFirst/SimpleAuth",
"max_stars_repo_path": "src/SimpleAuth/Helpers/UrlUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152178"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Text;
using System.Web;
using System.Linq;
namespace SimpleAuth
{
public static class UrlUtility
{
public static Uri AddParameters (this Uri url, string name, string value)
{
return url.AddParameters (new Dicti... | 3.005479 | 79492fe38f88e52ba147ea9498469f1d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832959 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "danibaptista/MicroserviceWithGraphQL",
"max_stars_repo_path": "MicroserviceTemplate/MyDDDBuildingBlocks/DDD.Domain.Core/SeedWork/IEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152179"
} | starcoder | namespace DDD.Domain.Core.SeedWork
{
public interface IEntity<TKey>
{
TKey Id { get; }
}
} | 1.860609 | c8be16bd9921d169852cb4464950509d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832960 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Dbo-Kt69/Ryujinx",
"max_stars_repo_path": "Ryujinx.Graphics.Nvdec/NvdecDecoderContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152180"
} | starcoder | using Ryujinx.Graphics.Nvdec.H264;
using System;
namespace Ryujinx.Graphics.Nvdec
{
class NvdecDecoderContext : IDisposable
{
private Decoder _decoder;
public Decoder GetDecoder()
{
return _decoder ??= new Decoder();
}
public void Dispose()
{
... | 1.777808 | 0465ff84f5080cd640f3e71ca929b385 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832961 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanieleScipioni/TestApp",
"max_stars_repo_path": "TestAppUWP.AppShell/Samples/Controls/IncrementalGroupedListViewHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152181"
} | starcoder | using System;
using System.Threading.Tasks;
using TestAppUWP.View;
using TestAppUWP.View.Interactivity;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Data;
namespace TestAppUWP.AppShell.Samples.Controls
{
public class IncrementalGroupedListViewHelper : Behavior
{
private... | 2.457447 | 37326073245e0d7cae6947813956f55a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832962 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "docusign/docusign-admin-csharp-client",
"max_stars_repo_path": "sdk/src/DocuSign.Admin/Model/UpdateMembershipRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152182"
} | starcoder | /*
* DocuSign Admin API
*
* An API for an organization administrator to manage organizations, accounts and users
*
* OpenAPI spec version: v2.1
* Contact: <EMAIL>
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using Sy... | 1.98219 | 63fc13e89ff5cd91b2691c654bbbffdc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832963 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryanheath/ravendb",
"max_stars_repo_path": "src/Raven.Server/Web/Studio/StudioIndexHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152183"
} | starcoder | <gh_stars>1-10
using System;
using System.Threading.Tasks;
using Raven.Client.Documents.Indexes;
using Raven.Client.Exceptions.Documents.Compilation;
using Raven.Server.Documents;
using Raven.Server.Documents.Indexes.Static;
using Raven.Server.Routing;
using Raven.Server.ServerWide.Context;
using Sparrow.Json;... | 1.981184 | f8b3b351be21cad59f409c0bb802b570 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832964 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "gratinierer/Innovator.Client",
"max_stars_repo_path": "src/Innovator.Client/QueryModel/AmlJoin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152184"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Innovator.Client.QueryModel
{
internal class AmlJoin
{
public PropertyReference CurrentProp { get; private set; }
public PropertyReference OtherProp { get; private set; }
public... | 2.589512 | 87dc05e66159517844ccc1436e3f423b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832965 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ERGeorgiev/TrAIngle",
"max_stars_repo_path": "TrAIngle Unmodified/Assets/Scripts/Experimental/VectorExt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152185"
} | starcoder | <reponame>ERGeorgiev/TrAIngle
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace EdsLibrary
{
namespace Math
{
public class VectorExt : MonoBehaviour
{
///<summary>
///Returns a directional vector with an optional exact distance.
... | 2.468553 | 1648662b47d6dfedb833d99a30babe83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832966 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "austinkeller/pwiz",
"max_stars_repo_path": "pwiz_tools/Skyline/Executables/BuildMethod/BuildBrukerMethod/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152186"
} | starcoder | <filename>pwiz_tools/Skyline/Executables/BuildMethod/BuildBrukerMethod/Program.cs
using System;
using System.Collections.Generic;
using System.Data;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using BDAL.RetentionTimeMassList;
namespace BuildBrukerMethod
{
interna... | 2.890596 | c2204a8e8d5108ecc7b728c0971b1959 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832967 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ly774508966/samurai",
"max_stars_repo_path": "samurai/Assets/Scripts/GOAP/Actions/GOAPActionKnockdown.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152187"
} | starcoder | <filename>samurai/Assets/Scripts/GOAP/Actions/GOAPActionKnockdown.cs
using System;
using UnityEngine;
class GOAPActionKnockdown : GOAPAction
{
public GOAPActionKnockdown(Agent owner) : base(GOAPActionType.KNOCKDOWN, owner) { }
public override bool IsPreConditionSatisfied(WorldState ws)
{
... | 2.231572 | 0d08d9726ca820522720c9eeeb2f95cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832968 | {
"extension": "c-sharp",
"max_stars_count": "807.0",
"max_stars_repo_name": "sanmen359/abp-samples",
"max_stars_repo_path": "AcmeBookStoreAngularMaterial/aspnet-core/src/Acme.BookStore.AngularMaterial.Application/AngularMaterialAppService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152188"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Acme.BookStore.AngularMaterial.Localization;
using Volo.Abp.Application.Services;
namespace Acme.BookStore.AngularMaterial
{
/* Inherit your application services from this class.
*/
public abstract class AngularMaterialAppService : ... | 1.799461 | 83d2ab0b9ff6da126c9deb5077af6bdf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832969 | {
"extension": "c-sharp",
"max_stars_count": "90.0",
"max_stars_repo_name": "mitchelsellers/iis-docs",
"max_stars_repo_path": "iis/manage/provisioning-and-managing-iis/provisioning-sample-in-c/samples/sample6.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152189"
} | starcoder | public static bool CreateWebSite(string siteName)
{
try
{
if (string.IsNullOrEmpty(siteName))
{
throw new ArgumentNullException("siteName", "CreateWebSite: siteName is null or empty.");
}
//get the server manager instance
using (ServerManager mgr = new ServerManager())
{
... | 2.645378 | 3ba5e8f0095f08aba5a97c2ee2ff7d6b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832970 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JuanHeza/Elements",
"max_stars_repo_path": "Elements/ComicReader.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152190"
} | starcoder | <filename>Elements/ComicReader.Designer.cs
namespace Elements
{
partial class ComicReader
{
/// <summary>
/// Variable del diseñador necesaria.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpiar los recursos qu... | 2.163766 | 2ca6bae8e1d61da43566a436e1b7bb4e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832971 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "matis-87/Delki",
"max_stars_repo_path": "Regions/Services/NewDelegation/IUpperNameNormalize.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152191"
} | starcoder | <reponame>matis-87/Delki<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Regions.Services.NewDelegation
{
public interface IUpperNameNormalize
{
string NormalizeNameToUpper(string FirstName);
}
}
| 1.623097 | 385a549cc740784fc30770a17aba1c2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832972 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JimBobSquarePants/Umbraco.FileSystemAbstractions",
"max_stars_repo_path": "src/Media.Core/FileSystemImageResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152192"
} | starcoder | // Copyright (c) <NAME>.
// See LICENSE for more details.
using System.IO;
using System.Threading.Tasks;
using FileSystem.Abstractions;
using SixLabors.ImageSharp.Web;
using SixLabors.ImageSharp.Web.Resolvers;
namespace Media.Core
{
/// <summary>
/// An image resolver that uses an <see cref="IFileSystemEntry"... | 2.51287 | a2650c0d8461e9831f3a549f76c5e5f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832973 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "Kayserheimer/Dynamics-Crm-DevKit",
"max_stars_repo_path": "test/v.2.12.31/TestAllEntities/All/Dev.DevKit.Shared/Entities/Queue.generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152193"
} | starcoder | //---------------------------------------------------------------------------------------------------
// <auto-generated>
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// Generated by DynamicsCrm.DevKit - https://github.com/phuocle/Dynamics-Crm-DevKit
// </auto-gen... | 1.634848 | dc8297b64aafe3a4c8bf86a562601a9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832974 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fpereiracalvo/fjv-xcpu",
"max_stars_repo_path": "xCPU/CodeProvider/Commons/RegisterType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152194"
} | starcoder | <reponame>fpereiracalvo/fjv-xcpu
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Fjv.xCPU.CodeProvider.Commons
{
public abstract class RegisterType : ICommonType
{
public string Mnemonic { get; set; }
publ... | 2.259183 | 185a680b4af1c3cbda0247c203b6f871 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832975 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "manju-summoner/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/um/wincrypt/CERT_CHAIN_FIND_BY_ISSUER_PARA.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152195"
} | starcoder | <reponame>manju-summoner/terrafx.interop.windows<gh_stars>0
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/wincrypt.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rig... | 1.048939 | 704e3b5dd001c3d06094a8a7fa19522c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832976 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "erickmp07/ScreenToGif",
"max_stars_repo_path": "ScreenToGif/Util/Serializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152196"
} | starcoder | <filename>ScreenToGif/Util/Serializer.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Threading.Tasks;
namespace ScreenToGif.Util
{
/// <summary>
/// Serializer class. Con... | 3.327939 | 8c45f0c207787fd08ca74e9a740d77a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832977 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iulian-rusu/ip-proiect",
"max_stars_repo_path": "SeeSharper/Strategy/CircleStrategy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152197"
} | starcoder | <filename>SeeSharper/Strategy/CircleStrategy.cs<gh_stars>1-10
/**************************************************************************
* *
* File: CircleStrategy.cs *
* Copyright: (c) 2021, <N... | 3.07425 | 2571238c772940f38e6db58fb91e7337 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832978 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "andretoll/ENBManager",
"max_stars_repo_path": "ENBManager.Infrastructure/Constants/Urls.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152198"
} | starcoder | namespace ENBManager.Infrastructure.Constants
{
public static class Urls
{
public const string ENBDEV = "http://enbdev.com/download.html";
public const string SOURCE_CODE = "https://github.com/andretoll/ENBManager";
}
}
| 1.62512 | a29552e19892e7ffd828f702307c9a71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832979 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scottbilas/OkTools",
"max_stars_repo_path": "Core/NativeUnix.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152199"
} | starcoder | using System.Runtime.InteropServices;
// ReSharper disable StringLiteralTypo CommentTypo IdentifierTypo
// ReSharper disable FieldCanBeMadeReadOnly.Local
// ReSharper disable MemberCanBePrivate.Local
// ReSharper disable InconsistentNaming
namespace OkTools.Core;
// $ do not use #if's for platforms. keep the binarie... | 2.520885 | 4f217ae15bf72da39d14f4f123aa3f9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832980 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MiroslavMaluseyko/DungeonGenerator",
"max_stars_repo_path": "Assets/Scripts/Generator/Vertex.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152200"
} | starcoder | <gh_stars>0
using UnityEngine;
namespace Graphs
{
public class Vertex
{
public Vector3 Position { get; private set; }
public Vertex(Vector3 pos)
{
Position = pos;
}
public Vertex(Vertex v)
{
Position = v.Position;
}
pu... | 2.727467 | 4e0eca853e7a8a3d9662fcca88634a16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832981 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "estenrye/vault-mssql-example",
"max_stars_repo_path": "app-example/vault-example/Models/TodoItemDbContextFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152201"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Configuration;
using System;
using Tools;
namespace vault_example.Models
{
public class TodoItemDbContextFactory : ITodoItemDesignTimeDbContextFactory, IDesignTimeDbContextFactory<TodoItemDbContext>
{
... | 2.299443 | 440de45ebee6960b8b9ad8671bc4a87b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832982 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RobertLeisner/Bodoconsult.Core.ExpressionBuilder",
"max_stars_repo_path": "Bodoconsult.Core.ExpressionBuilder/Attributes/SupportedOperationsAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152202"
} | starcoder | <filename>Bodoconsult.Core.ExpressionBuilder/Attributes/SupportedOperationsAttribute.cs
using System;
using System.Collections.Generic;
using Bodoconsult.Core.ExpressionBuilder.Common;
namespace Bodoconsult.Core.ExpressionBuilder.Attributes
{
// Based on ExpressionBuilder by <NAME>
// See: https://github.com/... | 2.33541 | 19898f82f4595d0242812bb8c9f97554 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832983 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "gaulinsoft/fusion",
"max_stars_repo_path": "examples/bundle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152203"
} | starcoder | <filename>examples/bundle.cs
using System.Web.Optimization;
using Gaulinsoft.Web.Fusion;
using Gaulinsoft.Web.Optimization;
public class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
{
// Create the fusion bundle and add it to the bundles collection
bundles.Add(ne... | 1.732382 | b489ee0f9ba6f5e89b72ccdf1ba94017 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832984 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lordimpi/Shooping-.NET-6",
"max_stars_repo_path": "Shooping/Shooping/Views/Countries/_ViewAllCities.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:152204"
} | starcoder | @model Shooping.Data.Entities.State
<flash dismissable="true" />
<table class="table table-striped table-responsive-md table-bordered smfont" id="StatesTable">
<colgroup>
<col span="1" />
<col span="1" />
</colgroup>
<thead>
<tr>
<th>
@Html.DisplayNameF... | 2.468999 | f4d8609b483b70131bf0aa61f8a59645 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832985 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aspekt1024/Mingler",
"max_stars_repo_path": "Assets/Scripts/CoreApp/SwipeProfilesScreen/SwipableProfiles/Jasmine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152205"
} | starcoder | <reponame>Aspekt1024/Mingler<filename>Assets/Scripts/CoreApp/SwipeProfilesScreen/SwipableProfiles/Jasmine.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Jasmine : SwipableProfile {
}
| 0.958842 | 6d7c9aa29ca1b5a8e186ddb420e3aef4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832986 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "Reddit-Mud/RMUD",
"max_stars_repo_path": "Core/Core/Parser/CommandFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152206"
} | starcoder | <reponame>Reddit-Mud/RMUD
using System;
using System.Collections.Generic;
//using System.Linq;
//using System.Text;
using System.Reflection;
namespace RMUD
{
public partial class CommandFactory
{
public virtual void Create(CommandParser Parser)
{
throw new NotImplementedException();
}
public... | 2.187603 | f787f026be7ffeca21a9bdd2a53e8e74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832987 | {
"extension": "c-sharp",
"max_stars_count": "792.0",
"max_stars_repo_name": "badrshs/aspnetcore",
"max_stars_repo_path": "src/Razor/Microsoft.AspNetCore.Razor.Language/src/DirectiveDescriptor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152207"
} | starcoder | <reponame>badrshs/aspnetcore<filename>src/Razor/Microsoft.AspNetCore.Razor.Language/src/DirectiveDescriptor.cs
// Copyright(c) .NET Foundation.All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Gen... | 2.457169 | 5e39c044afa3c2a158b456a8f7078b09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832988 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "envis10n/XeonProject",
"max_stars_repo_path": "XeonStorage/Database.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152208"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using System.Text;
using XeonCommon.Storage;
using Newtonsoft.Json;
using XeonCommon.IO;
using XeonCommon;
namespace XeonStorage
{
[JsonDictionary]
public class Document : DBDocument
{
public override object this[string index]... | 2.625673 | 87b871ef28a33affeb1a84fec519cb29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832989 | {
"extension": "c-sharp",
"max_stars_count": "300.0",
"max_stars_repo_name": "WeihanLi/dotnet-monitor",
"max_stars_repo_path": "src/Tests/Microsoft.Diagnostics.Monitoring.Tool.UnitTests/CollectionRules/Triggers/TriggersServiceCollectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152209"
} | starcoder | <reponame>WeihanLi/dotnet-monitor
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.Diagnostics.Tools.Monitor;
using Microsoft.Extensions.DependencyI... | 1.526831 | d644d1f16a2e3e9dd778cea41c77760b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832990 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dstanko1967/Entity_Framework_Srucni_rad",
"max_stars_repo_path": "MVC app and JSON web api/Controllers/StudentController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152210"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Skola.Models;
namespace Skola.Controllers
{
public class StudentController : Controller
{
static Studenti[] student ... | 2.213474 | 0d9a2654a7c82f686324d88a96451aaa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832991 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ethereal77/stride",
"max_stars_repo_path": "sources/assets/Stride.Core.Assets/Yaml/ItemIdSerializerBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152211"
} | starcoder | // 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 information.
u... | 2.114428 | bdc07e6e4918605a8dfe17baadfb4aa7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832992 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mandrae/oom",
"max_stars_repo_path": "tasks/task4/task4/Deceased.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152212"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace task4
{
class Deceased : IPerson
{
private string basestatus = "Deceased";
private string lastname, firstname; // privately stored i... | 2.964501 | 89537c2ba6401386ff3553c31de4b780 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832993 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhangzheng1205/MachineVisionLibrary",
"max_stars_repo_path": "ComCommunicator/ComCommunicator/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152213"
} | starcoder | <reponame>zhangzheng1205/MachineVisionLibrary<filename>ComCommunicator/ComCommunicator/Form1.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Time... | 1.779215 | e250487e51827a37310edfc47a7d660e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832994 | {
"extension": "c-sharp",
"max_stars_count": "227.0",
"max_stars_repo_name": "ckalvin-hub/Sheng.Winform.IDE",
"max_stars_repo_path": "SourceCode/Source/EnterpriseLibrary/Data/Tests/Data.Tests/Instrumentation/InstrumentationEventBroadcastFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152214"
} | starcoder | /*********************************************
作者:曹旭升
QQ:279060597
访问博客了解详细介绍及更多内容:
http://blog.shengxunwei.com
**********************************************/
using System;
using System.Data;
using System.Data.SqlClient;
using Microsoft.Practices.EnterpriseLibrary.Common.Instrumentat... | 1.762769 | 9f4c2c2be68c5ad863577b1c83c9bd29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832995 | {
"extension": "c-sharp",
"max_stars_count": "552.0",
"max_stars_repo_name": "Casey-Hofland/Quest-System-Pro",
"max_stars_repo_path": "Assets/Devdog/QuestSystemPro/Scripts/Spawner/Distribution/PerlinNoiseSpawnerVolume.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152215"
} | starcoder | using Devdog.General;
using UnityEngine;
namespace Devdog.QuestSystemPro
{
public class PerlinNoiseSpawnerVolume : WeightedTextureSpawnerVolume
{
[Range(0.2f, 30f)]
public float noiseScale = 0.05f;
[Range(0f, 1f)]
public float cutoff;
[Range(0f, 10f)]
public f... | 2.677273 | 986e5c993b3cdc8a739c4e9af2e61532 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832996 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "verloka/EF6FromZero",
"max_stars_repo_path": "src/Chapter_4/Core/SimpleDataContextInitializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152216"
} | starcoder | using System.Data.Entity;
namespace Chapter_4.Core
{
public class SimpleDataContextInitializer : DropCreateDatabaseAlways<SimpleDataContext>
{
protected override void Seed(SimpleDataContext db)
{
for (int i = 1; i < 101; i++)
db.SimpleDatas.Add(new SimpleDa... | 2.513132 | 0efe8958af40580b2ea903727a27baab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832997 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StefanLB/ASP.NET-Core-MVC---June-2019---Individual-Project-Assignment",
"max_stars_repo_path": "Web/TrainConnected.Web/Views/Buddies/Remove.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:152217"
} | starcoder | @model TrainConnected.Web.ViewModels.Buddies.BuddyDetailsViewModel
@using System.Globalization
@using TrainConnected.Common
@{
ViewData["Title"] = "Remove";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<div>
<h4>Are you sure you want to remove your buddy @Model.UserName?</h4>
<hr />
<dl class="ro... | 2.422155 | e3854fa5a2170c0e9cd7eb00c51c855f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832998 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hazelarroyo/game635-fall2019",
"max_stars_repo_path": "HazelVRProject/Assets/FollowVRCamera.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152218"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FollowVRCamera : MonoBehaviour
{
public Transform camera;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
... | 1.572194 | 4a99e90e19c9892ed0787fcbb48e351d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8832999 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "deadokman/MicroserviceCore",
"max_stars_repo_path": "Msc.Nuget.Tests/RabbitLayerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152219"
} | starcoder | using NUnit.Framework;
using System;
using System.Threading;
using Msc.Microservice.Core.Standalone.Implementations;
using Msc.Microservice.Core.Standalone.Interfaces;
using Msc.Microservice.Layer.RabbitMq.Interfaces;
using Msc.Microservice.Layer.RabbitMq.Layer;
using Msc.Nuget.Tests.Handlers;
using Microsoft.Extensio... | 1.657088 | b28ede2471af819cbb00d6411212a459 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833000 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Reinms/RoR2Modding",
"max_stars_repo_path": "AlternativeAcrid/States/Utility/BasePrepJump.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152220"
} | starcoder | namespace AlternativeAcrid.States.Utility
{
using EntityStates;
using RoR2;
using System;
using System.Collections.Generic;
using System.Text;
using Unity.Collections;
using Unity.Jobs;
using UnityEngine;
public abstract class BasePrepJump: GenericCharacterMain
{
public... | 1.683499 | 654e0757e32e36da6abb7f53c6a1c7bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833001 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Daymortel/Stump",
"max_stars_repo_path": "src/Stump.DofusProtocol/D2oClasses/AnimFunNpcData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152221"
} | starcoder | using System;
using System.Collections.Generic;
using Stump.DofusProtocol.D2oClasses.Tools.D2o;
namespace Stump.DofusProtocol.D2OClasses
{
[Serializable]
[D2OClass("AnimFunNpcData", "com.ankamagames.dofus.datacenter.npcs")]
public class AnimFunNpcData : AnimFunData
{
public List<AnimFunNpc... | 1.275715 | 8f2df71e32e5de68ad67896f2b5487de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833002 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AtefeBahrani/EngineeringUnits",
"max_stars_repo_path": "EngineeringUnits/CombinedUnits/Area/AreaSet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152222"
} | starcoder |
using EngineeringUnits.Units;
namespace EngineeringUnits
{
//This class is auto-generated, changes to the file will be overwritten!
public partial class Area
{
/// <summary>
/// Get Area from Acre.
/// </summary>
/// <exception cref="ArgumentExcepti... | 2.875663 | 06eb9dbc70d71cd1bafa48928f20f239 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833003 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "raphydaphy/HKWorldEdit2",
"max_stars_repo_path": "Assets/Editor/About.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152223"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEditor;
using UnityEngine;
namespace Assets.Editor
{
public class About : EditorWindow
{
[MenuItem("HKEdit/About", priority = 3)]
public static void Open()
{
About window = Crea... | 2.275399 | 763056e380aa57cad68752041f57db30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833004 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "sandrinodimattia/aspnet-core-5-jwt-bearer-demo",
"max_stars_repo_path": "Utils/UserHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152224"
} | starcoder | using System.Security.Claims;
public static class UserHelpers
{
public static string GetId(this ClaimsPrincipal principal)
{
var userIdClaim = principal.FindFirst(c => c.Type == ClaimTypes.NameIdentifier) ?? principal.FindFirst(c => c.Type == "sub");
if (userIdClaim != null && !string.IsNullOrEmpty(userIdC... | 2.633692 | 5c4835c492dddff6813e9472bf0d5c33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833005 | {
"extension": "c-sharp",
"max_stars_count": "57.0",
"max_stars_repo_name": "lionk007/SignalR-",
"max_stars_repo_path": "Ron.Consul/Ron.Consul/Controllers/HomeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152225"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace Ron.Consul.Controllers
{
[Route("home"), ApiController]
public class HomeController : ControllerBase
{
[HttpGet("index")]
public ActionResult<string> I... | 2.618539 | c3ebdd7bc4013d1ee085cce6d099d56e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833006 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "buldo/radio-gate",
"max_stars_repo_path": "GateApp/MumbleSharp/VoiceReceivedEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152226"
} | starcoder | <reponame>buldo/radio-gate
using System;
namespace MumbleSharp
{
public class VoiceReceivedEventArgs : EventArgs
{
public VoiceReceivedEventArgs(
byte[] data,
int type
)
{
Data = data;
Type = type;
}
public byte[] Dat... | 1.886809 | 00f0c1f929a31a44e699a6033d5107d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833007 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "havit/HavitFramework",
"max_stars_repo_path": "Havit.Data.EntityFrameworkCore.BusinessLayer.Abstractions/Attributes/ExtendedProperties/BusinessObjectBaseTypeAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152227"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
namespace Havit.Data.EntityFrameworkCore.BusinessLayer.Attributes.ExtendedProperties
{
/// <summary>
/// Extended Property pro BusinessObjectBaseType.
///
/// Určuje bázovou třídu pro generovaný kód business objektu.
/// </summary>
[Attri... | 2.776347 | dd016269c1b2a6143401742de7dcae83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833008 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ideine/Apptracktive-Plugins",
"max_stars_repo_path": "AzureForMobile/AzureForMobile.Sample/AzureForMobile.Sample.Core/Helpers/AzureForMobileIdentityHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152228"
} | starcoder | <reponame>Ideine/Apptracktive-Plugins
using System;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Aptk.Plugins.AzureForMobile;
using Aptk.Plugins.AzureForMobile.Identity;
namespace AzureForMobile.Sample.Core.Helpers
{
/// <summary>
/// ... | 2.259415 | f5184926955f8b712e71253189c1e2e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833009 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xuankaicat/easyuiWeb3-1.NET",
"max_stars_repo_path": "jqueryweek5/DataRepositories/ISaledetailRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152229"
} | starcoder | <filename>jqueryweek5/DataRepositories/ISaledetailRepository.cs
using jqueryweek5.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace jqueryweek5.DataRepositories
{
public interface ISaledetailRepository
{
/// <summary>
/// 根据Id获取订... | 2.62448 | 0673ac6e982b9e0b91e6bfcb7a363899 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833010 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pH200/chronoplurk-wp",
"max_stars_repo_path": "src/ChronoPlurk/ViewModels/Core/FiltersOnOffPack.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152230"
} | starcoder | using System;
using System.Collections.Generic;
namespace ChronoPlurk.ViewModels.Core
{
public struct FiltersOnOffPack
{
private bool _all;
public bool All
{
get { return _all; }
set { _all = value; }
}
private bool _unread;
... | 2.639114 | f6cd6b1314a7e34ff9806aa622188482 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833011 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vincentremond/base64middleware",
"max_stars_repo_path": "src/Base64Middleware/Base64Body.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152231"
} | starcoder | <filename>src/Base64Middleware/Base64Body.cs
using System.IO;
using System.IO.Pipelines;
using System.Security.Cryptography;
using System.Threading;
using System.Threading.Tasks;
using Base64Middleware.StreamHelper;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
namespace Base64Middleware
... | 2.355075 | 54daf450e2235fea5fb5cc5f65224605 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.