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 | 8839712 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "Tosirukun/HackedM4ple",
"max_stars_repo_path": "NE4S/Component/VersionInfoForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158932"
} | starcoder | <reponame>Tosirukun/HackedM4ple
namespace NE4S.Component
{
partial class VersionInfoForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being use... | 1.730441 | f340e51b7a57b8005d38675ea62e6cd0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839713 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "08162021-dotnet-uta/BlakeDrostRepo1",
"max_stars_repo_path": "projects/project_2/SmokeApp/SmokeApp_Domain/ViewModels/ViewDiscussion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158933"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SmokeApp_Domain.Models
{
public class ViewDiscussion
{
public int DiscussionID { get; set; }
public int SubscriptionID { get; set; }
public int GameID { get; set; }
... | 1.323587 | df68608863bde915cf4a802cd357dd7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839714 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mingyaaaa/Brochure",
"max_stars_repo_path": "test/LinqDbQueryTest/Datas/DbTypeEntiry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158934"
} | starcoder | using Brochure.ORM.Atrributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LinqDbQueryTest.Datas
{
/// <summary>
/// The db type entiry.
/// </summary>
public class DbTypeEntiry
{
/// <summary>
/// Ge... | 2.066186 | 660bb4dabb67ba7c0843b2495730b61c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839715 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "qq362946/Sining",
"max_stars_repo_path": "Server/Model/Base/Tools/RecyclableMemoryStream/MemoryStreamPool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158935"
} | starcoder | <gh_stars>1-10
using System.Threading;
using Microsoft.IO;
namespace Sining.Tools
{
public class MemoryStreamPool
{
private static RecyclableMemoryStreamManager _instance;
public static RecyclableMemoryStreamManager Instance
{
get
{
if (_instance... | 2.273613 | 9b0c58fe4cfbbb6171588202651972fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839716 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Reverdan/ds2e3_LPOO_1sem22",
"max_stars_repo_path": "Soma heranca/Soma/modelo/Controle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158936"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Soma.modelo
{
internal class Controle : Propriedades
{
public Controle(string numero1, string numero2)
{
this.numero1 = numero1;
thi... | 2.345807 | 1c01ba08ecf863914366adbed166e2ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839717 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "staafl/dotnet-bclext",
"max_stars_repo_path": "to-integrate/libcs_staaflutil/Utils/Enums/Communication_Type.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158937"
} | starcoder | <filename>to-integrate/libcs_staaflutil/Utils/Enums/Communication_Type.cs
using System;
namespace Fairweather.Service
{
public enum Communication_Type
{
Normal,
Question,
Error,
ErrorQuestion,
Warning,
WarningQuestion,
AbortRetryIgnore,
... | 1.481185 | 6b2d2bca95e2e8c8fb8505f687ff059a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839718 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Krokoklemmi/PdfMerger",
"max_stars_repo_path": "MainForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158938"
} | starcoder | <reponame>Krokoklemmi/PdfMerger<gh_stars>1-10
namespace PdfMerger
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being u... | 2.039542 | 219a84f4822ea884dfb7308332c17c83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839719 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tmctono/CircumstancesKeeper",
"max_stars_repo_path": "CircumstancesKeeperWeb/CircumstancesKeeperWeb/Models/SingleViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158939"
} | starcoder | <filename>CircumstancesKeeperWeb/CircumstancesKeeperWeb/Models/SingleViewModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CircumstancesKeeperWeb.Models
{
public class SingleViewModel
{
public string[] Dates { get; set; }
}
}
| 1.687267 | 191f12080e3c3995f59ed16c5b957236 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839720 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "apurplecaboose/Project-Parkour",
"max_stars_repo_path": "ImaRunnerImaTrackstar/Assets/Polaris - Low Poly Ecosystem/TextureGraph/Core/Editor/Nodes/TCurveNodeParamsDrawer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158940"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Pinwheel.TextureGraph;
using UnityEditor;
namespace Pinwheel.TextureGraph
{
[TCustomParametersDrawer(typeof(TCurveNode))]
public class TCurveNodeParamsDrawer : TParametersDrawer
{
private static readonly GUIContent... | 2.13497 | 6468208f17e2b7d34fb5b31803fe9180 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839721 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ch1seL/RedisLock",
"max_stars_repo_path": "samples/WorkerService/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158941"
} | starcoder | <gh_stars>1-10
using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace WorkerService
{
public static class Program
{
public static readonly Guid AppId = Guid.NewGuid();
public static void Main(string[] args)
{
CreateHostBu... | 2.430023 | a170e156e1e869343366204fbe85d8df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839722 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gestotudor/Mvc_Hotel_Booking",
"max_stars_repo_path": "BookingSystem.Domain.Entity/RoomType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158942"
} | starcoder | using BookingSystem.Domain.Entity.BaseEntity;
namespace BookingSystem.Domain.Entity
{
public class RoomType : EntityBase
{
public RoomType()
{
this.IsActive = true;
this.IsDeleted = false;
}
public string Title { get; set; }
public string Descri... | 2.088632 | 4b432f1c1a67a7e019a3c45ea61f433c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839723 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RoyalVeterinaryCollege/EventSaucing",
"max_stars_repo_path": "Akka/Messages/CommitNotification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158943"
} | starcoder | <filename>Akka/Messages/CommitNotification.cs<gh_stars>1-10
using System.Diagnostics;
using NEventStore;
namespace EventSaucing.Akka.Messages {
/// <summary>
/// An actor message wrapping an NEventStore commit (this is sent from the eventstore)
/// </summary>
public class CommitNotification {
[DebuggerStepT... | 2.188548 | 89906ed44102bc31a0ecb5dcb7b1444f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839724 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mindleaving/commons",
"max_stars_repo_path": "Serialization/UnitValueJsonConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158944"
} | starcoder | <reponame>mindleaving/commons
using System;
using Commons.Physics;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Commons.Serialization
{
public class UnitValueJsonConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
{
return objectT... | 2.767015 | 6266caca05176f4854eb591f6b61ec40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839725 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ScienceExp/FSX-Empire-Basic",
"max_stars_repo_path": "FSX_EMPIRE/Global/Global.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158945"
} | starcoder | <reponame>ScienceExp/FSX-Empire-Basic
using Microsoft.FlightSimulator.SimConnect;
using Microsoft.Win32;
namespace FSX_EMPIRE
{
/// <summary> Global variables that can be accessed by any class </summary>
class G
{
/// <summary> Class for adjusting and syncing cameras in FSX and Google earth </summ... | 2.347157 | 8e2113e83171c706ea7c8ba5a0646609 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839726 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "alexandrnikitin/BK-tree.NET",
"max_stars_repo_path": "src/BKTree.NET/DamerauLevenshteinStringDistanceMeasurer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158946"
} | starcoder | using System;
using System.Collections.Generic;
namespace BKTree.NET
{
public class DamerauLevenshteinStringDistanceMeasurer : IDistanceMeasurer<string>
{
public int Measure(string x, string y)
{
return DamerauLevenshteinDistance(x, y);
}
// Damerau–Levenshtein dis... | 3.303695 | 0d7544177d766802ad39d50852e65298 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839727 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "0x8BitDev/MAPeD-SPReD",
"max_stars_repo_path": "src/MAPeD/src/progress_form.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158947"
} | starcoder | <reponame>0x8BitDev/MAPeD-SPReD<filename>src/MAPeD/src/progress_form.Designer.cs<gh_stars>10-100
/*
* Created by SharpDevelop.
* User: 0x8BitDev Copyright 2017-2021 ( MIT license. See LICENSE.txt )
* Date: 22.02.2021
* Time: 18:33
*/
namespace MAPeD
{
partial class progress_form
{
/// <summary>
/... | 1.94299 | 47282802ca2f0498508822e847e61844 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839728 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kesco-m/Kesco.App.Web.MVC.Persons",
"max_stars_repo_path": "Kesco.BusinessProjects.BusinessLogic/DataAccess/BusinessProjectAccessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158948"
} | starcoder | using System;
using System.Collections.Generic;
using BLToolkit.DataAccess;
using Kesco.DataAccess;
using Kesco.BusinessProjects.ObjectModel;
using Kesco.DataAccess.Filtering;
namespace Kesco.BusinessProjects.BusinessLogic
{
/// <summary>
/// Проводник данных для бизнес-проектов
/// </summary>
[FilterSqlBuilder(... | 2.60619 | 4645052b1ce47e0355661365171a8d46 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839729 | {
"extension": "c-sharp",
"max_stars_count": "216.0",
"max_stars_repo_name": "SamuelJohnsonMedia/Balea",
"max_stars_repo_path": "src/Balea/Abstractions/IBaleaBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158949"
} | starcoder | using Balea.Authorization.Abac.Context;
using Microsoft.Extensions.DependencyInjection;
namespace Balea.Abstractions
{
/// <summary>
/// The builder used to register Balea and dependant services.
/// </summary>
public interface IBaleaBuilder
{
/// <summary>
/// Gets the ... | 2.29389 | b006e0d2f049706153aec095713f806d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839730 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zhenghua75/WeiXinEasy",
"max_stars_repo_path": "DAL/MiniShop/MSCustAccount.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158950"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DAL.MiniShop
{
public class MSCustAccount
{
public MSCustAccount() { ;}
}
}
| 1.081592 | 83f1eb59f8847519113e0718082f4533 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839731 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bregermann/TargetCrack",
"max_stars_repo_path": "Target Crack/Assets/Extensions/MobileNativePopUps/Example/MNUseExample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158951"
} | starcoder | <filename>Target Crack/Assets/Extensions/MobileNativePopUps/Example/MNUseExample.cs<gh_stars>0
////////////////////////////////////////////////////////////////////////////////
//
// @module <module_name>
// @author <NAME> <EMAIL>
//
////////////////////////////////////////////////////////////////////////////////
us... | 1.912293 | cd0413d06ad2686a8153a628193c9c9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839732 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jepetty/efcore.pg",
"max_stars_repo_path": "src/EFCore.PG/Extensions/NpgsqlFullTextSearchDbFunctionsExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158952"
} | starcoder | using System;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Diagnostics;
using NpgsqlTypes;
// ReSharper disable once CheckNamespace
namespace Microsoft.EntityFrameworkCore
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("ReSharper", "UnusedParameter.Global")]
public static class NpgsqlFu... | 2.55409 | 7db46a9f020f830b1611631f19f0675f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839733 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EvilSlesh/Playnite",
"max_stars_repo_path": "source/Playnite/Settings/ViewProperties.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158953"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace Playnite
{
public enum SortOrder
{
... | 1.696085 | eaf2ed5288d7f2806cb55ce365ae3f03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839734 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "grammophone/Grammophone.Domos.Web",
"max_stars_repo_path": "Mvc/ModelViewPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158954"
} | starcoder | using Grammophone.Domos.DataAccess;
using Grammophone.Domos.Domain;
using Grammophone.Domos.Logic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace Grammophone.Domos.Web.Mvc
{
/// <summary>
/// Base for Razor views co... | 2.263731 | a5e5a5aa87f243da2f4c369f3936de03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839735 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "senbagaraman04/crypto2k16",
"max_stars_repo_path": "Crypto2k16.WindowsPhone/Views/AboutDevelopersListPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158955"
} | starcoder | <filename>Crypto2k16.WindowsPhone/Views/AboutDevelopersListPage.xaml.cs
using Crypto2k16;
namespace Crypto2k16.Views
{
public sealed partial class AboutDevelopersListPage : PageBase
{
}
}
| 1.038538 | 8c41ead2dd3bfb1864d2f14ec4ddcf15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839736 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BSoDGamingYT/Ryujinx",
"max_stars_repo_path": "Ryujinx.Graphics.Nvdec/H264Decoder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158956"
} | starcoder | <reponame>BSoDGamingYT/Ryujinx
using Ryujinx.Graphics.Nvdec.H264;
using Ryujinx.Graphics.Nvdec.Image;
using Ryujinx.Graphics.Nvdec.Types.H264;
using Ryujinx.Graphics.Video;
using System;
namespace Ryujinx.Graphics.Nvdec
{
static class H264Decoder
{
private const int MbSizeInPixels = 16;
priva... | 1.823494 | 888e29ee3ab3bff690170c7060a7e0bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839737 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JettSettie/CastleMinerZsrc",
"max_stars_repo_path": "DNA.CastleMinerZ/CrackBoxEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158957"
} | starcoder | using DNA.Drawing;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace DNA.CastleMinerZ
{
public class CrackBoxEntity : ModelEntity
{
public float CrackAmount = 0.9f;
private static Model _model;
static CrackBoxEntity()
{
_model = CastleMinerZGame.Instance.Content.Load<Model... | 2.341734 | ef031c560569ba40e19b12abcdce73bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839738 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Dariusz151/SmartFridgeApp",
"max_stars_repo_path": "SmartFridgeApp.API/Quartz/ProcessOutboxJob.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158958"
} | starcoder | <reponame>Dariusz151/SmartFridgeApp
using System;
using System.Reflection;
using System.Threading.Tasks;
using Dapper;
using MediatR;
using Newtonsoft.Json;
using Quartz;
using SmartFridgeApp.API.Notifications.Fridge;
using SmartFridgeApp.Core.SeedWork;
using SmartFridgeApp.Infrastructure.SeedWork;
namespace SmartFri... | 2.122466 | e518a9aff51676e7b0abcd3651f1cf64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839739 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emipa606/NoWaterNoLife",
"max_stars_repo_path": "Source/MizuMod/HaulAIUtility_PawnCanAutomaticallyHaulFast.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158959"
} | starcoder | <filename>Source/MizuMod/HaulAIUtility_PawnCanAutomaticallyHaulFast.cs
using HarmonyLib;
using RimWorld;
using Verse;
using Verse.AI;
namespace MizuMod
{
[HarmonyPatch(typeof(HaulAIUtility))]
[HarmonyPatch("PawnCanAutomaticallyHaulFast")]
internal class HaulAIUtility_PawnCanAutomaticallyHaulFast
{
... | 2.044767 | 6d34d875989687809a595e611ad8786e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839740 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lobotomista/Svelto.ECS",
"max_stars_repo_path": "Svelto.ECS/SimpleSubmissionEntityViewScheduler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158960"
} | starcoder | <reponame>lobotomista/Svelto.ECS
using Svelto.ECS.Schedulers;
using Svelto.WeakEvents;
namespace Svelto.ECS
{
//This scheduler shouldn't be used in production and it's meant to be
//used for Unit Tests only
public class SimpleSubmissionEntityViewScheduler : EntitySubmissionScheduler
{
public ... | 1.620051 | c8758644c1a00f754d29e19818e79f76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839741 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yecril71pl/roslyn",
"max_stars_repo_path": "src/VisualStudio/IntegrationTest/New.IntegrationTests/InProcess/StateResetInProcess.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158961"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Ed... | 1.443356 | 2bd2ce3139e51d1938ed3fbc44335dce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839742 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thanklzhang/Server_Pre",
"max_stars_repo_path": "CenterServer/Logic/User/Handler/EnterGameServiceHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158962"
} | starcoder | using DataModel;
using Google.Protobuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Logic
{
public class EnterGameServiceHandler : BaseHandler
{
public override void Handler(User user, int gcNetId, byte[] data)
... | 2.223331 | e4a34b9fad334e521c13f1b7299227f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839743 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tksuoran/renderstack_net",
"max_stars_repo_path": "technologies/RenderStack.UI/Area.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158963"
} | starcoder | using System.Collections.Generic;
using RenderStack.Math;
namespace RenderStack.UI
{
/* Comment: Mostly stable, somewhat experimental */
public class Area
{
public string Name;
public bool Hidden = false;
public Vector2 OffsetPixel... | 2.567232 | c7b9465c14b34b4f2d28c91fbdb0fc8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839744 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-payments-V2",
"max_stars_repo_path": "src/SFA.DAS.Payments.Monitoring.Metrics.Model/Submission/DataLockCountsTotalsModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158964"
} | starcoder | using Newtonsoft.Json;
namespace SFA.DAS.Payments.Monitoring.Metrics.Model.Submission
{
public class DataLockCountsTotalsModel
{
public long Id { get; set; }
public long SubmissionsSummaryId { get; set; }
[JsonIgnore]
public virtual SubmissionsSummaryModel SubmissionsS... | 1.580834 | 8e0ea3a8a3d7a4a2da744c80f8877a18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839745 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "IEvangelist/learning-blazor",
"max_stars_repo_path": "src/Web.LocalStorage/Extensions/SerializationExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158965"
} | starcoder | // Copyright (c) 2021 <NAME>. All rights reserved.
// Licensed under the MIT License.
namespace Learning.Blazor.LocalStorage;
internal static class SerializationExtensions
{
internal static string? TryToJson<TItem>(
this TItem item, ILogger logger)
where TItem : class
{
try
{
... | 2.316976 | 5de1cc268caddec118a06367f6932177 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839746 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Infosys/Intelligent-Bot-Management-",
"max_stars_repo_path": "Data Integration Framework/Legacy Workbench/LegacyWorkBench/StatusDisplay.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158966"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Infosys.Lif.LegacyWorkbench
{
public partial class StatusDisplay : Form
{
internal ProgressBar statusProgressBar;
intern... | 1.723019 | da847232bad238e1237620c653fa8d35 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839747 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LXGaming/DiscordStream",
"max_stars_repo_path": "LXGaming.DiscordStream/Manager/AccountManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158967"
} | starcoder | using System;
using System.Reflection;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using LXGaming.DiscordStream.Listener;
namespace LXGaming.DiscordStream.Manager {
public static class AccountManager {
public static DiscordSocketClient DiscordClient { get... | 2.456118 | ee5354b793fb2b6b02ff21bf83b29f48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839748 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anderbellstudios/pop-pixie",
"max_stars_repo_path": "Pop Pixie/Assets/Core Scripts/Dialogue/DialogueSequence.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158968"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class DialogueSequence {
public DialoguePage[] Pages;
public static DialogueSequence ParseJSON (string json) {
return JsonUtility.FromJson<DialogueSequence>(json);
}
}
| 1.72899 | f22102832b670952fc5796497dea62bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839749 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "PC-Axis/PxStat",
"max_stars_repo_path": "server/PxStat/Entities/Data/GeoLayer/GeoLayer_API.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158969"
} | starcoder | using API;
namespace PxStat.Data
{
public class GeoLayer_API
{
public static dynamic Create(JSONRPC_API jsonrpcRequest)
{
return new GeoLayer_BSO_Create(jsonrpcRequest).Create().Response;
}
public static dynamic Read(JSONRPC_API jsonrpcRequest)
{
... | 1.616504 | 501515994afbd2da81461205287f2909 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839750 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "joacar/MicrosoftDynamics",
"max_stars_repo_path": "src/MicrosoftDynamics/Models/Dynamics2012.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158970"
} | starcoder | using System;
using System.Collections.Generic;
using MicrosoftDynamics.Abstractions;
using static System.Diagnostics.Debug;
namespace MicrosoftDynamics.Models
{
/// <summary>
/// Class for holding <see cref="DynamicsAxTimeZone" /> objects for version <see cref="DynamicsAxVersion.Ax2012" />
/// </sum... | 2.869344 | f25041c3df3cc255f4feec406069c541 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839751 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Dootrix/TinCanAPILibraryCSharp",
"max_stars_repo_path": "TinCanAPILibrary/JSONConverter/JSON/TinCanConverter/TinCanJsonConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158971"
} | starcoder | <gh_stars>1-10
#region License
/*
Copyright 2012 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | 1.936986 | 771696d81e37dbca3c6b58bff0404a31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839752 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SFTMedia/ChatDirector-dotnet",
"max_stars_repo_path": "core/src/main/configuration/Configuration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158972"
} | starcoder | using System;
#if Serializer_YamlDotNet
using YamlDotNet.Core;
using YamlDotNet.Serialization;
using YamlDotNet.Core.Events;
#elif Serializer_Newtonsoft
using Newtonsoft.Json;
#endif
using System.Collections.Generic;
using System.Linq;
namespace ChatDirector.core
{
public class Configuration : IConfiguration
#i... | 2.451404 | 50fcdcfa36dcdc698c559c2fde1ab073 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839753 | {
"extension": "c-sharp",
"max_stars_count": "137.0",
"max_stars_repo_name": "JacobsDataSolutions/OrgManager",
"max_stars_repo_path": "JDS.OrgManager/JDS.OrgManager.Application/Tenants/Queries/GetTenantIdFromAssignmentKey/GetTenantIdFromAssignmentKey.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158973"
} | starcoder | <reponame>JacobsDataSolutions/OrgManager
// Copyright ©2021 <NAME>
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the
// License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applic... | 1.972783 | e42f571ee69010a86753d044e7b5118d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839754 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Oladn/OlaKit",
"max_stars_repo_path": "OlaKit.Extensions/Security/EventQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158974"
} | starcoder | using Ola.Extensions.Identity.Events;
namespace OlaKit.Extensions.Security
{
/// <summary>
/// 事件查询实例。
/// </summary>
public class EventQuery : EventQueryBase<User, Role>
{
}
} | 1.554194 | 578760d7793b8283cb94a8fee940b128 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839755 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "kawasawa/MyPad",
"max_stars_repo_path": "MyPad/IMethodInterceptor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158975"
} | starcoder | <filename>MyPad/IMethodInterceptor.cs
using System;
using System.Reflection;
namespace MyPad
{
/// <summary>
/// メソッドの起動と終了、例外の発生を捉えるためのインターフェースを表します。
/// </summary>
public interface IMethodInterceptor
{
/// <summary>
/// インターセプターの処理に必要な初期設定を行います。
/// </summary>
///... | 3.160612 | 49755ee4d245b460fb9bdd0007920f0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839756 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "fredatgithub/language-ext",
"max_stars_repo_path": "LanguageExt.Core/ClassInstances/Functor/FValidation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158976"
} | starcoder | <reponame>fredatgithub/language-ext<filename>LanguageExt.Core/ClassInstances/Functor/FValidation.cs
using LanguageExt.TypeClasses;
using static LanguageExt.Prelude;
using System;
using System.Diagnostics.Contracts;
namespace LanguageExt.ClassInstances
{
public struct FValidation<MonoidFail, FAIL, SUCCESS, SUCCESS... | 2.321073 | f14ea8e7cf0c553d1aeafb62e3b058f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839757 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "azeno/dx11-vvvv",
"max_stars_repo_path": "Nodes/VVVV.DX11.Nodes.Bullet/Nodes/Bodies/Rigid/BulletCreateVehicleNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158977"
} | starcoder | <reponame>azeno/dx11-vvvv<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VVVV.PluginInterfaces.V2;
using VVVV.Nodes.Bullet;
using BulletSharp;
using VVVV.DataTypes.Bullet;
using VVVV.Internals.Bullet;
using VVVV.Utils.VMath;
using VVVV.Bullet.Utils;
using VVVV.Bu... | 1.940328 | 02f3e8df5098d619467b969e2304e826 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839758 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HolicXXX/2D-Game-Level-Generator",
"max_stars_repo_path": "Assets/Editor/WebWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158978"
} | starcoder | <filename>Assets/Editor/WebWindow.cs
using UnityEngine;
using UnityEditor;
using System;
using System.Reflection;
public class WebWindow : EditorWindow {
static Rect windowRect = new Rect(100,100,800,600);
static BindingFlags fullBinding = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instanc... | 2.125144 | ba7fd5f8d247cce266ac8dcfd45fb9b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839759 | {
"extension": "c-sharp",
"max_stars_count": "351.0",
"max_stars_repo_name": "workgroupengineering/FtpServer",
"max_stars_repo_path": "src/FubarDev.FtpServer.Abstractions/ConnectionStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158979"
} | starcoder | <gh_stars>100-1000
// <copyright file="ConnectionStatus.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
namespace FubarDev.FtpServer
{
/// <summary>
/// The status of the current connection.
/// </summary>
public enum ConnectionSta... | 1.94096 | bb2663da22ff9fc42ec13465f9543c9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839760 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MertYumer/CSharp-Web-January-2020",
"max_stars_repo_path": "C# Web Basics - January 2020/SIS-May-2019/Exams/SULS/SULS.Web/Controllers/SubmissionsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158980"
} | starcoder | namespace SULS.Web.Controllers
{
using System;
using SIS.MvcFramework;
using SIS.MvcFramework.Attributes.Http;
using SIS.MvcFramework.Attributes.Security;
using SIS.MvcFramework.Result;
using SULS.Models;
using SULS.Services;
using SULS.Web.BindingModels.Submissions;
using SULS.Web... | 2.210192 | 2e1abe25fef39254f1bc96c784e2baa0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839761 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "stanb/Comformation",
"max_stars_repo_path": "src/Comformation/Generated/Route53Resolver/ResolverEndpoint/ResolverEndpointResource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158981"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using Comformation.IntrinsicFunctions;
namespace Comformation.Route53Resolver.ResolverEndpoint
{
/// <summary>
/// AWS::Route53Resolver::ResolverEndpoint
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53r... | 1.948632 | b8dd9fa0ba3e0293c5ebc81345de6e67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839762 | {
"extension": "c-sharp",
"max_stars_count": "76.0",
"max_stars_repo_name": "jiniannet/jntemplate",
"max_stars_repo_path": "src/JinianNet.JNTemplate/CodeCompilation/ICompilerResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158982"
} | starcoder | /********************************************************************************
Copyright (c) jiniannet (http://www.jiniannet.com). All rights reserved.
Licensed under the MIT license. See licence.txt file in the project root for full license information.
**********************************************************... | 2.127907 | 0bc570627e71c23587d9a1e753cbeb14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839763 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeorgeThackrayWT/GraphQLSample",
"max_stars_repo_path": "ED/Abstractions/Abstractions/Models/Propertys/IDrainageRatesModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158983"
} | starcoder | using System.ComponentModel;
using Abstractions;
using DataObjects;
using DataObjects.DTOS;
namespace EDCORE.ViewModel.Property.PropertyInfos
{
public interface IDrainageRatesModel : IBaseModel, IPropInfoBase, INotifyPropertyChanged
{
ExtRangeCollection<DrainageRateEdit> Records { get; set; }
... | 1.337922 | b2c286d57ab738be93b8655d08d675f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839764 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Peter-Torp/ProjectDelta",
"max_stars_repo_path": "Assets/Scripts/Control/PatrolPath.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158984"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace RPG.Control
{
public class PatrolPath : MonoBehaviour
{
/*
Patrolpath exists only in the scene/sandbox. There it has to be dragged from there to the character AI controller.
*/
const f... | 2.735283 | 76e89f6f64dd8cc621276689958218cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839765 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zaiboot/OpenCover-Automapper",
"max_stars_repo_path": "test/MappingEngineTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158985"
} | starcoder | <filename>test/MappingEngineTests.cs
namespace lib.Tests
{
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using AutoMapper;
using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;... | 2.33618 | 183cec41b426e5f529c51009358e9acb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839766 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kalantar-msb/hello",
"max_stars_repo_path": "target/liberty/wlp/lib/features/checksums/com.ibm.ws.security.java2sec.nls-1.0.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158986"
} | starcoder | #Fri Oct 13 05:04:06 BST 2017
lib/features/com.ibm.ws.security.java2sec.nls-1.0.mf=264af12d630123f534301ec8a6c9daa9
lib/com.ibm.ws.security.java2sec.nls_1.0.18.jar=07ff0c1ef4f01cff11753822528fa944
| 0.885227 | 9f250e12a5a556bd9e536e9adcca6392 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839767 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "craigs100/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Web/Composing/ModuleInjector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158987"
} | starcoder | <filename>src/Umbraco.Web/Composing/ModuleInjector.cs
using System.Web;
using Umbraco.Core;
using Umbraco.Core.Composing;
using Umbraco.Core.Exceptions;
namespace Umbraco.Web.Composing
{
/// <summary>
/// Provides a base class for module injectors.
/// </summary>
/// <typeparam name="TModule">The type... | 2.369804 | 82859565b5dafe2a16286f8f6afc18cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839768 | {
"extension": "c-sharp",
"max_stars_count": "75.0",
"max_stars_repo_name": "thomz12/h5",
"max_stars_repo_path": "H5/H5.Newtonsoft.Json/Serialization/IContractResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158988"
} | starcoder | <filename>H5/H5.Newtonsoft.Json/Serialization/IContractResolver.cs<gh_stars>10-100
using System;
namespace Newtonsoft.Json.Serialization
{
/// <summary>
/// Used by <see cref="JsonConvert"/> to resolve a contract for a given <see cref="Type"/>.
/// </summary>
public interface IContractResolver
{
... | 2.512884 | bcc4fbcee2a39f7682becdc44289ed9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839769 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "slawor/MORYX-ClientFramework",
"max_stars_repo_path": "src/Moryx.ClientFramework/Dialog/IDialogScreen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158989"
} | starcoder | <filename>src/Moryx.ClientFramework/Dialog/IDialogScreen.cs
// Copyright (c) 2020, Phoenix Contact GmbH & Co. KG
// Licensed under the Apache License, Version 2.0
using Caliburn.Micro;
namespace Moryx.ClientFramework.Dialog
{
/// <summary>
/// Screen extension whith an result
/// </summary>
public int... | 1.702954 | a1a899c2b30af6b8fc7ce99478c669bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839770 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UnoRoute/Flutterwave-Connect",
"max_stars_repo_path": "Flutterwave/Core/FlutterwaveCardResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158990"
} | starcoder | <filename>Flutterwave/Core/FlutterwaveCardResponse.cs
namespace Bracketcore.Flutterwave.Core
{
public class FlutterwaveCardResponse {
public string first_6digits { get; set; }
public string last_4digits { get; set; }
public string issuer { get; set; }
... | 1.78272 | a82588b551cb43a4d61588b9ad4147db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839771 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "communityus-private/opensim-viewer",
"max_stars_repo_path": "Controller/PotamOS.ControllerTests/Network/HttpRequestsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158991"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using PotamOS.Controller.Network;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PotamOS.Controller.Network.Tests
{
[TestClass()]
public class HttpRequestsTests
{
stat... | 2.369706 | b62442afbbb2721cc870ea5904061fde |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839772 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eswk22/dark-ninja",
"max_stars_repo_path": "bigben/manager/IScheduleManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158992"
} | starcoder | <gh_stars>0
using bigben.model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace bigben.manager
{
public interface IScheduleManager
{
void SaveJob(JobItem job);
}
}
| 1.147955 | 0734798b74b1ce60416e603dbb230c66 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839773 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zoomlacms/web005",
"max_stars_repo_path": "Source-Code-母婴在线门户全站源代码/Views/FrontBaike/BKClass.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:158993"
} | starcoder | <gh_stars>0
@using System.Data
@using ZoomLa.BLL
@using ZoomLa.Common
@functions{
public DataTable GetChild(DataRow dr)
{
int Gid = DataConverter.CLng(dr["GradeID"]);
return B_GradeOption.GetGradeList(3, Gid);
}
public string GetGradeName(DataRow dr)
{
return HttpUtility.UrlEncode(DataConverter.CStr(dr["GradeName"]));... | 1.809014 | 435eed2502c281fe16262b059149bc18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839774 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Symontoclay/SymOntoClay",
"max_stars_repo_path": "SymOntoClayCore/Internal/StandardLibrary/Operators/IsOperatorHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158994"
} | starcoder | /*MIT License
Copyright (c) 2020 - 2021 <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, d... | 2.045541 | 5c6266e4f15c2316ac06519534c23585 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839775 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Arwwarrr/EliteAPI",
"max_stars_repo_path": "EliteAPI/Event/Models/Discovered.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158995"
} | starcoder | using Newtonsoft.Json;
namespace EliteAPI.Event.Models
{
public class Discovered
{
[JsonProperty("SystemName")]
public string SystemName { get; internal set; }
[JsonProperty("NumBodies")]
public long NumBodies { get; internal set; }
}
} | 1.674622 | e6289a769cded98d468aad8369054458 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839776 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SirLoganB/Starter-Project-Brick",
"max_stars_repo_path": "Starter-Project-Brick/Assets/Ball.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158996"
} | starcoder | <reponame>SirLoganB/Starter-Project-Brick
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Ball : MonoBehaviour
{
public float speed = 8f;
// Start is called before the first frame update
void Start()
{
StartCoroutine(Test());
}
// Upd... | 2.268644 | 4bf132d89b199baf7ebec32f11d0a272 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839777 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vesy53/SoftUni",
"max_stars_repo_path": "Tech Module/Extended-Programming-Fundamentals/ExtendedArraysAndMethodsExercises/p16ArraySymmetry2/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158997"
} | starcoder | <reponame>vesy53/SoftUni
using System;
using System.Linq;
namespace p16ArraySymmetry2
{
class Program
{
static void Main(string[] args)
{
string[] text = Console.ReadLine()
.Split();
var leftPart = text.Take(text.Length / 2).ToArray();
var r... | 3.361884 | ca8dab70bb0fecfd416e6761c2578b7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839778 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GovermanGambo/Gambo.ECS",
"max_stars_repo_path": "Gambo.ECS.Tests/EcsSystemTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158998"
} | starcoder | using NUnit.Framework;
namespace Gambo.ECS.Tests
{
internal class DummySystem : EcsSystem
{
protected override void OnComponentAdded(object sender, ComponentEventArgs e)
{
}
protected override void OnComponentRemoved(object sender, ComponentEventArgs e)
{
}
... | 2.601675 | abf0e3fcb9543aaac2dab0c76f761b4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839779 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neurnn/glazer",
"max_stars_repo_path": "src/transactions/Glazer.Transactions.Integration.AspNetCore/Controllers/TransactionController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:158999"
} | starcoder | using Backrole.Crypto;
using Glazer.Common;
using Glazer.Common.Models;
using Glazer.Transactions.Abstractions;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threadin... | 2.280109 | df9e6583d158a39fb328292abd172598 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839780 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DeStiCap/DSC-DialogueSystem",
"max_stars_repo_path": "Scripts/Controllers/DSC_Dialogue_ReplaceController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159000"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
namespace DSC.Dialogue
{
public class DSC_Dialogue_ReplaceController : BaseDialoguePreProcessing
{
#region Variable
#region Variable - Inspector
#pragma warning disable 0649
[SerializeField] protected BaseDialogueReplace[] m_arrRep... | 2.450059 | 988b548db3a70e21c6cc8c0e91a5984a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839781 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ingridv1/SchedulingClients",
"max_stars_repo_path": "tests/SchedulingClients.Test/TJobsStateClient_ClientExceptionNull.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159001"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using BaseClients;
namespace SchedulingClients.Test
{
[TestFixture]
[Category("JobsState")]
public class TJobsStateClient_ClientExceptionNull : AbstractClientTest
... | 1.483008 | f1159ec3294619132e844bb40ab6b3da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839782 | {
"extension": "c-sharp",
"max_stars_count": "203.0",
"max_stars_repo_name": "Mizipzor/raven-csharp",
"max_stars_repo_path": "src/app/SharpRaven/Data/Context/RuntimeExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159002"
} | starcoder | namespace SharpRaven.Data.Context
{
internal static class RuntimeExtensions
{
public static bool IsNetFx(this Runtime runtime) => runtime.IsRuntime(".NET Framework");
public static bool IsNetCore(this Runtime runtime) => runtime.IsRuntime(".NET Core");
private static bool IsRunt... | 2.523992 | 0e21eb79e438be87f2232e6e72cf063e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839783 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mtscout6/StoryTeller2",
"max_stars_repo_path": "src/StoryTeller.UserInterface/Tests/IEditTestController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159003"
} | starcoder | using System;
using StoryTeller.Domain;
using StoryTeller.UserInterface.Actions;
namespace StoryTeller.UserInterface.Tests
{
public interface IEditTestController
{
bool SaveChanges();
ActionCommand SaveCommand { get; }
ActionCommand RunCommand { get; }
ActionCommand C... | 2.361433 | 9be90b153181c384820bcefe0e358e2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839784 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Xiangrui2019/MyWeb.BuildingBlocks",
"max_stars_repo_path": "src/Impls/Web/Extend/ControllerExtends.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159004"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using SeedWork.ErrorCode;
using SeedWork.Models.Message;
namespace Web.Extend
{
public static class ControllerExtends
{
public static IActionResult Message(this ControllerBase controller, ErrorType errorType, string errorMessage)
{
return controller.... | 2.121417 | 0ab92bf60b2d956c2d045748d81658b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839785 | {
"extension": "c-sharp",
"max_stars_count": "885.0",
"max_stars_repo_name": "Sollertix/PnP",
"max_stars_repo_path": "Samples/MicrosoftGraph.Office365.Simple.MailAndFiles/Office365Api.Graph.Simple.MailAndFiles/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:159005"
} | starcoder | <h2>Home</h2>
<form>
@if (String.IsNullOrEmpty(ViewBag.Name))
{
<p> Use the button below to connect to Microsoft Graph and Office 365. </p>
<p>
<button formaction="@Url.Content("~/home/login")">Connect to Office 365</button>
</p>
}
<p>
<i>Notice.</i> - This i... | 2.711019 | 570ee78c8ca6dd69d4bd5b579e52ad9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839786 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "jmenziessmith/TagCache.Redis",
"max_stars_repo_path": "src/TagCache.Redis.ProtoBuf/ProtobufRedisCacheItemFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159006"
} | starcoder | <reponame>jmenziessmith/TagCache.Redis
using System;
using System.Collections.Generic;
using TagCache.Redis.Interfaces;
namespace TagCache.Redis.ProtoBuf
{
public class ProtobufRedisCacheItemFactory : IRedisCacheItemFactory
{
public IRedisCacheItem Create(string key, List<string> tags)
... | 2.089841 | 87b2262540b98f676ad6f4156fe9960d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839787 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "eShopWorld/captain-hook",
"max_stars_repo_path": "src/CaptainHook.Common/ServiceBus/TypeExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159007"
} | starcoder | <filename>src/CaptainHook.Common/ServiceBus/TypeExtensions.cs
using System;
namespace CaptainHook.Common.ServiceBus
{
/// <summary>
/// Contains extensions methods that are <see cref="IServiceBusNamespace"/> related but extend
/// the system <see cref="Type"/> instead.
/// </summary>
public stati... | 3.061518 | 1f00d8900b6d5d5f2acaf439bbddaad2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839788 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "asgerhallas/HybridDb",
"max_stars_repo_path": "src/HybridDb.Tests/FakeBackupWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159008"
} | starcoder | <reponame>asgerhallas/HybridDb
using System.Collections.Generic;
using HybridDb.Migrations;
using HybridDb.Migrations.Documents;
namespace HybridDb.Tests
{
public class FakeBackupWriter : IBackupWriter
{
readonly Dictionary<string, byte[]> files = new Dictionary<string, byte[]>();
pu... | 1.303698 | 17277362380844ab4d610d24576c90ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839789 | {
"extension": "c-sharp",
"max_stars_count": "650.0",
"max_stars_repo_name": "dariabokareva/vk",
"max_stars_repo_path": "VkNet/Enums/MainSection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159009"
} | starcoder | using VkNet.Utils;
namespace VkNet.Enums
{
/// <summary>
/// Информация о главной секции в сообществе
/// </summary>
public enum MainSection
{
/// <summary>
/// Главная секция отсутствует
/// </summary>
[DefaultValue]
NoSection = 0
, /// <summary>
/// Фотографии
/// </summary>
Photo
, /// <... | 2.286316 | 4045121902f837b96d03970725a2e2f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839790 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "solatticus/genesis",
"max_stars_repo_path": "src/Genesis/Inputs/InputConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159010"
} | starcoder | using System.Composition;
namespace Genesis.Input
{
/// <summary>
/// Primary configuration class for individual Current
/// </summary>
[Export(nameof(IInputConfiguration), typeof(IInputConfiguration))]
public class InputConfiguration : IInputConfiguration
{
public InputConfiguration()... | 2.547786 | 4ae804e5a6230a0af2f542daffedec28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839791 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JwanKhalaf/phoneden",
"max_stars_repo_path": "Phoneden.Web/Views/Partner/EditorTemplates/PartnerViewModel.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:159011"
} | starcoder | @using Phoneden.ViewModels
@model Phoneden.ViewModels.PartnerViewModel
<form asp-controller="Partner" asp-action="@(Model.Id == 0 ? "Create" : "Edit")" method="post" role="form">
<div asp-validation-summary="All" class="text-danger"></div>
@if (Model.Id != 0)
{
<input asp-for="Id" type="hidden" />
}
<... | 2.26207 | 80589d287e3b85cf5404445de7e72c9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839792 | {
"extension": "c-sharp",
"max_stars_count": "219.0",
"max_stars_repo_name": "Clancey/gMusic",
"max_stars_repo_path": "MusicPlayer.OSX/Helpers/DetatchableNSPopoover.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159012"
} | starcoder | <gh_stars>100-1000
using System;
using AppKit;
using Foundation;
namespace MusicPlayer
{
public class DetatchableNSPopoover : NSPopover, INSPopoverDelegate
{
public DetatchableNSPopoover()
{
this.Delegate = this;
}
[ExportAttribute("popoverShouldDetach:")]
public bool ShouldDetach(NSPopover popover) =>... | 1.541187 | a581d38177e552fd255fcfc3b0e114b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839793 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "wzxinchen/Blazui.Docs.Admin",
"max_stars_repo_path": "src/Blazui.Docs.Admin.EFCore/BaseRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159013"
} | starcoder | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blazui.Docs.Admin.Repository.EFCore
{
public class BaseRepository<T> : IBaseRepository<T>
where T : class
{
public BaseRepository(D... | 2.588001 | 9b520e7818a4f74fa86926bbb99b12fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839794 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "blueknightone/Ersiss-System",
"max_stars_repo_path": "Core/Attributes/ExportFlagsEnumAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159014"
} | starcoder | <filename>Core/Attributes/ExportFlagsEnumAttribute.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Godot;
namespace ErsissSystem.Core.Attributes
{
using UnderlyingType = UInt64;
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
public class ExportFlagsEnumAtt... | 2.781925 | 524c878e749d0b1bb578e913ac1387e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839795 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "trigger-death/ZeldaOracle",
"max_stars_repo_path": "ZeldaOracle/GameOptimization/Common/Graphics/Sprites/UnmappedSprite.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159015"
} | starcoder | <filename>ZeldaOracle/GameOptimization/Common/Graphics/Sprites/UnmappedSprite.cs
using System.Collections.Generic;
using ZeldaOracle.Common.Geometry;
namespace ZeldaOracle.Common.Graphics.Sprites {
/// <summary>A sprite created directly from an image and draw offset.
/// Used for unmapping paletted sprites.</summar... | 3.04845 | 942448304fedef91f3cc38ea44a2e2e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839796 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "SkightTeam/eLiteWeb",
"max_stars_repo_path": "3rdParty/AutoMock/Source/RhinoMocksMockFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159016"
} | starcoder | <gh_stars>1-10
using System;
using Machine.Specifications.AutoMocking.Core;
using Rhino.Mocks;
namespace Machine.Specifications.AutoMocking.Rhino
{
public class RhinoMocksMockFactory : IMockFactory
{
public Dependency create_stub<Dependency>() where Dependency : class
{
return MockRepository.GenerateStub<Depe... | 1.780644 | 9b2a9cdf33f2f0b11390c3bc429b20e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839797 | {
"extension": "c-sharp",
"max_stars_count": "903.0",
"max_stars_repo_name": "sireniaeu/white",
"max_stars_repo_path": "src/Samples/Wpf/WpfTodo/MainWindowViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159017"
} | starcoder | using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using Todo.Core;
namespace WpfTodo
{
public class MainWindowViewModel : NotifyPropertyChanged
{
private readonly ITaskRepository repo = new InMemoryTaskRe... | 2.670239 | 2a71888c99a73f9de23ed380bd164639 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839798 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "timschlechter/SpecResults",
"max_stars_repo_path": "SpecResults.PlainText/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159018"
} | starcoder | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("SpecResults.PlainText")]
[assembly:
AssemblyDescription("Formerly known as SpecFlow.Reporting.PainText: generate SpecFlow testresult Plain Text reports")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("<NAME>"... | 1.610078 | 0716f2d8c9066e5fafff1c5ab1689ce1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839799 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "fossabot/VaraniumSharp",
"max_stars_repo_path": "VaraniumSharp/Extensions/UrlBuilderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159019"
} | starcoder | <filename>VaraniumSharp/Extensions/UrlBuilderExtensions.cs<gh_stars>1-10
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
namespace VaraniumSharp.Extensions
{
/// <summary>
/// Assists in the building of Urls
/// </summary>
public static class UrlBuilderExtensions
... | 3.520718 | 0ab9c2f9916a5b463aa5751fee72d2c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839800 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jinjupeng/FileServer",
"max_stars_repo_path": "src/FileServer.ImageResize/Utils/ResizeInstructions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159020"
} | starcoder | <gh_stars>1-10
using System;
using Microsoft.AspNetCore.Http;
namespace FileServer.ImageResize.Utils
{
public class ResizeInstructions
{
public ResizeInstructions()
{
MaxWidth = 4096;
MaxHeight = 4096; //4k by any dimension
}
public ResizeInstructions(Q... | 2.768102 | fd360afceef8ec1075e03c75c600f9be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839801 | {
"extension": "c-sharp",
"max_stars_count": "92.0",
"max_stars_repo_name": "RhubarbVR/CefNet",
"max_stars_repo_path": "CefNet/CefTypes/CefCommandLine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159021"
} | starcoder | <reponame>RhubarbVR/CefNet
using CefNet.CApi;
using System;
using System.Collections.Generic;
namespace CefNet
{
public unsafe partial class CefCommandLine
{
private static CefCommandLineGlobal _GlobalInstance;
private static readonly object SyncRoot = new object();
/// <summary>
/// Returns the singleton ... | 2.515101 | 0d201692870d6428e0c26f393901d204 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839802 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ADMTec/OpenMU",
"max_stars_repo_path": "src/GameServer/RemoteView/Messenger/ChatRoomCreatedPlugIn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159022"
} | starcoder | <reponame>ADMTec/OpenMU
// <copyright file="ChatRoomCreatedPlugIn.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.GameServer.RemoteView.Messenger;
using System.Runtime.InteropServices;
using MUnique.... | 1.782976 | 5c261a9fa61c862a334ad0943ed1cf76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839803 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MohammadTarem/SecureToken",
"max_stars_repo_path": "SecureTokenTests/Helpers/TestSigner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159023"
} | starcoder | <reponame>MohammadTarem/SecureToken
using System;
using SecureToken;
namespace SecureTokenTests.Helpers
{
public class TestSigner : ISigner
{
public byte[] Hash(byte[] plainBytes)
{
return plainBytes;
}
}
}
| 1.558433 | 418acbc03d5fcff27028b37b39c895df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839804 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "aksoftware98/Blazor_Cashier",
"max_stars_repo_path": "src/BlazorCashier/BlazorCashier.Models/Data/Repository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159024"
} | starcoder | <gh_stars>10-100
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlazorCashier.Models.Data
{
/// <summary>
/// Represents a repository for a <see cref="TEntity"/> entity
/// </summary>
/// <typeparam name="... | 2.807084 | 714560b3783af9aba93f6c69d745f9c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839805 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "leeveel/RocketMQ.Client",
"max_stars_repo_path": "RocketMQ.Client/Common/MQVersion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159025"
} | starcoder | <gh_stars>1-10
using System;
namespace RocketMQ.Client
{
public class MQVersion
{
public static readonly int CURRENT_VERSION = (int)Version.V4_9_3;
public static string getVersionDesc(int value)
{
if (value >= (int)Version.HIGHER_VERSION)
{
retu... | 2.262419 | 0bac618762bbad07934e235031180154 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839806 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mandrix/Hith",
"max_stars_repo_path": "Assets/Asset Store/3rdPersonCamera/Scripts/FreeForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159026"
} | starcoder | //----------------------------------------------
// 3rd Person Camera
// Copyright © 2015-2019 <NAME>
// Version 1.0.5.3
// <EMAIL>
//----------------------------------------------
using System.Collections.Generic;
using UnityEngine;
namespace ThirdPersonCamera
{
public enum CameraMo... | 2.178517 | 6b12d205ab7119d8c0179272cd4fdc26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839807 | {
"extension": "c-sharp",
"max_stars_count": "573.0",
"max_stars_repo_name": "hmobius/Simple.Data",
"max_stars_repo_path": "Simple.Data/BadExpressionException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159027"
} | starcoder | using System;
using System.Runtime.Serialization;
namespace Simple.Data
{
[Serializable]
public class BadExpressionException : ArgumentException
{
public BadExpressionException()
{}
public BadExpressionException(string message) : base(message)
{}
pub... | 2.363835 | eda280bdb2b3b135a5a930fdea01c30a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839808 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "niksacdev/samples.iot.simulator",
"max_stars_repo_path": "Core/simulator.iot.simulator.contracts/VehicleStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159028"
} | starcoder | <reponame>niksacdev/samples.iot.simulator<filename>Core/simulator.iot.simulator.contracts/VehicleStatus.cs
// // ------------------------------------------------------------
// // Copyright (c) Microsoft Corporation. All rights reserved.
// // Licensed under the MIT License (MIT). See License.txt in the repo root f... | 1.704145 | a27df57d34b30a7a11ed4919b321e4b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "imyxz/NoMatter",
"max_stars_repo_path": "Client/ClientHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159029"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Globalization;
namespace Client
{
static class ClientHelper
{
public static bool IsSameWeek(DateTime a,DateTime b)
{
DateTimeFormatInfo dfi = ... | 2.290485 | a1435dc23eb5c00c68ceda9e722036eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839810 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "patrickabadi/AutoForms",
"max_stars_repo_path": "AutoForms.Test/AutoForms.Test/Pages/Validation.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159030"
} | starcoder | using AutoForms.Test.DomainModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace AutoForms.Test.Pages
{
[XamlCompilation(XamlCompilationOptions.Compile)]
p... | 2.421182 | 32fffcc51d9f6cd38e25e19ef8aa6a22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8839811 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gellios3/FateSimulator",
"max_stars_repo_path": "Assets/Scripts/Canvas/Cards/Signals/EndDragCardSignal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159031"
} | starcoder | namespace Canvas.Cards.Signals
{
public class EndDragCardSignal
{
public ushort CardId;
}
} | 1.430061 | 3f1bab0900861874860dc06aa6afc065 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.