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 | 8842512 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IvanovAlmeida/BookingDiary",
"max_stars_repo_path": "src/BD.API/Helper/Search/ExpressionOperation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161732"
} | starcoder | namespace BD.API.Helper.Search
{
public enum ExpressionOperation
{
EqualTo,
Contains,
StartsWith,
EndsWith,
NotEqualTo,
GreaterThan,
GreaterThanOrEqualTo,
LessThan,
LessThanOrEqualTo
}
}
| 1.923555 | 7108c6712c98fe534200f503ac19f7c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842513 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "ShimmerEngineering/Shimmer-C-API",
"max_stars_repo_path": "ShimmerAPI/ShimmerAPI/Utilities/UtilShimmer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161733"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace ShimmerAPI.Utilities
{
public class UtilShimmer
{
public static class SHIMMER_DEFAULT_COLOURS
{
// Shimmer Orange
public static byte[] colourShimmerOrange = new byte[] { 241, 93, 34 };
public static byte[] colourBrown = ... | 2.351062 | 4ef183e541339a4130546a13ad798bd2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842514 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Paccifficul/nervm",
"max_stars_repo_path": "FPS Escape R7/Assets/Scripts/IngameScripts/TeamChoose.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161734"
} | starcoder | <reponame>Paccifficul/nervm
using System;
using TMPro;
using UnityEngine;
namespace InGameScripts
{
public class TeamChoose: MonoBehaviour
{
public static TeamChoose Instance;
private void Awake()
{
Instance = this;
}
}
} | 1.445255 | c4cff157bbe1cf7ec917e9b53a36a4a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842515 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "obrieti/Packt-TDD_Development_book",
"max_stars_repo_path": "Chapter13/MastermindGame/MastermindGame.Tests/RandomGeneratorTests/RandomLetterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161735"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace MastermindGame.Tests.RandomGeneratorTests
{
public class RandomLetterTests
{
private readonly MockRandomGenerator _rand;
public RandomLetterTests()
{
_rand = new MockRandomGenerator()... | 3.174039 | a2a51700b43c6ccd4a0471e2f5a5c008 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842516 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "a-bagrov/StartupManager",
"max_stars_repo_path": "StartupManager/ViewModels/StartupManagerVm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161736"
} | starcoder | <filename>StartupManager/ViewModels/StartupManagerVm.cs
using StartupManager.Implementation.Services;
using StartupManager.Interfaces;
using StartupManager.MVVM;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using System;
namespace StartupManager.ViewModels
{
internal class StartupManagerVm ... | 2.446239 | 8e63f8adf4bf2adb1fe1e9c35790e273 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842517 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "avan06/AsmJit",
"max_stars_repo_path": "AsmJit/Common/Operands/GpVariableType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161737"
} | starcoder | <filename>AsmJit/Common/Operands/GpVariableType.cs
namespace AsmJit.Common.Operands
{
internal enum GpVariableType
{
Int8 = 0,
UInt8 = 1,
Int16 = 2,
UInt16 = 3,
Int32 = 4,
UInt32 = 5,
Int64 = 6,
UInt64 = 7,
IntPtr = 8,
UIntPtr = 9
... | 1.61743 | 44f071b0239789d487fd93c888c02dc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842518 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bytestudiomx/SalesPoint",
"max_stars_repo_path": "SalesPointSol/DataAcces/Entities/InventarioSalida.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161738"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataAcces.Entities
{
public class InventarioSalida
{
public Guid IdInventarioSalida { get; set; }
public DateTime FechaSalida { get; set; }
public Guid IdClient... | 1.474713 | 08bb2d755fd135146f6147ce2213a99f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842519 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wagnerhsu/sample-Abp.PhoneNumberLogin",
"max_stars_repo_path": "src/EasyAbp.Abp.PhoneNumberLogin.Domain.Shared/EasyAbp/Abp/PhoneNumberLogin/PhoneNumberLoginErrorCodes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161739"
} | starcoder | namespace EasyAbp.Abp.PhoneNumberLogin
{
public static class PhoneNumberLoginErrorCodes
{
//Add your business exception error codes here...
}
}
| 0.958048 | 94798453fcc54e1e4271ea0a0ac9a3bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842520 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "zulfahmi93/prayer-times",
"max_stars_repo_path": "src/Zool.Pray/PrayerCalculationException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161740"
} | starcoder | using System;
namespace Zool.Pray
{
/// <summary>
/// Contains error information thrown by prayer times calculator methods.
/// </summary>
public class PrayerCalculationException : Exception
{
#region Constructors
/// <summary>
/// Create new <see cref="PrayerCalc... | 2.576243 | 21c1873087cd7d3bd1f1db1e99f5cab7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842521 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ipazanin/can-database",
"max_stars_repo_path": "source/CanDatabase/CanDatabase.WebApi/Middleware/SecurityHeaders/SecurityHeadersBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161741"
} | starcoder | <gh_stars>0
using System;
using CanDatabase.Common.Constants;
namespace CanDatabase.WebApi.Middleware.SecurityHeaders
{
/// <summary>
/// Exposes methods to build a policy.
/// </summary>
public class SecurityHeadersBuilder
{
private readonly SecurityHeadersPolicy _policy = new();
... | 2.213721 | 37e4b736bb09f205fafb1ba67e03ed20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842522 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/das-assessor-apply",
"max_stars_repo_path": "src/SFA.DAS.ApplyService.Data.UnitTests/Database/RepositoriesUseIDbConnectionHelperTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161742"
} | starcoder | <reponame>SkillsFundingAgency/das-assessor-apply
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using NUnit.Framework;
using SFA.DAS.ApplyService.Infrastructure.Database;
namespace SFA.DAS.ApplyService.Data.UnitTests.Database
{
[TestFixture]
public class Repositori... | 2.22574 | 1b11f1af6400b9992cdbb6aa06cc0c9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842523 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Akeraiotitasoft/SpecFlowDependencyInjection",
"max_stars_repo_path": "src/Akeraiotitasoft.SpecFlow.DependencyInjection/IServiceCollectionFinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161743"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Akeraiotitasoft.SpecFlow.DependencyInjection.SpecFlowPlugin
{
interface IServiceCollectionFinder
{
Func<IServiceCollection> GetC... | 1.247182 | 79e2cdb42dd786d8d7d9259123da3b60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842524 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AdminRoc/Xunkong",
"max_stars_repo_path": "src/Desktop/MapTool/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161744"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using static Xunkong.Desktop.MapTool.NativeMethod;
namespace Xunkong.Desktop.MapTool
{
public partial class Form1 : Form
{
public static Form1 Instance;
... | 2.044938 | 1535f15e328a5631b361dd478f585ff4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842525 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Leftyx/quartznet",
"max_stars_repo_path": "src/Quartz/Impl/AdoJobStore/OracleDelegate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161745"
} | starcoder | #region License
/*
* Copyright 2009- <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 2.09678 | fc271ee3bf995150511d9100a24a86f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842526 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Arjunxxxl/Litthebulb",
"max_stars_repo_path": "rotation_tranlation/change_rot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161746"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class change_rot : MonoBehaviour {
float range = 1000.0f;
bool isRot;
Quaternion target_rot;
Quaternion final_rot;
camera_movement cm;
bool level_start ;
GameObject o;
... | 2.020199 | fcfb38ffb38903c348000dc4b296f7c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842527 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dejx/PdfSharpCore",
"max_stars_repo_path": "PdfSharpCore/Pdf/PdfUInteger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161747"
} | starcoder | #region PDFsharp - A .NET library for processing PDF
//
// Authors:
// <NAME>
//
// Copyright (c) 2005-2016 empira Software GmbH, Cologne Area (Germany)
//
// http://www.PdfSharpCore.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy o... | 2.610381 | f04a158264887dcbd31d8f8998fcc05f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842528 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MaartenStaa/mow-chat",
"max_stars_repo_path": "Logger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161748"
} | starcoder | <filename>Logger.cs
using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Threading;
namespace MowChat
{
class Logger
{
/// <summary>
/// The logger singleton instance.
/// </summary>
private static Logger _instance;
/// <summary>
/// Print a message to the log file.
... | 3.434982 | b656e09e706841f84b254a8f803c1761 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842529 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "simonauner/knightbus",
"max_stars_repo_path": "knightbus/src/KnightBus.Core/IPlugin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161749"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
namespace KnightBus.Core
{
public interface IPlugin
{
Task StartAsync(CancellationToken cancellationToken);
}
} | 1.42888 | 7d776408b5e0070aba1de9b0c1f59f6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842530 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LykkeCity/WalletBackEnd",
"max_stars_repo_path": "Common/Json/JsonWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161750"
} | starcoder | using System;
using System.Text;
namespace Common.Json
{
public interface IJsonWriter : IDisposable
{
void Write(string name, string value);
void Write(string value);
IJsonWriter WriteArray(string arrayName);
IJsonWriter WriteClass(string className);
}
public class... | 3.134564 | 517bba4a55fb393e7ca72c51c3e15536 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842531 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Agentvm/Android-AR-Texture",
"max_stars_repo_path": "Assets/Scripts/GameState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161751"
} | starcoder | <filename>Assets/Scripts/GameState.cs
/*
Copyright 2020 <NAME>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by... | 2.37194 | 1c28f55e3935132d1554c56b6f56d500 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842532 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mackenzieweaver/MawBlog",
"max_stars_repo_path": "MawBlog/Models/BlogUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161752"
} | starcoder | <reponame>mackenzieweaver/MawBlog<filename>MawBlog/Models/BlogUser.cs<gh_stars>0
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace MawBlog.Models
{
public class BlogUser : Ide... | 2.196666 | 7332d51b9716bccfb045601c128643e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842533 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MartinZikmund/WanaKana-net",
"max_stars_repo_path": "tests/WanaKanaNet.Tests/Checkers/HiraganaCheckerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161753"
} | starcoder | using System;
using Xunit;
namespace WanaKanaNet.Tests.Checkers
{
public class HiraganaCheckerTests
{
[Fact]
public void NullThrows()
{
Assert.Throws<ArgumentNullException>(() => WanaKana.IsHiragana(null!));
}
[Fact]
public void EmptyReturnsFalse()
... | 2.845226 | 16585394cec29e5968d946fae193d819 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842534 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vmrocha/nhibernate-unit-testing",
"max_stars_repo_path": "src/Domain/Entities/Company.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161754"
} | starcoder | using Domain.ValueTypes;
namespace Domain.Entities
{
public class Company : BaseEntity
{
public Company()
{ }
public Company(string name)
{
Name = name;
}
public virtual string Name { get; set; }
public virtual Address Address { get; set; }... | 2.425519 | 19e66c6e6dd7646d3baae06937dfd88d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842535 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "coojee2012/pm3",
"max_stars_repo_path": "SurveyDesign/Share/SysSet/DepartmentList.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161755"
} | starcoder | <gh_stars>0
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
using Approve.RuleCenter;
... | 1.500519 | a281b52309f337e1db22034379024f4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842536 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "TheCrunchy/AlliancesPlugin",
"max_stars_repo_path": "AlliancesPlugin/Alliances/Upgrades/GridRepairCommands.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161756"
} | starcoder | <gh_stars>1-10
using AlliancesPlugin.KOTH;
using AlliancesPlugin.Shipyard;
using Sandbox.Game.Entities;
using Sandbox.Game.World;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Torch.Commands;
using Torch.Co... | 1.741392 | a85ce01ad72d0ed752482a5a95e39f66 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842537 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RegionOrebroLan/.NET-Web-Authentication-Cookies-Extensions",
"max_stars_repo_path": "Source/Sample/Application/Controllers/SecurityController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161757"
} | starcoder | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace Application.Controllers
{
public abstract class SecurityController : Controller
{
#region Constructors
protected SecurityController(IAuthentication... | 2.545568 | 03e47dcaa22120a055e098af28ec26e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842538 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "vazsimon/Binance-DEX-CSharp-SDK",
"max_stars_repo_path": "BinanceClient/ExchangeSpecificAlgos/AlgoEnums.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161758"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BinanceClient.ExchangeSpecificAlgos
{
public enum RealtimeOrderBookState
{
Initializing,
Operational,
Updating,
OutOfSync
}
}
| 1.368229 | 71207a5d86977916e60cd2255c86478b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842539 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DiaAWAY/azure-documentdb-datamigrationtool",
"max_stars_repo_path": "CsvFile/Microsoft.DataTransfer.CsvFile/Writer/CsvWriterFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161759"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.DataTransfer.CsvFile.Writer
{
static class CsvWriterFactory
{
public static CsvWriter Create(bool writeHeaders, string delimiter)
{
return new CsvW... | 2.081269 | 6828b3221b8429e8be41049d2a15a9ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842540 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "alopezlago/YetAnotherPacketParser",
"max_stars_repo_path": "YetAnotherPacketParser/YetAnotherPacketParser/Lexer/NumberedQuestionLine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161760"
} | starcoder | namespace YetAnotherPacketParser.Lexer
{
public class NumberedQuestionLine : ILine
{
public NumberedQuestionLine(FormattedText text, int number)
{
this.Text = text;
this.Number = number;
}
public LineType Type => LineType.NumberedQuestion;
publi... | 2.983467 | c36097419b3b03bd717f6481de9df03a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842541 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "beethoven21/managedCuda",
"max_stars_repo_path": "Samples/ManagedCudaSamples/vectorAdd_nvrtc/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161761"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using ManagedCuda;
using ManagedCuda.BasicTypes;
using ManagedCuda.VectorTypes;
using ManagedCuda.NVRTC;
namespace vectorAdd_nvrtc
{
class Program
{
stat... | 2.854766 | 32c7c3a35f2b76af142c9fe4b62f8c41 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842542 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "Kukks/i2p-cs",
"max_stars_repo_path": "I2CP/I2CP/Messages/CreateLeaseSet2Message.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161762"
} | starcoder | <reponame>Kukks/i2p-cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using I2PCore.Data;
using I2PCore.Utils;
using Org.BouncyCastle.Math;
namespace I2P.I2CP.Messages
{
public class CreateLeaseSet2Message: I2CPMessage
{
public ushort SessionId;
... | 1.951597 | 6ae9ffcfb5c3d7e570f8916b07c46e15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842543 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jllen/swing-calculator-csharp",
"max_stars_repo_path": "Swing Calculator/Model/IOperation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161763"
} | starcoder | <filename>Swing Calculator/Model/IOperation.cs
namespace SwingCalculator.Model
{
public interface IOperation {
int Sum();
void Append(int value);
}
} | 2.133884 | 0456fa101ba6f249f2e1007a3e599ba6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842544 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ahives/Machete",
"max_stars_repo_path": "src/Machete.X12Schema/V5010/Layouts/Maps/LoopN9_2_855Map.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161764"
} | starcoder | namespace Machete.X12Schema.V5010.Maps
{
using X12;
using X12.Configuration;
public class LoopN9_2_855Map :
X12LayoutMap<LoopN9_2_855, X12Entity>
{
public LoopN9_2_855Map()
{
Id = "Loop_N9_2_855";
Name = "Loop N9";
Segment(x => x... | 1.603051 | 34c07a6fd58139b00a303aa735b18cf0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842545 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EliCappatto/moviesmais",
"max_stars_repo_path": "MoviesMais/Models/DadosSensiveis.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161765"
} | starcoder | <filename>MoviesMais/Models/DadosSensiveis.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MoviesMais.Models
{
public class DadosSensiveis
{
public static string SENHA_EMAIL = "nosaoc5e";
}
} | 1.57906 | 663b3d49cb7dff14447558bab0742dd0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842546 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Wuschli/OmaWatch",
"max_stars_repo_path": "OmaWatchUnity/Assets/Scripts/UI/UIManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161766"
} | starcoder | using System;
using Assets.Scripts.Common.Util;
using Assets.Scripts.Messages;
using Stateless;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace Assets.Scripts.UI
{
public enum UIState
{
Splash,
MainMenu,
InGame,
Pause,
Lose,
Win
}
public... | 2.336591 | 0611c642f8e5203673995ce0be3523c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842547 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "signalwire/signalwire-dotnet",
"max_stars_repo_path": "signalwire-dotnet/Relay/Blade/Messages/ConnectParams.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161767"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Text;
namespace Blade.Messages
{
public sealed class ConnectParams
{
public sealed class VersionParam
{
public const int MAJOR = 2;
publ... | 2.00489 | 272461ac0301a9e8a4a2fc5eeb417582 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842548 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shellnguyen/Solitaire",
"max_stars_repo_path": "Solataire/Assets/Scripts/Menus/MainMenu/MainMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161768"
} | starcoder | <reponame>shellnguyen/Solitaire
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class MainMenu : MonoBehaviour
{
//Text
[SerializeField] private TextMeshProUGUI m_GreetingText;
[SerializeField] private TextMeshProUGUI m_PlayerNameText;
//Button
[SerializeField] private Button m_BtnKl... | 1.669977 | 689f8ca3a53b5271ee988ff6f0e5cd5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842549 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "breavewong/osharp",
"max_stars_repo_path": "src/OSharp.Core/Reflection/ITypeFinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161769"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="ITypeFinder.cs" company="OSharp开源团队">
// Copyright (c) 2014-2015 OSharp. All rights reserved.
// </copyright>
// <site>http://www.osharp.org</site>
// <last-editor>郭明锋</last-editor>
// <last-date>2015-07-28 11:30</... | 1.501399 | af71de60f81705e3f0694403fc704898 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842550 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Heinzman/DigiRcMan",
"max_stars_repo_path": "VisualStudio/Sources/Windows Forms Presenter/RaceGrid/LapTime/LaneLapTime.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161770"
} | starcoder | <reponame>Heinzman/DigiRcMan
using System;
using System.Drawing;
using System.Timers;
using System.Windows.Forms;
using Elreg.BusinessObjects;
using Elreg.BusinessObjects.Interfaces;
using Elreg.Log;
using Elreg.WindowsFormsView;
namespace Elreg.WindowsFormsPresenter.RaceGrid.LapTime
{
public class Lan... | 2.130371 | 1baa8ae48ef51fe8eedcfc5fce11073f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842551 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "RyannosaurusRex/DevStreams",
"max_stars_repo_path": "src/DevChatter.DevStreams.Core/Helpers/TimeZoneHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161771"
} | starcoder | using NodaTime;
using System;
namespace DevChatter.DevStreams.Core.Helpers
{
public static class TimeZoneHelper
{
public static (int adjustDayOfWeek, LocalTime localTime) ConvertLocalTimeToDifferentTimeZone(LocalTime fromTime, string fromZoneId, string toZoneId)
{
var localDateTime... | 2.710112 | 6933847badb351bd581ec21ef91f5791 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842552 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "karolzak/Xamarin-Import-Xcode-Views-Sample",
"max_stars_repo_path": "MedAppImportXcodeViewsSample/LogoutViewController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161772"
} | starcoder | <gh_stars>0
using Foundation;
using System;
using UIKit;
namespace MedAppImportXcodeViewsSample
{
public partial class LogoutViewController : UIViewController
{
public LogoutViewController (IntPtr handle) : base (handle)
{
}
}
} | 0.993904 | 08e71f73dc23eb227784fda0a85a9486 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842553 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ketiko/fubumvc",
"max_stars_repo_path": "src/FubuMVC.Diagnostics.Tests/Features/Chains/when_building_a_chain_visualizer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161773"
} | starcoder | using System.Linq;
using FubuMVC.Core.Registration;
using FubuMVC.Core.Registration.Nodes;
using FubuMVC.Diagnostics.Core.Infrastructure;
using FubuMVC.Diagnostics.Features.Chains.View;
using FubuMVC.Diagnostics.Features.Dashboard;
using FubuTestingSupport;
using NUnit.Framework;
using Rhino.Mocks;
namespace... | 1.704379 | b5ea06ba8a2eddc4646d39ca6992b9c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842554 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "webprofusion/scalex",
"max_stars_repo_path": "src/Core/Music/Score/ScoreInstrument.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161774"
} | starcoder | using System;
using System.Collections.Generic;
namespace Webprofusion.Scalex.Music.Score
{
public class ScoreInstrument : Instrument
{
public string InstrumentName;
public int NumStrings = 0;
}
}
| 1.711206 | e2b63b90eac3f71866012dd6896d9bfa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842555 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ruzzie/Ruzzie.Common",
"max_stars_repo_path": "src/Ruzzie.Common/Ruzzie.Common.UnitTests/Hashing/InvariantUpperCaseStringExtensionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161775"
} | starcoder | <reponame>Ruzzie/Ruzzie.Common<filename>src/Ruzzie.Common/Ruzzie.Common.UnitTests/Hashing/InvariantUpperCaseStringExtensionsTests.cs<gh_stars>0
using System;
using FluentAssertions;
using Ruzzie.Common.Hashing;
using Xunit;
namespace Ruzzie.Common.UnitTests.Hashing
{
public class InvariantUpperCaseStringExtensions... | 2.765771 | 59819f51202ad6aa8a945e16c8441ace |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842556 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Landesberufsschule-Feldkirch/TwinCatAdsTool",
"max_stars_repo_path": "TwinCatAdsTool.Logic/Services/SymbolSelectionService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161776"
} | starcoder | using System;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using TwinCAT.TypeSystem;
using TwinCatAdsTool.Interfaces.Services;
namespace TwinCatAdsTool.Logic.Services
{
public class SymbolSelectionService : ISelectionService<ISymbol>
{
private readonly Subject<ISymbol> _elements = new S... | 2.372162 | f6499cf874eec9dfd0c396f9dffa3960 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842557 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Premanand88/WebGlContainerTest",
"max_stars_repo_path": "Assets/BayatGames/SaveGamePro/Scripts/Serialization/Types/SaveGameType_Touch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161777"
} | starcoder | <reponame>Premanand88/WebGlContainerTest
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace BayatGames.SaveGamePro.Serialization.Types
{
/// <summary>
/// Save Game Type Touch serialization implementation.
/// </summary>
public class SaveGameType_Touch : SaveGam... | 2.235007 | 7969df3954a869a7e968f17c1cd3172b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842558 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "violetgrass/middleware",
"max_stars_repo_path": "src/VioletGrass.Middleware/Router/Endpoints/DefaultEndpointBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161778"
} | starcoder | using System;
using System.Collections.Generic;
namespace VioletGrass.Middleware
{
public class DefaultEndpointBuilder<TContext> : IEndpointBuilder<TContext> where TContext : Context
{
public DefaultEndpointBuilder(IServiceProvider serviceProvider)
{
ServiceProvider = serviceProvide... | 1.949213 | f81cc124d43a41860847f4383038df7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842559 | {
"extension": "c-sharp",
"max_stars_count": "2851.0",
"max_stars_repo_name": "JTOne123/elasticsearch-net",
"max_stars_repo_path": "tests/Examples/QueryDsl/QueryStringQueryPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161779"
} | starcoder | <reponame>JTOne123/elasticsearch-net
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using Elastic.Elasticsearch.Xunit.XunitPlumbing;
using Examples.Models;
using... | 1.781053 | 1bb8beb837193daa7789631f2defcbab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842560 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rbaret/AdventOfCode2021",
"max_stars_repo_path": "Day6/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161780"
} | starcoder | <filename>Day6/Program.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using Utility;
namespace Day6
{
class Program
{
static void Main(string[] args)
{
string path = "./input.txt";
List<string> input = Utility.ImportInput.ToStri... | 3.718056 | 730694b3b3bbbe164f8ff1cbad4e358e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842561 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "michaeljfarr/Sprache.Calc",
"max_stars_repo_path": "Sprache.LogicCalc/Internals/ParameterComponents.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161781"
} | starcoder | using System;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Sprache.Calc.CalcScope;
namespace Sprache.Calc.Internals
{
internal static class ParameterComponents
{
private static readonly MethodInfo GetValueMethod = typeof(IInputScope).GetMethod("GetValue");
... | 2.637932 | 7814f88223d2651a3c85107ebdd1edf4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842562 | {
"extension": "c-sharp",
"max_stars_count": "907.0",
"max_stars_repo_name": "komdil/WebApi",
"max_stars_repo_path": "test/UnitTest/Microsoft.AspNet.OData.Test.Shared/Batch/ODataBatchHttpRequestMessageExtensionsTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161782"
} | starcoder | //-----------------------------------------------------------------------------
// <copyright file="ODataBatchHttpRequestMessageExtensionsTest.cs" company=".NET Foundation">
// Copyright (c) .NET Foundation and Contributors. All rights reserved.
// See License.txt in the project root for license information.... | 1.825554 | 481186b4c9030edf01203db73fcc5b8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842563 | {
"extension": "c-sharp",
"max_stars_count": "574.0",
"max_stars_repo_name": "sygmond/Jot",
"max_stars_repo_path": "Demo/TestWPF/Settings/DisplaySettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161783"
} | starcoder | <filename>Demo/TestWPF/Settings/DisplaySettings.cs<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Windows.Media;
using System.Runtime.CompilerServices;
namespace TestWPF.Settings
{
[Serializable]
publ... | 2.649187 | 1542f1c373d8b384b01aad9032b8d768 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842564 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "john-clark/rust-oxide-umod",
"max_stars_repo_path": "oxide/plugins/rust/SimpleGambling.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161784"
} | starcoder | using System.Collections.Generic;
using Oxide.Core;
using UnityEngine;
namespace Oxide.Plugins
{
[Info("Simple Gambling", "<NAME>", "1.3.0")]//1.2.0
[Description("Allows admins to create item gambling")]
class SimpleGambling : RustPlugin
{
const string perm = "simplegambling.allowed";
C... | 2.515213 | 8095eedf988e85f1a02d16e6a6f3f587 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842565 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ivan-nikolov/HSS",
"max_stars_repo_path": "Src/Web/Hss.Web/Areas/Administration/Controllers/CategoriesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161785"
} | starcoder | <gh_stars>1-10
namespace Hss.Web.Areas.Administration.Controllers
{
using System.Threading.Tasks;
using Hss.Services;
using Hss.Services.Data.Categories;
using Hss.Services.Mapping;
using Hss.Services.Models.Categories;
using Hss.Web.Filters;
using Hss.Web.ViewModels.Administration.Categor... | 1.888464 | ce7542939e1b62a765e0524202c6be27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842566 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JeroMiya/androidmono",
"max_stars_repo_path": "MonoJavaBridge/android/generated/android/view/inputmethod/EditorInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161786"
} | starcoder | <gh_stars>1-10
namespace android.view.inputmethod
{
[global::MonoJavaBridge.JavaClass()]
public partial class EditorInfo : java.lang.Object, android.text.InputType, android.os.Parcelable
{
internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
protected EditorInfo(global::MonoJavaBridge.JNIEnv @... | 1.67071 | f3a3a5e69f72cc4254cfbe08ad6d1fbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842567 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodingOrca/OneShoppingList",
"max_stars_repo_path": "WindowsPhone/OneShoppingList/Resources/AppResources.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161787"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut... | 2.146925 | d3ef614bf953edea5c10fed29b95613c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842568 | {
"extension": "c-sharp",
"max_stars_count": "96.0",
"max_stars_repo_name": "FlorisBriolas/Glass.Mapper",
"max_stars_repo_path": "Archived/Glass.Mapper.Umb/DataMappers/AbstractUmbracoPropertyMapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161788"
} | starcoder | <reponame>FlorisBriolas/Glass.Mapper
/*
Copyright 2012 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless requ... | 2.331123 | 2578a174ae9b8e09410b3e99787c7a48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842569 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Jameshannah3rd/Compass",
"max_stars_repo_path": "Models/ProjectServiceType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161789"
} | starcoder | <gh_stars>1-10
using System;
namespace Cosential.Integrations.Compass.Client.Models
{
public class ProjectServiceType
{
public int? ServiceTypeID { get; set; }
public string ServiceTypeName { get; set; }
public bool DeleteType { get; set; }
public bool AvailableType { get; set;... | 1.362516 | cd935ca261892d0771e5d52611aae625 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842570 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "newbelgium/PropertyView.GroupingHeader",
"max_stars_repo_path": "PropertyView.GroupingHeader/PropertyDefaultValueInitialization.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161790"
} | starcoder | using EPiServer.Core;
using EPiServer.Framework;
using EPiServer.Framework.Initialization;
using EPiServer.Framework.Localization;
using EPiServer.ServiceLocation;
using EPiServer.Shell.ObjectEditing;
using EPiServer.Shell.ObjectEditing.EditorDescriptors;
namespace PropertyView.GroupingHeader
{
[InitializableModu... | 1.533535 | 615cda1f8934eefb99b66f8019b5ce99 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842571 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Carcass-Project/cxc",
"max_stars_repo_path": "SymbolicResolution/Symbols/FunctionSymbol.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161791"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace cxc.SymbolicResolution.Symbols
{
public class FunctionSymbol : Symbol
{
IReadOnlyList<ParameterSymbol>? parameters;
}
}
| 1.515973 | 73675cc4f99b95c7b15b87f40cee6af3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842572 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cqkxzyi/ZhangYi.Utilities",
"max_stars_repo_path": "doNet/DotNet.zy.Utilities/邮件/邮件2/StatResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161792"
} | starcoder |
namespace DotNet.zy.Utilities
{
/// <summary>
/// This class represents the resulting Pop3 response from a STAT command
/// executed against a Pop3 server.
/// </summary>
internal sealed class StatResponse : Pop3Response
{
private int _messageCount;
/// <summary>
/// Ge... | 2.500166 | bef9b00b8c91ad0aac3e11cf8d004ed4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842573 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "ap0llo/markdown-generator",
"max_stars_repo_path": "src/MarkdownGenerator.Test/_Model/_Blocks/MdCodeBlockTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161793"
} | starcoder | using Xunit;
namespace Grynwald.MarkdownGenerator.Test
{
public class MdCodeBlockTest
{
[Fact]
public void DeepEquals_returns_expected_value()
{
var instance1 = new MdCodeBlock("content");
var instance2 = new MdCodeBlock("content");
var instance3 = n... | 2.775219 | c64772cec4c3e5bcc9f6f524bf5d3629 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842574 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rfennell/TfsAlertsDsl",
"max_stars_repo_path": "Src/WorkItemEventProcessor/DslScriptService.svc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161794"
} | starcoder | //-------------------------------------------------------------------------------------------------
// <copyright file="DslScriptService.svc.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
//-------------------------------------------------------------------------------------------... | 2.220838 | 59a84ae9dd65e49200f27d2ea62524a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842575 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JanJorgensen/StepBro",
"max_stars_repo_path": "source/StepBro.UI/Controls/ExecutionTargetSelectorTokenId.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161795"
} | starcoder | using ActiproSoftware.Text.Lexing.Implementation;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace StepBro.UI.Controls
{
public partial class ExecutionTargetSelectorTokenId : TokenIdP... | 2.513853 | 9544a27eb88431fdb40cb183695fd41a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842576 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "yaksys/Remote-Control-Tools-YakSys-",
"max_stars_repo_path": "JsRct-Client/Forms classes/MiniRTDVForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161796"
} | starcoder | <reponame>yaksys/Remote-Control-Tools-YakSys-
partial class MiniRTDVForm
{
private System.ComponentModel.Container components = null;
public MiniRTDVForm()
{
InitializeComponent();
}
protected override void Dispose(bool disposing)
{
if (disposing)
... | 1.667786 | aa6276a0a9dc770f908f944f7addaeba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842577 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "arjjsolutions/Partner-Center-Storefront",
"max_stars_repo_path": "src/Storefront/Views/Shared/ProcessOrder.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161797"
} | starcoder | <div id="ProcessOrderContainer">
<div class="row">
<label data-bind="text: viewModel.PageTitle"></label>
</div>
<!-- ko if: viewModel.CustomerRegistrationInfo -->
<div class="row">
<label class="section">@Resources.Confirmation</label><br />
<label>@Resources.ConfirmationMessage... | 2.08711 | a59e9713c372af2e361c0303878bf547 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842578 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WillianRafaelVeres/Faculdade_LogicaDeProgramacao",
"max_stars_repo_path": "DesafiosM1/Exercicio2/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161798"
} | starcoder | <filename>DesafiosM1/Exercicio2/Program.cs<gh_stars>0
// <NAME> - 04_09_2021
using System;
namespace Exercicio2
{
class Program
{
static void Main(string[] args)
{
Console.Clear(); // Comando para limpar o Terminal
string nome = ""; // Variável do nome
stri... | 3.476567 | cf56fa72446ad354169636fcd1d9cee4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842579 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "primaryobjects/MongoDragons2",
"max_stars_repo_path": "MongoDragons2.Types/Dragon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161799"
} | starcoder | <gh_stars>0
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MongoDragons2.Types
{
[BsonIgnoreExtraElements]
public class Dragon
{
public Objec... | 2.225598 | fa7024f396204a733dde2ae34c08b65d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842580 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ko-vasilev/WellBot",
"max_stars_repo_path": "src/WellBot.Infrastructure/GoogleImageSearcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161800"
} | starcoder | <gh_stars>0
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http.Extensions;
using WellBot.Infrastructure.Abstractions.Interfaces;
using WellBot.Infrastructure.Abstractions.Interfaces.Dtos;
using WellBot.Infrastructure.Dtos;
namespace WellBot.... | 2.332662 | a23807aed0d16f63811cb7a537b5a8e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842581 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "goblinhero/DomainDrivenCore",
"max_stars_repo_path": "DomainDrivenCore.NHibernate/IExecutableCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161801"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using NHibernate;
namespace DomainDrivenCore.NHibernate
{
public interface IExecutableCommand
{
bool TryExecute(ISession session, out IEnumerable<string> errors);
}
} | 1.649611 | 07c8b5360334e5609eaeb8613899b42e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842582 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PackSite/Library.Logging",
"max_stars_repo_path": "src/PackSite.Library.Logging.Abstractions/BootstrapperOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161802"
} | starcoder | namespace PackSite.Library.Logging
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.Extensions.Configuration;
/// <summary>
/// <see cref="IBootstrapper"/> options.
/// </summary>
public sealed class ... | 2.260578 | 692b0f404eb502b21fc0713bd65adb92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842583 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jleight/advent-of-code",
"max_stars_repo_path": "csharp/src/AoC/Abstractions/ISolution.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161803"
} | starcoder | <filename>csharp/src/AoC/Abstractions/ISolution.cs
using AoC.Contexts;
namespace AoC.Abstractions;
public interface ISolution
{
Task Run(SolutionContext context);
}
| 1.520617 | 66e22947cdff87fff2bb548f84c38a41 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842584 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BorochDev/PersonalInformations",
"max_stars_repo_path": "PersonalInformations/PersonalInformations/DataService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161804"
} | starcoder | <reponame>BorochDev/PersonalInformations<gh_stars>0
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Linq;
namespace PersonalInformations
{
public class DataService : IDataService
{
List<Data> dataList = new List<Data>();
p... | 2.939141 | cfe570eea70a7c04fd5adafe76bd828d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842585 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "PyneTrading/Sharpkit.Learn",
"max_stars_repo_path": "src/Liblinear.Test/LinearTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161805"
} | starcoder | <gh_stars>10-100
// -----------------------------------------------------------------------
// <copyright file="LinearTest.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------
using System.IO;
using Microsoft.VisualStudio.TestTools.... | 2.788934 | 4d4c516602f20fe2fc1eb4ca1b7cfa4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842586 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "CrossGeeks/OverlaySample",
"max_stars_repo_path": "OverlaySample.iOS/Renderers/CameraPreviewRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161806"
} | starcoder | using System;
using System.ComponentModel;
using OverlaySample.Controls;
using OverlaySample.iOS.Renderers;
using OverlaySample.iOS.Views;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
[assembly: ExportRenderer(typeof(CameraPreview), typeof(CameraPreviewRenderer))]
namespace OverlaySample.iOS.Renderers
{
... | 1.850749 | 13c5a0badc995bc6568ac221553b4c8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842587 | {
"extension": "c-sharp",
"max_stars_count": "65.0",
"max_stars_repo_name": "steveleeCN87/easy.rpc",
"max_stars_repo_path": "src/DotEasy.Rpc.ApiGateway/OcelotPipelineConfigurationExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161807"
} | starcoder | <reponame>steveleeCN87/easy.rpc<gh_stars>10-100
using System;
using Ocelot.DownstreamUrlCreator.Middleware;
using Ocelot.Headers.Middleware;
using Ocelot.Middleware;
using Ocelot.Middleware.Pipeline;
using Ocelot.RateLimit.Middleware;
using Ocelot.Request.Middleware;
using Ocelot.RequestId.Middleware;
namespace DotEa... | 2.203823 | db8c747106c80c17df0c66dd1e739b3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842588 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "rhodosaur/jerrycurl-merge1",
"max_stars_repo_path": "src/Build/Jerrycurl.CodeAnalysis.Razor/Generation/GeneratorOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161808"
} | starcoder | <gh_stars>10-100
using System.Collections.Generic;
using Jerrycurl.CodeAnalysis.Razor.Parsing;
namespace Jerrycurl.CodeAnalysis.Razor.Generation
{
public class GeneratorOptions
{
public IList<RazorFragment> Imports { get; set; } = new List<RazorFragment>();
public RazorFragment Class { get; se... | 1.399032 | aa6267e26dd76b3a79c3a3d87d628c83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842589 | {
"extension": "c-sharp",
"max_stars_count": "136.0",
"max_stars_repo_name": "v-fekalu/azure-mobile-apps-net-server",
"max_stars_repo_path": "src/Common/DictionaryExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161809"
} | starcoder | <filename>src/Common/DictionaryExtensions.cs
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
using System.ComponentModel;
using System.Globaliz... | 2.980038 | 7193f617c5d9c5e9e1fd24c653c57e5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842590 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marcroberts/ewfutil",
"max_stars_repo_path": "Config.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161810"
} | starcoder | namespace EwfUtil
{
partial class Config
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name... | 2.128975 | 87abde650661828a7726bdfab116e79b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842591 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "yurigorokhov/DReAM",
"max_stars_repo_path": "src/mindtouch.dream/Text/CharDet/EUCSampler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161811"
} | starcoder | /* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MP... | 2.209012 | 9ab43b071caefeca02b0fc9710de9bea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842592 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "arifgit12/SmartLMS",
"max_stars_repo_path": "SmartLMS/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161812"
} | starcoder | <filename>SmartLMS/Views/Home/Index.cshtml
<div class="jumbotron">
<h1>Smart LMS</h1>
<p class="lead">Smart LMS is a free web based LMS framework for building great online courses.</p>
<p><a href="#" class="btn btn-primary btn-lg">Learn more »</a></p>
</div>
<div class="row">
<div class="col-md-4... | 2.713921 | dfdaf9f4ed2af010789084a3b86712a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842593 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JonathonCwik/FrameWork",
"max_stars_repo_path": "FrameWork.EventBus.Rabbit/GlobalEventAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161813"
} | starcoder | <reponame>JonathonCwik/FrameWork
using System;
namespace FrameWork.EventBus.Rabbit;
public class GlobalEventAttribute : Attribute
{
public string Domain { get; set; }
}
| 1.270132 | 3103c4a29db3f45c39f89edf03a05580 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842594 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "bebenekmarcin/voltdb-client-csharp",
"max_stars_repo_path": "VoltDB.Data.Client/Types/Table.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161814"
} | starcoder | <gh_stars>10-100
/* This file is part of VoltDB.
* Copyright (C) 2008-2018 VoltDB Inc.
*
* 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 ... | 2.461609 | c1178ef7a66b41794fe4c2e60bed2d8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842595 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "kypp/mass-effect-3-audio-extractor",
"max_stars_repo_path": "MassEffect3Tools/Extractor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161815"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace MassEffect3Tools
{
public class Extractor
{
public static List<string> Extract(string filename, string destination, List<long[]> waves)
{
Progress.Start_Ext... | 3.001867 | 316a983359b8b8548e2ffffadfd4ab37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842596 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "secretMoi/Wallon",
"max_stars_repo_path": "Couche_Classe/LiaisonTachesLocataires.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161816"
} | starcoder | <filename>Couche_Classe/LiaisonTachesLocataires.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
namespace Couche_Classe
{
public class LiaisonTachesLocataires : Base
{
public LiaisonTachesLocataires()
{
}
public LiaisonTachesLocataires(int locataire, int tache)
{
Locataire = locataire... | 2.798485 | 1cc0d3fe9e6d4394270cbcfb5c1c79f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842597 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nunomota/map-creator",
"max_stars_repo_path": "Assets/Scripts/Designer_Scene/Classes/GUISelected.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161817"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
public class GUISelectedMenu {
public Vector2 position;
public Texture texture;
public float width;
public Rect rect1, rect2;
public float scale;
public GUISelectedMenu(Vector2 p, float w, Texture tex, float s) {
position = p;
width = w;
texture = ... | 2.056932 | 9dd494351a5d42536cd312832ef38bdb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842598 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ThomasGassmann/Octopost",
"max_stars_repo_path": "Octopost.WebApi/Infrastructure/AssemblyUtilities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161818"
} | starcoder | namespace Octopost.WebApi.Infrastructure
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
public static class AssemblyUtilities
{
private const string OctopostAssemblyIdentifier = "Octopost";
private static Lazy<List<Assembly>> octo... | 2.587552 | 5143ec48de84eceea428c5e0593da1e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842599 | {
"extension": "c-sharp",
"max_stars_count": "94.0",
"max_stars_repo_name": "gamestdio/colyseus-unity3d",
"max_stars_repo_path": "Assets/Colyseus/Runtime/GameDevWare.Serialization/PathSegment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161819"
} | starcoder | <reponame>gamestdio/colyseus-unity3d<filename>Assets/Colyseus/Runtime/GameDevWare.Serialization/PathSegment.cs
using System;
// ReSharper disable once CheckNamespace
namespace GameDevWare.Serialization
{
public struct PathSegment
{
public readonly int Index;
public readonly object MemberName;
public PathSegme... | 2.615703 | 133a8e9a7b0e90016abfbcd4ebf6c65a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842600 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Xablu/XamarinAndroidTraining",
"max_stars_repo_path": "XTC101/Exercise 1/Completed/Calculations/PertEstimate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161820"
} | starcoder | <gh_stars>0
using System;
namespace Calculations
{
public class PertEstimate
{
public static double Estimate(double likelyAmount, double bestCaseAmount,
double worstCaseAmount)
{
return (likelyAmount * 4 + bestCaseAmount + worstCaseAmount) / 6;
}
}
}
| 2.268613 | 69e818a919c2ec53ba0707c1b9f2ee7c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842601 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MikeBairdRocks/Fluky",
"max_stars_repo_path": "src/Fluky/Data.LastNames.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161821"
} | starcoder | <reponame>MikeBairdRocks/Fluky
using System.Collections.Generic;
namespace Fluky
{
public partial class Data
{
private IEnumerable<string> _lastNames;
/// <summary>
///
/// </summary>
public IEnumerable<string> LastNames
{
get
{
if (_lastNames != null)
retur... | 2.693894 | 67c4a8cb09214eb91c4c23f07e324cc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842602 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Gmai/ml-agents",
"max_stars_repo_path": "unity-environment/Assets/ML-Agents/GYM/Shooter/Scripts/ShooterAgent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161822"
} | starcoder | <filename>unity-environment/Assets/ML-Agents/GYM/Shooter/Scripts/ShooterAgent.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using System.IO;
using System;
public class ShooterAgent : Agent
{
[Header("Specific to Shooter")]
public TargetDetector TgtDetector;
p... | 2.073365 | fb13ef1dd85f66fc9791210b7868861a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842603 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "arup-group/GSA-Grasshopper",
"max_stars_repo_path": "UnitTestGhSA/ParamsIntegrationTests/1_Properties/OffsetTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161823"
} | starcoder | <reponame>arup-group/GSA-Grasshopper
using System;
using NUnit.Framework;
using GhSA;
using GhSA.Parameters;
using Rhino.Geometry;
using GsaAPI;
namespace ParamsIntegrationTests
{
public class OffsetTests
{
[TestCase]
public void TestCreateOffset()
{
// create new offset
... | 2.469937 | 5bd49129bb157fdcd28dcfa215002a0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842604 | {
"extension": "c-sharp",
"max_stars_count": "183.0",
"max_stars_repo_name": "matfrem/Play",
"max_stars_repo_path": "UltraStar Play/Assets/Scenes/Sing/AutoHideCursor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161824"
} | starcoder | <reponame>matfrem/Play<filename>UltraStar Play/Assets/Scenes/Sing/AutoHideCursor.cs
using UnityEngine;
/**
* Hides the cursor when the mouse is not moved for a while.
*/
public class AutoHideCursor : MonoBehaviour
{
private static readonly float defaultHideDelayInSeconds = 5f;
public float initialHideDelay... | 2.245248 | 27482117f43f4aa25507f3f43edbd472 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842605 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "riQQ/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/PROPSETID_VIDCAP_VIDEOCONTROL.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161825"
} | starcoder | // c:\program files (x86)\windows kits\10\include\10.0.18362.0\shared\ksmedia.h(7212,1)
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct PROPSETID_VIDCAP_VIDEOCONTROL
{
}
}
| 0.897652 | f20c4f48c0cbfd4d64986de6ac1958fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842606 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BigYellowHammer/hazelcast-csharp-client",
"max_stars_repo_path": "src/Hazelcast.Net/Core/BytesExtensions.ReadFromByteArray.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161826"
} | starcoder | // Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by... | 2.897183 | 3f3fda4493a1033065af8e7080254c3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842607 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VictorMello1993/DevFreelaV2",
"max_stars_repo_path": "DevFreelaV2.API/DevFreela.Domain/Enums/ProjectStatusEnum.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161827"
} | starcoder | namespace DevFreela.Domain.Entities.Enums
{
public enum ProjectStatusEnum
{
Created = 0,
InProgress = 1,
Suspended = 2,
Cancelled = 3,
Finished = 4,
PaymentPending = 5
}
} | 1.779345 | 72403c1cf403934ced82744f0ff2e4e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842608 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "rozabto/GardenMarket",
"max_stars_repo_path": "src/Service/GardenMarket.Common/EmailSender.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161828"
} | starcoder | using Microsoft.AspNetCore.Identity.UI.Services;
using SendGrid;
using SendGrid.Helpers.Mail;
using System;
using System.Threading.Tasks;
namespace GardenMarket.Common
{
public class EmailSender : IEmailSender
{
private readonly SendGridClient _client;
private readonly EmailAddress _from;
... | 2.46623 | d967c05abf2d77a15c264ff6bec8e434 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842609 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neiltait/medex_api_pub",
"max_stars_repo_path": "MedicalExaminer.API.Tests/Controllers/CaseOutcomeControllerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161829"
} | starcoder | <filename>MedicalExaminer.API.Tests/Controllers/CaseOutcomeControllerTests.cs
using System;
using System.Threading.Tasks;
using AutoMapper;
using FluentAssertions;
using MedicalExaminer.API.Controllers;
using MedicalExaminer.API.Models.v1.CaseOutcome;
using MedicalExaminer.Common.Queries.CaseOutcome;
using MedicalExam... | 1.703819 | cd59377364c5d5796634629306cb1905 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842610 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Zeodexic/tsorcRevamp",
"max_stars_repo_path": "Items/VanillaItems/RecipeHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161830"
} | starcoder | using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace tsorcRevamp {
public static class RecipeHelper {
public static void RecipeRemover(int ItemRecipeToRemove) {
//removes ANY recipe that results in ItemRecipeToRemove
RecipeFinder finder = new RecipeFinder();
... | 2.257396 | 7ff09f6bfc5386ffe405f2c2d1c267f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842611 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeppevammenkristensen/roslyn-to-typescript",
"max_stars_repo_path": "src/RoslynToTypescript/TypescriptFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161831"
} | starcoder | <filename>src/RoslynToTypescript/TypescriptFactory.cs
using System.Collections.Immutable;
using System.Linq;
using System.Text;
namespace RoslynToTypescript
{
public record SourceFile(ImmutableArray<IStatement> Statements ) : ISyntax
{
public string Display(int indentation = 0)
{
v... | 2.86105 | bf01521a714aa25f50db2fa30e61e578 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.