added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809618 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ronaldbarendse/ImageSharp",
"max_stars_repo_path": "src/ImageSharp/Formats/Webp/Lossy/Vp8Encoding.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128838"
} | starcoder | <gh_stars>0
// Copyright (c) <NAME>.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Buffers.Binary;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if SUPPORTS_RUNTIME_INTRINSICS
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
#endif
n... | 1.789405 | 4d3fef533ed3446d07c8092ec187e63f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809619 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HansSulistio/Game-Project-TheChoosenUtsu-",
"max_stars_repo_path": "Assets/Script/EnemyShootStyle/LeftThreeWay.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128839"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LeftThreeWay : MonoBehaviour {
public GameObject[] a;
public float startTimeBtwShots;
public Transform shotpoint;
private float[] angles = new float[] {195f,180f,165f};
private float timeBtwShots;
... | 2.521 | 49e069980ad5233d56ca322a3420b5b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809620 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "muthubro/Amber",
"max_stars_repo_path": "ScriptCore/src/Amber/Scene/Entity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128840"
} | starcoder | <reponame>muthubro/Amber
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace Amber
{
public class Entity
{
public ulong ID { get; private set; }
private List<Action<Entity>> Collis... | 2.553889 | 6373571d9f021f7b88997ded61d90282 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809621 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mvanderelsen/Lego.Ev3.Framework",
"max_stars_repo_path": "Lego.Ev3.Framework/ButtonType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128841"
} | starcoder | namespace Lego.Ev3.Framework
{
/// <summary>
/// Type of the Button
/// </summary>
public enum ButtonType
{
/// <summary>
/// No Button
/// </summary>
None = 0,
/// <summary>
/// Up Button
/// </summary>
Up = 1,
/// <summary>
... | 2.657683 | 8929dde5522b72cf2bbeff17084fbbd0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809622 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GoodGoodManGames/GGM.Context",
"max_stars_repo_path": "UnitTest/Dummy/ProtoManaged.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128842"
} | starcoder | using GGM.Context;
using GGM.Context.Attribute;
namespace UnitTest.Dummy
{
[Managed(ManagedType.Proto)]
public class ProtoManaged
{
[AutoWired]
public ProtoManaged(ProtoManaged_1 managed)
{
}
}
[Managed(ManagedType.Proto)]
public class ProtoManaged_1
{
... | 1.740712 | 035d32dfacc36fe33c6136653493f8b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809623 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "squanchYourCode/quartz.net-2.0.1",
"max_stars_repo_path": "src/Quartz/Impl/AdoJobStore/DailyTimeIntervalTriggerPersistenceDelegate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128843"
} | starcoder | #region License
/*
* All content copyright Terracotta, Inc., unless otherwise indicated. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.... | 2.221261 | b8f2bf1bbb0e312b0b8ab0621e91dc2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809624 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FxWolfxe/PawnmorpherSkavenIntegration",
"max_stars_repo_path": "Source/PMSkaven/PMSkaven/RitualUtilities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128844"
} | starcoder | <gh_stars>0
// RitualUtilities.cs created by <NAME> for PMSkaven on 04/15/2020 7:58 PM
// last updated 04/15/2020 7:58 PM
using System;
using JetBrains.Annotations;
using Pawnmorph;
using RimWorld;
using Verse;
namespace PMSkaven
{
public static class RitualUtilities
{
public static bool IsValidRitu... | 1.976416 | 981da7b460fee2e39a6f53af74c1ab32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809625 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "riku1227/RiClothesSetuper",
"max_stars_repo_path": "Editor/expand_options/versions/v2/model/ExpandOption.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128845"
} | starcoder | using System;
namespace RiClothes {
namespace V2 {
[Serializable]
public class ExpandOption {
//対応しているRiClothes Setuperのバージョン
public int version;
//服のID (固有のかぶらないものが望ましい)
public string id;
//対象のアバターのボーンをしまっているオブジェクトの名前を指定 (使うことあるのかは不明)
... | 1.965322 | 58373d7f03a3cb9c4bfcc3c86e00a25c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809626 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iedred7584/KyoshinEewViewerIngen",
"max_stars_repo_path": "src/KyoshinEewViewer/Series/Radar/RadarSeries.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128846"
} | starcoder | using Avalonia.Controls;
using KyoshinEewViewer.Map.Layers;
using KyoshinEewViewer.Series.Radar.Models;
using KyoshinEewViewer.Services;
using Microsoft.Extensions.Logging;
using ReactiveUI;
using ReactiveUI.Fody.Helpers;
using SkiaSharp;
using System;
using System.Collections.Concurrent;
using System.Collections.Gene... | 1.927614 | 25386c1da2bd7832fdef2e790e1ab79e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Shemeikka/node_map_demo",
"max_stars_repo_path": "src/mapdemo/Models/NodeRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128847"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace MapDemo.Models
{
public class NodeRepository : INodeRepository
{
private static ConcurrentDictionary<string, NodeItem> _nodes = new ConcurrentDictionary<string, NodeItem>();
public NodeRepos... | 3.408103 | 31e9261ba1714edf4f6f44edf4a6d415 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809628 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Killers2/K2host.Erp",
"max_stars_repo_path": "Interfaces/HttpRequesters/IErpHttpRequester.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128848"
} | starcoder | /*
' /====================================================\
'| Developed <NAME> (www.k2host.co.uk) |
'| Projected Started: 2019-06-01 |
'| Use: General |
' \====================================================/
*/
using System;
using K2host.Co... | 2.307163 | 4f6ea7e8ed6484e5260773895c376e73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809629 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mrxx99/Playnite",
"max_stars_repo_path": "source/Playnite.FullscreenApp/FullscreenApplication.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128849"
} | starcoder | using Playnite.API;
using Playnite.Controllers;
using Playnite.Database;
using Playnite.FullscreenApp.API;
using Playnite.FullscreenApp.ViewModels;
using Playnite.FullscreenApp.Windows;
using Playnite.Plugins;
using Playnite.SDK;
using Playnite.SDK.Models;
using Playnite.WebView;
using Playnite.Windows;
usi... | 1.553279 | b19577cd13fc4fd3ddc7a04291058c5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809630 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "akazad13/archive-projects",
"max_stars_repo_path": "gyHostel/roomService/Infrasstructure/IoC/AutoMapperProfiles.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128850"
} | starcoder | using AutoMapper;
using DataAccess.Models;
using roomService.DTO;
namespace userService.Infrasstructure.IoC
{
public class AutoMapperProfiles : Profile
{
public AutoMapperProfiles()
{
CreateMap<RoomDTO, Room>();
}
}
}
| 1.640953 | 859e76f963e8b3c952822cb50cacae63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809631 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "b-faze/Faze",
"max_stars_repo_path": "src/libraries/Faze.Rendering/Faze.Rendering.Playground/RecursiveTemplates/RecursiveTemplateUI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128851"
} | starcoder | using SkiaSharp;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
namespace Faze.Rendering.Playground
{
internal class RecursiveTemplateUI
{
private readonly RecursiveTemplate template;
private readonly PictureBox pictureBox;
private RecursiveTemplateChildArea hoverC... | 2.677355 | 8c4586f9a1b4574740708a3319e4286a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809632 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KriptYashka/LiveModel",
"max_stars_repo_path": "DemographicModel/Enumirate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128852"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DemographicModel
{
public enum Generation
{
young = 18,
middle = 45,
adult = 65,
}
public enum Sex
{
male = 0,
female = 1,
}
... | 2.511139 | ee56b305ae1e6363fb20086cb00f5481 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809633 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sethsteenken/Integreat",
"max_stars_repo_path": "src/Integreat/Models/Executables/IExecutable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128853"
} | starcoder | <reponame>sethsteenken/Integreat
using Integreat.Core;
namespace Integreat
{
/// <summary>
/// Execution step that is part of the execution plan.
/// </summary>
public interface IExecutable
{
void Execute(ExecutableContext context);
}
}
| 1.540297 | 94ac5b27f9f62c57d839e8dff8ce4e8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "flucto/flucto",
"max_stars_repo_path": "flucto/Graphics/UserInterface/Counter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128854"
} | starcoder | <reponame>flucto/flucto
// Copyright (c) 2020 Flucto Team and others. Licensed under the MIT Licence.
// Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using flucto.Graphics.Containers;
using flucto.Graphics.Transforms;
namesp... | 2.615993 | 3bc95365ed3b0dfc06ee86f7f95fbe60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809635 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "uthmanrahimi/freetimeBlog",
"max_stars_repo_path": "src/FreeTime/Controllers/BaseController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128855"
} | starcoder | using FreeTime.Infrastructure.ExtensionMethods;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace FreeTime.Web.Controllers
{
public abstract class BaseController : Controller
{
public int LogedInUserId => User.Identity.IsAuthenticate... | 1.998404 | ad66a4e5ea40519d45e2eb42dc3e620e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809636 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cpcontrib/accessapihelper",
"max_stars_repo_path": "src/AccessApiHelper/AccessAPI/ProjectLibrary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128856"
} | starcoder | <gh_stars>0
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Threading;
namespace CrownPeak.AccessAPI
{
[DataContract(Name="ProjectLibrary", Namespace="http://schemas.datacontract.org/... | 1.854094 | 4ce20b7aa3823f981e8ee114d66d63e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809637 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ai-line-mod/NRatings.Client",
"max_stars_repo_path": "src/NRatings.Client/ApiClient/DTO/Race.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128857"
} | starcoder | using System;
namespace NRatings.Client.ApiClient.DTO
{
public class Race
{
public int Id { get; set; }
public int SeasonId { get; set; }
public string SeasonName { get; set; }
public string RaceName { get; set; }
public int TrackId { get; set; }
public string T... | 1.694477 | 35b2a7ca88d9774db11d20b36837c6c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809638 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pcharlesmoran/roslyn",
"max_stars_repo_path": "src/EditorFeatures/Core/Implementation/Organizing/OrganizeDocumentCommandHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128858"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.ComponentModel.Composition;
using System.Threading;
using Microsoft.CodeAnalysis.Editor.Commanding.Commands;
using Microsoft.CodeA... | 1.386647 | e6fd22613c4c18fa3f0d32ef4bb5369f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809639 | {
"extension": "c-sharp",
"max_stars_count": "81.0",
"max_stars_repo_name": "HLSW/DeltaEngine",
"max_stars_repo_path": "Editor/UIEditor/UIControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128859"
} | starcoder | <reponame>HLSW/DeltaEngine<filename>Editor/UIEditor/UIControl.cs
using System.Collections.Generic;
using DeltaEngine.Content;
using DeltaEngine.Datatypes;
using DeltaEngine.Rendering2D;
using DeltaEngine.Scenes.Controls;
using GalaSoft.MvvmLight.Messaging;
namespace DeltaEngine.Editor.UIEditor
{
public clas... | 2.055782 | 0cfd8d778105b483223a7c7bf62f7318 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809640 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Ro2Be/BoardGameAI",
"max_stars_repo_path": "Four/Assets/Scripts/Agents/TicTacToe/TicTacToeCNNAgent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128860"
} | starcoder | <filename>Four/Assets/Scripts/Agents/TicTacToe/TicTacToeCNNAgent.cs
using System.Collections.Generic;
using Unity.MLAgents.Sensors;
public class TicTacToeCNNAgent : ActorAgent
{
List<int> actionMask = new List<int>();
private readonly BitMask[] convolutionalLayers = new BitMask[8]
{
new BitMask(0... | 2.311458 | 703d9e4063876e6dbe16909d2142c906 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809641 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "matcom-compilers-2019/cool-compiler-enrique-alejandro-freyre",
"max_stars_repo_path": "src/CoolCompiler/Core/AST/Expressions/Operators/Unarys/UnaryOperatorNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128861"
} | starcoder | <filename>src/CoolCompiler/Core/AST/Expressions/Operators/Unarys/UnaryOperatorNode.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core.AST.Expressions.Operators.Unarys
{
public abstract class UnaryOperatorNode : ExpressionNode
{... | 2.414524 | 1062248d74d7784f2f2cdf14bbdbb155 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809642 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "lumpn/infinite-zelda",
"max_stars_repo_path": "Lumpn.ZeldaMooga/ZeldaGenomeFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128862"
} | starcoder | using Lumpn.Mooga;
namespace Lumpn.ZeldaMooga
{
public sealed class ZeldaGenomeFactory : GenomeFactory
{
private readonly ZeldaConfiguration configuration;
public ZeldaGenomeFactory(ZeldaConfiguration configuration)
{
this.configuration = configuration;
}
p... | 2.166087 | c931192cef2ad14381fd2fae1b0e08fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809643 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CSBUnlimited/Dotnet-Common",
"max_stars_repo_path": "CSBUnlimited.Common.Base.Repositories/BaseRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128863"
} | starcoder | using CSBUnlimited.Common.Core.Repositories;
namespace CSBUnlimited.Common.Base.Repositories
{
public abstract class BaseRepository : IRepository
{
}
}
| 1.142692 | e8b9f719082ae5f8c9988435b439dacf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809644 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "JacobDusseault/smithy",
"max_stars_repo_path": "Assets/HTC.UnityPlugin/ColliderEvent/ColliderEventData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128864"
} | starcoder | //========= Copyright 2016-2018, HTC Corporation. All rights reserved. ===========
using HTC.UnityPlugin.Utility;
using UnityEngine;
using UnityEngine.EventSystems;
namespace HTC.UnityPlugin.ColliderEvent
{
public static class ColliderEventDataExtension
{
public static TEventCaster GetEventCaster<TEv... | 2.18166 | 36df63cb3fd42f19c425d834a5cf03a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809645 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ruttlej/CS7038",
"max_stars_repo_path": "Assets/Scripts/Audio/AudioRunning.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128865"
} | starcoder | <filename>Assets/Scripts/Audio/AudioRunning.cs
using UnityEngine;
using System.Collections;
using Grouping;
public class AudioRunning : MonoBehaviour
{
public AudioSource background, over;
public float volume;
float backgroundVolume, overVolume;
void Start()
{
GroupManager.main.group["Le... | 2.162585 | e7f184e6ce22ce6951cbd43d7c98d1ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809646 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "getrojob/Avanade-SubTCSE-Projeto",
"max_stars_repo_path": "src/Avanade.SubTCSE.Projeto.Domain/Aggregates/EmployeeRole/Validators/EmployeeRoleValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128866"
} | starcoder | using FluentValidation;
namespace Avanade.SubTCSE.Projeto.Domain.Aggregates.EmployeeRole.Validators
{
public class EmployeeRoleValidator : AbstractValidator<Entities.EmployeeRole>
{
public EmployeeRoleValidator()
{
RuleSet("new", () =>
{
RuleFor(e => e.R... | 2.299118 | b0965950ba92283d8b1ab03057ef5365 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809647 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VLunev/LeptonicaSharp",
"max_stars_repo_path": "LeptonicaSharp/Functions/boxfunc2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128867"
} | starcoder | using System;
using System.IO;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace LeptonicaSharp
{
public partial class _All
{
// boxfunc2.c (91, 1)
// boxaTransform(boxas, shiftx, shifty, scalex, scaley) as Boxa
// boxaTransform(BOXA *, l_int32, l_int32, l_float32, l_float32) ... | 2.456514 | b8eb1b45a3b2108f4ed1fceefc0b2a19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809648 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dst3p/x9",
"max_stars_repo_path": "Framework/RecordProcessors/RoutingNumberSummaryProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128868"
} | starcoder | <filename>Framework/RecordProcessors/RoutingNumberSummaryProcessor.cs
using X9.Models;
using X9.RecordProcessors.Abstractions;
namespace X9.RecordProcessors
{
public class RoutingNumberSummaryProcessor : RecordProcessor<RoutingNumberSummary>, IRecordProcessor
{
public string RecordType { get; set; } = "85";
... | 2.197953 | 6d904be90b49da76f7a5c010c05edfd2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809649 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mayuki/Cartelet",
"max_stars_repo_path": "Cartelet/Selector/TypeSelector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128869"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cartelet.Selector
{
/// <summary>
/// 6.1. Type selector
/// </summary>
public class TypeSelector : Production
{
public TypeSelector(string name, SelectorParser lex... | 2.756836 | fd49a1ac7724c7f0cc53c6ae32fe798d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809650 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "riccardone/MySelfLog.Api",
"max_stars_repo_path": "src/MySelfLog.Contracts.Api/IMessageSender.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128870"
} | starcoder | <gh_stars>0
using System.Threading.Tasks;
namespace MySelfLog.Contracts.Api
{
/// <summary>
/// Contract to implement a message sender
/// </summary>
public interface IMessageSender
{
/// <summary>
/// Send a batch of CloudEvents
/// </summary>
/// <param name="req... | 1.821718 | 9e6c6a79dd60de40f9904d58f3a2412e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809651 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sikorzynska/4drafts",
"max_stars_repo_path": "4drafts/Data/DataConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128871"
} | starcoder | namespace _4drafts.Data
{
public class DataConstants
{
public class Global
{
//comment
public const string UnauthorizedAction = "Whoops! Looks like you're not authorized to do this...";
public const string GeneralError = "Whoops! Looks like something went wro... | 2.639523 | 581605497f3655c0c613c25c47e5651d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809652 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mfloresn90/CSharpSources",
"max_stars_repo_path": "Lock screen apps sample/C#/ScenarioInput2.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128872"
} | starcoder | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved
using Notifications... | 1.985839 | 03af4ab6a68737192feaf0ad4089d74e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PepperDash/epi-dsp-tesira",
"max_stars_repo_path": "Tesira-DSP-EPI/Bridge/JoinMaps/TesiraDeviceJoinMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128873"
} | starcoder | using PepperDash.Essentials.Core;
namespace Tesira_DSP_EPI.Bridge.JoinMaps
{
/// <summary>
/// Device Joinmap for Advanced Bridge - Meant for holistic DSP Object
/// </summary>
public class TesiraDspDeviceJoinMapAdvanced : JoinMapBaseAdvanced
{
[JoinName("IsOnline")] public Join... | 2.165487 | 4d0df8e0a105b74eb06e296771dbbe97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809654 | {
"extension": "c-sharp",
"max_stars_count": "116.0",
"max_stars_repo_name": "Lyoware/wpf-windows-sdk-for-google-analytics",
"max_stars_repo_path": "GoogleAnalytics.SDK/Ecommerce/Promotion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128874"
} | starcoder | <gh_stars>100-1000
using System;
namespace GoogleAnalytics.Ecommerce
{
/// <summary>
/// Class to construct promotion related fields for Google Analytics hits. The fields from this class can be used to represent internal promotions that run within an app, such as banners, banner ads etc.
/// </summary>
... | 2.982535 | a57b78a5cbe483e53898f18391e4b18c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809655 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dev-dmadan/web-service-bpmonline",
"max_stars_repo_path": "c#/basic_example.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128875"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Xml;
using System.Xml.Linq;
using System.Drawing;
using System.Net.Http;
namespace ODataFileTransfer
{
class ODataFileTransfer
{
private const string serverUri = "https://014246-studio.bp... | 2.231593 | 3c889b563b924ba1f21f797fbfa78f8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809656 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mecvillarina/TernerAcademy",
"max_stars_repo_path": "src/instructor-portal/Client.App.Infrastucture/Managers/CourseSubscriptionManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128876"
} | starcoder | <reponame>mecvillarina/TernerAcademy<filename>src/instructor-portal/Client.App.Infrastucture/Managers/CourseSubscriptionManager.cs
using Application.Common.Models;
using Application.InstructorPortal.CourseReviews.Queries.GetAll;
using Application.InstructorPortal.CourseSubscriptions.Queries.GetAll;
using Client.App.In... | 1.860255 | db514d8287df672097c7143f9c8907dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809657 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Tyzemol/space-station-14",
"max_stars_repo_path": "Content.Server/Chemistry/ReactionEffects/SmokeAreaReactionEffect.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128877"
} | starcoder | <filename>Content.Server/Chemistry/ReactionEffects/SmokeAreaReactionEffect.cs
using Content.Server.Chemistry.Components;
using JetBrains.Annotations;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Server.Chemistry.ReactionEffects
{
... | 1.90734 | 3234056aa2c7749d189e0b1a339cd738 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809658 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "undeadinu/mobileapp",
"max_stars_repo_path": "Toggl.Foundation/Extensions/TimeEntryExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128878"
} | starcoder | using System;
using Toggl.Foundation.Calendar;
using Toggl.Foundation.Models;
namespace Toggl.Foundation.Extensions
{
public static class TimeEntryExtensions
{
public static ITimeEntryPrototype AsTimeEntryPrototype(this string description, DateTimeOffset startTime, long workspaceId)
=> new ... | 2.401741 | b54b3b9ca0a25f83f8bce4d906b1dde4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809659 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-apim-endpoints",
"max_stars_repo_path": "src/SFA.DAS.EmployerIncentives/Application/Commands/SendEmail/SendBankDetailsRequiredEmailCommandHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:... | starcoder | <filename>src/SFA.DAS.EmployerIncentives/Application/Commands/SendEmail/SendBankDetailsRequiredEmailCommandHandler.cs
using MediatR;
using SFA.DAS.EmployerIncentives.InnerApi.Requests;
using SFA.DAS.EmployerIncentives.Interfaces;
using System.Threading;
using System.Threading.Tasks;
namespace SFA.DAS.EmployerIncentiv... | 1.987017 | 03a00cd9753df1f7ed0882cbbc74af38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809660 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "etelic/sampleapp",
"max_stars_repo_path": "src/GeneratorBase.MVC/App_Start/Startup.Auth.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128880"
} | starcoder | using GeneratorBase.MVC.Models;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Owin;
using System;
using System.Configuration;
using Microsoft.Owin.Security.Facebook;
using Owin.Security.Providers.Yahoo;
using Owin.Security.Prov... | 2.002938 | ac1272832f0307fd83f21463f7353351 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809661 | {
"extension": "c-sharp",
"max_stars_count": "4168.0",
"max_stars_repo_name": "View12138/Bili.Uwp",
"max_stars_repo_path": "src/App/Resources/Extension/VisualTreeExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128881"
} | starcoder | <gh_stars>1000+
// Copyright (c) Richasy. All rights reserved.
using System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Media;
namespace Richasy.Bili.App.Resources.Extension
{
/// <summary>
/// 视觉树扩展.
/// </summary>
public static class VisualTreeExtension
{
/// <summary>
/// 通过名... | 2.785129 | a2dd0fa574cf3131e27f81dc0eb6fd60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809662 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hardcpp/WTB",
"max_stars_repo_path": "WTB/SDK/Game/Level.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128882"
} | starcoder | using SongCore;
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using UnityEngine;
namespace WTB.SDK.Game
{
/// <summary>
/// Level helper
/// </summary>
internal static class Level
{
/// <summary>
/// Get level cancellation token
/// ... | 2.299198 | cf64827d9b96e469b7fca0d2b50c3fb3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809663 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "zuk95/TrovaAuto",
"max_stars_repo_path": "TrovaAuto/TrovaAuto/TrovaAuto/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128883"
} | starcoder | <filename>TrovaAuto/TrovaAuto/TrovaAuto/App.xaml.cs
using System;
using TrovaAuto.Database;
using TrovaAuto.Dominio;
using TrovaAuto.UI;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace TrovaAuto
{
public partial class App : Application
{
public App()
{
InitializeC... | 2.085988 | 8e7d44cd9a64d4d72bb173d72e65b84f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809664 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "martinwoodward/OpenLiveWriter",
"max_stars_repo_path": "src/managed/OpenLiveWriter.Controls/BrowserMiniForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128884"
} | starcoder | <reponame>martinwoodward/OpenLiveWriter<gh_stars>0
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System;
using System.IO;
using System.Net;
using System.Text;
using System.Drawing;
using System.Threading;
using System.C... | 1.859373 | 38f44b81cdadc8f97af1359b687f2b93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809665 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "exiledgamesstudio/Mirror",
"max_stars_repo_path": "Assets/Mirror/Examples/Room/Scripts/NetworkRoomPlayerExt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128885"
} | starcoder | <gh_stars>0
using UnityEngine;
using UnityEngine.SceneManagement;
namespace Mirror.Examples.NetworkRoom
{
[AddComponentMenu("")]
public class NetworkRoomPlayerExt : NetworkRoomPlayer
{
static readonly ILogger logger = LogFactory.GetLogger(typeof(NetworkRoomPlayerExt));
public override void... | 1.476941 | 997cf93dcd0741d252a45f6195d8e68b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809666 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "bluewatercg/ScfPackageSources",
"max_stars_repo_path": "src/Basic/Senparc.Scf.XscfBase/Interfaces/IXscfRazorRuntimeCompilation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128886"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Text;
namespace Senparc.Scf.XscfBase
{
/// <summary>
/// 需要使用 AddRazorRuntimeCompilation() 方法时,需要设置对应当前项目相对于 Senparc.Web 的路径
/// </summary>
public interface IXscfRazorRuntimeCompilation
{
/// <summary>
//... | 2.008377 | 59abd0013b6ab50b626a781f740f51e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809667 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cburch824/StatDisplay",
"max_stars_repo_path": "X4Foundations/X4Foundations.DataAccess/Model/Bullet/BulletModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128887"
} | starcoder | using System.ComponentModel;
namespace X4Foundations.DataAccess.Model.Bullet
{
public class BulletModel : INotifyPropertyChanged
{
private string _name;
private BulletSize? _size;
private FactionType? _faction;
private BulletType? _type;
private BulletGrade? _grade;
private BulletWeaponType? _weaponType... | 2.579304 | 5ddc6498d1ea16e99290ce191ecfb304 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809668 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yovannyr/EventStore",
"max_stars_repo_path": "src/EventStore.Core.Tests/Infrastructure/RandomTestRunner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128888"
} | starcoder | using System.Collections.Generic;
using System.Net;
using EventStore.Common.Utils;
using EventStore.Core.Bus;
using EventStore.Core.DataStructures;
using EventStore.Core.Messaging;
namespace EventStore.Core.Tests.Infrastructure {
public class RandomTestRunner {
private readonly int _maxIterCnt;
private readonly ... | 2.133381 | 95cd7cc408ce1a4c75f2d025e1845f5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809669 | {
"extension": "c-sharp",
"max_stars_count": "159.0",
"max_stars_repo_name": "elinor-fung/coreclr",
"max_stars_repo_path": "tests/src/JIT/opt/Enum/shared.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128889"
} | starcoder | <filename>tests/src/JIT/opt/Enum/shared.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// Some simple tests for the Enum.HasFlag optimization.
// Verify the opt... | 2.686964 | bba6be39d6dfa784b0f8dea76ed5c200 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809670 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aviktorov/ld49",
"max_stars_repo_path": "Assets/Scripts/FPSMaterial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128890"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FPSMaterial : MonoBehaviour
{
public Material defaultMaterial = null;
public Material fpsMaterial = null;
private MeshRenderer[] cachedMeshRenderers = null;
public void Decorate(bool firstPerson)
{
if (cachedMeshRender... | 2.202857 | be63f706acd3b5f879f6181c7d181d57 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809671 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "inmark92/hotchocolate",
"max_stars_repo_path": "src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/EntityIdOrDataTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128891"
} | starcoder | <filename>src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/EntityIdOrDataTest.cs
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using HotChocolate.AspNetCore.Utilities;
using HotChocolate.Types;
using Snapshooter.Xunit;
... | 1.930362 | 95b1518b391c39d128337f654f7ea4e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809672 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "mercenaryntx/godspeed",
"max_stars_repo_path": "Neurotoxin.Godspeed/Neurotoxin.Godspeed.Core/Io/Gpd/XdbfEntry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128892"
} | starcoder | using Neurotoxin.Godspeed.Core.Attributes;
using Neurotoxin.Godspeed.Core.Constants;
using Neurotoxin.Godspeed.Core.Models;
namespace Neurotoxin.Godspeed.Core.Io.Gpd
{
public abstract class XdbfEntry : BinaryModelBase
{
[BinaryData(2)]
public virtual EntryType Type { get; set; }
[Bina... | 1.921777 | 89fa8e3516742edc8e2861a20420b7ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809673 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "benaadams/KestrelHttpServer",
"max_stars_repo_path": "test/Kestrel.Performance/RequestParsingBenchmark.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128893"
} | starcoder | <gh_stars>1-10
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO.Pipelines;
using BenchmarkDotNet.Attributes;
using Microsoft.AspNetCore.Server.Kestrel.Core;
using Microsoft.AspNetCore.... | 1.812663 | 0ad15adb8f4b71a0e426eb0642647d28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809674 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "berkut998/Scrambler",
"max_stars_repo_path": "Clone_CryptaTool/Model/Ciphers/Vigener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128894"
} | starcoder | <filename>Clone_CryptaTool/Model/Ciphers/Vigener.cs
using System;
namespace Vigener
{
class Cipher_Vigener
{
static private char[] characters = new char[] {
'а','б','в','г','д','е','ё','ж','з','и','й','к',
... | 3.25143 | 5a4bba76117b720db9504645decd9637 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809675 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tomi901/3dPlatformerTest",
"max_stars_repo_path": "Assets/Scripts/Player.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128895"
} | starcoder | using UnityEngine;
[RequireComponent(typeof(PlayerMovement))]
public class Player : MonoBehaviour
{
[SerializeField]
private int coins = 0;
public int Coins { get { return coins; } }
public event System.Action<int> OnCoinsCollected;
private PlayerMovement playerMovement = null;
public Play... | 2.648575 | 830a099c47ee1e0ae19f0734d7f97629 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809676 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "XElementDev/CloudSyncHelper",
"max_stars_repo_path": "Logic/Test_Logic.Implementation/testExecution/testMkLink/testExecutor_NonAdmin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128896"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Security.AccessControl;
using Telerik.JustMock;
using XElement.DotNet.System.Environment.UserInformation;
using XeRandom = XElement.TestUtils.Random;
namespace XElement.CloudSyncHelper.Logic.Execution.MkLink
{
[TestClass]
public class testExecut... | 1.804021 | d85c459fe622ab17d5da25e36dd0cd5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809677 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Shakartoon/BOUNCE_BACK",
"max_stars_repo_path": "Assets/NotMine/AudioVisualizer/Scripts/Core/DisableOnTime.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128897"
} | starcoder | using UnityEngine;
using System.Collections;
namespace AudioVisualizer
{
/// <summary>
/// Disables an object after it's been active for a set amount of time.
/// </summary>
public class DisableOnTime : MonoBehaviour
{
//____________Public Variables
[Tooltip("Disable t... | 2.922935 | 933d77a11f5e94ce7e7769ccc8049e21 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809678 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saeedmaghdam/CandleStick.Net",
"max_stars_repo_path": "StockNet.Application/CandleSticks/Queries/GetAfter/GetAfterCandleStickQueryHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128898"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
using StockNet.Application.Common.Interfaces;
namespace StockNet.Application.CandleSticks.Queries.GetAfter
{
public class GetAfterCandleStickQueryHandler : IQueryHandler<GetAfterCandleStickQuery, GetAfterCandleStickQueryResult>
{
private readonly IC... | 2.505842 | d9ac83fcefd3ebda4e5c6914dc5e17e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809679 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kpietralik/azure-functions-dotnet-extensions",
"max_stars_repo_path": "src/samples/DependencyInjection/Basic/SampleGreeter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128899"
} | starcoder | <reponame>kpietralik/azure-functions-dotnet-extensions
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Functions.Samples.DependencyInjectionBasic
{
public class SampleGreeter : IGreeter... | 1.938066 | b623e95b60de05c8321e8cbdc2782865 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809680 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "isabella232/facebook-winclient-sdk",
"max_stars_repo_path": "Samples/BasicAppUniversal/BasicAppUniversal/BasicAppUniversal.WindowsPhone/MainPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128900"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Wind... | 1.873714 | ecf14cb0e72f2b300670f7746099e8c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809681 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "shmartel/azure-sdk-for-net",
"max_stars_repo_path": "sdk/storage/Azure.Storage.Webjobs.Extensions.Blobs/src/DelegatingStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128901"
} | starcoder | <filename>sdk/storage/Azure.Storage.Webjobs.Extensions.Blobs/src/DelegatingStream.cs<gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.Azure.WebJobs.Hos... | 2.410336 | 3e99c561fd1b01e7c8dfdfab188e304f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809682 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guanhh/wbbvnext",
"max_stars_repo_path": "WBBModules/School/WBBvNext.School.Extension/SchoolModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128902"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WBBvNext.Base;
namespace WBBvNext.WBB.Extension
{
public class SchoolModule : WBBModuleBase, IWBBModule
{
public override string Name => "School";
public override string D... | 1.843619 | c44c883cdf529093f0636984e63bd391 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809683 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "welbertwpg/aspnet-identity-mongo",
"max_stars_repo_path": "src/CoreTests/IdentityUserTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128903"
} | starcoder | namespace Tests
{
using MongoDB.Identity;
using MongoDB.Bson;
using NUnit.Framework;
using static NUnit.StaticExpect.Expectations;
// todo low - validate all tests work
[TestFixture]
public class IdentityUserTests
{
[Test]
public void ToBsonDocument_IdAssigned_MapsToBsonObjectId()
{
var user... | 2.514613 | 0fb0f8cbe2bb400aa5b63dfb46c0d3d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809684 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "chylex/Avalonia",
"max_stars_repo_path": "src/Avalonia.Controls/Generators/ITreeItemContainerGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128904"
} | starcoder | <gh_stars>1-10
namespace Avalonia.Controls.Generators
{
/// <summary>
/// Creates containers for tree items and maintains a list of created containers.
/// </summary>
public interface ITreeItemContainerGenerator : IItemContainerGenerator
{
/// <summary>
/// Gets the container index f... | 2.032194 | e420c39366c5f88c8bb212f34d62a974 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809685 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "denpadokei/BeatSaberCustomNotes",
"max_stars_repo_path": "CustomNotes/Settings/UI/NoteListViewController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128905"
} | starcoder | using HMUI;
using System;
using System.Collections;
using Zenject;
using UnityEngine;
using UnityEngine.UI;
using CustomNotes.Data;
using CustomNotes.Managers;
using CustomNotes.Utilities;
using CustomNotes.Settings.Utilities;
using BeatSaberMarkupLanguage.Attributes;
using BeatSaberMarkupLanguage.Components;
using Be... | 1.734519 | 3bc070dbbee8ee344a4b35398a819745 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809686 | {
"extension": "c-sharp",
"max_stars_count": "505.0",
"max_stars_repo_name": "truthiswill/WoA-Installer-Rpi",
"max_stars_repo_path": "Installer.UI/IFilePicker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128906"
} | starcoder | <reponame>truthiswill/WoA-Installer-Rpi
using System.Collections.Generic;
namespace Installer.UI
{
public interface IFilePicker
{
string InitialDirectory { get; set; }
List<FileTypeFilter> FileTypeFilter { get; }
string PickFile();
}
} | 1.660482 | 2312c3efdd5ae9fdd02d9a05648e4aea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809687 | {
"extension": "c-sharp",
"max_stars_count": "650.0",
"max_stars_repo_name": "dariabokareva/vk",
"max_stars_repo_path": "VkNet/Exception/NeedHttpsException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128907"
} | starcoder | <gh_stars>100-1000
using System;
using VkNet.Model;
using VkNet.Utils;
namespace VkNet.Exception
{
/// <summary>
/// Исключение, которое выбрасывается, если требуется выполнение запросов по HTTPS
/// Требуется выполнение запросов по протоколу HTTPS, т.к. пользователь включил
/// настройку, требующую работу через
... | 2.225998 | 7c70be4c2e61adf9fe5c8d2602eb99a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809688 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterthomet/BioPuur",
"max_stars_repo_path": "nopCommerce 4.4/src/Tests/Nop.Tests/Nop.Services.Tests/Customers/CustomerRegistrationServiceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128908"
} | starcoder | <reponame>peterthomet/BioPuur
using System;
using System.Threading.Tasks;
using FluentAssertions;
using Nop.Core.Domain.Customers;
using Nop.Services.Customers;
using Nop.Services.Security;
using NUnit.Framework;
namespace Nop.Tests.Nop.Services.Tests.Customers
{
[TestFixture]
public class CustomerRegistratio... | 2.068558 | 5247b6193178093489d92b037db37ff1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809689 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KvanTTT/Draft-Projects",
"max_stars_repo_path": "EjectionGame/WindowsPhoneGame1/WindowsPhoneGame1/ScreenManager/ScreenManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128909"
} | starcoder | <reponame>KvanTTT/Draft-Projects<filename>EjectionGame/WindowsPhoneGame1/WindowsPhoneGame1/ScreenManager/ScreenManager.cs
#region File Description
//-----------------------------------------------------------------------------
// ScreenManager.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Co... | 2.556728 | 68debde6fbde5ffe21849c8bde5e7b45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809690 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rajeeshckr/managing-responsibility",
"max_stars_repo_path": "tactical-design-patterns-dot-net-control-flow/8-exercise-files/03_Code Contracts Demo/NullReferencesDemo/Presentation/PurchaseReports/NotSignedIn.cs",
"provenance": "train-0... | starcoder | using NullReferencesDemo.Presentation.Interfaces;
namespace NullReferencesDemo.Presentation.PurchaseReports
{
public class NotSignedIn: IPurchaseReport
{
}
}
| 1.274767 | ead294809bb5ee06281e5d8576bd5e5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809691 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "nschonni/OrchardCore",
"max_stars_repo_path": "src/OrchardCore.Modules/OrchardCore.Lucene/LuceneSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128911"
} | starcoder | using System.Collections.Generic;
using Lucene.Net.Util;
namespace OrchardCore.Lucene
{
public class LuceneSettings
{
public static string StandardAnalyzer = "standardanalyzer";
public static LuceneVersion DefaultVersion = LuceneVersion.LUCENE_48;
public string SearchIndex { get; set;... | 2.066571 | 81a90d013af1f04799bda6ddf42e914d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809692 | {
"extension": "c-sharp",
"max_stars_count": "192.0",
"max_stars_repo_name": "Vinay1705/cs2cpp",
"max_stars_repo_path": "CoreLib/System/Reflection/InterfaceMapping.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128912"
} | starcoder | // Licensed under the MIT license.
namespace System.Reflection
{
using System;
[System.Runtime.InteropServices.ComVisible(true)]
public struct InterfaceMapping
{
[System.Runtime.InteropServices.ComVisible(true)]
public Type TargetType; // The type implementing the interface
... | 2.234011 | a6e9cac986cfb973e61231a7ebe6993c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809693 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasonbs01/DungeonCloud",
"max_stars_repo_path": "Source/DungeonService/DepthFirstGenerator/DungeonGeneratorDepthFirst.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128913"
} | starcoder | <gh_stars>0
using DungeonCloud.DungeonCommon;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DungeonCloud.DungeonService.DepthFirstGenerator
{
enum CellContentsType
{
Bedrock,
Room,
Hall
}
internal ... | 2.660166 | 03673fbc36483f9eb0319c6debdda58d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809694 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "goatandsheep/IOWrapper",
"max_stars_repo_path": "Source/Core Providers/Core_Midi/DeviceLibraries/MidiDeviceLibrary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128914"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hidwizards.IOWrapper.Libraries.DeviceLibrary;
using HidWizards.IOWrapper.DataTransferObjects;
using NAudio.Midi;
namespace Core_Midi.DeviceLibraries
{
publ... | 2.336708 | 690fc000bb17cd6bb5d6df32cfe8d9da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809695 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "habbes/ODataConnectedService",
"max_stars_repo_path": "src/ViewModels/ConfigODataEndpointViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128915"
} | starcoder | <filename>src/ViewModels/ConfigODataEndpointViewModel.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Globalization;
using System.IO;
using System.Net;
using System.Threading.Ta... | 2.015271 | 48997290d3f676fd5fb5c85bad581268 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809696 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lbussell/vstest",
"max_stars_repo_path": "src/vstest.console/Internal/FilePatternParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128916"
} | starcoder | <gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#pragma warning disable IDE1006 // Naming Styles
namespace vstest.console.Internal;
#pragma warning restore IDE1006 // Naming Styles
using Mic... | 2.394863 | 20456210be509385c3ccc8ba0480ae48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809697 | {
"extension": "c-sharp",
"max_stars_count": "669.0",
"max_stars_repo_name": "frenziedtalon/ExchangeSharp",
"max_stars_repo_path": "src/ExchangeSharp/Traders/TraderExchangeExport.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128917"
} | starcoder | /*
MIT LICENSE
Copyright 2017 Digital Ruby, LLC - http://www.digitalruby.com
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, ... | 2.698452 | 0edc6543c98be7395a70584b8185f39b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809698 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Viridovics/AirMVVM",
"max_stars_repo_path": "src/AirMVVM.Commands/SingleExecutionCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128918"
} | starcoder | using System;
using System.Windows.Input;
namespace AirMVVM.Commands
{
public class SingleExecutionCommand : BaseCommand
{
private readonly Action _execute;
private readonly Action<object> _executeWithParam;
private bool _commandStarted = false;
public SingleExecutionCommand(... | 2.892063 | 85484288d71cae481f137af5aa0fda4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809699 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abitmore/uno",
"max_stars_repo_path": "src/Uno.UI/UI/Xaml/Markup/XamlServiceProviderContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128919"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Markup;
namespace Uno.UI.Xaml.Markup
{
internal partial class XamlServiceProviderContext : IXamlServiceProvider, IProvideValueTarget, IRootObjectProvider, IUriContext, IXamlTypeResolver
{
// On uwp and ... | 2.122302 | d6d26d52ac34a4244744d76bb5ad90f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809700 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "josuuribe/nCubed",
"max_stars_repo_path": "Framework.Common/Configurations/N3Section.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128920"
} | starcoder | using RaraAvis.nCubed.Core.Configurations.CQRS;
using RaraAvis.nCubed.Core.Configurations.DDD;
using RaraAvis.nCubed.Core.Configurations.EventSourcing;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.T... | 2.147089 | d04449bc4bd850748b0d485b8cd83e4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809701 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "AaronFriel/pulumi-google-native",
"max_stars_repo_path": "sdk/dotnet/CloudIoT/V1/Inputs/DeviceCredentialArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128921"
} | starcoder | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Goog... | 2.013197 | f72179f262291c113dabe116c4028a40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809702 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MCKanpolat/AppMetrics.StatusPage",
"max_stars_repo_path": "src/AppMetrics.StatusPage/Core/Enums.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128922"
} | starcoder | namespace AppMetrics.StatusPage
{
public enum CheckStatus
{
Unknown,
Unhealthy,
Healthy,
Degraded
}
}
| 1.388311 | e1196e88faf75bca16ce2fa723f30c89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809703 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MuckAboutGames/JunkyardJuice",
"max_stars_repo_path": "Assets/Scripts/Tiles/TileManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128923"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
public class TileManager : MonoBehaviour
{
[SerializeField]
private Tilemap gameTilemap;
[SerializeField]
private List<Transform> tilePrefabList;
[SerializeField]
pri... | 2.626878 | 1e40b65cd3c3885884b82101a82add76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809704 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lizardking/BroadlinkSharp",
"max_stars_repo_path": "BroadlinkSharp/MP1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128924"
} | starcoder | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.NetworkInformation;
using System.Text;
namespace BroadlinkSharp
{
[BroadlinkDevice(0x4EB5,"MP1")]
[BroadlinkDevice(0x4EF7, "Honyar oem mp1")]
public class MP1 : BroadlinkDevice
{
public MP1(IPEndPoint host, Phys... | 1.949879 | 5d8978d8bffa6ecb2025d6f065b8ab81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809705 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gbodacs/WebAppEngine",
"max_stars_repo_path": "SimpleWebApp/Pages/admin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128925"
} | starcoder | <filename>SimpleWebApp/Pages/admin.cs
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleWebApp.Pages
{
class AdminPage : iPage
{
public override string Render()
{
return "<h1>Logged in - Admin page<h1>";... | 1.919139 | d18dc37e00fa85cec43a35208042bdab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809706 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DanFlannel/Pokemon_API",
"max_stars_repo_path": "Pokemon_API/DatabaseSchemas/Moves/Tables/Move.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128926"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MySql.Data.MySqlClient;
using Pokemon_API.Extensions;
namespace Pokemon_API.DatabaseSchemas.Moves.Tables
{
public class Move : TableQueries<Models.Moves>
{
public override string Database => "Moves";
pub... | 2.70683 | f44614fde6eaef9be4c4cc776154d316 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809707 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aurigma/WinControls",
"max_stars_repo_path": "VectorObjects/Objects/GripsProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128927"
} | starcoder | // Copyright (c) 2018 Aurigma Inc. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
namespace Aurigma.GraphicsMill.WinControls
{
/// <summary>
/// Interim object which simplifies work with IControlPointsProvider interface of a vector o... | 2.192549 | 42cdd080c4e9d4a54aaa050323008059 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809708 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bozhiqian/AzureApiAppClient",
"max_stars_repo_path": "AspnetCoreMvcClientDemo/PeopleDemo/ViewModel/PetsViewModels.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128928"
} | starcoder | using System;
namespace People.Data.ViewModel
{
public class PetsViewModels
{
public PetsViewModel PetsViewModelAgl { get; set; }
public Uri AglJsonUrl { get; set; }
}
}
| 1.335719 | c525044ccc43d855f53e69a5c079fc8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809709 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "salmonem/CityToursCapstone",
"max_stars_repo_path": "FinalCapstone/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:128929"
} | starcoder | @using FinalCapstone
@using FinalCapstone.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.703716 | 180e960c76130447a1182de695b18770 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809710 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeffreylederer/Inventory",
"max_stars_repo_path": "Inventory/Controllers/ReportController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128930"
} | starcoder | <filename>Inventory/Controllers/ReportController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Inventory.Controllers
{
public class ReportController : Controller
{
// GET: Report
public ActionResult ReportViewer()
... | 1.791611 | 5db66a31d54132ce5e4eefa115ef2c5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809711 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HomemadeToast57/flappy-bird",
"max_stars_repo_path": "Assets/PipeSpawner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128931"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PipeSpawner : MonoBehaviour
{
public float maxTime = 1;
private float timer = 0;
public GameObject pipe;
public float height;
// Start is called before the first frame update
void Star... | 2.251696 | dc3102ad2c29ca84b483bb7949bbd5fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809712 | {
"extension": "c-sharp",
"max_stars_count": "59.0",
"max_stars_repo_name": "x1234xx/pace",
"max_stars_repo_path": "Pace.Common/Network/Packets/Server/DownloadFileRequestPacket.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128932"
} | starcoder | <reponame>x1234xx/pace<gh_stars>10-100
using System;
namespace Pace.Common.Network.Packets.Server
{
[Serializable]
public class DownloadFileRequestPacket : IPacket
{
public string Url { get; set; }
public DownloadFileRequestPacket(string url)
{
Url = url;
... | 1.999152 | bc22d5058ed85bf20d837c9dc64657f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809713 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "haesemeyer/2PAnalyzer",
"max_stars_repo_path": "PluginAPI/ImageStack32F.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128933"
} | starcoder | <reponame>haesemeyer/2PAnalyzer
/*
Copyright 2016 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicabl... | 2.708053 | 2f6fbff584dd9961c8ee02da44f619c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809714 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "duncanp-sonar/Wintellect.Analyzers",
"max_stars_repo_path": "Source/Wintellect.Analyzers/Wintellect.Analyzers/Usage/CodeFixes/ClassesShouldBeSealedCodeFixProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128934"
} | starcoder | <filename>Source/Wintellect.Analyzers/Wintellect.Analyzers/Usage/CodeFixes/ClassesShouldBeSealedCodeFixProvider.cs<gh_stars>10-100
/*------------------------------------------------------------------------------
Wintellect.Analyzers - .NET Compiler Platform ("Roslyn") Analyzers and CodeFixes
Copyright (c) Wintellect. ... | 2.130593 | 0cd7141820db26cf3aff2000736b3295 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809715 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "arzunuvar/ASP.NET_MVC_eRestaurant_Sitesi",
"max_stars_repo_path": "eRestaurantBackend/eRestaurant.Model/Respository/IRespository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128935"
} | starcoder | <filename>eRestaurantBackend/eRestaurant.Model/Respository/IRespository.cs
using eRestaurant.Model.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace eRestaurant.Model.Respository
{
/// <summary>
/// Gemeric repository interface definition.
... | 2.584498 | 7216c6eb5e0202942b105b8ca35c3274 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809716 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sumitseth/vk",
"max_stars_repo_path": "VkNet.Tests/Enum/Filters/MultivaluedFilterTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128936"
} | starcoder | using System.Diagnostics.CodeAnalysis;
using NUnit.Framework;
using VkNet.Enums.Filters;
namespace VkNet.Tests.Enum.Filters
{
[TestFixture]
[ExcludeFromCodeCoverage]
public class MultivaluedFilterTest
{
[Test]
public void AccountFieldsTest()
{
// get test
Assert.That(AccountFields.Country.ToString(), I... | 2.017171 | a8cf44c70b2ff333c434631472ebee52 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809717 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "sharkoz/StandardSocketsHttpHandler",
"max_stars_repo_path": "Xunit.NetCore.Extensions/Discoverers/SkipOnTargetFrameworkDiscoverer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128937"
} | starcoder | <reponame>sharkoz/StandardSocketsHttpHandler
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Linq;
using System.Collections.Generic;
using Xunit... | 1.838627 | edbb73c5b7458ea35c9a61b604adb928 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.