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 | 8841912 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "landon/WebGraphs",
"max_stars_repo_path": "SLPropertyGrid/Converters/DoubleConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161132"
} | starcoder | <gh_stars>0
using System;
using System.Globalization;
namespace SLPropertyGrid.Converters
{
public class DoubleConverter : BaseNumberConverter
{
// Methods
internal override object FromString(string value, CultureInfo culture)
{
return double.Parse(value, culture);
}
internal override object FromStrin... | 2.613534 | a0b0c4a69d3d63cac434d61beb209c12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841913 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lgmagalhaes88/Windows-Forms",
"max_stars_repo_path": "CodesGenerationJSON/CodesGenerationJSON/error.module.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161133"
} | starcoder | <gh_stars>1-10
namespace CodesGenerationJSON
{
public class Error
{
private int id;
private string code;
private string description;
private string explanation;
private string system_action;
private string programmer_response;
private string sql_state;
... | 2.673487 | 72e8dfeaf0fbc2051cdac3e26eb5ac4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841914 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "STYLELABS/cloud-dev-examples",
"max_stars_repo_path": "src/Samples/Stylelabs.Integration.Reference.TrainingFunctions/Functions/DeleteAsset.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161134"
} | starcoder | using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Azure.WebJobs.Host;
using Stylelabs.Integration.Reference.TrainingFunctions.Helpers;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
namespace Stylelabs.Integration.Reference.Training... | 2.30077 | ad9614608f9312bdfabe9359bd19a017 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841915 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maryamariyan/corefxlab",
"max_stars_repo_path": "tests/Benchmarks/Helpers/Connection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161135"
} | starcoder | // 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.
namespace System.IO.Pipelines
{
public class PipeConnection : IPipeConnection
{
public PipeConnectio... | 2.379631 | 5d00ef094f656210013b39485ed89844 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841916 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "csegura/YACAMLQP",
"max_stars_repo_path": "IdeSeg.SharePoint.Caml.QueryParser/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161136"
} | starcoder | <filename>IdeSeg.SharePoint.Caml.QueryParser/Properties/AssemblyInfo.cs
#region Copyright(c) <NAME>, All right reserved.
// -----------------------------------------------------------------------------
// Copyright(c) 2008-2009 <NAME>, All right reserved.
//
// <EMAIL>
// http://www.ideseg.com
//
// * Attri... | 2.112951 | 9ead9b82ef8fdfc8e39c75fe34addde5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841917 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "remi/mooget",
"max_stars_repo_path": "spec/core/packages/UnpackedNupkgSpec.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161137"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using NUnit.Framework;
using MooGet;
namespace MooGet.Specs.Core {
[TestFixture]
public class UnpackedNupkgSpec : Spec {
// UnpackedNupkg implements IUnpackedNupkg which gives it nearly all of the methods we need to satisfy this ... | 2.240109 | 694fc794d941105e5a6780ff967984c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841918 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "SupinePandora43/gm_ultralight",
"max_stars_repo_path": "GmodUltralight/View.shared.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161138"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using GmodNET.API;
using ImpromptuNinjas.UltralightSharp.Enums;
using ImpromptuNinjas.UltralightSharp.Safe;
using Newtonsoft.Json.Linq;
using String = GmodUlt... | 2.370018 | 848c16aab156440d3934ecb716376be3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841919 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bsides44/MARSGeofencing",
"max_stars_repo_path": "MARS geofencing/Library/PackageCache/com.unity.mars@1.3.1/Editor/Scripts/Extensions/TransformInspector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161139"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Unity.MARS.Simulation;
using Unity.XRTools.Utils;
using UnityEngine;
using UnityEditor;
using UnityEditor.MARS;
using UnityEditor.MARS.Simulation;
namespace Unity.MARS
{
[CanEditMultipleObjects]
[Cust... | 1.512537 | af2b6e7f43c400979dd6018234970043 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841920 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RicardoStefani/IoCDotNetCore",
"max_stars_repo_path": "DemoCore/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161140"
} | starcoder | <filename>DemoCore/Program.cs<gh_stars>0
using DemoCore.Application;
using DemoCore.Interface;
using DemoCore.Service;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace DemoCore
{
class Program
{
static void Main(string[] args)
{
var services = IoC.GetCollect... | 1.934448 | e2dd8eef7794247e69451b6e319c1ce4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841921 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ialekseev/nerve-framework",
"max_stars_repo_path": "NerveFramework.UnitTests/Infrastructure/CompositionRoot/WebApiDependencyResolverTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161141"
} | starcoder | using System;
using NerveFramework.Web.WebApi;
using Xunit;
namespace NerveFramework.UnitTests.Infrastructure.CompositionRoot
{
public class WebApiDependencyResolverTests : IClassFixture<CompositionRootFixture>
{
private readonly CompositionRootFixture _fixture;
public WebApiDependencyResolve... | 2.179959 | 5f55f30cdc7ea35628b7e6f2c386ad59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841922 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "wpbrown/iobench",
"max_stars_repo_path": "ExxonMobil.Shared.Win32/DfsHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161142"
} | starcoder | <filename>ExxonMobil.Shared.Win32/DfsHelpers.cs
// Copyright 2014 ExxonMobil Technical Computing Company
//
// 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.apach... | 2.427867 | b9e006f17dad3dedd498fbd54f810b84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841923 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GuocaiL/QnamakerPractice",
"max_stars_repo_path": "libraries/Microsoft.Bot.Builder.Dialogs/Internal/NumberPromptInternal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161143"
} | starcoder | <reponame>GuocaiL/QnamakerPractice
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Bot.Schema;
using Microsoft.Recognizers.Text;
using Microsoft.Recognizers.Text.Number;
using static Microsof... | 2.7938 | 244444827ea1d5e92647a74d9fa3027d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841924 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Innofactor/EasyRepro",
"max_stars_repo_path": "Microsoft.Dynamics365.UIAutomation.Sample/TestSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161144"
} | starcoder | using Microsoft.Dynamics365.UIAutomation.Browser;
namespace Microsoft.Dynamics365.UIAutomation.Sample
{
public static class TestSettings
{
public static BrowserOptions Options = new BrowserOptions
{
Bro... | 1.459781 | 73dcd1e58f11bab80c5fe43619efea81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841925 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JamCamAbreu/SouthDakotaDiaspora",
"max_stars_repo_path": "SouthDakotaDiaspora/Data/Migrations/202112302115005_Initial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161145"
} | starcoder | namespace Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Initial : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Activities",
c => new
{
... | 2.19406 | 42e3ea4102d8a1daf39f11d8b2661000 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841926 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bcatcho/transition-unity-examples",
"max_stars_repo_path": "Assets/Shared/BaseAgent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161146"
} | starcoder | using UnityEngine;
using Shared;
namespace Shared
{
/// <summary>
/// A common Agent that will be used to demonstrate state machines
/// </summary>
public class BaseAgent : MonoBehaviour
{
public string MachineName;
public BaseGameController GameController;
public int Id;
public void Start ()
{
Id =... | 2.384555 | 56690e2d25ac3358f3b116014551721e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841927 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "muaddibco/O10city",
"max_stars_repo_path": "Node/O10.Node.Core/Exceptions/DposProviderNotSupportedException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161147"
} | starcoder | <filename>Node/O10.Node.Core/Exceptions/DposProviderNotSupportedException.cs
using System;
using O10.Transactions.Core.Enums;
using O10.Node.Core.Properties;
namespace O10.Node.Core.Exceptions
{
[Serializable]
public class DposProviderNotSupportedException : Exception
{
public DposProviderNotSupp... | 2.032607 | 9bfcfcb626b2f99cb6b97d50022d5988 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841928 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gaetz/unity-BlockBreaker",
"max_stars_repo_path": "Assets/_Code/LoseCollider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161148"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LoseCollider : MonoBehaviour {
LevelManager levelManager;
void Start()
{
levelManager = GameObject.FindObjectOfType<LevelManager>();
}
void OnTriggerEnter2D(Collider2D collider)
{
lev... | 1.799593 | a549f5fc3782c5b4609027b8b05c2e08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841929 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qorthos/KenFan-Metroidvania-15",
"max_stars_repo_path": "Assets/Scripts/CharacterInputManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161149"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(GenericCharacterController))]
public class CharacterInputManager : MonoBehaviour
{
[SerializeField]
readonly float inputRotation = -45f;
InputManager _inputManager;
GenericCharacterContr... | 1.823831 | 98403181e9a3acd1dc0c6abcf9e3a0db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841930 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "airbreather/Cursively",
"max_stars_repo_path": "src/Cursively/Inputs/CsvAsyncInputBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161150"
} | starcoder | <reponame>airbreather/Cursively
using System;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
namespace Cursively.Inputs
{
/// <summary>
/// Models a CSV source data stream that can be processed asynchronously.
/// </summary>
public abstract class CsvAsyncI... | 2.691224 | aa57297acf2f9b2839fd48106953f1d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841931 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zlxy/Genesis-3D",
"max_stars_repo_path": "Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/FirebirdSql.Data.Firebird/FirebirdSql.Data.Firebird/FbCommandBuilderBehavior.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161151"
} | starcoder | <gh_stars>0
/*
* Firebird ADO.NET Data provider for .NET and Mono
*
* The contents of this file are subject to the Initial
* Developer's Public License Version 1.0 (the "License");
* you may not use this file except in compliance with the
* License. You may obtain a copy of the License at
* ... | 1.469397 | d87981a025a6a3abb9fc8d1abc443bf3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841932 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sharpjs/Projector",
"max_stars_repo_path": "Projector.Tests/Specs/TypeTraitSpecTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161152"
} | starcoder | <filename>Projector.Tests/Specs/TypeTraitSpecTests.cs
namespace Projector.Specs
{
using NUnit.Framework;
using Projector.ObjectModel;
[TestFixture]
public class TypeTraitSpecTests : ProjectionTestsBase
{
private FakeTypeATraits Spec { get; set; }
[SetUp]
public void SetUp(... | 2.39376 | cf8aaed255feb0e26b8326a02ab38b32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841933 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "nt153133/__LlamaLibrary",
"max_stars_repo_path": "RemoteWindows/CollectablesShop.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161153"
} | starcoder | <reponame>nt153133/__LlamaLibrary
using System.Collections.Generic;
using ff14bot.Managers;
namespace LlamaLibrary.RemoteWindows
{
//TODO Move element numbers to dictionary
public class CollectablesShop : RemoteWindow<CollectablesShop>
{
private const string WindowName = "CollectablesShop";
... | 2.247498 | 5278b6882c59fa5804053c9ab8e89f59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841934 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "known/KAdmin",
"max_stars_repo_path": "server/Known.WebMvc/Views/Develop/DevelopView.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161154"
} | starcoder | <reponame>known/KAdmin<gh_stars>1-10
<div class="mini-splitter" style="width:100%;height:100%;">
<div id="splitLeft" tooltip="关闭/显示菜单" size="150px"
showCollapseButton="true" style="padding:5px;">
<ul id="leftTree" class="mini-tree" url="/static/data/demo/menu.txt"
style="width:100%;h... | 1.595944 | 678d24fc00bd52bc3828045ff305a692 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841935 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "voidNK/blueprint",
"max_stars_repo_path": "Blueprint.Web/Areas/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161155"
} | starcoder | @using Blueprint.Web
@using Blueprint.Web.Models
@using Microsoft.AspNetCore.Identity
@using Blueprint
@using Microsoft.AspNetCore.Mvc.Localization
@using Blueprint.Application.Constants
@using Microsoft.AspNetCore.Authorization
@inject IAuthorizationService AuthorizationService
@inject Microsoft.AspNetCore.Mvc.Locali... | 1.715613 | 1bff05c6215d4677bfed600e30a9a34c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841936 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ericoporto/agsModuleList",
"max_stars_repo_path": "agsget/agsget/CommandLine/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161156"
} | starcoder | <reponame>ericoporto/agsModuleList<filename>agsget/agsget/CommandLine/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using CommandLine;
namespace agsget
{
public class Program
{
public static int Main(string[] args)
{
int exitcode;
... | 2.335372 | 9519b666336406aa0c61c549fd2052c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841937 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yangra/SoftUni",
"max_stars_repo_path": "TechModule/Programming Fundamentals/Exams/(Old)SampleExam/02.HogwartsSorting/HogwartsSorting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161157"
} | starcoder | <reponame>yangra/SoftUni
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _02.HogwartsSorting
{
public class HogwartsSorting
{
public static void Main()
{
int count = int.Parse(Console.ReadLine());
... | 3.684048 | 82b535cbd7df64b64ba9fef382c3645f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841938 | {
"extension": "c-sharp",
"max_stars_count": "65.0",
"max_stars_repo_name": "XandraAI/syn-speech",
"max_stars_repo_path": "Syn.Speech/Helper/Mathematics/Analysis/Function/Multiply.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161158"
} | starcoder | <gh_stars>10-100
//PATROLLED
namespace Syn.Speech.Helper.Mathematics.Analysis.Function
{
/// <summary>
/// Multiply the two operands.
/// </summary>
public class Multiply : BivariateFunction
{
public double value(double x, double y)
{
return x*y;
}
}
}
| 2.257639 | 2136e8fd4c94a9ab17e8cc7d71760e1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841939 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "undersoft-org/NET.Undersoft.Vegas.Sdk.Research",
"max_stars_repo_path": "NET.Undersoft.Instants/Undersoft.System.Instants/Base/Formatters/IFigurePacket.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161159"
} | starcoder | <reponame>undersoft-org/NET.Undersoft.Vegas.Sdk.Research
namespace System.Instants
{
public interface IFigurePacket
{
ServiceSite Site { get; }
long SerialPacketSize { get; set; }
int SerialPacketOffset { get; set; }
byte[] SerialPacket { get; set; }
IntPtr SerialPac... | 1.233735 | 34738890bc7031dc2a89b52a7dc24b96 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841940 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "ddobric/DurableTaskMicroservices",
"max_stars_repo_path": "Daenet.DurableTaskMicroservices.Common/Daenet.DurableTaskMicroservices.Common/Rules/ValidatorRule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161160"
} | starcoder | // ----------------------------------------------------------------------------------
// Copyright daenet Gesellschaft für Informationstechnologie mbH
// 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 ... | 2.197101 | b8bc3e50ef6401d8cba81e45a80403f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841941 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "imustapha/ProjetGestionEval",
"max_stars_repo_path": "source/ProjetGestionEval/ProjetGestionEval/aspnetusers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161161"
} | starcoder | <reponame>imustapha/ProjetGestionEval<filename>source/ProjetGestionEval/ProjetGestionEval/aspnetusers.cs
//------------------------------------------------------------------------------
// <auto-generated>
// Ce code a été généré à partir d'un modèle.
//
// Des modifications manuelles apportées à ce fichier peu... | 1.468349 | 81c0797717252e671b30b0bda8034765 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841942 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "XUJINKAI/CipherTool",
"max_stars_repo_path": "cipherc/Utils/EnumReflector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161162"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace cipherc.Utils
{
[AttributeUsage(AttributeTargets.Field)]
public class EnumNameAttribute : Attribute
{
public IReadOnlyList<string> Na... | 2.592302 | 4570df357d4ee2c97951f3ccd4742008 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841943 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vk-twiconnect/twiconnect-client",
"max_stars_repo_path": "TWIConnect.Client/Utilities/Logger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161163"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TWIConnect.Client.Utilities
{
public static class Logger
{
private static System.Lazy<NLog.Logger> _nLogger = new Lazy<NLog.Logger>(() =>
... | 2.798908 | c5b4044bd000a501c8428c294d83ebb7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841944 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LyubomirRashkov/Software-University-SoftUni",
"max_stars_repo_path": "ProgrammingBasicsC#/ProjectsAndSolutions/5lab-WhileLoop/04. Sequence 2k+1/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161164"
} | starcoder | using System;
namespace _04._Sequence_2k_1
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
int start = 1;
while (start <= n)
{
Console.WriteLine(start);
start = (start *... | 3.155381 | ac46defdfa28154013e195e0aec9929b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841945 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "chrisphillips/KoduGameLab",
"max_stars_repo_path": "main/Boku/Tutorial/hint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161165"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
namespace Boku.Tutorial
{
public class Hint : DisplayItem
{
/// <summary>
/// How lon... | 2.678502 | 8f5ecdc9128f81d095c4bf5eba5491de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841946 | {
"extension": "c-sharp",
"max_stars_count": "438.0",
"max_stars_repo_name": "nlcamp/azure-iot-sdk-csharp",
"max_stars_repo_path": "iothub/device/src/net451/Common/Interop/UnsafeNativeMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161166"
} | starcoder | <filename>iothub/device/src/net451/Common/Interop/UnsafeNativeMethods.cs
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using System.Security;
... | 1.582206 | 4d89285639776b5f1115214fc948a7fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841947 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Blavtes/cshotfix",
"max_stars_repo_path": "CSHotFix_SimpleFramework/Assets/CSHotFixLibaray/Generated/CLRGen1/UnityEngine_UI_ICanvasElement_Binding.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161167"
} | starcoder | <gh_stars>1-10
#if CSHotFix
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.InteropServices;
using CSHotFix.CLR.TypeSystem;
using CSHotFix.CLR.Method;
using CSHotFix.Runtime.Enviorment;
using CSHotFix.Runtime.Intepreter;
using CSHotFix.Runtime.Stack;
using CSH... | 1.606674 | 4516a57f628ce166c48e246216ab201a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841948 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sky185959/WalkingTec.Mvvm",
"max_stars_repo_path": "WalkingTec.Mvvm.Mvc.Admin/Areas/_Admin/Views/DataPrivilege/Create.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161168"
} | starcoder | <gh_stars>1-10
@model WalkingTec.Mvvm.Mvc.Admin.ViewModels.DataPrivilegeVMs.DataPrivilegeVM
<wt:form vm="@Model">
<wt:radio field=" DpType" change-func="DbTypeChange" />
<wt:combobox field="Entity.TableName" items="TableNames" change-func="PriTypeChange" />
<wt:checkbox field="SelectedItemsID" items="AllIt... | 1.884473 | 442adf56904ec20e5d94ca6cfe0f38d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841949 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "knightofnet/FwRulesRepair",
"max_stars_repo_path": "business/repairs/RepairGeneric.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161169"
} | starcoder | <filename>business/repairs/RepairGeneric.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using AryxDevLibrary.utils;
using AryxDevLibrary.utils.logger;
using FwRulesRepair.utils;
using NetFwTypeLib;
namespace FwRulesRepair.business.repairs
{
public class RepairGeneric : Abst... | 2.644783 | 44b409026be1c4abc7a66fd73b0bda97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841950 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tositeru/hinode",
"max_stars_repo_path": "Layouts/Tests/Runtime/LayoutTargets/TestILayoutTarget.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161170"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
using System.Linq;
using Hinode.Tests;
namespace Hinode.Layouts.Tests
{
/// <summary>
/// <seealso cref="ILayoutTarget"/>
/// <seealso cref="ILayoutTargetExtension... | 1.792251 | 5b17ee57c1945a6796b92f4ff332126d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841951 | {
"extension": "c-sharp",
"max_stars_count": "294.0",
"max_stars_repo_name": "charsleysa/MOSA-Project",
"max_stars_repo_path": "Source/Mosa.DeviceSystem/IPixelGraphicsDevice.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161171"
} | starcoder | <filename>Source/Mosa.DeviceSystem/IPixelGraphicsDevice.cs
// Copyright (c) MOSA Project. Licensed under the New BSD License.
using System.Drawing;
namespace Mosa.DeviceSystem
{
/// <summary>
/// Interface to a pixel graphics device
/// </summary>
public interface IPixelGraphicsDevice
{
/// <summary>Writes the... | 3.186098 | fee1026e7c9c79d27397e5fef03c2fbe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterson1/RentLog",
"max_stars_repo_path": "RentLog.ImportBYF/Version2UI/MasterDataPane/ConvertersList/ConverterRowBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161172"
} | starcoder | using CommonTools.Lib11.DataStructures;
using CommonTools.Lib11.DTOs;
using CommonTools.Lib11.InputCommands;
using CommonTools.Lib11.JsonTools;
using CommonTools.Lib11.StringTools;
using CommonTools.Lib45.InputCommands;
using PropertyChanged;
using RentLog.DomainLib11.DataSources;
using RentLog.DomainLib11.MarketState... | 1.722777 | 9f97d80c03bf1e9eeb28738530acef9f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841953 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "And42/TranslatorApk",
"max_stars_repo_path": "App/Logic/Interfaces/SettingsPages/ISettingsPageModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161173"
} | starcoder | namespace TranslatorApk.Logic.Interfaces.SettingsPages
{
public interface ISettingsPageViewModel : IViewModelBase
{
string PageTitle { get; }
void RefreshData();
}
}
| 1.393166 | 3e0d255327a65d3e2747e3abebbacead |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841954 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "heynickc/Sklaida",
"max_stars_repo_path": "backend/src/ConsoleHost/ScatterGatherWireUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161174"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Net;
using System.Threading;
using System.Web.Http.SelfHost;
using BackendServices;
using EventStore.ClientAPI;
using EventStore.ClientAPI.SystemData;
using WebAPI;
namespace ConsoleHost
{
internal class ScatterGatherWireUp
{
priv... | 1.989135 | 8f4e8803e0f4989aabc4b26e115deed6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841955 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "urbas/Bud.Make",
"max_stars_repo_path": "Bud.Make/FilesHasher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161175"
} | starcoder | using System.Collections.Immutable;
namespace Bud.Make {
/// <summary>
/// This function reads the contents of the given <paramref name="files" />, add the <paramref name="salt" />, and
/// calculate the digest of the mix.
/// </summary>
/// <param name="files">the list of files for which to calculate a ... | 2.672385 | a69ea826186c042819d5e0f68bc42031 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841956 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ridicoulous/ClickHouse.Net",
"max_stars_repo_path": "src/ClickHouse.Net.Demo/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161176"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using ClickHouse.Ado;
using ClickHouse.Net.Entities;
namespace ClickHouse.Net.Demo
{
class Program
{
static void Main(string[] args)
{
//var db = new ClickHouseDatabase(
// new ClickHouseC... | 1.921443 | 573ade934432e80ad1b16247d99cd9b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841957 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ExtendRealityLtd/Tilia.SDKs.OculusIntegration.Unity",
"max_stars_repo_path": "Runtime/SharedResources/Scripts/Input/OVRInputButtonAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161177"
} | starcoder | namespace Tilia.SDK.OculusIntegration.Input
{
using UnityEngine;
using Zinnia.Action;
using Zinnia.Process;
/// <summary>
/// Listens for the specified button state and emits the appropriate action.
/// </summary>
public class OVRInputButtonAction : BooleanAction, IProcessable, OVRInputCon... | 2.440364 | 4c6ea8eb3164c92691c84400bf1ac96c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Terrev/Rock-Raiders-Toolkit",
"max_stars_repo_path": "Assets/Rock Raiders Toolkit/Scripts/PlanarTextureHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161178"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[ExecuteInEditMode]
public class PlanarTextureHelper : MonoBehaviour
{
public Material material;
void Update()
{
// don't rotate
if (transform.localRotation != Quaternion.identity)
{
transform.localRotation... | 2.16669 | d8d248d08d767d65b3a8c8d8731c92a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841959 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tmijieux/FFImageLoading",
"max_stars_repo_path": "source/FFImageLoading.Common/Work/IVectorDataResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161179"
} | starcoder | <reponame>tmijieux/FFImageLoading
using System.Collections.Generic;
namespace FFImageLoading.Work
{
public interface IVectorDataResolver : IDataResolver
{
int VectorWidth { get; }
int VectorHeight { get; }
bool UseDipUnits { get; }
Dictionary<string, string> ReplaceStringMap { get; set; }
}
}
| 1.501129 | 74c37b828535d61bcf68f909c0600b40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841960 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DaniilSokolyuk/Foundatio.AWS",
"max_stars_repo_path": "tests/Foundatio.AWS.Tests/Storage/ScopedS3StorageTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161180"
} | starcoder | using System;
using System.Threading.Tasks;
using Amazon;
using Foundatio.Storage;
using Foundatio.Tests.Utility;
using Xunit;
using Xunit.Abstractions;
namespace Foundatio.Tests.Storage {
public class ScopedS3StorageTests : FileStorageTestsBase {
public ScopedS3StorageTests(ITestOutputHelper output) : ba... | 1.953434 | 1e8b5ae06704fa635b38427f6f9acd95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841961 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "roccacreative/crumb-crm",
"max_stars_repo_path": "src/CrumbCRM.Web/Controllers/QuotesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161181"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CrumbCRM.Services;
using CrumbCRM.Enums;
using System.Web.Security;
using CrumbCRM.Filters;
using CrumbCRM.Web.Filters;
using CrumbCRM.Web.Models;
using CrumbCRM.Web.Helpers;
namespace CrumbCRM.Web.Contro... | 2.186154 | e7a06977dc24a52c6808f36b7807b45e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841962 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AdrianAVA9/Music-lovers",
"max_stars_repo_path": "LiveMusicLovers.Web.UI/Views/Following/Following.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161182"
} | starcoder | <filename>LiveMusicLovers.Web.UI/Views/Following/Following.cshtml
@using System.Activities.Statements
@model IEnumerable<LiveMusicLovers.Web.UI.Core.Models.ApplicationUser>
@{
ViewBag.Title = "Following";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Following</h2>
<ul id="followeeContainer" class="followee voff... | 2.36158 | 16a0f0d98f3fcfd834a6b06913f5a936 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841963 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MilosKonecny/PDFiumDotNET",
"max_stars_repo_path": "Sources/Components/Components.Contracts/EventArguments/PerformActionEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161183"
} | starcoder | namespace PDFiumDotNET.Components.Contracts.EventArguments
{
using System;
using PDFiumDotNET.Components.Contracts.Action;
/// <summary>
/// Event arguments class used to inform that the action outside of current pdf document is to perform.
/// </summary>
public class PerformActionEventArgs : ... | 2.745794 | c8058f9a87b9b3619c41f6b6e795925a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841964 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yakushevichsv/vkInvider",
"max_stars_repo_path": "VKPeopleInviter/VKPeopleInviter/Models/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161184"
} | starcoder | using System;
namespace VKPeopleInviter
{
public static class Constants
{
public static string CitiesKey = "CitiesKey";
public static string InvitationTemplateKey = "InvitationTemplateKey";
// OAuth
public static long ClientId = 5537512;
public static string ClientSecret = "<KEY>";
public static long ... | 1.950122 | 4d3f375c117da876128da312d6150d8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841965 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "gitese/IMDB.API",
"max_stars_repo_path": "IMDB.Api/Models/ResponseDto/Person.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161185"
} | starcoder | using System;
namespace IMDB.Api.Models.ResponseDto
{
public class Person : BaseModel
{
public string FirstName { get; set; }
public string LastName { get; set; }
}
}
| 1.769621 | f8d516dba91d2b5c77f09636aeb398a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841966 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robinmanuelthiel/SnapGoldDemo",
"max_stars_repo_path": "PhotoSharingApp/PhotoSharingApp.Frontend.Portable/Abstractions/IConnectivityService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161186"
} | starcoder | <gh_stars>0
using System;
namespace PhotoSharingApp.Frontend.Portable.Abstractions
{
public interface IConnectivityService
{
bool IsConnected();
}
}
| 1.272492 | 54a60890845a0616730d7e6c4cc38f98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841967 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SoftCircuits/OrderedDictionary",
"max_stars_repo_path": "SoftCircuits.OrderedDictionary/OrderedDictionary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161187"
} | starcoder | <filename>SoftCircuits.OrderedDictionary/OrderedDictionary.cs<gh_stars>0
// Copyright (c) 2020-2021 <NAME> (www.softcircuits.com)
// Licensed under the MIT license.
//
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
namespace SoftCirc... | 2.968758 | 84a75c6f3a7fa2070f8deafe67a08dd5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841968 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "moros/WebFormsTest",
"max_stars_repo_path": "WebFormsTest/WebApplicationProxyOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161188"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Fritz.WebFormsTest
{
public class WebApplicationProxyOptions
{
public bool SkipCrawl { get; set; } = true;
public bool SkipPrecompile { get; set; } = true;
/// <summary>
/// Location of the website o... | 1.613925 | eb80af7c0c7fc72d237def252dd11578 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841969 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mattcollie/personal-site",
"max_stars_repo_path": "web/Profile.Access.Common/Service.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161189"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using AutoMapper;
using Profile.Access.Common.Interfaces;
namespace Profile.Access.Common
{
public class Service<TDto, T> : IService<TDto, T> where TDto : class where T : class
{
protected IMapper Mapper;
public Service(IRepository<T> repos... | 2.720276 | b72e80f9e571ca8a5aa1e8bf244f0e66 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841970 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AVykhrystyuk/advanced-rule-matcher-test-task",
"max_stars_repo_path": "AdvancedRuleMatcher/Impl/CsvFileParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161190"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.VisualBasic.FileIO;
namespace AdvancedRuleMatcher.Impl
{
public class CsvFileParser<T> where T: class, new()
{
public IEnumerable<T> Parse(FileInfo file)
{
u... | 2.933229 | 7ffb875506efb269485bfc0c8cd44890 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841971 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "ITfoxtec/FoxIDs",
"max_stars_repo_path": "src/FoxIDs.ControlClient/Models/ViewModels/Tenants/GeneralUploadRiskPasswordViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161191"
} | starcoder | <reponame>ITfoxtec/FoxIDs
using FoxIDs.Client.Shared.Components;
using FoxIDs.Models.Api;
namespace FoxIDs.Client.Models.ViewModels
{
public class GeneralUploadRiskPasswordViewModel : RiskPasswordInfo
{
public const int RiskPasswordMoreThenCount = 100;
public const int UploadRiskPasswordBlokCo... | 1.618101 | b24151ad2b48b271b61b69c186b96739 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841972 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JozefinaNikolova/AuctionWebsite",
"max_stars_repo_path": "Auction/Auction.Web/Models/OfferBidsHistoryViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161192"
} | starcoder | <gh_stars>0
using Auction.Models;
using System;
using System.Linq.Expressions;
namespace Auction.Web.Models
{
public class OfferBidsHistoryViewModel
{
public int Id { get; set; }
public decimal Price { get; set; }
public string User { get; set; }
public DateTime Created { get; ... | 1.819257 | f7e2423ddda4396969e80634d4228cf7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841973 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "daglundberg/neo",
"max_stars_repo_path": "Neo/Size.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161193"
} | starcoder | <reponame>daglundberg/neo<filename>Neo/Size.cs
using Microsoft.Xna.Framework;
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
namespace Neo
{
/// <summary>
/// Describes a 2D-size.
/// </summary>
[DataContract]
[DebuggerDisplay("{DebugDisplayStri... | 3.170831 | 3bb0c16aa496b8cdd246d580b8d373bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841974 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dot-net-pow/dot-net-pow-flags",
"max_stars_repo_path": "src/DotNetPow.Web.Icons/DotNetPowFlags/DotNetPowApplicationLanguageModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161194"
} | starcoder | using System.Linq;
using System.Globalization;
using DotNetPow.Web.Icons.DotNetPowFlags;
namespace DotNetPow.Core.Localization.Models
{
/// <summary>
/// Generic representation of CultureInfo for .Net Pow! Flags; copied from DotNetPow.Core.Localization.Models
/// </summary>
public class DotNetPowAppli... | 2.601364 | 8cb4ea0b1b75eafe742654d04fde8213 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841975 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChemsB/InnocenceProject",
"max_stars_repo_path": "Assets/Scripts/ScriptsMenu/Views/Register.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161195"
} | starcoder | using Assets.Scripts;
#if UNITY_EDITOR
using UnityEditor;
#endif
using UnityEngine;
using UnityEngine.UI;
public class Register : MonoBehaviour
{
private GameObject inputName, inputNick, initPassword, conditions;
private Model model;
Player player;
public void Start()
{
initComponents();... | 2.264454 | b4b46185be4d1b95d10c821ac5f780a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841976 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "Elders/Hystrix.NET",
"max_stars_repo_path": "src/Elders.Hystrix.NET.Tests/UnitTestSetterFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161196"
} | starcoder | namespace Elders.Hystrix.NET.Test
{
using System;
using Elders.Hystrix.NET;
using Elders.Hystrix.NET.ThreadPool;
internal static class UnitTestSetterFactory
{
public static HystrixThreadPoolPropertiesSetter GetThreadPoolPropertiesSetter()
{
return new HystrixThreadPoolP... | 2.421723 | 1376c1673767a80c4c41b28e80fd61f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841977 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "blaherrod/Meraki.Api",
"max_stars_repo_path": "Meraki.Api/Sections/Products/Appliance/ApplianceClientsSection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161197"
} | starcoder | <filename>Meraki.Api/Sections/Products/Appliance/ApplianceClientsSection.cs<gh_stars>1-10
namespace Meraki.Api.Sections.Products.Appliance;
public class ApplianceClientsSection
{
public IApplianceClientsSecurity Security { get; internal set; } = null!;
} | 1.430892 | e83f44d9e77dd7cbccc5a66964f1455d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841978 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dfgs/NetORMLib",
"max_stars_repo_path": "NetORMLib/Filters/AndFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161198"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NetORMLib.Filters
{
public class AndFilter : BooleanFilter, IAndFilter
{
public AndFilter(params IFilter[] Members):base(Members)
{
}
public override string Format(IEnumerable<s... | 2.856208 | 0087f4624d708cc06b6518875e1f3f82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841979 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fungi-dev/cleanic",
"max_stars_repo_path": "Core/Domain/Schema/AggregateInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161199"
} | starcoder | <reponame>fungi-dev/cleanic
namespace Cleanic.Core;
using System.Collections;
using System.Collections.Immutable;
using System.Reflection;
public sealed class AggregateInfo : DomainObjectInfo
{
public static AggregateInfo Get(Type type) => (AggregateInfo)Get(type, () => new AggregateInfo(type));
private Agg... | 2.340503 | 1044d5db75070bbfcba139caf6a821ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841980 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MursalovAltun/FilmAdviserWebApi",
"max_stars_repo_path": "src/Common/Common.Services.Infrastructure/IDatabaseInitializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161200"
} | starcoder | <gh_stars>1-10
namespace Common.Services.Infrastructure
{
public interface IDataBaseInitializer
{
void Initialize();
}
} | 1.291938 | 89f6c78dec588b83036d3251fb44f766 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841981 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AiridasKutra/SupportYourLocals-5gr1pgr",
"max_stars_repo_path": "localhostUI/Classes/UserInformationClasses/UserDataManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161201"
} | starcoder | using Common;
using localhostUI.Backend.DataManagement;
using System;
using System.IO;
//READING FROM FILE
namespace localhostUI.Classes.UserInformationClasses
{
class UserDataManager
{
public UserData UserData { get; set; }
public UserAccount UserAccount { get; set; }
public static r... | 2.426357 | cecd01f88eaaeb65f2060742ced5ec59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841982 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "holgerkpedersen/XrmProjectTemplateCQS",
"max_stars_repo_path": "Xrm.Domain/EventHandler/TestTransactionalEvent2Handler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161202"
} | starcoder | using System;
using Xrm.Models.Crm;
using Xrm.Models.Flow;
namespace Xrm.Domain.EventHandler
{
public class TestTransactionalEvent2Handler : EventHandler<Events.TestTransactionalEvent2, Events.VoidEvent>
{
public TestTransactionalEvent2Handler(FlowArguments flowArgs) : base(flowArgs)
{
... | 2.100359 | 4d739befa1e10e87ad4dcac3118e15e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841983 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "daxnet/guluwin",
"max_stars_repo_path": "guluwin/frmFileList.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161203"
} | starcoder | <reponame>daxnet/guluwin
namespace SunnyChen.Gulu.Win
{
partial class frmFileList
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being ... | 1.805284 | 44b3bedad163038b0bd1d5436800ec9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841984 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nattos/dnode",
"max_stars_repo_path": "Assets/DNode/Scripts/IO/DIOFrameIOTechnique.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161204"
} | starcoder | <gh_stars>0
namespace DNode {
public enum DIOFrameIOTechnique {
DefaultLocal,
Spout,
Syphon,
NDI,
}
}
| 0.193744 | b1421ba662c674ce51a58331e8435f58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841985 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "peizhou298/healthcare-shared-components",
"max_stars_repo_path": "src/Microsoft.Health.Blob/Configs/BlobDataStoreConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161205"
} | starcoder | <filename>src/Microsoft.Health.Blob/Configs/BlobDataStoreConfiguration.cs<gh_stars>10-100
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo ro... | 1.89514 | 2071c421751dd28dec52fc0ad02367d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841986 | {
"extension": "c-sharp",
"max_stars_count": "338.0",
"max_stars_repo_name": "costinBol/azure-documentdb-datamigrationtool",
"max_stars_repo_path": "Wpf/Microsoft.DataTransfer.WpfHost.UnitTests/Model/CommandLineProviderTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161206"
} | starcoder | using Microsoft.DataTransfer.WpfHost.Model;
using Microsoft.DataTransfer.WpfHost.ServiceModel.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.DataTransfer.WpfHost.UnitTests.Model
{
[TestClass]
... | 2.059426 | 6058b22a04e1db5ecff4bd6096e5fdce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841987 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "justcla/VSRegExEditor",
"max_stars_repo_path": "src/RegexEditor/LaunchingPoints/RegexLineData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161207"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Formatting;
namespace Microsoft.VisualStudio.RegularExpression.LaunchingPoints
{
/// <summary>
/// Provides infor... | 2.702824 | acabdfea2b4e893bff31217fae25598c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841988 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "grilledham/FactorioWebInterface",
"max_stars_repo_path": "FactorioWebInterface/Models/ScenarioMetaData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161208"
} | starcoder | <gh_stars>1-10
using System;
namespace FactorioWebInterface.Models
{
public class ScenarioMetaData
{
public string Name { get; set; } = default!;
public DateTime CreatedTime { get; set; }
public DateTime LastModifiedTime { get; set; }
}
}
| 1.494743 | a6af307fe3fcfa8fffd20b123f4533cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841989 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "Sageframe/Sageframe",
"max_stars_repo_path": "SageFrame/Modules/Admin/SEOExtension/SEOExtension.ascx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161209"
} | starcoder | <reponame>Sageframe/Sageframe
#region "Copyright"
/*
FOR FURTHER DETAILS ABOUT LICENSING, PLEASE VISIT "LICENSE.txt" INSIDE THE SAGEFRAME FOLDER
*/
#endregion
#region "References"
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.W... | 1.483236 | 39086de903eb57a11850fbc776441fff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841990 | {
"extension": "c-sharp",
"max_stars_count": "226.0",
"max_stars_repo_name": "prophetl33t/OWLib",
"max_stars_repo_path": "TankLib/STU/Types/STUGenericSettings_PurchaseableUnlocks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161210"
} | starcoder | // Generated by TankLibHelper
// ReSharper disable All
namespace TankLib.STU.Types
{
[STU(0xBE7A8749, 40)]
public class STUGenericSettings_PurchaseableUnlocks : STUGenericSettings_Base
{
[STUField(0xCFE57CEB, 8, ReaderType = typeof(InlineInstanceFieldReader))] // size: 16
public STUAvailabl... | 0.914935 | c399bc409ca4686772444d177775043e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841991 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "greaka/Blish-HUD",
"max_stars_repo_path": "Blish HUD/Entities/Primitives/Face.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161211"
} | starcoder | <filename>Blish HUD/Entities/Primitives/Face.cs
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Blish_HUD.Entities.Primitives {
public class Face : Entity {
private VertexPositionTexture[] _verts;
private Vector2 _size = Vector2.One;
public Vector2 Size {... | 2.904026 | 171025c542e227a2c19f5fb91f5083a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841992 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hferoze/Sarah-And-Buddy",
"max_stars_repo_path": "Assets/Scripts/Utils/FacialExpressionController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161212"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FacialExpressionController : MonoBehaviour {
[SerializeField]private Renderer m_FaceRenderer;
[SerializeField] private float m_BlinkWaitTime = 8f;
private enum CurrentBlinkType { None, Normal, Sad};
private... | 2.419987 | 273a5c63b472c3a75301784ddc4ea2ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841993 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "StaMa-StateMachine/StaMa.net",
"max_stars_repo_path": "Tests/StaMaTest/MiscTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161213"
} | starcoder | <filename>Tests/StaMaTest/MiscTests.cs
#region ExecutionTests.cs file
//
// Tests for StaMa state machine controller library
//
// Copyright (c) 2005-2015, <NAME>. All rights reserved.
//
#endregion
using System;
using StaMa;
#if !MF_FRAMEWORK
using NUnit.Framework;
#else
using MFUnitTest.Framework;
us... | 2.394075 | 09209503c36dc5c92512ee2e2c2cee27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841994 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DrGennadius/UiPathCloudAPI",
"max_stars_repo_path": "UiPathCloudAPI/Common/CloudConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161214"
} | starcoder | <reponame>DrGennadius/UiPathCloudAPI
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UiPathCloudAPISharp.Common
{
public class CloudConfiguration : UiPathConfigurationBase
{
public override ConnectionType ConnectionType
{
get
... | 1.477259 | 92ba6382f1440a3c29074bf73b763932 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841995 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HenrikJuvonen/Mg2",
"max_stars_repo_path": "Mg2/ViewModels/PackageSourcesViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161215"
} | starcoder | using GalaSoft.MvvmLight.Command;
using Mg2.Models;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Input;
using MgKit;
using MgKit.Interface;
namespace Mg2.ViewModels
{
public class PackageSourcesViewModel : Screen
{
private readonly Options _options;
private IEnumer... | 2.420031 | eb9bddfe371ff57c5804e016e6cecca7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841996 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "EIDSS/EIDSS-Legacy",
"max_stars_repo_path": "EIDSS v6.1/vb/EIDSS/EIDSS.Reports/BaseControls/ReportRebinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161216"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Globalization;
using System.Threading;
using bv.common.Configuration;
using bv.common.Core;
using DevExpress.XtraReports.UI;
using eidss.model.Resources;
namespace EIDSS.Reports.BaseControls
{
public class ReportRebinder... | 2.128181 | 2a5101df348f988c662ff9aa7c231ccc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841997 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GDYDev/GDYCMS",
"max_stars_repo_path": "PROJECT/GDYCMS/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161217"
} | starcoder | @{
Layout = "~/Views/Shared/_BaseLayOut.cshtml";
}
| 1.180433 | f07bbff517427aac5f2e3f84b30b548d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841998 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jesseTitus/PrimeSonicSubnauticaMods",
"max_stars_repo_path": "CyclopsAutoZapper/CyclopsZapperModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161218"
} | starcoder | namespace CyclopsAutoZapper
{
using MoreCyclopsUpgrades.API;
using MoreCyclopsUpgrades.API.Upgrades;
using SMLHelper.V2.Crafting;
internal class CyclopsZapperModule : CyclopsUpgrade
{
public CyclopsZapperModule()
: base("CyclopsZapperModule",
"Cyclops Auto De... | 2.052294 | 8eaad42ce7dfc64390f0dfb7cb5cc6b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841999 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mu-L/EarTrumpet",
"max_stars_repo_path": "EarTrumpet/Interop/Helpers/PackageHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161219"
} | starcoder | <gh_stars>0
using System;
using Windows.ApplicationModel;
namespace EarTrumpet.Interop.Helpers
{
class PackageHelper
{
public static Version GetVersion(bool isPackaged)
{
if (isPackaged)
{
var packageVer = Package.Current.Id.Version;
... | 1.834795 | 05cf7fe7155a8f25ac4753721625d009 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842000 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "exyi/redwood",
"max_stars_repo_path": "src/Redwood.Framework/Security/IViewModelProtector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161220"
} | starcoder | <filename>src/Redwood.Framework/Security/IViewModelProtector.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Redwood.Framework.Hosting;
namespace Redwood.Framework.Security {
public interface IViewModelProtector {
... | 1.926215 | 5e9cd0a46630bb72a26fbd4e1be4cef3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842001 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kosieram21/Galapagos",
"max_stars_repo_path": "Galapagos/TerminationConditions/GenerationThreshold.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161221"
} | starcoder | <reponame>kosieram21/Galapagos
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Galapagos.API;
namespace Galapagos.TerminationConditions
{
/// <summary>
/// A termination condition based on a creature generation limit.
/// </summary>... | 2.865638 | eabdee187bf69f74bf21cb2b8ebf25be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842002 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-referencedata",
"max_stars_repo_path": "src/SFA.DAS.ReferenceData.EducationOrgsImporter.WebJob/Serializer/EducationalOrgainsationSerialiser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161222... | starcoder | <filename>src/SFA.DAS.ReferenceData.EducationOrgsImporter.WebJob/Serializer/EducationalOrgainsationSerialiser.cs
using System;
using System.IO;
using Newtonsoft.Json;
using SFA.DAS.NLog.Logger;
using SFA.DAS.ReferenceData.Domain.Models.Education;
namespace SFA.DAS.ReferenceData.EducationOrgsImporter.WebJob.Serializer... | 2.467219 | 00641fe880e974462632b732b29bc277 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842003 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LucasMW/MetroidPrime-Hud",
"max_stars_repo_path": "Assets/MissleAmmo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161223"
} | starcoder | <reponame>LucasMW/MetroidPrime-Hud<filename>Assets/MissleAmmo.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class MissleAmmo : MonoBehaviour
{
public float ammo;
public float maxAmmo;
public GameObje... | 2.069779 | 962548d1c8556e558414f1556d87c4f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842004 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shigeru22/world-roller",
"max_stars_repo_path": "Assets/Scripts/UI/StarsHover.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161224"
} | starcoder | using UnityEngine;
public class StarsHover : MonoBehaviour
{
Animator anim;
void Start()
{
anim = GetComponent<Animator>();
}
public void Expand()
{
anim.SetBool("Hover", true);
}
public void Shrink()
{
anim.SetBool("Hover", false);
}
} | 1.854192 | 35b8eedc839f317f054678e53fe24547 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842005 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Danand/SimpleContainer",
"max_stars_repo_path": "SimpleContainer.Unity/Assets/SimpleContainer/DependencyLink.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161225"
} | starcoder | <reponame>Danand/SimpleContainer
using System;
namespace SimpleContainer
{
internal sealed class DependencyLink
{
public Type KeyType { get; set; }
public Type ContractType { get; set; }
public DependencyNode Node { get; set; }
public DependencyLink NextLink { ge... | 2.444816 | 4b3fe7589d7b0c5134a941e5cf80a05b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842006 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Keepoccino/PetRockSimulator",
"max_stars_repo_path": "Assets/FunGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161226"
} | starcoder | <filename>Assets/FunGenerator.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FunGenerator : MonoBehaviour
{
public float FunRadius = 2f;
public float FunIncreaseRate = 0.0002f;
public float LoveIncrease = 0.0003f;
public float MinSpeed = 2f;
private ... | 2.271607 | 8ae3f25430a462dbf6d6f46bca4822e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842007 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "guyhay/WTT-Demo-Hol",
"max_stars_repo_path": "WebPortal/AuditLogUtility/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161227"
} | starcoder | <filename>WebPortal/AuditLogUtility/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Auth;
using Microsoft.WindowsAzure.Storage.Table;
namespace AuditLogUtili... | 2.71902 | fec77b40dd39f435086f20ddcbb59d2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842008 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "heywills/xperience-cross-platform-service",
"max_stars_repo_path": "Sample.Shared/Interfaces/ICourseRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161228"
} | starcoder | <gh_stars>0
using Sample.Shared.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace Sample.Shared.Interfaces
{
public interface ICourseRepository
{
Course GetById(int courseId);
IList<Course> GetAll();
}
}
| 1.503182 | bf28738ef1be9a268bed0018a48b1b6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842009 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rutkowskit/VRT.Resume",
"max_stars_repo_path": "VRT.Resume.Application/Resumes/Queries/GetResume/SkillDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161229"
} | starcoder | using VRT.Resume.Domain.Common;
namespace VRT.Resume.Application.Resumes.Queries.GetResume
{
public sealed class SkillDto
{
public int SkillId { get; set; }
public SkillTypes Type { get; set; }
public string Name { get; set; }
public string Level { get; set; }
public bo... | 1.787757 | 9ce047c2a3d15bb74f0c22f3007f6dd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842010 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "viktor4o4o/Homework",
"max_stars_repo_path": "Array and List Algorithms - Exercises/03. Sort Array of Strings/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161230"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _03.Sort_Array_of_Strings
{
class Program
{
static void Main(string[] args)
{
var array = Console.ReadLine()
.Split(' ')
... | 3.680608 | 99c5959b24272a1fbaf7a78ade29632f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842011 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Kation/EnhancedAuthentication",
"max_stars_repo_path": "src/Wodsoft.EnhancedAuthentication.Client/MemoryRevokedCertificateManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161231"
} | starcoder | <filename>src/Wodsoft.EnhancedAuthentication.Client/MemoryRevokedCertificateManager.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Wodsoft.EnhancedAuthentication
{
/// <summary>
/// 储存于内存的证书撤销管理器。
/// </summary>
public class MemoryRevokedC... | 3.039608 | f67e27856db439dcce7a5c9aebfe3a25 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.