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 | 8437 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Neppord/Racing-Car-Katas",
"max_stars_repo_path": "CSharp/TurnTicketDispenser/TurnTicket.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8438"
} | starcoder | <reponame>Neppord/Racing-Car-Katas<gh_stars>0
namespace TDDMicroExercises.TurnTicketDispenser
{
public class TurnTicket
{
private readonly int _turnNumber;
public TurnTicket(int turnNumber)
{
_turnNumber = turnNumber;
}
public int TurnNumber
... | 2.050135 | b44edb5f4ab8f8fc9f7c06db427862c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8438 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "josselincastro/KidsToys",
"max_stars_repo_path": "KidsToys/KidsToys.web/Views/Shared/_Layout.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:8439"
} | starcoder | <filename>KidsToys/KidsToys.web/Views/Shared/_Layout.cshtml
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link href="h... | 2.288325 | 411c3bf001e492513248b2f24fe6d4a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8439 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chester89/ripple",
"max_stars_repo_path": "src/ripple.Testing/DataMother.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8440"
} | starcoder | using FubuCore;
using Rhino.Mocks;
namespace ripple.Testing
{
public static class DataMother
{
public static void WriteXmlFile(string file, string text)
{
text = text.Replace("'", "\"").TrimStart();
new FileSystem().WriteStringToFile(file, text);
}
... | 2.295477 | 564299b3d14376f7eec1e6c94b763831 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8440 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lampo1024/DxRep",
"max_stars_repo_path": "DxRep.Services/IPersonService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8441"
} | starcoder | using System.Collections.Generic;
using DxRep.Domain;
namespace DxRep.Services
{
public interface IPersonService : IService<Person>
{
IEnumerable<Person> FindByClause(int top, string @where = "", string orderBy = "");
}
}
| 1.770262 | b89f6a82b046d7a0e32f1d91d43571c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8441 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KureFM/CipherManager",
"max_stars_repo_path": "CipherManager.Core/CipherFile/Exception/DataCorruptedException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8442"
} | starcoder | <filename>CipherManager.Core/CipherFile/Exception/DataCorruptedException.cs
using System;
namespace CipherManager.Core
{
public class DataCorruptedException : CipherFileException
{
public DataCorruptedException() : base("数据已损坏,文件可能被非法修改")
{
}
}
}
| 2.20606 | 46d16efdfce86acd930242da13d78b4b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8442 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jaybojaybojaybo/SnappySnips-Epicodus",
"max_stars_repo_path": "SnappySnips/Views/Stylists/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:8443"
} | starcoder | @{
Layout = "_Layout";
}
<div class="w3-container w3-center">
<h2>All Stylists</h2>
@if (@Model.Count == 0)
{
<h3>There are no Stylists yet</h3>
}
@if (@Model.Count > 0)
{
<div class="w3-row">
<div class="w3-third">
@foreach(var stylist in @Model)
{
<h4><a href="/... | 2.330489 | 74befed380f153728fdf5a8dc861d84a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8443 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "BIMservercenterDeveloper/BIMserver.center-unity-api",
"max_stars_repo_path": "Assets/Packages/BIMserver.center Toolkit/Scripts/Public/Model/BSProject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8444"
} | starcoder | /*
BIMserver.center license
This file is part of BIMserver.center IFC frameworks.
Copyright (c) 2017 BIMserver.center
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files, to use this software with the
purpose of developing new tools for the B... | 1.985522 | 87b28929319e77b8b44c9c444e590514 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hitpointn1/social-journal",
"max_stars_repo_path": "social-journal/social-journal.Base/Loggers/Logger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8445"
} | starcoder | using System;
namespace social_journal.Base.Loggers
{
public class Logger : ILog
{
public void Error(string message)
{
Console.WriteLine(message);
}
public void Error(Exception ex, string message)
{
Console.WriteLine(message + "\n" + ex.ToString... | 2.87187 | 4d7b7f9c727374d2f19896394b7bf52b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8445 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "kbabiy/LogCast",
"max_stars_repo_path": "LogCast.WebApi.Test/given_HttpMessageInspector/and_getting_request/Context.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8446"
} | starcoder | using System.Net.Http;
using LogCast.Http.Contract;
using Ploeh.AutoFixture;
namespace LogCast.WebApi.Test.given_HttpMessageInspector.and_getting_request
{
public abstract class Context : given_HttpMessageInspector.Context
{
protected HttpRequestMessage RequestMessage;
protected Request Reques... | 1.893476 | ffc84eebd06e1df79c46bdca5635b1d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8446 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "majorsilence/GopherServer",
"max_stars_repo_path": "GopherServer.Providers.Rss/RssController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8447"
} | starcoder | <filename>GopherServer.Providers.Rss/RssController.cs
using System;
using System.Collections.Generic;
using GopherServer.Core.Models;
using GopherServer.Core.Results;
using GopherServer.Core.Rss.Data;
using GopherServer.Core.Rss.GopherResults;
namespace GopherServer.Core.Rss
{
public class RssController
{
... | 2.285951 | 57f757d41d002e12a37e142885f387bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8447 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "cylewitruk/EtlLib",
"max_stars_repo_path": "src/EtlLib/Pipeline/Builders/InputOutputMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8448"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using EtlLib.Nodes;
namespace EtlLib.Pipeline.Builders
{
public class InputOutputMap
{
public INode ThisNode { get; set; }
public List<ISinkNode> TargetNodes { get; }
public List<ISourceNode> SourceNodes { get; }
p... | 2.671306 | 55380aead3aaa7aba7be758009bdf527 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8448 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "vmanthena/aspnetwebstack",
"max_stars_repo_path": "test/System.Web.WebPages.Test/Html/CheckBoxTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8449"
} | starcoder | <reponame>vmanthena/aspnetwebstack
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Web.WebPages.Html;
using Microsoft.TestCommon;
using Moq;
namespace System.Web.WebPages.Test
{
pub... | 2.260271 | fea1a3bef777bbc7c3a9e6ee6be0c541 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8449 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pcharlesmoran/roslyn",
"max_stars_repo_path": "src/VisualStudio/LiveShare/Impl/CustomProtocol/LspRequestExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8450"
} | starcoder | <gh_stars>1-10
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using LSP = Microsoft.VisualStudio.LanguageServer.Protocol;
using LS = Microsoft.VisualStudio.LiveShare.LanguageServices;
namespace Microsoft... | 1.606142 | d6a0695f8a375ca43d9e2a853587816d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8450 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nanshuiyu/pytools",
"max_stars_repo_path": "Python/Product/Profiling/Profiling/BaseHierarchyNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8451"
} | starcoder | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution... | 1.962061 | 4fcff51363e3e34e33fb30f4cada9d51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8451 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MirelaMileva/ASP.NET-Core-Project-SqueegeeLM",
"max_stars_repo_path": "SqueegeeLM-ASP.NET/SqueegeeLM.Web/Models/Service/CleaningCategoryViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8452"
} | starcoder | namespace SqueegeeLM.Web.Models.Service
{
public class CleaningCategoryViewModel
{
public int Id { get; set; }
public string Name { get; set; }
}
}
| 1.398044 | 944b92e0ce673207bd0a87ddecc99c41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8452 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/TheBallPlatform",
"max_stars_repo_path": "Apps/AzureSupport/TheBall.CORE/SetOwnerWebRedirectImplementation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8453"
} | starcoder | <filename>Apps/AzureSupport/TheBall.CORE/SetOwnerWebRedirectImplementation.cs
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage.Blob;
using TheBall.CORE.InstanceSupport;
namespace TheBall.CORE
{
public class SetOwnerWebRedirectImplementation
{
public static async Task ExecuteMethod_Set... | 2.114489 | 6dc3ef181814f9183499f8d63b56d59a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8453 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pulumi-bot/pulumi-azure-native",
"max_stars_repo_path": "sdk/dotnet/CostManagement/V20191101/Outputs/QueryFilterResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8454"
} | starcoder | <filename>sdk/dotnet/CostManagement/V20191101/Outputs/QueryFilterResponse.cs
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
usi... | 1.74819 | 7aacc0bfb2f15a480b62d0ed745d3566 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8454 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "carcamo22/restaurante",
"max_stars_repo_path": "ProyectoRestaurante/Restaurante/Win.Restaurante/FormLogin.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8455"
} | starcoder | <reponame>carcamo22/restaurante<gh_stars>0
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 Win.Restaurante
{
public partial cl... | 2.412489 | 776001d1fc19c1ccc6f03d3d86065ff8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8455 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alejoxpi/license-management",
"max_stars_repo_path": "Backend/domain/ActivationSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8456"
} | starcoder | <reponame>alejoxpi/license-management
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System.Collections.Generic;
namespace LM.Domain
{
public class ActivationSettings {
[BsonElement("HardwareId")]
public string HardwareId { get; set; }
[BsonEle... | 1.750078 | e73975e24ec553ece2cb1205b68eb163 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8456 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YaneYosifov/Telerik",
"max_stars_repo_path": "C# Part I/Homeworks/06-Conditional-Statements/10-Beer-Time/BeerTime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8457"
} | starcoder | <reponame>YaneYosifov/Telerik
using System;
using System.Globalization;
class BeerTime
{
static void Main()
{
// * A beer time is after 1:00 PM and before 3:00 AM.
// * Write a program that enters a time in format “hh:mm tt”
// (an hour in range [01...12], a minute in range [00…59]
... | 3.786635 | 235151e07cffe06dd33d27feb416a9a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8457 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mbearup/wcf",
"max_stars_repo_path": "src/System.Private.ServiceModel/src/Shim/SecurityProtocolCorrelationState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8458"
} | starcoder | <filename>src/System.Private.ServiceModel/src/Shim/SecurityProtocolCorrelationState.cs
// Decompiled with JetBrains decompiler
// Type: System.ServiceModel.Security.SecurityProtocolCorrelationState
// Assembly: System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// MVID: D99220A3-68F... | 1.666525 | f261d59e9702c949e2a3c079469fbdf0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8458 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "luqizheng/File2Object",
"max_stars_repo_path": "Coder.File2Object/Columns/ExcelColumn/DateTimeColumn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8459"
} | starcoder | using System;
using System.Linq.Expressions;
using NPOI.SS.UserModel;
using static Coder.File2Object.Columns.ColumnTemplateDefined;
namespace Coder.File2Object.Columns.ExcelColumn
{
public class DateTimeColumn<TEntity> : Column<TEntity, ICell, DateTime>
{
public DateTimeColumn(string name, Expression<... | 2.770112 | f1b6e703204a80d0f734905eb2af229f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8459 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vtkhanh/SimplCommerce",
"max_stars_repo_path": "src/SimplCommerce.WebHost/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8460"
} | starcoder | <filename>src/SimplCommerce.WebHost/Program.cs
using System;
using System.IO;
using System.Reflection;
using Autofac.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Ext... | 2.267653 | 94c1fbb6d7176c3f5cfcbd583d7f4865 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8460 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheAutomatingMrLynch/NBi",
"max_stars_repo_path": "NBi.Core/Scalar/Comparer/ToleranceFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8461"
} | starcoder | using NBi.Core.ResultSet;
using System;
using System.Globalization;
using System.Linq;
namespace NBi.Core.Scalar.Comparer
{
public class ToleranceFactory
{
public Tolerance Instantiate(IColumnDefinition columnDefinition)
{
if (string.IsNullOrEmpty(columnDefinition.Tolerance) || st... | 2.668595 | a232a9bc88cad38b92c4c0f5b3c4ac28 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8461 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aurvandill/Bear",
"max_stars_repo_path": "Assets/Scripts/SwitchBackgroundMusic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8462"
} | starcoder | using UnityEngine;
using System.Collections;
public class SwitchBackgroundMusic : MonoBehaviour {
[SerializeField]
private int _soundIndex = 0;
[SerializeField]
private float _soundVolume = 1f;
[SerializeField]
private PlaySound _backgroundMusic;
void OnTriggerEnter2D(Collider2D coll)
... | 2.1316 | ed2f65598e4c4e44da79f425d1c4b085 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8462 | {
"extension": "c-sharp",
"max_stars_count": "80.0",
"max_stars_repo_name": "FroggieFrog/anno-designer",
"max_stars_repo_path": "FandomParser/Tests/InfoboxParser.Tests/MemberDataSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8463"
} | starcoder | <filename>FandomParser/Tests/InfoboxParser.Tests/MemberDataSerializer.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Xunit.Abstractions;
namespace InfoboxParser.Tests
{
public class MemberDataSerializer<T> : IXuni... | 2.650275 | ce19d064c0e7cfea98c806f62085533e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8463 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Qibbi/BinaryAssetBuilder",
"max_stars_repo_path": "source/SageBinaryData/SageBinaryData/Modules/GrantUpgradeAreaOfEffectSpecialPower.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8464"
} | starcoder | using Relo;
using System.Runtime.InteropServices;
namespace SageBinaryData
{
[StructLayout(LayoutKind.Sequential)]
public struct GrantUpgradeAreaOfEffectSpecialPowerModuleData
{
public SpecialPowerModuleData Base;
public float Radius;
public unsafe ObjectFilter* AcceptObjectFilter;... | 1.13622 | d860033bc54011f84fea4981fb86faea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8464 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tsgcpp/AddressablesLifetimeVerification",
"max_stars_repo_path": "Assets/Tests/Tests.AddressablesLifetime/ObjectInAddressablesSceneLifetime/TestObjectInAddressablesSceneLifetimeBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:84... | starcoder | using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using NUnit.Framework.Constraints;
using UnityEngine;
using UnityEngine.AddressableAssets;
using UnityEngine.TestTools;
using UnityEngine.SceneManagement;
using UnityEngine.ResourceManagement.AsyncOperations;
using UnityEngine.ResourceMa... | 1.908463 | 428cceb1f830a02d53f0fc78cdc7fa64 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8465 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EndiFox/Quantum-BorderWorld.G_EDITION",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8466"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Windows.Input;
using System.Windows;
using System.Timers;
namespace kaskk
{
static class BQWorld
{
public class Item
{
f... | 2.751084 | 21a4c92c44b0a25e81c78b29a8c874de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8466 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "billbogaiv/fav-rocks",
"max_stars_repo_path": "src/FavRocks.Site/Models/BaseIndexRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8467"
} | starcoder | namespace FavRocks.Site.Models
{
public abstract class BaseIndexRequest<T>
where T : BaseIndexRequest<T>, new()
{
public abstract string Color1 { get; set; }
public abstract string Color2 { get; set; }
public abstract string Color3 { get; set; }
public abstract string Co... | 2.783635 | 1070c1cc01f46b64ae68863f74c26ab4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8467 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mateusggeracino/PetShop",
"max_stars_repo_path": "src/PS.Services/Interfaces/IPetShopServices.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8468"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using PS.Services.ViewModels;
namespace PS.Services.Interfaces
{
public interface IPetShopServices
{
PetViewModel Insert(PetViewModel pet);
bool Remove(int id);
PetViewModel Update(PetViewModel pet);
PetViewModel Read(... | 2.048013 | 765ece866d5bdc83c962a55e66dd6935 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8468 | {
"extension": "c-sharp",
"max_stars_count": "294.0",
"max_stars_repo_name": "charsleysa/MOSA-Project",
"max_stars_repo_path": "Source/Mosa.Compiler.Framework/InlineMethodData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8469"
} | starcoder | // Copyright (c) MOSA Project. Licensed under the New BSD License.
using Mosa.Compiler.MosaTypeSystem;
using System.Collections.Generic;
namespace Mosa.Compiler.Framework
{
/// <summary>
/// Inline Method Data
/// </summary>
public sealed class InlineMethodData
{
public BasicBlocks BasicBlocks { get; }
publ... | 2.557533 | 8fc40d8cd1eb11dcb16f08650b631af0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8469 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrcloverthecoder/migu-engine-reimp",
"max_stars_repo_path": "MiguLibrary.Tests/MiguModelViewer/Renderer/Camera.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8470"
} | starcoder | using System;
using OpenTK;
namespace MiguModelViewer.Renderer
{
public class Camera
{
public static CameraMode Mode = CameraMode.FollowTarget;
// Those vectors are directions pointing outwards from the camera to define how it rotated.
private static Vector3 _front = -Vector3.UnitZ;
... | 2.977334 | 0f9411de24734e87d039596ed85ce5d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8470 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "DiyanApostolov/SoftUni-Software-Engineering",
"max_stars_repo_path": "C# Advanced/Homeworks-And-Labs/02.MultidimensionalArrays-Lab/06.Jagged-ArrayModification/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8471"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
namespace _06.Jagged_ArrayModification
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
int[][] jaggedArray = new int[n][];
for (int row = 0; row < n; row++)
... | 3.789603 | 21f169498a362fcc65451c7e3832b574 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8471 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joel-bitscopic/hilleman-core",
"max_stars_repo_path": "hilleman-core/src/dao/vista/CreateRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8472"
} | starcoder | using System;
using com.bitscopic.hilleman.core.domain;
using System.Collections.Generic;
using com.bitscopic.hilleman.core.dao.vista.rpc;
using System.Text;
using com.bitscopic.hilleman.core.utils;
using com.bitscopic.hilleman.core.domain.to;
namespace com.bitscopic.hilleman.core.dao
{
public class CreateRequest... | 2.168066 | a0820cf202a4a83025ac52aaab42f9df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8472 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bendyline/Facer",
"max_stars_repo_path": "KendoScript/PanelBar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8473"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Html;
using BL.UI;
using jQueryApi;
using Kendo.UI;
using System.Runtime.CompilerServices;
namespace BL.UI.KendoControls
{
public class PanelBar : Control
{
public event EventHandler TabChanged;
private Kendo.UI.P... | 1.978824 | 45cfabf9bd04e0a6a1600ada6cb05320 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8473 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "DaveSenn/PortableExtensions",
"max_stars_repo_path": ".Src/Extend.Testing/System.DateTime/DateTime.IsFuture.Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8474"
} | starcoder | <filename>.Src/Extend.Testing/System.DateTime/DateTime.IsFuture.Test.cs
#region Usings
using System;
using Xunit;
#endregion
namespace Extend.Testing
{
public partial class DateTimeExTest
{
[Fact]
public void IsFutureTest()
{
var dateTime = DateTime.Now.Subt... | 2.299801 | a09b61f44201349bf23736abe7ce7f55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8474 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StormDevelopmentSoftware/DisCatSharp",
"max_stars_repo_path": "DisCatSharp.CommandsNext/Exceptions/DuplicateCommandException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8475"
} | starcoder | // This file is part of the DisCatSharp project.
//
// Copyright (c) 2021 AITSYS
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the ri... | 2.662806 | 3cb26543b549f1ce9dd9435d1bde0ed7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8475 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mater813/PhoneBook",
"max_stars_repo_path": "aspnet-core/src/PhoneBook.Web.Mvc/Views/PhoneBookViewComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8476"
} | starcoder | <reponame>Mater813/PhoneBook
using Abp.AspNetCore.Mvc.ViewComponents;
namespace PhoneBook.Web.Views
{
public abstract class PhoneBookViewComponent : AbpViewComponent
{
protected PhoneBookViewComponent()
{
LocalizationSourceName = PhoneBookConsts.LocalizationSourceName;
}
... | 1.465844 | 52f26b423bc0b753998bf83422a2a890 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8476 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "automation555/space-dotnet-sdk",
"max_stars_repo_path": "src/JetBrains.Space.Client/Generated/Partials/ESSamlAuthModuleSettingsPartialBuilder.generated.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8477"
} | starcoder | <reponame>automation555/space-dotnet-sdk<filename>src/JetBrains.Space.Client/Generated/Partials/ESSamlAuthModuleSettingsPartialBuilder.generated.cs
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this f... | 1.368746 | dcc509cdf43b8921b85ccd583fe6a675 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8477 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "MosaicoSolutions/CSharpGenericRepository",
"max_stars_repo_path": "test/MosaicoSolutions.GenericRepository.Test/ReadRepository/QueryTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8478"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.EntityFrameworkCore;
using MosaicoSolutions.GenericRepository.Repositories.Read.Queries;
using MosaicoSolutions.GenericRepository.Test.Data.Entities;
us... | 2.534105 | 505fa6976e9cccb3278ba5946d516816 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8478 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "agrc/daq-web-framework",
"max_stars_repo_path": "api/Models/WebMap/Outline.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8479"
} | starcoder | <filename>api/Models/WebMap/Outline.cs
using System.Collections.Generic;
namespace daq_api.Models.WebMap
{
public class Outline
{
public List<int> Color { get; set; }
public double Width { get; set; }
public string Type { get; set; }
public string Style { get; set; }
}
} | 2.078501 | af9425a6b60f07e51b2ebb4359b2e193 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8479 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "disguise-one/ember-plus",
"max_stars_repo_path": "EmberLib.net/EmberLib/EmberContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8480"
} | starcoder | <gh_stars>0
/*
EmberLib.net -- .NET implementation of the Ember+ Protocol
Copyright (C) 2012-2014 L-S-B Broadcast Technologies GmbH
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Fo... | 2.537636 | d1a54504f0979455bed5e7a9bd8527ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8480 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "kuveytturk-finevr/SanalBanka",
"max_stars_repo_path": "Assets/MixedRealityToolkit.Examples/Demos/HandTracking/Script/RotateWithPan.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8481"
} | starcoder | <gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Microsoft.MixedReality.Toolkit.Input;
public class RotateWithPan ... | 1.977612 | c785583d5ac2fa2f0dcb87159d288c16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8481 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "BobDoleOwndU/FoxTool",
"max_stars_repo_path": "FoxTool/Tpp/Classes/TppEventSequenceManagerData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8482"
} | starcoder | <filename>FoxTool/Tpp/Classes/TppEventSequenceManagerData.cs<gh_stars>10-100
using System.Collections.Generic;
using FoxTool.Fox.Types.Structs;
using FoxTool.Fox.Types.Values;
namespace FoxTool.Tpp.Classes
{
public class TppEventSequenceManagerData : Data
{
// Static properties
public ... | 1.682951 | 5ba37a865e3b45aa787852f73a3bbe21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8482 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "criedel/UIForia",
"max_stars_repo_path": "Packages/UIForia/Src/Rendering/UIStyle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8483"
} | starcoder | using System;
using UIForia.Layout;
using UIForia.Util;
using UnityEngine;
namespace UIForia.Rendering {
// TODO: Currently not used. Consider using to optimize property lookup.
public unsafe struct PropertyLookup {
public fixed ulong map[3];
public bool Get(int idx) {
int... | 2.284215 | 32e0bc0e42c29ac775ac8c7c6ae925f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8483 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joaofx/mvccontrib",
"max_stars_repo_path": "src/Samples/MvcContrib.Samples.PortableArea/PortableAreaSpike/Services/IAuthenticationService.asax.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8484"
} | starcoder | namespace PortableAreaSpike
{
public interface IAuthenticationService
{
bool IsValidLogin(string username, string password);
}
} | 1.694201 | e870773e931ff39641434bc568d027fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8484 | {
"extension": "c-sharp",
"max_stars_count": "1629.0",
"max_stars_repo_name": "CameronLoewen/docusign-csharp-client",
"max_stars_repo_path": "sdk/src/DocuSign.eSign/Model/Reminders.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8485"
} | starcoder | <gh_stars>1000+
/*
* DocuSign REST API
*
* The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
*
* OpenAPI spec version: v2
* Contact: <EMAIL>
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System... | 2.145526 | 1de677d49eeb4efb31d1f217abdb4898 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8485 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mdaniyalkhann/SampleTests",
"max_stars_repo_path": "TestNinjaCore.Tests/ReservationTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8486"
} | starcoder | using System.Diagnostics.CodeAnalysis;
using NUnit.Framework;
using TestNinja.Fundamentals;
namespace TestNinja.UnitTests
{
[TestFixture]
[ExcludeFromCodeCoverage]
public class ReservationTests
{
[Test]
public void CanBeCancelledBy_AdminCancelling_ReturnsTrue()
{
//... | 2.551831 | 443d4a04f92dec593abb95fd813f68cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8486 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "YahuiWong/Dapper.Contrib.BulkInsert",
"max_stars_repo_path": "src/Dapper.Contrib.BulkInsert/SqlMapperExtensions.Async.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8487"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Dapper.Contrib.BulkInsert
{
public static partial class SqlMapperExtensions
{
/// <summary>
... | 2.650393 | ad0678b53cc5f330f479915cdfa70084 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8487 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "liuxx001/BodeAbp",
"max_stars_repo_path": "src/frame/Abp.Web/Auditing/WebClientInfoProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8488"
} | starcoder | using System;
using System.Net;
using System.Net.Sockets;
using System.Web;
using Castle.Core.Logging;
namespace Abp.Auditing
{
public class WebClientInfoProvider : IClientInfoProvider
{
public string BrowserInfo => GetBrowserInfo();
public string ClientIpAddress => GetClientIpAddress();
... | 2.49917 | 6a50e1c041bc1f854def11050544da05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8488 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "markstiles/SitecoreCognitiveServices.Core",
"max_stars_repo_path": "src/Foundation/IBMSDK/code/Assistant/Models/SystemResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8489"
} | starcoder | <reponame>markstiles/SitecoreCognitiveServices.Core
namespace SitecoreCognitiveServices.Foundation.IBMSDK.Assistant.Models
{
public class SystemResponse
{
}
}
| 0.660369 | f67bc2f0575bc6c17b65e8774f96c5fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8489 | {
"extension": "c-sharp",
"max_stars_count": "92.0",
"max_stars_repo_name": "Galang23/OnePomodoro",
"max_stars_repo_path": "OnePomodoro/OnePomodoro/Helpers/PromodoroViewModelInformation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8490"
} | starcoder | using Microsoft.Toolkit.Mvvm.ComponentModel;
namespace OnePomodoro.Helpers
{
public class PromodoroViewModelInformation : ObservableObject
{
}
}
| 0.933691 | 680a6dd0856d47f52d3d20faf94a3d53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8490 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "reinforced/Reinforced.Lattice.Samples",
"max_stars_repo_path": "Reinforced.Lattice.CaseStudies.Partition/Data/DataService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8491"
} | starcoder | <filename>Reinforced.Lattice.CaseStudies.Partition/Data/DataService.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Reinforced.Lattice.CaseStudies.Partition.Data
{
public class DataService<T>
{
private List<T> _objects;
public IQueryab... | 2.549743 | d10da9ecb5b29ebcf9a2cd9169cee4c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8491 | {
"extension": "c-sharp",
"max_stars_count": "16061.0",
"max_stars_repo_name": "abod1944/maui",
"max_stars_repo_path": "src/BlazorWebView/src/Maui/Android/AndroidMauiAssetFileProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8492"
} | starcoder | using System;
using System.Buffers;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using Android.Content.Res;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Primitives;
namespace Microsoft.AspNetCore.Components.WebView.Maui
{
/// <summary>
/// A minimal implementa... | 2.356612 | 5d8a38b8e1c601ff4395c3e10afc3029 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8492 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "equinor/procosys-call-for-punch-out-api",
"max_stars_repo_path": "src/tests/Equinor.ProCoSys.IPO.WebApi.IntegrationTests/Invitations/CompletePunchOutDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8493"
} | starcoder | using System.Collections.Generic;
namespace Equinor.ProCoSys.IPO.WebApi.IntegrationTests.Invitations
{
public class CompletePunchOutDto
{
public string InvitationRowVersion { get; set; }
public string ParticipantRowVersion { get; set; }
public IEnumerable<ParticipantToChangeDto> Partic... | 1.164007 | ed814dde51ad6180580d9c068ed5fe9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8493 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "lywonglokyin/vcel",
"max_stars_repo_path": "src/VCEL.Core/Lang/ExpressionParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8494"
} | starcoder | using Antlr4.Runtime;
using VCEL.Expression;
namespace VCEL.Core.Lang
{
public class ExpressionParser<T> : IExpressionParser<T>
{
private readonly IExpressionFactory<T> expressionFactory;
public ExpressionParser(IExpressionFactory<T> expressionFactory)
{
this.expressionFac... | 2.252519 | 3c82bf4cc695f7434caa34c47195f0a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8494 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "QualitySolution/-GMap.NET",
"max_stars_repo_path": "Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/TileAddressToImageRegion.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8495"
} | starcoder | <filename>Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/TileAddressToImageRegion.cs<gh_stars>1-10
using System;
namespace MSR.CVE.BackMaker.ImagePipeline
{
public class TileAddressToImageRegion : Verb
{
private CoordinateSystemIfc coordinateSystem;
public TileAddressToImageRegion(CoordinateSystemIfc coo... | 2.30495 | 590844a3049f039b77a4049fcbf3b49f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8495 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nibblesnbits/AnyQDemo",
"max_stars_repo_path": "AnyQDemo/TestJobHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8496"
} | starcoder | using AnyQ.Formatters;
using AnyQ.Jobs;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace AnyQDemo {
public class TestJobHandler : JobHandler {
private readonly IPayloadFormatter _payloadFormatter;
private readonly HandlerConfiguration _handlerConfiguration;
pu... | 2.664951 | 2c57d478969b4c9cf1273a6b0c37b429 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8496 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "simplic/simplic-service",
"max_stars_repo_path": "simplic-interval/Simplic.Interval.UI/IntervalControl.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8497"
} | starcoder | <reponame>simplic/simplic-service
using System.Windows;
using System.Windows.Controls;
namespace Simplic.Interval.UI
{
/// <summary>
/// Interaktionslogik für IntervalControl.xaml
/// </summary>
public partial class IntervalControl : UserControl
{
#region Fields
private IntervalVi... | 2.326242 | ca12f3f65a31844a53cac1a525369007 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8497 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "XiaoxiaoMa0815/Recognizers-Text",
"max_stars_repo_path": ".NET/Microsoft.Recognizers.Text.Number/Parsers/IIndianNumberParserConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8498"
} | starcoder | <reponame>XiaoxiaoMa0815/Recognizers-Text
using System.Collections.Immutable;
using System.Text.RegularExpressions;
namespace Microsoft.Recognizers.Text.Number
{
public interface IIndianNumberParserConfiguration : INumberParserConfiguration
{
// Map used for decimal values that are Hindi specific such... | 2.355483 | 8a8c24137440aec82b5fde23b1a6844b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8498 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "osjoberg/Upgrader",
"max_stars_repo_path": "Upgrader.Test/PostgreSql/ColumnInfoPostGreSqlTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8499"
} | starcoder | <reponame>osjoberg/Upgrader
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Upgrader.PostgreSql;
namespace Upgrader.Test.PostgreSql
{
[TestClass]
public class ColumnInfoPostgreSqlTest : ColumnInfoTest
{
public ColumnInfoPostgreSqlTest() : base(new PostgreSqlDatabase(Assembl... | 1.538292 | 6679e7fd2eed905aca79ba975bbc3b15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8499 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jfmc/FPSSample",
"max_stars_repo_path": "Packages/com.unity.multiplayer/Runtime/Multiplayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8500"
} | starcoder | <reponame>jfmc/FPSSample
using System;
using System.Net;
using Unity.Collections;
namespace Experimental.Multiplayer
{
public interface INetworkDriver : IDisposable
{
// :: Driver Helpers
int Update();
// :: Connection Helpers
int Bind(NetworkEndPoint endpoint);
int Lis... | 2.013872 | 11ba8c8def270b3f7ba225917c0375a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8500 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "martindisch/Slidecopy",
"max_stars_repo_path": "windows/Slidecopy/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8501"
} | starcoder | <gh_stars>0
using System;
using System.Drawing;
using System.Windows.Forms;
using Microsoft.Win32;
using System.Text.RegularExpressions;
using System.Net;
using System.Resources;
using System.Reflection;
namespace Slidecopy
{
public partial class FormSettings : Form
{
private bool gotCode = false;
... | 2.615218 | bd5dcf9998e3beefc470c80c1dd3a2b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8501 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/tl-matching",
"max_stars_repo_path": "src/Sfa.Tl.Matching.Application.UnitTests/Services/Opportunity/Builders/ValidConfirmDeleteOpportunityItemViewModelBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8502... | starcoder | <filename>src/Sfa.Tl.Matching.Application.UnitTests/Services/Opportunity/Builders/ValidConfirmDeleteOpportunityItemViewModelBuilder.cs
using Sfa.Tl.Matching.Models.ViewModel;
namespace Sfa.Tl.Matching.Application.UnitTests.Services.Opportunity.Builders
{
internal class ValidConfirmDeleteOpportunityItemViewModelBu... | 1.914582 | 98bb1dff527fbf1b43a4a4375e656ad2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8502 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zbigniew-klasik/Bitretsmah",
"max_stars_repo_path": "src/Bitretsmah.Tests.Unit/Core/RemoteFileWarehouseFactoryShould.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8503"
} | starcoder | using System.Collections.Generic;
using Bitretsmah.Core;
using Moq;
using NUnit.Framework;
using Bitretsmah.Core.Interfaces;
using FluentAssertions;
using System.Threading.Tasks;
namespace Bitretsmah.Tests.Unit.Core
{
[TestFixture]
public class RemoteFileWarehouseFactoryShould
{
[Test]
pub... | 2.170005 | c8a090dcd5e3a734890dc4dab23e6774 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8503 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DongchengWang/coding-interview",
"max_stars_repo_path": "src/43-number-of-ones/NumberOfOnes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8504"
} | starcoder | <filename>src/43-number-of-ones/NumberOfOnes.cs
using System;
namespace CodingInterview {
public class NumberOfOnes {
public static int NumberOfOnesBetween(int n) {
if (n <= 0) {
return 0;
}
return NumberOf(n.ToString(), 0);
}
private s... | 3.965395 | aeaf8b666220fd6e5b8f1caea67cdc94 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8504 | {
"extension": "c-sharp",
"max_stars_count": "604.0",
"max_stars_repo_name": "Tjayojo/FeatureManagement",
"max_stars_repo_path": "tests/Tests.FeatureManagement/IAccountContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8505"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
//
namespace Tests.FeatureManagement
{
interface IAccountContext
{
string AccountId { get; }
}
}
| 0.894844 | f06101a4ffa7b69d3f26277af0455357 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8505 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "palzj/OpenLiveWriter",
"max_stars_repo_path": "src/managed/OpenLiveWriter.PostEditor/PostEditorSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8506"
} | starcoder | <reponame>palzj/OpenLiveWriter
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System;
using System.Drawing;
using System.Globalization;
using System.IO;
using OpenLiveWriter.CoreServices;
using OpenLiveWriter.CoreService... | 1.703495 | 671bc0955d87d4c35493af1bc8b42788 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8506 | {
"extension": "c-sharp",
"max_stars_count": "290.0",
"max_stars_repo_name": "midas-phoenix/Revo",
"max_stars_repo_path": "Examples/Todos/Revo.Examples.Todos/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8507"
} | starcoder | <reponame>midas-phoenix/Revo
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Revo.AspNetCor... | 1.898962 | 2c17798efdcbd8e6ac7404c887483076 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8507 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sfmskywalker/Orchard-Pros",
"max_stars_repo_path": "src/Orchard.Web/Modules/OrchardPros/ViewModels/NotificationSettingViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8508"
} | starcoder | using Orchard.Localization;
namespace OrchardPros.ViewModels {
public class NotificationSettingViewModel {
public string Name { get; set; }
public bool Checked { get; set; }
public LocalizedString Description { get; set; }
}
} | 1.585277 | 9c2beea71c362f3c6fe081272554f34b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8508 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rhedgpeth/SimpleAuth",
"max_stars_repo_path": "src/SimpleAuth/Api/Authenticator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8509"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace SimpleAuth
{
public abstract class Authenticator
{
public string AuthCode
{
get;
private set;
}
public Authentic... | 2.680839 | fa1d0ec3e047a821d8b3f5f30527435f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8509 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Pavuucek/PlayCZ-DL",
"max_stars_repo_path": "Radio.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8510"
} | starcoder | <filename>Radio.cs<gh_stars>0
using System.Collections.Generic;
namespace PlayCZ2TvHeadend
{
public class Radio
{
public string Title { get; set; }
public string Description { get; set; }
public string Shortcut { get; set; }
public string LogoUrl { get; set; }
public Li... | 1.748902 | bd838af30ea25307bd80a979b28a3dd1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8510 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ThomasVestergaard/AlphaVantage.Net",
"max_stars_repo_path": "AlphaVantage.Net/src/AlphaVantage.Net.Stocks/Parsing/StockDataParser.TimeSeries.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8511"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using AlphaVantage.Net.Stocks.BatchQuotes;
using AlphaVantage.Net.Stocks.Parsing.Exceptions;
using AlphaVantage.Net.Stocks.Parsing.JsonTokens;
using AlphaVantage.Net.Stocks.TimeSeries;
... | 2.53024 | e9bf6a79e449135bbdd4e3a4f873ae40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8511 | {
"extension": "c-sharp",
"max_stars_count": "369.0",
"max_stars_repo_name": "ryandanthony/jasper",
"max_stars_repo_path": "src/Jasper.Tcp/WireProtocol.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8512"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Jasper.Logging;
using Jasper.Serialization;
using Jasper.Transports;
using Jasper.Transports.Sending;
using Jasper.Transports.Util;
namespace Jasper.Tcp
{
public static class WireProtocol
{
// The f... | 2.345176 | 8d13a1cf79aa95c914286052c0afee8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8512 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "udoprog/ChaosMod",
"max_stars_repo_path": "ChaosMod/Commands/Drunk.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8513"
} | starcoder | <reponame>udoprog/ChaosMod<gh_stars>1-10
using System;
using GTA;
using GTA.Native;
using System.Collections.Generic;
namespace ChaosMod.Commands
{
/// <summary>
/// Make the player drunk.
///
/// EXPERIMENTAL - currently does not work.
/// </summary>
public class Drunk : Command
{
private boo... | 2.281167 | fd6b4b52337cb45c040a4bf27f948eab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8641 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Hazeral/TicTacToe",
"max_stars_repo_path": "Main.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8642"
} | starcoder | <reponame>Hazeral/TicTacToe<filename>Main.cs
using Godot;
using System;
public class Main : Node2D
{
// Used to determine which slot is selected by the user
// and show the respective sprites
private int selectedSlot = 1;
private bool GamePause = false;
Godot.Timer cbTimer;
// The clear board function uses thi... | 2.618332 | c47954abfae2e57c8b4989561bbf3839 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8642 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hamishharvey/daqflex",
"max_stars_repo_path": "Source/DAQFlexAPI/API/DAQFlexAPI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8643"
} | starcoder | //***************************************************************************************
//
// DAQFlex API Library
//
// Copyright (c) 2009, Measurement Computing Corporation
// All rights reserved
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the MEASURE... | 2.234753 | cfa59e9ea1a105a8df3c9ae06db6f143 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8643 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "mycsharp/HttpUserAgentParser",
"max_stars_repo_path": "src/MyCSharp.HttpUserAgentParser/Providers/HttpUserAgentParserCachedProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8644"
} | starcoder | <filename>src/MyCSharp.HttpUserAgentParser/Providers/HttpUserAgentParserCachedProvider.cs
// Copyright © myCSharp 2020-2021, all rights reserved
using System.Collections.Concurrent;
namespace MyCSharp.HttpUserAgentParser.Providers
{
/// <summary>
/// In process cache provider for <see cref="IHttpUserAgentPars... | 2.847646 | 56f41d7affdcdae45e2195bb07e24180 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8644 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Luiz-Monad/azure-cosmos-table",
"max_stars_repo_path": "src/Microsoft.Azure.Cosmos.Table.RestExecutor.Common.Auth/AuthenticationUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8645"
} | starcoder | <filename>src/Microsoft.Azure.Cosmos.Table.RestExecutor.Common.Auth/AuthenticationUtility.cs
using Microsoft.Azure.Cosmos.Table.RestExecutor.Utils;
using System;
using System.Net.Http;
using System.Text;
namespace Microsoft.Azure.Cosmos.Table.RestExecutor.Common.Auth
{
internal static class AuthenticationUtility
{
... | 2.554211 | c7e6ef43f5333965400ddb7c3a839f20 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8513 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "EmilyEdna/KilyCore",
"max_stars_repo_path": "KilyCore.DataEntity/RequestMapper/Govt/RequestGovtPatrolCategoryAttach.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8514"
} | starcoder | using KilyCore.EntityFrameWork.ModelEnum;
using System;
using System.Collections.Generic;
using System.Text;
#region << 版 本 注 释 >>
/*----------------------------------------------------------------
* 类 名 称 :RequestGovtPatrolCategoryAttach
* 类 描 述 :
* 命名空间 :KilyCore.DataEntity.RequestMapper.Govt
* 机器名称 :EMILY
* CLR 版... | 1.883804 | 64f359ccd30a3ca73ada9428780465a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8514 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ryantestgmail/vh-video-api",
"max_stars_repo_path": "VideoAPI/VideoApi.DAL/VideoApiDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8515"
} | starcoder | <reponame>ryantestgmail/vh-video-api<gh_stars>0
using System;
using System.Linq;
using System.Reflection;
using Microsoft.EntityFrameworkCore;
using VideoApi.Domain;
namespace VideoApi.DAL
{
public class VideoApiDbContext : DbContext
{
public DbSet<Event> Events { get; set; }
public DbSet<Conf... | 2.390449 | 337efe5debb27c77a76521bce86a801e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8515 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jyarbro/Nrrdio.Ynab",
"max_stars_repo_path": "Client/Models/Responses/Categories/CategoryResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8516"
} | starcoder | <gh_stars>0
using Nrrdio.Ynab.Client.Models.Data.Categories;
namespace Nrrdio.Ynab.Client.Models.Responses.Categories {
public class CategoryResponse {
public CategoryResponseData? Data { get; set; }
public class CategoryResponseData {
public Category? Category { get; set; }
}... | 1.091753 | da6e8e22c654fad4cddbe357eb2abc81 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8516 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rstens/hets",
"max_stars_repo_path": "Server/src/HETSAPI/Services/CityService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8517"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using HETSAPI.Models;
namespace HETSAPI.Services
{
/// <summary>
/// City Service
/// </summary>
public interface ICityService
{
/// <summary>
/// Create bulk city records
/// </summary>
/// <param name="items"></param>
/// <re... | 2.280517 | fb8d0e61f87fe80e7d7e62368f95df3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8517 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "3gbywork/SPCB",
"max_stars_repo_path": "SPCB2013/AddTenantForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8518"
} | starcoder | namespace SPBrowser
{
partial class AddTenantForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <... | 1.996397 | ee19b2093e8b1599274fda8b6caa97cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8518 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrewdavey/RequestReduce",
"max_stars_repo_path": "RequestReduce.Facts/Module/ResponseTransformerFacts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8519"
} | starcoder | using System;
using System.Web;
using Moq;
using RequestReduce.Api;
using RequestReduce.Module;
using RequestReduce.Utilities;
using Xunit;
using RequestReduce.ResourceTypes;
using RequestReduce.Configuration;
using RequestReduce.IOC;
using StructureMap;
using Xunit.Extensions;
namespace RequestReduce.Fa... | 1.94139 | 392d68435f120ed48ae86dfff33fd68f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8519 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "jeffvella/UnityEcsEvents.Example",
"max_stars_repo_path": "EventsExample/Assets/Game.Scripts/Support/PoolGroup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8520"
} | starcoder | <filename>EventsExample/Assets/Game.Scripts/Support/PoolGroup.cs
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public enum PoolCallbackAction
{
None = 0,
Despawn,
}
/// <summary>
/// A general purpose GameObject pool that can spawn manage multiple prefab variants
/// ... | 2.674209 | a40d998cf666f1ccc384f9fa22d62901 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8520 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "stignarnia/Webex-Launcher-Auto",
"max_stars_repo_path": "Properties/Settings.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8521"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// Il codice è stato generato da uno strumento.
// Versione runtime:4.0.30319.42000
//
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
// ... | 1.921566 | 8636757e1e30132ad8700ee1f07477a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8521 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stormregion/jtf_map_editor",
"max_stars_repo_path": "src/NWorkshop/ToolboxOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8522"
} | starcoder | <filename>src/NWorkshop/ToolboxOptions.cs
using NControls;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace NWorkshop
{
public class ToolboxOptions : UserControl
{
public delegate void __Delegate_OptionsChanged();
privat... | 1.639172 | e1bd6bfc688fb89ae3284b727f07ca8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8522 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "Luke092/Modbus",
"max_stars_repo_path": "test/UnitTests/ExtensionsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8523"
} | starcoder | <gh_stars>10-100
using System.Text;
using AMWD.Modbus.Common.Util;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTests
{
[TestClass]
public class ExtensionsTests
{
[TestMethod]
public void UInt8Test()
{
byte expected = 170;
var register = expected.ToModbusRegister(1);
... | 2.580315 | 4066094b16d2a98d7afa41dc083f1858 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8523 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "Blok-Dev1/Apex.Serialization",
"max_stars_repo_path": "Benchmark/PerformanceSuite_SortedDictionaryOfValues.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8524"
} | starcoder | using BenchmarkDotNet.Attributes;
using System.Collections.Generic;
#nullable disable
namespace Benchmark
{
public class PerformanceSuite_SortedDictionaryOfValues : PerformanceSuiteBase
{
private SortedDictionary<int, int> _d = new SortedDictionary<int, int>();
public PerformanceSuite_Sorted... | 2.668108 | 88713f164809ac3aa0508234cdfab212 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8524 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "agate-pris/Apuu",
"max_stars_repo_path": "Editor/NullableDrawer/NullableVector2IntDrawer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8525"
} | starcoder | <gh_stars>0
namespace AgatePris.Apuu.NullableDrawer {
[UnityEditor.CustomPropertyDrawer(typeof(NullableVector2Int))]
public class NullableVector2IntDrawer : OverlapWrapNullableDrawer { }
}
| 0.455531 | 21fb1bb7560a919f9bb0aecfd501991a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8525 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "inputoutputcode/mia-server",
"max_stars_repo_path": "Server/Mia.Server.Game/Register/GameInstance.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8526"
} | starcoder | <gh_stars>0
using System;
using Mia.Server.Game.Register.Interface;
namespace Mia.Server.Game.Register
{
public class GameInstance : IGameInstance
{
private string name;
private Guid gameToken;
public Guid GameToken
{
get { return gameToken; }
}
... | 1.781927 | 7daaba6534d05d44a826046d92d98ca6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8526 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "liannoi/wlodzimierz",
"max_stars_repo_path": "src/Layers/Domain/Domain.API/Notifications/ConversationMessages/CreatedNotification.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8527"
} | starcoder | using Domain.API.Common.Notifications.Abstractions;
using Domain.API.Entities;
namespace Domain.API.Notifications.ConversationMessages
{
public class CreatedNotification : BaseNotification
{
public CreatedNotification(ConversationMessage item)
{
Item = item;
}
publi... | 1.945581 | c0f4dd330e56dd6f77b442439c0d3fe8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8527 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sizilium/Mosaic",
"max_stars_repo_path": "src/PlatformEssentials/UnitTests/Statistic/ModuleMetricMeasurementTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8528"
} | starcoder | /* Copyright 2017 Cimpress
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distribute... | 2.141025 | 6204d936e75d3267e6c9d7c7e90acfa0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8528 | {
"extension": "c-sharp",
"max_stars_count": "207.0",
"max_stars_repo_name": "edggge/Newtonsoft.Json.Schema",
"max_stars_repo_path": "Src/Newtonsoft.Json.Schema.Tests/Infrastructure/JSchemaDiscoveryTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8529"
} | starcoder | #region License
// Copyright (c) Newtonsoft. All Rights Reserved.
// License: https://raw.github.com/JamesNK/Newtonsoft.Json.Schema/master/LICENSE.md
#endregion
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Sche... | 1.99403 | f18ee2db274c8e25b3536bbdecab8254 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8529 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marinoscar/Luval",
"max_stars_repo_path": "Code/Luval.Security/Model/UserClaim.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8530"
} | starcoder | using System.ComponentModel.DataAnnotations;
using System.Security.Claims;
using Luval.Orm.DataAnnotations;
using Luval.Orm.Models;
namespace Luval.Security.Model
{
public class UserClaim : AuditModelBasic
{
[Key, AutoIncrement]
public int Id { get; set; }
public string UserId { get; ... | 2.276208 | 6ab80e15980e3f1ac270bd75baacbf86 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8530 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "pulumi/pulumi-spotinst",
"max_stars_repo_path": "sdk/dotnet/Aws/Inputs/ElastigroupScalingUpPolicyStepAdjustmentArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8531"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.564429 | 65d78575078d44187e431a40c6f75547 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8531 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yovannyr/EventStore",
"max_stars_repo_path": "src/EventStore.Transport.Tcp/TcpServerListener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8532"
} | starcoder | <filename>src/EventStore.Transport.Tcp/TcpServerListener.cs
using System;
using System.Net;
using System.Net.Sockets;
using EventStore.Common.Log;
using EventStore.Common.Utils;
namespace EventStore.Transport.Tcp {
public class TcpServerListener {
private static readonly ILogger Log = LogManager.GetLoggerFor<TcpSer... | 2.452704 | bcb3284a9fbd9165929ecbc10c746171 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8532 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stefnotch/wpf-model-edit",
"max_stars_repo_path": "WpfModelEdit/Demo/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8533"
} | starcoder | 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.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 2.530427 | ea3f3946664f77b4a07ac9a647b56f6c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.