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 | 8811318 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "HydAu/SiteCore8Examples",
"max_stars_repo_path": "WebAPI/Sitecore8.WebAPI/Repository/IRepository`1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130538"
} | starcoder | using System;
using System.Collections.Generic;
namespace Sitecore8.WebAPI.Repository
{
//
// Very simple repository.
//
public interface IRepository<TModel>
where TModel : class, new()
{
Int32 Count { get; }
IEnumerable<TModel> GetAll();
TModel Get(Int32 id);
}... | 2.145945 | 30ef4a1e7ff4770a5969bbc691aa87ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811319 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mkhomutov/Catel",
"max_stars_repo_path": "src/Catel.Tests/Scoping/ScopeManagerFacts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130539"
} | starcoder | <gh_stars>1-10
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ScopeManagerFacts.cs" company="Catel development team">
// Copyright (c) 2008 - 2015 Catel development team. All rights reserved.
// </copyright>
// -------------... | 2.356609 | 700e6b6751f7256c536478b1550bacf3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811320 | {
"extension": "c-sharp",
"max_stars_count": "129.0",
"max_stars_repo_name": "jacklmjie/NETCore_BasicKnowledge.Examples",
"max_stars_repo_path": "ORMDemo/ORMDemo.Dapper/Infrastructure/Data/DapperDBContextOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130540"
} | starcoder | using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ORMDemo.Dapper.Infrastructure.Data
{
public class DapperDBContextOptions : IOptions<DapperDBContextOptions>
{
public string Configuration { get; set;... | 1.866783 | a5ec5d2360112bd644ed4096cb2c0ff0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811321 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BlaiseD/Enrollment.XPlatform",
"max_stars_repo_path": "Enrollment.XPlatform.Tests/CommandButtonTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130541"
} | starcoder | using AutoMapper;
using Enrollment.Forms.Configuration;
using Enrollment.Forms.Parameters;
using Enrollment.XPlatform.AutoMapperProfiles;
using LogicBuilder.Forms.Parameters;
using Xunit;
namespace Enrollment.XPlatform.Tests
{
public class CommandButtonTests
{
public CommandButtonTests()
{
... | 2.223609 | 5153fda1fe7c8e2f947eec14f1737841 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811322 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DeeJayTC/sepa.net",
"max_stars_repo_path": "TCDev.SEPA/Generic/Tax/TaxInformation3.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130542"
} | starcoder | <reponame>DeeJayTC/sepa.net<gh_stars>1-10
//
// SEPA.Net SEPA Parser for C#
// https://sepa.codeplex.com
// File: TCDev.SEPA.TaxInformation3.cs
// Author: <NAME>, TCDev
// Created: 13.09.2013 - TCA
// Changed: 13.09.2013 - TCA
// Purpose:
// ... | 1.875624 | a2e51bcac0140ed4aceb52da6ec1207f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811323 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "fallfromgrace/CoreScanner.Extensions",
"max_stars_repo_path": "CoreScanner.Net/RmdEventType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130543"
} | starcoder | <filename>CoreScanner.Net/RmdEventType.cs
namespace CoreScanner.Net
{
/// <summary>
///
/// </summary>
public enum RmdEventType
{
/// <summary>
///
/// </summary>
SessionStarted = 11,
/// <summary>
///
/// </summary>
DownloadStarte... | 2.109816 | 797e5e02be3ceab6de3777fead62cf64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811324 | {
"extension": "c-sharp",
"max_stars_count": "163.0",
"max_stars_repo_name": "bridgedotnet/Granular",
"max_stars_repo_path": "Granular.Common/Extensions/EventHandlerExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130544"
} | starcoder | <filename>Granular.Common/Extensions/EventHandlerExtensions.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace Granular.Extensions
{
[DebuggerNonUserCode]
public static class EventHandlerExtensions... | 2.715846 | e9e385d2d8a488e8d39eefa699025a71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811325 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "SharpKit/SharpKit-SDK",
"max_stars_repo_path": "Defs/Log4JavaScript/CommandLineFunctionReturnValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130545"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharpKit.JavaScript;
namespace log4javascript
{
/// <summary>
/// This is an object with two properties that allow the function to control how the result is displayed
/// </summary>
[JsType(JsMode.Json)]
pu... | 2.577746 | 08a8670ed9e983f0305a1cbf57d3aeee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811326 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "burakoner/GizzaLibraries",
"max_stars_repo_path": "Gizza.Extensions/System/String/RemoveNonNumeric.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130546"
} | starcoder | <gh_stars>0
using System;
using System.Linq;
namespace Gizza.Extensions
{
public static partial class Extensions
{
public static string RemoveNonNumeric(this string @this)
{
return new string(@this.ToCharArray().Where(x => Char.IsNumber(x)).ToArray());
}
}
} | 2.233224 | bca388cf1981a45bfb2a5d640c5aae48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811327 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "peteschmitz/Graphite.Unity.Sokoban",
"max_stars_repo_path": "Sokoban.UnityClient/Assets/Scripts/Extensions/SceneExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130547"
} | starcoder | using System;
using UnityEngine;
using Object = UnityEngine.Object;
#if UNITY_EDITOR
using UnityEditor;
#endif
// http://answers.unity.com/comments/1374414/view.html
namespace Utilities
{
[System.Serializable]
public class SceneField
{
[SerializeField] private Object sceneAsset;
[Serialize... | 2.353984 | a4b339a7fb7561751d6a228800766e83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811328 | {
"extension": "c-sharp",
"max_stars_count": "161.0",
"max_stars_repo_name": "EastBenchTech/agg-sharp",
"max_stars_repo_path": "geometry3Sharp/curve/EllipseArc2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130548"
} | starcoder | <filename>geometry3Sharp/curve/EllipseArc2.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace g3
{
// [RMS] partial ellipse.
// Note: Seems like there is something weird about start/end angles for elliptic arcs.
// If I just evaluate the same way I would evalu... | 2.916257 | f2ed111e9edac4d9fd51ae0d49f8f4a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811329 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MichalX2002/MonoGame.Extended",
"max_stars_repo_path": "Source/MonoGame.Extended.Gui/Controls/CompositeControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130549"
} | starcoder | <reponame>MichalX2002/MonoGame.Extended<gh_stars>0
using System.Collections.Generic;
using Microsoft.Xna.Framework;
namespace MonoGame.Extended.Gui.Controls
{
public abstract class CompositeControl : Control
{
protected CompositeControl()
{
}
protected bool IsDirty { get; set;... | 2.391771 | dd1e11f2d4ac7603da7dfa564b80ab1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811330 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "afhacker/Fred.Net",
"max_stars_repo_path": "src/Fred.Net/Models/VintageDate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130550"
} | starcoder | <filename>src/Fred.Net/Models/VintageDate.cs<gh_stars>1-10
using System;
using System.Xml.Serialization;
namespace Fred.Net.Models
{
[XmlType("vintage_date")]
public class VintageDate
{
[XmlText]
public DateTime Date { get; set; }
}
} | 2.13904 | 17598cc98b61631a7217367d008b4cb0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811331 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "tuxuan5200/-Core",
"max_stars_repo_path": "src/Essensoft.AspNetCore.Payment.Alipay/Domain/ZhimaCreditPeContractSignpageInitializeModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130551"
} | starcoder | <gh_stars>1-10
using System;
using Newtonsoft.Json;
using System.Xml.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// ZhimaCreditPeContractSignpageInitializeModel Data Structure.
/// </summary>
[Serializable]
public class ZhimaCreditPeContractSignpageInitializ... | 1.225345 | 8d8ebc8d3250dd7acb57d7d0860efa43 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811332 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "forki/Gu.Persist",
"max_stars_repo_path": "Gu.Persist.RuntimeBinary/BinaryEqualsComparer{T}.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130552"
} | starcoder | <reponame>forki/Gu.Persist
namespace Gu.Persist.RuntimeBinary
{
using Gu.Persist.Core;
/// <inheritdoc/>
public class BinaryEqualsComparer<T> : SerializedEqualsComparer<T>
{
/// <summary> The default instance. </summary>
public new static readonly BinaryEqualsComparer<T> Default = new ... | 2.085862 | 2c973491fa3bdde3d67623abfa145b9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811333 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wlfsky/netcorewebapi",
"max_stars_repo_path": "src/CMS/WL.CMS.Model/Enum/UserStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130553"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace WL.CMS.Model.Enum
{
public enum UserStatus
{
/// <summary>
/// 无状态
/// </summary>
None= 0,
/// <summary>
/// 正常
/// </summary>
Normal = 20,
/// <summ... | 1.617171 | cc8b8344863b76051305d07936851a58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811334 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pirocorp/Databases-Advanced---Entity-Framework",
"max_stars_repo_path": "Exercises/01. Entity Framework Introduction/02. Database First.Tests/IncreaseSalaries/Test_000_001.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130554"
} | starcoder | namespace SoftUni.Tests.IncreaseSalaries
{
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using NUnit.Framework;
using SoftUni;
using SoftUni.Data;
using SoftUni.Models;
... | 2.765245 | a89cb47441ff5630ee980ca7f93f4251 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811335 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BartoszKopec/wsb-cloudapp-rssmailing",
"max_stars_repo_path": "Application/Models/EmailSenderModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130555"
} | starcoder | <filename>Application/Models/EmailSenderModel.cs<gh_stars>0
namespace Application.Models
{
public class EmailSenderModel
{
public string ToAddress { get; set; }
public string ToName { get; set; }
public string FromAddress { get; set; }
public string FromName { get; set; }
public string Subject { get; set; ... | 2.08168 | 2fbe7c615b4a42277624dc6c223eb248 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811336 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "sunsided/bayes-classification",
"max_stars_repo_path": "src/BayesianClassifier/TrainingSet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130556"
} | starcoder | using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
namespace BayesianClassifier
{
/// <summary>
/// Class TrainingSet. This class cannot be inherited.
/// </summary>
public sealed class Training... | 3.347668 | ca8a59653c0c0da6e8b5f1f35930c599 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811337 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tomaskrupka/WebScrapingServices",
"max_stars_repo_path": "src/Gripper.ChromeDevTools/Network/SubresourceWebBundleInnerResponseErrorEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130557"
} | starcoder | <reponame>tomaskrupka/WebScrapingServices<filename>src/Gripper.ChromeDevTools/Network/SubresourceWebBundleInnerResponseErrorEvent.cs<gh_stars>0
namespace Gripper.ChromeDevTools.Network
{
using Newtonsoft.Json;
/// <summary>
/// Fired when request for resources within a .wbn file failed.
/// </summary>
... | 1.777938 | e6a865d1e72c2517a11575898aa93260 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811338 | {
"extension": "c-sharp",
"max_stars_count": "103.0",
"max_stars_repo_name": "syncfusion/winforms-demos",
"max_stars_repo_path": "datagrid/Filtering/Filtering/CS/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130558"
} | starcoder | #region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// <EMAIL>. Any infringement will be prosecuted under
// applicable laws.
#endr... | 2.17372 | c434b75771e75453d67ffb30ef25a587 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811339 | {
"extension": "c-sharp",
"max_stars_count": "1705.0",
"max_stars_repo_name": "MDanialSaleem/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/Rekognition/Generated/Model/ListDatasetEntriesRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130559"
} | starcoder | <reponame>MDanialSaleem/aws-sdk-net<gh_stars>1000+
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws... | 1.656948 | 510fc84813aa00ddc147b354cb3e4f8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811340 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "emily33901/Argon",
"max_stars_repo_path": "src/Server/PacketHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130560"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using SteamKit2;
using Core;
using Core.Extensions;
namespace Server
{
/// <summary>
/// Dispatches packets to the correct handlers
/// </summary>
public class PacketHandler : ClientMsgHandler
{
private Logger log;
... | 2.464036 | d4b5c984cfde4b170a21569a323962c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811341 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "kigagore/OandaV20",
"max_stars_repo_path": "OkonkwoOandaV20/OkonkwoOandaV20/Framework/JsonConverters/OrderConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130561"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using OkonkwoOandaV20.Framework.Factories;
using OkonkwoOandaV20.TradeLibrary.DataTypes.Order;
using System;
using System.Collections.Generic;
namespace OkonkwoOandaV20.Framework.JsonConverters
{
public class OrderConverter : JsonConverterBase
{
public ov... | 2.733924 | e6b9ecc7642d392ba8ea8455ca6234f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811342 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "cuongdodinh/BehaviorTrees",
"max_stars_repo_path": "Example2/BehaviorTrees.IronPython/IronPython/CachedFunction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130562"
} | starcoder | <reponame>cuongdodinh/BehaviorTrees
// Copyright(c) 2015-2019 <NAME>. Code under MIT license.
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
namespace BehaviorTrees.IronPython
{
/// <summary>
///
/// </summary>
public class CachedFunction
{
FnDesc _f... | 2.300204 | d98747413fa98f2cf4ad73d755ad78ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811343 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "evertqin/CSharpCodeSnippets",
"max_stars_repo_path": "AsyncInvoker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130563"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using log4net;
namespace CSharpCodeSnippets.ExceptionHandling
{
public class AsyncInvoker
{
private static readonly ILog _log = LogManager.GetLogger(typeof (AsyncInvoker));
pub... | 2.89606 | dd1dd7a333a591ab7fbcbbbb39a72e75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811344 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lingbohome/lms",
"max_stars_repo_path": "framework/src/Silky.Core/MethodExecutor/ObjectMethodExecutorExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130564"
} | starcoder | <reponame>lingbohome/lms
using System;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using JetBrains.Annotations;
using Silky.Core.DbContext;
using Silky.Core.DbContext.UnitOfWork;
namespace Silky.Core.MethodExecutor
{
public static class ObjectMethodExecutorExtensions
{
[Ca... | 2.191244 | bec49cfe75b22560783fb0dcb818e857 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811345 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abyssal/Qmmands",
"max_stars_repo_path": "src/Qmmands/Attributes/Checks/Bundled/MaximumCheckAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130565"
} | starcoder | using System;
using System.Threading.Tasks;
namespace Qmmands
{
/// <summary>
/// Represents a parameter check that ensures the provided numeric/string argument has the maximum value/length.
/// </summary>
public sealed class MaximumAttribute : ParameterCheckAttribute
{
/// <summary>
... | 3.417564 | b993afd5029c9f25855e8f3b9dd86932 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811346 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Nethereum/Nethereum.BlockchainProcessing",
"max_stars_repo_path": "src/Nethereum.LogProcessing.Dynamic.Db.Azure/Entities/ContractQueryEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130566"
} | starcoder | using Microsoft.WindowsAzure.Storage.Table;
using Nethereum.LogProcessing.Dynamic.Configuration;
using System;
namespace Nethereum.LogProcessing.Dynamic.Db.Azure.Entities
{
public class ContractQueryEntity : TableEntity, IContractQueryDto
{
public long Id
{
get => this.RowKeyToLong... | 2.178382 | 89d2bb5e329b24c3ad76f144d00acd77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811347 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maurobernal/PortalSend",
"max_stars_repo_path": "PortalSend/App_Data/PORTALSEND/PORTALSEND_Models.Context.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130567"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// Este código se generó a partir de una plantilla.
//
// Los cambios manuales en este archivo pueden causar un comportamiento inesperado de la aplicación.
// Los cambios manuales en este archivo se sobresc... | 1.825879 | 06ba8152dc18d9714e70d70da84e911b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811348 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Erencorn/Kotocorn",
"max_stars_repo_path": "NadekoBot.Core/Common/Pokemon/SearchPokemonAbility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130568"
} | starcoder | namespace Kotocorn.Core.Common.Pokemon
{
public class SearchPokemonAbility
{
public string Desc { get; set; }
public string ShortDesc { get; set; }
public string Name { get; set; }
public float Rating { get; set; }
}
}
| 1.534474 | d63ff7d53e0625a960ec8aa34a9b7c86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811349 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HyperLethalVector/ChristmasEsky",
"max_stars_repo_path": "Assets/Plugins/LeapMotion/Core/Tests/Editor/BitConverterNonAllocTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130569"
} | starcoder | /******************************************************************************
* Copyright (C) Ultraleap, Inc. 2011-2020. *
* Ultraleap proprietary and confidential. *
* *
... | 2.327558 | e3a986694cf59a00be53bd7f49b08836 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811350 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "CSDG-DDL/PTK",
"max_stars_repo_path": "PTK/Components/3_StructualAssembly.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130570"
} | starcoder | using Grasshopper.Kernel;
using Grasshopper.Kernel.Types;
using Rhino.Geometry;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tas... | 2.291867 | 2c897ef5c981b7c237f1ee61f80ebb6b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811351 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dipakc/boogie",
"max_stars_repo_path": "Source/Concurrency/GlobalSnapshotInstrumentation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130571"
} | starcoder | using System.Collections.Generic;
namespace Microsoft.Boogie
{
class GlobalSnapshotInstrumentation
{
private CivlTypeChecker civlTypeChecker;
private Dictionary<Variable, Variable> oldGlobalMap;
private List<Variable> newLocalVars;
public GlobalSnapshotInstrumentation(CivlTypeChecker civ... | 2.351335 | 1b77af7f5796f74c3c56cd42db7e8586 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811352 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "MaxRev-Dev/binary-relations",
"max_stars_repo_path": "BinaryRelations/Binary/ArgumentsCheck.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130572"
} | starcoder | using System;
namespace MaxRev.Extensions.Binary
{
public static partial class BinaryRelations
{
#region Argument check
private static void ThrowIfNull(params object[] matrix1)
{
foreach (object o in matrix1)
{
if (o == null) throw new ArgumentN... | 2.935814 | 677ccf9893b9a161901c769caa6c090a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811353 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "blaherrod/Meraki.Api",
"max_stars_repo_path": "Meraki.Api/Data/NetworkConnectivityMonitoringDestinations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130573"
} | starcoder | <gh_stars>1-10
namespace Meraki.Api.Data;
/// <summary>
/// UpdateNetworkConnectivityMonitoringDestinations
/// </summary>
[DataContract]
public class NetworkConnectivityMonitoringDestinations
{
/// <summary>
/// The list of connectivity monitoring destinations
/// </summary>
[ApiAccess(ApiAccess.ReadWrite)]
[Dat... | 1.501813 | dce8c892bebcd87ac0673bd9e73f894a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811354 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JohnStov/ReSharperFixiePlugin",
"max_stars_repo_path": "ReSharperFixiePlugin/ZoneMarker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130574"
} | starcoder | <filename>ReSharperFixiePlugin/ZoneMarker.cs
using JetBrains.Application.BuildScript.Application.Zones;
namespace ReSharperFixiePlugin
{
[ZoneMarker]
public class ZoneMarker
{
}
}
| 0.88165 | 8d9db85a100d098a509a276b869604cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811355 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "georgidelchev/Self-Created-Tasks",
"max_stars_repo_path": "005 - [Corona Virus Stay At Home]/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130575"
} | starcoder | using System;
namespace StayAtHome
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Are you at home?");
string areYouAtHome = Console.ReadLine();
while (areYouAtHome != "Yes".ToLower())
{
Console.WriteLine("... | 3.111995 | 10a6cf3845a2f55dfd73e48594f15027 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811356 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ddpruitt/poc_calllog_helpdesk",
"max_stars_repo_path": "odata/PoC.OdataCore2021v2/Controllers/BooksController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130576"
} | starcoder | <gh_stars>0
using PoC.OdataCore2021v2.Models;
namespace PoC.OdataCore2021v2.Controllers
{
public class BooksController : BaseController<Book>
{
public BooksController(BookStoreContext context) : base(context)
{
}
}
} | 1.007004 | 0513cfa4e5b51c5809467c18aa1dcfd4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811357 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "auth10/JabbR",
"max_stars_repo_path": "JabbR.Tests/IdentityLinkerFacts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130577"
} | starcoder | <reponame>auth10/JabbR
using System.Web;
using JabbR.Models;
using JabbR.Services;
using Moq;
using Newtonsoft.Json;
using Xunit;
namespace JabbR.Tests
{
public class IdentityLinkerFacts
{
public class LinkIdentity
{
[Fact]
public void FirstTimeUserLogin()
{... | 2.118597 | 1d6dd59be77bd86b14e890f5b038e1f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811358 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prachikatre005/KorneiDontsov.Sql",
"max_stars_repo_path": "src/libs/KorneiDontsov.Sql/abst/migrations/DbMigrationResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130578"
} | starcoder | namespace KorneiDontsov.Sql.Migrations {
using System;
public abstract class DbMigrationResult {
DbMigrationResult () { }
public sealed class Succeeded: DbMigrationResult { }
public static Succeeded succeeded { get; } = new Succeeded();
public sealed class Failed: DbMigrationResult {
public String inf... | 2.005131 | 121815ac0f092d31921f1f158a108b74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811359 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dotsudo/plus-clean",
"max_stars_repo_path": "HabboHotel/Items/Wired/Boxes/Effects/BotCommunicatesToAllBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130579"
} | starcoder | <filename>HabboHotel/Items/Wired/Boxes/Effects/BotCommunicatesToAllBox.cs
namespace Plus.HabboHotel.Items.Wired.Boxes.Effects
{
using System.Collections.Concurrent;
using Communication.Packets.Incoming;
using Rooms;
internal class BotCommunicatesToAllBox : IWiredItem
{
public BotCommunicat... | 2.592014 | 4864a8ee3c002670ece414585e2534e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811360 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "yannduran/Samples",
"max_stars_repo_path": "Options/VSCommandTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130580"
} | starcoder | <gh_stars>1-10
// ------------------------------------------------------------------------------
// <auto-generated>
// This file was generated by VSIX Synchronizer
// </auto-generated>
// ------------------------------------------------------------------------------
namespace Options
{
using System;
/... | 1.465915 | 6f4753c2e44b5a0b5c5d54e23b54e918 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811361 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "evilmadman80/DataMapper",
"max_stars_repo_path": "ConsoleTest/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130581"
} | starcoder | <gh_stars>0
using DataMapper;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleTest
{
class Program
{
static void Main(string[] args)
{
DataTable testTable = new Dat... | 2.459099 | d84f4f127bec7d8771f238365fbeff18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811362 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "Felandil/Chiota",
"max_stars_repo_path": "Chiota/CEXEngine/CryptoException/CryptoKeyExchangeException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130582"
} | starcoder | <reponame>Felandil/Chiota
#region Directives
using System;
#endregion
namespace VTDev.Libraries.CEXEngine.CryptoException
{
/// <summary>
/// Wraps exceptions thrown within a Key Exchange operation.
/// <para>This exception is used in the DtmKex class.</para>
/// </summary>
public sealed class Cry... | 2.495788 | 5d3d5b57cba4e5761259dd1926974d09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811363 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SavourySnaX/Humphrey",
"max_stars_repo_path": "Humphrey.Compiler/src/FrontEnd/AST/AstBinaryLogicalAnd.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130583"
} | starcoder | <reponame>SavourySnaX/Humphrey<gh_stars>1-10
using Humphrey.Backend;
namespace Humphrey.FrontEnd
{
public class AstBinaryLogicalAnd : AstBinaryExpressionExpression
{
public AstBinaryLogicalAnd(IExpression left, IExpression right) : base(left, right)
{
}
public override stri... | 2.328417 | 3f041846d9964050068d459f5efee2d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeorgiYosifov/BeStudent",
"max_stars_repo_path": "Services/BeStudent.Services.Data/SemestersService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130584"
} | starcoder | namespace BeStudent.Services.Data
{
using System.Linq;
using System.Threading.Tasks;
using BeStudent.Data.Common.Repositories;
using BeStudent.Data.Models;
using BeStudent.Services.Mapping;
using Microsoft.EntityFrameworkCore;
public class SemestersService : ISemestersService
{
... | 2.446311 | 86e8c5f2241d2e78f7ce1d8ec03b147e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811365 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "davidrpalmer/RaspberryIRDotNet",
"max_stars_repo_path": "RaspberryIRDotNet/PacketFormats/RC6/RC6RxFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130585"
} | starcoder | <filename>RaspberryIRDotNet/PacketFormats/RC6/RC6RxFilter.cs
using System;
using RaspberryIRDotNet.RX.Filters;
namespace RaspberryIRDotNet.PacketFormats.RC6
{
public class RC6RxFilter : IRXFilter
{
private readonly RXFilterHelper _helper;
public RC6RxFilter()
{
_helper = n... | 2.355651 | b12ae7c97fd9c0676322a1e40a8e584b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811366 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mstya/AspNetRsaCommunication",
"max_stars_repo_path": "AspNetRsa/Managers/RsaManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130586"
} | starcoder | using System;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using AspNetRsa.Models;
namespace AspNetRsa.Managers
{
public class RsaManager
{
private const int KEY_SIZE = 2048;
private const char COMMA = ',';
public KeyModel GetKeys()
{
... | 2.834008 | d680d743a9369c6e523663205c821079 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811367 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "GridProtectionAlliance/openECA",
"max_stars_repo_path": "Source/Analytics/LocalizedVARController/Source/LocalVoltageController/C#code/VoltController4/VcMessages/LtcLogMessages.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130587"... | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VoltController.VcMessages
{
public class LtcLogMessages
{
public void LtcLogMessage(string MesasgeInput)
{
DateTime now = DateTime.Now;
//sw:sw... | 2.12589 | 90b62d6eaedb189898f317f0cb2809de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811368 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "keylightberlin/NetCoreForce",
"max_stars_repo_path": "src/NetCoreForce.Client.Tests/HeaderFormatterTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130588"
} | starcoder | using System;
using System.Collections.Generic;
using NetCoreForce.Client;
using Xunit;
namespace NetCoreForce.Client.Tests
{
public class HeaderFormatterTest
{
[Fact]
public void IfModifiedSinceHeader()
{
DateTimeOffset date = new DateTimeOffset(2015, 3, 23, 0, 0, 0, 0, new... | 2.256255 | 6490955c26fab1bc128e3bd42781aa35 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811369 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "puiyan69/SCCAssign3",
"max_stars_repo_path": "Src/MoneyFox.Business/ViewModels/CategoryListViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130589"
} | starcoder | <filename>Src/MoneyFox.Business/ViewModels/CategoryListViewModel.cs
using System.Threading.Tasks;
using MoneyFox.Foundation.Interfaces;
using MoneyFox.Service.DataServices;
using MvvmCross.Core.Navigation;
using MvvmCross.Localization;
namespace MoneyFox.Business.ViewModels
{
/// <summary>
/// Reprensenta... | 2.30321 | 60b933a5fd302262c7f3b4f521108fdc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811370 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lvermeulen/Dynatrace.Net",
"max_stars_repo_path": "src/Dynatrace.Net/Environment/TopologyAndSmartscapeV1/Models/ServiceTypes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130590"
} | starcoder | <gh_stars>1-10
namespace Dynatrace.Net.Environment.TopologyAndSmartscapeV1.Models
{
public enum ServiceTypes
{
Amp,
Cics,
CicsInteraction,
CustomApplication,
Database,
EnterpriseServiceBus,
External,
Ims,
ImsInteraction,
Messaging,
Method,
Mobile,
Process,
QueueInteractio... | 1.09298 | 6cb55d917c0fc0800135fc7874b184ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811371 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "Halo-Platform/HaloAPI",
"max_stars_repo_path": "Neo.SmartContract.Framework/Services/Neo/TransactionOutput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130591"
} | starcoder | <reponame>Halo-Platform/HaloAPI<gh_stars>10-100
namespace Neo.SmartContract.Framework.Services.Neo
{
public class TransactionOutput : IApiInterface
{
public byte[] AssetId
{
get;
}
public long Value
{
get;
}
public byte[] ScriptH... | 1.055282 | c7d367d0ec4573965c18bf4661fe37b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811372 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ezeh2/Simple-OOXML-Package-Explorer",
"max_stars_repo_path": "src/PackageExplorer/View/Parts/ZipImagePartViewer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130592"
} | starcoder | <filename>src/PackageExplorer/View/Parts/ZipImagePartViewer.cs
namespace PackageExplorer.View
{
using System;
using System.Drawing;
using System.Windows.Forms;
using ICSharpCode.SharpZipLib.GZip;
using PackageExplorer.Model;
using System.IO;
class ZipImagePartViewer : ImagePartViewer
{
... | 2.069569 | a60f10b3e1df57cd6a2c36bbb4575711 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811373 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Andra1609/ConferenceApp",
"max_stars_repo_path": "ConferenceWebApp/ConferenceWebApp/Interfaces/ISponsorViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130593"
} | starcoder | <reponame>Andra1609/ConferenceApp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ConferenceWebApp.Interfaces
{
public interface ISponsorViewModel
{
public ISponsor Sponsor { get; set; }
//public IConference Conference { get; set; }
... | 1.200052 | 722c62ba40f6252c9b90f66a7d0e9772 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811374 | {
"extension": "c-sharp",
"max_stars_count": "179.0",
"max_stars_repo_name": "OndrejNepozitek/ProceduralLevelGenerator",
"max_stars_repo_path": "src/Edgar.Examples/IExample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130594"
} | starcoder | <filename>src/Edgar.Examples/IExample.cs
namespace Edgar.Examples
{
public interface IExample
{
//public string Name { get; }
//public string DocsFileName { get; }
//public string EntryPointMethod { get; }
public ExampleOptions Options { get; }
}
} | 1.54939 | cf801e60dab0d9af1a2c8893d3c180d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811375 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeminiLab/GeminiLab.Core2",
"max_stars_repo_path": "src/GeminiLab.Core2.GetOpt/OptGetter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130595"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
namespace GeminiLab.Core2.GetOpt {
public enum OptionType {
Switch,
Parameterized,
MultiParameterized,
}
public enum GetOptError {
NoError,
UnknownOption,
Unex... | 2.438346 | dff71108f279b7da730a7305d2a28625 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811376 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ambyte/ConfuserEx",
"max_stars_repo_path": "Confuser.Protections/ControlFlow/BlockParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130596"
} | starcoder | <reponame>ambyte/ConfuserEx<filename>Confuser.Protections/ControlFlow/BlockParser.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Confuser.Core;
using dnlib.DotNet.Emit;
namespace Confuser.Protections.ControlFlow {
internal static class BlockParser ... | 2.247057 | f9af664a0768672a55ed738305e16c73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811377 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "siderisltd/Telerik-Academy",
"max_stars_repo_path": "All Courses Homeworks/C#_Part_1/1. EnteringToProgramming/01.PlayWithVisualStudio/PlayWithVS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130597"
} | starcoder | ////Problem 1. Play with Visual Studio
//Install Visual Studio on your laptop or home computer. Go to the official Visual Studio site and download the Community
//2013 with Update 4 version.Start Visual Studio and familiarize yourself with it.
//Create a simple C# program (console application), compile and run it.
/... | 2.636553 | b27a0911b73dc013c14403752daa87df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811378 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "microserviceframe/surging",
"max_stars_repo_path": "src/Surging.Core/Surging.Core.ProxyGenerator/RegistrationExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130598"
} | starcoder | <filename>src/Surging.Core/Surging.Core.ProxyGenerator/RegistrationExtensions.cs
using Surging.Core.CPlatform.Module;
using Surging.Core.ProxyGenerator.Interceptors;
using Surging.Core.ProxyGenerator.Interceptors.Implementation;
using System;
namespace Surging.Core.ProxyGenerator
{
public static class RegistrationE... | 1.859188 | 36017d9c4105db4a79e136bc980a2b64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811379 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "m-s-/cli",
"max_stars_repo_path": "cmf-cli/Handlers/PackageType/HelpPackageTypeHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130599"
} | starcoder | <gh_stars>0
using Cmf.Common.Cli.Builders;
using Cmf.Common.Cli.Commands;
using Cmf.Common.Cli.Enums;
using Cmf.Common.Cli.Objects;
namespace Cmf.Common.Cli.Handlers
{
/// <summary>
///
/// </summary>
/// <seealso cref="Cmf.Common.Cli.Handlers.PresentationPackageTypeHandler" />
public class HelpPa... | 1.747141 | 6a5788e2d2a039464331a8b6e2a5f8a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811380 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ctrl-Tech-Crop/property-management",
"max_stars_repo_path": "src/app/PropertyManagement/Pages/Tenants/Index.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130600"
} | starcoder | <filename>src/app/PropertyManagement/Pages/Tenants/Index.cshtml.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFrameworkCore;
using data.context;
using data.mo... | 2.071983 | 322d7025ba330790f79b2603e9c495cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811381 | {
"extension": "c-sharp",
"max_stars_count": "907.0",
"max_stars_repo_name": "darojuv/cset",
"max_stars_repo_path": "CSETWebApi/CSETWeb_Api/DataLayerCore/Model/LEVEL_BACKUP_ACET.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130601"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace DataLayerCore.Model
{
public partial class LEVEL_BACKUP_ACET
{
public int requirement_id { get; set; }
[StringLength(50)]
public str... | 1.846906 | a6eb62d759c632c565a7df4f894c2ce6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811382 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "mrkriv/UnrealDotNet",
"max_stars_repo_path": "Plugins/UnrealDotNet/Source/CodeGenerator/Config.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130602"
} | starcoder | namespace CodeGenerator
{
public class Config
{
public Filter Filter { get; set; }
public string DllEditorImportName { get; set; }
public string DllPaksImportName { get; set; }
public string EnginePathSeg { get; set; }
public string ExportPrefix { get; set; }
//... | 0.834985 | c98cc1e02bb999bbc93af1a2d9d440c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811383 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kant2002/Athenahealthapi-csharp",
"max_stars_repo_path": "Client/Models/CreatePatientProblemResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130603"
} | starcoder | // <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace AthenaHealth.Client.Models
{
using Newtonsoft.Json;
using System.Linq;
public partial class CreatePatientPr... | 2.37217 | c59536e66210fc17e1ff4a56e3c5da97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811384 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UltraCart/rest_api_v2_sdk_csharp",
"max_stars_repo_path": "src/com.ultracart.admin.v2/Model/AccountsReceivableRetryStatMetrics.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130604"
} | starcoder | <gh_stars>0
/*
* UltraCart Rest API V2
*
* UltraCart REST API Version 2
*
* OpenAPI spec version: 2.0.0
* Contact: <EMAIL>
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using Syst... | 1.49811 | 4e7e04b2e8fc178e00f78dffd3c8cd6b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811385 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tongxin3267/alabo",
"max_stars_repo_path": "src/04.industry/02-Alabo.Industry.Shop/Orders/Dtos/OrderListInput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130605"
} | starcoder | <filename>src/04.industry/02-Alabo.Industry.Shop/Orders/Dtos/OrderListInput.cs
using Alabo.Domains.Query.Dto;
using Alabo.Domains.Repositories.Mongo.Extension;
using Alabo.Industry.Shop.Orders.Domain.Enums;
using MongoDB.Bson;
using Newtonsoft.Json;
namespace Alabo.Industry.Shop.Orders.Dtos
{
/// <summary>
//... | 2.10727 | dd3ae4962da5c2f091b3f129be2cf95c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811386 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JTOne123/Epos.Foundation",
"max_stars_repo_path": "src/Epos.CmdLine/CmdLineSwitch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130606"
} | starcoder | <reponame>JTOne123/Epos.Foundation
namespace Epos.CmdLine
{
/// <summary> Command line switch, see <a href="/getting-started.html">Getting started</a>
/// for an example. </summary>
/// <remarks>A command line switch is a specialized <see cref="CmdLineOption{T}"/> with
/// type <see cref="bool"/>.</rem... | 2.365197 | 16d76047f9c4c3cd0ed9a71eef3a874e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811387 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JamesMarcogliese/slack-bot-hive",
"max_stars_repo_path": "src/slack-bot-hive/Services/Commands/ICommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130607"
} | starcoder | <reponame>JamesMarcogliese/slack-bot-hive
using Slack.Api.CSharp.EventsApi;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace slack_bot_hive.Services
{
public interface ICommand
{
Regex GetEventPattern { get; }
string GetActionName { get; }
Task ExecuteEvent... | 1.933246 | 53785a42892db91e3c7f1455ed00d84a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811388 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Someone999/InfoReader",
"max_stars_repo_path": "InfoReader/NewExpressionParser/Nodes/OperatorExpressionNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130608"
} | starcoder | <gh_stars>1-10
using System;
using System.ComponentModel;
using System.Linq;
namespace InfoReaderPlugin.NewExpressionParser.Nodes
{
public class OperatorExpressionNode : ExpressionNode
{
void CheckValueNode(params ValueExpressionNode[] nodes)
{
if (nodes.Any(node => node is null ||... | 3.261627 | 7a4ccc77685117c71ef33147548c39c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811389 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iNeverSleeeeep/NPOI-For-Unity",
"max_stars_repo_path": "NPOI.OpenXmlFormats.Dml.Chart/CT_Tx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130609"
} | starcoder | <reponame>iNeverSleeeeep/NPOI-For-Unity
using System;
using System.ComponentModel;
using System.IO;
using System.Xml;
using System.Xml.Serialization;
namespace NPOI.OpenXmlFormats.Dml.Chart
{
[Serializable]
[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/chart", IsNullable = true)]
[DesignerC... | 1.980452 | 87502f87a051e2bb7e235e7312d67bfe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811390 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "E-Nyamsuren/TwoA",
"max_stars_repo_path": "TwoA/KS/KSRank.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130610"
} | starcoder | <reponame>E-Nyamsuren/TwoA
#region Header
/*
Copyright 2018 <NAME> (http://www.bcogs.net , http://www.bcogs.info/)
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/licens... | 2.689004 | be3ea29015413dadd32845103bcfa72a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811391 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zamhsu/DotNetCoreLineMessagingAPI",
"max_stars_repo_path": "LineMessagingAPI/Models/ManageAudience/AudienceGroupAuthorityLevel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130611"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
namespace LineMessagingAPI.Models.ManageAudience
{
/// <summary>
/// The authority level for all audiences linked to a channel.
/// </summary>
... | 2.487626 | 2c60f96edab2b31bb5784d0e6f0d053b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811392 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RoyChase/linq2db",
"max_stars_repo_path": "Source/LinqToDB/DataProvider/Firebird/FirebirdBulkCopy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130612"
} | starcoder | using System.Collections.Generic;
namespace LinqToDB.DataProvider.Firebird
{
using Data;
using System.Threading;
using System.Threading.Tasks;
class FirebirdBulkCopy : BasicBulkCopy
{
protected override BulkCopyRowsCopied MultipleRowsCopy<T>(
ITable<T> table, BulkCopyOptions options, IEnumerable... | 2.310481 | 96c52267e9a852801a9d3479773098d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811393 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "okinta/MockHttp.Net",
"max_stars_repo_path": "ValidateRequestHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130613"
} | starcoder | <gh_stars>0
using FluentAssertions;
using System.Collections.Generic;
using System.Net;
namespace MockHttp.Net
{
/// <summary>
/// Creates a mock request handler that validates parameters.
/// </summary>
public class ValidateRequestHandler
{
/// <summary>
/// Gets the m... | 2.627746 | 504df16746a4405aab03d1b5475dbb32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811394 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CarlosDiaz12/AspNetCoreBeyondTheIntro",
"max_stars_repo_path": "AwesomeSauceCompanyLtd/Infrastructure/UserModelBinderProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130614"
} | starcoder | using AwesomeSauceCompanyLtd.Services.Entities;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.AspNetCore.Mvc.ModelBinding.Binders;
using System;
namespace AwesomeSauceCompanyLtd.Infrastructure
{
public class UserModelBinderProvider : IModelBinderProvider
{
public IModelBinder GetBinder(... | 2.135716 | 4712beefed1ba2b555c488f91da30932 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811395 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "git-custom-code/AutomatedTesting",
"max_stars_repo_path": "src/AutomatedTesting.Mocks/Emitter/MethodDecoratorEmitters/IMethodDecoratorEmitterFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130615"
} | starcoder | namespace CustomCode.AutomatedTesting.Mocks.Emitter
{
using System.Reflection;
using System.Reflection.Emit;
/// <summary>
/// This factory can create <see cref="IMethodEmitter"/> instances based on the reflected signature of a method
/// (see <see cref="IMethodEmitter"/> interface for more details... | 2.649695 | 1f4c70775c2955b41c34d3acd6c717a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811396 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "timxing1987/git-tutorial",
"max_stars_repo_path": "Source/Framework/Common/Framework.Common/IApplicationContextAwareObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130616"
} | starcoder | <gh_stars>1-10
#region
using Cedar.Core.ApplicationContexts;
#endregion
namespace Cedar.Framework.Common
{
public interface IApplicationContextAwareObject
{
/// <summary>
/// Gets the current application context.
/// </summary>
/// <value>The current application context.<... | 1.676836 | c60a6b1ee5bfc1b6a2aeafdfe8f69e79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811397 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "agrc/uic-forms",
"max_stars_repo_path": "libs/Inquirer.cs/Inquirer/Node.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130617"
} | starcoder | <filename>libs/Inquirer.cs/Inquirer/Node.cs
using System;
using System.Linq.Expressions;
using System.Reflection;
using InquirerCS.Components;
using InquirerCS.Interfaces;
using InquirerCS.Traits;
namespace InquirerCS
{
public class Node<TBuilder, TQuestion, TResult> : BaseNode where TBuilder : IWaitForInputTrait... | 2.746861 | 34ccaa4dd17b62de1bb15e4eb0cdbac0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811398 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "galencar1/Curso_C-",
"max_stars_repo_path": "Aula12_POOConstrutores/Tela/Menu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130618"
} | starcoder | <filename>Aula12_POOConstrutores/Tela/Menu.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Calculo;
using Classes;
using Diretorio;
using Funcoes;
namespace Tela
{
internal class Menu
{
public const int SAIDA_PROGRAMA = 0;
... | 3.204849 | e3e69dbd7ff48bb029d161aa03b791bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811399 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Derich367/azure-functions-openapi-extension",
"max_stars_repo_path": "samples/Microsoft.Azure.WebJobs.Extensions.OpenApi.FunctionApp.InProc/SecurityFlows/PetStoreAuthFlows.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130619"
} | starcoder | <gh_stars>0
using System;
using Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.Configurations;
using Microsoft.OpenApi.Models;
namespace Microsoft.Azure.WebJobs.Extensions.OpenApi.FunctionApp.InProc.SecurityFlows
{
public class PetStoreAuth : OpenApiOAuthSecurityFlows
{
public PetStoreAuth()
... | 1.402373 | 006b340dd59c3dd1a5738c09a4218c53 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811400 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "miloszkulesza/ReactNet",
"max_stars_repo_path": "ReactNet/Models/Order.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130620"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace ReactNet.Models
{
public class Order
{
[Key]
public string OrderId { get; set; }
public string UserId { get; set; }
public vir... | 2.472205 | ec9373384f241eb0c44bdabcd5b85fc9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811401 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "virtualdreams/postit-core",
"max_stars_repo_path": "src/Notes/Validators/LoginModelValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130621"
} | starcoder | <reponame>virtualdreams/postit-core<gh_stars>1-10
using FluentValidation;
using Notes.Models;
namespace Notes.Validators
{
public class LoginModelValidator : AbstractValidator<LoginModel>
{
public LoginModelValidator()
{
RuleFor(r => r.Username)
.NotEmpty()
.WithMessage("Please fill in a username.");
... | 2.177956 | 5acb63fdee13c2d8b4d3f8ad4f2a8e2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811402 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "davidjohnoliver/microsoft-authentication-library-for-dotnet",
"max_stars_repo_path": "src/client/Microsoft.Identity.Client/Internal/Broker/BrokerInteractiveRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130622"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.Identity.Client.ApiConfig.Parameters;
using Microsoft.Identity.Client.Core;
using Microsoft.Identity.Client.Internal.Requests;
using Microsoft.Identity.Client.OAuth2;
using Microsoft.Identity.Client.UI;
usi... | 1.687105 | f3f9ce4192512aef24c175501cf7e515 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811403 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mdymel/ApiDataAbstraction",
"max_stars_repo_path": "ApiDataAbstraction/Model/Enums/ColorType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130623"
} | starcoder | <filename>ApiDataAbstraction/Model/Enums/ColorType.cs<gh_stars>1-10
namespace ApiDataAbstraction.Model.Enums
{
public enum ColorType
{
Red,
Green,
Blue
}
} | 2.231842 | 2a3ac3f16971f505de23a6f1350040e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811404 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wj60387/akka.net",
"max_stars_repo_path": "docs/examples/Persistence/PersistentFSM/PersistentFSM.State.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130624"
} | starcoder | <gh_stars>0
namespace DocsExamples.Persistence.PersistentFSM
{
public enum UserState
{
Shopping,
Inactive,
Paid,
LookingAround
}
}
| 0.895748 | 00976198008e1c8724e855b5b0da0a6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811405 | {
"extension": "c-sharp",
"max_stars_count": "2730.0",
"max_stars_repo_name": "HirenBodhi/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK",
"max_stars_repo_path": "Spectre.Console/Spectre.Console/Extensions/GridExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130625"
} | starcoder | using System;
using System.Linq;
using Spectre.Console.Rendering;
namespace Spectre.Console
{
/// <summary>
/// Contains extension methods for <see cref="Grid"/>.
/// </summary>
public static class GridExtensions
{
/// <summary>
/// Adds a column to the grid.
/// </summary>
... | 3.201094 | 5258659f2513e975edbd05bd4a37878e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811406 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "evincarofautumn/mono",
"max_stars_repo_path": "mcs/class/System.Core/System.Linq.Parallel/ConcurrentLookup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130626"
} | starcoder | //
// ConcurrentLookup.cs
//
// Author:
// Jérémie "Garuma" Laval <<EMAIL>>
//
// Copyright (c) 2010 Jérémie "Garuma" Laval
//
// 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... | 2.401971 | 6e33ba727e2c9e75f85287efa16b4b1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811407 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "beppemarazzi/command-line-api",
"max_stars_repo_path": "src/System.CommandLine/Binding/ModelDescriptor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130627"
} | starcoder | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace System.CommandLine... | 2.53149 | 2499b1dc5b440b82484bce4f682b7e5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811408 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NickEricson/botbuilder-dotnet",
"max_stars_repo_path": "libraries/Microsoft.Bot.Builder.LanguageGeneration/StaticChecker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130628"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using AdaptiveExpressions;
using Antlr4.Runtime;
using Antlr4.Runtime.Misc;
namespace Microsoft.Bot.Builder.LanguageGeneration
{
/// <summary>
///... | 2.314478 | ed3fd3d22f7e1ea21f2738e5b28c2288 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811409 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ephaltes/SWE3_ORM",
"max_stars_repo_path": "ORM/ORM.PostgresSQL/PostgresSqlProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130629"
} | starcoder | using System.Diagnostics.CodeAnalysis;
using ORM.PostgresSQL.Model;
using Serilog;
namespace ORM.PostgresSQL
{
public static class PostgresSqlProvider
{
internal static string TimestampFormat = "yyyy-MM-dd hh:mm:ss";
private static readonly ILogger _logger = Log.ForContext(typeof(PostgresSqlPr... | 2.8097 | 86d405e481cf1774c1f4f1153cb73654 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811410 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TortugaResearch/Anchor",
"max_stars_repo_path": "Tortuga.Anchor/Tortuga.Anchor.Tests/Dragnet/Memory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130630"
} | starcoder | namespace Tortuga.Dragnet;
/// <summary>
/// This class is used for conducting memory based tests.
/// </summary>
public static class Memory
{
/// <summary>
/// Cycles the Garbage Collector.
/// </summary>
public static void CycleGC()
{
GC.Collect();
GC.WaitForPendingFinalizers();
GC.Collect();
}
}
| 2.047391 | 985e7e5bcdb0e004e8d5fdcf3db61a8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811411 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marcosfvc/ColonyManager",
"max_stars_repo_path": "Source/Helpers/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130631"
} | starcoder | // Constants.cs
// Copyright <NAME>, 2017-2017
using UnityEngine;
namespace FluffyManager
{
public static class Constants
{
public const float LargeListEntryHeight = 50f;
public const float Margin = 6f;
public const float SliderHeight = 20f;
public const float ScrollbarWidth =... | 1.79291 | af1b6bbe95cb8113785f3ac4c3b2badb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811412 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HongYu-CHANG/FacePush",
"max_stars_repo_path": "Applicaton/360_Guidance/Assets/C#/Rotate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130632"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.IO;
using System.IO.Ports;
using System.Threading;
public class Rotate : MonoBehaviour {
public GameObject cube; //cube (put at fixed position)
private bool start = fals... | 2.929747 | aede2d3f16cbe5e56f311ffee9a233b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811413 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mbearup/wcf",
"max_stars_repo_path": "src/System.Private.ServiceModel/src/System/ServiceModel/Channels/TransportDuplexSessionChannel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130633"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime;
using System.Runtime.Diagnostics;
using System.Security.Authentication.ExtendedProtection;
us... | 1.449784 | bdd67536af73a7be9fb31a9d101a21cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811414 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tenhobi-masters-thesis/backend",
"max_stars_repo_path": "KingKarel/KingKarel/Database/Entities/Learning.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130634"
} | starcoder | using System.ComponentModel.DataAnnotations.Schema;
namespace KingKarel.Database.Entities;
[Table("Learning")]
public class Learning : Mission
{
public string Data { get; set; }
public bool IsStory { get; set; }
} | 1.906547 | 22c9c71d17a73644fe5605d521388ff5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811415 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "demiurghg/FusionFramework",
"max_stars_repo_path": "Fusion/Graphics/Resources/TextureAtlas.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130635"
} | starcoder | <filename>Fusion/Graphics/Resources/TextureAtlas.cs
#define DIRECTX
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using DXGI = SharpDX.DXGI;
using D3D = SharpDX.Direct3D11;
using SharpDX;
using SharpDX.Direct3D11;
using System.Runti... | 2.607467 | 41902ce83ffd8d8767cc9b42f160ad63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811416 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "PermaNulled/OMDUC_EMU_CSharp",
"max_stars_repo_path": "OMDUC_EMU/NetworkProtocols/ResponsePlayerMessages.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130636"
} | starcoder | <filename>OMDUC_EMU/NetworkProtocols/ResponsePlayerMessages.cs
using System;
using System.Collections.Generic;
namespace NetworkProtocols
{
// Token: <KEY> RID: 1595
public class ResponsePlayerMessages : BotNetMessage
{
// Token: <KEY> RID: 14205 RVA: 0x0001E6D8 File Offset: 0x0001C8D8
public Response... | 1.953658 | b768222d7620084b74c716799bd9cf33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811417 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nd1012/DecimalEncoder",
"max_stars_repo_path": "src/DecimalEncoder/DecimalEncoder.ULong.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130637"
} | starcoder | using System.Security.Cryptography;
using System.Text;
namespace wan24
{
public static partial class DecimalEncoder
{
/// <summary>
/// Encode a positive integer
/// </summary>
/// <param name="dec">Integer</param>
/// <param name="simple">Use the simple encoding map?</... | 2.779468 | bd3ebc86378e1bd7d66636e61b06318c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.