added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812218 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "elisunger/libpalaso",
"max_stars_repo_path": "SIL.Core.Desktop/Properties/Settings.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131438"
} | starcoder | <reponame>elisunger/libpalaso
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenera... | 1.825424 | d90314807a9e51768374088ca850bf6b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812219 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "sherif-elmetainy/win-acme",
"max_stars_repo_path": "src/main/Services/Interfaces/ICertificateService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131439"
} | starcoder | using ACMESharp.Protocol;
using PKISharp.WACS.DomainObjects;
using PKISharp.WACS.Plugins.Interfaces;
namespace PKISharp.WACS.Services
{
internal interface ICertificateService
{
CertificateInfo CachedInfo(Renewal renewal);
CertificateInfo RequestCertificate(ICsrPlugin csrPlugin, RunLevel runLev... | 1.389268 | 81ef75abd4aa82944a56093124e2571d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812220 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MinexAutomation/Public",
"max_stars_repo_path": "Source/Common/Libraries/Lib/Lib/Code/Caches/Interfaces/ICache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131440"
} | starcoder | using System.Collections.Generic;
namespace Public.Common.Lib
{
public interface ICache<T>
{
T this[string key] { get; }
}
/// <summary>
/// The plain cache interface.
/// </summary>
/// <remarks>
/// Note to implementers: the assumed behavior of the this[TKey k... | 3.021628 | e5f2cb412d4ccac2ac92c2244d96a89b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812221 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "uvbs/FullSource",
"max_stars_repo_path": "Source/Source/Tools/GameDesignerEditor/Controls/luaEditor/fireball_src/Fireball.Core/IO/Compression/SevenZip/Compress/LZ/LzOutWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131441"
} | starcoder | #region Licenze
// Copyright (C) 2004 <NAME> <<EMAIL>>
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any... | 2.340341 | a0683c7332614e87f77784cfcd4927f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812222 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Blealtan/ing",
"max_stars_repo_path": "src/Infrastructure/Sakuno.ING.Standard/Services/IPackageProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131442"
} | starcoder | <filename>src/Infrastructure/Sakuno.ING.Standard/Services/IPackageProvider.cs
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Sakuno.ING.Composition;
namespace Sakuno.ING.Services
{
public interface IPackageProvider
{
string[] SupportedTargetFrameworks { get; set... | 1.75238 | 41d23c8085cf6c4c42560c9324230396 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812223 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "stark-lang/stark-roslyn",
"max_stars_repo_path": "src/Compilers/Core/Portable/Operations/IDynamicObjectCreationOperation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131443"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
namespace StarkPlatform.CodeAnalysis.Operations
{
/// <summary>
/// Represents an object creation with a dynamic... | 2.426059 | 999a092114c9c3be05115db8eaae923a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812224 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mayurdo/UNISoftware",
"max_stars_repo_path": "UNIRecruitmentSoft/UniDB.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131444"
} | starcoder | <filename>UNIRecruitmentSoft/UniDB.cs
using System;
namespace UNIRecruitmentSoft
{
partial class UniDBDataContext
{
}
public partial class CandidateDetail : IUniTable, IMobile, IEmail
{
}
public partial class VisitDetail : IUniTable
{
}
public partial class CustomerDetail... | 2.008773 | cc862133b741f40c7de9a9d62c876470 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812225 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "scottt732/Sholo.HomeAssistant",
"max_stars_repo_path": "Source/Sholo.HomeAssistant.Mqtt/MessageBus/MqttMessageBus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131445"
} | starcoder | <gh_stars>1-10
using System;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using MQTTnet;
using MQTTnet.Extensions.ManagedClient;
namespace Sholo.HomeAssistant.Mqtt.MessageBus
{
public class MqttMessa... | 2.383619 | 687e0ad08ac7163b3781b13484b8597c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812226 | {
"extension": "c-sharp",
"max_stars_count": "6723.0",
"max_stars_repo_name": "ramkannan1012/practical-aspnetcore",
"max_stars_repo_path": "projects/xml/xml-validation/src/XmlValidation/Models/IndexViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131446"
} | starcoder | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace XmlValidation.Models
{
public class IndexViewModel
{
public string XmlSchema { get; set; }
[Required]
public string XmlDocument { get; set; }
public bool XmlValidated { g... | 2.279505 | 0130d2a66be53ccfe94fe48468817269 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812227 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "abock/runtime",
"max_stars_repo_path": "src/libraries/Common/src/System/Net/Http/aspnetcore/Http3/Frames/Http3ErrorCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131447"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Net.Http
{
internal enum Http3ErrorCode : long
{
/// <summary>
/// H3_NO_ER... | 2.370454 | 00b161559acd12cafa83cf43dffef84d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812228 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "iamonuwa/herc-in-blazorstate",
"max_stars_repo_path": "Source/Herc.Pwa.Client/Pages/Home.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131448"
} | starcoder | namespace Herc.Pwa.Client.Pages
{
using Herc.Pwa.Client.Components;
public class HomeModel : BaseComponent
{
public const string Route = "/";
}
} | 1.327686 | fe1d8dd1376595a740cd69c7bde7e675 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812229 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "carloseduardofernandes/curso-tdd-csharp-xunit",
"max_stars_repo_path": "Alura.LeilaoOnline/AluraLeilaoOnline.Tests/LeilaoRecebeLance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131449"
} | starcoder | <gh_stars>0
using Alura.LeilaoOnline.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace AluraLeilaoOnline.Tests
{
public class LeilaoRecebeLance
{
[Theory]
[InlineData(new double[] { 100, 1200, 1400, 1300 }, 4)]
[InlineDat... | 2.406668 | 5701a764b4f7d152d995025cfdcd3e18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812230 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "haoliu-amp/amplitude-win",
"max_stars_repo_path": "Amplitude/DeviceInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131450"
} | starcoder | <reponame>haoliu-amp/amplitude-win
using System;
using Windows.Networking.Connectivity;
using Windows.Security.ExchangeActiveSyncProvisioning;
class DeviceInfo
{
private string _version;
public DeviceInfo() { }
public string GetAppVersion()
{
if (string.IsNullOrEmpty(_version))
{
... | 1.913038 | f3282f49fe60fe35c65001baabf0d1d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812231 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "superpose/SuperposeLib",
"max_stars_repo_path": "Superpose.StorageInterface/JobExecutionStatusExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131451"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace Superpose.StorageInterface
{
public static class JobExecutionStatusExtension
{
public static List<JobExecutionStatus> ToListOfJobExecutionStatus(this string str)
{
var enumList = str.Split(',').ToList().Con... | 2.78722 | fd5189203e2059d92996b9fd2f9ec0ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812232 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scream870102/UniMO",
"max_stars_repo_path": "Runtime/Utils/ColorUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131452"
} | starcoder | <reponame>scream870102/UniMO
using UnityEngine;
namespace Scream.UniMO.Utils
{
/// <summary>
/// utils about color
/// </summary>
public class ColorUtils
{
/// <summary>
/// convert rgb formet to hsv format
/// </summary>
/// <param name="rgb">value to convert</param... | 3.113159 | 329af11fa9030364daac88b106c0404c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812233 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "springerarthur/AgilePoker",
"max_stars_repo_path": "AgilePoker.WebUI/GameHub.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131453"
} | starcoder | using Microsoft.AspNetCore.SignalR;
namespace AgilePoker.WebUI
{
public class GameHub : Hub
{
}
}
| 1.13554 | 0e4c13585ea33cc1cf5817a4b898eca0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812234 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Scandal-UK/QuickCompare",
"max_stars_repo_path": "test/QuickCompareTests/EmbeddedSqlTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131454"
} | starcoder | namespace QuickCompareTests
{
using FluentAssertions;
using QuickCompareModel.DatabaseSchema;
using Xunit;
public class EmbeddedSqlTests
{
private const string TextStartsWithSelectRegex = "^[SELECT]";
[Fact]
public void LoadNonExistingQueryFromResource_ReturnsEmptyString() ... | 1.837015 | e602e704a8d42c28c10893626a9b961d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812235 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Megapop/Norad-Eduapp4syria",
"max_stars_repo_path": "Antura/EA4S_Antura_U3D/Assets/_games/_common/_scripts/ContextSample/SampleGameContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131455"
} | starcoder |
namespace EA4S
{
public class SampleGameContext : IGameContext
{
IAudioManager audioManager = new SampleAudioManager();
IInputManager inputManager = new SampleInputManager();
ILogManager logManager = new MinigameLogManager();
ISubtitlesWidget subtitleWidget = new SampleSubtitl... | 2.159081 | beaf1f9d6df57196d31a49f47ed3ab38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812236 | {
"extension": "c-sharp",
"max_stars_count": "223.0",
"max_stars_repo_name": "ohio813/WindowsRpcClients",
"max_stars_repo_path": "Win81/ikeext.dll/a398e520-d59a-4bdd-aa7a-3c1e0303a511_1.0.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131456"
} | starcoder | <reponame>ohio813/WindowsRpcClients<filename>Win81/ikeext.dll/a398e520-d59a-4bdd-aa7a-3c1e0303a511_1.0.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file m... | 1.711437 | 9015c9d5ead1bd16f55adee44e139f6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812237 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tonnguyen/Litium.GraphQL",
"max_stars_repo_path": "Src/Litium.Accelerator/Definitions/FieldTemplateSetup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131457"
} | starcoder | <reponame>tonnguyen/Litium.GraphQL
using System.Collections.Generic;
using Litium.FieldFramework;
using Litium.Runtime.DependencyInjection;
namespace Litium.Accelerator.Definitions
{
[Service(ServiceType = typeof(FieldTemplateSetup))]
public abstract class FieldTemplateSetup
{
public abstract IEnu... | 1.317434 | 5a995031db98f3d3d930dc61ab2ca8e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812238 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RaiderSoap/Warband",
"max_stars_repo_path": "Nez.Portable/Graphics/Renderers/RenderLayerRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131458"
} | starcoder | using System;
namespace Nez
{
/// <summary>
/// Renderer that only renders the specified renderLayers. Useful to keep UI rendering separate from the rest of the game when used in conjunction
/// with other RenderLayerRenderers rendering different renderLayers.
/// </summary>
public class RenderLay... | 2.498405 | 652d0bd0ce5b2fb4532b92044c6b8b2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812239 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "gucheng0712/CombatDesigner",
"max_stars_repo_path": "CombatDesigner/Assets/CombatDesigner/Core/Scripts/Battle/Collision/HitBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131459"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace CombatDesigner
{
/// <summary>
/// The base class of hitbox
/// </summary>
[RequireComponent(typeof(Rigidbody))]
[RequireComponent(typeof(LineRenderer))]
[RequireComponent(typeof(ColliderVisualizer))]
p... | 2.532686 | d58977efb4155589b2a2484b711f7ed5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812240 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "hiroshica/mml2vgm",
"max_stars_repo_path": "mml2vgm/mml2vgmIDE/form/FrmSetting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131460"
} | starcoder | using NAudio.CoreAudioApi;
using NAudio.Wave;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
namespace mml2vgmIDE
{
public partial class FrmSetting : Form
{
private bool asioSupported = true;
pr... | 1.491529 | 260c1dbf6118f4a038e536db1a6d10ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812241 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "polivbr/pulumi-azure-native",
"max_stars_repo_path": "sdk/dotnet/Web/V20210101/Inputs/AzureActiveDirectoryArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131461"
} | starcoder | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 1.672367 | a3aaf9b94ed92a320506158eaf85a4b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812242 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "luchezar-d/Movies-Online-Asp.Net-Core-2.2",
"max_stars_repo_path": "MoviesOnline/MoviesOnline.Services/Interfaces/IMovieService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131462"
} | starcoder | using MoviesOnline.Data.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace MoviesOnline.Services.Interfaces
{
public interface IMovieService
{
void Add(Movie newMovie);
IEnumerable<Movie> GetAll();
string GetTitle(int id);
Movie GetById(int id)... | 2.188243 | 65e994eeae027060fd41776b21eeaf67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812243 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jamalm/gemejem",
"max_stars_repo_path": "Game Jam/Assets/sripts/ui/PlayerState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131463"
} | starcoder | <reponame>jamalm/gemejem
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerState : MonoBehaviour {
private GameObject itemSelected = null;
public GameObject trash;
public float maxObjects;
public float curObjects;
public GameO... | 2.120315 | dd6c462ac6b26ad002067d82de10962b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812244 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RafalNiewinski/OneStepCloudAPI.NET",
"max_stars_repo_path": "OneStepCloudAPI/Managers/UsersManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131464"
} | starcoder | <filename>OneStepCloudAPI/Managers/UsersManager.cs
using OneStepCloudAPI.OneStepObjects;
using OneStepCloudAPI.REST;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace OneStepCloudAPI.Managers
{
public class UsersManager
{
readonly IOSCRequestMan... | 2.409698 | 55f5115382c3f9e5d960d0d25ec8d40f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812245 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "afonsoft/Ranking",
"max_stars_repo_path": "src/Afonsoft.Ranking.Application.Shared/Editions/IEditionAppService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131465"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Afonsoft.Ranking.Editions.Dto;
namespace Afonsoft.Ranking.Editions
{
public interface IEditionAppService : IApplicationService
{
Task<ListResultDto<E... | 1.463491 | bac0973b102b084de630dfe40af7ecb0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812246 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jihwalee/MahApps.Metro",
"max_stars_repo_path": "MahApps.Metro/Controls/ToggleSwitch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131466"
} | starcoder | // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using System;
using System.ComponentModel;
using System.Globalization;
using System.Windows;
using System.Wi... | 2.198235 | 38e06c5a15dca1ab64529245b1364110 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812247 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "shimonmagal/ILSpy",
"max_stars_repo_path": "ILSpy/TreeNodes/ResourceNodes/ResourcesFileTreeNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131467"
} | starcoder | <filename>ILSpy/TreeNodes/ResourceNodes/ResourcesFileTreeNode.cs<gh_stars>1-10
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team
//
// 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 Softw... | 1.903192 | e02b84b00b9eb30171f6591b0569705f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812248 | {
"extension": "c-sharp",
"max_stars_count": "131.0",
"max_stars_repo_name": "lamondlu/Library",
"max_stars_repo_path": "src/Library.Service.Inventory.Domain/CommandHandlers/InStoreBookInventoryCommandHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131468"
} | starcoder | <gh_stars>100-1000
using Library.Domain.Core;
using Library.Domain.Core.DataAccessor;
using Library.Domain.Core.Messaging;
using Library.Service.Inventory.Domain.Commands;
using Library.Service.Inventory.Domain.DataAccessors;
using System;
namespace Library.Service.Inventory.Domain.CommandHandlers
{
public class I... | 2.043489 | f107487dc057488cd9d5b1249076e41c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812249 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SavioMacedo/PSPA-Blazored-Project-",
"max_stars_repo_path": "Infra/Business/BusinessBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131469"
} | starcoder | using Infra.Class;
using Infra.Interfaces;
using System;
using System.Security.Principal;
namespace Infra.Business
{
public class BusinessBase : IDisposable, IBusinessBase
{
public IUnitOfWork _unitOfWork { get; set; }
public IIdentityContext _systemContext { get; set; }
public Busine... | 2.816142 | c32a868c417d1a11e883c99ef759bdfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812250 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MasterKiller1239/Raytracer",
"max_stars_repo_path": "photonss/src/photontracer/objects/PrimitiveInterface.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131470"
} | starcoder | // Primitive object interface
using System;
using Vector3D = RaytracerPhotonmapping.math.Vector3D;
using Material = RaytracerPhotonmapping.material.Material;
using Ray = RaytracerPhotonmapping.misc.Ray;
using Intersection = RaytracerPhotonmapping.misc.Intersection;
using BoundingBox = RaytracerPhotonmapping.BoundingBox... | 2.430628 | 05e72a0125d2890e117dfcd8ab16b46a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812251 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "marcosdosea/GestaoAnimal",
"max_stars_repo_path": "Codigo/Service/MedicamentoService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131471"
} | starcoder | <reponame>marcosdosea/GestaoAnimal
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core;
namespace Service
{
public class MedicamentoService : IMedicamentoService
{
private readonly GestaoAnimalContext _context;
public MedicamentoService(GestaoAnima... | 2.696992 | dfa59b03486c62318d58bd80429b5c6b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812252 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Producenta/TelerikAcademy",
"max_stars_repo_path": "High Quality Code/02.Naming Indentifiers/TaskOneAndTwo/01.Conventer/StringConventer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131472"
} | starcoder | <filename>High Quality Code/02.Naming Indentifiers/TaskOneAndTwo/01.Conventer/StringConventer.cs
using System;
public class StringConventer
{
public void BooleanToString(bool booleanToConvert)
{
string convertedWord = booleanToConvert.ToString();
Console.WriteLine(convertedWord);
}
}
| 2.877223 | 3e4eb7eb40169a8afeda7988d5b9fd7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812253 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "colin08/yun_gitwms",
"max_stars_repo_path": "Git.WMS.Web/Git.WMS.Web/Areas/Storage/Views/Location/Dialog.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131473"
} | starcoder | <gh_stars>1-10
@{
Layout = null;
}
<div class="widget box light-grey">
<div class="widget-body">
<div class="dataTables_wrapper form-inline">
<div class="row-fluid">
<div class="span12 search">
<label>库位编号: <input type="text" name="LocalBarCode" class="in... | 2.088768 | 988651cc8a2b5ad0913121c3110d7e4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812254 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gmanny/NetCommonLib",
"max_stars_repo_path": "ServiceCommon/Services/NeverendingDummyService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131474"
} | starcoder | <reponame>gmanny/NetCommonLib<filename>ServiceCommon/Services/NeverendingDummyService.cs
using System.Threading.Tasks;
using LanguageExt;
namespace Monitor.ServiceCommon.Services
{
public class NeverendingDummyService : IRunningService
{
private readonly TaskCompletionSource<Unit> notFinished = new Ta... | 2.122309 | 5997d3c3e320aa127e8c6cedb156d474 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812255 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zdeneksejcek/NFabric",
"max_stars_repo_path": "src/NFabric.BoundedContext/Persistence/IEventsReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131475"
} | starcoder | using System;
using System.Collections.Generic;
namespace NFabric.BoundedContext.Persistence
{
public interface IEventsReader
{
IList<EventRecord> GetStream(Guid aggregateId, int? withSequenceHigherThan = null);
}
} | 1.680919 | bd64cd91a19a8c9380690632647699b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812256 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "anchan828/unity-notification",
"max_stars_repo_path": "Assets/Test.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131476"
} | starcoder | <reponame>anchan828/unity-notification
using UnityEngine;
using System.Collections;
public class Test : MonoBehaviour
{
private WWW www;
void Start()
{
StartCoroutine(Load());
}
IEnumerator Load()
{
NotificationManager manager = NotificationManager.GetNotificati... | 2.135941 | 72ca40426d260c0fcdd92f984b887f60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812257 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ajlopez/AjSharp",
"max_stars_repo_path": "Src/AjSharp/Compiler/UnexpectedEndOfInputException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131477"
} | starcoder | namespace AjSharp.Compiler
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
public class UnexpectedEndOfInputException : LexerException
{
public UnexpectedEndOfInputException()
: base("Unexpec... | 2.032176 | fda7896e6769d07da239b3b820a9f668 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812258 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leafvmaple/FlowerKnightViewer",
"max_stars_repo_path": "FlowerViewer/Models/Data/Interface/WinAPI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131478"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace FlowerViewer.Models.Data.Interface
{
public static class WinAPI
{
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = false)]
... | 2.177378 | 74a072adf6a90cc3d7d772ba655679bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812259 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gohenderson/MsgKit",
"max_stars_repo_path": "MsgKit/Enums/RecurrencePatternPatternType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131479"
} | starcoder | <gh_stars>0
//
// RecurrencePatternPatternType.cs
//
// Author: <NAME> <<EMAIL>>
//
// Copyright (c) 2015-2018 Magic-Sessions. (www.magic-sessions.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// ... | 2.231195 | 584a02848c6bc34e4831fbf117eb40a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812260 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "commit-n-run/dataobjects-net",
"max_stars_repo_path": "Orm/Xtensive.Orm.Tests/Storage/Providers/Sql/NullValuesTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131480"
} | starcoder | <filename>Orm/Xtensive.Orm.Tests/Storage/Providers/Sql/NullValuesTest.cs
// Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: <NAME>
// Created: 2009.04.25
using NUnit.Framework;
using System.Collections.Generic;
using System.Linq;
... | 1.786002 | 76c5d578c3e81bf3409858f1c94c74dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812261 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "jhonatanfelipe901/.Net-Core---Wrapper-Elastic-Search",
"max_stars_repo_path": "ElasticSearchLite.NetCore/ElasticSearchLite.Tests/Unit/IndexQueryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131481"
} | starcoder | <filename>ElasticSearchLite.NetCore/ElasticSearchLite.Tests/Unit/IndexQueryTests.cs
using ElasticSearchLite.NetCore.Queries;
using ElasticSearchLite.Tests.Pocos;
using FakeItEasy;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace ElasticSearchLite.Tests.Unit
{
[TestClass]
[TestCatego... | 2.035352 | e7b0748e142ea6c1e8e9aacbe7f99645 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812262 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NetbootCommunity/Dotnet-Cache",
"max_stars_repo_path": "Src/Netboot.Utility.Cache/Extensions/DistributedCacheExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131482"
} | starcoder | using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Netboot.Utility.Cache.Domains;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Netboo... | 2.468274 | 2eb226c45f47d9c165fefea19de67904 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812263 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "vhil/xWrap",
"max_stars_repo_path": "src/Xwrap/Caching/ICacheService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131483"
} | starcoder | <gh_stars>1-10
namespace Xwrap.Caching
{
using System;
using System.Collections.Generic;
/// <summary>
/// Cache service
/// </summary>
/// <seealso cref="System.IDisposable" />
public interface ICacheService : IDisposable
{
/// <summary>
/// Gets the cached entity by specified key.
/// </summary>
///... | 2.495742 | b1cdd77212c100aa7983ade6d7a066e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812264 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "j-rah/LevelScript",
"max_stars_repo_path": "LevelScriptableObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131484"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using LevelScript;
using Jarrah;
using System.Text.RegularExpressions;
public class LevelScriptableObject : MonoBehaviour {
public enum CodeSource { file, text }
public CodeSource codeSource;
[HideInInspector]
public string input;
[Hid... | 2.195609 | 2c2598bde2e325d506f2628e9a5ec38c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812265 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LAJE-Studio/UnityPlatformerMotors",
"max_stars_repo_path": "UPM-Runtime/Util/UPMDebug.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131485"
} | starcoder | using UnityEngine;
namespace UPM.Util {
public static class UPMDebug {
public const string Prefix = "[UPM] ";
public static void LogError(string s) {
Debug.LogError(Prefix + s);
}
public static void LogErrorFormat(string error, params object[] format) {
De... | 2.779717 | 0c02b54d868efdbc3b8d158ffaaff4f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812266 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MapleWithoutWords/NoRainForum-MicroService",
"max_stars_repo_path": "NoRainForum/Services.User.DTO/ListUserDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131486"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Services.User.DTO
{
public class ListUserDTO
{
public string Email { get; set; }
public string NickName { get; set; }
/// <summary>
/// 性别
/// </summary>
public bool Gender { get; set; ... | 1.736456 | 4a4d3af2284fa9a1cdd1bab8f57f58f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812267 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "JieGou/blogsamples",
"max_stars_repo_path": "DatabaseUnitTests/Data/Data.Core/CustomerGroup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131487"
} | starcoder | <reponame>JieGou/blogsamples<filename>DatabaseUnitTests/Data/Data.Core/CustomerGroup.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your applica... | 2.061576 | 8470c569a365c5e633d521dfdf3257e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812268 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kyros200/BallistaRush",
"max_stars_repo_path": "Assets/Scripts/MathHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131488"
} | starcoder | <reponame>kyros200/BallistaRush
using UnityEngine;
public class MathHelper
{
public static Vector3 getWorldMousePosition()
{
return Camera.main.ScreenToWorldPoint(Input.mousePosition);
}
public static float getAngle(Vector2 direction)
{
return ((Mathf.Atan2(direction.y, direction.... | 2.307238 | 9904e752b35b2e6d89a606b125a6e191 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812269 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mct-procon/procon2018-Interface",
"max_stars_repo_path": "GameInterface/GameInterface/TeamColor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131489"
} | starcoder | <filename>GameInterface/GameInterface/TeamColor.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameInterface
{
public enum TeamColor {
Free = 0b000,
Area1P = 0b001,
Area2P = 0b010,
Bot... | 2.511497 | 9cb6d6dc9ebaebcfb1b0c8dcbaefc38e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812270 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Miiaroma/object-oriented-programming",
"max_stars_repo_path": "OOHarjoitukset/Interface_task/IProduct.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131490"
} | starcoder | <filename>OOHarjoitukset/Interface_task/IProduct.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace Interface_task
{
interface IProduct
{
Product GetProduct(string name);
double CalculateTotal();
}
}
| 2.170014 | 0dee15d9c728094a763d46bddb46b343 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812271 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ntierontime/Log4Net",
"max_stars_repo_path": "Log4Net/DAL/DALContracts/ILogRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131491"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Linq;
namespace Log4Net.DALContracts
{
/// <summary>
/// There is a DataAccessLayerEntityContract class for each entity, which inherits from <see cref="Framework.DAL.DataAccessLayerContractBase<TCollection, T, T... | 2.324058 | 7b29c206e91862d67bc73d6bd1067130 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812272 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "nesrak1/xenko",
"max_stars_repo_path": "sources/engine/Xenko.UI/DependencyPropertyKeyMetadata.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131492"
} | starcoder | // Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using Xenko.Core;
namespace Xenko.UI
{
[Flags]
public enum DependencyProperty... | 1.956622 | 2ef93f66527c9f0bc1a84a49ec4d60f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812273 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cacophony-wj/wabbajack",
"max_stars_repo_path": "Wabbajack.App/Utilities/CefAppImpl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131493"
} | starcoder | using System;
using System.Runtime.InteropServices;
using CefNet;
namespace Wabbajack.App.Utilities;
internal class CefAppImpl : CefNetApplication
{
public Action<long> ScheduleMessagePumpWorkCallback { get; set; }
protected override void OnBeforeCommandLineProcessing(string processType, CefCommandLine comma... | 1.638633 | 1b8f1fa8d3f88408cc355b4e9dabbbd0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812274 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "BenjaminBest/StockTradingAnalysisWebsite",
"max_stars_repo_path": "StockTradingAnalysisWebsite/StockTradingAnalysis.Web/Controllers/QuotationController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131494"
} | starcoder | <filename>StockTradingAnalysisWebsite/StockTradingAnalysis.Web/Controllers/QuotationController.cs
using System;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using StockTradingAnalysis.Domain.CQRS.Cmd.Commands;
using StockTradingAnalysis.Domain.CQRS.Query.Queries;
using StockTradingAnalysis.Interfaces.Commands;
u... | 2.060752 | ab85517f63ac9eda6a76307ab2b2fcb6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812275 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "etherealko/StasyanBot",
"max_stars_repo_path": "src/eth.MacTestApp/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131495"
} | starcoder | <gh_stars>0
using System;
using eth.Eve;
using eth.PluginSamples;
using eth.TestApp.FancyPlugins;
using eth.Eve.Storage;
using Microsoft.EntityFrameworkCore;
using eth.Telegram.BotApi.Objects;
namespace eth.MacTestApp
{
class Program
{
static void Main(string[] args)
{
... | 1.666255 | 537dbf8783dec064ecbb82a3a2fd798b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812276 | {
"extension": "c-sharp",
"max_stars_count": "134.0",
"max_stars_repo_name": "SCToolsfactory/SCJMapper-V2",
"max_stars_repo_path": "Devices/Joystick/UC_JoyPanel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131496"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace SCJMapper_V2.Devices.Joystick
{
public partial class UC_JoyPanel : UserControl
{
public UC_JoyPanel( )
{
I... | 2.232296 | e716574f7998343ee8b0c0715e67992b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812277 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "broken240/dotnet-api-docs",
"max_stars_repo_path": "samples/snippets/csharp/VS_Snippets_Remoting/Classic HttpWebRequest.RequestUri Example/CS/source.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131497"
} | starcoder | <reponame>broken240/dotnet-api-docs
using System;
using System.Net;
using System.Web;
using System.Web.UI;
public class Page1: Page
{
private void Page_Load(Object sender, EventArgs e)
{
HttpWebRequest req = (HttpWebRequest)WebRequest.Create("http://www.contoso.com/");
// <Snippet1>
bool hasChanged = (re... | 2.300622 | b0423f2d8f8e440206bf4b9fd96d6822 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812278 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hhappyzxm/ZXM.Dapper",
"max_stars_repo_path": "src/zxm.Dapper/Context/DbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131498"
} | starcoder | <reponame>hhappyzxm/ZXM.Dapper
using System;
using System.Collections.Generic;
using System.Data;
using zxm.Dapper.Repository;
namespace zxm.Dapper.Context
{
/// <summary>
/// DbContext
/// </summary>
public class DbContext : IDbContext
{
public DbContext(IDbConnection connection) : this(c... | 2.805094 | 1a293810024cd865fa7e800ff78b7b9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812279 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "211004-Reston-NET/Carvell_Wilkins-P1",
"max_stars_repo_path": "CRUSWebUI/Views/Customer/WelcomePage.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131499"
} | starcoder | @*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
}
@* This tells you that this view will expect to retrieve a list of RestaurantVM *@
@model IEnumerable<CRUSWebUI.Models.CustomerVM>
<h1 class="display-4">Welcome @ViewData["CustomerName"] ... | 2.739886 | ba99b772fb1fc7a56ba5c80ccc4b7218 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812280 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "misogihagi/bjd5",
"max_stars_repo_path": "BJD/net/ProtocolKind.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131500"
} | starcoder | namespace Bjd.net {
public enum ProtocolKind {
Tcp,
Udp
}
} | 1.730858 | 36b47e0566c82d564f7ee115f333c0b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812281 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nagasudhirpulla/wrldc_tripping_portal",
"max_stars_repo_path": "src/TrippingPortal.Data/Configurations/TrippingElementOwnerConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131501"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using TrippingPortal.Core.Entities;
namespace TrippingPortal.Data.Configurations
{
public class TrippingElementOwnerConfiguration : IEntityTypeConfiguration<TrippingElementOwner>
{
public void Configure(EntityT... | 2.450297 | fed5ee1305e8f48b55a6e7aeb802bde3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812282 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "mathpaquette/PT.MarketDataService",
"max_stars_repo_path": "src/PT.MarketDataService.Repository.EfRepository/RepositoryModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131502"
} | starcoder | using System.Data.Entity;
using PT.Common.Repository;
using PT.Common.Repository.EfRepository;
using PT.MarketDataService.Core.Repositories;
using PT.MarketDataService.Repository.EfRepository.Repositories;
using SimpleInjector;
using SimpleInjector.Packaging;
namespace PT.MarketDataService.Repository.EfRepository
{
... | 1.82879 | 84433ead46582cfb0eea55625bddd9fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812283 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "coding2233/UMA",
"max_stars_repo_path": "UMAProject/Assets/UMA/Examples/Editor/Jiggle/JiggleBreastEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131503"
} | starcoder | <filename>UMAProject/Assets/UMA/Examples/Editor/Jiggle/JiggleBreastEditor.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using UMA.Examples;
[CustomEditor(typeof(UMA_JiggleBreasts))]
public class JiggleBreastEditor : Editor {
public override void OnInsp... | 2.349638 | fd54ad1b417eef28a847fe4ef7b71179 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812284 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "junhsieh/csharpexample",
"max_stars_repo_path": "wpf/AutoCompleteMVVMWPFToolKit/AutoCompleteMVVMWPFToolKit/Lib/Util.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131504"
} | starcoder | <reponame>junhsieh/csharpexample
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Contro... | 2.14169 | 2c442c5ccaf2ea9ca4a6b83ec7761bd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812285 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "x00jahangir/Bad_is_Good",
"max_stars_repo_path": "Assets/Scripts/BossReplica.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131505"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BossReplica : MonoBehaviour
{
public GameObject bossPrefab;
private Transform target1;
public float replicaAttackTime = 2.0f;
private float bosstime = 1.0f;
// Start is called before the first frame update
... | 2.134415 | 14f35ea881eebfef14125e344015eef3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812286 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DANaini13/2022GGJ",
"max_stars_repo_path": "Assets/PBFolder/TItleAnimControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131506"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
public class TItleAnimControl : MonoBehaviour
{
public float rotateTime = 3;
private void Start()
{
DOVirtual.DelayedCall(rotateTime,() => { SetItemRotate(); }).SetEase(Ease.Linear);
... | 1.6802 | 025404b1e5f4779e67b1a592ecb54b15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812287 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mrbrl/Xamarin-Forms-Labs",
"max_stars_repo_path": "src/Xamarin.Forms.Labs/Xamarin.Forms.Labs/Mvvm/ViewFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131507"
} | starcoder | using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace Xamarin.Forms.Labs.Mvvm
{
/// <summary>
/// Class ViewTypeAttribute.
/// </summary>
[AttributeUsage (AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public class ViewTypeAttribute : Attribute
{
/// <summary>
//... | 2.678938 | 60bffdbd85557e2bbf71da77bcea88b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812288 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "gagandeepp/vonage-dotnet-sdk",
"max_stars_repo_path": "Vonage/NumberInsights/AdvancedNumberInsightASynchronousRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131508"
} | starcoder | using Newtonsoft.Json;
namespace Vonage.NumberInsights
{
public class AdvancedNumberInsightAsynchronousRequest : AdvancedNumberInsightRequest
{
/// <summary>
/// The callback URL
/// </summary>
[JsonProperty("callback")]
public string Callback { get; set; }
}
} | 1.741761 | b5f21925171e76c7ab22bd7c0f59d00e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812289 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "AiursoftWeb/Infrastructures",
"max_stars_repo_path": "src/WebServices/Basic/Developer/Views/Shared/Components/GitHubRenderer/GitHubRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131509"
} | starcoder | <reponame>AiursoftWeb/Infrastructures
using Aiursoft.XelNaga.Models;
using Aiursoft.XelNaga.Services;
using Markdig;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace Aiursoft.Developer.Views.Shared.Components.GitHubRenderer
{
public class GitHubRenderer : ViewComponent
{
private... | 2.325356 | 24fbefbee342c87275a1ed1d147746e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812290 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sahil-dombe/TodoList",
"max_stars_repo_path": "TodoList/Server/Data/Profiles/TodoProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131510"
} | starcoder | <filename>TodoList/Server/Data/Profiles/TodoProfile.cs
using AutoMapper;
using TodoList.Server.Models;
using TodoList.Shared.Dto;
namespace TodoList.Server.Data.Profiles
{
public class TodoProfile : Profile
{
public TodoProfile()
{
CreateMap<Todo, TodoDto>();
CreateMap<... | 1.840472 | 633a6e7c0905d48c34500af57ede4221 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812291 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "g1zzm0/aasx-server",
"max_stars_repo_path": "src/AasxServerStandardBib/EnergyModel_SourceSystem_Azure.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131511"
} | starcoder | <reponame>g1zzm0/aasx-server
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using AasxServer;
using AasxTimeSeries;
using AdminShellNS;
using Newtonsoft.Json;
using Newtonsoft... | 1.059684 | 780d25c1c3e1211d1e7633619216bf8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812292 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ikaroamorim/Csharplearning-BBSisAgencia",
"max_stars_repo_path": "ByteBank/ByteBank.SistemaAgencia/LidandoStreamDiretamente.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131512"
} | starcoder | <gh_stars>1-10
using Bytebank;
using ByteBank.Modelos.Comparadores;
using ByteBank.Modelos.Extensoes;
using Humanizer;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace ByteBank.SistemaA... | 2.839867 | bd371fc03b3efd95520c418363ce36e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812293 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "2823896/cshotfix",
"max_stars_repo_path": "CSHotFix_SimpleFramework/Assets/CSHotFixLibaray/Editor/Injector/MonoCecil/Mono.Cecil.Cil/SequencePoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131513"
} | starcoder | <filename>CSHotFix_SimpleFramework/Assets/CSHotFixLibaray/Editor/Injector/MonoCecil/Mono.Cecil.Cil/SequencePoint.cs
using System;
namespace Editor_Mono.Cecil.Cil
{
public sealed class SequencePoint
{
private Document document;
private int start_line;
private int start_column;
private int end_line;
... | 2.313898 | 00904778ffe444e56d90d53eba5967eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812294 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "inmark92/hotchocolate",
"max_stars_repo_path": "src/HotChocolate/ApolloFederation/examples/CodeFirst/Products/Data/ProductRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131514"
} | starcoder | <reponame>inmark92/hotchocolate
namespace Products;
public class ProductRepository
{
private readonly Dictionary<string, Product> _products;
public ProductRepository()
{
_products = CreateProducts().ToDictionary(product => product.Upc);
}
public IEnumerable<Product> GetTop(int amount)
... | 2.029682 | fac5f8feda9de21986263996c08e6740 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812295 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mdavid/nuxleus",
"max_stars_repo_path": "src/Nuxleus.Extension.Linq/Query/ExpressionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131515"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Xml.Linq;
using System.Linq.Expressions;
using System.Reflection;
using EeekSoft.Query;
namespace EeekSoft.Expressions
{
/// <summary>
/// Interface for classes that can be used to convert calls to methods
/// in LINQ... | 2.971739 | d0b4bc9620c16a1eb86c2618b3e34df3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812296 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "maca88/Breeze.NHibernate",
"max_stars_repo_path": "Source/Breeze.NHibernate/Serialization/BreezeContractResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131516"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Breeze.NHibernate.Configuration;
using Breeze.NHibernate.Extensions;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using NHibernate;
using NHibernate.Intercept;
using NHibernate.Pro... | 1.983376 | 4460aa5665fb1248e823f3642cd5a2ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812297 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KittySoldier/Monster-Merger",
"max_stars_repo_path": "MonsterMerger/UserInterface/SimpleView.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131517"
} | starcoder | namespace MonsterMerger.UserInterface {
partial class SimpleView {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.24458 | c992dd101a8cfe811cd746bc2b5cbac3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812298 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "someone95/TaskManager",
"max_stars_repo_path": "TaskManagerV2/TaskManagerV2/Controllers/TasksManagementController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131518"
} | starcoder | <filename>TaskManagerV2/TaskManagerV2/Controllers/TasksManagementController.cs
using Common.Entities;
using DatabaseAccess.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TaskManagerV2.Models;
using TaskManagerV2.ViewModels.Comments;
using ... | 2.13597 | 3abaf245e150c2b894923a67039aadc1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812299 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "vassdeniss/software-university-courses",
"max_stars_repo_path": "csharp-oop/24.Exam/Formula1/Models/Pilot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131519"
} | starcoder | using System;
using Formula1.Models.Contracts;
using Formula1.Utilities;
namespace Formula1.Models
{
public class Pilot : IPilot
{
private string fullName;
private IFormulaOneCar car;
public Pilot(string fullName)
{
FullName = fullName;
}
public s... | 3.381161 | b723cd34734f98ab5e7ef48dbdb5e2ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812300 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BalintPogatsa/EntityFrameworkMonitor",
"max_stars_repo_path": "EntityFrameworkMonitor/DbEventOverview.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131520"
} | starcoder | <reponame>BalintPogatsa/EntityFrameworkMonitor
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EntityFrameworkMonitor
{
public class DbEventOverview
{
private string _processName;
public string ProcessName
{... | 1.888446 | 19536fa87c243f5b60cf790bce1d0056 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812301 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bloomz189/app-contacts",
"max_stars_repo_path": "src/MyContacts/Extensions/StringExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131521"
} | starcoder | using System.Linq;
namespace MyContacts.Extensions
{
public static class StringExtensions
{
public static string SanitizePhoneNumber(this string value)
{
return new string(value.ToCharArray().Where(char.IsDigit).ToArray());
}
public static bool IsNullOrWhiteSpace(this string value)
{
return string... | 3.173006 | 1db2a548718ba56d882fa097804e3fd6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812302 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "commercetools/commercetools-dotnet-core-sdk",
"max_stars_repo_path": "commercetools.Sdk/IntegrationTests/commercetools.Sdk.Core3Tests/ContainerType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131522"
} | starcoder | <gh_stars>10-100
namespace commercetools.Sdk.Core3Tests
{
public enum ContainerType
{
BuiltIn,
SimpleInjector
}
}
| 0.887681 | b26c919f6daa36cc5a67028d7aefde8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812303 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mkutepova/ServiceStack.Kutepova",
"max_stars_repo_path": "src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Operations/CachedOperations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131523"
} | starcoder | <filename>src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Operations/CachedOperations.cs
namespace ServiceStack.Northwind.ServiceModel.Operations
{
using System.Runtime.Serialization;
[DataContract]
[Route("/cached/customers")]
public class CachedCustomers
{
}
[DataContract]
[Route("/cached/... | 1.998618 | 5daa100d1e88fc0f61dfb2094c13e112 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812304 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deedeedextor/Software-University",
"max_stars_repo_path": "C#TechnologyFundamentals/StringAndTextProcessingLEME/3.ExtractFileE/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131524"
} | starcoder | using System;
namespace _3.ExtractFileE
{
class Program
{
static void Main(string[] args)
{
string input = Console.ReadLine();
int startIndexofFile = input.LastIndexOf('\\') + 1;
string file = input.Substring(startIndexofFile);
int indexOfPoint ... | 3.309174 | 268bcdcb9844e4c9270641a236148f58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812305 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fireflycons/Firefly.EmbeddedResourceLoader",
"max_stars_repo_path": "src/Firefly.EmbeddedResourceLoader/Exceptions/ResourceLoaderAmbiguousPathException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131525"
} | starcoder | <filename>src/Firefly.EmbeddedResourceLoader/Exceptions/ResourceLoaderAmbiguousPathException.cs
namespace Firefly.EmbeddedResourceLoader.Exceptions
{
using System;
using System.Globalization;
using System.Reflection;
using System.Runtime.Serialization;
/// <summary>
/// Exception thrown wh... | 2.980861 | 2bdded5f30a6e1765212df4bccd1068b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812306 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Meivyn/SongCore",
"max_stars_repo_path": "UI/RequirementsUI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131526"
} | starcoder | <reponame>Meivyn/SongCore
using System.IO;
using BeatSaberMarkupLanguage;
using BeatSaberMarkupLanguage.Attributes;
using BeatSaberMarkupLanguage.Components;
using SongCore.Utilities;
using System.Linq;
using System.Reflection;
using UnityEngine;
using static BeatSaberMarkupLanguage.Components.CustomListTableData;
usin... | 1.690208 | c0356a88625024d00f768d84b35e4e60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812307 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/MediaLiveEventIngestHeartbeatEventData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131527"
} | starcoder | <filename>sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/MediaLiveEventIngestHeartbeatEventData.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.Messaging.EventGrid.SystemEvents
{
... | 1.942898 | 2642b917008d45bce0d4c8b5df2fcb0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812308 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "verybadcat/Debugging",
"max_stars_repo_path": "Jockusch.Common.Debugging/Attributes/IAttributeCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131528"
} | starcoder | using System;
using System.Drawing;
using System.Collections;
using Jockusch.Common.Debugging;
namespace Jockusch.Common
{
///<summary> Not every class with an AttributeDictionary will implement IAttributeCollection,
/// as the supported attributes may differ. However, every class which owns an AttributeCollectio... | 2.90751 | d78a153a753d8ef87232a87ca22b4d9f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812309 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thedalewilliams/Lean",
"max_stars_repo_path": "Algorithm.CSharp/IndexOptionBuySellCallIntradayRegressionAlgorithm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131529"
} | starcoder | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... | 2.369609 | f75036a6b6c7ce7c425ca22e0dc92e63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812310 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Steve-Fenton/CAPTTIA",
"max_stars_repo_path": "Example/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131530"
} | starcoder | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Example MVC Application")]
[assembly: AssemblyDescription("Example MVC Application using CAPTTIA")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Example")]
[assembly: AssemblyC... | 1.721631 | a6afe88a359092936652cdd75be0113d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812311 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HNochev/SoftUni-CSharp-Software-Engineering",
"max_stars_repo_path": "C# Advanced/C# OOP/Exercise 3 - Interfaces and Abstraction/07.MilitaryElite/Models/Commando.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131531"
} | starcoder | <filename>C# Advanced/C# OOP/Exercise 3 - Interfaces and Abstraction/07.MilitaryElite/Models/Commando.cs<gh_stars>1-10
using _07.MilitaryElite.Contracts;
using _07.MilitaryElite.Enums;
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Input;
namespace _07.MilitaryElite.Models
{
... | 3.133238 | 77a10053def9cf1e424a4377ce2c61de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812312 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RestoreMonarchy/Marketplace-Web",
"max_stars_repo_path": "src/Server/Filters/ApiKeyAuthAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131532"
} | starcoder | using Marketplace.Server.Services;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Threading.Tasks;
namespace Marketplace.Server.Filters
{
[AttributeUsage(AttributeTargets.Method | A... | 2.308123 | d7a06beb52797b9536114fb611d3da33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812313 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Eumel-Suite/Eumel.EmailCategorizer",
"max_stars_repo_path": "Eumel.EmailCategorizer/Eumel.EmailCategorizer.WpfUI.Tests/InitConfigManagerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131533"
} | starcoder | using Eumel.EmailCategorizer.WpfUI.Manager;
using FluentAssertions;
using NUnit.Framework;
namespace Eumel.EmailCategorizer.WpfUI.Manager.Tests
{
[TestFixture]
public class InitConfigManagerTest
{
[Test]
public void Be_Creatable()
{
var ctx = new ContextFor<InitConfigMan... | 1.750467 | f2bff246cc71e5a4ba13130d5fddc09e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "angelcnx/NetControl4BioMed",
"max_stars_repo_path": "NetControl4BioMed/Helpers/Extensions/NetworkExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131534"
} | starcoder | <reponame>angelcnx/NetControl4BioMed<filename>NetControl4BioMed/Helpers/Extensions/NetworkExtensions.cs
using Microsoft.AspNetCore.Routing;
using NetControl4BioMed.Data.Enumerations;
using NetControl4BioMed.Data.Models;
using NetControl4BioMed.Helpers.ViewModels;
using System;
using System.Collections.Generic;
using S... | 2.392202 | 88e5cea040ee1de80476b4fafbadf812 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812315 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mmrath/Highlander.Net",
"max_stars_repo_path": "Metadata/FpML.V5r3/FpML.V5r3.Confirmation/PartialClasses/InterestRateStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131535"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace FpML.V5r3.Confirmation
{
public partial class InterestRateStream
{
/// <summary>
/// Gets and sets the required pricing structures to value this leg.
/// </summary>
public List<String> GetRequiredPrici... | 2.187751 | 2663416b08805402491f09003694a9e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812316 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jchannon/IdentityModel.OidcClient2",
"max_stars_repo_path": "src/IdentityModel.OidcClient/Infrastructure/TokenClientFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131536"
} | starcoder | <gh_stars>1-10
using IdentityModel.Client;
using System.Net.Http;
namespace IdentityModel.OidcClient.Infrastructure
{
internal class TokenClientFactory
{
public static TokenClient Create(OidcClientOptions options)
{
var info = options.ProviderInformation;
var handler = ... | 1.934513 | 8a8e73aafa4904e78568d2922c573f56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812317 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "csf-dev/agiil",
"max_stars_repo_path": "Agiil.Domain.Impl/Tickets/CommentFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131537"
} | starcoder | using System;
using Agiil.Domain.Auth;
namespace Agiil.Domain.Tickets
{
public class CommentFactory : ICommentFactory
{
readonly ICurrentUserReader currentUserReader;
readonly IEnvironment environment;
public Comment Create(string body)
{
var user = currentUserReader.RequireCurrentUser();
... | 2.33889 | 45334f53e338db259071b3af3a5208e5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.