added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812818 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "LoopieLLC/Postmates.NET",
"max_stars_repo_path": "src/Postmates.NET/Model/PostmatesCreateDeliveryArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132038"
} | starcoder | //-----------------------------------------------------------------------------
// FILE: PostmatesCreateDeliveryArgs.cs
// CONTRIBUTOR: <NAME>
// COPYRIGHT: Copyright (c) 2018-2020 by Loopie, Inc. All rights reserved.
using System;
using System.ComponentModel;
using System.Diagnostics.Contracts;
using Neon.Comm... | 2.518067 | 0dc5b1f4a5e99e3ab2092f6d20772f61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812819 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "barrycarey/ghostpanel",
"max_stars_repo_path": "src/GhostPanel.Web/Controllers/GameController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132039"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using GhostPanel.Core.Data;
using GhostPanel.Core.Data.Model;
using GhostPanel.Core.Data.Specifications;
using System.Net.Http;
// For more information on enabling Web API for empty project... | 2.242168 | 1b921d5fdf305f1b90ea284332c87f9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812820 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "BROCKHAUS-AG/contentmonkey",
"max_stars_repo_path": "MAIN/BAG.Library/GeoLocation/Provider/MaxMind/Internal/Metadata.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132040"
} | starcoder | <filename>MAIN/BAG.Library/GeoLocation/Provider/MaxMind/Internal/Metadata.cs
namespace BAG.Framework.Geolocation.Provider.MaxMind.Internal
{
using System;
using System.Collections;
using System.Collections.Generic;
using Newtonsoft.Json;
/// <summary>
/// Data about the database file itself
... | 2.447307 | 3079c844bc5a845f78c476139d8b3d97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812821 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pocheshire/AppRopio.Mobile",
"max_stars_repo_path": "src/app-ropio/AppRopio.Base/Settings/Core/Services/ISettingsVmNavigationService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132041"
} | starcoder | using System;
using AppRopio.Base.Core.ViewModels.Services;
using AppRopio.Base.Settings.Core.Models.Bundle;
namespace AppRopio.Base.Settings.Core.Services
{
public interface ISettingsVmNavigationService : IBaseVmNavigationService
{
void NavigateToRegions(SettingsPickerBundle bundle);
void Na... | 1.039055 | a41d856f9a04525c4bf6a96653d9a23c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812822 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "mikegoatly/lif",
"max_stars_repo_path": "test/Lifti.Tests/IdPoolTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132042"
} | starcoder | using FluentAssertions;
using System.Collections.Immutable;
using System.Linq;
using Xunit;
namespace Lifti.Tests
{
public class IdPoolTests
{
private static readonly DocumentStatistics item1DocumentStatistics = DocumentStatistics((1, 100));
private static readonly DocumentStatistics item2Docu... | 2.602103 | ca2a46ce6be246d01b0e79e0eb94c0b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812823 | {
"extension": "c-sharp",
"max_stars_count": "183.0",
"max_stars_repo_name": "JohnPKosh/azos",
"max_stars_repo_path": "src/testing/Azos.Tests.Nub/Time/HourListTestsJpk.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132043"
} | starcoder | <reponame>JohnPKosh/azos
/*<FILE_LICENSE>
* Azos (A to Z Application Operating System) Framework
* The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
</FILE_LICENSE>*/
using System;
using Azos.Data;
using Azos.Time... | 2.051084 | 5fdc84b28cd7c4c7b90092d4f0b1d8e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812824 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thomastran8/AlternateUniverse",
"max_stars_repo_path": "Assets/EnemyHealth.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132044"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyHealth : Health {
private void Start()
{
currentHealth = startHealth;
}
private void OnTriggerEnter2D(Collider2D collision)
{
if (collision.gameObject.tag == "Bullet")
{
... | 2.142554 | 1aed17f197eeb8547285534d9c9040b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812825 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nexmo-community/vonage-aspnetcore",
"max_stars_repo_path": "Vonage.AspNetCore/VonageEvents.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132045"
} | starcoder | <reponame>nexmo-community/vonage-aspnetcore
using Vonage.Messaging;
namespace Vonage.AspNetCore
{
/// <summary>
/// Delegate used to handle inbound SMS messages, if you pass your security secret into the middleware, this SMS will have already been pre-validated
/// </summary>
/// <param name="sms"></pa... | 2.120326 | 7c520ac8d1d9cdfd60840322b049b97c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812826 | {
"extension": "c-sharp",
"max_stars_count": "1738.0",
"max_stars_repo_name": "jeikabu/lumberyard",
"max_stars_repo_path": "dev/Code/Tools/LuaRemoteDebugger/LuaRemoteDebugger/DoubleClickListView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132046"
} | starcoder | <filename>dev/Code/Tools/LuaRemoteDebugger/LuaRemoteDebugger/DoubleClickListView.cs<gh_stars>1000+
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License")... | 2.148309 | bf9c92a7a3c5bd53d5e8ba82914ae152 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812827 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marcoscolombo66/6.0.0",
"max_stars_repo_path": "aspnet-core/src/Futbol3.Web.Core/Futbol3WebCoreModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132047"
} | starcoder | <filename>aspnet-core/src/Futbol3.Web.Core/Futbol3WebCoreModule.cs
using System;
using System.Text;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.IdentityModel.Tokens;
using Abp.AspNetCore;
using Abp.AspNetCore.Configuration;
using Abp.AspNetCore.SignalR;
using Abp.Modul... | 1.583797 | 60676bb5fc9ceb0762d68c78df067822 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812828 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MikeCodesDotNET/Avalonia",
"max_stars_repo_path": "src/Avalonia.FreeDesktop/DBusIme/IBus/IBusX11TextInputMethod.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132048"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using Avalonia.Input;
using Avalonia.Input.Raw;
using Avalonia.Input.TextInput;
using Tmds.DBus;
namespace Avalonia.FreeDesktop.DBusIme.IBus
{
internal class IBusX11TextInputMethod : DBusTextInputMethodBase
{
private IIBusInputContext _con... | 2.269559 | ea1e815ca29e497a9ecb1c8060fe5eb3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812829 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EdutechSRL/Adevico",
"max_stars_repo_path": "3-Business/3-Modules/lm.Comol.Modules.Standard/Skin/Presentation/Module/IView/IViewSkinPreview.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132049"
} | starcoder | <reponame>EdutechSRL/Adevico
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using lm.Comol.Core.DomainModel.Common;
using lm.Comol.Modules.Standard.Skin.Domain;
namespace lm.Comol.Modules.Standard.Skin.Presentation
{
public interface IViewSkinPreview: iDomainView
{
... | 1.20729 | d500d1aa6a0301366e0fff2b5432a433 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812830 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "moto2002/kaituo_src",
"max_stars_repo_path": "src/Assets.Scripts.Game/PlatformType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132050"
} | starcoder | using System;
namespace Assets.Scripts.Game
{
public class PlatformType
{
public const int XQAndroid = 0;
public const int AppStore = 1;
public const int Tencent = 2;
public const int TaptapAndroid = 3;
public const int TaptapIOS = 4;
public const int Testflight = 5;
public const int UCAndroid = ... | 2.553274 | b4aef39808e7602b28c5438b52f18c4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812831 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gyeongin/reef",
"max_stars_repo_path": "lang/cs/Org.Apache.REEF.Common/Runtime/Evaluator/Task/TaskLifeCycle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132051"
} | starcoder | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... | 2.158547 | 1aeecb5f6cf375406cb8d12a90c0f5c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812832 | {
"extension": "c-sharp",
"max_stars_count": "793.0",
"max_stars_repo_name": "akrisiun/Mvc5",
"max_stars_repo_path": "src/System.Web.Mvc/Html/LinkExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132052"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Web.Mvc.Properties;
using System.Web.Routing;
using System.Web.WebPages;
namespace System.Web.Mvc.Html
... | 1.883307 | 4ee19571ec0b2d0c46cfe910287d049b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812833 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "L4ZZA/GameOff-2021",
"max_stars_repo_path": "UnityProject/Assets/Scripts/EditorTools/Attributes/ReadOnlyAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132053"
} | starcoder | <gh_stars>1-10
using UnityEngine;
namespace Jammers
{
public class ReadOnlyAttribute : PropertyAttribute { }
} | 1.072276 | 1075a75b4f4f897c8db6eb560f18b3e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812834 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/errors/cs0619-3.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132054"
} | starcoder | // CS0619: `ObsoleteEnum' is obsolete: `Yeah, is obsolete'
// Line: 13
using System;
[Obsolete("Yeah, is obsolete", true)]
enum ObsoleteEnum
{
}
interface Ex
{
ObsoleteEnum Foo ();
} | 1.93598 | 9e26d9bafeceaaaffa773bd170799937 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812835 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aricooperman/jLean",
"max_stars_repo_path": "orig-src/Tests/Common/Util/ObjectToListJsonConverterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132055"
} | starcoder | <reponame>aricooperman/jLean
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licen... | 2.165673 | 2a85477660878cf516afa53ee4948e59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812836 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Deadolus/hass-workstation-service",
"max_stars_repo_path": "hass-workstation-service/Domain/Sensors/CurrentVolumeSensor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132056"
} | starcoder | using CoreAudio;
using hass_workstation_service.Communication;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace hass_workstation_service.Domain.Sensors
{
public class Curr... | 2.230438 | e4e14c349c08f1b70ce90061915bcb81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812837 | {
"extension": "c-sharp",
"max_stars_count": "122.0",
"max_stars_repo_name": "deagl0r/nUpdate",
"max_stars_repo_path": "nUpdate.Internal/Core/DevelopmentalStage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132057"
} | starcoder | <reponame>deagl0r/nUpdate
// DevelopmentalStage.cs, 10.06.2019
// Copyright (C) <NAME> 17.06.2019
namespace nUpdate.Internal.Core
{
public enum DevelopmentalStage
{
Release,
ReleaseCandidate,
Beta,
Alpha
}
} | 1.420496 | 16157ef781c8773167509be8c05de9e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812838 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jdaibello/curso-c-sharp",
"max_stars_repo_path": "POO/Encapsulamento/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132058"
} | starcoder | using System;
namespace Encapsulamento
{
class Program
{
static void Main(string[] args)
{
Conta c = new Conta();
c.Cliente = "João";
Console.WriteLine("Saldo inicial: R$ " + c.Saldo);
//==== Operação de Depósito ====
double valor =... | 3.383727 | 7f4d323565f6011bb77f285fa443f727 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812839 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jakobbotsch/KrakenNet",
"max_stars_repo_path": "KrakenNet/Util.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132059"
} | starcoder | <filename>KrakenNet/Util.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace KrakenNet
{
internal static class Util
{
private static readonly DateTimeOffset s_unixEpoch = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc);
public static DateTimeOffse... | 3.090851 | 31bd0a0bfa60d0b9e926022e44c01fe7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812840 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "steveteachestech/BrainStorms",
"max_stars_repo_path": "BrainStorms/Examples/PluginArchitecture/PluginExample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132060"
} | starcoder | using Brainstorms.Interfaces;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System;
using System.Collections.Generic;
using System.Composition.Convention;
using System.Composition.Hosting;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BrainS... | 2.167336 | 71644191d18bfcbe8a751411a369224d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812841 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jwg4/gtools",
"max_stars_repo_path": "pserv4/services/NativeSCManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132061"
} | starcoder | <filename>pserv4/services/NativeSCManager.cs
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Text;
using System.Reflection;
using log4net;
namespace pserv4.services
{
public class NativeSCManager : IDisposable
{
p... | 2.58282 | 2503ef44442ee27ee9209d49351ef2be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812842 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ceciljoseph97/medicareHMS",
"max_stars_repo_path": "qplate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132062"
} | starcoder | using MySql.Data.MySqlClient;
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 medicare_hms
{
public partial class qplate : Form
{
... | 2.348024 | 8018bf56d27ef2a2335bfd83882c532e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812843 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ogaiH007/PI",
"max_stars_repo_path": "Jorge Final Developer Project/Assets/scripts/Game Controllers/PontuationController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132063"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PontuationController : MonoBehaviour
{
public static PontuationController instancia;
public int Score;
public Text ScoreText;
void Start()
{
instancia = this;
... | 2.395769 | f505638973fa0d9a7c758a835aac3b5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812844 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jonHuffman/UPool",
"max_stars_repo_path": "Project/Assets/UPool/Scripts/Generators/DefaultGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132064"
} | starcoder | using System;
namespace UPool
{
/// <summary>
/// Default object generator for the Pool
/// </summary>
public class DefaultGenerator : IGenerator
{
private AbstractPool _owner;
public DefaultGenerator(AbstractPool owner)
{
_owner = owner;
}
pub... | 2.614187 | 94c4fc082db0639ed5fbbf96929f95b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812845 | {
"extension": "c-sharp",
"max_stars_count": "129.0",
"max_stars_repo_name": "jacklmjie/NETCore_BasicKnowledge.Examples",
"max_stars_repo_path": "SignalRDemo/SignalRChatDemo/Hubs/ChatHub.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132065"
} | starcoder | using Microsoft.AspNetCore.SignalR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SignalRChatDemo.Hubs
{
public class ChatHub : Hub
{
public override async Task OnConnectedAsync()
{
await Clients.All.SendAsync... | 2.505049 | 49c4ff92789d73755af3d53a248075d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812846 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "mastermel/MRobot.Windows",
"max_stars_repo_path": "src/MRobot.Windows/Utilities/LinkTemplateSelector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132066"
} | starcoder | <reponame>mastermel/MRobot.Windows
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using MRobot.Windows.Models;
namespace MRobot.Windows.Utilities
{
public class LinkTemplateSelector : DataTemp... | 2.061387 | ef4ca1c1ba9d9c182cc9e3af9bbcb5c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812847 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Acidburn0zzz/XamlStyler",
"max_stars_repo_path": "XamlStyler.UnitTests/TestConfigurations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132067"
} | starcoder | <reponame>Acidburn0zzz/XamlStyler
// © Xavalon. All rights reserved.
using Newtonsoft.Json;
using NUnit.Framework;
using System.IO;
using System.Reflection;
using System.Text.RegularExpressions;
using Xavalon.XamlStyler.Core.Options;
namespace Xavalon.XamlStyler.UnitTests
{
//Should these tests fail with a File ... | 2.098714 | 3c24740a772199de48325874ac17048b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812848 | {
"extension": "c-sharp",
"max_stars_count": "57.0",
"max_stars_repo_name": "jeffreyxrh/api-doc-tools",
"max_stars_repo_path": "mdoc/Test/TestInterfaceImplementation/Interface5.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132068"
} | starcoder | <gh_stars>10-100
namespace TestInterfaceImplementation
{
public interface Interface5 : Interface4
{
int Method();
new int Method2();
}
} | 1.958247 | e4a76ca8fb4bce946fd9f2904a0e8828 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812849 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "christides11/touhou-unlimited-fantasies",
"max_stars_repo_path": "Assets/_Project/Scripts/Editor/GameModeBaseEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132069"
} | starcoder | <filename>Assets/_Project/Scripts/Editor/GameModeBaseEditor.cs
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace TUF.GameMode
{
[CustomEditor(typeof(GameModeBase), true)]
public class GameModeBaseEditor : Editor
{
GameModeComp... | 2.408519 | 1b9bf1eb732083e6f29dea583115731f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812850 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Krypton-Suite/Extended-Toolk",
"max_stars_repo_path": "Source/Krypton Toolkit/Main/Krypton.Toolkit.Suite.Extended.Toast/Interfaces/IToastNotificationUIElements.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132070"
} | starcoder | #region BSD License
/*
* Use of this source code is governed by a BSD-style
* license or other governing licenses that can be found in the LICENSE.md file or at
* https://raw.githubusercontent.com/Krypton-Suite/Extended-Toolkit/master/LICENSE
*/
#endregion
namespace Krypton.Toolkit.Suite.Extended.Toast
{
publ... | 1.522768 | a22ce976de117bbdbe2ab3e96586bb42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812851 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "olavloite/google-cloud-dotnet",
"max_stars_repo_path": "apis/Google.Cloud.AIPlatform.V1/Google.Cloud.AIPlatform.V1/ModelEvaluation.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132071"
} | starcoder | // <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/aiplatform/v1/model_evaluation.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Coll... | 1.610792 | 37e78e940164550c7b25302372035a4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812852 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bang-olufsen/xamarin-bluetooth-le",
"max_stars_repo_path": "Source/Plugin.BLE.Abstractions/ICrossBluetoothLE.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132072"
} | starcoder | using Plugin.BLE.Abstractions.Contracts;
namespace Plugin.BLE.Abstractions
{
public interface ICrossBluetoothLE
{
/// <summary>
/// Current bluetooth LE implementation.
/// </summary>
IBluetoothLE Current { get; }
}
} | 1.871977 | bc15a4f0ac40276a5258d085de42c25f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812853 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "icraftsoftware/Be.Stateless.BizTalk.Dsl.Binding",
"max_stars_repo_path": "src/Be.Stateless.BizTalk.Dsl.Binding/Dsl/Binding/Adapter/WcfAdapterBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132073"
} | starcoder | #region Copyright & License
// Copyright © 2012 - 2021 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b... | 1.971222 | 7cce3202949734c4d532e9e9210cbb2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812854 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MiteshDhiran/ContosoUniversityDotNetCore-Pages",
"max_stars_repo_path": "ContosoUniversity/Pages/Courses/Edit.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132074"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using CommandDecoratorExtension;
using ContosoUniversity.Data;
using ContosoUniversity.Models;
using ContosoUniversity.Requests;
us... | 2.208573 | 9b702bcb5ad3e69c6adbc29edd7234c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812855 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gplumb/AdventOfCode",
"max_stars_repo_path": "2020/Day 11/SeatingSystem/SeatingSystem/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132075"
} | starcoder | using System;
using System.IO;
using System.Linq;
namespace SeatingSystem
{
class Program
{
static void Main(string[] args)
{
// Puzzle 1
//var isImmediate = true;
//var tolerance = 4;
// Puzzle 2
var isImmediate = fal... | 3.37984 | 7e60c3c28af4ea34183139d65492f90d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812856 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "KoikyPayan/conekta-.net",
"max_stars_repo_path": "src/conekta/conekta/Models/Charge.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132076"
} | starcoder | using System.Text.RegularExpressions;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace conekta
{
public class Charge : Resource
{
public string id { get; set; }
public bool livemode { get; set; }
public string created_at { get; set; }
public string currency { get; set; }
public int amount { g... | 2.631994 | 2f8229777dc7d353ff6194fc2d7d5b2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812857 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kimi-Arthur/KifaNet",
"max_stars_repo_path": "tests/Kifa.Service.Tests/FakeDataModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132077"
} | starcoder | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Kifa.Service.Tests {
class FakeDataModel : DataModel<FakeDataModel> {
public const string ModelId = "api_test";
static FakeDataModelServiceClient client;
public static FakeDataModelServiceClient Client => client ??= new F... | 2.089543 | ba40dd9985c09844841b9aa80c180b1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812858 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BeansAndPeas/Mystic-Factories",
"max_stars_repo_path": "Assets/Resources/Code/CoreGeneration/AccidentalNoise/Implicit/ImplicitBrightContrast.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132078"
} | starcoder | using System;
namespace AccidentalNoise {
public sealed class ImplicitBrightContrast : ImplicitModuleBase {
public ImplicitBrightContrast(ImplicitModuleBase source, Double brightness, Double contrastThreshold, Double contrastFactor) {
this.Source = source;
this.Brightness = new Imp... | 2.716171 | 38ce25091e7a89e62a2290b02765f5b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812859 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "izzeldeen/Youth",
"max_stars_repo_path": "PublicWebsite/obj/Debug/netcoreapp3.0/Razor/Views/Home/Product.cshtml.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132079"
} | starcoder | #pragma checksum "E:\Youth\V5\Youth\PublicWebsite\Views\Home\Product.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "483ca26a3f556986d7308be060691fffce5055e9"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(PublicWebsite.Views.H... | 1.47619 | cbc738bed5eece1d5230c56f53ff06ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812860 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "maddnias/UScript",
"max_stars_repo_path": "UScript.Compiler/AST/BaseAstNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132080"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UScript.Compiler.AST.Visitor;
namespace UScript.Compiler.AST
{
public abstract class BaseAstNode : IAstElement
{
public BaseAstNode Parent { get; set; }
public IList<BaseAs... | 2.380304 | faee09bc0e9a2eaf5c1f24d8a9a28e46 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812861 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "maurosampietro/UltraMapper",
"max_stars_repo_path": "UltraMapper.Tests/MappingConventions/MatchingRuleTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132081"
} | starcoder | <filename>UltraMapper.Tests/MappingConventions/MatchingRuleTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using UltraMapper.Conventions;
using UltraMapper.Internals;
namespace UltraMapper.Tests
{
[TestClass]
public class MatchingRuleTests
{
public class TestClass
{
... | 2.489711 | a87ea9559c8958a626e059b6e70281e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812862 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "realmichaelseifi/EncompassApi",
"max_stars_repo_path": "src/EncompassApi/Services/Credit/CreditProduct.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132082"
} | starcoder | <reponame>realmichaelseifi/EncompassApi<filename>src/EncompassApi/Services/Credit/CreditProduct.cs
using EncompassApi.Extensions;
using Newtonsoft.Json;
namespace EncompassApi.Services.Credit
{
/// <summary>
/// CreditProduct
/// </summary>
public sealed class CreditProduct : ServiceProduct
{
... | 2.366208 | 2f36e811fb25d9f14b0e24821520257b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812863 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RethoughtSolutions/Battlerite.NET",
"max_stars_repo_path": "Battlerite.NET.Rest/DTOs/JsonAPI/Matches/MatchCollection/Data/Links/Schema.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132083"
} | starcoder | namespace Battlerite.NET.Rest.DTOs.JsonAPI.Matches.MatchCollection.Data.Links
{
public enum Schema
{
Empty
}
} | 1.12721 | e402bb1a70d756e7eae66e8a97701d2d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812864 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VanGog06/Picturinho",
"max_stars_repo_path": "Picturinho/Models/Reaction/TotalReactionsModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132084"
} | starcoder | <reponame>VanGog06/Picturinho
namespace Picturinho.Models.Reaction
{
public class TotalReactionsModel
{
public int Likes { get; set; }
public int Loves { get; set; }
}
} | 1.508019 | b1871afc31a19c53f6916d7b61b9baca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812865 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ChaseDRedmon/Accord",
"max_stars_repo_path": "src/Accord.Bot/Infrastructure/DiscordInteractionResponder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132085"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using Remora.Commands.Results;
using Remora.Commands.Services;
using Remora.Commands.Trees;
using Remora.Discord.API.Abstractions.Gateway.Events;
using Remora.Discord.API.Abstractions.Objects;
using Remora.Discord.API.Abstractions.Rest;
using Remora.Di... | 1.924215 | d2784de0af4607bfbd24e011a1d8ae75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812866 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "EltonCN/Space-Pioneers",
"max_stars_repo_path": "Space Pioneers/Assets/Scripts/Abilities/AbilityHolder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132086"
} | starcoder | using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.UI;
public class AbilityHolder : MonoBehaviour
{
public GameMode gameMode;
public GameModeState globalState;
public GameObject parentGameObject;
public Ability ability;
public Button buttonUI;
public AudioSource sfx;
float ... | 2.210052 | 40615e316e04c5d56f400d83cf445cd0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812867 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moljac/HolisticWare.Xamarin.Tools.Bindings.XamarinAndroid.FassBinderMeister",
"max_stars_repo_path": "source/HolisticWare.Xamarin.Tools.NuGet.Client.ServerAPI/Generated/Published.cs",
"provenance": "train-00027-of-00045.jsonl.gz:13208... | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace HolisticWare.Xamarin.Tools.NuGet.Client.ServerAPI.Generated
{
public class Published
{
[JsonProperty("@type")]
public string Type { get; set; }
}
... | 1.465764 | 12aad17395a1aaa17ae440a8b70361da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812868 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "samcragg/Crest",
"max_stars_repo_path": "src/Crest.Host/Routing/Captures/GuidCaptureNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132088"
} | starcoder | <filename>src/Crest.Host/Routing/Captures/GuidCaptureNode.cs<gh_stars>1-10
// Copyright (c) <NAME>.
//
// Licensed under the MIT license. See LICENSE file in the project root for
// full license information.
namespace Crest.Host.Routing.Captures
{
using System;
/// <summary>
/// Allows the capturing of g... | 2.836108 | f82f122af435d4a5262c19db9d49d1c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812869 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andy10james/Kana.Pipelines",
"max_stars_repo_path": "Kana.Pipelines/PipelineRun.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132089"
} | starcoder | <filename>Kana.Pipelines/PipelineRun.cs
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Kana.Pipelines
{
internal class PipelineRun<TState>
{
private readonly IMiddleware<TState>[] _steps;
private readonly TState _state;
private ... | 2.773819 | 5f167d6fdfddfa6bbb04cdc36253c108 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812870 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JTOne123/serilog-sinks-youtrack",
"max_stars_repo_path": "src/Serilog.Sinks.YouTrack/Sinks/YouTrack/Services/IYouTrackReporter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132090"
} | starcoder | <gh_stars>1-10
using System;
using System.Threading.Tasks;
namespace Serilog.Sinks.YouTrack.Services
{
/// <summary>
/// Create new issues in YouTrack
/// </summary>
public interface IYouTrackReporter
{
/// <summary>
/// Creates a new issues in YouTrack.
/// </summary>
... | 2.551448 | 5bad7d120823c42a688e39830c962f73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ognjengt/PUSGS2018-SOM",
"max_stars_repo_path": "initialApp-master/RentApp/Migrations/201806191743275_Reviews.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132091"
} | starcoder | <reponame>ognjengt/PUSGS2018-SOM
namespace RentApp.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Reviews : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Reviews",
c => new
... | 1.903799 | 150bb3b63851fb96f9c4ef621a476908 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812872 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "kaosborn/KaosCollections",
"max_stars_repo_path": "Bench/RdExample04/RdExample04.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132092"
} | starcoder | <filename>Bench/RdExample04/RdExample04.cs<gh_stars>1-10
using System;
using Kaos.Collections;
namespace ExampleApp
{
class RdExample04
{
static void Main()
{
var dary1 = new RankedDictionary<string,int> (StringComparer.InvariantCultureIgnoreCase);
dary1.Add ("AAA", 0);... | 3.274587 | 9a5dc4a5e4130798eb9a9818f7208649 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812873 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PaterMajkel/MrowkiKCK",
"max_stars_repo_path": "mrowki-main/InitialSettings.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132093"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace mrowki
{... | 2.63967 | 4912b487ffa389bbbd58d2ca9c738a08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812874 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "micampbell/TVGLSTEPImport",
"max_stars_repo_path": "TessellationAndVoxelizationGeometryLibrary/InputOutput Operations/PLYFileData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132094"
} | starcoder | <reponame>micampbell/TVGLSTEPImport
// ***********************************************************************
// Assembly : TessellationAndVoxelizationGeometryLibrary
// Author : Design Engineering Lab
// Created : 02-27-2015
//
// Last Modified By : <NAME>
// Last Modified On : 05-28-2016
... | 2.489469 | cb6c3d68762590cfff617cda617a9056 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812875 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "AvaloniaUtils/ShowMeTheXaml.Avalonia",
"max_stars_repo_path": "ShowMeTheXaml.Avalonia.Generator/Infrastructure/Data/XamlDisplayContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132095"
} | starcoder | using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace ShowMeTheXaml.Avalonia.Infrastructure.Data {
public class XamlDisplayContainer {
public XamlDisplayContainer(string namespaceAlias, IReadOnlyCollection<XamlDisplayInfo> xamlDisplayInfos) {
XamlDisplayInfos = xamlD... | 2.102533 | 1772e1c55cdd69aa3150e122cd62e244 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812876 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "MyPureCloud/platform-client-sdk-dotnet",
"max_stars_repo_path": "build/src/PureCloudPlatform.Client.V2/Model/Campaign.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132096"
} | starcoder | <reponame>MyPureCloud/platform-client-sdk-dotnet<filename>build/src/PureCloudPlatform.Client.V2/Model/Campaign.cs<gh_stars>10-100
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Se... | 1.969929 | 75722fa7477c37d22c25d1413e20809b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812877 | {
"extension": "c-sharp",
"max_stars_count": "5846.0",
"max_stars_repo_name": "legistek/AspNetCore",
"max_stars_repo_path": "src/Mvc/Mvc.TagHelpers/src/Cache/IDistributedCacheTagHelperStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132097"
} | starcoder | <filename>src/Mvc/Mvc.TagHelpers/src/Cache/IDistributedCacheTagHelperStorage.cs<gh_stars>1000+
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.Extensions... | 2.349175 | 67aaec2cb29b403d46ed2b2dc39f55cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812878 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SpringHgui/EasyToml",
"max_stars_repo_path": "src/EasyToml.AspNetCore.Extensions/TomlConfigurationProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132098"
} | starcoder | using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace EasyToml.AspNetCore.Extensions
{
public class TomlConfigurationProvider : FileConfigurationProvider
{
public TomlConfigurationProvider(TomlConfigurationSource source)... | 2.350559 | b5bc90625679523da51416cf40bd620f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812879 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nasi-be-guling/new_tools",
"max_stars_repo_path": "tools/tools.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132099"
} | starcoder | using System;
using System.Globalization;
namespace _tools
{
public class CTools
{
/// <summary>
///
/// </summary>
/// <param name="value"></param>
/// <returns></returns>
public string NullToString(object value)
{
// Value.ToString() allo... | 3.588053 | f6452a06df818b3c223727145408b803 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812880 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ericmustin/dotnet-docker",
"max_stars_repo_path": "tests/Microsoft.DotNet.Docker.Tests/ImageTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132100"
} | starcoder | <reponame>ericmustin/dotnet-docker
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using Xunit;
using Xunit.Abstrac... | 2.033348 | 2043d1f8cf99a1ded777b5daf3c6308b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812881 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "thinktecture/samples",
"max_stars_repo_path": "samples/aspnetcore/blazor/FlightFinder/FlightFinder.Shared/FlightSegment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132101"
} | starcoder | using System;
namespace FlightFinder.Shared
{
public class FlightSegment
{
public string Airline { get; set; }
public string FromAirportCode { get; set; }
public string ToAirportCode { get; set; }
public DateTime DepartureTime { get; set; }
public DateTime ArrivalTime {... | 1.904841 | fccbb481a08fdbedec5c1d1777546b82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lzocateli00/Lzfy.DevPack",
"max_stars_repo_path": "src/Nuuvify.CommonPack.StandardHttpClient/HttpRequestMessageExtensionMethod.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132102"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using Nuuvify.CommonPack.Extensions.Implementation;
namespace Nuuvify.CommonPack.StandardHttpClient
{
public static class HttpRequestMessageExtensio... | 2.703631 | 7aa3487a3d74ea409edb89627f31b237 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812883 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "antunesl/EFcoreConfigProvider",
"max_stars_repo_path": "src/EFCoreConfigProvider/EFCoreConfigProviderOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132103"
} | starcoder | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
namespace EFCoreConfigProvider
{
public class EFCoreConfigProviderOptions<T>
{
public Action<DbContextOptionsBuilder> DbContextSetup { get; set; }
public Func<T, IDictionary<string, string>> LoadValuesFromDbA... | 1.822449 | ebd76f4a5610df0cf99a74e699e279eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812884 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "entrotech/deployapp",
"max_stars_repo_path": "Sabio.Web/Models/Requests/JobPostingJobTagAddRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132104"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Sabio.Web.Models.Requests
{
public class JobPostingJobTagAddRequest
{
public int JobPostingId { get; set; }
public int JobTagId { get; set; }
}
} | 1.359354 | 857fb120c0ecabd148cd7e469a746df7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812885 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mattleibow/ANGLE-Minimal",
"max_stars_repo_path": "ManagedANGLE/SimpleRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132105"
} | starcoder | <filename>ManagedANGLE/SimpleRenderer.cs
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Text;
using GLenum = System.UInt32;
using GLshort = System.UInt16;
using GLint = System.Int32;
using GLuint = System.UInt32;
using GLsizei = System.Int32;
using GLfloat = System.Single;
... | 2.391374 | 84b02a83284e30529882e13385ebe4f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812886 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "michaelcfanning/binskim",
"max_stars_repo_path": "docs/RuleTestShells.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132106"
} | starcoder | <filename>docs/RuleTestShells.cs
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Microsoft.CodeAnalysis.IL.Sdk;
usin... | 1.857419 | f067babf0ff61fe01415f88d0815eb63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812887 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gsantopaolo/grpc-streaming",
"max_stars_repo_path": "Streaming/Client/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132107"
} | starcoder | using Grpc.Core;
using Grpc.Net.Client;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Client
{
class Program
{
#region some tests
// public static int Main()
//{
... | 2.596808 | b389717c33fa24616af82dd1592e7335 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812888 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AndMu/Wikiled.Text.Analysis",
"max_stars_repo_path": "src/Wikiled.Text.Analysis/Words/IWordTypeResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132108"
} | starcoder | namespace Wikiled.Text.Analysis.Words
{
public interface IWordTypeResolver
{
bool IsInvertor(string text);
bool IsStop(string text);
bool IsQuestion(string text);
bool IsVerb(string text);
bool IsAdverb(string text);
bool IsNoun(string text);
bool I... | 2.176281 | 9d24af95523ff0f98c51c17f67eb2bea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812889 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "GizmooGizmoo/Moduthulhu",
"max_stars_repo_path": "Plugins/Logger/LoggerPlugin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132109"
} | starcoder | using Discord;
using Discord.WebSocket;
using Lomztein.Moduthulhu.Core.Plugins.Framework;
using System;
using System.Threading.Tasks;
using Lomztein.Moduthulhu.Core.Extensions;
using System.Linq;
using Lomztein.AdvDiscordCommands.Extensions;
namespace Lomztein.Moduthulhu.Plugins.Standard
{
[Descriptor ("Lomztein"... | 2.297024 | 607f5c0f4c951123ce6efefc0d0222f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nkylstad/altinn-studio",
"max_stars_repo_path": "src/AltinnCore/Common/Factories/ModelFactory/SeresXsdParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132110"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using AltinnCore.Common.Services.Interfaces;
using AltinnCore.ServiceLibrary.Extensions;
using AltinnCore.ServiceLibrary.ServiceMetadata;
namespace AltinnCore.Common.Factories.ModelFactory
{
/// <summary>
/// Transforms ... | 2.31227 | 0c9d018748cef49d6c1acabffa785af6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812891 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "sairoopb/Discussion-Board",
"max_stars_repo_path": "Whiteboard/Server/Interfaces/IServerCheckPointHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132111"
} | starcoder | <reponame>sairoopb/Discussion-Board
/**
* Owned By: <NAME>
* Created By: <NAME>
* Date Created: 13/10/2021
* Date Modified: 13/10/2021
**/
using System;
using System.Collections.Generic;
namespace Whiteboard
{
/// <summary>
/// Interface to specify the functions handled by ServerCheckPointHandler
... | 2.161821 | 9ac690b8af5cdac25e5962d89f9a8920 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812892 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "octansIt/environmentassessment",
"max_stars_repo_path": "EnvironmentAssessment.Wizard/Common/VimApi/D/DVPortStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132112"
} | starcoder | namespace EnvironmentAssessment.Common.VimApi
{
public class DVPortStatus : DynamicData
{
protected bool _linkUp;
protected bool _blocked;
protected NumericRange[] _vlanIds;
protected bool? _trunkingMode;
protected int? _mtu;
protected string _linkPeer;
protected string _macAddress;
protected string _... | 1.399844 | b5e29ae8459377359f4c55cdfaa02379 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812893 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jaykay-design/Cleeng.Api",
"max_stars_repo_path": "src/Api/Models/Vod.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132113"
} | starcoder | namespace Cleeng.Api.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
public class Vod : BaseOfferData
{
[JsonProperty("id", NullValueHandling = NullValueHandling.Ignore)]
public string Id { get; set; }
[JsonProperty("publisherEmail", NullValueHandling = NullVal... | 1.506323 | d80b58f21571c77fb0489c66c7f23bed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812894 | {
"extension": "c-sharp",
"max_stars_count": "1169.0",
"max_stars_repo_name": "Gamercat01/SanAndreasUnity",
"max_stars_repo_path": "Assets/Scripts/GameModes/GameModeManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132114"
} | starcoder | <filename>Assets/Scripts/GameModes/GameModeManager.cs<gh_stars>1000+
using System;
using System.Collections.Generic;
using SanAndreasUnity.Net;
using UnityEngine;
namespace SanAndreasUnity.GameModes
{
public class GameModeManager : MonoBehaviour
{
public static GameModeManager Instance { get; private ... | 2.688379 | abbaac7bf9009fff7a6a4973456c1413 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812895 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "drinoff/C-Fundamentals",
"max_stars_repo_path": "finalExams/emojiDetector/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132115"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text.RegularExpressions;
namespace emojiDetector
{
class Program
{
static void Main(string[] args)
{
var text = Console.ReadLine();
var e... | 3.458823 | abf9fba11e325ce02e41ab3a3224e1c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812896 | {
"extension": "c-sharp",
"max_stars_count": "4222.0",
"max_stars_repo_name": "viktorshevchenko210/MassTransit",
"max_stars_repo_path": "src/Transports/MassTransit.RabbitMqTransport/Topology/Configuration/Specifications/ExchangeToQueueBindingPublishTopologySpecification.cs",
"provenance": "train-00027-of-0004... | starcoder | <reponame>viktorshevchenko210/MassTransit
namespace MassTransit.RabbitMqTransport.Topology.Specifications
{
using System.Collections.Generic;
using Builders;
using Configurators;
using GreenPipes;
/// <summary>
/// Used to declare an exchange and queue, and bind them together.
/// </summar... | 1.896562 | ef5cb89edb79230d357fc7001afb4a19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812897 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AndMu/Wikiled.Common.Utilities",
"max_stars_repo_path": "src/Wikiled.Common.Utilities/Serialization/IJsonStreamingWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132117"
} | starcoder | <reponame>AndMu/Wikiled.Common.Utilities
using System;
namespace Wikiled.Common.Utilities.Serialization
{
public interface IJsonStreamingWriter
: IDisposable
{
void WriteObject<T>(T instance);
}
} | 1.806249 | f5adb0303f087fa861dbe92d8c7e0ada |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812898 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "KoutaFurusawa/OracleCloudObjectStorageExplorer",
"max_stars_repo_path": "OCISDK/OCISDK/ObjectStorage/Response/HeadBucketResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132118"
} | starcoder | <filename>OCISDK/OCISDK/ObjectStorage/Response/HeadBucketResponse.cs
namespace OCISDK.ObjectStorage.Response
{
/// <summary>
/// HeadBucket Response
/// </summary>
public class HeadBucketResponse
{
/// <summary>
/// Echoes back the value passed in the opc-client-request-id header, f... | 2.018146 | 6495921702a2a0f52e98f96b03764b0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812899 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "JeremyThycotic/rabbitmq-helper",
"max_stars_repo_path": "src/Thycotic.RabbitMq.Helper.PSCommands/Management/AssertRabbitMqConnectivityCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132119"
} | starcoder | <reponame>JeremyThycotic/rabbitmq-helper
using System;
using System.Management.Automation;
using System.Security.Authentication;
using RabbitMQ.Client;
using Thycotic.RabbitMq.Helper.Logic;
namespace Thycotic.RabbitMq.Helper.PSCommands.Management
{
/// <summary>
/// Validates connectivity to RabbitMq
... | 2.478146 | 4408fc0cc325c94adb36467ac78056b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812900 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MarkoMajamaki/XamKit",
"max_stars_repo_path": "XamKit.Shared/Components/MenuItemsView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132120"
} | starcoder | <filename>XamKit.Shared/Components/MenuItemsView.cs
using System;
using System.Threading.Tasks;
// Xamarin
using Xamarin.Forms;
namespace XamKit
{
/// <summary>
/// ItemsView for Menu component
/// </summary>
public class MenuItemsView : ItemsView
{
/// <summary>
/// Event when any menubutton su... | 2.592245 | 95a1b2f07cb1d1b5c89cf38e56e5d78f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812901 | {
"extension": "c-sharp",
"max_stars_count": "793.0",
"max_stars_repo_name": "akrisiun/Mvc5",
"max_stars_repo_path": "test/System.Net.Http.Formatting.Test/Mocks/MockContentNegotiator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132121"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Net.Http.Headers;
using System.Text;
namespace System.Net.Http.Fo... | 1.932621 | 6a82bb862f631d989243238822428a5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812902 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "9carlo6/Strohhut451",
"max_stars_repo_path": "MontagsGame/Assets/Script/Items/TelescopePickup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132122"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using HumanFeatures;
public class TelescopePickup : MonoBehaviour
{
//Per gestire il testo
public RadioController radioController;
[HideInInspector] public GameObject levelController;
[HideInInspector] public LevelControll... | 2.214876 | 35c12493218e747da2f4f315b28748a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812903 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yuriusV/BoardGamesOnline",
"max_stars_repo_path": "Source/BoardGameOnline/Game/Interfaces/IRemoteSetupView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132123"
} | starcoder | <reponame>yuriusV/BoardGamesOnline
using Game.Model.User;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Game.Interfaces
{
public interface IRemoteSetupView
{
Action<string> StartGame { get; set; }
Action Cancel { g... | 1.251025 | d0db61e0492d91f00bdd1ae9871091ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812904 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "focus-creative-games/behavior_tree",
"max_stars_repo_path": "Bright.BehaviorTreeUnitTest/Basics/Test_Decorator_Selector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132124"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Pefect.BehaviorTreeUnitTest.Decorators;
using Pefect.BehaviorTreeUnitTest.Tasks;
using Bright.BehaviorTre... | 1.817715 | bce28a66a580bc635f67168260d458df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812905 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "stimms/DurableFunctionsAnalyzer",
"max_stars_repo_path": "DurableFunctionsAnalyzer/DurableFunctionsAnalyzer/Analyzers/NameAnalyzer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132125"
} | starcoder | <gh_stars>10-100
using DurableFunctionsAnalyzer.Extensions;
using DurableFunctionsAnalyzer.Models;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using System;
using System.Collections.Generic;
using System.Linq;
namespace DurableFunctionsAnalyzer.Analyzers
{
class NameAnalyzer : IFunctio... | 2.451818 | dc52a8085249bbb8f213d9b7e5f398b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812906 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "dimitarminchev/ITCareer",
"max_stars_repo_path": "02. Programming/2019/2019.03.10/10_Rainer/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132126"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _10_Rainer
{
class Program
{
static void Main(string[] args)
{
var input = Console.ReadLine().Split().Select(int.Parse).ToList();
input.RemoveAt... | 3.10744 | 341e2167b4b707c2bcb6bb91afcbd8d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812907 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "nesrak1/xenko",
"max_stars_repo_path": "sources/core/Xenko.Core.AssemblyProcessor/AssemblyVersionProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132127"
} | starcoder | // Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Mo... | 2.116857 | 990aaac9e859b7b3012e9f1b87eca441 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812908 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johnkellyoxford/terrafx",
"max_stars_repo_path": "sources/Provider/X11/UI/DispatchProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132128"
} | starcoder | <filename>sources/Provider/X11/UI/DispatchProvider.cs
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
using System;
using System.Collections.Concurrent;
using System.Composition;
using System.Runtime.InteropServices;
using System.Thr... | 2.176486 | 5616b6334ff67734c15c6ebbf45d3f42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812909 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Cybrotrix/Serenity",
"max_stars_repo_path": "Serenity.Data/Mapping/TwoLevelCachedAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132129"
} | starcoder | using System;
namespace Serenity.Data
{
/// <summary>
/// This attribute marks a row so that when it is Inserted/Updated/Deleted
/// through repository, its related cache, if any should be cleared.
/// It doesn't turn on/off caching. A sample of related cached item to a row, might
/// be ... | 2.89808 | f6880c9910a1c955accdfd4784debb58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812910 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "0phois/Ragnarok",
"max_stars_repo_path": "src/Ragnarok.AgentApi/Enums/NgrokLoggerLogLevel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132130"
} | starcoder | <gh_stars>1-10
using System.Text.Json.Serialization;
namespace Ragnarok.AgentApi
{
/// <summary>
/// ngrok client log output
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum NgrokLoggerLogLevel
{
/// <summary>
/// Log level not set
/// </summa... | 2.030571 | ba14c4ff2252a127ba375201d3c50572 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812911 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Azure/Sia-Gateway",
"max_stars_repo_path": "test/Sia.Gateway.Tests/TestDoubles/StubResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132131"
} | starcoder | using Sia.Core.Protocol;
using System.Net;
namespace Sia.Gateway.Tests.TestDoubles
{
public class StubResponse<T>
: IResponse<T>
{
public HttpStatusCode StatusCode { get; set; }
public bool IsSuccessStatusCode { get; set; }
public string Content { get; set; }
public ... | 1.717471 | 5cc9d936a13ebef3e98d77513b739bbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812912 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dagood/devops-util",
"max_stars_repo_path": "DevOps.Util.DotNet/DotNetTestRun.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132132"
} | starcoder | <reponame>dagood/devops-util<filename>DevOps.Util.DotNet/DotNetTestRun.cs
using DevOps.Util;
using System.Diagnostics;
using System.Collections.ObjectModel;
namespace DevOps.Util.DotNet
{
public readonly struct TestRunInfo
{
public Build Build { get; }
public TestRun TestRun { get; }
i... | 2.147611 | 758ec526e57252cf7ccd94cd63c92b9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812913 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "MSDN-WhiteKnight/CilBytecodeParser",
"max_stars_repo_path": "tests/CilTools.BytecodeAnalysis.Tests/Syntax/SyntaxFactoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132133"
} | starcoder | <filename>tests/CilTools.BytecodeAnalysis.Tests/Syntax/SyntaxFactoryTests.cs
/* CIL Tools
* Copyright (c) 2022, MSDN.WhiteKnight (https://github.com/MSDN-WhiteKnight)
* License: BSD 2.0 */
using System;
using System.Collections.Generic;
using System.Text;
using CilTools.Syntax;
using Microsoft.VisualStudio.TestToo... | 2.670928 | 5c62d77697b1c2063a6957f98ec7a370 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812914 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rizwanqureshi/EFExtensions",
"max_stars_repo_path": "EFExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132134"
} | starcoder | <filename>EFExtensions.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
using System.IO;
using System.Xml.Serialization;
using System.Collections.Generic;
using System.Data.Entity;
using System.D... | 2.452616 | 3c7eeda76de2b480a7c095dff52c1416 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812915 | {
"extension": "c-sharp",
"max_stars_count": "83.0",
"max_stars_repo_name": "gentry-swanri/MasterThesis-Digipet",
"max_stars_repo_path": "Digipet/Assets/CymaticLabs/Amqp/Editor/AmqpConfigurationEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132135"
} | starcoder | using System;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using CymaticLabs.Unity3D.Amqp.SimpleJSON;
namespace CymaticLabs.Unity3D.Amqp
{
/// <summary>
/// Edits the AMQP connection list.
/// </summary>
public cl... | 2.415607 | 197d592d84db2e38625c51ee810536ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812916 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "OndrejNepozitek/Roguelike-Entitas",
"max_stars_repo_path": "Assets/Sources/Helpers/Map/MapTile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132136"
} | starcoder | <filename>Assets/Sources/Helpers/Map/MapTile.cs
namespace Assets.Sources.Helpers.Map
{
}
| 1.006709 | 339dfdff00aeac0d5d564ea467717262 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812917 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adimosh/IX.StandardExtensions",
"max_stars_repo_path": "src/IX.StandardExtensions/StandardExtensions/Efficiency/InDelegates.WithParameters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132137"
} | starcoder | // <copyright file="InDelegates.WithParameters.cs" company="<NAME>">
// Copyright (c) <NAME> with all rights reserved. Part of the IX Framework.
// </copyright>
using JetBrains.Annotations;
namespace IX.StandardExtensions.Efficiency
{
/// <summary>
/// A generic delegate for a method whose parameters are ... | 2.663144 | 5141ee8e761ae88969c2f07a339cf6a1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.