added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70533 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "isabella232/dxa-modules",
"max_stars_repo_path": "webapp-net/Test/Models/TestEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70534"
} | starcoder | using System;
using System.Collections.Generic;
using Sdl.Web.Common.Models;
namespace Sdl.Web.Modules.Test.Models
{
[SemanticEntity("Content")]
public class TestEntity : EntityModel
{
[SemanticProperty("SingleLineText")]
public List<string> SingleLineTextField { get; set; }
[Sema... | 1.678631 | 741be0320cd61f47990bd8ed40df0d07 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70534 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sugartomato/AllProjects",
"max_stars_repo_path": "[OtherProjects]/KK.WechatAuto/KK.WechatAuto/BaseResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70535"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KK.WechatAuto
{
public class BaseResponse
{
public Int32 Ret { get; set; } = -9999;
public String ErrMsg { get; set; }
}
}
| 1.505221 | b4a60a673285171a68f385e6508de101 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70535 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deltics/Deltics.PeVersionInfo",
"max_stars_repo_path": "src/Deltics.PeVersionInfo/VersionNumber.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70536"
} | starcoder | namespace Deltics.VersionInfo
{
public class VersionNumber
{
public ushort Major {get; internal set;}
public ushort Minor {get; internal set;}
public ushort Build {get; internal set;}
public ushort Private {get; internal set;}
public override string ToSt... | 2.308992 | 9a4acf6f2cddb8550673f3cc9eec5154 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70536 | {
"extension": "c-sharp",
"max_stars_count": "13764.0",
"max_stars_repo_name": "jangernert/Avalonia",
"max_stars_repo_path": "src/Windows/Avalonia.Win32/FramebufferManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70537"
} | starcoder | <gh_stars>1000+
using System;
using System.Threading;
using Avalonia.Controls.Platform.Surfaces;
using Avalonia.Platform;
using Avalonia.Win32.Interop;
#nullable enable
namespace Avalonia.Win32
{
internal class FramebufferManager : IFramebufferPlatformSurface, IDisposable
{
private const int _bytesPe... | 2.237934 | 180d472734a06f097156945c52ea88dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70537 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "waidelotte/WDLT.Feed",
"max_stars_repo_path": "WDLT.Feed/Helpers/Behaviors/ListViewBehavior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70538"
} | starcoder | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
namespace WDLT.Feed.Helpers.Behaviors
{
public static class ListViewBehavior
{
public static readonly DependencyProperty ScrollSelectedIntoViewProperty =
DependencyProperty.Register... | 2.548536 | 081815b2f3e250651135c6f9650886f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70538 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "niemyjski/nettiers",
"max_stars_repo_path": "Samples/AdventureWorks/Generated/Nettiers.AdventureWorks.Entities/IContactCreditCard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70539"
} | starcoder | using System;
using System.ComponentModel;
namespace Nettiers.AdventureWorks.Entities
{
/// <summary>
/// The data structure representation of the 'ContactCreditCard' table via interface.
/// </summary>
/// <remarks>
/// This struct is generated by a tool and should never be modified.
/// </remarks>... | 2.527824 | 4e4e0a4ff9528eaa939246dbed980997 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70539 | {
"extension": "c-sharp",
"max_stars_count": "73.0",
"max_stars_repo_name": "sencagri/UblSharp",
"max_stars_repo_path": "src/UblSharp.Tests/Samples/UBL-OrderResponseSimple-2.1-Example.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70540"
} | starcoder | // Generated by UblSharp.Tests.Generator
using System;
using System.Collections.Generic;
using System.Xml;
using UblSharp;
using UblSharp.CommonAggregateComponents;
using UblSharp.CommonExtensionComponents;
using UblSharp.UnqualifiedDataTypes;
using UblSharp.XmlDigitalSignature;
using UblSharp.Tests.Util;
namespace Ub... | 1.874693 | 946b66017e005275bd6f49f04d17af93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70540 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MiniverCheevy/spa-starter-kit",
"max_stars_repo_path": "src/Vue/Infrastructure/Authentication/WindowsAuthenticationMiddleware.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70541"
} | starcoder | <filename>src/Vue/Infrastructure/Authentication/WindowsAuthenticationMiddleware.cs
using System.Security.Principal;
using System.Threading.Tasks;
using Core.Operations.CurrentUsers;
using Core.Operations.CurrentUsers.Extras;
using Microsoft.AspNetCore.Http;
using Voodoo;
namespace Web.Infrastructure.Authentication
{
... | 2.447203 | 7917c685a54b1f785699fe4b2faa3565 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70541 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "rushfive/RunInfoBuilder",
"max_stars_repo_path": "Test/FunctionalTests/Tests/Processing/SequenceArgument/FailTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70542"
} | starcoder | using R5.RunInfoBuilder.FunctionalTests.Models;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace R5.RunInfoBuilder.FunctionalTests.Tests.Processing.SequenceArgument
{
public class SequenceArgumentFailTests
{
private static RunInfoBuilder GetBuilder()
{
return new RunI... | 2.625973 | 7c455aaa1566e4b5e706d99b9627be8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70542 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/bits.test/units/t_mux.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70543"
} | starcoder | <gh_stars>0
//-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Linq;
public class t_mux : t_bits<t_... | 1.95493 | e59e4f0c17558ccf1bf59a1343716f59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70543 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanielWojnar/Animulu",
"max_stars_repo_path": "Animulu/Pages/Shared/_Layout.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:70544"
} | starcoder | @using Microsoft.AspNetCore.Identity
@using Animulu.Models
@inject SignInManager<AnimuluUser> signInManager
@inject UserManager<AnimuluUser> userManager
<!DOCTYPE html>
<html lang="en">
<head>
<base href="~/" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" ... | 1.669234 | 39e3ba9090449e5894a30230118dfdaf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70544 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "madeso/PrettyGood.net",
"max_stars_repo_path": "Game/CollisionResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70545"
} | starcoder | <reponame>madeso/PrettyGood.net
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Game
{
public class CollisionResult
{
public readonly bool X;
public readonly bool Y;
public CollisionResult(bool x, bool y)
{
... | 2.540035 | 2aa09cd6dd07807af63a18187db2e2d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70545 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZhaoQingYing/DemoEventBusForRabbitMQ",
"max_stars_repo_path": "DemoEventBusRabbitMQ/RabbitMQEventBus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70546"
} | starcoder | <gh_stars>0
using DemoEventBusFramewrok;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using RabbitMQ.Client;
using Autofac;
using Polly;
using Polly.Retry;
using RabbitMQ.Client.Exceptions;
using System.Net.Sockets;
using Ne... | 2.197684 | 7eacf131c5cda479de547f9bd7a83974 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70546 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "unfernojp/Unfex",
"max_stars_repo_path": "Unity/Assets/Unfex/Scripts/Scenes/SceneObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70547"
} | starcoder | /**
* Unfex - unferno extentions
*
* @overview Unfex provides a basic set of classes that can be used as a foundation for application development.
* @author taka:unferno.jp
* @version 1.0.0
* @see http://unferno.jp/
*
* Licensed under the MIT License
* http://www.opensource.org/licenses/mit-license.php
... | 2.489649 | 7a661edd16205bcf82a3ebbd790d171a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70547 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fergorgs/Pequenos-Sonhos",
"max_stars_repo_path": "Assets/Player/Scripts/OverlapAvoidance.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70548"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OverlapAvoidance : MonoBehaviour {
public GameObject wrdControl;
// public GameObject Player;
private WorldSwitchScript wrdSwitch;
private Vector3 curPos;
// Use this for initialization
... | 2.217885 | 8e5c3de19b2f865e5b545c54f534d851 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70548 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "japerr/Topshelf",
"max_stars_repo_path": "src/Topshelf.Supervise/Scripting/CommandHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70549"
} | starcoder | // Copyright 2007-2012 <NAME>, <NAME>, <NAME>, et. al.
//
// 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 re... | 2.564158 | 6f634e444c572f7750684d83f657c8bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70549 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MatrixAINetwork/MATRIX_GENESISEDITOR",
"max_stars_repo_path": "JsonTreeView/AfterSelectEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70550"
} | starcoder | <filename>JsonTreeView/AfterSelectEventArgs.cs
using System;
namespace JsonTreeView
{
public class AfterSelectEventArgs : EventArgs
{
public AfterSelectEventArgs(string typeName, string jTokenTypeName, Func<string> getJsonString)
{
TypeName = typeName;
JTokenTypeName = j... | 2.434772 | 85ae09172bc3ad5bd2cb274965440aa5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70550 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JamieMagee/webhooks.net",
"max_stars_repo_path": "src/Octokit.Webhooks/Models/MembershipAddedEvent/Scope.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70551"
} | starcoder | namespace Octokit.Webhooks.Models.MembershipAddedEvent;
using System.Runtime.Serialization;
using System.Text.Json.Serialization;
[JsonConverter(typeof(JsonStringEnumMemberConverter))]
public enum Scope
{
[EnumMember(Value = "team")]
Team,
}
| 1.685025 | 4376da5aa4ffc4a8ac93ceac82545652 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70551 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Svengali/elasticsearch-net",
"max_stars_repo_path": "src/Nest/XPack/Watcher/Condition/ArrayCompareConditionBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70552"
} | starcoder | using System.Runtime.Serialization;
using System.Text;
using Elasticsearch.Net;
namespace Nest
{
[InterfaceDataContract]
[JsonFormatter(typeof(ArrayCompareConditionFormatter))]
public interface IArrayCompareCondition
{
string ArrayPath { get; set; }
string Comparison { get; }
string Path { get; set; }
Qu... | 2.489083 | 6897213d74b778b9adc058e008058559 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70552 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "tabacws-marketing/continental-cloudyourself",
"max_stars_repo_path": "Backend/Gateways/SelfServicePortalApi/Src/AllocationKeys/CreateAllocationKeyVmLinkStrategy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70553"
} | starcoder | using Fancy.ResourceLinker;
using Microsoft.AspNetCore.Mvc;
namespace CloudYourself.Backend.Gateways.SelfServicePortalApi.AllocationKeys
{
/// <summary>
/// Link strategy to link a <see cref="CreateAllocationKeyVm"/>.
/// </summary>
public class CreateAllocationKeyVmLinkStrategy : LinkStrategyBase<Cre... | 2.127871 | 0bec5aec7f6eeef8764e77c626853085 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70553 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kaikoga/EasyModeAvatar-Unity",
"max_stars_repo_path": "EasyModeAvatar/Assets/Silksprite/EmoteWizard/ActionWizard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70554"
} | starcoder | using System.Collections.Generic;
using Silksprite.EmoteWizard.Base;
using Silksprite.EmoteWizard.DataObjects;
using UnityEngine;
namespace Silksprite.EmoteWizard
{
[DisallowMultipleComponent]
public class ActionWizard : EmoteWizardBase
{
[SerializeField] public bool fixedTransitionDuration = true;... | 1.37777 | 4c898c1cacda7f76e490c75f3390e932 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70554 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/network/Azure.ResourceManager.Network/tests/Tests/NetworkWatcherTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70555"
} | starcoder | <gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Linq;
using Azure.Core.TestFramework;
using Azure.ResourceManager.Resources;
using Azure.ResourceManager.Resources.Models;
using A... | 1.634304 | aab8bfa29cecd3f98aea5670a44c92cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70555 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joris579/IRemember",
"max_stars_repo_path": "IRemember/IRemember/PhotoPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70556"
} | starcoder | <filename>IRemember/IRemember/PhotoPage.xaml.cs<gh_stars>0
using IRemember.Common;
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using Windows.Devices.Geolocation;
using Windows.Storage;
using Windows.Storage.AccessCache;
using Windows.Storage.Streams;
using Windows.UI.Popups... | 2.20282 | 7810422b437abb3791ea08bd301268ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70556 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "BlauFx/RhythmBox",
"max_stars_repo_path": "RhythmBox.Window/Screens/MainMenu.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70557"
} | starcoder | <reponame>BlauFx/RhythmBox
using osu.Framework.Allocation;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
using osu.Framework.Input.E... | 1.619866 | ee2baf285e0b5ad262f5f895ffaa64ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70557 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "chenjian8541/gmp",
"max_stars_repo_path": "src/TTY.GMP.DataAccess/CommonLib.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70558"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using TTY.GMP.Entity.Enum;
namespace TTY.GMP.DataAccess
{
/// <summary>
/// 公共操作
/// </summary>
public class CommonLib
{
/// <summary>
/// 获取地区级别对应的数据库字段
/// </summary>
/// <param name="level"></para... | 2.556676 | 7cc9188254802c7d4f49f35b10da2545 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70558 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "AlzPatz/yak2d",
"max_stars_repo_path": "src/Yak2D.Graphics/GpuDataStructs/DownSampleKernel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70559"
} | starcoder | using System.Numerics;
using System.Runtime.InteropServices;
namespace Yak2D.Graphics
{
[StructLayout(LayoutKind.Explicit)]
public struct KernelFactors
{
[FieldOffset(0)]
public Matrix4x4 PixelShifts;
[FieldOffset(64)]
public Vector4 Weights;
public const uint SizeI... | 1.836926 | d366aed0534eda3a816c0feb14fb854c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70559 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "quisquous/OverlayPlugin",
"max_stars_repo_path": "OverlayPlugin.Core/Controls/GeneralConfigTab.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70560"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using RainbowMage.HtmlRenderer;
using Advanced_Combat_Tracker;
namespace RainbowMage.OverlayPlugin
{
... | 2.175885 | 7aa3cc6a8fa73f45d8ebf246089a6699 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70560 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ctrmcubed/TradeCube-Services",
"max_stars_repo_path": "src/Shared/Helpers/MappingHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70561"
} | starcoder | using Shared.DataObjects;
using System.Collections.Generic;
using System.Linq;
namespace Shared.Helpers
{
public class MappingHelper
{
private readonly Dictionary<(string MappingKey, string MappingFrom), MappingDataObject> mappings;
public MappingHelper(IEnumerable<MappingDataObject> mappings... | 2.694685 | d5760b39bf9409b2f59838bd5acf600d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70561 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NessDisk/Crewild",
"max_stars_repo_path": "Assets/scripts/Npc/Npc_Tienda.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70562"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Npc_Tienda : MonoBehaviour
{
public bool desactivador;
public NPC_Dialogo Dialogo;
public Canvas CanvasTienda;
public bool DisparadorEvento;
/// <summary>
/// Array de datos los diaogos q... | 1.797491 | 0bdffb9d718471a641413fc9fb98ec40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70562 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "antosubash/FileUpload",
"max_stars_repo_path": "src/FileUpload.Domain/Data/IFileUploadDbSchemaMigrator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70563"
} | starcoder | using System.Threading.Tasks;
namespace FileUpload.Data
{
public interface IFileUploadDbSchemaMigrator
{
Task MigrateAsync();
}
}
| 1.379322 | ab64f3716351cb7989ba4c53e80ce12c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70563 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TrevorDArcyEvans/Blazorise_Charts_Gantt",
"max_stars_repo_path": "Blazorise.ChartsEx/Common/IndexableOption.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70564"
} | starcoder | <reponame>TrevorDArcyEvans/Blazorise_Charts_Gantt
using System;
using System.Collections.Generic;
using System.Linq;
namespace Blazorise.ChartsEx
{
/// <summary>
/// Represents an object that can be either a single value or an array of values. This is used for type safe js-interop.
/// </summary>
/// ... | 3.062597 | 96412feb727e32953e440a202583d8d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70564 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "swgunxdev/MDSimulation",
"max_stars_repo_path": "Shared/MDModelingUnitTest/StringPropertyTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70565"
} | starcoder | using System;
using MDModeling;
using MDModeling.Utils;
// #if !NUNIT
// using Microsoft.VisualStudio.TestTools.UnitTesting;
// using Category = Microsoft.VisualStudio.TestTools.UnitTesting.DescriptionAttribute;
// #else
using NUnit.Framework;
using TestInitialize = NUnit.Framework.SetUpAttribute;
using TestContext =... | 2.578167 | 8b91ca2800e117b75a88bd294ecd65c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70565 | {
"extension": "c-sharp",
"max_stars_count": "296.0",
"max_stars_repo_name": "tenghui-kooboo/Kooboo",
"max_stars_repo_path": "Kooboo.Data/Jobs/JobContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70566"
} | starcoder | //Copyright (c) 2018 Yardi Technology Limited. Http://www.kooboo.com
//All rights reserved.
using Kooboo.Data;
using Kooboo.Data.Interface;
using Kooboo.Lib.Reflection;
using System;
using System.Collections.Generic;
namespace Kooboo.Jobs
{
public static class JobContainer
{
static JobContainer()
... | 2.408849 | f75bed3d4a1208ee9979a8316845e124 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70566 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Voxellers/Plane-Game-Jam",
"max_stars_repo_path": "Assets/Scripts/Vehicles/PlayerPlane.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70567"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof (Rigidbody2D))]
public class PlayerPlane : Plane
{
}
| 1.272717 | e6eada64e765b8b6e0305b5c4752fc3a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70567 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ViersJW/TanieZarcie",
"max_stars_repo_path": "WEB.Shop.UI/Views/Manager/Edit.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:70568"
} | starcoder | <filename>WEB.Shop.UI/Views/Manager/Edit.cshtml<gh_stars>1-10
@model NewsViewModel
<link href="~/lib/Trumbowyg-master/dist/ui/trumbowyg.min.css" rel="stylesheet" />
<div>
<form asp-controller="Manager" asp-action="Edit" method="post" enctype="multipart/form-data">
<input asp-for="Id" type="hidden" />
... | 2.210123 | b2bcfa7e264114db0dce1ec1b9b08203 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70568 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "accept-project/accept-portal",
"max_stars_repo_path": "AcceptPortal/Views/PostEdit/DemoProjects.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:70569"
} | starcoder | @model IEnumerable<AcceptPortal.Models.Admin.Project>
@{
ViewBag.Title = AcceptPortal.Resources.Global.PostEditMyProjectsLabel;
}
@{
bool isUserAdmin = (User.IsInRole("Admin") || User.IsInRole("SIGAdmin"));
}
<h2>@AcceptPortal.Resources.Global.PostEditMyProjectsLabel</h2>
@if (Model.Any())
{
<div i... | 1.964867 | 5981726f25238b692cd3a9cab4cc5925 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70569 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jma-haufe/Bno1",
"max_stars_repo_path": "Source/Bno1/DataService/PersistenceHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70570"
} | starcoder | using System;
using System.IO;
using Windows.Storage;
namespace transmate.DataService
{
public class PersistenceHelper: IPersistenceWriter
{
private String _basePath = ApplicationData.Current.LocalFolder.Path;
public bool HasFile(string fileName)
{
return File.Exists(Pa... | 2.743983 | 5e1bc54f049f92a1a680feeb42ea8542 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70570 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "csharpfritz/Fritz.StaticWeb",
"max_stars_repo_path": "Test.StaticBlog/TestSiteBaseFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70571"
} | starcoder | <gh_stars>10-100
using System.IO;
using System.Reflection;
using System.Threading;
using Fritz.StaticBlog;
namespace Test.StaticBlog
{
public abstract class TestSiteBaseFixture
{
private static ReaderWriterLockSlim folderLock = new();
public DirectoryInfo OutputPostsFolder { get; private set; }
protected Dir... | 2.491537 | 7febab5e215795604b00f97dbfd98800 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70571 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HelloToMyGames127/Airplane",
"max_stars_repo_path": "Assets/AirplanePhysics/Code/Scripts/Propellers/IP_Airplane_Propeller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70572"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace IndiePixel
{
public class IP_Airplane_Propeller : MonoBehaviour
{
#region Variables
[Header("Propeller Properties")]
public float minRotationRPM = 30f;
public float minQuadRPM... | 1.979176 | 27555373349e1303a1b7a7aa485094dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70572 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AlekseySimonenko/SCore",
"max_stars_repo_path": "Components/Visual/GradientQuad.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70573"
} | starcoder | <filename>Components/Visual/GradientQuad.cs
using UnityEngine;
namespace SCore.Components
{
[ExecuteInEditMode]
[RequireComponent(typeof(MeshFilter))]
public class GradientQuad : MonoBehaviour
{
public Color topColor = Color.blue;
public Color topColor2 = Color.blue;
public Col... | 2.703802 | c9e097e7e074481b36d13b026cf5d99a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70573 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Evgeniy-Batov/HelloWorldSite",
"max_stars_repo_path": "Modules/HelloWorld.Extentions/WebSite.Common/Interfaces/Repositories/IOnlineChatRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70574"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WebSite.Repositories
{
public interface IOnlineChatRepository
{
IEnumerable<WebSite.Models.MeetingSessionVM> GetActiveSessions();
WebSite.Models.MeetingMessageVM AddMes... | 2.225799 | edf81efb2416c6a867dfff264f065e7f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70574 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Luxoft/BSSFramework",
"max_stars_repo_path": "src.other/Framework.Localization/NumberWords/NumberWordsFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70575"
} | starcoder | <filename>src.other/Framework.Localization/NumberWords/NumberWordsFactory.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Text;
using System.Globalization;
using Framework.Localization.NumberWords.Dictionaries;
using Framework.Localization.NumberWords.Enums;
using Framework.Locali... | 2.543322 | cc9f4aa9444a41bd55b7a225323583f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70575 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "pythonology/BeatTogether.DedicatedServer",
"max_stars_repo_path": "BeatTogether.DedicatedServer.Kernel/PacketHandlers/MultiplayerSession/GameplayRpc/LevelFinishedPacketHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70576"
} | starcoder | using BeatTogether.DedicatedServer.Kernel.Abstractions;
using BeatTogether.DedicatedServer.Messaging.Packets.MultiplayerSession.GameplayRpc;
using Serilog;
using System.Threading.Tasks;
namespace BeatTogether.DedicatedServer.Kernel.PacketHandlers.MultiplayerSession.GameplayRpc
{
public sealed class LevelFinishedP... | 2.283411 | 800e2a3816d9f1c2528064066b1e6184 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70576 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryanheath/ravendb",
"max_stars_repo_path": "src/Raven.Client/Documents/Commands/KillOperationCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70577"
} | starcoder | using System.Net.Http;
using Raven.Client.Http;
using Sparrow.Json;
namespace Raven.Client.Documents.Commands
{
public class KillOperationCommand : RavenCommand
{
private readonly long _id;
public KillOperationCommand(long id)
{
_id = id;
}
... | 2.199524 | 4a0f8e3ff165850f454f29d7d337956c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70577 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "williamlims/Academy-csharp",
"max_stars_repo_path": "Academy-csharp/AnimalSelect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70578"
} | starcoder | <reponame>williamlims/Academy-csharp
using System;
using System.Collections.Generic;
namespace Academy_csharp
{
class AnimalSelect
{
List<Animal> estimacao = new List<Animal>();
public int numCachorro = 0;
public int numGato = 0;
public int numPeixe = 0;
public ... | 3.530914 | 57e6ed50b998eccf44701abd2546d44f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70578 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "shopOFF/Telerik-Academy-High-Quality-Code-Course",
"max_stars_repo_path": "Design-Patterns/06. DI and IoC containers/demos/ConsoleWebServer - final/ConsoleWebServer.Framework/HttpResponse.cs",
"provenance": "train-00000-of-00045.json... | starcoder | using System.Net;
using System.Text;
namespace ConsoleWebServer.Framework
{
public class HttpResponse : HttpMessage, IHttpResponse
{
public const string DefaultContentType = "text/plain; charset=utf-8";
private const string ServerEngineName = "ConsoleWebServer";
public HttpResponse(
... | 2.885941 | 25367bd0e7e3bc0e5fc7d4ba612c8675 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70579 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cazzar/VocaDbTagger",
"max_stars_repo_path": "VocaDbModel/Service/EntryUrlParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70580"
} | starcoder | using System.Text.RegularExpressions;
using VocaDb.Model.Domain;
using VocaDb.Model.Utils;
namespace VocaDb.Model.Service {
/// <summary>
/// Parses entry type and ID from URLs to common entries, for example http://vocadb.net/S/3939.
/// This default implementation is based on regular expressions and handles most... | 2.95282 | 4ce66687d85631b47ac9591885684f2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70580 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RichardRanft/OmniEngine.Net",
"max_stars_repo_path": "Templates/C#-Full/Winterleaf.Demo.Full/Models.User/GameCode/Tools/WorldEditor/gui/ObjectSnapOptionsWindow.ed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70581"
} | starcoder | <gh_stars>1-10
// WinterLeaf Entertainment
// Copyright (c) 2014, WinterLeaf Entertainment LLC
//
// All rights reserved.
//
// The use of the WinterLeaf Entertainment LLC OMNI "Community Edition" is governed by this license agreement ("Agreement").
//
// These license terms are an agreement between WinterLe... | 2.199701 | ea2a4bb2438eef8358c0f63ed246aa3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70581 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pablotomico/Guzzlesarus",
"max_stars_repo_path": "Assets/Wwise/Deployment/API/Handwritten/AkAuxSendArray.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70582"
} | starcoder | #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
//////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2012 Audiokinetic Inc. / All Rights Reserved
//
///////////////... | 1.952725 | b66334b7c71cfac2f9efef01d0c8ac08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70582 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Evgeniy347/NetHook",
"max_stars_repo_path": "NetHook.MSTest/GenerateSourceCode/TestInvoke.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70583"
} | starcoder | <gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
/... | 1.580136 | 3012f30209de247fe217fef7782ab3ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70583 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leixf2005/PaySharp",
"max_stars_repo_path": "src/PaySharp.Netpay/Merchant.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70584"
} | starcoder | <filename>src/PaySharp.Netpay/Merchant.cs
using System.ComponentModel.DataAnnotations;
using PaySharp.Core;
namespace PaySharp.Netpay
{
public class Merchant : IMerchant
{
#region 属性
/// <summary>
/// 终端号
/// </summary>
[ReName(Name = "tid")]
[Required(ErrorMes... | 2.335298 | e2086d52fad85448f9ea9cdeca061894 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70584 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lunerr/dea2cs",
"max_stars_repo_path": "src/Common/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70585"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Reflection;
namespace DEA.Common
{
public static class Constants
{
// Discord response codes
public const ushort TOO_MANY_REQUESTS = 429;
// Assembly classes
... | 1.585499 | 4bc38f892b5124f2d88c4edbbf005a3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70585 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "technavi/ChinookASPNETCore3APINTier",
"max_stars_repo_path": "ChinookASPNETCore3APINTier/Chinook.API/Controllers/EmployeeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70586"
} | starcoder | using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Chinook.Domain.Supervisor;
using Chinook.Domain.ApiModels;
using Microsoft.AspNetCore.Cors;
namespace Chinook.API.Controllers
{
[Route("api/[controller]")]
[EnableCors("CorsPolicy")]
[ApiController]
public class Empl... | 2.241565 | 324ba15607bce95cb2688d184e086052 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70586 | {
"extension": "c-sharp",
"max_stars_count": "54.0",
"max_stars_repo_name": "Tarmil/EventStore-Client-Dotnet",
"max_stars_repo_path": "src/EventStore.Client/UserCredentials.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70587"
} | starcoder | using System;
using System.Net.Http.Headers;
using System.Text;
#nullable enable
namespace EventStore.Client {
/// <summary>
/// Represents either a username/password pair or a JWT token used for authentication and
/// authorization to perform operations on the EventStoreDB.
/// </summary>
public class UserCreden... | 2.925105 | 6fe1cbbe1575da83588a2c9471de0618 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70587 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "projecteon/thecollection",
"max_stars_repo_path": "TheCollection.Application.Services/Queries/Tea/BagsCountByBagTypesQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70588"
} | starcoder | namespace TheCollection.Application.Services.Queries.Tea {
using TheCollection.Domain.Core.Contracts;
public class BagsCountByBagTypesQuery : IQuery {
}
}
| 1.195808 | a479ad79aea04c20bf2be14158c4c0a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70588 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Franklin89/OTA-Library",
"max_stars_repo_path": "src/OTA-Library/OntologyDistanceTypeMeasurementSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70589"
} | starcoder | namespace MLSoftware.OTA
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "4.2.0.31")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.opentravel.org/OTA/2003/05")]
public enum OntologyDistanceTypeMeasurementSystem
{
///... | 1.494509 | 49fd1c4d26cf6861ab8d7d97e822637d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70589 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sarisia/Tera-custom-cooldowns",
"max_stars_repo_path": "TCC.Core/ClassSpecific/Reaper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70590"
} | starcoder | <reponame>sarisia/Tera-custom-cooldowns
using TCC.Parsing.Messages;
using TCC.ViewModels;
namespace TCC.ClassSpecific
{
public static class Reaper
{
private static readonly int ShadowReapingId = 10151010;
public static void CheckBuff(S_ABNORMALITY_BEGIN p)
{
if (ShadowReap... | 1.532061 | 18ad727c6ab77522b2e046d53e3eb57d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70590 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "niuniuzhu/RCFramework",
"max_stars_repo_path": "FairyUGUI/FairyUGUI/UI/FieldTypes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70591"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using DG.Tweening;
using FairyUGUI.Core;
using FairyUGUI.UI.UGUIExt;
namespace FairyUGUI.UI
{
public enum AnchorType
{
Top_Left,
Top_Center,
Top_Right,
Top_Stretch,
Middle_Left,
Middle_Center,
Middle_Right,
Middle_Stretch,
Bottom_Left,
Bottom_Cent... | 1.992086 | 72f29791806fd7598e0ecd2d740b9592 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70591 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "notfoundimpactaadsnoturno/ecommerce-store",
"max_stars_repo_path": "EcommerceStore/src/services/EcommerceStore.Carrinho.API/Model/CarrinhoCliente.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70592"
} | starcoder | using FluentValidation;
using FluentValidation.Results;
using System;
using System.Collections.Generic;
using System.Linq;
namespace EcommerceStore.Carrinho.API.Model
{
public class CarrinhoCliente
{
public const int MAX_QUANTIDADE_ITEM = 15;
public Guid Id { get; set; }
public Guid C... | 2.493582 | b110ce6794c0a35f54d61be21057806b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70592 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LeeGordon83/dream-league-finance",
"max_stars_repo_path": "LG.DLFinance/Migrations/201807052211513_addmanager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70593"
} | starcoder | namespace LG.DLFinance.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class addmanager : DbMigration
{
public override void Up()
{
DropForeignKey("DL.Emails", "ManagerId", "DL.Manager");
DropIndex("DL.Emails", new[] { "ManagerI... | 1.890862 | c514b26960778ca2a3cc4c4d7ec30f87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70593 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "yswenli/SocketsViewer",
"max_stars_repo_path": "SocketsViewer/Libs/StringExtention.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70594"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace SocketsViewer.Libs
{
public static class StringExtention
{
public static string ToFormatString(float num)
{
if (num < 1024)
{
return $"{num.ToString("0.00")}B";
}
... | 3.284202 | fa575c0f02e3a12715d91e8b3084cfef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70594 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SvetoslavGochev/ShopsCarss",
"max_stars_repo_path": "ShopsCarss/Services/IDbServices.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70595"
} | starcoder | <reponame>SvetoslavGochev/ShopsCarss
namespace ShopsCarss.Services
{
using ShopsCarss.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
public interface IDbServices
{
ApplicationDbContext DataBase();
}
}
| 1.540835 | ed716d36560cada01eab95632d4a3bd9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70595 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nvgeorgiev/Gridiron-Bulgaria",
"max_stars_repo_path": "GridironBulgaria.Web/Data/Configurations/GameConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70596"
} | starcoder | namespace GridironBulgaria.Web.Data.Configurations
{
using GridironBulgaria.Web.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
public class GameConfiguration : IEntityTypeConfiguration<Game>
{
public void Configure(EntityTypeBuilder<Game... | 2.305779 | d5e1cb7939e92249dc05849d947008ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70596 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "n-nakasato/NCore",
"max_stars_repo_path": "NCore/StateMachine/AState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70597"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NCore.StateMachine
{
/// <summary>
/// 状態スケルトンの骨組み
/// 本クラスを継承し、イベント関数を定義する。
/// Auther:n.n
/// </summary>
///
/// <typeparam name="StateId">
/// 状態番号の型
//... | 2.715294 | fd471e2b899921977202f41537a461cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70597 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VulderApp/School",
"max_stars_repo_path": "src/Vulder.School.Infrastructure/Redis/RedisContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70598"
} | starcoder | <filename>src/Vulder.School.Infrastructure/Redis/RedisContext.cs
using StackExchange.Redis;
using Vulder.School.Core;
namespace Vulder.School.Infrastructure.Redis;
public class RedisContext
{
public RedisContext()
{
var redis = ConnectionMultiplexer.Connect(Constants.RedisConnectionString);
Sc... | 2.135199 | 5ca20c67f4bf5107720b16ad20ecc4f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70598 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rbasniak/rbk-api-modules",
"max_stars_repo_path": "rbkApiModules.Notifications/Models/NotificationStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70599"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace rbkApiModules.Notifications.Models
{
/// <summary>
/// Possíveis estados das notificações
/// </summary>
public enum NotificationStatus
... | 2.466166 | 60adf2b654b66542cad46227a644fc00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70599 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jdluzen/Xamarin-Forms-Labs",
"max_stars_repo_path": "src/Serialization/XLabs.Serialization/SystemJsonSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70600"
} | starcoder | <gh_stars>1-10
#if BUSINESS_LICENSE
using System.IO;
using System.Runtime.Serialization.Json;
namespace XLabs.Serialization
{
/// <summary>
/// The system JSON serializer.
/// </summary>
public class SystemJsonSerializer : StreamSerializer, IJsonSerializer
{
/// <summary>
/// Gets ... | 2.700354 | 53ef43ca735c5b187939c9ccbcd30076 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70600 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rupendrab/csharp",
"max_stars_repo_path": "ConsoleAppSqlServer/ConsoleAppSqlServer/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70601"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
namespace ConsoleAppSqlServer
{
class Program
{
static Boolean checkTableExists(SqlConnection con, String tableName)
{
string sql =
... | 3.118024 | d3cef3141f4d10698e49303536c251eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70601 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Elders/Skynet",
"max_stars_repo_path": "src/Elders.Skynet.Core/Output/BasicOutput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70602"
} | starcoder | using System;
using System.Linq;
using Elders.Skynet.Core.Util;
namespace Elders.Skynet.Core.Output
{
public class BasicOutput : IOutput
{
private ConcurrentList<IObserver<string>> subscribers;
public BasicOutput()
{
subscribers = new ConcurrentList<IObserver<string>>();
... | 3.035507 | 277a2e683500b0d9f49ff11648cfa156 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70602 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "loremipsumdonec/remote-photographer",
"max_stars_repo_path": "src/RemotePhotographer/Features/Photographer/Schema/PhotographerSubscription.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70603"
} | starcoder | <filename>src/RemotePhotographer/Features/Photographer/Schema/PhotographerSubscription.cs
using RemotePhotographer.Features.Auto.Events;
using RemotePhotographer.Features.Photographer.Events;
namespace RemotePhotographer.Features.Photographer.Schema;
public class PhotographerSubscription
{
[Subscribe]
public ... | 1.880626 | c82976b653be784c41ab29a831fa1324 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70603 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hendrikdelarey/appcampus",
"max_stars_repo_path": "AppCampus.Domain.Models/Entities/Screenshot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70604"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Drumble.DomainDrivenArchitecture.Domain.Models;
namespace AppCampus.Domain.Models.Entities
{
public class Screenshot : DomainEntity<Guid>, IAggregateRoot
{
public string Base64Imag... | 2.617223 | 04ed2fb6f794109e0feea849220c691a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70604 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "cyotek/Cyotek.QuickScan",
"max_stars_repo_path": "src/ImageExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70605"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace Cyotek.QuickScan
{
internal static class ImageExtensions
{
public static Bitmap Copy(this Image image)
{
return image.C... | 3.097239 | 955a768a470b37f94a6ee76414fd02e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70605 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guidi/bancointer_api_dotnet",
"max_stars_repo_path": "src/BancoInterDotNet.Application/Enum/TipoPessoa.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70606"
} | starcoder | namespace BancoInterDotNet.Application.Enum
{
public enum TipoPessoa
{
Fisica,
Juridica
}
}
| 1.496239 | 56a7aa1845d7e77a034189bfc1a1a8cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70606 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "DragonSpark/Framework",
"max_stars_repo_path": "DragonSpark.Testing/Compose/Model/Memory/MemorySelectorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70607"
} | starcoder | <gh_stars>1-10
using DragonSpark.Compose;
using FluentAssertions;
using System;
using System.Linq;
using Xunit;
namespace DragonSpark.Testing.Compose.Model.Memory;
public class MemorySelectorTests
{
[Fact]
public void VerifyIndexOf()
{
var selection = new[] { 1, 2, 3, 4 };
var sut = selection.AsMemory().Then... | 2.500724 | c1a7d201336c455be5d1d2b17136ebf1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70607 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LilyOSullivan/Design-Patterns-in-CSharp",
"max_stars_repo_path": "LiskovSubstitutionPrinciple/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70608"
} | starcoder | <reponame>LilyOSullivan/Design-Patterns-in-CSharp
using System;
namespace LiskovSubstitutionPrinciple
{
public class Rectangle
{
public virtual int Width { get; set; }
public virtual int Height { get; set; }
public Rectangle()
{
}
public Rectangle(int width, ... | 3.851975 | fe119e72a1db0b8e97ebe7241d58eb8d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70608 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MDeyanov/SoftUni",
"max_stars_repo_path": "C#Fundamentals/Basic Syntax, Conditional Statements and Loops - More Exercise/03. Gaming Store/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70609"
} | starcoder | using System;
namespace _03._Gaming_Store
{
class Program
{
static void Main(string[] args)
{
decimal balance = decimal.Parse(Console.ReadLine());
decimal spending = 0;
decimal firstBalance = balance;
string game = "";
while (game != ... | 3.202805 | 21419848ec74290dc53ec984c4ce0e99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70609 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BobbyCannon/Sproto",
"max_stars_repo_path": "Sproto/OSC/OscMidi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70610"
} | starcoder | #region References
using System;
using System.Globalization;
#endregion
namespace Sproto.Osc
{
public struct OscMidi : IOscArgument, IEquatable<OscMidi>
{
#region Constants
public const string Name = "Midi";
#endregion
#region Constructors
public OscMidi(uint value) : this(OscBitConverter.GetBytes(v... | 2.945277 | bc61e10e7709da90f4489151a2f9413a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70610 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "e-manual-goldstein/NakedObjectsFramework",
"max_stars_repo_path": "Programming Model/NakedFunctions/NakedFunctions.ProgrammingModel/Interfaces/IClock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70611"
} | starcoder | <reponame>e-manual-goldstein/NakedObjectsFramework<filename>Programming Model/NakedFunctions/NakedFunctions.ProgrammingModel/Interfaces/IClock.cs
using System;
namespace NakedFunctions
{
//Defines a well-known service that may be accessed via the GetService method on IContainer.
//NakedFunctions provides a de... | 2.519252 | 90013c0bda051c537ff5bc67af763b09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70611 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Anvil3D/Anvil3D-Toolset",
"max_stars_repo_path": "Scripts/Examples/Collections/WeaponWorldItemCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70612"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace VGDevs
{
[CreateAssetMenu(menuName = VGDevs.kCreateMenuPrefixName + "Game/Collection/WeaponWorldItems")]
public class WeaponWorldItemCollection : BaseCollection<WeaponWorldItem>
{
}
} | 1.344332 | 203cba97716e516d36cf44fe0839fbfc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70612 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RimWorldMods/EdB-ColonistBar-Sources",
"max_stars_repo_path": "EdB.Interface/IntegerOptionsPreference.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70613"
} | starcoder | <reponame>RimWorldMods/EdB-ColonistBar-Sources<filename>EdB.Interface/IntegerOptionsPreference.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using UnityEngine;
using Verse;
namespace EdB.Interface
{
public abstract class IntegerOptionsPreferenc... | 2.346038 | b4d5f2810f248f3abddca919de1d6ab7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70613 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DAXGRID/open-ftth-events-csharp",
"max_stars_repo_path": "OpenFTTH.Events/RouteNetwork/Infos/RouteNodeKindEnum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70614"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace OpenFTTH.Events.RouteNetwork.Infos
{
public enum RouteNodeKindEnum
{
CentralOfficeBig,
CentralOfficeMedium,
CentralOfficeSmall,
CabinetBig,
CabinetSmall,
ManHole,
HandHole... | 1.526624 | 2076d7fd2d7abe414197e3e84f0b6731 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70614 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dtronix/DtronixModel",
"max_stars_repo_path": "src/DtronixModelTests/Performancer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70615"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DtronixModelTests
{
public class Performancer
{
private class LogItem
{
public long elapsed_time;
public ... | 2.477431 | aee9fcee4e96016b67f3714c1e23036e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70615 | {
"extension": "c-sharp",
"max_stars_count": "176.0",
"max_stars_repo_name": "kegbeach/ErsatzTV",
"max_stars_repo_path": "ErsatzTV.Infrastructure/Migrations/20210225203458_SingularTableNames.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70616"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
namespace ErsatzTV.Infrastructure.Migrations
{
public partial class SingularTableNames : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
"FK_Channels_FFmpegP... | 1.859825 | 7054f283e2a1e0d42613d72e41ac94a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70616 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "PumpkinPaul/Gearset",
"max_stars_repo_path": "Gearset/Components/Alerter/Alerter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70617"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Gearset.Components
{
/// <summary>
/// Shows important alerts on the screen
/// </summary>
public class Alerter : Gear
{
private List<AlertItem... | 2.535653 | 51564f4a3257041b788f85c58b1f2c0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70617 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JerrettDavis/AuthorizationServer",
"max_stars_repo_path": "Src/AuthorizationServer/Common/Interfaces/IRoleStore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70618"
} | starcoder | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using AuthorizationServer.Models;
namespace AuthorizationServer.Common.Interfaces
{
public interface IRoleStore
{
Task<IEnumerable<Role>> GetRolesByNameAsync(
IEnumerable<string> roles,
Canc... | 1.816651 | ef9f2099e0bb0cef1ec84ee972e90926 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70618 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "SqlRepo/SqlRepo",
"max_stars_repo_path": "SqlRepo.SqlServer.Tests/SqlStatementTestBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70619"
} | starcoder | <gh_stars>10-100
using System;
using System.Data;
using FluentAssertions;
using NSubstitute;
using NSubstitute.Extensions;
using NUnit.Framework;
using SqlRepo.Abstractions;
using SqlRepo.SqlServer.Abstractions;
using SqlRepo.Testing;
namespace SqlRepo.SqlServer.Tests
{
[TestFixture]
public abstract class SqlS... | 2.153908 | b2d62ecb07297419a0b58a7b3958116d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70619 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "weimingtom/Sakura",
"max_stars_repo_path": "Sce.Pss.HighLevel/GameEngine2D/Director.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70620"
} | starcoder | using Sce.Pss.Core.Environment;
using Sce.Pss.Core.Graphics;
using Sce.Pss.HighLevel.GameEngine2D.Base;
using System;
using System.Collections.Generic;
namespace Sce.Pss.HighLevel.GameEngine2D
{
public class Director : IDisposable
{
private delegate void DSceneEvent();
private List<Scene> m_scenes_stack = new L... | 1.927511 | 09391b94a5dd94fdc395dba407a12472 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70620 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cegonse/spookie-boogie",
"max_stars_repo_path": "src/Actuator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70621"
} | starcoder | using System;
using UnityEngine;
using System.Collections.Generic;
public class Actuator : MonoBehaviour
{
public enum State { IDLE, RUNNING };
public Furniture _type;
public float _timeout;
public int _useCount;
public AudioClip _sound;
public Sprite _broken;
public bool _toggleable = fal... | 2.217644 | 96f20ec872a18e78984f833271626d89 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70621 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SSchulze1989/iRLeagueApiCore",
"max_stars_repo_path": "iRLeagueApiCore.Client/ILeagueApiClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70622"
} | starcoder | <reponame>SSchulze1989/iRLeagueApiCore
using iRLeagueApiCore.Client.Endpoints.Leagues;
using iRLeagueApiCore.Client.Endpoints.Seasons;
using iRLeagueApiCore.Client.Results;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
names... | 1.811551 | b2bab25e9f82177dee7581bcba5343c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70622 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Pyther99/vocadb",
"max_stars_repo_path": "VocaDbModel/Service/Search/AlbumSearch/AlbumSearchSort.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70623"
} | starcoder | <filename>VocaDbModel/Service/Search/AlbumSearch/AlbumSearchSort.cs
#nullable disable
using System.Linq;
using VocaDb.Model.Domain.Albums;
using VocaDb.Model.Domain.Globalization;
using VocaDb.Model.Service.Helpers;
namespace VocaDb.Model.Service.Search.AlbumSearch
{
public class AlbumSearchSort
{
priv... | 2.30305 | dcd50fa5e950cf70740dc27db135b57a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70623 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "oldrev/sandwych-smartconfig",
"max_stars_repo_path": "test/Sandwych.SmartConfig.Test/Airkiss/Protocol/AirkissProcedureEncoderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70624"
} | starcoder | <gh_stars>10-100
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sandwych.SmartConfig.Util;
using Sandwych.SmartConfig.Airkiss.Protocol;
using Sandwych.SmartConfig.Airkiss;
using System.Net.NetworkInformation;
using System.Net;
namespace Sandwych.Smar... | 2.184806 | 444eb8cac6829ed369bc831a2567792a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70624 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "swythan/showlist-tivo",
"max_stars_repo_path": "Src/BouncyCastle/src/crypto/tls/TlsPskKeyExchange.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70625"
} | starcoder | <filename>Src/BouncyCastle/src/crypto/tls/TlsPskKeyExchange.cs
using System;
using System.IO;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.Math;
namespace Org.BouncyCastle.Crypto.Tls
{
internal class TlsPskKeyExchange
: TlsKeyExchange
{
protected TlsClientContext context;
prote... | 2.100456 | 8504d700986c075e695a479c941dd508 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70625 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sonic853/VRoidChinese",
"max_stars_repo_path": "VRoidChinese/VRoidChinese.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70626"
} | starcoder | <filename>VRoidChinese/VRoidChinese.cs
using System;
using BepInEx;
using System.IO;
using HarmonyLib;
using UnityEngine;
using System.Text;
using Newtonsoft.Json;
using VRoid.UI.Messages;
using BepInEx.Configuration;
using System.Collections.Generic;
using StandaloneWindowTitleChanger;
namespace VRoidChinese
{
[B... | 2.061597 | d12ce9556d03af26a7e539b63382fd80 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70626 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidikin45/DigitalNomadDave",
"max_stars_repo_path": "DND/Views/Shared/Sidebar/_SidebarTags.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:70627"
} | starcoder | @model IList<DND.Core.DTOs.TagDTO>
<div class="tags sidebar-module">
<h3>Tags</h3>
@if (Model.Count > 0)
{
foreach (var tag in Model)
{
<a href="@(Url.Action(nameof(BlogController.Tag),"Blog", new { tagSlug = tag.UrlSlug }))" title="@(String.Format("See all posts in {0}", tag.... | 2.729954 | 8aad1b58ebb23a18c97badbb524668e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jesherdevsk8/Interface_e_Logica",
"max_stars_repo_path": "Aluguel de Carros/Tesla/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70628"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Drawing.Imaging;
namespace Tesla
{
public partial class FormTesla : Form
{
... | 2.093961 | 60c7ea0b0fc46b8060b586225371607c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70628 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "inb4ohnoes/Peer",
"max_stars_repo_path": "Peer/Question.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70629"
} | starcoder | <filename>Peer/Question.cs
using System;
public interface Question
{
void setQuestion(string question);
string getQuestion();
//void setAnswers();
//string getAnswers();
string getType();
}
| 1.871537 | eff1fa04efd9fa45136d1143de59369d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70629 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igoreksiz/NetOffice",
"max_stars_repo_path": "Source/Word/DispatchInterfaces/KeyBinding.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70630"
} | starcoder | <filename>Source/Word/DispatchInterfaces/KeyBinding.cs<gh_stars>0
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.WordApi
{
/// <summary>
/// DispatchInterface KeyBinding
/// SupportByVersion Word, 9,10,11,12,14,15,16
/// </summary>
///... | 1.480566 | 9062a0818fd88d0b21e0051c6592e305 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mlflabs/unity-test",
"max_stars_repo_path": "Assets/Scripts/Mlf/Sm/Base/BaseSm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70631"
} | starcoder | using System;
using System.Collections.Generic;
using Mlf.Sm.State;
using UnityEngine;
namespace Mlf.Sm.Base {
// State Machine
public abstract class BaseSm<T> : MonoBehaviour, IBaseSm
where T : IBaseSm {
[SerializeField] public Dictionary<string, BaseState<T>> states =
new ... | 2.639196 | 792b77e87c5b6189100958825d7dc030 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70631 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "parvbhullar/rdlc.report.engine",
"max_stars_repo_path": "Oranikle.Report.Engine/Definition/SubtotalPosition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70632"
} | starcoder | /* ====================================================================
*/
using System;
namespace Oranikle.Report.Engine
{
///<summary>
/// Handle the matrix subtotal position: before, after
///</summary>
public enum SubtotalPositionEnum
{
Before, ... | 2.403836 | 0504358c21eefc6f7d86b5ca42f59284 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70632 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "tangirala-aditya/azure-iot-platform-dotnet",
"max_stars_repo_path": "src/services/iothub-manager/WebService/Models/ColumnMappingModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70633"
} | starcoder | // <copyright file="ColumnMappingModel.cs" company="3M">
// Copyright (c) 3M. All rights reserved.
// </copyright>
namespace Mmm.Iot.IoTHubManager.WebService.Models
{
public class ColumnMappingModel
{
public ColumnMappingModel(string name, string mapping)
{
this.Name = name;
... | 1.90803 | 2520d02b9bd0aec922a8553c40c53a56 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.