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 | 8830112 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arunkaithayil/azure-iot-protocol-gateway",
"max_stars_repo_path": "src/ProtocolGateway.Core/Extensions/StringExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149332"
} | starcoder | <gh_stars>0
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.Devices.ProtocolGateway.Extensions
{
public static class StringExtensions
{
public static bool IsGatewayGenerated... | 1.515521 | d1d40cacddc25eabae9cf07a43c13957 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830113 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "vgwb/Antura",
"max_stars_repo_path": "Assets/_games/ReadingGame/_scripts/States/ReadingGameQuestionState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149333"
} | starcoder | using System;
using System.Diagnostics;
using Antura.Tutorial;
namespace Antura.Minigames.ReadingGame
{
public class ReadingGameQuestionState : FSM.IState
{
ReadingGameGame game;
bool firstRun = true;
bool completed = false;
public ReadingGameQuestionState(ReadingGameGame game)... | 2.035266 | 0b3b3dd139bea769a0f2e6a18599171c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830114 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "HolAutisme/PopBalloon",
"max_stars_repo_path": "Assets/Scripts/Sharing/ParticipantFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149334"
} | starcoder | <filename>Assets/Scripts/Sharing/ParticipantFilter.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Classe qui désacitve des éléments de la scene si le participant n'est pas du type selectionné.
/// </summary>
public class ParticipantFilter : MonoBehaviour {
... | 2.562072 | afeba05af8fb369385c344cc3be7340f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830115 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "210503-Reston-NET/Lateu-Richard-P0",
"max_stars_repo_path": "StoreTests/CustomerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149335"
} | starcoder | using System;
using StoreModels;
using System.Text.RegularExpressions;
using Xunit;
namespace StoreTests
{
public class CustomerTest
{
public bool AddressStartingPoint(string address){
string temp=address.Substring(0,2);
return Regex.IsMatch(temp, @"^\d+$");
}
[F... | 2.973883 | 001cc7f7bb0c375c76dee46a45bc3a56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830116 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "proazr/azure-powershell",
"max_stars_repo_path": "src/Functions/generated/api/Models/Api20190801/AutoHealRules.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149336"
} | starcoder | namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801
{
using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions;
/// <summary>Rules that can be defined for auto-heal.</summary>
public partial class AutoHealRules :
Microsoft.Azure.PowerShell.Cmdlets.Fun... | 1.835357 | f879850c43a2d3820a49de9f06c3dc5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830117 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cativ3/ChatApp_Backend",
"max_stars_repo_path": "ChatAppBackend.Entities/Dtos/ChatDtos/ChatAddDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149337"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ChatAppBackend.Entities.Dtos.ChatDtos
{
public class ChatAddDto
{
[Required(ErrorMessage = "{0} is required")]
[MaxLength(2... | 2.127485 | 8af986eee1bd8619b58d61c54ccecf46 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830118 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "SilviaHyde/standard",
"max_stars_repo_path": "src/Standard.Runtime.Win32API/Source/Standard/Win32/NativeMethods.Device.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149338"
} | starcoder | using System;
using System.Security;
using System.Runtime.InteropServices;
namespace Standard.Win32
{
partial class NativeMethods
{
#region Consts
/// <summary>
/// The specified path, file name, or both exceed the system-defined maximum length.
/// For example, on Windows-based platforms, paths must be les... | 1.546386 | caed94b956b91090a145769563af2db4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830119 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qanle/TCGPrimus",
"max_stars_repo_path": "TCGPrimusServer_/TCGPrimus.Entities/Models/ActivityField.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149339"
} | starcoder | <gh_stars>0
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TCGPrimus.Entities.Models
{
[Table("activityfield")]
public class ActivityField
{
[Key]
public int Id { get; set; }
public string Name { get; set; }
... | 1.702131 | 2b4a8a4cfa6a05dae8a7292275cad70f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830120 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MechanicalMen/Mechanical4",
"max_stars_repo_path": "source/Mechanical4.Tests/EventQueue/ManualEventQueueTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149340"
} | starcoder | using System;
using Mechanical4.EventQueue;
using NUnit.Framework;
namespace Mechanical4.Tests.EventQueue
{
[TestFixture]
public static class ManualEventQueueTests
{
#region DescendantEvent, NamedEventHandler
internal class DescendantEvent : NamedEvent
{
internal Desce... | 2.621201 | b98d55a3617e73ce11830c05260a3465 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830121 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gmarmari/SchoolAppBackend",
"max_stars_repo_path": "SchoolAppBackend/Database/SchoolAppDBContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149341"
} | starcoder | <gh_stars>0
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace SchoolAppBackend.Database
{
public partial class SchoolAppDBContext : DbContext
{
public SchoolAppDBContext()
{
}
public SchoolAppDBContext(DbContextOptions<S... | 2.060931 | 3ced968efbdf5d5afa56f02e731b3d29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830122 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "mercenaryntx/godspeed",
"max_stars_repo_path": "Neurotoxin.Godspeed/Neurotoxin.Godspeed.Core/Io/Gpd/Entries/EntryBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149342"
} | starcoder | using System;
using Neurotoxin.Godspeed.Core.Models;
namespace Neurotoxin.Godspeed.Core.Io.Gpd.Entries
{
public class EntryBase : BinaryModelBase, IComparable
{
public XdbfEntry Entry { get; set; }
public byte[] AllBytes
{
get { return Binary.ReadBytes(StartOffset, BinarySi... | 2.291401 | cad2665502ac18db7ebd7c6c8394d41c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830123 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "r00telement/FFXIVClientStructs",
"max_stars_repo_path": "FFXIVClientStructs/FFXIV/Client/Graphics/Physics/BoneSimulator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149343"
} | starcoder | <reponame>r00telement/FFXIVClientStructs
using System.Runtime.InteropServices;
namespace FFXIVClientStructs.FFXIV.Client.Graphics.Physics
{
// size = 0x100
// ctor - 33 D2 48 8D 05 ? ? ? ? 48 89 01 48 8B C1 89 51 10
[StructLayout(LayoutKind.Explicit, Size = 0x100)]
public unsafe struct BoneSimulator
... | 1.469067 | e4ad035f35efd6017c12a40a78f98578 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830124 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dcl-glb/unity-renderer",
"max_stars_repo_path": "unity-renderer/Assets/Scripts/MainScripts/DCL/WorldRuntime/KernelCommunication/NativeBridgeCommunication/NativeBridgeCommunication.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1493... | starcoder | using System;
using System.Runtime.InteropServices;
using DCL;
using DCL.Interface;
using DCL.Models;
using UnityEngine;
using Ray = DCL.Models.Ray;
public class NativeBridgeCommunication : IKernelCommunication
{
private static string currentEntityId;
private static string currentSceneId;
private static st... | 1.771078 | 3bed6cd6c497a5a420a8fd1a0a637364 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830125 | {
"extension": "c-sharp",
"max_stars_count": "526.0",
"max_stars_repo_name": "Dotnet-Boxed/Framework",
"max_stars_repo_path": "Source/Boxed.DotnetNewTest/ProcessExtensions.StartAsync.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149345"
} | starcoder | <reponame>Dotnet-Boxed/Framework<filename>Source/Boxed.DotnetNewTest/ProcessExtensions.StartAsync.cs<gh_stars>100-1000
namespace Boxed.DotnetNewTest;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Text;
using System.Threading;
using S... | 2.525374 | 3a3eebf005dca0256fbbaa862c9b7046 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830126 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sammaicodes/HairSalon.Solution",
"max_stars_repo_path": "HairSalon/Views/Clients/Create.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:149346"
} | starcoder | @{
Layout = "_Layout";
}
@model HairSalon.Models.Client
<h4>Add a new Client</h4>
@using (Html.BeginForm())
{
<p>Client Name: @Html.TextBoxFor(model => model.ClientName)</p>
<p>Client Notes: @Html.TextBoxFor(model => model.ClientNotes)</p>
<p>Select your sylist: @Html.DropDownList("StylistId")</p>
<inp... | 2.068715 | 5f1a7272ec1c863e2916bffc81ab568a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830127 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CleanKludge/website",
"max_stars_repo_path": "src/CleanKludge.Server/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149347"
} | starcoder | using System;
using System.Buffers;
using System.Collections.Generic;
using System.Xml;
using CleanKludge.Core.Modules;
using CleanKludge.Data.File.Modules;
using CleanKludge.Data.Git.Modules;
using CleanKludge.Server.Authorization.Modules;
using CleanKludge.Server.Filters;
using CleanKludge.Services.Modules;
using Li... | 1.760867 | 9ff690d828b3a014610c04bff468e1e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830128 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "takemurakimio/missing-part-1",
"max_stars_repo_path": "Assets/_scripts/Fuzzy/Graph Representation/GraphSlopeDecreasing.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149348"
} | starcoder | <reponame>takemurakimio/missing-part-1<gh_stars>1-10
using UnityEngine;
using System.Collections;
public class GraphSlopeDecreasing : GraphRepresentation
{
public GraphSlopeDecreasing()
{
}
public override float GetTruthValue( float input )
{
//1:1 (negated) correspondance between location in graph and truth.... | 2.288878 | 9df5d3f33e718699a3ba39868b5bbb17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830129 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gustavkullberg/TVDrvingTestExplorer",
"max_stars_repo_path": "DrivingTestExplorer/Models/LocationModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149349"
} | starcoder | <filename>DrivingTestExplorer/Models/LocationModel.cs
using DrivingTestExplorer.Integration.Models;
namespace DrivingTestExplorer.Models;
public record LocationModel(Location Location, Slot TopSlot, IEnumerable<Slot> Slots, DateTime UpdatedAt, double Distance)
{
public Slot TopSlot { get; set; } = TopSlot;
p... | 2.140925 | c23594cff916250e034d2dccfa6bf828 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830130 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "OrleansContrib/OrleansTemplates",
"max_stars_repo_path": "src/ETG.Orleans.CodeGen/CodeGenParticipants/SwmrInterfaceGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149350"
} | starcoder | <reponame>OrleansContrib/OrleansTemplates<filename>src/ETG.Orleans.CodeGen/CodeGenParticipants/SwmrInterfaceGenerator.cs
/*
Copyright (c) Microsoft Corporation
All rights reserved.
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentati... | 1.855858 | 8bad14fc5094e1ddf46719c212a59b1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830131 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "TheBerkin/StdPaint",
"max_stars_repo_path": "StdPaint/CheckeredBufferBrush.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149351"
} | starcoder | <reponame>TheBerkin/StdPaint
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StdPaint
{
/// <summary>
/// A buffer brush that produces a checkered pattern when used.
/// </summary>
public class CheckeredBufferBrush : BufferB... | 3.587908 | 145dafa1e7b35a56dba08ab557b547df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830132 | {
"extension": "c-sharp",
"max_stars_count": "159.0",
"max_stars_repo_name": "SeanKilleen/Docs",
"max_stars_repo_path": "aspnet/web-forms/overview/ajax-control-toolkit/cascadingdropdown/using-cascadingdropdown-with-a-database-cs/samples/sample7.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149352"
} | starcoder | [WebMethod]
public CascadingDropDownNameValue[] GetVendors(string knownCategoryValues, string category)
{
SqlConnection conn = new SqlConnection("server=(local)\\SQLEXPRESS;
Integrated Security=true; Initial Catalog=AdventureWorks");
conn.Open();
SqlCommand comm = new SqlCommand("SELECT TOP 25 VendorID, Name
FRO... | 2.786802 | 850154d900143a18485525404d9ab374 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830133 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pipear07/Aplicativo-WindowsForms-CRUD-OficinaAbogado",
"max_stars_repo_path": "ObjetodeNegocios/EstadoCivil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149353"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data.Sql;
using System.Data.SqlClient;
using System.Data.SqlTypes;
namespace O... | 2.374851 | a5e10c8ff503ae82335f8ed2f11cc937 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "samikaur/dotnet-testing",
"max_stars_repo_path": "IntegrationTests/Tests/ProductsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149354"
} | starcoder | <filename>IntegrationTests/Tests/ProductsTests.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using IntegrationTests.Models;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Xunit;
using Newtonsoft.Json;
namespac... | 2.303494 | 5f102b9085a5fb333bc28916ad4d81e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830135 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ItsJokerZz/PS4-Discord-RTM-Bot-POC",
"max_stars_repo_path": "Commands/Notify.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149355"
} | starcoder | using Discord.Commands;
using System;
using System.Threading.Tasks;
namespace PS4_Discord_RTM_Bot_POC.Commands
{
public class Notify : ModuleBase<SocketCommandContext>
{
[Command("notify")]
public async Task NotifyAsync([Remainder] string Message)
{
try
{
... | 2.202999 | fd5b11264161f3b96a35476a864b9cdd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830136 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "markstiles/SitecoreCognitiveServices.Core",
"max_stars_repo_path": "src/Foundation/IBMSDK/code/LanguageTranslator/Models/TranslationModels.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149356"
} | starcoder | using System.Collections.Generic;
using Newtonsoft.Json;
namespace SitecoreCognitiveServices.Foundation.IBMSDK.LanguageTranslator.Models
{
public class TranslationModels
{
[JsonProperty("models", NullValueHandling = NullValueHandling.Ignore)]
public List<TranslationModel> Models { get; set; }
... | 1.770113 | 4abc4413e317afa0ae20d2d372ce9d45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830137 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IliyanIlievPH/MAVN.Service.PaymentManagement",
"max_stars_repo_path": "src/MAVN.Service.PaymentManagement/Modules/RabbitMqModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149357"
} | starcoder | <gh_stars>0
using Autofac;
using JetBrains.Annotations;
using Lykke.RabbitMqBroker.Publisher;
using Lykke.SettingsReader;
using MAVN.Service.PaymentManagement.Contract;
using MAVN.Service.PaymentManagement.Settings;
namespace MAVN.Service.PaymentManagement.Modules
{
[UsedImplicitly]
public class RabbitMqModul... | 1.436896 | 2f5335d669285b06b73d1a1a23f49b0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830138 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "MarkIvanDev/JumpPoint",
"max_stars_repo_path": "JumpPoint/JumpPoint.Platform.Interop/FileInterop.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149358"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
using System.Text;
using GalaSoft.MvvmLight.Messaging;
using JumpPoint.Platform.Items.Templates;
using JumpPoint.Platform.I... | 1.95217 | 9e16abead7be7c5405e8a1c8e6fcaac1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830139 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "kevinchalet/ReferenceAssemblyAnnotator",
"max_stars_repo_path": "TunnelVisionLabs.ReferenceAssemblyAnnotator/EquivalenceComparers+ParameterDefinitionEquivalenceComparer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149359"
} | starcoder | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace TunnelVisionLabs.ReferenceAssemblyAnnotator
{
using System.Collections.Generic;
using Mono.Cecil;
internal static partial class Equi... | 2.284081 | 46db47453962ab5c20846c97453c2c93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830140 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Ultis/rawr",
"max_stars_repo_path": "Rawr.Moonkin/MoonkinSimulator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149360"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Rawr.Moonkin
{
public class MoonkinSimulator
{
public long SimulationCount { get; set; }
public int FightLength { get; set; }
public double HasteLevel { get; set;... | 2.274579 | 6a745370902ecef46182a9658f6ff91c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830141 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rehant/DigifestVR-Copy",
"max_stars_repo_path": "Assets/WeatherMaker/Prefab/Scripts/Manager/WeatherMakerWeatherManagerScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149361"
} | starcoder | //
// Weather Maker for Unity
// (c) 2016 Digital Ruby, LLC
// Source code may be used for personal or commercial projects.
// Source code may NOT be redistributed or sold.
//
// *** A NOTE ABOUT PIRACY ***
//
// If you got this asset off of leak forums or any other horrible evil pirate site, please consider buying ... | 2.497396 | a95b025c2436d53dbb2e55781a1beabe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830142 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Code-Ponys/MixedUpTales-2.0",
"max_stars_repo_path": "Assets/Resources/Animations/spine-unity/Assets/spine-unity/Editor/SkeletonBakingWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149362"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace Spine.Unity.Editor {
using Editor = UnityEditor.Editor;
using Icons = SpineEditorUtilities.Icons;
public class SkeletonBakingWindow : EditorWindow {
const bool IsUtilityWindow = true;
[MenuItem("CONTE... | 1.970868 | 0298d856099cf7055975cb7b3d47f899 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830143 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "credfeto/GallerySync",
"max_stars_repo_path": "src/Credfeto.Gallery.OutputBuilder/Interfaces/IGalleryBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149363"
} | starcoder | <reponame>credfeto/GallerySync<filename>src/Credfeto.Gallery.OutputBuilder/Interfaces/IGalleryBuilder.cs
using System.Threading.Tasks;
using Credfeto.Gallery.Image;
namespace Credfeto.Gallery.OutputBuilder.Interfaces
{
public interface IGalleryBuilder
{
public Task ProcessGalleryAsync(IImageSettings i... | 1.400164 | 65b8f2e331356798e9e8db90f5068739 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830144 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "Appercode/Appercode.UIFramework",
"max_stars_repo_path": "FrameworkTemplate.Abstract.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149364"
} | starcoder | using System.Windows;
using System.Windows.Markup;
namespace Appercode.UI
{
[ContentProperty("VisualTree")]
public abstract partial class FrameworkTemplate
{
/// <summary>
/// This definition is only for XAML XSD schema generation
/// </summary>
public static re... | 1.866434 | 87acf11886689093777163fe0c309c34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830145 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ga-explorer/GMac",
"max_stars_repo_path": "CodeComposerLib/CodeComposerLib/MathML/Elements/Tokens/IMathMlTokenElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149365"
} | starcoder | <reponame>ga-explorer/GMac
namespace CodeComposerLib.MathML.Elements.Tokens
{
public interface IMathMlTokenElement : IMathMlElement
{
}
} | 0.700685 | 33c89d47665a83cd8793c5001f37a8cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830146 | {
"extension": "c-sharp",
"max_stars_count": "16061.0",
"max_stars_repo_name": "abod1944/maui",
"max_stars_repo_path": "src/Controls/tests/Core.UnitTests/VisualTreeHelperTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149366"
} | starcoder | #nullable enable
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Maui.Controls.Xaml.Diagnostics;
using NUnit.Framework;
namespace Microsoft.Maui.Controls.Core.UnitTests
{
[TestFixture]
public class VisualTreeHelperTests : BaseTestFixture, IDisposable
{
readonly List<... | 1.877799 | 8d8baa0cc9852b65ecdb7bfd0e67cf14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830147 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "m19brandon/zVirtualScenes",
"max_stars_repo_path": "zvs.Processor/DeviceTypeBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149367"
} | starcoder | <reponame>m19brandon/zVirtualScenes
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using zvs.DataModel;
using System.Data.Entity;
using System.ComponentModel;
namespace zvs.Processor
{
public class DeviceTypeBuilder
{
private IEntityContextConnection EntityConte... | 2.124817 | ddbc56e971408c0fa155fa0a9b2689b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830148 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ekin1106/OWLib",
"max_stars_repo_path": "TankLib/STU/Types/STU_32E4DD50.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149368"
} | starcoder | // Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0x32E4DD50)]
public class STU_32E4DD50 : STU_28F49095 {
}
}
| 0.669976 | 2540137cd67630ca9540f5f4bef149cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830149 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xamarin-automation-service/rockford",
"max_stars_repo_path": "Samples/Silverlight/cs/InventoryDemo/InvLib.Client/Compression/CompressedProxy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149369"
} | starcoder | <reponame>xamarin-automation-service/rockford<filename>Samples/Silverlight/cs/InventoryDemo/InvLib.Client/Compression/CompressedProxy.cs
using System;
using System.Net;
using Csla.DataPortalClient;
namespace InvLib.Compression
{
public class CompressedProxy<T> : WcfProxy<T>
where T : Csla.Serialization.Mobile.I... | 1.851077 | 127e26ef9cb2d9e8bea8878b3dbdc3f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nestjik/AlgebraCSharp2019",
"max_stars_repo_path": "ConsoleApp1/8.2.1/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149370"
} | starcoder | <reponame>Nestjik/AlgebraCSharp2019
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _8._2._1
{
class Program
{
static void Main(string[] args)
{
Console.Write(Static.Kub(2));
Console.Read();
... | 1.809997 | 0b6f0ec3cd76973a63996d8b93a04dd7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830151 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nissbran/identity-server-workshop",
"max_stars_repo_path": "src/Bank.Infrastructure/Configuration/EventStoreSingleNodeConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149371"
} | starcoder | namespace Bank.Infrastructure.Configuration
{
public class EventStoreSingleNodeConfiguration : IEventStoreConfiguration
{
public bool UseSingleNode { get; }
public string SingleNodeConnectionUri { get; }
public IEventStoreClusterConfiguration ClusterConfiguration { get; }
publi... | 1.830637 | d38ef26b0aa107d4e8fe0a165b31ec6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830152 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "micro-elements/MicroElements.MetadataModel",
"max_stars_repo_path": "src/MicroElements.Metadata/Metadata/IPropertyValueFactoryProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149372"
} | starcoder | <gh_stars>1-10
// Copyright (c) MicroElements. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace MicroElements.Metadata
{
/// <summary>
/// P... | 2.468244 | ec784d6f4b2de278085f1a6cdfe77d31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830153 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LePtitDev/Meziantou.Framework",
"max_stars_repo_path": "src/Meziantou.Framework.IO.Compound/CompoundProperty.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149373"
} | starcoder | <reponame>LePtitDev/Meziantou.Framework
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Meziantou.Framework.IO.Compound
{
/// <summary>
/// Represents a Compound file property.
/// </summary>
[DebuggerDisplay("Name={Name}, Id={Id}, Value={Value}")]
public sealed... | 1.649577 | e45a576eba7bb0ab33108e08ec516476 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zm55/-shader",
"max_stars_repo_path": "Assets/Demo_PageTurning/PageTurning.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149374"
} | starcoder | using UnityEngine;
using System.Collections;
using DG.Tweening;
public class PageTurning : MonoBehaviour
{
private Material m_Material;
// Use this for initialization
void Start ()
{
m_Material = GetComponent<MeshRenderer>().material;
}
// Update is called once per frame
void U... | 1.926945 | e1b70c2313094cf04ee7498d7e7401d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830155 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joost-morsink/Rest",
"max_stars_repo_path": "Biz.Morsink.Rest.HttpConverter.Json/JsonContractResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149375"
} | starcoder | using Newtonsoft.Json.Serialization;
using System;
using System.Collections.Generic;
using System.Text;
namespace Biz.Morsink.Rest.HttpConverter.Json
{
/// <summary>
/// A contract resolver for Json serialization.
/// Most resolving is done in the intermediate serialization object layer, but DateTime is c... | 2.494617 | 60120696d0deb1fbb23910b56a9ac582 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830156 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rain0Ash/NetExtender",
"max_stars_repo_path": "NetExtender.UserInterface.WindowsPresentation/Types/Windows/PrimaryWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149376"
} | starcoder | // This is an independent project of an individual developer. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com
using System;
using System.Windows;
using NetExtender.Utilities.UserInterface;
namespace NetExtender.UserInterface.WindowsPresentation.Wind... | 1.862831 | b3435edab8a75a367e89740b931eddbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830157 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AppSlope/dotnet-webapi-boilerplate",
"max_stars_repo_path": "src/Infrastructure/BackgroundJobs/HangfireStorageSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149377"
} | starcoder | namespace DN.WebApi.Infrastructure.BackgroundJobs;
public class HangfireStorageSettings
{
public string? StorageProvider { get; set; }
public string? ConnectionString { get; set; }
} | 1.218239 | 93ef9e06d474c0dd4b95bb52139ec63c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830158 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "rowanshah/Watson-Unity-VisualRecognition",
"max_stars_repo_path": "Assets/unity-facerec/Scripts/Services/CompareComply/V1/Model/BodyCells.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149378"
} | starcoder | /**
* Copyright 2018, 2019 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 1.903525 | 7763c8e9389af887687a908169fee28c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830159 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ImYellowFish/PawpawWarRemake",
"max_stars_repo_path": "Assets/_Script/Utility/StateMachine/Editor/TransitionHistoryTrackWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149379"
} | starcoder | using UnityEngine;
using UnityEditor;
using System.Collections;
namespace MonsterLove.StateMachine
{
public class TransitionHistoryTrackWindow : EditorWindow
{
private const int START_FRAME_INDEX = 2;
StateMachineDebugger.TransitionRecord record = new StateMachineDebugger.TransitionRecord { in... | 2.396735 | 5a82a53905c65b20cdd9b6eaee5037ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830160 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wslyvh/MS-Enterprise-patterns-practices",
"max_stars_repo_path": "Samples/wslyvh.Core.Samples.Service/OrderService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149380"
} | starcoder | using System;
using System.Collections.Generic;
namespace wslyvh.Core.Samples.Service
{
public class OrderService : IOrderService
{
private readonly IOrderRepository _repository;
public OrderService(IOrderRepository repository)
{
_repository = repository;
}
... | 2.61961 | 17e7cf14492dc873b3bf80db8b545055 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830161 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uwx/HSNXT.DSharpPlus.Legacy",
"max_stars_repo_path": "HSNXT.Test.VLCRPC/unirest-net-master/Unirest/HttpResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149381"
} | starcoder | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace HSNXT.Test.VLCRPC.Unirest
{
public class HttpResponse<T>
{
public int Code { get; }
public Dictionary<string, string> Headers { get; }
... | 2.694663 | a717ee83df8d48c932614fa10e7cb4a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830162 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "adamsitnik/ExceptionalExceptions",
"max_stars_repo_path": "Demo/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149382"
} | starcoder | <reponame>adamsitnik/ExceptionalExceptions
using System;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
namespace Demo
{
public class Program
{
public static void Main(string[] args)
{
Switch
(
args,
#if !CORE
new S... | 2.708662 | ea632f3af68e63fcc2891a7422385e8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830163 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "emperorstarfinder/METAbolt",
"max_stars_repo_path": "METAbolt/GUI/Dialogs/Profile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149383"
} | starcoder | <gh_stars>1-10
// Copyright (c) 2008 - 2014, www.metabolt.net (METAbolt)
// Copyright (c) 2006-2008, <NAME> (a.k.a. Delta)
// All rights reserved.
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
// * Red... | 1.709031 | cf11222d6a38968fd33de2b4a1ecbb78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830164 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mentalist-dev/Mentalist.ReverseProxy",
"max_stars_repo_path": "src/Mentalist.ReverseProxy/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149384"
} | starcoder | using Mentalist.ReverseProxy.Consul;
using Mentalist.ReverseProxy.Limits;
using Mentalist.ReverseProxy.LogzIo;
using Mentalist.ReverseProxy.Metrics;
using Mentalist.ReverseProxy.Routing;
using Mentalist.ReverseProxy.Routing.Middleware;
using Mentalist.ReverseProxy.Settings;
using Mentalist.ReverseProxy.Status;
using Mi... | 1.411294 | 23554695a2f91ecedf2656fdc55b309d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830165 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iOuroboros/Sample",
"max_stars_repo_path": "SamplePlugin-master/SamplePlugin/Plugin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149385"
} | starcoder | <filename>SamplePlugin-master/SamplePlugin/Plugin.cs
using Dalamud.Game.Command;
using Dalamud.IoC;
using Dalamud.Plugin;
using System.IO;
using System.Reflection;
namespace SamplePlugin
{
public sealed class Plugin : IDalamudPlugin
{
public string Name => "Collectible Tracker";
private const... | 2.28943 | 151bd553335d0503641ec5429ff28eaa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830166 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "likeleon/ZangSiSee",
"max_stars_repo_path": "ZangSiSee/BaseNotify.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149386"
} | starcoder | <reponame>likeleon/ZangSiSee
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace ZangSiSee
{
public interface IDirty
{
bool IsDirty { get; set; }
}
public class BaseNotify : INotifyPropertyChanged, IDisposable
{
... | 2.627123 | 6e4445fd9e09bf81c0e139ba09c6873b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830167 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "mhwlng/fip-elite",
"max_stars_repo_path": "Elite/Templates/missions.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:149387"
} | starcoder | <reponame>mhwlng/fip-elite
@using System
@using System.Collections.Generic
@using Elite
@using System.Linq
@using System.Security.Cryptography.X509Certificates
@{
Layout = "layout.cshtml";
}
<div class="main">
<div class="cardcaption"> </div>
@if (Model.MissionList.Count == 0)
{
... | 2.143146 | ddba3744bf025e4f18708ffcf4667c38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830168 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hsulipe/UmHelper-desafio-tecnico",
"max_stars_repo_path": "UmHelpFinanceiro/DomainEventHandlers/Transactions/RevertTransactionEventHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149388"
} | starcoder | <reponame>hsulipe/UmHelper-desafio-tecnico
using Domain.DomainEvents.Transactions;
using MediatR;
using System.Threading;
using System.Threading.Tasks;
using UmHelpFinanceiro.Services.Users;
namespace UmHelpFinanceiro.DomainEventHandlers.Transactions
{
public class RevertTransactionEventHandler : INotificationHan... | 1.916463 | 5c7a32c1ebfe039e6f74a9d47a0ec4b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830169 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "chuxuantinh/InformationPortal-ct",
"max_stars_repo_path": "Tools/Portal.Migrator/MigratorModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149389"
} | starcoder | using System.Data.Entity;
using System.Reflection;
using Abp.AutoMapper;
using Abp.Modules;
using Portal.Data;
using Portal.MapperConfig.Profiles;
namespace Portal.Migrator
{
[DependsOn(
typeof(DataModule),
typeof(AbpAutoMapperModule)
)]
public class MigratorModule : AbpModule
{
... | 1.770385 | 7f810b6daedcb7af9dacbf38b4a1302e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830170 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ulyssesp/PersonalityQuirks",
"max_stars_repo_path": "Assets/Scripts/MlAgents/Events/Events.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149390"
} | starcoder | using System;
using UnityEngine;
public enum QuarkEventType {
All,
CollisionEnter,
CollisionExit,
Consumable,
Create,
Distance,
Reset,
Tag,
Tagging,
Transform,
}
[Serializable]
public class QuarkEvent : System.Object {
public QuarkEventType Type;
public int Id;
public string Tag;
}
[Seriali... | 2.27111 | d12ecafcd0c254f94935a981c1cbb554 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830171 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "MentorSource/mentorbot",
"max_stars_repo_path": "tests/MentorBot.Tests/Core/Localize/StringLocalizerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149391"
} | starcoder | <reponame>MentorSource/mentorbot
using MentorBot.Localize;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MentorBot.Tests.Core.Localize
{
[TestClass]
[TestCategory("Core.Localize")]
public sealed class StringLocalizerTests
{
[TestMethod]
public void StringLocalizerSelfR... | 2.065681 | 2e66344641eb9a0df7b3212f5b3e0449 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830172 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hishamco/parlot",
"max_stars_repo_path": "src/Parlot/Scanner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149392"
} | starcoder | <filename>src/Parlot/Scanner.cs<gh_stars>0
using System;
namespace Parlot
{
/// <summary>
/// This class is used to return tokens extracted from the input buffer.
/// </summary>
public class Scanner
{
public readonly string Buffer;
public Cursor Cursor;
/// <summary>
... | 3.356792 | 2462cfedea2e70dc86e9e7f85db79dd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830173 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "telerik/maui-samples",
"max_stars_repo_path": "Samples/SdkBrowser/Examples/BadgeViewControl/FeaturesCategory/BadgeTypesExample/BadgeTypes.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149393"
} | starcoder | <reponame>telerik/maui-samples
using Microsoft.Maui.Controls.Xaml;
using System;
using Telerik.Maui.Controls;
using Telerik.XamarinForms.Primitives;
namespace SDKBrowserMaui.Examples.BadgeViewControl.FeaturesCategory.BadgeTypesExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class Ba... | 1.647436 | cfbd4baf722954e3b40279aeb85a31b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830174 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dma198/commanet.Excel",
"max_stars_repo_path": "Tests/DbTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149394"
} | starcoder | <reponame>dma198/commanet.Excel
using System;
using System.IO;
using System.Reflection;
using Xunit;
using commanet.Excel;
using commanet.Db;
namespace OpenXML.Tests
{
public class DbTests
{
private SQLDBConnection db;
public DbTests()
{
db = new SQLDBConnect... | 2.81314 | 5235f772c9d8cf1ed05295503cc042d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830175 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jr-robotics/RobSharper.Ros.MessageEssentials",
"max_stars_repo_path": "RobSharper.Ros.MessageEssentials/RosServiceInfoExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149395"
} | starcoder | <reponame>jr-robotics/RobSharper.Ros.MessageEssentials<filename>RobSharper.Ros.MessageEssentials/RosServiceInfoExtensions.cs
using System.Text;
namespace RobSharper.Ros.MessageEssentials
{
public static class RosServiceInfoExtensions
{
public static string GetServiceDefinition(this IRosServiceInfo serv... | 2.257813 | 0b4fd9df63902cf683830d96b1011bb2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830176 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "governmentbg/nacid-visad",
"max_stars_repo_path": "VisaD.Data/Users/Enums/FeedbackSubject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149396"
} | starcoder | <filename>VisaD.Data/Users/Enums/FeedbackSubject.cs
using System.ComponentModel;
namespace VisaD.Data.Users.Enums
{
public enum FeedbackSubject
{
[Description("Въпрос")]
Question = 1,
[Description("Предложение")]
Suggestion = 2,
[Description("Технически проблем")]
TechnicalIssue = 3
}
}
| 2.309356 | becfa8cd82dc369b16f247c7ccf05173 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830177 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ravi-2912/3D-Finite-Element-Analysis",
"max_stars_repo_path": "3D Finite Element Analysis/gener/readmesh.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149397"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FEA3D.model;
using FEA3D.fea;
using FEA3D.util;
namespace FEA3D.gener
{
// Read mesh data from text file.
// Input: modelName - name of the finite element model;
// fileName - name of the file.
public class re... | 2.387781 | c33ef6723eeb77446493d13e072759e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830178 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rin6321910/Github-GameOff-2021",
"max_stars_repo_path": "Assets/Plugins/Pixel Crushers/Common/Wrappers/UI/InputDeviceManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149398"
} | starcoder | <gh_stars>1-10
// Copyright (c) Pixel Crushers. All rights reserved.
using UnityEngine;
namespace PixelCrushers.Wrappers
{
/// <summary>
/// This script checks for joystick and keyboard input. If the player uses a joystick,
/// it enables autofocus. If the player uses the mouse or keyboard, it disables ... | 1.611475 | ed4a3e6e424916106e90e7cf3b891b38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830179 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MuilaerteJunior/Training",
"max_stars_repo_path": "C#/LearningProjects/Language_Internals/dynamic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149399"
} | starcoder | using System;
using System.Linq;
class Program {
static void Main() {
dynamic x = Add(1, 2);
Console.WriteLine((object) x);
Console.ReadLine();
dynamic d = Add(DateTime.Now, TimeSpan.Zero);
Console.WriteLine((object) d);
Console.ReadLine();
dynamic s = Add(... | 3.383935 | 4958a436645e0ef3d8b2b5b7995eedbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830180 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "nikhgup/NuGet.Jobs",
"max_stars_repo_path": "src/NuGet.Services.Revalidate/Initialization/PackageRegistrationInformation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149400"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace NuGet.Services.Revalidate
{
public class PackageRegistrationInformation
{
public int Key { get; set; }
public string... | 1.187931 | c509c58aab797842bc8b1e1228fee32b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830181 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shzhuan/shzhuan",
"max_stars_repo_path": "Assets/InControl/OuyaEverywhere/OuyaEverywhereDevice.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149401"
} | starcoder | <reponame>shzhuan/shzhuan
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
#if UNITY_ANDROID && INCONTROL_OUYA && !UNITY_EDITOR
using tv.ouya.console.api;
#endif
namespace InControl
{
public class OuyaEverywhereDevice : InputDevice
{
const float LowerDeadZone = 0.2f;
... | 1.970529 | d601942dc2d2edd423e87b7d8912d31d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830182 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sandrock/SrkToolkit",
"max_stars_repo_path": "Sources/SrkToolkitSL.ServiceWrapper/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149402"
} | starcoder | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("SrkToolkitSL.ServiceWrapper")]
[assembly: AssemblyDescription("Wrapper for an async WCF channel")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Srk")]
[assembly:... | 1.470072 | 3e7ac5cf01d12665c6e2b9ef2e94ea5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830183 | {
"extension": "c-sharp",
"max_stars_count": "65.0",
"max_stars_repo_name": "johnmbaughman/oxyplot-xamarin",
"max_stars_repo_path": "Source/Examples/Xamarin.Forms/IssueDemos/IssueDemos/Pages/TapDemo/MainPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149403"
} | starcoder | <gh_stars>10-100
namespace IssueDemos.Pages.TapDemo
{
using System.Collections.Generic;
using System.Linq;
using System.Windows.Input;
using OxyPlot;
using OxyPlot.Axes;
using OxyPlot.Series;
using OxyPlot.Xamarin.Forms;
using Xamarin.Forms;
[DemoPage("TabbedPage with ItemTemplate"... | 2.497381 | 205d19774ebdfd677c7136d95253854f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830184 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MatthewSmit/.netScript",
"max_stars_repo_path": "NetScriptTest/NetScriptTest.language.types.string.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149404"
} | starcoder | <filename>NetScriptTest/NetScriptTest.language.types.string.cs
using Xunit;
namespace NetScriptTest.language.types
{
public sealed class Test_string : BaseTest
{
[Fact(DisplayName = "/language/types/string/S8.4_A1.js")]
public void Test_S8_4_A1_js()
{
RunTest("langu... | 1.827352 | 18678d4eb241ce5d17db46becfed3afb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830185 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vitalikpi/BitcaskNet",
"max_stars_repo_path": "BitcaskNet.Test/FileSystemStrategyTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149405"
} | starcoder | using DBBackend.Shared;
using System.IO;
using System.Linq;
using Xunit;
namespace BitcaskNet.Test
{
public class FileSystemStrategyTest
{
[Fact]
public void Test()
{
var expectedFileList = new[] {"1.bitcask.data", "2.bitcask.data", "3.bitcask.data"};
var direct... | 2.475211 | 7c91ff0c864cbb479913b5ad63291084 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830186 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wallysonic/Hyperativa",
"max_stars_repo_path": "TesteH/TesteH/Controllers/HomeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149406"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TesteH.Models;
namespace TesteH.Controllers
{
public class HomeController : Controller
{
private log4net.ILog logger;
public ActionResult Index()
{
... | 2.09326 | 99a8372e0e605f07c27f031d333c3176 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830187 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "perpet99/BlazorLeaflet",
"max_stars_repo_path": "BlazorLeaflet/BlazorLeaflet.Samples/Models/SchemaMigration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149407"
} | starcoder | <reponame>perpet99/BlazorLeaflet
using System;
using System.Collections.Generic;
#nullable disable
namespace BlazorLeaflet.Samples.Models
{
public partial class SchemaMigration
{
public long Version { get; set; }
public DateTime? InsertedAt { get; set; }
}
}
| 1.43875 | 5309c9eac2a445a51599068e609c6f50 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830188 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "pintov/NetduinoWiFiXYGantryCNCPlotter",
"max_stars_repo_path": "ProfERP.Netduino.GCodeParser/ProfERP.Netduino.GCodeParser/Parser/GcodeParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149408"
} | starcoder | using Microsoft.SPOT;
using System;
using System.Text;
namespace ProfERP.Netduino.GCodeParser
{
public class GCodeParser
{
private GCodeMachine machine;
private char[] NumberBuffer = new char[20];
private int NumberBufferIndex = 0;
private bool DeletedLine = fa... | 2.81574 | 0e73053431b9327da54a4bf4cf6b4ffb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830189 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rschavali02/computer-game-simulation-programming",
"max_stars_repo_path": "2018/4th/Utah_Morgan/FBLAGame/Assets/Scripts/Editor/DialogueEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149409"
} | starcoder | <reponame>rschavali02/computer-game-simulation-programming
#if UNITY_EDITOR
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
public class DialogueEditor : EditorWindow
{
/// <summary>
/// The target being serialized
/// </summary>
public Dialogue myDialogue;
/... | 2.340169 | d9e3148e4a7b6b2c8b0b843d98737dbf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830190 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "cschulzsuper/paula",
"max_stars_repo_path": "src/application/Transport.Contract/Inventory/Events/BusinessObjectInspectionEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149410"
} | starcoder | using System.ComponentModel.DataAnnotations;
using Super.Paula.Validation;
namespace Super.Paula.Application.Inventory.Events
{
public class BusinessObjectInspectionEvent
{
[StringLength(140)]
public string? BusinessObjectDisplayName { get; set; }
[KebabCase]
[StringLength(140... | 1.819336 | b5898fc7ad0fbc7ec351b2709783b5b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830191 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MiyaSteven/CSharp",
"max_stars_repo_path": "fullStackAssignments/BankAccounts/Controllers/HomeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149411"
} | starcoder | using System;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using BankAccounts.Models;
using System.Diagnostics;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
namespace BankAccounts.Controllers
{
public class HomeControll... | 2.464074 | 7724e423fdffdcae5a4dca18b26bcddf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830192 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "pratoservices/extjswebdriver",
"max_stars_repo_path": "ExtjsWd/BaseScenarioTestCase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149412"
} | starcoder | using ExtjsWd.Exceptions;
using NUnit.Framework;
using OpenQA.Selenium;
namespace ExtjsWd
{
public abstract class BaseScenarioTestCase
{
protected IWebDriver Driver
{
get { return ScenarioFixture.Instance.Driver; }
}
[TearDown]
public void PrintExceptionsIf... | 1.833594 | ce82f3a094b3ec2911b0e81c47e62d85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830193 | {
"extension": "c-sharp",
"max_stars_count": "282.0",
"max_stars_repo_name": "DPS2004/quest",
"max_stars_repo_path": "WebEditor/WebEditor/Views/Edit/StringListEditor.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:149413"
} | starcoder | <reponame>DPS2004/quest
@model WebEditor.Models.StringList
<div class="ui-widget-header ui-corner-all toolbar">
@{
string addId = "stringlist-" + Model.Attribute + "-add";
string editId = "stringlist-" + Model.Attribute + "-edit";
string deleteId = "stringlist-" + Model.Attribute + "... | 2.433276 | 7704d748fad2bd631dc571246841d175 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830194 | {
"extension": "c-sharp",
"max_stars_count": "304.0",
"max_stars_repo_name": "js8080/jaeger-client-csharp",
"max_stars_repo_path": "src/Jaeger.Core/Samplers/HTTP/RateLimitingSamplingStrategy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149414"
} | starcoder | <gh_stars>100-1000
using System.Collections.Generic;
using Jaeger.Util;
namespace Jaeger.Samplers.HTTP
{
public class RateLimitingSamplingStrategy : ValueObject
{
public double MaxTracesPerSecond { get; }
public RateLimitingSamplingStrategy(double maxTracesPerSecond)
{
MaxT... | 1.857013 | b509b0b7d2334c4aabee14323e476e9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830195 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Red-Folder/WeHackSecrets",
"max_stars_repo_path": "WeHackSecrets/Services/Actions/SecretsList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149415"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using WeHackSecrets.Services.Models;
namespace WeHackSecrets.Services.Actions
{
public class SecretsList : ISecretsList
{
private re... | 2.3546 | 516189c7a7c83052e8c606601b433ada |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830196 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "youugotssponged/GGJ2022",
"max_stars_repo_path": "Assets/_Project/Scripts/SceneLoaders/LoadIntoScene.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149416"
} | starcoder | using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public class LoadIntoScene : MonoBehaviour
{
public Image OverlayToFade;
public Text TextTitle;
public Text TextDisc;
private Color TEXTRGB;
public void Start()
{
StartCoroutine(FadeToBlack());
TEXTRGB = TextTit... | 2.485976 | cf0ffa6bbc1046c79b903408bb2a03f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830197 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "john29917958/Design-Patterns",
"max_stars_repo_path": "Decorator/CSharp/Attributes/Attributes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149417"
} | starcoder | <reponame>john29917958/Design-Patterns
namespace Decorator.Attributes
{
public class Attributes
{
public virtual int MaxHealth { get; protected set; }
public virtual int MaxMana { get; protected set; }
public virtual int Attack { get; protected set; }
public virtual int Defense ... | 2.187937 | 10703519edb542f37efc335b8028fc73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830198 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasonliaocn/dp2",
"max_stars_repo_path": "DigitalPlatform/ThreadBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149418"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Security.Permissions;
namespace DigitalPlatform
{
/// <summary>
/// 线程基础类
/// </summary>
[PermissionSet(SecurityAction.Demand, Name = "FullTrust")]
[System.Runtime.InteropServ... | 2.621747 | e63de8a54967e0fa292779eb8aabd073 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830199 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "fossabot/stankins",
"max_stars_repo_path": "stankinsv2/solution/StankinsV2/Stankins.Razor/SenderToTypeScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149419"
} | starcoder | <filename>stankinsv2/solution/StankinsV2/Stankins.Razor/SenderToTypeScript.cs
using Stankins.Interfaces;
using StankinsCommon;
using System;
using System.Collections.Generic;
using System.Text;
namespace Stankins.Razor
{
/// <summary>
/// Usage in console:
/// execute -o ReceiveRestFromFile -a e:\ignatan... | 2.321427 | 8bd4331804171cac0e6f397d058eb49e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830200 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lucasgmagalhaes/hubook",
"max_stars_repo_path": "Dort/Dort.Entity/User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149420"
} | starcoder | <filename>Dort/Dort.Entity/User.cs
using Dort.Entity.Attributes;
using System.Collections.Generic;
namespace Dort.Entity
{
[DapperTable("UserApp")]
public class User : IBaseEntity<long>
{
public long Id { get; set; }
public string Name { get; set; }
public string Email { get; set; ... | 2.155821 | 19ee8e06ceb9ad54acb0005255d65130 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830201 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "masoud-bahrami/CraftingDesignUsingTDD",
"max_stars_repo_path": "GoldInvestment/Hexagon/GoldInvestemtn.Framework.Tests/CommandDispatcherTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149421"
} | starcoder | <filename>GoldInvestment/Hexagon/GoldInvestemtn.Framework.Tests/CommandDispatcherTests.cs
using GoldInvestment.ApplicationService;
using GoldInvestment.Infrastructure.UnitTests.Helpers;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace GoldInvestment.Infrastructure.UnitTests
{
public class Com... | 2.1802 | e5337d81a08a591ce949d052fa7012ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830202 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Buketpeh/E-ticaret-website",
"max_stars_repo_path": "E_ticaret/E_ticaret/Controllers/OdemelerController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149422"
} | starcoder | <gh_stars>0
using E_ticaret.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace E_ticaret.Controllers
{
public class OdemelerController : Controller
{
// GET: Odemeler
Model1 k = new Model1();
#region Odemeleer
... | 1.946528 | 37520c7521c27455140772bb66979095 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830203 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "elix22/SDL-DNA",
"max_stars_repo_path": "VisualC/tests/DotNetSDL/TestApp/chap5-SimpleUtilityClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149423"
} | starcoder | <reponame>elix22/SDL-DNA
using System;
using System.Collections.Generic;
using System.Text;
namespace SimpleUtilityClass
{
// Static classes can only
// contain static members!
// TBD ELI
static class TimeUtilClass
{
public static void PrintTime()
{ Console.WriteLine(/*... | 2.616842 | 8f66b6d02f7e46b97bbd2746dbc26c5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830204 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "xdedzl/XFramework",
"max_stars_repo_path": "XFramework/Assets/XFramework/Core/Editor/Modules/Resource/AssetBundleEditor.BuildTab.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149424"
} | starcoder | <filename>XFramework/Assets/XFramework/Core/Editor/Modules/Resource/AssetBundleEditor.BuildTab.cs<gh_stars>10-100
using UnityEditor;
using UnityEngine;
using System.IO;
using System.Collections.Generic;
using XFramework.Resource;
namespace XFramework.Editor
{
public partial class AssetBundleEditor
{
p... | 1.89579 | 7214aba7801cc347d8984002256a2ffe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830205 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "DanielWieder/PoeCraftLib",
"max_stars_repo_path": "src/Simulator/DomainToClientMapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149425"
} | starcoder | using AutoMapper;
namespace PoeCraftLib.Simulator
{
public class DomainToClientMapper
{
public IMapper GenerateMapper()
{
var configuration = new MapperConfiguration(cfg =>
{
cfg.CreateMap<Entities.Items.Equipment, Model.Items.Equipment>();
... | 2.07627 | 57588f5f2aca6d65c1314acbe9731bc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830206 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrbelowski/r3e_crewchief_v2",
"max_stars_repo_path": "CrewChiefV2/DamageReporting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149426"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CrewChiefV2.Data;
namespace CrewChiefV2.Events
{
class DamageReporting : AbstractEvent
{
private String folderMinorTransmissionDamage = "damage_reporting/minor_transmission_damage";
private String fold... | 2.071508 | 19a4e2d32300fba01b6e4940e2c0e20c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830207 | {
"extension": "c-sharp",
"max_stars_count": "86.0",
"max_stars_repo_name": "AstrorEnales/SaltarelleCompiler",
"max_stars_repo_path": "Runtime/CoreLib.Tests/NamerTests/GetStateMachineLoopLabelTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149427"
} | starcoder | using System.Collections.Generic;
using CoreLib.Plugin;
using NUnit.Framework;
namespace CoreLib.Tests.NamerTests {
[TestFixture]
public class GetStateMachineLoopLabelTests {
[Test]
public void ReturnsUniqueLoopLabels() {
var n = new Namer();
Assert.That(n.GetStateMachineLoopLabel(new HashSet<string>()), ... | 2.316695 | 8f65de3ef9779a1ec2ee83092e2b9b5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830208 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yufeih/Nine.Common",
"max_stars_repo_path": "src/ObjectExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149428"
} | starcoder | <gh_stars>0
namespace System.Reflection
{
using System.Collections.Generic;
using System.Linq;
static class ObjectExtensions
{
private static Func<object, object> _memberwiseClone;
static ObjectExtensions()
{
var clone = typeof(object).GetTypeInfo().GetDe... | 2.517756 | 90ddf65300bc52adece4bd8e977ff596 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830209 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nsswebservices/Umbrastic",
"max_stars_repo_path": "samples/Umbrastic.Sample_v7_6_1/App_Start/UmbracoApplicationEventHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149429"
} | starcoder | using System.Web.Http;
using System.Web.Mvc;
using System.Web.Routing;
using Umbraco.Core;
namespace Umbrastic.Sample_v7_6_1
{
public class UmbracoApplicationEventHandler : ApplicationEventHandler
{
protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContex... | 1.431041 | 8045a1310928cd3e7bf443c579d96ec5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830210 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gosystemsgmbh/RI_Framework",
"max_stars_repo_path": "RI.Framework.Common/Services/Messaging/Dispatchers/_NamespaceDoc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149430"
} | starcoder | using System.Runtime.CompilerServices;
namespace RI.Framework.Services.Messaging.Dispatchers
{
/// <summary>
/// Contains specialized message dispatchers.
/// </summary>
[CompilerGenerated]
public sealed class NamespaceDoc
{
}
}
| 1.09523 | 7b657161bf33a33fe655470e7f6dd658 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830211 | {
"extension": "c-sharp",
"max_stars_count": "198.0",
"max_stars_repo_name": "renick/MigraDocPlusXML.Core",
"max_stars_repo_path": "MigraDocPlusXml/MigraDoc.DocumentObjectModel/DocumentObjectModel.Visitors/RtfFlattenVisitor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149431"
} | starcoder | #region MigraDoc - Creating Documents on the Fly
//
// Authors:
// <NAME>
// <NAME>
// <NAME>
//
// Copyright (c) 2001-2019 empira Software GmbH, Cologne Area (Germany)
//
// http://www.pdfsharp.com
// http://www.migradoc.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is hereby granted, free of ... | 2.096607 | cc25993b51f47e17ffd3f8075f1a9baf |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.