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 | 67733 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kasuken/CryptoLive",
"max_stars_repo_path": "src/CryptoLive.Models/CoinDetail.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67734"
} | starcoder | <filename>src/CryptoLive.Models/CoinDetail.cs
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CryptoLive.Models
{
public class CoinDetail
{
[JsonProperty("altCap")]
public double AltCap { get; set; }
[Js... | 2.001171 | 125d67d6ad11899010473af21c0475cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67734 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "austinkeller/pwiz",
"max_stars_repo_path": "pwiz_tools/Skyline/Model/GroupComparison/GroupComparisonSelector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67735"
} | starcoder | /*
* Original author: <NAME> <nicksh .at. u.washington.edu>,
* MacCoss Lab, Department of Genome Sciences, UW
*
* Copyright 2015 University of Washington - Seattle, WA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wit... | 2.456018 | 05f8d1999fd48fd14e17f83d8f707662 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67735 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "cymondez/SerialNumber",
"max_stars_repo_path": "SerialNumber/Dispenser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67736"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
using SerialNumber.CommonUtils;
namespace SerialNumber {
/// <summary>
/// 抽號機
/// </summary>
public class Dispenser : IEnumerable<string>... | 2.931854 | 38ecf3455e636d7474d9dc583d0f50f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67736 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "markmario/fantasydata-api-csharp",
"max_stars_repo_path": "FantasyData.Api.Test/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67737"
} | starcoder | <gh_stars>0
using FantasyData.Api.Client;
var client = new NBAv3PlayByPlayClient("your-key-goes-here", new HttpClient());
var times = await client.GetBoxScoresDeltaRawAsync("2021-DEC-25", "2");
foreach (var time in times.Item1)
{
Console.WriteLine(times.Item2);
}
Console.ReadLine();
Console.WriteLine();
Con... | 2.070799 | 60fa2ca7dfa3fc3da655b83cf7c10794 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67737 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Imbaker1234/CityOfHiddenApes.Discord",
"max_stars_repo_path": "Arguments/ReColors.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67738"
} | starcoder | namespace Discordia.Arguments
{
public enum ReColors
{
Blue,
Default,
Gold,
Green,
Magenta,
Orange,
Purple,
Red,
Teal,
DarkBlue,
DarkerGrey,
DarkGreen,
DarkGrey,
DarkMagenta,
DarkOrange,
... | 1.979095 | e59981feed7072854411b2d98f2e9310 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67738 | {
"extension": "c-sharp",
"max_stars_count": "90.0",
"max_stars_repo_name": "brettsam/mobile-services-samples",
"max_stars_repo_path": "TicTacToe/service-net/TicTacToeMobileService/Controllers/UserController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67739"
} | starcoder | using System.Linq;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.OData;
using Microsoft.WindowsAzure.Mobile.Service;
using Microsoft.WindowsAzure.Mobile.Service.Security;
using TicTacToeMobileService.DataObjects;
using TicTacToeMobileService.Models;
name... | 2.010754 | 6bc4954b7586040a60b7f49d95f60442 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67739 | {
"extension": "c-sharp",
"max_stars_count": "587.0",
"max_stars_repo_name": "wirehives/SocialGoal",
"max_stars_repo_path": "source/SocialGoal.Model/Models/UpdateSupport.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67740"
} | starcoder | <reponame>wirehives/SocialGoal
using System;
namespace SocialGoal.Model.Models
{
public class UpdateSupport
{
public int UpdateSupportId { get; set; }
public int UpdateId { get; set; }
public string UserId { get; set; }
public virtual Update Update { get; set; }
pub... | 1.426899 | 7bd808cdd27b1c6643c21b2470f24904 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67740 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "echoprotocol/echo-unity-lib",
"max_stars_repo_path": "Scripts/BaseApi/Keys/IPublicKey.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67741"
} | starcoder | <reponame>echoprotocol/echo-unity-lib<gh_stars>1-10
using System;
using Base.Data;
namespace Base.Keys
{
public interface IPublicKey : ISerializeToBuffer, IEquatable<IPublicKey>, IComparable<IPublicKey>, IDisposable { }
} | 0.989032 | 122bc9dd1f5affabd7fe61549db809bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67741 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Timschuu/RageMP.Net",
"max_stars_repo_path": "src/AlternateLife.RageMP.Net.Example/Server/ExampleResource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67742"
} | starcoder | using System.Threading.Tasks;
using AlternateLife.RageMP.Net.Interfaces;
using AlternateLife.RageMP.Net.Scripting;
namespace AlternateLife.RageMP.Net.Example
{
public class ExampleResource : IResource
{
public ExampleResource()
{
MP.Events.PlayerJoin += OnPlayerJoin;
MP.... | 2.331734 | 29b3a2170a5c65d46a64c6c80f105c8c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67742 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "YouseiSakusen/WpfPractises",
"max_stars_repo_path": "12_episode14/EditorViews/ViewModels/PersonalEditorViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67743"
} | starcoder | <filename>12_episode14/EditorViews/ViewModels/PersonalEditorViewModel.cs
using System;
using System.ComponentModel.DataAnnotations;
using Prism.Mvvm;
using Prism.Regions;
using Reactive.Bindings;
using Reactive.Bindings.Extensions;
namespace WpfTestApp.ViewModels
{
public class PersonalEditorViewModel : BindableBase... | 2.696919 | 45cdd9a0b62e9bd238f17949cd20c6d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67743 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mavasani/visualstudio-docs",
"max_stars_repo_path": "docs/extensibility/codesnippet/CSharp/walkthrough-displaying-signature-help_20.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67744"
} | starcoder | public ISignature GetBestMatch(ISignatureHelpSession session)
{
if (session.Signatures.Count > 0)
{
ITrackingSpan applicableToSpan = session.Signatures[0].ApplicableToSpan;
string text = applicableToSpan.GetText(applicableToSpan.TextBuffer.CurrentSnapshot);
i... | 2.553599 | 1e67bdfb68d8eededa9dce56b894eb69 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67744 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HmmmWoo/Mkh",
"max_stars_repo_path": "src/05_Cache/Cache.Redis/CacheBuilderExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67745"
} | starcoder | <reponame>HmmmWoo/Mkh<filename>src/05_Cache/Cache.Redis/CacheBuilderExtensions.cs
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Mkh.Cache.Abstractions;
using Mkh.Cache.Redis;
// ReSharper disable once CheckNamespace
namespace Microsoft.Extensions.Dependency... | 2.102772 | 9a7290a1d42547709b1689e2ab1654ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67745 | {
"extension": "c-sharp",
"max_stars_count": "629.0",
"max_stars_repo_name": "Sreejithpin/odata.net",
"max_stars_repo_path": "test/FunctionalTests/Microsoft.OData.Core.Tests/UriParser/Metadata/PathParserModelUtilsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67746"
} | starcoder | //---------------------------------------------------------------------
// <copyright file="PathParserModelUtilsTests.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//---------------------------... | 2.0485 | b8454710b7d3f0ab792ef677e531eb95 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67746 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Xaniff/BlogCodeExercise",
"max_stars_repo_path": "DomainClasses/Entities/UserProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67747"
} | starcoder | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using DomainClasses.Enums;
using DomainClasses.Interfaces;
namespace DomainClasses.Entities
{
public class UserProfile : IObjectWithState
{
/// <summary>
/// Primary key of the UserProfile object.
/// </summary>
public int... | 2.644995 | fe334c9fd256e0f8cbf5d99d26f376dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67747 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "VassilievVV/SpreadCommander",
"max_stars_repo_path": "SpreadCommander.Documents/Controls/ProjectBrowser.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67748"
} | starcoder | <reponame>VassilievVV/SpreadCommander
namespace SpreadCommander.Documents.Controls
{
partial class ProjectBrowser
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summ... | 1.634598 | fc0ea6dbcaf3f7a4646586d02e3c079b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67748 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dlumpp/DailyWheel",
"max_stars_repo_path": "DailyWheel/Model/BoardSpace.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67749"
} | starcoder | namespace DailyWheel.Model
{
public class BoardSpace
{
public bool NeverUsed { get; set; }
public bool InPlay => Letter != null;
public bool IsGiven { get; set; }
public char? Letter { get; set; }
public static BoardSpace[,] CreateEmptyBoard()
{
... | 3.103457 | 3fda913a466d28b2b2e22973846cf04f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67749 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "channell/Ea.Gen",
"max_stars_repo_path": "EA.Gen.Model.Helper/ChangeHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67750"
} | starcoder | <reponame>channell/Ea.Gen<filename>EA.Gen.Model.Helper/ChangeHandler.cs
/*
* Copyright Cepheis Ltd 2022
* All rights reserves
*/
using EA.Gen.Hub.Model;
using EA.Gen.Model;
using System;
using System.Data.SqlClient;
using System.Diagnostics;
using System.Linq;
namespace EA.Gen.Hub.Data
{
/// <summary>
/// Act... | 2.125468 | 04b8ba405960f23a35652328138c2765 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67750 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "greeduomacro/vivre-uo",
"max_stars_repo_path": "Scripts/Customs/KniveChat/Channels/Guild.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67751"
} | starcoder | <filename>Scripts/Customs/KniveChat/Channels/Guild.cs
using System;
using System.Collections;
using Server;
namespace Knives.Chat3
{
public class Guild : Channel
{
private Hashtable c_History = new Hashtable();
public Guild() : base("Guild")
{
Commands.Add("guild");
... | 2.332686 | 11575d0dceead413b56100c756e8c352 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67751 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "Muzammil-khan/Aspose.Email-for-.NET",
"max_stars_repo_path": "Examples/CSharp/IMAP/MoveMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67752"
} | starcoder | <filename>Examples/CSharp/IMAP/MoveMessage.cs
using System;
using Aspose.Email.Clients.Imap;
using Aspose.Email.Mime;
namespace Aspose.Email.Examples.CSharp.Email.IMAP
{
class MoveMessage
{
static void Run()
{
// ExStart: MoveMessage
///<summary>
/// This e... | 2.805602 | 71b3de57b04842f430fbc77fda2e19ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67752 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "juliansangillo/nbg-unity-sdk",
"max_stars_repo_path": "NBG Unity SDK/Assets/Plugins/Naughty Biker Games/Source/Adapters/Interfaces/IRaycastHit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67753"
} | starcoder | using UnityEngine;
namespace NaughtyBikerGames.SDK.Adapters.Interfaces {
/**
* An adapter for Unity's RaycastHit. A RaycastHit, or more commonly known as a 'hit', is a struct that provides details on a
* collider that was hit by a Raycast. For the sake of convenience, this adapter obtains the GameObject the c... | 3.003662 | 785c6931088eda7d02185f55229ba69a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67753 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "brettmeyerowitz/LogAnalytics.Client",
"max_stars_repo_path": "LogAnalytics.Client/LogAnalytics.Client.IntegrationTests/Tests/Client/TestEntities/TestEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67754"
} | starcoder | using System;
namespace LogAnalytics.Client.IntegrationTests.TestEntities
{
public class TestEntity
{
public string Category { get; set; }
public string TestString { get; set; }
public bool TestBoolean { get; set; }
public Double TestDouble { get; set; }
public int Test... | 1.810198 | 82bce217bde21948fc15c06362272c60 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67754 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "provencher/Deform",
"max_stars_repo_path": "Code/Editor/Mesh/Deformers/Masking/Masks/VertexColorMaskEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67755"
} | starcoder | using UnityEngine;
using UnityEditor;
using Beans.Unity.Editor;
using Deform.Masking;
namespace DeformEditor.Masking
{
[CustomEditor (typeof (VertexColorMask)), CanEditMultipleObjects]
public class VertexColorMaskEditor : DeformerEditor
{
private class Content
{
public static readonly GUIContent Factor = De... | 1.790529 | 385429671f9274e9a6e3885a50a98b72 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67755 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BAndysc/UserGuiLib",
"max_stars_repo_path": "UserGuiLib.GDI/PaintDotNet/Implementation/Utility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67756"
} | starcoder | <filename>UserGuiLib.GDI/PaintDotNet/Implementation/Utility.cs
/////////////////////////////////////////////////////////////////////////////////
// Paint.NET //
// Copyright (C) dotPDN LLC, <NAME>, <NAME>, and contributors. //
// Portions Copyright ... | 2.399763 | 96bbb9eadf813cf38d6c8a01e259223c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67756 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "sucrose0413/arke",
"max_stars_repo_path": "Arke.SipEngine/Processors/ILanguageSelectionPromptPlayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67757"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using Arke.SipEngine.CallObjects;
namespace Arke.SipEngine.Processors
{
public interface ILanguageSelectionPromptPlayer
{
void AddPromptsToQueue(List<string> prompts);
void PlayPromptTextToSpeech(string promptText);
... | 1.828596 | 195da9b4ab704ba8819eb82a362e1112 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67757 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NathanClouseAX/AAXDataEntityPerfTest",
"max_stars_repo_path": "Projects/AAXDataEntityPerfTest/ODataUtility/Connected Services/D365/ShippingGoodsDescriptionTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67758"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 2.019279 | 618d7e925b8ba7a6f0f6d6b58b419ea2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67758 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GRENADEable/3D_Game_Kit",
"max_stars_repo_path": "3D Game Kit/Assets/3D_Game_Kit/Scripts/ScriptableObjects/GameMangerData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67759"
} | starcoder | using UnityEngine;
namespace RedMountMedia
{
[CreateAssetMenu(fileName = "GameManager_Data", menuName = "Managers/GameManagerData")]
public class GameMangerData : ScriptableObject
{
#region Public Variables
[Space, Header("Enums")]
public GameState currState = GameState.Game;
... | 2.885469 | 67afc0a6b1b8fd5ff1cc7fa2d3b3a36d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67759 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "godzff/NewAge.Redis",
"max_stars_repo_path": "src/Interfaces/IRedisConnection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67760"
} | starcoder | <reponame>godzff/NewAge.Redis
using StackExchange.Redis;
using System;
using System.Collections.Generic;
using System.Text;
namespace NewAge.Redis.Interfaces
{
/// <summary>
/// redis的连接配置
/// </summary>
public interface IRedisConnection : IRedisDependency
{
/// <summary>
/// redis... | 1.584723 | 5ab3ef930b5b5bf6996f69bc44849dc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67760 | {
"extension": "c-sharp",
"max_stars_count": "72.0",
"max_stars_repo_name": "chenbojian/ActiveRecord",
"max_stars_repo_path": "src/Castle.ActiveRecord.Tests/JoinedSubClassWithDiscriminatorTestCase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67761"
} | starcoder | // Copyright 2004-2011 Castle Project - http://www.castleproject.org/
//
// 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.953386 | 485698d469b860c024afe07a4c07cc70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67761 | {
"extension": "c-sharp",
"max_stars_count": "3147.0",
"max_stars_repo_name": "syntaxonline-rewhitley/elsa-core",
"max_stars_repo_path": "src/activities/Elsa.Activities.Dropbox/Models/UploadResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67762"
} | starcoder | <reponame>syntaxonline-rewhitley/elsa-core
namespace Elsa.Activities.Dropbox.Models
{
public class UploadResponse
{
}
} | 0.695093 | 1c63954fa23680bc53bcc2db343d3aca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67762 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yortw/ConcurrentSharp",
"max_stars_repo_path": "src/Concurrent.Shared/AsyncLock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67763"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ConcurrentSharp
{
/// <summary>
/// Provides an awaitable (non-blocking) synchronisation primitve.
/// </summary>
/// <remarks>
/// <para>Where you might use;</para... | 2.969297 | 36754877fb5803c34d5d5cae1802037e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67763 | {
"extension": "c-sharp",
"max_stars_count": "1959.0",
"max_stars_repo_name": "cherry003/xamarin-android",
"max_stars_repo_path": "src/Xamarin.Android.NUnitLite/Gui/Options.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67764"
} | starcoder | //
// Copyright 2011-2012 Xamarin 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... | 2.083027 | 936b52632be812ce4a7e58672c0e546c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67764 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BrunoRuiz/EADXamarin",
"max_stars_repo_path": "Solution3/Projeto3/Projeto3/ViewModel/PessoaViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67765"
} | starcoder | using Projeto3.Model;
using System;
using System.Collections.Generic;
using System.Text;
namespace Projeto3.ViewModel
{
public class PessoaViewModel
{
public string Nome { get; set; }
public string Email { get; set; }
public string Cargo { get; set; }
public PessoaViewModel(P... | 2.296792 | 7605d887a96ab4874b0811227dfcd7b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67765 | {
"extension": "c-sharp",
"max_stars_count": "1426.0",
"max_stars_repo_name": "3prm3/NBTExplorer-Reloaded",
"max_stars_repo_path": "NBTUtil/Ops/PrintTreeOperation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67766"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using NBTExplorer.Model;
namespace NBTUtil.Ops
{
class PrintTreeOperation : ConsoleOperation
{
public override bool CanProcess (DataNode dataNode)
{
return true;
}
public override bool Process (Data... | 2.876515 | bcd5e1223a9a2eaacefcef69538f7e01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67766 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ardalis/Mvc",
"max_stars_repo_path": "src/Microsoft.AspNet.Mvc.Core/ViewDataDictionary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67767"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. 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;
using System.Collections.Generic;
using System.Globalization;
using Microsoft.AspNet.Mvc.Core;
... | 2.008495 | 2c37cd97805c3ff7dd46721669e96f2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67767 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "L3tum/Besiege-Multiplayer-Mod",
"max_stars_repo_path": "BesiegeMP/BesiegeMP/Network/NetworkThread.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67768"
} | starcoder | <gh_stars>0
#region usings
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using UnityEngine.Networking;
using VoiceChat;
#endregion
namespace BesiegeMP.Network
{
internal class NetworkThread
{
#region NetworkStuff
public int MiscChannelId, ChatChan... | 1.893143 | 59edf8381a28454b83fb4e73dec56ddf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67768 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "WaifuShork/Common",
"max_stars_repo_path": "src/WaifuShork.Common/Extensions/ReflectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67769"
} | starcoder |
namespace WaifuShork.Common.Extensions;
using System.Reflection;
using System;
using System.CodeDom;
using System.CodeDom.Compiler;
using System.IO;
using System.Runtime.CompilerServices;
using System.Text;
using WaifuShork.Common.QuickLinq;
public static class ReflectionExtensions
{
public static string ToShortS... | 2.742696 | 196a401a8a6558273826b4ba7ec65ca4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67769 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gitter-badger/aspnetcore-tick-cms",
"max_stars_repo_path": "src/LibrameTick.Extensions.Content.Abstractions/Storing/ContentServiceProviderStoreExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67770"
} | starcoder | <reponame>gitter-badger/aspnetcore-tick-cms
#region License
/* **************************************************************************************
* Copyright (c) <NAME> All rights reserved.
*
* https://github.com/librame
*
* You must not remove this notice, or any other, from this software.
* ************... | 2.112874 | ea930105239f57a0cbeae0a37a1665bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67770 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "olexandr-hrytsenko/AMI-dev-DocuSign",
"max_stars_repo_path": "launcher-csharp/eSignature/Controllers/Eg014CollectPaymentController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67771"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using DocuSign.eSign.Api;
using DocuSign.eSign.Client;
using DocuSign.eSign.Model;
using DocuSign.CodeExamples.Models;
using Microsoft.AspNetCore.Mvc;
namespace DocuSign.CodeExamples.Controllers
{
[Area("eSignature")]
[Route("eg... | 2.384802 | 09eba19477a24b15b84282b2c03f1cce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67771 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alessandro-avila/programming-microsoft-azure-service-fabric-v2BookExamples",
"max_stars_repo_path": "Chapter-2/CalculatorApplication/V3/CalculatorClient/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67772"
} | starcoder |
using CalculatorService.Interfaces;
using Microsoft.ServiceFabric.Services.Client;
using Microsoft.ServiceFabric.Services.Communication.Client;
using Microsoft.ServiceFabric.Services.Communication.Wcf;
using Microsoft.ServiceFabric.Services.Communication.Wcf.Client;
using System;
using System.ServiceModel.Channels;
... | 2.239903 | 6632fc95c2db584c04e93ba76e8819aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67772 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nschonni/CoreWCF",
"max_stars_repo_path": "src/CoreWCF.Primitives/src/CoreWCF/Dispatcher/ChannelHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67773"
} | starcoder | using System;
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using System.Xml;
using CoreWCF.Runtime;
using CoreWCF.Channels;
using CoreWCF.Description;
using CoreWCF.Diagnostics;
using SessionIdleManager = CoreWCF.Channels.ServiceChannel.Sessio... | 1.343848 | 085ca1ab3708f0ffbf3d22f1de0afd18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67773 | {
"extension": "c-sharp",
"max_stars_count": "74.0",
"max_stars_repo_name": "dotnetshop/Resgrid-Core",
"max_stars_repo_path": "Core/Resgrid.Model/ResourceOrderSetting.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67774"
} | starcoder | <reponame>dotnetshop/Resgrid-Core
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Resgrid.Framework;
namespace Resgrid.Model
{
[Table("ResourceOrderSettings")]
public class ResourceOrderSetting : IE... | 1.845432 | 27ea8f93818366d33adc3dcd14cb20c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67774 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "RavuAlHemio/SharpIrcBot",
"max_stars_repo_path": "Plugins/Proverb/ProverbConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67775"
} | starcoder | <reponame>RavuAlHemio/SharpIrcBot
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using SharpIrcBot.Config;
namespace SharpIrcBot.Plugins.Proverb
{
[JsonObject(MemberSerialization.OptOut)]
public class ProverbConfig
{
public string ProverbURI { get; set; }
... | 1.868925 | 89c8e82758714e0f9789f72bbd5b04e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67775 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SerBritov/nordic-it-netcore",
"max_stars_repo_path": "13/Homework/Homework/FileLogWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67776"
} | starcoder | <reponame>SerBritov/nordic-it-netcore
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace Homework
{
public class FileLogWriter : AbstractLogWriter, ILogWriter, IDisposable
{
private FileStream fileStream;
private static FileLogWriter instance;
... | 2.702621 | ef7197aabfc2915b6cb80e981dd5972a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67776 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "magfest/UberFreeRADIUSBridge",
"max_stars_repo_path": "WifiAuth/Migrations/20171216040735_InitialCreate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67777"
} | starcoder | <reponame>magfest/UberFreeRADIUSBridge
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace WifiAuth.Migrations
{
public partial class InitialCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
mi... | 2.016714 | 87dfb6433202b9cec7584e827220d69a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67777 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "segrived/Errlock",
"max_stars_repo_path": "Errlock.Resources/ModulesData/XssScanner.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67778"
} | starcoder | <filename>Errlock.Resources/ModulesData/XssScanner.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
//
// Changes to this file may cause incorrect behavior and will be lo... | 1.765941 | 5432a2ad7991bc2613e1427a39f3d14d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67778 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "m3zercat/SI.Net",
"max_stars_repo_path": "Symbols.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67779"
} | starcoder | <filename>Symbols.cs
using System;
namespace SI.Net
{
public static class Symbols
{
public const String
SuperZero = "\u2070",
SuperOne = "\u00B9",
SuperTwo = "\u00B2",
SuperThree = "\u00B3",
SuperFour = "\u2074",
Supe... | 2.943703 | 2c7cebf906b1c0b4f791b1fa4e742f7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67779 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/das-public-sector-reporting",
"max_stars_repo_path": "src/SFA.DAS.PSRService.Web/Services/ReportService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67780"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using MediatR;
using SFA.DAS.PSRService.Application.ReportHandlers;
using SFA.DAS.PSRService.Domain.Entities;
using SFA.DAS.PSRService.Web.Configuration;
using SFA.DAS.PSRService.Web.Models;
namespace SFA.DAS.PSRService.Web.Services
{
public class Rep... | 2.104407 | 6a1b72d6ea65cd878fffb948795ed352 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67780 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "spring-operator/spring-cloud-dotnet-configuration",
"max_stars_repo_path": "test/Pivotal.Extensions.Configuration.ConfigServerBase.Test/TestHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67781"
} | starcoder | // Copyright 2017 the original author or authors.
//
// 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... | 1.90194 | 261d0e06198dc7dd16dd19e11f13061c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67781 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrei-galkin/Structures-and-Algorithms",
"max_stars_repo_path": "Lib/Structures.Tests/HashTableTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67782"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Structures.Tests
{
[TestClass]
public class HashTableTests
{
[TestMethod]
public void WhenWeAddSevearalItems_ThenWeGetItByKey()
{
var hashTable = new HashTable<string, string>();
hashTable.Add("Te... | 3.259629 | edda2854a7e552f4febd5e1eaa099285 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67782 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "andest01/trout-dash_backend",
"max_stars_repo_path": "TroutStreamMangler/TroutStreamMangler.Test/Models/strm_regsln3.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67783"
} | starcoder | using System.ComponentModel.DataAnnotations.Schema;
using TroutDash.EntityFramework.Models;
namespace TroutStreamMangler.MN.Models
{
[Table("stream_regs", Schema = "public")]
public class strm_regsln3 : GeometryExtended
{
[Column("kittle_no")]
public string kittle_no { get; set; }
... | 1.462951 | 40fa7f9a7955d6716873fe2f5a815109 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67783 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amacal/jinx",
"max_stars_repo_path": "src/Jinx/Schema/Rules/JsonMaxPropertiesRule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67784"
} | starcoder | using Jinx.Dom;
namespace Jinx.Schema.Rules
{
public class JsonMaxPropertiesRule : JsonSchemaRule
{
private readonly int maxProperties;
public JsonMaxPropertiesRule(int maxProperties)
{
this.maxProperties = maxProperties;
}
public override bool IsValid(Jso... | 2.706156 | e7f6388346ad85c3e8fbdd409207dc77 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67784 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "lgrabarevic/BuildsAppReborn",
"max_stars_repo_path": "BuildsAppReborn.Contracts/Extensions/BuildDefinitionEqualityComparer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67785"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Runtime.CompilerServices;
using BuildsAppReborn.Contracts.Models;
namespace BuildsAppReborn.Contracts.Extensions
{
[Export(typeof(IEqualityComparer<IBuildDefinition>))]
public class BuildDefinitionEqualityCom... | 2.332773 | 3c2abbd70892b41ad2388a18e0543cc9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67785 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "juliaseid/BakeryMenu",
"max_stars_repo_path": "Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:67786"
} | starcoder | <gh_stars>0
@{
Layout = "_Layout";
}
<h2>Welcome to SweetCakes!</h2>
<p>@Html.ActionLink("See all Menu Items", "Index", "Treats")</p>
<p>@Html.ActionLink("See all Flavors", "Index", "Flavors")</p>
<p>@Html.ActionLink("Create an account", "Index", "Account")</p> | 1.528001 | e5d8520076095df6af3db8b2ebdbf287 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67786 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Mu-L/luban-1",
"max_stars_repo_path": "src/Luban.Job.Cfg/Source/Generate/ExcelConvertRender.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67787"
} | starcoder | <filename>src/Luban.Job.Cfg/Source/Generate/ExcelConvertRender.cs
using ClosedXML.Excel;
using Luban.Job.Cfg.Cache;
using Luban.Job.Cfg.DataConverts;
using Luban.Job.Cfg.Defs;
using Luban.Job.Cfg.Utils;
using Luban.Job.Common.Generate;
using Luban.Job.Common.Types;
using Luban.Job.Common.TypeVisitors;
using Luban.Job.... | 1.800217 | fff7a98835602399e038cb79d55da534 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67787 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zhugelongfei/statemachine",
"max_stars_repo_path": "Samples~/FSMWithTriggerSystem/TriggerSystem/Conditions/Cond_BtnDown.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67788"
} | starcoder | <reponame>zhugelongfei/statemachine<gh_stars>1-10
using Lonfee.TriggerSystem;
using Lonfee.EventSystem;
using EvtCls;
using System;
namespace EvtCls
{
public class BtnDown
{
}
}
namespace Lonfee.FSM.FSMWithTS
{
public class Cond_BtnDown : ABaseCondition
{
public override void InitData(o... | 1.91183 | b550e3788c06d9bcd4ca4f035de17fc9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67788 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JeremyLikness/BuildWin8Apps",
"max_stars_repo_path": "Chapter9/WintellogMvvm/PortableWintellog/Data/BaseItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67789"
} | starcoder | <reponame>JeremyLikness/BuildWin8Apps<filename>Chapter9/WintellogMvvm/PortableWintellog/Data/BaseItem.cs
using System;
using System.Runtime.Serialization;
namespace PortableWintellog.Data
{
[DataContract]
public abstract class BaseItem : BindableBase
{
[DataMember]
public string ... | 1.972485 | 088cdd5139228a3efd9c4b628002b8ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67789 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Otanikotani/pulumi-aws",
"max_stars_repo_path": "sdk/dotnet/CodeBuild/Inputs/ProjectLogsConfigS3LogsArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67790"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.781425 | b6f7645ce6266f59ce4bc7ebd76496a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67790 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "duelists-unite/windbot",
"max_stars_repo_path": "Game/AI/Decks/OrcustExecutor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67791"
} | starcoder | <reponame>duelists-unite/windbot
using System;
using YGOSharp.OCGWrapper.Enums;
using System.Collections.Generic;
using WindBot;
using WindBot.Game;
using WindBot.Game.AI;
using System.Linq;
namespace WindBot.Game.AI.Decks
{
[Deck("Orcust", "AI_Orcust")]
class OrcustExecutor : DefaultExecutor
{
pu... | 1.470901 | 8319c6a5ff01d17b835564d97634d11d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67791 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "philipwolfe/DialToolsForVS",
"max_stars_repo_path": "src/Providers/Errors/ErrorsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67792"
} | starcoder | <reponame>philipwolfe/DialToolsForVS
using Microsoft.VisualStudio.Shell;
using System.Linq;
using EnvDTE;
using EnvDTE80;
namespace DialControllerTools
{
internal class ErrorsController : IDialController
{
private readonly IDialControllerHost _host;
private readonly DTE2 _dte;
private ... | 1.786181 | 54cb8c4ca115e9ea53f2e17311daca01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67792 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DominikaBogusz/PainOfJava",
"max_stars_repo_path": "Assets/Scripts/GameMaster.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67793"
} | starcoder | <reponame>DominikaBogusz/PainOfJava<filename>Assets/Scripts/GameMaster.cs
using UnityEngine;
using System.Collections;
public class GameMaster : MonoBehaviour {
public static GameMaster gm;
[SerializeField]
private Transform playerPrefab;
[SerializeField]
private Transform spawnPoint;
[Serial... | 2.414966 | decaf25f1e78b2541ea7473877d33c66 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67793 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adamuso/2DRabbitPlatform",
"max_stars_repo_path": "2DRabbitPlatform/2DRabbitPlatform/Engine/PathFinder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67794"
} | starcoder | #if OLD
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using _2DRabbitPlatform.Engine.Entity;
namespace _2DRabbitPlatform.Engine
{
public class PathFinder
{
Location location;
Entity.Entity entity, findEntity;
bool findpath;
public PathFi... | 2.479072 | f8b85e0ca6e357058c94db0e1e6a2659 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67794 | {
"extension": "c-sharp",
"max_stars_count": "431.0",
"max_stars_repo_name": "DylanFPS/ShaderGen",
"max_stars_repo_path": "src/ShaderGen.Primitives/ArraySizeAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67795"
} | starcoder | <reponame>DylanFPS/ShaderGen
using System;
namespace ShaderGen
{
public class ArraySizeAttribute : Attribute
{
public int ElementCount { get; }
public ArraySizeAttribute(int elementCount)
{
ElementCount = elementCount;
}
}
}
| 2.148327 | 755c754a50b89713e12b8c5fec2f1fdb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67795 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Layla-P/CloudCity",
"max_stars_repo_path": "dotnet/CloudCityCakeCo/CloudCityCakesMVC/Data/Repositories/CakeOrderRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67796"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CloudCityCakesMVC.Data.Context;
using CloudCityCakesMVC.Models.Entities;
using Microsoft.EntityFrameworkCore;
namespace CloudCityCakesMVC.Data.Repositories
{
public class CakeOrderRepository : ICakeOrderRepositor... | 2.773222 | 18f1e77766a0c784e4076eef2ea07594 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67796 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "xsolla/inventory-unity-sdk",
"max_stars_repo_path": "Assets/Xsolla/UIBuilder/Scripts/Themes/Components/ImageSpriteDecorator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67797"
} | starcoder | <reponame>xsolla/inventory-unity-sdk
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace Xsolla.UIBuilder
{
[AddComponentMenu("Xsolla/UI Builder/Image Sprite Decorator", 100)]
public class ImageSpriteDecorator : ThemeDecorator<Image>
{
protected override IEnumerable<IUIItem> Prop... | 2.060008 | f61f34cab7fdf8daf6efe062a82f272b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67797 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zorbtech/zorbit-explorer-indexer",
"max_stars_repo_path": "src/Zorbit.Features.Observatory.Indexer.TableStorage/Utils/Helper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67798"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Table;
using NBitcoin;
using Newtonsoft.Json;
namespace Zorbit.Features.Observatory.TableStorage.Utils
{
public static class Helper
{... | 2.530581 | e799cd7c6bf56ecbc8023fd569bc8ddc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67798 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "protoncm/OrchardCore",
"max_stars_repo_path": "src/OrchardCore/OrchardCore.DisplayManagement.Liquid/LiquidShapeTemplateOptionsSetup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67799"
} | starcoder | using System;
using Microsoft.Extensions.Options;
using OrchardCore.DisplayManagement.Descriptors.ShapeTemplateStrategy;
using OrchardCore.DisplayManagement.Liquid.Internal;
namespace OrchardCore.DisplayManagement.Liquid
{
public class LiquidShapeTemplateOptionsSetup : IConfigureOptions<ShapeTemplateOptions>
{... | 1.521178 | a7fb200d3e4ce3717b6a9f97b9fe4cff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67799 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeremygraziano/locanat1",
"max_stars_repo_path": "Locana/Pages/IKeyHandlerPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67800"
} | starcoder | <reponame>jeremygraziano/locanat1
using Locana.Controls;
using System.Collections.Generic;
namespace Locana.Pages
{
public interface IKeyHandlerPage
{
IEnumerable<KeyAssignmentData> KeyAssignments { get; }
}
}
| 1.050068 | 27fedc905fd5a2cef9bb19d2cf9cf53f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67800 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "yoggy/unity_test",
"max_stars_repo_path": "test07_prefab/Assets/CheckHeight.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67801"
} | starcoder | using UnityEngine;
using System.Collections;
public class CheckHeight : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (gameObject.transform.position.y < -10.0f ) {
Destroy(gameObject, 0.5f);
}
}
}
| 1.88605 | 60a03118f38fe63a9c4e70f1e2f8e384 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67801 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RLefrancoise/ARWorld",
"max_stars_repo_path": "Assets/Plugins/EModules/Hierarchy/RightClickObjectLeftMenu_Example.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67802"
} | starcoder | <gh_stars>1-10
//////// Custom Tree-IGenericMenu Example ////////
/*
To create a hotkey you can use the following special characters: % (ctrl on Windows, cmd on macOS), # (shift).
To create a menu with hotkey g and no key modifiers pressed use "MySubItem/MyMenuItem _g".
Hot keys work only in the Hierarchy ... | 2.205488 | c5371e187d8811ec8e99e11e1557ba1b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67802 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "GregoryComer/LibRbxl",
"max_stars_repo_path": "LibRbxl/Instances/Decal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67803"
} | starcoder | <reponame>GregoryComer/LibRbxl<gh_stars>10-100
namespace LibRbxl.Instances
{
public class Decal : FaceInstance
{
public override string ClassName => "Decal";
public string Texture { get; set; }
public float Transparency { get; set; }
}
}
| 2.034675 | 5fb37c7c0930bf13ae0f9db36c954e34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67803 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joshongithub/aws-tools-for-powershell",
"max_stars_repo_path": "modules/AWSPowerShell/Cmdlets/ECS/Basic/Update-ECSService-Cmdlet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67804"
} | starcoder | <reponame>joshongithub/aws-tools-for-powershell<gh_stars>0
/*******************************************************************************
* Copyright 2012-2019 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 e... | 1.888527 | e8261e356b4b9f928c8421f4b3c4b835 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67804 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "matei-oltean/wireless-sun",
"max_stars_repo_path": "Scripts/BuildingElements/Station.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67805"
} | starcoder | <reponame>matei-oltean/wireless-sun
using System;
using System.Collections.Generic;
using Godot;
public class Station : StaticBody2D, IPiece {
[Export] public string craftLocation = "";
private static Dictionary<string, int> CRAFT_SPRITE_POSITION = new Dictionary<string, int> {
["campfire"] = 0,
["crafting_tabl... | 1.809592 | 3d8c7d3ad52607f7cd0cbc0e57961194 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67805 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JarrodLodge/Philo.Search",
"max_stars_repo_path": "src/Philo.Search/SearchService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67806"
} | starcoder | using LinqKit;
using Philo.Search.Filter;
using Philo.Search.Mapping;
using System.Collections.Generic;
using System.Linq;
namespace Philo.Search
{
public interface ISearchService
{
/// <summary>
/// Apply the filter to the queryable and return the
/// results.
/// </summary>
/// <typeparam n... | 2.398084 | 4cea12251622b9888dc3a3f500948e36 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67806 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jakubka/Huerate",
"max_stars_repo_path": "Huerate.EmailSenderWorkerRole/WorkerRole.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67807"
} | starcoder | <reponame>jakubka/Huerate
/*
Huerate - Mobile System for Customer Feedback Collection
Master Thesis at BUT FIT (http://www.fit.vutbr.cz), 2013
Available at http://huerate.cz
Author: Bc. <NAME>, <EMAIL> or <EMAIL>
*/
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Lin... | 2.088749 | bd3aa7cfdb8a42ffafcb09d456e32150 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67807 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fossabot/NetBattle",
"max_stars_repo_path": "NetBattle/Field/InputTarget.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67808"
} | starcoder | using NetBattle.Structure;
namespace NetBattle.Field {
public abstract class InputTarget {
public abstract void QueueInputEvent(InputEvent e);
}
} | 1.59342 | 3bd650abf5d2c68bd74f9e9c8f36932a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67808 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PeteMichaud/DayTripperUI",
"max_stars_repo_path": "DTPathfinder/HelperClasses/SearchCandidateCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67809"
} | starcoder | using Priority_Queue;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
namespace DayTripper
{
/// <summary>
/// Candidate tiles need to be stored in a priority queue as well as
/// a look up table for speed, so this encapsulates those details
/// </summary>
public class ... | 3.579382 | 4d68b488a37b49914efb3e799c3dcf76 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67809 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "obrieti/Packt-TDD_Development_book",
"max_stars_repo_path": "Chapter06/SpeakerMeet/SpeakerMeet.Services/SpeakerService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67810"
} | starcoder | <reponame>obrieti/Packt-TDD_Development_book<filename>Chapter06/SpeakerMeet/SpeakerMeet.Services/SpeakerService.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using SpeakerMeet.DTO;
using SpeakerMeet.Services.Interfaces;
namespace SpeakerMeet.Services
{
public class SpeakerS... | 2.75696 | c258b7c9efc5eb01aeaf63aafadcaa81 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67810 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mecvillarina/Vider",
"max_stars_repo_path": "src/backend/Application/Common/QueueMessages/WalletCheckerQueueMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67811"
} | starcoder | <filename>src/backend/Application/Common/QueueMessages/WalletCheckerQueueMessage.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Application.Common.QueueMessages
{
public class WalletCheckerQueueMessage
{
public int Creat... | 1.429249 | b5f99e0a61fba917ad467ff0b66fab49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67811 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rito15/Unity_Custom_Attributes",
"max_stars_repo_path": "Custom Attributes/Includes/Extensions/MathExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67812"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Rito.CustomAttributes
{
public static class MathExtension
{
#region ClampRef
/// <summary>
/// 변수의 최소, 최댓값 제한
/// <para/> * 변수의 값을 실제로 변경시킴(ref)
/// </summary>
public static... | 3.002788 | bc8662d5fd56dea3001bb6d3d7308d4f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67812 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yaxinhoo/HelloUTiny",
"max_stars_repo_path": "Assets/2D/Scripts/Systems/RotationSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67813"
} | starcoder | <reponame>yaxinhoo/HelloUTiny
using Unity.Entities;
using Unity.Mathematics;
using Unity.Transforms;
namespace Tiny2D
{
public class RotationSystem : SystemBase
{
protected override void OnUpdate()
{
var deltaTime = Time.DeltaTime;
Entities.ForEach((
E... | 2.166609 | 605078c2df3925529e00eb68c8b2abe3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67813 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dougbenham/rimworld-cities",
"max_stars_repo_path": "Source/Scenario/ScenPart_Elite.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67814"
} | starcoder | <filename>Source/Scenario/ScenPart_Elite.cs
using RimWorld;
using Verse;
namespace Cities {
public class ScenPart_Elite : ScenPart {
public override void Notify_NewPawnGenerating(Pawn pawn, PawnGenerationContext context) {
if (context == PawnGenerationContext.PlayerStarter) {
... | 2.239681 | 42107c15506db08ed10529719cae52d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67814 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "akasarto/skeleton-netfx-mvc5",
"max_stars_repo_path": "sources/Domain.Core/SharedJsonSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67815"
} | starcoder | <gh_stars>10-100
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Domain.Core
{
public class SharedJsonSettings : JsonSerializerSettings
{
/// <summary>
/// Constructor method.
/// </summary>
public SharedJsonSettings()
{
NullValueHandling = NullValueHandling.Ignore;
ReferenceLo... | 2.193784 | 35967017c1b3ddc2a37646f993e7a0aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67815 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Unmaintained-OSS-Keeper/JavascriptIQueryable",
"max_stars_repo_path": "src/Data.BLL/FactoryService1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67816"
} | starcoder | <reponame>Unmaintained-OSS-Keeper/JavascriptIQueryable
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Commons;
using Data.DALef40;
using StemaCore;
namespace Data.BLL
{
public class FactoryService1 : IServiceFactory
{
private IRepositoryFactory _Repository... | 2.297602 | 9ed4bd1a0d9dc8e884e3bce27233bf31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67816 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "n3oltd/N3O.Umbraco",
"max_stars_repo_path": "src/Giving/N3O.Umbraco.Giving.Allocations/Lookups/AllocationType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67817"
} | starcoder | using N3O.Umbraco.Lookups;
namespace N3O.Umbraco.Giving.Allocations.Lookups {
public class AllocationType : NamedLookup {
public AllocationType(string id, string name) : base(id, name) { }
}
public class AllocationTypes : StaticLookupsCollection<AllocationType> {
public static readonly Al... | 1.997505 | d3931eb2b411d8f77af05be7644dceb1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67817 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Igormandello/multi-screen-snake",
"max_stars_repo_path": "multi-screen-snake/client/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67818"
} | starcoder | <filename>multi-screen-snake/client/Form1.Designer.cs
namespace client
{
partial class Form1
{
/// <summary>
/// Variável de designer necessária.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpar os recursos que ... | 2.221665 | 9e63655bf798ffce5a93dff1c4a77b1b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67818 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "one-click-desktop/overseer",
"max_stars_repo_path": "Overseer/Services/Interfaces/ISessionService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67819"
} | starcoder |
using System;
using OneClickDesktop.Api.Models;
namespace OneClickDesktop.Overseer.Services.Interfaces
{
/// <summary>
/// Service zarządzający sesjami uzytkowników w systemie.
/// </summary>
public interface ISessionService
{
/// <summary>
/// Metoda przekazuje do reszty systemu ... | 2.854933 | 7d1ded581a64e2e20c7d558b85eb5674 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67819 | {
"extension": "c-sharp",
"max_stars_count": "793.0",
"max_stars_repo_name": "akrisiun/Mvc5",
"max_stars_repo_path": "test/System.Web.Http.Cors.Test/DisableCorsAttributeTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67820"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Cors;
using Microsoft.TestCommon;
namespace System.Web.H... | 1.657874 | da1776fbcf60a75d8c294b83de9d24e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67820 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "vmrocha/Avalonia",
"max_stars_repo_path": "src/Avalonia.Visuals/Media/AlignmentX.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67821"
} | starcoder | <reponame>vmrocha/Avalonia<gh_stars>10-100
// Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
namespace Avalonia.Media
{
/// <summary>
/// Describes how content is positioned horizontally in a cont... | 2.131368 | 06074ba83e2b19e81b86eab0734bbc99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67821 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Matthiee/MicroServiceCourse",
"max_stars_repo_path": "MicroServices/MicroServices.Common/Services/HostBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67822"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Hosting;
using RawRabbit;
namespace MicroServices.Common.Services
{
public class HostBuilder : BuilderBase
{
private readonly IWebHost webHost;
private IBusClient bus;
public HostBuilder(IWe... | 2.122833 | b206432e8d802d9e3645dea4870badaa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67822 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yardenavraham/CounterCalories",
"max_stars_repo_path": "PL/Models/Main_Model.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67823"
} | starcoder | using BL;
using BE;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PL
{
public class Main_Model
{
private readonly IBl _bl = new FactoryBl().GetInstance();
public ExistUser ExistUser { get; set; } = new ExistUser()... | 1.751752 | 2a9ed242c54922f2cf226f91760d7cc8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67823 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "JohnDebono/orleans",
"max_stars_repo_path": "Samples/2.0/docker-aspnet-core/GrainInterfaces/IValueGrain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67824"
} | starcoder | using Orleans;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace GrainInterfaces
{
public interface IValueGrain : IGrainWithIntegerKey
{
Task<string> GetValue();
Task SetValue(string value);
}
}
| 1.799737 | ce66923c23d5cb03bd0d2469fbc6cec1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67824 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "vkvenkat/corefx",
"max_stars_repo_path": "src/Common/src/Interop/Windows/advapi32/Interop.TOKEN_INFORMATION_CLASS.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67825"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
internal static partial class Interop
{
internal static partial class Advapi32
{
/// <summary>
... | 1.685184 | 9b6f3d46f915e0ef581d1efb678832e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67825 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "ohdear1/Mapt",
"max_stars_repo_path": "Assets/RogueSmash/Prototype/Scripts/WeaponController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67826"
} | starcoder | using UnityEngine;
namespace MyCompany.RogueSmash.Prototype
{
public class WeaponController
{
[System.Serializable]
public struct WeaponControllerData
{
public GameObject projectilePrefab;
public Transform projectileSpawnPoint;
}
private Gam... | 2.812029 | b5678233a3bad70fc69584e497113231 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67826 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mmckechney/MultiLine-String-Formatter",
"max_stars_repo_path": "FileTrimmer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67827"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace MultiLineStringFormatter
{
/// <summary>
/// Authored by <NAME> (www.mckechney.com)
/// This code and program are fu... | 2.732315 | 03408cafdaac450fae2c8f9f287a7a3d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67827 | {
"extension": "c-sharp",
"max_stars_count": "113.0",
"max_stars_repo_name": "pstephenson02/OctopusClients",
"max_stars_repo_path": "source/Octopus.Client/Serialization/TriggerFilterConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67828"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using Octopus.Client.Model.Triggers;
using Octopus.Client.Model.Triggers.ScheduledTriggers;
namespace Octopus.Client.Serialization
{
public class TriggerFilterConverter : InheritedClassConverter<TriggerFilterResource, TriggerFilterType>
{
... | 1.824466 | f9a907bedd236aa83a7e8382321a3325 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67828 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "11pets/Pets.Platform.Permissions",
"max_stars_repo_path": "Pets.Platform.Permissions.Core/Domain/SLAAggregate/SLASetupStep.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67829"
} | starcoder | namespace Pets.Platform.Permissions.Core.Domain.SLAAggregate
{
public class SLASetupStep
{
public long Id { get; set; }
public string SetupStepName { get; set; }
protected SLASetupStep()
{
}
public SLASetupStep(string setupStepName)
{
Setup... | 2.097387 | 4abc5e4d60e760327ea47ac335b885b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67829 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "kjk/volante-new",
"max_stars_repo_path": "src/impl/PersistentSet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67830"
} | starcoder | <gh_stars>10-100
namespace Volante.Impl
{
using System;
using System.Collections.Generic;
using System.Collections;
using Volante;
class PersistentSet<T> : Btree<T, T>, Volante.ISet<T> where T : class,IPersistent
{
public PersistentSet()
{
type = ClassDesc... | 2.49819 | 5e2c41759f06c0bc15400207ba79014c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67830 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "DragonSpark/Framework",
"max_stars_repo_path": "DragonSpark.Application/Security/Identity/Users.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67831"
} | starcoder | <reponame>DragonSpark/Framework<gh_stars>1-10
using DragonSpark.Model.Results;
namespace DragonSpark.Application.Security.Identity;
sealed class Users<T> : Result<UsersSession<T>>, IUsers<T> where T : class
{
public Users(UserSessions<T> result) : base(result) {}
} | 1.52936 | ffac9fc6c2d324c8e05f7ad6be9a1887 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67831 | {
"extension": "c-sharp",
"max_stars_count": "203.0",
"max_stars_repo_name": "smholvoet/promitor-docs-poc",
"max_stars_repo_path": "src/Promitor.Core.Scraping/AppServiceScraper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67832"
} | starcoder | using System.Collections.Generic;
using Promitor.Core.Contracts;
using Promitor.Core.Scraping.Configuration.Model.Metrics;
// ReSharper disable All
namespace Promitor.Core.Scraping
{
/// <summary>
/// Azure Monitor Scraper
/// </summary>
/// <typeparam name="TResourceDefinition">Type of metric def... | 2.443763 | 21ed1d288717cb668d7ebbaa212dd417 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67832 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/class/System.DirectoryServices/System.DirectoryServices/DirectoryEntries.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67833"
} | starcoder | <reponame>lefb766/mono
/******************************************************************************
* The MIT License
* Copyright (c) 2003 Novell Inc., www.novell.com
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the Softwar... | 2.361201 | dec6332a99b0e1cbd21216b67b7bd5c7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.