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 | 8836412 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "usernameHed/BackHome",
"max_stars_repo_path": "Assets/Obi/Scripts/Utils/ObiRopeHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155632"
} | starcoder | <filename>Assets/Obi/Scripts/Utils/ObiRopeHelper.cs
using UnityEngine;
using System.Collections;
namespace Obi
{
[RequireComponent(typeof(ObiRope))]
[RequireComponent(typeof(ObiCatmullRomCurve))]
public class ObiRopeHelper : MonoBehaviour {
public ObiSolver solver;
public ObiRopeSection section;
... | 2.429925 | e44ac67f756a30c297eaed4e616cdf20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836413 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Enerccio/ironpython26-fixed",
"max_stars_repo_path": "Src/Runtime/Microsoft.Scripting/Utils/CollectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155633"
} | starcoder | <filename>Src/Runtime/Microsoft.Scripting/Utils/CollectionExtensions.cs
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Microsoft Public License. A
* copy of the license can be ... | 2.74147 | dbba1b3598af0f57a251c6b7c599dddf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836414 | {
"extension": "c-sharp",
"max_stars_count": "439.0",
"max_stars_repo_name": "timaxapa/GoogleApi",
"max_stars_repo_path": "GoogleApi/Entities/Common/Extensions/EnumExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155634"
} | starcoder | using System;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
namespace GoogleApi.Entities.Common.Extensions
{
/// <summary>
/// Enum extensions.
/// </summary>
public static class EnumExtension
{
/// <summary>
/// Converts... | 3.302096 | 4c3734ecc0ba83a8112baef07a7d7855 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836415 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "COM8/UWP-Onewheel",
"max_stars_repo_path": "Onewheel/Pages/MainPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155635"
} | starcoder | <filename>Onewheel/Pages/MainPage.xaml.cs
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace Onewheel.Pages
{
public sealed partial class MainPage : Page
{
//--------------------------------------------------------Attributes:---------------------------------------------------------------... | 2.515401 | 5f2212dc91df912069ec28dbaf6aa24d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836416 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dfds/iamroleservice",
"max_stars_repo_path": "src/AwsJanitor.WebApi/Features/Roles/Model/Policy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155636"
} | starcoder | using System;
namespace AwsJanitor.WebApi.Features.Roles.Model
{
public class Policy
{
private Policy(string name, string document)
{
Name = name;
Document = document;
}
public string Name { get; }
public string Document { get; }
... | 2.568847 | cf0e54aac08124bf9213719596918932 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836417 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iidan/WebShop",
"max_stars_repo_path": "Dal/ShopDal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155637"
} | starcoder | using Avoda1.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
namespace Avoda1.Dal
{
public class ShopDal:DbContext
{
// Save in DataBase and get values from DataBase.
protected override void OnModelCreating(DbMo... | 2.471166 | 6d6cd84bb3c859f073b4170a3e2894b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836418 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "akdimitrov/CSharp-Fundamentals",
"max_stars_repo_path": "ExamPreparation/09.Exam Prep - PF RetakeExam-Part1-6January2017/T01.SinoTheWalker/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155638"
} | starcoder | <gh_stars>0
using System;
using System.Numerics;
namespace T01.SinoTheWalker
{
class Program
{
static void Main(string[] args)
{
string[] time = Console.ReadLine().Split(':');
BigInteger hours = BigInteger.Parse(time[0]);
BigInteger minutes = BigInteger.Pars... | 3.240945 | 2a2f8d8d1083231f5871eb23efcb0f6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836419 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GerHobbelt/Dragablz",
"max_stars_repo_path": "DragablzDemo/MdiExample.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155639"
} | starcoder | using System.Windows.Controls;
namespace DragablzDemo
{
/// <summary>
/// Interaction logic for MdiExample.xaml
/// </summary>
public partial class MdiExample : UserControl
{
public MdiExample()
{
InitializeComponent();
}
}
}
| 1.479453 | da1907291d937428956ad94a73a44b75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836420 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nikriaz/SyngoLogReader",
"max_stars_repo_path": "LogReader/Helpers/XMLWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155640"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Xml.Serialization;
using LogReader.Models;
namespace LogReader.Helpers
{
public interface IXMLWriter
{
string SaveFile(ViewResult ... | 2.447651 | 505407bdf5eb918c86f036015cf091eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836421 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RajeshJs/IdS4.Management",
"max_stars_repo_path": "src/IdS4/IdS4/DbContexts/IdS4IdentityDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155641"
} | starcoder | using IdS4.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace IdS4.DbContexts
{
public class IdS4IdentityDbContext: IdentityDbContext<IdS4User, IdS4Role, string, IdS4UserClaim, IdS4UserRole, IdS4UserLogin, IdS4RoleClaim, IdS4UserToken>
{
p... | 2.179973 | 6ae867d0e867131c801412be0f1e0b6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836422 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Intelliphant/MathyString",
"max_stars_repo_path": "Intelliphant.MathyString.Tests/MathyString_Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155642"
} | starcoder | <filename>Intelliphant.MathyString.Tests/MathyString_Tests.cs
using NUnit.Framework;
namespace Intelliphant.MathyString.Tests
{
[TestFixture]
public class MathyString_Tests
{
[Test]
public void MultiplicationByInt()
{
MathyString s = "test";
var result = s *... | 3.417707 | 98b0b00c4f25f3a5b3dd2ec463dda13d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836423 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Careview/CareviewApiDemo",
"max_stars_repo_path": "Dotnet/CareviewApi/Models/ServiceProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155643"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace CareviewApi.Models
{
public class ServiceProvider
{
public string Name { get; set; }
public string BillingContact { get; set; }
public string Address1 { get; set; }
public string Address2 {... | 1.346818 | 609ebcf0dd76d4dbc5e4f36d19e17a44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836424 | {
"extension": "c-sharp",
"max_stars_count": "318.0",
"max_stars_repo_name": "Apple-Yuki/UniVRM",
"max_stars_repo_path": "Assets/VRM10/Runtime/IO/Model/ModelExporter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155644"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using UniGLTF;
using Unity.Collections;
using UnityEngine;
using VrmLib;
namespace UniVRM10
{
/// <summary>
/// UnityEngine.GameObject hierarchy => GLTF.Nodes, GLTF.Meshes, GLTF.Skins
... | 2.237017 | a21bfbe40ab2c04c8fad4f0fb2951159 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836425 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mitsbits/NoBorg",
"max_stars_repo_path": "src/infra/Borg.Infra/Services/Randomize.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155645"
} | starcoder | <reponame>mitsbits/NoBorg<gh_stars>1-10
using System.Linq;
using System.Security.Cryptography;
namespace Borg.Infra.Services
{
public static class Randomize
{
public const string Alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
public const string LettersArray = "ab... | 2.902777 | 273c620f96b45b43f3ba7cd4a3a071d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836426 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saulodacruz/RestWithASPNET5",
"max_stars_repo_path": "03_RestWithASPNET_ContentNegociation/RestWithASPNET/TestandoConhecimento/Model/Entities/Person.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155646"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations.Schema;
using TestandoConhecimento.Repository.Base;
namespace TestandoConhecimento.Model.Entities
{
[Table("Person")]
public class Person : BaseEntity
{
[Column("id")]
public int Id { get; set; }
[Column("name")]
... | 2.374074 | 06e989259268099482df8eff3dcafd11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836427 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Brunosil97/Spartaproject-Plays_galore",
"max_stars_repo_path": "PlayGalore_Project/PlayGalore_model/Models/Theatre.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155647"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
namespace PlayGalore_model.Models
{
public partial class Theatre
{
public int TheatreId { get; set; }
[StringLength(50)]
p... | 2.187804 | 06c6e70bc80530aa9efaac0235e05b81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836428 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hexarc-software/hexarc-serialization",
"max_stars_repo_path": "Hexarc.Serialization.Tuple/Utf8JsonWriterExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155648"
} | starcoder | namespace Hexarc.Serialization.Tuple;
internal static class Utf8JsonWriterExtensions
{
public static void WriteTuple<T1>(
this Utf8JsonWriter writer,
ValueTuple<T1> tuple,
JsonSerializerOptions options)
{
writer.WriteStartArray();
writer.WriteValue(tuple.Item1, options);... | 2.211842 | ab0a92149377eacf524538de54ded3b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836429 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eimantaszlabys/Edorator.Security",
"max_stars_repo_path": "Models/LoginModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155649"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity.MongoDB;
namespace Edorator.Security.Models
{
public class LoginModel
{
public string Email { get; set; }
public string Password { get; set; }
}
... | 1.619701 | ebcbbc7c0c2072b51f612210a8fd24d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836430 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "intj-t/openvmsft",
"max_stars_repo_path": "WRK-V1.2/clr/src/bcl/system/methodaccessexception.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155650"
} | starcoder | // ==++==
//
//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are contained in the file
// named license.txt, which can be found in the root of this distribution.
// By using this software in any fashion, you are agreeing to ... | 2.084216 | 6936c089c5e4e14068016932489aff12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836431 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.tl-matching",
"max_stars_repo_path": "src/Sfa.Tl.Matching.Domain/Models/MatchingServiceProviderOpportunityReport.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155651"
} | starcoder | <filename>src/Sfa.Tl.Matching.Domain/Models/MatchingServiceProviderOpportunityReport.cs<gh_stars>0
namespace Sfa.Tl.Matching.Domain.Models
{
public class MatchingServiceProviderOpportunityReport
{
public int OpportunityItemCount { get; set; }
public string RouteName { get; set; }
public... | 1.768178 | f899f32199f7ac967b2d977128897818 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836432 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "abuhenasobuj/Live-HTML-Editor",
"max_stars_repo_path": "Live HTML Editor/ShortcutKeysList.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155652"
} | starcoder | namespace Live_HTML_Editor
{
partial class ShortcutKeysList
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.035323 | e61bdf205c504890562f02bf91cc7856 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836433 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "DrDao/OpenMir2",
"max_stars_repo_path": "src/GameSvr/Monsters/Monster/ElfWarriorMonster.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155653"
} | starcoder | <reponame>DrDao/OpenMir2<filename>src/GameSvr/Monsters/Monster/ElfWarriorMonster.cs
using SystemModule;
namespace GameSvr
{
/// <summary>
/// 神兽攻击形态
/// </summary>
public class ElfWarriorMonster : SpitSpider
{
public bool boIsFirst = false;
private int dwDigDownTick = 0;
p... | 1.953108 | 3b3b7941647c618d4c79337accbd8a78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836434 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GosuMonkeyManiak/ASP.NET-Core-Online-Food-Ordering-System",
"max_stars_repo_path": "FoodFun.Web/Areas/Restaurant/Views/Table/Add.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:155654"
} | starcoder | @model TableFormModel
@{
ViewData[Title] = "Add Table";
}
<div class="row">
<div class="offset-xl-3 col-xl-6">
<h1 class="text-center">@ViewData[Title]</h1>
<form method="post">
<div class="form-group mb-3">
<label asp-for="SizeId" class="form-label mb... | 2.47672 | 864c845ead2bd3fe1a6625b947884703 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836435 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "porohkun/mimi-json",
"max_stars_repo_path": "MimiJson/MyMemoryStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155655"
} | starcoder | using System.IO;
namespace MimiJson
{
#if !NET45
public class MyMemoryStream : MemoryStream
{
public override void Close() { }
public void ReallyClose()
{
base.Close();
}
}
#endif
}
| 2.203837 | dea886482045a758393783251c02baf9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836436 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "binary-machinery/fgj20",
"max_stars_repo_path": "Assets/Scripts/Puzzle/Generator/PuzzleGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155656"
} | starcoder | <gh_stars>0
using System;
using System.Linq;
using UnityEngine;
using Random = UnityEngine.Random;
public class PuzzleGenerator : MonoBehaviour
{
private const float GRID_STEP = 1f;
[SerializeField]
private PickableItem[] _itemsPool;
[SerializeField]
private GameObject _itemDragPlane;
[Seri... | 2.354739 | 61035ffa3a2c72518d2270b434a36839 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836437 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "singhveena/func",
"max_stars_repo_path": "ecommerce/src/Relecloud.Web/Controllers/CartController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155657"
} | starcoder | <reponame>singhveena/func
using Microsoft.ApplicationInsights;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Relecloud.Web.Infrastructure;
using Relecloud.Web.Models;
using Relecloud.Web.Services;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
name... | 2.018353 | 2f3bcef8b6beacaf0a001e0feab9358f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836438 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eahs/FBLA-SocialApp",
"max_stars_repo_path": "Source/FBLASocialApp/FBLASocialApp/FBLASocialApp/ViewModels/Chat/RecentChatViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155658"
} | starcoder | <reponame>eahs/FBLA-SocialApp
using System.Collections.ObjectModel;
using FBLASocialApp.Models.Chat;
using Xamarin.Forms;
using Xamarin.Forms.Internals;
namespace FBLASocialApp.ViewModels.Chat
{
/// <summary>
/// View model for recent chat page
/// </summary>
[Preserve(AllMembers = true)]
... | 2.445552 | 48085e23c9a7fd718626640ba316a2fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836439 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dcasadevall/ECSLineRenderer",
"max_stars_repo_path": "Runtime/Systems/LineRendererSimulationGroup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155659"
} | starcoder | using Unity.Entities;
using Unity.Transforms;
using UnityEngine;
namespace E7.ECS.LineRenderer
{
[UpdateInGroup(typeof(SimulationSystemGroup))]
[UpdateBefore(typeof(TransformSystemGroup))]
[ExecuteAlways]
public class LineRendererSimulationGroup : ComponentSystemGroup
{
}
} | 1.005983 | 20f7083329f9b1c3909a2be2fee24823 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836440 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MaartenX/ConnectQL",
"max_stars_repo_path": "src/ConnectQl/ExtensionMethods/ExpressionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155660"
} | starcoder | // MIT License
//
// Copyright (c) 2017 <NAME>.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, me... | 2.188284 | cc91e4ecd5da3dde25d3d60142b0dd19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836441 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gashach/EncompassRest",
"max_stars_repo_path": "src/EncompassRest/Loans/Enums/LoanLevelCreditScoreSelectionMethodType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155661"
} | starcoder | using System.Runtime.Serialization;
namespace EncompassRest.Loans.Enums
{
public enum LoanLevelCreditScoreSelectionMethodType
{
AverageThenAverage = 0,
MiddleOrLowerThenAverage = 1,
MiddleOrLowerThenLowest = 2,
Other = 3
}
} | 1.733061 | 9159bdbefdefa70b3c31740f110d7367 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836442 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DavidKatona/Watchers",
"max_stars_repo_path": "Watchers/Assets/Scripts/PersistentDataManagement/SaveablePlayer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155662"
} | starcoder | using UnityEngine;
using Assets.Scripts.Player.Skills;
using Assets.Scripts.Attributes;
namespace Assets.Scripts.PersistentDataManagement
{
public class SaveablePlayer : MonoBehaviour, ISaveablePlayer
{
[SerializeField] private Transform _playerTransform;
[SerializeField] private StatManager _... | 2.275294 | 4ce415128618a051e4775fa8d5b0f267 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836443 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "boris-741/WrapContent",
"max_stars_repo_path": "Assets/Script/Example/CustomWrap/CustomWrapContent_2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155663"
} | starcoder | <reponame>boris-741/WrapContent
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
using WrapContent;
public class CustomWrapContent_2: BaseWrapContent<CustomWrapItemData_2, WrapItem_2>
{
TextGenerator generator = null;
TextGenerationSettings textsett;
void Start()
{
StartCoro... | 1.971372 | 0cc8ffa1d28859c1290e8b437462e6a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ghuntley/Opserver",
"max_stars_repo_path": "Opserver.Core/Settings/SQLSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155664"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace StackExchange.Opserver
{
public class SQLSettings : Settings<SQLSettings>, IAfterLoadActions
{
public override bool Enabled { get { return Clusters.Any() || Instances.Any(); } }
... | 2.909833 | 684c4255952b65d48178c7e976a40422 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836445 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "bencgreen/jeebs",
"max_stars_repo_path": "tests/Tests.Jeebs/Constants/BibleBooks/NewTestament_Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155665"
} | starcoder | // Jeebs Unit Tests
// Copyright (c) bfren.uk - licensed under https://mit.bfren.uk/2013
using Xunit;
namespace Jeebs.Constants.BibleBooks_Tests
{
public class NewTestament_Tests
{
[Fact]
public void Returns_NewTestament_Books()
{
// Arrange
const string? nt = "[\"Matthew\",\"Mark\",\"Luke\",\"John\",\... | 2.242548 | 59acd7c8f5948b4887ac45a64d1ae2a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836446 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikolaitrifonov0/StayFit",
"max_stars_repo_path": "StayFit.Services/Users/LogWorkoutForUserServiceModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155666"
} | starcoder | using System.Collections.Generic;
namespace StayFit.Services.Users
{
public class LogWorkoutForUserServiceModel
{
public string Name { get; set; }
public bool HasWorkout { get; set; } = false;
public bool IsWorkdayComplete { get; set; } = false;
public Dictionary<string, string... | 1.868394 | d0b986db2bb0d8551028e2fc2913467a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836447 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterson1/Repo2",
"max_stars_repo_path": "Repo2.UnitTests.Lib/Core.ns11.Tests/DomainModels/R2PackagePartValidations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155667"
} | starcoder | using FluentAssertions;
using Repo2.Core.ns11.DomainModels;
using Xunit;
namespace Repo2.UnitTests.Lib.Core.ns11.Tests.DomainModels
{
[Trait("Core", "Unit")]
public class R2PackagePartValidations
{
private R2PackagePart _part;
public R2PackagePartValidations()
{
_part ... | 2.472792 | 6596f7159884a0f5494517e8a7f72fde |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836448 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JohannesBauer97/Pr0grammDownloadService",
"max_stars_repo_path": "src/Pr0gramm.Download.Service/RateLimiter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155668"
} | starcoder | <reponame>JohannesBauer97/Pr0grammDownloadService<gh_stars>0
using System;
using Pr0gramm.Download.Service.Abstraction;
using Pr0gramm.Download.Service.Models;
namespace Pr0gramm.Download.Service
{
public class RateLimiter : IRateLimiter
{
/// <inheritdoc />
public RateLimit CurrentRate { get; } = new Rat... | 2.278022 | 8775491be9748ce4b45112fbd0e8337c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836449 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "yanggujun/commonsfornet",
"max_stars_repo_path": "src/Commons.Collections/Map/LlrbTree.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155669"
} | starcoder | // Copyright CommonsForNET.
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// ... | 2.690024 | a2146f94c84bfd40b1d5baffedb09a0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836450 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "firefishes/FWGame",
"max_stars_repo_path": "Assets/Scripts/ShipDock/Servers/Interfaces/IResolvable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155670"
} | starcoder | using ShipDock.Interfaces;
using ShipDock.Pooling;
using System;
namespace ShipDock.Server
{
public interface IResolvable : IDispose
{
void Binding(ref ResolvableBinder target);
void InitResolver<InterfaceT>(IServersHolder serverHolder, IPoolBase factory = default);
void SetResolver<In... | 1.68676 | 2f1ab00961f0ab96a6108d26b61e1d01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836451 | {
"extension": "c-sharp",
"max_stars_count": "168.0",
"max_stars_repo_name": "xccoreco/XSharp",
"max_stars_repo_path": "source/XSharp/MSBuild/XSharp.Compiler.Tasks/Xsc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155671"
} | starcoder | <reponame>xccoreco/XSharp
using System;
using System.IO;
using System.Linq;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace XSharp.Compiler.Tasks
{
public class Xsc : ToolTask
{
[Required]
public ITaskItem[] InputFiles { get; set; }
public bool Append { get... | 2.299779 | 49e70765f278d10798a147c3a41e03ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836452 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "isse-augsburg/ssharp",
"max_stars_repo_path": "Source/SafetyChecking/Formula/RewardFormula.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155672"
} | starcoder | <reponame>isse-augsburg/ssharp<filename>Source/SafetyChecking/Formula/RewardFormula.cs
// The MIT License (MIT)
//
// Copyright (c) 2014-2017, Institute for Software & Systems Engineering
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentati... | 2.078185 | 7e9601a72cd007236e06fb19ee796ce0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836453 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "milestonetg/EnterpriseLibrary6",
"max_stars_repo_path": "Blocks/Configuration/Tests/Console.Wpf/Console.Wpf.Tests.VSTS/DevTests/given_app_settings_configuration/when_adding_new_key_value_element_to_app_settings_view_model.cs",
"proven... | starcoder | //===============================================================================
// Microsoft patterns & practices Enterprise Library
// Core
//===============================================================================
// Copyright © Microsoft Corporation. All rights reserved.
// THIS CODE AND INFORMATION IS PR... | 2.098164 | bacd586214cc3086b10b066b27bb2d78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836454 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Volkidia/ChampionsBrawl",
"max_stars_repo_path": "Scripts/Network/UDP/UDPListen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155674"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Net.Sockets;
using System.Net;
using System;
using System.Text;
public class UDPListen {
private UdpClient Client;
private IPEndPoint groupeEp;
private string strReceiveUDP = "";
private int port;
// Use this for initialization
public void Init(int L... | 2.507105 | 5a4aa8693a7edd9a03f97aff9990b444 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836455 | {
"extension": "c-sharp",
"max_stars_count": "953.0",
"max_stars_repo_name": "ike709/space-station-14",
"max_stars_repo_path": "Content.IntegrationTests/Tests/ShuttleTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155675"
} | starcoder | #nullable enable
using System.Threading.Tasks;
using Content.Server.Shuttles;
using NUnit.Framework;
using Robust.Shared.GameObjects;
using Robust.Shared.Map;
using Robust.Shared.Maths;
using Robust.Shared.Physics;
namespace Content.IntegrationTests.Tests
{
[TestFixture]
public class ShuttleTest : ContentInteg... | 1.993269 | 1f6750829400b1cba87208cf3684785d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836456 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danielmayost/Avalonia",
"max_stars_repo_path": "src/Avalonia.Diagnostics/Diagnostics/ViewModels/BindingSetterViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155676"
} | starcoder | using System;
using Avalonia.Data;
using Avalonia.Markup.Xaml.MarkupExtensions;
using Avalonia.Media;
namespace Avalonia.Diagnostics.ViewModels
{
internal class BindingSetterViewModel : SetterViewModel
{
public BindingSetterViewModel(AvaloniaProperty property, object? value) : base(property, value)
... | 2.563921 | 2806d4daf56428c096fee0755e4220e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836457 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "MrKloan/CodeQualityAndReadability",
"max_stars_repo_path": "Code/CSharp/Code/UnitTestProject/FinancialDesignPatterns/SplitMatchingTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155677"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Code.FinancialDesignPatterns;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTestProject.FinancialDesignPatterns
{
[TestClass]
public class SeveralPaymentsForSeveralExpenses {
class MonthlyExpense : IConsum... | 3.004986 | acbc9760da6e707e7b97a63bd1de7723 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836458 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "jaywhen/Pmer",
"max_stars_repo_path": "Pmer-dotnetcore/Pmer/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155678"
} | starcoder | <filename>Pmer-dotnetcore/Pmer/App.xaml.cs<gh_stars>1-10
using Pmer.Db;
using Pmer.Views;
using System.Windows;
using System.Configuration;
namespace Pmer
{
/// <summary>
/// App.xaml 的交互逻辑
/// </summary>
public partial class App : Application
{
/// <summary>
/// 配置数据库文件所在位置以及所在文件夹... | 2.571454 | 0386c585a745d01d6e90e52e42dff418 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836459 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SemenchenkoVitaliy/GDC-CP",
"max_stars_repo_path": "kpi-lex/KpiLex.Api/Models/Response/StudentGroupResponseModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155679"
} | starcoder | namespace KpiLex.Api.Models.Response
{
public class StudentGroupResponseModel
{
}
} | 0.907562 | c9bad6ce58c49bfbca649f8511280749 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836460 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RoyalMind/royalmind-library",
"max_stars_repo_path": "Royalmind.Security/Algorithms/PLAINTEXT.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155680"
} | starcoder | namespace Royalmind.Security.Algorithms
{
[Obsolete("No se recomienda en lo absoluto.")]
public class PLAINTEXT
{
public static string CalculateHash(string text) => text;
public static bool Compare(string text, string hash) => text.Equals(hash, StringComparison.InvariantCultureIgnoreCase);... | 2.752374 | 469b9ff599075f11b9d93f799875927a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836461 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "sillsdev/phonology-assistant",
"max_stars_repo_path": "src/Pa/UI/Controls/CharacterPickerControls/MultiSelectSymbolExplorer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155681"
} | starcoder | <gh_stars>1-10
// ---------------------------------------------------------------------------------------------
#region // Copyright (c) 2005-2015, SIL International.
// <copyright from='2005' to='2015' company='SIL International'>
// Copyright (c) 2005-2015, SIL International.
//
// This software is distri... | 2.252699 | aa96ea5b936c0ae263d0b5ff2055e60d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836462 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "michaeljfarr/Sprache.Calc",
"max_stars_repo_path": "Sprache.LogicCalc/Internals/StringRangeComparer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155682"
} | starcoder | using System;
using System.Collections.Generic;
namespace Sprache.Calc.Internals
{
public class StringRangeComparer : IComparer<string>
{
public int Compare(string x, string y)
{
if (x is null || y is null)
{
return string.Compare(x, y, StringComparison.... | 2.560764 | 10e6a4851d90f45470c28fb064c6e7aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836463 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "ejricahuerta/hopeline",
"max_stars_repo_path": "PRJ/HopeLine.DataAccess/Entities/Specialization.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155683"
} | starcoder | using HopeLine.DataAccess.Entities.Base;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace HopeLine.DataAccess.Entities
{
/// <summary>
/// this class holds topics and mentors available for each topic
/// </summary>
public class Specialization : BaseEntity
{
... | 2.548007 | 9f5fbaaef18cd194523b9d443278d05b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836464 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "PacktPublishing/Unity-2020-By-Example",
"max_stars_repo_path": "Chapter12/End/Assets/Scripts/FSM/AttackState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155684"
} | starcoder | <filename>Chapter12/End/Assets/Scripts/FSM/AttackState.cs
using UnityEngine;
public class AttackState : MonoBehaviour, IFSMState
{
public FSMStateType StateName { get { return FSMStateType.Attack; } }
public ParticleSystem WeaponPS = null;
private Transform ThisPlayer = null;
void Awake()
{
... | 2.714971 | 96c4c6add892b65b2f4970a54a8097a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836465 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "ErQing/TinaX.VFS",
"max_stars_repo_path": "Runtime/Scripts/JsonModel/VFSConfigJson.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155685"
} | starcoder | using System;
using TinaX.VFSKit;
namespace TinaX.VFSKitInternal
{
[Serializable]
public class VFSConfigJson : IVFSConfig
{
public VFSGroupOption[] Groups = { VFSGroupOption.New() };
public bool EnableVFS = false;
public string AssetBundleFileExtension = InternalVFSConfig.default_... | 1.92717 | 0d2cb97913e723836322308b793b3458 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836466 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "abmes/Abmes.DataCollector",
"max_stars_repo_path": "Abmes.DataCollector.Common.Web/Configuration/ConfigLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155686"
} | starcoder | using Abmes.DataCollector.Common.Configuration;
using Abmes.DataCollector.Utils;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Abmes.DataCollector.Common.Web.Configuration
{
public class ConfigLoader : IConfigLoader
... | 2.319493 | c29392b1d1ecdfa73b9b97aba55cdb71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836467 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zdravko-Kardzhaliyski/Technology-Fundamentals",
"max_stars_repo_path": "2.DataTypesAndVariablesExercise/DataTypesAndVariablesExercise/Snowballs/Snowballs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155687"
} | starcoder | <gh_stars>0
using System;
using System.Numerics;
class Snowballs
{
static void Main(string[] args)
{
int nSnowballs = int.Parse(Console.ReadLine());
BigInteger bestValue = 0;
int bestSnow = 0;
int bestTime = 0;
int bestQuality = 0;
for (int i = 0; i < nSnowbal... | 3.394309 | b08a4fa74dd379f1c5fc2961260ea8ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836468 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MeBuDA/GGJTUT2020LiveStreamingTeam",
"max_stars_repo_path": "Assets/Scripts/Shot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155688"
} | starcoder | <filename>Assets/Scripts/Shot.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Shot : MonoBehaviour
{
[SerializeField] GameObject bulletPrefab;
[SerializeField] private CriAtomSource Enemy_CAS;
[SerializeField] float shotSpeed = 500;
[SerializeFie... | 2.534361 | bf16c0a05906ec26686ca37c8de200f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836469 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AscenKeeprov/CSharp-MVC-Frameworks",
"max_stars_repo_path": "XAM10012019/PertensaCo.Common/Constants/DBConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155689"
} | starcoder | namespace PertensaCo.Common.Constants
{
public static class DBConstants
{
public const string AliasColumnName = "Alias";
public const string DateFunc = "CONVERT(DATE,GETDATE())";
public const string DateTimeUtcFunc = "SYSDATETIMEOFFSET()";
public const string DateTimeUtcNoTicksType = "DATETIMEOFFSET(0)";
p... | 1.70679 | 0c1d5dd9a1c3f66e6348a866b74b5363 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836470 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BorislavDimitrov/C-Sharp-Fundamentals",
"max_stars_repo_path": "ArraysMoreExecrsises/KaminoFactory/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155690"
} | starcoder | <filename>ArraysMoreExecrsises/KaminoFactory/Program.cs
using System;
using System.Linq;
namespace _KaminoFactory
{
class Program
{
static void Main(string[] args)
{
int sequencesLenth = int.Parse(Console.ReadLine());
string input = Console.ReadLine();
int[... | 3.142983 | c3a9c8121c312ebed96627c208630e07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836471 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Heather/Antd",
"max_stars_repo_path": "Antd/Modules/DomainControllerModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155691"
} | starcoder | <filename>Antd/Modules/DomainControllerModule.cs
//-------------------------------------------------------------------------------------
// Copyright (c) 2014, <NAME>. (http://www.anthilla.com)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modificat... | 1.963499 | e4fa01dea20a7ea406523a0f0213f273 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836472 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cheerpipe/PowerSchemaFlyout",
"max_stars_repo_path": "src/PowerSchemaFlyout/Services/PresetDetectionService/Detectors/CpuUsageDetector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155692"
} | starcoder | using System.Diagnostics;
using PowerSchemaFlyout.Models.Configuration;
using PowerSchemaFlyout.Services.Enums;
using PowerSchemaFlyout.Services.Native;
using PowerSchemaFlyout.Utiles;
namespace PowerSchemaFlyout.Services.Detectors
{
public class CpuUsageDetector : BaseProcessTypeDetector
{
... | 2.257439 | e48aaa5a88ac64f9f22991e6009e4dda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836473 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "davidikin45/DigitalNomadDaveAspNetCore3",
"max_stars_repo_path": "src/DND.Web/FeatureFlags.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155693"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DND.Web
{
public enum FeatureFlags
{
About,
BucketList,
Blog,
Contact,
Countries,
Gallery,
HelpFAQ,
Locations,
MyWebsite,
P... | 1.342308 | dd0836dfeb609c76da410055eb7e29a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836474 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tomyk9991/TodoWithAngular-Backend",
"max_stars_repo_path": "Models/TodoListContexts/PutContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155694"
} | starcoder | <reponame>Tomyk9991/TodoWithAngular-Backend
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using TodoBackend.Utilities;
namespace TodoBackend.Models
{
public class PutContext : Microsoft.AspNetCore.Mvc.Controller
{
private readonly ... | 2.771339 | bf161680032318b5b8cc0726752c29b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836475 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "isdaniel/DesignPattern",
"max_stars_repo_path": "DesignPattern/NullObjectPattern/PaymentService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155695"
} | starcoder | <reponame>isdaniel/DesignPattern
using System.Linq;
namespace NullObjectPattern
{
public class PaymentService : IPaymentService
{
public decimal calculate(CartModel model)
{
decimal result = model.Items.Sum(x => x.Price);
if (result > 400m)
result *= 0.... | 3.089157 | 9e47ce29e358673457423d6819940bc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836476 | {
"extension": "c-sharp",
"max_stars_count": "63.0",
"max_stars_repo_name": "RusKnyaz/Optimus",
"max_stars_repo_path": "source/Knyaz.Optimus.JsTests/ElementJsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155696"
} | starcoder | <filename>source/Knyaz.Optimus.JsTests/ElementJsTests.cs
using NUnit.Framework;
namespace Knyaz.Optimus.Tests.JsTests
{
/// <summary>
/// This stuff runs JS tests from Resources/JsTests/ElementTests.js file.
/// </summary>
[TestFixture(JsEngines.Jint)]
[TestFixture(JsEngines.Jurassic)]
public class ElementJsTest... | 2.131087 | 58758abb166625b59f262e937e97bd8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836477 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yscorecore/ys.docker",
"max_stars_repo_path": "YS.Docker.Core/DockerContainerSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155697"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
namespace YS.Docker
{
public class DockerContainerSettings
{
public string User { get; set; }
public string ImageName { get; set; }
public string Name { get; set; }
public IDictionary<string, string> Envs { get;... | 1.722576 | e49a82aae122bbef524eb19924d145f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836478 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ghost314/Corpse-Disintigration-Fix",
"max_stars_repo_path": "Scripts/GroundPositionCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155698"
} | starcoder | using System;
using System.Collections.Generic;
/// <summary>
/// This class can be used to maintain a temporary store of ground levels found from various starting points in the world. The cache is automatically cleared upon access if sufficient time has elapsed.
/// </summary>
public class GroundPositionCache
{
... | 3.068575 | be71fb41c1902b253ffecbe53f650294 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836479 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Osama-Tahboub1/N3O.Umbraco",
"max_stars_repo_path": "src/Giving/N3O.Umbraco.Giving.Checkout/Extensions/PublishedContentExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155699"
} | starcoder | <gh_stars>0
using N3O.Umbraco.Content;
using N3O.Umbraco.Extensions;
using N3O.Umbraco.Giving.Checkout.Content;
using Umbraco.Cms.Core.Models.PublishedContent;
namespace N3O.Umbraco.Giving.Checkout.Extensions {
public static class PublishedContentExtensions {
private static readonly string[] CheckoutPageA... | 1.59766 | f73394a9bd2bc7fafb63434a5de6f830 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836480 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jem-green/HPGL2",
"max_stars_repo_path": "HPGL2Library/Line.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155700"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace HPGL2Library
{
/// <summary>
/// Lines are in user units and need converting
/// to plotter units and then eventually into metic units
/// </summary>
public class Line
{
Point _start;
Point _end;
... | 3.473321 | 21bda45737fa3c0ea2d3659ba2277ec6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836481 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-ILR-1819-ValidationService",
"max_stars_repo_path": "src/ESFA.DC.ILR.ValidationService.Data/External/ValidationErrors/ValidationErrorsDataService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155701"
} | starcoder | using ESFA.DC.ILR.ValidationService.Data.External.ValidationErrors.Model;
using ESFA.DC.ILR.ValidationService.Data.Interface;
using ESFA.DC.ILR.ValidationService.Interface;
using ESFA.DC.ILR.ValidationService.Interface.Enum;
namespace ESFA.DC.ILR.ValidationService.Data.External.ValidationErrors
{
public class Val... | 1.812903 | 4355c00319c6ca15959805ef0c26e41c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836482 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scleaver/Elvanto.Net",
"max_stars_repo_path": "src/Elvanto.Net/JsonConverters/StatusEnumConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155702"
} | starcoder | <filename>src/Elvanto.Net/JsonConverters/StatusEnumConverter.cs
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
namespace Elvanto.Net.JsonConverters
{
public class StatusEnumConverter : StringEnumConverter
{
public override void WriteJson(JsonWriter writer, object value, ... | 2.685155 | 5d93b310e2824ba9c11d86e3cb6783dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836483 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "gmich/Gem",
"max_stars_repo_path": "Gem.Engine/AI/BehaviorTree/Leaves/ILeaf.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155703"
} | starcoder | <reponame>gmich/Gem
namespace Gem.Engine.AI.BehaviorTree.Leaves
{
public interface ILeaf<AIContext> : IBehaviorNode<AIContext>
{
}
}
| 1.358887 | 0c7947885fb443ae8b92b8c988de6c6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836484 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlyxMoon/epicodus-project14-csharp-api",
"max_stars_repo_path": "MyApi/ModelsView/RegisterResultViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155704"
} | starcoder | using Microsoft.AspNetCore.Identity;
using MyApi.Models;
namespace MyApi.ModelsView
{
public class RegisterResultViewModel
{
public IdentityResult Result { get; set; }
public UserViewModel User { get; set; }
public RegisterResultViewModel (IdentityResult result, ApplicationUser user) {
Result =... | 2.080574 | a804b33508c98e1fd53622e60d2d12f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836485 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "cjsharp1/EPiBootstrapArea",
"max_stars_repo_path": "src/EPiBootstrapArea/ListOfDisplayModeFallbackExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155705"
} | starcoder | <gh_stars>10-100
using System.Collections.Generic;
namespace EPiBootstrapArea
{
public static class ListOfDisplayModeFallbackExtensions
{
public static List<DisplayModeFallback> Add<T>(this List<DisplayModeFallback> target) where T : DisplayModeFallback, new()
{
target.Add(new T());... | 2.161426 | 4ae49f9a883cbb3039b1b925fc8beeab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836486 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "sceelix/Sceelix",
"max_stars_repo_path": "Source/Sceelix.Designer/Interfaces/IServiceable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155706"
} | starcoder | <reponame>sceelix/Sceelix
using Sceelix.Designer.Services;
namespace Sceelix.Designer.Interfaces
{
public interface IServiceable
{
void Initialize(IServiceLocator services);
}
}
| 1.331834 | 3d21a67090db2ee8aee719baab611be4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836487 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HodStudio/AudienceDisplay",
"max_stars_repo_path": "src/AudienceDisplay/Pages/SenderTest.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155707"
} | starcoder | using Microsoft.AspNetCore.Mvc.RazorPages;
namespace AudienceDisplay.Pages
{
public class SenderTestModel : PageModel
{
public void OnGet()
{
}
}
}
| 1.285573 | 479bf2c84ece745ac76ce44ac080ed3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836488 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "leonardiwagner/cs-go-radar",
"max_stars_repo_path": "Offsets.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155708"
} | starcoder | <filename>Offsets.cs
namespace CsGoRadar
{
public static class Offsets
{
/*
* These offsets can be changed often after each game update
* You can get the latest values at: https://github.com/frk1/hazedumper
*
* To avoid waiting for them update values, you ca... | 1.880486 | 2430d1cc85ce08d933390cb4e74b7e5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836489 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kczs6/Lingang3DScreen",
"max_stars_repo_path": "Lingang.City.Brain/rtHub/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155709"
} | starcoder | using Microsoft.AspNet.Identity;
using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Owin;
[assembly: OwinStartup("SignalRConfiguration", typeof(Lingang.City.Brain.Web.Startup))]
namespace Lingang.City.Brain.Web
{
public class Startup
{
// 有关配置身份验证的详细信息,请访问 http://go.microsoft.com/fwlin... | 1.662947 | b0b5f13ce685c44d80072b3103d715bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836490 | {
"extension": "c-sharp",
"max_stars_count": "134.0",
"max_stars_repo_name": "jcleblanc/box-windows-sdk-v2",
"max_stars_repo_path": "Legacy/Box.V2.Controls.WP/BoxItemPickerLauncher.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155710"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using Box.V2.Models;
using System.Threading.Tasks;
using Box.V2.Controls;
u... | 2.110187 | f5c0c12235a85bff049734a5be4e1f89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836491 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PeterMilovcik/DoThis",
"max_stars_repo_path": "DoThis/Data/Entities/CellEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155711"
} | starcoder | using System;
namespace Beeffective.Data.Entities
{
public class CellEntity : Entity
{
public string Title { get; set; }
public double Importance { get; set; }
public double Urgency { get; set; }
public string Goal { get; set; }
public string Tags { get; set; }
... | 1.869262 | 8631fcb2a7546100c8bdceab11de7843 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836492 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Sirokujira/MicroFrameworkPK_v4_3",
"max_stars_repo_path": "Framework/Tools/Emulator/FS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155712"
} | starcoder | <filename>Framework/Tools/Emulator/FS.cs<gh_stars>1-10
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved.
//... | 2.392219 | eab1900b55f59f345827d78b774bf1c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836493 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "karronoli/tiny-sato",
"max_stars_repo_path": "TinySato/ConnectionType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155713"
} | starcoder | namespace TinySato
{
public enum ConnectionType
{
Driver,
IP,
}
}
| 1.68697 | edd7865cbb65e98528ed10fe4e7db109 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836494 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "codeyu/ASPNETCore-Design-Patterns",
"max_stars_repo_path": "ASPPatterns.allcode/ASPPatterns08/ASPPatterns.Chap8.FrontController/ASPPatterns.Chap8.FrontController.Controller/Request/WebRequest.cs",
"provenance": "train-00027-of-00045.j... | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Specialized;
namespace ASPPatterns.Chap8.FrontController.Controller.Request
{
public class WebRequest
{
public string RequestedURL { get; set; }
public NameV... | 1.714775 | e27db89836d94df17bf0e275e096ad2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836495 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OmegaRogue/AntMeCore",
"max_stars_repo_path": "src/AntMe.Generator/EnumParseNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155715"
} | starcoder | <filename>src/AntMe.Generator/EnumParseNode.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp;
namespace AntMe.Generator
{
class EnumParseNode : BaseParseNode
{
... | 2.505942 | 99307a79c5f84700d6f29b3fd6fd9ff9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836496 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "petrekov/KBL.Framework",
"max_stars_repo_path": "KBL.Framework/KBL.Framework.BAL.Base/Mappers/GenericMapperFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155716"
} | starcoder | <gh_stars>1-10
using AutoMapper;
using KBL.Framework.BAL.Interfaces.Entities;
using KBL.Framework.BAL.Interfaces.Mappers;
using KBL.Framework.DAL.Interfaces.Entities;
namespace KBL.Framework.BAL.Base.Services
{
public class GenericMapperFactory<DetailDto, GridDto, Entity> : IGenericMapperFactory<DetailDto, GridDt... | 2.106191 | 7e10f1f3944b449d4941b25890ec1ab3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836497 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anilsnl/GrpcSample",
"max_stars_repo_path": "src/Client/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155717"
} | starcoder | using System;
using System.Linq;
using System.Threading.Tasks;
using ConsoleTables;
using Grpc.Core;
using Grpc.Net.Client;
using Server.Abstract;
namespace Client
{
/// <summary>
/// The main class runs the app.
/// </summary>
public class Program
{
private static readonly string _url = "h... | 2.668239 | 52402a0521ad14b53521ce77f3f45c53 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836498 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lundmikkel/SortedLists",
"max_stars_repo_path": "src/SortedLists/Implementations/SortedGapBuffer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155718"
} | starcoder | <reponame>lundmikkel/SortedLists<gh_stars>1-10
namespace SortedLists
{
using Slusser.Collections.Generic;
public class SortedGapBuffer<T> : SortedList<T>
where T : System.IComparable<T>
{
public SortedGapBuffer(bool allowsDuplicates = false) : base(allowsDuplicates) { }
protected ... | 2.551677 | f2c181a50cba910af791cedd90f2e4d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836499 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "craigmoliver/mesoBoard",
"max_stars_repo_path": "mesoBoard.Web/Areas/Admin/Views/Themes/_Theme.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:155719"
} | starcoder | @model ThemeViewModel
<dl>
<dt>@Html.LabelFor(model => model.Name)</dt>
<dd>
@Html.TextBoxFor(model => model.Name)
@Html.ValidationMessageFor(model => model.Name)
</dd>
<dt>@Html.LabelFor(model => model.DisplayName)</dt>
<dd>
@Html.TextBoxFor(model => model.Di... | 2.504156 | 86fbd1b2834904db9c0b8d6d6f51dd68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836500 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OsmanAltun/FlappyBird",
"max_stars_repo_path": "FlappyBird.Shared/Screens/Screen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155720"
} | starcoder | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Text;
namespace FlappyBird.Shared.Screens
{
public abstract class Screen
{
public GameState State;
public bool IsDrawing = true;
public bool IsUpdating =... | 2.493484 | 5a63709905b86c874da0ffea97dbaa29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836501 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pSharpX/customer360-api",
"max_stars_repo_path": "src/Gildemeister.Cliente360.WebAPI/Helper/AuditoriaDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155721"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Gildemeister.Cliente360.WebAPI.Helper
{
public class AuditoriaDTO
{
public string UsuarioCambio { get; set; }
public DateTime FechaCambio { get; set; }
public string... | 1.193394 | 2b4627fbc4eff9312a3359ca703cb75b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836502 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danmalcolm/RezRouting.Net",
"max_stars_repo_path": "src/RezRouting.Demos.Tasks/ViewEngines/ControllerPathSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155722"
} | starcoder | namespace RezRouting.Demos.Tasks.ViewEngines
{
public class ControllerPathSettings
{
public string RootNamespace { get; private set; }
public string RootControllerNamespace { get; private set; }
public bool MergeNameIntoNamespace { get; private set; }
public ControllerPathSettin... | 1.876362 | 6574c60e48a34937e35cc3ddf35bac1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836503 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "mizrael/EFCoreCommerceDemo",
"max_stars_repo_path": "EFCoreCommerceDemo.Example2/EFCoreCommerceDemo.Example2/DTOs/CreateProduct.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155723"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
using EFCoreCommerceDemo.Example2.Models;
namespace EFCoreCommerceDemo.Example2.DTOs
{
public class CreateProduct
{
[Required, MaxLength(25)]
public string Name { get; set; }
public decimal Price { get; set; }
[Required... | 2.130224 | 75ed4a6da3202fdc30f557f8955122fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836504 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Misterkid/Prototype-JoinZ",
"max_stars_repo_path": "Assets/Scripts/GameInterfaces/HeadsUpDisplay.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155724"
} | starcoder | using UnityEngine;
using System.Collections;
public class HeadsUpDisplay : MonoBehaviour
{
public Player player;
public Texture healthBarTexture;
public Texture StaminaBarTexture;
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
void Update ()
{
... | 2.391425 | 84e78f988bea01f421000955ec119a67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836505 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "After-Ever/Flighter",
"max_stars_repo_path": "Flighter/Core/KeyListener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155725"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Flighter.Input;
namespace Flighter.Core
{
public delegate void KeyEventCallback(KeyEventFilter filter);
/// <summary>
/// Widget that triggers callbacks when
/// specified key events occure.
/// </summary>
public class ... | 2.768259 | ffc45406441f6ac77b7222d1887017fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836506 | {
"extension": "c-sharp",
"max_stars_count": "81.0",
"max_stars_repo_name": "mjfusa/azure-mobile-apps",
"max_stars_repo_path": "sdk/dotnet/src/Microsoft.Datasync.Client/Table/Query/QueryTranslator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155726"
} | starcoder | <gh_stars>10-100
// Copyright (c) Microsoft Corporation. All Rights Reserved.
// Licensed under the MIT License.
using Microsoft.Datasync.Client.Table.Query.Nodes;
using Microsoft.Datasync.Client.Utils;
using System;
using System.Linq.Expressions;
namespace Microsoft.Datasync.Client.Table.Query
{
/// <summary>
... | 2.602194 | 824ccde3320d81fb756a3b444454116d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836507 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cozarkian/HuntingIsFun",
"max_stars_repo_path": "Source/MentalStateGiver_HuntingTrip.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155727"
} | starcoder | <reponame>Cozarkian/HuntingIsFun<gh_stars>0
using RimWorld;
using Verse;
namespace HuntingIsFun
{
public class MentalStateGiver_HuntingTrip : TraitMentalStateGiver
{
public override bool CheckGive(Pawn pawn, int checkInterval)
{
int joyCat = (int)pawn.needs.joy.CurCategory... | 1.899939 | 8c731a9d513a7fb8b7a9e5fcee2057fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836508 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Ollon/PowerShellModules",
"max_stars_repo_path": "src/Infrastructure/Utilities/DirectoryUtilities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155728"
} | starcoder | <gh_stars>1-10
// -----------------------------------------------------------------------
// <copyright file="DirectoryContext.cs" company="Ollon, LLC">
// Copyright (c) 2017 Ollon, LLC. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
using System;
u... | 2.512696 | 58aacba3fcbb6045d3c8b85e8ea4fa04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836509 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lixiaobing/DAL2Client",
"max_stars_repo_path": "Assets/Editor/LevelEditor/Checkpoint/model/Prop.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155729"
} | starcoder | <gh_stars>1-10
using hjcd.level;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using UnityEditor;
using UnityEngine;
namespace hjcd.level.CheckPoint
{
[Serializable]
public class Prop : IExport
{
public string uid = IDFactory.GetUUID();
publ... | 1.767347 | 321396ab7d68bcbbcae79ea6bffec53f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836510 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "restran/lucene-file-finder",
"max_stars_repo_path": "Lucene.Net 2.4.0/Index/TermsHash.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155730"
} | starcoder | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 1.938872 | c36867332cf232879588866dd9d6ad63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836511 | {
"extension": "c-sharp",
"max_stars_count": "1240.0",
"max_stars_repo_name": "radioegor146/embedio",
"max_stars_repo_path": "src/packages/EmbedIO/HttpRangeNotSatisfiableException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:155731"
} | starcoder | using System.Net;
using EmbedIO.Utilities;
namespace EmbedIO
{
/// <summary>
/// When thrown, breaks the request handling control flow
/// and sends a redirection response to the client.
/// </summary>
#pragma warning disable CA1032 // Implement standard exception constructors - they have no meaning h... | 2.888442 | 0e74e0e7d3fb5394bad02692ec512364 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.