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 | 8846712 | {
"extension": "c-sharp",
"max_stars_count": "97.0",
"max_stars_repo_name": "cklutz/LockCheck",
"max_stars_repo_path": "LockCheck/Windows/NtDll.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165932"
} | starcoder | <filename>LockCheck/Windows/NtDll.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.InteropServices;
namespace LockCheck.Windows
{
internal static class NtDll
{
public static IEnumerable<ProcessInfo> GetLockingProcessInfos(params string[] path... | 2.619149 | f9d0a67a8555e0fde362143e2824fb9f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846713 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "monry/UniFlow",
"max_stars_repo_path": "Assets/Scripts/Connector/Controller/DestroyInstance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165933"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using UniFlow.Utility;
using UnityEngine;
using Object = UnityEngine.Object;
namespace UniFlow.Connector.Controller
{
[AddComponentMenu("UniFlow/Controller/DestroyInstance", (int) ConnectorType.LoadScene)]
public cl... | 2.098182 | c738b9491b7e31decbd7f7c66bba5b05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846714 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "miyamot0/AssistidCollector2",
"max_stars_repo_path": "AssistidCollector2/Storage/ApplicationDatabase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165934"
} | starcoder | //----------------------------------------------------------------------------------------------
// <copyright file="ApplicationDatabase.cs"
// Copyright February 2, 2018 <NAME>
//
// This file is part of AssistidCollector2
//
// AssistidCollector2 is free software: you can redistribute it and/or modify
// it under t... | 2.445629 | 86275d87d98e5cb4cb1993735ff1997b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846715 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "brain-products/BVTools",
"max_stars_repo_path": "src/FileFormats/src/FileFormats.BrainVisionToBidsConverter/Internal/Common.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165935"
} | starcoder | using BrainVision.Lab.FileFormats.PublicDomain.BidsFormat;
namespace BrainVision.Lab.FileFormats.Internal
{
internal static class Common
{
public const string Micro = "\u00B5"; // BVCF uses standard ANSI character 'µ' rather than Unicode one
public const string MicroVolt = Micro + "V";
... | 2.592099 | 4c452f7c6c47020061e9845f4948953c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846716 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "carlosgj94/pobladoVikingo",
"max_stars_repo_path": "vegvisir/Assets/Scripts/ParejasController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165936"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
public class ParejasController : MonoBehaviour {
[SerializeField]
private AudioSource audioS;
[SerializeField]
private AudioClip sexyTime;
private float momment;
[SerializeFiel... | 1.891362 | 4342f32250fcdf035f2eeb9608a4cb03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846717 | {
"extension": "c-sharp",
"max_stars_count": "557.0",
"max_stars_repo_name": "weloytty/Pscx",
"max_stars_repo_path": "Src/Pscx/Commands/DirectoryServices/DhcpServerInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165937"
} | starcoder | //---------------------------------------------------------------------
// Author: <NAME>
//
// Description: Class to represent info returned by Get-DhcpServer cmdlet.
//
// Creation Date: 2006-12-20
//---------------------------------------------------------------------
using System;
namespace Pscx.Commands.Directo... | 2.477409 | f1fe5853af810457c380e699a9220e11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846718 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "StavFaran92/PiggyRun_Code",
"max_stars_repo_path": "Scripts/StateMachine/State.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165938"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace Assets.Scripts.StateMachine
{
public class State : IState
{
protected ICharacter character;
protected StateMachine stateMachine;
protected S... | 2.347912 | e0d9023fe959e8fb08add199c834a309 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846719 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ronnieholm/Bugfree.Spo.Cqrs",
"max_stars_repo_path": "src/Bugfree.Spo.Cqrs.Core/Commands/CreateColumnOnList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165939"
} | starcoder | <reponame>ronnieholm/Bugfree.Spo.Cqrs<gh_stars>0
using System;
using System.Linq;
using System.Xml.Linq;
using Microsoft.SharePoint.Client;
namespace Bugfree.Spo.Cqrs.Core.Commands
{
public class CreateColumnOnList : Command
{
public CreateColumnOnList(ILogger l) : base(l) { }
publ... | 2.3972 | 9a179ef57b74631b29ab57e8de7badc6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846720 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "q8a/T10F",
"max_stars_repo_path": "T10F/Assets/Scripts/Weapon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165940"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class Weapon
{
public int itemID;
public int weaponType;
public string name;
public GameObject weaponObject;
public float damage;
public float fireRate = 0.1f;
public floa... | 1.633038 | 7d15c41deb30564739a7d4e2ff3aa702 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846721 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "xsysfan/Routines",
"max_stars_repo_path": "AdminkaV1/Injected.AspCore.WebApp/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165941"
} | starcoder | using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using DashboardCode.Routines;
namespace DashboardCode.AdminkaV1.Injected.AspNetCore.WebApp
{
public static class Program
{
public static void Main(string[] args)
{
try
{
#if DEBUG
TestDep... | 1.956141 | f2efde7a2525d5c67c50c08fd2bf9158 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846722 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joedav/URI",
"max_stars_repo_path": "CSharp/URI_Projects/Sequencial/1020_IdadeEmDias.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165942"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace URI_Projects
{
// 1020 - Idade em Dias
public class _1020_IdadeEmDias
{
/*
Leia um valor inteiro correspondente à idade de uma pessoa em dias e informe-a em anos, meses e dias
*Obs.: apenas para facilit... | 3.874888 | 46b265f917a96c3f6372dedc5ec43a4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846723 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PetervanKampen/The-Realest-Fitty-Game",
"max_stars_repo_path": "The Realest Fitty Game/The Realest Fitty Game/Saruman.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165943"
} | starcoder | <reponame>PetervanKampen/The-Realest-Fitty-Game
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace The_Realest_Fitty_Game
{
class Saruman : Character
{
public Saruman()
{
Name = "Saruman";
Charn... | 2.278711 | da04b67f70ca182c206a28dbf39d3f50 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846724 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "muaddibco/O10city",
"max_stars_repo_path": "Common/O10.Core/Communication/IPreValidationCheckService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165944"
} | starcoder | namespace O10.Core.Communication
{
public interface IPreValidationCheckService
{
}
}
| 0.960646 | d1acde8bc7b86a49400fff1218756a3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846725 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OmerCD/GreyScale",
"max_stars_repo_path": "AForge.Wpf/StartUpWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165945"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO.Ports;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using AForge.Wpf.DatabaseCodes;
using AForge.Wpf.LanguageLocalization;
namespace AForge.Wpf
{
/// <summary>
/// Int... | 2.586959 | e9a941b6c0d8848bea41b3f6a62624e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846726 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndreSteenbergen/Schema.NET",
"max_stars_repo_path": "Source/Schema.NET/core/Question.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165946"
} | starcoder | using System;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace Schema.NET
{
/// <summary>
/// A specific question - e.g. from a user seeking answers online, or collected in a Frequently Asked Questions (FAQ) document.
/// </summary>
[DataContract]
public partial class Question :... | 2.855775 | 9540d9b78f7cd1eb8c7d776e11446af4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846727 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Baltasarq/Colorado",
"max_stars_repo_path": "Core/Cfg/L10n.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165947"
} | starcoder | <gh_stars>1-10
// Colorado (c) 2015 MIT License <<EMAIL>>
namespace Colorado.Core.Cfg {
using System.Globalization;
using System.Collections.ObjectModel;
/// <summary>
/// The localization
/// </summary>
public static class L10n {
/// <summary>An identifier for localized strings.</su... | 2.777563 | bb017e1464a91732c3dfc13678340277 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846728 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qkmaxware/Astro.Celestia",
"max_stars_repo_path": "Astro.Celestia/src/DeepSkyObject.Catalogue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165948"
} | starcoder | using System.Collections.Generic;
namespace Qkmaxware.Astro.Celestia {
public static partial class DeepSkyObjectCatalogue {}
} | 0.692801 | 7680c9176e2e4969c7ce8dab1de796a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846729 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Redth/f50",
"max_stars_repo_path": "Source/Xamarin.Services.Shared/Connectivity/ConnectivityChangedEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165949"
} | starcoder | <reponame>Redth/f50
using System;
namespace Xamarin.Services.Connectivity
{
public class ConnectivityChangedEventArgs : EventArgs
{
public bool IsConnected { get; set; }
}
}
| 1.487937 | 225814ce1da91b58fe1f6e994d8a06e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846730 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KaylaMay/RTT",
"max_stars_repo_path": "Form2.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165950"
} | starcoder | <gh_stars>0
namespace RTT
{
partial class Form2
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <pa... | 1.859766 | ddcd0072d13ecce868c4efd38c24e61b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846731 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "superkarn/RatanaLibrary",
"max_stars_repo_path": "src/Ratana.Library.Log/SerilogLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165951"
} | starcoder | <filename>src/Ratana.Library.Log/SerilogLogger.cs
using Serilog;
using Serilog.Events;
using System.Collections.Generic;
using System.Linq;
namespace Ratana.Library.Log
{
/// <summary>
/// ILogger implementation using Serilog.
/// Got the idea from https://stackoverflow.com/a/39499230/1398750
/// </su... | 2.987675 | a35032e87afb2dfa79caf8d92ce4a521 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846732 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "talaryonlabs/storagr",
"max_stars_repo_path": "src/Storagr.Shared/Core/Errors/TokenExpiredError.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165952"
} | starcoder | using System;
using System.Runtime.Serialization;
namespace Storagr.Shared
{
[DataContract]
public class TokenExpiredError : UnauthorizedError
{
[DataMember(Name = "expired_at")] public DateTime ExpiredAt { get; set; }
public TokenExpiredError()
: base("Token is expir... | 2.321258 | 5f329a52f0d6d034b1f4eef73d76b614 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846733 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "davidnajar/fluxor-persist",
"max_stars_repo_path": "Fluxor.Persist.Sample.Shared/Store/CounterUseCase/Exclude/IncrementCounterExcludeAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165953"
} | starcoder | namespace Fluxor.Persist.Sample.Shared.Store.CounterUseCase.Exclude
{
public class IncrementCounterExcludeAction
{
}
}
| 0.731274 | 31b0d991b1e9cb46938a8eec711d598f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846734 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "DaniloNovakovic/apartment-reservation",
"max_stars_repo_path": "ApartmentReservation.Application/Dtos/ForRentalDateDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165954"
} | starcoder | using System;
namespace ApartmentReservation.Application.Dtos
{
public class ForRentalDateDto
{
public DateTime Date { get; set; }
public bool Equals(DateTime dateTime)
{
return dateTime.Year == this.Date.Year
&& dateTime.Month == this.Date.Month
... | 2.388747 | 4c7dda210cdb5eefb145ec1d26cb8b43 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846735 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinanEmiroglu/DefaultEcs",
"max_stars_repo_path": "source/DefaultEcs/Technical/Command/ManagedComponentCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165955"
} | starcoder | using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
namespace DefaultEcs.Technical.Command
{
internal sealed unsafe class ManagedComponentCommand<T>
{
[SuppressMessage("Performance", "RCS1242:Do not pass non-read-only struct by read-only reference.")]
public static void Wr... | 2.371931 | f56bc78f3ef917249b2cce3f75fdcb5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846736 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "ArchitectNow/ArchitectNow.ApiStarter",
"max_stars_repo_path": "src/ArchitectNow.ApiStarter.Api/Filters/IExceptionResultBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165956"
} | starcoder | <reponame>ArchitectNow/ArchitectNow.ApiStarter
using System;
using Microsoft.AspNetCore.Mvc;
namespace ArchitectNow.ApiStarter.Api.Filters
{
public interface IExceptionResultBuilder
{
IActionResult Build(Exception exception);
}
} | 1.489131 | 979cc740da2070ab562e3e76570d90e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846737 | {
"extension": "c-sharp",
"max_stars_count": "54.0",
"max_stars_repo_name": "vorov2/dyalect",
"max_stars_repo_path": "Dyalect/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165957"
} | starcoder | <filename>Dyalect/Extensions.cs
using System;
namespace Dyalect
{
public static class Extensions
{
public static T? TakeOne<T>(this T[] arr, T? defaultValue = default) => TakeAt(arr, 0, defaultValue);
public static T? TakeAt<T>(this T[] arr, int pos, T? defaultValue = default)
{
... | 3.389443 | 1056b9f15b60de53546de4ab9098ef42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846738 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "laedit/Borderlands2-Golden-Keys",
"max_stars_repo_path": "Borderlands2GoldenKeys/Borderlands2GoldenKeys/Global.asax.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165958"
} | starcoder | using Borderlands2GoldenKeys.Helpers;
using Borderlands2GoldenKeys.Models;
using Raven.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace Borderlands2GoldenKeys
{
public class MvcAppl... | 1.888167 | 597bb592db00db117d7457179218335f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846739 | {
"extension": "c-sharp",
"max_stars_count": "1571.0",
"max_stars_repo_name": "vidyadeepa/the-coding-interview",
"max_stars_repo_path": "problems/closed-loops/LoopCounter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165959"
} | starcoder | <filename>problems/closed-loops/LoopCounter.cs<gh_stars>1000+
using System;
namespace ClosedLoops
{
public class LoopCounter
{
static void Main(string[] args)
{
int result = CountClosedLoops(2876);
Console.Out.WriteLine("This method calculates the number of loops in a nu... | 4.123703 | 1c94da86037e946a85859e948bdb849a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846740 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nmilushev/SS-SecondDemo-Library",
"max_stars_repo_path": "SS_SecondDemo_Library/Demo_Library/Commands/SortCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165960"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using Demo_Library.BussinessLogic;
using Demo_Library.Interfaces;
namespace Demo_Library.Commands
{
public class SortCommand : Command
{
private Stopwatch stopwatch = new Stopwatch();
[Inject]
private IRepository... | 3.039601 | 687a0afb19079eb9de2ed3eb69a62417 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846741 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "truonguit2010/realbizgames-banner-ads-setting",
"max_stars_repo_path": "Runtime/BannerAdSetting/Convertor/BannerAdSettingDTOConvertor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165961"
} | starcoder | <reponame>truonguit2010/realbizgames-banner-ads-setting<gh_stars>0
using System.Collections.Generic;
public class BannerAdSettingDTOConvertor : IDataConvertor<BannerAdSettingEntity, BannerAdSettingDTO>
{
public BannerAdSettingDTO From(BannerAdSettingEntity f)
{
BannerAdSettingDTO dto = new BannerAdSet... | 2.207782 | 7fc60a7f0234a76824da5b0c89f5bfb8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846742 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RaymondGrumney/FayeAndGrumpy",
"max_stars_repo_path": "assets/assets/scripts/Objects/Rotator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165962"
} | starcoder | <filename>assets/assets/scripts/Objects/Rotator.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rotator : ButtonTarget {
public float[] rotations;
public float rotationPerFrameInDegrees = 1f;
private bool _rotating = false;
private int _currentRotation = 0;
// Us... | 2.555377 | 3d721e895fd0899fdc4c2838280e3f3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846743 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jakson12138/Tank2D",
"max_stars_repo_path": "Assets/Scripts/Constant/GameContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165963"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
public class GameContext
{
/*是否是单人游戏*/
public static bool isSingle = true;
/**
* 游戏是否结束
*/
public static bool isGameOver;
/**
* 玩家血量
*/
public static int player1Hp = 3;
public static int player2Hp = 3;
/**
... | 2.441378 | 00b394c2bd3e118057e066815bf83b33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846744 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "banban/OhMySearch",
"max_stars_repo_path": "FrontEnd/Search.Core.Windows/Views/Query/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:165964"
} | starcoder | @model Search.Core.Windows.Models.Query
@{
ViewData["Title"] = "Search Results";
}
<div class="col-lg-pull-1 col-md-pull-1 col-sm-pull-1 col-lg-12 col-md-12 col-sm-12" data-position="fixed" data-role="content">
<div class="col-lg-9 col-md-9 col-sm-9" >
@await Component.InvokeAsync("QueryOptions", new { query =... | 2.256851 | ecc7a02becfefaee325d5cd2dab7b4fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846745 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "colabers/Colab.Public.Tools",
"max_stars_repo_path": "Colab.Public.Tools/Search/SearchQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165965"
} | starcoder | <filename>Colab.Public.Tools/Search/SearchQuery.cs
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Threading.Tasks;
using Starcounter;
using Concepts.Ring1;
using Concepts.Ring8.Tunity;
namespace Colab.Public
{
... | 2.590783 | 6006abe68650e897d69bed5ba867bfa3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846746 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "theill/transmit",
"max_stars_repo_path": "Commanigy.Transmit.Site/receive.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165966"
} | starcoder | #region Using directives
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Linq;
u... | 1.80661 | c497c651ca5af8e6b33df9d3453ca6de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846747 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "epreviati/iban-lib",
"max_stars_repo_path": "IbanLib.Domain/Validators/IDetailValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165967"
} | starcoder | using IbanLib.Countries;
namespace IbanLib.Domain.Validators
{
/// <summary>
/// Generic interface for all the validators that needs to validate a detail performing a check into a specific
/// country.
/// </summary>
public interface IDetailValidator
{
/// <summary>
///... | 2.820628 | ebb43708175ec75ff9173621538eaef9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846748 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Z4t4r/eShopOnDapr",
"max_stars_repo_path": "src/Services/Ordering/Ordering.API/Migrations/20220215080144_Init.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165968"
} | starcoder | // <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Microsoft.eShopOnContainers.Services.Ordering.API.Infrastructure;
namespace Mi... | 1.896103 | 3ce403c0819bd3046d5448fc4da416f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846749 | {
"extension": "c-sharp",
"max_stars_count": "3336.0",
"max_stars_repo_name": "mbentancour/azure-powershell",
"max_stars_repo_path": "src/Dns/Dns/Extensions/ListExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165969"
} | starcoder | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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://w... | 1.748379 | e4fe44562f9c2d323dc8a3d5a33307bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846750 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hillerstorm/aoc2020-csharp",
"max_stars_repo_path": "aoc2020-csharp/Days/Day17.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165970"
} | starcoder | <filename>aoc2020-csharp/Days/Day17.cs
using System;
using System.Linq;
// ReSharper disable MemberCanBePrivate.Global
// ReSharper disable UnusedParameter.Global
// ReSharper disable LoopCanBeConvertedToQuery
namespace aoc2020.Days
{
public class Day17 : IDay
{
public (Func<string> Part1, Func<string... | 2.971319 | 9de6a88bcdc261013f7cee628f36a55c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846751 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BugsUK/FindApprenticeship",
"max_stars_repo_path": "src/SFA.Apprenticeships.Application.Candidate/Strategies/SavedSearches/UpdateSavedSearchStrategy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165971"
} | starcoder | namespace SFA.Apprenticeships.Application.Candidate.Strategies.SavedSearches
{
using Domain.Entities.Candidates;
using Domain.Interfaces.Repositories;
public class UpdateSavedSearchStrategy : IUpdateSavedSearchStrategy
{
private readonly ISavedSearchWriteRepository _savedSearchWriteRepository;
... | 2.080732 | 3ca89bd231b377b2fb081334083c4fce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846752 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DivineDream/BotRestarter",
"max_stars_repo_path": "BotRestarter.Interfaces/IBotRestarter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165972"
} | starcoder | <reponame>DivineDream/BotRestarter
using System.Threading.Tasks;
namespace BotRestarter.Interfaces
{
public interface IBotRestarter
{
/// <summary>
/// Starts all the methods to start all the bots and all the methods to keep them alive.
/// </summary>
Task StartAsync();
}... | 1.864523 | 07ef2ed21f57dcf54cf4a1997689d218 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846753 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sky-nt/MASA.Contrib",
"max_stars_repo_path": "src/Dispatcher/Masa.Contrib.Dispatcher.IntegrationEvents.EventLogs.EF/Internal/Options/Tables.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165973"
} | starcoder | <gh_stars>0
// Copyright (c) MASA Stack All rights reserved.
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
namespace Masa.Contrib.Dispatcher.IntegrationEvents.EventLogs.EF.Internal.Options;
internal class Tables
{
public string Name { get; }
public string Sc... | 1.437951 | 39b69957c19ed3369a75a9c0dee29c44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846754 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "garrethmartin/HSC_UML",
"max_stars_repo_path": "graph_clustering/code/dotnetcore/ConnComponents/NearestNeighbourLib/KDTreeNN.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165974"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NearestNeighbourLib
{
public class KDTreeNN : NNAlgorithm
{
private KDTree<int> tree = null;
public KDTreeNN(List<double[]> nodePositions, DistanceFunction... | 3.218463 | e83f779ebfd75470be6a7e69beb0d0a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846755 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tsc7comm/PagCoin",
"max_stars_repo_path": "pagcoin.net/Model/OrdemPagamento.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165975"
} | starcoder | namespace PagCoin.Net.Model
{
public class OrdemPagamento
{
public string apiKey { get; set; }
public string idPagCoin { get; set; }
public string idInterna { get; set; }
public string nomeProduto { get; set; }
public string moedaOriginal { get; set; }
public dec... | 1.348157 | ca0375c8b0e1242adc6c6937ce83fede |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846756 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EG-BRS/Xena.Contracts",
"max_stars_repo_path": "src/Xena.Contracts/Domain/WarehouseDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165976"
} | starcoder | <filename>src/Xena.Contracts/Domain/WarehouseDto.cs
namespace Xena.Contracts.Domain
{
public class WarehouseDto : EntityDto
{
public string Abbreviation { get; set; }
public string Description { get; set; }
public AddressDto Address { get; set; }
public string Dimension1Descript... | 2.087519 | 43447266d60753a0e2d7fe0afcd93f06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846757 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dsalunga/mPortal",
"max_stars_repo_path": "Portal/WebParts/SystemParts/WCMS.WebSystem.WebParts.Article/Managers/ArticleLinkManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165977"
} | starcoder | <filename>Portal/WebParts/SystemParts/WCMS.WebSystem.WebParts.Article/Managers/ArticleLinkManager.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WCMS.Framework;
using WCMS.Framework.Core;
using WCMS.WebSystem.WebParts.Article.Providers;
namespace WCMS.WebSystem.WebParts... | 2.179519 | d5689d0272fbbc682c3b93389af42054 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846758 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "oliver-harcourt/clinics",
"max_stars_repo_path": "src/Api.Interfaces/ServiceOperations/Persons/CreatePersonRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165978"
} | starcoder | <reponame>oliver-harcourt/clinics<gh_stars>1-10
using ServiceStack;
namespace Api.Interfaces.ServiceOperations.Persons
{
[Route("/persons", "POST")]
public class CreatePersonRequest : PostOperation<CreatePersonResponse>
{
public string FirstName { get; set; }
public string LastName { get;... | 1.686345 | 407811d1415adf5afb7cbd0070a34444 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846759 | {
"extension": "c-sharp",
"max_stars_count": "5869.0",
"max_stars_repo_name": "jakepoz/MonoGame",
"max_stars_repo_path": "MonoGame.Framework/Web/WebGameWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165979"
} | starcoder | <reponame>jakepoz/MonoGame
// MonoGame - Copyright (C) The MonoGame Team
// 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 JSIL;
using Microsoft.Xna.Framework.Input;
using MonoGame.Web;... | 1.91407 | 16fe38a14244be8728c115dc06e0f5ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846760 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dtsudo/DT-Danmaku-2",
"max_stars_repo_path": "Dependencies/AgateLib/Agate031/Source/AgateLib/Geometry/Point.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165980"
} | starcoder | <reponame>dtsudo/DT-Danmaku-2
// The contents of this file are subject to the Mozilla Public License
// Version 1.1 (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.mozilla.org/MPL/
//
// Software distribu... | 2.791265 | d2b56431655825d321d3f165305b3d96 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846761 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mike-EEE/LightInject-Fallback",
"max_stars_repo_path": "LightInject-Fallback/DragonSpark/Model/Sequences/IStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165981"
} | starcoder | <filename>LightInject-Fallback/DragonSpark/Model/Sequences/IStorage.cs
using DragonSpark.Model.Commands;
namespace DragonSpark.Model.Sequences
{
public interface IStorage<T> : IStores<T>, ICommand<T[]> {}
} | 1.284606 | 9f445178cd898208fdd57f7be07f7375 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846762 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "gsvgit/CoFRA",
"max_stars_repo_path": "src/AbstractIL.Internal/Types/Secondaries/SecondaryEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165982"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.Serialization;
using Cofra.AbstractIL.Internal.Types.Primaries;
using Cofra.AbstractIL.Internal.Utils;
namespace Cofra.AbstractIL.Internal.Types.Secondaries
{
[DataContract]
[KnownType(typeof(Reso... | 2.248622 | 5ed7c7b34010fe1de0bcae0261d0fa7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846763 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rabbitdong/simlog",
"max_stars_repo_path": "SimLogTest/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165983"
} | starcoder | <filename>SimLogTest/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SimLogLib;
using System.Threading;
using System.Threading.Tasks;
namespace SimLogTest
{
class Program
{
static void Main(string[] args)
{
AppDomain.CurrentDom... | 2.772524 | 52e743a934fae8120886cef4be42616e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846764 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "surya-rakanta/LPContribMvc",
"max_stars_repo_path": "LPContribMvc.UI.InputBuilder.Conventions/DefaultPropertyConvention.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165984"
} | starcoder | using LPContribMvc.UI.InputBuilder.Attributes;
using LPContribMvc.UI.InputBuilder.Helpers;
using LPContribMvc.UI.InputBuilder.Views;
using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Reflection;
using System.Web.Mvc;
nam... | 2.147165 | 4f43932ecd63471acb80424e7ca91ead |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846765 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Cavcaliuc/LibraryManagement.Web",
"max_stars_repo_path": "LibraryManagement.Web/Views/Stocks/Save.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:165985"
} | starcoder | @model LibraryManagement.Web.Models.StockModel
@{
ViewBag.Title = "Save";
}
<h2>Save stock</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Stock</h4>
<hr />
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
<di... | 2.320873 | cc6201771f52f1cdf1e97deaeaf79bfd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846766 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aidenkim92/Wonderland",
"max_stars_repo_path": "Assets/Scripts/Transition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165986"
} | starcoder | <filename>Assets/Scripts/Transition.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Transition : MonoBehaviour
{
public Animator transition;
// Update is called once per frame
void Start()
{
transition.SetTrigger("start");
}
}
| 1.83036 | d1100f85ceaa376da8d5d1e8b7482476 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846767 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "migueBarrera/Xamarin.Forms.Plugins.ExpandableLayout",
"max_stars_repo_path": "ExpandableLayout/ExpandableLayout.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165987"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xamarin.Forms;
namespace ExpandableLayout
{
public class ExpandableLayout : RoundedFrameUWP.RoundedFrame
{
private bool IsOpened { get; set; }
private Grid GridMain { get; set; }
private Grid RowOne { get; set; }
pr... | 2.570948 | 9b97c13da4b5b7aa6f63a68946b2b0ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846768 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/videoanalyzer/Azure.Media.VideoAnalyzer.Edge/src/Generated/Models/ImageFormatPng.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165988"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.Media.VideoAnalyzer.Edge.Models
{
/// <summary> PNG image encoding. </summary>
public partial class ImageFormatPng : ImageFormatProperties
{
/// <... | 1.913905 | 5b96f52744aaece4ffb980c39f5e174f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846769 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FluiTec/FluiTec.AppFx.Data",
"max_stars_repo_path": "src/FluiTec.AppFx.Data/Repositories/ITableDataRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165989"
} | starcoder | using FluiTec.AppFx.Data.Entities;
namespace FluiTec.AppFx.Data.Repositories
{
/// <summary>Interface for a table based repository.</summary>
/// <typeparam name="TEntity">The type of the entity.</typeparam>
/// <seealso cref="FluiTec.AppFx.Data.Repositories.IDataRepository{TEntity}" />
public interfa... | 2.415585 | 36932e35d8e816239ebb4be646134f90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846770 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "bartvanhoey/AbpApiConsumedByXamarin",
"max_stars_repo_path": "XamarinForms/AbpApi/src/AbpApi.Application/Books/BookAppService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165990"
} | starcoder | using System;
using AbpApi.Application.Contracts.Books;
using AbpApi.Domain.Books;
using AbpApi.Permissions;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Repositories;
namespace AbpApi.Application.Books
{
public class BookAppService : CrudAppService<Book, BookDto, Gui... | 1.710403 | fe37f6089cf5a62de2bfda705d1cdc95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846771 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "weikio/ApiFramework",
"max_stars_repo_path": "tests/integration/ApiFramework.IntegrationTests/ControllerApiTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165991"
} | starcoder | using System.Threading.Tasks;
using ApiFramework.IntegrationTests.Infrastructure;
using CodeConfiguration;
using HelloWorld;
using Microsoft.AspNetCore.Mvc.Testing;
using Newtonsoft.Json.Linq;
using Weikio.ApiFramework;
using Xunit;
using Xunit.Abstractions;
namespace ApiFramework.IntegrationTests
{
public class ... | 2.203483 | 0c1c37cbf8ddbe8b56b8d1d9b621ee76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846772 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "umby24/Hypercube",
"max_stars_repo_path": "Hypercube/Network/IPacket.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165992"
} | starcoder | using Hypercube.Client;
namespace Hypercube.Network {
/// <summary>
/// Interface for Classic packets.
/// </summary>
public interface IPacket {
byte Id { get; }
void Read(NetworkClient client);
void Write(NetworkClient client);
void Handle(NetworkClient client);
}
... | 1.935394 | 60d2599188f95cab6bc33bff254a96fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846773 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "clean-code-craft-tcq-1/functional-cs-VaibhavBhapkar",
"max_stars_repo_path": "BatteryLimits.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165993"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
public class BatteryLimits : IBatteryLimits
{
public float minTemperature => 0;
public float maxTemperature => 45;
public float minStateOfCharge => 20;
public float maxStateOfCharge => 80;
public float minChargeRate => 0.8F;
}
| 2.187729 | 422383ea967081d91cfb3c9d336f2cad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846774 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "duaneking/WheelMUD",
"max_stars_repo_path": "src/Data/Repositories/HelpTopicAliasRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165994"
} | starcoder | <gh_stars>0
// <auto-generated />
//-----------------------------------------------------------------------------
// <copyright file="HelpTopicAliasRepository.cs" company="WheelMUD Development Team">
// Copyright (c) WheelMUD Development Team. See LICENSE.txt. This file is
// subject to the Microsoft Public Licens... | 2.03583 | 3f0239a1024406a9025a42cd9c76c768 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846775 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MD-V/ProductOwnerSimGame",
"max_stars_repo_path": "Dtos/Response/User/CreateUserResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165995"
} | starcoder | using Newtonsoft.Json;
namespace ProductOwnerSimGame.Dtos.Response.User
{
public class CreateUserResponse
{
[JsonProperty("user_id")]
public string UserId { get; set; }
public CreateUserResponse(string userId)
{
UserId = userId;
}
}
}
| 2.084841 | afe000326f48cd91fe91b701f70b8b99 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846776 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TeaDrivenDev/AutoFixture",
"max_stars_repo_path": "Src/AutoFixtureDocumentationTest/Array/MyClassC.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165996"
} | starcoder | namespace Ploeh.AutoFixtureDocumentationTest.Array
{
public class MyClassC
{
}
}
| 1.037672 | 604a1f55d1128377b30ddf1152f7d181 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846777 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maksym-yaremko/Navchalna-Weather-Bot",
"max_stars_repo_path": "Wtb.TelegramApi/IMessageService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165997"
} | starcoder | <filename>Wtb.TelegramApi/IMessageService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wtb.TelegramApi.Models;
namespace Wtb.TelegramApi
{
public interface IMessageService
{
Message SendMessage(SendMessageModel message);
... | 1.728082 | e749a45c308dbd7860941e3cc2169488 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846778 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "dlemstra/line-bot-sdk-dotnet",
"max_stars_repo_path": "tests/LineBot.Tests/RichMenu/RichMenuTests/TheValidateMethod.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165998"
} | starcoder | // Copyright <NAME> (https://github.com/dlemstra/line-bot-sdk-dotnet).
// Licensed under the Apache License, Version 2.0.
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Line.Tests
{
public partial class RichMenuTests
{
[TestClass]
public class TheValidateMethod
... | 2.277925 | 99daf8bd82d9d50ef6889e15d15e59f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846779 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cuiwenyuan/DotNet.Util",
"max_stars_repo_path": "src/DotNet.Business/BaseUploadLog/BaseUploadLogManager.Manual.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165999"
} | starcoder | <reponame>cuiwenyuan/DotNet.Util
//-----------------------------------------------------------------------
// <copyright file="UploadLogManager.cs" company="DotNet">
// Copyright (c) 2019, All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System.D... | 1.630529 | df567d99f64f7ab502fb601357979b49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846780 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "seanmcelroy/cs-multicodec",
"max_stars_repo_path": "src/Multiformats.Codec.CLI/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166000"
} | starcoder | <reponame>seanmcelroy/cs-multicodec<filename>src/Multiformats.Codec.CLI/Program.cs
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Multiformats.Codec.Codecs;
namespace Multiformats.Codec.CLI
{
class Program
... | 2.523336 | 783e413729047a08ff7ecb148f94ed6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846781 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "isukces/EfCore.Shaman",
"max_stars_repo_path": "src/EfCore.Shaman/_interfaces/_services/IModelPrepareService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166001"
} | starcoder | using System;
namespace EfCore.Shaman
{
public interface IModelPrepareService :IShamanService
{
void UpdateModel(IUpdatableSimpleModelInfo simpleModelInfo, Type dbContextType, IShamanLogger logger);
}
} | 1.424361 | 5b146c32f35a0267cea8f5532fb568f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846782 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "haramizu/headstart",
"max_stars_repo_path": "src/Middleware/tests/Headstart.Tests/AutoNSubstituteDataAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166002"
} | starcoder | <filename>src/Middleware/tests/Headstart.Tests/AutoNSubstituteDataAttribute.cs
using System;
using System.Collections.Generic;
using System.Text;
using AutoFixture.AutoNSubstitute;
using AutoFixture;
using AutoFixture.NUnit3;
using Headstart.Common.Services.ShippingIntegration.Models;
using Headstart.Models;
using Ord... | 2.103911 | a86c9408e6e51fa3251f54aefc03018d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846783 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DCTewi/TewiBoard",
"max_stars_repo_path": "TewiBoard.Web/Controllers/TimelineController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166003"
} | starcoder | <gh_stars>1-10
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using TewiBoard.Web.Repositories;
namespace TewiBoard.Web.Controllers
{
public class TimelineController : DbController
{
public TimelineController(CardDb db, ILogger<DbController> logger) : base(db, logger) { }
... | 1.947038 | bb6ac5ad6fd07160d2c7bb4c26aec5ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846784 | {
"extension": "c-sharp",
"max_stars_count": "78.0",
"max_stars_repo_name": "MichiBab/ZeroSimROSUnity",
"max_stars_repo_path": "Runtime/Scripts/Sensors/LIDAR/ZOLIDAR3D.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166004"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnityEngine;
using Unity.Collections;
using Unity.Jobs;
using Unity.Burst;
using ZO.Util;
namespace ZO.Sensors {
// this job creates a batch of RaycastCommands we are going to use for
// collision detection a... | 2.120325 | a3f168b4aecced43e0195a45174c4d0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846785 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "johnduhart/MineAPI",
"max_stars_repo_path": "MineAPI.Protocol/Packets/Play/Clientbound/AnimationPacket.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166005"
} | starcoder | <filename>MineAPI.Protocol/Packets/Play/Clientbound/AnimationPacket.cs<gh_stars>1-10
namespace MineAPI.Protocol.Packets.Play.Clientbound
{
[Packet(0x0B, PacketDirection.Clientbound)]
public struct AnimationPacket : IPacket
{
[PacketField(0, FieldType.VarInt)]
public int EntityId;
[P... | 2.105222 | 6a294fb263a45c1fc0d8b95bd1981442 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846786 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tac14/CyberNet",
"max_stars_repo_path": "CyberNetASP/Game/Inventions2.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166006"
} | starcoder | using System;
using System.Data;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MySql.Data.MySqlClient;
namespace CyberNet.Game
{
public partial class Inventions2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
... | 2.195847 | c455968797fbede41faa587747865e04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846787 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Xiangrui2019/ConfessionWall",
"max_stars_repo_path": "ConfessionWall.Web/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:166007"
} | starcoder | @model IList<ConfessionWall.Entities.Message>
@{
ViewData["Title"] = "首页";
}
<div class="text-center">
<h1 class="display-4">
看看别人的表白吧!
</h1>
<p>
快来表白吧! <a href="/Home/Submit">戳我戳我!</a>
</p>
<ul class="list-group">
@foreach (var message in @Model)
{
... | 2.80137 | 5ca26c12b874dfd611886f4051e340ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846788 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "flightlog/flsserver",
"max_stars_repo_path": "src/FLS.Server.Service/Email/LicenceExpireEmailBuildService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166008"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Mail;
using Alpinely.TownCrier;
using FLS.Common.Extensions;
using FLS.Common.Validators;
using FLS.Server.Data.DbEntities;
using FLS.Server.Service.Email.Model;
using NLog;
namespace FLS.Server.Service.Email
{
public... | 1.804156 | 677c0bb4061c4dc7a36c4153b191d9b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846789 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zed9h/a-estrela-dormiu",
"max_stars_repo_path": "Assets/SkyboxTextSwitcher/SkyboxTextSwitcherTrack.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166009"
} | starcoder | using UnityEngine;
using UnityEngine.Playables;
using UnityEngine.Timeline;
[TrackColor(0.1401745f, 0.3259392f, 0.6603774f)]
[TrackClipType(typeof(SkyboxTextSwitcherClip))]
[TrackBindingType(typeof(Skybox))]
public class SkyboxTextSwitcherTrack : TrackAsset
{
public override Playable CreateTrackMixer(PlayableGraph... | 1.489198 | 57dc6fc68135661bef67bde033fdb401 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846790 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "xaviersolau/BlazorJsonLocalizer",
"max_stars_repo_path": "src/libs/SoloX.BlazorJsonLocalization/Services/Impl/CultureInfoService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166010"
} | starcoder | // ----------------------------------------------------------------------
// <copyright file="CultureInfoService.cs" company="<NAME>">
// Copyright © 2021 <NAME>.
// Licensed under the MIT license.
// See LICENSE file in the project root for full license information.
// </copyright>
// --------------------------------... | 2.415163 | d6a281d6667ec66601d524369452efa9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846791 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jorgsiq/planetarium",
"max_stars_repo_path": "Assets/SolarSystem/Scripts/PlanetSwitch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166011"
} | starcoder | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
/// <summary>
/// Planet switch.
/// </summary>
public class PlanetSwitch : MonoBehaviour {
GameObject MainCamera;
const float optimalDistance = 2.3f;
public GUISkin guiSkin;
public string planetName;
public float baseDistance = 2... | 1.93249 | 5f5c6194d27730e2add8a7b1c51083b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846792 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dgerding/Construct",
"max_stars_repo_path": "Construct3/Construct3/Construct.Server.Services.Data/Transport_SqlTypePartial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166012"
} | starcoder | <reponame>dgerding/Construct
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Construct.Server.Services.Data
{
public class Transport_SqlTypePartial
{
}
} | 0.809655 | 9c986305ae93111bd1158c0402314ef0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846793 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Alohacajun/StateFundingContinued",
"max_stars_repo_path": "Source/ViewComponents/ViewGovernmentButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166013"
} | starcoder | using System;
using UnityEngine;
using System.IO;
namespace StateFunding
{
public class ViewGovernmentButton : RelativeViewComponent
{
protected Government Gov;
protected Action<Government> callback;
public ViewGovernmentButton(Government Gov, Action<Government> callback)
{
... | 2.474192 | 1663c83500ba6b84039ca334ceecd789 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846794 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pashcovich/More",
"max_stars_repo_path": "src/Tests/UI.Tests/Windows.Input/InteractionTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166014"
} | starcoder | <filename>src/Tests/UI.Tests/Windows.Input/InteractionTest.cs
namespace More.Windows.Input
{
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
/// <summary>
/// Provides unit tests for <see cref="Interaction"/>.
... | 2.788704 | 3261a7f5c82f63a941777b22a10f68e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846795 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "pulumi/pulumi-okta",
"max_stars_repo_path": "sdk/dotnet/UserBaseSchemaProperty.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166015"
} | starcoder | // *** 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;
using Pulumi.Serialization;
names... | 1.908573 | faabcbe0192411660c232ed9d75b84bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846796 | {
"extension": "c-sharp",
"max_stars_count": "143.0",
"max_stars_repo_name": "jianyuyanyu/WPFDevelopers",
"max_stars_repo_path": "src/WPFDevelopers/Controls/EdgeLight/EdgeLight.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166016"
} | starcoder | using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace WPFDevelopers.Controls
{
[TemplatePart(Name = TopScaleTransformTemplateName, Type = typeof(ScaleTransform))]
[TemplatePart(Name = RightScaleTransformTemplateName, Type = typeof(ScaleTransform))]
[TemplatePart(Name =... | 2.184341 | b093cae5f73d7b11368e8d4568aaac6b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846797 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "kirkbrauer/hotchocolate",
"max_stars_repo_path": "src/HotChocolate/Language/test/Language.Tests/GraphQLConstantsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166017"
} | starcoder | using Xunit;
namespace HotChocolate.Language;
public class GraphQLConstantsTests
{
[Fact]
public void IsLetterOrUnderscore()
{
for (var c = 'a'; c <= 'z'; c++)
{
Assert.True(GraphQLConstants.IsLetterOrUnderscore((byte)c));
}
for (var c = 'A'; c <= 'Z'; c++)
... | 2.180803 | ecec55b90fc4565f2c73725f86475ef5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846798 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tanyogeorgiev/CSharp-Fundamentals",
"max_stars_repo_path": "1.CSharp Advanced/02.StacksAndQueuesEXER/ExerProblems/_03MaximumElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166018"
} | starcoder | <filename>1.CSharp Advanced/02.StacksAndQueuesEXER/ExerProblems/_03MaximumElement.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LabProblems
{
public class _03MaximumElement
{
public static void Run()
... | 3.506884 | b0185dbe7e1b7aafa1549c4930ac4399 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846799 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "boingball/OBSMidiRemote",
"max_stars_repo_path": "OBSMidiRemote/Forms/FMain.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166019"
} | starcoder | namespace OBSMidiRemote.Forms
{
partial class FMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
///... | 1.772648 | efac3c985252d2106421c2936f2b234a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846800 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JonathanAsbury-ACS/azure-iot-platform-dotnet-1",
"max_stars_repo_path": "test/services/tenant-manager/Services.Test/External/IdentityGatewayClientTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166020"
} | starcoder | <reponame>JonathanAsbury-ACS/azure-iot-platform-dotnet-1
// <copyright file="IdentityGatewayClientTests.cs" company="3M">
// Copyright (c) 3M. All rights reserved.
// </copyright>
using System;
using System.Collections.Generic;
using System.Net.Http;
using Microsoft.Extensions.Logging;
using Mmm.Iot.Common.Services.Co... | 1.621039 | cf88d0141a4d6365c2aa8329e991c40b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846801 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-provider-relationships",
"max_stars_repo_path": "src/SFA.DAS.ProviderRelationships.Api.Client/DependencyResolution/Microsoft/ServiceCollectionExtensions.cs",
"provenance": "train-00027-of-00045.js... | starcoder | <reponame>uk-gov-mirror/SkillsFundingAgency.das-provider-relationships
using MediatR;
using Microsoft.Extensions.DependencyInjection;
using SFA.DAS.AutoConfiguration.DependencyResolution;
namespace SFA.DAS.ProviderRelationships.Api.Client.DependencyResolution.Microsoft
{
public static class ServiceCollectionExtens... | 1.215378 | 15354546f7bfe5c600d37eb4d718a7b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846802 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidroth/proc",
"max_stars_repo_path": "src/Proc/Std/ConsoleOutColorWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166022"
} | starcoder | <reponame>davidroth/proc
using System;
using System.Reactive.Concurrency;
namespace ProcNet.Std
{
public class ConsoleOutColorWriter : ConsoleOutWriter
{
public static ConsoleOutColorWriter Default { get; } = new ConsoleOutColorWriter();
private readonly object _lock = new object();
public override void Write... | 2.400473 | 6e8885d1df58dc4ec2653c2e192f7b5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846803 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kriss98/CSharp-Projects",
"max_stars_repo_path": "SIS/FDMC.Models/User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166023"
} | starcoder | <reponame>kriss98/CSharp-Projects
namespace FDMC.Models
{
public class User : BaseModel<int>
{
public string Username { get; set; }
public string Password { get; set; }
public string Email { get; set; }
}
} | 1.813455 | c5ac15f5cdd74a850772da2735607e19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846804 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sharepointpita/GPDR-FieldCryptoEngine",
"max_stars_repo_path": "Console/Models/Person.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166024"
} | starcoder | <gh_stars>1-10
using Yunify.Security;
namespace Console.Models
{
public class Person
{
[SensitiveData]
public string firstName;
[SensitiveData]
string surName;
public string SurName => surName;
[SensitiveData]
public string SocialSecurityNumber { get; ... | 2.625878 | 5659435ee9f9cb46d97a9db27468c9f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846805 | {
"extension": "c-sharp",
"max_stars_count": "2073.0",
"max_stars_repo_name": "softienerd/abot",
"max_stars_repo_path": "Abot2/Core/FifoPagesToCrawlRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166025"
} | starcoder | <filename>Abot2/Core/FifoPagesToCrawlRepository.cs
using Abot2.Poco;
using System;
using System.Collections.Concurrent;
namespace Abot2.Core
{
public interface IPagesToCrawlRepository : IDisposable
{
void Add(PageToCrawl page);
PageToCrawl GetNext();
void Clear();
int Count();
... | 2.884714 | 4a93046b10a50d67f5ca65d1f19bd1c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846806 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yiyungent/TES",
"max_stars_repo_path": "src/Manager/Sys_MenuManger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166026"
} | starcoder | using Domain;
using Manager.Base;
namespace Manager
{
public class Sys_MenuManger : BaseManager<Sys_Menu>
{
}
}
| 1.03454 | dd25e6f964441e33cf27a0312ccbba92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846807 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vitalik-mironov/eon-lib",
"max_stars_repo_path": "src/eon-lib.annotations/Annotations/EffectiveAnnotations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166027"
} | starcoder | <filename>src/eon-lib.annotations/Annotations/EffectiveAnnotations.cs
using System.Collections.Generic;
using System.Linq;
namespace Eon.Annotations {
public sealed class EffectiveAnnotations {
readonly ICollection<AnnotationAttributeBase> _annotations;
public EffectiveAnnotations(IEnumerable<AnnotationAttrib... | 2.502677 | 4975d7be6b378d8c5324157bb55b2977 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846808 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hraverkar/Coding_Problem",
"max_stars_repo_path": "AddingExtraEscapeValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166028"
} | starcoder | using System;
using System.Text;
namespace ConsoleApp24
{
class Program
{
static void Main(string[] args)
{
string str = "India has GDP 10% in year 2019";
StringBuilder sb = new StringBuilder();
char[] ch = str.ToCharArray();
for(int i=0;i<ch.Length;i++)
{
if (ch[i] ==... | 2.924908 | e39d8dd8f1f24d1e46ee2d6c16db4941 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "polishchukNV/Puzzle-Pirate",
"max_stars_repo_path": "Assets/Script/MenuSwipe.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166029"
} | starcoder | <reponame>polishchukNV/Puzzle-Pirate
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MenuSwipe : MonoBehaviour
{
public GameObject scrollBar;
private float scrollPosition;
private float[] position;
private Scrollbar scrollbar;
pri... | 1.634667 | d730fc4c11c53520b2cd9947b2853edc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846810 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "frankfont/RAPTOR_FORK",
"max_stars_repo_path": "OtherComponents/MDWSvistalayer/MDWS Source/mdws/mdws/src/bse/VistaUserSecurityProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:166030"
} | starcoder | <reponame>frankfont/RAPTOR_FORK
using System;
using gov.va.medora.mdws.conf;
namespace gov.va.medora.mdws.bse
{
public interface IUserSecurityProvider
{
IPrincipal getUserPrincipal(string key);
}
public class VistaUserSecurityProvider : IUserSecurityProvider
{
public VistaUserSecur... | 1.88768 | b951cff95b3c110800dad69ff435be7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846811 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "luizfelipedasilva678/Asp.net-files",
"max_stars_repo_path": "Project-MVC/Views/Infra/RegistrarNovoUsuario.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:166031"
} | starcoder | @model Project_MVC.Models.Infra.RegistrarNovoUsuarioViewModel
@{
Layout = "_LayoutIES";
}
<div class="card-header text-white bg-secondary text-center h1">
Registrar uma nova conta de usuário
</div>
<div class="row">
<div class="col-md-4">
</div>
<div class="col-md-4">
<form asp-route-retur... | 2.149722 | e9671204bbf03e1959312a2bfa8cd2eb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.