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 | 8835612 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jfcardinal/BantamCs",
"max_stars_repo_path": "src/Parser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154832"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using com.stuffwithstuff.bantam.expressions;
using com.stuffwithstuff.bantam.parselets;
namespace com.stuffwithstuff.bantam {
public class Parser {
private Lexer _tokens;
private List<Token> _read = new List<Token>();
private Dictionary<TokenType, IPr... | 2.738015 | 5fc8589c87be91b4bbdfede35f2322a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835613 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "ronaldgameking/spacepuppy-unity-framework-4.0",
"max_stars_repo_path": "Framework/com.spacepuppy.statemachine/Runtime/src/StateMachine/IStateMachine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154833"
} | starcoder | using System.Collections.Generic;
using com.spacepuppy.Collections;
namespace com.spacepuppy.StateMachine
{
public interface IStateMachine<T>
{
event StateChangedEventHandler<T> StateChanged;
T Current { get; }
}
public interface IStateCollection<T> : IStateMachine<T>, IRadicalEnum... | 2.854983 | b9c02ccab4f92d99e4c501e41723c48a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835614 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daborg69/SampleForGit",
"max_stars_repo_path": "src/PrinterMgr/Emailing.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154834"
} | starcoder | <filename>src/PrinterMgr/Emailing.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace PrinterMgr
{
class Emailing
{
public Emailing () {}
public bool Status () {
return true;
}
}
}
| 1.965855 | 547b9b466a0c02917151528595b86d83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835615 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "moto2002/tianqi_src",
"max_stars_repo_path": "src/ReadOnlyException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154835"
} | starcoder | <gh_stars>1-10
using System;
public class ReadOnlyException : Exception
{
}
| 1.328384 | 08300106a794b95e9660df4f524a19ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835616 | {
"extension": "c-sharp",
"max_stars_count": "234.0",
"max_stars_repo_name": "Drul1337/DigitalRune",
"max_stars_repo_path": "Source/DigitalRune.Windows.Charts/ChartPanel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154836"
} | starcoder | // DigitalRune Engine - Copyright (C) DigitalRune GmbH
// This file is subject to the terms and conditions defined in
// file 'LICENSE.TXT', which is part of this source code package.
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
usi... | 2.704822 | 2a5ac82059367854f20df8c3dfe97560 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835617 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "EladGabay/pulumi-oci",
"max_stars_repo_path": "sdk/dotnet/DataScience/Inputs/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsGetArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154837"
} | starcoder | <reponame>EladGabay/pulumi-oci
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
usi... | 1.62835 | 86cbd8afcddfcdad1e8678ddd4062a5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835618 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AndrewChill/Aquarius",
"max_stars_repo_path": "Classes/OverlayManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154838"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.WebSockets;
using System.Reflection;
using System.Text;
using System.Threading;
namespace Aquarius
{
public class OverlayManager
{
#region Instance
private static OverlayM... | 2.544405 | 5d2713e15b2ab2a6650f3d8084d212fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835619 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arsalanfallahpour/RazorTechnologies",
"max_stars_repo_path": "Source/Helpers/TagHelpers/Source/LayoutManager/Models/Html/HtmlTagContent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154839"
} | starcoder | <filename>Source/Helpers/TagHelpers/Source/LayoutManager/Models/Html/HtmlTagContent.cs<gh_stars>0
using System;
namespace RazorTechnologies.TagHelpers.LayoutManager.Models.Html
{
public class HtmlTagContent : BaseStringModelValue, IHtmlTagContent
{
public HtmlTagContent(string htmlContent)
... | 2.398083 | fe6fadd1fe2e5ca7c89a2b178c2f4ef6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835620 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wuxiaod1987/WCAE",
"max_stars_repo_path": "WCAE/Geo/WGeos2D/Funcs/Geo2D_CurvesRims_Old2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154840"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using WCAE.WGeos2D;
using WCAE.WGeos2D.Entities;
namespace WCAE.WGeos2D.Funcs
{
/// <summary>
/// 由三个点连接的内夹角
/// </summary>
static class Geo2D_CurvesRims_Old2
{
private static List<int>[... | 2.527806 | 3d3bea5d78c34ffb6d16197bccfccf5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835621 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ryuichi24/IMBox",
"max_stars_repo_path": "src/Services/Movie/Movie.API/src/Consumers/MemberDeletedIntegrationEventConsumer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154841"
} | starcoder | using System.Threading.Tasks;
using IMBox.Services.IntegrationEvents;
using IMBox.Services.Movie.Domain.Repositories;
using MassTransit;
using Microsoft.Extensions.Logging;
namespace IMBox.Services.Movie.API.Consumers
{
public class MemberDeletedIntegrationEventConsumer : IConsumer<MemberDeletedIntegrationEvent>
... | 2.398471 | a4786c8a13cb1ea9be3f44b02a9514ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835622 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jjeffery/Cesto",
"max_stars_repo_path": "src/Cesto.SelfHost/WinForms/DisplaySettings/DisplaySettingInt32Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154842"
} | starcoder | <reponame>jjeffery/Cesto<filename>src/Cesto.SelfHost/WinForms/DisplaySettings/DisplaySettingInt32Extensions.cs
#region License
// Copyright 2004-2013 <NAME> <<EMAIL>>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may ob... | 2.212066 | 515ada005402a3241e424e658002e73f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835623 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Gibe/ImageSharp.Web",
"max_stars_repo_path": "src/ImageSharp.Web.Providers.AWS/Caching/AWSS3StorageCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154843"
} | starcoder | // Copyright (c) <NAME>.
// Licensed under the Apache License, Version 2.0.
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Amazon.S3;
using Amazon.S3.Model;
using Microsoft.Extensions.Options;
using SixLabors.ImageSharp.Web.Resolvers;
using SixLabors.ImageSharp.Web.Resolvers.AWS... | 2.383066 | c267839f1b01261158bff741d143e89e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835624 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Avengers-Assembly/GameJam_CITM",
"max_stars_repo_path": "AssemblyGame/Assets/Script/EventSystem/Events/Act2/E_Calendar1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154844"
} | starcoder | <reponame>Avengers-Assembly/GameJam_CITM
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class E_Calendar1 : EventAbstract
{
public override void DoAction()
{
actor.GetComponent<DialogTrigger>().TriggerDialogue(1);
//actor.GetComponent<AudioSource>().Play(... | 1.114724 | 1671b36d1715ca897941ef0bb882a069 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835625 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "calebjenkins/MediatRAspNetCore",
"max_stars_repo_path": "MediatrSample/Api/Movie/NewMovieHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154845"
} | starcoder | using MediatR;
using System.Threading;
using System.Threading.Tasks;
namespace MediatrSample.Api.Movie
{
public class NewMovieHandler : IRequestHandler<NewMovieCommand,Movie>
{
private readonly IMovieRepository _movieRepository;
public NewMovieHandler(IMovieRepository movieRepository)
... | 2.771561 | 585eaaf3a82f6cf8cadb85fb6053c6f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835626 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "DJKampouris/Avapi",
"max_stars_repo_path": "Avapi/CURRENCY_EXCHANGE_RATE/Int_CURRENCY_EXCHANGE_RATE.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154846"
} | starcoder | <filename>Avapi/CURRENCY_EXCHANGE_RATE/Int_CURRENCY_EXCHANGE_RATE.cs
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Avapi.AvapiCURRENCY_EXCHANGE_RATE
{
public interface Int_CURRENCY_EXCHANGE_RATE
{
IAvapiResponse_CURRENCY_EXCHANGE_RATE QueryPrimitive(
string from_currency,
st... | 2.10949 | 463ebd67ee9c69aefbfd994d50572bca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "harjup/LudumDare32",
"max_stars_repo_path": "src/Assets/Scripts/Bootstrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154847"
} | starcoder | <filename>src/Assets/Scripts/Bootstrapper.cs
using System;
using System.Collections.Generic;
using Assets.Scripts;
using UnityEngine;
public class Bootstrapper : MonoBehaviourBase {
private readonly Dictionary<Type, string> _managerPrefabs = new Dictionary<Type, string>()
{
{typeof(MainManage... | 2.450184 | 523308a74305683691f99d6d342b4a70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835628 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dellis1972/maui",
"max_stars_repo_path": "src/Essentials/src/Screenshot/Screenshot.ios.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154848"
} | starcoder | <reponame>dellis1972/maui<filename>src/Essentials/src/Screenshot/Screenshot.ios.cs
#nullable enable
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using CoreAnimation;
using CoreGraphics;
using ObjCRuntime;
using U... | 1.981807 | a7995a015396e31948764f7fda68f470 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835629 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KingLurchi/I2C",
"max_stars_repo_path": "src/I2C.Core/Exceptions/DeviceNotFoundException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154849"
} | starcoder | using System;
namespace I2C.Core.Exceptions
{
public class DeviceNotFoundException : Exception
{
public DeviceNotFoundException(string device) : base($"A connected {device} sensor could not be found.")
{
}
}
} | 2.30501 | c66702462631f9c46f4fea0d9cb99fd1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835630 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xdedss/TankJS",
"max_stars_repo_path": "Assets/TankJS/Scripts/BotSelect.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154850"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class BotSelect : MonoBehaviour
{
public static List<BotSelect> instances = new List<BotSelect>();
public static void Add(BotSelect original)
{
var copy = Instantiate(original.gameObject);
... | 2.354259 | 42555d3312cbced88071dc9d04962fb5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835631 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FelipeAMendes/dattingapp",
"max_stars_repo_path": "Api/Extensions/HttpExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154851"
} | starcoder | using Api.Helpers;
using Microsoft.AspNetCore.Http;
using System.Text.Json;
namespace Api.Extensions
{
public static class HttpExtensions
{
public static void AddPaginationHeader<T>(this HttpResponse response, PagedList<T> pagedList)
{
var paginationHeader = new PaginationHeader(pag... | 2.434825 | a605db847f514728340dee724e876f41 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835632 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Maskln/OOP",
"max_stars_repo_path": "02.DefiningClassesPart2/Structure/DistanceCalculation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154852"
} | starcoder | <gh_stars>0
using System;
namespace Structure
{
public static class DistanceCalculation
{
public static double CalculateDistance(Point3D pointA, Point3D pointB)
{
double distance = Math.Sqrt((pointA.X - pointB.X) * (pointA.X - pointB.X) +
(p... | 2.699271 | 2e87ba22b8225471f2faa8c64489d39e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835633 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "javierpardollama/BONDAGE",
"max_stars_repo_path": "Bondage.Portal/Bondage.Tier.ViewModels/Interfaces/Additions/IAddBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154853"
} | starcoder | <filename>Bondage.Portal/Bondage.Tier.ViewModels/Interfaces/Additions/IAddBase.cs<gh_stars>0
namespace Bondage.Tier.ViewModels.Interfaces.Additions
{
/// <summary>
/// Represents a <see cref="IAddBase"/> interface
/// </summary>
public interface IAddBase
{
/// <summary>
/// Gets or ... | 1.972996 | ec4dc4c484bd240a5552aabdc3a32330 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835634 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EifelMono/EifelMono.Blazor",
"max_stars_repo_path": "src/EifelMono.Blazor.Flow/Flow.Flow/FlowExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154854"
} | starcoder | <reponame>EifelMono/EifelMono.Blazor
using Microsoft.AspNetCore.Components;
namespace EifelMono.Blazor.Flow
{
public static class FlowExtensions
{
/// <summary>
/// This Redraw only redraws the component direct,
/// but not all the children of this component.
/// It depends ..... | 2.554183 | 3a7acb77b39ebae91821901c5f3a1076 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835635 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EasyLOB/EasyLOB-Chinook-1",
"max_stars_repo_path": "Chinook.Mvc.AJAX/Controllers/Chinook/CustomerDocumentController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154855"
} | starcoder | using Newtonsoft.Json;
using Syncfusion.JavaScript;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Web.Mvc;
using Chinook.Application;
using Chinook.Data;
using Chinook.Data.Resources;
using EasyLOB;
using EasyLOB.Data;
using EasyLOB.Library;
using EasyLOB.Library.Mvc... | 1.956421 | f10a2d367ead5bbdfc5c2430d4cd8e35 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835636 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cmberryau/maps",
"max_stars_repo_path": "Solution/Maps.Tests/Geographical/Features/TiledFeatureTargetTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154856"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using Maps.Extensions;
using Maps.Geographical;
using Maps.Geographical.Features;
using Maps.Geographical.Tiles;
using NUnit.Framework;
namespace Maps.Tests.Geographical.Features
{
/// <summary>
/// An series of minimum tests for ITiledFeatureTarge... | 2.567771 | bae7706227cddd6c80aba8f2d434e00e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835637 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stockmansy/NoeSBot",
"max_stars_repo_path": "NoeSbot/Helpers/DownloadHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154857"
} | starcoder | using Discord;
using Discord.WebSocket;
using Newtonsoft.Json;
using NoeSbot.Converters;
using NoeSbot.Database.Services;
using NoeSbot.Enums;
using NoeSbot.Models;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.IO;
using Sys... | 2.635859 | 69393f0c4131e0a6a162cd2ef7b15993 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835638 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mastertnt/open-dis-csharp",
"max_stars_repo_path": "Libs/CsharpDis6/Enumerations/EntityState/EntityForceId.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154858"
} | starcoder | <reponame>mastertnt/open-dis-csharp<gh_stars>0
// Copyright 2008-2011. This work is licensed under the BSD license, available at
// http://www.movesinstitute.org/licenses
//
// Orignal authors: DMcG, <NAME>
// Modified for use with C#:
// - <NAME> (Naval Air Warfare Center - Training Systems Division)
// - <NAME> (Blub... | 2.205741 | 42725ccbb25d9b2fd7c05eb9ae6c72c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835639 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "cofoundry-cms/Cofoundry.Samples.Menus",
"max_stars_repo_path": "src/Cofoundry.Samples.Menus/Views/Shared/Components/MultiLevelMenu/Default.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:154859"
} | starcoder | <reponame>cofoundry-cms/Cofoundry.Samples.Menus<filename>src/Cofoundry.Samples.Menus/Views/Shared/Components/MultiLevelMenu/Default.cshtml
@model MultiLevelMenuViewModel
@if (Model.Nodes == null)
{
<p>Multi-level Menu with the identifier <strong>"@Model.MenuId"</strong> not defined.</p>
}
else
{
<ul>
... | 2.325493 | cfaa4da289041fff2eeca9e48de0bcb1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835640 | {
"extension": "c-sharp",
"max_stars_count": "269.0",
"max_stars_repo_name": "gaelgael5/edi",
"max_stars_repo_path": "src/Edi.Documents/ViewModels/EdiDoc/HtmlWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154860"
} | starcoder | <filename>src/Edi.Documents/ViewModels/EdiDoc/HtmlWriter.cs
// SharpDevelop samples
// Copyright (c) 2010, AlphaSierraPapa
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// - Redistributi... | 2.193621 | be20a9dbf256302ee1becf831b6072dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835641 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArbitaryMann/OrdinaryInjector",
"max_stars_repo_path": "OrdinaryInjector/MemoryKit/Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154861"
} | starcoder | namespace MemoryKit
{
// Token: 0x02000004 RID: 4
public partial class Form1 : global::System.Windows.Forms.Form
{
// Token: 0x06000016 RID: 22 RVA: 0x000026BC File Offset: 0x000008BC
protected override void Dispose(bool disposing)
{
bool flag = disposing && this.components != null;
if (flag)
{
t... | 2.108295 | 041595eb0d3b895a13ea8feed0e9b418 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835642 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ilovejs/PetShopv4",
"max_stars_repo_path": "Backup/IDAL/IProduct.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154862"
} | starcoder | <reponame>ilovejs/PetShopv4
using System;
using System.Collections.Generic;
using PetShop.Model;
namespace PetShop.IDAL{
/// <summary>
/// Interface for the Product DAL
/// </summary>
public interface IProduct{
/// <summary>
/// Method to search products by category name
/// </summary>
/// <param name=... | 2.597327 | 7ee43c79614f866b319884b565588292 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835643 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stackprobe/TCalc2",
"max_stars_repo_path": "FatCalc/FatCalc/InputDlg.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154863"
} | starcoder | <filename>FatCalc/FatCalc/InputDlg.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Charlotte.Tools;
namespace Charlotte
{
public partial class InputDlg : Form
{
public I... | 2.368531 | 9db65399988b27e08147cf392838b87e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835644 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tommoon/CatcheeMonkeyGame",
"max_stars_repo_path": "scripts/LivesManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154864"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
#if ANDROID_NOTIFICATIONS
using Assets.SimpleAndroidNotifications;
#endif
namespace ExaGames.Common {
/// <summary>
/// Lives system manager by ExaGames.
/// </summary>
/// <coauthor><NAME></coauthor>
/// <coauthor><NAME... | 2.566089 | 85a1061555f7e0fddc97c71657d01d95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835645 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "copyliu/EVEStandard",
"max_stars_repo_path": "EVEStandard/Models/PublicContractItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154865"
} | starcoder | <filename>EVEStandard/Models/PublicContractItem.cs
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace EVEStandard.Models
{
public class PublicContractItem :ModelBase<PublicContractItem>
{
#region Properties
/// <summary>
/// is_blueprint... | 2.499488 | 33f07247970e225186917da65b13aba7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835646 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rabioli/Spirit",
"max_stars_repo_path": "Assets/Scripts/TrackInteractionMaster.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154866"
} | starcoder | <filename>Assets/Scripts/TrackInteractionMaster.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class TrackInteractionMaster : MonoBehaviour
{
public Text timeText, healthText, gameOverText;
public GameObject des... | 2.303858 | 764e4568dda6297faf176b26f89bc7bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835647 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lucky-skebe/Gu.Wpf.NumericInput",
"max_stars_repo_path": "Gu.Wpf.NumericInput/Boxes/BaseBoxes/Status.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154867"
} | starcoder | namespace Gu.Wpf.NumericInput
{
#pragma warning disable SA1602 // Enumeration items must be documented
internal enum Status
{
Idle,
UpdatingFromUserInput,
UpdatingFromValueBinding,
Formatting,
ResettingValue,
Validating,
}
} | 1.599552 | 0fe997afd3f8ba888a80adc0be2546fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835648 | {
"extension": "c-sharp",
"max_stars_count": "138.0",
"max_stars_repo_name": "WOCyo/pmcenter",
"max_stars_repo_path": "pmcenter/Configurations/Conf.RateData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154868"
} | starcoder | namespace pmcenter
{
public static partial class Conf
{
public class RateData
{
public RateData()
{
UID = -1;
MessageCount = 0;
}
public long UID { get; set; }
public int MessageCount { get; set; }
... | 1.588959 | 15c1775c33262a17ff806a3061f7eb4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835649 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivomp/iotcon-opc-ua-connector-dotnet",
"max_stars_repo_path": "src/Infrastructure/Kafka/Common/Configuration/KafkaConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154869"
} | starcoder | <reponame>ivomp/iotcon-opc-ua-connector-dotnet<filename>src/Infrastructure/Kafka/Common/Configuration/KafkaConfig.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
namespace OMP.Device.Connector.Kafka.Common.Configuration
{
public class KafkaConfig
{
private IEnumerable<... | 2.346049 | bb7d43362bb4f45d9680fb32d2e352c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835650 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tinudu/Linx",
"max_stars_repo_path": "src/Linx/Notifications/NotificationKind.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154870"
} | starcoder | namespace Linx.Notifications
{
/// <summary>
/// Kind of a <see cref="Notification{T}"/>.
/// </summary>
public enum NotificationKind : byte
{
/// <summary>
/// Notification representing the end of the sequence.
/// </summary>
Completed,
/// <summary>
... | 2.612056 | ecf7587fb61b726da67628645489d464 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835651 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "splitandthechro/nginz",
"max_stars_repo_path": "src/Games/FlappyMascot/Bird.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154871"
} | starcoder | using System;
using nginz;
using OpenTK;
using OpenTK.Input;
using System.Drawing;
namespace FlappyMascot
{
public class Bird : IUpdatable, IDrawable2D
{
const int MAX_CLICKS = 2;
const float CLICK_COUNT_RESET = 750f;
const float MAX_DRAG = 500;
const float MIN_DRAG = 125;
const float UP_VELOCITY = 0.5f;
... | 2.713017 | f0d4d080bf8368a1ace48182de57ec6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tukzer/Seif",
"max_stars_repo_path": "Seif.Soa/Default/DynamicProxyFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154872"
} | starcoder | using Castle.DynamicProxy;
using Seif.Soa.Client;
using Seif.Soa.Proxy;
namespace Seif.Soa.Default
{
public class DynamicProxyFactory : IProxyFactory
{
private readonly IInvoker _invoker;
public DynamicProxyFactory(IInvoker invoker)
{
_invoker = invoker;
... | 2.374436 | 38914558f639354a6d4c7e693d071b45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fabbbiob/TrainingContent",
"max_stars_repo_path": "SharePoint/APIs/04 Get started with SharePoint webhooks/Demos/SPWebhooksReceiver/SPWebhooksReceiver/Models/SPWebhookNotification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1548... | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SPWebhooksReceiver.Models
{
public class SPWebhookNotification
{
public string SubscriptionId { get; set; }
public string ClientState { get; set; }
public string ExpirationDateT... | 1.12233 | 0159cedda10e99e9ec738db15fd2bf44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835654 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RedBricksStudio/GGJ2016",
"max_stars_repo_path": "Assets/Code/ColliderActions/ActivateSpikeTrap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154874"
} | starcoder | using UnityEngine;
using UnityEngine.SceneManagement;
using System.Collections;
public class ActivateSpikeTrap : MonoBehaviour {
private Animator m_anim;
bool deployed = false;
// Use this for initialization
void Start () {
m_anim = GetComponent<Animator>();
}
// Update is called once per frame
void ... | 2.128362 | fb9c6b765cd8a8af239e984d75bbe6e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835655 | {
"extension": "c-sharp",
"max_stars_count": "252.0",
"max_stars_repo_name": "rsdn/CodeJam",
"max_stars_repo_path": "CodeJam.Main/Ranges/[RangeExtensions]/CompositeRangeExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154875"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
namespace CodeJam.Ranges
{
/// <summary>Extension methods for <see cref="CompositeRange{T}"/>.</summary>
[PublicAPI]
public static partial class CompositeRangeExtensions
{
#region ToCo... | 2.648991 | 8cbba9650e91e4dea6434a4996ae3dfa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835656 | {
"extension": "c-sharp",
"max_stars_count": "125.0",
"max_stars_repo_name": "PeerConradi/BlazorLeaflet",
"max_stars_repo_path": "BlazorLeaflet/BlazorLeaflet/Models/Rectangle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154876"
} | starcoder | namespace BlazorLeaflet.Models
{
/// <summary>
/// A class for drawing rectangle overlays on a map. Extends Polygon.
/// <example>
/// Example:
/// <code>
/// [[54.559322, -5.767822], [56.1210604, -3.021240]]
/// </code>
/// </example>
/// </summary>
public class Rectangle : Pol... | 2.698689 | 1654efc983ed6bd38491db620e3ef3fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835657 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kvd-scm/skvd",
"max_stars_repo_path": "CommitModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154877"
} | starcoder | using System.Collections.Generic;
using Newtonsoft.Json;
namespace SimpleKvd.CLI
{
public class CommitModel
{
[JsonProperty(Order = 0)]
public string TreeHash;
[JsonProperty(Order = 1)]
public string HashesAddress;
[JsonProperty(Order = 2)]
publ... | 1.853149 | d19a9b4f0a78ebd13c0d8d2e076d6919 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835658 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "evacrespob/BeatPulse",
"max_stars_repo_path": "samples/Trackers/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:154878"
} | starcoder | @using Trackers
@using Trackers.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 0.927271 | b03216b43ab8aaad9150f965a7a9a2b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835659 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thecsharper/AIApi",
"max_stars_repo_path": "AIApi.Services/IThirdPartyService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154879"
} | starcoder | <gh_stars>0
using System.Threading.Tasks;
using AIApi.Commands;
namespace AIApi.Services
{
public interface IThirdPartyService
{
public Task<ThirdPartyResponse> SendMessage(SmsSendCommand command);
}
}
| 1.126044 | ca16bfc17b8488e4d01920d69bd3c52d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835660 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "JetStream96/QSimPlanner",
"max_stars_repo_path": "src/Server/GoogleMap/Maps.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154880"
} | starcoder | <filename>src/Server/GoogleMap/Maps.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Hosting;
namespace Server.GoogleMap
{
public static class Maps
{
public static string ApiKey;
public static void LoadAll()
{
... | 2.413454 | 178cdf2f463b21eca5539260586136c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835661 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CDulouard/ProrokTestUnit2",
"max_stars_repo_path": "ProrokUnitTest2V3/Assets/Scripts/UIScripts/ServerDisplayManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154881"
} | starcoder | <reponame>CDulouard/ProrokTestUnit2
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
namespace UIScripts
{
public class ServerDisplayManager : MonoBehaviour
{
public Text statusDisplay;
public GameObject inputPortNumber;
public static int portNumber;
public Im... | 1.832687 | 3868730a47fb1e96edbe73d326beaafc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835662 | {
"extension": "c-sharp",
"max_stars_count": "170.0",
"max_stars_repo_name": "a180285/NsqSharp",
"max_stars_repo_path": "Examples/PointOfSale/PointOfSale.Messages/Invoices/Commands/GetInvoicesCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154882"
} | starcoder | namespace PointOfSale.Messages.Invoices.Commands
{
public class GetInvoicesCommand
{
}
}
| 0.855357 | d1061272e48c95f9613bb75f74acd06f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835663 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "deadlydog/DpsfXna",
"max_stars_repo_path": "XNA 3.1/Copy of DPSF (Swap Dead)/DPSF Demo/Particle Systems/FirePS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154883"
} | starcoder | #region Using Statements
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
#endregion
namespace DPSF.ParticleSystems
{
/// <summary>
/// Create a new Particle System class that inherits from a
/// De... | 2.303896 | eb11252971977c5f07e5208ad68c985c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835664 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "manuelbl/WirekiteWin",
"max_stars_repo_path": "WirekiteWinLib/WirekiteException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154884"
} | starcoder | <filename>WirekiteWinLib/WirekiteException.cs
/*
* Wirekite for Windows
* Copyright (c) 2017 <NAME>
* Licensed under MIT License
* https://opensource.org/licenses/MIT
*/
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
namespace Codecrete.Wirekite.Device
{
[Serializable]
... | 2.38624 | 13b577be69d4f49da67a1bf47d69e6a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835665 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "karanba/blazor",
"max_stars_repo_path": "WebApplication1/Controllers/UsersController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154885"
} | starcoder | <filename>WebApplication1/Controllers/UsersController.cs
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using System.Linq;
using WebApplication1.Services;
using WebApplication1.Models;
namespace WebApplication1.Controllers
{
[Authorize]
[ApiController]
[Route("[controller]")]
... | 2.56628 | 0ee56e134d54cedadea8c4ba1de710a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835666 | {
"extension": "c-sharp",
"max_stars_count": "231.0",
"max_stars_repo_name": "yanghuan/bridge.lua",
"max_stars_repo_path": "Compiler/Contract/EmitterException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154886"
} | starcoder | <filename>Compiler/Contract/EmitterException.cs
using ICSharpCode.NRefactory.CSharp;
using System;
namespace Bridge.Contract
{
public class EmitterException : Exception, IVisitorException
{
public EmitterException(AstNode node)
: base()
{
this.Node = node;
}
... | 2.68772 | cd55c75a8d584421443dadd5b762c516 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835667 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vostok-archives/clusterclient.prototype",
"max_stars_repo_path": "Vostok.ClusterClient/Topology/FixedClusterProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154887"
} | starcoder | <reponame>vostok-archives/clusterclient.prototype
using System;
using System.Collections.Generic;
namespace Vostok.Clusterclient.Topology
{
/// <summary>
/// Represents a cluster provider which always returns a fixed list of urls.
/// </summary>
public class FixedClusterProvider : IClusterProvider
... | 2.186239 | b028a9a480f1943e217ed5ca4b8d317a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835668 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "VahidN/AutoMapperSamples",
"max_stars_repo_path": "Sample12/Models/UserModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154888"
} | starcoder | using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
namespace Sample12.Models
{
public class UserModel
{
public int Id { get; set; }
[Required(ErrorMessage = "(*)")]
[Display(Name = "نام")]
[StringLength(maximumLength: 10, MinimumLength = 3, ErrorMessage = "نام ... | 2.470499 | bceaa3588cf77e7a058c5247067c556f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835669 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "blackcoder87/LPFM-Last.fm-Scrobbler",
"max_stars_repo_path": "LastFmScrobbler/Api/AuthApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154889"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Xml.XPath;
namespace Lpfm.LastFmScrobbler.Api
{
/// <summary>
/// An API for some of the methods of the Last.fm Auth (Authentication) API
/// </summary>
/// <remarks>This class is named for the API that is wraps</remarks>
internal... | 2.175976 | 464f3c03b4bf80418f98ac9d9259a752 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835670 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trdwll/ResponseV",
"max_stars_repo_path": "src/ResponseV/Ambient/Pullover.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154890"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// Police pullover more people
namespace ResponseV.Ambient
{
internal class Pullover
{
}
}
| 1.514897 | dcade23d80e0eb6c404d66ce38512490 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835671 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cpsusie/codegen-experiment",
"max_stars_repo_path": "src/Cjm.Templates/Attributes/DelegateReferenceTypeConstraint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154891"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace Cjm.Templates.Attributes
{
[StructLayout(LayoutKind.Explicit)]
public readonly struct DelegateReferenceTypeConstraint : IEquatable<DelegateReferenceTypeConstraint>,
IComparable<DelegateReferenceTypeConstraint>
{
public static re... | 2.707483 | e55cdcb8d844e798914480e22cc0ca30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835672 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AshitakaLax/MCE-Clean-Buddy",
"max_stars_repo_path": "src/MCEBuddy.Util/FileIO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154892"
} | starcoder | <filename>src/MCEBuddy.Util/FileIO.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Security.AccessControl;
namespace MCEBuddy.Util
{
public class FileIO
{
public static void TryFileDelete(string FileName, bool us... | 3.116125 | 422cddae8de0c92963c586ee658a4c4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835673 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mahanthbeeraka/dataservices-sdk-dotnet",
"max_stars_repo_path": "AWSSDK/Amazon.AWSSupport/Model/AddCommunicationToCaseRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154893"
} | starcoder | /*
* Copyright 2010-2013 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://aws.amazon.com/apache2.0
*
* or in the "l... | 1.928565 | 0152104e81af7e4a4724eedd501cae31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835674 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mikhail-khalizev/max",
"max_stars_repo_path": "source/MikhailKhalizev.Max/source/Program/Auto/z-0000-a4a1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154894"
} | starcoder | <filename>source/MikhailKhalizev.Max/source/Program/Auto/z-0000-a4a1.cs
using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0xa4a1-40bab9bb")]
public void Method_0000_a4a1()
{
... | 1.568846 | 727a0a6ebe85390e6e4c771da483e0b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835675 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "Batzi1337/tangle-.net",
"max_stars_repo_path": "Tangle.Net/Entity/Message/ISerializable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154895"
} | starcoder | <reponame>Batzi1337/tangle-.net
namespace Tangle.Net.Entity.Message
{
public interface ISerializable
{
byte[] Serialize();
}
} | 1.225948 | e537c45a897688353623afde9599f09e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835676 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jamee1696/HZY.AdminRazor",
"max_stars_repo_path": "HZY.Admin/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:154896"
} | starcoder | <reponame>jamee1696/HZY.AdminRazor
@using Microsoft.AspNetCore.Http
@using HZY.Admin
@using HZY.Admin.Dto
@using HZY.Models
@using HZY.Toolkits
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.092955 | 0906f7e449b9b93e973b3cb7e8f90690 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835677 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TakenokoTech/KinectVTuber",
"max_stars_repo_path": "Assets/Project/Scripts/Runtime/Tracking/Provider/SkeletalTrackingProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154897"
} | starcoder | <reponame>TakenokoTech/KinectVTuber
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Runtime.Serialization.Formatters.Binary;
using Microsoft.Azure.Kinect.BodyTracking;
using Microsoft.Azure.Kinect.Sensor;
using Project.Scripts.Runtime.Tracking.MonoBehaviour;
namespace Project.Scripts... | 2.053368 | 3979974e943a0efd364799f583552dc6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835678 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BoffinWritesCode/Saprophagous-Shepherd",
"max_stars_repo_path": "Sound/XnaSFXManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154898"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.IO;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
namespace MiniJam61Egypt.Sound
{
public class XnaSFXManager
{
public float Volume { get; set; }
private Dictionar... | 2.859998 | 1ada34e3bcc86609b62208931dd75fd7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835679 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mikelau13/pjx-api-dotnet",
"max_stars_repo_path": "src/Pjx.CalendarLibrary/ConflictChecks/EventCheckAbstract.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154899"
} | starcoder | using Pjx.CalendarEntity.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace Pjx.CalendarLibrary.ConflictChecks
{
public interface IConflictCheck
{
IConflictCheck SetNext(IConflictCheck handler);
bool Check(List<CalendarEvent> events, ICalendarEvent ce);
}... | 2.517847 | 6982695c28100c268c037270169f29e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835680 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "windforceth/xPangYa-ProtoType",
"max_stars_repo_path": "Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154900"
} | starcoder | <reponame>windforceth/xPangYa-ProtoType
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace xPangPrototype
{
publi... | 2.629727 | 568ffb3619d6481dc8e0db1d916ef789 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835681 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "GeorgeLeithead/LiLo.Lite",
"max_stars_repo_path": "Source/LiLo.Lite/LiLo.Lite/Models/ChartModels/IndicatorModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154901"
} | starcoder | // <copyright file="IndicatorModel.cs" company="InternetWideWorld.com">
// Copyright (c) <NAME>, InternetWideWorld.com
// </copyright>
namespace LiLo.Lite.Models.ChartModels
{
/// <summary>Chart indicator model.</summary>
public class IndicatorModel
{
/// <summary>Gets or sets the indicator name.</summary>
pub... | 2.156557 | f2bfe0c6f746384e610df2d2b026924d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835682 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "di-leone/SMAPI-Mods",
"max_stars_repo_path": "WalkOfLife/Framework/Events/Custom/SuperMode/SuperModeIndexChangedEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154902"
} | starcoder | <reponame>di-leone/SMAPI-Mods
using System;
using Microsoft.Xna.Framework;
using StardewModdingAPI;
namespace TheLion.Stardew.Professions.Framework.Events
{
public delegate void SuperModeIndexChangedEventHandler(int newIndex);
internal class SuperModeIndexChangedEvent : BaseEvent
{
/// <summary>Hook t... | 2.364978 | d65bf5ee1102019c8e87033e171d0cb0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835683 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Alipio2/Ubs",
"max_stars_repo_path": "Ubs.Domain/Context/ValueObjects/GeoCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154903"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Ubs.Domain.Context.ValueObjects
{
public class GeoCode
{
public decimal Lat { get; private set; }
public decimal Log { get; private set; }
public GeoCode(decimal lat, decimal log)
{
... | 2.202819 | db08743655498af4def7b998db6ac5c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835684 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jmazouri/Omnibus",
"max_stars_repo_path": "Omnibus.Core/Github/ReadFromGithub.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154904"
} | starcoder | <reponame>jmazouri/Omnibus
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Octokit;
using Omnibus.Core.Config;
using Wyam.Common.Documents;
using Wyam.Common.Execution;
using Wyam.Common.Meta;
using Wyam.C... | 2.200421 | 6740cd55b1d16c4366a24aefdc7db7d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835685 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RobertBronsonAvalara/AvaTax-REST-V2-DotNet-SDK",
"max_stars_repo_path": "src/enums/VoidReasonCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154905"
} | starcoder | using System;
/*
* AvaTax API Client Library
*
* (c) 2004-2018 Avalara, Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author <NAME>
* @author <NAME>
* @author <NAME>
*/
namespace Avalara.AvaTax.RestClient
{
/// <... | 2.175747 | 051ca9256c9ae241f57f1dfefef89697 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835686 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BertGoens/EasyChampionSelection",
"max_stars_repo_path": "EasyChampionSelection/Helper Windows/wndContactCreator.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154906"
} | starcoder | using EasyChampionSelection.ECS;
using System;
using System.Net;
using System.Net.Mail;
using System.Windows;
namespace EasyChampionSelection.Helper_Windows {
/// <summary>
/// Interaction logic for wndContactCreator.xaml
/// </summary>
public partial class wndContactCreator : Window {
privat... | 2.898213 | 7a2cd2a281c9797e6674e5d217982603 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835687 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "EIDSS/EIDSS-Legacy",
"max_stars_repo_path": "EIDSS v6/eidss.mobileclient/Views/VetCase/General.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:154907"
} | starcoder | <filename>EIDSS v6/eidss.mobileclient/Views/VetCase/General.cshtml
@model eidss.model.Schema.VetCase
@{
Layout = "~/Views/Shared/_VetCaseDetailsLayout.cshtml";
}
@using eidss.mobileclient.Utils
<script src="@Url.Content("~/Scripts/EIDSS.Organization.js")" type="text/javascript"></script>
@using (Ht... | 1.97366 | 5de26c8fc8d6f3293eb8e97489dbbb91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835688 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "afonsoft/EAF",
"max_stars_repo_path": "src/Eaf.HangFire.AspNetCore/Oracle/EafHangfireOracleConfigurer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154908"
} | starcoder | using Eaf.Reflection.Extensions;
using Oracle.ManagedDataAccess.Client;
using System.IO;
namespace Eaf.Hangfire
{
public static class EafHangfireOracleConfigurer
{
public static void DataBaseConfigure(string connectionString)
{
var commandText = "";
var script = typeof(... | 2.263789 | e81ef6042499d62f5d3ed608da2150d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835689 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jlarnett/WinstonLakeV2",
"max_stars_repo_path": "Assets/Asset Packs/Devion Games/Graphs/Scripts/Runtime/Node.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154909"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DevionGames.Graphs
{
[System.Serializable]
public abstract class Node
{
[HideInInspector]
public string id;
public string name;
[HideInInspector]
public Vector2 posi... | 1.821928 | 977fd0ce877875e40c98e49a57a7cb4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835690 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Leitee/SchoolMngr.Backend.MSvc",
"max_stars_repo_path": "src/infrastructure/shared/DependencyInjection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154910"
} | starcoder | <filename>src/infrastructure/shared/DependencyInjection.cs
namespace SchoolMngr.Infrastructure.Shared;
public static class DependencyInjection
{
public static IServiceCollection AddInfrastructureLayer(this IServiceCollection services, string sectionKey)
{
INFRASettings? infraSettings;
using (... | 2.023708 | a1f3e142998d7f165a8b4d5add9dbae0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835691 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Intemporel/WoWDatabaseEditor",
"max_stars_repo_path": "Rendering/OpenGLBindings/ActiveUniformParameter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154911"
} | starcoder | namespace OpenGLBindings
{
/// <summary>
/// Used in GL.GetActiveUniforms
/// </summary>
public enum ActiveUniformParameter
{
/// <summary>
/// Original was GL_UNIFORM_TYPE = 0x8A37
/// </summary>
UniformType = 35383,
/// <summary>
/// Original was GL_... | 1.966086 | 37147245461d9ff9f8915478dc14c0a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835692 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "raph-r/TicTacToe",
"max_stars_repo_path": "TicTacToe/Assets/Script/GameTree/Util.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154912"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class Util
{
// Retorna, se existir, uma celula em State.Cell.Empty restante para finalizar o jogo, dentro de uma possibilidades de ganho.
private static int? TryGetLastMoveInPossibility(Dictionary<int, St... | 2.842628 | 0b2bba4f8b781dc0ceab3627f045581f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835693 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ewang2002/RealmEye.NET",
"max_stars_repo_path": "RealmEyeNET/Definition/Player/RankHistoryData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154913"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using RealmEyeNET.ApiReturnCode;
namespace RealmEyeNET.Definition.Player
{
public class RankHistoryData
{
public ApiStatusCode Status { get; set; }
public IList<RankHistoryEntry> RankHistory { get; set; }
}
public class RankHistoryEntry
{
public int Rank { get... | 1.471699 | 2ddfa848fda7a2772b472c0b184590b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835694 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Alnirel/com.stansassets.running-dinosaur-clone",
"max_stars_repo_path": "Assets/Plugins/StansAssets/NativePlugins/IOSNativePro/Runtime/API/GameKit/Templates/ISN_GKImageLoadResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:15491... | starcoder | <reponame>Alnirel/com.stansassets.running-dinosaur-clone
using System;
using UnityEngine;
using SA.Foundation.Templates;
using StansAssets.Foundation.Extensions;
namespace SA.iOS.GameKit
{
/// <summary>
/// Object reflects an image load result.
/// </summary>
[Serializable]
public class ISN_GKImage... | 2.228467 | 97be616ae40f919a8d8bf5fe15769d05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835695 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adrianawindmuller/my-cookbook",
"max_stars_repo_path": "src/back-end/src/MyCookbook.Api/Recipes/Controllers/RecipeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154915"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;
using MyCookbook.Domain.Recipes;
using MyCookbook.Domain.Recipes.Dtos;
using System;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
namespace MyCookbook.Api.Recipes.Controllers
{
[ApiController]
[Route("api/[Contro... | 2.472876 | 1cb8f68fc1ea57a1faeb0c9611e8230e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835696 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Selinux24/SharpDX-Tests",
"max_stars_repo_path": "Engine/GameResourceRandomTexture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154916"
} | starcoder | <reponame>Selinux24/SharpDX-Tests
namespace Engine
{
using Engine.Common;
/// <summary>
/// Random texture resource request
/// </summary>
public class GameResourceRandomTexture : IGameResourceRequest
{
/// <summary>
/// Engine resource view
/// </summary>
publ... | 2.471944 | 7f62f0d5463482d5611cd7f91f10dfa7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835697 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ckxng/diceware-netapi",
"max_stars_repo_path": "diceware-netapi/Models/WordlistDBContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154917"
} | starcoder | using Microsoft.EntityFrameworkCore;
namespace diceware_netapi.Models
{
public class WordlistDBContext : DbContext
{
public WordlistDBContext(DbContextOptions<WordlistDBContext> options) : base(options)
{
}
public DbSet<Wordlist> Wordlist { get; set; }
}
} | 2.014279 | 7681df4fe966d769bd107f4209dcd363 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835698 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rositsadr/ASP.Net_Core-Project",
"max_stars_repo_path": "WineCooperative/Web/Services/Services/IServiceService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154918"
} | starcoder | <reponame>rositsadr/ASP.Net_Core-Project
using System.Collections.Generic;
using Web.ViewModels.Services.Enums;
using Web.Services.Services.Models;
namespace Web.Services.Services
{
public interface IServiceService
{
public void Create(string name, decimal price, string imageUrl, string description, s... | 2.083151 | b37d366917e9c5067910c1430300eef2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835699 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gatekeep/Trident.RPC",
"max_stars_repo_path": "Http/Headers/ConnectionHeader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154919"
} | starcoder | <filename>Http/Headers/ConnectionHeader.cs
/**
* Copyright (c) 2008-2020 <NAME>., All Rights Reserved.
* MIT Open Source. Use is subject to license terms.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*/
/*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this so... | 2.400947 | 86787fda36e2fc2e7da26fbd678abf47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835700 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "SuperDotNet/Super.NET",
"max_stars_repo_path": "Super.Serialization.Testing.Application/Writing/Instructions/Integer64InstructionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154920"
} | starcoder | using FluentAssertions;
using Super.Serialization.Writing.Instructions;
using System.Text.Json;
using Xunit;
namespace Super.Serialization.Testing.Application.Writing.Instructions
{
public sealed class Integer64InstructionTests
{
[Fact]
void Verify()
{
const ulong number = 12345678910111213;
Writer.Defa... | 2.408798 | 0ef7671fa773f6bec01f168a40b1d36a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835701 | {
"extension": "c-sharp",
"max_stars_count": "100.0",
"max_stars_repo_name": "soniamaryc/ARUI_RandomObjectManipulation",
"max_stars_repo_path": "Assets/GoogleARCore/SDK/Scripts/Api/ApiArStatusExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154921"
} | starcoder | <filename>Assets/GoogleARCore/SDK/Scripts/Api/ApiArStatusExtensions.cs
//-----------------------------------------------------------------------
// <copyright file="ApiArStatusExtensions.cs" company="Google">
//
// Copyright 2018 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the... | 1.66361 | 005d504e8ff42d93d2451f886d2b6e1d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835702 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "groupdocs-search/GroupDocs.Search-for-.NET",
"max_stars_repo_path": "Demos/LiveDemos/src/GroupDocs.Search.Live.Demos.UI/Helpers/GroupDocsSearchApiHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154922"
} | starcoder | using GroupDocs.Search.Live.Demos.UI.Models;
using GroupDocs.Search.Live.Demos.UI.Config;
using System.Net.Http;
using System.Collections.Generic;
using System.Net.Http.Headers;
namespace GroupDocs.Search.Live.Demos.UI.Helpers
{
public class GroupDocsSearchApiHelper : ApiHelperBase
{
private static Response CallG... | 2.234113 | 70b38e4fe6f00128e5609695a47f637a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835703 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alvaroDantas/EstudosC-",
"max_stars_repo_path": "CheckPalindrome/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154923"
} | starcoder | using System;
namespace CheckPalindrome
{
class Program
{
static void Main(string[] args)
{
string str = Console.ReadLine();
Console.WriteLine(isPalidrome(str) ? "Palindrome":"Not Palindrome");
}
internal static bool isPalidrome(string str){
... | 3.853896 | 7b92d5fc937da2f01216108b5e7c5a9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835704 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Jahn08/Angular-MVC-Application",
"max_stars_repo_path": "WebArticleLibrary/Global.asax.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154924"
} | starcoder | <reponame>Jahn08/Angular-MVC-Application
using System.Web;
using System.Web.Http;
namespace WebArticleLibrary
{
public class WebApiApplication : HttpApplication
{
protected void Application_Start()
{
GlobalConfiguration.Configure(WebApiConfig.Register);
GlobalConfigura... | 1.623232 | 37bcd289f070c1616c713aa7381496d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835705 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hpstory/eShopOnAbp",
"max_stars_repo_path": "services/administration/src/EShopOnAbp.AdministrationService.HttpApi.Host/DbMigrations/AdministrationServiceDatabaseMigrationChecker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154925... | starcoder | <reponame>hpstory/eShopOnAbp
using EShopOnAbp.AdministrationService.EntityFrameworkCore;
using EShopOnAbp.Shared.Hosting.Microservices.DbMigrations.EfCore;
using System;
using System.Linq;
using System.Threading.Tasks;
using Volo.Abp.Authorization.Permissions;
using Volo.Abp.DistributedLocking;
using Volo.Abp.EventBus... | 1.59475 | 3dfdda641b9d4ff6d6fd237b0e99451d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835706 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mamk95/mutatum",
"max_stars_repo_path": "src/Changelog/Areas/Identity/Pages/Account/Register.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154926"
} | starcoder | <gh_stars>1-10
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Changelog.Areas.Identity.Pages.Account;
#nullable disable
using System.ComponentModel.DataAnnotations;
using Changelog.Data;
using Microsoft.AspNetCore.Auth... | 1.929256 | d99f44b9cef6a5ff8119ece083b36586 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835707 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "kartalburak/SquadCreater",
"max_stars_repo_path": "RandomSquadCreater/Repository/IRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154927"
} | starcoder | <filename>RandomSquadCreater/Repository/IRepository.cs
using System.Collections.Generic;
namespace RandomSquadCreater
{
public interface IRepository<T> where T : class
{
IList<T> GetAll();
// IList<T> GetAll(Expression<Func<T, bool>> predicate = null, Func<IQueryable<T>, IOrderedQueryable<T>... | 2.681936 | 265481226ac80badce2de1f39daee30b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835708 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GhostyJade/track-bee",
"max_stars_repo_path": "api/Controllers/DataController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154928"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using TrackBEE.API.Data;
using TrackBEE.API.Models;
namespace TrackBEE.API.Controllers
{
[ApiController]
[Produces("application/json")]
[Route("api")]
public class DataController : ControllerBase
{
// TODO: add authentication
/// <summary>
/... | 2.347671 | 06f43970dbbbe05f14b06a91123c4dee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835709 | {
"extension": "c-sharp",
"max_stars_count": "563.0",
"max_stars_repo_name": "WelpThatWorked/UCR",
"max_stars_repo_path": "UCR.Core/Models/Subscription/DeviceSubscription.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154929"
} | starcoder | using System;
namespace HidWizards.UCR.Core.Models.Subscription
{
public class DeviceSubscription
{
public Guid DeviceSubscriptionGuid { get; }
public Device Device { get; }
public DeviceSubscription(Device device)
{
DeviceSubscriptionGuid = Guid.NewGuid();
... | 2.092932 | eaa09cd0859da843689495025ec39e6b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835710 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Harry09/nanoblog",
"max_stars_repo_path": "Frontend/dotnet/Nanoblog.AppCore/ViewModels/Pages/EntryListPageViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154930"
} | starcoder | using Nanoblog.Common.Commands.Entry;
using Nanoblog.AppCore.Navigation;
using Nanoblog.ApiService;
using Nanoblog.AppCore.ViewModels.Controls.AppBar;
using Nanoblog.AppCore.ViewModels.Controls.EntryList;
using System.Threading.Tasks;
using System.Windows.Input;
namespace Nanoblog.AppCore.ViewModels.Pages
{
publi... | 1.988966 | de11fb09c44571f4080d04acd9902e02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835711 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "joaofbantunes/ProjectTyeSample",
"max_stars_repo_path": "src/Worker/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154931"
} | starcoder | <reponame>joaofbantunes/ProjectTyeSample
using Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace Worker
{
public class Program
{
public static void Main(string[] args)
... | 1.88469 | 5ba75f4766536c4bb90d4a2ae9521a87 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.