added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840412 | {
"extension": "c-sharp",
"max_stars_count": "176.0",
"max_stars_repo_name": "Thomas-S-B/sqltoolsservice",
"max_stars_repo_path": "src/Microsoft.SqlTools.ServiceLayer/BatchParser/ExecutionEngineCode/ExecutionState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159632"
} | starcoder | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
{
internal enum ExecutionState
{
Initial,
Executing,
E... | 1.126341 | 62a66bd77f9f1e43758eaa22e5a5a46b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840413 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/asm/src/iced/contracts/IIceInstructionFormatter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159633"
} | starcoder | <gh_stars>0
//-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0.Asm
{
using System;
using Iced = Iced.Intel;
public interface II... | 1.422322 | c80c07e30ff19a6c3add597279f9abd4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840414 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MeladHamedani/monday.client",
"max_stars_repo_path": "Monday.Client/Dtos/BoardColumnTagDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159634"
} | starcoder | <gh_stars>1-10
using Newtonsoft.Json;
namespace Monday.Client.Dtos
{
public class BoardColumnTagDto
{
[JsonProperty("pulse_id")] public int PulseId { get; set; }
[JsonProperty("tags")] public string Tags { get; set; }
}
} | 1.44577 | 80fdf10a65f129ecd66ce83e3bdbc134 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840415 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "keymind/Epi-Info-Community-Edition",
"max_stars_repo_path": "EpiDashboard/Mapping/ChoroplethLayerPropertiesUserControlBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159635"
} | starcoder | <reponame>keymind/Epi-Info-Community-Edition<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Windows.Controls;
using System.Linq;
using System.Text;
using System.Xml;
using System.Windows.Media;
using Epi;
namespace EpiDashboard.Mapping
{
public class ChoroplethLayerP... | 2.044806 | 0beb0c4268876eba31fcf9c5353960fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840416 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "jkulcsar/PipelinePatternImplementations",
"max_stars_repo_path": "PipelineImplementations/Part3/UsagePart3.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159636"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PipelineImplementations.Part3.Disruptor;
using PipelineImplementations.Part3.TPLDataflowWithAsync;
namespace PipelineImplementations.Part3
{
public class UsagePart3
{
public static... | 3.171836 | c99a36237bda2d53646e8d312322c12a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840417 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "PetarKTodorov/IPTV.Big.Heart",
"max_stars_repo_path": "src/Services/IPTV.Big.Heart.Services.Database/Television/TelevisionCountryMappingService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159637"
} | starcoder | <reponame>PetarKTodorov/IPTV.Big.Heart
namespace IPTV.Big.Heart.Services.Database.Television
{
using AutoMapper;
using Interfaces;
using IPTV.Big.Heart.Database.Repositories.Interfaces;
using IPTV.Big.Heart.Database.Models.Television;
public class TelevisionCountryMappingService : BaseDatabaseSer... | 1.682557 | a2221fc8bf5654aa2dfa5825fa1ca2cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840418 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MihaMarkic/SharpReact",
"max_stars_repo_path": "src/Implementations/Wpf/SharpReact.Wpf/Props/DataGridColumnHeadersPresenter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159638"
} | starcoder | <reponame>MihaMarkic/SharpReact
using SharpReact.Core;
using SharpReact.Core.Properties;
using System.Collections.Generic;
namespace SharpReact.Wpf.Props
{
public class DataGridColumnHeadersPresenter: ItemsControl
{
protected override ISharpStatefulComponent CreateComponent()
{
return new Components.DataGridC... | 1.265744 | 686ce996e041eda428910a8ac0ad40bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840419 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sriharshabammidi/BookMyTicketRepo",
"max_stars_repo_path": "BookMyTicketsBackend/BookMyTicket.Interfaces/Services/ISearchService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159639"
} | starcoder | using BookMyTicket.Models;
using System.Collections.Generic;
namespace BookMyTicket.Interfaces.Services
{
public interface ISearchService
{
List<City> GetCities();
List<Movie> GetMoviesByCity(long cityID);
List<Cinema> GetAllShowsByMoviesAndCity(long cityID, long movieID);
List... | 1.887775 | 792da0bbc9ee9f50e8ce7b04537e0815 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840420 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PrasadHonrao/Learn.CSharp",
"max_stars_repo_path": "Language/Reflection/Assembly Load/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159640"
} | starcoder | using System;
using System.Reflection;
namespace Learn.CSharp.Language
{
class Program
{
static void Main(string[] args)
{
// Load type dynamically
foreach (Type type in Assembly.GetExecutingAssembly().GetTypes())
{
if (type.GetInterface("ILo... | 3.412826 | 284b61d98a930751125b85b45d149bec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840421 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ExpediaInc/WaveServiceBus",
"max_stars_repo_path": "tests/Wave.Transports.RabbitMQ.Tests/RabbitMQTransportTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159641"
} | starcoder | /* Copyright 2014 <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 law or agreed to in writing, s... | 2.04771 | 4d72da48bd74ef22fb01f9ac56270f20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840422 | {
"extension": "c-sharp",
"max_stars_count": "606.0",
"max_stars_repo_name": "fontmaniac/OpenGL.Net",
"max_stars_repo_path": "OpenGL.Net/EglException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159642"
} | starcoder | <filename>OpenGL.Net/EglException.cs<gh_stars>100-1000
// Copyright (C) 2015-2017 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limita... | 2.431183 | 8e60e1165dd58862a253f13e7c0f2c9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840423 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Revature-Cinephiliacs/ForumRepo",
"max_stars_repo_path": "Logic/ForumLogic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159643"
} | starcoder | <filename>Logic/ForumLogic.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Json;
using System.Threading.Tasks;
using GlobalModels;
using Microsoft.Extensions.Logging;
using Repository;
namespace BusinessLogic
{
/// <summary>
/// Implements the ... | 2.522677 | c27d260443aa7dcad8da9b2fd485558b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840424 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dariogriffo/easy-evs",
"max_stars_repo_path": "src/EasyEvs/Internal/HandlesFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159644"
} | starcoder | <gh_stars>1-10
namespace EasyEvs.Internal
{
using System;
using System.Collections.Generic;
using System.Linq;
using Contracts;
using Microsoft.Extensions.DependencyInjection;
internal class HandlesFactory : IHandlesFactory
{
private readonly IServiceProvider _serviceProv... | 2.306911 | 9a46803bdca595781635141a7b8e630e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840425 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "audreybanks/VRMahjongMultiplayer",
"max_stars_repo_path": "VRMultiplayerMahjong/Assets/Resources/Scripts/PushButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159645"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class PushButton : MonoBehaviour {
public float threshold = 0.1f;
public float deadzone = 0.025f;
private bool isPressed;
private Vector3 startPosition;
private Configura... | 2.432988 | 06999c8df780c1fb957cd63b29f3ef25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840426 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "GalinStoychev/household-manager",
"max_stars_repo_path": "HouseholdManager/HouseholdManager.Web/Areas/Household/Views/Expenses/_ExpensePartial.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:159646"
} | starcoder | @model HouseholdManager.Web.Areas.Household.Models.ExpenseViewModel
@{
var modalTarget = "#" + Model.Id + "modal";
var target = Model.Id + "modal";
var categoryClass = "category-" + Model.Category;
var dueDateClass = DateTime.Compare(Model.DueDate, DateTime.Now) < 0 ? "overdue" : "color-gray";
}
<div... | 2.57488 | 012fa6d521a4a24e564a7fad0ec444e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840427 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yince/ABP.TPLMS",
"max_stars_repo_path": "aspnet-core/src/ABP.TPLMS.Application/Suppliers/Dto/PagedSupplierResultRequestDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159647"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using Abp.Application.Services.Dto;
namespace ABP.TPLMS.Suppliers.Dto
{
public class PagedSupplierResultRequestDto: PagedResultRequestDto
{
public string Keyword { get; set; }
}
}
| 1.138682 | 7b31e8a0540048da594f1264bf9c5e5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840428 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "voicebridge/most",
"max_stars_repo_path": "voicemodel/src/Alexa/LanguageModel/InteractionModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159648"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using Newtonsoft.Json;
namespace VoiceBridge.Most.VoiceModel.Alexa.LanguageModel
{
public class InteractionModel
{
public InteractionModel()
{
this.LanguageModel = new LanguageModel();
this.Dialog = new Dialog();
... | 2.057718 | ccb58eb7b338e1d06e04bd8e7cf9fe8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840429 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GreenOlvi/AdventOfCode",
"max_stars_repo_path": "2019/AoC2019/Puzzle10/Solution.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159649"
} | starcoder | using AoC2019.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AoC2019.Puzzle10
{
public class Solution : IPuzzle
{
public Solution(IEnumerable<string> input)
{
_input = new Grid(ParseInput(input));
}
... | 3.367505 | ae31365f6ca1e15ebbe220bacfbedc03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840430 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kkrupaa/Amazon-SP-API-CSharp",
"max_stars_repo_path": "Source/FikaAmazonAPI/AmazonSpApiSDK/Models/CatalogItems20201201/ClassificationRefinement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159650"
} | starcoder | /*
* Selling Partner API for Catalog Items
*
* The Selling Partner API for Catalog Items provides programmatic access to information about items in the Amazon catalog. For more information, see the [Catalog Items API Use Case Guide](doc:catalog-items-api-v2020-12-01-use-case-guide).
*
* OpenAPI spec version: 202... | 2.263904 | a3bac49916e7b46797e85d29fa508770 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840431 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AntoineDao/dragonfly-schema-dotnet",
"max_stars_repo_path": "src/DragonflySchema/Model/Room2DEnergyPropertiesAbridged.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159651"
} | starcoder | <reponame>AntoineDao/dragonfly-schema-dotnet<gh_stars>0
/*
* Dragonfly Model Schema
*
* This is the documentation for Dragonfly model schema.
*
* The version of the OpenAPI document: 1.5.1
* Contact: <EMAIL>
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Li... | 2.107834 | ac7d824f4087a993467b90e9e3f401e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840432 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "taliesins/talifun-commander",
"max_stars_repo_path": "src/Talifun.Commander.Command.Image/Command/DeleteTempDirectoryMessageHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159652"
} | starcoder | using MassTransit;
using Talifun.Commander.Command.Esb;
using Talifun.Commander.Command.Image.Command.Request;
using Talifun.Commander.Command.Image.Command.Response;
using Talifun.Commander.Command.Plugins;
namespace Talifun.Commander.Command.Image.Command
{
public class DeleteTempDirectoryMessageHandler : DeleteTe... | 1.461666 | 798b2f358d244a7181bd481c471299d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "niku-live/UncommonSense.CBreeze",
"max_stars_repo_path": "CBreeze/UncommonSense.CBreeze.Core/Property/Enumeration/DefaultLayout.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159653"
} | starcoder | namespace UncommonSense.CBreeze.Core.Property.Enumeration
{
#if NAV2015
public enum DefaultLayout
{
RDLC,
Word
}
#endif
}
| 1.216509 | 361416bb57049196f3c91f22542723dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840434 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "vmanthena/aspnetwebstack",
"max_stars_repo_path": "src/System.Web.Http.OData/OData/Builder/IEntitySetLinkBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159654"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using Microsoft.Data.Edm;
namespace System.Web.Http.OData.Builder
{
public interface IEntitySetLinkBuilder
{
/// <summary>
/// Builds the feed self link.
... | 1.800093 | ddba2755635b291f4017524ed74c079d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840435 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mg-group/mg.technical.tests",
"max_stars_repo_path": "Set 2/exercise3.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159655"
} | starcoder | //Exercise 3
//How would you improve the maintainability of the following code?
public class Employee
{
private int _type;
static int ENGINEER = 0;
static int SALESMAN = 1;
static int MANAGER = 2;
public double MonthlySalary {get; set;}
public double Commission {get; set;}
public... | 3.511976 | 56244dbc934a369964f8903835c85f62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840436 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "jwupf/code-searcher",
"max_stars_repo_path": "CodeSearcher.Index/SearchResults/SearchResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159656"
} | starcoder | <filename>CodeSearcher.Index/SearchResults/SearchResult.cs
using CodeSearcher.BusinessLogic.Common;
using CodeSearcher.Interfaces;
using Lucene.Net.Documents;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodeSearcher.BusinessLog... | 2.315713 | ca217d3a6d98e491079eeb2420b125bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840437 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "glaanc03/Bridge.SignalR",
"max_stars_repo_path": "Bridge.SignalR/HubSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159657"
} | starcoder | <reponame>glaanc03/Bridge.SignalR
namespace Bridge.SignalR
{
/// <summary>
/// SignalR HubSettings.
/// </summary>
[External]
[ObjectLiteral]
[Name("Object")]
public class HubSettings
{
/// <summary>
/// client-side logging. (default: false)
/// </summary>
... | 1.531975 | 5e236c1e0ecd2e414885078e247b84bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840438 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "beyondnetPeru/BeyondNet.MyNetSamples",
"max_stars_repo_path": "jobs/quartz/BeyondNet.Demo.Quartz.App/MyFirstJobScheduler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159658"
} | starcoder | using System;
using BeyondNet.Demo.Quartz.App.Jobs;
using Quartz;
using Quartz.Impl;
namespace BeyondNet.Demo.Quartz.App
{
public class MyFirstJobScheduler
{
public static void Start()
{
var scheduler = StdSchedulerFactory.GetDefaultScheduler();
scheduler.Start();
... | 2.271691 | 6c6bd4d4882ba9982199d50b7530bd76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840439 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "betacode-projects/RemotePanel",
"max_stars_repo_path": "Sources/RemotePanel/RemotePanel/Forms/TaskManeger.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159659"
} | starcoder | <gh_stars>10-100
namespace RemotePanel.Forms
{
partial class TaskManeger
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// <... | 1.874437 | 7ed1e8b370531d6c510d264e77822fd3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840440 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "jonnybee/cslacontrib",
"max_stars_repo_path": "branches/2010.11.001/Mvc/CslaContrib.Mvc/CslaContrib.Mvc/TypeExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159660"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace CslaContrib.Mvc
{
static class TypeExtensions
{
public static Type GetPropertyType(this Type type, string propName)
{
foreach (PropertyDescriptor... | 2.686131 | be1fef2460e90bd56e565ce1fb0b978f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840441 | {
"extension": "c-sharp",
"max_stars_count": "1338.0",
"max_stars_repo_name": "msrao83/Telerik",
"max_stars_repo_path": "Controls/Grid/Grid.UWP/Model/TableModel/DisplayData/ArrangeDataForDecorations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159661"
} | starcoder | using System;
using System.Collections.Generic;
namespace Telerik.UI.Xaml.Controls.Grid
{
internal class ArrangeDataForDecorations
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Justification = "Will be used for Cell Selection.")]
... | 2.636549 | 7f6b1197e03527ec269dd40974dccd49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840442 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasonjoh/kiota",
"max_stars_repo_path": "cli/commons/src/Microsoft.Kiota.Cli.Commons.Tests/Binding/CollectionBindingTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159662"
} | starcoder | <filename>cli/commons/src/Microsoft.Kiota.Cli.Commons.Tests/Binding/CollectionBindingTests.cs
using System;
using System.CommandLine;
using System.CommandLine.Binding;
using System.CommandLine.Builder;
using System.CommandLine.Parsing;
using Moq;
using Xunit;
namespace Microsoft.Kiota.Cli.Commons.Binding;
public cla... | 2.338185 | ced4f67abc2338b552127d663f292361 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840443 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "nttmcp/Compute.Api.Powershell",
"max_stars_repo_path": "PowershellModule/CloudCompute.Powershell/UserAccounts/ResetCaasAccountPasswordCmdlet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159663"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ResetCaasAccountPasswordCmdlet.cs" company="">
//
// </copyright>
// <summary>
// The reset caas account password cmdlet.
// </summary>
// -----------------------------------... | 2.274103 | c181f0818e2173a316fd11574ef46dfd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840444 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "emilia98/React-Project-SoftUni",
"max_stars_repo_path": "EventTracker/EventTracker.Server/Web/EventTracker.API/Controllers/TagController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159664"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using EventTracker.InputModels;
using EventTracker.Models;
using EventTracker.Services;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace EventTracker.API.Contr... | 2.595293 | 1752265bb9b64d2e5d81024b5ad1eee2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840445 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "natas1984/VRestionnaires",
"max_stars_repo_path": "VRestionnairesUnity/Assets/VRestionnaires/Scripts/VRestionnaireStudySettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159665"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
namespace VRestionnaire {
[CreateAssetMenu(menuName = "VRestionnaire Study Settings")]
public class VRestionnaireStudySettings: ScriptableObject {
[Serializable]
public class QuestionnaireFromFile {
public string co... | 2.146549 | f0cc9df73e37143315c1ab3fc23e1f38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840446 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wovencode/PlayerStatistics",
"max_stars_repo_path": "Scripts/SyncStructs/StatisticSyncStruct.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159666"
} | starcoder | // =======================================================================================
// Wovencore
// by Weaver (Fhiz)
// MIT licensed
// =======================================================================================
using System;
using System.Text;
using System.Collections.Generic;
using UnityEngine;
u... | 2.24251 | b90c8b9d5cabc7c14f6619041c83a0cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840447 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "UMapx/UMapx",
"max_stars_repo_path": "sources/Distribution/Binomial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159667"
} | starcoder | using System;
using UMapx.Core;
namespace UMapx.Distribution
{
/// <summary>
/// Defines the binomial distribution.
/// <remarks>
/// More information can be found on the website:
/// https://en.wikipedia.org/wiki/Binomial_distribution
/// </remarks>
/// </summary>
[Serializable]
p... | 3.128967 | 1a489c270e808cd465b2308bf452d099 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840448 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ebradim/OlxClone_dotNET5_Angular11",
"max_stars_repo_path": "Domain/Photo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159668"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Domain
{
public class Photo
{
[Key]
public string Id { get; set; }
public string Url { get; set; }
... | 1.907609 | 444e0336f063680bbc617c51e3339368 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840449 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DenDrummer/TI-conf_19-20_groep-1",
"max_stars_repo_path": "POC/SpatialOS Maze/gdk-for-unity-spatialos-maze/workers/unity/Assets/SpatialOS_POC/Scripts/Config/EntityTemplates.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159669"
} | starcoder | using Be.Kdg.SpatialosMaze.Player;
using Be.Kdg.SpatialosMaze.PlayerTransform;
using Improbable;
using Improbable.Gdk.Core;
using Improbable.Gdk.PlayerLifecycle;
using Improbable.Gdk.TransformSynchronization;
namespace SpatialOS_POC.Scripts.Config
{
public static class EntityTemplates
{
public static E... | 1.85685 | b91b75739d1c2f30f760fc6c4a02a63d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840450 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "zhoucan1990/aliyun-tablestore-csharp-sdk",
"max_stars_repo_path": "test/UnitTest/InterfaceTest/SingleRowOperationTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159670"
} | starcoder | /*
* Trade secret of Alibaba Group R&D.
* Copyright (c) 2015 Alibaba Group R&D.
*
* All rights reserved. This notice is intended as a precaution against
* inadvertent publication and does not imply publication or any waiver
* of confidentiality. The year included in the foregoing notice is the
* year of... | 2.205693 | 077a1becb74c87aa3af56d1696112392 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840451 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FrankMueller/BobOnRails.Controller",
"max_stars_repo_path": "Source/BobOnRails.Controller.Communication/Response.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159671"
} | starcoder | using System;
namespace BobOnRails.Controller.Communication
{
/// <summary>
/// Represents a request which can be send to the remote device.
/// </summary>
public class Response : IMessage
{
/// <inheritdoc cref="IMessage.TypeCode"/>
public byte TypeCode
{
get {... | 3.088122 | e2a8c5d5b78eaacd472fb48538ddea41 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840452 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "andrewalford1/CPU_online",
"max_stars_repo_path": "CPUonline/Assets/scripts/memory/MemoryListControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159672"
} | starcoder | <reponame>andrewalford1/CPU_online<filename>CPUonline/Assets/scripts/memory/MemoryListControl.cs
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
/**
* @brief Class to control all the memory locations.
* @extends MonoBehaviour
* @author <NAME>
* @date 26/02/2019
* @version 1.3 - 3... | 2.883532 | 7a3739376123fa8cb4c31e084f98a521 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840453 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryanohs/Fubu-HtmlTags-For-ASP.NET-MVC",
"max_stars_repo_path": "src/HtmlTags.Extensions/Constants/HtmlStyleConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159673"
} | starcoder | namespace HtmlTags.Extensions
{
public class HtmlStyleConstants
{
public const string TextAlign = "text-align";
public const string Display = "display";
}
} | 1.741969 | 8399e88fc1fca8421ea2c845297d0191 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840454 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "JohanLarsson/Shazzam",
"max_stars_repo_path": "Shazzam/Converters/StringToVisibilityConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159674"
} | starcoder | namespace Shazzam
{
using System;
using System.Windows;
using System.Windows.Data;
[ValueConversion(typeof(string), typeof(Visibility))]
public sealed class StringToVisibilityConverter : IValueConverter
{
public static readonly StringToVisibilityConverter CollapsedWhenNullOrEmpty = new... | 2.595665 | 8c6be82650cf60e5a619725231c2036d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840455 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ThisAislan/Lagnoid",
"max_stars_repo_path": "Assets/Scripts/_MainScene/GameObjects/Player.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159675"
} | starcoder | using UnityEngine;
namespace Laganoid.GameObjects
{
public class Player : MonoBehaviour
{
public float velocidade;
public float horizontalAxis;
public Rigidbody2D rigidBody;
void Start()
{
rigidBody = GetComponent<Rigidbody2D>();
}
... | 2.499768 | 6397cc721732185d1ece18c98dad247d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840456 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Azure/hpcpack-high-availability",
"max_stars_repo_path": "HighAvailabilityModule.Algorithm/MembershipWithWitness.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159676"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
namespace Microsoft.Hpc.HighAvailabilityModule.Algorithm
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Hpc.HighAvailabi... | 1.982957 | a7645b8fff929ab0c346ac31dca6c9d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840457 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jorgemhtdev/jshop",
"max_stars_repo_path": "Jshop.Backend/Areas/Backoffice/Controllers/CategoriesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159677"
} | starcoder | <reponame>jorgemhtdev/jshop
namespace Jshop.Backend.Areas.Backoffice.Controllers
{
using Data;
using Domain;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
[Area("Backoffice... | 2.315195 | d6ff2632bc434d02d8af535bd351ed73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840458 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igtampe/LBLPlus",
"max_stars_repo_path": "LBL.GUI/Forms/ServerContactForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159678"
} | starcoder | <reponame>igtampe/LBLPlus
using System.Windows.Forms;
namespace Igtampe.LBL.GUI.Forms {
/// <summary>Base for windows shown when contacting the server</summary>
public partial class ServerContactForm:Form {
/// <summary>Creates a ServerContactForm</summary>
public ServerContactForm(string He... | 2.471751 | 7b10a15e3e617d8c098dbaba6dbe018c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840459 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/class/System.Web/Test/standalone/RegisterBuildProvider/Test/Log.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159679"
} | starcoder | <reponame>lefb766/mono<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace RegisterBuildProvider.Test
{
public static class Log
{
public static List<string> Data { get; private set; }
static Log ()
{
Data = new List<string> ();
}
}
} | 1.243722 | fcb69d51c68c84947dce1aa96401ecfe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840460 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "psryland/rylogic_code",
"max_stars_repo_path": "projects/Rylogic.Core/src/Win32/Crt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159680"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace Rylogic.Interop.Win32
{
/// <summary>C Runtime Interop</summary>
public static class crt
{
/// <summary>Memory copy</summary>
[DllImport("msvcrt.dll", CallingConvention=CallingConvention.Cdecl)] public static extern int memcpy(byte[] dst, byte[] sr... | 2.77122 | fac6b94f363b2a5307e9440a948e26a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840461 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nataren/mono",
"max_stars_repo_path": "mcs/tools/monodoc/Lucene.Net/Lucene.Net/Search/Spans/SpanOrQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159681"
} | starcoder | <filename>mcs/tools/monodoc/Lucene.Net/Lucene.Net/Search/Spans/SpanOrQuery.cs
/*
* Copyright 2004 The Apache Software Foundation
*
* 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.415219 | e8b7146c83ba68e754b38b2223ea8060 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840462 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pavloskii/unity-virtual-mobile-input-system",
"max_stars_repo_path": "Assets/Scripts/UICanvasControllerInput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159682"
} | starcoder | <gh_stars>0
using UnityEngine;
namespace StarterAssets
{
public class UICanvasControllerInput : MonoBehaviour
{
[Header("Output")]
public PlayerController playerController;
public void VirtualMoveInput(Vector2 virtualMoveDirection)
{
playerController.MoveInput(virtu... | 1.605167 | 4a30576717e97ba21168743174693783 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840463 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alanprot/elasticsearch-net",
"max_stars_repo_path": "src/Elasticsearch.Net/Connection/IConnectionConfigurationValues.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159683"
} | starcoder | using System;
using System.Collections.Specialized;
using Elasticsearch.Net.ConnectionPool;
using Elasticsearch.Net.Serialization;
namespace Elasticsearch.Net.Connection
{
public interface IConnectionConfigurationValues
{
IConnectionPool ConnectionPool { get; }
int MaximumAsyncConnections { get; }
int Time... | 2.197293 | 44c98d21cefe7efe6de13e048436d9c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840464 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "Kukks/i2p-cs",
"max_stars_repo_path": "I2CP/I2CP/Messages/CreateSessionMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159684"
} | starcoder | <filename>I2CP/I2CP/Messages/CreateSessionMessage.cs
using I2PCore.Data;
using I2PCore.Utils;
namespace I2P.I2CP.Messages
{
public class CreateSessionMessage: I2CPMessage
{
public I2PSessionConfig Config;
public CreateSessionMessage( I2PSessionConfig cfg ): base( ProtocolMessageType.... | 2.49172 | 22098aed3678d334c34c6019b130e028 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840465 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Foxify52/OpenViva",
"max_stars_repo_path": "Assets/Scripts/FireworkExplosion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159685"
} | starcoder | <filename>Assets/Scripts/FireworkExplosion.cs
using UnityEngine;
namespace viva
{
public class FireworkExplosion : MonoBehaviour
{
[Range(10, 30)]
[SerializeField]
private float lifespan = 20;
[SerializeField]
private ParticleSystem fireworksPSys;
[SerializeFi... | 1.979689 | a76bfbf20d279204d8b93f12cf8739ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840466 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "harder/GraffitiCMS",
"max_stars_repo_path": "src/Graffiti.Core/Util/Migrator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159686"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Data.SqlClient;
using System.Collections.Specialized;
using System.Data;
using System.Globalization;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
using System.Xml;
namespace Graffiti.Core
{
/... | 2.150633 | 5a5b755eff6f1abc602a72a76e2349ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840467 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ThreeBadBoys/NewUniversity",
"max_stars_repo_path": "newUniversity/Classes/FileHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159687"
} | starcoder | <filename>newUniversity/Classes/FileHandler.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.MemoryMappedFiles;
using System.Linq;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Threading.Tasks;
namespace new... | 3.039971 | b1aa0605a20c595e1e9433be043fc00b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840468 | {
"extension": "c-sharp",
"max_stars_count": "1142.0",
"max_stars_repo_name": "qhdwight/silk-net",
"max_stars_repo_path": "src/OpenXR/Silk.NET.OpenXR/Structs/SceneDeserializeInfoMSFT.gen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159688"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Text;
using Silk.NET.Core;
using Silk.NET.Core.Native;
using Silk.NET.Core.At... | 1.569885 | 4bc40e422b064a156726285c050ee69a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840469 | {
"extension": "c-sharp",
"max_stars_count": "1298.0",
"max_stars_repo_name": "deisner/helix-toolkit",
"max_stars_repo_path": "Source/HelixToolkit.SharpDX.Shared/Interface/EventArguments.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159689"
} | starcoder | using SharpDX;
using SharpDX.Direct3D11;
using System;
using System.Collections.Generic;
using System.Text;
#if !NETFX_CORE
namespace HelixToolkit.Wpf.SharpDX
#else
#if CORE
namespace HelixToolkit.SharpDX.Core
#else
namespace HelixToolkit.UWP
#endif
#endif
{
using Utilities;
/// <summary>
///
/// </s... | 2.640269 | 470908d77b7590de53a06115d5ba9fef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840470 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheCodeWizard27/KanMach",
"max_stars_repo_path": "KanMach.Core/KanGameController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159690"
} | starcoder | using KanMach.Core.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KanMach.Core
{
public abstract class KanGameController : IDisposable
{
public IKanContext Context { get; internal set; }
public abstrac... | 2.133942 | 15ae14bcdc9fbffcf23c6335c811b91a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840471 | {
"extension": "c-sharp",
"max_stars_count": "619.0",
"max_stars_repo_name": "KeesV/azure-functions-durable-extension",
"max_stars_repo_path": "src/WebJobs.Extensions.DurableTask/Correlation/TraceContextBaseExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159691"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using DurableTask.Core;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.DataContracts;
namespace Microsoft.Azure.WebJobs.Extensions.DurableTask.C... | 2.043244 | a6f06e58fbb4c66c856ab6a397375480 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840472 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "System.ServiceModel.Activities/System/ServiceModel/Activities/OperationIdentifier.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159692"
} | starcoder | <reponame>cnork/referencesource
//-----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace System.ServiceModel.Activities
{
using System;
... | 2.052572 | 3da84af91b78647bfcbbbc2c2cb4cf43 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840473 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DarkwolfC/Gestion",
"max_stars_repo_path": "UnicaesGestion/Categoria.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159693"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | 1.84591 | 11735f52f080b3a65740256e7b49ce87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840474 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SergioMorenoFernandez/WhatSport",
"max_stars_repo_path": "WhatSport.Application/Validations/Clubs/CreateClubCommandValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159694"
} | starcoder | using FluentValidation;
using Microsoft.Extensions.Logging;
using WhatSport.Application.Commands.Clubs;
namespace WhatSport.Application.Validations.Clubs
{
public class CreateClubCommandValidator : AbstractValidator<CreateClubCommand>
{
public CreateClubCommandValidator(ILogger<CreateClubCommandValida... | 2.418049 | e03a9230d19a5d3d0c40315757409b4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840475 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "dongdapeng110/SharpDevelopTest",
"max_stars_repo_path": "src/AddIns/Analysis/UnitTesting/Test/Utils/MockProcessRunner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159695"
} | starcoder | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections.Generic;
using ICSharpCode.SharpDevelop.Util;
using ICSharpCode.UnitTesting;
namespace... | 2.284415 | c2c1ed0f493c2a6543936db766c0e341 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840476 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nivero/Findey_Vouchers",
"max_stars_repo_path": "FindeyVouchers/FindeyVouchers.Services/AzureStorageService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159696"
} | starcoder | using System;
using System.Threading.Tasks;
using FindeyVouchers.Interfaces;
using Microsoft.Extensions.Configuration;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using Serilog;
namespace FindeyVouchers.Services
{
public class AzureStorageService : IAzureStorageService
{
... | 2.674233 | 337ba7b2af1bff72e133fd085555c4d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840477 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sagmor/courier",
"max_stars_repo_path": "src/Servers/Web/Pages/Threads/Edit.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:159697"
} | starcoder | @page "{threadId:guid?}"
@model HawkLab.Courier.Servers.Web.Pages.Threads.EditModel
@{
}
<h2>Editing @Model.Thread.Subject</h2>
<form method="post">
<input type="hidden" asp-for="Thread.Id" />
<div class="form-group">
<label asp-for="Thread.Subject"></label>
<input asp-for="Thread.Subject" cla... | 2.028928 | b93cd4eaa155e90619e38ef99287eb1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840478 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "atst1996/Gouter",
"max_stars_repo_path": "Gouter/ViewModels/SettingWindowViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159698"
} | starcoder | <filename>Gouter/ViewModels/SettingWindowViewModel.cs
using Gouter.Commands.SettingWindow;
using Gouter.Managers;
using Gouter.Messaging;
using Gouter.Players;
using Livet.Commands;
using Livet.Messaging;
using System;
using System.Collections.Generic;
namespace Gouter.ViewModels
{
internal class SettingWindowVie... | 1.90869 | 10913b5e8ea766335433060a155c7564 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840479 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "wangkanai/BrowserDetection",
"max_stars_repo_path": "Detection/src/Models/Device.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159699"
} | starcoder | <filename>Detection/src/Models/Device.cs
// Copyright (c) 2014-2022 <NAME>, All Rights Reserved.Apache License, Version 2.0
namespace Wangkanai.Detection.Models;
[Flags]
public enum Device
{
Unknown = 0,
Desktop = 1 << 0, // Windows, Mac, Linux
Tablet = 1 << 1, // iPad, Android
Mobile = 1 << 2, // i... | 2.195436 | f676790e57829bdd4f97b818112fd333 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840480 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PNNL-Comp-Mass-Spec/PSI-Interface",
"max_stars_repo_path": "PSI_Interface/IdentData/IdentDataObjs/SearchModificationObj.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159700"
} | starcoder | <filename>PSI_Interface/IdentData/IdentDataObjs/SearchModificationObj.cs
using System;
using PSI_Interface.IdentData.mzIdentML;
namespace PSI_Interface.IdentData.IdentDataObjs
{
/// <summary>
/// MzIdentML SearchModificationType: Container ModificationParamsType
/// </summary>
/// <remarks>
... | 2.661055 | 73c09cb8749fdadc1f70a75f851b88a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840481 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "andreydef/ZooLux",
"max_stars_repo_path": "ZooLux/Controllers/ShopController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159701"
} | starcoder | using PagedList;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web.Mvc;
using WebStore_Contrast.Models.Data;
using WebStore_Contrast.Models.ViewModels.Shop;
namespace WebStore_Contrast.Controllers
{
public class ShopController : Controller
{
// GET: Shop
pu... | 2.500014 | 3cf729f81f39b6b67ce0d76d62294429 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840482 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Bobris/Njsast",
"max_stars_repo_path": "Njsast/Ast/AstThis.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159702"
} | starcoder | using Njsast.Output;
using Njsast.Reader;
namespace Njsast.Ast;
/// The `this` symbol or `super` as AstSuper
public class AstThis : AstSymbol
{
public AstThis(string? source, Position startLoc, Position endLoc) : base(source, startLoc, endLoc, "this")
{
}
protected AstThis(string? source, Position s... | 2.534895 | 09d7be4881a7bb027cd7d1634874e7be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840483 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PowerfulBacon/CorgEng",
"max_stars_repo_path": "CorgEng.GenericInterfaces/Font/Fonts/IFontFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159703"
} | starcoder | <reponame>PowerfulBacon/CorgEng
using CorgEng.GenericInterfaces.Font.Characters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CorgEng.GenericInterfaces.Font.Fonts
{
public interface IFontFactory
{
IFont GetFont(string ty... | 1.652674 | 441f20595a3f514e2cca9024f740b4bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840484 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MultinetInteractive/SoapCore",
"max_stars_repo_path": "src/SoapCore.Tests/Serialization/Models.Xml/MessageContractRequestRpcStyle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159704"
} | starcoder | namespace SoapCore.Tests.Serialization.Models.Xml
{
[System.ServiceModel.MessageContract(WrapperName = "TestMessageContractWithWithRpcStyle", WrapperNamespace = "http://xmlelement-namespace/", IsWrapped = true)]
public class MessageContractRequestRpcStyle
{
[System.ServiceModel.MessageBodyMembe... | 1.781049 | 61a03a554572347b851ad3727a755419 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840485 | {
"extension": "c-sharp",
"max_stars_count": "830.0",
"max_stars_repo_name": "jkoh2020/eShopModernizing",
"max_stars_repo_path": "eShopLegacyMVCSolution/eShopPorted/Models/Config/CatalogBrandConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159705"
} | starcoder | using eShopPorted.Models.Infrastructure;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace eShopPorted.Models.Config
{
public class CatalogBrandConfig : IEntityTypeConfiguration<CatalogBrand>
{
public void Configure(EntityTypeBuilder<CatalogBrand> bu... | 2.320599 | 15b95cfcc99e562b6b44e2a2b2919a33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840486 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "larkinlheintzman/GooCombat",
"max_stars_repo_path": "Assets/Scripts/OrbKiller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159706"
} | starcoder | <filename>Assets/Scripts/OrbKiller.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OrbKiller : OrbBehavior
{
public void Update()
{
if (!init) return;
if (orb.life <= 0.0f)
{
orb.life = 0.0f;
// goodbye cruel world
// wait need to remove... | 2.273908 | 93dbf38412f7367b07408a5ec2816b50 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840487 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tiksn/TIKSN-Exchange",
"max_stars_repo_path": "TIKSN.Exchange/LoggingSetup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159707"
} | starcoder | using TIKSN.Analytics.Logging;
namespace TIKSN.Exchange
{
public class LoggingSetup : LoggingSetupBase
{
public LoggingSetup()
{
}
}
} | 0.996411 | 2852b32169f8db84742e479f8f467be9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840488 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "reazhaq/DynamicRule",
"max_stars_repo_path": "src/RuleFactory.Tests/RulesFactory/MethodCallRulesFactoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159708"
} | starcoder | using System;
using System.Collections.Generic;
using FluentAssertions;
using ModelForUnitTests;
using RuleEngine.Rules;
using RuleFactory.RulesFactory;
using RuleFactory.Tests.Fixture;
using Xunit;
using Xunit.Abstractions;
namespace RuleFactory.Tests.RulesFactory
{
public class MethodCallRulesFactoryTests: ICla... | 2.880217 | 2fb200c4fc1c27b3fd1c9aa7078a78e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840489 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kk4fun/NetCoreAPISandbox",
"max_stars_repo_path": "src/NetCoreApiSandbox/Migrations/20200430143339_InitialMigration.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159709"
} | starcoder | <gh_stars>1-10
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using NetCoreApiSandbox.Infrastructure;
namespace NetCoreApiSandbox.M... | 1.838907 | dba6a570d2122f6dbf815880946c7a41 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840490 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "effacestudios/rivescript-csharp",
"max_stars_repo_path": "RiveScript/Session/ThawAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159710"
} | starcoder | <reponame>effacestudios/rivescript-csharp<filename>RiveScript/Session/ThawAction.cs
namespace RiveScript.Session
{
/// <summary>
/// Specifies options for thawing the user's variables
/// </summary>
public enum ThawAction
{
/// <summary>
/// Restore the variables and delete the froz... | 2.65154 | c71fb7b7cc5b30b7c17b8b2bb671644e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840491 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "gerfen/vc-community-master",
"max_stars_repo_path": "STOREFRONT/VirtoCommerce.LiquidThemeEngine/Converters/SearchConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159711"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DotLiquid;
using PagedList;
using VirtoCommerce.LiquidThemeEngine.Objects;
using VirtoCommerce.Storefront.Model.Common;
namespace VirtoCommerce.LiquidThemeEngine.Converters
{
public static cla... | 2.374393 | 79c5d2934ab9c571dae0bd61743cf15b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840492 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jkszu/KinoImip",
"max_stars_repo_path": "KinoImip/KinoImipLibrary/Model/DaneOsobowe.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159712"
} | starcoder | using KinoImipLibrary.Interfaces;
namespace KinoImipLibrary.Model
{
public class DaneOsobowe : IDaneOsobowe
{
public DaneOsobowe(string imie, string nazwisko, int konto)
{
Imie = imie;
Nazwisko = nazwisko;
Konto = konto;
}
public string Imie... | 2.238674 | ba3f99d53afe200817e4f4d93de663d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840493 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "djreisch/SteamShutdown",
"max_stars_repo_path": "SteamShutdown.Tests/UnitTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159713"
} | starcoder | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace SteamShutdown.Tests
{
[TestClass]
public class UnitTest
{
[TestMethod]
public void AppInfoTests()
{
AppInfo ai = Steam.FileToAppInfo(AppDomain.CurrentDomain.BaseDirectory + @"\..\..\..\..\TestFi... | 2.235086 | c458a27a07ba03742c8bcb12805a0815 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840494 | {
"extension": "c-sharp",
"max_stars_count": "1142.0",
"max_stars_repo_name": "qhdwight/silk-net",
"max_stars_repo_path": "src/OpenGL/Silk.NET.OpenGL/Enums/SemaphoreParameterName.gen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159714"
} | starcoder | <filename>src/OpenGL/Silk.NET.OpenGL/Enums/SemaphoreParameterName.gen.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Silk.NET.Core.Attributes;
#pragma warning disable 1591
namespace Silk.NET.OpenGL
{
... | 1.78071 | fc5c97855a4c701c1379790071e1e04c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840495 | {
"extension": "c-sharp",
"max_stars_count": "153.0",
"max_stars_repo_name": "Innotechugb/Clothing-System-3D",
"max_stars_repo_path": "Unity Project/Assets/Clothing System 3D/Editor/BodyStructureWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159715"
} | starcoder | <gh_stars>100-1000
using UnityEngine;
using UnityEditor;
using System.Collections.Generic;
namespace ClothingSystem3D {
public class BodyStructureWindow : EditorWindow {
public static BodyStructureWindow instance;
int tabSelected = 0;
int recordSelected = 0;
int bodyTypeSelected = 0;
int flagEdit = 0; /... | 2.28877 | 4c026629f55af8f11534a83d309f575a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840496 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mysteryjeans/CrystalMapper",
"max_stars_repo_path": "CrystalMapper/Lang/SqliteLang.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159716"
} | starcoder | <filename>CrystalMapper/Lang/SqliteLang.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CrystalMapper.Lang
{
// Overrides SQL language operators for SQLite
internal class SqliteLang : SqlLang
{
public override SqlLangType SqlL... | 2.515928 | f60a77851bbaed5b69ec4ae38b6197ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840497 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fatihyildizhan/projects-before-2010",
"max_stars_repo_path": "FyDoxaAddDrop/FyDoxaAddDrop/Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159717"
} | starcoder | <reponame>fatihyildizhan/projects-before-2010
namespace FyDoxaAddDrop
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being ... | 1.855589 | d042f360ead3fa9635edaa27ba5aa13f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840498 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chengyimingvb/CYMUni",
"max_stars_repo_path": "Plugins/_CYM/_Base/Manager/Unit/BaseProjectorMgr.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159718"
} | starcoder | <filename>Plugins/_CYM/_Base/Manager/Unit/BaseProjectorMgr.cs<gh_stars>1-10
//**********************************************
// Class Name : CYMBaseSurfaceManager
// Discription :None
// Author :CYM
// Team :MoBaGame
// Date :#DATE#
// Copyright ©1995 [CYMCmmon] Powered By [CYM] Version 1.0.0
//********************... | 1.723125 | 6bd0181765f329f670c2829727092141 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840499 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ekzyis/CrypTool-2",
"max_stars_repo_path": "CrypPlugins/VIC/Properties/Resources.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159719"
} | 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.219805 | 36f3e50e7ada7d9cd9b47794f1cab258 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840500 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ivandrofly/corefx",
"max_stars_repo_path": "src/System.ComponentModel.TypeConverter/tests/BindingListTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159720"
} | starcoder | <filename>src/System.ComponentModel.TypeConverter/tests/BindingListTests.cs
// Licensed to the .NET Foundation under one or more agreements.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.ComponentModel.Tests
{
public class Bindin... | 2.326182 | 41a2d3a3a73e87e9e6541cf468eb1a81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840501 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "woshisunzewei/EasyCaching",
"max_stars_repo_path": "src/EasyCaching.Core/IEasyCachingSubscriber.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159721"
} | starcoder | namespace EasyCaching.Core
{
using System.Threading.Tasks;
/// <summary>
/// EasyCaching subscriber.
/// </summary>
public interface IEasyCachingSubscriber
{
/// <summary>
/// Subscribe the specified channel with notifyType.
/// </summary>
/// <param name="c... | 2.664186 | 18cd1c3feeb416750651decb9925d8fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840502 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "zpublic/cozy",
"max_stars_repo_path": "src/Practice/CozyPixel/Forms/ColorSelectForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159722"
} | starcoder | using CozyPixel.Controls.Other;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using CozyPixel.Tools;
using MetroFramework.Forms;
namespace CozyPixel.F... | 2.392328 | 1917edecf77a8f8e4043caf4a72d777e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840503 | {
"extension": "c-sharp",
"max_stars_count": "196.0",
"max_stars_repo_name": "mfoitzik/cloudscribe.SimpleContent",
"max_stars_repo_path": "src/cloudscribe.SimpleContent.Storage.EFCore.pgsql/StorageInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159723"
} | starcoder | using cloudscribe.SimpleContent.Models;
namespace cloudscribe.SimpleContent.Storage.EFCore.pgsql
{
public class StorageInfo : IStorageInfo
{
public string StoragePlatform { get { return "Entity Framework with PostgreSql"; } }
}
}
| 1.678336 | 519f7aa78d393c35cfdba78db192dbaf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840504 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ncabanes/manicMiner-taoSdl",
"max_stars_repo_path": "source/ManicMiner/Level15.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159724"
} | starcoder | /*
Level15: Map of tiles for the Level 15 / 20
Part of Manic Miner Remake
@see Game Level Map
Nacho, 2011 & 2017
Versions:
Num. Date Changes
---- ----------- --------------------------------
0.20 20-Ago-2017 Almost identical to 0.15, but translated to English
*/
public class Level15 : Level
{
... | 2.583547 | 76e2f7c7a900d7f1c0ac86172d716024 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840505 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "IainS1986/NotWormsTerrain",
"max_stars_repo_path": "Assets/Scripts/Debug/DebugControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159725"
} | starcoder | <reponame>IainS1986/NotWormsTerrain
using UnityEngine;
using System.Collections;
namespace Terrain.Debugging
{
/// <summary>
/// Debug class that pans the camera with RMB click and drag
/// and zooms in and out with the mouse wheel.
///
/// There is also (mostly untested) iOS and Android touch con... | 2.707031 | 335b9b8aad7eed2119b1f7db55f710e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840506 | {
"extension": "c-sharp",
"max_stars_count": "249.0",
"max_stars_repo_name": "rgwood/go2cs",
"max_stars_repo_path": "src/go-src-converted/go/internal/gccgoimporter/ar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159726"
} | starcoder | // Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// package gccgoimporter -- go2cs converted at 2020 October 09 06:02:40 UTC
// import "go/internal/gccgoimporter" ==> using gccgoimporter = go.go.@internal.gccg... | 1.718036 | 5f828d093a65cdafe8ffd6ca506968fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840507 | {
"extension": "c-sharp",
"max_stars_count": "81.0",
"max_stars_repo_name": "anderssonjohan/PerfTap",
"max_stars_repo_path": "src/PerfTap/Counter/CounterPathBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159727"
} | starcoder | <filename>src/PerfTap/Counter/CounterPathBuilder.cs
namespace PerfTap.Counter
{
using System;
using System.Collections.Generic;
using System.Linq;
public static class CounterPathBuilder
{
public static List<string> PrefixWithComputerNames(this IEnumerable<string> counterNames, IEnumerable<string> comput... | 3.287868 | a7ae0c8e5610aefa0b73b8048e976e74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840508 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tjanczuk/kudu",
"max_stars_repo_path": "Kudu.Services/GitServer/ReceivePackHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159728"
} | starcoder | <gh_stars>1-10
using System.IO;
using System.IO.Compression;
using System.Web;
using Kudu.Contracts.Infrastructure;
using Kudu.Contracts.Tracing;
using Kudu.Core.SourceControl.Git;
using Kudu.Services.Infrastructure;
namespace Kudu.Services.GitServer
{
public class ReceivePackHandler : IHttpHandler
{
... | 1.910952 | a0a31e30451cf462396752034347c91b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840509 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "lvermeulen/PullingHook",
"max_stars_repo_path": "src/PullingHook.Fluent/PullingHook.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159729"
} | starcoder | <reponame>lvermeulen/PullingHook
using System;
using System.Collections.Generic;
using Dispenser;
namespace PullingHook.Fluent
{
public static class PullingHook<T, TKeyProperty>
{
public static PullingHookWithKeyPropertySelector<T, TKeyProperty> WithKeyProperty(Func<T, TKeyProperty> keyPropert... | 2.419973 | 2972b6d066bd286c41ef50b189f08ea9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840510 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Seemba-Gaming/unity-sdk",
"max_stars_repo_path": "Seemba/Scripts/Controller/Controllers/SignupController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159730"
} | starcoder | <reponame>Seemba-Gaming/unity-sdk<gh_stars>1-10
using SimpleJSON;
using System;
using UnityEngine;
using UnityEngine.UI;
namespace SeembaSDK
{
[CLSCompliant(false)]
public class SignupController : MonoBehaviour
{
// Start is called before the first frame update
public static SignupControll... | 1.941952 | 5d01eca3b5af1d175309b3a582eca247 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8840511 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "jimmynguyen/codefights",
"max_stars_repo_path": "challenges/percentageGreen/c#/PercentageGreen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:159731"
} | starcoder | using System;
using System.Diagnostics;
class PercentageGreen {
static void Main() {
int[] input0 = new int[] {2, 4};
int[] input1 = new int[] {5, 5};
int[] expectedOutput = new int[] {40, 80};
Assert(input0.Length == expectedOutput.Length, String.Format("# input0 = {0}, # expectedOutput = {1}", input0.Length... | 3.406569 | 815e44aa4de0a3c803a891270f6da371 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.