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 | 8841712 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HolAutisme/PopBalloons-V2",
"max_stars_repo_path": "Assets/Actimage.PopBalloons/Scripts/Old Scripts/BalloonDataRegistrer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160932"
} | starcoder | using PopBalloons.Utilities;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace PopBalloons.Data
{
public class BalloonDataRegistrer : MonoBehaviour
{
BalloonDatas currentBalloonData;
// Use this for initialization
void Start()
... | 2.224787 | ce5e7a06f28ac6f8845ba4cb7851a9f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841713 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "freewheel70/docfx",
"max_stars_repo_path": "src/docfx/lib/schema/JsonSchemaConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160933"
} | starcoder | <reponame>freewheel70/docfx
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Newtonsoft.Json;
namespace Microsoft.Docs.Build;
internal class JsonSchemaConverter : JsonConverter
{
public override bool CanCo... | 2.095894 | c207b817cd3771f3d02dce809b5b0d3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841714 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/commands/src/models/CmdOptionSpecsK.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160934"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using static Root;
... | 1.781494 | 913b136d7b6f6cd15e39ed8ee4aa028e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841715 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "atc-net/atc-wpf",
"max_stars_repo_path": "src/Atc.Wpf/ValueConverters/ObjectNotNullToVisibilityVisibleValueConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160935"
} | starcoder | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace Atc.Wpf.ValueConverters
{
/// <summary>
/// ValueConverter: Object NotNull To Visibility-Visible.
/// </summary>
[ValueConversion(typeof(object), typeof(Visibility))]
public class ObjectNotNullToVis... | 2.723093 | aced3b32b625b36872a95c5a9d19e1a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841716 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "darrenferguson/umbracospark-functions",
"max_stars_repo_path": "Moriyama.UmbracoSpark/Code/Components/NotifyPublishToServiceBusComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160936"
} | starcoder | <filename>Moriyama.UmbracoSpark/Code/Components/NotifyPublishToServiceBusComponent.cs
using Moriyama.UmbracoSpark.Code.Interfaces;
using Umbraco.Core.Composing;
using Umbraco.Core.Events;
using Umbraco.Core.Models;
using Umbraco.Core.Services;
using Umbraco.Core.Services.Implement;
namespace Moriyama.UmbracoSpark.Cod... | 2.299537 | c7b426014fb71d7e3f339d550ff7f05e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841717 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marinakolova/SoftUni-CSharp-Courses",
"max_stars_repo_path": "Entity-Framework-Core-October-2019/05-EntityRelations/FootballBetting/P03_FootballBetting.Data/Configuration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160937"
} | starcoder | namespace P03_FootballBetting.Data
{
public static class Configuration
{
public const string ConnectionString =
@"Server=LAPTOP-DTGPHD2G\SQLEXPRESS;Database=FootballBetting;Integrated Security=True";
}
}
| 1.701454 | b77a5821217813f3edebfa173f5ffd0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841718 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pudds/JsonApi.Net",
"max_stars_repo_path": "src/mdryden.JsonApi/ApiResponseResourceExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160938"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace mdryden.JsonApi
{
public static class ApiResponseResourceExtensions
{
private static T GetAttributesAs<T>(object attributes)
{
if (attributes == null)
{
re... | 2.995355 | 76c3d411b1b120c74592b0c9b57cb459 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841719 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nullforce-public/Nullforce.Api.Derpibooru",
"max_stars_repo_path": "tests/Nullforce.Api.Derpibooru.Tests/TestConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160939"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nullforce.Api.Derpibooru.Tests
{
public static class TestConstants
{
public const string Category = "Category";
public const string DerpibooruCall = "DerpibooruCall";
... | 1.3546 | a5ad6313db40fc54df76ceb010f930c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841720 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "tdewin/cbtquery",
"max_stars_repo_path": "cbtquery/CBTQChangedBlock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160940"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace cbtquery
{
public class CBTQChangedBlock
{
public CBTQChangedBlock(long offset, long length, long fiximpact)
{
this.offset = offset;
this.length... | 1.949963 | 7b8c4c219fd64140ae7ebd79f54f42cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841721 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mtaulty/LifeCycleApp",
"max_stars_repo_path": "App52/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160941"
} | starcoder | namespace App52
{
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
sealed partial class App : Application
{
public App()
{
this.InitializeComponent();
this.LeavingBackground += OnLeftBackground;
this... | 2.204783 | 8c3e2035d8944048d0bdff882629adaa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841722 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fetonecontrol/WebApp",
"max_stars_repo_path": "WebApp/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:160942"
} | starcoder | <gh_stars>0
<h1>Checkout This super sweet web app!</h1>
<h3><a href='/vendor'>View Vendors</a></h3>
<h3><a href='/vendor/new'>Add a new Vendor</a></h3> | 1.345864 | 62cb54a5bc081749ab0f5a3df6fdfa58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841723 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "oncemi/OnceMi.Framework",
"max_stars_repo_path": "src/OnceMi.Framework.Model/Dto/Response/Admin/Job/JobItemResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160943"
} | starcoder | <reponame>oncemi/OnceMi.Framework
using OnceMi.Framework.Entity.Admin;
using OnceMi.Framework.Model.Attributes;
using OnceMi.Framework.Util.Extensions;
using OnceMi.Framework.Util.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using Sys... | 1.715212 | 7ae5740118e72ff3f44b4c5b93f0d44c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841724 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kamilRepo/Workflow-App-Based-On-DDD",
"max_stars_repo_path": "1. Base/Workflow.Base.Interface/Domain/Dictionaries/EntityStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160944"
} | starcoder | namespace Workflow.Base.Interface.Domain.Dictionaries
{
public enum EntityStatus
{
Active,
Archived,
Removed
}
} | 1.316014 | a713d148e22ed09cfea09d4f6b827d0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841725 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rubilnik4/VeraBoutique",
"max_stars_repo_path": "BoutiqueCommonXUnit/Extensions/CollectionExtensions/CollectionCompareExtensionsTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160945"
} | starcoder | using System.Collections.Generic;
using BoutiqueCommon.Extensions.CollectionExtensions;
using Xunit;
namespace BoutiqueCommonXUnit.Extensions.CollectionExtensions
{
/// <summary>
/// Сравнение двух коллекций. Тесты
/// </summary>
public class CollectionCompareExtensionsTest
{
/// <summary>... | 3.329211 | d41a35b999fa302308dc89ff6454c12f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841726 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "seanmcelroy/moo",
"max_stars_repo_path": "moo.common/Scripting/ForthPrimatives/SysTimePrecise.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160946"
} | starcoder | <filename>moo.common/Scripting/ForthPrimatives/SysTimePrecise.cs
using System;
namespace moo.common.Scripting.ForthPrimatives
{
public static class SysTimePrecise
{
public static ForthPrimativeResult Execute(ForthPrimativeParameters parameters)
{
/*
SYSTIME_PRECISE ( -- ... | 2.830581 | de6c4c275ab86a5cb85e7a816a73cdd6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841727 | {
"extension": "c-sharp",
"max_stars_count": "249.0",
"max_stars_repo_name": "rgwood/go2cs",
"max_stars_repo_path": "src/go-src-converted/cmd/oldlink/internal/loader/loader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160947"
} | starcoder | // Copyright 2019 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 loader -- go2cs converted at 2020 October 09 05:51:31 UTC
// import "cmd/oldlink/internal/loader" ==> using loader = go.cmd.oldlink.@internal.loader_... | 1.593358 | e9babdb4e03e774170207f7dc83570d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841728 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hyphena/Advent-of-Code-2015",
"max_stars_repo_path": "Challenges/Day 1/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160948"
} | starcoder | <filename>Challenges/Day 1/Program.cs
using System;
using System.IO;
namespace Day_1
{
class Program
{
static void Main(string[] args)
{
string input = GetInput();
ASide(input);
BSide(input);
}
static void ASide(string input)
... | 3.840851 | 72141837ecc644b7fed218115d47d3e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841729 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "glopesdev/expressionscript",
"max_stars_repo_path": "ExpressionScript/Input.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160949"
} | starcoder | <filename>ExpressionScript/Input.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExpressionScript
{
public class Input<TState> : IEquatable<Input<TState>>, IEnumerable<char>
{
readonly string source;
re... | 3.170698 | 02a915685edce5ac7e2f17d0ac3c39a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841730 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Molot999/PasswordDefender",
"max_stars_repo_path": "PasswordDefender/MainViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160950"
} | starcoder | <filename>PasswordDefender/MainViewModel.cs<gh_stars>0
using PasswordDefender.Commands;
using PasswordDefender.Model;
using System;
using System.IO;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace PasswordDefender
{
public class MainViewModel : I... | 2.6946 | 76b4d8d850bb38c0b93741a0a2722e7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841731 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "truthiswill/OctopusClients",
"max_stars_repo_path": "source/Octopus.Client/Repositories/Async/OctopusServerNodeRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160951"
} | starcoder | <reponame>truthiswill/OctopusClients
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Octopus.Client.Model;
namespace Octopus.Client.Repositories.Async
{
public interface IOctopusServerNodeRepository : IModify<OctopusServerNodeResource>, IDelete<OctopusServerNodeResource>, IGet<O... | 2.158885 | c81d6c6e318f82ef4cab687daea8cbfb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841732 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "imastio/shoc",
"max_stars_repo_path": "Shoc.ApiCore/CorsExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160952"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
namespace Shoc.ApiCore
{
/// <summary>
/// The CORS extensions
/// </summary>
public static class CorsExtensions
{
/// <summary>
/// Adds cors policy to the system
/// </summary>
/// <param name="services">The services... | 2.732926 | c8f3a9cdfa32b64b1daf3b8f5fde8373 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841733 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sharemee/Dicom",
"max_stars_repo_path": "ClearCanvas.Dicom/Iod/FunctionalGroups/FrameAnatomyFunctionalGroup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160953"
} | starcoder | #region License
// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the terms of the ... | 2.231909 | 8d933ddd6a8585537a4246a902c3a0bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841734 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wzzwzz687510/CautiousHero",
"max_stars_repo_path": "Assets/CautiousHero/Scripts/Scriptable/Skills/MoveAttackSkill.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160954"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Wing.RPGSystem
{
[CreateAssetMenu(fileName = "Skill", menuName = "Wing/Scriptable Skills/MoveAttackSkill", order = 11)]
public class MoveAttackSkill : BasicAttackSkill
{
public bool isInstanceMovement;
... | 2.136352 | e6d11f574c20928a3ebd762e2cdebefb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841735 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SavourySnaX/Humphrey",
"max_stars_repo_path": "Humphrey.Compiler/src/FrontEnd/AST/AstForStatement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160955"
} | starcoder | using System.Text;
using Humphrey.Backend;
using LLVMSharp.Interop;
namespace Humphrey.FrontEnd
{
public class AstForStatement : IStatement
{
AstLoadableIdentifier[] identifiers;
AstRange[] rangeList;
AstCodeBlock loopBlock;
public AstForStatement(AstLoadableIdentifier[] identLi... | 2.5182 | fdc5d24bd7de73f97424be4398322c64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841736 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "UncraftedName/UncraftedDemoParser",
"max_stars_repo_path": "DemoParser/src/Parser/Components/Packets/CustomDataTypes/UnknownCustomDataMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160956"
} | starcoder | using System;
using DemoParser.Parser.Components.Abstract;
using DemoParser.Utils;
using DemoParser.Utils.BitStreams;
namespace DemoParser.Parser.Components.Packets.CustomDataTypes {
public class UnknownCustomDataMessage : CustomDataMessage {
public UnknownCustomDataMessage(SourceDemo? demoRef) : base(demoRef) {... | 2.366071 | ff761e98f723f1baa2effcf5d1f6ebf3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841737 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Blaz57/MongoDb_Test",
"max_stars_repo_path": "TestMongo/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160957"
} | starcoder | <reponame>Blaz57/MongoDb_Test
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Import de l'espace de nom MongoDB
using MongoDB.Driver;
namespace TestMongo
{
class Program
{
static Person staticPerson = new Person()
{
... | 3.484549 | 47c312186db0279200e26473e4c67715 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841738 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "elcorbs/academy-resident-information-api",
"max_stars_repo_path": "AcademyResidentInformationApi/V1/UseCase/GetTaxPayerByIdUseCase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160958"
} | starcoder | using AcademyResidentInformationApi.V1.Boundary.Responses;
using AcademyResidentInformationApi.V1.Domain;
using AcademyResidentInformationApi.V1.Factories;
using AcademyResidentInformationApi.V1.Gateways;
namespace AcademyResidentInformationApi.V1.UseCase
{
public class GetTaxPayerByIdUseCase : IGetTaxPayerByIdUse... | 2.204187 | 5dc027724a7de27733a89693143c8acc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841739 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dxworks/inspector-git-scriptbee-plugin",
"max_stars_repo_path": "Dxworks.ScriptBee.Plugins.InspectorGit/Model/ChangeType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160959"
} | starcoder | namespace Dxworks.ScriptBee.Plugins.InspectorGit.Model
{
public enum ChangeType
{
Add,
Delete,
Rename,
Modify
}
} | 1.33628 | 2e70221dff65e4fd7aafc247e290068b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841740 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "editor-tools/ReactiveUI",
"max_stars_repo_path": "integrationtests/IntegrationTests.WPF/UserControlExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160960"
} | starcoder | using MahApps.Metro.Controls;
using MahApps.Metro.Controls.Dialogs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Threading.Tasks;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
namespace IntegrationTests.WPF
{
publi... | 2.292463 | 3e0b989334fe6e9c2d8473c5bf06a9dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841741 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sirphilliptubell/GoToIt",
"max_stars_repo_path": "GoToIt/Extensions/IEnumerableExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160961"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GoToIt.Extensions
{
internal static class IEnumerableExtensions
{
/// <summary>
/// Tries to get the index of the first item that matches the specified predicate.
... | 3.540854 | 4677b8a8beb8df613f9aea093cb48773 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841742 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abaffa/CSharpGridPomdp",
"max_stars_repo_path": "PlannerEnvironment/MathModels/FinancialLibrary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160962"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TraderWhatever.Business;
namespace Baffa.MathModels
{
public class FinancialLibrary
{
/**
* returns the simple moving average.
*
* @param period
* @param candles
* @param... | 2.894176 | fba4e0e15a27ae05e452a340bb776c6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841743 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nia-flo/HotelReservationsManager",
"max_stars_repo_path": "HotelReservationsManager/HotelReservationsManager/Areas/Identity/Pages/Account/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:160963"
} | starcoder | @using HotelReservationsManager.Areas.Identity.Pages.Account | 1.080787 | f1cfbef6f57a27fc8dde77a95be36f12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841744 | {
"extension": "c-sharp",
"max_stars_count": "1298.0",
"max_stars_repo_name": "deisner/helix-toolkit",
"max_stars_repo_path": "Source/HelixToolkit.Wpf.Shared/Controls/Stereo/WiggleView3D.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160964"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="WiggleView3D.xaml.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// <summary>
// A stereoscopic wiggle control.
// </summary>
//... | 2.441907 | b6e075c08b963db528bd73b562ba5563 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841745 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hjoykim/THREE",
"max_stars_repo_path": "THREE/Shaders/DotScreenShader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160965"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using THREE.Materials;
using THREE.Math;
using THREE.Renderers.gl;
namespace THREE.Shaders
{
public class DotScreenShader : ShaderMaterial
{
public DotScreenShader()
{
... | 2.609965 | 7d9c1c43117d5ea1e6e57c9c5ef36b0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841746 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Evgeniy-Batov/HelloWorldSite",
"max_stars_repo_path": "Modules/Orchard.Roles/ImportExport/RolesRecipeHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160966"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using Orchard.Data;
using Orchard.Localization;
using Orchard.Logging;
using Orchard.Recipes.Models;
using Orchard.Recipes.Services;
using Orchard.Roles.Models;
using Orchard.Roles.Services;
namespace Orchard.Roles.ImportExport {
pu... | 2.142904 | 2f4eb8e9d9939184c04826365f35bf19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841747 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rickhodder/GreedKata",
"max_stars_repo_path": "Strategies/TripleFourScoreCalculationStrategy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160967"
} | starcoder | <reponame>rickhodder/GreedKata<gh_stars>0
namespace GreedKata.Strategies
{
public class TripleFourScoreCalculationStrategy : NthDieScoreCalculationStrategy
{
public TripleFourScoreCalculationStrategy() : base(die: 4, countOfDie: 3, scoreValue: 400) { }
}
} | 1.969455 | 8d2c5f7c3e9d42fbf76fa862210033c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841748 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cazzar/VocaDbTagger",
"max_stars_repo_path": "VocaDbModel/DataContracts/CommentForApiContract.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160968"
} | starcoder | <reponame>cazzar/VocaDbTagger<filename>VocaDbModel/DataContracts/CommentForApiContract.cs<gh_stars>1-10
using System;
using System.Runtime.Serialization;
using VocaDb.Model.DataContracts.Users;
using VocaDb.Model.Domain;
namespace VocaDb.Model.DataContracts {
[DataContract]
public class CommentForApiContract : ICo... | 2.465593 | 508714e891e97a43056f28f1817bf2d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841749 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "spiegelp/Poco.Evolved",
"max_stars_repo_path": "Poco.Evolved.Core/Transactions/UnitOfWork.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160969"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Poco.Evolved.Core.Transactions
{
/// <summary>
/// Base class for an unit of work to abstract a transaction.
/// </summary>
/// <typeparam name="T">The specific type of the abstracted transaction needed by the API of the data... | 3.050908 | 24fca52ca5d993dbf0e499e0ad7a7300 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841750 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/runtime",
"max_stars_repo_path": "src/libraries/System.Runtime.Extensions/tests/System/Math.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160970"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Xunit;
using Xunit.Sdk;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
#pragma warning disable xUnit1025 // reporting duplicate test cases due to not... | 2.299146 | 4d36d1a421419c69fcdd29b07431a7bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841751 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Ivan-Vankov/GameDevCourse",
"max_stars_repo_path": "Kamen/Coding Practice/Assets/Scripts/AmmoTracker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160971"
} | starcoder | <gh_stars>10-100
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AmmoTracker : NumberTracker
{
public GameObject ammoCarrier;
private void OnEnable() {
ammoCarrier.GetComponent<Ammo>().onAmmoChanged+=onChangedValue;
}
private void OnDis... | 1.835591 | 8fabd2a656a2d64e169c6d621c504004 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841752 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cool8868/Soccer-King",
"max_stars_repo_path": "ServerProject/SoccerKing/SoccerKing/Models/Randomstory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160972"
} | starcoder | using System;
using System.Collections.Generic;
namespace SoccerKing.Models
{
public partial class Randomstory
{
public int Id { get; set; }
public string Line { get; set; }
public string Op1 { get; set; }
public string Op2 { get; set; }
public sbyte Pro1 { get; set; }
... | 1.878586 | a3450e25ebed118413052634648f83b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841753 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "a-patel/azure-app-configuration-labs",
"max_stars_repo_path": "src/AzureAppConfigurationLabs.Web/Models/FeatureFlags.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160973"
} | starcoder | namespace AzureAppConfigurationLabs.Demo.Models
{
public enum FeatureFlags
{
Beta,
GA
}
}
| 1.244482 | fef006819c1da707b20a53e5cf1dab03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841754 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "digitpmedia/XFS.Net",
"max_stars_repo_path": "src/Common/XFSEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160974"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace XFSNet.Common
{
public class XFSEventArgs:EventArgs
{
public int RequestID { get; protected set; }
public int ServiceID { get; protected set; }
public int CommandCodeOrEventID { get; protect... | 1.690081 | fd57bfd00ada6443b020eef6e958b199 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841755 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shukriadams/tetrifact",
"max_stars_repo_path": "src/Tetrifact.Web/Core/Pager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160975"
} | starcoder | <reponame>shukriadams/tetrifact<gh_stars>0
using System.Text;
using Tetrifact.Core;
namespace Tetrifact.Web
{
/// <summary>
/// Renders pager control as text, this must be emitted into Razor views.
/// </summary>
public class Pager
{
#region PROPERTIES
/// <summary>
///
... | 2.747237 | 4484d50f83ce9eb35e793b3cd11c9a81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841756 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tsingbo-Kooboo/Kooboo.CMS.Content.Persistence",
"max_stars_repo_path": "src/Kooboo.CMS.Content.Persistence.QiniuKodo/Extensions/MediaFolderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160976"
} | starcoder | <filename>src/Kooboo.CMS.Content.Persistence.QiniuKodo/Extensions/MediaFolderExtensions.cs
using Kooboo.CMS.Content.Models;
using Kooboo.CMS.Content.Persistence.QiniuKodo.Utilities;
using Kooboo.Web.Url;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;... | 2.067938 | 2ddc11f720a5ccfb10b545d322ffc0c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841757 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "enbock/itbock.de",
"max_stars_repo_path": "Unity/Assets/Scripts/Core/Weather/Data/Wind.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160977"
} | starcoder | namespace Core.Weather.Data
{
[System.Serializable]
public class Wind
{
public double Speed;
public int direction;
public double Temperature;
}
} | 1.959423 | 6e5311b905521d754a9a4e4c6e17e821 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841758 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "GDATASoftwareAG/motornet",
"max_stars_repo_path": "examples/ConsumeAndMultiOutputPublisherWithRabbitMQ/MultiOutputService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160978"
} | starcoder | <filename>examples/ConsumeAndMultiOutputPublisherWithRabbitMQ/MultiOutputService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using ConsumeAndMultiOutputPublisherWithRabbitMQ.Model;
using Motor.Extensio... | 2.695844 | bc1b406878566493c1e09fac7588a01c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841759 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "GlassToeStudio/Standalone-Android-Sdk-Manager",
"max_stars_repo_path": "SdkManager.UI/Views/ItemViews/SdkPlatforms/SdkPlatformItemView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160979"
} | starcoder | using System.Windows;
using System.Windows.Controls;
namespace SdkManager.UI
{
public partial class SdkPlatformItemView : UserControl
{
public SdkPlatformItemView()
{
InitializeComponent();
}
private void PackageNameHeader_Checked(object sender, RoutedEventArgs e)
... | 1.363619 | b0b9a981ecf2ccc2a7c4d07ff049e630 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841760 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BeanLiu1994/njutv_v2.3",
"max_stars_repo_path": "njuTV_win10/Player.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160980"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Core;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
using Wind... | 1.766029 | f86489ddab6909acf49836e62345a5ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841761 | {
"extension": "c-sharp",
"max_stars_count": "173.0",
"max_stars_repo_name": "astegi-dev/LicenseHeaderManager",
"max_stars_repo_path": "LicenseHeaderManager.Console/Options.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160981"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using CommandLine;
using CommandLine.Text;
namespace LicenseHeaderManager.Console
{
public class Options
{
// ReSharper disable once MemberCanBePrivate.Global
public Options (UpdateMode... | 2.56813 | 0a08d217bdf466d7708c97ce8895c64c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841762 | {
"extension": "c-sharp",
"max_stars_count": "288.0",
"max_stars_repo_name": "syberside/CMS",
"max_stars_repo_path": "Kooboo.CMS/Kooboo.CMS.Sites/Controllers/ActionFilters/SiteOfflinedFilterAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160982"
} | starcoder | <gh_stars>100-1000
#region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using Kooboo.CMS.Sites.Models;
using Kooboo.CMS.Sites.Web;
using Kooboo.Globalization;
using Kooboo.Web.Url;
using System;
using System.Collections.Gen... | 1.761575 | 0bbfab1096a5f449d86a4b63790f5e1a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841763 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "KOREAN139/simulator",
"max_stars_repo_path": "Assets/Scripts/ScenarioEditor/Undo/Records/UndoMoveElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160983"
} | starcoder | /**
* Copyright (c) 2020 LG Electronics, Inc.
*
* This software contains code licensed as described in LICENSE.
*
*/
namespace Simulator.ScenarioEditor.Undo.Records
{
using Elements;
using Managers;
using UnityEngine;
/// <summary>
/// Record that undoes moving scenario element on the map
... | 2.228108 | 289bed612d8f5019b1a61548be8ac0e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841764 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DivanVanZyl/AnemicDomainModel",
"max_stars_repo_path": "Before/src/Logic/Mappings/MovieMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160984"
} | starcoder | using FluentNHibernate.Mapping;
using Logic.Entities;
namespace Logic.Mappings
{
public class MovieMap : ClassMap<Movie>
{
public MovieMap()
{
Id(x => x.Id);
DiscriminateSubClassesOnColumn("licensingModel");
Map(x => x.Name);
Map(Reveal.Member<... | 2.79563 | b97ac3fc5bb3123f2d340b7b078c8228 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841765 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ephemerality/ion-dotnet",
"max_stars_repo_path": "Amazon.IonDotnet/Tree/Impl/IonValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160985"
} | starcoder | /*
* Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* o... | 2.014625 | 8d19deb4f7102464bc8dfedbbc17b084 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841766 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VProfirov/Telerik-Academy-BetaRun",
"max_stars_repo_path": "Module 1/[01] CSharp/C# Fundamentals/[07]Arrays[lecture-10]/15.SieveOfEratosthenes/SieveOfEratosthenes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160986"
} | starcoder | <reponame>VProfirov/Telerik-Academy-BetaRun
/* Write a program that finds
*
* all prime numbers
* in the range [1...10 000 000].
*
* Use the sieve
* of Eratosthenes algorithm (find it in Wikipedia).
*/
namespace SieveOfEratosthenes
{
using System;
public class SieveOfEratosthenes
{
publ... | 3.160417 | ca0639c5f5579f9100f3b20891d18028 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841767 | {
"extension": "c-sharp",
"max_stars_count": "1430.0",
"max_stars_repo_name": "nko3/AtomOS",
"max_stars_repo_path": "src/Kernel/Kernel_alpha/FileSystem/VFS/Entry/Directory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160987"
} | starcoder | using System;
using System.Collections.Generic;
namespace Kernel_alpha.FileSystem.VFS.Entry
{
public class Directory : Base
{
public Directory(string xName)
: base(xName)
{ }
}
}
| 1.765442 | 8a13784e3fa0f9887dc1d66bc9299de1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841768 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kmiltiadous/Chatter",
"max_stars_repo_path": "src/Chatter.MessageBrokers/src/Chatter.MessageBrokers/Context/IMessageBrokerContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160988"
} | starcoder | using Chatter.CQRS;
using Chatter.CQRS.Commands;
using Chatter.CQRS.Context;
using Chatter.CQRS.Events;
using Chatter.MessageBrokers.Receiving;
using Chatter.MessageBrokers.Routing.Options;
using System.Threading.Tasks;
namespace Chatter.MessageBrokers.Context
{
/// <summary>
/// Used to pass contextual infor... | 2.03424 | 8a99dabcf93fb415c3e627d72f2ef85a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841769 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "aixasz/NunitToXunit",
"max_stars_repo_path": "src/NUnitToXUnit/Features/ConvertAttributes/ConvertTestFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160989"
} | starcoder | <gh_stars>1-10
// Copyright (c) 2018 Jetabroad Pty Limited. All Rights Reserved.
// Licensed under the MIT license. See the LICENSE.md file in the project root for license information.
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
usi... | 2.612942 | 899942ba2983f63f1d458b7dea163186 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841770 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AbhayVel/vmhr",
"max_stars_repo_path": "HrSystem/HrSystem/Views/Feed/Edit.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:160990"
} | starcoder | <gh_stars>0
@model Feed
@if (!Model.Id.HasValue || Model.Id == 0)
{
<h2><center> Add Feed </center></h2>
}
else
{
<h2><center> Edit Feed </center></h2>
}
<hr />
<div class="row">
<div class="col-md-12">
@*@using(Html.BeginForm("save", "Feed",FormMethod.Post)){*@
<form action="~/Feed/Sav... | 2.137537 | 9e126686a61ffc019b8874e981678fba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841771 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EliahKagan/old-practice-snapshot",
"max_stars_repo_path": "main/simple-text-editor/simple-text-editor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160991"
} | starcoder | #define DEBUG
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Text;
[assembly: System.Reflection.AssemblyVersion("1.0.0.0")]
internal static class Solution {
private const int Limit = 6000000;
private static StringBuilder Buffer = new StringBuilder(Limit, Limi... | 2.879477 | b764494ef5f983a776a802281c6c8481 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841772 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "akobr/textum.ui",
"max_stars_repo_path": "Commands/Commands.NugetManager/Services/IPackageManagementService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160992"
} | starcoder | <reponame>akobr/textum.ui
using System.Collections.Generic;
using BeaverSoft.Texo.Commands.NugetManager.Model;
using BeaverSoft.Texo.Commands.NugetManager.Processing;
namespace BeaverSoft.Texo.Commands.NugetManager.Services
{
public interface IPackageManagementService : IPackageSource
{
IEnumerable<IPa... | 1.415493 | 3829061e8f49f29e743387b1ce819917 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841773 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit",
"max_stars_repo_path": "multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Brainindustrial/AlibabaCloud/SDK/ROS/CDK/Brainindustrial/IPidProjectProps.cs",
"provenan... | starcoder | using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace AlibabaCloud.SDK.ROS.CDK.Brainindustrial
{
/// <summary>Properties for defining a `ALIYUN::BrainIndustrial::PidProject`.</summary>
[JsiiInterface(nativeType: typeof(IPidProjectProps), fullyQualifiedName: "@alicloud/ros-cd... | 1.869588 | 86f7e8593796b5088e3658e825beb97a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841774 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rikace/orleans",
"max_stars_repo_path": "Samples/Chirper/NetworkDriver/Fortune.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160994"
} | starcoder | <reponame>rikace/orleans
/*
Project Orleans Cloud Service SDK ver. 1.0
Copyright (c) Microsoft Corporation
All rights reserved.
MIT License
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 Softwar... | 2.325174 | 9af7e2ec34e97f5edab7f96cfa20a355 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841775 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "michaelbmorris/MichaelBrandonMorris.KingsportMillSafetyTraining",
"max_stars_repo_path": "MichaelBrandonMorris.KingsportMillSafetyTraining/App_Start/UserStore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160995"
} | starcoder | <reponame>michaelbmorris/MichaelBrandonMorris.KingsportMillSafetyTraining<filename>MichaelBrandonMorris.KingsportMillSafetyTraining/App_Start/UserStore.cs
using System;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using MichaelBrandonMorris.KingsportMillSafetyTraining.Db.Models;
using Mic... | 2.614094 | af13daaff54884b89e9ead24308c4c34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841776 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Migaroez/Candid-Contribs-Web",
"max_stars_repo_path": "src/CandidContribs.Core/Models/Pages/HomePageModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160996"
} | starcoder | using System.Collections.Generic;
using CandidContribs.Core.Models.Published;
using Umbraco.Core.Models.PublishedContent;
namespace CandidContribs.Core.Models.Pages
{
public class HomePageModel: Home
{
public HomePageModel(IPublishedContent content) : base(content) {
AllEpisodes = new List... | 1.919327 | ee8268c3a678f9d7c8e47e101157376e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841777 | {
"extension": "c-sharp",
"max_stars_count": "13764.0",
"max_stars_repo_name": "jangernert/Avalonia",
"max_stars_repo_path": "src/Avalonia.OpenGL/Egl/EglPlatformOpenGlInterface.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160997"
} | starcoder | using System;
using Avalonia.Logging;
using static Avalonia.OpenGL.Egl.EglConsts;
namespace Avalonia.OpenGL.Egl
{
public class EglPlatformOpenGlInterface : IPlatformOpenGlInterface
{
public EglDisplay Display { get; private set; }
public bool CanCreateContexts => true;
public bool CanSh... | 2.056451 | 35c3f703ee09ddb8db77c16f48e07e1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841778 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Narinyir/References",
"max_stars_repo_path": "src/OpenCvSharp/Src/CvArr/CvArr_Methods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160998"
} | starcoder | <filename>src/OpenCvSharp/Src/CvArr/CvArr_Methods.cs
using System;
namespace OpenCvSharp
{
// ReSharper disable InconsistentNaming
partial class CvArr
{
#region AbsDiff
#if LANG_JP
/// <summary>
/// 二つの配列の要素ごとの差の絶対値を計算する.
/// dst(I) = abs(src1(I) - src2(I)).
/// </... | 2.629492 | c8ac007fd98a6353132bf389ef36d165 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841779 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zivoy/osu",
"max_stars_repo_path": "osu.Game.Rulesets.Osu/Difficulty/MathUtil/Mean.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160999"
} | starcoder | // Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Text;
namespace osu.Game.Rulesets.Osu.Difficulty.MathUtil
{
class Mean
{
public Mean()
... | 2.67201 | c31adcdf4bc3acc2ffe6d615a8e13adb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841780 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lukaspj/T3D-CSharp-Tools",
"max_stars_repo_path": "BaseLibrary/Torque3D/Engine/ProximityMine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161000"
} | starcoder | <filename>BaseLibrary/Torque3D/Engine/ProximityMine.cs
using System;
using System.Linq;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Torque3D.Engine;
using Torque3D.Util;
namespace Torque3D
{
public unsafe class ProximityMine : Item
{
public ProximityMine(bool pRegister = false)
... | 2.479109 | f5221ab727480fdaf773450291b3dca3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841781 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "SeeminglyScience/ImpliedReflection",
"max_stars_repo_path": "src/ImpliedReflection/PSVersion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161001"
} | starcoder | <reponame>SeeminglyScience/ImpliedReflection<gh_stars>10-100
using System;
using System.Management.Automation;
using System.Reflection;
namespace ImpliedReflection
{
/// <summary>
/// Represents the real PSVersionInfo class in SMA. Although it recently became public, it
/// still isn't in PSv5 which is wha... | 2.647121 | 1e7346c8a1f692909afd5847c266bf55 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841782 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uxb2bralph/IFS-EIVO03",
"max_stars_repo_path": "eIVOGo/SYS/editmembermenu.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161002"
} | starcoder |
@{ Register src="../Module/SYS/EditMemberMenuItem.ascx" tagname="EditMemberMenuItem" tagprefix="uc1" }
@section headContent {
}
@section mainContent {
<uc1:EditMemberMenuItem ID="memberMenu" runat="server" />
}
<script runat="server">
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
... | 1.799059 | 5b148e413b2d96915b8bb4f9387d9146 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841783 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jmirancid/TropicalNet.Topppro",
"max_stars_repo_path": "Topppro.WebSite/App_Start/ProductAssets.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161003"
} | starcoder | <reponame>jmirancid/TropicalNet.Topppro
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Helpers;
using System.Web.Hosting;
using Topppro.Entities;
using Topppro.Interfaces.Business;
using xFNet.Common.Extensions;
namespace Topppro.WebSite
{
public static class Prod... | 2.078127 | 7c1bf6c14f250311f82ad32b439716e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841784 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "wsugarman/Sweetener",
"max_stars_repo_path": "src/Core/Sweetener.Linq.Test/CodeCoverageAssert.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161004"
} | starcoder | // Copyright © <NAME>.
// Licensed under the MIT License.
using System.Collections;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Sweetener.Test.Linq;
internal static class CodeCoverageAssert
{
public static void AreSequencesEqual<T>(IEnumerable<T> actual, param... | 2.448288 | dcbd2987378e2abd5d8920f8bea97d73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841785 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmariogatto/sacodewhite",
"max_stars_repo_path": "src/SaCodeWhite.Shared/Models/AmbulanceService/AmbulanceInpatientBedStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161005"
} | starcoder | <reponame>dmariogatto/sacodewhite<gh_stars>0
using Newtonsoft.Json;
using System;
namespace SaCodeWhite.Shared.Models.AmbulanceService
{
public class AmbulanceInpatientBedStatus
{
[JsonProperty("hos_code")]
public string HospitalCode { get; set; }
[JsonProperty("wfb")]
public ... | 1.492318 | 66b58026701f5e39b0689a34cd40b438 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841786 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dev-mich/AspNetCore.ScopeValidation",
"max_stars_repo_path": "test/AspNetCore.ScopeValidation.Test/TestAuthentication/TestAuthenticationHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161006"
} | starcoder | using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
namespace AspNetCore.ScopeValidation.Test.TestAuthentication
{
public class TestAuthenticationHandler: AuthenticationHandler<TestAuthent... | 1.974251 | 5b046f3366156af0df62c4e42d5a339c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841787 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "graemefoster/QuickStart",
"max_stars_repo_path": "Application/Api/SimpleApiWithDatabase/Infrastructure/GetAadTokenInterceptor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161007"
} | starcoder | <filename>Application/Api/SimpleApiWithDatabase/Infrastructure/GetAadTokenInterceptor.cs<gh_stars>1-10
using System.Data.Common;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Identity;
using Microsoft.Data.SqlClient;
using Microsoft.EntityFrameworkCore.Diagnostics;
using Microsoft... | 2.255392 | 3c1859a99f53664ab5153c4f92b18cc7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841788 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "jcoliz/automation-hat-ms-iot",
"max_stars_repo_path": "IotFrosting.PianoHat.Sample/MessageDialog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161008"
} | starcoder | <filename>IotFrosting.PianoHat.Sample/MessageDialog.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Controls;
namespace Common
{
/// <summary>
/// IoT doesn't have Windows.UI.Popups, so we need this
/// </summary>... | 2.358675 | 5e84b57aec9babfa3982557c96515ecb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841789 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DimitarDKirov/ApiLedIntegration",
"max_stars_repo_path": "ApiLedIntegration/src/Services/SystemLayer/Employees/Employees.API/Entities/Employee.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161009"
} | starcoder | <gh_stars>0
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace Employees.API.Entities
{
public class Employee
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string Id { get; set; }
public string FirstName { get; set; }
public string ... | 1.714954 | d5a676b21e5359e4f9f13906963c7c62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841790 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Team-MIKA/vigilant-potato",
"max_stars_repo_path": "Integrator/Integrator/Features/Widgets/WidgetController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161010"
} | starcoder |
using System;
using AutoMapper;
using Integrator.Features.Widgets.DTO;
using Integrator.Features.Widgets.Models;
using Integrator.Infrastructure;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Integrator.Feat... | 2.2631 | aa714a1b81313bdf1d8cdd29afecfe0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841791 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jewmin/astd",
"max_stars_repo_path": "com.lover.astd.common/XmlHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161011"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using com.lover.astd.common.model;
namespace com.lover.astd.common
{
public class XmlHelper
{
/// <summary>
/// 获取数值类型的值, 如int, float, double
/// </summary>
/// <typeparam name="T"></typeparam>... | 2.973587 | fc780fdacb239ab290e6732d41d80cc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841792 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "simlex-titul2005/GE",
"max_stars_repo_path": "GE.WebUI/Areas/Admin/Views/Cookies/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161012"
} | starcoder | @model SxVMCookie[]
@{
ViewBag.Title = "Cookies";
}
<h2>@ViewBag.Title</h2>
<br />
<div id="grid-cookies">
@Html.Partial("_GridView", Model)
</div>
@section scripts{
<script>
$(function () {
var grid = new SxGridView('#grid-cookies');
});
</script>
}
| 2.220592 | 3fe3c1dc5332b47a3a48db25a414b958 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841793 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "symbiogenesis/dotvvm",
"max_stars_repo_path": "src/DotVVM.Samples.Tests.New/FileUploadTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161013"
} | starcoder | using System.IO;
using System.Linq;
using Xunit;
using Xunit.Abstractions;
using DotVVM.Testing.Abstractions;
using Riganti.Utils.Testing.Selenium.Core;
using Riganti.Utils.Testing.Selenium.DotVVM;
namespace DotVVM.Samples.Tests.New
{
public class FileUploadTests : AppSeleniumTest
{
public FileUploadT... | 2.243114 | 64c292425fc86bba7712cc381e6d0d49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841794 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NeoShivam/NeoBoilerplate-v6.0",
"max_stars_repo_path": "src/Core/NeoBoilerplate.Application/Features/Categories/Queries/GetCategoriesListWithEvents/GetCategoriesListWithEventsQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161... | starcoder | using NeoBoilerplate.Application.Responses;
using MediatR;
using System.Collections.Generic;
namespace NeoBoilerplate.Application.Features.Categories.Queries.GetCategoriesListWithEvents
{
public class GetCategoriesListWithEventsQuery: IRequest<Response<IEnumerable<CategoryEventListVm>>>
{
public bool ... | 1.344149 | 70321d3bbba2f10dd8f0bea81783309b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841795 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CityOfAuburnAL/orchard2",
"max_stars_repo_path": "src/Orchard.Environment.Extensions/CompositeExtensionOrderingStrategy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161015"
} | starcoder | <filename>src/Orchard.Environment.Extensions/CompositeExtensionOrderingStrategy.cs
using Orchard.Environment.Extensions.Features;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Orchard.Environment.Extensions
{
internal class CompositeExtensionOrderingStrategy : IExtensionOrderingStra... | 2.624471 | 9adbf86c8a5a347b1678480624e816eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841796 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Croniks/Algorithms-structures-and-patterns",
"max_stars_repo_path": "Bridge/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161016"
} | starcoder | using System;
namespace Bridge
{
delegate void ActiveMagicEffect();
enum WeaponType { OneHandedSword = 1, TwoHandedSword = 2 }
abstract class Character
{
private Arming _rightHand;
private Arming _leftHand;
private bool _isTwoHanded;
public Arming Ri... | 3.317766 | 143a983e9a491d3ca5e59ccad3332d1a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841797 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "rzander/jaindb",
"max_stars_repo_path": "source/Plugin_CosmosDB/Plugin_CosmosDB.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161017"
} | starcoder | using JainDBProvider;
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using Microsoft.Azure.Documents.Linq;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Plugin_CosmosDB
{
public class Plu... | 2.017882 | 758331822fdf9afd52310a8256fdee46 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841798 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ngelotte/NDHassModel",
"max_stars_repo_path": "Models.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161018"
} | starcoder |
using Microsoft.Extensions.Logging;
using NetDaemon.Common.Reactive;
using NetDaemon.Common.Reactive.Services;
using NetDaemon.HassModel.Common;
using System.Collections.Generic;
namespace NdGreenhouse.Apps.Greenhouse
{
public class GHMain
{
public ClimateEntity? HomeThemostat { get; set; }
... | 2.100651 | 93dbe6e77f239d198f68b8528c355067 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841799 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "grendal11/ASP.NET-Core-Project-We-Quiz",
"max_stars_repo_path": "WeQuiz/Controllers/CategoriesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161019"
} | starcoder | <gh_stars>0
namespace WeQuiz.Controllers
{
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using WeQuiz.Services.Categories;
using WeQuiz.Infrastructure;
using WeQuiz.Services.Users;
using WeQuiz.Models.Categories;
[Authorize]
public class CategoriesController... | 1.870192 | 27555a2e1d9c93ba4592a0cc7d8e5197 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841800 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "amkoroew/challenges",
"max_stars_repo_path": "src/SubmissionEvaluation/Shared/Models/Submission/SubmissionHistoryModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161020"
} | starcoder | <reponame>amkoroew/challenges<filename>src/SubmissionEvaluation/Shared/Models/Submission/SubmissionHistoryModel.cs
using System.Collections.Generic;
using SubmissionEvaluation.Contracts.Data;
namespace SubmissionEvaluation.Shared.Models.Submission
{
public class SubmissionHistoryModel<T> : GenericModel where T : ... | 1.582054 | 52e4c882de33011076d7b10f2ddcefc5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841801 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "brudo/DequeNET",
"max_stars_repo_path": "src/DequeNet/Deque`1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161021"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using DequeNet.Debugging;
using DequeNet.Extensions;
namespace DequeNet
{
/// <summary>
/// Represents a double-ended queue, also known as deque (pronounced "deck").
... | 3.239904 | 6fdf6c54424ac5f74dfd367bb839b265 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841802 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Bobbsify/Blade-Dancer",
"max_stars_repo_path": "Assets/Scripts/Input/Receivers/IInputReceiverInteract.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161022"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public interface IInputReceiverInteract
{
void ReceiveInputInteract();
} | 1.417482 | 68b8dc156ff3ee9a6e8089458f396c91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841803 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PhilipWoulfe/DspEuro2021Core",
"max_stars_repo_path": "TodoListService/Controllers/UserController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161023"
} | starcoder | /*
The MIT License (MIT)
Copyright (c) 2018 Microsoft Corporation
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modi... | 1.981509 | 83a2aaf8fcc019fecfae06c06345a2db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841804 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "elray/Peasy.NET-Samples",
"max_stars_repo_path": "Orders.com.Web.MVC/ViewModels/CategoryViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161024"
} | starcoder | <gh_stars>10-100
using Orders.com.BLL.Domain;
namespace Orders.com.Web.MVC.ViewModels
{
public class CategoryViewModel : ViewModel<Category>
{
public long ID
{
get { return Entity.ID; }
set { Entity.ID = value; }
}
public string Name
{
... | 1.824949 | 370e0cf6bef0189690cbdbeb6551b1a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841805 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AngMacZwift/boltrace.team",
"max_stars_repo_path": "_league_templates/results_pages/fierce-felines.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161025"
} | starcoder | @using static LeagueTables.Helpers
@{
var Slot1 = Model.StartDate;
var Slot2 = Model.StartDate.AddHours(7).AddMinutes(-25);
var Slot3 = Model.StartDate.AddHours(12);
}
---
layout: default
date: @DateTime.UtcNow.ToString("dd/MM/yyyy")
---
<h2>Fierce Felines Racing Series</h2>
<h3>Event Information</h3>... | 2.79211 | 990251b300fe1796ed4bb41ed4fba65f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841806 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "technicat/unityscripts",
"max_stars_repo_path": "Scripts/Transform/SnapToGround.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161026"
} | starcoder | <reponame>technicat/unityscripts
using UnityEngine;
using System.Collections;
namespace Fugu {
public class SnapToGround : MonoBehaviour {
public int groundlayer = 26;
public int hilllayer = 28;
void Start() {
float dist = transform.localPosition.y;
RaycastHit hit;
if (Physics.Raycast(transform.pos... | 2.1059 | 5aab9a29d210a4cf458bce1c40f05a39 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841807 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fpodshivadlov/Rainbow.Storage.AzureBlob",
"max_stars_repo_path": "src/Rainbow.Storage.AzureBlob/Manager/IAzureManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161027"
} | starcoder | <filename>src/Rainbow.Storage.AzureBlob/Manager/IAzureManager.cs
using System.Collections.Generic;
using System.IO;
namespace Rainbow.Storage.AzureBlob.Manager
{
public interface IAzureManager
{
IEnumerable<string> EnumerateFiles(string path, string extension, SearchOption searchOption);
bool ... | 2.500115 | 383338b1131af471b8db76224a77559a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841808 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LokiAz9/PanicSystem",
"max_stars_repo_path": "Patches/AbstractActor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161028"
} | starcoder | using BattleTech;
using Harmony;
using static PanicSystem.Components.Controller;
// ReSharper disable InconsistentNaming
namespace PanicSystem.Patches
{
[HarmonyPatch(typeof(AbstractActor), "OnNewRound")]
public static class AbstractActor_OnNewRound_Patch
{
public static void Prefix(AbstractActor ... | 2.118395 | 551f8aae2c9500b854bcc6bd958732b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841809 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Delt06/voxel-terrain",
"max_stars_repo_path": "Assets/Scripts/Simulation/Liquids/WorldLiquidSimulationJob.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161029"
} | starcoder | using Chunks;
using Unity.Burst;
using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
using Unity.Jobs;
using Unity.Mathematics;
namespace Simulation.Liquids
{
[BurstCompile]
public struct WorldLiquidSimulationJob : IJob
{
public NativeList<ChunkAndBlockPosition> ModifiedBlocks;
... | 2.0345 | 6d26746dfeef6f09e1f6ab122998ff25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841810 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zs40x/FW.GroupAlarm.StatusMonitor",
"max_stars_repo_path": "FW.GA.StatusMonitor.Core/ValueTypes/DTO/GroupAlarm/OrganizationStructure.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161030"
} | starcoder | using System.Collections.Generic;
namespace FW.GA.StatusMonitor.Core.ValueTypes.DTO.GroupAlarm
{
public class OrganizationStructure
{
public IEnumerable<Organization> Path { get; set; }
public IEnumerable<Organization> Childs { get; set; }
}
}
| 1.341523 | fa83450f4b1be321367c6c6fd8c0d0e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841811 | {
"extension": "c-sharp",
"max_stars_count": "343.0",
"max_stars_repo_name": "UWPCommunity/Quarrel",
"max_stars_repo_path": "old/DiscordAPI-Old/SharedModels/Reactions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161031"
} | starcoder | <reponame>UWPCommunity/Quarrel
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DiscordAPI.SharedModels
{
public class Reactions
{
[JsonProperty("count")]
public int Count { get; set; }
... | 1.598443 | 8fe1c859385ead3b934071e2eff7b838 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.