added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93461 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robobeg/opencvsharp",
"max_stars_repo_path": "src/OpenCvSharp/Modules/stitching/ImageFeatures.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93462"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace OpenCvSharp.Detail
{
/// <summary>
/// Structure containing image keypoints and descriptors.
/// </summary>
public class ImageFeatures : IDisposable
{
#pragma warning disable 1591
public int Img... | 2.483364 | 4852f4887bfcbd6514ede7f5127b4266 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93462 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "plplmax/clone-aviasales",
"max_stars_repo_path": "clone-aviasales/Data/Repository/TicketsRepositoryImpl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93463"
} | starcoder | <filename>clone-aviasales/Data/Repository/TicketsRepositoryImpl.cs
using clone_aviasales.Data.Source;
using clone_aviasales.Domain.Model;
using clone_aviasales.Domain.Repository;
using System;
using System.Text.Json;
using System.Threading.Tasks;
namespace clone_aviasales.Data.Repository
{
class TicketsRepository... | 2.563893 | 808d7c3ce070202b4263e53c607c97ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93463 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "a-kozhanov/codewars_csharp",
"max_stars_repo_path": "CodeWarsTests/6kyu/EqualSidesOfAnArrayTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93464"
} | starcoder | using CodeWars;
using NUnit.Framework;
namespace CodeWarsTests
{
[TestFixture]
public class EqualSidesOfAnArrayTests
{
[Test]
public void GenericTests()
{
Assert.AreEqual(3, EqualSidesOfAnArray.FindEvenIndex(new int[] {1, 2, 3, 4, 3, 2, 1}));
Assert.AreEqual... | 2.99076 | 641667648e3568126451440ea0dc38a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93464 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wolakdav/davidsWeatherWebsite",
"max_stars_repo_path": "BasicMVCWebsite/Models/ICity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93465"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BasicMVCWebsite.Models
{
public interface ICity
{
string Lat { get; set; }
string Lon { get; set; }
string City { get; set; }
voi... | 2.01875 | 11184dc2255ec45554503a4968d5a854 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93465 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JwanKhalaf/YeGods",
"max_stars_repo_path": "YeGods.Web/Views/Shared/_Layout.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:93466"
} | starcoder | <filename>YeGods.Web/Views/Shared/_Layout.cshtml<gh_stars>0
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>@ViewData["Title"] | YeGods</title>
<l... | 1.900321 | b28e1a15f3c5ec9f3609f097de4b3255 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93466 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mff-uk/exolutio",
"max_stars_repo_path": "Controller/Commands/Atomic/PSM/MacroWrappers/cmdDeletePSMGeneralization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93467"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Exolutio.Model;
using Exolutio.Model.PSM;
using Exolutio.Controller.Commands.Atomic;
using Exolutio.Controller.Commands.Atomic.PSM;
namespace Exolutio.Controller.Commands.Atomic.PSM.MacroWrappers
{
[PublicComman... | 1.944925 | 08eee6bcd6593401b78c795e98b98582 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93467 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nkast/MGJ3",
"max_stars_repo_path": "src/MGJ3Components/Components/Agents/IDamage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93468"
} | starcoder | <filename>src/MGJ3Components/Components/Agents/IDamage.cs
using System;
namespace MGJ3.Components
{
public interface IDamage
{
int Damage { get; }
}
}
| 1.813107 | e2e3996f86d8cea3a3f21024a8539cd3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93468 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rboissel/ratchet-vulkan",
"max_stars_repo_path": "ratchet-vulkan/ratchet-vulkan/VkAccessFlag.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93469"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ratchet.Drawing.Vulkan
{
public enum VkAccessFlag : UInt32
{
VK_ACCESS_INDIRECT_COMMAND_READ = 0x00000001,
VK_ACCESS_INDEX_READ = 0x00000002,
VK_ACC... | 1.672515 | 4db16a7773b215c47139fe12afe0a9d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93469 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tprussell19/Bakery.Solution",
"max_stars_repo_path": "Bakery/Models/Pastry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93470"
} | starcoder | <gh_stars>0
namespace Bakery
{
public class PastryOrder
{
public int PastryCount { get; set; }
public int PastryTotalCost { get; set; }
public PastryOrder(string userInput)
{
PastryCount = int.Parse(userInput);
PastryTotalCost = 0;
}
public void GetPastryCost()
{
if (... | 3.083739 | 31e623a545e56485b22b5fbcdd2d2ce2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93470 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "dseller/DolDoc.NET",
"max_stars_repo_path": "DolDoc.Editor/Core/Argument.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93471"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace DolDoc.Editor.Core
{
public class Argument
{
public string Key { get; set; }
public string Value { get; set; }
public Argument(string key, string value)
{
Key = key;
Value = v... | 2.077313 | 1ea20860962bcc6d6072ca96123d9c59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93471 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tmbx/kwm",
"max_stars_repo_path": "KwmAppControls/Controls/frmKMsgBox.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93472"
} | starcoder | <filename>KwmAppControls/Controls/frmKMsgBox.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Diagnostics;
using Tbx.Utils;
namespace kwm.... | 2.407593 | fe7a3f6c15053754b4e8ca735097289d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93472 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "codingPaulStuart/EnrollmentSystem-ASP.NET",
"max_stars_repo_path": "Model/UnitsOfCompetency.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93473"
} | starcoder | <filename>Model/UnitsOfCompetency.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/// <summary>
/// Author: <NAME>
/// Date Created: 29/10/2021
/// </summary>
namespace spsModel
{
/// <summary>
/// A Class to identify and use an individual... | 3.291698 | d7a32260310148efff2faa2e364f61bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93473 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zdimension/tpepeip1",
"max_stars_repo_path": "test-cs/tpepeip1/SlidingBuffer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93474"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace tpepeip1
{
public class SlidingBuffer<T> : IEnumerable<T>
{
private readonly Queue<T> _queue;
private readonly int _maxCount;
public ... | 3.37245 | 7c331beab157b9813dab59653ae37609 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93474 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ixray-team/ixray-forms",
"max_stars_repo_path": "src/PostprocessEditor.WindowsForms/AddColorForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93475"
} | starcoder | <gh_stars>1-10
namespace PostprocessEditor.WindowsForms
{
partial class AddColorForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources bein... | 2.084878 | 9088e930b1f4b018072613b3de8d1b1d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93475 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidKolesar/TshirtOrderProcessing",
"max_stars_repo_path": "TeeShirtOrderingWebApplication/DAO/MySQLDAO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93476"
} | starcoder | <filename>TeeShirtOrderingWebApplication/DAO/MySQLDAO.cs
using MySql.Data.MySqlClient;
using OrderProcessingApplication.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TeeShirtOrderingWebApplication.Controller
{
public class MySQLDAO
{
... | 2.940478 | 2d86901d200d470a4635a4d2287681a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93476 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JaCraig/ObjectCartographer",
"max_stars_repo_path": "ObjectCartographer.Benchmarks/Tests/SimpleCopy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93477"
} | starcoder | <reponame>JaCraig/ObjectCartographer
using AutoMapper;
using BenchmarkDotNet.Attributes;
using Mapster;
using Microsoft.Extensions.DependencyInjection;
using Nelibur.ObjectMapper;
namespace ObjectCartographer.Benchmarks
{
[RankColumn, MemoryDiagnoser]
public class SimpleCopy
{
private IMapper Auto... | 2.312436 | 27ab61757dc0a38c82f6b797f1cb2cb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93477 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anthonygnolan/Philips-Hue-Api",
"max_stars_repo_path": "Philips Hue/Philips Hue/Helpers/BridgeHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93478"
} | starcoder | using Newtonsoft.Json.Linq;
using PhilipsHue.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace PhilipsHue.Helpers
{
public class BridgeHelper
{
public static async Task<Config> FindBridgeAsync()
... | 2.520657 | 51f509a908cbc2200d6750c74706ec0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93478 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "bruce68tw/Base",
"max_stars_repo_path": "BaseWeb/Services/XpImportRead.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93479"
} | starcoder | <filename>BaseWeb/Services/XpImportRead.cs<gh_stars>1-10
using Base.Enums;
using Base.Models;
using Base.Services;
using Newtonsoft.Json.Linq;
using System.Threading.Tasks;
namespace BaseWeb.Services
{
public class XpImportRead
{
private readonly string _importType;
//constructor
publ... | 2.16942 | edfd8416a27fdcb1246eeb5887e85aba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93479 | {
"extension": "c-sharp",
"max_stars_count": "128.0",
"max_stars_repo_name": "therootlord/DSMapStudio",
"max_stars_repo_path": "StudioCore/MsbEditor/ParamEditorScreen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93480"
} | starcoder | <reponame>therootlord/DSMapStudio
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Numerics;
using System.Linq;
using Veldrid;
using Veldrid.Sdl2;
using Veldrid.Utilities;
using ImGuiNET;
using SoulsFormats;
namespace StudioCore.MsbEditor
{
/// ... | 2.209799 | d223036adaab681df355425132cdd0c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93480 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/class/Mono.CodeContracts/Mono.CodeContracts.Static.DataStructures/AbstractWorkList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93481"
} | starcoder | <reponame>lefb766/mono
//
// AbstractWorkList.cs
//
// Authors:
// <NAME> (<EMAIL>)
//
// Copyright (C) 2011 <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 restrict... | 2.328433 | 26beaaad878fc245f171af51fd164517 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93481 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ni28/EloquentObjects",
"max_stars_repo_path": "src/EloquentObjects/Contracts/Implementation/ContractDescription.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93482"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
namespace EloquentObjects.Contracts.Implementation
{
internal sealed class ContractDescription : IContractDescription
{
private readonly List<IMethodDescription> _operations = new List<IMethodDescription>()... | 2.895093 | f52f1fd23d3c7db286a78221835e2325 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93482 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "jmserrano-dev/plainteam",
"max_stars_repo_path": "src/BASE.Application/Client/PointsOfInterest/PointOfInterest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93483"
} | starcoder | <filename>src/BASE.Application/Client/PointsOfInterest/PointOfInterest.cs
namespace BASE.Application.Client.PointsOfInterest
{
public class PointOfInterest
{
public string Name { get; set; }
public int DistanceInMinutes { get; set; }
public double DistanceInKilometers { get; set; }
... | 2.121016 | 0c1a20b4c0d126393c52b31742c3eef4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93483 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TrollingChar/nupskou-project-01",
"max_stars_repo_path": "Assets/Code/Utils/Utils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93484"
} | starcoder | <filename>Assets/Code/Utils/Utils.cs
namespace Code {
// если в твоем коде написано Utils.Utils.Time (...), значит ты делаешь это неправильно.
// пиши using static в начале файла
public static class Utils {
public static int Time (int seconds, int ticks) => ticks + seconds * 60;
... | 2.80462 | 497dbe04e03ae782ca1fb65fa463bb0d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93484 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "theylkszaszin/OdontoTech",
"max_stars_repo_path": "OdontoTech/OdontoTech/Finalizar Ordem de Servico.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93485"
} | starcoder | <filename>OdontoTech/OdontoTech/Finalizar Ordem de Servico.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Repositorio;
namespace OdontoTech
{
... | 2.559809 | 66a76a288cb93d5b762ed56ea9692266 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93485 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vaquata206/WebNetCore",
"max_stars_repo_path": "WebClient/WebClient.Repositories/Interfaces/IAccountRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93486"
} | starcoder | <filename>WebClient/WebClient.Repositories/Interfaces/IAccountRepository.cs
using System.Collections.Generic;
using System.Threading.Tasks;
using WebClient.Core.Entities;
namespace WebClient.Repositories.Interfaces
{
public interface IAccountRepository
{
/// <summary>
/// Login with the user
... | 2.459248 | f81c41b12c9929516f1dbb85fc0c2907 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93486 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wcavell/Anony",
"max_stars_repo_path": "Anony/ViewModels/DrawViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93487"
} | starcoder | <reponame>wcavell/Anony
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Text;
using System.Threading.Tasks;
using Windows.Graphics.Imaging;
using Windows.Storage;
using Windows.UI;
using Windows.UI.Xaml;
usin... | 2.151203 | 80b0bda3f29076ae5af79ecc0cb661fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93487 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SystemDot/SystemDotCore",
"max_stars_repo_path": "Projects/SystemDot.Specifications/messenger/when_sending_a_message_with_a_handler_registered_for_a_different_grouping.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93488"
} | starcoder | <gh_stars>1-10
using SystemDot.Messaging.Simple;
using Machine.Specifications;
namespace SystemDot.Specifications.messenger
{
[Subject(SpecificationGroup.Description)]
public class when_sending_a_message_with_a_handler_registered_for_a_different_grouping
{
static object handledMessage;
stat... | 2.130903 | 0e0e2fb3d95f8137943d5cb0281db6a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93488 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "52North/wpsclient4arcgispro",
"max_stars_repo_path": "src/Wps/Wps.Client/Models/Execution/DataOutput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93489"
} | starcoder | using System.Xml.Serialization;
using Wps.Client.Utils;
namespace Wps.Client.Models.Execution
{
[XmlRoot("Output", Namespace = ModelNamespaces.Wps)]
public class DataOutput
{
/// <summary>
/// The media type of the data.
/// </summary>
/// <remarks>
/// It is manda... | 2.407569 | e65a41a1fdf29579ef7f351ea9e21a80 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93489 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "esofar/dddify",
"max_stars_repo_path": "src/Dddify.AspNetCore/Localization/SharedStringLocalizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93490"
} | starcoder | using Dddify.Localization;
using Microsoft.Extensions.Localization;
using System.Collections.Generic;
using System.Reflection;
namespace Dddify.AspNetCore.Localization;
public class SharedStringLocalizer : ISharedStringLocalizer
{
private readonly IStringLocalizer _localizer;
public SharedStringLocalizer(IS... | 2.424857 | d718041b68d3782ef6b52a8c95db4533 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93490 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nguyenlinhit/NNL_BTH3_QLTV1",
"max_stars_repo_path": "BTH3/BTH3/frm_NhapSach.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93491"
} | starcoder | namespace BTH3
{
partial class frm_NhapSach
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param ... | 1.763677 | 1342d38cef965c5a6a3f8aa93b96a6ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93491 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Osama-Tahboub1/N3O.Umbraco",
"max_stars_repo_path": "src/DemoSite/DemoSite.Core/Content/Models/Generated/Webhook.generated.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93492"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Umbraco.ModelsBuilder.Embedded v9.4.2+93badabcb1e63f93fda0aa7793140b6689efc148
//
// Changes to this file will be lost if the code is regenerated.
// </auto-generated>
... | 1.620426 | 8ebaad074bc02f164d7c56a0b8df138c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93492 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "usernameHed/Pixel",
"max_stars_repo_path": "Assets/_Scripts/Game/PlayerBag.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93493"
} | starcoder | <reponame>usernameHed/Pixel
using Sirenix.OdinInspector;
using UnityEngine;
/// <summary>
/// PlayerBag Description
/// </summary>
public class PlayerBag : MonoBehaviour
{
#region Attributes
[FoldoutGroup("GamePlay"), Tooltip("list des layer de collisions"), SerializeField]
private int numberNoisette = 0;... | 2.027427 | e02727ef96634cab58dcdf0e719854d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93493 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "riQQ/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/_D3DDDI_POOL.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93494"
} | starcoder | <gh_stars>1-10
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\shared\d3dukmdt.h(1055,9)
namespace DirectN
{
public enum _D3DDDI_POOL
{
D3DDDIPOOL_SYSTEMMEM = 1,
D3DDDIPOOL_VIDEOMEMORY = 2,
D3DDDIPOOL_LOCALVIDMEM = 3,
D3DDDIPOOL_NONLOCALVIDMEM = 4,
D3DDDIP... | 1.413336 | 86a94242f68ffabdb875ab2f82c91bea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93494 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mzdyhrave/payrollcs",
"max_stars_repo_path": "proj/legalios/Service.Interfaces/IPropsTaxing.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93495"
} | starcoder | using System;
using HraveMzdy.Legalios.Interfaces;
using HraveMzdy.Legalios.Service.Types;
namespace HraveMzdy.Legalios.Service.Interfaces
{
public interface IPropsTaxing : IProps
{
Int32 AllowancePayer { get; }
Int32 AllowanceDisab1st { get; }
Int32 AllowanceDisab2nd { get; }
... | 1.977943 | 54336f2fb43643f2c8b427c0aadb0335 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93495 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "datacrud/drs-crm",
"max_stars_repo_path": "App/Project.Security/Models/ApplicationDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93496"
} | starcoder | <reponame>datacrud/drs-crm
using System.Data.Entity;
using Microsoft.AspNet.Identity.EntityFramework;
namespace Project.Security.Models
{
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
public ApplicationDbContext()
: base("DefaultConnection", throwIfV1Schema: fals... | 1.821101 | ebf005813cf60f712ded32cd229b2c0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93496 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kunkgg/selenium",
"max_stars_repo_path": "dotnet/test/common/ByTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93497"
} | starcoder | <reponame>Kunkgg/selenium
using NUnit.Framework;
using NMock;
using OpenQA.Selenium.Internal;
namespace OpenQA.Selenium
{
[TestFixture]
public class ByTest
{
private MockFactory mocks = new MockFactory();
[Test]
public void ShouldUseFindsByNameToLocateElementsByName()
{
... | 2.15036 | 6e0993797d1980ae476a041fb3a57f25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93497 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "lunt/lunt",
"max_stars_repo_path": "src/Lunt.Testing/FakeProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93498"
} | starcoder | using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Reflection.Emit;
using Castle.DynamicProxy;
namespace Lunt.Testing
{
public class FakeProcessor : IProcessor
{
private readonly Func<Context, object, object> _func;
private readonly Type _sourceType;
priv... | 2.609402 | 033640ae83bf04bc8d3f02b91b555f45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93498 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "czarzappy/EZEngine",
"max_stars_repo_path": "Noho.Parsing/Parsers/CutSceneDefParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93499"
} | starcoder | <reponame>czarzappy/EZEngine<filename>Noho.Parsing/Parsers/CutSceneDefParser.cs<gh_stars>0
using System;
using Noho.Parsing.Factories;
using Noho.Parsing.Models;
using ZEngine.Core.Dialogue.Models;
using ZEngine.Core.Dialogue.Parsers;
namespace Noho.Parsing.Parsers
{
public class CutSceneDefParser : DefParser<CutS... | 2.098561 | ebdab4f7601981dcbb07ef3d558a73a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93499 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Waguynho/TutoriaisXamain",
"max_stars_repo_path": "MvvmPageContext/MvvmPageContext/MvvmPageContext/AutofacConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93500"
} | starcoder | using Autofac;
using MvvmPageContext.Pages;
using MvvmPageContext.Pages.Interfaces;
using MvvmPageContext.ViewModels;
using MvvmPageContext.ViewModels.Interfaces;
namespace MvvmPageContext
{
public class AutofacConfig
{
#region Fields
private static Autofac.IContainer _container;
#e... | 2.452958 | 804ab61cdf82b5f835c90ff51f244a5c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93500 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vlad-NameOne/bitfinex-client-websocket",
"max_stars_repo_path": "src/Bitfinex.Client.Websocket/Responses/ErrorResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93501"
} | starcoder | using Bitfinex.Client.Websocket.Messages;
namespace Bitfinex.Client.Websocket.Responses
{
public class ErrorResponse : MessageBase
{
public string Code { get; set; }
public string Msg { get; set; }
}
}
| 1.43619 | 48e37d7fc35c4168b9b127547315667b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93501 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tannergooding/performance",
"max_stars_repo_path": "src/benchmarks/micro/libraries/System.Text.Json/Serializer/ColdStartSerialization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93502"
} | starcoder | <gh_stars>0
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Attributes.Filters;
using MicroBenchmarks;
usin... | 2.087132 | deb26ac32ee4a8a62b739f466511a53f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93502 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JesseLiberty/C_Sharp_8_Part_2",
"max_stars_repo_path": "NullOperators/NullOperators/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93503"
} | starcoder | using System;
using System.Text;
namespace NullOperators
{
class Program
{
static void Main(string[] args)
{
var runner = new Runner();
runner.Run();
}
}
class Runner
{
public void Run()
{
var sb = new StringBuilder("Hello ");
sb.Append... | 3.397143 | da6116b1e121252966e6a78d7f4aa839 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93503 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MichailiK/HHBK_Chemicals-Beispiel",
"max_stars_repo_path": "HHBK_Chemicals_ERP_CS/LegacyMain/ModelMain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93504"
} | starcoder | <reponame>MichailiK/HHBK_Chemicals-Beispiel<gh_stars>0
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using HHBK_Chemicals_ERP_CS.Datenbank;
using HHBK_Chemicals_ERP_CS.Kunden;
using HHBK_Chemicals_ERP_CS.Lager;
using HHBK_Chemicals_ERP_CS.Produktion;
namespace HHBK_Chemicals_ERP_CS.L... | 2.112465 | 849a8527a5a650132c1c2237cfa13282 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93504 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "just-me-/dafny-language-server",
"max_stars_repo_path": "Test/LanguageServerTest/IntegrationTests/PerformanceTest/LargeFilesOpenAndCompile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93505"
} | starcoder | using DafnyLanguageServer.CustomDTOs;
using NUnit.Framework;
using System;
using System.Diagnostics;
using TestCommons;
using Files = TestCommons.Paths;
namespace PerformanceTest
{
public class Tests : IntegrationTestBase
{
public Tests() : base("Performance")
{
}
[Test]
... | 2.238418 | d5dd582cd8a67f251b2c7afcef66c5d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93505 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "roberino/linqinfer",
"max_stars_repo_path": "src/LinqInfer/Learning/Classification/NeuralNetworks/NetworkModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93506"
} | starcoder | using LinqInfer.Data.Serialisation;
using LinqInfer.Maths;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using LinqInfer.Utility;
namespace LinqInfer.Learning.Classification.NeuralNetworks
{
class NetworkModule : INetworkSignalFilter
{
readonly Networ... | 2.145184 | 234bf528079d891477d7312f85726157 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93506 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mccrobie2000/JQuery-UI-MVC",
"max_stars_repo_path": "Web/Areas/Explorer/Views/Explorer/_CountryAirportsGrid.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:93507"
} | starcoder | @using WebControls
@using Web.Areas.Explorer.Models
@using BusinessServices.Models
@model CountryModel
@{
var myName = ViewData["myAirportGridName"].ToString();
if (string.IsNullOrEmpty(myName))
{
throw new ArgumentException($"myAirportGridName must be passed in ViewData");
}
}
<... | 2.257118 | d5b5cddb52f1cf1c35216e9a95c4f85d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93507 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "homjxi0e/ExternalC2",
"max_stars_repo_path": "ExternalC2/Channels/WebChannel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93508"
} | starcoder | using System;
using System.Linq;
using System.Net.Http;
using System.Threading;
using ExternalC2.Interfaces;
namespace ExternalC2.Channels
{
/// <summary>
/// C2 Channel used to connect to the ExternalC2Web API server
/// </summary>
public class WebChannel : IC2Channel
{
private readon... | 2.883861 | 25f325a15d473909ab9c96cd7e82203e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93508 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "astrofrog/wwt-web-client",
"max_stars_repo_path": "HTML5SDK/wwtlib/FolderBrowser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93509"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Html;
using System.Html.Media.Graphics;
namespace wwtlib
{
public class FolderBrowser
{
public FolderBrowser()
{
}
public CanvasElement Canvas;
List<IThumbnail> items = new List<IThumbnail>... | 2.259284 | cd51ffa7cbce0402ce5d840279ab0fc9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93509 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Jorch72/CS-Treefrog",
"max_stars_repo_path": "Treefrog.Framework/Model/ObjectPoolManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93510"
} | starcoder | using System.Collections.Generic;
using System.Xml.Serialization;
using System;
using Treefrog.Framework.Model.Proxy;
namespace Treefrog.Framework.Model
{
public interface IObjectPoolManager : IPoolManager<ObjectPool>
{
ITexturePool TexturePool { get; }
}
public class ObjectPoolMa... | 2.404569 | 2a9dfea4f2c40fe77cb8375d64530b6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93510 | {
"extension": "c-sharp",
"max_stars_count": "2607.0",
"max_stars_repo_name": "tephyrnex/oxyplot",
"max_stars_repo_path": "Source/OxyPlot/Axes/ColorAxisExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93511"
} | starcoder | <gh_stars>1000+
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ColorAxisExtensions.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// <summary>
// Provides extension methods for <see cref=... | 2.531838 | bbe3f4011c4c97d992b3a86073673765 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93511 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivan-alles/poker-acpc",
"max_stars_repo_path": "proto/bucketizer/Algo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93512"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace bucketizer_proto
{
class Algo
{
public IRules Rules;
public Bucket[] Buckets;
public int Step = 0;
public int NotMovedCount = 0;
public double BestSumDist = 0;
... | 2.601876 | 13a2cb881052dea0ab62bf8e073d81e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93512 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "renerichter/UC2-AR-RECOGNITION",
"max_stars_repo_path": "Assets/Scripts/managerUI1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93513"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.EventSystems;
public class managerUI1 : MonoBehaviour
{
private manageWeaponChange mngrWeaponChange;
// Start is called before the first frame update
void Start()
{
mngrWeaponChange = GameObject.... | 2.117835 | 2a582633e9f3589c94bbb57ee0ade5e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93513 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "engeniousproject/engenious.UI",
"max_stars_repo_path": "engenious.UI/Controls/Label.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93514"
} | starcoder | <reponame>engeniousproject/engenious.UI
using System;
using System.Collections.Generic;
using engenious.Graphics;
namespace engenious.UI.Controls
{
/// <summary>
/// Ui control for displaying text.
/// </summary>
public class Label : Control, ITextControl
{
private readonly struct TextLine... | 2.830941 | 6db6d94afc3c8d394058c6980119d60f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93514 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "KKovs/SpellFire",
"max_stars_repo_path": "SpellFire/Primer/Solutions/AutoLooter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93515"
} | starcoder | <filename>SpellFire/Primer/Solutions/AutoLooter.cs
using SpellFire.Well.Controller;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using SpellFire.Primer.Gui;
using S... | 2.597668 | 93170fee8c22ffee9cbbe9f0af0a801e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93515 | {
"extension": "c-sharp",
"max_stars_count": "117.0",
"max_stars_repo_name": "hhnguyen/xRM-Portals-Community-Edition",
"max_stars_repo_path": "Framework/Microsoft.Xrm.Portal/Web/Routing/EntityRouteHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93516"
} | starcoder | <filename>Framework/Microsoft.Xrm.Portal/Web/Routing/EntityRouteHandler.cs
/*
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for license information.
*/
using System;
using System.Linq;
using System.Web;
using System.Web.Routing;
using ... | 2.050434 | 53bb21de48aa8d1162e9f7d0fab1c2c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93516 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "marcominerva/MinimalApiSample",
"max_stars_repo_path": "MinimalApiSample/Binding/FormFileContent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93517"
} | starcoder | <reponame>marcominerva/MinimalApiSample
namespace MinimalApiSample.Binding;
public class FormFileContent
{
public IFormFile Content { get; }
internal FormFileContent(IFormFile file)
{
Content = file;
}
public static async ValueTask<FormFileContent> BindAsync(HttpContext context)
{
... | 1.965434 | acb8db315e124e5c5918528dc0592925 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93517 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "tonynzosha/PS_PM_API",
"max_stars_repo_path": "Delcam.ProductInterface.PowerSHAPE.Test/DatabaseEntity Tests/Entity Tests/LevelTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93518"
} | starcoder | <gh_stars>10-100
// **********************************************************************
// * © COPYRIGHT 2018 Autodesk, Inc.All Rights Reserved *
// * *
// * Use of this software is subject to the terms of the Autodesk *
// * ... | 2.186736 | 66fd01f3aba01d21ffe56d53ce30fb16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93518 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SenkoVlad/chatmop",
"max_stars_repo_path": "Backend/senkovlad.chat.data/AppDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93519"
} | starcoder | using Microsoft.EntityFrameworkCore;
using senkovlad.chat.data.Models;
namespace senkovlad.chat.data
{
public class AppDbContext : DbContext
{
public DbSet<Message> Messages { get; set; }
public DbSet<User> Users { get; set; }
public AppDbContext()
{
}
public A... | 1.943239 | 0394c7fa55a2352efc3ce7c2f6dbe1c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93519 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "harrison314/MassiveDynamicProxyGenerator",
"max_stars_repo_path": "src/Samples/SampleWebApplication/Models/Article/ContentViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93520"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SampleWebApplication.Models.Article
{
public class ContentViewModel
{
public int Id
{
get;
private set;
}
public string Title
{
... | 2.62608 | 44204ab6512d3f54b414dadb50710b2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93520 | {
"extension": "c-sharp",
"max_stars_count": "633.0",
"max_stars_repo_name": "Codinlab/FFMpegCore",
"max_stars_repo_path": "FFMpegCore/FFMpeg/Arguments/LoopArgument.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93521"
} | starcoder | <reponame>Codinlab/FFMpegCore
namespace FFMpegCore.Arguments
{
/// <summary>
/// Represents loop parameter
/// </summary>
public class LoopArgument : IArgument
{
public readonly int Times;
public LoopArgument(int times)
{
Times = times;
}
public ... | 2.431726 | 896228524b4aeb7d3adf267adf3ad5b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93521 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "xraston/CMR100_Project03_VRapture",
"max_stars_repo_path": "Assets/Sardine/Scripts/SardineBoidsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93522"
} | starcoder | using UnityEngine;
using System.Collections;
public class SardineBoidsController : MonoBehaviour {
public GameObject sardinePrefab;
GameObject[] sardines;
public int maxXNum=2;
public int maxYNum=3;
public int maxZNum=4;
public Vector3 meanPos;
public int sardineCount;
public float rotateSpeed=1f;
public Ga... | 2.321765 | 16a2eff0eecab9bbd13ff6152d351081 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93522 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Amheklerior/MiniProject",
"max_stars_repo_path": "mini-project/Assets/Project/Game/Card/Code/Number.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93523"
} | starcoder |
namespace Amheklerior.Solitaire {
public enum Number {
A = 0,
TWO = 1,
THREE = 2,
FOUR = 3,
FIVE = 4,
SIX = 5,
SEVEN = 6,
EIGHT = 7,
NINE = 8,
TEN = 9,
J = 10,
Q = 11,
K = 12
}
} | 2.29407 | 924285da257787fa631bb52364ed9bf1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93523 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "iShapeUnity/Triangulation",
"max_stars_repo_path": "Runtime/iShape/Triangulation/Shape/Delaunay/IndexBuffer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93524"
} | starcoder | <filename>Runtime/iShape/Triangulation/Shape/Delaunay/IndexBuffer.cs<gh_stars>1-10
using iShape.Collections;
using Unity.Collections;
namespace iShape.Triangulation.Shape.Delaunay {
internal struct IndexBuffer {
private struct Link {
internal static readonly Link empty = new Link(true,... | 2.715461 | 306fc5a3ab4114dce3c8ad07ef2fc3e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93524 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BradZzz/Jade",
"max_stars_repo_path": "Assets/Scripts_New/Battle/Configuration/Configurations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93525"
} | starcoder | <reponame>BradZzz/Jade
using System;
using Battle.Model.AI;
using Battle.Model.Player;
using UnityEngine;
namespace Battle.Configurations
{
/// <summary>
/// This class holds all the custumizeable configurations.
/// </summary>
[CreateAssetMenu(menuName = "Configurations")]
public class Config... | 2.285223 | 60d2d30bb22e89f224d832ffa8faebb3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93525 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "iAJTin/iExportEngine",
"max_stars_repo_path": "source/library/iTin.Export.Core/ComponentModel/Input/Base/BaseInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93526"
} | starcoder | <filename>source/library/iTin.Export.Core/ComponentModel/Input/Base/BaseInput.cs<gh_stars>10-100
namespace iTin.Export.ComponentModel.Input
{
using System;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Xml.Schema;
using Helpers;
using Model;
using Provid... | 2.45507 | aaa3f087c4043d7b212e0298fda90624 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93526 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "ctthang/ExicoShopifyFramework",
"max_stars_repo_path": "eXico.Shopify.Web.Core/Controllers/BaseControllers/ABaseAdminController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93527"
} | starcoder | using Exico.Shopify.Web.Core.Filters;
using Exico.Shopify.Web.Core.Helpers;
using Exico.Shopify.Web.Core.Modules;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace Exico.Shopify.Web.Core.Controllers.BaseCon... | 1.879366 | 74aadf156f173587a5803892be91a732 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93527 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bill-cooper/catc-cms",
"max_stars_repo_path": "src/Orchard.Web/Modules/ceenq.org.Services/Models/ESVBibleServiceSettingsPart.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93528"
} | starcoder | using System;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Records;
namespace ceenq.org.Services.Models
{
public sealed class ESVBibleServiceSettingsPart : ContentPart<ESVBibleServiceSettingsPartRecord>
{
public string EsvBibleServiceKey
{
get { return Record.Es... | 1.736348 | bca9f3244381cea8c6c90bf44958da01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93528 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yomunsam/TinaX.UIKit.Animation",
"max_stars_repo_path": "Runtime/Scripts/Const/UIAniConst.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93529"
} | starcoder | <reponame>yomunsam/TinaX.UIKit.Animation
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TinaX.UIKit.Animation.Const
{
public static class UIAniConst
{
public const string ComponentMenuBasePath = @"TinaX/UGUI Tween/";
}
... | 0.621838 | aa411d1b3c406c25105bd06cf2d204aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93529 | {
"extension": "c-sharp",
"max_stars_count": "948.0",
"max_stars_repo_name": "wikiluo/AElf",
"max_stars_repo_path": "src/AElf.OS.Core/Node/Application/GenesisSmartContractDtoExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93530"
} | starcoder | using System.Collections.Generic;
using AElf.Kernel.SmartContract.Application;
using Google.Protobuf;
namespace AElf.OS.Node.Application
{
public static class GenesisSmartContractDtoExtensions
{
public static void AddGenesisTransactionMethodCall(this GenesisSmartContractDto genesisSmartContractDto,
... | 1.891623 | 20dbc26e9323a540a312b4c97a0351a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93530 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "little-burrito/LD38",
"max_stars_repo_path": "Assets/CursorControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93531"
} | starcoder | <filename>Assets/CursorControl.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CursorControl : MonoBehaviour {
private float mouseSensitivity = 0.3f;
private void Start() {
Cursor.visible = false;
Cursor.lockState = CursorLockMode.Locked;
}
... | 2.355857 | ae2bde4d4529fe7038f801fb9c746c09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93531 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gpriaulx/Whisper",
"max_stars_repo_path": "Whisper.Apps.Desktop/Windows/Shell/ViewModels/CreateItemViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93532"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Windows.Input;
using ReactiveUI;
using ReactiveUI.Fody.Helpers;
using Whisper.Apps.Common.Models.Configurations;
using Whisper.Core.Models.Configuration;
using Whisper.Core.Services;
namespace Whisper.Apps.Desk... | 2.06025 | b886b7ef26e7858b66584437e413c02b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93532 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lizetpenamsft/InspectorGadget",
"max_stars_repo_path": "WebApp/Pages/DnsLookup.cshtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93533"
} | starcoder | <filename>WebApp/Pages/DnsLookup.cshtml.cs
using System.Net.Http;
using System.Threading.Tasks;
using InspectorGadget.WebApp.Gadgets;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace InspectorGadget.WebApp.Pages
{
public class DnsLookupModel : PageModel
{
private rea... | 2.085073 | fd304323c18ae66ca806d007a3e1459c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93533 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fqkw6/RewriteFrame",
"max_stars_repo_path": "other/Scripts/Gameplay/Battle/BattleWeaponBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93534"
} | starcoder | <filename>other/Scripts/Gameplay/Battle/BattleWeaponBase.cs
using Eternity.FlatBuffer;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
// 把武器的 稳定度, 准确性, 控制力 称为一级属性
// 把武器的特有属性(比如机枪的横向最大扩散角度), 称为二级属性
// 需要有一张表把一级属性映射为指定武器的二级属性
// 这样会带来一个M*N的映射关系. 如果使用老的 公式类... | 2.372675 | 3e62b05e867861e8d63b85a2688b63ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93534 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "afonsof/meganium",
"max_stars_repo_path": "Site/Areas/Admin/Views/Featured/Manage.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:93535"
} | starcoder | @using Meganium.Api.Resources
@model MultiSelectList
@{
ViewBag.Title = Resource.ManageFeatureds;
ViewBag.Icon = "star";
}
@using (Html.BeginForm())
{
<style>
.ms-container {
width: 100%;
margin-bottom: 20px;
}
</style>
<fieldset>
<div class="editor-l... | 2.283532 | 72154214e21cf51fb197d3bad8063cb2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93535 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "archaim/NewPlatform.Flexberry.ORM",
"max_stars_repo_path": "ICSSoft.STORMNET.UserDataTypes/GeoData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93536"
} | starcoder | <reponame>archaim/NewPlatform.Flexberry.ORM
using System;
using System.Xml.Linq;
namespace ICSSoft.STORMNET.UserDataTypes
{
/// <summary>
/// Класс, описывающий единичный контакт пользователя (e-mail, телефон и проч.)
/// </summary>
[StoreInstancesInType("ICSSoft.STORMNET.Business.C2RDataService.C2RDa... | 2.560447 | 16696343d7e4f9ec524150b685a78b64 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93536 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nguyenxbj/euler-solutions",
"max_stars_repo_path": "EulerSolutions/EulerSolutions/Solutions/Problem-6.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93537"
} | starcoder | <reponame>nguyenxbj/euler-solutions
using System;
using System.Linq;
namespace EulerSolutions.Solutions
{
/// <summary>
/// Sum square difference.
/// Solved.
/// </summary>
public class Problem_6
{
private static int[] _numbers = Enumerable.Range(1, 100).ToArray();
//private static int[] _numbers = Enumera... | 3.008011 | 5048905754dce97ad0dc0c1f455c78a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93537 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jdomingu/Logshark",
"max_stars_repo_path": "ArtifactProcessors/TableauServerLogProcessor/PluginInterfaces/IServerClassicPlugin.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93538"
} | starcoder | <reponame>jdomingu/Logshark<gh_stars>1-10
namespace Logshark.ArtifactProcessors.TableauServerLogProcessor.PluginInterfaces
{
public interface IServerClassicPlugin
{
}
} | 0.722718 | b6bb5ea8cb431422983ae0cd82ab4b86 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93538 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "System.Core/System/Runtime/CompilerServices/ExecutionScope.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93539"
} | starcoder | using System;
using System.Linq.Expressions;
namespace System.Runtime.CompilerServices
{
// Kept for backwards compatibility. Unused
[Obsolete("do not use this type", true)]
public class ExecutionScope
{
public ExecutionScope Parent;
public object[] Globals;
public object[] Loca... | 2.112799 | 3d2ba021d5c3f919a8e3fa787121314c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93539 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StevenThuriot/FileTypeChecker",
"max_stars_repo_path": "FileTypeChecker.Web.Tests/AttributesTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93540"
} | starcoder | <filename>FileTypeChecker.Web.Tests/AttributesTests.cs<gh_stars>0
namespace FileTypeChecker.Web.Tests
{
using FileTypeChecker;
using FileTypeChecker.Web.Attributes;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Internal;
using NUnit.Framework;
using System;
using System.C... | 2.184711 | 9b2614fe45679a9020ff7ce2bdb48558 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93540 | {
"extension": "c-sharp",
"max_stars_count": "1122.0",
"max_stars_repo_name": "4ngelica/HackerRank",
"max_stars_repo_path": "Algorithms/Implementation/Grading Students/Solution.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93541"
} | starcoder | <gh_stars>1000+
/*
Problem: https://www.hackerrank.com/challenges/grading/problem
C# Language Version: 6.0
.Net Framework Version: 4.5.2
Thoughts :
1. Start processing grades of n students in a loop one by one
1.1 Let current student's grade by g.
1.2 If g is less than 38 then skip steps 1.3 to 1.4 and mov... | 3.858737 | f85d3c24fffd585c07b749a4e88eb83f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93541 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ati-ozgur/Karkas",
"max_stars_repo_path": "Karkas.CodeGeneration/Karkas.CodeGeneration.Helpers/Utils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93542"
} | starcoder | <reponame>ati-ozgur/Karkas
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Data;
using System.Data.SqlClient;
using System.Xml;
using Karkas.CodeGenerationHelper.Generators;
using System.IO;
using System.Globalization;
using Karkas.CodeGenerationHelper.Interfac... | 2.294377 | e28b422e6c546ec2e2e40322a48ad450 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93542 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "AaronFriel/pulumi-google-native",
"max_stars_repo_path": "sdk/dotnet/FirebaseHosting/V1Beta1/GetDomain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93543"
} | starcoder | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
using Pulumi.Utilities... | 1.907024 | 8440ebea6cc880557fc41653548a50f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93543 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Drumev00/MovieMood",
"max_stars_repo_path": "MovieMood/Web/MovieMood.Web/Areas/Administration/Views/Halls/Details.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:93544"
} | starcoder | <gh_stars>1-10
@model MovieMood.Web.ViewModels.Halls.Administration.ViewModels.HallDetailsViewModel
@{
ViewData["Title"] = "Details";
}
<section class="py-5">
<div class="container">
<h1 text-align: center;">Hall's Details</h1>
<div>
<div class="form-group">
<label... | 2.266633 | 61af94028d11b1c09636925b56ca984f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93544 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/keyvault/Azure.Security.KeyVault.Keys/tests/AesKwTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93545"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Security.KeyVault.Keys.Cryptography;
using NUnit.Framework;
namespace Azure.Security.KeyVault.Keys.Tests
{
public class AesKwTests
{
[Test]
public void AesKw128()
{
... | 2.069751 | 294458f0f09b21eb910ff65a9388f846 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93545 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SandGardeners/Exhaustlands",
"max_stars_repo_path": "Assets/FogOfWarUpdater.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93546"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FogOfWarUpdater : MonoBehaviour {
// Use this for initialization
[SerializeField]
public int _textureSize;
[SerializeField]
public int _radius;
[SerializeField]
public Transform car;
Texture2D _texture;
Texture2D _... | 2.156652 | 8ab20a766e8a083fd85b11537d39078f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93546 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Erencorn/Kotocorn",
"max_stars_repo_path": "NadekoBot.Core/Modules/Gambling/Common/AnimalRacing/Exceptions/NotEnoughFundsException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93547"
} | starcoder | using System;
namespace Kotocorn.Modules.Gambling.Common.AnimalRacing.Exceptions
{
public class NotEnoughFundsException : Exception
{
}
}
| 1.158775 | 0f56a86b4e70626f798c9ec7497cd679 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93547 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SugarChat/SugarChat.Message",
"max_stars_repo_path": "SugarChat.Message/Responses/GetGroupMembersResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93548"
} | starcoder | <reponame>SugarChat/SugarChat.Message
using System.Collections.Generic;
using Mediator.Net.Contracts;
namespace SugarChat.Message.Responses
{
public class GetGroupMembersResponse : IResponse
{
public IEnumerable<string> MemberIds { get; set; }
}
} | 1.491223 | 359cd57a2e9bc23b23cd9ab45a7a96cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93548 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rmacfadyen/RobertsSQLParser",
"max_stars_repo_path": "RobertsSQLParserTests/RestrictedItemsTests/TableAndColumns.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93549"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace RobertsSQLParserTests.RestrictedItemsTests
{
[TestClass]
public class TableAndColumns
{
... | 2.489264 | a07983cea0779cb4c53e7a0da9f37715 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93549 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "Steph55/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93550"
} | starcoder | <reponame>Steph55/DirectN
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d3d12video.h(5860,1)
using System;
namespace DirectN
{
[Flags]
public enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS
{
D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAG_NONE... | 1.142006 | 39abfb5363c294fd8f6ad24349cc816f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93550 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "avanlau/Orc.LicenseManager",
"max_stars_repo_path": "src/Orc.LicenseManager.Tests/Orc.LicenseManager.Client.approved.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93551"
} | starcoder | [assembly: System.Resources.NeutralResourcesLanguageAttribute("en-US")]
[assembly: System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6", FrameworkDisplayName=".NET Framework 4.6")]
public class static LoadAssembliesOnStartup { }
public class static ModuleInitializer
{
public static void ... | 1.936898 | 49fb06814c47432875b55d8705eec197 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93551 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "xudonax/ObsDynamicOverlay",
"max_stars_repo_path": "ObsDynamicOverlay.Web/Views/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:93552"
} | starcoder | <filename>ObsDynamicOverlay.Web/Views/_ViewImports.cshtml
@using ObsDynamicOverlay.Web.Models
@using ObsDynamicOverlay.Web.Models.ViewModels
@using Microsoft.AspNetCore.Identity
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.459354 | ee167d620e10620ccb86a102a3980766 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93552 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rodrigodpl/WorldSimulator",
"max_stars_repo_path": "Assets/Scripts/Modules/Technology/WS_TechnologyEvents.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93553"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WS_TechSelection : WS_BaseEvent
{
public WS_TechSelection() { eventName = "Tech Selection"; module = EventModule.TECHNOLOGY; }
protected override bool FireCheck()
{
return tile.currentTech == n... | 2.103021 | 03267ff4421962280d810e758492f58d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93553 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "codetuner/Arebis.Common",
"max_stars_repo_path": "Arebis.Data.Entity/ChangeDataCapture/ChangeTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93554"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Arebis.Data.Entity.ChangeDataCapture
{
[Table("change_tables", Schema = "cdc")]
public ... | 1.947315 | e431cf25464b5d785f06c4b77a5850e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93554 | {
"extension": "c-sharp",
"max_stars_count": "263.0",
"max_stars_repo_name": "gordonjohnpatrick/XobotOS",
"max_stars_repo_path": "android/generated/android/widget/Gallery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93555"
} | starcoder | using Sharpen;
namespace android.widget
{
/// <summary>A view that shows items in a center-locked, horizontally scrolling list.
/// </summary>
/// <remarks>
/// A view that shows items in a center-locked, horizontally scrolling list.
/// <p>
/// The default values for the Gallery assume you will be using
/// <... | 2.247467 | 295fda4c828970f1d5d206a7f335af62 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93555 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "todorm85/TelerikAcademy",
"max_stars_repo_path": "Courses/Programming/C# Part 1/02 Data Types and Variables/14. Print the ASCII Table/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93556"
} | starcoder | <filename>Courses/Programming/C# Part 1/02 Data Types and Variables/14. Print the ASCII Table/Program.cs
using System;
//Problem 14.* Print the ASCII Table
//• Find online more information about ASCII (American Standard Code for Information Interchange)
//and write a program that prints the entire ASCII table of cha... | 4.192582 | f2a877b2b053b940a13db1b87b1ebe6c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93556 | {
"extension": "c-sharp",
"max_stars_count": "240.0",
"max_stars_repo_name": "coldplaying42/botbuilder-community-dotnet",
"max_stars_repo_path": "libraries/Bot.Builder.Community.Adapter.ActionsSDK.Core/Model/ContentItems/Table.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93557"
} | starcoder | <filename>libraries/Bot.Builder.Community.Adapter.ActionsSDK.Core/Model/ContentItems/Table.cs<gh_stars>100-1000
using System.Collections.Generic;
namespace Bot.Builder.Community.Adapters.ActionsSDK.Core.Model.ContentItems
{
public class Table
{
public string Title { get; set; }
public string S... | 2.086136 | c1852e25eed917af46cd7f96db4cc166 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93557 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mainframebot/csharp-datastructures-graphs",
"max_stars_repo_path": "DirectedGraphLesson/Clients/DepthFirstCycle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93558"
} | starcoder | using System;
using System.Collections.Generic;
namespace DirectedGraphLesson.Clients
{
public class DepthFirstCycle
{
private DirectedGraph _graph;
private bool[] _marked;
private int[] _edgeTo;
private Stack<int> _cycle;
private bool[] _onStack;
... | 3.368913 | 4ce6610765a9c029cf29e4d7d2c53373 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93558 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jhonnycano/Leftware-Tasks",
"max_stars_repo_path": "src/Leftware.Tasks.Core/Model/CodeGenerationSetup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93559"
} | starcoder | <reponame>jhonnycano/Leftware-Tasks<gh_stars>0
namespace Leftware.Tasks.Core.Model;
public class CodeGenerationSetup
{
public IDictionary<string, CodeGenerationSetupItem> Items { get; set; }
}
| 1.283671 | 5051f92bb2a7003a7046db3aa78b9f6a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93559 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rwood/RedMonkey",
"max_stars_repo_path": "RedMonkey/RedMonkey.SchemaAnalysis/IQueries.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93560"
} | starcoder | <reponame>rwood/RedMonkey
namespace RedMonkey.SchemaAnalysis
{
public interface IQueries
{
string ListColumns(string _TableName);
string ListFunctions();
string ListKeyUsage(string _TableName);
string ListProcedures();
string ListTableIndexes(string _TableName);
... | 1.690455 | 85616a04c8b87217629d3e90a96a0a5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 93560 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "JTOne123/Cake.MsDeploy",
"max_stars_repo_path": "src/Cake.MsDeploy/Providers/MsDeployProviders/CreateAppProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:93561"
} | starcoder | <reponame>JTOne123/Cake.MsDeploy
using System;
using System.Text;
namespace Cake.MsDeploy.Providers.MsDeployProviders
{
/// <summary>
/// Defines an application in the IIS configuration system.
/// </summary>
/// <code>
/// msdeploy.exe -verb:sync -source:createApp -dest:createApp="Default Web Sit... | 2.419734 | 63d05b03e1436d4af3448ac604cafea3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.