added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811618 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dotBunny/K9",
"max_stars_repo_path": "Projects/K9.Core/IO/FileAccessors/SMBFileAccessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130838"
} | starcoder | <reponame>dotBunny/K9
// Copyright (c) 2018-2021 dotBunny Inc.
// dotBunny licenses this file to you under the BSL-1.0 license.
// See the LICENSE file in the project root for more information.
using System.IO;
using System.Net;
using System.Threading;
using SMBLibrary;
using SMBLibrary.Client;
using FileAttributes =... | 2.218771 | c95028d7286f4f53a56ef1cad2c266b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811619 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "fbcouch/space-arena",
"max_stars_repo_path": "Assets/Mono.Nat/NatUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130839"
} | starcoder | <reponame>fbcouch/space-arena<gh_stars>10-100
//
// Authors:
// <NAME> <<EMAIL>>
// <NAME> <<EMAIL>>
//
// Copyright (C) 2007 <NAME>
// Copyright (C) 2014 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
/... | 1.895026 | 9a9e29badc68c8bf4953ed91e355cf70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811620 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "B1Z0N/derivas",
"max_stars_repo_path": "Derivas/Expression/Operators/Exotic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130840"
} | starcoder | <reponame>B1Z0N/derivas<filename>Derivas/Expression/Operators/Exotic.cs<gh_stars>0
using System;
namespace Derivas.Expression
{
using static Utils;
internal class Logarithm : BinaryOperator
{
public CloneableExpr Of { get => First; set => First = value; }
public CloneableExpr Base { get =... | 2.580883 | 71424063d87b7b3506541831ddce256c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811621 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MichaelSearson/ticket-manager",
"max_stars_repo_path": "TicketManager.Web/Controllers/CustomerContactController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130841"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using System;
using System.Threading.Tasks;
using TicketManager.Domain.CustomerContext;
using TicketManager.Infrastructure.CQRS;
namespace TicketManager.Web.Controllers
{
public class CustomerContactController : Controller
{
private readonly IQueryProcessor _queryProces... | 2.1035 | d2d62c1c282983285cd72ce4525474b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811622 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rafaeldolfe/MasterServerChess",
"max_stars_repo_path": "Assets/Plugins/CodeStage/Maintainer/Editor/Scripts/Modules/RecordsBased/Issues/Detectors/DetectorResults.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130842"
} | starcoder | #region copyright
// -------------------------------------------------------
// Copyright (C) <NAME> [https://codestage.net]
// -------------------------------------------------------
#endregion
namespace CodeStage.Maintainer.Issues.Detectors
{
using System.Collections.Generic;
using Core.Scan;
internal class De... | 1.694699 | ca2cbb9bf409ee5e466cf1e8f8d87b32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811623 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "sharwell/ef6tools",
"max_stars_repo_path": "test/EFTools/UnitTests/EntityDesign/VisualStudio/ModelWizard/Gui/ModelBuilderWizardFormHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130843"
} | starcoder | <reponame>sharwell/ef6tools<gh_stars>1-10
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
namespace Microsoft.Data.Entity.Design.VisualStudio.ModelWizard.Gui
{
using System;
using EnvDTE;
using Microsoft.Data.... | 1.66155 | 7f24e3efdf14519ee63a094eeced3751 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811624 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "dazcode/Hackerrank.com-code-challenges",
"max_stars_repo_path": "src/accepted_solutions/jsonoutput/fibonaccimodified_4395.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130844"
} | starcoder | <reponame>dazcode/Hackerrank.com-code-challenges
/*****************************
Code by: <NAME> <EMAIL>
http://www.dazcode.com/
this code is an accepted solution for code challenge located at:
https://www.hackerrank.com/challenges/fibonacci-modified
this code may need to run in the hackerrank online ide to work correct... | 3.224834 | c2966f9c9488eca3b1a2ddee537c0205 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811625 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dudutran/RestaurantReviewWebApp",
"max_stars_repo_path": "MVC/ReviewApp.ConsoleApp/ReviewApp.WebApp/Models/CustomerAccount.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130845"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ReviewApp.WebApp.Models
{
public class CustomerAccount
{
[Required]
public st... | 2.322163 | 2afdfe3a90793d1fa79633a1c7b10a0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811626 | {
"extension": "c-sharp",
"max_stars_count": "357.0",
"max_stars_repo_name": "cristianosuzuki77/LibraryManager",
"max_stars_repo_path": "src/LibraryManager.Vsix/Search/LocationSearchService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130846"
} | 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;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Web.LibraryManager.Co... | 2.496675 | 38abf5234877bc76ba84956d5c56a183 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "roberino/RedisSlimClient",
"max_stars_repo_path": "src/RedisTribute/Types/Graphs/NameResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130847"
} | starcoder | <reponame>roberino/RedisSlimClient<filename>src/RedisTribute/Types/Graphs/NameResolver.cs
using System;
using System.Linq;
namespace RedisTribute.Types.Graphs
{
enum GraphObjectType
{
None = 0,
Metadata,
Label,
Edge,
Vertex
}
class NameResolver
{
pu... | 2.839489 | a56c1c667da1edb837928042c7291483 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811628 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "mjohn/AspNetCore",
"max_stars_repo_path": "src/Mvc/test/Mvc.FunctionalTests/SystemTextJsonOutputFormatterTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130848"
} | starcoder | <reponame>mjohn/AspNetCore
// 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;
using System.Threading.Tasks;
using FormatterWebSite.Controllers;
using Newtonsoft.Json.Linq;
using Xunit;
... | 1.755116 | 5b62af76759613691e31ceb4c9d25e9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811629 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "HighEncryption/SyncPro",
"max_stars_repo_path": "SyncPro.UI/ViewModels/Adapters/OneDriveAdapterViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130849"
} | starcoder | <filename>SyncPro.UI/ViewModels/Adapters/OneDriveAdapterViewModel.cs
namespace SyncPro.UI.ViewModels.Adapters
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Windows.Input;
using System.Windows.Interop;
using SyncPro.Adapters.Micr... | 2.210877 | 70257f7385f961a64c2effff06fce204 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811630 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "beyondnetPeru/BeyondNet.MyNetSamples",
"max_stars_repo_path": "ddd/DddSampleMinionSample/dick/Beauty.Dick.Helpers/Impl/MongoDBHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130850"
} | starcoder | <reponame>beyondnetPeru/BeyondNet.MyNetSamples<filename>ddd/DddSampleMinionSample/dick/Beauty.Dick.Helpers/Impl/MongoDBHelper.cs
using Beauty.Dick.Helpers.Interfaces;
using Jal.Monads;
using MongoDB.Bson;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
namespace Beauty.Dick.Helpers.Impl
{
p... | 2.299124 | 72324da37372e6646f788dcd5d51e0d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811631 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "codenation-dev/squad-1-ad-csharp-itau-1",
"max_stars_repo_path": "ItaLog/ItaLog.Api/ViewModels/LogEvent/EventViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130851"
} | starcoder | using System;
namespace ItaLog.Api.ViewModels.Log
{
public class EventViewModel
{
public int Id { get; set; }
public string Detail { get; set; }
public DateTime ErrorDate { get; set; }
}
}
| 1.565734 | 3c25f979781d57de0c0402e9ae0b4582 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811632 | {
"extension": "c-sharp",
"max_stars_count": "137.0",
"max_stars_repo_name": "WesleyAS-BR/Forms9Patch",
"max_stars_repo_path": "Demo/Forms9PatchDemo.Common/HomePage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130852"
} | starcoder | <gh_stars>100-1000
using System;
using Xamarin.Forms;
using Forms9PatchDemo.Pages;
using Forms9PatchDemo.Pages.Code;
namespace Forms9PatchDemo
{
class HomePage : Xamarin.Forms.ContentPage
{
public HomePage()
{
// Define command for the items in the TableView.
ToolbarIte... | 2.233308 | 5bfdc57f07116558339e7650bbed8b80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811633 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sasoh/Lander",
"max_stars_repo_path": "Assets/Scripts/Game scene scripts/PlayerThrustVisualsScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130853"
} | starcoder | using UnityEngine;
using System.Collections;
public class PlayerThrustVisualsScript : MonoBehaviour
{
[Tooltip("Left thruster game object, must not be null.")]
public GameObject thrusterLeft = null;
[Tooltip("Right thruster game object, must not be null.")]
public GameObject thrusterRight = null;
public float... | 2.40893 | d5f131d6ffe91def841fbb28a730462b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NWalker1208/synthesis",
"max_stars_repo_path": "engine/unity5/Assets/Scripts/GUI/Scrollables/ScrollablePanel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130854"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// This is a class used to create a scrollable panel with selectable items. It is designed so that one can make derived classes for modular use.
/// </summary>
public class ScrollablePanel : MonoBehaviour {
... | 2.499393 | 1512bd0579968736a77ad48af2cf439b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811635 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EliPedro/Patterns",
"max_stars_repo_path": "Patterns/Patterns.Criacao/Builder/Interfaces/IBoletoBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130855"
} | starcoder | <reponame>EliPedro/Patterns<gh_stars>0
using System;
namespace Patterns.Criacao.Builder.Interfaces
{
public interface IBoletoBuilder
{
void BuildCedente(String cedente);
void BuildValor(Decimal valor);
void BuildVencimento(DateTime vencimento);
void BuildNossoNumero(Int32 no... | 2.137783 | ba245de5ab18c714d2bce9bc0621cf54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811636 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "benjaminhowarth1/Merchello",
"max_stars_repo_path": "src/Merchello.Core/Gateways/GatewayProviderBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130856"
} | starcoder | namespace Merchello.Core.Gateways
{
using System;
using System.Collections.Generic;
using Models;
using Services;
using Umbraco.Core;
using Umbraco.Core.Cache;
/// <summary>
/// Defines the GatewayBase
/// </summary>
public abstract class GatewayProviderBase : IProvider
{
... | 2.611985 | 0a8e80b2cf88cd8f6697d8ff0a57f5ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811637 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RickRen7575/OctoConfigTool",
"max_stars_repo_path": "src/OctoConfig.Core/DependencySetup/DependencyConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130857"
} | starcoder | <filename>src/OctoConfig.Core/DependencySetup/DependencyConfig.cs
using System;
using System.IO.Abstractions;
using System.Threading.Tasks;
using Cake.Core;
using Microsoft.Extensions.DependencyInjection;
using OctoConfig.Core.Arguments;
using OctoConfig.Core.Commands;
using OctoConfig.Core.Converter;
using OctoConfig... | 1.983157 | a210b574b64be3eb284e510a15b034ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811638 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amenkes/HL7Parser",
"max_stars_repo_path": "Contracts/Messages/AdmitDischargeTransferMessages/ICancelChangeConsultingDoctor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130858"
} | starcoder | namespace HL7Data.Contracts.Messages.AdmitDischargeTransferMessages
{
//ADT_A62
public interface ICancelChangeConsultingDoctor : IBaseAdmitDischargeTransferMessage
{
}
} | 0.918416 | 5b5f9c93bc5a30579ceb0f674d0371a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811639 | {
"extension": "c-sharp",
"max_stars_count": "119.0",
"max_stars_repo_name": "TanvirArjel/CleanArchitecture",
"max_stars_repo_path": "src/ClientApps/BlazorApps.Shared/Models/IdentityModels/LoginModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130859"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace BlazorApps.Shared.Models.IdentityModels
{
public class LoginModel
{
[Required(ErrorMessage = "Please enter your email or username.")]
[MinLength(4, ErrorMessage = "The {0} must be at least {1} characters long.")]
[MaxLength(50, Err... | 2.597051 | 5aaf4aa45c272e92e7d68adc9b0f8faa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811640 | {
"extension": "c-sharp",
"max_stars_count": "20053.0",
"max_stars_repo_name": "Twtcer/eShopOnContainers",
"max_stars_repo_path": "src/Web/WebhookClient/Settings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130860"
} | starcoder | <reponame>Twtcer/eShopOnContainers
namespace WebhookClient;
public class Settings
{
public string Token { get; set; }
public string IdentityUrl { get; set; }
public string CallBackUrl { get; set; }
public string WebhooksUrl { get; set; }
public string SelfUrl { get; set; }
public bool Validat... | 1.002554 | aa6be45096bc2a4ff1f8e8e9b85cc4ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811641 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MCKanpolat/StubMiddleware",
"max_stars_repo_path": "src/StubMiddleware.Core/Core/Attributes/StubGeneratorDefaultValueAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130861"
} | starcoder | <gh_stars>1-10
using System;
namespace StubGenerator.Core.Attributes
{
[AttributeUsage(AttributeTargets.Property)]
public sealed class StubGeneratorDefaultValueAttribute : Attribute
{
private object _defaultValue;
public StubGeneratorDefaultValueAttribute(object defaultValue)
{
... | 2.193371 | aa301b23ee4cd86249b6055811e951a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811642 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LuckyLph/Tales-Of-Ascaria",
"max_stars_repo_path": "Assets/Libraries/Harmony/Scripts/Editor/CodeGeneration/ConstClassGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130862"
} | starcoder | <gh_stars>0
using System;
using System.Diagnostics;
using System.IO;
using UnityEditor;
using UnityEngine;
using Debug = UnityEngine.Debug;
namespace Harmony
{
public static class ConstClassGenerator
{
[MenuItem("Harmony/Generate Const Classes", priority = 11)]
public static void GenerateConstClasses()
... | 2.067335 | 7f8d8705f56c922d659e7049ed6730cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811643 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nishesj/callbreak",
"max_stars_repo_path": "Forms/BidForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130863"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Drawing.Drawing2D;
namespace Cards
{
public partial class BidForm : Form
{
public GameData gameData;
pub... | 1.946892 | 3d8c8eb9542a30a2811edeaf3424252a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811644 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Olbrasoft/AskMe",
"max_stars_repo_path": "src/Altairis.AskMe.Web.RazorPages/Models/PagingInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130864"
} | starcoder | namespace Altairis.AskMe.Web.RazorPages.Models {
public class PagingInfo {
public int PageNumber { get; set; }
public int TotalPages { get; set; }
public int PrevPageNumber { get; set; }
public int NextPageNumber { get; set; }
public int TotalRecords { get; set; }
}... | 1.856791 | 45e7156cbe961df91863f6d61731d06b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811645 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jiangyimin/Tbs",
"max_stars_repo_path": "src/Tbs.Web.Mvc/Views/Users/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:130865"
} | starcoder | @using Abp.Authorization.Users
@using Tbs.Web.Startup
@{
var getSV = new Func<string, string>((name) => SettingManager.GetSettingValue(name));
}
@section scripts
{
<environment names="Development">
<script src="~/view-resources/Views/Users/Index.js" asp-append-version="true"></script>
</environment... | 2.264553 | a8542fc9c778f831d44e1fe48eae4d14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811646 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "walcher/SurveyMonkeyApi-v3",
"max_stars_repo_path": "SurveyMonkey/Containers/SuccessfulBulkRecipient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130866"
} | starcoder | using Newtonsoft.Json;
namespace SurveyMonkey.Containers
{
[JsonConverter(typeof(TolerantJsonConverter))]
public class SuccessfulBulkRecipient
{
public long? Id { get; set; }
public string Email { get; set; }
public string Href { get; set; }
}
} | 1.521937 | cf0cc268b004be739e55e1492ecefd7c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811647 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "csantero/JSONAPI.NET",
"max_stars_repo_path": "JSONAPI.EntityFramework/PluralizationService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130867"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace JSONAPI.EntityFramework
{
public class PluralizationService : JSONAPI.Core.IPluralizationService
{
private static Lazy<System.Data.Entity.Infrastructure.Pluralization.EnglishPluralizationService> _... | 2.52685 | dc2dd4efd7fcb8842c3c0e689978c34c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811648 | {
"extension": "c-sharp",
"max_stars_count": "404.0",
"max_stars_repo_name": "YersonSolano/CocosSharp",
"max_stars_repo_path": "tests/tests/classes/tests/SchedulerTest/RescheduleSelector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130868"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CocosSharp;
namespace tests
{
public class RescheduleSelector : SchedulerTestLayer
{
public override void OnEnter()
{
base.OnEnter();
interval = 1.0f;
... | 2.965286 | 20bc8c1e8f01d37a9742258d3db61058 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811649 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PayPalAustralia/mock-data-holder",
"max_stars_repo_path": "Source/CDR.DataHolder.IdentityServer/Interfaces/IClientRevocationEndpointHttpClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130869"
} | starcoder | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
namespace CDR.DataHolder.IdentityServer.Interfaces
{
public interface IClientRevocationEndpointHttpClient
{
public Task<HttpResponseMessage> PostToRevocationEndPoint(Dictionary<string, string> formValu... | 1.659835 | 2947509c2e065c3337d361d06fb2ab9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811650 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ThomasAYu/fantastic-engine",
"max_stars_repo_path": "GymWarmups/src/GymWarmups/GymWarmups/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130870"
} | starcoder | <reponame>ThomasAYu/fantastic-engine<gh_stars>0
using System;
namespace GymWarmups
{
class Program
{
static void Main(string[] args)
{
var warmUpSetsCollection = WarmUpSets.LoadWarmUps();
// TODO add a load file system that will auto load saved Warm-up settings.
... | 1.954613 | c6b64c84f00b1d3f7dbe01c2bc4b121e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811651 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "P1x3lc0w/P1x3lc0w.Extensions",
"max_stars_repo_path": "P1x3lc0w.Extensions/StringExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130871"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace P1x3lc0w.Extensions
{
public static class StringExtensions
{
public static string StripDiscordCodeBlockChars(this string str)
=> str?.Replace("`", "´");
}
}
| 2.014197 | 5cd5acbcaed83e8e12a4a24422f71a05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fafnir0826/NPTUCS",
"max_stars_repo_path": "WizzardUniversity/test/Assets/AirSig/Script/Demo/DeveloperDefined.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130872"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
using Valve.VR;
using AirSig;
using HTC.UnityPlugin.Vive;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class DeveloperDefined : BasedGestureHandle {
public string GetResult;
public float GetScore;
public bool Getbool;
// C... | 1.987535 | 1352523e098ead8c68267959460e6aa5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LuGeorgiev/SoftUniAlgorithms",
"max_stars_repo_path": "DynamicProgrammingLecture/LongestCommonSubsequence/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130873"
} | starcoder | using System;
namespace LongestCommonSubsequence
{
class Program
{
static void Main(string[] args)
{
var first = "GCGCAATG";
var second = "GCCCTAGCG";
var lcs = new int[first.Length + 1, second.Length + 1];
for (int row = 1; row <= first.Length; ... | 3.680979 | 86f03ba879d54363f450a1f2efc306ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811654 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "kivik-beep/farmasia-vr",
"max_stars_repo_path": "Assets/Scripts/Utilities/Pipeline/PipelineAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130874"
} | starcoder | <filename>Assets/Scripts/Utilities/Pipeline/PipelineAction.cs<gh_stars>1-10
public abstract class PipelineAction {
#region fields
public bool IsDone { get; protected set; }
#endregion
public void Update(float deltaTime) {
if (!IsDone) {
UpdateAction(deltaTime);
}
}
... | 2.651816 | 4d9404d3a87140629dd7aa06ae04b2d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811655 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LecrisUT/Rimworld-ToolsFramework",
"max_stars_repo_path": "Source/ToolsFramework/DefOf/StatCategoryDefOf.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130875"
} | starcoder | using RimWorld;
namespace ToolsFramework
{
[DefOf]
public static class StatCategoryDefOf
{
public static StatCategoryDef Tools;
}
} | 1.206671 | 8c1b9eed60a7c2884f2f5aa8a7da7390 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811656 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Autodesk/featurecam-api-examples",
"max_stars_repo_path": "addin-featurecam-to-vericut/FeatureCAMToVericut/SourceCode/UI/MainForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130876"
} | starcoder | <reponame>Autodesk/featurecam-api-examples
// -----------------------------------------------------------------------
// Copyright 2018 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which... | 1.649837 | 8b6240aeaa46dcbc8fa69d09676c1b2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811657 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "jecrell/Lord-of-the-Rims---Dwarves",
"max_stars_repo_path": "Source/Dwarves/GenStep_AncientDwarvenStronghold.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130877"
} | starcoder | <reponame>jecrell/Lord-of-the-Rims---Dwarves
using System.Collections.Generic;
using System.Linq;
using RimWorld;
using RimWorld.BaseGen;
using Verse;
using Verse.AI.Group;
namespace Dwarves
{
public class GenStep_AncientDwarvenStronghold : GenStep
{
private const int Size = 16;
private stati... | 1.892405 | 59e44edc08760aa3732dcc0fdec79da6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811658 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kittyfisto/dotnetdoc",
"max_stars_repo_path": "dotnetdoc.TestTypes/PublicAbstractType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130878"
} | starcoder | <gh_stars>0
namespace dotnetdoc.TestTypes
{
public abstract class PublicAbstractType
{
}
}
| 0.931852 | 6fb627400d483d055bbf509e5ea8f8ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811659 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moscrif/ide",
"max_stars_repo_path": "actions/FindNextAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130879"
} | starcoder | using System;
using Gtk;
namespace Moscrif.IDE.Actions
{
public class FindNextAction : Gtk.Action
{
public FindNextAction(): base("findnext", MainClass.Languages.Translate("menu_find_next"),MainClass.Languages.Translate("menu_title_find_next"), null)
{
}
protected override void OnActivated ()
{
... | 1.9347 | 1649d20f4cbce94cf86cb545057faf38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811660 | {
"extension": "c-sharp",
"max_stars_count": "635.0",
"max_stars_repo_name": "doylecnn/KeeAnywhere",
"max_stars_repo_path": "KeeAnywhere/WebRequest/WrapperStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130880"
} | starcoder | <filename>KeeAnywhere/WebRequest/WrapperStream.cs
using System;
using System.IO;
namespace KeeAnywhere.WebRequest
{
// DEPRECATED!
// Resolution for Issue #44: Sometimes can't load kdbx file (Dropbox, hubiC)
// Flush is called in CryptoStream from KeePass. But System.Net.Http.StreamContent.ReadOnlyStream
... | 2.54293 | 39384a95f071d89f3831dc6f2286702e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811661 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "q-logic/google-cloud-dotnet",
"max_stars_repo_path": "apis/Google.Cloud.ManagedIdentities.V1/Google.Cloud.ManagedIdentities.V1.Tests/ManagedIdentitiesServiceClientTest.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130881"
} | starcoder | // Copyright 2020 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1.550764 | c6d4d284849a70011080251cafcd0db6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811662 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mgnslndh/website",
"max_stars_repo_path": "src/Cake.Web/Helpers/Api/SyntaxHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130882"
} | starcoder | using System.Web;
using Cake.Web.Core;
using Cake.Web.Docs;
using Cake.Web.Docs.Reflection;
namespace Cake.Web.Helpers.Api
{
public static class SyntaxHelper
{
public static IHtmlString Syntax(this ApiServices context, DocumentedType type)
{
var signature = context.SignatureResolve... | 2.216351 | 323612de6ebc6f19236dc807cee33c97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811663 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "martinkearn/GitHub-CMS",
"max_stars_repo_path": "GitHub-CMS/Models/GHLinks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130883"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GitHubCMS.Models
{
public class GHLinks
{
public string self { get; set; }
public string git { get; set; }
public string html { get; set; }
}
}
| 1.590348 | b08b2a40f290be141f8e709c2350cbf6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811664 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "JaCraig/BigBookOfDataTypes",
"max_stars_repo_path": "src/BigBook/Fraction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130884"
} | starcoder | <reponame>JaCraig/BigBookOfDataTypes
/*
Copyright 2016 <NAME>
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... | 3.08295 | 3465924bb5946119a2739b0a54f33647 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811665 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "carina-studio/AppBase",
"max_stars_repo_path": "Core/Buffers/PinnableExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130885"
} | starcoder | <gh_stars>1-10
using System;
using System.Buffers;
using System.Runtime.CompilerServices;
namespace CarinaStudio.Buffers
{
/// <summary>
/// Extensions for <see cref="IPinnable"/>.
/// </summary>
public static class PinnableExtensions
{
/// <summary>
/// Pin given <see cref="IPinnable"/>, get ... | 2.870952 | 8f87cc72a92f5350bb326d5e720e0db9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811666 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrez299321/MicroservicesMasive",
"max_stars_repo_path": "WagerApi/Controllers/WagerController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130886"
} | starcoder | <filename>WagerApi/Controllers/WagerController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Business;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Models;
using Roulette.Models;
namespace RouletteApi.Controllers
{
[Route("api/[... | 2.381904 | bfd67fe0d9e1806c5934796b38871a7c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811667 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tehl/bank-api",
"max_stars_repo_path": "src/BankApi.Server/Controllers/UsersApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130887"
} | starcoder | /*
* BankApi
*
* Developer challenge using Swagger and ASP.NET Core
*
* OpenAPI spec version: v1
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Net;
using System.Threading.Ta... | 2.099143 | 3b90be686dcf02f7c7bee90a4077284b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811668 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MartsTech/IT-Career",
"max_stars_repo_path": "03. Introduction to Object Oriented Programming/04. StaticFieldsAndMethods/03. Shop/Models/Product.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130888"
} | starcoder | <reponame>MartsTech/IT-Career<gh_stars>1-10
using System;
namespace Shop.Models
{
class Product
{
private string barcode;
public string Barcode
{
get { return this.barcode; }
private set
{
if (string.IsNullOrEmpty(value))
... | 3.238539 | 3ae3a1fb49dd33f15d2f51d23e1a2019 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811669 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "go2ismail/cloudscribe",
"max_stars_repo_path": "src/cloudscribe.Core.Web.Views.Bootstrap3/Views/Manage/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:130889"
} | starcoder | <gh_stars>1-10
@model cloudscribe.Core.Web.ViewModels.SiteUser.AccountIndexViewModel
@using cloudscribe.Core.Web
@using cloudscribe.Core.Models
@using Microsoft.Extensions.Options
@using Microsoft.Extensions.Localization
@inject SiteContext currentSite
@inject IStringLocalizer<CloudscribeCore> sr
@{
ViewData["Titl... | 1.940687 | 383c6af68df8dd412061adf4179b8214 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811670 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "benaadams/Issues",
"max_stars_repo_path": "LocalFunctionAllocations/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130890"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Attributes;
using System.Threading.Tasks;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Jobs;
using MemoryDiagnoser = BenchmarkDotNet.Diagnosers.MemoryDiagnoser;
using Benc... | 2.776281 | 20a267f796a47877506c765380b47f15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811671 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yojeg/MarketFinance",
"max_stars_repo_path": "SlothEnterprise.External/V1/ISelectInvoiceService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130891"
} | starcoder | namespace SlothEnterprise.External.V1
{
/// <summary>
/// Assume this is an external service. you cannot modify this interface
/// </summary>
public interface ISelectInvoiceService
{
int SubmitApplicationFor(string companyNumber, decimal invoiceAmount, decimal advancePercentage);
}
... | 1.720725 | c108144329499b81e633ec3f060a3a1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811672 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "factset/enterprise-sdk",
"max_stars_repo_path": "code/dotnet/FactSetBenchmarks/v1/src/FactSet.SDK.FactSetBenchmarks/Model/Calendar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130892"
} | starcoder | /*
* FactSet Benchmarks API
*
* FactSet Benchmarks API gives access to Index Constituents, Prices, Returns, and Ratios. For a sample list of identifiers, use the /metrics endpoint. Equity Only - Fixed Income Benchmark support coming soon.
*
* The version of the OpenAPI document: 1.5.0
* Contact: <EMAIL>
* Gener... | 1.743953 | 48900de667d235a14b2e147f6b3fba08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811673 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "RightpointLabs/Pourcast",
"max_stars_repo_path": "RightpointLabs.Pourcast.Tests/Application/Orchestrators/KegOrchestratorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130893"
} | starcoder | <reponame>RightpointLabs/Pourcast<gh_stars>1-10
namespace RightpointLabs.Pourcast.Tests.Application.Orchestrators
{
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Ploeh.AutoFixture;
using RightpointLabs.Pourcast.Application.Orchestrator... | 1.610249 | edeeb0f132f0f80bc86c69db0c874388 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811674 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cualquiercosa327/TouchFree",
"max_stars_repo_path": "TF_Service_and_Tooling_Unity/Assets/TouchFree/Service/Scripts/ServiceConfigHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130894"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using Ultraleap.TouchFree.ServiceShared;
namespace Ultraleap.TouchFree.Service
{
public class ServiceConfigHandler : MonoBehaviour
{
void Start()
{
ClientConnectionManager.Instance.LostAllConnections += OnLostAllConnections;
}
priv... | 1.58588 | 6e68b5c73ba80f1fc0561950d92148c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811675 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "foxbike/dts-vc-issuer-service",
"max_stars_repo_path": "issuer-api/HttpClients/Immunization Api/IImmunizationClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130895"
} | starcoder | <filename>issuer-api/HttpClients/Immunization Api/IImmunizationClient.cs<gh_stars>0
using System;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using Issuer.Models;
using Issuer.Models.Api;
namespace Issuer.HttpClients
{
public interface IImmunizationClient
{
Task<ImmunizationResponse> GetI... | 1.611626 | 95d9f578ef7beaf82cff21983a8c0b62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811676 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "full-steam/full-steam",
"max_stars_repo_path": "Assets/AudioToolkit/ExampleBehaviours/Editor/PlayAudio_Editor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130896"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace ClockStone
{
[CustomEditor( typeof( PlayAudio ) )]
public class PlayAudio_Editor : EditorEx
{
public override void OnInspectorGUI()
{
DrawInspector();
}
priv... | 2.148018 | 4276ba289413ef93ab5be9423be31746 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811677 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dampee/Merchello",
"max_stars_repo_path": "src/Merchello.Core/Constants-ProductEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130897"
} | starcoder | namespace Merchello.Core
{
/// <summary>
/// Merchello Product Editor constants
/// </summary>
public partial class Constants
{
/// <summary>
/// The product editor constants
/// </summary>
/// <remarks>
/// TODO These may need to be removed - depending on J... | 2.301096 | aded4a62b7297102488efe44f9c65fb1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811678 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "carlos-takeapps/xemail",
"max_stars_repo_path": "Console Application/Service References/XEMail/Reference.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130898"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
... | 1.422904 | c256765f35dffeeb019a0c2151beb245 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811679 | {
"extension": "c-sharp",
"max_stars_count": "1629.0",
"max_stars_repo_name": "dev-nm/CommunityServer",
"max_stars_repo_path": "redistributable/ShrapBox/Src/AppLimit.CloudComputing.SharpBox/StorageProvider/API/GenericStorageProviderFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130899"
} | starcoder | using System;
using AppLimit.CloudComputing.SharpBox.StorageProvider.BaseObjects;
namespace AppLimit.CloudComputing.SharpBox.StorageProvider.API
{
/// <summary>
/// This class allows to create the needed object which are internally used to create
/// extern storage providers
/// </summary>
public ... | 2.708967 | d23ae8bba3e3b15a5d02d2fa02951d90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811680 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vborovikov/termly",
"max_stars_repo_path": "src/Termly/Colorizer.InterpolatedStringHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130900"
} | starcoder | <gh_stars>0
namespace Termly;
using System;
using System.Runtime.CompilerServices;
using System.Text;
public static partial class Colorizer
{
[InterpolatedStringHandler]
public ref struct InterpolatedStringHandler
{
private StringBuilder stringBuilder;
private StringBuilder.AppendInterpol... | 2.390398 | 13723177c3fd3bdd58a8df7120d94d0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811681 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Raymonf/ProfanityFilter",
"max_stars_repo_path": "ProfanityFilter.Core/Profanity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130901"
} | starcoder | using System.IO;
using System.Linq;
using System.Text;
using System.Collections.Generic;
namespace ProfanityFilter.Core
{
public class Profanity
{
/// <summary>
/// The max number of additional words forming a swear word. For example:
/// hand job = 1
/// this is a fish = 3
... | 3.200087 | 9cebc09bdd0cf35b484ca1728cf96926 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811682 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "menes-dotnet/Menes",
"max_stars_repo_path": "Solutions/Menes.Abstractions/Menes/Exceptions/OpenApiNotFoundException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130902"
} | starcoder | // <copyright file="OpenApiNotFoundException.cs" company="Endjin Limited">
// Copyright (c) Endjin Limited. All rights reserved.
// </copyright>
namespace Menes.Exceptions
{
using System;
using System.Runtime.Serialization;
/// <summary>
/// An exception which, when thrown from an <see cref="IOpenApi... | 2.729227 | 5a1d85b77a79f0245daf19f9dad13d20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811683 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Metal10k/KeyValueStorage",
"max_stars_repo_path": "AzureTable/KeyValueStorage.AzureTable/AzureTableStoreProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130903"
} | starcoder | <filename>AzureTable/KeyValueStorage.AzureTable/AzureTableStoreProvider.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KeyValueStorage.Exceptions;
using KeyValueStorage.Interfaces;
using KeyValueStorage.Interfaces.Utility;
using KeyValueStorage.RetryStrateg... | 2.248832 | fda4179ebbc97789392612e689cb014e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811684 | {
"extension": "c-sharp",
"max_stars_count": "156.0",
"max_stars_repo_name": "theonlynexus/InfluxData.Net",
"max_stars_repo_path": "InfluxData.Net.Common/Enums/QueryLocation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130904"
} | starcoder | <filename>InfluxData.Net.Common/Enums/QueryLocation.cs
namespace InfluxData.Net.Common.Enums
{
/// <summary>
/// Allows long queries to be sent through form data rather than URI params.
/// <see cref="https://github.com/influxdata/influxdb/commit/f58a50c231afd6ee775ce213461c7c0043cd724f"/>
/// </summar... | 2.265718 | bdc13a800d77101c16f7d5acccefcbfe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811685 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeanluctritsch/CommunityServer",
"max_stars_repo_path": "module/ASC.Api/ASC.Api.MailServer/MailServerApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130905"
} | starcoder | <filename>module/ASC.Api/ASC.Api.MailServer/MailServerApi.cs
/*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www... | 1.363791 | 1d19eed9ed4fff5e598d19b51254c653 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811686 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "shuice/universal-file-parser",
"max_stars_repo_path": "kernel/StructLengthParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130906"
} | starcoder | <reponame>shuice/universal-file-parser
using kernel;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Text;
namespace kernel
{
public enum LengthValueType
{
use_remaining, // "", unlimited, does not exist, depends on... | 2.466635 | 9335683eb560d86705de1bab1734e246 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811687 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "michael-jia-sage/libgoogle",
"max_stars_repo_path": "src/extensions/feedlink.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130907"
} | starcoder | <reponame>michael-jia-sage/libgoogle<filename>src/extensions/feedlink.cs<gh_stars>0
/* Copyright (c) 2006-2008 Google 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
*
* ... | 2.251952 | eaeb85b8b9200ddc79d2cd129868e897 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811688 | {
"extension": "c-sharp",
"max_stars_count": "275.0",
"max_stars_repo_name": "vvolkgang/KimonoDesigner",
"max_stars_repo_path": "KimonoMac/MainWindowController.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130908"
} | starcoder | // WARNING
//
// This file has been generated automatically by Visual Studio to store outlets and
// actions made in the UI designer. If it is removed, they will be lost.
// Manual changes to this file may not be handled correctly.
//
using Foundation;
using System.CodeDom.Compiler;
namespace KimonoMac
{
[Register ("... | 1.656911 | 64a6f28b96da6d0fb53aca4209d70d65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811689 | {
"extension": "c-sharp",
"max_stars_count": "2504.0",
"max_stars_repo_name": "dujianxin/Windows-universal-samples",
"max_stars_repo_path": "Samples/MicrosoftPassport/Server/Models/Messages.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130909"
} | starcoder | <filename>Samples/MicrosoftPassport/Server/Models/Messages.cs
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IM... | 1.764928 | 866ab60ee66da9b07838c7682402bbc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811690 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tmone/incentive",
"max_stars_repo_path": "NC.CORE/App/Asset/NCDxtreme.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130910"
} | starcoder | <filename>NC.CORE/App/Asset/NCDxtreme.cs
using NC.CORE.Context;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Dapper;
using OfficeOpenXml;
using System.Data;
us... | 2.455354 | 128e5b023bded8e8be65c6ea300eac8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811691 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RedKento/FFA",
"max_stars_repo_path": "src/Services/SpamService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130911"
} | starcoder | <gh_stars>0
using FFA.Common;
using FFA.Database.Models;
using FFA.Entities.Service;
using FFA.Entities.Spam;
using FFA.Extensions.Database;
using FFA.Extensions.Discord;
using MongoDB.Driver;
using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Threading.Tasks;
// TODO: allow certain cha... | 1.853023 | 2d5868caf2f20bd5d4582a1171f0f7ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811692 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "refactor2/skywalking-netcore",
"max_stars_repo_path": "src/SkyWalking.AspNetCore/HostingEnvironmentProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130912"
} | starcoder | using Microsoft.AspNetCore.Hosting;
namespace SkyWalking.AspNetCore
{
internal class HostingEnvironmentProvider : IEnvironmentProvider
{
public string EnvironmentName { get; }
public HostingEnvironmentProvider(IHostingEnvironment hostingEnvironment)
{
EnvironmentName = host... | 2.105271 | d72ca533808854a00ffe2d25e03fa857 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811693 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pfpack/pfpack-core-taggeds",
"max_stars_repo_path": "src/core-taggeds-optional/Optional/Present.T/Present.T.Equality.GetHashCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130913"
} | starcoder | using System.Runtime.CompilerServices;
namespace System;
partial struct Present<T>
{
public override int GetHashCode()
=>
value is not null
? HashCode.Combine(EqualityContractHashCode(), EqualityComparer.GetHashCode(value))
: HashCode.Combine(EqualityContractHashCode());
... | 2.567894 | 1654a684872790bdd6ec491968a198cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811694 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Varorbc/alipay-sdk-net-all",
"max_stars_repo_path": "AlipaySDKNet/Domain/AlipayPayCodecQrcodecacheAddModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130914"
} | starcoder | <reponame>Varorbc/alipay-sdk-net-all<filename>AlipaySDKNet/Domain/AlipayPayCodecQrcodecacheAddModel.cs
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayPayCodecQrcodecacheAddModel Data Structure.
/// </summary>
[Serializable]
public class AlipayPayCod... | 1.342925 | f513fd8cce412af5d6f97dbc48720129 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811695 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "smorgo/ComputerEmulator",
"max_stars_repo_path": "Tests/CpuTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130915"
} | starcoder | <filename>Tests/CpuTests.cs
using NUnit.Framework;
using _6502;
using HardwareCore;
using System;
using RemoteDisplayConnector;
using System.Threading.Tasks;
using Memory;
using System.Threading;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.DependencyInjection;
using Debugger;
namespace Tests
{
... | 2.053199 | 971ef0c64fc50664c374ff839f64ad6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811696 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/interop/src/Windows/image/IMAGE_OPTIONAL_HEADER64.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130916"
} | starcoder | namespace Windows.Image
{
using System;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct IMAGE_OPTIONAL_HEADER64
{
public IMAGE_OPTIONAL_HEADER_MAGIC Magic;
public byte MajorLinkerVersion;
public byte MinorLinkerVersion;
... | 1.466995 | 4d998051fab6a6612f7739a4f93b1d0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811697 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kaizer04/Telerik-Academy-2013-2014",
"max_stars_repo_path": "C#1/Data-Types-Variables-Homework/3. ComparesFloatingPointNumbers/ComparesFloatingPointNumbers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130917"
} | starcoder | <filename>C#1/Data-Types-Variables-Homework/3. ComparesFloatingPointNumbers/ComparesFloatingPointNumbers.cs
using System;
class ComparesFloatingPointNumbers
{
static void Main()
{
float a;
float b;
float precision = 0.000001f;
bool compare;
Console.Write("a = ");
... | 3.653605 | 53c39db4e3439cfff1393affd70d03a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811698 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jdknight/t2ds",
"max_stars_repo_path": "GameData/base/scripts/TR2Prefixes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130918"
} | starcoder | <gh_stars>1-10
$PrefixList = new ScriptObject()
{
class = PrefixList;
};
function PrefixList::get(%this, %a)
{
return $PrefixList[%a];
}
// Somewhat backwards
$PrefixList[0] = new ScriptObject()
{
text = "Angled";
value = 2;
sound = "blah.wav";
emitter = "Optional";
class = PrefixData;
};... | 2.37061 | 9e2dd27cfa7d4c8535602ed6931d2adf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811699 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Reispfannenfresser/Core",
"max_stars_repo_path": "Assets/Scripts/Segments/GeneratorSegment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130919"
} | starcoder | <reponame>Reispfannenfresser/Core<filename>Assets/Scripts/Segments/GeneratorSegment.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Audio;
[RequireComponent(typeof(Animator))]
[RequireComponent(typeof(ConstructionSegment))]
public class GeneratorSegment : MonoBehavio... | 1.907452 | f50b04d0ca2df0b796c95225027ec330 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811700 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gocerahmet/SirketOtomasyonProject",
"max_stars_repo_path": "OtomasyonProje/OtomasyonProje/Forms/Data.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130920"
} | starcoder | namespace OtomasyonProje.Forms
{
internal class Data
{
public string ID { get; set; }
public string adSoyad { get; set; }
public string departman { get; set; }
public string aylıkGelir { get; set; }
public string telefonNo { get; set; }
public string mailAdres { ... | 1.063625 | 98318e207637f259dc5fbcbacb48d6b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811701 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "soleil-taruto/Hatena",
"max_stars_repo_path": "a20201226/Confused_03/tmpsol/Elsa20200001/NormalizePublicLithiumSize.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130921"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Charlotte
{
/// <summary>
/// Confused by ConfuserElsa
/// </summary>
public class CastInitialTantalumSignature
{
/// <summary>
/// Confused by ConfuserElsa
/// </summary>
public void RecordUnauthorizedYtterbi... | 1.901364 | aee7ecf63423204dba4c797f02bb7d25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811702 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GamesEngineer/A-Star-Pathfinder",
"max_stars_repo_path": "Assets/Scripts/AStarSearch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130922"
} | starcoder | <reponame>GamesEngineer/A-Star-Pathfinder
//#define USE_OCTILE_DIAGONAL_DISTANCE
using System;
using System.Collections.Generic;
using UnityEngine;
namespace GameU
{
public class AStarSearch
{
public readonly INavNodeGraph graph;
public AStarSearch(INavNodeGraph graph)
{
th... | 2.624075 | 23bd8dad742c092a08687160040fed32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811703 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "herrylau/wwzkushop",
"max_stars_repo_path": "MxWeiXinPF.Web/admin/albums/albumsSys.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130923"
} | starcoder | using MxWeiXinPF.BLL;
using MxWeiXinPF.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MxWeiXinPF.Web.admin.albums
{
public partial class albumsSys : Web.UI.ManagePage
{
wx_albums_sys rBll = ne... | 2.033632 | c24adc98baf7d0e7972e1901a3749571 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811704 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "breadnone/Fungus-custom-commands",
"max_stars_repo_path": "TMProAutoTagLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130924"
} | starcoder | // This code is part of the Fungus library (https://github.com/snozbot/fungus)
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using TMPro;
using System;
public enum TMProTagLoaderLis... | 2.560452 | 2c4430a1c9ff8774e06183992e1173a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811705 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "LordZoltan/Rezolver",
"max_stars_repo_path": "test/Rezolver.Tests.Shared/Types/OneCtor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130925"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Rezolver.Tests.Types
{
public class OneCtor : NoCtor
{
//some expected values
public const int ExpectedRezolvedValue = 101;
public const int ExpectedValue = 100;
public const int ExpectedDynamicExpress... | 2.275339 | e7366577939039bf4791c0af3d9120dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811706 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dev-nm/CommunityServer",
"max_stars_repo_path": "common/ASC.Core.Common/Caching/CachedTenantService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130926"
} | starcoder | <filename>common/ASC.Core.Common/Caching/CachedTenantService.cs
/*
*
* (c) Copyright Ascensio System Limited 2010-2020
*
* 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.apa... | 1.821895 | bbb0470a36cf4cefa8f15b0ac8e4c785 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811707 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "twinkfrag/Unity-chan_snake",
"max_stars_repo_path": "Assets/UniRx/Scripts/Disposables/BooleanDisposable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130927"
} | starcoder | using System;
using System.Collections;
namespace UniRx
{
public class BooleanDisposable : IDisposable, ICancelable
{
public bool IsDisposed { get; private set; }
public BooleanDisposable()
{
}
internal BooleanDisposable(bool isDisposed)
{
... | 2.52209 | 13e1d4860fbbff3e168f313b92d247e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811708 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mr-azazael/discord-bot-among-us",
"max_stars_repo_path": "Discord.Bot.AmongUs.Library/Entities/GameState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130928"
} | starcoder | <filename>Discord.Bot.AmongUs.Library/Entities/GameState.cs
namespace Discord.Bot.AmongUs.Library.Entities
{
/// <summary>
/// the state of the lobby
/// </summary>
enum GameState
{
/// <summary>
/// lobby was just created
/// </summary>
StartUp,
/// <summary... | 2.438852 | 040c61cd7892b2560e64172f51adaaf3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811709 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "jonreyno/AGS",
"max_stars_repo_path": "Editor/AGS.Editor/Panes/TextParserEditor.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130929"
} | starcoder | <reponame>jonreyno/AGS<gh_stars>10-100
namespace AGS.Editor
{
partial class TextParserEditor
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources bein... | 1.999441 | a9a224e1f9024451fd9f1fb168d62f06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811710 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alayoalex/Figerprint-Image-Quality",
"max_stars_repo_path": "FingerprintImageQualityNew/FingerprintImageQualityNew/Algorithm/Maps/VarianceMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130930"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FingerprintImageQualityNew.Algorithm.Maps
{
public class VarianceMap
{
float[,] block;
public float[,] Block
{
get { return block; }
set { block = value; }
}... | 2.610256 | 5064ecf847996551ba5b391acccecdd7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811711 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mzorec/Natasha",
"max_stars_repo_path": "test/NatashaUT/AssemblyFileTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130931"
} | starcoder | using Natasha;
using System;
using System.IO;
using Xunit;
namespace NatashaUT
{
[Trait("程序集编译测试", "文件")]
public class AssemblyFileTest
{
[Fact(DisplayName = "文件部分类编译")]
public void Test1()
{
string path1 = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "File", ... | 2.428514 | 6d530267ddf3ab2bbd706318e159f043 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811712 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kris701/JanC",
"max_stars_repo_path": "Exceptions/ErrorListeners/LexerErrorListener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130932"
} | starcoder | using Exceptions.Exceptions;
namespace Exceptions.ErrorListeners {
public class LexerErrorListener : SyntaxErrorListener<int> {
protected override void ThrowException(string message) {
throw new LexerException(GetErrorString());
}
}
}
| 2.007357 | 9e63e1c192f7a467d6bc8873382be192 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811713 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "UnityEngine/EventSystems/StandaloneInputModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130933"
} | starcoder | [AddComponentMenu] // RVA: 0x11AAF0 Offset: 0x11ABF1 VA: 0x11AAF0
public class StandaloneInputModule : PointerInputModule // TypeDefIndex: 4084
{
// Fields
private float m_PrevActionTime; // 0x58
private Vector2 m_LastMoveVector; // 0x5C
private int m_ConsecutiveMoveCount; // 0x64
private Vector2 m_LastMousePositi... | 1.609424 | bd15094c9bac3828a4ead207f71358e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811714 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pierresprim/WinCopies.Util",
"max_stars_repo_path": "Source/WinCopies.Util.Desktop.Shared/ThrowHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130934"
} | starcoder | <filename>Source/WinCopies.Util.Desktop.Shared/ThrowHelper.cs
/* Copyright © <NAME>, 2020
*
* This file is part of the WinCopies Framework.
*
* The WinCopies Framework is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free S... | 2.29044 | 15f61c2d4aba229cc80416d7e4d83e5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811715 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mirjanic/Game-of-Life",
"max_stars_repo_path": "Game of Life/Rules.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130935"
} | starcoder | <gh_stars>0
namespace Game_of_Life
{
partial class Rules
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.083246 | 0d4afab6d0b4d5a4adf4fa26cf0632aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811716 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "luizsilvadev/abpframework",
"max_stars_repo_path": "aspnet-core/src/App.ExemploMvc.EntityFrameworkCore/EntityFrameworkCore/ExemploMvcEntityFrameworkModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130936"
} | starcoder | using Abp.EntityFrameworkCore.Configuration;
using Abp.Modules;
using Abp.Reflection.Extensions;
using Abp.Zero.EntityFrameworkCore;
using App.ExemploMvc.EntityFrameworkCore.Seed;
namespace App.ExemploMvc.EntityFrameworkCore
{
[DependsOn(
typeof(ExemploMvcCoreModule),
typeof(AbpZeroCoreEntityFram... | 1.590495 | dfc993e792edcf6841647cfe95a6ff03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811717 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "takiru/Metro",
"max_stars_repo_path": "net45/src/Metroit.45/Win32/Api/WindowsControls/CommonCtrl/MonthCalendarView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130937"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace Metroit.Win32.Api.WindowsControls.CommonCtrl
{
/// <summary>
/// MonthCalendarのビュー種類を提供します。
/// </summary>
public static class MonthCalendarView
{
/// <summary>
/// 月単位のビュー。
... | 1.953964 | 04abdf110b5ec5f1c650d48ec9e25e64 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.