added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815218 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xuri02/SharpVk",
"max_stars_repo_path": "src/SharpVk.Glfw/WindowSizeDelegate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134438"
} | starcoder | <reponame>xuri02/SharpVk<filename>src/SharpVk.Glfw/WindowSizeDelegate.cs
using System.Runtime.InteropServices;
namespace SharpVk.Glfw
{
/// <summary>
/// The function signature for window size callback functions.
/// </summary>
/// <param name="window">
/// The window that was resized.
... | 2.121918 | 4acab3e297931d9eb62e5d17fe84bfe0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815219 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "HTD/Woof",
"max_stars_repo_path": "Packages/Woof.Net.WebSockets/Net/WebSockets/Client.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134439"
} | starcoder | using System.Net.WebSockets;
using Woof.Net.Messages;
namespace Woof.Net.WebSockets;
/// <summary>
/// WebSocket client base providing simple WebSocket transport and handshake over any given subprotocol.
/// </summary>
public abstract class Client<TCodec> : WebSocketEndpoint<TCodec>, IDisposable, IAsyncDisposable w... | 2.391451 | ad8bcee6bd11650f14a1529673c41125 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815220 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lionsoft/SampleSPA",
"max_stars_repo_path": "Sam/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:134440"
} | starcoder | <filename>Sam/Views/Home/Index.cshtml<gh_stars>0
<div id="main-layout">
<div data-ng-include="'/app/layout/shell.html'"></div>
<div id="splash-page" data-ng-show="false">
<div class="page-splash">
<div class="page-splash-message">
SAM System
</div>
<d... | 1.662465 | 9fc89086ad9c4b4a0036b6f36f379d8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815221 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Namyoun/WPFOpenTK_Modify",
"max_stars_repo_path": "WPFOpenTK/GraphicsResource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134441"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenTK.Graphics;
namespace OpenGL
{
// from OpenTK forums
/// <summary> The OpenGL disposable pattern </summary>
public abstract class GraphicsResource : IDisposable
{
protected int index = -1; // T... | 2.913126 | c67a6f5fa494f20ea002e66f7e68a8a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815222 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlRado/Raylib-cs-Examples",
"max_stars_repo_path": "Examples/Utils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134442"
} | starcoder | using System;
using System.Runtime.InteropServices;
using Raylib_cs;
using static Raylib_cs.MaterialMapType;
namespace Examples
{
/*
Utility functions for parts of the api that are not easy to interact with via pinvoke.
Not included in the bindings as there are multiple ways to handle these cases.
I pr... | 2.762461 | 7f301400f95b993a59ffd5a455160ae0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815223 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "magotop/DotNetCore.SKIT.FlurlHttpClient.Wechat",
"max_stars_repo_path": "src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/LiveBroadcast/Goods/WxaApiBroadcastGoodsGetApprovedResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1... | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [GET] /wxaapi/broadcast/goods/getapproved 接口的响应。</para>
/// </summary>
public class WxaApiBroadcastGoodsGetApprovedResponse : WechatApiResponse
{
pub... | 1.984229 | cb8f46dfe2f2e1a37a932fe21e614411 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815224 | {
"extension": "c-sharp",
"max_stars_count": "485.0",
"max_stars_repo_name": "jsantha/NetArchTest",
"max_stars_repo_path": "test/NetArchTest.TestStructure/Dependencies/Examples/ExampleDependencyInPartiallyMatchingNamespace.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134444"
} | starcoder | namespace NetArchTest.TestStructure.Dependencies.Example
{
/// <summary>
/// An example class used in negative tests that identify dependencies.
/// Its namespace partially matches the 'Examples' containing 'ExampleDependency' which is actually referenced by test types.
/// </summary>
public class ... | 1.838185 | 2acfbee9f93e68426d96e2480e85e686 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815225 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Azure-Samples/resources-dotnet-manage-policy-assignment",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134445"
} | starcoder | <filename>Program.cs<gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.Management.Fluent;
using Microsoft.Azure.Management.ResourceManager.Fluent;
using Microsoft.Azure.Mana... | 2.293004 | 0b9936eeff7a78d65ce415c312b683e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815226 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "E-Leask/TinyResume",
"max_stars_repo_path": "Assets/Scripts/Components/Moveable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134446"
} | starcoder | using Unity.Entities;
using Unity.Mathematics;
namespace TinyPhysics
{
[GenerateAuthoringComponent]
public struct Moveable : IComponentData
{
public float moveForce;
public float3 moveDirection;
}
}
| 1.531565 | e7480b30dad86f11b88257d2fc5526a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815227 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BDisp/BlazorCanvas",
"max_stars_repo_path": "BlazorCanvas.Example9/Core/Transform.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134447"
} | starcoder | <filename>BlazorCanvas.Example9/Core/Transform.cs
using System.Numerics;
namespace BlazorCanvas.Example9.Core
{
public class Transform
{
public Vector2 Position;
public Vector2 Scale;
public Vector2 Direction;
public float Rotation;
public void Clone(ref Transform so... | 2.680436 | 39caed046eb0cbcdf3f52f33aa955248 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815228 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ZeroDeng01/P2PSocket.Client.WFM",
"max_stars_repo_path": "src/P2PSocket.Client/Models/Receive/Packet_0x0212.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134448"
} | starcoder | using P2PSocket.Core;
using P2PSocket.Core.Models;
using P2PSocket.Core.Utils;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace P2PSocket.Client.Models.Receive
{
/// <summary>
/// P2PCommandType.P2P0x0212
/// </summary>
public class Packet_0x0212 : Rece... | 2.266725 | 7503ec09f1fb0bbe9ef280503281f807 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815229 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Fresa/Port",
"max_stars_repo_path": "src/Server/DependencyInjection/GrpcSimpleInjectorActivator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134449"
} | starcoder | using System;
using System.Threading.Tasks;
using Grpc.AspNetCore.Server;
using SimpleInjector;
namespace Port.Server.DependencyInjection
{
internal sealed class GrpcSimpleInjectorActivator<T> : IGrpcServiceActivator<T>
where T : class
{
private readonly Container _container;
public Gr... | 1.786489 | f5a5501928d364f44c34a40ed76c6897 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815230 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robertmclaws/corefx",
"max_stars_repo_path": "src/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderBaseType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134450"
} | starcoder | <gh_stars>0
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Reflection.Emit.Tests
{
public class TypeBuilderBaseType
{
... | 2.020709 | 680052e93e65e3f1d4d82fa9db8ae497 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815231 | {
"extension": "c-sharp",
"max_stars_count": "143.0",
"max_stars_repo_name": "sucrose0413/eShopOnContainersDDD",
"max_stars_repo_path": "src/Contexts/Location/Presentation/ServiceStack/Location/Services/List.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134451"
} | starcoder | <filename>src/Contexts/Location/Presentation/ServiceStack/Location/Services/List.cs
using System;
using System.Collections.Generic;
using System.Text;
using Infrastructure.ServiceStack;
using ServiceStack;
namespace eShop.Location.Location.Services
{
[Api("Location")]
[Route("/location", "GET")]
public cl... | 1.429639 | 58531aaa4cbfcc9b7a60931e49a2976d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815232 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndresPad/AzurestreamIoT",
"max_stars_repo_path": "azurestream/Devices/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134452"
} | starcoder | <gh_stars>0
using Azure.IoT.ModelsRepository;
using Microsoft.Azure.Devices.Serialization;
using Microsoft.Azure.Devices.Shared;
using Newtonsoft.Json;
using System.Reflection.Metadata.Ecma335;
using System.Text;
namespace azurestream.Devices
{
public static class Extensions
{
public static string Ser... | 2.168388 | acb296fc6262a15db91c588cf069af62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815233 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "saturdaymp/XPlugins.Notifications",
"max_stars_repo_path": "Source/ExampleClient/ExampleClient/ViewModels/NotificationRecievedViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134453"
} | starcoder | namespace ExampleClient.ViewModels
{
/// <summary>
/// View model for the Notification Display page. Has
/// values parsed from the notification.
/// </summary>
public class NotificationRecievedViewModel
{
/// <summary>
/// The id of the recieved notification.
... | 2.596111 | a533b2e47a87522fcb46f69405e44dc7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815234 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mgraf1/poetry",
"max_stars_repo_path": "Poetry.Uploader/ViewModel/CreatePoetViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134454"
} | starcoder | using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using Poetry.DTO.Models;
using Poetry.Uploader.Resources;
using Poetry.Uploader.Services.Api;
using Poetry.Uploader.Services.WpfHelpers;
using Poetry.Uploader.ViewModel.Commands.Async;
using System;
using System.Collections.Generic;
using System.Collections.O... | 2.132581 | 26951b6925db4900d343ba96614b7fbf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815235 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FloodCitiSense/FloodCitiSense",
"max_stars_repo_path": "aspnet-core/src/IIASA.FloodCitiSense.Core.Shared/Datatypes/SensorConsts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134455"
} | starcoder | <reponame>FloodCitiSense/FloodCitiSense<gh_stars>1-10
namespace IIASA.FloodCitiSense.Datatypes
{
public class SensorConsts
{
}
} | 0.968805 | 908289d6796573ef3990dffa62268ca7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815236 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "isaacaflores2/mtbVisualizer",
"max_stars_repo_path": "mtbVisualizer/Models/Map/IMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134456"
} | starcoder | using IO.Swagger.Model;
using MtbVisualizer.Models.Activities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MtbVisualizer.Models.Map
{
public interface IMap
{
ICollection<Coordinate> getCoordinates(IEnumerable<VisualActivity> activi... | 1.803443 | 069f2c79b0efba69228f17af4524d760 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815237 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "firatoltulu/QueryFilterCommand",
"max_stars_repo_path": "src/QueryFilter/Descriptor/Filtering/Parsing/FilterParserException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134457"
} | starcoder | <filename>src/QueryFilter/Descriptor/Filtering/Parsing/FilterParserException.cs
// This source is subject to the GNU General Public License, version 3
// See https://www.gnu.org/licenses/quick-guide-gplv3.html
// All other rights reserved.
namespace QueryFilter
{
using System;
using System.Runtime.Serializat... | 2.15915 | 0c5d63b6318bfba3913d1bf2322fd5ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815238 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JakeYallop/roslyn-analyzers",
"max_stars_repo_path": "src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/Runtime/SpecifyStringComparisonTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134458"
} | starcoder | // 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 System.Threading.Tasks;
using Microsoft.CodeAnalysis.Testing;
using Test.Utilities;
using Xunit;
using VerifyCS = Test.Utilities.CSharpCodeFixVerifier<
... | 2.22272 | 23b5c4ac39508c418919183340853d5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815239 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leozitop/CShar",
"max_stars_repo_path": "Escola de Rock/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134459"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using Escola_de_Rock.Interfaces;
using Escola_de_Rock.Models;
namespace Escola_de_Rock
{
enum FormacaoEnum : uint
{
TRIO,
QUARTETO
}
enum InstrumentosEnum : uint
{
BAIXO,
BATERIA,
C... | 2.993712 | 08ea91f510500bb8dea2a1edc2732971 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815240 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lewiy/SecondLabaAngreeBirds",
"max_stars_repo_path": "Assets/Scripts/SlingShot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134460"
} | starcoder | <filename>Assets/Scripts/SlingShot.cs
using UnityEngine;
using System.Collections;
using Assets.Scripts;
using System;
public class SlingShot : MonoBehaviour
{
//a vector that points in the middle between left and right parts of the slingshot
private Vector3 SlingshotMiddleVector;
[HideInInspector]
... | 2.84528 | e870eda6c88dbd4978e9593e0d9aa2a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815241 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "The-MAZZTer/DarkForces",
"max_stars_repo_path": "Assets/Dark Forces/Geometry/Parallaxer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134461"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using UnityEngine;
namespace MZZT.DarkForces {
/// <summary>
/// Handles the parallax effect on sky/pit materials.
/// </summary>
public class Parallaxer : Singleton<Parallaxer> {
private readonly static Vector2 PARALLAX_SCALE = new Vector2(1, -1);
/// <summar... | 2.719188 | 69fb0335547a07f3b631a6f4988e50ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815242 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "blai30/Asuka.Net",
"max_stars_repo_path": "src/Core/Commands/Readers/MessageTypeReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134462"
} | starcoder | using System;
using System.Globalization;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
namespace Asuka.Commands.Readers;
/// <summary>
/// A <see cref="TypeReader" /> for parsing objects implementing <see cref="IMessage" />.
/// This type reader replaces the default <see cref="Discord... | 2.79929 | 80926e42b91fd636601c237632bf6f0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815243 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "based-ghost/aspnet-core-vue-fullstack-testing",
"max_stars_repo_path": "FullStackTesting/FullStackTesting.Web.Api/Persistence/Repositories/Base/EFRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134463"
} | starcoder | <gh_stars>10-100
using System.Linq;
using System.Threading.Tasks;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using FullStackTesting.Web.Api.Models;
namespace FullStackTesting.Web.Api.Persistence
{
public abstract class EFRepository<T> : IEFepository<T> where T : BaseEntity
{
... | 2.804289 | 8be6816a64d3bde3a881f28180e45a2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815244 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NAPCON/UA-ModelCompiler",
"max_stars_repo_path": "ModelCompiler/StackGenerator/DotNet/DotNetGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134464"
} | starcoder | /* ========================================================================
* Copyright (c) 2005-2019 The OPC Foundation, Inc. All rights reserved.
*
* OPC Foundation MIT License 1.00
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documenta... | 1.965113 | 0f3acaf5239992b2785e5c9d59df1888 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815245 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "KevinLi3/GyroscopeMaze",
"max_stars_repo_path": "SE101 Unity Physics/Assets/Scripts/TransformExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134465"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using System.Collections;
public static class TransformExtensions
{
public static Vector3 TransformPointUnscaled(this Transform transform, Vector3 position)
{
var localToWorldMatrix = Matrix4x4.TRS(transform.position, transform.rotation, Vector3.one);
return l... | 2.521893 | e8e853b412a27adf2384b40fae736842 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815246 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RagingBool/RagingBool.Carcosa",
"max_stars_repo_path": "projects/RagingBool.Carcosa.Core_cs/Stage/Scenes/PartyScene1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134466"
} | starcoder | <filename>projects/RagingBool.Carcosa.Core_cs/Stage/Scenes/PartyScene1.cs
// [[[[INFO>
// Copyright 2015 Raging Bool (http://ragingbool.org, https://github.com/RagingBool)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You m... | 1.948313 | 7abe9f6d1ddb57dc66a7acc55d704e78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815247 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "moto2002/tianqi_src",
"max_stars_repo_path": "src/Package/GuildUpdateType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134467"
} | starcoder | <reponame>moto2002/tianqi_src<filename>src/Package/GuildUpdateType.cs
using ProtoBuf;
using System;
namespace Package
{
[ProtoContract(Name = "GuildUpdateType")]
[Serializable]
public class GuildUpdateType : IExtensible
{
[ProtoContract(Name = "GUT")]
public enum GUT
{
[ProtoEnum(Name = "AddMember", Value... | 1.921942 | 49131e89cda3c58f2dca15082367f4c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815248 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KarolinaPiskadlo/PatronageZadanie3",
"max_stars_repo_path": "Northwind.Persistence/NorthwindInitializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134468"
} | starcoder | using System.Collections.Generic;
using Northwind.Domain.Entities;
namespace Northwind.Persistence
{
public class NorthwindInitializer
{
private readonly Dictionary<int, Room> Rooms = new Dictionary<int, Room>();
public static void Initialize(NorthwindDbContext context)
{
... | 2.327662 | db5d892be03eb4b76b35cc2b61adc08a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815249 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jjzhang166/WinApi",
"max_stars_repo_path": "WinApi/Windows/ConstructionParams.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134469"
} | starcoder | <reponame>jjzhang166/WinApi
using System;
using WinApi.User32;
namespace WinApi.Windows
{
public interface IConstructionParamsProvider
{
IConstructionParams GetConstructionParams();
}
public interface IConstructionParams
{
WindowStyles Styles { get; }
WindowExStyles ExStyle... | 2.136196 | 83b3b23fe27f6ee6c7ef1a20bd10ccf3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815250 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "protechdm/CompareCloudware",
"max_stars_repo_path": "CompareCloudware.Web/Models/ReservationViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134470"
} | starcoder | namespace CompareCloudware.Web.Models
{
using CompareCloudware.Web;
using System;
using System.Runtime.CompilerServices;
public class ReservationViewModel : BaseModel
{
public ReservationViewModel()
{
}
public ReservationViewModel(ICustomSession session)
{
... | 1.609089 | d1afa535933f5f4dcebae85c58ac8ca0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815251 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "xhafan/emailmaker",
"max_stars_repo_path": "src/EmailMaker.Domain/EmailTemplates/RepeatedSectionEmailTemplatePart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134471"
} | starcoder | <filename>src/EmailMaker.Domain/EmailTemplates/RepeatedSectionEmailTemplatePart.cs<gh_stars>10-100
namespace EmailMaker.Domain.EmailTemplates
{
public class RepeatedSectionEmailTemplatePart : EmailTemplatePart
{
}
} | 1.642428 | 410d8c914b0b05f535534ec565cdfd94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815252 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IhateTrains/provinceMapper",
"max_stars_repo_path": "DefinitionReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134472"
} | starcoder | <filename>DefinitionReader.cs
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace ProvinceMapper
{
class DefinitionReader
{
public DefinitionReader(string path, StatusUpdate progress)
{
StreamReader reader = new StreamReader(path, Encoding.GetEncoding(... | 3.193115 | fec2e2969701a58a02ccadca56e39563 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815253 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tommyyeet/MSC_Playground",
"max_stars_repo_path": "TrashCan/TrashCan/TrashCan.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134473"
} | starcoder | <reponame>tommyyeet/MSC_Playground<gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Security.Principal;
using HutongGames.PlayMaker;
using MSCLoader;
using UnityEngine;
using Object = UnityEngine.Object;
namespace TrashCan
{
public c... | 2.118957 | fb74b7f2b59f3c71e014f881e4f2b3f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815254 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheName/EventSourcing",
"max_stars_repo_path": "EventSourcing.Persistence/SqlServer/Extensions.DatabaseMigrations.Persistence.SqlServer/SqlServerDatabaseMigrationScriptsProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134474... | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace EventSourcing.Extensions.DatabaseMigrations.Persistence.SqlServer
{
/// <summary>
/// Provider of SQL Server database migration scripts
/// </summary>
pu... | 2.815978 | 924b3ac9a390b1af373cdc92dadc1142 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815255 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanielL87/CS-Sharp",
"max_stars_repo_path": "Yelp/Controllers/RestaurantsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134475"
} | starcoder | <filename>Yelp/Controllers/RestaurantsController.cs
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Yelp.Models;
namespace Yelp.Controllers
{
public class RestaurantController : Controller
{
[HttpGet("/restaurant/new")]
public ActionResult New()
{
List<Cuisine> al... | 2.499772 | fe735bce93f5e8bc6dbf50d65e432390 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815256 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BlackLambert/knowdes",
"max_stars_repo_path": "Knowdes Project/Assets/Scripts/UI/UnderlineOnHover.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134476"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.EventSystems;
namespace Knowdes
{
public class UnderlineOnHover : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
{
[SerializeField]
private TextMeshProUGUI _text = null;
pr... | 2.353422 | 9679a13dcbdec649ac018f9a52aab6a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815257 | {
"extension": "c-sharp",
"max_stars_count": "264.0",
"max_stars_repo_name": "haacked/Microsoft-Teams-Samples",
"max_stars_repo_path": "samples/tab-channel-group/mvc-csharp/Controllers/TabController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134477"
} | starcoder | <filename>samples/tab-channel-group/mvc-csharp/Controllers/TabController.cs
using Microsoft.AspNetCore.Mvc;
using ChannelGroupTabMVC.Models;
namespace ChannelGroupTabMVC.Controllers
{
[Route("tab")]
public class TabController : Controller
{
[Route("")]
public IActionResult Tab()
{... | 2.12238 | 581f57cf62484a03a4306e3829d4ea6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815258 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SolyarA/machinelearning",
"max_stars_repo_path": "src/Microsoft.ML.StandardLearners/FactorizationMachine/FactorizationMachineInterface.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134478"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Runtime.Internal.CpuMath;
using Microsoft.ML.Runtime.Internal.Utilities;
using System.Runtime.In... | 1.926517 | f0b915352a60f9460d08b9f23568ded4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815259 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marinkobabic/NServiceBus",
"max_stars_repo_path": "src/NServiceBus.Core/Hosting/Configuration/EndpointNameAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134479"
} | starcoder | namespace NServiceBus
{
using System;
/// <summary>
/// Used to specify the name of the current endpoint.
/// Will be used as the name of the input queue as well.
/// </summary>
public sealed class EndpointNameAttribute : Attribute
{
/// <summary>
/// Used to spe... | 2.696082 | cec9b21984b0aebb0c2a449e26cf10ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815260 | {
"extension": "c-sharp",
"max_stars_count": "439.0",
"max_stars_repo_name": "gnusmas12/MyTested.AspNet.TV",
"max_stars_repo_path": "src/Elastic Search with .NET/Code/Server/CarRentalSystem.Statistics/Controllers/StatisticsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134480"
} | starcoder | namespace CarRentalSystem.Statistics.Controllers
{
using System.Threading.Tasks;
using CarRentalSystem.Controllers;
using Microsoft.AspNetCore.Mvc;
using Models.Statistics;
using Services.Statistics;
public class StatisticsController : ApiController
{
private readonly IStatisticsSe... | 2.056053 | 740091dad1c9e91bd0d9650175063b6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815261 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IFurkanCakmak/E-commerce-Website",
"max_stars_repo_path": "FurkanProject/Views/Home/CreateUser.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:134481"
} | starcoder | @model FurkanProject.Core.Model.Entity.User
@{
ViewBag.Title = "CreateUser";
}
<h2>Hoşgeldiniz</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Alışveriş Keyfi için Hemen Kayıt Olun</h4>
<hr />
@Html.ValidationSummary(true, "", new... | 2.295985 | 83c606e15c75e2fb817670eb515060d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815262 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrei-m-code/halifax",
"max_stars_repo_path": "Halifax.Api/App/HalifaxBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134482"
} | starcoder | using Halifax.Api.App.Defaults;
using Halifax.Api.Errors;
using Halifax.Core.Helpers;
using Microsoft.AspNetCore.Cors.Infrastructure;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.IdentityModel.Tokens;
using Swashbuckle.AspNetCore.SwaggerGen;
using System.Text;
using System.Text.Json;
namespace Halif... | 1.815259 | 87e2f2ec73b6d12d1e74f06635360461 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815263 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DefectiveCube/FlightDataAnalyzer",
"max_stars_repo_path": "src/XPlaneWPF/Converters/TemperatureConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134483"
} | starcoder | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using UnitsNet;
namespace XPlaneWPF.Converters
{
[ValueConversion(typeof(double), typeof(Temperature))]
public class TemperatureConverter : IValueConverter
{
public object Convert(object value, Type targetTy... | 2.802968 | 7bd90b09838c858029dc4eb4d9f5034c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815264 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mansoor-omrani/Locust.NET",
"max_stars_repo_path": "Modules/Locust.Modules.Api/Service/ApiClientCustomer/Refresh/StrategyBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134484"
} | starcoder | using Locust.Caching;
using Locust.ServiceModel;
using Locust.ServiceModel.Babbage;
using Locust.Modules.Api.Model;
using Locust.Modules.Api.Service;
namespace Locust.Modules.Api.Strategies
{
public abstract partial class ApiClientCustomerRefreshStrategyBase : BabbageDataManipulationStrategy<ApiClientCustomerRefreshR... | 1.375759 | cd53af9d2f0259a103c4709283b29780 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815265 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "retamalgutierrez/EntityFrameworkCore.Generator",
"max_stars_repo_path": "src/EntityFrameworkCore.Generator.Core/Options/EntityClassOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134485"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace EntityFrameworkCore.Generator.Options
{
/// <summary>
/// EntityFramework entity class generation options
/// </summary>
/// <seealso cref="ClassOptionsBase" />
public class EntityClassOptions : ClassOptionsBase... | 2.798452 | 11fc11011cd851c977640e5ffed86180 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815266 | {
"extension": "c-sharp",
"max_stars_count": "85.0",
"max_stars_repo_name": "stesee/dotnet-mammoth",
"max_stars_repo_path": "Mammoth/Couscous/java/lang/String.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134486"
} | starcoder | namespace Mammoth.Couscous.java.lang {
internal partial class String {
internal static string join(string separator, Iterable<string> values) {
return string.Join(separator, FromJava.IterableToEnumerable(values));
}
}
}
| 2.216574 | 124397b509e9a532bbbcaf49e0e479fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815267 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zspitz/PandocFilters",
"max_stars_repo_path": "PandocFilters/IVisitor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134487"
} | starcoder | namespace PandocFilters {
public interface IVisitor<TPandoc> {
public TPandoc VisitPandoc(TPandoc pandoc);
}
}
| 1.539932 | e54e71fe671b80a453ad66b8dfae9e42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815268 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Akitaux/Twitch",
"max_stars_repo_path": "src/Akitaux.Twitch.Helix/Requests/Analytics/GetGameAnalyticsParams.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134488"
} | starcoder | using System;
using System.Collections.Generic;
using System.Xml;
using Akitaux.Twitch.Helix.Entities;
using Voltaic;
namespace Akitaux.Twitch.Helix.Requests
{
public class GetGameAnalyticsParams : Rest.QueryMap
{
public static readonly string[] RequiredScopes = { "analytics:read:games" };
pu... | 2.311116 | ef4745aa02b1e2a1383ff7dc9b285a70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815269 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidikin45/DigitalNomadDave",
"max_stars_repo_path": "Solution.Base/Interfaces/Automapper/IHaveCustomMappings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134489"
} | starcoder | using AutoMapper;
using AutoMapper.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Solution.Base.Interfaces.Automapper
{
public interface IHaveCustomMappings
{
void CreateMappings(IMapperConfigurationExpressio... | 1.664375 | 4e56ffd353cdca01d12f7f2fa0f40b0a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815270 | {
"extension": "c-sharp",
"max_stars_count": "166.0",
"max_stars_repo_name": "mcneel/rhino.inside-rev",
"max_stars_repo_path": "src/RhinoInside.Revit/Convert/Units/DisplayUnitTypeConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134490"
} | starcoder | using System.Diagnostics;
using static System.Math;
using static Rhino.RhinoMath;
using ARDB = Autodesk.Revit.DB;
using DBXS = RhinoInside.Revit.External.DB.Schemas;
namespace RhinoInside.Revit.Convert.Units
{
using External.DB.Extensions;
static class DisplayUnitTypeConverter
{
#if DEBUG
stati... | 2.44133 | 6c3c1a401849448da89a26628d52cc71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815271 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sharons74/koobeca",
"max_stars_repo_path": "BL/Rendering/FeedReaction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134491"
} | starcoder | using KoobecaFeedController.DAL.Adapters;
using KoobecaFeedController.DAL.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace KoobecaFeedController.BL.Rendering
{
public class FeedReaction
{
public FeedReaction(Reaction reaction,uint count)
{
captio... | 2.014198 | a3ec4831d6619f4f5cd016495387917a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815272 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "graemsheppard/GraemSheppardOnline",
"max_stars_repo_path": "GraemSheppardOnline/ViewModels/DocumentCreatorViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134492"
} | starcoder | <reponame>graemsheppard/GraemSheppardOnline
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GraemSheppardOnline.ViewModels
{
public class DocumentCreatorCreateVM
{
public int? Size { get; set; }
}
}
| 1.284019 | e1599538c33c2882fe112d566a501e2d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815273 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CBenghi/NuSpecHelper",
"max_stars_repo_path": "FileFinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134493"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace NuSpecHelper
{
internal class FileFinder
{
private Regex _re = null;
public string Patt... | 2.862705 | 54ff10d5cdd6b35b24a45a651e03f00d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815274 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AS005008/EasyEPLANner",
"max_stars_repo_path": "src/TechObject/ModesManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134494"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TechObject
{
/// <summary>
/// Операции технологического объекта.
/// </summary>
public class ModesManager : Editor.TreeViewItem
{
public ModesManager(TechObject ow... | 2.930885 | cf5a7beea962e5baad5ece35ee842d67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815275 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vasar007/ThingAppraiser",
"max_stars_repo_path": "ProjectV/Libraries/ProjectV.OutputProcessing/WebService/OutputTransmitter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134495"
} | starcoder | <filename>ProjectV/Libraries/ProjectV.OutputProcessing/WebService/OutputTransmitter.cs
using System.Collections.Generic;
using System.Threading.Tasks;
using ProjectV.Models.Internal;
namespace ProjectV.IO.Output.WebService
{
public sealed class OutputTransmitter : IOutputter, ITagable
{
private IReadO... | 2.436813 | a26490559f003690d436aab1ff3df8fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815276 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "monankov/Structr",
"max_stars_repo_path": "samples/Structr.Samples.EntityFrameworkCore/DataAccess/Configurations/FooItemConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134496"
} | starcoder | <filename>samples/Structr.Samples.EntityFrameworkCore/DataAccess/Configurations/FooItemConfiguration.cs
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Structr.Samples.EntityFrameworkCore.Domain.FooAggregate;
namespace Structr.Samples.EntityFrameworkCore.DataAccess.Con... | 2.252666 | 9a41e39e70ded1b3ae053cf35ccc1ab4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815277 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "twesd/editor",
"max_stars_repo_path": "CommonUI/FormDialog.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134497"
} | starcoder | <filename>CommonUI/FormDialog.Designer.cs
namespace CommonUI
{
partial class FormDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used... | 1.898544 | a6c6cf7125a70b24247bd7634d58187d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815278 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VSS-DEV/Fluent.Ribbon",
"max_stars_repo_path": "Fluent.Ribbon.Tests/Localization/RibbonLocalizationGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134498"
} | starcoder | <filename>Fluent.Ribbon.Tests/Localization/RibbonLocalizationGenerator.cs
namespace Fluent.Tests.Localization
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using Fluent.Localiza... | 2.70807 | 5c1a513c97efce0c6133beb5e236cd10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815279 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JulianVo/SumpfkrautOnline-Khorinis",
"max_stars_repo_path": "GUCClient/WorldObjects/BaseVob.Client.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134499"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Gothic.Objects;
using GUC.Types;
using GUC.Network;
namespace GUC.WorldObjects
{
public abstract partial class BaseVob
{
#region Network Messages
internal static class Messages
{
#r... | 2.352214 | 4333c49abb90d57dbb38a7a60a9053fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815280 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "m-sadegh-sh/WebPlex",
"max_stars_repo_path": "src/WebPlex.Services/ValidationProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134500"
} | starcoder | <reponame>m-sadegh-sh/WebPlex
namespace WebPlex.Services {
using System.Linq;
using NHibernate.Validator.Engine;
using WebPlex.Core.Engine;
using WebPlex.Services.Infrastructure;
public class ValidationProvider {
private readonly ValidatorEngine _validatorEngine;
public ValidationProvider(ValidatorEngine v... | 1.986308 | a1497f811d8c25e74f081c1288dfcef1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815281 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ohtrobinson/Cubic",
"max_stars_repo_path": "Cubic/Audio/PitchNote.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134501"
} | starcoder | <filename>Cubic/Audio/PitchNote.cs
using System;
namespace Cubic.Audio;
public ref struct PitchNote
{
#region Constants
public const float Tuning = 1 / 261.6256f;
public const float RefVolume = 1 / 64f;
// All of these constants are precomputed to the correct frequency. This will drastically red... | 2.836016 | 6b560ca85b1d0bf3431bab19da064cae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815282 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KamilKarpus/SecretStorage",
"max_stars_repo_path": "src/SS.Collection.Domain.Tests/CollectionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134502"
} | starcoder | using System;
namespace SS.Collections.Domain.Tests
{
public class CollectionTests
{
}
}
| 0.690728 | dd34ceb62d616bcd8a16c6fc45273db6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815283 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kaitsuks/Ritari2Ddatanomi2019a",
"max_stars_repo_path": "Assets/Scripts/SceneLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134503"
} | starcoder | using UnityEngine;
using UnityEngine.SceneManagement;
public class SceneLoader : MonoBehaviour //HUOM! Nimi pitää olla sama
{
public void LoadSceneOnClick(int sceneNo)
{
SceneManager.LoadScene(sceneNo);
}
} | 1.804874 | 600a3b9ee49d2e36a50329201369b606 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815284 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "shniqq/memory-game",
"max_stars_repo_path": "Assets/_Scripts/MainMenu/MainMenuInstaller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134504"
} | starcoder | using MemoryGame.Game;
using UnityEngine;
using Zenject;
using Random = UnityEngine.Random;
namespace MemoryGame.MainMenu
{
public class MainMenuInstaller : MonoInstaller<MainMenuInstaller>
{
[SerializeField] private ColorConfig[] _colorProviders;
[SerializeField] private MainMenuView _mainMenu... | 1.779348 | 792a9fd721bd516760f1cf3cce844696 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815285 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShimizuShiori/Reface.NPI.DynamicProxy",
"max_stars_repo_path": "src/Reface.NPI.DynamicProxy/NPIInterceptor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134505"
} | starcoder | using Castle.Core.Interceptor;
using Reface.NPI.Generators;
using System;
using System.Collections.Generic;
namespace Reface.NPI.DynamicProxy
{
public class NPIInterceptor : IInterceptor
{
private readonly DbConnectionContext dbConnectionContext;
private static IEnumerable<IDbReturnValueHandl... | 2.336102 | f6068909537398d85b043d3d492dc8e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815286 | {
"extension": "c-sharp",
"max_stars_count": "5873.0",
"max_stars_repo_name": "rp1231/EarTrumpet",
"max_stars_repo_path": "EarTrumpet/UI/ViewModels/ToolbarItemViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134506"
} | starcoder | using System.Collections.ObjectModel;
using System.Windows.Input;
namespace EarTrumpet.UI.ViewModels
{
public class ToolbarItemViewModel
{
public string DisplayName { get; set; }
public string Glyph { get; set; }
public string Id { get; set; }
public int GlyphFontSize... | 1.647126 | 5fcd00376bf243fb779b0a3ff1e03c4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815287 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "thaystg/xamarin-macios",
"max_stars_repo_path": "src/WatchKit/iOS/WKInterfaceDevice.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134507"
} | starcoder | #if __IOS__
using System;
using System.Collections.Generic;
using System.ComponentModel;
using CoreGraphics;
using Foundation;
using ObjCRuntime;
using UIKit;
namespace WatchKit {
[Register ("WKInterfaceDevice", SkipRegistration = true)]
[Introduced (PlatformName.iOS, 8,2, PlatformArchitecture.All)]
[Unavailable (... | 1.625256 | a6739eb930770beef5bd95193989a100 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815288 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "PrivateCodeRetreat2/mikado-testbuilders-kata",
"max_stars_repo_path": "csharp/Application/Storage/IRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134508"
} | starcoder | <reponame>PrivateCodeRetreat2/mikado-testbuilders-kata<filename>csharp/Application/Storage/IRepository.cs
/*******************************************************************************
*
* Copyright (c) {2003-2019} Murex S.A.S. and its affiliates.
* All rights reserved. This program and the accompanying materials
... | 1.311349 | fdbc1b99be27d5c4a2b308cd329620bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815289 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "KalixHealth/Kalix.Leo",
"max_stars_repo_path": "Kalix.Leo.Core/Indexing/RecordUniqueIndex.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134509"
} | starcoder | <filename>Kalix.Leo.Core/Indexing/RecordUniqueIndex.cs
namespace Kalix.Leo.Indexing
{
public class RecordUniqueIndex<T> : IRecordUniqueIndex<T>
{
private readonly string _prefix;
public RecordUniqueIndex(string prefix)
{
_prefix = prefix;
}
public string Pr... | 2.302017 | 821e04e1087652e85a3437f0e59aa50f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815290 | {
"extension": "c-sharp",
"max_stars_count": "2279.0",
"max_stars_repo_name": "aTiKhan/Magick.NET",
"max_stars_repo_path": "tests/Magick.NET.Tests/Profiles/Exif/ExifProfileTests/TheRemoveThumbnailMethod.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134510"
} | starcoder | // Copyright <NAME> https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using ImageMagick;
using Xunit;
namespace Magick.NET.Tests
{
public partial class ExifProfileTests
{
public class TheRemoveThumbnailMethod
{
[Fact]
public voi... | 2.315185 | 6c081dbf329e3f0a8143a85e4467d442 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815291 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LanguageDev/SynKit",
"max_stars_repo_path": "Sources/SynKit.Grammar/Lr/Tables/ILrParsingTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134511"
} | starcoder | <filename>Sources/SynKit.Grammar/Lr/Tables/ILrParsingTable.cs
using SynKit.Grammar.ContextFree;
using SynKit.Grammar.Lr.Items;
namespace SynKit.Grammar.Lr.Tables;
/// <summary>
/// An LR parsing table that contains the action and goto tables.
/// </summary>
public interface ILrParsingTable
{
/// <summary>
///... | 2.355208 | 7a63b8febce2c21cfb773cd4c3680137 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815292 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "edleno2/nf-Visual-Studio-extension",
"max_stars_repo_path": "VisualStudio.Extension/CorDebug/Utility/Utility.Kernel32.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134512"
} | starcoder | //
// Copyright (c) .NET Foundation and Contributors
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
// See LICENSE file in the project root for full license information.
//
using CorDebugInterop;
using System;
using System.Runtime.InteropServices;
namespace nanoFramework.Tools.VisualStudio.Ex... | 1.81518 | 7ee8be5b3241c8244165350fce201bb6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815293 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "matis-87/Delki",
"max_stars_repo_path": "Regions/Model/NewDelegation/Employee.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134513"
} | starcoder | <gh_stars>0
using Regions.Services;
using Regions.Services.NewDelegation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Regions.Model.NewDelegation
{
public class Employee: IEmployeeEditor
{
public Employee()
{
... | 2.054853 | b9d1fd16912e899065b837b05e79cb0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815294 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "starschema/TabMon",
"max_stars_repo_path": "TabMon/TabMonConfig/TabMonConfigReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134514"
} | starcoder | <gh_stars>0
using DataTableWriter;
using log4net;
using System;
using System.Configuration;
using System.IO;
using System.Reflection;
using DataTableWriter.Connection;
using DataTableWriter.Drivers;
using DataTableWriter.Writers;
using TabMon.Helpers;
namespace TabMon.Config
{
/// <summary>
/// Parses the mai... | 2.453899 | 42e9245f44ac4112d6a6cce1b7d3912e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815295 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "Coldairarrow/Colder.Components",
"max_stars_repo_path": "demos/Demo.Logging/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134515"
} | starcoder | using Colder.Logging.Serilog;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace Logging.Demo
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateH... | 1.960704 | 60c7118484a1d4da1d26bd73431d9aba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815296 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/mgmtcommon/AppAuthentication/Azure.Services.AppAuthentication/Helpers/JsonHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134516"
} | starcoder | <reponame>gjy5885/azure-sdk-for-net<filename>sdk/mgmtcommon/AppAuthentication/Azure.Services.AppAuthentication/Helpers/JsonHelper.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.IO;
using Syste... | 2.015739 | 08fec1349674e39e0e5245e80745532f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815297 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "arstorey/NCache",
"max_stars_repo_path": "Src/NCRuntime/Processor/IEntryProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134517"
} | starcoder | <filename>Src/NCRuntime/Processor/IEntryProcessor.cs<gh_stars>1-10
// Copyright (c) 2018 Alachisoft
//
// 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/licen... | 2.529386 | 830bf4fcc429edc1bdda5c0389d41949 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815298 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ilkerogutcu/microservices-ecommerce",
"max_stars_repo_path": "src/Services/Catalog/Catalog.Application/Features/Queries/Catalog/GetProductDetailsByIdQuery/GetProductDetailsByIdQueryHandler.cs",
"provenance": "train-00027-of-00045.json... | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Catalog.Application.Constants;
using Catalog.Application.Features.Events.Products.ProductViewedEvent;
using Catalog.Application.Features.Queries.Catalog.ViewModels;
using Catalog.Application.Interfaces.Reposito... | 2.125072 | ada55b866d9c88c84f52b132360d8b78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815299 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Elia120/Hoshanot",
"max_stars_repo_path": "Hoshanot.Web.Mvc/Views/Users/Register.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:134519"
} | starcoder | @model Hoshanot.Web.DataAccess.Models.User
@{
ViewBag.Title = "Registrieren";
}
<h2>Registrieren</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<hr />
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.HiddenFor(mo... | 2.197963 | e2dd25b9b7d14f6af1066459b1116e67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815300 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BEIS-Digital-Services/INZFS",
"max_stars_repo_path": "INZFS.MVC/Views/Accordion/ProposalSummary/_ProposalGrantJustification.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:134520"
} | starcoder | <gh_stars>1-10
@model string
<div class="govuk-accordion" data-module="govuk-accordion" id="accordion-default">
<div class="govuk-accordion__section">
<div class="govuk-accordion__section-header">
<h2 class="govuk-accordion__section-heading">
<button type="button" id="accordion-... | 2.500968 | 463e7b7640dc2161a0fea5bae666f72f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815301 | {
"extension": "c-sharp",
"max_stars_count": "118.0",
"max_stars_repo_name": "weathermaker/4dforvive",
"max_stars_repo_path": "Assets/Scripts/billboard/BillboardGraph.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134521"
} | starcoder | <gh_stars>100-1000
using UnityEngine;
using System.Collections.Generic;
using System;
public class BillboardGraph : BillboardComponent
{
// WARNING: Graph assumes non negative data
// Accepts data on [0, 1] unless `normalize` is set to true
public Queue<float> data = new Queue<float> ();
private int lastRendere... | 2.499635 | dba374e01fc5332340d5d06c9b15a034 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815302 | {
"extension": "c-sharp",
"max_stars_count": "122.0",
"max_stars_repo_name": "CurlyBytes/EcommerceDDD",
"max_stars_repo_path": "src/EcommerceDDD.Application/Products/ProductViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134522"
} | starcoder | namespace EcommerceDDD.Application.Products;
public record ProductViewModel
{
public Guid Id { get; init; }
public string Name { get; init; }
public string Price { get; init; }
public string CurrencySymbol { get; init; }
} | 1.686438 | 2c79d97fdc0ac7b72a985b1c06cfe899 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815303 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "ScriptBox99/Broadcast-Development-Kit",
"max_stars_repo_path": "src/Infrastructure.Core/Common/InjectionUrlHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134523"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System;
using Application.Common.Models;
using Application.Interfaces.Common;
using Domain.Constants;
using Domain.Enums;
namespace Infrastructure.Core.Common
{
public class InjectionUrlHelper : IInjectionUrlHelper
{
publ... | 2.082732 | 6b9d2f3ccf74e493337e4ac2c7d0397b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815304 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivconsult/eNeg-PrefApp",
"max_stars_repo_path": "citPOINT.PrefApp.Data.Web/DataTypes/Helpers/NumericBoundary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134524"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using citPOINT.PrefApp.ViewModel.Helpers;
using System.ServiceModel.DomainServices.EntityFramework;
namespace citPOINT.PrefApp.Data.Web.Helpers
{
class NumericBoundary : INumericBoundary
{
#region → Fields .... | 2.460735 | 96ece38f218523c010dc8b4bd3003f54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815305 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Arrow666/Pong",
"max_stars_repo_path": "Assets/Scripts/GameEnums/GameEnumerators.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134525"
} | starcoder |
public enum GameModeTypes
{
SinglePlayer,
TwoPlayer
}
public enum GameDifficultyTypes
{
Easy,
Normal,
Hard
}
public enum GamePlaySide
{
Left,
Right
} | 1.944107 | a66044c4d589e46908359b62d7c9de45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815306 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sir1usBl4ck/PathfinderSheet",
"max_stars_repo_path": "PathWalkerViewModels/ChildViewModels/CharacterInfoViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134526"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using PathfinderSheetModels;
using PathfinderSheetServices;
namespace PathWalkerViewModels.ChildViewModels
{
public class CharacterInfoViewModel : ChildViewModel
{
... | 2.432505 | b8fbf1e8ee4777251fbffc7f2aa682ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815307 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "balu-eligible/eligible-CSharp",
"max_stars_repo_path": "Eligible.NET/src/EligibleService.Model/Coverage/Reference.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134527"
} | starcoder | <reponame>balu-eligible/eligible-CSharp<gh_stars>0
using Newtonsoft.Json;
namespace EligibleService.Model.Coverage
{
public class Reference
{
[JsonProperty("reference_code")]
public string ReferenceCode { get; set; }
[JsonProperty("reference_label")]
public string ReferenceLab... | 1.3025 | 7c1c0e6fcb8986e7c99fd90c2522cd36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815308 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Maxprofs/roslyn",
"max_stars_repo_path": "src/Compilers/CSharp/Portable/Lowering/AsyncRewriter/AsyncStateMachine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134528"
} | starcoder | <gh_stars>0
// 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 System.Collections.Immutable;
using Microsoft.CodeAnalysis.CodeGen;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalys... | 1.713022 | 433679131b47e9c57d2c94e4639a8400 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815309 | {
"extension": "c-sharp",
"max_stars_count": "54.0",
"max_stars_repo_name": "KozakSergii/chrome-dev-tools-generator",
"max_stars_repo_path": "src/BaristaLabs.ChromeDevTools.RemoteInterface/CodeGen/IServiceProviderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134529"
} | starcoder | <reponame>KozakSergii/chrome-dev-tools-generator<gh_stars>10-100
namespace BaristaLabs.ChromeDevTools.RemoteInterface.CodeGen
{
using BaristaLabs.ChromeDevTools.RemoteInterface.ProtocolDefinition;
using Microsoft.Extensions.DependencyInjection;
using System;
/// <summary>
/// Contains extensions f... | 1.869336 | 49f808059363870ecc9e9a603de3177a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815310 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TylerLeonhardt/interactive",
"max_stars_repo_path": "src/Microsoft.DotNet.Interactive/HtmlKernel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134530"
} | starcoder | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Threading.Tasks;
using Microsoft.DotNet.Interactive.Commands;
using Microsoft.DotNet.Interactive.Formatting;
namespace Microsoft.D... | 2.000711 | 52aefa9742e5e46b0641d4bd81819284 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815311 | {
"extension": "c-sharp",
"max_stars_count": "81.0",
"max_stars_repo_name": "HLSW/DeltaEngine",
"max_stars_repo_path": "Samples/CreepyTowers/Stats/Buff.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134531"
} | starcoder | <reponame>HLSW/DeltaEngine
namespace CreepyTowers.Stats
{
/// <summary>
/// This is used to increase or decrease the value of a creep/tower statistic - either by
/// multiplying the base value or by adding to it
/// </summary>
public class Buff
{
public Buff(Stat stat, BuffEffect effect)
{
Stat ... | 2.59042 | a5ef7f68ac97ac8b57a59c8c6b70abfb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815312 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iris-azure/iris-gatherer-adf",
"max_stars_repo_path": "src/Serializers/CosmosDbSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134532"
} | starcoder | using System.Net;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Azure.Cosmos;
using IrisGathererADF.Models;
using IrisGathererADF.Models.Config;
using Microsoft.Extensions.Logging;
namespace IrisGathererADF.Serializers
{
public class CosmosDbSerializer : ISerializer
{
priv... | 2.313423 | 46fcbefa873de36bda1b06c70c71477d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815313 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "angelinn/dotnet-bulgarian-stemmer",
"max_stars_repo_path": "src/BGStemmer/BulgarianStemmer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134533"
} | starcoder | using BGStemmer.Exceptions;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
namespace BGStemmer
{
public class BulgarianStemmer
{
private Dictionary<string, string> stemmingRules = new Dictionary<string, string>();
pri... | 3.14497 | 0c7e9e0cf959c43edf5e3bc788dabf25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815314 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "apollo2030/RestEase-Client-Generator",
"max_stars_repo_path": "examples/RestEaseClientGeneratorConsoleApp/Examples/PetStore/Models/Tag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134534"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
namespace RestEaseClientGeneratorConsoleApp.Examples.PetStore.Models
{
public class Tag
{
public long Id { get; set; }
public string Name { get; set; }
}
}
| 1.597403 | f094301087087233b30603295f71e943 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815315 | {
"extension": "c-sharp",
"max_stars_count": "1209.0",
"max_stars_repo_name": "mariloutb/EntityFramework-Classic",
"max_stars_repo_path": "test/Shared/UnitTests/Migrations/Model/CreateIndexOperationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134535"
} | starcoder | <filename>test/Shared/UnitTests/Migrations/Model/CreateIndexOperationTests.cs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Data.Entity.Migrations.Model
{
using System.Data.Entity.Resources;
using System.Lin... | 2.442315 | 1175316fc08d9a1eb0a0496dd97f9aa5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815316 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vukelic/WindGenerator-backend",
"max_stars_repo_path": "WindGeneratorService/RepositoryModel/RepoModels/Implementations/User/RepoUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134536"
} | starcoder | <filename>WindGeneratorService/RepositoryModel/RepoModels/Implementations/User/RepoUser.cs<gh_stars>0
using RepositoryModel.RepoModels.Abstractions.Common;
using RepositoryModel.RepoModels.Implementations.Role;
using System;
using System.Collections.Generic;
using System.Text;
namespace RepositoryModel.RepoModels.Imp... | 1.971263 | 3455d79446749cf3909c71004035de68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815317 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Scillman/SteamAchievementsViewer",
"max_stars_repo_path": "SteamAchievementsViewer/Test/Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134537"
} | starcoder | namespace Test
{
partial class Form1
{
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
... | 1.920659 | fbb3e13d7f736fb835fe2a489805c686 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.