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 | 8844212 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gouki04/RPGMakerAutoTileImporter",
"max_stars_repo_path": "Assets/Scripts/Editor/AutoTileEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163432"
} | starcoder | <reponame>gouki04/RPGMakerAutoTileImporter
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEngine;
using UnityEngine.Assertions;
namespace RPGMakerAssetImporter
{
public class AutoTileEditor : EditorWindow
{
protected enum EAutoTileType
{
... | 2.070015 | 4a830d3350db968701af70308c29d11d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844213 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "kozlov-d/QSProjects",
"max_stars_repo_path": "QS.Project/Deletion/Configuration/IHibernateDeleteRule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163433"
} | starcoder | <filename>QS.Project/Deletion/Configuration/IHibernateDeleteRule.cs<gh_stars>1-10
using System;
namespace QS.Deletion.Configuration
{
public interface IHibernateDeleteRule : IDeleteRule
{
bool IsRootForSubclasses { get; }
bool IsRequiredCascadeDeletion { get; }
bool IsSubclass { get; }
Type[] GetSubclasses(... | 1.717467 | 5ea01da2bcee9eee8ed3601c16edc9de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844214 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "npocmaka/Windows-Server-2003",
"max_stars_repo_path": "com/netfx/src/framework/vsdesigner/designer/microsoft/visualstudio/designer/shell/designereditorfactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163434"
} | starcoder | <reponame>npocmaka/Windows-Server-2003
//------------------------------------------------------------------------------
// <copyright file="DesignerEditorFactory.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright> ... | 1.540946 | a966f594d43d871c4d5448de89d5115b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844215 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "enchev-93/Telerik-Academy",
"max_stars_repo_path": "01.C Sharp part 1/03.OperatorsAndExpressions/CheckABitAtGivenPosition/CheckABitAtGivenPosition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163435"
} | starcoder | //Problem 13. Check a Bit at Given Position
//Write a Boolean expression that returns if the bit at position
//p (counting from 0, starting from the right) in given integer number n, has value of 1.
//Examples:
//n binary representation of n p bit @ p == 1
//5 00000000 00000101 2 true
//0... | 3.909001 | 8f6c66b10ae089792339917819a71fd5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844216 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "nickkats/WPF_MVVMC",
"max_stars_repo_path": "MVVMC/INavigationService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163436"
} | starcoder | <reponame>nickkats/WPF_MVVMC<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace MVVMC
{
public interface INavigationService
{
void NavigateWithController<TViewModel>(object parameter = n... | 2.102064 | 695e6c12b76066af814a9defaaa680fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844217 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LostSoulfly/BifrostExtended",
"max_stars_repo_path": "BifrostExtended/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163437"
} | starcoder | namespace BifrostExtended
{
public class Extensions
{
}
} | 0.833028 | f781fb1c605d12ea894f5eb21d670e61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844218 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MKachi/UnityPie",
"max_stars_repo_path": "Assets/Pie/Editor/HierarchyAdder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163438"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using System.Text;
namespace Pie.Editor
{
public sealed class HierarchyAdder
{
public static GameObject Add(string name, params Component[] components)
{
int failCount = 0;
string objectName = name;
StringBuilder sb = new S... | 2.55685 | 1ecf07e0139fa73fc72a5ee8f8eb7f08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844219 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sajink/az.storage",
"max_stars_repo_path": "Az.Storage/AddServices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163439"
} | starcoder | <gh_stars>1-10
namespace Az.Storage
{
using Az.Storage.Cache;
using Microsoft.Extensions.DependencyInjection;
public static class AddServices
{
/// <summary>
/// Adds AzureStorageContext to the collection,
/// and also sets the Context property
/// for EntityCache and M... | 2.371322 | a0b24d76fecef390304c74e8322b5d20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844220 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mostafa8026/tdsharp",
"max_stars_repo_path": "TDLib.Api/Functions/SetFileGenerationProgress.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163440"
} | starcoder | using System;
using Newtonsoft.Json;
namespace TdLib
{
/// <summary>
/// Autogenerated TDLib APIs
/// </summary>
public partial class TdApi
{
/// <summary>
/// Informs TDLib on a file generation prograss
/// </summary>
public class SetFileGenerationProgress : Functio... | 2.320122 | 86d7f6ccb76a22a8fc451c08fb3da0b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844221 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jucer74/WebDev",
"max_stars_repo_path": "Proyecto/WebDev/WebDev.Application/Mappers/TokenMapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163441"
} | starcoder | <reponame>Jucer74/WebDev<filename>Proyecto/WebDev/WebDev.Application/Mappers/TokenMapper.cs<gh_stars>0
using WebDev.Application.Models;
using WebDev.Services.Entities;
namespace WebDev.Application.Mappers
{
public class TokenMapper
{
protected TokenMapper()
{
}
public static TokenData ToEntity(T... | 2.147375 | 5b2c86cda6b71507d468f3e1df6da7f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844222 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lucrecious/Battle-Team",
"max_stars_repo_path": "game/battle_team/Scenes/Arena/ArenaBehavior.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163442"
} | starcoder | <reponame>Lucrecious/Battle-Team
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using BattleTeam.Entities.Behaviors;
using BattleTeam.PythonComponents.Collections;
using BattleTeam.PythonComponents.Environment;
using BattleTeam.PythonComponents.Objects;
using BattleTeam.PythonCompo... | 2.318042 | a7796282a5d72c081cc906575733d238 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844223 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZoolWay/EliteExx",
"max_stars_repo_path": "EliteExx/EliteDangerous/Journal/Composition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163443"
} | starcoder | using System;
namespace Zw.EliteExx.EliteDangerous.Journal
{
public class Composition
{
public double Ice { get; }
public double Rock { get; }
public double Metal { get; }
}
}
| 1.742172 | ba07bfa29299c737cb703d51cacc6804 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844224 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ConnectSDK/Connect-SDK-Windows",
"max_stars_repo_path": "Discovery/Provider/ssdp/Argument.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163444"
} | starcoder | <filename>Discovery/Provider/ssdp/Argument.cs
#region Copyright Notice
/*
* ConnectSdk.Windows
* Argument.cs
*
* Copyright (c) 2015, https://github.com/sdaemon
* Created by <NAME> on 22-4-2015,
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance... | 2.24194 | 3af1aec1bd391e991d7512816b88c689 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844225 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dexter245/exercism",
"max_stars_repo_path": "csharp/resistor-color/ResistorColor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163445"
} | starcoder | using System;
public static class ResistorColor
{
readonly static string[] colors = { "black", "brown", "red", "orange", "yellow", "green", "blue", "violet", "grey", "white" };
public static int ColorCode(string color)
{
for(int i = 0; i < colors.Length; i++)
{
if (colors[i].Eq... | 3.354821 | 97297c17089cf8079639328de492cd62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844226 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EBrown8534/Using-Programming",
"max_stars_repo_path": "Cs Programs/Poor Cookie Authentication (17-4-2018)/Poor Cookie Authentication (17-4-2018)/Default.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163446"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Poor_Cookie_Authentication__17_4_2018_
{
public partial class Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
... | 2.101566 | 9aebcf903ef434740a20aeceed1d10e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844227 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EsriCanada/ParcelFabricCurveByInference",
"max_stars_repo_path": "ParcelFabricCurveByInference/CurveByInferenceButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163447"
} | starcoder | <reponame>EsriCanada/ParcelFabricCurveByInference
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using ESRI.ArcGIS.Framework;
namespace ParcelFabricCurveByInference
{
public class CurveByInferenceButton : ESRI.ArcGIS.Desktop.AddIns.Button
{
public CurveByInferenceB... | 1.830961 | 4ac1006e6b7afdc99a96b372a902c6aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844228 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "infinitydirico/homemanagement",
"max_stars_repo_path": "HomeManagement.App/HomeManagement.App/Converters/DateConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163448"
} | starcoder | using Autofac;
using HomeManagement.Localization;
using System;
using System.Globalization;
using Xamarin.Forms;
namespace HomeManagement.App.Converters
{
public class DateConverter : IValueConverter
{
private readonly ILocalization localization = App._container.Resolve<ILocalization>();
publ... | 2.487299 | 45a0771b7d675ce39ea5fc58c0130d87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844229 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Kopernicus/pqsmods-standalone",
"max_stars_repo_path": "Unity/XnaGeometry/Quaternion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163449"
} | starcoder | #region License
/*
MIT License
Copyright © 2006 The Mono.Xna Team
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights... | 2.439815 | dbe6ffb9efbaa08659cb045538e406f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844230 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khooversoft/Toolbox.Core",
"max_stars_repo_path": "Src/Dev/Toolbox.Core/Toolbox.Configuration/Extensions/ConfigurationExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163450"
} | starcoder | // Copyright (c) KhooverSoft. All rights reserved.
// Licensed under the MIT License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Text;
using Khooversoft.Toolbox.Standard;
namespace Kh... | 2.397188 | c2e25ff59a6c1b9f66cf3fecf40c780c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844231 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mrk21/minecraft-clone",
"max_stars_repo_path": "Assets/MinecraftClone/Scripts/Domain/Block/StoneBlock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163451"
} | starcoder | <reponame>mrk21/minecraft-clone
using UnityEngine;
using MinecraftClone.Infrastructure;
namespace MinecraftClone.Domain.Block
{
class StoneBlock : BaseBlock
{
public StoneBlock()
{
this.blockId = 3;
this.traits = BlockTraits.SolidBlock;
}
}
} | 1.739996 | c63849bff13b5cb999cafa37a4b08e20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844232 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "AndyButland/UmbracoPersonalisationGroupsCore",
"max_stars_repo_path": "PersonalisationGroups/Providers/GeoLocation/ICountryCodeProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163452"
} | starcoder | <gh_stars>1-10
namespace Our.Umbraco.PersonalisationGroups.Providers.GeoLocation
{
public interface ICountryCodeProvider
{
string GetCountryCode();
}
}
| 1.30144 | d46e17ebe93adbcde9ea3a78f5a7dcda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844233 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "eventphone/rfpproxy",
"max_stars_repo_path": "RfpProxy.AaMiDe/AaMiDe/Sys/SysLicenseTimerMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163453"
} | starcoder | <gh_stars>1-10
using System;
using System.Buffers.Binary;
using System.IO;
using RfpProxyLib;
namespace RfpProxy.AaMiDe.Sys
{
public sealed class SysLicenseTimerMessage : AaMiDeMessage
{
public TimeSpan GracePeriod { get; }
/// <summary>
/// md5sum of binary PARK
/// </summary... | 2.533612 | fb4c5f7a67f30356e93440ac56eb78f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844234 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PotatoMaster101/mojapi",
"max_stars_repo_path": "src/Mojapi.Core/Common/Player.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163454"
} | starcoder | <gh_stars>0
using System;
using System.Text.Json;
namespace Mojapi.Core.Common
{
/// <summary>
/// Stores the player username and UUID.
/// </summary>
public record Player
{
/// <summary>
/// Gets the player username.
/// </summary>
/// <value>The player username.</... | 2.715579 | 9b79b8b52f489e04327b84fd9284ddc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844235 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "djish/typetester",
"max_stars_repo_path": "Entities/Stream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163455"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Entities
{
public enum Stream
{
Lower = 1,
Higher = 2
}
}
| 1.822954 | d2a0ff1077bf2eb853c545e08dcd35ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844236 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CountrySideEngineer/TestSupportTools",
"max_stars_repo_path": "AutoTestPrep/dev/src/TestParser/Reader/ExcelReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163456"
} | starcoder | <reponame>CountrySideEngineer/TestSupportTools<gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ClosedXML;
using ClosedXML.Excel;
namespace TestParser.Reader
{
/// <summary>
/// Read read and get data fr... | 2.537425 | f0042b7b74285fe21ca580d15ccb77f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844237 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scottenriquez/cdktf-alpha-csharp-testing",
"max_stars_repo_path": "resources/.gen/aws/aws/IWafv2WebAclRuleStatementRateBasedStatementScopeDownStatementAndStatementStatementOrStatementStatementSizeConstraintStatementFieldToMatch.cs",
"... | starcoder | using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiInterface(nativeType: typeof(IWafv2WebAclRuleStatementRateBasedStatementScopeDownStatementAndStatementStatementOrStatementStatementSizeConstraintStatementFieldToMatch), fullyQualifiedName: "aws.Wafv2WebAclRuleState... | 1.67925 | c73ef822e85979a63fce0b7c89e9a048 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844238 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Suikoden001/SharpDeck",
"max_stars_repo_path": "src/SharpDeck/StreamDeckActionAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163458"
} | starcoder | namespace SharpDeck
{
using System;
/// <summary>
/// Provides identifier information for a Stream Deck action.
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public class StreamDeckActionAttribute : Attribute
{
/// <summary>
/// Initializes ... | 3.176069 | 250dde4b53f54f3b4dd0086826ff1512 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844239 | {
"extension": "c-sharp",
"max_stars_count": "1629.0",
"max_stars_repo_name": "aTiKhan/CommunityServer",
"max_stars_repo_path": "web/studio/ASC.Web.Studio/Products/Community/Modules/Bookmarking/UserControls/SingleBookmarkUserControl.ascx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163459"
} | starcoder | /*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable la... | 1.646889 | 17e74ed7c3355a0bdd15526d07fc5720 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844240 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Minstreams/FloorBlaster",
"max_stars_repo_path": "Assets/Scripts/SubSystem/AudioSystem/Linker/AudioConfigLinker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163460"
} | starcoder | using UnityEngine;
namespace GameSystem.Linker
{
[AddComponentMenu("[AudioSystem]/Linker/AudioConfigLinker")]
public class AudioConfigLinker : MonoBehaviour
{
#if UNITY_EDITOR
[MinsHeader("Linker of AudioSystem", SummaryType.PreTitleLinker, -1)]
[MinsHeader("Audio Config Linker", SummaryTy... | 2.09938 | 4e7808631a19a2b7892f3d34cb146e42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844241 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TheDimin/UnityGameplayFramework",
"max_stars_repo_path": "Packages/GameplayFramework/Runtime/Core/StateManager/GameStates/MainMenuState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163461"
} | starcoder | <gh_stars>1-10
using GameplayFramework.State;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace GameplayFramework.Core.Internal.State
{
/// <summary>
/// De eerste state waar de game inzit,
/// Displayed de tutorial en wacht op de input om naar de gamestate te gaan.
/// </summary>
pu... | 2.478768 | 88079ebe44b3b9bb69d60373b253c811 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844242 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bruno-N-Fernandes/MPSC.PlenoSoft.Flux",
"max_stars_repo_path": "src/ControlFlux.Tests/Core/TestingEvaluate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163462"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Globalization;
namespace MPSC.PlenoSoft.ControlFlux.Tests.Core
{
[TestClass]
public class TestingEvaluate
{
[TestMethod]
public void Evaluate()
{
var result = Resolve("(1 + (2 + 3)) + (4 + (5 +... | 2.86991 | 31f39610858c8b235e0de47a73a01964 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844243 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jackobo/jackobs-code",
"max_stars_repo_path": "DeveloperTool/src/TfsExplorer/Models/Build/Builders/Actions/PostCompile/Validation/CheckOutputFileExistAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163463"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Spark.TfsExplorer.Models.Build
{
public class CheckOutputFileExistAction : IBuildAction
{
public CheckOutputFileExistAction(IOutputFile outputFile)
{
... | 2.518703 | 5e573c112d77a45e0efa695335e6db1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844244 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amz-hjinfeng/ScrapyCore",
"max_stars_repo_path": "ScrapyCpre.Fundamental/Scheduler/Models/ScheduleSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163464"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace ScrapyCore.Fundamental.Scheduler.Models
{
public class ScheduleSource
{
public string Name { get; set; }
public string Type { get; set; }
public object Parameters { get; set; }
}
}
| 1.595855 | c0aa92f61560d61a45e4d9a35d5b1c0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844245 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "peterwurzinger/ValueInjection",
"max_stars_repo_path": "ValueInjection.Test/Data/ReadonlyDestinationPropertyTestData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163465"
} | starcoder | namespace ValueInjection.Test.Data
{
public class ReadonlyDestinationPropertyTestData
{
public int ValueKey { get; set; }
[ValueInjection(typeof(RemoteTestData), nameof(ValueKey), nameof(RemoteTestData.RemoteValue))]
public string InjectedValue { get; }
}
}
| 1.733798 | 2f6252d0c98f5f1f824ee2a0ba3637b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844246 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uareurapid/nightinthewoods",
"max_stars_repo_path": "Assets/Scripts/HealthScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163466"
} | starcoder | using UnityEngine;
/// <summary>
/// Handle hitpoints and damages
/// </summary>
public class HealthScript : MonoBehaviour
{
/// <summary>
/// Total hitpoints
/// </summary>
public int hitPoints = 1;
private int initialHealth;
/// <summary>
/// Enemy or player?
/// </summary>
public bool isEnemy = true;
pr... | 2.763116 | b562328b29040355d40f65e4337b4aa6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844247 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "novagen/trafikinfo",
"max_stars_repo_path": "Trafikverket/Delegates.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163467"
} | starcoder | <filename>Trafikverket/Delegates.cs
using Apparent.Trafikverket.EventArgs;
namespace Apparent.Trafikverket
{
public delegate void FailureEventHandler(object sender, FailureEventArgs e);
public delegate void ResponseEventHandler(object sender, SuccessEventArgs e);
} | 1.548172 | 39c6d43327dbde405f97bb8893d131b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844248 | {
"extension": "c-sharp",
"max_stars_count": "90.0",
"max_stars_repo_name": "b4tman/WireGuardServerForWindows",
"max_stars_repo_path": "WireGuardServerForWindows/Models/ClientConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163468"
} | starcoder | using System;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Input;
using System.Windows.Threading;
using GalaSoft.MvvmLight.Command;
using QRCoder;
using SharpConfig;
using WireGuardServerForWindows.Extensions;
using WireGuardServerFo... | 2.222419 | 3b2eb26cc36265862ae57bac5c3978a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844249 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "atc-net/atc-rest-api-generator-cli",
"max_stars_repo_path": "src/Atc.Rest.ApiGenerator/Helpers/XunitTest/ParameterCombinationHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163469"
} | starcoder | <reponame>atc-net/atc-rest-api-generator-cli
// ReSharper disable ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator
// ReSharper disable LoopCanBeConvertedToQuery
namespace Atc.Rest.ApiGenerator.Helpers.XunitTest;
public static class ParameterCombinationHelper
{
public static List<List<OpenApiParameter>> GetCo... | 2.398345 | be96935eb4ef51e975ffc49a7bb272ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844250 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JoanStinson/MiniSlots",
"max_stars_repo_path": "MiniSlots/Assets/Scripts/Events/GameEventListener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163470"
} | starcoder | <filename>MiniSlots/Assets/Scripts/Events/GameEventListener.cs
using System;
using UnityEngine;
namespace JGM.Game.Events
{
[Serializable]
public class GameEventListener : MonoBehaviour
{
[SerializeField] private GameEvent _gameEvent;
[SerializeField] private UnityCustomGameDataEvent _onTr... | 2.391987 | 4b05179e8d3f1c9f5447dcd6337fa40b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844251 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KalinVasilevSV/05.Arrays-and-Methods-More-Exercises",
"max_stars_repo_path": "04.Grab-and-Go/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163471"
} | starcoder | using System;
using System.Linq;
namespace _04.Grab_and_Go
{
class Program
{
static void Main(string[] args)
{
int[] arr = Console.ReadLine().Split().Select(int.Parse).ToArray();
int n = int.Parse(Console.ReadLine());
int lastOccuranceIndex = FindLastOccur... | 3.93064 | b347ba633cdcaf6dd2cbfa5ec80a78f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844252 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "minami110/asmdef2plantuml",
"max_stars_repo_path": "Editor/Interfaces/IPlantUmlResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163472"
} | starcoder | <reponame>minami110/asmdef2plantuml<gh_stars>0
namespace asmdef2pu.Interfaces
{
internal interface IPlantUmlResult
{
public string Result { get; }
}
} | 1.557287 | 488a73004eb520a7462e222ad1e812c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844253 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "gregbunce/api.mapserv.utah.gov",
"max_stars_repo_path": "WebAPI.Dashboard/Global.asax.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163473"
} | starcoder | using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Ninject;
using WebAPI.Common.Logging;
using WebAPI.Dashboard.Cache;
namespace WebAPI.Dashboard
{
public class App : HttpApplication
{
public static IKe... | 1.768726 | 05f7bde4273ea32e706b583dbf839d23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844254 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "plioi/rook",
"max_stars_repo_path": "src/Rook.Test/Compiling/ScopeTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163474"
} | starcoder | <reponame>plioi/rook<gh_stars>0
using System;
using Rook.Compiling.Syntax;
using Rook.Compiling.Types;
using Should;
namespace Rook.Compiling
{
public class ScopeTests
{
private static readonly NamedType Integer = NamedType.Integer;
private static readonly NamedType Boolean = NamedType.Boolean... | 2.04693 | ae0606b239151bc1b58b6fb9e5ac5e56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844255 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "egordorichev/pico8-emulator",
"max_stars_repo_path": "Pico8Emulator/unit/audio/ChannelData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163475"
} | starcoder | <reponame>egordorichev/pico8-emulator<filename>Pico8Emulator/unit/audio/ChannelData.cs
namespace Pico8Emulator.unit.audio {
public struct ChannelData {
public bool IsSilent;
public byte SfxIndex;
}
} | 1.167824 | 81f52c34d236806d34e71ca378162717 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844256 | {
"extension": "c-sharp",
"max_stars_count": "63.0",
"max_stars_repo_name": "MarkoBL/Rosi",
"max_stars_repo_path": "Tests/Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163476"
} | starcoder | using System;
using System.IO;
using System.Threading.Tasks;
using Xunit;
using Rosi.Runtime;
namespace Rosi.Tests
{
public class Test
{
public static string BasePath = ".";
public static bool UnitTest = true;
public static bool Debug;
static DirectoryInfo _rootPath;
... | 2.386289 | a3a14b51a9ea86e136d1392f28e945cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844257 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "seanlinmt/tradelr",
"max_stars_repo_path": "tradelr.Library/ExtensionMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163477"
} | starcoder | <reponame>seanlinmt/tradelr
using System;
using tradelr.Library.Constants;
namespace tradelr.Library
{
public static class ExtensionMethods
{
public static string ToDomainUrl(this string hostname, string pathAndQuery, bool onlyUnsecure)
{
if (onlyUnsecure)
{
... | 2.141657 | 163c2fd8eda1e47177a65027a858ade2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844258 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EdutechSRL/Adevico",
"max_stars_repo_path": "3-Business/2-Core/lm.Comol.Core.DomainModel/Dashboard/Domain/dto/dtoCommunityItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163478"
} | starcoder | <filename>3-Business/2-Core/lm.Comol.Core.DomainModel/Dashboard/Domain/dto/dtoCommunityItem.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace lm.Comol.Core.Dashboard.Domain
{
[Serializable]
public class dtoCommunityItem :dtoBaseCommunityItem
{
publi... | 2.10075 | f6c124d6d533aea3cde624669b489dad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844259 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "twinbird827/NicoV5",
"max_stars_repo_path": "Mvvm/Models/SearchMylistModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163479"
} | starcoder | <filename>Mvvm/Models/SearchMylistModel.cs
using NicoV5.Common;
using NicoV5.Common.Databases;
using NicoV5.Common.Tables;
using StatefulModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WpfUtilV2.Common;
using WpfUtilV2.Mvvm;
namespace Ni... | 2.212879 | d961e69a380f991f4634ed70804c330a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844260 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AGenius/AGenius.UsefulStuff",
"max_stars_repo_path": "Extensions/ColourExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163480"
} | starcoder | <filename>Extensions/ColourExtensions.cs
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AGenius.UsefulStuff
{
/// <summary>
/// Colour Extensions
/// </summary>
public static class ColourExtensions
... | 3.993465 | 98ab63a3153251cdd734c7c8f636c5f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844261 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Carbonfrost/f-web-dom",
"max_stars_repo_path": "dotnet/src/Carbonfrost.Commons.Web.Dom/DomElementIndex.ValueCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163481"
} | starcoder | <reponame>Carbonfrost/f-web-dom<filename>dotnet/src/Carbonfrost.Commons.Web.Dom/DomElementIndex.ValueCollection.cs
//
// Copyright 2020 Carbonfrost Systems, Inc. (https://carbonfrost.com)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Lic... | 1.877692 | b52d8eb8641330197819e6142ccf0173 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844262 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cszczepaniak/cribbly-backend",
"max_stars_repo_path": "src/CribblyBackend.Core/Tournaments/Models/Tournament.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163482"
} | starcoder | <filename>src/CribblyBackend.Core/Tournaments/Models/Tournament.cs
using System;
using System.Collections.Generic;
using CribblyBackend.Core.Games.Models;
using CribblyBackend.Core.Players.Models;
using CribblyBackend.Core.Teams.Models;
namespace CribblyBackend.Core.Tournaments.Models
{
public class Tournament
... | 1.985955 | 9ac044c34b47086332f0f4dbb0b11a4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844263 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nickell-andrew/FlyCasual",
"max_stars_repo_path": "Assets/Scripts/View/UI/StatsViewScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163483"
} | starcoder | <gh_stars>0
using Players;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
public class StatsViewScript : MonoBehaviour
{
private class DiceStatsEntry
{
public DiceKind DiceKind { get; private set; }
public D... | 2.239227 | dc51c6ba14873620fe6622ccffe1c47f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844264 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "thomasgassmann/microurl",
"max_stars_repo_path": "src/MicroUrl.Web/Keys/Implementation/MicroUrlKeyGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163484"
} | starcoder | namespace MicroUrl.Web.Keys.Implementation
{
using System;
using System.Text;
using System.Threading.Tasks;
using MicroUrl.Storage.Abstractions;
using MicroUrl.Storage.Entities;
public class MicroUrlKeyGenerator : IMicroUrlKeyGenerator
{
private const string Characters = "abcdefghik... | 2.694606 | 94ba160b707f5fb351ed17ab4c0ce10e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844265 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ithline/ithline-extensions-html",
"max_stars_repo_path": "src/Ithline.Extensions.Html/HtmlAttributeList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163485"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
namespace Ithline.Extensions.Html
{
/// <summary>
/// Represents an immutable list of <see cref="HtmlAttribute"/> values.
/// </summary>
[DebuggerDisplay("Count = {Cou... | 2.984704 | 0dcc3894a41d3d19e6a7088d72a4ef09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844266 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "momoadept/midihold",
"max_stars_repo_path": "MidiHolder/MainForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163486"
} | starcoder | <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 MidiHolder.Models;
using Color = System.Drawing.Color;
namespace MidiHolder
{
p... | 2.328127 | f917ed2d56ff6b04cc910b66c055258e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844267 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "exomia/native",
"max_stars_repo_path": "Exomia.Native/Debugger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163487"
} | starcoder | <gh_stars>1-10
#region License
// Copyright (c) 2018-2019, exomia
// All rights reserved.
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#endregion
using System;
using System.Runtime.InteropServices;
using System.Security;
nam... | 2.168544 | d420c6db875c667891f9dcb59cf045a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844268 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "realharry/dynamobase",
"max_stars_repo_path": "DynamoBase/src/DynamoBase/Tables/Base/BaseDynamoTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163488"
} | starcoder | using Amazon.DynamoDBv2.DocumentModel;
using Amazon.DynamoDBv2.Model;
using AWSCore.DynamoBase.Clients;
using AWSCore.DynamoBase.Tables.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
// using NLog;
namespace AWSCore.DynamoBase.Tables.Base
{
public abstract c... | 2.570371 | 4ac8ecac166535c0aeeb68b6f5c346b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844269 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iamahern/IfInjector",
"max_stars_repo_path": "IfInjector/source/Bindings/Fluent/Members/IBoundMembersBinding.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163489"
} | starcoder | <reponame>iamahern/IfInjector
using System;
using IfInjector.Bindings.Fluent;
namespace IfInjector.Bindings.Fluent.Members
{
public interface IBoundMembersBinding<CType> :
IMembersBinding<CType>,
IMemberInjectableBinding<IBoundMembersBinding<CType>, CType>
where CType : class
{
}
}
| 1.610721 | 28abc499d3254b15f2b85dfe5f73436f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844270 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SvilenStoev/ASP.NET-Core-Project-BoostUp",
"max_stars_repo_path": "src/BoostUp.Services/Services/Users/Models/UserQueryServiceModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163490"
} | starcoder | <gh_stars>1-10
namespace BoostUp.Services.Users.Models
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
public class UserQueryServiceModel
{
public int CurrentPage { get; init; } = 1;
public int TotalUsers { get; set; }
... | 2.045976 | 6371861bb30709d87b3941edf31c9e9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844271 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ddonabedian/medikit",
"max_stars_repo_path": "src/Medikit/Medikit.Api.Medicalfile.Application/Persistence/InMemory/InMemoryMedicalfileCommandRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163491"
} | starcoder | <reponame>ddonabedian/medikit<filename>src/Medikit/Medikit.Api.Medicalfile.Application/Persistence/InMemory/InMemoryMedicalfileCommandRepository.cs
// Copyright (c) SimpleIdServer. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using Med... | 2.083645 | 0b12d1921da2f162189c39395654f0b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844272 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Scott004948/AnyRPGCore",
"max_stars_repo_path": "Assets/AnyRPG/Engine/Core/System/Scripts/Camera/CutsceneCameraController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163492"
} | starcoder | using AnyRPG;
using UnityEngine;
using UnityEngine.EventSystems;
namespace AnyRPG {
public class CutsceneCameraController : MonoBehaviour {
#region Singleton
private static CutsceneCameraController instance;
public static CutsceneCameraController MyInstance {
get {
... | 2.021033 | 62e889359ef01df0d5149038f6aaec78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844273 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ted-spence-avalara/CRTG",
"max_stars_repo_path": "crtg-tasks/CRTG.Notification/AttachmentHelpers/CsvAttachmentHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163493"
} | starcoder | using CSVFile;
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Net.Mail;
using System.Text;
using System.Threading.Tasks;
namespace CRTG.Notification
{
public class CsvAttachmentHelper
{
/// <summary>
/// Construct a CSV attac... | 2.728594 | fd7e615f152756d503435659c28e8408 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844274 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndreaPantieri/MuseumsManager",
"max_stars_repo_path": "MuseumsManager/MuseumsManager/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163494"
} | starcoder | <filename>MuseumsManager/MuseumsManager/App.xaml.cs
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Markup;
namespace MuseumsManager
{
... | 2.29512 | fa21cd952c0d1c029e93e6ba9918a551 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844275 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "QotoQot/Octospace",
"max_stars_repo_path": "Core/Model/Services/Documents/Markdown/MarkdownReplacement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163495"
} | starcoder | using System;
namespace Core.Model.Services.Documents.Markdown
{
public class MarkdownReplacementFormatting : MarkdownReplacement
{
public MarkdownReplacementFormatting(object formatting) => Formatting = formatting;
public object Formatting { get; }
}
public class MarkdownReplacementI... | 2.097764 | 7a9e1595b32f493bab6baaa3a6fa64a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844276 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MursalovAltun/FilmAdviserWebApi",
"max_stars_repo_path": "src/Common/Common.DTO/AuthDTO/RequestPasswordDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163496"
} | starcoder | <filename>src/Common/Common.DTO/AuthDTO/RequestPasswordDTO.cs
namespace Common.DTO.AuthDTO
{
public class RequestPasswordDTO
{
public string Email { get; set; }
}
} | 1.657284 | 204fcc534af3fdc16dc653d2a7eb0b8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844277 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "dougklassen/Revit-Perfect",
"max_stars_repo_path": "Perfect/Perfect/Commands/SetViewTitle/SetViewTitleCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163497"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;
namespace DougKlassen.Revit.Perfect.Commands
{
/// <summary>
/// For all views in the project where the "Title on Sheet" parameter is empty, sets the parameter the name of the vie... | 2.569772 | 736867bf0cf999411b72277c89558d46 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844278 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DavidCBerry13/FrameworkProjects",
"max_stars_repo_path": "DavidBerry.Framework.Spatial/DavidBerry.Framework.Spatial/AssemblyOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163498"
} | starcoder | using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("DavidBerry.Framework.Spatial.Tests")]
| 0.786882 | a578c641a53a0b98e6bc0c6411c202d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844279 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cihatsolak/netcore5-jwt-token",
"max_stars_repo_path": "AuthServer/AuthServer.API/Controllers/AuthController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163499"
} | starcoder | using AuthServer.Core.DTOs;
using AuthServer.Core.Services;
using Microsoft.AspNetCore.Mvc;
using SharedLibrary.Dtos;
using System.Threading.Tasks;
namespace AuthServer.API.Controllers
{
public class AuthController : BaseController
{
private readonly IAuthenticationService _authenticationService;
... | 2.149303 | 0daf77459fbbf5c8ac66ae6643297337 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844280 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "aoemods/AOEMods.Essence",
"max_stars_repo_path": "AOEMods.Essence/Chunky/RGD/GameDataJsonUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163500"
} | starcoder | <filename>AOEMods.Essence/Chunky/RGD/GameDataJsonUtil.cs
using System.Text;
namespace AOEMods.Essence.Chunky.RGD;
/// <summary>
/// Provides functions for encoding and decoding Relic Game Data (RGD) with JSON.
/// </summary>
public static class GameDataJsonUtil
{
/// <summary>
/// Encodes RGD nodes... | 3.222886 | 6fb9b5867e01a20ae380cc9b0bc41891 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844281 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JuanCarlosReyesGuerrero/BastisProjects-AdminLte",
"max_stars_repo_path": "Bastis.Web/Views/Properties/Delete.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:163501"
} | starcoder | @model Bastis.Models.Entities.Property
@{
ViewBag.Title = "Delete";
}
<h2>Delete</h2>
<h3>Are you sure you want to delete this?</h3>
<div>
<h4>Property</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Title)
</dt>
<dd>
@... | 2.291988 | 7050591e12ef6b8a29f22df55bc12300 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844282 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "NuGet/NuGet.Operations",
"max_stars_repo_path": "src/NuCmd/Commands/Certs/UploadCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163502"
} | starcoder | <reponame>NuGet/NuGet.Operations<gh_stars>1-10
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Sys... | 2.388204 | e0356bc45442ef2919423368957db9ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844283 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "theADAMJR/Among-Us-3D",
"max_stars_repo_path": "Assets/Scripts/GameManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163503"
} | starcoder | <reponame>theADAMJR/Among-Us-3D
using ProjectAU.Environment;
using ProjectAU.Player;
using UnityEngine;
public class GameManager : MonoBehaviour
{
public void Start()
{
var player = FindObjectOfType<Player>();
var tasks = FindObjectsOfType<Task>();
foreach (var task in tasks)
... | 1.42708 | 8a6edff28815080ced51d59cca1dfd66 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844284 | {
"extension": "c-sharp",
"max_stars_count": "1705.0",
"max_stars_repo_name": "ChristopherButtars/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/EKS/Generated/Model/DisassociateIdentityProviderConfigRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163504"
} | starcoder | <filename>sdk/src/Services/EKS/Generated/Model/DisassociateIdentityProviderConfigRequest.cs<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.
... | 1.666939 | 93aba050c7fa45768f2be03c6eae075d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844285 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Engin-Boot/assist-purchase-s21b4",
"max_stars_repo_path": "Segment1_API/DataModels/DeviceModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163505"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
namespace DataModels
{
public class DeviceModel
{
public string Id { get; set; }
public string Overview { get; set; }
public string Name { get; set; }
public List<string> Measurements { get; set; }
public float Weight { get;... | 1.966493 | ea99920e7434e62c370ef3f41f74f760 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844286 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hk92a/OpenBullet2",
"max_stars_repo_path": "OpenBullet2.Native/ViewModels/ConfigMetadataViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163506"
} | starcoder | <reponame>Hk92a/OpenBullet2<gh_stars>0
using OpenBullet2.Core.Helpers;
using OpenBullet2.Core.Services;
using OpenBullet2.Native.Utils;
using RuriLib.Models.Configs;
using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
namespace OpenBullet2.Native.Vie... | 1.908153 | 8474c7895bd82eceee474a6d331e6f97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844287 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Stephen-Muehlenberg/Interview-Android-FPS",
"max_stars_repo_path": "Assets/Scripts/Enemy/FollowPlayer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163507"
} | starcoder | using UnityEngine;
using UnityEngine.AI;
/**
* Causes this object to navigate towards the player.
*/
[RequireComponent(typeof(NavMeshAgent))]
public class FollowPlayer : MonoBehaviour {
public NavMeshAgent navAgent;
private Transform player;
void Start() {
player = GameObject.Find("Player").transform; ... | 2.44017 | 0929feb899f9fa081220c13272feb20d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844288 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HiRoShUi/AutomationMigrationPlatform",
"max_stars_repo_path": "Makro.Core/Makro.Core.Webservice/Controllers/HealthCheckController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163508"
} | starcoder | namespace Makro.Core.Webservice.Controllers
{
using System;
using System.Web.Http;
public class HealthCheckController : ApiController
{
public IHttpActionResult GetValues()
{
return Ok(new[] { "Server is up and running on " + Environment.MachineName });
}
}
}
| 1.933005 | 195187bcb5a0be1e5a9d894bd02bc56d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844289 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rab8823/AdventOfCode2021",
"max_stars_repo_path": "Day11.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163509"
} | starcoder | <gh_stars>0
namespace AdventOfCode2021;
public sealed class Day11 : Problem
{
private const string SampleData = @"5483143223
2745854711
5264556173
6141336146
6357385478
4167524645
2176841721
6882881134
4846848554
5283751526";
private const string Data = @"2344671212
6611742681
5575575573
3167848536
1353827311
4... | 2.820533 | 09761fc62a13772e469acfe902c3493c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844290 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AashiqDurga/serko-gildedRose",
"max_stars_repo_path": "GildedRose/GildedRose.Implementation/ISmartItemFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163510"
} | starcoder | namespace GildedRose.Implementation
{
public interface ISmartItemFactory
{
ISmartItem Create(Item item);
}
} | 1.747488 | 4959e073bd1561caaa7cf94200a79b04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844291 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xenosl/DebugInspector",
"max_stars_repo_path": "Assets/ShuHai/Scripts/Core/AnimationCurveUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163511"
} | starcoder | <gh_stars>1-10
using UnityEngine;
namespace ShuHai
{
public static class AnimationCurveUtil
{
/// <remarks>
/// The only reason this method exist is because AnimationCurve.Constant dosn't exist before Unity-2017.3.
/// </remarks>
public static AnimationCurve Constant(float ... | 2.333988 | c200f557b452a4f8bf4e59fafb59f9e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844292 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ttuang/PizzaBox-Ordering-WebApp",
"max_stars_repo_path": "aspnet/PizzaBox.Domain/Factories/StoreFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163512"
} | starcoder | using PizzaBox.Domain.Factories;
using PizzaBox.Domain.Models;
namespace PizzaBox.Domain.Factories
{
public class StoreFactory : AFactory<StoreModel>
{
public StoreModel Create()
{
return new StoreModel();
}
}
} | 1.761202 | b51e0b8c83c4998225ed8fda9d7ec854 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844293 | {
"extension": "c-sharp",
"max_stars_count": "95.0",
"max_stars_repo_name": "jasonliaocn/dp2",
"max_stars_repo_path": "dp2LibraryConsole/MyStop.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163513"
} | starcoder | <gh_stars>10-100
using DigitalPlatform;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace dp2LibraryConsole
{
public class MyStop : Stop
{
}
}
| 1.122373 | 314085d507b157c9b499343594f2735e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844294 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hocnat/RecipeApp",
"max_stars_repo_path": "RecipeApp/RecipeApp/Services/AlertService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163514"
} | starcoder | using RecipeApp.Resx;
using System.Resources;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace RecipeApp.Services
{
public class AlertService : IAlertService
{
public AlertService()
{
ResourceManager = new ResourceManager(typeof(AppResources));
}
privat... | 2.430225 | 2944bfa67b597a2d463dfa16e45f835c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844295 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dariodotnet/SimpleMvvM",
"max_stars_repo_path": "SimpleMvvM/SimpleMvvM.UWP/MvvM/ViewModelBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163515"
} | starcoder | using SimpleMvvM.Core;
using System.Threading.Tasks;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace SimpleMvvM.UWP.MvvM
{
public abstract class ViewModelBase : BindableBase
{
public Frame AppFrame { get; private set; }
#region Bindable properties
private ... | 2.317917 | 5dd2ff9de2bea69ee395fa43b4df3df1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844296 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mtaulty/AllJoynHoloSharing",
"max_stars_repo_path": "UWPProjects/AJHoloClientLibrary/IAJHoloServerCallbacks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163516"
} | starcoder | using System;
using System.Numerics;
using System.Threading.Tasks;
namespace AJHoloClientLibrary
{
public interface IAJHoloServerCallbacks
{
Task WorldAnchorAddedAsync(Guid identifier, byte[] bits);
void HologramAdded(Guid anchorIdentifier, Guid hologramIdentifier, string hologramTypeName, Vector3 positio... | 1.78118 | 847df0f47a5cef1bb60706aac5825a27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844297 | {
"extension": "c-sharp",
"max_stars_count": "429.0",
"max_stars_repo_name": "skeptycal/RTVS",
"max_stars_repo_path": "src/R/Editor/Impl/Completions/RFunctionCompletionEntry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163517"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Diagnostics;
using Microsoft.Common.Core;
using Microsoft.Languages.Editor.Completions;
using Microsoft.R.Editor.Functions;
using static S... | 2.142896 | d0795e259293ecb680f5995b9500903b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844298 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MomchilSt/Auction-House",
"max_stars_repo_path": "Auction/Web/Auction.Web.InputModels/Item/ItemDeleteInputModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163518"
} | starcoder | <reponame>MomchilSt/Auction-House
namespace Auction.Web.InputModels.Item
{
public class ItemDeleteInputModel
{
public string ItemId { get; set; }
}
}
| 1.172427 | 0d668a5aa679dfad45e5ac160060fe94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844299 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "azrinsani/GroBuf",
"max_stars_repo_path": "GroBuf/Writers/DateTimeOffsetWriterBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163519"
} | starcoder | using System;
namespace GroBuf.Writers
{
internal class DateTimeOffsetWriterBuilder : WriterBuilderBase
{
public DateTimeOffsetWriterBuilder()
: base(typeof(DateTimeOffset))
{
}
protected override void BuildConstantsInternal(WriterConstantsBuilderContext context)
... | 2.115635 | f0b4ed42f03b54a6dbb747b15ce710a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844300 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0x2648/MetaMask.Blazor",
"max_stars_repo_path": "MetaMask.Blazor.SampleApp/Pages/Index.razor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163520"
} | starcoder | <reponame>0x2648/MetaMask.Blazor<filename>MetaMask.Blazor.SampleApp/Pages/Index.razor.cs
using MetaMask.Blazor.Enums;
using MetaMask.Blazor.Exceptions;
using Microsoft.AspNetCore.Components;
using Nethereum.ABI.FunctionEncoding;
using Nethereum.ABI.Model;
using System;
using System.Collections.Generic;
using System.Li... | 2.221775 | e3deca386b966274899156e88dc523e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844301 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "laszlox/SimpleZmq",
"max_stars_repo_path": "src/SimpleZmq.Test/ExceptionAssert.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163521"
} | starcoder | <gh_stars>1-10
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleZmq.Test
{
public static class ExceptionAssert
{
public static void Throws<T>(Action task, string expec... | 2.736049 | 3b6251ad15be1a6af7f23a77f2664448 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844302 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "c-sharpcommunity/SimpleBlogEngine",
"max_stars_repo_path": "SimpleBlogEngine/SimpleBlogEngine/Models/Blog/Comment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163522"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace SimpleBlogEngine.Models.Blog
{
public class Comment
{
[Key]
public int Id { get; set; }
public int PostId { get; set; }
public string UserId { get; set; }
public string Content { get; set; }
//public DateTi... | 2.01518 | bb1150ee8ff338bf8346ee6f4896caf0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844303 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pavelzaitsau/PhoneFormatter",
"max_stars_repo_path": "PhoneFormatter.Tests/FormattingTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163523"
} | starcoder | <reponame>pavelzaitsau/PhoneFormatter
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace PavelZaitsau.PhoneFormatter.Tests
{
[TestClass]
public class FormattingTests
{
#region E.123 format tests
[TestMethod]
public void E123FormatTest1()
{
... | 2.847354 | 7fda9e87fd0a9c71a532994a414ac242 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844304 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrtwizta/MatterControl",
"max_stars_repo_path": "MatterControlLib/SetupWizard/WizardStageRow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163524"
} | starcoder | <filename>MatterControlLib/SetupWizard/WizardStageRow.cs
/*
Copyright (c) 2019, <NAME>, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above co... | 1.898947 | 3a20d215a1c1cf33d26ae8fe72260a27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844305 | {
"extension": "c-sharp",
"max_stars_count": "361.0",
"max_stars_repo_name": "Wuschli/WampSharp",
"max_stars_repo_path": "src/netstandard/WampSharp/WAMP2/V2/Rpc/Dealer/WampRpcThrowHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163525"
} | starcoder | <gh_stars>100-1000
using WampSharp.V2.Core.Contracts;
namespace WampSharp.V2.Rpc
{
internal static class WampRpcThrowHelper
{
public static void NoProcedureRegistered(string procedure)
{
string errorMessage = $"no procedure '{procedure}' registered";
throw new WampExce... | 1.647954 | 5dec8a384d1d854440eb31b2b8f7c2a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844306 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "craftersmine/mcLauncher_remastered",
"max_stars_repo_path": "mcLauncher/Properties/Settings.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163526"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-ge... | 1.959086 | 75b75f37c3d475dcd149e8c0b8e855e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844307 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "evrendev/boilerplate",
"max_stars_repo_path": "src/Backend/Application/DTOS/AutoComplete/AutoCompleteRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163527"
} | starcoder | using System.Linq;
using System.Web;
using EvrenDev.Application.Enums.Language;
namespace EvrenDev.Application.DTOS.AutoComplete
{
public class AutoCompleteRequest
{
public string Table { get; set; }
public string Column { get; set; }
public string Query { get; set; }
public... | 2.128785 | c2abd360724f48f30a86003450f35388 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844308 | {
"extension": "c-sharp",
"max_stars_count": "77.0",
"max_stars_repo_name": "roice3/roice",
"max_stars_repo_path": "R3/R3.Core/Drawing/Lighting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163528"
} | starcoder | <gh_stars>10-100
namespace R3.Drawing
{
using OpenTK;
using OpenTK.Graphics.OpenGL;
using R3.Geometry;
/// <summary>
/// A helper class with OpenGL lighting utility methods.
/// </summary>
public static class Lighting
{
/// <summary>
/// Sets up ambient light.
/// </summary>
public static void SetupAm... | 2.517137 | 565af05e97a72dd213d8bb20f11c13af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844309 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AccentureRapid/SuperRocket.Angular2Core",
"max_stars_repo_path": "aspnet-core/src/SuperRocket.Angular2Core.Application/Sessions/Dto/ApplicationInfoDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163529"
} | starcoder | using System;
namespace SuperRocket.Angular2Core.Sessions.Dto
{
public class ApplicationInfoDto
{
public string Version { get; set; }
public DateTime ReleaseDate { get; set; }
}
}
| 1.576555 | 10812aaa31f77e2e71506ddac8edf588 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844310 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "slahn/DLaB.Xrm.XrmToolBoxTools",
"max_stars_repo_path": "DLaB.XrmToolBoxCommon/PropertyInterface/IGlobalOptionSets.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163530"
} | starcoder | <filename>DLaB.XrmToolBoxCommon/PropertyInterface/IGlobalOptionSets.cs
using System.Collections.Generic;
using Microsoft.Xrm.Sdk.Metadata;
namespace DLaB.XrmToolboxCommon.PropertyInterface
{
public interface IGlobalOptionSets
{
IEnumerable<OptionSetMetadataBase> GlobalOptionSets { get; set; }
}
} | 1.668467 | 3f95eec11291b2bb215960ddc211ecbf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844311 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bolamiju/GroundForce-BE",
"max_stars_repo_path": "Groundforce.Services/Groundforce.Services.Models/MissionVerified.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163531"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Groundforce.Services.Models
{
public class MissionVerified
{
[Key]
public string Id { get; set; }
[Required]
public string MissionId { get; se... | 1.986894 | c92db0b5638d4d76f0e2894e3d4f23f8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.