added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69933 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Twometer/Echo",
"max_stars_repo_path": "Echo.Network/Base/IPacketRegistry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69934"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Echo.Network.Base
{
public interface IPacketRegistry<T> where T : class, IPacket
{
Type FindPacketType(int pid);
}
}
| 1.709024 | 364e3da2e1f9552802ca3245641c364c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69934 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PeterAsenov22/TimeTable",
"max_stars_repo_path": "TimeTable.UI/Models/Project.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69935"
} | starcoder | namespace TimeTable.UI.Models
{
using System;
using System.Collections.Generic;
public partial class Project
{
public Project()
{
ProjectHours = new HashSet<ProjectHours>();
ProjectMonths = new HashSet<ProjectMonths>();
}
public decimal ProjectId... | 2.489418 | 27d5bec2e61f60fc1eb119b154bad60b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69935 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "Uintra/Uintra",
"max_stars_repo_path": "src/Uintra/Core/Search/Queries/DeleteByType/DeleteSearchableActivityByTypeSpecificationFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69936"
} | starcoder | <filename>src/Uintra/Core/Search/Queries/DeleteByType/DeleteSearchableActivityByTypeSpecificationFactory.cs<gh_stars>10-100
using Compent.Shared.Search.Elasticsearch;
using Uintra.Core.Search.Entities;
namespace Uintra.Core.Search.Queries.DeleteByType
{
public class DeleteSearchableActivityByTypeSpecificationFact... | 1.976244 | cc09f6f8f99174c0a2e7b795bb7c03b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69936 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/roslyn",
"max_stars_repo_path": "src/VisualStudio/Core/Def/Implementation/FindReferences/IFindAllReferencesWindowExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69937"
} | 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.
using System.Linq;
using Microsoft.VisualStudio.Shell.FindAllReferences;
using Microsoft.VisualStudio.Shell.TableCo... | 1.69279 | b4a338df0878a6733e1fb9731d690fa8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69937 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jackwakefield/BinarySerializer",
"max_stars_repo_path": "BinaryDataSerializer/LastItemMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69938"
} | starcoder | namespace BinaryDataSerialization
{
/// <summary>
/// Used in conjunction with the ItemSerializeUntilAttribute to specify handling of the last item in a collection.
/// </summary>
public enum LastItemMode
{
/// <summary>
/// Include the last item of a collection in the colle... | 2.462605 | b84facf423624e5137768e2e856be196 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69938 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-forecasting-tool",
"max_stars_repo_path": "src/SFA.DAS.Forecasting.Application/Levy/Services/LevyDataSession.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69939"
} | starcoder | using SFA.DAS.Forecasting.Data;
using SFA.DAS.Forecasting.Domain.Levy.Services;
using SFA.DAS.Forecasting.Models.Levy;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using SFA.DAS.Forecasting.Domain.Levy;
namesp... | 2.376391 | c0b6891f175f97f4c5606d0879b78fb8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69939 | {
"extension": "c-sharp",
"max_stars_count": "143.0",
"max_stars_repo_name": "sucrose0413/eShopOnContainersDDD",
"max_stars_repo_path": "src/Contexts/Catalog/Domain/Handlers/Product/Handler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69940"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Aggregates;
using NServiceBus;
namespace eShop.Catalog.Product
{
public class Handler :
IHandleMessages<Commands.Add>,
IHandleMessages<Commands.Remove>,
IHandleMessages<Commands.SetPictu... | 2.431168 | c355293fee719d9b66a8430b09d19098 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69940 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GTEVO/MessagePackAOTSimple",
"max_stars_repo_path": "Program/Common/Network/KcpLink.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69941"
} | starcoder | <reponame>GTEVO/MessagePackAOTSimple
using System;
using System.Collections.Generic;
using System.Text;
using System.Net.Sockets.Kcp;
using System.Buffers;
using System.Threading;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflow;
namespace CommonLib.Network
{
public class KcpLink : IReliableDat... | 2.076456 | cc8301fe2a0a13bb083df1eabce08ab9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69941 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dumblar/prontoservicio",
"max_stars_repo_path": "Servicio.Core/Models/TblUsuarios.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69942"
} | starcoder | <reponame>dumblar/prontoservicio
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Servicio.Core.Models
{
public class TblUsuarios
{
public string Id_Us... | 2.140681 | bdb4397401991f5ac4932746abf7b918 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69942 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ianhorswill/CitySimulator",
"max_stars_repo_path": "Assets/Codes/Institution/InstitutionManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69943"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
// the InstitutionGenerator includes methods needed to generate an Institution
public class InstitutionManager : SimulatorComponent
{
// store all the institutions been constructed
public static List<Institution> institutio... | 2.922203 | 31e9f1e5b434ef3141b8d6fa142ed0b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69943 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "mchudy/stock-exchange-investor",
"max_stars_repo_path": "src/StockExchange.Business/Extensions/IQueryableExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69944"
} | starcoder | <filename>src/StockExchange.Business/Extensions/IQueryableExtensions.cs
using StockExchange.Common;
using StockExchange.Common.Extensions;
using StockExchange.Common.LinqUtils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace StockExchange.Business.Ex... | 2.90401 | f36e3f403c9aa3c4382ccbf43a8380d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69944 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mattleibow/Win2DSourceThing",
"max_stars_repo_path": "MainPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69945"
} | starcoder | <reponame>mattleibow/Win2DSourceThing
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
using Microsoft.Graphics.Canvas;
using Microsoft.Graphics.Canvas.Text;
using Microsoft.Graphics.Canvas.UI.Xaml;
using Sys... | 1.992006 | d7fc81ba252d5ae75024f35d6b0627b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69945 | {
"extension": "c-sharp",
"max_stars_count": "92.0",
"max_stars_repo_name": "gabrielmaxii/bankflix",
"max_stars_repo_path": "server/src/Core.Domain/Repository/MongoSequenceRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69946"
} | starcoder | using Core.Domain.Interfaces;
using Core.Domain.Models;
using Microsoft.Extensions.Configuration;
using MongoDB.Driver;
namespace Core.Domain.Repository
{
public class MongoSequenceRepository : IMongoSequenceRepository
{
private readonly IConfiguration _configuration;
private readonly IMongoCl... | 2.764549 | a614f67231c4b57bdc81244603c0bc20 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69946 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "codiply/epsilon",
"max_stars_repo_path": "Epsilon/Epsilon.Logic/Services/Interfaces/IIpAddressActivityService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69947"
} | starcoder | <gh_stars>1-10
using Epsilon.Logic.Constants.Enums;
using System.Threading.Tasks;
namespace Epsilon.Logic.Services.Interfaces
{
public interface IIpAddressActivityService
{
Task RecordWithUserId(string userId, IpAddressActivityType activityType, string ipAddress);
Task RecordWithUserEm... | 1.563204 | 88ad055654ba855185af2bab45b9ecc1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69947 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "realyrare/ShenNiusFramework",
"max_stars_repo_path": "src/ShenNius.Share.Infrastructure/Extensions/WebExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69948"
} | starcoder | using System;
/*************************************
* 类名:StaticExtension
* 作者:realyrare
* 邮箱:<EMAIL>
* 时间:2021/8/2 18:06:12
*┌───────────────────────────────────┐
*│ 版权所有:神牛软件 │
*└───────────────────────────────────┘
**************************************/
namespace ShenNius.Share.Infrastructure.Ex... | 2.548917 | 5360d2ca38039bad44b2eb2c3d59f306 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69948 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "oridashi/CDAAU",
"max_stars_repo_path": "nehta_cda_v4.3.0/CDA.Generator.Common/Common/Enums/MedicalBenefitCategoryType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69949"
} | starcoder | /*
* Copyright 2013 NEHTA
*
* Licensed under the NEHTA Open Source (Apache) License; you may not use this
* file except in compliance with the License. A copy of the License is in the
* 'license.txt' file, which should be provided with this work.
*
* Unless required by applicable law or agreed to in writing, so... | 2.053287 | 691595c093cda482655ee6226530e065 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69949 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "tpxxn/-ByTpxxn",
"max_stars_repo_path": "饥荒开服工具ByTpxxn/Class/DedicateServer/LeveldataOverrideObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69950"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace 饥荒开服工具ByTpxxn.Class.DedicateServer
{
/// <summary>
/// LeveldataOverride项的公共基类
/// </summary>
public class LeveldataOverrideItem
{
public ... | 2.287197 | 8815207234f21214ead16c2470ecc817 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69950 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "RockTomate/Steps",
"max_stars_repo_path": "Classes/IO/CopyFileStep.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69951"
} | starcoder | using System;
using System.IO;
using HardCodeLab.RockTomate.Core.Steps;
using HardCodeLab.RockTomate.Core.Logging;
using HardCodeLab.RockTomate.Core.Attributes;
namespace HardCodeLab.RockTomate.Steps
{
[StepDescription("Copy File", "Copies file to another destination", StepCategories.FileSystemCategory)]
publ... | 2.952469 | ae1b4ad9df6ca00bf8ae2e9f65bc2b25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69951 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ukparliament/Search",
"max_stars_repo_path": "Search/Controllers/DescriptionController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69952"
} | starcoder | // MIT License
//
// Copyright (c) 2019 UK Parliament
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge... | 2.0222 | 5c3d31af479ac62300eeb19b29fabfe3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PasierbKarol/CSPsharp",
"max_stars_repo_path": "PlugAndPlay/GConsole.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69953"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
using CSPlang;
namespace PlugAndPlay
{
public class GConsole : IamCSProcess
{
private ChannelInput toConsole;
private ChannelOutput fromConsole;
private ChannelInput clearInpu... | 2.514549 | f758efdbdff1117f60da0da63550078c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69953 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mrjavaci/Notification.Wpf",
"max_stars_repo_path": "Notification.Wpf/Base/INotificationManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69954"
} | starcoder | <reponame>Mrjavaci/Notification.Wpf<gh_stars>0
using System;
using System.Windows.Media;
using Notification.Wpf.Classes;
namespace Notification.Wpf
{
/// <summary>
/// Notification manager for popup messages
/// </summary>
public interface INotificationManager
{
/// <summary>
///
... | 2.29603 | 575dac6abdb19001ef37f0f0e73a7303 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69954 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "michelcedric/NetCore3WithEF",
"max_stars_repo_path": "TestNetCore3WithEF/Views/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:69955"
} | starcoder | <filename>TestNetCore3WithEF/Views/_ViewImports.cshtml
@using TestNetCore3WithEF
@using TestNetCore3WithEF.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.62774 | ba4048cd9e871072cc54ac85eb8fc6cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69955 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "FluentChange/FluentChange.Extensions",
"max_stars_repo_path": "Common.Rest/Routes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69956"
} | starcoder | <gh_stars>1-10
using System.Text;
namespace FluentChange.Extensions.Common.Rest
{
public static class Routes
{
public const string ParamNameId = "id";
public const string PatternId = "/{" + ParamNameId + "}";
public const string OptionalId = "/{" + ParamNameId + "?}";
}
}
| 1.142002 | c0b8e18318590ef17114a6b7170e86df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69956 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "christiandmiles/Rosetta.Net",
"max_stars_repo_path": "generated/Models/CoinChange.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69957"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Rosetta.Models
{
/// <summary> CoinChange is used to represent a change in state of a some coin identified by a coin_identifier. This object is part of t... | 2.48451 | 7d4b4f696f697bbcf8a554494806ba56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69957 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AliDeym/Caznowl-Cube-Zombie",
"max_stars_repo_path": "fCraft/Drawing/DrawOps/EllipsoidDrawOperation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69958"
} | starcoder | // Copyright 2009-2013 <NAME> <<EMAIL>>
using System;
namespace fCraft.Drawing {
/// <summary> Draw operation that creates a filled ellipsoid. </summary>
public class EllipsoidDrawOperation : DrawOperation {
Vector3F invRadius,
center;
public override string Name { get { retu... | 2.753027 | e62ce4e8cb1319f65174df25911933b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69958 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "babelshift/SharpBot",
"max_stars_repo_path": "SharpBotService/FunctionConsumer/ICommandProcessorSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69959"
} | starcoder | <gh_stars>1-10
namespace SharpBotService
{
public interface ICommandProcessorSettings
{
string Url { get; set; }
}
} | 1.325572 | 29d73240143acaf863d02b5dd5f13f2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69959 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Siketyan/HookLab",
"max_stars_repo_path": "HookLab/Providers/GitLab/Converters/GitLabDateTimeConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69960"
} | starcoder | <filename>HookLab/Providers/GitLab/Converters/GitLabDateTimeConverter.cs
using System;
using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace HookLab.Providers.GitLab.Converters
{
public class GitLabDateTimeConverter : DateTimeConverterBase
{
private const string... | 3.125237 | 089e2a9817e16f4e3b47ed9759252b53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69960 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cuongtm93/web_download",
"max_stars_repo_path": "web_download/Models/TblCategory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69961"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace webdownload.Models
{
public class TblCategory
{
[Key]
public int ID { get; set; }
[Required]
public string name { get; set; }... | 1.939275 | 9dbb9e4ff52b788d6a67e6783f1bedb6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69961 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "micampbell/GraphSynth",
"max_stars_repo_path": "GraphSynthSourceFiles/DefaultSearchPlugins/UserRandLindChoose/LocationTextBlock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69962"
} | starcoder | <reponame>micampbell/GraphSynth
using System.Collections.Generic;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using GraphSynth.Representation;
namespace GraphSynth.UserRandLindChoose
{
public class LocationTextBlock : TextBlock
{
#region Fields
p... | 2.281431 | c02be762d9fc6624871f4f0388ae4e6f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69962 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Inkh/Data-Structures-and-Algorithms",
"max_stars_repo_path": "Challenges/QueueWithStacks/QueueWithStacksTest/UnitTest1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69963"
} | starcoder | <filename>Challenges/QueueWithStacks/QueueWithStacksTest/UnitTest1.cs
using System;
using Xunit;
using QueueWithStacks.Classes;
using StackAndQueue.Classes;
namespace QueueWithStacksTest
{
public class UnitTest1
{
QueueWithTwoStacks myQueue = new QueueWithTwoStacks();
/// <summary>
//... | 3.134521 | 39d9a3d42c321fcffa229176e815c080 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69963 | {
"extension": "c-sharp",
"max_stars_count": "54.0",
"max_stars_repo_name": "stormpath/stormpath-sdk-dotnet",
"max_stars_repo_path": "src/Stormpath.SDK.Abstractions/Application/IApplicationAccountStoreMapping.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69964"
} | starcoder | <filename>src/Stormpath.SDK.Abstractions/Application/IApplicationAccountStoreMapping.cs
// <copyright file="IApplicationAccountStoreMapping.cs" company="Stormpath, Inc.">
// Copyright (c) 2016 Stormpath, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in c... | 2.20095 | 16556947effd46aa5534dff208717b93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69964 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "berkerdong/NetEngine",
"max_stars_repo_path": "WebApi/Filters/CacheDataFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69965"
} | starcoder | using Common;
using Common.Json;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using System;
using System.Linq;
namespace WebApi.Filters
{
/// <summary>
/// 缓存过滤器
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class CacheDataFil... | 2.513119 | 41a622dfd73cc290662cc52c08cac11a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69965 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "oriash93/gitextensions.pluginmanager",
"max_stars_repo_path": "src/PackageManager.NuGet/Models/NuGetPackageSourceCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69966"
} | starcoder | using Neptuo;
using Neptuo.Activators;
using NuGet.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using INuGetPackageSourceProvider = NuGet.Configuration.IPackageSourceProvider;
namespace PackageManager.Models
{
public... | 2.589259 | f04afb93ccdaf64e4e63014de2f58515 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69966 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kwyrky/Aether",
"max_stars_repo_path": "Source/Core/Serialization/AetherXMLReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69967"
} | starcoder | #region License
// Copyright 2015 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... | 2.153936 | 2cc44d8fe937fb3c041055b7382812fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69967 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "llaxton/M-O-S-E-S-halcyon",
"max_stars_repo_path": "OpenSim/Framework/GridConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69968"
} | starcoder | /*
* Copyright (c) <NAME> Developers
* Copyright (c) Contributors, http://opensimulator.org/
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
... | 1.756557 | 4820591fc01e53c8bf06cfd831b973d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69968 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thanhntggsunday/AdvantureWork2017",
"max_stars_repo_path": "AdvantureWork.Common/DTO/AppLevelPermissionDTO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69969"
} | starcoder | <reponame>thanhntggsunday/AdvantureWork2017<gh_stars>0
namespace AdvantureWork.Common.DTO
{
public class AppLevelPermissionDTO
{
public int FunctionActionId { get; set; }
public string FunctionId { get; set; }
public string FunctionName { get; set; }
public string ActionId { get... | 1.123118 | fedc9de2bcef92e8acaf1b6935b2014c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69969 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dfds/harald",
"max_stars_repo_path": "src/Harald.Infrastructure.Slack/Http/Response/User/LookupUserResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69970"
} | starcoder | using Harald.Infrastructure.Slack.Dto;
namespace Harald.Infrastructure.Slack.Http.Response.User
{
public class LookupUserResponse : SlackResponse
{
public UserDto User { get; set; }
}
} | 1.424041 | 443ee61cba55fcb55711d2057dd88172 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69970 | {
"extension": "c-sharp",
"max_stars_count": "80.0",
"max_stars_repo_name": "CecilyK/SCIMReferenceCode",
"max_stars_repo_path": "Microsoft.SystemForCrossDomainIdentityManagement/Schemas/SchemaIdentifiers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69971"
} | starcoder | <filename>Microsoft.SystemForCrossDomainIdentityManagement/Schemas/SchemaIdentifiers.cs
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.SCIM
{
public stat... | 1.612138 | 583dca3e62ae0782c968371eb6cc23d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69971 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KleinerHacker/unity.audio-machine",
"max_stars_repo_path": "Assets/PcSoft/AudioMachine/90 Scripts/00 Runtime/Assets/Sfx/SimpleCollectionSfxSourceAsset.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69972"
} | starcoder | <reponame>KleinerHacker/unity.audio-machine<filename>Assets/PcSoft/AudioMachine/90 Scripts/00 Runtime/Assets/Sfx/SimpleCollectionSfxSourceAsset.cs
using PcSoft.AudioMachine._90_Scripts._00_Runtime.Assets.Sfx.Base;
using UnityEngine;
namespace PcSoft.AudioMachine._90_Scripts._00_Runtime.Assets.Sfx
{
[CreateAssetMen... | 1.80342 | e705ef7e177c5a27c6eb8f8a1afcc58e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69972 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "SkillsFundingAgency/das-campaign",
"max_stars_repo_path": "src/SFA.DAS.Campaign.Infrastructure/Geocode/Configuration/IMappingConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69973"
} | starcoder | namespace SFA.DAS.Campaign.Infrastructure.Geocode.Configuration
{
public interface IMappingConfiguration
{
string PrivateKey { get; }
string ClientId { get; }
string StaticHeight { get; }
string StaticWidth { get; }
string ApiKey { get; }
}
}
| 0.972396 | 065cc4608d55402443320261b489b890 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69973 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hexthedev/HexUN",
"max_stars_repo_path": "Runtime/Scripts/Framework/Debugging/Logs/RELogs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69974"
} | starcoder | <gh_stars>1-10
using HexUN.Framework.SharedResource;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace HexUN.Framework.Debugging
{
/// <summary>
/// Shared resource for cahching logs
/// </summary>
[CreateAssetMenu(fileName = "RELogs", menuName = "HexUN/Framewo... | 2.497522 | b2115ee43793c5bc66fd9333d182413b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69974 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "connexiadev/Vodamep",
"max_stars_repo_path": "src/Vodamep/Cm/Model/Person.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69975"
} | starcoder | using System;
using Vodamep.ReportBase;
namespace Vodamep.Cm.Model
{
public partial class Person : INamedPerson
{
/// <summary>
/// Id, die für das Personen Mapping der Personen mit unterschiedlichen IDs über mehrere Meldungen hinweg verwendet wird.
/// Keine Befüllung notwendig. Wird ... | 2.349644 | f938d2292890fac8de79505143a35ba5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69975 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ehsangfl/OpenRiaServices",
"max_stars_repo_path": "src/OpenRiaServices.Server/Framework/Data/DomainOperationParameter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69976"
} | starcoder | <reponame>ehsangfl/OpenRiaServices
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Reflection;
namespace OpenRiaServices.Server
{
/// <summary>
/// Represents a parameter to a domain operation
/// </summary>
publi... | 2.770777 | b55fa80824bfc1818ede9f9e92ea971f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69976 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Interesik/TPW",
"max_stars_repo_path": "Mathexample/Mathex.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69977"
} | starcoder | <reponame>Interesik/TPW
namespace Mathexample
{
public static class Mathex
{
public static int add(int a,int b)
{
return a + b;
}
public static double add(double a, double b)
{
return a + b;
}
public static int subtract(int a, in... | 3.051319 | 08c903f10a9ca708c51257c6a20e4ffe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69977 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "sm450203924/hotel-asp-mvc",
"max_stars_repo_path": "MvcHotel/Views/AdminBooks/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:69978"
} | starcoder | @*@model IEnumerable<MvcHotel.Models.Book>*@
@model PagedList.IPagedList<MvcHotel.Models.Book>
@using PagedList.Mvc;
@{
ViewBag.Title = "订房管理";
Layout = "~/Views/Shared/AdminMenu/_Layout.cshtml";
}
<h2>@ViewBag.Title</h2>
<div class="admin-table-wrap">
<div class="admin-search-box">
@using (Html.... | 2.308252 | 5578daf719d246d9aad59de27b429441 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69978 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rougemeilland/SevenZip.Compression.Wrapper.NET",
"max_stars_repo_path": "SevenZip.Compression/Lzma/LzmaEncoder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69979"
} | starcoder | <reponame>rougemeilland/SevenZip.Compression.Wrapper.NET
using SevenZip.IO;
using SevenZip.NativeInterface;
using SevenZip.NativeInterface.Compression;
using System;
using System.IO;
namespace SevenZip.Compression.Lzma
{
/// <summary>
/// A class of LZMA encoders.
/// </summary>
public class LzmaEncod... | 2.399888 | b069a76754b5099302fc3824f034f7fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69979 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yshatheesh1/library-sso",
"max_stars_repo_path": "BBCoders.SSO.Storage/Repository/ResourceRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69980"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//--------------------------------... | 1.942148 | 5a6e3f63cb6eefdc2292264d17106be4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69980 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zentia/NormalPainter",
"max_stars_repo_path": "Assets/Hex Map/Scripts/HexFeatureCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69981"
} | starcoder | <filename>Assets/Hex Map/Scripts/HexFeatureCollection.cs
using UnityEngine;
[System.Serializable]
public struct HexFeatureCollection
{
public Transform[] prefabs;
public Transform Pick(float choice)
{
return prefabs[(int) (choice * prefabs.Length)];
}
} | 2.052077 | c149acdd7a024107903483bd23805cd1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69981 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CoreLayer/CoreLayer.Citrix.Adc.Nitro",
"max_stars_repo_path": "src/CoreLayer.Citrix.Adc.NitroClient/Commands/Configuration/LoadBalancing/LbvserverBinding/LbvserverBindingGetCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:699... | starcoder | <gh_stars>0
using CoreLayer.Citrix.Adc.NitroClient.Api.Configuration.LoadBalancing.LbvserverBinding;
using CoreLayer.Citrix.Adc.NitroClient.Interfaces;
namespace CoreLayer.Citrix.Adc.NitroClient.Commands.Configuration.LoadBalancing.LbvserverBinding
{
public class LbvserverBindingGetCommand : NitroCommand<Lbvserver... | 1.176171 | b163d3d74b4cc7b345b59489ad88a77a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69982 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ekonbenefits/MVCContrib.FluentHtml",
"max_stars_repo_path": "src/MvcContrib.TestHelper/MvcContrib.TestHelper/Ui/AssertExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69983"
} | starcoder | <filename>src/MvcContrib.TestHelper/MvcContrib.TestHelper/Ui/AssertExtensions.cs
using System;
using System.Linq.Expressions;
namespace MvcContrib.TestHelper.Ui
{
public static class AssertExtensions
{
public static IBrowserDriver AssertValue<TFormType>(this IBrowserDriver driver,
Expression<Func<... | 2.721705 | 63fa037b6ccf3d11c3884ef7b3a07995 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69983 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "my0n/Wrecker",
"max_stars_repo_path": "Clunker/Graphics/Components/MaterialTexture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69984"
} | starcoder | using Clunker.ECS;
using Clunker.Resources;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
using System;
using System.Collections.Generic;
using System.Text;
using Veldrid;
using Veldrid.ImageSharp;
namespace Clunker.Graphics
{
[ClunkerComponent]
public class MaterialTexture
{
... | 2.391545 | a9419546bd5e1f8dcb84c654a44f35ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69984 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bigworld12/Orchestra",
"max_stars_repo_path": "src/Orchestra.Core/Helpers/StyleHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69985"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="StyleHelper.cs" company="WildGums">
// Copyright (c) 2008 - 2017 WildGums. All rights reserved.
// </copyright>
// --------------------------------------------------------------... | 2.319909 | fd60c05c9bd6808883ed0c869d4d11b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69985 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "konsfik/Pandemic-AI-Framework",
"max_stars_repo_path": "Pandemic_AI/Pandemic_AI_Framework/PD_Core/Reports/GameState_Report/PD_GameState_Report.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69986"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pandemic_AI_Framework
{
public class PD_GameState_Report : PD_Report_Part
{
public long GameID { get; private set; }
public int Repetition { get; private set; }
... | 2.405521 | 9b74dd33ca401ec3b8e9e212ba40d625 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69986 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JeremyKuhne/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/DirectX/um/ddraw/DDSCAPS.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69987"
} | starcoder | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/ddraw.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop.DirectX;
public parti... | 1.41386 | d0dd94d02818cc2339de3bedd8f7aa42 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69987 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peopleware/net-ppwcode-vernacular-nhibernate",
"max_stars_repo_path": "src/III/Interfaces/IRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69988"
} | starcoder | // Copyright 2017 by PeopleWare n.v..
// 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 law or agreed to in writ... | 2.187618 | 8f5e9f2634011e93698fc7af08236cf7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69988 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "PacktPublishing/Master-C-And-SQL-by-Building-Application",
"max_stars_repo_path": "App4 - Course Manager/CourseManager/CourseManager/Repository/EnrollmentCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69989"
} | starcoder | <filename>App4 - Course Manager/CourseManager/CourseManager/Repository/EnrollmentCommand.cs
using CourseManager.Models;
using Dapper;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CourseMana... | 2.789757 | e37b826984cc88f9e18a4c21d210e05e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69989 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Aiosa/JCAppStoreParser",
"max_stars_repo_path": "JCAppStoreParser/Utils/FieldUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69990"
} | starcoder | using System.Collections.Generic;
using System.Text;
namespace JCAppStore_Parser
{
public static class FieldUtils
{
public static string GetValues<T>(IEnumerator<T> of, string emptyMessage = null, int? max = null)
{
if (of == null || !of.MoveNext()) return emptyMessage;
... | 3.055183 | 85032a1a0e26bb0b192c5a9e0a6a0b5a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69990 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "chromealex/Unity3D.UI.Windows.Core",
"max_stars_repo_path": "UI.Windows/Components/Core/WindowObjectElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69991"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using UnityEngine.UI.Windows.Extensions;
using UnityEngine.UI.Windows.Components;
namespace UnityEngine.UI.Windows {
[UnityEngine.DisallowMultipleComponent]
public class WindowObjectElement : WindowObject, IWindowEventsAsync, IWindowEventsController, ICom... | 1.967114 | 6a2c453fe2316b68e6f940e9fec1eefe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69991 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HorvatJosip/Braco",
"max_stars_repo_path": "src/Braco.Utilities.Wpf/Converters/NullToVisibilityConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69992"
} | starcoder | <filename>src/Braco.Utilities.Wpf/Converters/NullToVisibilityConverter.cs<gh_stars>0
using System;
using System.Globalization;
using System.Windows;
namespace Braco.Utilities.Wpf
{
/// <summary>
/// Used for converting nullable object to <see cref="Visibility"/>.
/// </summary>
public class NullToVisibili... | 2.699472 | 6f389b358680f66288194389b098a43e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69992 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mattbrailsford/stripe.net",
"max_stars_repo_path": "src/Stripe.Tests/balance/when_listing_balancetransactions_forcharge.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69993"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Machine.Specifications;
namespace Stripe.Tests.balance
{
public class when_listing_balancetransactions_forcharge
{
private static List<StripeBalanceTransaction> _stripeBalanceTransactionList;
private static StripeBalance... | 2.247279 | 63e15f90d92121dc6252925f3b4b3a3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69993 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "bondsbw/FakeItEasy",
"max_stars_repo_path": "Source/FakeItEasy/Core/DefaultSutInitializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69994"
} | starcoder | namespace FakeItEasy.Core
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Creation;
internal class DefaultSutInitializer
: ISutInitializer
{
private readonly IFakeAndDummyManager fakeManager;
public D... | 2.70324 | c071bf6449860c146807ce7e79c9cdf1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69994 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GStefanowich/DiscordIPC",
"max_stars_repo_path": "Entities/Application.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69995"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Dec.DiscordIPC.Entities {
public class Application {
[JsonPropertyName("id")]
public string ID { get; set; }
[JsonPropertyName("name")]
public string Name { get; set; }
... | 1.2398 | 59c63d89b1dfcfd5a7d08ff7539cf1e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69995 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MatheusHTTP/3dGame",
"max_stars_repo_path": "Assets/Scripts/MobSpawn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69996"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MobSpawn : MonoBehaviour
{
public GameObject enemy;
public float spawnTime = 15;
public float time = 0;
// Start is called before the first frame update
void Start()
{
}
//... | 2.049899 | 49f84a88557cca5fc71870fa1064af3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69996 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "YongyouCloud/CloudRegisterManage",
"max_stars_repo_path": "CloudRegisterManage/WPF.Bootstrapbak/Controls/Dialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69997"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
namespace WPF.Bootstrap.Controls
{
[TemplatePart(Name = PART_MaxButton, Type = typeof(Button))]
[TemplatePart(Name = PART_MinButton, Type = t... | 2.230711 | c67f1dc2261d496edcd113ff0b11d99e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69997 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "mind0n/hive",
"max_stars_repo_path": "Product/Server/HostNode/Joy/Joy.Core/Reflect/CfgProxy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69998"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.Remoting.Contexts;
using System.ServiceModel;
using System.Text;
using System.Web;
namespace Joy.Core.Reflect
{
public class CfgProxy<T> : JoyProxy<T>
{
protected Type type;
publi... | 2.028347 | c7809a2fabd918b343d874e46e640b25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69998 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "drcarver/unity",
"max_stars_repo_path": "quickstarts/CS/Stoplight/Src/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:69999"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Windows.Forms;
using Microsoft.Practices.Unity;
using StopLight.ServiceImplementations;
using StopLight.ServiceInterfaces;
using StopLight.UI;
namespace StopLight
{
in... | 1.768829 | dc3964dc7888d1c24d396e60f7038d78 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 69999 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Casval776/XIVDB-DataLayer",
"max_stars_repo_path": "XIVDB/Model/Recipe.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70000"
} | starcoder | //-------------------------------------------------------
//
// Copyright (c) 2016 All Rights Reserved
// Daikun Industries LLC
//
//-------------------------------------------------------
using Newtonsoft.Json;
using XIVDB.Interfaces;
namespace XIVDB.Model
{
/// <summary>
/// Mode... | 1.933806 | 600ce661178ee1ecb57f7afdd50ff786 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70000 | {
"extension": "c-sharp",
"max_stars_count": "1745.0",
"max_stars_repo_name": "bsf2dev/bsf",
"max_stars_repo_path": "Source/Scripting/bsfSharp/Generated/ParticleTextureAnimation.generated.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70001"
} | starcoder | //********************************* bs::framework - Copyright 2018-2019 <NAME> ************************************//
//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Int... | 2.445031 | 5e81846b0430fb44bc2c952192ce9888 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70001 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "devYoop/NStateManager",
"max_stars_repo_path": "Tests/NStateManager.Tests/StateTransitionDynamicParameterizedAsyncTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70002"
} | starcoder | <filename>Tests/NStateManager.Tests/StateTransitionDynamicParameterizedAsyncTests.cs
#region Copyright (c) 2018 <NAME>
//
//Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
//compliance with the License. You may obtain a copy of the License at
//http://www.apache.org/... | 2.431136 | e675d95bc993fc564a03d9c455fe3329 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70002 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thecakeisreal/Exemples-Architectures",
"max_stars_repo_path": "Objet-Acces-Donnees/ArticleDAO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70003"
} | starcoder | <reponame>thecakeisreal/Exemples-Architectures
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ObjetAccesDonnees
{
// Gère les accès à la BD pour les objets articles
class ArticleDAO
{
// Référence sur la bd
priv... | 3.021795 | 56e35f850ba8d4392cba4a1f030143cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70003 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wzd24/bougainvillea",
"max_stars_repo_path": "src/Scorpio.Bougainvillea/Scorpio/Bougainvillea/Rewards/AttributeRewardHandlerProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70004"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Scorpio.Bougainvillea.Handler;
using Scorpio.DependencyInjection;
namespace Scorpio.Bougainvillea.Rewards
{
... | 2.277742 | 2d3c8cc1d9478756223f5790745f6a95 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70004 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "FreedomBen/banshee",
"max_stars_repo_path": "src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTileHost.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70005"
} | starcoder | <filename>src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTileHost.cs
//
// UserJobTileHost.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (C) 2007-2008 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files ... | 1.665319 | 51ef1d17067a07f9f42b328f9e2b1a26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70005 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ThymonA/GitLab-API-.NET-Core-Library",
"max_stars_repo_path": "Foxkit/Helpers/Pagination/ReadOnlyPagedCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70006"
} | starcoder | <filename>Foxkit/Helpers/Pagination/ReadOnlyPagedCollection.cs
namespace Foxkit
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
public class ReadOnlyPagedCollection<T> : ReadOnlyCollection<T>, IReadOnlyPagedCollection<T>
{
... | 2.577167 | 98b3750d7a89ee90e746c134bfd9d344 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70006 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "DotNetCross/Sorting",
"max_stars_repo_path": "src/DotNetCross.Sorting/Sorters/IntroKeysSorters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70007"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace DotNetCross.Sorting
{
internal static partial class IntroKeysSorters
{
static readonly object[] EmptyObjects = new object[0];
internal static class ForStraight<TKey>
{
int... | 2.741646 | d24f3337105230da2fbe4b10d371cf23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70007 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hoflnauix/FlatFiles",
"max_stars_repo_path": "FlatFiles/TypeMapping/IDelimitedTypedReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70008"
} | starcoder | using System;
namespace FlatFiles.TypeMapping
{
/// <summary>
/// Represents a delimited reader that will generate entities.
/// </summary>
/// <typeparam name="TEntity">The type of the entity being read.</typeparam>
public interface IDelimitedTypedReader<out TEntity> : ITypedReader<TEntity>
... | 2.738448 | c29ad4a4ae920e70558834c309559c19 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70008 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emipa606/MakeWarNotLove",
"max_stars_repo_path": "Source/MakeWarNotLove/InteractionWorker_InsultMWNL.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70009"
} | starcoder | <gh_stars>0
using Verse;
namespace RimWorld
{
// Token: 0x02000005 RID: 5
public class InteractionWorker_InsultMWNL : InteractionWorker
{
// Token: 0x04000003 RID: 3
private const float BaseSelectionWeight = 0f;
// Token: 0x06000007 RID: 7 RVA: 0x000020A0 File Offset: 0x000002A0
... | 1.264328 | e83866f469a350e0d00a20dd772ff49a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70009 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "social-crush/social-crush",
"max_stars_repo_path": "Controllers/CommentController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70010"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using NewSite.Web.Models;
using Microsoft.EntityFrameworkCore;
namespace NewSite.Web.Controllers
{
[Produces("application/json")]
[Route("api/Commen... | 2.496038 | 302d16e55a91b69e7aac45beb10305b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70010 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "elmango80/ObjectsCollide",
"max_stars_repo_path": "ObjectsCollide.Application/Class/Coboid.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70011"
} | starcoder | <filename>ObjectsCollide.Application/Class/Coboid.cs
using System;
using ObjectsCollide.Application.Enums;
namespace ObjectsCollide.Application.Class
{
internal class Coboid : Object3D
{
internal readonly double Depth;
internal readonly double Height;
internal readonly double Width;
... | 3.14432 | da786e5a4e9d2e7f2e73bb42fa67b45a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70011 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Reality-Hack-2022/TEAM-52",
"max_stars_repo_path": "unity-visualeffectgraph-builtin-main/Editor/Data/VFXDataOutputEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70012"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.Serialization;
using UnityEngine.VFX;
using System.Text;
namespace UnityEditor.VFX
{
class VFXDataOutputEvent : VFXData
{
public override VFXDataType type => VFXDataType.OutputEvent;
... | 1.586654 | 230e6fe60d6c75f4c5c74af4b16f5f6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70012 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "mariusz-schimke/GiGraph",
"max_stars_repo_path": "src/GiGraph.Dot.Types/Arrowheads/DotArrowheadShape.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70013"
} | starcoder | <gh_stars>10-100
using GiGraph.Dot.Output.Metadata;
namespace GiGraph.Dot.Types.Arrowheads
{
/// <summary>
/// The arrowhead shape. See the
/// <see href="https://www.graphviz.org/doc/info/arrows.html">
/// documentation
/// </see>
/// to view how individual shapes are ... | 2.310882 | f00ac3663c39ccc9042df2e55252c3f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70013 | {
"extension": "c-sharp",
"max_stars_count": "82.0",
"max_stars_repo_name": "dotnetcore/Collections",
"max_stars_repo_path": "src/DotNetCore.Collections.Paginable.SqlKata/DotNetCore/Collections/Paginable/PaginableSqlKataQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70014"
} | starcoder | using System;
using SqlKata;
namespace DotNetCore.Collections.Paginable
{
/// <summary>
/// SqlKataPage collection
/// </summary>
/// <typeparam name="T"></typeparam>
public class PaginableSqlKataQuery<T> : PaginableSetBase<T>
{
private readonly Query _sqlKataQuery;
// ReSharp... | 2.325844 | b31c050647eed49b0188a55f1c1da3fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70014 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "JasperFx/bluemilk",
"max_stars_repo_path": "src/BlueMilk.Testing/Codegen/WriteReturnStatementTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70015"
} | starcoder | using System.Linq;
using System.Threading.Tasks;
using Baseline;
using BlueMilk.Codegen;
using BlueMilk.Codegen.Variables;
using BlueMilk.Compilation;
using NSubstitute;
using Shouldly;
using Xunit;
namespace BlueMilk.Testing.Codegen
{
public class WriteReturnStatementTests
{
private readonly Generate... | 2.545224 | d929c76773f1e2f1488a3672efbac6bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70015 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Elders/Cronus.AtomicAction.Consul",
"max_stars_repo_path": "src/Elders.Cronus.AtomicAction.Consul/Consul/ConsulModels.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70016"
} | starcoder | using System;
namespace Cronus.AtomicAction.Consul
{
public class CreateSessionRequest
{
public const string _10Seconds = "10s";
public const string MaxTtl = "86400s";
public CreateSessionRequest(string name, TimeSpan ttl)
{
if (string.IsNullOrEmpty(name)) throw ne... | 2.199098 | be40ec570ff7caae941e03969cf643e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70016 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bitforge-AG/EmployeeDirectory",
"max_stars_repo_path": "EmployeeDirectory/EmployeeDirectory/Services/IPhoneFeatureService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70017"
} | starcoder | using System;
namespace EmployeeDirectory
{
/// <summary>
/// Provide an interface to code platform-specific implementations
/// for common tasks required in the shared code, such as
/// making a call, sending an email or tweet, etc.
/// </summary>
public interface IPhoneFeatureService
{
bool Email (string ... | 2.374389 | cef8ad61991852ea81573b09199e4584 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70017 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "msgritsenko/ManageRates",
"max_stars_repo_path": "src/ManageRates.AspnetCore/src/ManageRatesService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70018"
} | starcoder | using ManageRates.AspnetCore.Abstractions;
using ManageRates.AspnetCore.Configuration;
using ManageRates.Core.Abstractions;
using ManageRates.Core.Model;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Caching.Memory;
using System;
using System.Linq;
namespace ManageRates.AspnetCore
{
/// <inheritdoc/... | 2.118061 | 7d403a1e7e160066f70aab1b0eacc042 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70018 | {
"extension": "c-sharp",
"max_stars_count": "145.0",
"max_stars_repo_name": "WetHat/OnenoteTaggingK",
"max_stars_repo_path": "OneNoteTaggingKit/common/KeyedItems.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70019"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WetHatLab.OneNote.TaggingKit.common
{
/// <summary>
/// Contract for classes which want to provide a unique key suitable for hashing
/// </summary>
/// <typeparam name="T">Type of key</t... | 2.809427 | f2c0bc8b875540ee9660411dbd7ea3d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70019 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chumpon-asaneerat/DMT.TA.TODv3",
"max_stars_repo_path": "00.NLib/NLib/Core/Commons/NDebugs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70020"
} | starcoder | //#define ENABLE_STACKTRACE_VERSION
#region History
#if HISTORY_COMMENT
// <[History]>
Update 2015-06-17
=================
- Debug Framework update.
- DebugManager Remove all method that used StackFrame (or StackTrace).
=============================================================================================... | 1.811943 | eb98fbf38dfba00e6fce88456a675b36 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70020 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "snakefoot/kephas",
"max_stars_repo_path": "src/Kephas.Serialization.NewtonsoftJson/ContractResolvers/CamelCaseContractResolver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70021"
} | starcoder | <reponame>snakefoot/kephas<gh_stars>10-100
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CamelCaseContractResolver.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed ... | 2.452478 | 314571dd85c0af455fa81c11eb26516c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70021 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "willprice76/dxa-content-management",
"max_stars_repo_path": "Sdl.Web.Tridion.Templates/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70022"
} | starcoder | <reponame>willprice76/dxa-content-management
using System.Reflection;
[assembly: AssemblyTitle("SDL DXA Core Template Building Blocks")]
// NOTE: Common Assembly Info is generated by the build in CommonAssemblyInfo.cs
| 1.29691 | c770b90ba7f6dd54c21debc4981dba62 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70022 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hype8912/fluent-nhibernate",
"max_stars_repo_path": "src/FluentNHibernate/Conventions/Instances/IInsertInstance.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70023"
} | starcoder | namespace FluentNHibernate.Conventions.Instances
{
public interface IInsertInstance
{
void Insert();
}
} | 1.511252 | f47670a9d306e395bfefa700ceb77b87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70023 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "robbaman/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Configuration/UmbracoSettings/TemplatesElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70024"
} | starcoder | <reponame>robbaman/Umbraco-CMS<filename>src/Umbraco.Core/Configuration/UmbracoSettings/TemplatesElement.cs
using System.Configuration;
namespace Umbraco.Core.Configuration.UmbracoSettings
{
internal class TemplatesElement : ConfigurationElement, ITemplatesSection
{
[ConfigurationProperty("useAsp... | 2.030668 | a61cde1a91ee7185f039fad14873e483 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70024 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "obecto/perper",
"max_stars_repo_path": "functions/runtime/src/Perper.WebJobs.Extensions/Dataflow/DataflowEnumerableConversions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70025"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflow;
using Microsoft.Azure.WebJobs;
namespace Perper.WebJobs.Extensions.Dataflow
{
public static class DataflowEnumerableCo... | 2.425328 | 92ffa7cf47c0cff4df88bd9dc332e224 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70025 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "anas-alhmoud/Project04_Auth_CRUD_ASP.NET",
"max_stars_repo_path": "Project04_Auth_CRUD_ASP.NET/Views/Prices/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:70026"
} | starcoder | @model IEnumerable<Project04_Auth_CRUD_ASP.NET.Models.PriceModel>
@{
Dictionary<string, int> TableHelper = (Dictionary<string, int>)ViewData["TableHelper"];
}
@{
ViewData["Title"] = "Prices";
}
<div class="bg-all p-3 mt-5 main-font custom-color">
<h1 class="mb-3">Prices</h1>
<table class="table">
... | 2.704125 | 2dcb207117c43fcb0b039cf641eb60c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70026 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SuperHanZi/guichou",
"max_stars_repo_path": "AntSharesCore/Cryptography/ProtectedMemoryContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70027"
} | starcoder | using System;
using System.Security.Cryptography;
namespace AntShares.Cryptography
{
internal class ProtectedMemoryContext : IDisposable
{
private byte[] memory;
private MemoryProtectionScope scope;
public ProtectedMemoryContext(byte[] memory, MemoryProtectionScope scope)
{
... | 2.507858 | bb8204ebadb04d0c3fc9a6006a20dd49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70027 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "logika03/litred",
"max_stars_repo_path": "WebApplication/Migrations/20210514084310_ChangeSubscription.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70028"
} | starcoder | <filename>WebApplication/Migrations/20210514084310_ChangeSubscription.cs<gh_stars>1-10
using Microsoft.EntityFrameworkCore.Migrations;
namespace WebApplication.Migrations
{
public partial class ChangeSubscription : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... | 2.114368 | 79c33e5f5f473e04a78c2943d58d033b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70028 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "acormier/Eto",
"max_stars_repo_path": "src/Eto.Serialization.Xaml/DesignerUserControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70029"
} | starcoder | <reponame>acormier/Eto<filename>src/Eto.Serialization.Xaml/DesignerUserControl.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
using Eto.Drawing;
using Eto.Forms;
using Portable.Xaml.Markup;
using Portable.Xaml;
namespace Eto.Serialization.Xaml
{
class Desi... | 2.397736 | 6ce8efb6e861749158d3ecab180d87c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70029 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ph0980/Projeto-etec-2015",
"max_stars_repo_path": "TCC/TCC/TCCfinalizado/TCC/Validacao.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70030"
} | starcoder | <filename>TCC/TCC/TCCfinalizado/TCC/Validacao.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TCC
{
class Validacao
{
public static bool ValidaCNPJ(string vrCNPJ)
{
string CNPJ = vrCNPJ.Replace(".", "... | 2.787884 | 3422eae6ead9b10e62b99e4077aac2fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70030 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "wzxinchen/Blazui.Docs.Admin",
"max_stars_repo_path": "src/Blazui.Docs.Admin/Pages/Product/ProductEditBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70031"
} | starcoder | using BlazAdmin;
using Blazui.Component;
using Blazui.Component;
using Blazui.Docs.Admin.Model;
using Blazui.Docs.Admin.Service;
using Microsoft.AspNetCore.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Blazui.Docs.Admin.Pages.Product
{
publi... | 1.878302 | 1da11aca734c401a80310f86967a1007 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70031 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "antoni047/EverythingNBA",
"max_stars_repo_path": "EverythingNBA.Web/Views/Players/PlayerDetails.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:70032"
} | starcoder | <reponame>antoni047/EverythingNBA<gh_stars>0
@using EverythingNBA.Services.Models.Player
@model PlayerDetailsServiceModel
@{
ViewData["Title"] = $"{Model.FirstName} {Model.LastName}";
var message = TempData["Message"] as string;
var type = TempData["Type"] as string;
var textColor = "white";
if (M... | 2.475954 | 724f1010ffed455a5139c45eee6501c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70032 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FaustVX/HardwareSimulator",
"max_stars_repo_path": "HardwareSimulator/Converters/ConverterBindableParameter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70033"
} | starcoder | using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Markup;
namespace HardwareSimulator.Converters
{
public class ConverterBindableBinding : MarkupExtension
{
[ContentProperty(nameof(Converter))]
private sealed class MultiValueConverterAdapter : IMultiValu... | 2.465154 | 5557b8f02916670bc2681ac6f22322e3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.