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 | 8833612 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dm-net/DMNet",
"max_stars_repo_path": "src/DMNet.Runtime/ListBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152832"
} | starcoder | <gh_stars>1-10
using DMNet.Runtime.Attributes;
using System;
using System.Collections.Generic;
using System.Text;
namespace DMNet.Runtime
{
[Bultin("/@list")]
public class ListBase
{
public ListBase()
{
}
}
}
| 1.178459 | 436b0e0c6fd21e78fadcc7947ca23820 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833613 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "matigramirez/Parsec",
"max_stars_repo_path": "src/Parsec/Shaiya/SMOD/SMOD.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152833"
} | starcoder | using Newtonsoft.Json;
using Parsec.Attributes;
using Parsec.Common;
using Parsec.Shaiya.Common;
using Parsec.Shaiya.Core;
namespace Parsec.Shaiya.SMOD;
/// <summary>
/// Class that represents a .SMOD object which is used for buildings.
/// Buildings can be made up of multiple parts, each with its individual texture... | 2.641939 | 7d0f6f57e0e1d690126488d503b93dd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833614 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sakul/SyncClient",
"max_stars_repo_path": "SyncClient.Shared/Shared/ClientInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152834"
} | starcoder | using System.Collections.Generic;
namespace SyncClient.Shared
{
public class ClientInfo
{
public string ClientId { get; set; }
public string FamilyId { get; set; }
public Dictionary<string, ClientMetadata> Clients { get; set; }
}
}
| 1.503281 | d44ba71f5ee8a65ed4e3861e2a69f1ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833615 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jslicer/elasticsearch-net",
"max_stars_repo_path": "src/Nest/Indices/IndexSettings/IndexTemplates/GetIndexTemplate/GetIndexTemplateRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152835"
} | starcoder | namespace Nest
{
public partial interface IGetIndexTemplateRequest { }
public partial class GetIndexTemplateRequest { }
[DescriptorFor("IndicesGetTemplate")]
public partial class GetIndexTemplateDescriptor { }
}
| 1.254336 | 5ad95819d344aa1afe1fabf940cb9d47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833616 | {
"extension": "c-sharp",
"max_stars_count": "425.0",
"max_stars_repo_name": "yeze322/botbuilder-dotnet",
"max_stars_repo_path": "tests/Microsoft.Bot.Builder.Dialogs.Debugging.Tests/CodeModels/CodePointTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152836"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Microsoft.Bot.Builder.Adapters;
using Microsoft.Bot.Builder.Dialogs.Debugging.CodeModels;
using Xunit;
namespace Microsoft.Bot.Builder.Dialogs.Debugging.Tests.CodeModels
{
public sealed class CodeP... | 2.255899 | 1fb0ba1ad7ccf3d34d20a89649cc6057 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833617 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ralfw/csfe",
"max_stars_repo_path": "src/csfe/operations/SwitchOperation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152837"
} | starcoder | <reponame>ralfw/csfe
using System;
using System.Collections.Generic;
using System.Linq;
namespace csfe.operations
{
public class SwitchOperation {
OutputPorts _ports = new OutputPorts();
public void Switch(string filename) {
foreach(var portname in _ports.Names)
... | 2.649931 | c6b14444fda475f52cfbfb506b830099 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833618 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iSatishYadav/CryptoDock",
"max_stars_repo_path": "CryptoDock/Controllers/HashController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152838"
} | starcoder | <filename>CryptoDock/Controllers/HashController.cs
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using CryptoDock.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNe... | 2.590898 | 542d640a09cd2b3250c4c47552da23b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833619 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marcusvilete/shapes-defense",
"max_stars_repo_path": "src/shapes-defense/Assets/Scripts/Turrets/Turret.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152839"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class Turret : MonoBehaviour
{
public float buyingCost;
public float SellingCost { get { return buyingCost / 2; } }
protected virtual void OnDestroy()
{
//if this was built by build manager
... | 2.172554 | 9eda87ee83204bd9b2dc9d41f17c449f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833620 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArturWincenciak/confab",
"max_stars_repo_path": "src/Shared/Confab.Shared.Kernel/Types/ConferenceId.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152840"
} | starcoder | using System;
using Confab.Shared.Kernel.Types.Base;
namespace Confab.Shared.Kernel.Types
{
public class ConferenceId : TypeId
{
public ConferenceId(Guid id)
: base(id)
{
}
public static implicit operator ConferenceId(Guid id)
{
return new Confe... | 1.963881 | d7001ed479cee9f0bf9b5e8804abbdf1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833621 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Michael-Sjogren/MVC-Basics",
"max_stars_repo_path": "Views/City/index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:152841"
} | starcoder | <filename>Views/City/index.cshtml
@using MVCBasics.ViewModels
@model List<MVCBasics.Models.City>
<section>
<header>
<h1>Cities</h1>
</header>
@{
var createCityVm = new CreateCityViewModel();
//var searchPersonVm = new SearchPersonViewModel();
}
<section class="mt-5">
... | 2.542481 | 2294ba232e29ec78928e6bd9e4fd12e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833622 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeSwifterGit/adwenture-works",
"max_stars_repo_path": "src/AdventureWorks.Application/DataEngine/Production/WorkOrder/Queries/GetWorkOrders/GetWorkOrdersByProductListQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152842"
} | starcoder | using MediatR;
using AdventureWorks.Application.DataEngine;
using AdventureWorks.Application.DataEngine.DataEngine;
using AdventureWorks.Application.DataEngine.Production.WorkOrder.Queries.QueryManager;
using AdventureWorks.Application.Interfaces;
using AdventureWorks.BaseDomain.Enums;
using AdventureWorks.BaseDomain.I... | 1.404898 | 2bcbe06b61dd44a5a9cff8768e0d6e30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833623 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MikeLimaSierra/Nuclear.Net",
"max_stars_repo_path": "src/Nuclear.Creation.uTests/Internal/Converter_uTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152843"
} | starcoder | <filename>src/Nuclear.Creation.uTests/Internal/Converter_uTests.cs
using Nuclear.TestSite;
namespace Nuclear.Creation.Internal {
class Converter_uTests {
[TestMethod]
void Implementation() {
Test.If.Type.Implements<Converter, IConverter>();
}
}
}
| 1.65494 | 223112638daaf3e7e3981b12963dd50c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833624 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BrokenEvent/NanoSerializer",
"max_stars_repo_path": "BrokenEvent.NanoSerializer/ISubDeserializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152844"
} | starcoder | using System;
using BrokenEvent.NanoSerializer.Adapter;
namespace BrokenEvent.NanoSerializer
{
/// <summary>
/// Used to continue deserialization of subobjects of <see cref="INanoSerializable"/> object.
/// </summary>
public interface ISubDeserializer
{
/// <summary>
/// Deserializes th... | 2.461737 | dd152d2019b8806cb14c7c6babecef8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833625 | {
"extension": "c-sharp",
"max_stars_count": "92.0",
"max_stars_repo_name": "laolarou726/ProjBobcat",
"max_stars_repo_path": "ProjBobcat/ProjBobcat/Class/Model/ProgressReportBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152845"
} | starcoder | <reponame>laolarou726/ProjBobcat<gh_stars>10-100
using System;
using ProjBobcat.Event;
using ProjBobcat.Interface;
namespace ProjBobcat.Class.Model;
public class ProgressReportBase : IProgressReport
{
public event EventHandler<StageChangedEventArgs> StageChangedEventDelegate;
public virtual void InvokeStatu... | 2.099241 | b1a35363f0b5a3f0c13c1f1d33bd3fde |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833626 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SerBritov/nordic-it-netcore",
"max_stars_repo_path": "15/Homework/Homework/ConsoleLogWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152846"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Homework
{
public class ConsoleLogWriter : AbstractLogWriter, ILogWriter
{
public override void LogRecordByType(string record)
{
Console.WriteLine(record);
}
}
}
| 2.392103 | f8561cba3caad8ff231fc48e68dc6181 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "liuruoyu1981/IukerTech",
"max_stars_repo_path": "IukerTech_ThreeKingdoms/CSharp/.BackProtobuf/EndRankMsg.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152847"
} | starcoder | using ProtoBuf;
namespace ThreeKingdoms
{
[ProtoContract]
public class EndRankMsg
{
/// <summary>
///
/// </summary>
[ProtoMember(1)]
public long userId { get; set; }
/// <summary>
///
/// </summary>
[ProtoMember(2)]
public ... | 1.979151 | 509edfae41feaa7d38ece830be702e77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833628 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "dschmidt/OwncloudUniversal",
"max_stars_repo_path": "src/OwncloudUniversal.BackgroundTasks/WebDavBackgroundSync.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152848"
} | starcoder | using OwncloudUniversal.Synchronization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.ApplicationModel.Background;
using Windows.UI.Notifications;
using OwncloudUniversal.Synchronization.LocalFileSystem;
using OwncloudUniversal.OwnClo... | 2.040704 | d46e771c7e82206936a9178fdd1f176a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833629 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "protoncm/OrchardCore",
"max_stars_repo_path": "src/OrchardCore.Modules/OrchardCore.Facebook/Widgets/Models/FacebookPluginPart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152849"
} | starcoder | <reponame>protoncm/OrchardCore
using System;
using System.Collections.Generic;
using System.Text;
using OrchardCore.ContentManagement;
namespace OrchardCore.Facebook.Widgets.Models
{
public class FacebookPluginPart: ContentPart
{
public string Liquid { get; set; }
}
}
| 1.054468 | 2111dc4d58830aa1022c0373ac08a8c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "XR-Front/Touch_Base_AR",
"max_stars_repo_path": "Touch_Base_AR/Assets/TB_Scripts/XRF_TilingEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152850"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class XRF_TilingEditor : MonoBehaviour
{
private float scaleFactor = 5.0f;
void Update()
{
Vector2 tiling = new Vector2(1, 1);
float xTiling = GetComponent<MeshRenderer>().bounds.size.x;
float z... | 2.012966 | 87e8d2f8a85f3049f609c793ec324b71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833631 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PuellaMagi/ServerList-Insurgency",
"max_stars_repo_path": "MagicGirl-ServerList/UI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152851"
} | starcoder | <filename>MagicGirl-ServerList/UI.cs<gh_stars>0
using System;
using System.Diagnostics;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Windows.Forms;
namespace MagicGirl_ServerList
{
public partial class MainForm : Form
{
private static Timer timer = new Timer();
p... | 2.453278 | c29cf01ebaab939506458d2afbe9fda3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833632 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nahidsaikat/Accountants-Personal-Bookkeeper",
"max_stars_repo_path": "Accountants Personal Bookkeeper/View/LedgerParty.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152852"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... | 1.850478 | 83243e328d4569415a0f4a02db1a83d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833633 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rahulchrty/ParkingLot",
"max_stars_repo_path": "src/ParkingLotTest/CommandExecutor/CheckCommandTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152853"
} | starcoder | <gh_stars>0
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ParkingLot.BusinessInterfaces;
using Moq;
using ParkingLot.Business;
namespace ParkingLotTest.CommandExecutor
{
[TestClass]
public class CheckCommandTest
{
private Mock<ICommand> _mockCommand;
private ICheckCommand _chec... | 2.494762 | e5ddcefdd98ca28903b728ec60f962d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrPIvanov/ASP.NET-Core-MVC-Exam",
"max_stars_repo_path": "src/Ehealth.ViewModels/Product/AllProductsViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152854"
} | starcoder | <reponame>MrPIvanov/ASP.NET-Core-MVC-Exam<filename>src/Ehealth.ViewModels/Product/AllProductsViewModel.cs<gh_stars>0
namespace Ehealth.ViewModels.Product
{
public class AllProductsViewModel
{
public string Id { get; set; }
public string Name { get; set; }
public decimal Price { get; s... | 1.981818 | 2ce0f54e59769dc281b77a0fd0a1c2aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833635 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ghostofrecon/Naos.HubSpot",
"max_stars_repo_path": "Naos.HubSpot.Feature.ApiCommunicator.Test/.recipes/OBeautifulCode.CodeGen/ConstructorPropertyAssignment/ValidatedConstructorPropertyAssignmentTestScenario{T}.cs",
"provenance": "trai... | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ValidatedConstructorPropertyAssignmentTestScenario{T}.cs" company="OBeautifulCode">
// Copyright (c) OBeautifulCode 2018. All rights reserved.
// </copyright>
// <auto-generated... | 2.468135 | 5a6685cc1d3b3a2d001dd792371f03b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833636 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "srostyslav/dotnet-sb",
"max_stars_repo_path": "SBonus/Order.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152856"
} | starcoder | using System.Collections.Generic;
using Newtonsoft.Json;
using System;
namespace SBonus
{
public enum OrderStatuses
{
New = 0,
PaymentPending = 1,
PaymentCanceled = 2,
Processing = 3,
AwaitingShipment = 4,
AwaitingPickup = 5,
Completed = 6,
Cance... | 2.630263 | 890f3194cb7bb3f3c792e9bc9f6b17b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833637 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vankooch/barber",
"max_stars_repo_path": "src/Barber.Core/Renderer/Mustache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152857"
} | starcoder | <filename>src/Barber.Core/Renderer/Mustache.cs
namespace Barber.Core.Renderer
{
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Stubble.Core.Builders;
public class Mustache : IRenderer
{
public async Task<string> Render(string template, object model)
{
... | 2.677693 | 290f06ed629560394df2cc8c0003fa2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833638 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stevesloka/pulumi-docker",
"max_stars_repo_path": "sdk/dotnet/Outputs/ServiceTaskSpecContainerSpec.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152858"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.540895 | c0b8bfe8cfe0d51e591455590f438bf3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833639 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "zekroTJA/vctr",
"max_stars_repo_path": "Gateway.Test/Util/RandomUtilTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152859"
} | starcoder | <filename>Gateway.Test/Util/RandomUtilTest.cs
using Gateway.Util;
using NUnit.Framework;
using System;
using System.Linq;
using System.Text.RegularExpressions;
namespace Gateway.Test.Util
{
[TestFixture]
class RandomUtilTest
{
[Test]
public void GetStringTest()
{
Assert... | 3.004347 | 27096352fd0734cab9fed3e63c65a9d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833640 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BenVlodgi/CommandSequenceParser",
"max_stars_repo_path": "CommandSequenceParser/Command.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152860"
} | starcoder | namespace CommandSequenceParser
{
public class Command
{
public bool IsEnabled { get; set; }
public int Special { get; set; }
protected char[] executable = new char[260];
public string Executable
{
get { return executable.CharArrayToString(); }
... | 2.434945 | d37ff803909f0184225db0c82ecf4a2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833641 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "bartosz-jarmuz/RepoCat",
"max_stars_repo_path": "tests/SampleProjects/RepoCat.TestApps.NetFramework.NoManifest/Class1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152861"
} | starcoder | <reponame>bartosz-jarmuz/RepoCat
// -----------------------------------------------------------------------
// <copyright file="Class1.cs" company="<EMAIL>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace RepoCat.T... | 0.716199 | ffd311d7ae1f6ba6f4bd615144af0220 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833642 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "neilhewitt/Zem80",
"max_stars_repo_path": "src/Zem80_Core/CPU/Processor/ProcessorState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152862"
} | starcoder | <filename>src/Zem80_Core/CPU/Processor/ProcessorState.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Zem80.Core
{
public enum ProcessorState
{
Running,
Halted,
Suspended,
Stopped
}
}
| 1.565791 | d7b3fa4c0e7196a87002bd0918938b1d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833643 | {
"extension": "c-sharp",
"max_stars_count": "237.0",
"max_stars_repo_name": "twirpx/EpubReader",
"max_stars_repo_path": "Source/VersOne.Epub.WpfDemo/Controls/NavigationTemplateSelector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152863"
} | starcoder | <reponame>twirpx/EpubReader
using System.Windows;
using System.Windows.Controls;
using VersOne.Epub.WpfDemo.ViewModels;
namespace VersOne.Epub.WpfDemo.Controls
{
public class NavigationTemplateSelector : DataTemplateSelector
{
public DataTemplate NavigationHeaderTemplate { get; set; }
public D... | 1.723 | 24c758c0fb2cd06cd979960fcbb3915c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833644 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Stormancer/Sample_05_Relay_Unity",
"max_stars_repo_path": "Relay/Assets/Stormancer/Stormancer.Unity/StormanceEditorDataCollector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152864"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Concurrent;
using Stormancer;
using Stormancer.Core;
using System.IO;
using System;
using System.Linq;
namespace Stormancer.EditorPlugin
{
public class StormancerClientViewModel
{
public string id;
... | 2.232792 | 948abd5738d4fec174098649420d6379 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833645 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tony/ScreenToGif",
"max_stars_repo_path": "ScreenToGif.Util/Converters/SelectionToDrawingAttributes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152865"
} | starcoder | <filename>ScreenToGif.Util/Converters/SelectionToDrawingAttributes.cs
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using System.Windows.Ink;
using System.Windows.Media;
using Color = System.Windows.Media.Color;
using Binding = System.Windows.Data.Binding;
namespace ScreenToGif.Util.Conv... | 2.588808 | 2e6d2a821536d506a4243980705f36a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833646 | {
"extension": "c-sharp",
"max_stars_count": "134.0",
"max_stars_repo_name": "niltor/open-pdd-net-sdk",
"max_stars_repo_path": "PddOpenSdk/PddOpenSdk/Models/Request/Goods/CreateGoodsLogisticsSerTemplateRequestModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152866"
} | starcoder | using Newtonsoft.Json;
using System.Collections.Generic;
namespace PddOpenSdk.Models.Request.Goods
{
public partial class CreateGoodsLogisticsSerTemplateRequestModel : PddRequestModel
{
/// <summary>
/// 分类目基础价格配置,入参为string,[{; "cat_id4": 1,; "cat_id3": 2,; "list": [{; "limit_type": 1,; "... | 2.606949 | 9e3e9c343c7d5b7d331f9081900480a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833647 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "leancodepl/corelibrary",
"max_stars_repo_path": "test/Domain/LeanCode.CQRS.RemoteHttp.Server.Tests/RemoteCQRSMiddlewareQueriesTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152867"
} | starcoder | using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Xunit;
namespace LeanCode.CQRS.RemoteHttp.Server.Tests
{
public class RemoteCQRSMiddlewareQueriesTests : BaseMiddlewareTests
{
public RemoteCQRSMiddlewareQueriesTests()
: base("query", typeof(... | 2.225849 | 9ab1e0776c9ce673617b8f35ff6e2e4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833648 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "akmetainfo/WallyBackend",
"max_stars_repo_path": "src/Wally.Application/Reports/StatByMonths/Query.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152868"
} | starcoder | using System.Collections.Generic;
using MediatR;
namespace Usol.Wally.Application.Reports.StatByMonths
{
public class Query : IRequest<Dictionary<int, IEnumerable<int>>>
{
}
}
| 1.243361 | 2e683eb14580418f2ed354b9841b7361 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833649 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-employerapprenticeshipsservice",
"max_stars_repo_path": "src/SFA.DAS.EmployerFinance.Api/Global.asax.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152869"
} | starcoder | <reponame>uk-gov-mirror/SkillsFundingAgency.das-employerapprenticeshipsservice
using System.Web;
using System.Web.Http;
using SFA.DAS.EmployerFinance.Startup;
using WebApi.StructureMap;
namespace SFA.DAS.EmployerFinance.Api
{
public class WebApiApplication : HttpApplication
{
protected void Applicatio... | 1.364994 | ecd18ccd169b4d79f60d68e8e7766e74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833650 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "UniGameTeam/UniGameFlow",
"max_stars_repo_path": "Runtime/NodeSystem/Interfaces/IEditorNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152870"
} | starcoder | namespace UniModules.GameFlow.Runtime.Interfaces
{
using UnityEngine;
public interface IEditorNode
{
#region editor api
int SetId(int id);
/// <summary>
/// set up graph node position
/// </summary>
Vector2 Position { get; set; }
... | 1.841795 | 6ddff646244eaf39d30e4a015d4c49a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833651 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ethankennerly/digestion-defense",
"max_stars_repo_path": "DigestionDefense/Assets/Scripts/Views/HealthComponentView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152871"
} | starcoder | <gh_stars>0
namespace FineGameDesign.Entitas
{
public sealed class HealthComponentView : AGameComponentView<HealthComponent>
{
}
}
| 0.806614 | 29ed9e54903d9e8870a6e93c14277756 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moosajafri/cheviri-master",
"max_stars_repo_path": "Source/Cheviri.Data/Entities/Main/User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152872"
} | starcoder | <reponame>moosajafri/cheviri-master
using System;
using System.Collections.Generic;
using Cheviri.Data.Entities.Base;
using Cheviri.Data.Entities.Base.Schemas;
using Cheviri.Data.Entities.Parameter;
using Cheviri.Data.Entities.Project;
namespace Cheviri.Data.Entities.Main
{
public class User : BaseEntity, ISchem... | 1.543831 | f0215d4b7466f2a217582f6abe19b2c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CognitiveModeling/InteractiveClimateMuseum",
"max_stars_repo_path": "ClimateMuseum_VR/Assets/ZFBrowser/Scripts/Editor/PostBuildStandalone.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152873"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using UnityEditor;
using UnityEditor.Callbacks;
using UnityEngine;
using System.Runtime.InteropServices;
namespace ZenFulcrum.EmbeddedBrowser {
/**
* Getting CEF running on a build result requires some fiddling to... | 2.055026 | 3b43c5b7450b4530d21300d6d2073672 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833654 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ahmad-moussawi/Yapi",
"max_stars_repo_path": "src/Yapi/Response.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152874"
} | starcoder | <filename>src/Yapi/Response.cs
using System;
using Newtonsoft.Json;
namespace Yapi
{
public class Response<T>
{
private readonly string content;
public readonly int StatusCode;
public bool IsSuccess { get => StatusCode >= 200 && StatusCode < 300; }
public Response(string conte... | 3.257487 | c834cb684eec1536f583c98d2c3b20e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833655 | {
"extension": "c-sharp",
"max_stars_count": "2694.0",
"max_stars_repo_name": "kissxic/Vue.NetCore",
"max_stars_repo_path": "Vue.Net/VOL.Order/IServices/Order/Partial/ISellOrderListService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152875"
} | starcoder | /*
*所有关于SellOrderList类的业务代码接口应在此处编写
*/
using VOL.Core.BaseProvider;
using VOL.Entity.DomainModels;
namespace VOL.Order.IServices
{
public partial interface ISellOrderListService
{
}
}
| 1.308583 | c4aa743fd65b25d1e57abd9241cdc0f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833656 | {
"extension": "c-sharp",
"max_stars_count": "832.0",
"max_stars_repo_name": "Mrxx99/Stylet",
"max_stars_repo_path": "Stylet/LabelledValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152876"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
namespace Stylet
{
/// <summary>
/// Key-value pair useful for attaching labels to objects and displaying them in the view
/// </summary>
/// <typeparam name="T">Type of the value</typeparam>
public class LabelledValue<T> ... | 3.736449 | aa063a319977f79376328f0cb468fcc1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833657 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "azist/azos-social-providers",
"max_stars_repo_path": "src/Azos.Sky.Social/Graph/Client/GraphNodeManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152877"
} | starcoder | using System.Linq;
using Azos.Apps;
using Azos.Conf;
using Azos.Data;
using Azos.Sky.Coordination;
namespace Azos.Sky.Social.Graph
{
public sealed class GraphNodeManager : GraphNodeManagerBase
{
public GraphNodeManager(HostSet hostSet) : base(hostSet)
{
}
public override GraphChangeStatus Sav... | 2.040294 | af237aef60b6e383fbb60082e12375d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833658 | {
"extension": "c-sharp",
"max_stars_count": "121.0",
"max_stars_repo_name": "tk4218/MxNet.Sharp",
"max_stars_repo_path": "src/MxNet.GluonTS/Shell/Serve/Train.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152878"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace MxNet.GluonTS.Shell.Serve
{
class Train
{
}
}
| 0.777674 | 5c45602c13c1b5d84ba072dd1462907a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833659 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zankomag/PasswordManagerBot",
"max_stars_repo_path": "src/PasswordManager.Bot/Services/Abstractions/IPasswordEncryptionService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152879"
} | starcoder |
namespace PasswordManager.Bot.Services.Abstractions;
public interface IPasswordEncryptionService {
/// <summary>
/// Saves accountId of user to return it for recryption later
/// </summary>
void StartEncryptionRequest(long userId, long accountId);
/// <summary>
/// Releases held accountId
/// </summary>
voi... | 2.600771 | 6549d0af20c7c71190ad50879811e037 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833660 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "game-forest/Citrus",
"max_stars_repo_path": "Tangerine/Tangerine.UI.SceneView/Processors/MouseScrollProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152880"
} | starcoder | <reponame>game-forest/Citrus
using System;
using System.Linq;
using System.Collections.Generic;
using Lime;
namespace Tangerine.UI.SceneView
{
class MouseScrollProcessor : Core.ITaskProvider
{
SceneView sv => SceneView.Instance;
static Vector2 mouseStartPos;
public IEnumerator<object> Task()
{
var prevPo... | 2.309952 | 6a1cee0a92eafa9c4937dc170a6ad10b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833661 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Murtain/Murtain.X_DVA",
"max_stars_repo_path": "src/Murtain.OAuth2/Domain/Repositories/IUserRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152881"
} | starcoder | <gh_stars>0
using Murtain.Extensions.Domain;
using Murtain.OAuth2.Domain.Aggregates.User;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Murtain.OAuth2.Domain.Repositories
{
public interface IUserRepository : IRepository<ApplicationUser>
{
Ta... | 1.27602 | 172f4344208f2564ea3dcad6449a8ea7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833662 | {
"extension": "c-sharp",
"max_stars_count": "515.0",
"max_stars_repo_name": "timgates42/LuaScriptCore",
"max_stars_repo_path": "Source/Unity3D/UnityProject/Assets/Scripts/Chinese.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152882"
} | starcoder | <reponame>timgates42/LuaScriptCore
using System;
namespace AssemblyCSharp
{
public class Chinese : Person
{
public Chinese ()
{
}
}
}
| 0.909942 | 346163878e7ddc77447f3ccb3aa20e98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833663 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "npocmaka/Windows-Server-2003",
"max_stars_repo_path": "com/netfx/src/framework/data/system/data/xmldataloader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152883"
} | starcoder | <reponame>npocmaka/Windows-Server-2003
//------------------------------------------------------------------------------
// <copyright file="XmlDataLoader.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------... | 1.830789 | e541c844e1059cae1c6c46c592cf5308 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833664 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bonsai-rx/vimba",
"max_stars_repo_path": "Bonsai.Vimba/VimbaApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152884"
} | starcoder | <filename>Bonsai.Vimba/VimbaApi.cs
using System;
namespace Bonsai.Vimba
{
using Vimba = AVT.VmbAPINET.Vimba;
static class VimbaApi
{
static readonly Lazy<Vimba> handle = new Lazy<Vimba>(() => new Vimba());
public static Vimba Handle
{
get { return handle.Value; }
... | 1.732475 | aa58b2f86790326cb998092f56186256 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833665 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sucrose0413/nextcloud_net",
"max_stars_repo_path": "privatelib/OC/Calendar/Manager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152885"
} | starcoder | <filename>privatelib/OC/Calendar/Manager.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ext;
using OCP.Calendar;
namespace OC.Calendar
{
public class Manager : IManager {
/**
* @var ICalendar[] holds all registered calendars
*/
private IDictionary<string , ICalen... | 2.840802 | 604e072b1d446aeff2bc70e2f8152a4e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833666 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Uendy/Tech-Module",
"max_stars_repo_path": "L11 Test/Test Preparation III/PT III/Q03 V3/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152886"
} | starcoder | using System;
using System.Linq;
using System.Text;
public class Program
{
public static void Main()
{
string input = Console.ReadLine().ToUpper().Trim(" \t\n\r".ToCharArray());
StringBuilder result = new StringBuilder();
int lastDigitIndex = -1;
int currentDigitIndex = -1;
... | 3.800356 | 498e5f95539e28b08deb9cacfb911121 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833667 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "aybe/libKeyFinder.NET",
"max_stars_repo_path": "libKeyFinder.NET/Key.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152887"
} | starcoder | using JetBrains.Annotations;
namespace libKeyFinder.NET
{
[PublicAPI]
public enum Key
{
AMajor = 0,
AMinor,
BFlatMajor,
BFlatMinor,
BMajor,
BMinor = 5,
CMajor,
CMinor,
DFlatMajor,
DFlatMinor,
DMajor = 10,
DMino... | 1.844936 | d49724c74878737e74fa47e1c3563ff4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833668 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TalhaAsif94/Project-ECAT",
"max_stars_repo_path": "Numbers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152888"
} | starcoder | <filename>Numbers.cs
using System;
namespace Talha
{
enum Base
{
Binary, Decimal, Hexadecimal, Octal
}
class Numbers
{
///Data
double number;
Base Nbase;
///Operators
//Addition
public static Numbers operator +(Numb... | 3.552597 | a811ed1bc3bf31be8944de7f999fdb85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833669 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "alex-kulakov/dataobjects-net",
"max_stars_repo_path": "Orm/Xtensive.Orm.SqlServer/Sql.Drivers.SqlServer/v10/TypeMapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152889"
} | starcoder | // Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: <NAME>
// Created: 2009.07.02
using System;
using System.Data;
using System.Data.Common;
namespace Xtensive.Sql.Drivers.SqlServer.v10
{
internal class TypeMapper : v09.TypeMappe... | 2.040668 | d41e334e2257af90fe8c66c8e7d5ca06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833670 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "danmosemsft/coreclr",
"max_stars_repo_path": "src/mscorlib/src/System/Runtime/CompilerServices/CallingConvention.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152890"
} | 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.
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////... | 1.902984 | be4a0ec7818741be516d0a978ae02555 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833671 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Scronullik/ServiceStation",
"max_stars_repo_path": "ServiceStation/ServiceStation/Sundry/ConsistentGuid.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152891"
} | starcoder | <filename>ServiceStation/ServiceStation/Sundry/ConsistentGuid.cs
using System;
using System.Linq;
using System.Runtime.InteropServices;
namespace ServiceStation
{
internal static class ConsistentGuid
{
internal static Guid CreateGuid()
{
Guid guid;
int result = NativeMe... | 2.732348 | 1993ecbaad84141245f46940269968d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833672 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "bobbyangers/XrmUnitTest",
"max_stars_repo_path": "DLaB.Xrm.Entities/ExpanderEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152892"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------... | 1.640776 | 5abd83d553f57c7cb1298ee17e2712dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833673 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "sillsdev/phonology-assistant",
"max_stars_repo_path": "src/PaToFdoInterfaces/IPaMultiString.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152893"
} | starcoder | // ---------------------------------------------------------------------------------------------
#region // Copyright (c) 2005-2015, SIL International.
// <copyright from='2005' to='2015' company='SIL International'>
// Copyright (c) 2005-2015, SIL International.
//
// This software is distributed under the ... | 2.259876 | 2933b89ba01cae99b08af17f9d1bc4e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833674 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zhutiejun/ReportGenerator",
"max_stars_repo_path": "src/ReportGenerator.Console.Test/Parser/Preprocessing/FileSearch/ClassSearcherFactoryTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152894"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Palmmedia.ReportGenerator.Parser.Preprocessing.FileSearch;
namespace Palmmedia.ReportGeneratorTest.Parser.Preprocessing.FileSearch
{
/// <summary>
/// This is a test class for ClassSearcherFactory and is intended
/// to contain all ClassSearcherFac... | 2.529638 | 0a632d3c88350fa800cf790137ca7c42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833675 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "spiderbait90/Step-By-Step-In-C-Sharp",
"max_stars_repo_path": "Programming Fundamentals/RegEx/02. Fish Statistics/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152895"
} | starcoder | <reponame>spiderbait90/Step-By-Step-In-C-Sharp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace _02.Fish_Statistics
{
class Program
{
static void Main(string[] args)
{
... | 3.379128 | 638b62d9588b03d341c6745e8d1e6cc9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833676 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeanluigui/SystemGlobal_Ecommerce",
"max_stars_repo_path": "SystemGlobal_Ecommerce/src/app_code/BaseSession.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152896"
} | starcoder | using System;
using System.Collections;
using System.Data;
using System.Globalization;
using System.Web;
using xAPI.Entity.Order;
using xAPI.Entity.Security;
using xAPI.Library.General;
namespace SystemGlobal_Ecommerce.src.app_code
{
public class BaseSession
{
/*
public static [TIPO_... | 1.633317 | 92a93b3ac012c7b5674728d329da2e6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833677 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bobahml/TinyClient",
"max_stars_repo_path": "TinyClient/HttpMethod.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152897"
} | starcoder | namespace TinyClient
{
public class HttpMethod
{
public static HttpMethod Get { get; } = new HttpMethod("GET");
public static HttpMethod Put { get; } = new HttpMethod("PUT");
public static HttpMethod Post { get; } = new HttpMethod("POST");
public static HttpMethod Delete { get; ... | 2.879598 | 9a04d7037a6b3bdd4df1c4621aef5566 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833678 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "janosjanka/Partnerinfo",
"max_stars_repo_path": "src/Partnerinfo.Web.Site/Startup_EntityFramework.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152898"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.Extensions.Dependenc... | 2.101144 | c1d8cd07806642b83a0fcd7ad23c014d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833679 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "AaronFriel/pulumi-google-native",
"max_stars_repo_path": "sdk/dotnet/FirebaseRules/V1/Outputs/MetadataResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152899"
} | starcoder | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Goog... | 1.852301 | 8da2836d3acad6bb5271307f68e11f35 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833680 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sampa-msft/azure-sdk-for-net",
"max_stars_repo_path": "sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ClientEncryptionIncludedPath.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152900"
} | starcoder | <filename>sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ClientEncryptionIncludedPath.cs
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Micr... | 2.245859 | 3e5048a8371342c2e1a231508b231224 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833681 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "eyedia/aarbac",
"max_stars_repo_path": "Eyedia.Aarbac.Win/frmAuthenticate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152901"
} | starcoder | <gh_stars>10-100
#region Copyright Notice
/* Copyright (c) 2017, <NAME> - <EMAIL>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are not permitted.Neither the name of the
'Deb'jyoti Das' nor the names of its contributors may be used
to endorse or promote pro... | 2.077171 | f456ece9c1de066c4e6331007f1b0f98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833682 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VapeNationGitHub/RSPO",
"max_stars_repo_path": "RSPO/Models.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152902"
} | starcoder | using System;
namespace RSPO
{
public class TestModel
{
public TestModel(string Name)
{
this.Name = Name;
}
public string Name;
}
}
| 1.941736 | da56524b64edf752cfab1268ed06a6ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833683 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IManfis/ConceptualThinking",
"max_stars_repo_path": "ConceptualThinking/ConceptualThinking/Teacher/Form18.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152903"
} | starcoder | using System;
using System.Windows.Forms;
using ConceptualThinking.Model;
namespace ConceptualThinking.Teacher
{
public partial class Form18 : Form
{
public Form18()
{
InitializeComponent();
}
private void button2_Click(object sender, EventArgs e)
{
... | 2.23147 | 402a817f724bbfb80b717952f4d4e2dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833684 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VinceIborra/vji",
"max_stars_repo_path": "CSharp/Vji.Chess/Model/Rank.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152904"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Vji.Chess.Model {
public class Rank {
public int Idx { get; private set; }
public string Value { get; private set; }
private Rank(int idx, string value) {
Idx = idx;
Va... | 3.188153 | 483463610035d69c375774461f206a1d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833685 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "charleszhang97/HLSDownloader",
"max_stars_repo_path": "HLS.Download.UI/MainForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152905"
} | starcoder | <reponame>charleszhang97/HLSDownloader
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using System.Media;
using System.Threading.Tasks;
using System.IO.Compression... | 1.740575 | 34ec88f2127a5e121c0528475661b2b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833686 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "kirkbrauer/hotchocolate",
"max_stars_repo_path": "src/HotChocolate/Language/test/Language.Tests/Parser/ValueParserTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152906"
} | starcoder | using System;
using Xunit;
namespace HotChocolate.Language;
public class ValueParserTests
{
[InlineData("true", true, typeof(BooleanValueNode))]
[InlineData("false", false, typeof(BooleanValueNode))]
[InlineData("0", "0", typeof(IntValueNode))]
[InlineData("123", "123", typeof(IntValueNode))]
[Inl... | 2.629004 | 47c5b83b0314d45cb5f8a49c3892333b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833687 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanielDlc/Csharp",
"max_stars_repo_path": "Projetos/Calculator/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152907"
} | starcoder | <gh_stars>0
namespace Calculator
{
class Porgram
{
static void Main(string[] args)
{
Menu();
}
static void Menu()
{
Console.Clear();
Console.WriteLine("Qual operador deseja utilizar para calcular?");
Console... | 3.781022 | 09397c930a032bad10eaf18818966fbf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833688 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SCUMSLang/SCUMSLang",
"max_stars_repo_path": "src/SCUMSLang/src/SyntaxTree/References/MemberReference.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152908"
} | starcoder | using System;
using System.Diagnostics;
namespace SCUMSLang.SyntaxTree.References
{
[DebuggerDisplay("{" + nameof(GetDebuggerDisplay) + "(),nq}")]
public abstract class MemberReference : Reference, IMember
{
public override SyntaxTreeNodeType NodeType => SyntaxTreeNodeType.MemberReference;
... | 2.68612 | 3ad5e8fa2f208f38801f4baaf623df5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833689 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "gilles-leblanc/RubySword",
"max_stars_repo_path": "DomainModels/Attack.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152909"
} | starcoder | using HtmlAgilityPack;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace DomainModels
{
public class Attack
{
private static readonly string rxAttackDelimeter = @"(,)|((or|and) )/i";
private static readonly string rxNonAlphaOrSpace = @"[^a-zA-... | 3.138327 | 4253a6f38ea92eaf1f929c93cbf3b5e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833690 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mata-n-cur/paynova-api-net-client",
"max_stars_repo_path": "src/projects/Paynova.Api.Client/Model/ProfileCard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152910"
} | starcoder | using System;
using Paynova.Api.Client.EnsureThat;
namespace Paynova.Api.Client.Model
{
public class ProfileCard
{
/// <summary>
/// Paynova's unique id for the card stored in the customer profile.
/// </summary>
public Guid CardId { get; private set; }
/// <summary>
... | 2.68889 | 4e8c1faa0108c9c2d594df1412b92caa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833691 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ucdavis/Purchasing",
"max_stars_repo_path": "Purchasing.Tests/ControllerTests/WizardControllerTests/WizardControllerTestsInit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152911"
} | starcoder | <filename>Purchasing.Tests/ControllerTests/WizardControllerTests/WizardControllerTestsInit.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Web.Routing;
using Castle.MicroKernel.Registration;
using Castle.Windsor;
using Purchasing.Core;
using P... | 1.384422 | 80a8421a9fcd97e79e0be4e925b5ee33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833692 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SafetyCone/R5T.Dufftown.Database",
"max_stars_repo_path": "source/R5T.Dufftown.Database/Code/Extensions/ModelBuilderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152912"
} | starcoder | <gh_stars>0
using System;
using Microsoft.EntityFrameworkCore;
namespace R5T.Dufftown.Database
{
public static class ModelBuilderExtensions
{
public static ModelBuilder ForOriginalFileNameMappingDbContext(this ModelBuilder modelBuilder)
{
modelBuilder.Entity<Entities.O... | 1.211932 | 9f50bb4ffa02235ece6cc0ff96a5f820 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833693 | {
"extension": "c-sharp",
"max_stars_count": "63.0",
"max_stars_repo_name": "AnthonySteele/MvcRouteTester",
"max_stars_repo_path": "src/MvcRouteTester.Test/WebRoute/FluentExtensionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152913"
} | starcoder | using System.Web.Mvc;
using System.Web.Routing;
using MvcRouteTester.Test.Assertions;
using MvcRouteTester.Test.Controllers;
using NUnit.Framework;
namespace MvcRouteTester.Test.WebRoute
{
[TestFixture]
public class FluentExtensionsTests
{
private RouteCollection routes;
[SetUp]
public void MakeRouteTable... | 2.222035 | 50c044c93dab984c5c0d45cf7d37d039 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833694 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JeremyLikness/WinRTExamples",
"max_stars_repo_path": "WinRTByExample81/DocumentDataExample/MainPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152914"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MainPage.xaml.cs" company="<NAME>">
// Copyright (c) <NAME>
// </copyright>
// <summary>
// Example of building up document data
// </summary>
// ----------------------... | 2.591707 | 2d2c42e9e3c2e70bc3450f966edd9826 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833695 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maliutina-rita/DepartmentManager",
"max_stars_repo_path": "DepartmentManager/Forms/Department.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152915"
} | starcoder | namespace DepartmentManager.Forms
{
partial class Department
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.059389 | c78b0b52906d6549793b312335363ebf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833696 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "truelight-corporation/c_sharp_application",
"max_stars_repo_path": "project/Hxt6104aHxr6104aConfig/UcHxr6104aConfig.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152916"
} | starcoder | namespace Hxt6104aHxr6104aConfig
{
partial class UcHxr6104aConfig
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summ... | 1.586724 | 8bd5ea033621f5d332a14b9f639c106e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833697 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikistoianov/TechMod-homeworks",
"max_stars_repo_path": "Arrays/FoldAndSum/03.StartUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152917"
} | starcoder | <filename>Arrays/FoldAndSum/03.StartUp.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FoldAndSum
{
class Program
{
static void Main()
{
int[] arr = Console.ReadLine().Split(' ').Select(int.Parse).ToAr... | 3.684885 | ac69a719d41d05d3d19a1f9085935a36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833698 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dimitarkole/RentACarManager",
"max_stars_repo_path": "Web/RentCar.Web/Areas/Client/Views/RentCar/Delete.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:152918"
} | starcoder | <gh_stars>0
@model CarDetailsModel
@{
ViewData["Title"] = "Delete car";
}
<h1 class="text-white">@ViewData["Title"]</h1>
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6">
<form method="post">
<div class="col-md-5">
<img src="@Model.ImageUrl" />
... | 2.154413 | 77f0382d1be3d4a5fff87d4f3bf187f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833699 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "selmentdev/Graphyte.Build",
"max_stars_repo_path": "Graphyte.Build/Platforms/Android/AndroidPlatformProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152919"
} | starcoder | <filename>Graphyte.Build/Platforms/Android/AndroidPlatformProvider.cs<gh_stars>0
using System.Collections.Generic;
namespace Graphyte.Build.Platforms.Android
{
sealed class AndroidPlatformFactory
: BasePlatformFactory
{
public AndroidPlatformFactory(
ArchitectureType architectureTyp... | 2.481313 | 874088f985945dee26b4c28f7ee49bec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833700 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Swasams/WalkingSim-2021-Fall",
"max_stars_repo_path": "WalkingSimMain/Assets/roadEntranceDestory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152920"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class roadEntranceDestory : MonoBehaviour
{
public Mesh meshes;
public GameObject wall;
public GameObject longroad;
// Start is called before the first frame update
void Start()
{
... | 1.861974 | 838c45dc0a5d7f591aa3eed092ff53fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833701 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aaasoft/Quick.WpfToolkit",
"max_stars_repo_path": "Xceed.Wpf.DataGrid/(CollectionView)/DataGridVirtualizingQueryableCollectionViewGroup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152921"
} | starcoder | <gh_stars>1-10
/*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2013 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/li... | 2.046539 | 3adaed2fc052ce02d7e37d762b53453f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833702 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mjdescy/TodoTxtWin",
"max_stars_repo_path": "TodoTxt.Library/ItemsChangedObservableCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152922"
} | starcoder | <reponame>mjdescy/TodoTxtWin
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.ComponentModel;
namespace TodoTxt.Library
{
/// <summary>
/// This class adds the ability to refresh the list whe... | 2.748761 | c45bfc72d23039c06c0d221d4091d737 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833703 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mohdaneshvar/Acme-Corporations-Draw",
"max_stars_repo_path": "Backend/1-Framework/Framework.Data.EF/Extensions/PagedExtention.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152923"
} | starcoder | using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Framework.Data.EF.Extensions
{
public static class PagedExtention
{
public static async Task<PagedResult<T>> GetPagedAsync<T>(this IQueryable<T> query, int skip, int pageSize) where T : class
... | 2.84192 | 6fbc06fe9bcbeddc347674f8dccb6c33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833704 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "locatw/Mupl",
"max_stars_repo_path": "Mupl/Mupl.Dlna/IService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152924"
} | starcoder | using System.Threading.Tasks;
using Windows.Web.Http;
namespace Mupl.Dlna
{
public interface IService
{
Task<ResultType> ExecuteActionAsync<ResultType>(HttpClient httpClient, IAction<ResultType> action);
ServiceKind ServiceKind { get; }
string ControlUrl { get; }
}
}
| 1.851506 | 769ecf5e472b50d005e81e3b5cbfef80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833705 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sakwa-im/design-studio",
"max_stars_repo_path": "sakwa-core/implementation/support/DomainTemplateMerger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152925"
} | starcoder | <filename>sakwa-core/implementation/support/DomainTemplateMerger.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace sakwa
{
public static class DomainTemplateMerger
{
public static bool Merge(IBaseNode dest, IBaseNode src)
... | 2.691719 | a3939e9ebc4c3c4e0f4dea30002f4f6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833706 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "FlorianRappl/YAMP",
"max_stars_repo_path": "YAMP.Core/Numerics/Others/Gamma.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152926"
} | starcoder | namespace YAMP.Numerics
{
using System;
using YAMP.Exceptions;
/// <summary>
/// This class contains the linear gamma function as well as complex ones
/// and logarithmic ones.
/// </summary>
public static class Gamma
{
#region Linear
/// <summary>
/// Computes th... | 3.344777 | 0152d4fb617ad5ea36970efb54b2135d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833707 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GabrielWal/Hackathon-Clarte",
"max_stars_repo_path": "Assets/supermen/superman_controller_x.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152927"
} | starcoder | <filename>Assets/supermen/superman_controller_x.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class superman_controller_x : MonoBehaviour {
public Vector3 beginPos;
public Vector3 endPos;
public float speed;
private bool b;
// Use this for initialization
void Start (... | 2.27143 | 436cecab292f50b9e1089947d1eed809 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833708 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sgwill/StackExchange.Redis",
"max_stars_repo_path": "StackExchange.Redis.Tests/Expiry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152928"
} | starcoder | using System;
using NUnit.Framework;
namespace StackExchange.Redis.Tests
{
[TestFixture]
public class Expiry : TestBase
{
static string[] GetMap(bool disablePTimes)
{
if(disablePTimes)
{
return new[] { "pexpire", "pexpireat", "pttl" };
}
... | 2.504929 | ff71f75584dd73c860ee490b4e123ed1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833709 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "nventive/UnoApplicationTemplate",
"max_stars_repo_path": "src/app/ApplicationTemplate.iOS/Application.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152929"
} | starcoder | <reponame>nventive/UnoApplicationTemplate
using System;
using Chinook.SectionsNavigation;
using UIKit;
using Uno.UI.Controls;
namespace ApplicationTemplate
{
public class Application
{
public static void Main(string[] args)
{
Windows.UI.Xaml.Window.ViewControllerGenerator = GetRootController;
UIApplicati... | 1.638314 | 78e6ad0a86249c86aee19ae58beb6457 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833710 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "CDR-AndrewG/mock-data-recipient",
"max_stars_repo_path": "Source/CDR.DataRecipient.Web/Features/Enums.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152930"
} | starcoder | namespace CDR.DataRecipient.Web.Features
{
public enum FeatureFlags
{
AllowDataHolderRefresh,
AllowDynamicClientRegistration,
LinkToExternalJwt
}
}
| 0.987099 | a903fbc576ba3f31f05b20c90ca806b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833711 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "camden-bock/verlet_simulation",
"max_stars_repo_path": "Assets/Scripts/Verlet/readHorizonsData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152931"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Xml;
namespace IMRE.HandWaver.Space.BigBertha
{
/// <summary>
/// This script does ___.
/// The main contributor(s) to this script is TB
/// Status: WORKING
/// </summary>
public class readHorizonsData : Mo... | 2.646195 | 09e3405f5f0b9527b05d1f8a8b838626 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.