added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836512 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marufbd/MvcSiteMapProvider",
"max_stars_repo_path": "src/MvcSiteMapProvider/DemoApp.Web/DomainModels/MapOverrides/PublisherMappingOverride.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155732"
} | starcoder | #region CODE HISTORY
/* --------------------------------------------------------------------------------
* Client Name:
* Project Name: NHAutoMvcDemo.DomainModels.MapOverrides
* Module: Web
* Name: PublisherMappingOverride
* Purpose:
*
* Author: latifur.rahman
* Language: C# SDK version 3.... | 2.103611 | 8f098b70e55389ebb595a1ae9ed83b78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836513 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "hedipo/SCTokenManager",
"max_stars_repo_path": "Source/TokenManager/Pipelines/Deleting/TokenDeleting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155733"
} | starcoder | <reponame>hedipo/SCTokenManager
using System;
using System.Linq;
using Sitecore.Data;
using Sitecore.Data.Items;
using Sitecore.Data.Managers;
using Sitecore.Events;
using TokenManager.Collections;
using TokenManager.Data.Interfaces;
using TokenManager.Handlers.TokenOperations;
using TokenManager.Management;
namespac... | 2.106197 | 5df8df8268236b52fd1625a0308618d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836514 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nygula/BlogTs",
"max_stars_repo_path": "src/Libraries/TsBlog.ViewModel/User/RegisterViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155734"
} | starcoder | <filename>src/Libraries/TsBlog.ViewModel/User/RegisterViewModel.cs
using System.ComponentModel.DataAnnotations;
namespace TsBlog.ViewModel.User
{
/// <summary>
/// 用户注册视图实体
/// </summary>
public class RegisterViewModel
{
[Required(ErrorMessage = "请输入用户名")]
[Display(Name = "用户名")]
... | 2.753975 | 0bb8f290b582a27904b74d7caf0c83de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836515 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ishisaka/StyleCopAnalyzers",
"max_stars_repo_path": "StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1026CodeMustNotContainSpaceAfterNewKeywordInImplicitlyTypedArrayAllocation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155... | starcoder | namespace StyleCop.Analyzers.SpacingRules
{
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Diagnostics;
/// <summary>
/// An implicitly typed new array allocation within a C# code file is not spaced correctly.... | 2.578267 | 7963bec421e6ee4b37371400e6813f44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836516 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "feO2x/Light.Serialization",
"max_stars_repo_path": "Code/Light.Serialization.Json/TokenParsers/SignedIntegerParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155736"
} | starcoder | using System;
using Light.GuardClauses;
using Light.Serialization.Json.IntegerMetadata;
using Light.Serialization.Json.LowLevelReading;
namespace Light.Serialization.Json.TokenParsers
{
/// <summary>
/// Represents an <see cref="IJsonTokenParser" /> that can parse JSON numeric tokens to .NET signed intege... | 2.802079 | e9786d8dd75e7c18e34c74fd7d631117 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836517 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jdruin/F5Eagle",
"max_stars_repo_path": "Library/Components/Public/MessageEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155737"
} | starcoder | <filename>Library/Components/Public/MessageEventArgs.cs<gh_stars>0
/*
* MessageEventArgs.cs --
*
* Copyright (c) 2007-2012 by <NAME>. All rights reserved.
*
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
* RCS: @(#) $Id: $
*... | 1.937039 | e2a2ff6902e036cbd2a7a20926c83ecd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836518 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bytemaster-0xff/UasBaseStation",
"max_stars_repo_path": "src/LagoVista.Uas.BaseStation.App/Drones/DJIDrone.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155738"
} | starcoder | <reponame>bytemaster-0xff/UasBaseStation
using DJI.WindowsSDK;
using DJI.WindowsSDK.Components;
using LagoVista.Uas.Core;
using LagoVista.Uas.Core.Models;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks... | 1.336293 | 6eeed925747a965c857fbecc3f6db2af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836519 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "raelango/EasyETL",
"max_stars_repo_path": "EasyETLDemo/ClassConfigurationForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155739"
} | starcoder | <filename>EasyETLDemo/ClassConfigurationForm.Designer.cs
namespace EasyXmlSample
{
partial class ClassConfigurationForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
... | 1.972815 | 575cd9ca47be98e98558d91285bdc19e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836520 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "mdamyanova/C-Sharp-Web-Development",
"max_stars_repo_path": "09.C# Web/09.02.C# MVC Frameworks - ASP.NET Core/04.ASP.NET Core - Indentity - Exercise/CameraBazaar/Services/Contracts/ICameraService.cs",
"provenance": "train-00027-of-00... | starcoder | <gh_stars>1-10
namespace CameraBazaar.Services.Contracts
{
using Models.Cameras;
using Data.Models.Enums;
using System.Collections.Generic;
public interface ICameraService
{
void Create(
CameraMake make,
string model,
decimal price,
int quant... | 1.889578 | 40777cc7fbef1b19663de81ea487e2d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836521 | {
"extension": "c-sharp",
"max_stars_count": "1430.0",
"max_stars_repo_name": "nko3/AtomOS",
"max_stars_repo_path": "src/Compiler/IL/Load/Ldstr.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155741"
} | starcoder | <filename>src/Compiler/IL/Load/Ldstr.cs
/*
* PROJECT: Atomix Development
* LICENSE: BSD 3-Clause (LICENSE.md)
* PURPOSE: Ldstr MSIL
* PROGRAMMERS: <NAME> (<EMAIL>)
*/
using System.Reflection;
using Atomix.Assembler.x86;
using Atomix.CompilerExt;
using Atomix.ILOpCodes;
usi... | 1.997743 | 53594054b07d9dba022e33a039f679e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836522 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "FDYdarmstadt/BoSSS",
"max_stars_repo_path": "src/ilPSP/layer_1.2-ilPSP/ilPSP.LinSolvers.MUMPS/DMUMPS_Struct.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155742"
} | starcoder | /*
* Copyright (C) 2010, <NAME>, Technische Universitaet Darmstadt, Fachgebiet fuer Stroemungsmechanik
*
* Use, modification and distribution is subject to the Boost Software
* License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*
* Authors: ... | 1.700358 | 6f56f4c4ff64de9a1a79aa67d95dd340 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836523 | {
"extension": "c-sharp",
"max_stars_count": "239.0",
"max_stars_repo_name": "yika-aixi/SkillSystem",
"max_stars_repo_path": "xNode_IcSkill/Base/GetChildGroupNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155743"
} | starcoder | <reponame>yika-aixi/SkillSystem<gh_stars>100-1000
using CabinIcarus.IcSkillSystem.xNode_Group;
using UnityEngine;
using XNode;
namespace CabinIcarus.IcSkillSystem.Nodes.Runtime
{
[CreateNodeMenu("CabinIcarus/IcSkillSystem/Behave Nodes/ChildGroup/Get")]
public class GetChildGroupNode:ANPBehaveNode<NPBehave.Node... | 1.828745 | 2bba8b207109432eaab4a896ed733eb8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836524 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "markhazleton/SolidSample",
"max_stars_repo_path": "ArdalisRatingWebApi/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:155744"
} | starcoder | @using ArdalisRatingWebApi
@using ArdalisRatingWebApi.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers | 1.848814 | c7a4c3171aed2e27751b5db44ab380b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836525 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xp-development/HomeAutomation",
"max_stars_repo_path": "Source/HomeAutomation.Server.Core.UnitTests/_RequestHandlers/_Devices/_GetDeviceDescriptionRequestHandler/Handle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155745"
} | starcoder | using FluentAssertions;
using HomeAutomation.Protocols.App.v0.Requests.Devices;
using HomeAutomation.Protocols.App.v0.Responses.Devices;
using HomeAutomation.Server.Core.DataAccessLayer;
using HomeAutomation.Server.Core.RequestHandlers.Devices;
using Xunit;
namespace HomeAutomation.Server.Core.UnitTests._RequestHandl... | 2.27185 | 83c22a3082332720e8a6a223677290fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836526 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeBusinessPlatform/Lykke.Job.NugetReferencesScanner",
"max_stars_repo_path": "src/Lykke.NuGetReferencesScanner/Domain/Abstractions/IScanProgress.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155746"
} | starcoder | namespace Lykke.NuGetReferencesScanner.Domain.Abstractions
{
internal interface IScanProgress
{
void SetRepoProgress(int processedReposCount);
void UpdateRepoProgress();
void UpdateProjectProgress();
}
}
| 1.492749 | 7d93b7a77df84d3aec4160d7ac9e36f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836527 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Softfire/softfire-monogame-libraries",
"max_stars_repo_path": "Softfire.MonoGame.UI/Shaders/UIShader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155747"
} | starcoder | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Softfire.MonoGame.UI.Shaders
{
public abstract class UIShader : BasicEffect
{
protected UIShader(GraphicsDevice device) : this(device, Matrix.Identity, Matrix.Identity, device.Viewport.Width, device.Viewport.Height)
... | 2.468162 | d1a5b6be6eb6e4e69e1ef234032c462a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836528 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "qwertyuu/Vuz",
"max_stars_repo_path": "Assets/Utilities/Singleton/SceneSingleton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155748"
} | starcoder | <filename>Assets/Utilities/Singleton/SceneSingleton.cs
using UnityEngine;
public abstract class SceneSingleton<T> : CommonSingleton where T : SceneSingleton<T>
{
protected static T Instance { get; private set; }
public virtual void Awake()
{
if (Instance != null)
{
Debug.LogEr... | 2.81039 | 3091ba8417eb9335f5b3a4cbbe32177c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836529 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "ankitkanojia/eClinic",
"max_stars_repo_path": "AyurvedOnCall/Models/Doctor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155749"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | 1.860665 | 6253db20ee4e4cdc61982847852f6ba4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836530 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mayaleh/Maya.Raynet.Crm",
"max_stars_repo_path": "src/Maya.Raynet.Crm/Model/Request/Put/Invoice.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155750"
} | starcoder | <reponame>mayaleh/Maya.Raynet.Crm
// Copyright (c) 2021 <NAME>. All Rights Reserved
// Licensed under the BSD-3-Clause License
// Generated at 28.11.2021 14:05:29 by RaynetApiDocToDotnet.ApiDocParser, created by <NAME>.
using System;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Maya.Raynet.Crm.... | 1.810957 | 0061f473018f758686d09cb18f81e042 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836531 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nager/Nager.MessageHandler",
"max_stars_repo_path": "src/Nager.MessageHandler/IMessageParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155751"
} | starcoder | <filename>src/Nager.MessageHandler/IMessageParser.cs
namespace Nager.MessageHandler
{
public interface IMessageParser
{
MessageBase Parse(byte[] data);
}
}
| 1.706715 | 3cbd234eee0eb9427dc4fbfa90f01007 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836532 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "OPEXGroup/ItemsFilter",
"max_stars_repo_path": "ITCC.ItemsFilter/View/RangeFilterView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155752"
} | starcoder | <reponame>OPEXGroup/ItemsFilter
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// ****************************************************************************
// <author><NAME></author>
// <email><EMAIL></e... | 2.04693 | d0d8e4bf749f76085a886ae7453a88d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836533 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MasterScott/CP77Tools",
"max_stars_repo_path": "CP77.CR2W/Types/cp77/gameActionReplicatedState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155753"
} | starcoder | using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class gameActionReplicatedState : CVariable
{
[Ordinal(0)] [RED("replicationId")] public CUInt32 ReplicationId { get; set; }
[Ordinal(1)] [RED("startTimeSt... | 1.055175 | c6258b8167a457db9e5c450d17e26c43 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836534 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mrstebo/RequestLogger.Serilog",
"max_stars_repo_path": "src/RequestLogger.Serilog.Tests/Formatters/DefaultMessageFormatterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155754"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using RequestLogger.Serilog.Formatters;
namespace RequestLogger.Serilog.Tests.Formatters
{
[TestFixture]
[Parallelizable]
public class DefaultMessageFormatterTests
{
[SetUp]
public void SetUp()
... | 2.456784 | 72e69a544dec1e96ffa38013bdfce5d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836535 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "gheyret/UyghurEditPP",
"max_stars_repo_path": "KenjiTab.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155755"
} | starcoder | using System;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace UyghurEditPP
{
public delegate void delgRemoveTab(int TabIndex);
public class KenjiTab : System.Windows.Forms.TabControl
{
private int _hotTabIndex = -1;
public delgRemoveTab RemoveTab=nu... | 2.157236 | 274e250c50b8b0040f15bd82f4da3fe5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836536 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SimonCropp/elasticsearch-net",
"max_stars_repo_path": "src/Elastic.Clients.Elasticsearch/_Generated/Types/Ml/ModelSizeStats.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155756"
} | starcoder | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗... | 1.35936 | a25b7939a09c7e81aca816d4b9160767 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836537 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/validity/src/checks/structured/SVFChecks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155757"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using static Root;
... | 1.88017 | e45810833e1168b12f659949a60e3469 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836538 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dku4cdm/SimpleCriteriaComparer",
"max_stars_repo_path": "SimpleCriteriaComparer/Interfaces/IBaseHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155758"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
namespace SimpleCriteriaComparer
{
public interface IBaseHelper
{
void UpdateAlternatives(List<string> alternatives, UIElementCollection collection);
... | 1.942701 | 2acb1d2b9c9ccb8f11502e2145c0fefc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836539 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SSteve/opencvsharp_samples",
"max_stars_repo_path": "CameraOpenCV/Scenario1_ExampleOperations.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155759"
} | starcoder | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICUL... | 2.123187 | 4044d5db073e4399e0d4dbca132585fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836540 | {
"extension": "c-sharp",
"max_stars_count": "248.0",
"max_stars_repo_name": "nicoleyuecao/Hastlayer-SDK",
"max_stars_repo_path": "Hast.Abstractions/Hast.Transformer.Abstractions/Configuration/MemberInvocationInstanceCountConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155760"
} | starcoder | using System;
using System.Diagnostics;
using System.Linq.Expressions;
namespace Hast.Transformer.Abstractions.Configuration
{
[DebuggerDisplay("{MemberNamePrefix + \": \" + MaxInvocationInstanceCount}")]
public class MemberInvocationInstanceCountConfiguration
{
/// <summary>
///... | 3.053462 | 61052589606c3176e37231f0759fa38c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836541 | {
"extension": "c-sharp",
"max_stars_count": "565.0",
"max_stars_repo_name": "Enigma422/OpenBullet2",
"max_stars_repo_path": "RuriLib/Legacy/Functions/Conditions/Condition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155761"
} | starcoder | using RuriLib.Legacy.Blocks;
using RuriLib.Legacy.Models;
using System;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
namespace RuriLib.Legacy.Functions.Conditions
{
/// <summary>
/// Static Class used to check if a condition is true or false.
/// </summary>
publ... | 3.079086 | ae0e7c847edc95c31bdccee0fa2014e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836542 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "rafsanulhasan/BlazorEssentials",
"max_stars_repo_path": "src/CloudNimble.BlazorEssentials.TestApp/ViewModels/WizardViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155762"
} | starcoder | <reponame>rafsanulhasan/BlazorEssentials
using CloudNimble.BlazorEssentials.Merlin;
using CloudNimble.BlazorEssentials.TestApp.Models;
using Microsoft.AspNetCore.Components;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
namespace CloudNimble.BlazorEssentials.TestApp.ViewModels... | 2.244529 | 17d3d5d75c9663d148a3b490fddb1723 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836543 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "frank-spec/NiceHashMiner",
"max_stars_repo_path": "src/NHMCore/Notifications/INotificationBaseAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155763"
} | starcoder | namespace NHMCore.Notifications
{
public interface INotificationBaseAction
{
}
}
| 1.188654 | 23e36ef6938ca17b71e42850de77e627 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836544 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "flier268/Win32API",
"max_stars_repo_path": "flier268.Win32API.Others/MCI_SYSINFO_PARMS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155764"
} | starcoder | <reponame>flier268/Win32API<filename>flier268.Win32API.Others/MCI_SYSINFO_PARMS.cs<gh_stars>1-10
namespace flier268.Win32API
{
public struct MCI_SYSINFO_PARMS
{
public int dwCallback;
public string lpstrReturn;
public int dwRetSize;
public int dwNumber;
public int wDe... | 1.40396 | c72add1717e4a366e01d91b90c042478 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836545 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tbasallo/toolshed.mailman",
"max_stars_repo_path": "Toolshed.Mailman/MailmanService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155765"
} | starcoder | <gh_stars>0
using MailKit.Net.Smtp;
using MailKit.Security;
using MimeKit;
using MimeKit.IO;
using MimeKit.Text;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace Toolshed.Mailman
{
public class MailmanService
{
private ViewRend... | 1.867281 | 417aadab851edaf8ae2cc776e3c0b716 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836546 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "harshanu11/Love-Babbar-450-In-CSharp",
"max_stars_repo_path": "Love-Babbar-450-In-CSharp/03_string/15_find_next_greater_no_with_same_set_of_digit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155766"
} | starcoder | /*
link: https://practice.geeksforgeeks.org/problems/next-permutation5226/1#
ref: 1_array/15_next_permutation.cpp
Example 1:
Input: nums = [1,2,3] = 123(current),132(next and ans) 213,231,312,321
Output: [1,3,2]
Example 2:
I... | 2.761767 | d7a73b735f4ff416d374e4883fa22255 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836547 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nathnael/cats",
"max_stars_repo_path": "Tests/Cats.Web.Hub.Tests/HubOwnerControllerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155767"
} | starcoder | <reponame>nathnael/cats<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using Cats.Models.Hubs;
using Cats.Services.Hub;
using Cats.Web.Hub.Controllers;
using Moq;
using NUnit.Framework;
namespace Cats.Web.Hub.Tests
{
[TestFixture]
public class HubOwnerCon... | 2.035251 | c056aeee583f552f81ddb75c7d3bbc19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836548 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "in-9/NewPlatform.Flexberry.ORM",
"max_stars_repo_path": "ICSSoft.STORMNET.DataObject/Design/ClassWithDinamicProperties.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155768"
} | starcoder | namespace ICSSoft.STORMNET.Design
{
using System;
using System.ComponentModel;
/// <summary>
/// Абстрактный класс позволяющий потомкам иметь динамический состав
/// свойств отображаемый в PropertyEditor
/// </summary>
[Serializable]
[TypeConverter(typeof(ExpandableObjectConverter))]
... | 2.768148 | f31a3a1c7c0355424697b7a6c427facd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836549 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "ThomasMiz/TrippyGL",
"max_stars_repo_path": "TrippyGL.Fonts/Rectpack/PackingHints.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155769"
} | starcoder | using System;
namespace TrippyGL.Fonts.Rectpack
{
/// <summary>
/// Specifies hints that help optimize the rectangle packing algorithm.
/// </summary>
[Flags]
public enum PackingHints
{
/// <summary>Tells the rectangle packer to try inserting the rectangles ordered by area.</summary>
... | 3.162762 | 203600924adfe93e046151730a868d71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836550 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kenny2312/ProyectoIngSoftware",
"max_stars_repo_path": "main/codigo/appweb/ProyectoRankingEmpresas/Jwt/FrontUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155770"
} | starcoder | using AutoMapper;
using EntityModel.MClass;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using ProyectoRankingEmpresas.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;... | 2.436176 | 85d5d483040b1a03d906e0359ea07daa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836551 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xamarinfiles/library-fancy-logger",
"max_stars_repo_path": "FancyLogger.Console/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155771"
} | starcoder | <reponame>xamarinfiles/library-fancy-logger
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
namespace FancyLogger.Console
{
internal static class Program
{
private static void Main()
{
// TestMultipleSimultaneousLoggers();
Logger ... | 2.750115 | 070aa9893921511ec5552eb31e856b5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836552 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hubertfuchs/Components",
"max_stars_repo_path": "WindowsFormsApp1/Class1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155772"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WindowsFormsApp1
{
public class Class1
{
public Class1()
{
string x = AppResources.String1;
var cultureInfo = new C... | 2.535741 | 43a285d548838220bbc03e23a9dc3083 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836553 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gillrs/FoodTruckNationApi",
"max_stars_repo_path": "src/FoodTruckNationApi/Schedules/SchedulesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155773"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Framework.ApiUtil.Controllers;
using Microsoft.Extensions.Logging;
using FoodTruckNation.Core.AppInterfaces;
using AutoMapper;
using FoodTruckNation.Co... | 2.479676 | ff37f1df627e0138cb5d4d0f80e9a48b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836554 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Balthius/StudioSolunaWebsite",
"max_stars_repo_path": "Pages/Skills.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:155774"
} | starcoder | @page
@model StudioSolunaWebPortfolio.Pages.SkillsModel
@{
ViewData["Title"] = "Skills";
}
<h1 class="page-header">Skills</h1>
@* https://devicon.dev *@
<section class="skills-section" id="skills">
<div class="grid-item">
<i class="devicon-android-plain colored"></i>
<h5>Android</h5>
</di... | 2.117977 | 97475cca6c367b97b030cf05a4881256 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836555 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "marionzr/nzr.orm",
"max_stars_repo_path": "dotnet/Nzr.Orm.Tests/Core/Models/Conversion/MappingTemplate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155775"
} | starcoder | using System;
namespace Nzr.Orm.Tests.Core.Models.Conversion
{
public partial class MappingTemplate
{
public Guid Id { get; set; }
public string Name { get; set; }
public MappingTemplate() => Id = Guid.NewGuid();
}
} | 1.612716 | e95aacbf846cb3505853c8899ad5d9fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836556 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KRDmitriy/DonorPlus",
"max_stars_repo_path": ".vs/DonorPlus/lut/0/i/DonorPlus/Release/netstandard2.0/Pages/Notifications.xaml.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155776"
} | starcoder | <filename>.vs/DonorPlus/lut/0/i/DonorPlus/Release/netstandard2.0/Pages/Notifications.xaml.g.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cau... | 1.608041 | 034d91f507ae84b7da50938b82bcc635 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836557 | {
"extension": "c-sharp",
"max_stars_count": "62.0",
"max_stars_repo_name": "hype8912/fluent-nhibernate",
"max_stars_repo_path": "src/FluentNHibernate.Specs/Automapping/PrivateAutomapperSpecs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155777"
} | starcoder | using System.Linq;
using FluentNHibernate.Automapping;
using FluentNHibernate.MappingModel.ClassBased;
using FluentNHibernate.Specs.Automapping.Fixtures;
using Machine.Specifications;
using FluentAssertions;
namespace FluentNHibernate.Specs.Automapping
{
public class when_using_the_private_automapper_to_... | 2.32263 | d035ec59faa1a51073a9a6c1d2399949 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836558 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yuriysokha/BTSEClient.Net",
"max_stars_repo_path": "BTSEClient/BtseApi.Tests/Spot/WalletHistory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155778"
} | starcoder | <gh_stars>1-10
using System;
using BtseApi.Client.DataClasses.Spot;
using NUnit.Framework;
namespace BtseApi.Tests.Spot
{
[TestFixture]
public class WalletHistoryTests
{
[Test]
public void WalletHistory()
{
var result = Client.Operations.Spot.Read.WalletHistory.Execute(... | 1.495976 | 6d873f94a6429aa307c07f50db4f8301 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836559 | {
"extension": "c-sharp",
"max_stars_count": "480.0",
"max_stars_repo_name": "timgaunt/resizer",
"max_stars_repo_path": "Tests/ImageResizer.Plugins.CopyMetadata.Tests/CopyMetadataTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155779"
} | starcoder | <gh_stars>100-1000
// Copyright (c) Imazen LLC.
// No part of this project, including this file, may be copied, modified,
// propagated, or distributed except as permitted in COPYRIGHT.txt.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Collections.Generic;
using System.Drawing;
using Sy... | 2.130161 | 3236fab549f7e5e4fc67aef47b034778 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836560 | {
"extension": "c-sharp",
"max_stars_count": "122.0",
"max_stars_repo_name": "magarma/pnpframework",
"max_stars_repo_path": "src/lib/PnP.Framework/Http/MsalHttpClientFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155780"
} | starcoder | <filename>src/lib/PnP.Framework/Http/MsalHttpClientFactory.cs<gh_stars>100-1000
using Microsoft.Identity.Client;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
namespace PnP.Framework.Http
{
internal class MsalHttpClientFactory : IMsalHttpClientFactory
{
pub... | 1.703585 | 84c174498255b1f37d48fed63fefad7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836561 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndrewToaster/SharpRinth",
"max_stars_repo_path": "Converters/ReleaseTypeConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155781"
} | starcoder | using System;
using System.Text.Json;
using System.Text.Json.Serialization;
using SharpRinth.Enums;
using SharpRinth.Versioning;
namespace SharpRinth.Converters
{
internal class ReleaseTypeConverter : JsonConverter<ReleaseType>
{
public override ReleaseType Read(ref Utf8JsonReader reader, Type typeToC... | 2.814383 | 5c1a7205999d079bb709aa6d72813816 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836562 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "profK/powerui",
"max_stars_repo_path": "Assets/PowerUI/Source/JavaScript/Web APIs/Geolocation/Geolocation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155782"
} | starcoder | <reponame>profK/powerui
//--------------------------------------
// PowerUI
//
// For documentation or
// if you have any issues, visit
// powerUI.kulestar.com
//
// Copyright © 2013 Kulestar Ltd
// www.kulestar.com
//--------------------------------------
using S... | 2.364388 | 10144fda35291b6da52b08da105a2b43 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836563 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "mzjensen/camber",
"max_stars_repo_path": "CamberUI/Civil/Styles/Label Styles/GeneralLabelStylesDropDown.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155783"
} | starcoder | <filename>CamberUI/Civil/Styles/Label Styles/GeneralLabelStylesDropDown.cs
#region references
using System.Collections.Generic;
using Newtonsoft.Json;
using Dynamo.Graph.Nodes;
using Camber.Civil.Styles.Labels.General;
#endregion
namespace Camber.UI
{
[NodeName("General Curve Label Styles")]
[NodeCategory("Ca... | 1.881548 | d9238590c8e2a017ccf1c710bac32232 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836564 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "concrest/diadophis",
"max_stars_repo_path": "test/Diadophis.Test/Middleware/InvokeAsyncMethodInjection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155784"
} | starcoder | <reponame>concrest/diadophis
// Copyright 2018 Concrest
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
namespace Diadophis.Test.Middleware
{
public class InvokeAsyncMethodInjection
{
private readonly Messag... | 1.769068 | 8774922fc50206f1eef73138acb44034 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836565 | {
"extension": "c-sharp",
"max_stars_count": "1238.0",
"max_stars_repo_name": "lsqtzj/Scut",
"max_stars_repo_path": "Source/Framework/ZyGames.Framework/RPC/Http/RestfulLink.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155785"
} | starcoder | /****************************************************************************
Copyright (c) 2013-2015 scutgame.com
http://www.scutgame.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... | 2.269481 | 87f28112cd6e41f44093d973cb373892 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836566 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SoftwareAG/cumulocity-sdk-cs",
"max_stars_repo_path": "REST-SDK/src/Cumulocity.SDK.Client/Rest/Representation/Builder/RestRepresentationObjectBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155786"
} | starcoder | <gh_stars>0
namespace Cumulocity.SDK.Client.Rest.Representation.Builder
{
public class RestRepresentationObjectBuilder
{
public static ManagedObjectRepresentationBuilder aManagedObjectRepresentation()
{
return new ManagedObjectRepresentationBuilder();
}
public static ManagedObjectReferenceRepresentationBu... | 1.171214 | 33f21e9d076c7975ea785fa71161f1c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836567 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JaydenB14/YandereSimulatorDecompiled",
"max_stars_repo_path": "Assembly-CSharp/WitnessMemoryType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155787"
} | starcoder | // Decompiled with JetBrains decompiler
// Type: WitnessMemoryType
// Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 5F8D6662-C74B-4D30-A4EA-D74F7A9A95B9
// Assembly location: C:\YandereSimulator\YandereSimulator_Data\Managed\Assembly-CSharp.dll
public enum WitnessMemoryType... | 1.450386 | d28cfaca0e35272269e728f007939c54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836568 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ongzhixian/mini-wms",
"max_stars_repo_path": "Wms/Extensions/StringExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155788"
} | starcoder | <filename>Wms/Extensions/StringExtension.cs
using System.Security.Cryptography;
using System.Text;
using Wms.Helpers;
namespace Wms.Extensions;
public static class StringExtensions
{
public static string ToCamelCase(this string src)
{
// This function does not transform abbreviations and acronyms.
... | 3.237969 | 09cb28cd15ed15162ec545ece85c0495 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836569 | {
"extension": "c-sharp",
"max_stars_count": "186.0",
"max_stars_repo_name": "iamzly/Titan.Blog.WebAPP",
"max_stars_repo_path": "Titan.Blog.WebAPP/Titan.Blog.WebAPP/Controllers/v2/ImageTestController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155789"
} | starcoder | <reponame>iamzly/Titan.Blog.WebAPP<gh_stars>100-1000
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Net.Http;
using System.Net.Http.Headers;
using Titan.Blog.Model.CommonModel.ResultModel;
using T... | 1.948211 | c29ad3185d7ae4a994494855ba5e4b18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836570 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Ibrahimmushtaq98/Inventory_Kamera",
"max_stars_repo_path": "InventoryKamera/Artifact.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155790"
} | starcoder | using System;
using System.ComponentModel;
using Newtonsoft.Json;
namespace InventoryKamera
{
[Serializable]
public class Artifact
{
[JsonProperty("setKey")]
public string SetName { get; private set; }
[JsonProperty("slotKey")]
public string GearSlot { get; private set; }
[JsonProperty("rarity")]
pub... | 2.721566 | 93381fe53054656fdc52e3664536ccc5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836571 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "9cubed/NineCubedMemo",
"max_stars_repo_path": "src/NineCubedMemo/NineCubedMemo/Memo/Exceptions/CancelException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155791"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NineCubed.Memo.Exceptions
{
public class CancelException : Exception
{
}
}
| 1.449733 | 16d777befc8d8a3f7f9a76b7a6ede7d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836572 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Injac/AuthServer",
"max_stars_repo_path": "src/AuthService/Storage/IStorageManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155792"
} | starcoder | <gh_stars>1-10
using Microsoft.WindowsAzure.Storage.Blob;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AuthService.Storage
{
/// <summary>
/// Defines the storage management
/// functions.
/// </summary>... | 2.400569 | 78913fdfdbf74246dde27ff7dd27797d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836573 | {
"extension": "c-sharp",
"max_stars_count": "1642.0",
"max_stars_repo_name": "colombod/corefxlab",
"max_stars_repo_path": "samples/AzCopyCore/AzCopyCore/Helpers/CommandLine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155793"
} | starcoder | <reponame>colombod/corefxlab
// 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.
namespace System.CommandLine
{
// TODO (pri 3): Should I use the command line libr... | 2.725218 | 2b13a4d4a443342512019a73dc3b1efc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836574 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LuanBraga/LoginExemplo",
"max_stars_repo_path": "LoginExemplo.Web/Security/PermissaoFiltro.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155794"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace LoginExemplo.Web.Security
{
public class PermissaoFiltro : AuthorizeAttribute
{
public override void OnAuthorization(AuthorizationContext filterContext)
{
... | 1.698002 | 19ac5fec7099e9cff5ad294a3571eea1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836575 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "thepirat000/guess-my-number",
"max_stars_repo_path": "GuessMyNumber/Provider/GameProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155795"
} | starcoder | using GuessMyNumber.Model;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.Json;
using GuessMyNumber.API.Helper;
using CachingFramework.Redis.Contracts;
using Microsoft.Extensions.Configuration;
using Microsof... | 2.56894 | 57401f314450536ccda650b49200ed40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836576 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "intentor/alchemy",
"max_stars_repo_path": "src/Intentor.Alchemy/AnalysisServiceHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155796"
} | starcoder | /****************************************
Intentor.Alchemy
*****************************************
Copyright © 2009 Intentor
Contact: <EMAIL>
****************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Intentor.Alchemy
{
... | 2.751536 | 1f96fd6a947827518d056f54777be4c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836577 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Luiz-Monad/azure-cosmos-table",
"max_stars_repo_path": "src/Microsoft.Azure.Cosmos.Table/Logger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155797"
} | starcoder | using Microsoft.Azure.Documents.Internals;
using System.Globalization;
namespace Microsoft.Azure.Cosmos.Table
{
internal static class Logger
{
internal static void LogError(OperationContext operationContext, string format, params object[] args)
{
DefaultTrace.TraceError(FormatLine(operationContext, format, ar... | 2.140207 | 86c4739675f71b2be8de4d0121b87b47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836578 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CreatorOfFame/Boids",
"max_stars_repo_path": "Assets/Scripts/BoidManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155798"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BoidManager : MonoBehaviour
{
public List<Boid> boids = new List<Boid>();
public Transform origin ;
public float boundsRadius;
public float detectionRadius;
public void AddBoid(Transform boid){
Boid... | 2.588237 | cd1b607083b550e3624093f7ed081446 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836579 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Team-FlowerPower/KICKERCUP",
"max_stars_repo_path": "KICKERCUP/LOGIC/ICompetitor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155799"
} | starcoder | <reponame>Team-FlowerPower/KICKERCUP<gh_stars>0
using System;
namespace Logic
{
public interface ICompetitor
{
/// <summary>
/// Mit dieser Methode kann das SkillLevel für 1vs1 berrechnet werden
/// </summary>
/// <param name="enemySkillLevel">SkillLevel des gegnerischen Teams<... | 2.496171 | de40bf3d67f2aee3ce3e63c2edf8ea08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836580 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "syncfusion/aspnet-mvc-ej1-demos",
"max_stars_repo_path": "Views/PivotClient/DrillThrough.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:155800"
} | starcoder | <gh_stars>1-10
@section SampleHeading{ <span class="sampleName">PivotClient-Drill Through-ASP.NET MVC-SYNCFUSION</span>}
@section MetaTags{
<meta name="description" content="This demo for Syncfusion Essential JS1 for ASP.NET MVC pivot client control describes how to view the raw data besides each value cell">
}
@u... | 1.766757 | 7f010bb03306ccdcb31a25f19f248e28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836581 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Huaweicloud-SDK/huaweicloud-sdk-net-v3",
"max_stars_repo_path": "Services/Evs/V2/Model/VolumeTypeForExport.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155801"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using HuaweiCloud.SDK.Core;
namespace HuaweiCloud.SDK.Evs.V2.Model
{
/// <summary>
/// 云硬盘类型信息。
/// </summary>
public class ... | 2.250127 | 85d39e0497e0c481cf28f08232f846da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836582 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "vic-alexiev/TelerikAcademy",
"max_stars_repo_path": "C# Fundamentals II/Homework Assignments/6. Exception Handling/04. DownloadFile/DownloadFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155802"
} | starcoder | <gh_stars>1-10
using System;
using System.IO;
using System.Net;
using System.Windows.Forms;
class DownloadFile
{
static void Main()
{
Console.Write("Enter a URL to download from: ");
string url = Console.ReadLine();
WebClient webClient = null;
try
{
string... | 3.475397 | a1c39c9c21eb60489d5b5d50dc187a2d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836583 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "intellegens-hr/utils-auth",
"max_stars_repo_path": "server/UtilsAuth.Core/Configuration/IUtilsAuthConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155803"
} | starcoder | namespace UtilsAuth.Core.Configuration
{
public interface IUtilsAuthConfiguration
{
public string Audience { get; }
public string Issuer { get; }
public string JwtKey { get; }
public int TokenDurationMinutes { get; }
public int RefreshTokenDurationHours { get; }
... | 1.67735 | 99271b2b63752f160c023fd511dfacbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836584 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trionteam/keep-it-undead",
"max_stars_repo_path": "Assets/Tests/EditMode/ControlledSprayTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155804"
} | starcoder | using System.Collections;
using NUnit.Framework;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.TestTools;
namespace Tests
{
public class ControlledSprayTest
{
private GameObject _controlledCureSprayPrefab;
... | 1.998672 | f9d8b3f78a64c2425c1bb2534d1c34dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836585 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "meanin/gab-2019",
"max_stars_repo_path": "gab-2019-app/gab-2019-app/Models/IndexViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155805"
} | starcoder | <filename>gab-2019-app/gab-2019-app/Models/IndexViewModel.cs
namespace gab_2019_app.Models
{
public class IndexViewModel
{
public string Hostname { get; set; }
public string Color { get; set; }
}
}
| 1.50754 | ba2b4a5fe60e6264e892ca66e529ff7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836586 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "itsdaniellucas/favorites-survey",
"max_stars_repo_path": "src/server-dotnet/FavoritesSurvey.Core/Architecture/BLL/IServiceResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155806"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace FavoritesSurvey.Core.Architecture.BLL
{
public interface IServiceResult
{
object Data { get; set; }
bool IsSuccessful { get; set; }
string Error { get; set; }
}
public interface IServiceResult<T> : IS... | 1.817659 | 0351544de503b36804c1afe503845c5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836587 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodingC1402/AcademicSavingServiceUI",
"max_stars_repo_path": "AcademicSavingService/DataAccess/ICreateReadDelete.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155807"
} | starcoder | using System;
using System.Collections.ObjectModel;
namespace AcademicSavingService.DataAccess
{
public interface ICreateReadDelete<T, t> where T : INPC.BaseINPC
{
void Create(T inpcObject);
ObservableCollection<T> GetAll();
void Delete(t key);
}
}
| 1.998521 | d1014a15e07eb16e6ec111af495d2050 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836588 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "deploy-f/Botf",
"max_stars_repo_path": "Deployf.Botf/System/ChainStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155808"
} | starcoder | using System.Collections.Concurrent;
using Telegram.Bot.Framework.Abstractions;
namespace Deployf.Botf;
public class ChainStorage
{
readonly IDictionary<long, ChainItem?> _chains;
public ChainStorage()
{
_chains = new ConcurrentDictionary<long, ChainItem?>();
}
public ChainItem? Get(lon... | 2.528597 | 99f4c7f2468d88b1a43a832274bf6145 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836589 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Skulek/AntiFraudSystem",
"max_stars_repo_path": "AntiFraudTests/OrderValidatorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155809"
} | starcoder | using System;
using AntiFraud.Orders.Validators;
using FluentAssertions;
using Xunit;
namespace AntiFraudTests
{
public class OrderValidatorTests : TestBase
{
private OrderDtoValidator orderDtoValidator;
public OrderValidatorTests()
{
orderDtoValidator = new OrderDtoValidat... | 2.518732 | 6db4e40f6ae2dd6a6bb7035075b7a775 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836590 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "RIDICS/ITJakub",
"max_stars_repo_path": "UJCSystem/Vokabular.ImportTestData.App/DataProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155810"
} | starcoder | <reponame>RIDICS/ITJakub
using System.IO;
namespace Vokabular.ImportTestData.App
{
public class DataProvider
{
private readonly TextWriter m_output;
private readonly TextReader m_input;
public DataProvider(TextWriter output, TextReader input)
{
m_output = output;
... | 2.666974 | 1b3358beaf08b79ec0afe907200bd6aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836591 | {
"extension": "c-sharp",
"max_stars_count": "67.0",
"max_stars_repo_name": "oldrev/mapmatchingkit",
"max_stars_repo_path": "src/Sandwych.MapMatchingKit/Spatial/Projection/Epsg3395To4326CoordinateTransformation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155811"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Sandwych.MapMatchingKit.Spatial.Projection
{
public sealed class Epsg3395To4326CoordinateTransformation : AbstractWktCoordinateTransformation
{
public Epsg3395To4326CoordinateTransformation() : base(WellKnownConstants.Epsg339... | 1.653599 | 0b3d2398adf5fe0dfbd71119527be67a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836592 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ssinno28/FileManager.Azure",
"max_stars_repo_path": "FileManager.Azure/Helpers/BlobContainerHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155812"
} | starcoder | <reponame>ssinno28/FileManager.Azure
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Azure.Storage.Blob;
namespace FileManager.Azure.Helpers
{
public static class BlobContainerHelpers
{
public static async Task<List<IListBlobItem>> ListBlobsAsync(this CloudBlobContainer... | 2.270229 | 4ffbfd489240f0d0822de4b93c850940 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836593 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rmarnon/HBSIS_Padawan.Sstema.Boletim",
"max_stars_repo_path": "HBSIS_Padawan.Sistema.Boletim.Models/Models/Aluno.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155813"
} | starcoder | <reponame>rmarnon/HBSIS_Padawan.Sstema.Boletim
using System;
using System.Collections.Generic;
namespace HBSIS_Padawan.Sistema.Boletim.Models
{
public class Aluno
{
public int Id { get; set; }
public string Nome { get; set; }
public string Sobrenome { get; set; }
public string ... | 1.843452 | e8a00649505800f2bae57e1b6bd6a674 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836594 | {
"extension": "c-sharp",
"max_stars_count": "324.0",
"max_stars_repo_name": "dsychin/RiotSharp",
"max_stars_repo_path": "RiotSharp/Endpoints/StaticDataEndpoint/ReforgedRune/StaticReforgedRuneEndpoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155814"
} | starcoder | using Newtonsoft.Json;
using RiotSharp.Caching;
using RiotSharp.Endpoints.Interfaces.Static;
using RiotSharp.Endpoints.StaticDataEndpoint.ReforgedRune.Cache;
using RiotSharp.Http.Interfaces;
using RiotSharp.Misc;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace RiotSharp.Endpoin... | 2.234012 | 61d858cf5d8017c831d7e3bf541cea31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836595 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "xoofx/GitLib.NET",
"max_stars_repo_path": "src/GitLib.Tests/revert.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155815"
} | starcoder | <reponame>xoofx/GitLib.NET
using System;
using System.IO;
using NUnit.Framework;
namespace GitLib.Tests
{
using static libgit2;
public partial class RevertTests
{
[Test]
public void Test_git_revert_init_options()
{
Assert.Fail($"Tests for method `{nameof(git_rever... | 1.641614 | aeda82aed06e1e5b9ece93f7d23c6bce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836596 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "hybridmachine/DSP",
"max_stars_repo_path": "UnitTests/WindowedSyncFilterTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155816"
} | starcoder | <reponame>hybridmachine/DSP<filename>UnitTests/WindowedSyncFilterTest.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SignalProcessor;
using SignalProcessor.Filters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SignalProcessor.In... | 2.217 | 0a3b1b518b13c561723623d744fb7ee5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836597 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AungWinnHtut/POL",
"max_stars_repo_path": "C#/CsMySqlClean2020/frmLogin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155817"
} | starcoder | <filename>C#/CsMySqlClean2020/frmLogin.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MySql.Data.MySqlClient;
namespace WindowsF... | 2.725811 | 966b49a9d18b9ddf394ac5bb61a2dd72 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836598 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "axence/nearforums",
"max_stars_repo_path": "solution/NearForums.Web.Controllers/Helpers/SecurityHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155818"
} | starcoder | <gh_stars>0
using System;
using DotNetOpenAuth.OpenId.Extensions.SimpleRegistration;
using NearForums.Web.State;
using System.Web;
using NearForums.Configuration;
using System.Globalization;
using NearForums.Web.Controllers.Helpers.OAuth;
using DotNetOpenAuth.OAuth.ChannelElements;
using DotNetOpenAuth.OpenId.... | 1.877617 | 22bc46663acf6ee57ec36ee6c1422def |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836599 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lurienanofab/reports",
"max_stars_repo_path": "Reports/Models/EmailPreferenceModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155819"
} | starcoder | using LNF.Reporting;
using System.Collections.Generic;
namespace Reports.Models
{
public class EmailPreferenceModel
{
public int ClientID { get; set; }
public string DisplayName { get; set; }
public IEnumerable<IReportingClient> AvailableClients { get; set; }
public IEnumerable... | 2.003102 | 6a936d78df530aab6f696a44f70795ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836600 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AppInLab/BusinessManager",
"max_stars_repo_path": "PoissonnerieApi/Controllers/PaiementsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155820"
} | starcoder | <reponame>AppInLab/BusinessManager<filename>PoissonnerieApi/Controllers/PaiementsController.cs
using BusinessEngine.Manager;
using BusinessEngine.Models;
using Newtonsoft.Json.Linq;
using PoissonnerieApi.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;... | 2.526834 | f6c14488292bacda046296257a7cdbad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836601 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RisulKarimWG/GameX",
"max_stars_repo_path": "Assets/_Project/Sources/WG/Player/BigEnemyHealth.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155821"
} | starcoder | <filename>Assets/_Project/Sources/WG/Player/BigEnemyHealth.cs<gh_stars>1-10
using UnityEngine;
using UnityEngine.Serialization;
using WG.GameX.Enemy;
namespace WG.GameX.Player
{
public class BigEnemyHealth : MonoBehaviour
{
[Range(0,1)]
[SerializeField] private float _health;
[Header(... | 2.362445 | c69b204d320d9c103359f9a641f6d58d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836602 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "hdneo/mxo-hd",
"max_stars_repo_path": "hds/monolith/LtTypes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155822"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace hds {
public interface LtType {
int _Size { get;} // Internal usage, not for developpers
}
public class LtQuaternion:LtType {
public float a { get; set; }
public float b { get; set; }
... | 2.61159 | f5a4fd69f37066bd75cee1d452132167 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836603 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "fr1tz/terminal-overload",
"max_stars_repo_path": "My Projects/main/game/content/xa/notc/mis/eth2/mission.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155823"
} | starcoder | // Copyright information can be found in the file named COPYING
// located in the root directory of this distribution.
// Note: The server executes this file.
datablock TacticalZoneData(notcEth2TerritoryZone : TerritoryZone)
{
className = "TerritoryZone"; // don't mess with this
isTerritoryZone = true;
... | 1.513273 | bb0525e208ebc6a1162d8ebd7666f8a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836604 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tainicom/WPF-PropertyGrid-Control",
"max_stars_repo_path": "Tests/WPG.UnitTests/Metadata/NumberRangeAttributeTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155824"
} | starcoder | <gh_stars>1-10
using tainicom.WpfPropertyGrid;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace WpfPropertyGrid.UnitTests.Metadata
{
[TestClass]
public class NumberRangeAttributeTest
{
[TestMethod]
public void ShouldAssignAllProperties()
{
NumberRangeAttribute attribute = new Numb... | 2.548438 | 99b8b755d07040c0c20ae4ae41fd3082 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836605 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "insperedia/secucard-connect-net-sdk",
"max_stars_repo_path": "lib/Secucard.Connect/Product/Payment/Model/PaymentInstrument.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155825"
} | starcoder | namespace Secucard.Connect.Product.Payment.Model
{
using System;
using System.Collections.Specialized;
using System.Runtime.Serialization;
[DataContract]
public class PaymentInstrument
{
public const string PaymentInstrumentTypeBankAccount = "bank_account";
public const string ... | 2.747518 | 7eb4d9be1fcf9979c96bb1692911c6b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836606 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dongocquy/SlackNet",
"max_stars_repo_path": "SlackNet.SimpleInjector/ContainerExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155826"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Reactive.Concurrency;
using SimpleInjector;
using SlackNet.Handlers;
using SlackNet.Interaction;
using SlackNet.Interaction.Experimental;
using SlackNet.SocketMode;
using Container = SimpleInjector.Container;
namesp... | 1.714467 | 55abd6559dcc253aab21cca8906306dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836607 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JeremyKuhne/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/Windows/um/msctf/ITextStoreACPServices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155827"
} | starcoder | // Copyright © <NAME> and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/msctf.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtime.CompilerS... | 1.552949 | 2f674193e827134d436def83e21cbe32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836608 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iandreyshev/Dreamland",
"max_stars_repo_path": "Backend/Server/Storage/Dreams/IDreamsStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155828"
} | starcoder | using Dreamland.Domain;
using System.Collections.Generic;
namespace Dreamland.Storage.Dreams
{
public interface IDreamsStorage : IStorage
{
List<Dream> All(long userId);
long Add(Dream dream);
void Update(Dream dream);
void Delete(long dreamId);
void DeleteAllForUser(long userId);
}
}
| 1.817136 | a1e79bcfab35f36fab0840f144c67e94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836609 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sander0542/UnraidAPI",
"max_stars_repo_path": "src/Sander0542.UnraidAPI.Types/VmNetwork.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155829"
} | starcoder | using System.Text.Json.Serialization;
namespace Sander0542.UnraidAPI.Types
{
public class VmNetwork
{
[JsonPropertyName("_placeholderType")]
public string PlaceholderType { get; set; }
}
} | 1.585776 | 943f0cfd7b4b2d020483f4c15d03114f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836610 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "EladGabay/pulumi-oci",
"max_stars_repo_path": "sdk/dotnet/Opsi/Outputs/GetHostInsightsHostInsightSummaryCollectionItemResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155830"
} | starcoder | <gh_stars>1-10
// *** 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.Serial... | 1.575411 | 0fcbe674e100f2dba5847961cbac2201 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836611 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "loftum/convenient.connectivity",
"max_stars_repo_path": "src/Convenient.Gooday/Domain/Records/IRecord.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155831"
} | starcoder | <gh_stars>0
namespace Convenient.Gooday.Domain.Records
{
public interface IRecord
{
}
} | 1.020681 | 76e0439c44df82175cc27ca8e134e1dc |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.