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.392Z | 2023-09-08T23:13:54.392Z | 70633 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hbostann/Squaddie",
"max_stars_repo_path": "Library/Property/IntProperty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70634"
} | starcoder | namespace Squaddie.Property
{
public class IntProperty : IProperty
{
public const string TypeName = "IntProperty";
public string Name { get; set; }
public string Type => TypeName;
public int Value { get; set; }
public IntProperty(string name, int value)
{
... | 2.688808 | b056d38ed5075d7aed8fc48a0226fce0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70634 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Lowhuhn/LaserControl",
"max_stars_repo_path": "LaserControl/LaserControl.ScriptV2/Nodes/MathNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70635"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LaserControl.ScriptV2.Nodes
{
public enum MathNodeOperator
{
PLUS = 0,
MINUS = 1,
MULTI = 2,
DIVIDE = 3,
MODULO = 4,
POWER = 5
}
... | 3.113527 | e24295ef82d43c63f4340d7d3010f8b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70635 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FinchYang/ao",
"max_stars_repo_path": "automsg/aaa/Huji.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70636"
} | starcoder | <reponame>FinchYang/ao<gh_stars>0
using System;
using System.Collections.Generic;
namespace automsg.aaa
{
public partial class Huji
{
public string Sfzh { get; set; }
public string Jiguan { get; set; }
public string Minzu { get; set; }
public string Qixian1 { get; set; }
... | 1.181463 | 0d73407ef9477f3cea54f11260cca1a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70636 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Acidburn0zzz/antlr4cs",
"max_stars_repo_path": "runtime/CSharp/Antlr4.Runtime/Tree/IParseTree.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70637"
} | starcoder | <filename>runtime/CSharp/Antlr4.Runtime/Tree/IParseTree.cs
/*
* [The "BSD license"]
* Copyright (c) 2013 <NAME>
* Copyright (c) 2013 <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* a... | 2.406038 | a68d8a9f5511fb49292c4a698258e4b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70637 | {
"extension": "c-sharp",
"max_stars_count": "4339.0",
"max_stars_repo_name": "geertjanw/ignite",
"max_stars_repo_path": "modules/platforms/dotnet/Apache.Ignite.Core/IIgniteLock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70638"
} | starcoder | <filename>modules/platforms/dotnet/Apache.Ignite.Core/IIgniteLock.cs
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to ... | 2.316043 | 4f3dc827ed2526d26b05160d87dcd26e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70638 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nigurr/TestResultParser",
"max_stars_repo_path": "Agent.Plugins.Log.TestResultParser.Parser/Parser/Node/Jest/JestParserStates.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70639"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Agent.Plugins.Log.TestResultParser.Parser
{
public enum JestParserStates
{
ExpectingTestRunStart,
ExpectingTestResults,
... | 0.934954 | c9e9b0a18dca7b6d6d1481d695b40915 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70639 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "CAUCA-9-1-1/survip-webapi",
"max_stars_repo_path": "Survi.Prevention.ServiceLayer.Tests/Reporting/ReportingTemplateVariableLIstExtratorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70640"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Survi.Prevention.ServiceLayer.Reporting;
using Xunit;
namespace Survi.Prevention.ServiceLayer.Tests.Reporting
{
public class ReportingTemplateVariableLIstExtratorTests
{
[Fact]
public void VariablesAreCorrectlyExtractedWhenAllAreWellFormed()
{
... | 2.382901 | 01027911cadbefa05ee381c29a664e87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70640 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JonHaywood/Games.AI",
"max_stars_repo_path": "source/Games.AI.UninformedSearch/Solution.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70641"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using Games.AI.Search;
namespace Games.AI.UninformedSearch
{
/// <summary>
/// Class which represents a solution to the board game. Contains the intial state of
/// the board and all... | 3.263546 | 1a39174074cbbe81859ce9e420100ab0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70641 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "NMFCode/NMF",
"max_stars_repo_path": "Transformations/Models.MetaTransformation/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70642"
} | starcoder | <reponame>NMFCode/NMF
using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("NMF MetaTransformation")]
[assembly: AssemblyDescription("The model transformation transforming NMeta metamodels to code")]
[assembly: AssemblyC... | 1.542143 | 04c751bf9fe73ee059cc9db8862e20b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70642 | {
"extension": "c-sharp",
"max_stars_count": "421.0",
"max_stars_repo_name": "hamarb123/dotnet-api-docs",
"max_stars_repo_path": "samples/snippets/csharp/VS_Snippets_CLR_System/system.tuple`6.equals/cs/equals2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70643"
} | starcoder | // <Snippet2>
using System;
using System.Collections;
public class RateComparer<T1, T2, T3, T4, T5, T6> : IEqualityComparer
{
private int argument = 0;
public new bool Equals(object x, object y)
{
argument++;
if (argument == 1) return true;
double fx, fy;
if (x is Do... | 3.258399 | 096a36dacc8532f38133732d89a44cb8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70643 | {
"extension": "c-sharp",
"max_stars_count": "738.0",
"max_stars_repo_name": "eapbokma/DotSpatial",
"max_stars_repo_path": "Source/DotSpatial.Plugins.SpatiaLite/frmQuery.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70644"
} | starcoder | <filename>Source/DotSpatial.Plugins.SpatiaLite/frmQuery.Designer.cs
using System.ComponentModel;
using System.Windows.Forms;
namespace DotSpatial.Plugins.SpatiaLite
{
partial class FrmQuery
{
/// <summary>
/// Required designer variable.
/// </summary>
private IContai... | 1.935064 | fe2493573528bfa6ec6504551cde0bd1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70644 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "timjenks/Asp.Net-Core-Api-Example",
"max_stars_repo_path": "Tests/MockData/Data/InMemoryAppDataContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70645"
} | starcoder | <filename>Tests/MockData/Data/InMemoryAppDataContext.cs<gh_stars>0
#region Imports
using System.Linq;
using Microsoft.Data.Sqlite;
using Microsoft.EntityFrameworkCore;
using Tests.MockData.EntityModels;
using TodoApi.Data;
#endregion
namespace Tests.MockData.Data
{
/// <inheritdoc />
/// <summary>
/// A... | 2.772395 | e420cfe21d45b66194fc715f96993c9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70645 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CptWesley/AssertNET",
"max_stars_repo_path": "src/AssertNet.Core.Tests/Helpers/DummyClasses.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70646"
} | starcoder | using System;
using System.Diagnostics.CodeAnalysis;
using AssertNet.Core.Helpers;
namespace AssertNet.Core.Tests.Helpers
{
/// <summary>
/// Dummy class holder for testing purposes.
/// </summary>
internal static class DummyClasses
{
/// <summary>
/// Class containing circular ref... | 3.140169 | 60701d3fde0033801a81f22a2e594533 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70646 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RIChernov2/BookShop",
"max_stars_repo_path": "BookShop.Data/Repositories/DbRepositories/BaseDbConnectionManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70647"
} | starcoder | using System.Data.Common;
using Microsoft.Extensions.Configuration;
using Npgsql;
namespace Data.Repositories.DbRepositories
{
public abstract class BaseDbConnectionManager : IDbConnectionManager
{
private readonly IConfiguration _config;
protected virtual string ConnectionString => "DefaultCon... | 2.426281 | 6a88bf60470885a9e02b7ecedea9e630 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70647 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dpteam/HandyWinGet-GUI",
"max_stars_repo_path": "HandyWinGet-GUI/Models/PackagesModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70648"
} | starcoder | namespace HandyWinget_GUI.Models
{
public class PackagesModel
{
public string Id { get; set; }
public string Name { get; set; }
public string Version { get; set; }
public bool IsInstalled { get; set; }
}
}
| 1.845535 | 3670085a414aba1be1f5c97b96a362e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70648 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tbasallo/toolshed",
"max_stars_repo_path": "Toolshed/Extensions/Numbers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70649"
} | starcoder | <reponame>tbasallo/toolshed<filename>Toolshed/Extensions/Numbers.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Toolshed
{
public static partial class Numbers
{
//Not sure if I needed it, but I loved the potential, so it's here
//SO: https://stackoverflow.com/q... | 3.481664 | 6adcdfa602ce8bae74dbcd67eaa88fa5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70649 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "craigs100/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Tests/Persistence/UnitOfWorkTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70650"
} | starcoder | using System;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Tests.TestHelpers;
using Umbraco.Tests.Testing;
namespace Umbraco.Tests.Persistence
{
[TestFixture]
[UmbracoTest(Database = UmbracoTestOptions.Database.NewSchemaPerTest)]
public class UnitOfWorkTests : TestWithDatabaseBase
{
... | 1.790391 | 5fe4b686faff7900c422387a8d1b6800 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70650 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Childcity/NLayerApplication",
"max_stars_repo_path": "DAL/EF/TheatreContextSQLite.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70651"
} | starcoder | <filename>DAL/EF/TheatreContextSQLite.cs
using System.Configuration;
using System.Data.Common;
using System.Data.SQLite;
using System.Data;
using System.IO;
namespace NLayerApp.DAL.EF {
public class TheatreContextSQLite :TheatreContext {
public static string dbPath = ConfigurationManager.AppSettings["DbPath"];
... | 2.727806 | f3a1a110b07a4e9eb107584f52a41b70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70651 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "punker76/WinReform",
"max_stars_repo_path": "src/WinReform/WinReform/Settings/IApplicationSettingsViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70652"
} | starcoder | namespace WinReform.Settings
{
/// <summary>
/// Represents a class that provides general application settings data
/// </summary>
public interface IApplicationSettingsViewModel
{
/// <summary>
/// Gets or Sets the state that indicates if a dark theme should currently be used
... | 2.45276 | 87ae000fe6fc9f6257ace6d95da36f42 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70652 | {
"extension": "c-sharp",
"max_stars_count": "149.0",
"max_stars_repo_name": "ncook-hxgn/TestAdapterForGoogleTest",
"max_stars_repo_path": "GoogleTestAdapter/Tests.Common/Fakes/FakeFrameworkReporter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70653"
} | starcoder | <reponame>ncook-hxgn/TestAdapterForGoogleTest<gh_stars>100-1000
using System.Collections.Generic;
using GoogleTestAdapter.Framework;
using GoogleTestAdapter.Model;
namespace GoogleTestAdapter.Tests.Common.Fakes
{
public class FakeFrameworkReporter : ITestFrameworkReporter
{
public IList<TestResult> Re... | 1.709056 | 3cc43d6bac84393f97f54e057e29d586 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70653 | {
"extension": "c-sharp",
"max_stars_count": "87.0",
"max_stars_repo_name": "KieranBond/robotlegs-sharp-framework",
"max_stars_repo_path": "tests/Robotlegs/Bender/Extensions/ViewManagement/Impl/ContainerRegistryTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70654"
} | starcoder | //------------------------------------------------------------------------------
// Copyright (c) 2014-2016 the original author or authors. All Rights Reserved.
//
// NOTICE: You are permitted to use, modify, and distribute this file
// in accordance with the terms of the license agreement accompanying it.
//---... | 1.992865 | f92cd745cadac3f8c33ca6a5ccbe088b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70654 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TechnologyEnhancedLearning/DLSV2",
"max_stars_repo_path": "DigitalLearningSolutions.Web/Views/TrackingSystem/Centre/Reports/EditFilters.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:70655"
} | starcoder | <reponame>TechnologyEnhancedLearning/DLSV2<filename>DigitalLearningSolutions.Web/Views/TrackingSystem/Centre/Reports/EditFilters.cshtml<gh_stars>1-10
@inject IConfiguration Configuration
@using DigitalLearningSolutions.Web.Helpers
@using DigitalLearningSolutions.Web.ViewModels.TrackingSystem.Centre.Reports
@using M... | 1.972052 | 7639df9598409be89fe80988534d91a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70655 | {
"extension": "c-sharp",
"max_stars_count": "62.0",
"max_stars_repo_name": "bau-build/bau",
"max_stars_repo_path": "src/test/Bau.Test.Component/DefaultTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70656"
} | starcoder | // <copyright file="DefaultTask.cs" company="Bau contributors">
// Copyright (c) Bau contributors. (<EMAIL>)
// </copyright>
namespace BauCore.Test.Component
{
using System;
using BauCore.Test.Component.Support;
using FluentAssertions;
using Xbehave;
using Xunit;
public static cl... | 2.270665 | 4f916b1570ad620222ffa81dc54c39a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70656 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "devlights/try-csharp",
"max_stars_repo_path": "TryCSharp.Samples/Basic/EventSettingSamples01.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70657"
} | starcoder | <filename>TryCSharp.Samples/Basic/EventSettingSamples01.cs
using System;
using System.ComponentModel;
using TryCSharp.Common;
namespace TryCSharp.Samples.Basic
{
/// <summary>
/// 手動でイベントを制御する方法に関してのサンプルです。(EventHandlerList)
/// </summary>
[Sample]
public class EventSettingSamples01 : IExecuta... | 3.090372 | 60f500d44048064dca0f3b14102f305a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70657 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "Roukanken42/Tera-custom-cooldowns",
"max_stars_repo_path": "TCC.Core/UI/Controls/Group/RoleColumnsGroupLayout.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70658"
} | starcoder | namespace TCC.UI.Controls.Group
{
/// <summary>
/// Logica di interazione per DefaultGroupLayout.xaml
/// </summary>
public partial class RoleColumnsGroupLayout
{
public RoleColumnsGroupLayout()
{
InitializeComponent();
}
}
}
| 1.393349 | 7d65395c5d18bf93fb6933aeb6dcc57c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70658 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TalicZealot/Frontslide-WebForms",
"max_stars_repo_path": "SotnWiki/SotnWiki.Mvp/CustomEventArgs/SearchEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70659"
} | starcoder | using System;
namespace SotnWiki.Mvp.CustomEventArgs
{
public class SearchEventArgs : EventArgs
{
public string SearchPhrase { get; private set; }
public SearchEventArgs(string searchPhrase)
{
this.SearchPhrase = searchPhrase;
}
}
}
| 2.049462 | 47f22bcc1c99abde149c6ac702088d23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70659 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LagoVista/DeviceManagement",
"max_stars_repo_path": "src/LagoVista.IoT.DeviceManagement.Models/DeviceGroup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70660"
} | starcoder | using System.Collections.Generic;
using LagoVista.Core.Attributes;
using LagoVista.Core.Interfaces;
using LagoVista.Core.Models;
using LagoVista.Core.Validation;
using LagoVista.IoT.DeviceManagement.Models.Resources;
namespace LagoVista.IoT.DeviceManagement.Core.Models
{
[EntityDescription(DeviceManagementDomain.... | 1.966303 | 0ba070df96e6f3de5a1c111cbdae36ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70660 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "aashrafh/FirstToSolve",
"max_stars_repo_path": "A4A/A4A/Views/Blog/ViewMyBlogs.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:70661"
} | starcoder | @model IEnumerable<A4A.Models.BlogModel>
@{
ViewBag.Title = "View My Blogs";
int ID = Convert.ToInt16(Session["ID"]);
if (ID == 0)
{
Layout = "~/Views/Shared/_Layout.cshtml";
}
else
{
Layout = "~/Views/Shared/User_LayoutPage1.cshtml";
}
}
<h2>ViewMyBlogs</h2>
<p>
... | 2.453508 | 270269b46d5603ae13f4f1183143d0e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70661 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mwcaisse/blog-platform",
"max_stars_repo_path": "CrabZinc/CrabZinc.Web/Views/Shared/_VueFooter.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:70662"
} | starcoder | <!-- empty for now --> | 1.715219 | b1fa894ed0de38ac956bf5aff86004e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70662 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "EmptyKeys/UI_Engines",
"max_stars_repo_path": "EmptyKeys.UserInterface.Core/Media/SoundBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70663"
} | starcoder | <filename>EmptyKeys.UserInterface.Core/Media/SoundBase.cs<gh_stars>10-100
namespace EmptyKeys.UserInterface.Media
{
/// <summary>
/// Implements abstract Sound
/// </summary>
public abstract class SoundBase
{
/// <summary>
/// Gets the state.
/// </summary>
... | 2.937866 | 1592ccb4f343620ae1a4b6661f264330 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70663 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ashikns/AOTSerializer",
"max_stars_repo_path": "src/AOTSerializer.Common/Serializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70664"
} | starcoder | using AOTSerializer.Common;
using AOTSerializer.Internal;
using System;
namespace AOTSerializer
{
public static partial class Serializer
{
public static IResolver DefaultResolver { get; set; }
public static byte[] Serialize(object value, Type type)
{
return Serialize(value... | 2.342075 | c9941640d9293608d13d511ef34c1698 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70664 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "okenshields/test-dotnet",
"max_stars_repo_path": "Fangkuai/Models/AdjustLoyaltyPointsRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70665"
} | starcoder | using System;
using System.IO;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Square;
using Square.Utilities;
namespace Square.Models
{
public class Adjus... | 2.628393 | 4a873582513c51cf75de87a52378537d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70665 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "eladaus/URL-Detector",
"max_stars_repo_path": "src/urldetector/eladaus/OctalEncodingHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70666"
} | starcoder | using System;
namespace urldetector.eladaus
{
public static class OctalEncodingHelper
{
public static bool LooksLikeOctal(ReadOnlySpan<char> chars)
{
foreach (var c in chars)
{
var isOctal = c >= '0' && c <= '7';
if (!isOctal)
{
return false;
}
}
return true;
... | 2.927969 | f9d25afa2317c45ad60828aa48dca8e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70666 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "franznkemaka/Vendstor",
"max_stars_repo_path": "Vendstor/Backend/Database/Queries/Product.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70667"
} | starcoder | <reponame>franznkemaka/Vendstor
using System;
using System.Collections.Generic;
using MySql.Data.MySqlClient;
using System.Data;
using System.Drawing;
using System.Windows.Forms;
// Vendstor
using Vendstor.Backend.Data;
using Vendstor.Backend.Utils;
using Vendstor.Backend.Constants;
using Vendstor.Backend.Libraries;
... | 2.605793 | 055347eeb0b8142b77e75a65e9de59da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70667 | {
"extension": "c-sharp",
"max_stars_count": "1344.0",
"max_stars_repo_name": "iqmulator/Stl.Fusion",
"max_stars_repo_path": "src/Stl.Fusion/Bridge/Internal/SubscriptionProcessorFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70668"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Threading.Channels;
using Microsoft.Extensions.Logging;
using Stl.Concurrency;
using Stl.Fusion.Bridge.Messages;
using Stl.Fusion.Internal;
using Stl.Reflection;
using Stl.Time;
namespace Stl.Fusion.Bridge.Internal
{
public interface ISubscriptionProc... | 2.069393 | e968e3793a2f30a3bfdccc67440137df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70668 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jsbattig/DistributedLock",
"max_stars_repo_path": "DistributedLock.Tests/Infrastructure/TestingSqlDistributedReaderWriterLockEngine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70669"
} | starcoder | <filename>DistributedLock.Tests/Infrastructure/TestingSqlDistributedReaderWriterLockEngine.cs<gh_stars>0
using Medallion.Threading.Sql;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Medallion... | 2.616472 | 233bdb86e79db2b9a1f766d022830744 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70669 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "glyad/mdclone-exam",
"max_stars_repo_path": "src/MdClone.Model/EmailRecipientsModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70670"
} | starcoder | <filename>src/MdClone.Model/EmailRecipientsModel.cs
using LogoFX.Client.Mvvm.Model;
using MdClone.Model.Contracts;
namespace MdClone.Model
{
internal class EmailRecipientsModel : EditableModel, IEmailRecipientsModel
{
private IEmailRecipientModel[] _items;
public EmailRecipientsModel()
... | 2.086823 | 35ac56bd82e5301ed79603697bebda3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70670 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "salvrtsy/OpenSilver",
"max_stars_repo_path": "src/Runtime/Runtime/Windows.UI.Xaml.Media.Animation/WORKINPROGRESS/PointKeyFrameCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70671"
} | starcoder | #if WORKINPROGRESS
#if MIGRATION
namespace System.Windows.Media.Animation
#else
namespace Windows.UI.Xaml.Media.Animation
#endif
{
public class PointKeyFrameCollection : PresentationFrameworkCollection<PointKeyFrame>
{
internal override void AddOverride(PointKeyFrame value)
{
this.... | 2.045684 | 21018babccde8e845ba3e2cb80ec1dd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70671 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "GregoryComer/LibRbxl",
"max_stars_repo_path": "LibRbxl/Instances/Debris.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70672"
} | starcoder | namespace LibRbxl.Instances
{
public class Debris : Instance, ISingleton
{
public override string ClassName => "Debris";
public int MaxItems { get; set; }
}
}
| 1.943158 | 2d700d01edf427842b109aa4f44a32c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70672 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "Seekatar/guflow",
"max_stars_repo_path": "Guflow.Tests/Decider/Signal/WaitForAllSignalsActionWithTimeoutTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70673"
} | starcoder | <reponame>Seekatar/guflow
using System;
using System.Collections.Generic;
using System.Linq;
using Amazon.SimpleWorkflow.Model;
using Guflow.Decider;
using NUnit.Framework;
namespace Guflow.Tests.Decider
{
[TestFixture]
public class WaitForAllSignalsActionWithTimeoutTests
{
private HistoryEventsBu... | 1.865106 | e5caec72a4275e5e20577699ee0ea095 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70673 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "awei1688/aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-geoip/Geoip/Transform/V20200101/DescribeIpv4LocationResponseUnmarshaller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70674"
} | starcoder | <reponame>awei1688/aliyun-openapi-net-sdk
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Lic... | 1.123345 | 66ca5d647ecdb08d0e8f6f7449bd156a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70674 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlpaGit/FortniteReplayDecompressor",
"max_stars_repo_path": "src/FortniteReplayReader/Models/Events/BaseEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70675"
} | starcoder | using Unreal.Core.Contracts;
using Unreal.Core.Models;
namespace FortniteReplayReader.Models.Events
{
public abstract class BaseEvent : IEvent
{
public EventInfo Info { get; set; }
}
} | 1.538245 | 38a65952df1f1f20917eb585685787f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70675 | {
"extension": "c-sharp",
"max_stars_count": "95.0",
"max_stars_repo_name": "xtqqczze/JosefPihrt-Orang",
"max_stars_repo_path": "src/DocumentationGenerator/MarkdownHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70676"
} | starcoder | <reponame>xtqqczze/JosefPihrt-Orang<filename>src/DocumentationGenerator/MarkdownHelpers.cs<gh_stars>10-100
// Copyright (c) <NAME>. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Orang
{
internal static class MarkdownHelp... | 2.116264 | 546a2da19ea085cd83d4b7739f2df543 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70676 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wprzadka/RolePlayingGame",
"max_stars_repo_path": "RolePlayingGame.Engine/Actions/Fight/FleeAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70677"
} | starcoder | <reponame>wprzadka/RolePlayingGame
using System.Collections.Generic;
using System.Text;
using RolePlayingGame.Engine.Characters.NonPlayer;
using RolePlayingGame.Engine.Dices;
using RolePlayingGame.Engine.Exceptions;
namespace RolePlayingGame.Engine.Actions.Fight
{
public class FleeAction : Action
{
pr... | 2.392932 | 4fce48e1d6836e84f7ef24c699631feb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70677 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pulumi/pulumi-akamai",
"max_stars_repo_path": "sdk/dotnet/AppSecAttackGroup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70678"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.888077 | 634bba12b5f3076680c8b00ca0fb1318 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70678 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lukaspj/T3DSharp-Sample",
"max_stars_repo_path": "t3dsharp/T3DSharpGenerator/XmlParsers/FunctionParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70679"
} | starcoder | using System.Xml;
using T3DSharpFramework.Interop;
using T3DSharpGenerator.Model;
namespace T3DSharpGenerator.XmlParsers
{
internal class FunctionParser : IApiXmlParser
{
public bool Parses(XmlElement element) {
return element.Name.Equals("EngineFunction");
}
public ParseS... | 2.684458 | d3d1f145dae825bd754e63295d3b5e66 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70679 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ghuntley/monotouch-samples",
"max_stars_repo_path": "OpenGLESSample/EAGLView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70680"
} | starcoder | using System;
using MonoTouch.UIKit;
using MonoTouch.CoreAnimation;
using OpenTK.Platform.iPhoneOS;
using MonoTouch.Foundation;
using OpenTK.Graphics;
using MonoTouch.OpenGLES;
using OpenTK.Graphics.ES11;
using MonoTouch.ObjCRuntime;
namespace OpenGLESSample
{
public partial class EAGLView : UIView
{
int BackingW... | 1.722544 | 21439cee4a8bb0361221a15e5a09b981 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70680 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "diego-rangel/DiegoRangel.DotNet.Framework.CQRS",
"max_stars_repo_path": "src/DiegoRangel.DotNet.Framework.CQRS.Infra.CrossCutting.MediatR/IEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70681"
} | starcoder | using MediatR;
namespace DiegoRangel.DotNet.Framework.CQRS.Infra.CrossCutting.MediatR
{
public interface IEvent : INotification
{
}
} | 1.166338 | 3f4db57fed722064987d6f71f6841c21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70681 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarcosPiedra/CalculatorService",
"max_stars_repo_path": "src/CalculatorService.Console/DTOs/MultRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70682"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
namespace CalculatorServices.Console.DTOs
{
public class MultRequest
{
public List<int> Factors { get; set; }
}
}
| 1.453502 | 63457c9caf794b89b21b3621240b4d71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70682 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "SirDuke/AgentMulder",
"max_stars_repo_path": "src/Test/Data/Types/IInSomeNamespace.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70683"
} | starcoder | <filename>src/Test/Data/Types/IInSomeNamespace.cs
// ReSharper disable CheckNamespace
namespace SomeNamespace
// ReSharper restore CheckNamespace
{
public interface IInSomeNamespace
{
}
} | 1.437488 | 1f67c5a8a346ecc8a8210c22f3996ba8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70683 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "kennux/UnityEssentials",
"max_stars_repo_path": "Code/DataBinding/DataBindingFieldProperty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70684"
} | starcoder | <filename>Code/DataBinding/DataBindingFieldProperty.cs
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
namespace UnityTK.DataBinding
{
/// <summary>
/// Datastructure that can be used to access a reflected field or property in a generalized way.
/// ... | 2.989602 | 5be31737772018e8bc44c4086544ca82 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70684 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Evyatar108/TMagic-Optimized",
"max_stars_repo_path": "Source/TMagic/TMagic/HediffComp_SetDuration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70685"
} | starcoder | using Verse;
namespace TorannMagic
{
public class HediffComp_SetDuration : HediffComp
{
public int duration = 10;
public override void CompExposeData()
{
Scribe_Values.Look<int>(ref this.duration, "duration", 10, false);
base.CompExposeData();
}
... | 2.409915 | bebf1e44c55a04e228e94494757bb202 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70685 | {
"extension": "c-sharp",
"max_stars_count": "17923.0",
"max_stars_repo_name": "ffMathy/roslyn",
"max_stars_repo_path": "src/Workspaces/Core/Portable/Remote/RemoteUtilities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70686"
} | starcoder | <reponame>ffMathy/roslyn
// 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.
#nullable disable
using System.Collections.Immutable;
using System.Linq;
using System.Thr... | 2.333551 | 57dd82dd335bbffa5cb36acc8fe7bb37 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70686 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AtriCZE23/POe-full",
"max_stars_repo_path": "src/Poe/Elements/StashElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70687"
} | starcoder | <reponame>AtriCZE23/POe-full
using PoeHUD.Poe.RemoteMemoryObjects;
using System.Collections.Generic;
namespace PoeHUD.Poe.Elements
{
using System;
public class StashElement : Element
{
public long TotalStashes => StashInventoryPanel.ChildCount;
public bool HasScrollBar => TotalStashes > 3... | 2.303664 | e8d627e3e7bbd4fe07f29f0fe0e085cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70687 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "grueni/Divan",
"max_stars_repo_path": "src/CouchNotFoundException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70688"
} | starcoder | <reponame>grueni/Divan<gh_stars>0
using System;
namespace Divan
{
/// <summary>
/// Represents a HttpStatusCode of 404, document not found.
/// </summary>
public class CouchNotFoundException : Exception
{
public CouchNotFoundException(string msg, Exception e) : base(msg, e)
... | 2.072395 | 88b7dcf7c7c50d33cfe4d371456c4c61 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70688 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "petrsnd/tetrad",
"max_stars_repo_path": "WPF/Main.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70689"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
... | 2.409196 | e37f52eabc96e4a81cd5acf632e33fa0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70689 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Malan-Tai/SynCOM",
"max_stars_repo_path": "Assets/Scripts/Enums/EnumAbilityDescription.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70690"
} | starcoder | public enum EnumAbilityDescription
{
Solo,
Duo,
Self,
Ally
}
| 1.570644 | b2bb8cf493f49bbdd54287303bc9c342 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70690 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LykkeCity/Lykke.Service.Tier",
"max_stars_repo_path": "src/Lykke.Service.Tier/Controllers/DepositsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70691"
} | starcoder | <reponame>LykkeCity/Lykke.Service.Tier<filename>src/Lykke.Service.Tier/Controllers/DepositsController.cs
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using AutoMapper;
using Lykke.Service.Tier.Client.Api;
using Lykke.Service.Tier.Client.Models.Responses;
using Lykke.Service.Tier.Dom... | 1.709609 | 9e571d7f959fe7ba5e0718bfe755d58b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70691 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "gordon-matt/MantleCMS",
"max_stars_repo_path": "MantleCMS/Infrastructure/DependencyRegistrar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70692"
} | starcoder | <reponame>gordon-matt/MantleCMS<filename>MantleCMS/Infrastructure/DependencyRegistrar.cs
using Autofac;
using Extenso.Data.Entity;
using Mantle.Data.Entity;
using Mantle.Infrastructure;
using Mantle.Localization;
using Mantle.Security.Membership;
using Mantle.Web.Infrastructure;
using Mantle.Web.Navigation;
using Mant... | 1.438412 | 9eb830c78e4e5fe40ca6dcd24b7b33fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70692 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "roberturba/headfirst",
"max_stars_repo_path": "Chapter 13/p606 - Beehive Simulator (UserControls)/p606 - Beehive Simulator (UserControls)/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70693"
} | starcoder | 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.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace BeehiveSimulator
{
public partial cl... | 2.34994 | f8715bb7731365a4ff4d34f1a5099ae9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70693 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "akshay-s-770/login-page-demos",
"max_stars_repo_path": "dot-net-idx-demo/Source/LoginRadiusSDK.V2/Models/ResponseModels/MultiFactorAuthenticationSettingsResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70694"
} | starcoder | <filename>dot-net-idx-demo/Source/LoginRadiusSDK.V2/Models/ResponseModels/MultiFactorAuthenticationSettingsResponse.cs<gh_stars>1-10
//-----------------------------------------------------------------------
// <copyright file="ModelClass" company="LoginRadius">
// Created by LoginRadius Development Team
// Copy... | 2.087737 | 1dcd41dbc64cee2eaa122d84bec2fdf8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70694 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "juniorcesarrocha/dotnet-learn",
"max_stars_repo_path": "src/05 - MediatR/EstoqueProduto/Infra/Data/Mappings/CategoriaMapping.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70695"
} | starcoder | <gh_stars>0
using EstoqueProduto.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace EstoqueProduto.Infra.Data.Mappings
{
public class CategoriaMapping : IEntityTypeConfiguration<Categoria>
{
public void Configure(EntityTypeBuilder<Cate... | 2.340542 | fde35b0035c2513abad7e57083430227 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70695 | {
"extension": "c-sharp",
"max_stars_count": "714.0",
"max_stars_repo_name": "SrinathPegaCRM/PowerApps-Samples",
"max_stars_repo_path": "cds/webapi/C#/MetadataOperations/MetadataTypes/AssociatedMenuGroup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70696"
} | starcoder | <gh_stars>100-1000
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace PowerApps.Samples.Metadata
{
[JsonConverter(typeof(StringEnumConverter))]
public enum AssociatedMenuGroup
{
Details, Sales, Service, Marketing
}
} | 1.407866 | 6f9d03cd473e8dc471bce95fdcdd360f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70696 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "enesaliovur/JobTrackingProject",
"max_stars_repo_path": "JobTrackingProject.DataAccess/Concrete/EntitiyFrameworkCore/Contexts/JobTrackingProjectContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70697"
} | starcoder | using JobTrackingProject.DataAccess.Concrete.EntitiyFrameworkCore.Mapping;
using JobTrackingProject.Entities.Concrete;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
namespace JobTrackingProject.DataAcces... | 1.936997 | a5b037483b41de925115dbef4801ee74 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70697 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ratchapol-an/autorest",
"max_stars_repo_path": "src/generator/AutoRest.CSharp.LoadBalanced.Legacy/Templates/Rest/Client/ResponseTemplate.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:70698"
} | starcoder | @inherits AutoRest.Core.Template<System.Collections.Generic.IEnumerable<AutoRest.CSharp.LoadBalanced.Legacy.Model.MethodCs>>
using System;
using System.Collections.Generic;
namespace @Settings.Namespace
{
public class Response
{
public bool IsSuccessful { get; set; } = false;
public List<BrokenRule> BrokenRule... | 2.074044 | 06627b400223acc744b55ddc7337bf75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70698 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "xXxTheDarkprogramerxXx/PSPSHARP",
"max_stars_repo_path": "PSP_EMU/HLE/kernel/types/interrupts/GeCallbackInterruptHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70699"
} | starcoder | <filename>PSP_EMU/HLE/kernel/types/interrupts/GeCallbackInterruptHandler.cs
/*
This file is part of pspsharp.
pspsharp is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your... | 2.146028 | e7679e9a8fd1dd918cb77b54e1d57744 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70699 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mike-EEE/LightInject-Fallback",
"max_stars_repo_path": "LightInject-Fallback/DragonSpark/Model/Selection/Stores/ReferenceValueTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70700"
} | starcoder | <gh_stars>0
using System;
using System.Runtime.CompilerServices;
using JetBrains.Annotations;
namespace DragonSpark.Model.Selection.Stores
{
public class ReferenceValueTable<TIn, TOut> : DecoratedTable<TIn, TOut> where TIn : class
where TOut : ... | 1.517806 | 678c65460cb0506b698b138e32d019d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70700 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "theejdavidson/Comp370_Assignment5",
"max_stars_repo_path": "Comp_370_Assignment_5/Person.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70701"
} | starcoder | using System;
namespace Comp_370_Assignment_5
{
public class Person
{
public PersonID personID { get; set; }
public PersonName personName { get; set; }
public Sex sex { get; set; }
public DateTime dob { get; set; }
//default constructor
public Person()
{... | 3.078298 | da2af712d5b3a0a88c42b9885289636f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70701 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-apply-service",
"max_stars_repo_path": "src/SFA.DAS.ApplyService.Application/Apply/Gateway/GetGatewayPageAnswerHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70702"
} | starcoder | <reponame>uk-gov-mirror/SkillsFundingAgency.das-apply-service
using MediatR;
using SFA.DAS.ApplyService.Domain.Entities;
using System.Threading;
using System.Threading.Tasks;
using SFA.DAS.ApplyService.Domain.Interfaces;
namespace SFA.DAS.ApplyService.Application.Apply.Gateway
{
public class GetGatewayPageAnswerH... | 1.862724 | 2fb231993f467db2d16fb4c51db27034 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70702 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hnuhy/COP",
"max_stars_repo_path": "CSharp/openapi-client-pure/HmacAlgorithm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70703"
} | starcoder | using System;
using System.Reflection;
namespace openapi_client_pure
{
class HmacAlgorithmAttr : Attribute
{
internal HmacAlgorithmAttr(string algo)
{
this.Algo = algo;
}
public string Algo { get; private set; }
}
public static class HmacAlgorithms
{
public static string getAlgorithm(this HmacAlgor... | 3.076287 | 1c306f48c7485bc76a8edbe85c9c6f3d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70703 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "eonHck/SrcomLib",
"max_stars_repo_path": "SrcomLib/Clients/Queries/UsersClientSearchQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70704"
} | starcoder | using SrcomLib.Clients.Queries.Interfaces;
using SrcomLib.ResponseObjects;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace SrcomLib.Clients.Queries
{
/// <summary>
/// Class for building and submitting a User Search Query
/// </summary>
public class Us... | 2.422827 | 043da6680eb7296a2ac7d87d4e9dd2af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70704 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hachigoro/flashdevelop",
"max_stars_repo_path": "PluginCore/ScintillaNet/RTF.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70705"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Globalization;
using System.Text;
using PluginCore;
using ScintillaNet.Configuration;
namespace ScintillaNet
{
/// <summary>
/// This class handles conversions of the Scintilla text to RTF.
/// </summary>
pu... | 2.406802 | 80bb3c6b641a6b9841304806b60c6104 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70705 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wswmjc/webfriends",
"max_stars_repo_path": "MIIC_FRIENDS/DTO/General/Notice/GeneralNoticeInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70706"
} | starcoder | using Miic.Attribute;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Miic.Friends.General.Notice
{
public abstract class GeneralNoticeInfo
{
[MiicField(MiicStorageName = "ID", IsNotNull = true, IsPrimar... | 2.044344 | c3d08fa0cc30503b6363857a33695b69 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70706 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TechnologicalPizza/MonoGame",
"max_stars_repo_path": "MonoGame.Framework.Content.Pipeline/Processors/ModelMeshPartContent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70707"
} | starcoder | <gh_stars>0
// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using MonoGame.Framework.Content.Pipeline.Graphics;
using MonoGame.Framework.Graphics;
namespace MonoGame.Framework.Content.Pipeli... | 1.751712 | b9e8e38d9b8a58b8ca1aecdd12eb4feb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70707 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "harrison314/MassiveDynamicProxyGenerator",
"max_stars_repo_path": "src/Src/MassiveDynamicProxyGenerator.Microsoft.DependencyInjection/IProxyGeneratorProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70708"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace MassiveDynamicProxyGenerator.Microsoft.DependencyInjection
{
/// <summary>
/// Interface represents provider for <see cref="IProxyGenerator"/>.
/// </summary>
/// <seealso cref="IProxyGenerator"/>
public interface IProxyG... | 2.241074 | 6d4957b43f63adce1dd5c752e93a0b55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70708 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "sillsdev/cog",
"max_stars_repo_path": "Cog.Domain/Config/Migrations/ConfigMigrationExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70709"
} | starcoder | using System.Xml.Linq;
namespace SIL.Cog.Domain.Config.Migrations
{
internal static class ConfigMigrationExtensions
{
public static void SetDefaultNamespace(this XElement elem, XNamespace ns)
{
elem.Name = ns + elem.Name.LocalName;
if (elem.Attribute("xmlns") != null)
elem.SetAttributeValue("xmlns", n... | 2.190439 | c33a5fb3bdec0c89495c0e9932bd007e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70709 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jeroenpx/LDJAM40",
"max_stars_repo_path": "FollowTheLeader/Assets/Scripts/LevelBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70710"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
public class LevelBuilder : MonoBehaviour {
public int SquaresAhead = 2;
public int SquaresTotal = 5;
public SquareBehaviour connectSquare;
public SquareBehaviour[] prefabs;
private Queue<SquareBehaviour> levels;
public float followerSpawnRad... | 2.494215 | a4c4ef1be52f3abdd5dc8594ed7f2ebd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70710 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arkkhanu/Mart-Management",
"max_stars_repo_path": "Mart Management System/Mart Management System/Mart Management System/CustomerOperations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70711"
} | starcoder | <reponame>arkkhanu/Mart-Management
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Mart_Management_System
{
public partial class CustomerO... | 1.716865 | d2386548571aa09ffa195ac59f6d9dff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70711 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "getyoti/yoti-dotnet-sdk",
"max_stars_repo_path": "src/Examples/DocScan/DocScanExample/Views/IdVerify/Success.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:70712"
} | starcoder | @using Yoti.Auth.DocScan.Session.Retrieve.Resource;
@model Yoti.Auth.DocScan.Session.Retrieve.GetSessionResult
@{
ViewData["Title"] = "Success";
ViewBag.sessionId = Model.SessionId;
}
<div class="container mb-3">
<div class="row">
<div class="col">
<h1>Get Session Result</h1>
... | 2.288422 | 968afac640b5d00e8f10537a188dcc4b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70712 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DumpsterDoofus/JsonApiDotNetCore",
"max_stars_repo_path": "test/JsonApiDotNetCoreExampleTests/IntegrationTests/ResourceInheritance/Models/Book.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70713"
} | starcoder | <reponame>DumpsterDoofus/JsonApiDotNetCore<filename>test/JsonApiDotNetCoreExampleTests/IntegrationTests/ResourceInheritance/Models/Book.cs
using JsonApiDotNetCore.Resources.Annotations;
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.ResourceInheritance.Models
{
public sealed class Book : ContentItem
... | 1.638209 | 962192fb2f160df97c53e06613c2c04e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70713 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PrachiSarda/rate-limit-action-filter-attribute-aspnetcore",
"max_stars_repo_path": "SimonGilbert.Blog/Controllers/ApiController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70714"
} | starcoder | <gh_stars>0
using System;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using SimonGilbert.Blog.Attributes;
using SimonGilbert.Blog.Models;
namespace SimonGilbert.Blog.Controllers
{
[Route("api")]
public class ApiController : Controller
{
[HttpPost]
[RequestRateLimit(Nam... | 1.710969 | 36c5d07308759d553f0959f6e5265bcb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70714 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "denxorz/thingsmobile-dotnet",
"max_stars_repo_path": "tests/ThingsMobile.Tests/ThingsMobileClientTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70715"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using System.Net;
using System.Text;
using Xunit;
namespace ThingsMobile.Tests;
public class ThingsMobileClientTests
{
[Fact]
public async Task RequestIsSerializedCorrectly()
{
const string username = "username";
const string token = "token";... | 2.306623 | 0d9a0423499c0aadcbaf5bfbd2d50f3c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70715 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "simplesoft-pt/SimpleSoft.Database.Migrator",
"max_stars_repo_path": "src/SimpleSoft.Database.Migrator.SqlServer/ISqlServerMigrationOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70716"
} | starcoder | namespace SimpleSoft.Database.Migrator
{
/// <summary>
/// Options for a SQL Server migration context.
/// </summary>
public interface ISqlServerMigrationOptions : IRelationalMigrationOptions
{
}
/// <summary>
/// Options for a SQL Server migration context.
/// </summary>
/// ... | 1.978256 | 75aa139a0f68970329b2820226affc7e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70716 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vincent94-id/FileTransferScheduler",
"max_stars_repo_path": "FileTransferScheduler/Data/UploadService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70717"
} | starcoder | <filename>FileTransferScheduler/Data/UploadService.cs
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System... | 2.391633 | 84a66bcee988230e6882c27ab4ad5086 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70717 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YanickZengaffinen/AI",
"max_stars_repo_path": "Logger/Impl/LogEntry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70718"
} | starcoder | <reponame>YanickZengaffinen/AI
using System;
using System.Collections.Generic;
using System.Text;
namespace Logging
{
public class LogEntry<T> : ILogEntry<T> where T : ILoggable
{
public Flag Flag { get; }
public DateTime TimeStamp { get; }
public T Action { get; }
public Lo... | 2.646301 | df69c49592789e711daf2356215d3894 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70718 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rsumner31/corefx2",
"max_stars_repo_path": "src/System.Text.Encoding/tests/EncodingTestHelpers.netcoreapp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70719"
} | 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 Xunit;
namespace System.Text.Tests
{
public static partial class EncodingHelpers
{
static pa... | 2.500147 | d5ef3091981dec2f54be15e8e0c74de9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70719 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "JadeCong/AvatarGame_Unity",
"max_stars_repo_path": "Assets/Plugins/MQTT/scripts/Utility/QueueExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70720"
} | starcoder | /*
M2Mqtt Project - MQTT Client Library for .Net and GnatMQ MQTT Broker for .NET
Copyright (c) 2014, <NAME>, All rights reserved.
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
... | 2.663758 | 39ab099730d237c51995717338b79537 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70720 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "vhanla/vscode-borderless",
"max_stars_repo_path": "ToggleBorder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70721"
} | starcoder | <gh_stars>1-10
using System;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Text;
public static class CBS {
private const int GWL_STYLE = -16;
private const int WS_CAPTION = 0x00C00000;
private const int WS_THICKFRAME = 0x00040000;
private const int WS_MAXIMIZE = 0x01000000;
privat... | 1.818951 | bd286d128ab6f237078b3d9fac9fd138 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70721 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Wasserwecken/HelpingHands",
"max_stars_repo_path": "Athene/Lib.Level/Base/IIntersectable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70722"
} | starcoder | using Lib.Level.Base;
using Lib.Tools;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lib.Level.Base
{
public interface IIntersectable
{
/// <summary>
/// Hitbox for the intersection
/// </summary>
B... | 2.471451 | a96f07d61f1958e0211505c464e22604 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70722 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "donaldsa18/VindictusDeserializer",
"max_stars_repo_path": "Database/Char/CharacterPet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70723"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using ServiceCore.EndPointNetwork;
namespace PacketCap.Database.Char
{
[BsonIgnoreExtraElements]
class CharacterPet
{
... | 2.23255 | 76e783d6ceda0af6bacb126330d9ba7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70723 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "rokleM/aspnetcore",
"max_stars_repo_path": "src/Servers/Kestrel/Transport.Quic/src/Internal/IQuicTrace.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70724"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Microsoft.AspNetCore.Connections;
using Microsoft.Extensions.Logging;
namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Internal
{
internal interf... | 1.440325 | 263f83b5de9bc10a46c73512410e3e35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70724 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alanstevens/CoreLogging",
"max_stars_repo_path": "src/CoreLogging/Extensions/CoreLoggerExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70725"
} | starcoder | namespace CoreLogging.Extensions
{
using System;
using Microsoft.Extensions.Logging;
public static class CoreLoggerExtensions
{
//------------------------------------------DEBUG------------------------------------------//
public static void LogDebug(this object loggingCategory, string... | 2.578379 | a49c2715ed4f907cb551856c2eb1a497 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70725 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "giuliov/commanddotnet",
"max_stars_repo_path": "CommandDotNet/ExitCodes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70726"
} | starcoder | <reponame>giuliov/commanddotnet
using System.Threading.Tasks;
namespace CommandDotNet
{
public static class ExitCodes
{
public static Task<int> Success => Task.FromResult(0);
public static Task<int> Error => Task.FromResult(1);
public static Task<int> ValidationError => Task.FromResult... | 1.790693 | 11ad9812bf23487372a47d9ceb939101 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70726 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "System.Activities/System/Activities/ActivityInstanceState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70727"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace System.Activities
{
using System.Runtime.Serialization;
using System.Runtime;
... | 2.620728 | 97fd450beecb9df989931990572c9dac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70727 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "GeorgeWalker/rsbc-dmf",
"max_stars_repo_path": "medical-portal/src/API/RSBC.DMF.MedicalPortal.API/Controllers/ConfigController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70728"
} | starcoder | <reponame>GeorgeWalker/rsbc-dmf
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Text.Json;
namespace RSBC.DMF.MedicalP... | 2.102602 | 5487c198d7e2c122ec3ef47a33a78898 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70728 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "versionone/VersionOne.Integration.Bugzilla",
"max_stars_repo_path": "VersionOne.Bugzilla.BugzillaAPI.Tests/Given_A_Logged_In_Bugzilla_Client.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70729"
} | starcoder | using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using VersionOne.ServiceHost.Core.Logging;
using Rhino.Mocks;
namespace VersionOne.Bugzilla.BugzillaAPI.Tests
{
[Ignore]
[TestClass()]
public class Given_A_Logged_In_Bugzilla_Client
{
private IBugzillaClient ... | 2.274612 | 44cd44474ecd0a1b337597ddf9b2b071 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70729 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "danieldamianov/C-OOP-Basics",
"max_stars_repo_path": "Exercises Interfaces/Problem_9_Collection_Hierarchy/IAddCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70730"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
public interface IAddCollection
{
int Add(string item);
}
| 2.024982 | 5a644483d870926ccfa940db2ea2c355 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70730 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cazacov/AdventOfCode2015",
"max_stars_repo_path": "CSharp/Day01/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70731"
} | starcoder | <reponame>cazacov/AdventOfCode2015
using System;
namespace AdventOfCode2015.Day01
{
class Program
{
static void Main(string[] args)
{
var instructions = System.IO.File.ReadAllText("input.txt");
var floor = 0;
var steps = 0;
bool basementVisisted... | 3.256217 | d8b3adcc9daaa01cf72a43577f3a1d1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70731 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SymphonyOSF/SFE-DesktopClient-pgx",
"max_stars_repo_path": "symphony/Symphony/Shell/SystemMenu/MenuItems/ForceClose.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70732"
} | starcoder | <filename>symphony/Symphony/Shell/SystemMenu/MenuItems/ForceClose.cs
using System;
using Paragon.Plugins;
using Symphony.Mvvm;
namespace Symphony.Shell.SystemMenu.MenuItems
{
public class ForceClose : SystemMenuItem
{
private readonly IApplicationWindow applicationWindow;
public event EventHa... | 2.194906 | e2fc97b16c4a2e84c2564dfd429718aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70732 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "terry-u16/AtCoder",
"max_stars_repo_path": "Yorukatsu022/Yorukatsu022/Yorukatsu022/Questions/QuestionC.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70733"
} | starcoder | <reponame>terry-u16/AtCoder
using Yorukatsu022.Questions;
using Yorukatsu022.Extensions;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Yorukatsu022.Questions
{
/// <summary>
/// ABC045 B
/// </summary>
public class QuestionC : AtCoderQ... | 2.815489 | 4e90d2f99678d537a0b9697c2955d1bd |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.