added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814418 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "ScanMountGoat/SFGraphics",
"max_stars_repo_path": "Projects/SFGraphics.ShaderGen/GlslParsing.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133638"
} | starcoder | using SFGraphics.ShaderGen.GlslShaderUtils;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace SFGraphics.ShaderGen
{
public static class GlslParsing
{
public static List<ShaderUniform> GetUniforms(string shaderSource)
{
var uniforms = new List<Shader... | 2.575071 | a74f0211cb48c19fbcc377e670bfb238 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814419 | {
"extension": "c-sharp",
"max_stars_count": "695.0",
"max_stars_repo_name": "shayash22/python-language-server",
"max_stars_repo_path": "src/Analysis/Ast/Impl/Utilities/ValueEnumerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133639"
} | starcoder | <gh_stars>100-1000
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//
// THIS CODE ... | 2.229097 | c596541e1a04216d7ffe8934451ffa02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814420 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gKev1n/UnityFrameWorkDesign",
"max_stars_repo_path": "Assets/_FrameworkDesign2021/3.Singleton/Example/MonoSingletonExample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133640"
} | starcoder | <reponame>gKev1n/UnityFrameWorkDesign<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace _FrameworkDesign2021
{
public class MonoSingletonExample : MonoBehaviour
{
public class GameManager : MonoSingleton<GameManager>
{
public overr... | 2.035517 | 41aca0d46ec1d28e9072f1841fb61057 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814421 | {
"extension": "c-sharp",
"max_stars_count": "629.0",
"max_stars_repo_name": "bdebaere/odata.net",
"max_stars_repo_path": "test/FunctionalTests/Microsoft.OData.Core.Tests/JsonLight/ODataJsonLightEntityReferenceLinkSerializerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133641"
} | starcoder | //---------------------------------------------------------------------
// <copyright file="ODataJsonLightEntityReferenceLinkSerializerTests.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//----... | 2.182914 | 6b392ee6ea403a0d33d4a393915e492d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814422 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dv00d00/FuGetGallery",
"max_stars_repo_path": "Data/DataCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133642"
} | starcoder | <reponame>dv00d00/FuGetGallery
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.WebUti... | 2.415543 | f2759b1b68e61a2bf0b040592a53eb8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814423 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bleissem/corefx",
"max_stars_repo_path": "src/Common/src/CoreLib/System/Runtime/CompilerServices/ValueTaskAwaiter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133643"
} | 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.Diagnostics;
using System.Threading.Tasks;
namespace System.Runtime.CompilerServices
{
/// <summar... | 2.736909 | 531b8cf4363e7a81823b1591aba3789d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814424 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SystemDot/SystemDotServiceBus",
"max_stars_repo_path": "SystemDotMessaging/Projects/SystemDot.Messaging/Addressing/ServerAddressLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133644"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Xml;
using SystemDot.Configuration;
namespace SystemDot.Messaging.Addressing
{
public class ServerAddressLoader
{
readonly IConfigurationReader config... | 2.599239 | 8d04a516b8514e91b04d06e2e18a119e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814425 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lnodaba/DoubleCount.UnoExample",
"max_stars_repo_path": "DCx.Webshop/Models/Quantity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133645"
} | starcoder | <filename>DCx.Webshop/Models/Quantity.cs
namespace DCx.Webshop.Models
{
public class Quantity
{
public int Value { get; set; }
public string Name { get; set; }
public Quantity(string name, int value)
{
Name = name;
Value = value;
}
public ... | 2.336448 | e3d1319c0528ec71930967dc5244d606 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814426 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vikigenius/WW-Blueprint-Core",
"max_stars_repo_path": "BlueprintCoreGen/Templates/BlueprintConfigurators/Classes/FeatureBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133646"
} | starcoder | using BlueprintCore.Utils;
using BlueprintCoreGen.Blueprints.Configurators.Facts;
using Kingmaker.Blueprints.Classes;
namespace BlueprintCoreGen.Blueprints.Configurators.Classes
{
/// <summary>
/// Implements common fields and components for blueprints inheriting from <see cref="BlueprintFeatureBase"/>.
/// </s... | 2.22484 | 789e6573f48d98c0dec6405c17963ba8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814427 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TheDoct0r11/Yupi",
"max_stars_repo_path": "Yupi.Model/DependencyFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133647"
} | starcoder | <reponame>TheDoct0r11/Yupi
// ---------------------------------------------------------------------------------
// <copyright file="DependencyFactory.cs" company="https://github.com/sant0ro/Yupi">
// Copyright (c) 2016 <NAME>, TheDoctor
// </copyright>
// <license>
// Permission is hereby granted, free of charge, ... | 2.348708 | 34f5ddec615f939db5cc4f2b5712574d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814428 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daibhid/keepass-urltotitle",
"max_stars_repo_path": "URLInNameTests/URLInNameExtTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133648"
} | starcoder | <reponame>daibhid/keepass-urltotitle
// <copyright file="URLInNameExtTests.cs" company="daibhid">
// Copyright (c) daibhid. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>
namespace URLInName.Tests
{
using NUnit.Framework;
... | 2.40671 | e4e13abb68c39aaa1c1bcb6367e188f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814429 | {
"extension": "c-sharp",
"max_stars_count": "193.0",
"max_stars_repo_name": "AiScientists/DEM.Net",
"max_stars_repo_path": "DEM.Net.TestWinForm/EchantillonsTestsServices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133649"
} | starcoder | <reponame>AiScientists/DEM.Net<gh_stars>100-1000
using DEM.Net.Core.Services.Lab;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DEM.Net.Core;
using DEM.Net.Core.Datasets;
namespace DEM.Net.TestWinForm
{
public class EchantillonsTestsServi... | 2.017945 | ddd37c4639753c87077fcff89c506ddf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814430 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JXQJ/PureActive",
"max_stars_repo_path": "src/PureActive.Network.Devices/Device/DeviceBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133650"
} | starcoder | <filename>src/PureActive.Network.Devices/Device/DeviceBase.cs
// ***********************************************************************
// Assembly : PureActive.Network.Devices
// Author : SteveBu
// Created : 11-02-2018
// License : Licensed under MIT License, see https://github.c... | 2.382848 | ee89944c69643f145dd64e4126fdb490 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814431 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "AmalieRask131/femdesign-api",
"max_stars_repo_path": "FemDesign.Core/Loads/LoadLocationValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133651"
} | starcoder | // https://strusoft.com/
namespace FemDesign.Loads
{
/// <summary>
/// location_value_type
/// </summary>
[System.Serializable]
public partial class LoadLocationValue: LocationValue
{
/// <summary>
/// Parameterless constructor for serialization.
/// </summary>
p... | 2.243155 | a28a525d813590c273146b908b450451 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814432 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SebaAnhalt/auth0.net",
"max_stars_repo_path": "src/Auth0.ManagementApi/Models/IGuardianClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133652"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
namespace Auth0.ManagementApi.Models
{
public interface IGuardianClient
{
/// <summary>
/// Generate an email with a link to start the Guardian enrollment process.
/// </summary>
/// <param name="request">
... | 2.438371 | 7a55de77eba6d8d2cc820cbc06ce65c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Parzivail-Modding-Team/ModelPainter",
"max_stars_repo_path": "Cafebabe/Class/JavaConstantPoolTag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133653"
} | starcoder | <gh_stars>0
namespace Cafebabe.Class;
public enum JavaConstantPoolTag
{
Invalid = 0,
Utf8 = 1,
Integer = 3,
Float = 4,
Long = 5,
Double = 6,
Class = 7,
String = 8,
FieldReference = 9,
MethodReference = 10,
InterfaceMethodReference = 11,
NameAndType = 12,
MethodHandle = 15,
MethodType = 16,
Dynamic = 17... | 1.247431 | d4b3e4690bc5ef359922b2bb3040a9b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814434 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lykkecloud/MT",
"max_stars_repo_path": "src/MarginTrading.Common/Services/IDateService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133654"
} | starcoder | <reponame>lykkecloud/MT
// Copyright (c) 2019 <NAME>.
// See the LICENSE file in the project root for more information.
using System;
namespace MarginTrading.Common.Services
{
public interface IDateService
{
DateTime Now();
}
}
| 1.090807 | 82f389ed7448e070a792c7673a00487d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814435 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "brunobola/NetOffice",
"max_stars_repo_path": "Source/OWC10/Enums/XlRangeValueType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133655"
} | starcoder | using System;
using NetOffice;
namespace NetOffice.OWC10Api.Enums
{
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersionAttribute("OWC10", 1)]
[EntityTypeAttribute(EntityType.IsEnum)]
public enum XlRangeValueType
{
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
/... | 1.535165 | 847bdc0f86181c472925675c0bc4cd8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814436 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "abdelrahmansaeedhassan/mvc",
"max_stars_repo_path": "test/WebSites/ModelBindingWebSite/Services/VehicleService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133656"
} | starcoder | <filename>test/WebSites/ModelBindingWebSite/Services/VehicleService.cs<gh_stars>1-10
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using ModelBindingWebSite.ViewModels;
namespace Mode... | 2.008355 | 800cf479e091913bc33c599a6ed48ab7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814437 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moxi255/shop",
"max_stars_repo_path": "Views/Index.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133657"
} | starcoder | using System;
using System.Web.UI.WebControls;
public partial class Views_Index : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Page.Title = "主页";
}
//图片点击跳转相应的页面详情页面
protected void ListViews1_ItemCommand(object sender, ListViewCommandEventArgs e)
... | 1.803193 | 9769d04e90a3cf373b3248d81a0f468c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814438 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Light-Weight-DH/repo_test",
"max_stars_repo_path": "Rotate_Obstacle_2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133658"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rotate_Obstacle_2 : MonoBehaviour
{
Vector3 RotateVector;
GameObject player;
GameObject StartingPoint;
Vector3 movement;
public float speed = 100f;
Vector3 pos;
// Start is called before the fi... | 2.2615 | 7dc1af5faae947baa5ff5e51637cb2b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814439 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZhangZexiao/CollectPhoto",
"max_stars_repo_path": "CollectPhoto/Shares.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133659"
} | starcoder | using System;
using System.IO;
using System.Collections;
using System.Runtime.InteropServices;
namespace Trinet.Networking
{
#region Share Type
[Flags]
public enum ShareType
{
Disk=0,Printer=1,Device=2,IPC=3,Special= -2147483648,
}
#endregion
#region Share
public class Share
{
#region Private data
private st... | 2.717007 | f59420c34df0847029002671739ab0a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814440 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "ryanoshag/data-stores",
"max_stars_repo_path": "Halforbit.DataStores/DocumentStores/Model/Document.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133660"
} | starcoder | <reponame>ryanoshag/data-stores<filename>Halforbit.DataStores/DocumentStores/Model/Document.cs<gh_stars>10-100
using Newtonsoft.Json;
namespace Halforbit.DataStores
{
public abstract class Document : IDocument
{
[JsonProperty("id")]
public string Id { get; set; }
}
}
| 1.762987 | b8c975b7e2c3ec4fccc4bb314de143f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814441 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "moto2002/mobahero_src",
"max_stars_repo_path": "SevenZip.Compression.LZMA/Base.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133661"
} | starcoder | <filename>SevenZip.Compression.LZMA/Base.cs
using System;
namespace SevenZip.Compression.LZMA
{
internal abstract class Base
{
public struct State
{
public uint Index;
public void Init()
{
this.Index = 0u;
}
public void UpdateChar()
{
if (this.Index < 4u)
{
... | 2.252404 | ab901c10faa54048d8e8ffc0e58c2620 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814442 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "MarisaGoergen/MORYX-AbstractionLayer",
"max_stars_repo_path": "src/Moryx.AbstractionLayer/Drivers/IDriverState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133662"
} | starcoder | // Copyright (c) 2020, Phoenix Contact GmbH & Co. KG
// Licensed under the Apache License, Version 2.0
namespace Moryx.AbstractionLayer.Drivers
{
/// <summary>
/// Base API for driver states
/// </summary>
public interface IDriverState
{
/// <summary>
/// Gets the classification of ... | 1.608244 | 6ed7d9ccb6febbcaa5326e8da9f41711 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814443 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Sitecore/Reference-Storefront-SCpbMD",
"max_stars_repo_path": "Storefront/CSF/Models/SitecoreItemModels/Storefront.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133663"
} | starcoder | <reponame>Sitecore/Reference-Storefront-SCpbMD
//-----------------------------------------------------------------------
// <copyright file="Storefront.cs" company="Sitecore Corporation">
// Copyright (c) Sitecore Corporation 1999-2015
// </copyright>
// <summary>Defines the CommercePromotion class.</summary>
//--... | 1.69434 | 2dd339ba4f84dffa7efcd915f0a9afa3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PasierbKarol/CSPsharp",
"max_stars_repo_path": "CSPnet2/RawNetworkMessageFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133664"
} | starcoder |
//////////////////////////////////////////////////////////////////////
// //
// JCSP ("CSP for Java") Libraries //
// Copyright (C) 1996-2018 <NAME>, <NAME> and Neil Brown //
// 2001-2004 Quickstone Techno... | 2.250201 | eb8295ce2c24baacaae28ec6182947d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814445 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MichalJankowskii/Fluent.ValidatorRules.UnitTestExtension",
"max_stars_repo_path": "src/FluentValidation.Validators.UnitTestExtension.Examples/Test/PersonValidatorTests_NewApproach_BaseVerifiersSetComposer.cs",
"provenance": "train-000... | starcoder | namespace FluentValidation.Validators.UnitTestExtension.Examples.Test
{
using Composer;
using Core;
using Production;
using System;
using Xunit;
public class PersonValidatorTests_NewApproach_BaseVerifiersSetComposer
{
// Act
readonly PersonValidator personValidator = new PersonValidator();
[Fact]
publ... | 2.450132 | 9664dae3a91e7bdf839f0d78613556fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814446 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AthanSoulis/Enchantments",
"max_stars_repo_path": "Assets/Scripts/SignRadius.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133666"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Valve.VR.InteractionSystem;
[RequireComponent(typeof(PlaySound))]
[RequireComponent(typeof(CapsuleCollider))]
public class SignRadius : MonoBehaviour {
private PlaySound sound;
private Collider collider;
private Outline outline = ... | 2.123209 | de3909a22d6376d1de6cd4a54a9070ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814447 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sharwell/command-line-api",
"max_stars_repo_path": "src/System.CommandLine/SymbolSet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133667"
} | starcoder | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
namespace System.CommandLine
{
public class SymbolSet : AliasedSet<ISymbol>, ISymbolSet
{
int... | 2.683968 | 7fb85385766db070aa7138e4e9e3e55b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814448 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CotorraProject/Cotorra",
"max_stars_repo_path": "Cotorra.Web/Controllers/Catalogs/AccumulatedTypesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133668"
} | starcoder | using System;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Threading.Tasks;
using Cotorra.Schema;
using Cotorra.Client;
using System.Linq;
using Cotorra.Web.Utils;
using System.Runtime.Serialization;
namespace Cotorra.Web.Controllers
{
[Authentication]
public class Accumulate... | 2.100552 | 05bcaddb0e87206cf1db1e060eaff69e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814449 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "marcin-golebiowski/SpiceSharpContrib",
"max_stars_repo_path": "src/SpiceSharpParser/Parsers/Netlist/Spice/SingleSpiceNetlistParserSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133669"
} | starcoder | using SpiceSharpParser.Lexers.Netlist.Spice;
using System;
namespace SpiceSharpParser.Parsers.Netlist.Spice
{
/// <summary>
/// Settings for the SPICE netlist parser.
/// </summary>
public class SingleSpiceNetlistParserSettings
{
/// <summary>
/// Initializes a new instance of the ... | 2.629761 | 01d05bc52f4c6b101fa92533c589779b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814450 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheChosenEvilOne/space-station-14",
"max_stars_repo_path": "Content.Shared/GameObjects/Components/Body/Mechanism/IMechanism.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133670"
} | starcoder | #nullable enable
using Content.Shared.GameObjects.Components.Body.Part;
namespace Content.Shared.GameObjects.Components.Body.Mechanism
{
public interface IMechanism : IHasBody
{
IBodyPart? Part { get; set; }
/// <summary>
/// Professional description of the <see cref="IMechanism"/... | 2.325166 | e7605229a72fb6679e5decd0f0aba147 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814451 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "InstytutXR/OpenP2P",
"max_stars_repo_path": "OpenP2P/Protocol/NetworkSocket.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133671"
} | starcoder | <gh_stars>10-100
using System;
using System.Net;
using System.Net.Sockets;
namespace OpenP2P
{
public class NetworkSocket
{
public Socket socket4;
public IPEndPoint anyHost4;
public Socket socket6;
public IPEndPoint anyHost6;
public Socket sendSocket = null;
... | 2.395296 | b77309d64204e683fb5fab3ba456dd14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814452 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "czesiu/Luma.SimpleEntity",
"max_stars_repo_path": "Src/Luma.SimpleEntity/SharedTypes/SharedSourceFiles.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133672"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using Luma.SimpleEntity.Helpers;
using Luma.SimpleEntity;
namespace Luma.SimpleEntity.Tools.SharedTypes
{
/// <summary>
/// Internal class to maintain a list of known source files
/// and ... | 2.797784 | 9d56a7baef291b22f867eed50faf4e70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814453 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Bhaskers-Blu-Org2/healthvault-dotnetstandard-sdk",
"max_stars_repo_path": "Microsoft.HealthVault.RestApi/Generated/IActionPlans.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133673"
} | starcoder | <gh_stars>10-100
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace Microsoft.HealthVault.RestApi.Generated
{
using Microsoft.HealthVault;
using Microsoft.HealthVault.RestApi;
using Microsoft.R... | 1.71539 | 9225bc1ae1bdbdaea8f3b5bcfe1a9314 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814454 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "justhyx/Quartz.Core.Aop",
"max_stars_repo_path": "Quartz.Core.Aop.Extension/JobService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133674"
} | starcoder | <reponame>justhyx/Quartz.Core.Aop<filename>Quartz.Core.Aop.Extension/JobService.cs
using Quartz.Core.Aop.Extension.Attributes;
using Quartz.Core.Aop.Extension.Interface;
using Quartz.Impl.Matchers;
using Quartz.Spi;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
us... | 2.291618 | 6db76b8ba4e4dd863bdd31dfeb75cbdc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814455 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeorgeThackrayWT/GraphQLSample",
"max_stars_repo_path": "ED/EDC_Estate/Models/DB/MajorManagementConstraintMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133675"
} | starcoder | <filename>ED/EDC_Estate/Models/DB/MajorManagementConstraintMap.cs
using System;
namespace EDC_Estate.Models.DB
{
public partial class MajorManagementConstraintMap
{
public int Id { get; set; }
public int MajorManagementConstraintTypeId { get; set; }
public int SubCompartmentId { get; s... | 1.903755 | 7ae483b873e1ed1bd08244f07d89e285 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814456 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BryanApellanes/bam.net.shared",
"max_stars_repo_path": "Services/DataReplication/Consensus/RaftNodeState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133676"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Bam.Net.Services.DataReplication.Consensus
{
[JsonConverter(typeof(StringEnumConverter))]
public enum RaftNodeState
{
Invalid,
Follower,
Candidate,
Leader
}
} | 1.473252 | 2fafbd047351260dc03194827b92d0bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814457 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ngxuansang/squidex",
"max_stars_repo_path": "backend/tests/Squidex.Infrastructure.Tests/Security/PermissionSetTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133677"
} | starcoder | <reponame>ngxuansang/squidex
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
/... | 2.379647 | d31bc5f8302a542fd86828fe276d2bd0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814458 | {
"extension": "c-sharp",
"max_stars_count": "95.0",
"max_stars_repo_name": "leisiamedeiros/c4bank-files",
"max_stars_repo_path": "C4Bank.Deposit/Shared/IValidation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133678"
} | starcoder | <reponame>leisiamedeiros/c4bank-files
namespace C4Bank.Deposit.Shared;
public interface IValidation
{
} | 0.905098 | 8c9e288a5b40b89295920f512f3cdc1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814459 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Odonno/FeatureManagement.UI",
"max_stars_repo_path": "Source/FeatureManagement.UI/FeatureManagement.UI/Endpoints/Extensions/UIResourceExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133679"
} | starcoder | namespace FeatureManagement.UI.Core.Endpoints.Extensions;
internal static class UIResourceExtensions
{
public static IEnumerable<UIResource> ReplaceBasePaths(this IEnumerable<UIResource> resources, Options options)
{
var apiPath = options.UseRelativeApiPath
? options.ApiPath.AsRelativeResou... | 2.223812 | 0155932b0c5a29e4b7a59b358ef66eb7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814460 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "collector-bank/serilog-enricher-sensitiveinformation",
"max_stars_repo_path": "src/Collector.Serilog.Enrichers.SensitiveInformation/SensitiveInformationType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133680"
} | starcoder | namespace Collector.Serilog.Enrichers.SensitiveInformation
{
public enum SensitiveInformationType
{
FirstName,
LastName,
FullName,
IpAddress,
Address,
PostalCode,
City,
RegistrationNumber,
Email,
PhoneNumber,
RequestBody,
... | 1.80535 | 66b983618b31ddf3cc5641870a8d79d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814461 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "horker/oxyplotcli2",
"max_stars_repo_path": "source/Horker.OxyPlotCli/Helpers/BoxPlotSeriesHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133681"
} | starcoder | using System.Collections.Generic;
using System.Linq;
#pragma warning disable CS1591
namespace Horker.OxyPlotCli
{
/// <summary>
/// Represents the five-number summary plus whiskers of the data set.</summary>
/// <para> Returns the same results of the "boxplot.stat" function in R. It uses the same method ... | 3.113428 | 301471fc522dc9f71ab904d5a7368dd5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814462 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "L-Dogg/corefx",
"max_stars_repo_path": "src/System.Composition.TypedParts/src/System/Composition/TypedParts/Util/DirectAttributeContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133682"
} | starcoder | <filename>src/System.Composition.TypedParts/src/System/Composition/TypedParts/Util/DirectAttributeContext.cs
// 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 S... | 1.974604 | 028eb2e7169b9737e4e6a18035b42183 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814463 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mishani0x0ef/Project.Hub",
"max_stars_repo_path": "src/Project.Hub.Config/Entities/Version/Component.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133683"
} | starcoder | using System.Collections.Generic;
namespace Project.Hub.Config.Entities.Version
{
/// <summary>
/// Describe basic component (any service, site or app).
/// </summary>
public class Component
{
/// <summary>
/// Display name of the component.
/// </summary>
public st... | 2.401702 | c0dda035d31c3079ce7e544363695808 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814464 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mmeents/DataMattei",
"max_stars_repo_path": "TaskRunnerTrayApp/Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133684"
} | starcoder | <reponame>mmeents/DataMattei
namespace TrayApp1
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disp... | 1.775584 | bb411d1d3a926119c886e2adadd7d73b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814465 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "cjstevenson/hotchocolate",
"max_stars_repo_path": "src/GreenDonut/src/Core/Result.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133685"
} | starcoder | using System;
namespace GreenDonut
{
/// <summary>
/// A wrapper for a single value which could contain a valid value or any
/// error.
/// </summary>
/// <typeparam name="TValue">A value type.</typeparam>
public struct Result<TValue>
: IEquatable<Result<TValue>>
{
/// <summ... | 3.409539 | cbb30a36adebdb5b04048ba06d528a4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814466 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "nicman2006/Orchard-CMS",
"max_stars_repo_path": "Themes/Bootstrap/Views/CommentAuthor.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:133686"
} | starcoder | <filename>Themes/Bootstrap/Views/CommentAuthor.cshtml
@using Orchard.Comments.Models
@{
CommentPart comment = Model.ContentPart;
}
<div class="comment-author"><i class="icon-user"></i> <a href="#">@Html.LinkOrDefault(comment.Author, comment.SiteName, new { rel = "nofollow" })</a></div> | 2.013859 | d7fe26ee37ef9e2dcfdc1699ff5e65c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814467 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "enue/TSKT_Mahjong",
"max_stars_repo_path": "Assets/Package/Runtime/Hand/Hand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133687"
} | starcoder | <reponame>enue/TSKT_Mahjong
#nullable enable
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using TSKT.Mahjongs.Rounds;
namespace TSKT.Mahjongs
{
public class Hand
{
readonly Player owner;
readonly public List<Tile> tiles = new List<Tile>();
... | 2.343564 | 9af9d3c5b9e58475b098b22a2226823c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814468 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "PapsTops/extensions-dependency-injection",
"max_stars_repo_path": "samples/AxaFrance.Extensions.DependencyInjection.Owin.Sample/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133688"
} | starcoder | <reponame>PapsTops/extensions-dependency-injection
using System.Threading.Tasks;
using AxaFrance.Extensions.DependencyInjection.Owin.Sample.Services;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Owin;
using Owin;
[assembly: OwinStartup(typeof(AxaFrance.Extensions.DependencyInjection.Owin.Sample.Sta... | 2.278523 | e779ab6c98c5b3c2be278c94f4101818 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814469 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "li5414/SimpleAnimator-unity",
"max_stars_repo_path": "SimpleAnimator/SimpleAnimator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133689"
} | starcoder | // This file is subject to the terms and conditions defined in
// file 'LICENSE.md', which is part of this source code package.
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// Simple animator
/// </summary>
[RequireComponent(typeof(SpriteRenderer))]
public sealed clas... | 2.40102 | bbc472e2d453db02f97ac91a2fd09528 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814470 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "thpspx0012/GhostOnlineServer",
"max_stars_repo_path": "Server/GameServer/Net/Packet/StatusPacket.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133690"
} | starcoder | <filename>Server/GameServer/Net/Packet/StatusPacket.cs
using Server.Common.Constants;
using Server.Common.IO.Packet;
using Server.Common.Net;
using Server.Ghost.Characters;
using Server.Ghost.Provider;
using Server.Net;
using System.Collections.Generic;
namespace Server.Packet
{
public static class StatusPack... | 2.171662 | 6603c67729843ff25cdbd67c86abac80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814471 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gcodebackups/visual-shader-editor",
"max_stars_repo_path": "VisualShaderEditor/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133691"
} | starcoder | /*
Copyright (c) 2011, <NAME>
All rights reserved.
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 notice, this list of conditions and the following ... | 2.035561 | 7c42f3b1fa6a5e144dfbac5ca5f91f4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814472 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Prev-I/SolutionCommons",
"max_stars_repo_path": "Solution.Tools/Utilities/JsonUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133692"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using log4net;
using Newtonsoft.Json;
namespace Solution.Tools.Utilities
{
/// <summary>
/// Utility to handle serializzation and deserializzation of JSON from Stream
/// ... | 3.059974 | 791ee9c9ad42fae0ecc7ef6e15b219de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814473 | {
"extension": "c-sharp",
"max_stars_count": "1704.0",
"max_stars_repo_name": "TKumadaki/VsVim",
"max_stars_repo_path": "Src/VsVimShared/Result.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133693"
} | starcoder | using System;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio;
namespace Vim.VisualStudio
{
public readonly struct Result<T>
{
private readonly bool _isSuccess;
private readonly T _value;
private readonly int _hresult;
public bool IsSuccess
... | 2.705322 | e0c0422fb4c8d22042ac6d21e43041b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814474 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hezlog/Tailviewer",
"max_stars_repo_path": "src/Tailviewer.Archiver.Test/Repository/RemotePublishDisabledExceptionTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133694"
} | starcoder | using FluentAssertions;
using NUnit.Framework;
using Tailviewer.Archiver.Repository;
namespace Tailviewer.Archiver.Test.Repository
{
[TestFixture]
public sealed class RemotePublishDisabledExceptionTest
{
[Test]
public void TestRoundtrip()
{
BinaryFormatterExtensions.Roundtrip(new RemotePublishDisabledExce... | 1.631812 | c5a33eb1bddaaf23cb3550197c2c9981 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814475 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VGGeorgiev/LearningSystem",
"max_stars_repo_path": "LearningSystem.Services.Abstractions/ICourseService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133695"
} | starcoder | namespace LearningSystem.Services.Abstractions
{
using LearningSystem.Core.Dtos;
using LearningSystem.Core.Entities;
using System.Collections.Generic;
public interface ICourseService
{
CourseDetailDto GetCourse(int id, int userId);
IEnumerable<CourseWithSemesterDto> GetAll();
... | 2.067453 | 016d336b3cfec639a8ae4d91695fb875 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814476 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "RIDICS/ITJakub",
"max_stars_repo_path": "UJCSystem/ITJakub.Web.Hub/Models/Plugins/RegExSearch/DatingCriteriaDescription.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133696"
} | starcoder | namespace ITJakub.Web.Hub.Models.Plugins.RegExSearch
{
public class DatingCriteriaDescription
{
public int? NotAfter { get; set; }
public int? NotBefore { get; set; }
}
} | 1.366634 | b5e8cc7bd8bcf16f3669c0fc0ed568a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814477 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lurienanofab/lnf",
"max_stars_repo_path": "LNF/Billing/Apportionment/Repository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133697"
} | starcoder | using LNF.Billing.Apportionment.Models;
using LNF.DataAccess;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
namespace LNF.Billing.Apportionment
{
public class Repository : SimpleRepository
{
public Repositor... | 2.343581 | e08a051b78230ff7a03e4d521976828b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814478 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Taranchuk/ReconAndDiscovery",
"max_stars_repo_path": "Source/ReconAndDiscovery/CompPsionicEmanator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133698"
} | starcoder | <filename>Source/ReconAndDiscovery/CompPsionicEmanator.cs
using System;
using System.Collections.Generic;
using System.Linq;
using RimWorld;
using Verse;
namespace ReconAndDiscovery
{
[StaticConstructorOnStartup]
public class CompPsionicEmanator : ThingComp
{
public void DoPsychicShockwave()
{
IEnumerable<P... | 2.428782 | 5f2c335f598c4542fd5ef70935116a7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814479 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "johnrulon/EntityFrameworkLargeDataSets",
"max_stars_repo_path": "EntityFrameworkWithLargeDataSets/Data/Models/Vendor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133699"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
namespace Data.Models
{
public partial class Vendor
{
public Vendor()
{
this.ProductVendors = new List<ProductVendor>();
this.PurchaseOrderHeaders = new List<PurchaseOrderHeader>();
}
public ... | 1.944913 | 391632412e02119e5221a08ff262e000 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814480 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Binshop/apple-pay-demo",
"max_stars_repo_path": "src/PaymentGateway/Options/GatewayCredential.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133700"
} | starcoder | <gh_stars>0
// Copyright (c) Binshop and Contributors. All rights reserved.
// Licensed under the MIT License
namespace Binshop.PaymentGateway.Options
{
public class GatewayCredential
{
public const string DEFAULT_SECTION = "Payment:Gateway:Credential";
public string Key { get; set; }
... | 1.145048 | 941028a548e6addb331d6697b0879aca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814481 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "omerozoglu/YazilimMimarisiveTasarimiDonemProjesi",
"max_stars_repo_path": "ProjectDietician.API/Application/Features/Foods/Commands/Create/CreateFoodCommandValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133701"
} | starcoder | <reponame>omerozoglu/YazilimMimarisiveTasarimiDonemProjesi
using FluentValidation;
namespace Application.Features.Foods.Commands.Create {
public class CreateFoodCommandValidator : AbstractValidator<CreateFoodCommand> {
public CreateFoodCommandValidator () {
RuleFor (p => p.Name)
... | 1.769822 | 6acf7e07e30dbae0271d7a55d2cd0bc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814482 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "contensive/Contensive50",
"max_stars_repo_path": "source/Processor/Addons/AdminSite/Views/EditViewTabList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133702"
} | starcoder | <gh_stars>1-10
using Contensive.Processor.Controllers;
using Contensive.Processor.Exceptions;
using Contensive.Processor.Models.Domain;
using System;
using System.Collections.Generic;
using System.Data;
namespace Contensive.Processor.Addons.AdminSite {
/// <summary>
/// Create tabs in edit view
/// </sum... | 2.067215 | fc055c8d8e40513a7d74b171d4502c94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814483 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "auroraland-vr/auroraland-client",
"max_stars_repo_path": "Assets/Nakama/Plugins/Nakama/NSelf.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133703"
} | starcoder | <filename>Assets/Nakama/Plugins/Nakama/NSelf.cs
/**
* Copyright 2017 The Nakama Authors
*
* 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
... | 2.133884 | 6e88a1900f7227ecd11cfa5bfae50cb0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814484 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sevdalin/Software-University-SoftUni",
"max_stars_repo_path": "C-sharp-Web-Developer/C# OOP Basics/03. StaticMembers/03. TemperatureConverter/TemperatureConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133704"
} | starcoder | <gh_stars>0
using System;
public class TemperatureConverter
{
public static void Main(string[] args)
{
var input = Console.ReadLine().Split();
while (!input[0].Equals("End"))
{
int value = int.Parse(input[0]);
if (input[1].Equals("Fahrenheit"))
{
... | 3.755587 | debd86b7de4cec738c4e58d3e207a448 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814485 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lunarobliq/SharpDPAPI",
"max_stars_repo_path": "SharpChrome/lib/Chrome.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133705"
} | starcoder | using System;
using System.Management;
using System.Data;
using System.Security.Cryptography;
using System.IO;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Text;
using System.Text.RegularExpressions;
using SQLite;
using Microsoft.Win32;
na... | 2.206578 | 75803e411b9cab7a813ae5addb022681 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814486 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "patri0t86/ACManager",
"max_stars_repo_path": "Views/Tabs/AdvertisementsTab.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133706"
} | starcoder | using ACManager.Settings;
using System;
using VirindiViewService.Controls;
namespace ACManager.Views.Tabs
{
internal class AdvertisementsTab : IDisposable
{
private BotManagerView Parent { get; set; }
private HudList Advertisements { get; set; }
private HudTextBox NewAdvertisement { ge... | 2.370193 | 1c18bdada12a982d47c1a35785626d57 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814487 | {
"extension": "c-sharp",
"max_stars_count": "111.0",
"max_stars_repo_name": "Protobuild/Protobuild",
"max_stars_repo_path": "Protobuild.Internal/Services/Service.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133707"
} | starcoder | <reponame>Protobuild/Protobuild
namespace Protobuild.Services
{
using System.Collections.Generic;
using System.Xml;
internal class Service
{
public Service()
{
this.AddDefines = new List<string>();
this.RemoveDefines = new List<string>();
this.AddRefe... | 1.921402 | 57712c3e9d609c498d6b9693653f62ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814488 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "Raimusoft/FoxTunes",
"max_stars_repo_path": "FoxTunes.UI.Windows/Extensions/TextBox_IsNumeric.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133708"
} | starcoder | <filename>FoxTunes.UI.Windows/Extensions/TextBox_IsNumeric.cs<gh_stars>10-100
using System.Runtime.CompilerServices;
using System.Text.RegularExpressions;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace FoxTunes
{
public static partial class TextBoxExtensions
... | 2.745496 | b0e98b91e31bea98abcd39dd195f81ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814489 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "igor-tkachev/ReflectionExtensions",
"max_stars_repo_path": "ReflectionExtensions/TypeBuilder/Builders/DefaultTypeBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133709"
} | starcoder | <reponame>igor-tkachev/ReflectionExtensions<filename>ReflectionExtensions/TypeBuilder/Builders/DefaultTypeBuilder.cs
#if !NETCOREAPP1_0 && !NETCOREAPP1_1 && !NETSTANDARD1_0 && !NETSTANDARD1_1 && !NETSTANDARD1_2 && !NETSTANDARD1_3 && !NETSTANDARD1_4 && !NETSTANDARD1_5 && !NETSTANDARD1_6 && !NETSTANDARD2_0
using System... | 1.766013 | f987e65f78288621e816a6e78a572db3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814490 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "cucmberium/Flantter.MilkyWay",
"max_stars_repo_path": "Flantter.MilkyWay/Themes/ThemeService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133710"
} | starcoder | <reponame>cucmberium/Flantter.MilkyWay<gh_stars>10-100
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using Windows.Storage;
using Windows.UI;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Markup;
using Windows.UI.Xaml.Media;
using Flantter.MilkyWay.Setting;
... | 2.386866 | c842788b5d5dc8e11df0b426d1c5b424 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814491 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "AxelMarquez/Ed-Fi-ODS",
"max_stars_repo_path": "Application/EdFi.Ods.Common/Container/ConditionalModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133711"
} | starcoder | <reponame>AxelMarquez/Ed-Fi-ODS
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using Autofac;
us... | 1.804097 | 6d24466016a34c6cacee33cd68299f79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814492 | {
"extension": "c-sharp",
"max_stars_count": "65.0",
"max_stars_repo_name": "tommyka/BlazorTemplater",
"max_stars_repo_path": "BlazorTemplater.Library/CodeBehind.razor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133712"
} | starcoder | using Microsoft.AspNetCore.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlazorTemplater.Library
{
public partial class CodeBehind : ComponentBase
{
[Parameter] public string Name { get; set; }
[Paramet... | 1.50846 | da175e476b6cd05d87308304e1b559b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814493 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "objectyan/MyTools",
"max_stars_repo_path": "OY.Solution/OY.TopSdk/Generated/WebSocket/Net/HttpListenerRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133713"
} | starcoder | //
// HttpListenerRequest.cs
// Copied from System.Net.HttpListenerRequest.cs
//
// Author:
// <NAME> (<EMAIL>)
//
// Copyright (c) 2005 Novell, Inc. (http://www.novell.com)
// Copyright (c) 2012 sta.blockhead (<EMAIL>)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this softwa... | 1.867684 | 1de246e7e68bed59cdc28fbb9e6ed8e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814494 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Elywejnak/hotchocolate",
"max_stars_repo_path": "src/Core/Types/InternalsVisibleTo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133714"
} | starcoder | <reponame>Elywejnak/hotchocolate<gh_stars>0
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("HotChocolate.AspNetCore.Tests")]
[assembly: InternalsVisibleTo("HotChocolate.AspNetClassic.Tests")]
[assembly: InternalsVisibleTo("HotChocolate.Types.Filters")]
| 0.842995 | 343a8baa57f693a1efbe53241af6d10c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814495 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StableCube/Bulzor",
"max_stars_repo_path": "Components.MediaPlayer/src/Models/BulMediaPlayerVolumeChangeEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133715"
} | starcoder | using System;
namespace StableCube.Bulzor.Components.MediaPlayer
{
public class BulMediaPlayerVolumeChangeEvent
{
public double Volume { get; set; }
public bool Muted { get; set; }
}
}
| 1.569241 | 6b3dc5a3889571a2329cfbaff650d520 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814496 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sevginmustafa/InTheAction",
"max_stars_repo_path": "CineMagic/Services/CineMagic.Services.Data/SearchService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133716"
} | starcoder | namespace CineMagic.Services.Data
{
using System.Linq;
using CineMagic.Data.Common.Repositories;
using CineMagic.Data.Models;
using CineMagic.Services.Data.Contracts;
using CineMagic.Services.Mapping;
public class SearchService : ISearchService
{
private readonly IDeletableEntityR... | 2.588783 | fd4afa1669f60147c47a79532dcfbd40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814497 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Moutsiovas/Futility",
"max_stars_repo_path": "Futility/Assets/Scripts/ReviewScene/ReviewManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133717"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ReviewManager : MonoBehaviour {
public SceneFader sceneFader;
public string levelToLoad = "ActPresentScene";
public string outro = "OutroScene";
public Transform scrollingPanel;
... | 2.03352 | 1fba1f3da7747a5889e2c9917946e4ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814498 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "danielmonettelli/MonettelliUIKit",
"max_stars_repo_path": "XF_Monettelli/XF_Monettelli/XF_Monettelli/Views/PreviewApp/ThemesPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133718"
} | starcoder | <reponame>danielmonettelli/MonettelliUIKit<filename>XF_Monettelli/XF_Monettelli/XF_Monettelli/Views/PreviewApp/ThemesPage.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using XF_Monettelli.Them... | 1.843582 | bbf684f95263b256effd1f3a165db028 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814499 | {
"extension": "c-sharp",
"max_stars_count": "432.0",
"max_stars_repo_name": "workabyte/PowerArgs",
"max_stars_repo_path": "PowerArgs/CLI/Controls/AnimatedDialog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133719"
} | starcoder | using PowerArgs.Cli.Physics;
using System;
using System.Threading.Tasks;
namespace PowerArgs.Cli
{
/// <summary>
/// An object that will allow you do configre the dialog as well as close it.
/// </summary>
public class DialogHandle
{
private Lifetime callerLifetime = new Lifetime();
... | 2.861315 | 8a38a4600aca0e73131f06ed603ceb20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814500 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "GSDan/MySkinSelfie",
"max_stars_repo_path": "SkinSelfie/SkinSelfie/Pages/ManageSharesPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133720"
} | starcoder | <filename>SkinSelfie/SkinSelfie/Pages/ManageSharesPage.cs
using Acr.UserDialogs;
using SkinSelfie.AppModels;
using SkinSelfie.Cells;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xamarin.Forms;
namespace SkinSelfie.Pages
{
public class ManageSharesPage : ContentPage
... | 2.304535 | 70670a3a3a8d47cc7c943298f018f12a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814501 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mbruchet/ECommerce.FileStorage.ImportFile",
"max_stars_repo_path": "Import.Abstractions/Interfaces/IDataMapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133721"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Import.Abstractions.Interfaces
{
public interface IDataMapper<T>
{
IEnumerable<T> MapData(string json);
}
}
| 1.47937 | 8c8c2936bcd081687f5ca8dd194b92f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814502 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "reflectronic/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133722"
} | starcoder | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d3d11shadertracing.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop.DirectX;
... | 1.113727 | 2a14e562d4dc1a7b9687ce00f85573a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814503 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "codenplay/CodeCoopersLms",
"max_stars_repo_path": "Projects/Vt/Server/Controllers/TraineeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133723"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using DataAccess;
using Manager;
using ViewModel;
namespace Server.Controllers
{
public class TraineeController : ApiController
{
public asyn... | 1.973157 | fd8f9963ed700cdccdff2858d63fbbcf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814504 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "2002-feb24-net/Tod-Project1",
"max_stars_repo_path": "project1/project1/Controllers/CustomersController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133724"
} | starcoder | <reponame>2002-feb24-net/Tod-Project1
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using project1.data.Entities;
using project1.logic.Models;
using project1... | 2.435669 | 6af6d735978667ceced23aec596d53e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814505 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "Bhaskers-Blu-Org2/healthvault-samples",
"max_stars_repo_path": "dotNET/HealthVault - Your Web Service - Your Client Apps/C#/HealthVaultProxy/HVDataAccess.svc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133725"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// MIT License
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to us... | 1.953767 | 2d8d850a1b3679389a932ccd4f3bb4ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814506 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "4vz/jovice",
"max_stars_repo_path": "Center/Providers/Search/ServiceSearchMatch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133726"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Aphysoft.Share;
using System.Text;
using System.Net;
using Jovice;
namespace Center.Providers
{
public class ServiceSearchMatch : SearchMatch
{
#region Constructors
public ServiceSearchMat... | 1.842579 | 6fc225a9d3cad83ec508763e74378956 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814507 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "shekohex/coshield",
"max_stars_repo_path": "Launcher/Loader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133727"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Threading;
using System.IO;
using System.Timers;
namespace Launcher
... | 2.281364 | b59272a55a6f5f890ff3788810e295d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814508 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "business-sims-toolkit/business-sims-toolkit",
"max_stars_repo_path": "dev/libraries/eboards/GanttTable/GanttTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133728"
} | starcoder | <gh_stars>0
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.IO;
using Charts;
namespace GanttTable
{
/// <summary>
/// ImageTable extends Table to create a form based table that supports images inside cells.
/// ... | 2.39329 | f404e13a3e0a4ea6193ab0fde10fe3ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814509 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "off-sync/mapping-mappert",
"max_stars_repo_path": "src/OffSync.Mapping.Mappert/Validation/RemoveIgnoringMappingRulesValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133729"
} | starcoder | <gh_stars>1-10
/*---------------------------------------------------------------------------------------------
* Copyright (c) Off-Sync.com. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*------------------------------------------------------------... | 1.945329 | 4a3c8a1f1f32e8a8ba33c3cc9653bcf1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814510 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ritter-ti/goal.samples",
"max_stars_repo_path": "src/Demo2/Goal.Demo2/Application/Customers/Commands/CustomerCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133730"
} | starcoder | <filename>src/Demo2/Goal.Demo2/Application/Customers/Commands/CustomerCommand.cs
using Goal.Seedwork.Domain.Commands;
namespace Goal.Demo2.Application.Customers.Commands
{
public abstract class CustomerCommand : Command<ICommandResult>
{
public string Name { get; set; }
public DateTime BirthDat... | 1.924332 | edc13101587466e9dd52fb92733746a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814511 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "spacehamster/TypeTreeTools",
"max_stars_repo_path": "Assembly-TypeTreeTools/Dia/DiaSourceFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133731"
} | starcoder | <reponame>spacehamster/TypeTreeTools
using System;
using System.Runtime.InteropServices;
using Dia2Lib;
namespace Dia
{
public static class DiaSourceFactory
{
[DllImport("msdia140", ExactSpelling = true, BestFitMapping = false, PreserveSig = false)]
static extern void DllGetClassObjec... | 1.933442 | 1a27c6538f04b687e00861b2455dc9f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814512 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dswisher/yaclops",
"max_stars_repo_path": "src/Samples/Sample/Commands/BisectCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133732"
} | starcoder | <reponame>dswisher/yaclops
namespace Sample.Commands
{
public class BisectStartCommand : ISampleCommand
{
}
public class BisectBadCommand : ISampleCommand
{
}
public class BisectGoodCommand : ISampleCommand
{
}
public class BisectSkipCommand : ISampleCommand
{
}
... | 1.391189 | 9be5859c4a3631abee6ed3f2fc7db555 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814513 | {
"extension": "c-sharp",
"max_stars_count": "1034.0",
"max_stars_repo_name": "mk0sojo/allReady",
"max_stars_repo_path": "AllReadyApp/Web-App/AllReady/ViewModels/Shared/LocationViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133733"
} | starcoder | using AllReady.Models;
namespace AllReady.ViewModels.Shared
{
public class LocationViewModel
{
public LocationViewModel()
{
}
public LocationViewModel(Location location)
{
Address1 = location.Address1;
Address2 = location.Address2;
C... | 2.936537 | b51dea02f1d0046cbef54468b5dc4df2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814514 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JackOfAllThings67/https-github.com-cmu-sei-GHOSTS",
"max_stars_repo_path": "Ghosts.Domain/Messages/MesssagesForServer/ResultSurvey.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133734"
} | starcoder | <filename>Ghosts.Domain/Messages/MesssagesForServer/ResultSurvey.cs
// Copyright 2017 <NAME>. All Rights Reserved. See LICENSE.md file for terms.
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Ghosts.Domain.Me... | 2.096746 | ff05156dd07dd2403de6812af4c084fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814515 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "binodnp/solidoc",
"max_stars_repo_path": "Models/NodeResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133735"
} | starcoder | namespace Solidoc.Models
{
public sealed class NodeResult
{
public Contract Contract { get; set; }
public Node Node { get; set; }
}
} | 1.483798 | 5cb5e150f4e6946b3bfd5d67bd5f55c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814516 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joryjack/ronzl.program.temolate",
"max_stars_repo_path": "Ronzl.Core.Config/ConfigNodeBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133736"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ronzl.Core.Config
{
/// <summary>
///Config节点基础类
/// </summary>
public class ConfigNodeBase
{
public ConfigNodeBase()
{
}
public int Id { ge... | 1.637517 | e6e3d4dfe5d92a183db623e140430ee7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814517 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "Microsoft.CSharp/Microsoft/CSharp/ManagedBinder/Semantics/NameGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133737"
} | starcoder | // ==--==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
namespace Microsoft.CSharp.RuntimeBinder.Semantics
{
internal sealed class NameGenerator
{
}
}
| 0.842789 | 1e56ddd9be8592f7f57bd2889af80e4c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.