added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75333 | {
"extension": "c-sharp",
"max_stars_count": "99.0",
"max_stars_repo_name": "NetOfficeFw/NetOffice-LegacyRepository",
"max_stars_repo_path": "Source/MSHTML/Enums/_styleFontWeight.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75334"
} | starcoder | using System;
using NetOffice;
namespace NetOffice.MSHTMLApi.Enums
{
/// <summary>
/// SupportByVersion MSHTML 4
/// </summary>
[SupportByVersionAttribute("MSHTML", 4)]
[EntityTypeAttribute(EntityType.IsEnum)]
public enum _styleFontWeight
{
/// <summary>
/// SupportByVersion MSHTML 4
///... | 2.054065 | b6595febcb06e4ec0b2109302a9a800d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75334 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bradleydonmorris/BDMPackages",
"max_stars_repo_path": "BDMSlackAPI/DateConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75335"
} | starcoder | <gh_stars>0
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace BDMSlackAPI
{
public class DateConverter : JsonConverter
{
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
{
DateTime? dateValue = value as DateTime?;
... | 2.480541 | 6a9da085d895520f8521a852c8dd3e3d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75335 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DimitarPramatarov/MommyApi",
"max_stars_repo_path": "MommyApi.Common/GlobalConstants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75336"
} | starcoder | <filename>MommyApi.Common/GlobalConstants.cs<gh_stars>0
namespace MommyApi.Common
{
public static class GlobalConstants
{
public const string UserNotFound = "User not found!";
public const string NotFound = "Not found!";
}
}
| 1.550776 | 4375b22530b76dd51026d19834cc3b1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75336 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "Pauwlo/FMM2",
"max_stars_repo_path": "FMM2/List_SelectionChanged.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75337"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.... | 2.114425 | b532a1d399f69da8f28a39d0c2346636 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75337 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Colliebot/Colliebot.Core",
"max_stars_repo_path": "src/Common/SortBy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75338"
} | starcoder | namespace Colliebot
{
public enum SortBy
{
Id,
Name,
CreatedAt,
UpdatedAt,
LinkedAt
}
}
| 1.578035 | 0ce4686129d92ffbe96b470d41241db6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75338 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Ultz/SilkUI",
"max_stars_repo_path": "SilkUI.Core/Template.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75339"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace SilkUI
{
public abstract class Template
{
internal Component Component { get; private set; }
public string Name { get; }
private readonly List<ComponentBinder> _componentBinders = new List<... | 2.678405 | 609c63aee84264825045005987465ca1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75339 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chaitradangat/ShoppingCore",
"max_stars_repo_path": "Application/ShoppingCore.Application/Users/Queries/GetUser/IGetUserQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75340"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using ShoppingCore.Application.Interfaces;
namespace ShoppingCore.Application.Users.Queries.GetUser
{
public interface IGetUserQuery
{
IAppModel Execute(string UserName, string Password);
IAppModel Execute(int UserID);
... | 1.709515 | b4f5878e88f1e3ed634451efc91bd729 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75340 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "p-selivanov/cronofy-csharp",
"max_stars_repo_path": "src/Cronofy/SequencedAvailabilityRequestBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75341"
} | starcoder | namespace Cronofy
{
using System;
using System.Collections.Generic;
using Requests;
/// <summary>
/// Sequenced availability request builder.
/// </summary>
public sealed class SequencedAvailabilityRequestBuilder : IBuilder<SequencedAvailabilityRequest>
{
/// <summary>
/... | 2.849462 | 2a717a9c1145e937b0eed8e03565fdc7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75341 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "stefan-baumann/ManiaPlanetSharp",
"max_stars_repo_path": "src/ManiaPlanetSharp.GameBoxView/TreeNodes/HyperlinkTreeNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75342"
} | starcoder | namespace ManiaPlanetSharp.GameBoxView
{
public class HyperlinkTreeNode
: TextTreeNode
{
public HyperlinkTreeNode(string name, string url)
: this(name, url, url)
{ }
public HyperlinkTreeNode(string name, string text, string url)
: base(name, text)
... | 2.448809 | 653d260afd30377be3e68d1e192eeae7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75342 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cardinal252/Sitecore.AdvancedContentSecurity",
"max_stars_repo_path": "AdvancedContentSecurity.Core/Logging/TracerRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75343"
} | starcoder | using System.Diagnostics.CodeAnalysis;
using Sitecore.Diagnostics;
namespace AdvancedContentSecurity.Core.Logging
{
[ExcludeFromCodeCoverage] // Wrapping static methods controlled by sitecore
public class TracerRepository : ITracerRepository
{
public void Info(string message)
{
... | 2.104197 | 022fa57d4473494379202dfa0deb81e8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75343 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "edcasillas/unity-common-utils",
"max_stars_repo_path": "Editor/ScriptableObjectUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75344"
} | starcoder | <gh_stars>1-10
using System;
using System.IO;
using UnityEditor;
using UnityEngine;
namespace CommonUtils.Editor {
public static class ScriptableObjectUtility {
// TODO Refactor these CreateAsset methods to avoid repeating code.
/// <summary>
/// Creates a new ScriptableObject via the default Save File panel
... | 2.626071 | d465aced4123e1f5ae9bdbae98c4dfd9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75344 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "factor-50-devops-bot/nuget-package-v3",
"max_stars_repo_path": "HelpMyStreet.Utils/HelpMyStreet.Utils/Models/Question.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75345"
} | starcoder | using HelpMyStreet.Utils.Enums;
using System.Collections.Generic;
namespace HelpMyStreet.Utils.Models
{
public class Question
{
public int Id { get; set; }
public string Name { get; set; }
public QuestionType Type {get;set;}
public bool Required { get; set; }
public str... | 1.991317 | 99b819a9f73d47dd7d736b2ea1f56fd7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75345 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dogukanc760/NorthwindLevelTwo",
"max_stars_repo_path": "MvcWebUI/ViewComponents/CategoryListViewComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75346"
} | starcoder | using Business.Abstract;
using DataAccess.Abstract;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ViewComponents;
using MvcWebUI.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MvcWebUI.ViewComponents
{
public class CategoryListVi... | 2.456096 | 8d5db1b88965797d2ae9c5cbdb759491 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75346 | {
"extension": "c-sharp",
"max_stars_count": "425.0",
"max_stars_repo_name": "yeze322/botbuilder-dotnet",
"max_stars_repo_path": "tests/Microsoft.Bot.Schema.Tests/ExpectedRepliesTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75347"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using Xunit;
namespace Microsoft.Bot.Schema.Tests
{
public class ExpectedRepliesTests
{
[Fact]
public void ExpectedRepliesInits()
{
var activit... | 2.172291 | 8647913e927119a05bc4e35d2551cdbf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75347 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "anuraj/tweetinvi",
"max_stars_repo_path": "Tweetinvi.Core/Public/Events/TweetEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75348"
} | starcoder | <reponame>anuraj/tweetinvi
using System;
using Tweetinvi.Models;
using Tweetinvi.Streaming;
using Tweetinvi.Streaming.Events;
namespace Tweetinvi.Events
{
public class TweetEventArgs : EventArgs
{
public TweetEventArgs(ITweet tweet, string json)
{
Tweet = tweet;
Json = ... | 1.613933 | 396c5b22b35a1cc1a76f579bf05b45cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75348 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "elsa-workflows/experimental",
"max_stars_repo_path": "src/core/Elsa.Core/Models/Argument.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75349"
} | starcoder | namespace Elsa.Models;
public abstract class Argument
{
protected Argument(RegisterLocationReference locationReference, Func<object?, object?>? valueConverter = default)
{
LocationReference = locationReference;
ValueConverter = valueConverter;
}
public RegisterLocationReference Locatio... | 2.067858 | b980da016a0c2c7a571c4c1e3e4952da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75349 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pithline/FMS",
"max_stars_repo_path": "Pithline.FMS.BusinessLogic/VehicleDetails.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75350"
} | starcoder | using Microsoft.Practices.Prism.StoreApps;
using SQLite;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Eqstra.BusinessLogic
{
public class VehicleDetails : ValidatableBindableBase
{
priv... | 2.128826 | 215cdbc2060b634dfdfee51544321e34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75350 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "caidongyun/FileWall",
"max_stars_repo_path": "Test.Client/LogViewStub.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75351"
} | starcoder | <filename>Test.Client/LogViewStub.cs
using System.ComponentModel;
using VitaliiPianykh.FileWall.Client;
using VitaliiPianykh.FileWall.Shared;
namespace Test.Client
{
internal class LogViewStub : ILogView
{
#region Implementation of ILogView
public BindingList<LogEntryData> Data { get; set; }... | 1.963791 | 104c69e0539bc8c1f18ef0c52809bf08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75351 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "CreatorTest001/xbox-live-docs",
"max_stars_repo_path": "xbox-live-docs-pr/code/SignIn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75352"
} | starcoder | <filename>xbox-live-docs-pr/code/SignIn.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Microsoft.Xbox.Services;
using Microsoft.Xbox.Services.Social.Manager;
using System;
using System.Globalization;
using System.Threading.Tasks;
public class SignIn : Mon... | 1.799842 | 6061b1d55d355e14073d9e5ab6e24174 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75352 | {
"extension": "c-sharp",
"max_stars_count": "539.0",
"max_stars_repo_name": "pianomanx/SharpMapExec",
"max_stars_repo_path": "SharpMapExec/Projects/HiveParser/ValueKey.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75353"
} | starcoder | //class taken from https://github.com/brandonprry/gray_hat_csharp_code/tree/master/ch14_reading_offline_hives
using System;
using System.IO;
namespace SharpMapExec.HiveParser
{
public class ValueKey
{
public ValueKey(BinaryReader hive)
{
byte[] buf = hive.ReadBytes(2);
... | 2.745192 | 2adcf0e7c752be25f0852da66c029e3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75353 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "smarteboka/smartbot",
"max_stars_repo_path": "source/src/Slackbot.Net.Extensions.Smartbot.Worker/Handlers/4sq/FourSquareServices/Core/VenueExploreResponseObjects.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75354"
} | starcoder | using System.Collections.Generic;
using Smartbot.Utilities.Handlers._4sq.FourSquareServices.Entities;
namespace Smartbot.Utilities.Handlers._4sq.FourSquareServices.Core
{
public class VenueExploreResponseContainer
{
public VenueExploreResponse response;
}
public class VenueExploreResponse
... | 1.89233 | f3f7652f2b0464714f137f02eb9da717 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75354 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "cicistudio/DouDiZhu",
"max_stars_repo_path": "Source/AIFrameWork/RuleClass/RuleSingle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75355"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AIFrameWork.RuleClass
{
/// <summary>
/// 检查是否符合单张牌的出牌规则
/// </summary>
public class RuleSingle : RuleBase
{
public override RuleType GetRuleType(int[] cardArray)
{
return ca... | 2.607136 | 80c1eab3c9a90c6a9316fdf265b053de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75355 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vagrod/swo",
"max_stars_repo_path": "Assets/Scripts/SwipeDetector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75356"
} | starcoder | using System;
using UnityEngine;
public class SwipeDetector : MonoBehaviour
{
public float minSwipeDistY;
public float minSwipeDistX;
public Action OnSwipeLeftToRight{ get; set; }
public Action OnSwipeRightToLeft { get; set; }
public Action OnSwipeUpToDown{ get; set; }
public Action... | 2.69509 | b5d653d0d9e60288a02426b375e0e296 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75356 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bdhurkett/PanoConverter",
"max_stars_repo_path": "PanoConverter/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75357"
} | starcoder | namespace PanoConverter
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be... | 1.978586 | e2f1926c1631a2a314a9ce02bed49600 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75357 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jpiquot/ExtenFlow",
"max_stars_repo_path": "ExtenFlow/src/Core/Messages/ExtenFlow.Messages.Abstractions/Commands/ICommandProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75358"
} | starcoder | <filename>ExtenFlow/src/Core/Messages/ExtenFlow.Messages.Abstractions/Commands/ICommandProcessor.cs
using System.Threading;
using System.Threading.Tasks;
namespace ExtenFlow.Messages.Commands
{
/// <summary>
/// Defines an command processor
/// </summary>
public interface ICommandProcessor
{
... | 2.64321 | 1a19ae92bdecd0ee985cfb3facdbe004 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75358 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "InstantBusinessNetwork/IBN",
"max_stars_repo_path": "Source/Server/WebPortal/Apps/WidgetEngine/Modules/CustomPageDesign.ascx.designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75359"
} | starcoder | <filename>Source/Server/WebPortal/Apps/WidgetEngine/Modules/CustomPageDesign.ascx.designer.cs<gh_stars>10-100
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3082
//
// Changes to this fi... | 1.390135 | 54606ddc2dbb9f93cfb3ac392e466cff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75359 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mic-code/UMA",
"max_stars_repo_path": "UMAProject/Assets/UMA/Examples/Expressions Examples/Scripts/EditModeExpressionPreview.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75360"
} | starcoder | using UnityEngine;
using System.Collections;
namespace UMA.PoseTools
{
[ExecuteInEditMode]
public class EditModeExpressionPreview : MonoBehaviour
{
public ExpressionPlayer expressionPlayer;
public UMAExpressionSet expressionSet;
public Transform skeletonRoot;
protected UMASkeleton skeleton;
void OnRend... | 1.952676 | 19234b4fe670f538e586000ff834400d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jamiehankins/IpControl",
"max_stars_repo_path": "IpControlDemo/MainViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75361"
} | starcoder | <gh_stars>0
using System.Net;
namespace IpControlHarness
{
public class MainViewModel : ViewModelBase
{
private IPAddress _ipv4Address;
public IPAddress IPV4Address
{
get => _ipv4Address;
set
{
SetProperty(ref _ipv4Address, value);
... | 2.030928 | 1ec2c430494d848049ffad7c38f7e1c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75361 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ihsoft/KSPDev_PartTweaker",
"max_stars_repo_path": "Source/ModuleModelTweaker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75362"
} | starcoder | // Material settings tweaker.
// Author: <EMAIL>
// License: Public Domain.
using System;
using System.Linq;
using UnityEngine;
namespace KSPDev.PartTweaker {
/// <summary>Simple module that allows hiding selected model objects.</summary>
public sealed class ModuleModelTweaker : PartModule {
/// <summary>Scene... | 2.790056 | 0955350cab944d120c79e6e314be7411 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75362 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "magicianA/MURPG",
"max_stars_repo_path": "Assets/Scripts/Controller/Backpack/DragUI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75363"
} | starcoder | <reponame>magicianA/MURPG<filename>Assets/Scripts/Controller/Backpack/DragUI.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class DragUI : MonoBehaviour, IDragHandler, IPointerDownHandler, IEndDragHandler
{
Vector3 ori... | 2.253063 | 4a71a4533b2d7dd26d5d2965c2f2ea6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75363 | {
"extension": "c-sharp",
"max_stars_count": "9271.0",
"max_stars_repo_name": "dlphinStudios/DevToys",
"max_stars_repo_path": "src/dev/impl/DevToys/Models/NumberBaseFormat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75364"
} | starcoder | <gh_stars>1000+
#nullable enable
using System;
using System.Globalization;
namespace DevToys.Models
{
public class NumberBaseFormat : IEquatable<NumberBaseFormat>
{
private static NumberBaseConverterStrings Strings => LanguageManager.Instance.NumberBaseConverter;
public static readonly Number... | 2.300887 | ed9c7eb20d2ec61dafdda38db95f0b65 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ellisnet/ArduinoBle",
"max_stars_repo_path": "Source/BluetoothLevel.XFApp/BluetoothLevel.XFApp/BluetoothLevel.XFApp/Services/ILevelApiService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75365"
} | starcoder | <filename>Source/BluetoothLevel.XFApp/BluetoothLevel.XFApp/BluetoothLevel.XFApp/Services/ILevelApiService.cs
using System;
using System.Threading.Tasks;
using BluetoothLevel.XFApp.Models;
namespace BluetoothLevel.XFApp.Services
{
public interface ILevelApiService
{
Task<bool> ScanForLevel();
... | 1.882849 | 8d7832a6e628e3a4e8a00c5f6da2b944 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75365 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "frankhaugen/Frank.Templates",
"max_stars_repo_path": "dotnet/WpfWithoutXaml/WpfWithoutXaml.Core/TemperatureConverterService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75366"
} | starcoder | <reponame>frankhaugen/Frank.Templates<gh_stars>0
namespace WpfWithoutXaml.Core
{
public class TemperatureConverterService : ITemperatureConverterService
{
public decimal FahrenheitToCelsius(decimal temperature) => (temperature - 32m) * 5m / 9m;
public decimal CelsiusToFahrenheit(decimal tempera... | 2.698956 | 41bacb355b6b446bf7d62a8aa5291673 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75366 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "kartverket/Geonorge.Register",
"max_stars_repo_path": "Kartverket.Register/ModelsDok/DatasetIndexViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75367"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Kartverket.DOK.Models
{
public class DatasetIndexViewModel
{
public List<DokDataset> Datasets { get; set; }
}
} | 1.442798 | 4d31126edbca33c288d4d948fcc1e98d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75367 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "sotanmochi/VRMImporterExtension-URP",
"max_stars_repo_path": "VRM.Extension.Importer.Samples/Runtime/Presentation/IVRMImportEventTrigger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75368"
} | starcoder | <gh_stars>1-10
using System;
namespace VRM.Extension.Samples
{
public interface IVRMImportEventTrigger
{
event Action<string> OnTriggerVRMImportEvent;
}
}
| 1.144542 | d94e1c0f112d3b3dc77b08809275f5b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75368 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "1Blackdiamondsc/Lykke.Service.LiquidityEngine",
"max_stars_repo_path": "src/Lykke.Service.LiquidityEngine.Domain/Services/IMarkupService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75369"
} | starcoder | <reponame>1Blackdiamondsc/Lykke.Service.LiquidityEngine
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Lykke.Service.LiquidityEngine.Domain.Services
{
public interface IInstrumentMarkupService
{
Task<IReadOnlyCollection<AssetPairMarkup>> GetAllAsync();
}
}
| 0.91758 | 7119821acc4d25d90dadebd2428cd8a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75369 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "YBLS/EdifyMe",
"max_stars_repo_path": "EdifyMe.Core.Auth/EdifyMe.Core.Data/Context/SqlContextProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75370"
} | starcoder | <filename>EdifyMe.Core.Auth/EdifyMe.Core.Data/Context/SqlContextProvider.cs
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
namespace EdifyMe.Core.Data.context
{
public interface SqlContextProvider
{
string ConnectionString { get; set; }
IDbConnection Cre... | 1.86343 | 0455582f2fc116dd7d0a1981d1c721f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75370 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tocsoft/StreamDeckSdk",
"max_stars_repo_path": "src/Tocsoft.StreamDeckEmulator/Pages/_Host.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:75371"
} | starcoder | @page "/"
@namespace StreamDeckEmulator.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@{
Layout = null;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>StreamDeckEmulator</title>... | 1.912361 | e27f60ca1be9ad15b9a5c2a7298b914e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75371 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chi-rei-den/Silverfish",
"max_stars_repo_path": "penalties/Pen_EX1_573.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75372"
} | starcoder | <gh_stars>1-10
namespace HREngine.Bots
{
class Pen_EX1_573 : PenTemplate //cenarius
{
// wählt aus:/ verleiht euren anderen dienern +2/+2; oder ruft zwei treants (2/2) mit spott/ herbei.
public override int getPlayPenalty(Playfield p, Minion m, Minion target, int choice, bool isLethal)
{
... | 2.21288 | 24585f806e7a609ee1ce2931ed10297a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75372 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ricardorinco/PedidoVendas",
"max_stars_repo_path": "src/RR.PedidoVendas.Infrastructure.Data/EntitiesConfiguration/PedidoConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75373"
} | starcoder | <filename>src/RR.PedidoVendas.Infrastructure.Data/EntitiesConfiguration/PedidoConfiguration.cs
using RR.PedidoVendas.Domain.Models;
using System.Data.Entity.ModelConfiguration;
namespace RR.PedidoVendas.Infrastructure.Data.EntitiesConfiguration
{
public class PedidoConfiguration : EntityTypeConfiguration<Pedido>
... | 2.173714 | 406027a45a31bae180a42a8d1216687a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75373 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gslam2k/DIStrategyPOC",
"max_stars_repo_path": "TypeExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75374"
} | starcoder | <reponame>gslam2k/DIStrategyPOC
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.Extensions.DependencyInjection;
namespace DIStrategyPOC
{
public static class RegistrationExtensions {
private static readonly Lazy<IList<Type>> ExecutingTypes = new L... | 2.394476 | ffeb903a70029174952b853bc4307609 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75374 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Avalon6Explode/Aqua-Seed",
"max_stars_repo_path": "Assets/_Scripts/Player/PlayerSortingLayerController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75375"
} | starcoder | using UnityEngine;
public class PlayerSortingLayerController : MonoBehaviour {
int currentEnemyRenderOrder;
float currentEnemyRefPosY;
SpriteRenderer spriteRenderer;
void Awake() {
spriteRenderer = transform.parent.gameObject.GetComponent<SpriteRenderer>();
}
void Update() {
if (currentEnemyRefPosY > ... | 2.240321 | 91efb62aeeb6bc12a0c96cb16be5d25e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75375 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "videa-tv/kickstart",
"max_stars_repo_path": "src/Kickstart/Kickstart.Build/App.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75376"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Kickstart.Build2
{
class App
{
}
}
| 0.737473 | cacc95bb2ec9ea72f6906bd384a41c83 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75376 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PseudoPlay/UI-For-UWP",
"max_stars_repo_path": "Controls/Primitives/Primitives.UWP/RadialMenu/Model/Items/RadialSegment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75377"
} | starcoder | <filename>Controls/Primitives/Primitives.UWP/RadialMenu/Model/Items/RadialSegment.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
namespace Telerik.UI.Xaml.Controls.Primitives.Menu
{
public class RadialSegment
... | 1.803706 | 773fd70b513210bb90d2efa348adfe72 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75377 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "mikaelrjohansson/Web-Anchor",
"max_stars_repo_path": "WebAnchor.Tests/Validation/IApiWithTaskOnly.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75378"
} | starcoder | using System.Threading.Tasks;
namespace WebAnchor.Tests.Validation
{
public interface IApiWithTaskOnly
{
Task TaskOnly();
}
} | 1.278248 | 814b5bdfabaff2a9b472bb8f0fedc69f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75378 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "toth3max/UnityReadWriteText",
"max_stars_repo_path": "Assets/Scripts/ReadWriteText.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75379"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEngine.UI;
public class ReadWriteText : MonoBehaviour
{
public Text log;
public InputField fileContent;
static string filename = "testfile.txt";
// Start is called before the firs... | 2.932617 | 4adc2c6abff3fa268a2ae9e0e88fde8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75379 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "g-maciejewski/stratego",
"max_stars_repo_path": "Stratego/Stratego/Algorithm/IAlgorithm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75380"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Stratego
{
interface IAlgorithm
{
Tuple<int,int> ChooseNextMove();
}
}
| 2.015075 | 61cf439029b684dd54ef50007b4e83a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75380 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RainmakerUA/uzticket-net",
"max_stars_repo_path": "Modules/RM.Lib.Hosting/ConfigurationResolver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75381"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Xml.Linq;
using RM.Lib.Hosting.Contracts.Config;
using RM.Lib.Hosting.Contracts.Environment;
using RM.Lib.Hosting.Environment;
namespace RM.Lib.Hosting
{
internal sealed class ConfigurationResolver
{
... | 2.595229 | 05a781e0ed50ba0d8f8c4e9e23acebfd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75381 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SafetyCone/R5T.D0113",
"max_stars_repo_path": "source/R5T.D0113.I001/Code/Bases/Extensions/IServiceActionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75382"
} | starcoder | <reponame>SafetyCone/R5T.D0113
using System;
using R5T.T0062;
using R5T.T0063;
namespace R5T.D0113.I001
{
public static class IServiceActionExtensions
{
/// <summary>
/// Adds the <see cref="ParentDirectoryPathProvider"/> implementation of <see cref="IParentDirectoryPathProvider"/> as a <see... | 1.784231 | faf47b357ca073d9d2ce0821ac61502b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75382 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Physer/Amar2000",
"max_stars_repo_path": "src/eFocus.Amar2000.Infrastructure/Configuration/ZoneSensorMapping/IZoneSensorMapping.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75383"
} | starcoder | <filename>src/eFocus.Amar2000.Infrastructure/Configuration/ZoneSensorMapping/IZoneSensorMapping.cs<gh_stars>1-10
using System.Collections.Generic;
namespace eFocus.Amar2000.Infrastructure.Configuration.ZoneSensorMapping
{
public interface IZoneSensorMapping<out TZones>
where TZones : IEnumerable<IZoneMap<... | 1.887102 | 021afdbe2fcad6ed3ee4c5ef8ad43845 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75383 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "balohmatevz/WarringTownships",
"max_stars_repo_path": "Assets/Code/Scripts/Gameplay Elements/Buildings/Stable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75384"
} | starcoder | <filename>Assets/Code/Scripts/Gameplay Elements/Buildings/Stable.cs
using UnityEngine;
using System.Collections;
public class Stable : Building
{
public Stable(Tile location, int playerNumber, bool forceBuilding = false) : base(BuildingType.HOUSE, location, playerNumber, forceBuilding)
{
buildingSR.sp... | 2.225882 | 984e43c72af5c75ae053bf374505d8cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75384 | {
"extension": "c-sharp",
"max_stars_count": "2208.0",
"max_stars_repo_name": "JakobKirton/mongo-csharp-driver",
"max_stars_repo_path": "src/MongoDB.Driver/Linq/Linq3Implementation/Serializers/KnownSerializers/KnownSerializersNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75385"
} | starcoder | /* Copyright 2010-present MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 2.109314 | 30b1da19c54497f0f1666c6777200db8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75385 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jclapis/dm-jukebox",
"max_stars_repo_path": "DMJukebox.Core/AVUtil/AVClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75386"
} | starcoder | <reponame>jclapis/dm-jukebox
/* ========================================================================
*
* This file is part of the DM Jukebox project.
* Copyright (c) 2016 <NAME>. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in c... | 1.899616 | 5c986e3c846e0128f989a6b5f360a4b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75386 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "borbastibor/Munkabeosztas_ASP_NET_Core",
"max_stars_repo_path": "Views/Dolgozok/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:75387"
} | starcoder | @model IEnumerable<Munkabeosztas_ASP_NET_Core.Models.Dolgozo>
@{
ViewData["Title"] = "Dolgozók";
}
@await Html.PartialAsync("_AdminMenuPartial")
<div class="adminform-container">
<div class="adminform-title">
@ViewData["Title"]
@Html.ActionLink("[X]", "Index", "Home", null, new { @class = "c... | 2.443245 | f332a35890ee6fa52a8432b1a9a6768a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75387 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CFGToolkit/NPreprocessor",
"max_stars_repo_path": "NPreprocessor/CallParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75388"
} | starcoder | <reponame>CFGToolkit/NPreprocessor
using NPreprocessor.Input;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace NPreprocessor
{
public static class CallParser
{
private static Regex _macroCallPrefix = new Regex(@"([`\$\w]+)\(", RegexOpti... | 2.713645 | 214cf0844cf4db99b69ea9a3bbc07302 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75388 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FeodorFitsner/DotNetToolkit.Repository",
"max_stars_repo_path": "src/DotNetToolkit.Repository.EntityFramework/Internal/EfRepositoryContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75389"
} | starcoder | namespace DotNetToolkit.Repository.EntityFramework.Internal
{
using Configuration;
using Configuration.Conventions;
using Extensions;
using Extensions.Internal;
using Query;
using Query.Strategies;
using System;
using System.Collections.Generic;
using System.Data;
using System.D... | 2.682868 | 8887ed6fc2de09bbefa471001b6cc08c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75389 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TencentCloud/tencentcloud-sdk-dotnet-intl-en",
"max_stars_repo_path": "TencentCloud/Cvm/V20170312/Models/ReservedInstancePrice.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75390"
} | starcoder | /*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | 1.680647 | 1afb4a63a8bc1e9be57f4771e4598835 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75390 | {
"extension": "c-sharp",
"max_stars_count": "633.0",
"max_stars_repo_name": "HannesFranke-smartoptics/sharpgl",
"max_stars_repo_path": "source/SharpGL/Core/SharpGL.WPF/RenderTrigger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75391"
} | starcoder | namespace SharpGL
{
/// <summary>
/// The RenderingMode - specifies how and when rendering
/// will occur in an OpenGL control.
/// </summary>
public enum RenderTrigger
{
/// <summary>
/// The Default RenderingMode, TimerBased. This mode means that
/// a timer will be s... | 2.764781 | a527938e82236e6318e2c36492ae76cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75391 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ombelfc/3D-Scene-loading",
"max_stars_repo_path": "Scene loading/Engine/Utilities/Color.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75392"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Engine.Utilities
{
// Template representing the RGBA color.
public class Color<T>
{
private readonly T[] _components;
public Color(T r, T g, T b, T a)
{
_components = new[] { r, g, b, a };
... | 3.173023 | fea679c8763f324cfc0e49cb90091f97 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75392 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "badawe/AtlasAuditor",
"max_stars_repo_path": "Scripts/Editor/Extensions/Texture2DExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75393"
} | starcoder | using System.Linq;
using UnityEditor;
namespace UnityEngine
{
public static partial class Texture2DExtensions
{
public static bool TryLoadSprites(this Texture2D texture, out Sprite[] sprites )
{
string texturePath = AssetDatabase.GetAssetPath(texture);
sprites = AssetDa... | 2.69393 | 259d96dbf68b001bd4929384eb1c277a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75393 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "bytefish/SqlServer2019GraphDatabase",
"max_stars_repo_path": "CSharp/SqlServer2019Graph/Services/IGraphService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75394"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using SqlServer2019Graph.Model;
namespace SqlServer2019Graph.Services
{
public interface IGraphService
{
Graph GetGraphSchema(string schemaName);
}
}... | 1.307534 | 31b44caea627af7a029c48e6827a9639 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75394 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "julianosaless/Reusables",
"max_stars_repo_path": "src/DayOfWeekExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75395"
} | starcoder | using System;
namespace Reusables.DayOfWeekExtensions
{
public static class DayOfWeekExtensions
{
public static bool IsWeekend(this DayOfWeek date) => date.Equals(DayOfWeek.Saturday) || date.Equals(DayOfWeek.Sunday);
public static bool IsWeekday(this DayOfWeek date)
{
return... | 3.290743 | 607d544a3105ae49a2a655f8b813909f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75395 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tron999/FlyCasual",
"max_stars_repo_path": "Assets/Scripts/Model/Upgrades/Cannon/JammingBeam.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75396"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using Abilities;
using Tokens;
using UnityEngine;
using Upgrade;
using RuleSets;
namespace UpgradesList
{
public class JammingBeam : GenericSecondaryWeapon, ISecondEditionUpgrade
{
public JammingBeam()
{
Types.Add(UpgradeType.... | 2.14114 | b4b53123f09ffb78b0f9b435a7433ab5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75396 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "rbirkby/mscui",
"max_stars_repo_path": "Solutions/Main/NhsCui.Toolkit.WinForms/TimeInputBoxControl/Resources.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75397"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.312
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-----... | 2.144666 | 4b136e9281d4e7cb626848ca1855222e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75397 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "milosmartinov/TFZR-RSOK-Autosalon",
"max_stars_repo_path": "TFZRAutosalon/Viewmodels/CarsViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75398"
} | starcoder | <reponame>milosmartinov/TFZR-RSOK-Autosalon
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TFZRAutosalon.Models;
using TFZRAutosalon.Viewmodels.Base;
namespace TFZRAutosalon.Viewmodels
{
public class CarsViewModel : BaseViewModel<Cars>, IBaseViewModel<CarsVi... | 1.844051 | 446141183e04be4a6db302e9a5ced45d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75398 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TheCakeConsortium/The-Loop-Planet",
"max_stars_repo_path": "Assets/Scripts/Planet/Nodes/PlanetNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75399"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlanetNode : MonoBehaviour
{
[SerializeField] Button button;
GameMaster GM;
public int index { get; set; }
public List<NodeEffect> effects = new List<NodeEffect>();
public string fla... | 2.284272 | 4c790316e3bb5f4e9b42577cab0417c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75399 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MeridjaNassim/WeatherLab",
"max_stars_repo_path": "WeatherLab/PredictionSystem/Utils/PredictionManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75400"
} | starcoder | <reponame>MeridjaNassim/WeatherLab<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WeatherLab.PredictionSystem.Common;
namespace WeatherLab.PredictionSystem.Utils
{
/// <summary>
/// This class represents the The entity re... | 2.668153 | 10f4194e7c7f823e9717bc001648fb8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75400 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jojolepro/ludumdare43",
"max_stars_repo_path": "Assets/UnityResources/Scripts/RawImageUVScroller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75401"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class RawImageUVScroller : MonoBehaviour
{
public Vector2 speed;
private RawImage ri;
// Use this for initialization
void Start()
{
ri = GetComponent<RawImage>();
}
... | 1.966915 | c6d16e1ba63735a566bcdb413be470d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75401 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "juchom/marten",
"max_stars_repo_path": "src/DocumentDbTests/Reading/BatchedQuerying/batched_querying_with_aggregate_functions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75402"
} | starcoder | <reponame>juchom/marten
using System.Threading.Tasks;
using Marten;
using Marten.Testing.Documents;
using Marten.Testing.Harness;
using Shouldly;
using Xunit;
namespace DocumentDbTests.Reading.BatchedQuerying
{
public class batched_querying_with_aggregate_functions : IntegrationContext
{
[Fact]
... | 2.037733 | 8bc4aabbfd9eaa9088e586088c56d319 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75402 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NexusCommunity/Nexus",
"max_stars_repo_path": "Nexus.ModManager/ModId.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75403"
} | starcoder | <reponame>NexusCommunity/Nexus
namespace Nexus.ModManager
{
#pragma warning disable CS0659
public class ModId
#pragma warning restore CS0659
{
public string AssemblyName { get; set; }
public string AssemblyLocation { get; set; }
public string AssemblyVersion { get; set; }
publi... | 2.370823 | e4af38ec6afa57ea1ddc1960c4d48b21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75403 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NBurrichter/AngryBirdsClone",
"max_stars_repo_path": "Assets/Scripts/ExplosionManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75404"
} | starcoder | using UnityEngine;
using System.Collections;
public class ExplosionManager : MonoBehaviour {
public static ExplosionManager S;
//souds
public AudioClip hitSound;
private AudioSource source;
private float volLowRange = 2.0f;
private float volHighRange = 3.0f;
private float lowPitchRange = .75F;
private float... | 2.272416 | 51abcd0076b3a3c7b1c6a6e1b2f989c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75404 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "viktor4o4o/Homework",
"max_stars_repo_path": "Data Types Execise/Task4/Elevator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75405"
} | starcoder | namespace Task4
{
using System;
class Elevator
{
static void Main(string[] args)
{
int people = int.Parse(Console.ReadLine());
int capacity = int.Parse(Console.ReadLine());
double fullCourses =Math.Ceiling( (Double)people / (Double)capacity);
... | 3.317604 | 1559e6d3f7d0ce63c4cbd5b6b32312dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75405 | {
"extension": "c-sharp",
"max_stars_count": "780.0",
"max_stars_repo_name": "hur1can3/cofoundry",
"max_stars_repo_path": "src/Cofoundry.Domain/Domain/CustomEntities/Models/ICustomEntityDisplayModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75406"
} | starcoder | <filename>src/Cofoundry.Domain/Domain/CustomEntities/Models/ICustomEntityDisplayModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cofoundry.Domain
{
/// <summary>
/// Don't inherit from this directly, use the generic version
... | 2.789382 | 93f7f79638f3b02b8c67b275ff762e9c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75406 | {
"extension": "c-sharp",
"max_stars_count": "94.0",
"max_stars_repo_name": "ashlyrclark/docs.particular.net",
"max_stars_repo_path": "Snippets/Host/Host_7/EndpointConfigByNamespace.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75407"
} | starcoder | <filename>Snippets/Host/Host_7/EndpointConfigByNamespace.cs<gh_stars>10-100
#region EndpointNameByNamespace
namespace MyServer
{
using NServiceBus;
public class EndpointConfigByNamespace :
IConfigureThisEndpoint,
AsA_Server
{
// ... custom config
#endregion
... | 1.476214 | 84ed27892ff9c9624be67cc11869f676 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75407 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "satano/Kros.Utils",
"max_stars_repo_path": "src/Data/Schema/SqlServer/SqlServerColumnSchema.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75408"
} | starcoder | using Kros.Utils;
using Microsoft.Data.SqlClient;
using System.Data;
namespace Kros.Data.Schema.SqlServer
{
/// <summary>
/// Table's column schema for Microsoft SQL Server.
/// </summary>
public class SqlServerColumnSchema
: ColumnSchema
{
#region Constructors
/// <inheri... | 2.76694 | 5965d2a837a0614123892f72f2cb0388 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75408 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "antomys/Parimatch_Academy_Homeworks",
"max_stars_repo_path": "Homework_8/DesignPatterns.UnitTests/CustomStringBuilderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75409"
} | starcoder | <filename>Homework_8/DesignPatterns.UnitTests/CustomStringBuilderTests.cs
using DesignPatterns.Builder;
using Xunit;
namespace DesignPatterns.UnitTests
{
public class CustomStringBuilderTests
{
[Fact]
public void AppendTest()
{
ICustomStringBuilder sb = new CustomStringBuild... | 3.16483 | f1ac3ed1e964603caf6e38e89fac9d71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75409 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "adgistics/Adgistics.Acl",
"max_stars_repo_path": "source/Adgistics.Acl-Test/Example/Privileges/RevisePrivilege.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75410"
} | starcoder | <gh_stars>1-10
namespace Modules.Acl.Example
{
public sealed class RevisePrivilege : IPrivilege
{
private const string _identifier = "Revise";
private const string _description =
"Grants 'revise' privileges for resources.";
public string Identifier
{
ge... | 2.174223 | 1eb547487fb9eed50dd2ea5a6b7efe65 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MatheusLittig/top-or-flop",
"max_stars_repo_path": "api/Data/EFCore/Repositories/EFCoreUsersRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75411"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using api.Data.EFCore.Intefaces;
using api.Models;
using api.Services.Infra;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace api.Data.EFCore.Repositories
{
public class EFCoreUsersRepository : EFCoreRepositor... | 2.531722 | b1a314958ae5b1d7bddb617273898812 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75411 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "madiantech/tkcore",
"max_stars_repo_path": "Core/YJC.Toolkit.MetaData/MetaData/DecoderType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75412"
} | starcoder | <reponame>madiantech/tkcore
namespace YJC.Toolkit.MetaData
{
public enum DecoderType
{
None = 0,
CodeTable = 1,
EasySearch = 2
}
}
| 1.005569 | 0575b2196951dbba509fd91da0543e2e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75412 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DeryckJackson/Sneuss.Solution",
"max_stars_repo_path": "Factory/Views/Engineers/Delete.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:75413"
} | starcoder | @{
Layout = "_Layout";
}
@model Sneuss.Models.Engineer
<h2 class="jumbotron">Delete Engineer</h2>
<p>Are you sure you want to delete this Engineer?</p>
<p>Name: @Html.DisplayFor(model => model.Name)</p>
@using (Html.BeginForm())
{
<input type="submit" class="btn btn-danger" value="Delete" />
}
<input type="bu... | 2.050235 | 3d4c82e5a017eef52fd3485288ee1d0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75413 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "220328-uta-sh-net-ext/Harsh-Tamakuwala",
"max_stars_repo_path": "project-1/Retaurant_App/RetaurantModel/LoginModelClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75414"
} | starcoder | <reponame>220328-uta-sh-net-ext/Harsh-Tamakuwala<filename>project-1/Retaurant_App/RetaurantModel/LoginModelClass.cs
using System;
namespace RestaurantModel
{
public class LoginModelClass
{
public LoginModelClass()
{
EmailId = "";
Password = "";
}
public... | 1.635181 | f61e350e48933626b531b7f5c40b11b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75414 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "millertimebjm/SpaceTraders",
"max_stars_repo_path": "SpaceTraders/Models/CredentialsModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75415"
} | starcoder | <reponame>millertimebjm/SpaceTraders
using Newtonsoft.Json;
using System.IO;
namespace SpaceTraders.Models
{
public class CredentialsModel
{
public string Username { get; set; }
public string Token { get; set; }
}
public interface ICredentials
{
CredentialsModel Get();
... | 2.972198 | 01736007144a573d03b828420689d41b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75415 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "thk123/WizardsRitual",
"max_stars_repo_path": "Get Off My Spawn/Assets/Resources/Scripts/DifficultyManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75416"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class DifficultyManager : MonoBehaviour {
//lic DifficultyScriptableObject StartingDifficulty;
public Summoner summoner;
public CandlePatternGenerator PatternGenerator;
public HazardSpawner hazardSpawner;
publ... | 2.376661 | 348ff5c26a671ceb1488951db282678c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75416 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hygoh2k/iocDemo",
"max_stars_repo_path": "SpreadsheetApp/SpreadsheetTest/SimpleSpreadsheetTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75417"
} | starcoder | <filename>SpreadsheetApp/SpreadsheetTest/SimpleSpreadsheetTest.cs
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Spreadsheet.Model;
namespace SpreadsheetTest
{
[TestClass]
public class SimpleSpreadsheetTest
{
/// <summary>
/// normal update test
/// </summa... | 2.866045 | 9bc12907f406204950d4c9dd502de18c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75417 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Azure-Samples/app-service-mobile-dotnet-offline-encryption",
"max_stars_repo_path": "SQLitePCL/SQLitePCL/SQLiteStatement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75418"
} | starcoder | <filename>SQLitePCL/SQLitePCL/SQLiteStatement.cs
// Copyright © Microsoft Open Technologies, Inc.
// 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. You may obtain a copy of the License at
// http://www.apache.org/... | 2.487745 | 69dfbc0bbacdeddc03f49a378968075f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75418 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ga-explorer/GMac",
"max_stars_repo_path": "CodeComposerLib/CodeComposerLib/Irony/SourceCode/LanguageCodeTextLine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75419"
} | starcoder | namespace CodeComposerLib.Irony.SourceCode
{
public sealed class LanguageCodeTextLine : ISourceCodeUnitLine
{
public LanguageCodeText ParentTextCodeUnit { get; }
public ISourceCodeUnit ParentCodeUnit => ParentTextCodeUnit;
public int LineNumber { get; }
public int FirstCharac... | 2.665452 | 4955260e2f72212281659c0957b08881 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75419 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "angeloxx/autoscalerdemo",
"max_stars_repo_path": "autoscalerServerNet/BananaShopNet/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75420"
} | starcoder | <reponame>angeloxx/autoscalerdemo
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using BananaShopNet.Controllers;
using Microsoft.AspNetCore.Hosting;
using Prometheus;
namespace BananaShopNet
{
public class Program
{
public s... | 1.876734 | 42ddab18e03768214b733dc88230bff5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75420 | {
"extension": "c-sharp",
"max_stars_count": "2542.0",
"max_stars_repo_name": "gridgentoo/ServiceFabricAzure",
"max_stars_repo_path": "src/prod/src/managed/Microsoft.ServiceFabric.Data.Impl/DataStructures/KVList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75421"
} | starcoder | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.ServiceFab... | 2.707238 | 403c0510c14e9b82fc1d3b0bea149299 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75421 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MasterQ32/psi",
"max_stars_repo_path": "psicc/Intermediate/ASTConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75422"
} | starcoder | <reponame>MasterQ32/psi<filename>psicc/Intermediate/ASTConverter.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Psi.Compiler.Grammar;
namespace Psi.Compiler.Intermediate
{
public class ASTConverter
... | 2.454346 | 23bef0ba4804418cdc8efeb2e0978e04 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75422 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "06012021-dotnet-uta/GuillermoDelgadoP0",
"max_stars_repo_path": "ClassChallenges/FirtsHelloWorld/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75423"
} | starcoder | <gh_stars>0
using System;
namespace myfirtshelloworld
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Console.WriteLine("Enter your name and age");
Console.WriteLine("Enter your name");
string name = Consol... | 3.12558 | 99f1cf1df1d5156495f7266dbb25dcc6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75423 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryanheath/ravendb",
"max_stars_repo_path": "src/Raven.Client/Json/Converters/ParametersConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75424"
} | starcoder | <gh_stars>1-10
using System;
using Newtonsoft.Json;
using Sparrow.Extensions;
using Sparrow.Json;
namespace Raven.Client.Json.Converters
{
internal sealed class ParametersConverter : RavenJsonConverter
{
public static readonly ParametersConverter Instance = new ParametersConverter();
... | 2.564908 | 06ae2b2eb415f9d07c50e0b27ba32677 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75424 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "MathewSachin/Poke",
"max_stars_repo_path": "Core/Abilities/PinchAbility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75425"
} | starcoder | namespace Poke
{
public class PinchAbility : Ability
{
public PinchAbility(string Name, Types Type) : base(Name)
{
this.Type = Type;
Description = $"Strengthens {Type} moves to inflict 1.5x damage at 1/3 max HP or less.";
}
public Types Type { get; }
... | 2.726343 | 8d96ad5bf2647a5389057ca70b6e4952 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75425 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rmja/FtpServer",
"max_stars_repo_path": "src/FubarDev.FtpServer.FileSystem.InMemory/InMemoryFileSystemEntry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75426"
} | starcoder | <filename>src/FubarDev.FtpServer.FileSystem.InMemory/InMemoryFileSystemEntry.cs
// <copyright file="InMemoryFileSystemEntry.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
using System;
using System.Security.Claims;
using FubarDev.FtpServer.Accou... | 2.551043 | 5a886b3b733d8477c2cf2c171b17c57f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75426 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CaulyKan/OnePenguin",
"max_stars_repo_path": "OnePenguin.Essentials.CodeGenerator/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75427"
} | starcoder | using System;
using System.CodeDom;
using CommandLine;
using System.Linq;
using System.Collections.Generic;
namespace OnePenguin.Essentials.CodeGenerator
{
class Program
{
static void Main(string[] args)
{
Parser.Default.ParseArguments<Options>(args).WithParsed<Options>... | 2.552489 | aa7d94aa831e07076fad5aa5e28abf71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75427 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "connectashish/AquariumBooking",
"max_stars_repo_path": "src/D05/Test Folder/PlanYourVisitControllerTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75428"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using Microsoft.Data.Entity;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
using D05.Models;
using D05.Controllers;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsof... | 2.076765 | 939fa0de4d9801f0dfa4605212efe85b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75428 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "CharlieScarver/EmotionMusicTest",
"max_stars_repo_path": "Emotion/Game/Animation/AnimationLoopType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75429"
} | starcoder | <filename>Emotion/Game/Animation/AnimationLoopType.cs<gh_stars>10-100
namespace Emotion.Game.Animation
{
/// <summary>
/// The way a animation will loop.
/// </summary>
public enum AnimationLoopType
{
/// <summary>
/// The animation will play once.
/// </summary>
Non... | 3.250502 | db8dd0682219d3b5757a0be6b61abd4f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75429 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JoshuaHull/linq2dynamodb",
"max_stars_repo_path": "Sources/Linq2DynamoDb.DataContext.Tests/EntityManagementTests/Poco/PocoModificationTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75430"
} | starcoder | using Linq2DynamoDb.DataContext.Tests.Entities;
using Linq2DynamoDb.DataContext.Tests.Helpers;
using NUnit.Framework;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Linq2DynamoDb.DataContext.Tests.EntityManagementTests.Poco
{
[TestFixture]
public class PocoModificationTests : DataCo... | 2.408617 | 6d1dc504f6468be076cc914b3886d66a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75430 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FoxySeta/app-oriani",
"max_stars_repo_path": "Bar Oriani/Assets/Plugins/ESC-POS-USB-NET/Epson Commands/BarCode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75431"
} | starcoder | <reponame>FoxySeta/app-oriani
using ESC_POS_USB_NET.Enums;
using ESC_POS_USB_NET.Extensions;
using ESC_POS_USB_NET.Interfaces.Command;
namespace ESC_POS_USB_NET.EpsonCommands
{
public class BarCode : IBarCode
{
public byte[] Code128(string code, Positions printString = Positions.NotPrint)
{
... | 2.130911 | 98707e0d9842f8e5c72ad770ad95045a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75431 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "siyamandayubi/Orchardcollaboration",
"max_stars_repo_path": "src/Orchard.Web/Modules/Orchard.CRM.Core/Providers/Serialization/ContentPartConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75432"
} | starcoder | <reponame>siyamandayubi/Orchardcollaboration
using Newtonsoft.Json;
using Orchard.ContentManagement;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Orchard.CRM.Core.Providers.Serialization
{
public class ContentPartConverter : JsonConverter
... | 2.122442 | eed303fe198a5cc15cd8b2488c8b01b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75432 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rottedfrog/importomatic",
"max_stars_repo_path": "ImportOMatic3000.Test/SimpleRowReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75433"
} | starcoder | <reponame>rottedfrog/importomatic
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace ImportOMatic3000.Test
{
public class SimpleRowReader : IRowReader
{
string[] _lines;
public void Dispose() { }
public SimpleRowReader(params string[] lines) =>_lin... | 2.02725 | ba9c29876269e98da112bc96d66b47d4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.