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 | 8810318 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dragomirtitian/Simplexcel",
"max_stars_repo_path": "src/Simplexcel/XlsxInternal/XlsxWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129538"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Linq;
namespace Simplexcel.XlsxInternal
{
internal static class XlsxWriter
{
/// <summary>
/// Save a workbook to a MemoryStream
/// </summary>
/// <exception cref="InvalidOpera... | 2.709541 | f85b3277778d032e6436e43f300d0bde |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810319 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "CAMongrel/AlkaronEngine",
"max_stars_repo_path": "AlkaronEngine/Actors/SkeletalMeshActor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129539"
} | starcoder | using System;
using AlkaronEngine.Components;
using Microsoft.Xna.Framework;
namespace AlkaronEngine.Actors
{
public class SkeletalMeshActor : BaseActor
{
public SkeletalMeshComponent SkeletalMeshComponent { get; private set; }
public SkeletalMeshActor()
{
Skel... | 2.181658 | 21a02fb727fc11cf3cfa415030a1b112 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810320 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "fos83/MuEmu",
"max_stars_repo_path": "MuEmu/Gens.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129540"
} | starcoder | <reponame>fos83/MuEmu
using MU.DataBase;
using MU.Resources;
using MuEmu.Entity;
using MU.Network.Game;
using System.Linq;
using System;
using System.Collections.Generic;
using System.Text;
using MU.Network.GensSystem;
namespace MuEmu
{
public class Gens
{
private static Dictionary<GensType, int> _con... | 2.240243 | 82111e36809b8a1f9d3dd7a6e9de928a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810321 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vova-lantsov-dev/Telegram.Bot.Net5",
"max_stars_repo_path": "src/Telegram.Bot.Requests/Available Methods/Admin Bot/PinChatMessageRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129541"
} | starcoder | <reponame>vova-lantsov-dev/Telegram.Bot.Net5
using Telegram.Bot.Requests.Abstractions;
using Telegram.Bot.Types;
// ReSharper disable once CheckNamespace
namespace Telegram.Bot.Requests
{
/// <summary>
/// Pin a message in a supergroup or a channel. The bot must be an administrator in the chat for this to wor... | 2.071968 | 9c919a9862655a0bed2819b13784396a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810322 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "frostieDE/easy-deploy",
"max_stars_repo_path": "EasyDeploy.Core/Logger/NullLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129542"
} | starcoder | using System;
namespace EasyDeploy.Core.Logger
{
public class NullLogger : ILogger
{
public void Exception(Exception exception) { }
public void Log(string message) { }
}
}
| 1.901264 | 20b1688a93099c8eaa0911e2ba249574 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810323 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "nano-byte/sat-solver",
"max_stars_repo_path": "src/UnitTests/ClausesFacts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129543"
} | starcoder | // Copyright <NAME>
// Licensed under the MIT License
using FluentAssertions;
using Xunit;
namespace NanoByte.SatSolver
{
public class ClausesFacts
{
[Fact]
public void AtMostOne()
{
Literal<string> a = "a", b = "b", c = "c";
Clauses.AtMostOne(a,... | 2.581314 | ee69a985f06d3fe0831aba1995231c2d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810324 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PhilipGroenbech/umbraco-cms-gittest",
"max_stars_repo_path": "src/Umbraco.Core/Udi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129544"
} | starcoder | <reponame>PhilipGroenbech/umbraco-cms-gittest<gh_stars>1-10
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using Umbraco.Core.Deploy;
namespace Umbraco.Core
{
/// <summary>
/// Represents an entity i... | 2.638657 | 39813ef511511c8339a231a306a9f34f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810325 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "VladimirASt/Telebot",
"max_stars_repo_path": "src/Telebot/Telebot.message-edit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129545"
} | starcoder | namespace Taikandi.Telebot
{
using System.Threading;
using System.Threading.Tasks;
using JetBrains.Annotations;
using Taikandi.Telebot.Types;
public partial class Telebot
{
#region Public Methods and Operators
/// <summary>
/// Edits captions of the message with ... | 2.775209 | 633e5d1a3318b88cf05b9cd0019c41cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810326 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KataNation/FizzBuzz-ChainOfStrategies-20180220",
"max_stars_repo_path": "FizzBuzz_ChainOfStrategies/Strategies/BuzzStrategy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129546"
} | starcoder | using FizzBuzz_ChainOfStrategies.Extensions;
namespace FizzBuzz_ChainOfStrategies.Strategies
{
public class BuzzStrategy : IIntegerToStringStrategy
{
private readonly int _value;
private readonly IIntegerToStringStrategy _nextStrategy;
public BuzzStrategy(int value) : this(va... | 3.465062 | 775479b01c62c44ddc93c625e1034b1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810327 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "FRACerqueira/PromptPlus",
"max_stars_repo_path": "PromptPlus.CommandDotNet/IControlWizard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129547"
} | starcoder | <filename>PromptPlus.CommandDotNet/IControlWizard.cs
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ******************************************************************... | 1.367354 | 2b3da70f4a948194e45b57bd9ef14cb0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810328 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PetrovBogdan/ASP.NET-Core-Movie-Info-System",
"max_stars_repo_path": "MovieInfoSystem.Test/Services/AuthorServiceTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129548"
} | starcoder | namespace MovieInfoSystem.Test.Services
{
using Xunit;
using MovieInfoSystem.Test.Mocks;
using MovieInfoSystem.Data.Models;
using MovieInfoSystem.Services.Authors;
public class AuthorServiceTest
{
[Fact]
public void IsAuthorShoudReturnTrueWhenTheGivenIdExists()
{
... | 2.590934 | fc7a197817b3c298e71fd9a9481b97f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810329 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OmerMughal31/VRBowandArrow-Unity",
"max_stars_repo_path": "Assets/_BowAndArrow/Scripts/Notch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129549"
} | starcoder | using UnityEngine;
using UnityEngine.XR.Interaction.Toolkit;
public class Notch : XRSocketInteractor
{
private Puller puller = null;
private Arrow currentArrow = null;
protected override void Awake()
{
base.Awake();
puller = GetComponent<Puller>();
}
protected override void On... | 2.117397 | 83efe59ccb116e4971a170bcc85929af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810330 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "antoniodlp/squidex",
"max_stars_repo_path": "backend/src/Squidex.Domain.Apps.Entities/Contents/GraphQL/Types/ContentDataFlatGraphType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129550"
} | starcoder | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | 2.030255 | 75058c047c0ecc6b7fa30f4e4423aaca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810331 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "beetlex-io/BeetleX.EFCore.Extension",
"max_stars_repo_path": "BeetleX.EFCore.Extension/NorthwindEFCore/Shipper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129551"
} | starcoder | <filename>BeetleX.EFCore.Extension/NorthwindEFCore/Shipper.cs
namespace NorthwindEFCoreSqlite
{
public partial class Shipper
{
public long ShipperId { get; set; }
public string CompanyName { get; set; }
public string Phone { get; set; }
}
}
| 1.691025 | d4d52e653695d8d5f6a7a7db610460ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810332 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JKAnderson/DSMapStudio",
"max_stars_repo_path": "StudioCore/Scene/InstanceData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129552"
} | starcoder | <reponame>JKAnderson/DSMapStudio
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Numerics;
namespace StudioCore.Scene
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct InstanceData
{
public Matrix4x4 WorldMatrix;
... | 1.653952 | 10c8c04e505265c30a902aaf6f1834ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810333 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cschen1205/myob-accounting-plugin",
"max_stars_repo_path": "Accounting.Db.Myob/DbReferralSourceManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129553"
} | starcoder | <filename>Accounting.Db.Myob/DbReferralSourceManager.cs
using System;
using System.Collections.Generic;
using System.Text;
using Accounting.Core.Sales;
using Accounting.Db;
namespace Accounting.Db.Myob
{
public class DbReferralSourceManager : ReferralSourceManager
{
public DbReferralSourceManager(DbMan... | 1.405917 | d1f17ecd85a566a98cad7a870587da8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810334 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "karamem0/sp-client-core",
"max_stars_repo_path": "source/Karamem0.SPClientCore/Models/V1/ColumnLookup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129554"
} | starcoder | //
// Copyright (c) 2022 karamem0
//
// This software is released under the MIT License.
//
// https://github.com/karamem0/sp-client-core/blob/main/LICENSE
//
using Karamem0.SharePoint.PowerShell.Runtime.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
usin... | 1.516926 | 325def5811602dfa8797f13261a242ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810335 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mhoyer/sharptm",
"max_stars_repo_path": "source/SharpTM/test/SharpTM.Persistence.Tests/FromDTO/TopicFromDTOTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129555"
} | starcoder | <filename>source/SharpTM/test/SharpTM.Persistence.Tests/FromDTO/TopicFromDTOTests.cs
// <copyright file="TopicFromDTOTests.cs" company="Pixelplastic">
// Copyright (C) <NAME> 2009. All rights reserved.
// </copyright>
// <author><NAME></author>
// <email>mhoyer AT pixelplastic DOT de</email>
using Pixelplastic.Top... | 1.970179 | 7775e5a6d6ec353138dc8ad26163c015 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810336 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "mrward/monodevelop-template-creator-addin",
"max_stars_repo_path": "src/MonoDevelop.TemplateCreator/MonoDevelop.Templating/CustomSolutionTemplate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129556"
} | starcoder | //
// CustomSolutionTemplate.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2017 Xamarin Inc. (http://xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software witho... | 1.94148 | 7c8e1e36465e49042c53fcd7129539d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810337 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ansel86castro/Igneel",
"max_stars_repo_path": "Engine/Igneel.Shared/IScalable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129557"
} | starcoder | <reponame>ansel86castro/Igneel
namespace Igneel
{
public interface IScalable
{
Vector3 LocalScale { get; set; }
}
} | 1.401347 | 337facc262c5522e2b076058880e0264 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810338 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mmrath/Highlander.Net",
"max_stars_repo_path": "Metadata/FpML.V5r10/FpML.V5r10.Confirmation.Extensions/Helpers/BasicAssetValuationHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129558"
} | starcoder | <reponame>mmrath/Highlander.Net
using System;
using System.Collections.Generic;
using System.Linq;
using Orion.Util.Serialisation;
namespace nab.QDS.FpML.V47
{
public static class BasicAssetValuationHelper
{
public static BasicAssetValuation Create(params BasicQuotation[] basicQuotations)
{
... | 2.528541 | 4cc6ff8a84433f7d07e650d1457dc12b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810339 | {
"extension": "c-sharp",
"max_stars_count": "555.0",
"max_stars_repo_name": "kumajaya/scada",
"max_stars_repo_path": "ScadaData/ScadaData/Data/Configuration/ConfDAO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129559"
} | starcoder | /*
* Copyright 2017 <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 by applicable law or agreed to i... | 2.442761 | 2b42bb9d8de074b8f4646a499853abb3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810340 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Osama-Tahboub1/N3O.Umbraco",
"max_stars_repo_path": "src/Newsletters/N3O.Umbraco.Newsletters/Models/SubscribeResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129560"
} | starcoder | using Newtonsoft.Json;
namespace N3O.Umbraco.Newsletters.Models {
public class SubscribeResult : Value {
[JsonConstructor]
public SubscribeResult(bool subscribed, string errorMessage, string errorDetails) {
Subscribed = subscribed;
ErrorMessage = errorMessage;
Er... | 2.487045 | 9f0911e44386e6e138727b5a05dc3e46 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810341 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "sportradar/UnifiedOddsSdkNet",
"max_stars_repo_path": "src/Sportradar.OddsFeed.SDK.Entities.REST/Internal/DTO/Lottery/DrawDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129561"
} | starcoder | /*
* Copyright (C) Sportradar AG. See LICENSE for full license governing this code
*/
using System;
using System.Collections.Generic;
using Dawn;
using System.Linq;
using Sportradar.OddsFeed.SDK.Entities.REST.Enums;
using Sportradar.OddsFeed.SDK.Messages.REST;
namespace Sportradar.OddsFeed.SDK.Entities.REST.Internal.... | 2.308563 | 6e68b0283ae2767f4b7afb3375c07c56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810342 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "joecare99/Public",
"max_stars_repo_path": "Data/CShSrc/Hello_world.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129562"
} | starcoder | public class Hello
{
public static void helloworld()
{
System.Diagnostics.Debug.WriteLine("Hello World!");
}
} | 1.992582 | 2683f95200510e8ba0d7dd3619924f7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810343 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "DucThanhNguyen/MaterialCMS",
"max_stars_repo_path": "MaterialCMS.Web/Areas/Admin/Services/SEOAnalysis/PageNameIsUnique.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129563"
} | starcoder | using System.Collections.Generic;
using HtmlAgilityPack;
using MaterialCMS.Entities.Documents.Web;
using MaterialCMS.Helpers;
using MaterialCMS.Web.Areas.Admin.Controllers;
using MaterialCMS.Web.Areas.Admin.Models.SEOAnalysis;
using NHibernate;
namespace MaterialCMS.Web.Areas.Admin.Services.SEOAnalysis
{
public c... | 2.128242 | 2a6c6b75982c61e0377cfe86472078e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810344 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "axionbio/SpiceSharpParser",
"max_stars_repo_path": "src/SpiceSharpParser/ModelReaders/Netlist/Spice/Readers/EntityGenerators/Components/Sources/ArbitraryBehavioralGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129564"
} | starcoder | using SpiceSharp.Components;
using SpiceSharpParser.ModelReaders.Netlist.Spice.Context;
using SpiceSharpParser.Models.Netlist.Spice.Objects;
using SpiceSharpParser.Models.Netlist.Spice.Objects.Parameters;
using System.Linq;
namespace SpiceSharpParser.ModelReaders.Netlist.Spice.Readers.EntityGenerators.Component... | 2.231468 | 627bce04be8de85108fec10ac7876c8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810345 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "JonesyJava/dungeon-of-doom",
"max_stars_repo_path": "BCW.ConsoleGame/BCW.ConsoleGame.JsonData/Provider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129565"
} | starcoder | using BCW.ConsoleGame.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BCW.ConsoleGame.Models.Scenes;
using System.IO;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
using BCW.ConsoleGame.Models;
using BCW.ConsoleGame.Models.Commands;
u... | 2.406352 | fd45d9b99324dc6c36558e3b4aa6e11e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810346 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "edwardmeng/Wheatech.ServiceModel",
"max_stars_repo_path": "src/StructureMap/ServiceBridge.StructureMap/InjectionConstructorSelector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129566"
} | starcoder | using System;
using System.Linq;
using System.Reflection;
using StructureMap.Graph;
using StructureMap.Pipeline;
namespace ServiceBridge.StructureMap
{
internal class InjectionConstructorSelector : IConstructorSelector
{
public ConstructorInfo Find(Type pluggedType, DependencyCollection depe... | 1.999201 | a094facdbc2dc1c2d1781c7a49bb4ce7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810347 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AntoniyaIvanova/SoftUni",
"max_stars_repo_path": "C#/C# Fundamentals/12. TEXT PROCESSING/LAB/Text Processing/01. Reverse Strings/StartUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129567"
} | starcoder | <gh_stars>0
namespace _01._Reverse_Strings
{
using System;
public class StartUp
{
public static void Main()
{
while (true)
{
string input = Console.ReadLine();
if(input == "end")
{
break;
... | 3.32532 | e058e35cd43f74a455d669b43801dd88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810348 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "78356052/Dapper",
"max_stars_repo_path": "Dapper.Tests/Providers/Linq2SqlTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129568"
} | starcoder | <filename>Dapper.Tests/Providers/Linq2SqlTests.cs
#if LINQ2SQL
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Dapper.Tests
{
public class Linq2SqlTests : TestBase
{
[Fact]
public void TestL... | 2.593677 | 13ba7ad0200662e04fe5ad032c70cce3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810349 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LTGKeithYang/CaliburnFrameworkStudy",
"max_stars_repo_path": "src/Caliburn.Micro/CallerMemberName.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129569"
} | starcoder | namespace System.Runtime.CompilerServices
{
/// <summary>
/// Allows you to obtain the method or property name of the caller.
/// </summary>
[AttributeUsageAttribute(AttributeTargets.Parameter, Inherited = false)]
internal sealed class CallerMemberNameAttribute : Attribute { }
} | 2.540835 | a8fec33b308c44df045c02e26623bd06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shavlegkakulia/unicard_update_version",
"max_stars_repo_path": "Kuni.Core/Models/BusinessModels/ProductCategoryModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129570"
} | starcoder | <reponame>shavlegkakulia/unicard_update_version
using System;
using System.Collections.Generic;
namespace Kuni.Core.Models
{
public class ProductCategoryModel
{
public List<CategoryModel> Categories{ get; set; }
}
}
| 1.362391 | af7c96c33b6ee29c9861b0eaf2188324 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810351 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vinschers/manga-reader",
"max_stars_repo_path": "Manga-Reader/Manga-Reader/PageWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129571"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Manga_Reader
{
public class PageWrapper
{
protected string path;
... | 2.798132 | 8869a1b081598c55b4614d7fd491394d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810352 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jovan-rankovic/WebNews",
"max_stars_repo_path": "EfCommands/Comment/EfGetCommentsCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129572"
} | starcoder | <reponame>jovan-rankovic/WebNews
using Application.Commands.Comment;
using Application.DataTransfer;
using Application.Responses;
using Application.Searches;
using EfDataAccess;
using System.Linq;
namespace EfCommands.Comment
{
public class EfGetCommentsCommand : BaseEfCommand, IGetCommentsCommand
{
p... | 2.521958 | 6cfdb5d1cb08ba708c1a14790d2178f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810353 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "717009629/EducationAdmin",
"max_stars_repo_path": "aspnet-core/src/EducationAdmin.Application/TimePeriods/Dto/CreateTimePeriodDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129573"
} | starcoder | using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using EducationAdmin.Settings;
using System;
using System.Collections.Generic;
using System.Text;
namespace EducationAdmin.TimePeriods.Dto
{
[AutoMapTo(typeof(TimePeriod))]
public class CreateTimePeriodDto
{
public TimeSpan Start { get; set... | 1.616436 | 1716ff4f0c4e02d7c6bb4cefdec1060c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810354 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Creta5164/RPGMakerMV-n-MZ-AndroidDevKit",
"max_stars_repo_path": "ApplicationPackager/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129574"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Security.Cryptography;
using System.Threading.Tasks;
using System.Threading;
using System.Text;
namespace ApplicationPackager
{
enum LogLevel {
Info,
Warn,
Error
}
//dotnet build c... | 2.495678 | e7626a36f4dbbdc0eb7c8b1b969dbcf9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810355 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jannesen/TypedTSql",
"max_stars_repo_path": "Jannesen.Language.TypedTSql/DataModel/DocumentSpan.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129575"
} | starcoder | using System;
using System.Text;
namespace Jannesen.Language.TypedTSql.DataModel
{
public class DocumentSpan
{
public string Filename { get; protected set; }
public Library.FilePosition Beginning { get; protecte... | 2.523721 | bb67a22187c8b7375ac7c91849993c4e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810356 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "raykonopka/pizza-store-mvc",
"max_stars_repo_path": "PizzaStoreUI/PizzaStoreUI.MVC/DTOModels/ToppingCategoryDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129576"
} | starcoder | using System.Runtime.Serialization;
namespace PizzaStoreUI.MVC.DTOModels
{
public class ToppingCategory
{
public int Id { get; set; }
public string Name { get; set; }
}
} | 1.683097 | 54302f002f42abf85157abd7fdda8d7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810357 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yanchillosthegreat/PowerNowAdmin",
"max_stars_repo_path": "PowerBankAdmin/Data/Repository/AppRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129577"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore;
using PowerBankAdmin.Models;
namespace PowerBankAdmin.Data.Repository
{
public class AppRepository : DbContext
{
public DbSet<UserModel> Users { get; set; }
public DbSet<AuthorizationModel> Authorizations { get; set; }
public DbSet<Cos... | 2.123447 | b686335c2854beff9ebd98df1449bd40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810358 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TanHaoran/NurseService1.0",
"max_stars_repo_path": "Persistence/DepartmentSqlMapDao.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129578"
} | starcoder | <gh_stars>0
/***************************************************************************
*
* 功能: 持久层基类
* 作者: YanMing
* 日期: 2017/7/29 19:17:38
*
* 修改日期:
* 修改人:
* 修改内容:
*
* *************************************************************************/
using Syste... | 2.208773 | bc094f78329678b29e40b66d27a0edef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810359 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stevemuller04/restapitester",
"max_stars_repo_path": "ViewModels/RequestViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129579"
} | starcoder | <reponame>stevemuller04/restapitester
/*
Copyright © 2015 <NAME> <<EMAIL>>
This file is subject to the license terms in the LICENSE file found in the top-level directory of
this distribution and at http://github.com/stevemuller04/restapitester/blob/master/LICENSE
*/
using System;
using System.Collections.Gener... | 2.433148 | 2e830ce4edbfad4212ae3acd6297c902 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810360 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Flexberry/NewPlatform.Flexberry.ORM.ODataService",
"max_stars_repo_path": "Tests/NewPlatform.Flexberry.ORM.ODataService.Tests/Events/AfterGetTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129580"
} | starcoder | <reponame>Flexberry/NewPlatform.Flexberry.ORM.ODataService
namespace NewPlatform.Flexberry.ORM.ODataService.Tests.Events
{
using System.Net;
using System.Net.Http;
using ICSSoft.STORMNET;
using Xunit;
/// <summary>
/// Класс тестов для тестирования логики после операции считывания данных ODa... | 2.386872 | d178ebb45457bc6d9e4ac8d046c4bafb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810361 | {
"extension": "c-sharp",
"max_stars_count": "3721.0",
"max_stars_repo_name": "vishwamyth/machinelearning-samples",
"max_stars_repo_path": "samples/csharp/end-to-end-apps/Forecasting-Sales/scripts/Scripts.Cli/CatalogContextDesignTimeFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129581"
} | starcoder | <gh_stars>1000+
using eShopDashboard.Infrastructure.Data.Catalog;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
namespace Scripts.Cli
{
public class CatalogContextDesignTimeFactory : IDesignTimeDbContextFactory<CatalogContext>
{
public CatalogContext CreateDbContext(... | 1.700087 | 5534078306f3d550a71d8b2d44eef789 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810362 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Microshaoft/Microshaoft.WorkFlows",
"max_stars_repo_path": "CommonUtilities.Shared/Microsoft.Diagnostics.Tracing.Logging/MockETWProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129582"
} | starcoder | <reponame>Microshaoft/Microshaoft.WorkFlows
// The MIT License (MIT)
//
// Copyright (c) 2015 Microsoft
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including... | 2.079638 | 7a1bb841957c1ee596fa133301ef534e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810363 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Wagnerp/RefactoringEssentials",
"max_stars_repo_path": "RefactoringEssentials/CSharp/Diagnostics/Custom/RedundantPrivateAnalyzer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129583"
} | starcoder | <gh_stars>1-10
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
namespace RefactoringEssentials.CSharp.Diagnostics
{
[DiagnosticAnalyzer(LanguageNames.CShar... | 2.478906 | a9084892a1afc8b9bb116187c80a355c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AscenKeeprov/Databases-Advanced",
"max_stars_repo_path": "Exercise9-ArchitectureBestPractices/PhotoShare.Client/Core/Validation/TagAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129584"
} | starcoder | namespace PhotoShare.Client.Core.Validation
{
using System;
using System.ComponentModel.DataAnnotations;
using System.Text.RegularExpressions;
[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
internal class TagAttribute : ValidationAttribute
{
private const string TagPattern ... | 2.728044 | f64e3550c502da7dd1a79d06d26c0dc7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810365 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "bencgreen/jeebs",
"max_stars_repo_path": "src/Jeebs.Data/TypeHandlers/MimeTypeTypeHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129585"
} | starcoder | // Jeebs Rapid Application Development
// Copyright (c) bfren.uk - licensed under https://mit.bfren.uk/2013
namespace Jeebs.Data.TypeHandlers
{
/// <summary>
/// MimeType TypeHandler
/// </summary>
public sealed class MimeTypeTypeHandler : EnumeratedTypeHandler<MimeType>
{
/// <summary>
/// Parse the MimeTyp... | 2.319972 | ff7125b755ba2e9497e1f19602be8bdc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810366 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kant/BuildXL",
"max_stars_repo_path": "Public/Src/Cache/MemoizationStore/Test/Sessions/SQLiteMemoizationSessionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129586"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflo... | 1.579718 | 9fbe9f68ca4b59e0dbb44b580d1aa8f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CBornholdt/JecsTools",
"max_stars_repo_path": "Source/AllModdingComponents/CompAbilityUser/Projectile_AbilityBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129587"
} | starcoder | using System;
using System.Collections.Generic;
using RimWorld;
using UnityEngine;
using Verse;
using Verse.AI.Group;
using Verse.Sound;
namespace AbilityUser
{
public class Projectile_AbilityBase : Projectile
{
public List<ExtraDamage> extraDamages;
public AbilityDef localAbilityDef;
... | 1.892595 | 316a105992f816fbfef7412528b711b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810368 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PerditionC/TEMS-Inv",
"max_stars_repo_path": "BarcodeLib/Labels.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129588"
} | starcoder | // This is an independent project of an individual developer. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Text;
namespace BarcodeLib
{
static class Labels
... | 2.918388 | 8c1fd826c52200be2f632c0aac1c7323 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810369 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "fossabot/XNews-backend",
"max_stars_repo_path": "Application/Common/Extensions/QueryableMapperExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129589"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper.QueryableExtensions;
using Microsoft.EntityFrameworkCore;
using IConfigurationProvider = AutoMapper.IConfigurationProvider;
namespace Application.Common.Extensions
{
/// <summary>
/// Co... | 2.816273 | 33492490686c6010c8bc358b68e13a62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810370 | {
"extension": "c-sharp",
"max_stars_count": "419.0",
"max_stars_repo_name": "ZUOXIANGE/DotNetCore.SKIT.FlurlHttpClient.Wechat",
"max_stars_repo_path": "src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/MarketingBusifavor/UpdateMarketingBusifavorStockRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129... | starcoder | using System;
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{
/// <summary>
/// <para>表示 [PATCH] /marketing/busifavor/stocks/{stock_id} 接口的请求。</para>
/// </summary>
public class UpdateMarketingBusifavorStockRequest : WechatTenpayRequest
{
public st... | 2.020323 | d33ebad9562e02b4d2ca26e24c251519 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810371 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "maxtsarenko/WTelegramClient",
"max_stars_repo_path": "src/TL.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129591"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Reflection;
using System.Security.Cryptography;
using System.Text;
namespace TL
{
public interface IObject { }
public interface IMethod<ReturnType> : IObject { }
public interface IPeerResol... | 2.415912 | 0e0086fb0b93459261c8f1650c30ff42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810372 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "knutjelitto/Lingu",
"max_stars_repo_path": "Lingu.Sdk/Build/TerminalBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129592"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Lingu.Errors;
using Lingu.Grammars;
using Lingu.Tree;
#nullable enable
namespace Lingu.Build
{
public class TerminalBuilder
{
public TerminalBuilder(BuildGrammar buildGrammar, RawGrammar rawGrammar)
{
BuildGr... | 2.659283 | 35c3667a917c4b883a685d39deeadb92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810373 | {
"extension": "c-sharp",
"max_stars_count": "654.0",
"max_stars_repo_name": "huangqinjin/NuGet.Client",
"max_stars_repo_path": "src/NuGet.Core/NuGet.Protocol/Plugins/Messages/MonitorNuGetProcessExitRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129593"
} | 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 Newtonsoft.Json;
namespace NuGet.Protocol.Plugins
{
/// <summary>
/// A request to monitor a NuGet process exit.
/// </summary>
p... | 2.260185 | 7f795bc6222a3ce68e68e19074ea4bbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810374 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/errors/cs1502-18.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129594"
} | starcoder | // CS1502: The best overloaded method match for `X.Add(params object[])' has some invalid arguments
// Line: 8
class X
{
public static void Main ()
{
Add (Foo (), Foo ());
}
public static void Add (params object[] args)
{
}
static void Foo ()
{
}
} | 2.284224 | b229a8416c86d43d7a11fc2e65f0eda9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810375 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dobri19/TelerikHomeWork",
"max_stars_repo_path": "03C#SDA/06-Demos/DemoLinkedExercises/Task04/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129595"
} | starcoder | <reponame>dobri19/TelerikHomeWork<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace Task04
{
public class Program
{
public static void Main(string[] args)
{
StringBuilder sb = new StringBuilder();
string ex... | 3.302366 | e9f57e1c4948fa6a87dec388df56f9d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810376 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yckao/pulumi-zerotier",
"max_stars_repo_path": "sdk/dotnet/Inputs/GetNetworkAssignIpv6.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129596"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.189135 | 91ccbb1c94f0f5de4b1a05bcde72b509 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810377 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "pcen/Prototype",
"max_stars_repo_path": "QueryCiv3/BiqSections/Lead.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129597"
} | starcoder | <filename>QueryCiv3/BiqSections/Lead.cs
using System;
using System.Runtime.InteropServices;
namespace QueryCiv3.Biq
{
[StructLayout(LayoutKind.Sequential, Pack=1)]
public unsafe struct LEAD_Unit
{
public int NumberOfStartUnits;
public int UnitType;
}
[StructLayout(LayoutKind.Sequen... | 2.143212 | 1bb14d36587350000ce475b94ba6afde |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810378 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "4rgetlahm/object-group-game",
"max_stars_repo_path": "Server/Exceptions/BadSessionException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129598"
} | starcoder | <reponame>4rgetlahm/object-group-game<gh_stars>1-10
using System;
public class BadSessionException : Exception{
public BadSessionException(string message) : base(message){
}
} | 1.629007 | b05cc3654c6fcd621c84083cfc58392a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810379 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/class/System.ServiceModel/System.ServiceModel/NetTcpBinding.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129599"
} | starcoder | <reponame>lefb766/mono
//
// NetTcpBinding.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (C) 2005 Novell, Inc. http://www.novell.com
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Softw... | 1.35375 | e3cf416c3c22e01e50e2119501d24497 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810380 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "VahidN/DNTProfiler",
"max_stars_repo_path": "Tests/DNTProfiler.WebFormsTest/UseTestHandler.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129600"
} | starcoder | <gh_stars>10-100
using System;
using System.Globalization;
using DNTProfiler.ServiceLayer.Contracts;
namespace DNTProfiler.WebFormsTest
{
public partial class UseTestHandler : BasePage
{
public IProductService ProductService { set; get; }
protected void Page_Load(object sender, EventArgs e)
... | 1.936219 | 4a0db5f5a9b9c5dea2a015647b257996 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810381 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "vickyhader/Partner-Center-Explorer",
"max_stars_repo_path": "src/Explorer/Controllers/ServiceRequestsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129601"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="ServiceRequestsController.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Micros... | 2.077129 | 38c86ae452039d26a608089ba7067145 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810382 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lesenro/ggcms-csharp",
"max_stars_repo_path": "GgcmsCSharp/Models/GgcmsModules.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129602"
} | starcoder | namespace GgcmsCSharp.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class GgcmsModules
{
public int Id { get; set; }
... | 2.046963 | 48756e796f8b3d6ea9523fd3e66c7dc3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810383 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "dentphoto/SnowyImageCopy",
"max_stars_repo_path": "Source/SnowyImageCopy/Common/DelegateCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129603"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace SnowyImageCopy.Common
{
public class DelegateCommand : ICommand
{
private readonly Action _execute;
private readonly Func<bool> _... | 2.618455 | 1a2ed673ed9fe850a9a816eab4a4e3e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810384 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Bobbykose/tibiaapi",
"max_stars_repo_path": "tibiaapi/Addresses/TextDisplay.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129604"
} | starcoder | <filename>tibiaapi/Addresses/TextDisplay.cs<gh_stars>10-100
namespace Tibia.Addresses
{
public static class TextDisplay
{
/// <summary>
/// PrintName function call to overwrite
/// </summary>
public static uint PrintName;
/// <summary>
/// PrintFPS f... | 2.200243 | f7464aea7d88bcb7fc9b48faf86dc2c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810385 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "shift-eleven/KitsuSharp",
"max_stars_repo_path": "KitsuSharp.Rest/Enums/UserTheme.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129605"
} | starcoder | using System.Runtime.Serialization;
namespace KitsuSharp.Rest.Enums
{
public enum UserTheme
{
[EnumMember(Value = "dark")]
Dark,
[EnumMember(Value = "light")]
Light
}
} | 1.884727 | 1c8d89dd160e9200adb50e7b2f4ace26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810386 | {
"extension": "c-sharp",
"max_stars_count": "409.0",
"max_stars_repo_name": "DhavalBhattPG/getting-started-with-astra-csharp",
"max_stars_repo_path": "Models/location_udt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129606"
} | starcoder | <reponame>DhavalBhattPG/getting-started-with-astra-csharp
using System;
using Newtonsoft.Json;
namespace getting_started_with_astra_csharp.Models
{
/// <summary>
/// A C# representation of the location udt in the Astra database
/// </summary>
public class location_udt
{
[JsonProperty(Proper... | 1.863235 | a2757de633d2c32ea1f97c6307133ef8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810387 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alchemistbg/SoftwareUniversity",
"max_stars_repo_path": "02-Tech-Module/01-Programming-Fundamentals/09-Strings-and-Text-Processing/02-Exercises/06_Sum_Big_Numbers/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129607"
} | starcoder | using System;
using System.Linq;
namespace _06_Sum_Big_Numbers
{
class Program
{
static void Main(string[] args)
{
//string[] input = Console.ReadLine().Split(' ');
string n1 = Console.ReadLine();
string n2 = Console.ReadLine();
sum(n1, n2);
}
static void sum(string s1, string s2)
{
//Cons... | 3.714725 | d6807146f91571111fbe518d024fe639 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810388 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/class/System.ServiceModel.Discovery/System.ServiceModel.Discovery/AnnouncementClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129608"
} | starcoder | <reponame>lefb766/mono
//
// Author: <NAME> <<EMAIL>>
//
// Copyright (C) 2009,2010 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restricti... | 1.446667 | a786795e7032e7a8586c2dfa07d1cc4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810389 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "pCYSl5EDgo/Unity1Week_P1145141919",
"max_stars_repo_path": "Assets/Plugins/com.unity.mathematics@0.0.12-preview.13/Unity.Mathematics/bool4x2.gen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129609"
} | starcoder | // GENERATED CODE
using System;
using System.Runtime.CompilerServices;
#pragma warning disable 0660, 0661
namespace Unity.Mathematics
{
[System.Serializable]
public partial struct bool4x2 : System.IEquatable<bool4x2>
{
public bool4 c0;
public bool4 c1;
// constructors
[Me... | 2.54833 | 8d702c7c38c0f1a2b162a1a15630e348 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810390 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ScriptBox99/BlazorStrap",
"max_stars_repo_path": "src/BlazorStrap/Components/BootstrapComponents/BSProgress.razor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129610"
} | starcoder | <reponame>ScriptBox99/BlazorStrap<filename>src/BlazorStrap/Components/BootstrapComponents/BSProgress.razor.cs
using BlazorComponentUtilities;
namespace BlazorStrap
{
public partial class BSProgress : BlazorStrapBase
{
internal List<BSProgressBar> Children { get; set; } = new List<BSProgressBar>();
... | 1.966535 | d0c348bcd46d07c522411a39e050880f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810391 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "QutEcoacoustics/metadata-extractor",
"max_stars_repo_path": "src/MetadataUtility/Filenames/RenameResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129611"
} | starcoder | <filename>src/MetadataUtility/Filenames/RenameResult.cs<gh_stars>0
// <copyright file="RenameResult.cs" company="QutEcoacoustics">
// All code in this file and all associated files are the copyright and property of the QUT Ecoacoustics Research Group.
// </copyright>
namespace MetadataUtility.Filenames
{
/// <summ... | 2.302478 | b4603ccb7de893a21797f61e01cbec0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810392 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MustafaAmish/All-Curses-in-SoftUni",
"max_stars_repo_path": "07. Databases Advanced - Entity Framework/16. Advanced Querying - Exercises/BookShop.StartUp/StartUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129612"
} | starcoder | <filename>07. Databases Advanced - Entity Framework/16. Advanced Querying - Exercises/BookShop.StartUp/StartUp.cs
namespace BookShop
{
using BookShop.Data;
using BookShop.Models;
using System;
using System.Globalization;
using System.Linq;
using System.Text;
public class StartUp
{
... | 3.025766 | eff85e63c5031212ddb02080bd375a69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810393 | {
"extension": "c-sharp",
"max_stars_count": "3117.0",
"max_stars_repo_name": "MitchellNZ/ClosedXML",
"max_stars_repo_path": "ClosedXML/Excel/PivotTables/PivotStyleFormats/XLPivotFieldStyleFormats.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129613"
} | starcoder | // Keep this file CodeMaid organised and cleaned
namespace ClosedXML.Excel
{
internal class XLPivotFieldStyleFormats : IXLPivotFieldStyleFormats
{
private IXLPivotValueStyleFormat dataValuesFormat;
private IXLPivotStyleFormat headerFormat;
private IXLPivotStyleFormat labelForma... | 2.110024 | b27675f8876f166c3b6c77bdb735e0a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810394 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "lukasz-pyrzyk/IdentityServer4",
"max_stars_repo_path": "test/IdentityServer.UnitTests/Stores/InMemoryResourcesStoreTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129614"
} | starcoder | using IdentityServer4.Models;
using IdentityServer4.Stores;
using System;
using System.Collections.Generic;
using Xunit;
using FluentAssertions;
namespace IdentityServer.UnitTests.Stores
{
public class InMemoryResourcesStoreTests
{
[Fact]
public void InMemoryResourcesStore_should_throw_if_cont... | 2.367197 | f55f2f9b41f35ba6a948932610976553 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810395 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Softeq/NetKit.Profile",
"max_stars_repo_path": "Softeq.NetKit.Profile.Domain/Repositories/IUserProfileRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129615"
} | starcoder | <filename>Softeq.NetKit.Profile.Domain/Repositories/IUserProfileRepository.cs<gh_stars>0
// Developed by Softeq Development Corporation
// http://www.softeq.com
using System;
using Softeq.NetKit.Profile.Domain.Infrastructure;
using Softeq.NetKit.Profile.Domain.Models.Profile;
namespace Softeq.NetKit.Profile.Domain.R... | 1.469502 | 5a57a9e74b503649b9b110bfe0ed6686 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810396 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "jcagme/roslyn",
"max_stars_repo_path": "src/Compilers/CSharp/Test/Symbol/Symbols/Source/EnumTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129616"
} | 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.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft... | 2.599315 | 6d80424102682e28b7cf7ab07958436f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810397 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "M1nified/SOA",
"max_stars_repo_path": "Zadania5/Library/ObjectsManager.LiteDB/DatabaseConnections.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129617"
} | starcoder | <reponame>M1nified/SOA
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ObjectsManager.LiteDB
{
public static class DatabaseConnections
{
public static readonly string BooksConnection = @"C:\tmp\books";
public static ... | 1.627762 | 215db1d6eb902fdf23355ee382e4f4de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810398 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Abbysssal/RogueLibs",
"max_stars_repo_path": "RogueLibsCore.Test/Tests/Items/SpiceRack.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129618"
} | starcoder | using UnityEngine;
namespace RogueLibsCore.Test
{
[ItemCategories(RogueCategories.Food, RogueCategories.Health)]
public class SpiceRack : CustomItem, IItemCombinable
{
[RLSetup]
public static void Setup()
{
RogueLibs.CreateCustomItem<SpiceRack>()
.WithName(new CustomNameInfo("Spice Rack"))
.WithDe... | 2.063763 | 4a2247f1a0e76f638954493f429c0604 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810399 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RemiGaudin/csharp",
"max_stars_repo_path": "src/KubernetesClient/generated/Models/V1ClusterRole.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129619"
} | starcoder | // <auto-generated>
// Code generated by https://github.com/kubernetes-client/csharp/tree/master/gen/KubernetesGenerator
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace k8s.Models
{
using Microsoft.Rest;
using Newtonsoft.Json;
using Sys... | 2.069902 | 38b91443b2c733ad6a002f929e13aa83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810400 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nasa/Mixed-Reality-Exploration-Toolk",
"max_stars_repo_path": "Unity/Assets/Framework/Components/Notes/Scripts/InteractableNote.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129620"
} | starcoder | <filename>Unity/Assets/Framework/Components/Notes/Scripts/InteractableNote.cs<gh_stars>0
// Copyright © 2018-2021 United States Government as represented by the Administrator
// of the National Aeronautics and Space Administration. All Rights Reserved.
using UnityEngine;
using GSFC.ARVR.MRET.Infrastructure.Framework.... | 1.828715 | 58bb34b989f3d9facf1e5d2e329b923d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810401 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Tsholofelomasedi/email-sdk-dotnet",
"max_stars_repo_path": "CM.Email.Sdk/Models/CampaignState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129621"
} | starcoder | namespace CM.Email.Sdk.Models
{
/// <summary>
/// The states a campaign can be in when created in EmailCampaigns
/// </summary>
public enum CampaignState
{
/// <summary>The campaign is saved</summary>
Saved = 1,
/// <summary>The campaign is set to send, but is not yet sent.... | 2.736811 | ac45d85ab98db6ec330a76a11a4fb15e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810402 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "pvginkel/DapperContext",
"max_stars_repo_path": "DbContext/DbContextCommitState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129622"
} | starcoder | <filename>DbContext/DbContextCommitState.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DbContext
{
public enum DbContextCommitState
{
None,
Commit,
Rollback
}
}
| 1.73803 | ab3d16ca54e9b664cdffa4695db18586 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810403 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dvt32/cpp-journey",
"max_stars_repo_path": "C#/Unsorted/09.06.2015.14.21.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129623"
} | starcoder | // dvt32
/* 1. Напишете метод, който
* при подадено име
* отпечатва в конзолата "Hello, <name>!" (например "Hello, Peter!").
*
* Напишете програма, която тества този метод дали работи правилно. */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplica... | 3.360206 | 56a14134f4cd46e8bd4879fc83071fe4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810404 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ritesh9835/EmailServices",
"max_stars_repo_path": "SendingEmailsWithWebMailInMVC/SendingEmailsWithWebMailInMVC/ViewModels/SMTPemail.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129624"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SendingEmailsWithWebMailInMVC.ViewModels
{
public class SMTPemail
{
public string Email { get; set; }
public string Password { get; set; }
public string ServerName { get; set; }
... | 1.953208 | af03f241fbcdeed59acd6e4f6d8fb981 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810405 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "creeperlv/LWMS",
"max_stars_repo_path": "LWMS.Core/LWMSCoreServer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129625"
} | starcoder | using CLUNL.Pipeline;
using LWMS.Core.Authentication;
using LWMS.Core.Configuration;
using LWMS.Core.HttpRoutedLayer;
using LWMS.Core.RemoteShell.Server;
using LWMS.Core.SBSDomain;
using LWMS.Core.ScheduledTask;
using LWMS.Core.Utilities;
using LWMS.Localization;
using LWMS.Management;
using System;
using System.Colle... | 1.507155 | 40ea87d7d98ec147b29f8850f62f3dfb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810406 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "naile/CSharpFastPFOR",
"max_stars_repo_path": "CSharpFastPFORCore.Test/DeltaZigzagEncodingTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129626"
} | starcoder | /*
* This code is released under the
* Apache License Version 2.0 http://www.apache.org/licenses/.
*/
using CSharpFastPFOR.Tests.Port;
using Xunit;
namespace CSharpFastPFOR.Tests
{
public class DeltaZigzagEncodingTest
{
private static int zigzagEncode(DeltaZigzagEncoding.Encoder e, int value)
... | 2.456388 | 6f436773aee1294b5c909d6462cf50e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810407 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jmrnilsson/TimeReporter",
"max_stars_repo_path": "Timereporter.Api/Controllers/ApiController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129627"
} | starcoder | <reponame>jmrnilsson/TimeReporter
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using NodaTime;
using Timereporter.Core.Models;
namespace Timereporter.Api.Controllers
{
[Route("api")]
[ApiController]
public class ApiController : Controller... | 2.406088 | 75a231830872a32b4854fcab5e5d8b33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810408 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "ita-social-projects/EPlas",
"max_stars_repo_path": "EPlast/EPlast.DataAccess/Entities/Region/RegionsStatusType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129628"
} | starcoder | <reponame>ita-social-projects/EPlas<filename>EPlast/EPlast.DataAccess/Entities/Region/RegionsStatusType.cs
using System.ComponentModel;
namespace EPlast.DataAccess.Entities
{
public enum RegionsStatusType
{
[Description("Округа")]
Region,
[Description("Крайовий Провід Пласту")]
... | 1.646594 | 539c365c0b61840d03161a642fa086cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810409 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hunt8/RealTimeGraphX",
"max_stars_repo_path": "RealTimeGraphX/IGraphController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129629"
} | starcoder | using RealTimeGraphX.EventArguments;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace RealTimeGraphX
{
/// <summary>
/// Represents a graph controller.
/// </summary>
/// <seealso cref="RealTimeGraphX.IGraphComponent" />
public interface IGraphControl... | 2.509125 | 8a16e8058ce9faaf328d938b05d4900e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EternalTamago/stride",
"max_stars_repo_path": "sources/shared/Stride.NuGetResolver/RestoreHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129630"
} | starcoder | // Copyright (c) Stride contributors (https://stride3d.net)
// 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.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading... | 1.957087 | f58af47ced2c9638d4b28b93f856cc7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810411 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jimbojim1997/BadHTTP",
"max_stars_repo_path": "BadHttp/BadHttp.Sandbox/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129631"
} | starcoder | using System;
using BadHttp.Server;
namespace BadHttp.Sandbox
{
class Program
{
static void Main(string[] args)
{
}
}
}
| 0.91549 | 6fa453f87697a9da48ad8eef7b0a251d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810412 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "Peckmore/ceenhttpd",
"max_stars_repo_path": "Ceen.PaaS/Services/TextHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129632"
} | starcoder | using System;
using Ceen.Database;
using System.Data;
namespace Ceen.PaaS.Services
{
/// <summary>
/// Helper methods to extract a text entry from the database with a desired locale
/// </summary>
public static class TextHelper
{
/// <summary>
/// Helper method to get a text string ... | 3.101768 | 19969622ff793976cdaf1c247494131c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810413 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhangsanlzh/WCF-Usage",
"max_stars_repo_path": "WCF-Demo/ERPService/DBHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129633"
} | starcoder | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
namespace ERPService
{
class DBHelper
{
public DBHelper()
{
}
public static SqlConnection conn = null;
public bool OpenConnec... | 2.680711 | eda4a2a41ca73940c74813b7c7a7b7ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810414 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ibprovider/Lcpi.EFCore.LcpiOleDb-v06.00",
"max_stars_repo_path": "Code/Provider/Source/Core/Engines/Dbms/Firebird/Common/FB_Common__DataTypeDescr.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129634"
} | starcoder | ////////////////////////////////////////////////////////////////////////////////
//EF Core Provider for LCPI OLE DB. Core. Engines. Dbms. Firebird.
// IBProvider and Contributors. 21.10.2021.
using System;
namespace Lcpi.EntityFrameworkCore.DataProvider.LcpiOleDb.Core.Engines.Dbms... | 1.530372 | b91ed9f86bd61ae1200eb30fc138016b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810415 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "aerotog/gauge-dotnet",
"max_stars_repo_path": "test/GaugeCommandFactoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129635"
} | starcoder | <gh_stars>10-100
/*----------------------------------------------------------------
* Copyright (c) ThoughtWorks, Inc.
* Licensed under the Apache License, Version 2.0
* See LICENSE.txt in the project root for license information.
*----------------------------------------------------------------*/
using Syste... | 2.02645 | bd7c9e97672979c649232369c404efca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810416 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OPEXGroup/Nethereum",
"max_stars_repo_path": "src/Nethereum.Contracts/CQS/IContractQueryHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129636"
} | starcoder | using System.Threading.Tasks;
using Nethereum.RPC.Eth.DTOs;
namespace Nethereum.Contracts.CQS
{
public interface IContractQueryHandler<TContractMessage> where TContractMessage : ContractMessage
{
Task<TFunctionOutput> QueryAsync<TFunctionOutput>(TContractMessage contractFunctionMessage, string contrac... | 1.793899 | 94b709b60cf4e137bd80158388ae301f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810417 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "smeegoan/als-glance",
"max_stars_repo_path": "ALS.Glance.Api/Models/YearBounds.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129637"
} | starcoder | <filename>ALS.Glance.Api/Models/YearBounds.cs
namespace ALS.Glance.Api.Models
{
public class YearBounds
{
public short Max { get; set; }
public short Min { get; set; }
}
} | 1.815747 | 0c6b34b1b9e4d217badca54314a8be48 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.