added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810418 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "wrld3d/wrld-unity-ar-samples",
"max_stars_repo_path": "Assets/Wrld/Scripts/Space/EarthConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129638"
} | starcoder | // Copyright Wrld Ltd (2012-2014), All Rights Reserved
namespace Wrld.Space
{
/// <summary>
/// Physical constants for Earth.
/// </summary>
public static class EarthConstants
{
/// <summary>
/// Radius of spherical Earth (metres).
/// </summary>
public ... | 2.870035 | ca3215d78d02d7b010e08b5b205a5e89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810419 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanielaIvanova/04.CSharp-Advanced",
"max_stars_repo_path": "06. StringsAndTextProcessing/18.ExtractE-mails/ExtractEmails.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129639"
} | starcoder | <filename>06. StringsAndTextProcessing/18.ExtractE-mails/ExtractEmails.cs
using System;
using System.Text.RegularExpressions;
class ExtractEmails
{
static string[] ExtractMails(string text)
{
string regexPattern = @"\b[A-Z0-9._-]+@[A-Z0-9][A-Z0-9.-]{0,61}[A-Z0-9]\.[A-Z.]{2,6}\b";
MatchCollect... | 3.753757 | 61f2a3fe462d381cb9ecac35a47fe5db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810420 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeKJ/OpenMU",
"max_stars_repo_path": "src/ConnectServer/ConnectServerFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129640"
} | starcoder | // <copyright file="ConnectServerFactory.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.ConnectServer
{
using MUnique.OpenMU.Interfaces;
/// <summary>
/// The connect server factory.
... | 2.257581 | e5b0d4d46883f0aeb8c3a8ea05fa2295 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810421 | {
"extension": "c-sharp",
"max_stars_count": "156.0",
"max_stars_repo_name": "rartola/Test",
"max_stars_repo_path": "ResourceMetadata/ResourceMetadata.Data/Configurations/IdentityUserLoginConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129641"
} | starcoder | <filename>ResourceMetadata/ResourceMetadata.Data/Configurations/IdentityUserLoginConfiguration.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity.EntityFramework;
using System.Data.Entity.ModelConfiguration;
namespace ... | 2.269965 | c412a434333a2a4e22c0c0ddb899eeb8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810422 | {
"extension": "c-sharp",
"max_stars_count": "522.0",
"max_stars_repo_name": "essensoft/paymen",
"max_stars_repo_path": "src/Essensoft.Paylink.Alipay/Domain/AssetParams.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129642"
} | starcoder | using System.Text.Json.Serialization;
namespace Essensoft.Paylink.Alipay.Domain
{
/// <summary>
/// AssetParams Data Structure.
/// </summary>
public class AssetParams : AlipayObject
{
/// <summary>
/// 资产类型: 1. BANK(银行卡) 2. ACCOUNT(账号模式)
/// </summary>
[JsonPrope... | 1.947464 | 70f11153b77a58c8cf2fb5f721262463 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810423 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "soheilpro/Sherlock-Win",
"max_stars_repo_path": "Database/Folder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129643"
} | starcoder | <gh_stars>1-10
using System;
using System.Xml.Serialization;
namespace Sherlock.Database
{
[Serializable]
public class Folder
{
private string _name;
private Folder _parent;
private ItemCollection _items = new ItemCollection();
private FolderCollection _folders = ... | 2.653813 | 5537b96b3448532f1f18ab64458a35ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810424 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "rwredding/jerrycurl",
"max_stars_repo_path": "src/Mvc/Jerrycurl.Data/Commands/ColumnBinding.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129644"
} | starcoder | <gh_stars>10-100
using System;
using Jerrycurl.Relations;
namespace Jerrycurl.Data.Commands
{
public class ColumnBinding : ICommandBinding
{
public string ColumnName { get; }
public IField Field { get; }
public ColumnBinding(string columnName, IField field)
{
this.... | 2.195243 | b6accbf95c6302e0169f4f78b40a7fc7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810425 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "coderIML/NetOffice.net",
"max_stars_repo_path": "Source/Office/DispatchInterfaces/GradientStops.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129645"
} | starcoder | using System;
using NetRuntimeSystem = System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.ComponentModel;
using System.Reflection;
using System.Collections.Generic;
using System.Collections;
using NetOffice;
namespace NetOffice.OfficeApi
{
///<summary>
/// DispatchInter... | 1.536766 | 51f7bb1366e498f58c9b6511c01c1011 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810426 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "StanislawSwierc/WebApi",
"max_stars_repo_path": "test/E2ETest/WebStack.QA.Test.OData/Common/Models/NopCommerce/Domain/Security/SecuritySettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129646"
} | starcoder | using System.Collections.Generic;
using Nop.Core.Configuration;
namespace Nop.Core.Domain.Security
{
public class SecuritySettings : ISettings
{
/// <summary>
/// Gets or sets a value indicating whether all pages will be forced to use SSL (no matter of a specified [NopHttpsRequirementAttribute... | 2.114925 | b63a894416e1a5e6513e48ac2c4e9a4e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810427 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GlebChili/NuGet.Client",
"max_stars_repo_path": "test/NuGet.Clients.Tests/NuGet.VisualStudio.Implementation.Test/Extensibility/VsPackageInstallerServicesTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129647"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.IO;
using Moq;
using NuGet.Configuration;
using NuGet.PackageManagement;
using NuGet.Packag... | 1.663915 | f779ea4549f8c3131e02665a4f6fccdb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810428 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "owolp/TelerikAcademy",
"max_stars_repo_path": "Module-2/Design-Patterns/Exam-Preparation/CosmeticsShop/Cosmetics/Contracts/ICommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129648"
} | starcoder | namespace Cosmetics.Contracts
{
using System.Collections.Generic;
public interface ICommand
{
string Name { get; }
IList<string> Parameters { get; }
}
}
| 1.828583 | e978c083073781fb926ce6ce9c45c46c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810429 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mbellgb/hackcambridge17",
"max_stars_repo_path": "HackCambridgeUnity/Assets/scrips/finish.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129649"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class finish : MonoBehaviour {
bool win = false;
// Use this for initialization
void Start () {
GameObject.Find ("win text").GetComponent<Text>().text = "";
}
// Update is called once per frame
v... | 2.333413 | 0e83cb3338dfecc3358f429ab16d3124 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810430 | {
"extension": "c-sharp",
"max_stars_count": "121.0",
"max_stars_repo_name": "andyshao/crm",
"max_stars_repo_path": "lsc/lsc.crm/obj/Release/netcoreapp2.2/Razor/Pages/Index.g.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129650"
} | starcoder | #pragma checksum "D:\gitCode\crm\lsc\lsc.crm\Pages\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b9d0dc976c732db961a9afa229f9aa360c820669"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(lsc.crm.Pages.Pages_Index), @"mvc... | 1.447837 | bf1045b5d9e4031d9813188408baf273 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810431 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "EssenceSharp/cSharp",
"max_stars_repo_path": "Source/Runtime/ESBehavior.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129651"
} | starcoder | <gh_stars>1-10
/*
* Copyright (c) 2014, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list ... | 1.819609 | b8c138945b95b2f20b876d859ea71a09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810432 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RWS/ecommerce-framework",
"max_stars_repo_path": "dxa.net/ecommerce-framework-dotnet/SDL.ECommerce.Rest/Model/ProductVariantAttributeType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129652"
} | starcoder | using SDL.ECommerce.Api.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SDL.ECommerce.Rest.Model
{
public class ProductVariantAttributeType : IProductVariantAttributeType
{
public string Id { get; set; }
publi... | 2.021892 | e803832a33d0b90b2a2b562b35343297 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810433 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "ctripcorp/caravan.net",
"max_stars_repo_path": "Src/Caravan.Ribbon/ServerSource/DefaultServerSourceFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129653"
} | starcoder | <reponame>ctripcorp/caravan.net<filename>Src/Caravan.Ribbon/ServerSource/DefaultServerSourceFilter.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.Ctrip.Soa.Caravan.Ribbon.LoadBalancer;
using Com.Ctrip.Soa.Caravan.Logging;
using Com.Ctrip.Soa.Caravan.Metric;
using Com... | 1.710426 | 283c2544e7ee3fa390cf175f4be3456f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810562 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hugoabernier/pnpcore",
"max_stars_repo_path": "src/sdk/PnP.Core/Model/Base/DataModelExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129782"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace PnP.Core.Model
{
/// <summary>
/// Data model extension methods for public use
/// </summary>
public static class DataModelExtensions
{
/// <summary>
/// Checks if... | 2.756353 | 6f500ac8498bd2606027c7a4778d4acf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810563 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LazuriteMC/Tetrakis",
"max_stars_repo_path": "Tetrakis/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129783"
} | starcoder | <gh_stars>0
using System;
using System.Threading.Tasks;
using DSharpPlus;
using DSharpPlus.CommandsNext;
using Microsoft.Extensions.Logging;
using Tetrakis.Modules.Misc;
using Tetrakis.Modules.Moderation;
using Tetrakis.Modules.Music;
using Tetrakis.Modules.Tag;
namespace Tetrakis
{
internal static class Program
... | 2.243446 | 2cbe9f98cfff44600cc1e7cd1238ce41 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810564 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "aarrgard/solidrpc",
"max_stars_repo_path": "SolidRpc.Test.Vitec/Types/BusinessIntelligense/Models/EstateReferences.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129784"
} | starcoder | using System.CodeDom.Compiler;
using System.Runtime.Serialization;
using System.Collections.Generic;
namespace SolidRpc.Test.Vitec.Types.BusinessIntelligense.Models {
/// <summary>
///
/// </summary>
[GeneratedCode("OpenApiCodeGeneratorV2","1.0.0.0")]
public class EstateReferences {
/// <su... | 2.083508 | 3b0d541c270a85c0e732c513c0c7bb77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810565 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lordimpi/GenericShopping",
"max_stars_repo_path": "Shopping/Shopping/Views/Countries/DeleteState.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:129785"
} | starcoder | @model Shopping.Data.Entities.State
@{
ViewData["Title"] = "Delete";
}
<h1>Borrar</h1>
<h3>¿Está seguro de borrar el registro?</h3>
<div>
<partial name="_StateDetails"/>
<form asp-action="DeleteState">
<input type="hidden" asp-for="Id" />
<input type="submit" value="Delete" class="... | 2.20731 | a30bed08f52fdc6acd7489372958cd9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810566 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "WeihanLi/mathnet-numerics",
"max_stars_repo_path": "src/Providers.MKL/NativeProviderLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129786"
} | starcoder | <filename>src/Providers.MKL/NativeProviderLoader.cs
// <copyright file="NativeProviderLoader.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
//
// Copyright (c) 2009-2021 Math.NET
//
// Permission is hereby grant... | 2.413687 | 0badc83bade45e10785eb05271271799 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810567 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "startewho/FastNetwork.Core",
"max_stars_repo_path": "FastNetwork.Core/Protocol/BadProtocolException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129787"
} | starcoder |
namespace FastNetwork.Protocol
{
/// <summary>
/// bad protocol exception
/// </summary>
public sealed class BadProtocolException : System.ApplicationException
{
/// <summary>
/// new
/// </summary>
public BadProtocolException()
: base("bad protocol.")
... | 2.532126 | 8ed84e3412df4f084a9e3e9524eac07a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810568 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Sejsel/fsharp-support",
"max_stars_repo_path": "ReSharper.FSharp/src/FSharp.Psi/src/Tree/IPrefixAppExpr.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129788"
} | starcoder | <reponame>Sejsel/fsharp-support
using System;
using JetBrains.Annotations;
using JetBrains.ReSharper.Plugins.FSharp.Psi.Resolve;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.Tree;
namespace JetBrains.ReSharper.Plugins.FSharp.Psi.Tree
{
public partial interface IPrefixAppExpr
{
[CanBeNull] IRefe... | 0.762922 | 49a8101d18420b458ce977a0cbb14eba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810569 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexandrosDa007/Text-Compressor",
"max_stars_repo_path": "TextCompressor/TextCompressor/StartPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129789"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TextCompressor
{
public partial class StartPage : Form
{
public StartPage()
... | 2.188051 | 0cc4afa9f07e25839eea7c27f440fd05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810570 | {
"extension": "c-sharp",
"max_stars_count": "1076.0",
"max_stars_repo_name": "henrymgalvan/oqtane.framework",
"max_stars_repo_path": "Oqtane.Client/Services/PageModuleService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129790"
} | starcoder | using Oqtane.Models;
using System.Net.Http;
using System.Threading.Tasks;
using Oqtane.Documentation;
using Oqtane.Shared;
namespace Oqtane.Services
{
[PrivateApi("Don't show in the documentation, as everything should use the Interface")]
public class PageModuleService : ServiceBase, IPageModuleService
{
... | 2.242135 | fd8049a50b56ab8d95bffd1dcce26ff2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810571 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "trembon/IPTVChannelListProxy",
"max_stars_repo_path": "src/IPTVChannelListProxy/Database/PlaylistChannel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129791"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace IPTVChannelListProxy.Database
{
public class PlaylistChannel
{
[Key]
public int ID { get; set; }
public string Name { ge... | 1.661609 | f2c966a5c3a2773d9a202ce81fa20710 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810572 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "elbereth/Gibbed.BorderlandsOz",
"max_stars_repo_path": "projects/Gibbed.BorderlandsOz.ProtoBufFormats/WillowTwoSave/Tombstone.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129792"
} | starcoder | /* Copyright (c) 2017 Rick (rick 'at' gibbed 'dot' us)
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any pu... | 2.26384 | f5ece695ad4a7bf6b29158f663000aa1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810573 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "JayBeavers/Hands-Free-Keyboard",
"max_stars_repo_path": "apps/Hands-Free-Keyboard/Microsoft.HandsFree.Keyboard.Model/IAudioProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129793"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Microsoft.HandsFree.Keyboard.Model
{
public interface IAudioProvider : IDisposable
{
/// <summary>
/// Key press feedback sound.
/// </summary>
byte[] Click { get; }
/// <summary>
... | 2.457132 | 33138e12189b50748aedcb8aba8c692a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810574 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmako/iSMBIOS",
"max_stars_repo_path": "src/lib/iTin.Core/iTin.Core/Extensions/IntPtrExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129794"
} | starcoder | <filename>src/lib/iTin.Core/iTin.Core/Extensions/IntPtrExtensions.cs
namespace iTin.Core
{
using System;
using System.Runtime.InteropServices;
/// <summary>
/// Static class than contains extension methods for <see cref="T:System.IntPtr" /> type.
/// </summary>
public static class IntPtrExte... | 2.840455 | f4a67f805fdd92cebfb91a98b3ddd145 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810575 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ysovuka/dotnet-blazor-game-tutorial",
"max_stars_repo_path": "src/SimpleRPG.Game.Engine/Factories/DTO/ItemTemplate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129795"
} | starcoder | <reponame>Ysovuka/dotnet-blazor-game-tutorial<gh_stars>0
using SimpleRPG.Game.Engine.Models;
namespace SimpleRPG.Game.Engine.Factories.DTO;
public class ItemTemplate
{
public int Id { get; set; }
public GameItem.ItemCategory Category { get; set; }
public string Name { get; set; } = string.Empty;
p... | 1.782523 | 8f8d15ba8f6509621e88461521e467a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810576 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "SkillsFundingAgency/das-apim-endpoints",
"max_stars_repo_path": "src/SFA.DAS.Vacancies.Manage/InnerApi/Requests/GetProviderAccountLegalEntitiesRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129796"
} | starcoder | using SFA.DAS.SharedOuterApi.Interfaces;
namespace SFA.DAS.Vacancies.Manage.InnerApi.Requests
{
public class GetProviderAccountLegalEntitiesRequest : IGetApiRequest
{
private readonly int _ukprn;
public GetProviderAccountLegalEntitiesRequest(int ukprn)
{
_ukprn = ukprn;
... | 1.807234 | 0cb2d7e57d81bf29791400e3b5cf031c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810577 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vmmarko/MyTested.AspNetCore.Mvc",
"max_stars_repo_path": "src/MyTested.AspNetCore.Mvc.Models/BaseShouldReturnTestBuilderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129797"
} | starcoder | namespace MyTested.AspNetCore.Mvc
{
using System;
using Builders.Contracts.Invocations;
using Builders.Contracts.Models;
using Builders.Base;
using Utilities.Validators;
using Builders.Models;
/// <summary>
/// Contains model extension methods for <see cref="IBaseShouldReturnTestBuilde... | 2.530645 | 47176154d00432dec295f32283b586dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810578 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "taliesins/talifun-commander",
"max_stars_repo_path": "src/Talifun.Commander.Command.Video/Command/Response/VideoConversionResponseMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129798"
} | starcoder | using Talifun.Commander.Command.FileMatcher.Response;
namespace Talifun.Commander.Command.Video.Command.Response
{
public class VideoConversionResponseMessage : PluginResponseMessageBase
{
}
}
| 0.783427 | 3aa38fef380885c51cb981886f4f8a93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810579 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OpenCAGE/AlienCommandsEditor",
"max_stars_repo_path": "CathodeEditorGUI/CathodeEditorGUI.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129799"
} | starcoder | <gh_stars>0
namespace CathodeEditorGUI
{
partial class CathodeEditorGUI
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </... | 1.09441 | 285a1e3f334d8795b9882083d48a20eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810580 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KinaUna/KinaUnaCom",
"max_stars_repo_path": "KinaUnaWeb/Controllers/SkillsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129800"
} | starcoder | <gh_stars>1-10
using KinaUnaWeb.Models.ItemViewModels;
using KinaUnaWeb.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using KinaUna.Data;
using KinaUna.Data.Extensions;
using KinaUna.D... | 2.152174 | f4c3875fac79de25d41e3b33cca76044 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810581 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MehdiValinejad/industrytower",
"max_stars_repo_path": "IndustryTower/ViewModels/CountriesViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129801"
} | starcoder | using IndustryTower.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using IndustryTower.DAL;
using System.Web.Mvc;
using IndustryTower.App_Start;
namespace IndustryTower.ViewModels
{
public class CountriesViewModel
{
private UnitOfWork unitOfWork = new Uni... | 2.199236 | 0a454ecb4afee90fb12af3467163dabb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810582 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vain0/VainZero.WpfNavigation",
"max_stars_repo_path": "WpfNavigationExample/Views/Users/Editing/UserEditPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129802"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using M = WpfNavigationExample.Models;
using MU = WpfNavigationExample.Models.Users;
using L = WpfNavigationExample.Views.LayoutFrames;
using Prism.Mvvm;
namespace WpfNavigationExample.Views.Users.Editin... | 2.103833 | 3e7bd5b84f8d68c772e78b19a0e27fbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810583 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "garfiedhuang/FileHelper",
"max_stars_repo_path": "FileHelpers.Examples/Examples/25.ErrorHandling/30.ErrorMode.IgnoreAndContinue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129803"
} | starcoder | using FileHelpers;
namespace ExamplesFx
{
/// <summary>
/// Simple class with use the error mode for a value not in the enumerator
/// </summary>
public class ErrorModeIgnoreAndContinue
: ExampleBase
{
//-> Name: ErrorMode.IgnoreAndContinue
//-> Description:Read the file dr... | 3.053839 | 5fbd0dbcb233885e816de201db8a3d44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810584 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarkCDavid/vt-encrypchat",
"max_stars_repo_path": "vt-encrypchat.Application/Operations/User/CreateUserOperation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129804"
} | starcoder | <filename>vt-encrypchat.Application/Operations/User/CreateUserOperation.cs
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using vt_encrypchat.Application.Operations.Contracts.User;
using vt_encrypchat.Application.Operations.Exceptions;
using vt_encrypchat.Application.Operations.User.Extensions;
using... | 2.480384 | c897a5f4c292967119bf7f2fe9d53db6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810585 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rogeralsing/consuldotnet",
"max_stars_repo_path": "Consul/Interfaces/IACLEndpoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129805"
} | starcoder | <gh_stars>0
using System;
using System.Threading;
namespace Consul
{
public interface IACLEndpoint
{
WriteResult<string> Clone(string id);
WriteResult<string> Clone(string id, WriteOptions q);
WriteResult<string> Create(ACLEntry acl);
WriteResult<string> Create(ACLEntry acl, Wri... | 1.342167 | a6b26c4072f810b9241a72c0b7f9e4b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810586 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jonatasoli/ualbion",
"max_stars_repo_path": "src/Formats/Parsers/SystemTextLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129806"
} | starcoder | using System;
using System.Globalization;
using System.Text.RegularExpressions;
using SerdesNet;
using UAlbion.Config;
using UAlbion.Formats.Assets;
namespace UAlbion.Formats.Parsers
{
public class SystemTextLoader : IAssetLoader<IntStringDictionary>
{
static readonly Regex Regex = new Regex(@"\[(\d+)... | 2.626274 | a8c02046a2fd6f2eeded5fee06e1a413 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810587 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "efrainmejiasc/ProAudioSystem",
"max_stars_repo_path": "ProAudioSystem/ProAudioSystemCode/Procces_Main.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129807"
} | starcoder | using ProAudioSystemCode.Application;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProAudioSystemCode
{
public class Procces_Main
{
public string ComprobarInstalacion()
{
var result = ... | 2.577632 | 0a96c4a558ef711978abaa7409cd0c6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810588 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "evadremlab/tweetinvi-1.3-issue-850-fix",
"max_stars_repo_path": "Tweetinvi.Logic/JsonConverters/JsonInterfaceToObjectConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129808"
} | starcoder | using System;
using Newtonsoft.Json;
namespace Tweetinvi.Logic.JsonConverters
{
public interface IJsonInterfaceToObjectConverter
{
Type InterfaceType { get; }
}
public class JsonInterfaceToObjectConverter<T, U> : JsonConverter, IJsonInterfaceToObjectConverter
where U : T
{
... | 2.910742 | 407031cd794b26e70b9b55dec00235cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810589 | {
"extension": "c-sharp",
"max_stars_count": "907.0",
"max_stars_repo_name": "darojuv/cset",
"max_stars_repo_path": "CSETWebApi/CSETWeb_Api/BusinessLogic/BusinessManagers/Diagram/analysis/rules/ComponentPairing.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129809"
} | starcoder | using CSETWeb_Api.BusinessManagers.Diagram.Analysis;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSETWeb_Api.BusinessLogic.BusinessManagers.Diagram.analysis.rules
{
public class ComponentPairing: IEquatable<ComponentPairing>
{
... | 2.862595 | 5e51e1d2e32397b651da8b6076323919 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810590 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kou-yeung/MMO-Chat",
"max_stars_repo_path": "Server/UserInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129810"
} | starcoder | <filename>Server/UserInfo.cs<gh_stars>1-10
// ユーザ情報を保持される
using System;
namespace Server
{
public class UserInfo
{
public string Username { get; set; }
public void Auth()
{
Console.WriteLine("Auth!!!");
}
}
}
| 2.687446 | 0bdc4f8a2ba08db0d2ddd7a2507fb292 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810591 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tarzanzito/EntityFramework-Examples",
"max_stars_repo_path": "EntityTests/Data/ApplicationDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129811"
} | starcoder | <filename>EntityTests/Data/ApplicationDbContext.cs
using Microsoft.EntityFrameworkCore;
using WebApplication1.Models;
namespace Candal.Data
{
//https://www.youtube.com/watch?v=SSwuwIzQZvE
public class ApplicationDbContext : DbContext
{
public ApplicationDbContext(DbContextOptions<ApplicationDbCo... | 2.562225 | 68a5a7558e019a27b07c3c5895f2450e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810592 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "haitheredavid/ar-playground",
"max_stars_repo_path": "ar-playground/Library/PackageCache/com.unity.xr.arkit@4.2.2/Runtime/ARKitMeshSubsystemExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129812"
} | starcoder | <reponame>haitheredavid/ar-playground
using System;
using System.Runtime.InteropServices;
using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
using UnityEngine.Scripting;
using UnityEngine.XR.ARSubsystems;
namespace UnityEngine.XR.ARKit
{
/// <summary>
/// ARKit extension methods to the [XRMeshSu... | 2.010403 | 8c9bee42fac4766481df85c27af923e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810593 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "GlimpseCore/GlimpseCore",
"max_stars_repo_path": "src/GlimpseCore.Common/Initialization/IRegisterMiddleware.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129813"
} | starcoder | using Microsoft.AspNetCore.Builder;
namespace GlimpseCore.Common.Initialization
{
public interface IRegisterMiddleware
{
void RegisterMiddleware(IApplicationBuilder appBuilder);
}
}
| 1.416287 | ec18386a7474dc509fc78c11dca5474c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810594 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JohnPKosh/azos",
"max_stars_repo_path": "src/Azos.Sky/EventHub/Server/Web/Hub.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129814"
} | starcoder | /*<FILE_LICENSE>
* Azos (A to Z Application Operating System) Framework
* The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
</FILE_LICENSE>*/
using System;
using System.Threading.Tasks;
using Azos.Apps.Injection;
... | 1.991443 | c1e81b0525f53c39375b79d17913ecc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810595 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SannaNaTu/BankAppTask",
"max_stars_repo_path": "BankAppTask/BankAppTask/Repositories/BankRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129815"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using BankAppTask.Model;
using Microsoft.EntityFrameworkCore;
using System.Linq;
namespace BankAppTask.Repositories
{
class BankRepository
{
private static BankdbContext _context = new BankdbContext();
////Tulosta pankit
... | 2.851264 | beb845501642f9584eb258b27b77514b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810596 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AhmedElhoceny/LikeFinal-Version",
"max_stars_repo_path": "LikeFinal Version/Views/Home/YouTubeViews.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:129816"
} | starcoder | @model Like.Models.ViewModel3
@{
ViewData["Title"] = "YouTubeViews";
Layout = null;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="styleshee... | 1.9189 | 37423d8d5343f848b24ff044f959e57b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810597 | {
"extension": "c-sharp",
"max_stars_count": "96.0",
"max_stars_repo_name": "jsyeo/nuget-chocolatey",
"max_stars_repo_path": "src/Core/Http/MultipartWebRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129817"
} | starcoder | <reponame>jsyeo/nuget-chocolatey
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
namespace NuGet
{
/// <remarks>
/// Based on the blog post by <NAME> at http://www.paraesthesia.com/archive/2009/12/16/posting-multipartf... | 2.696959 | 5615bcdd93342fd0a01029919d88dd1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810598 | {
"extension": "c-sharp",
"max_stars_count": "777.0",
"max_stars_repo_name": "Sun-Joong/aifh",
"max_stars_repo_path": "vol2/vol2-csharp-examples/AIFH-Vol2-Core/Core/Genetic/Trees/TreeGenomeNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129818"
} | starcoder | // Artificial Intelligence for Humans
// Volume 2: Nature-Inspired Algorithms
// C# Version
// http://www.aifh.org
// http://www.jeffheaton.com
//
// Code repository:
// https://github.com/jeffheaton/aifh
//
// Copyright 2014 by <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
//... | 2.770973 | fd804f1a8591575565491b6f528c078a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810599 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "R-umia/Roguelike2D",
"max_stars_repo_path": "Assets/libraries/Entitas-Unity/Entitas/Matcher/MatcherToString.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129819"
} | starcoder | using System.Text;
namespace Entitas {
public partial class Matcher {
public string[] componentNames;
string _toStringCache;
public override string ToString() {
if (_toStringCache == null) {
var sb = new StringBuilder();
if (_allOfIndices != ... | 2.660566 | 60ad80e69d9f13b9f8a0abbe24230b77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810600 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "a574676848/Ace",
"max_stars_repo_path": "src/DotNetCore/Ace/AceUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129820"
} | starcoder | using Ace.Exceptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Ace
{
public static class AceUtils
{
/// <summary>
/// 判断一个字符串是否全有数字组成
/// </summary>
... | 3.304375 | b7d8e268f49ebb6ab00f110d3c93361a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810601 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "suigintou/rmart",
"max_stars_repo_path": "RMArt.Core/Tags/ITagsRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129821"
} | starcoder | using System.Linq;
namespace RMArt.Core
{
public interface ITagsRepository
{
IQueryable<Tag> Find(TagsQuery query = null);
Tag LoadTag(int id);
int Add(Tag tag);
Tag Update(int id, TagUpdate update);
void Remove(int id);
void IncrementUsageCount(int id, int value);
void SetUsageCount(int id, int value... | 2.143414 | eaed2416da29271e10733cfa7d5e3231 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810602 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "pierre-galaup/globalgamejam2016",
"max_stars_repo_path": "Assets/End Clock/_makeYOURlevel_LITE/PREFAB_makeYOURlevel_LITE/6_scripts/uScriptRuntime/Nodes/Actions/GUI/Controls/uScriptAct_GUIBox.cs",
"provenance": "train-00027-of-00045.js... | starcoder | // uScript Action Node
// (C) 2011 Detox Studios LLC
using UnityEngine;
using System.Collections;
[NodePath("Actions/GUI/Controls")]
[NodeCopyright("Copyright 2011 by Detox Studios LLC")]
[NodeToolTip("Shows a GUIBox on the screen.")]
[NodeAuthor("Detox Studios LLC", "http://www.detoxstudios.com")]
[NodeHelp("http:/... | 2.255187 | d6f8dbbe1ce3c1daa6961977cd6af0ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810603 | {
"extension": "c-sharp",
"max_stars_count": "780.0",
"max_stars_repo_name": "OliveiraLands/cofoundry",
"max_stars_repo_path": "src/Cofoundry.Domain/Domain/DocumentAssets/DataAnnotations/DocumentCollectionAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129823"
} | starcoder | <reponame>OliveiraLands/cofoundry
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Cofoundry.Core;
using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata;
namespace Cofoundry.Domain
{
/// <summary>
/// This data an... | 2.453966 | aecbfdd12c770f8b49ed90da64fa6280 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810604 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexmg/csharp",
"max_stars_repo_path": "src/KubernetesClient/generated/Models/Eventsv1Event.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129824"
} | starcoder | <gh_stars>0
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace k8s.Models
{
using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
/// <summary>
... | 2.006117 | f0e9a887bf3f979d4b48132a050afa43 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810605 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bdsowers/cutiequest",
"max_stars_repo_path": "Assets/Scripts/Smoke.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129825"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Smoke : MonoBehaviour
{
private bool mInDungeon;
// Start is called before the first frame update
void Start()
{
mInDungeon = Game.instance.InDungeon();
}
// Update is called once per frame
... | 2.009943 | 96744cda4976112441e5a5d7ec8a031b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810606 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jmojiwat/NHibernate.UserTypes.NodaTime",
"max_stars_repo_path": "src/NHibernate.UserTypes.NodaTime.Test/WithMappingHelpers/NodaTimeDurationTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129826"
} | starcoder | using AutoFixture;
using AutoFixture.Xunit2;
using FluentAssertions;
using NHibernate.Linq;
using NHibernate.UserTypes.NodaTime.Test.Infrastructure;
using NodaTime;
using Xunit;
namespace NHibernate.UserTypes.NodaTime.Test.WithMappingHelpers
{
[Collection("Database with mapping helpers collection")]
public cl... | 2.336312 | 7445ada98685f8bddd0719c455cecf1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810607 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "j-mano/HardwareCheck-.net-core",
"max_stars_repo_path": "Services/Modells/ModerBoardModell.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129827"
} | starcoder | <gh_stars>0
namespace GetHardwareInfo.Services.Modells
{
public class ModerBoardModell
{
public string MoboModell { get; set; }
public string MoboManufacturer { get; set; }
public string BiosVersion { get; set; }
public string BiosDate { get; set; }
}
}
| 1.150737 | 5318b68f538a6de00c7fd56703aa9fdd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810608 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "BBGONE/JRIApp",
"max_stars_repo_path": "DEMOS/RIAppDemoMVC/RIAppDemo/Models/SPATemplate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129828"
} | starcoder | <reponame>BBGONE/JRIApp<gh_stars>1-10
namespace RIAppDemo.Models
{
public class SPATemplate
{
public SPATemplate()
{
BindAddNewOrder = "{this.command,to=addNewCommand,source=customerVM.ordersVM}";
OptionsAddNewOrder = "options={tip:This is not a Real World example how to... | 1.641016 | 85e2662d26fb9a02cab0092a0dd5267e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810609 | {
"extension": "c-sharp",
"max_stars_count": "116.0",
"max_stars_repo_name": "microserviceframe/Silky",
"max_stars_repo_path": "framework/src/Silky.Validation/StringValues/ValueValidatorAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129829"
} | starcoder | <reponame>microserviceframe/Silky<gh_stars>100-1000
using System;
using System.Linq;
using System.Reflection;
namespace Silky.Validation.StringValues
{
[AttributeUsage(AttributeTargets.Class)]
public class ValueValidatorAttribute : Attribute
{
public string Name { get; set; }
public ValueV... | 2.365648 | e5d4ba77f2b9c2ede29c6b9f23ea7fae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810610 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "snicoper/BlogNet",
"max_stars_repo_path": "src/Web/Api/ContactController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129830"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
using System.Threading.Tasks;
using ApplicationCore.Data.Entities;
using ApplicationCore.Data.Interfaces;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Web.ViewModels.ContactAdminViewModels;
namespace Web.Api
{
[Route("api/[controlle... | 2.325635 | 2850313636ac362fc6b450c5752132b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810611 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "virajs/aws-sdk-net",
"max_stars_repo_path": "AWSSDK_DotNet35/Amazon.Redshift/Model/DescribeClusterParametersResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129831"
} | starcoder | <reponame>virajs/aws-sdk-net<gh_stars>1-10
/*
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://a... | 1.665802 | a7abe622d5f516825c8918506255519d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810612 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iliassh1/offline-kuchbuch-android",
"max_stars_repo_path": "KochBuch/Spanien.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129832"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace KochBuch
{
[Activity(Label = "Spanische Küsche")]
public class Spanien : Activity
{
... | 2.409516 | e0be95987b56d8f17d6faf603bbd24ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810613 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "JonPSmith/BookApp.All",
"max_stars_repo_path": "BookApp.Books.Domain/Tag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129833"
} | starcoder | // Copyright (c) 2021 <NAME>, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/
// Licensed under MIT license. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace BookApp.Books.Domain
{
... | 2.597486 | 2c3159df434fcfd0d82e62a2a507ac16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810614 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "akobr/ConPty.Sample",
"max_stars_repo_path": "ConPty.Sample.ConsoleApi/Interop/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129834"
} | starcoder | namespace ConPty.Sample.ConsoleApi.Interop
{
internal static class Constants
{
public const uint PROC_THREAD_ATTRIBUTE_PSEUDOCONSOLE = 0x00020016;
public const uint ENABLE_VIRTUAL_TERMINAL_PROCESSING = 0x0004;
public const uint DISABLE_NEWLINE_AUTO_RETURN = 0x0008;
public const u... | 1.34181 | 81ded270a03c4fbeeebe246083ff554f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810615 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lassevk/rayzin",
"max_stars_repo_path": "Rayzin.Tests/Primitives/RzIntersectionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129835"
} | starcoder | using System;
using NUnit.Framework;
using Rayzin.Objects.Renderables;
using Rayzin.Primitives;
// ReSharper disable ObjectCreationAsStatement
namespace Rayzin.Tests.Primitives
{
[TestFixture]
public class RzIntersectionsTests
{
[Test]
public void NullIntersections_ThrowsArgumentNullExc... | 2.695975 | 737003ba116b4cbc916761f5a9cc0b52 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810616 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Azgeb/MonogameStartingpoint",
"max_stars_repo_path": "AzgebMonoGameStartingpoint/AzgebMonoGameStartingpoint/Activity1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129836"
} | starcoder | using Android.App;
using Android.Content.PM;
using Android.OS;
using Android.Views;
using AndroidApplication;
namespace AzgebMonoGameStartingpoint {
[Activity(Label = "AzgebMonoGameStartingpoint"
, MainLauncher = true
, Icon = "@drawable/icon"
, Theme = "@style/Theme.Splash"
... | 1.92848 | 818aa985ca12b5a864221cb67b3a9e86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810617 | {
"extension": "c-sharp",
"max_stars_count": "395.0",
"max_stars_repo_name": "davidezordan/Prism-Samples-Forms",
"max_stars_repo_path": "07-DialogService/src/PrismSample/Views/DialogExtensionPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129837"
} | starcoder | using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace PrismSample.Views
{
public partial class DialogExtensionPage : ContentPage
{
public DialogExtensionPage()
{
InitializeComponent();
}
}
}
| 1.050432 | 9e8a9abe8ec94a23fdd60379c195af35 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810618 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ejdelrio/azure-sdk-for-net",
"max_stars_repo_path": "sdk/keyvault/Azure.Security.KeyVault.Keys/samples/Sample6_WrapUnwrap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129838"
} | starcoder | <filename>sdk/keyvault/Azure.Security.KeyVault.Keys/samples/Sample6_WrapUnwrap.cs<gh_stars>0
using Azure.Core.Testing;
using Azure.Identity;
using Azure.Security.KeyVault.Keys.Cryptography;
using NUnit.Framework;
using System;
using System.Diagnostics;
using System.Security.Cryptography;
using System.Text;
using Syste... | 2.580838 | 80f59661eb3cf75f94f898f5106316f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810619 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zhangxiaoxia1003/Ctrl.Admin",
"max_stars_repo_path": "src/Presentation/Ctrl.Net/Areas/sysManage/Views/MenuButton/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:129839"
} | starcoder | @{
ViewData["Title"] = "菜单按钮";
Layout = "~/Areas/SysManage/Views/Shared/_LayoutPageBaseList.cshtml";
}
<div class="row">
<div id="toolbar">
<h1 class="page-title">菜单按钮</h1>
<div class="form-inline pull-right" id="toolbutton">
<input id="pid" name="id" hidden>
</div>
... | 1.648338 | 5cd1134bbb56b06d9aff02a3f3e31346 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810620 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LuMingxuan12345/Scu",
"max_stars_repo_path": "Source/Tools/ContractTools/src/ContractTools.WebApp/Base/TemplateHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129840"
} | starcoder | /****************************************************************************
Copyright (c) 2013-2015 scutgame.com
http://www.scutgame.com
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 ... | 2.194196 | 1274f4b3e9366e6bba0681ecf6006a61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810621 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "jogibear9988/SharpSDL",
"max_stars_repo_path": "SharpSDL/SDL.GL.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129841"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace SharpSDL
{
[StructLayout(LayoutKind.Sequential)]
public struct GLContext
{
private readonly IntPtr ptr;
public GLContext(IntPtr ptr)
{
this.ptr = ptr;
}
public static implicit operator IntPtr... | 2.186079 | 6fe75b33ca2c0c320c5855474bf47897 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810622 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xueshaoyu/NewLife.Cube",
"max_stars_repo_path": "NewLife.CubeNC/Views/Shared/_Form_Image.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:129842"
} | starcoder | @model ValueTuple<IEntity, DataField>
@using NewLife;
@using NewLife.Cube
@using XCode;
@using XCode.Configuration;
@{
var entity = Model.Item1;
var field = Model.Item2;
var value = entity[field.Name] as String;
//var atts = HtmlHelper.AnonymousObjectToHtmlAttributes(Model.HtmlAttributes);
//if (... | 2.349823 | c4a761aa4f0f0efa05a9b48009f69cab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810623 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "mikdav/sharpfastcgi",
"max_stars_repo_path": "FastCgi.AspNet/AspNetChannel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129843"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Grillisoft.FastCgi.Protocol;
namespace Grillisoft.FastCgi.AspNet
{
public class AspNetChannel : FastCgiChannel
{
private readonly IAspNetRequestConfig _config;
public AspNetChannel(ILowerLayer lowerLay... | 2.013904 | 66989856aff6bf10f4effdd2fc16a22f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810624 | {
"extension": "c-sharp",
"max_stars_count": "103.0",
"max_stars_repo_name": "syncfusion/winforms-demos",
"max_stars_repo_path": "datagrid/ToolTip/CS/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129844"
} | starcoder | <reponame>syncfusion/winforms-demos
#region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// <EMAIL>. Any infringement will be prosecu... | 1.746212 | 6c11cdb81a510fafff424641186c3b97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810625 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "culmencasa/Whiteboard.Isolated",
"max_stars_repo_path": "Whiteboard.Isolated/UserCanvas/StrokeMoveThumb.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129845"
} | starcoder | <filename>Whiteboard.Isolated/UserCanvas/StrokeMoveThumb.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Ink;
using System.Windows.I... | 2.312037 | f85ca838306d91be88d265f3b4ff2524 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810626 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit",
"max_stars_repo_path": "multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Ots/AlibabaCloud/SDK/ROS/CDK/Ots/IRosSearchIndexProps.cs",
"provenance": "train-00027-of... | starcoder | using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace AlibabaCloud.SDK.ROS.CDK.Ots
{
/// <summary>Properties for defining a `ALIYUN::OTS::SearchIndex`.</summary>
[JsiiInterface(nativeType: typeof(IRosSearchIndexProps), fullyQualifiedName: "@alicloud/ros-cdk-ots.RosSearchInde... | 1.706638 | d8d18cddabd77ab6878f0d2e424f5576 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndreyKodzhabashev/CSharpProgrFundAllExercisesSolutions",
"max_stars_repo_path": "Lecture_06_Lists/Ex01 Max Sequence of Equal Elements/Ex06_Pr01_Max_Sequence_of_Equal_Elements.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129847"
... | starcoder | <reponame>AndreyKodzhabashev/CSharpProgrFundAllExercisesSolutions
using System;
using System.Linq;
using System.Collections.Generic;
namespace Ex06_Pr01_Max_Sequence_of_Equal_Elements
{
class Ex06_Pr01_Max_Sequence_of_Equal_Elements
{
static void Main()
{
// 85/100
Lis... | 3.462623 | ddb256e74eab10b862b615aafdb8e515 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810628 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HannaAndreevna/MAVN.Service.SmartVouchers",
"max_stars_repo_path": "src/MAVN.Service.SmartVouchers.Domain/Models/VoucherCampaign.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129848"
} | starcoder | <filename>src/MAVN.Service.SmartVouchers.Domain/Models/VoucherCampaign.cs<gh_stars>0
using System;
using System.Collections.Generic;
using MAVN.Service.SmartVouchers.Domain.Enums;
namespace MAVN.Service.SmartVouchers.Domain.Models
{
public class VoucherCampaign
{
public Guid Id { get; set; }
p... | 1.852144 | b8683f1462ed06eed7c739eaa5771b9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810629 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "exzzy22/Documents-Database",
"max_stars_repo_path": "EFCoreModels/BillsContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129849"
} | starcoder | using Microsoft.EntityFrameworkCore;
namespace EFCoreModels
{
public partial class BillsContext : DbContext
{
public BillsContext(DbContextOptions<BillsContext> options)
: base(options)
{
}
public DbSet<Document> Documents { get; set; } = null!;
public DbSet... | 2.422225 | 24d0951e63404e3c5a13a3322b2a5bc6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810630 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Supbads/Softuni-Education",
"max_stars_repo_path": "10 DBAdvanced-EntityFrameworkCore/Homeworks/12. EF-Core-CSharp-Auto-Mapping-Objects-Exercises/Employees.Startup/Commands/ManagerInfoCommand.cs",
"provenance": "train-00027-of-00045.j... | starcoder | <reponame>Supbads/Softuni-Education
using System.Text;
using Employees.DataModels;
namespace Employees.Startup.Commands
{
using Contracts;
using Employees.Services.Contracts;
public class ManagerInfoCommand : ICommand
{
private readonly IEmployeeService employeeService;
public Manage... | 2.731491 | eaaba3cbb86b8cdaf7e011bd7178d863 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810631 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "using-system/ProcessMyMedia",
"max_stars_repo_path": "ProcessMyMedia/Model/Configuration/AmsConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129851"
} | starcoder | namespace ProcessMyMedia.Model
{
/// <summary>
/// Media Configuration
/// </summary>
public class AmsConfiguration : AzureConfiguration
{
/// <summary>
/// Gets or sets the name of the media account.
/// </summary>
/// <value>
/// The name of the media accou... | 1.948844 | 37ddd57a22bc9996c43e19cf6ed9056c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810632 | {
"extension": "c-sharp",
"max_stars_count": "419.0",
"max_stars_repo_name": "vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat",
"max_stars_repo_path": "src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/BuyerChatRecord/CgibinGuideGetGuideBuyerChatRecordResponse.cs",
"provenance": "train-00027-of-00045.jsonl.... | starcoder | <reponame>vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat<gh_stars>100-1000
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/guide/getguidebuyerchatrecord 接口的响应。</para>
/// </summary>
public class CgibinGuideGetGuideBuyerChatRecordResponse : WechatApiResponse
... | 1.958813 | e6f1d6192d9a66f248f7c66024ed7fa2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810633 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cltalmadge/AutomatedComponentTestWriter",
"max_stars_repo_path": "AutomatedComponentTestWriter/Home/GeneratedSource/tesr.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129853"
} | starcoder | <reponame>cltalmadge/AutomatedComponentTestWriter<gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost... | 1.154075 | d69b805f5714d8ca0c4655e53e4c82b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chcg/Rail",
"max_stars_repo_path": "Rail/Controls/RampControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129854"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows... | 2.208117 | e6b02e0d976420ea75cbf3b7887d5005 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810635 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alexbegh/vmerge",
"max_stars_repo_path": "vMerge/ViewModel/WorkItems/WorkItemViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129855"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
using alexbegh.Utility.Commands;
using alexbegh.Utility.Managers.Background;
using alexbegh.Utility.UserControls.FieldMapperGrid;
using alexbegh.vM... | 1.842046 | 42ecc1cbb4cefbd1abe8c0739fc98f9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810636 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "yenyang/rainfall",
"max_stars_repo_path": "Source/Rainfall.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129856"
} | starcoder | <gh_stars>1-10
using ICities;
using System.Collections.Generic;
using ColossalFramework.UI;
using System.Reflection;
using UnityEngine;
using ColossalFramework;
using System;
using Rainfall.UI;
namespace Rainfall
{
public class RainfallMod : IUserMod
{
public string Name { get { retur... | 1.701922 | 7bc43f8f7f7a267ac89b380d2e190cd1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810637 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FulcrumVlsM/joinrpg-net",
"max_stars_repo_path": "Joinrpg/Models/HomeViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129857"
} | starcoder | <reponame>FulcrumVlsM/joinrpg-net<filename>Joinrpg/Models/HomeViewModel.cs<gh_stars>0
using System.Collections.Generic;
using JoinRpg.DataModel;
namespace JoinRpg.Web.Models
{
public class HomeViewModel
{
public IEnumerable<ProjectListItemViewModel> ActiveProjects { get; set; } = new List<ProjectListItemViewM... | 1.529412 | c3eadf6208a079afb80013bc6372e588 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810638 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "vip32/Naos.Core",
"max_stars_repo_path": "src/FileStorage.Infrastructure.Ssh/SshNetFileStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129858"
} | starcoder | namespace Naos.FileStorage.Infrastructure
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using EnsureThat;
using Microsoft.Extensions.Logging;
using... | 2.294967 | aa82d9a208123e1d62b2a37bfcf9aa62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810639 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "PacktPublishing/Microservices-Communication-in-.NET-Using-gRPC",
"max_stars_repo_path": "Chapter-03/Part3/IndepthProtobuf/Services/GreeterService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129859"
} | starcoder | <reponame>PacktPublishing/Microservices-Communication-in-.NET-Using-gRPC
using System.Collections.Generic;
using System.Threading.Tasks;
using Grpc.Core;
using Microsoft.Extensions.Logging;
namespace IndepthProtobuf
{
public class GreeterService : Greeter.GreeterBase
{
private readonly ILogger... | 2.631889 | 5885d1ed3232fad1aac9c3ece3b36f1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810640 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "fleimeris/hicore-unity",
"max_stars_repo_path": "Hicore/Exceptions/SocketIOEmitFailedException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129860"
} | starcoder | using System;
namespace Hicore.Exceptions
{
[Obsolete]
public class SocketIOEmitFailedException : Exception
{
}
}
| 1.270565 | f0bd1e86afaf61e2f714ef37bc9360c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810641 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shumutun/failover-rmq",
"max_stars_repo_path": "FailoverRmq/Consumers/IConsumer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129861"
} | starcoder | <filename>FailoverRmq/Consumers/IConsumer.cs
using System.Threading;
using System.Threading.Tasks;
namespace FailoverRmq.Consumers
{
public interface IConsumer<TMessage>: IAutorepairConsumer
{
Task ProcMessage(TMessage message, CancellationToken cancellationToken);
}
}
| 1.701621 | 6a65d076449dc85095eeea8c42b3b939 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810642 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivajlotokiew/Databases_Entity_Framework",
"max_stars_repo_path": "BookShopSystem_Solution/BookShopSystem.Data/Migrations/Configuration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129862"
} | starcoder | namespace BookShopSystem.Data.Migrations
{
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Globalization;
using System.IO;
using System.Linq;
using BookShopSytem.Models;
internal sealed class Configuration :... | 2.875685 | 9724165917984298c05e7f7b2a4924ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810643 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "max-ieremenko/ServiceModel.Grpc",
"max_stars_repo_path": "Examples/ErrorHandling/ServerNativeHost/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129863"
} | starcoder | <filename>Examples/ErrorHandling/ServerNativeHost/Program.cs
using System;
using Contract;
using Grpc.Core;
using Service;
using ServiceModel.Grpc.Interceptors;
namespace ServerNativeHost
{
public static class Program
{
public static void Main(string[] args)
{
var server = new Serv... | 2.226332 | 116120dccb6ccd7168b2779a1b70b87f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810644 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "fartwhif/GammaCopy",
"max_stars_repo_path": "GammaCopy/Options.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129864"
} | starcoder | <filename>GammaCopy/Options.cs
using CommandLine;
using System.Collections.Generic;
using System.Linq;
namespace GammaCopy
{
[Verb("parse", HelpText = "Make an SMDB file")]
internal class ParseOptions
{
[Option('p', "parse-folder", Required = true, HelpText = "Folders to be parsed.")]
publi... | 2.777377 | 7be229acfb2ee0bfda03b0acf8580891 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810645 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "benmccallum/nodatime",
"max_stars_repo_path": "src/NodaTime.TzdbCompiler/Tzdb/ZoneTransition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129865"
} | starcoder | <gh_stars>10-100
// Copyright 2009 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using NodaTime.TimeZones;
using NodaTime.Utility;
using System;
namespace NodaTime.TzdbCompiler.Tzdb
{
/// <summary>
/// Represe... | 2.705652 | d07dd44b5c07bef038d55b151a5f8a9c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.