added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812018 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "BlueChilli/ChilliSource.Mobile.UI",
"max_stars_repo_path": "src/ChilliSource.Mobile.UI/Platforms/Android/Renderers/Controls/Custom/SeparatorRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131238"
} | starcoder | <reponame>BlueChilli/ChilliSource.Mobile.UI
#region License
/*
Licensed to Blue Chilli Technology Pty Ltd and the contributors under the MIT License (the "License").
You may not use this file except in compliance with the License.
See the LICENSE file in the project root for more information.
*/
#endregion
using Sys... | 2.159358 | 44602d1bc7749185c87679c44c563282 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812019 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mstrYoda/nunit",
"max_stars_repo_path": "src/NUnitFramework/framework/Internal/ParamAttributeTypeConversions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131239"
} | starcoder | // ***********************************************************************
// Copyright (c) 2017–2018 <NAME>, <NAME>
//
// 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,... | 2.645522 | d9a689dadde7d43ebc20dcb683c634bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812020 | {
"extension": "c-sharp",
"max_stars_count": "96.0",
"max_stars_repo_name": "jsyeo/nuget-chocolatey",
"max_stars_repo_path": "src/VisualStudio/PackageSource/VSPackageSourceProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131240"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Diagnostics;
using System.Linq;
using NuGet.VisualStudio.Resources;
namespace NuGet.VisualStudio
{
[PartCreationPolicy(CreationPolicy.Shared)]
[Export(typeof(IVsPackageSourceProvider))]
[Export(... | 2.069289 | ef510f77b3dd1f718d9ae3da6d7b1d75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812021 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jonnyzzz/phd-project",
"max_stars_repo_path": "dsis/src/CellImageBuilders/CellImageBuilder.Tests/src/PointTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131241"
} | starcoder | <filename>dsis/src/CellImageBuilders/CellImageBuilder.Tests/src/PointTest.cs
using DSIS.CellImageBuilder.BoxAdaptiveMethod;
using NUnit.Framework;
namespace DSIS.CellImageBuilder.Tests
{
[TestFixture]
public class PointTest
{
[Test]
public void Test_01()
{
Point p1 = Point.Create(new... | 2.727297 | 9a6adcd1ddd8f681e1d31194af3ce8aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812022 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "iridinite/kupogram",
"max_stars_repo_path": "Source/FormGame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131242"
} | starcoder | <filename>Source/FormGame.cs
/*
* Kupogram - a nonogram/picross game and editor
* (C) <NAME>, October/November 2017
* https://www.syllendel.nl/
*
* Licensed under BSD-3-clause license.
*/
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
n... | 2.239346 | 6ba9d25e8501dc03fb758ca278589665 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812023 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vermilion/Dot",
"max_stars_repo_path": "src/PlatformFramework.EFCore/Context/Hooks/HookEntityMetadata.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131243"
} | starcoder | <reponame>vermilion/Dot<filename>src/PlatformFramework.EFCore/Context/Hooks/HookEntityMetadata.cs
using Microsoft.EntityFrameworkCore.ChangeTracking;
namespace PlatformFramework.EFCore.Context.Hooks
{
public class HookEntityMetadata
{
public HookEntityMetadata(EntityEntry entry)
{
... | 1.533243 | e38150384e835852b09d9980fa7d6c5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812024 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bpetrikovics/ShellyBrowser",
"max_stars_repo_path": "ShellyBrowser.App/Netsh.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131244"
} | starcoder | using System;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
namespace ShellyBrowserApp
{
public class Netsh
{
private static bool Command(string cmd)
{
var netsh = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.System), "netsh.exe");
... | 2.725928 | 26c6b0b3fa0cdf8585a3d30f76597605 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812025 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Groutcho/SeriousGameToolbox",
"max_stars_repo_path": "SeriousGameToolbox/lib/SeriousGameToolbox/Data/Texts/TextUnit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131245"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
namespace SeriousGameToolbox.Data.Texts
{
public class TextUnit
{
string key;
public string Key { get { return key; } }
IDictionary<CultureInfo, string> texts... | 2.594804 | 3ca06a204eb9e1ae9d915d44bd49f7f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812026 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aquiladev/zero.api",
"max_stars_repo_path": "Zero.Api/Controllers/AuthController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131246"
} | starcoder | <gh_stars>0
using System.Web.Http;
using Newtonsoft.Json;
using Zero.Core.Domain;
using Zero.Core.Security;
namespace Zero.Api.Controllers
{
public class AuthController : ApiController
{
public string Get(string url, string login, string password, string domain = "")
{
var principal = new ZPrincipal
{
... | 1.703609 | e216e3a1bab04c26c0a38c862ae89576 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812027 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "olivifKitchen/nodatime",
"max_stars_repo_path": "src/NodaTime/CalendarOrdinal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131247"
} | starcoder | // Copyright 2014 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
namespace NodaTime
{
/// <summary>
/// Enumeration of calendar ordinal values. Used for converting between a compact integer representation and a... | 2.605279 | 226ac979b9251638bd6c9dd86ef1adbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812028 | {
"extension": "c-sharp",
"max_stars_count": "1219.0",
"max_stars_repo_name": "jessegood/adonis-ui",
"max_stars_repo_path": "src/AdonisUI.Demo/Converters/ColorToHexStringConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131248"
} | starcoder | <filename>src/AdonisUI.Demo/Converters/ColorToHexStringConverter.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media;
namespace AdonisUI.Demo.Converters
{
class ColorToHexStringConverter
... | 2.952911 | 924c9de64eb78dbb008ef9978372baa0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812029 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "deavmi/HypeVM",
"max_stars_repo_path": "VM/Managers/RegisterManager/RegisterManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131249"
} | starcoder | <filename>VM/Managers/RegisterManager/RegisterManager.cs<gh_stars>1-10
/*
* RegisterManager
*
* This module manages the registers of the VM on the master node's side.
*
*/
namespace HypeVM.Master.Registers
{
using HypeVM.Master.Clients.Register;
//Manager for the virtual machine's registers
public s... | 2.788821 | 8ea4e7a32d3289fbc66b5c9e3ae07458 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812030 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fernandesbg/Programing-basics",
"max_stars_repo_path": "20 November 2016 Morning/Problem 04/Problem 04.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131250"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Problem_04
{
class Program
{
static void Main(string[] args)
{
var numberrOfGroups = int.Parse(Console.ReadLine());
var car = 0.00;... | 3.153453 | 4538939cdf7b4ac512b59cf8bb833623 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812031 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "developerss/ConfuserEx",
"max_stars_repo_path": "Confuser.Runtime/Resource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131251"
} | starcoder | <filename>Confuser.Runtime/Resource.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
namespace Confuser.Runtime
{
static class Resource
{
static Assembly c;
// Hmm... Too lazy.
static void Initialize()
{
uint l = (uint)... | 2.496383 | 8923fc12994acfed95b9331acfcd57df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812032 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ourobouros/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/EC2/Generated/Model/DescribeEgressOnlyInternetGatewaysRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131252"
} | starcoder | /*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 1.842164 | 93bf7493c3c08f5e0d2d924407b0c52d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812033 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Calin29/angular-app-test",
"max_stars_repo_path": "src/AppTest/Data/AppTestContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131253"
} | starcoder | <reponame>Calin29/angular-app-test
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using AppTest.Models;
public class AppTestContext : DbContext
{
public AppTestContext (DbContextOptions<AppTestContext> options)
... | 1.702871 | 0c4bfae9c925e9fb896071b013d43bca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812034 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VqSoft/VqSoftFramework",
"max_stars_repo_path": "VqSoft.Framework/VqSoft.Framework.Common/Utils/CodeTimerNet20.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131254"
} | starcoder | <reponame>VqSoft/VqSoftFramework
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace VqSoft.Framework.Common.Utils
{
public interface IAction
{
... | 2.792057 | 1dc229ba4c76d042d513e6e435eb52cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812035 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cesarabrantes/thunder",
"max_stars_repo_path": "src/main/Thunder.Web.Mvc/Filter/LayoutInjectAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131255"
} | starcoder | <reponame>cesarabrantes/thunder<gh_stars>0
using System.Web.Mvc;
namespace Thunder.Web.Mvc.Filter
{
/// <summary>
/// Layout inject
/// </summary>
public class LayoutInjectAttribute : ActionFilterAttribute
{
private readonly string _masterView;
/// <summary>
/// Initialize... | 2.377469 | c2d62d3c5aaf988f9e8fe9c2418ae367 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812036 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LaurediGustavo/Gerenciador-De-Artigos",
"max_stars_repo_path": "Artigos/Artigos/Views/Categoria/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131256"
} | starcoder | @model Artigos.Models.ModelViewCategoria
@{
ViewBag.Title = "Categorias";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@using (Html.BeginForm(null, null, FormMethod.Post, new { id = "__AjaxAntiForgeryForm" }))
{
@Html.AntiForgeryToken()
}
<div class="CategoriaContainer">
<div class="CategoriaCadastro">... | 2.068464 | f272d224b6e68173c9e6b766cf15857c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812037 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rafaatsouza/erosion-finder",
"max_stars_repo_path": "Source/ErosionFinder/Helpers/ArchitecturalRuleHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131257"
} | starcoder | using ErosionFinder.Data.Models;
using ErosionFinder.Dtos;
using ErosionFinder.Extensions;
using System.Collections.Generic;
using System.Linq;
namespace ErosionFinder.Helpers
{
internal static class ArchitecturalRuleHelper
{
public static IEnumerable<ArchitecturalViolationOccurrence> GetViolatingOccur... | 2.63816 | a2e585c91a76cbe1d1685b4b339721b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812038 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "blizzard-net/warcraft",
"max_stars_repo_path": "tests/ArgentPonyWarcraftClient.Integration.Tests/GameDataApi/RegionApiTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131258"
} | starcoder | namespace ArgentPonyWarcraftClient.Integration.Tests.GameDataApi;
public class RegionApiTests
{
[ResilientFact]
public async Task GetRegionsIndexAsync_Gets_RegionsIndex()
{
IRegionApi warcraftClient = ClientFactory.BuildClient();
RequestResult<RegionsIndex> result = await warcraftClient.G... | 1.892323 | 338d59e1178fb4378e4aa69790e6042e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812039 | {
"extension": "c-sharp",
"max_stars_count": "239.0",
"max_stars_repo_name": "mrellipse/toucan",
"max_stars_repo_path": "src/service/Localization/LocalizedString.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131259"
} | starcoder | <reponame>mrellipse/toucan
using Toucan.Contract.Model;
namespace Toucan.Service.Model
{
public class LocalizedString : ILocalizedString
{
public LocalizedString(string cultureName, string name, string value)
{
this.CultureName = cultureName;
this.Name = name;
... | 1.945297 | 71e3997d342167d284a8ff8a6e5b5367 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812040 | {
"extension": "c-sharp",
"max_stars_count": "62.0",
"max_stars_repo_name": "emrah3009/emrah",
"max_stars_repo_path": "-xternals/configui/probgui/MainView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131260"
} | starcoder | /* Copyright © 2014 <NAME>. Contact: <<EMAIL>>
* Copyright © 2014 <NAME>. Contact: <<EMAIL>>
* Copyright © 2014 TUHH-SVA Security in Distributed Applications.
* All rights reserved.
* License: http://opensource.org/licenses/BSD-3-Clause
* ---------------------------------------------------------------------
*/
... | 2.226567 | d83acb8799746e866fa1db29093304a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812041 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vseanreesermsft/razor-tooling",
"max_stars_repo_path": "src/Razor/test/Microsoft.VisualStudio.LanguageServerClient.Razor.Test/HtmlCSharp/DocumentPullDiagnosticsHandlerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131261"
} | starcoder | <filename>src/Razor/test/Microsoft.VisualStudio.LanguageServerClient.Razor.Test/HtmlCSharp/DocumentPullDiagnosticsHandlerTest.cs
// 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 Sy... | 1.650319 | ed93e6be07736ff45decf9bb4b23be7c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812042 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "openplannerteam/Itinero-Transit",
"max_stars_repo_path": "src/Itinero.Transit.IO.GTFS/GTFSLoadSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131262"
} | starcoder | namespace Itinero.Transit.IO.GTFS
{
/// <summary>
/// Contains settings to customize the loading of a GTFS feed.
/// </summary>
public class GTFSLoadSettings
{
/// <summary>
/// A flag to add unused stops.
/// </summary>
public bool AddUnusedStops { get; set; } = fals... | 2.046943 | 6cba837df5df202ac85896b604808ea8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812043 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Fleetingold/Hangfire.Topshelf-myTest",
"max_stars_repo_path": "Hangfire.Core/Server/CoreBackgroundJobPerformer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131263"
} | starcoder | // This file is part of Hangfire.
// Copyright © 2015 <NAME>.
//
// Hangfire is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation, either version 3
// of the License, or any later version.
//
// Hangfi... | 2.098744 | e2eb5d3fddb2301d05b1a2af412efae9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812044 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "smourier/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/IDCompositionSkewTransform.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131264"
} | starcoder | // c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\dcomp.h(708,1)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[ComImport, Guid("e57aa735-dcdb-4c72-9c61-0591f58889ee"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public partial interface IDCompositionS... | 1.4519 | 5aa0f733988d358619ff8a892aa78669 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812045 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "htl-leo/iot-seminar-2022",
"max_stars_repo_path": "src/05-IoT-FullStack/iot-fullstack-signalr/Base/DataTransferObjects/UserSessionsDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131265"
} | starcoder | <reponame>htl-leo/iot-seminar-2022
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Base.DataTransferObjects
{
/// <summary>
///
/// </summary>
/// <param name="Login"></param>
/// <param name="Logout"></param>
publi... | 1.93134 | 83879bf7acf7f69c1863561ec8613d1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812046 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jchristn/HtmlPageBuilder",
"max_stars_repo_path": "HtmlPageBuilder/obj/Release/netstandard2.1/HtmlPageBuilder.AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131266"
} | starcoder | <gh_stars>1-10
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-g... | 2.269883 | d0281f6c7d232f728a8f6b074f1911bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812047 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "romaklayt/DynamicFilter",
"max_stars_repo_path": "test/romaklayt.DynamicFilter.Test.Api/Models/User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131267"
} | starcoder | using System;
using System.Collections.Generic;
namespace romaklayt.DynamicFilter.Test.Api.Models;
public class User
{
public User()
{
}
public User(string name, string lastName, int age, Address address)
{
Name = name;
Age = age;
Address = address;
LastName = last... | 2.459416 | 8c654bf5bd416c6e84e10287408b6e21 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812048 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BlackFire-Studio/BlackFire.Unity",
"max_stars_repo_path": "Runtime/Script/Common/Base/Philosophy/LogicalForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131268"
} | starcoder | <reponame>BlackFire-Studio/BlackFire.Unity<filename>Runtime/Script/Common/Base/Philosophy/LogicalForm.cs
/*
--------------------------------------------------
| Copyright © 2008 Mr-Alan. All rights reserved. |
| Website: www.0x69h.com |
| Mail: <EMAIL> |
| QQ: 835988221 ... | 2.10533 | dfedd8e9d8c13ccb236ede99576dcba5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812049 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abhishekrite/WebCompiler",
"max_stars_repo_path": "WebCompiler/Compile/Cleaner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131269"
} | starcoder | <filename>WebCompiler/Compile/Cleaner.cs
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace WebCompiler.Compile
{
internal static class ListExtension
{
public static IEnumerable<T> SkipLast<T>(this List<T> source, int count)
{
return source.TakeWhile((i... | 3.294777 | 3f35a964a51fa2449fe664038cc3c76f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812050 | {
"extension": "c-sharp",
"max_stars_count": "3044.0",
"max_stars_repo_name": "xjjon/Zenject",
"max_stars_repo_path": "NonUnityBuild/Zenject-Cecil/Mono.Cecil/AssemblyLinkedResource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131270"
} | starcoder | <filename>NonUnityBuild/Zenject-Cecil/Mono.Cecil/AssemblyLinkedResource.cs
//
// Author:
// <NAME> (<EMAIL>)
//
// Copyright (c) 2008 - 2015 <NAME>
// Copyright (c) 2008 - 2011 Novell, Inc.
//
// Licensed under the MIT/X11 license.
//
using System;
namespace Zenject.ReflectionBaking.Mono.Cecil {
public sealed cla... | 1.963198 | 62c1ab8fa2206817d2263ec70901627e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812051 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FenrirServer/Fenrir.Multiplayer",
"max_stars_repo_path": "source/UnityPackage/Assets/Runtime/Server/Events/ServerPeerConnectedEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131271"
} | starcoder | <filename>source/UnityPackage/Assets/Runtime/Server/Events/ServerPeerConnectedEventArgs.cs<gh_stars>0
using System;
namespace Fenrir.Multiplayer
{
/// <summary>
/// Event arguments invoked when new client disconnectes from a server
/// </summary>
public class ServerPeerDisconnectedEventArgs : EventArg... | 2.502295 | 82fb1fc81f8a1df327eadd318330167d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812052 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marcospgp/StyleCopAnalyzers",
"max_stars_repo_path": "StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/MaintainabilityRules/SA1410SA1411CodeFixProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131272"
} | starcoder | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.MaintainabilityRules
{
using System.Collections.Immutable;
using System.Composition;
using Syst... | 2.19718 | ac1ec575798fe3508d9116d0be8d303c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thejcflow/StudentCRUDManager",
"max_stars_repo_path": "StudentManageCRUD/MainWindow/AddCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131273"
} | starcoder | <reponame>thejcflow/StudentCRUDManager
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace StudentManageCRUD
{
public class AddCommand : ICommand
{
private MainWindowController controller;
... | 2.176102 | 120e78a56c1439a14e90d28a3635456c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812054 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "ahwm/GoDaddyWrapper.Net",
"max_stars_repo_path": "src/GodaddyWrapper/Responses/OrderSummaryPricingResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131274"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GodaddyWrapper.Responses
{
public class OrderSummaryPricingResponse
{
public string Total { get; set; }
}
}
| 1.362245 | 6df230331262c4f4b1b9dc4abcbb0c25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812055 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jackobo/jackobs-code",
"max_stars_repo_path": "Portal/Server/Head/src/Service/Properties/Settings.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131275"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 1.822482 | f83ae56c8b5ef08ed2b23d2c26eab650 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812056 | {
"extension": "c-sharp",
"max_stars_count": "557.0",
"max_stars_repo_name": "weloytty/Pscx",
"max_stars_repo_path": "Src/Pscx/Commands/IO/Compression/ArchiveReader/ArchiveEntry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131276"
} | starcoder | using System;
using SevenZip;
namespace Pscx.Commands.IO.Compression.ArchiveReader
{
/// <summary>
/// Represents an entry in a compressed archive, like a ZIP or TAR file.
/// This class only contains metadata about the entry.
/// </summary>
[Serializable]
public class ArchiveEntry
{
... | 2.718444 | 5c5ea831dd5ce605957c4b0c7b109def |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812057 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "ninianne98/carrotcake-cms",
"max_stars_repo_path": "CMSAdmin/c3-admin/TagAddEdit.aspx.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131277"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---------------------------------... | 1.289014 | a3a522663d015707e1dd2c081a0cebb3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812058 | {
"extension": "c-sharp",
"max_stars_count": "3990.0",
"max_stars_repo_name": "OlegNadymov/MessagePack-CSharp",
"max_stars_repo_path": "src/MessagePackAnalyzer/Utils/ConfigurationLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131278"
} | starcoder | // Copyright (c) All contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysi... | 2.532498 | ee9cbf92ad2d2a56ba5e6e92559e81e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812059 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Teodor-Ivanov90/ASP.NET-Core-ChiprovciCarpetsShop",
"max_stars_repo_path": "ChiprovciCarpetsShop/Infrastructures/MappingProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131279"
} | starcoder | using AutoMapper;
using ChiprovciCarpetsShop.Data.Models;
using ChiprovciCarpetsShop.Models.Products;
using ChiprovciCarpetsShop.Services.Products;
namespace ChiprovciCarpetsShop.Infrastructures
{
public class MappingProfile : Profile
{
public MappingProfile()
{
this.CreateMap<Prod... | 2.106107 | b701c36966d0acdf28ed52dd6b4aa138 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812060 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "BadCarrot/HyperEngineCommunityEdition",
"max_stars_repo_path": "Assets/HyperEngine/DraggablePoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131280"
} | starcoder | <filename>Assets/HyperEngine/DraggablePoint.cs<gh_stars>10-100
using System;
using UnityEngine;
using System.Collections.Generic;
#if UNITY_EDITOR
using UnityEditor;
#endif
public class DraggablePoint : PropertyAttribute { }
#if UNITY_EDITOR
[CustomEditor(typeof(MonoBehaviour), true)]
public class DraggablePointDraw... | 2.460007 | bcdb2ce2ab96808834190041218d893b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812061 | {
"extension": "c-sharp",
"max_stars_count": "272.0",
"max_stars_repo_name": "landlogicit/beyourmarket",
"max_stars_repo_path": "src/BeYourMarket.Core/Controllers/IPaymentController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131281"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeYourMarket.Core.Controllers
{
public interface IPaymentController
{
bool OrderAction(int id, int status, out string message);
bool HasPaymentMethod(string userId);
... | 1.822976 | 83f93506368784344eee244374e5e800 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812062 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "haorenzhi/Unity-Bird-Game",
"max_stars_repo_path": "Assets/Code/ScoreKeeper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131282"
} | starcoder | using System;
using UnityEngine;
using UnityEngine.UI;
public class ScoreKeeper : MonoBehaviour
{
public static int score = 0; // everyone has the same score
private static Text scoreText; // everyone has the same text
// Use this for initialization
internal void Start()
{
scoreText = Ge... | 2.891172 | 4bf451285ca12388967f04c6e79c21e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812063 | {
"extension": "c-sharp",
"max_stars_count": "1078.0",
"max_stars_repo_name": "cwensley/ironpython2",
"max_stars_repo_path": "Src/IronPython/Runtime/Types/TypeCache.Generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131283"
} | starcoder | <reponame>cwensley/ironpython2<filename>Src/IronPython/Runtime/Types/TypeCache.Generated.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System;
u... | 1.844577 | 07210bced3b4780e7e880fd06623a71e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812064 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "twobe7/KupoNutsBot",
"max_stars_repo_path": "FC.Bot/ContentCreators/ContentCreatorService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131284"
} | starcoder | // Copyright (c) FCChan. All rights reserved.
//
// Licensed under the MIT license.
namespace FC.Bot.ContentCreators
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Discord;
using Discord.Rest;
using Discord.WebSocket;
using FC.Bot.C... | 1.979804 | b45e294ea95c65eba20045945445d914 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812065 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Eph-It/MEM.CommunityCenter",
"max_stars_repo_path": "CommunityCenter/CommunityCenter.Models/RBAC/fn_rbac_AppDeploymentSummary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131285"
} | starcoder | <filename>CommunityCenter/CommunityCenter.Models/RBAC/fn_rbac_AppDeploymentSummary.cs
using System;
namespace CommunityCenter.Models.RBAC
{
public class fn_rbac_AppDeploymentSummary
{
public int? CI_ID { get; set; }
public int? ParentID { get; set; }
public string TargetCollectionID ... | 1.770905 | 1c9559b8ca3ec14365bb54bc26069a75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812066 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Rafael94/elsa-core-1",
"max_stars_repo_path": "src/core/Elsa.Abstractions/Models/SimpleException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131286"
} | starcoder | using System;
namespace Elsa.Models
{
public class SimpleException
{
public SimpleException(Type type, string message, string stackTrace, SimpleException? innerException = default)
{
Type = type;
Message = message;
StackTrace = stackTrace;
InnerE... | 3.046014 | 1b61040ce4ad73a8c0fd367b728f2159 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812067 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "soorajkk/AspnetcoreAngularJsonRPC",
"max_stars_repo_path": "src/AspnetcoreAngularJsonRPC/MediatorCommands/GetProductListReqV1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131287"
} | starcoder | <reponame>soorajkk/AspnetcoreAngularJsonRPC
using AspnetcoreAngularJsonRPC.Models;
using AspnetcoreAngularJsonRPC.ModelServices;
using MediatR;
using System.Collections.Generic;
namespace AspnetcoreAngularJsonRPC.MediatorCommands
{
public class GetProductListReqV1:IRequest<GetProductListReqV1.GetProductListResp... | 2.378478 | 6b66f01e927d0f4afcf08daf97add96d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812068 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "DaveSenn/PortableExtensions",
"max_stars_repo_path": ".Src/Extend/System.Collections.Generic.IEnumerable[T]/IEnumerable[T].TakeUntil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131288"
} | starcoder | #region Usings
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
#endregion
namespace Extend
{
/// <summary>
/// Class containing some extension methods for <see cref="IEnumerable{T}" />.
/// </summary>
// ReSharper disable once Inconsi... | 3.170413 | 493db5f642f2b77b3b775827022a14ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812069 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "avidigmi/clash-royale-client-dotnet",
"max_stars_repo_path": "src/Tests/Pekka.RoyaleApi.Sandbox/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131289"
} | starcoder | <reponame>avidigmi/clash-royale-client-dotnet
using System;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Pekka.Core;
using Pekka.Core.Contracts;
using Pekka.RoyaleApi.Client.Clients;
using Pekka.RoyaleApi.Client.Contracts;
using Pekka.RoyaleApi.Clie... | 1.831946 | ad190c73e56e60df00f3c1191178d7f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812070 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "esnya/combo-gesture-expressions-av3",
"max_stars_repo_path": "Assets/Hai/ComboGesture/Scripts/Editor/Internal/CgeManifestFromActivity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131290"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Hai.ComboGesture.Scripts.Components;
using UnityEditor.Animations;
using UnityEngine;
namespace Hai.ComboGesture.Scripts.Editor.Internal
{
public class CgeManifestFromActivity
{
private readonly ComboGestureActivity _activity;
... | 2.017528 | dc48bc7ef76598df043fec80f7a009f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812071 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "YungSamzy/SimpsLib",
"max_stars_repo_path": "HTTP/Services/Captcha/~Services/CapmonsterSolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131291"
} | starcoder | namespace SimpsLib.HTTP.Services.Captcha
{
public class CapmonsterSolver : RucaptchaSolver
{
public CapmonsterSolver(string host = "127.0.0.3:80")
{
Host = host;
IsApiKeyRequired = false;
}
}
} | 1.647229 | 22e9125e76583a60333ad26f837856de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812072 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BearerPipelineTest/cofoundry",
"max_stars_repo_path": "src/Cofoundry.Domain/Domain/PasswordPolicies/ContentRepositoryExtensions/ContentRepositoryPasswordPolicyExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131292"
} | starcoder | <gh_stars>0
using Cofoundry.Domain.Extendable;
using Cofoundry.Domain.Internal;
namespace Cofoundry.Domain
{
public static class ContentRepositoryPasswordPolicyExtensions
{
/// <summary>
/// Queries relating to user area password policies.
/// </summary>
public static IAdvanced... | 1.52178 | 771e46efbb04ebb6d5e715d1dd695970 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812073 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mecvillarina/Semaphore.Co",
"max_stars_repo_path": "Semaphore.Manager/MessageManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131293"
} | starcoder | <reponame>mecvillarina/Semaphore.Co
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Semaphore.Common.Enums;
using Semaphore.Common.Utilities;
using Semaphore.Manager.Entities;
using Semaphore.Manager.Mappers;
using Semaphore.WebService;
using Se... | 1.897067 | 4e2fc2df68f4a80ffed70c4a6b53e7fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812074 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "paulushub/SandAssists",
"max_stars_repo_path": "Main/Source/Components/Indexed/DatabaseIndexedDocument.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131294"
} | starcoder | using System;
using System.IO;
using System.Xml;
using System.Xml.XPath;
using System.Text;
using System.Reflection;
using System.Collections.Generic;
using Microsoft.Ddue.Tools;
using Microsoft.Isam.Esent;
using Microsoft.Isam.Esent.Interop;
using Microsoft.Isam.Esent.Collections.Generic;
using Sandc... | 2.200348 | f53c48ade9b405bb1968eb09d442033c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812075 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VPKSoft/StarMap2D",
"max_stars_repo_path": "StarMap2D.Calculations/Enumerations/SolarSystemSmallBodies.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131295"
} | starcoder | #region License
/*
MIT License
Copyright(c) 2022 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify... | 2.011523 | 3a7a6781e03cc178ca4e12664c2622f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812076 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thiagomoreiraboby/CodeCracker",
"max_stars_repo_path": "test/CSharp/CodeCracker.Test/Usage/UnusedParametersTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131296"
} | starcoder | using CodeCracker.CSharp.Usage;
using Microsoft.CodeAnalysis;
using System.Threading.Tasks;
using Xunit;
namespace CodeCracker.Test.CSharp.Usage
{
public class UnusedParametersTests : CodeFixVerifier<UnusedParametersAnalyzer, UnusedParametersCodeFixProvider>
{
[Fact]
public async Task MethodWi... | 2.411912 | 05f7f17c792679ba64057ec982662876 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812077 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "emeraudeframework/emeraude",
"max_stars_repo_path": "src/Emeraude.Presentation.PlatformBase/Extensions/ViewDataExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131297"
} | starcoder | using Emeraude.Essentials.Extensions;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
namespace Emeraude.Presentation.PlatformBase.Extensions;
/// <summary>
/// Extensions for <see cref="ViewDataDictionary"/>.
/// </summary>
public static class ViewDataExtensions
{
private const string TitleViewDataKey = "Title";
... | 2.604567 | bf480e953b8ff841b020ae3de7ac37e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812078 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "null511/MinecraftMappings.NET",
"max_stars_repo_path": "MinecraftMappings.NET/Minecraft/Java/Models/Block/BlueWool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131298"
} | starcoder | <reponame>null511/MinecraftMappings.NET
using MinecraftMappings.Internal.Models.Block;
namespace MinecraftMappings.Minecraft.Java.Models.Block
{
public class BlueWool : JavaBlockModel
{
public BlueWool() : base("Blue Wool")
{
AddVersion("blue_wool", "1.0.0")
.WithPa... | 1.804411 | ff9ce4a79774b785d453e146e9fb97b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812079 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chishige1217200/Mycrane",
"max_stars_repo_path": "Assets/Scripts/Type3Manager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131299"
} | starcoder | using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;
public class Type3Manager : CraneManager
{
[SerializeField] int[] priceSet = new int[2];
[SerializeField] int[] timesSet = new int[2];
[SerializeField] float[] armPowerConfig = new float[3]; //アームパワー(%,未確率時)
[SerializeField] float[]... | 1.661717 | 3c31ff7ba36740c687d18d8367904dae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812080 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "takekazuomi/azure-sdk-for-net",
"max_stars_repo_path": "microsoft-azure-api/Services/Storage/Lib/Common/Queue/SharedAccessQueuePolicies.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131300"
} | starcoder | <reponame>takekazuomi/azure-sdk-for-net
// -----------------------------------------------------------------------------------------
// <copyright file="SharedAccessQueuePolicies.cs" company="Microsoft">
// Copyright 2012 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "Licen... | 2.38638 | c036f17051aa095232c47d5e05311465 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812081 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "daerogami/FormPlayer",
"max_stars_repo_path": "FormPlayer/GameObjects/States/Concrete/MenuState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131301"
} | starcoder | <filename>FormPlayer/GameObjects/States/Concrete/MenuState.cs
using System;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using QuantumGate.GameObjects.GameInitializers.Concrete;
using QuantumGate.GameObjects.GameInitializers.Interface;
using QuantumGate.GameObjects.States.Abstr... | 2.694318 | 338db855f5735735fe42e1add946aa15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812082 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ovation22/TripleDerby.Api",
"max_stars_repo_path": "tests/TripleDerby.Infrastructure.Tests/Data/Repositories/TripleDerbyRepositoryTests/GetAll.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131302"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TripleDerby.Core.Entities;
using Xunit;
namespace TripleDerby.Infrastructure.Tests.Data.Repositories.TripleDerbyRepositoryTests
{
[Collection("ContextFixture")]
[Trait("Category", "TripleDerbyRepository")]
p... | 2.339415 | 0835ee8d3b27beef9484738279b6b2e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812083 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "lorthe/MongaDex",
"max_stars_repo_path": "Pokedex.Tests/DataGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131303"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using Pokedex.Data.Models;
using System;
using System.Collections.Generic;
namespace Pokedex.Tests
{
public class DataGenerator
{
public static Guid DefaultGuid = Guid.Empty;
private const string URL = "http://{0}.com";
public static T GetViewModel<T>(... | 2.815487 | e51fe1c2b6f90ab459abb6f9bdd8f293 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812084 | {
"extension": "c-sharp",
"max_stars_count": "93.0",
"max_stars_repo_name": "KAW0/syrinj",
"max_stars_repo_path": "Scripts/Exceptions/InjectionException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131304"
} | starcoder | <reponame>KAW0/syrinj
using System;
using UnityEngine;
namespace Syrinj.Exceptions
{
public class InjectionException : Exception
{
public InjectionException(object obj, string message) : base(string.Format("[{0}] {1}", obj, message))
{
}
}
}
| 1.692294 | a60f6e39a22e951bbfb5329c323a3414 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812085 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "atkins126/ByteScout-SDK-SourceCode",
"max_stars_repo_path": "Premium Suite/C#/Convert xps to pdf with pdf sdk/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131305"
} | starcoder | <gh_stars>10-100
//*******************************************************************************************//
// //
// Download Free Evaluation Version From: https://bytescout.com/download/web-installer //
// ... | 2.371815 | a3783bd4ddaeead5d8295003f09b0582 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812086 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "joemphilips/NRustLightning",
"max_stars_repo_path": "src/NRustLightning.Infrastructure/BitcoinRPCBlockSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131306"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
using NBitcoin;
using NBitcoin.RPC;
using NBXplorer;
using NRustLightning.Infrastructure.Interfaces;
using NRustLightning.Infrastructure.Models;
namespace NRustLightning.Infrastructure
{
public class BitcoinRPC... | 2.451264 | 75fc5460b30c6560074279af5504be8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812087 | {
"extension": "c-sharp",
"max_stars_count": "13846.0",
"max_stars_repo_name": "legistek/AspNetCore",
"max_stars_repo_path": "src/Mvc/test/WebSites/RazorBuildWebSite/Pages/Rzc/Page.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131307"
} | starcoder | @page
@model Page_Model
Hello from runtime-compiled rzc page!
| 1.637734 | f40776f68cd3604c6c412b240c644824 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812088 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "another-mi/TestHouse",
"max_stars_repo_path": "TestHouse.DTOs/DTOs/TestRunCaseDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131308"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace TestHouse.DTOs.DTOs
{
public class TestRunCaseDto
{
/// <summary>
/// Test run case id
/// </summary>
public long Id { get; internal set; }
/// <summary>
/// Test case
/// </su... | 1.874972 | 465ce4801eb0dd5535b70137201332f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812089 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "icraftsoftware/Be.Stateless.BizTalk.Pipeline.MicroComponents",
"max_stars_repo_path": "src/Be.Stateless.BizTalk.Pipeline.MicroComponents.Tests/MicroComponent/Extensions/MicroComponentExtensionsFixture.cs",
"provenance": "train-00027-o... | starcoder | #region Copyright & License
// Copyright © 2012 - 2021 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b... | 2.091668 | 98719a350780ab47722b3ebda0a4538a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812090 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "tomaszFijalkowski/Sortify",
"max_stars_repo_path": "Sortify/Handlers/QueryHandlers/GetAppSettingsQueryHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131310"
} | starcoder | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Sortify.Contracts.Requests.Queries;
using Sortify.Contracts.Responses;
using Sortify.Contracts.Responses.Base;
using Sortify.Handlers.QueryHandlers.Base;
using Sortify.Helpers;
using System;
using System.Threading.Tasks;
namespace Sor... | 2.248813 | 473e637dc0c4a344e337743b46e20c16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812091 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "liumeifu/OSky",
"max_stars_repo_path": "src/OSky.Web.Client/Http/Handlers/HeadMessageHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131311"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace OSky.Web.Http.Handlers
{
public class HeadMessageHandler : Del... | 2.187169 | 2f3b38053271a5503e6666f06d7618f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812092 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zlxy/Genesis-3D",
"max_stars_repo_path": "Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/System.Data.Linq/src/DbMetal/Schema/SchemaPostprocess.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131312"
} | starcoder | <gh_stars>0
#region MIT license
//
// MIT license
//
// Copyright (c) 2007-2008 <NAME>, <NAME>
//
// 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 ... | 1.908036 | 71d567466853ea300c9abccf8db90449 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812093 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KobusGamification/Gamification",
"max_stars_repo_path": "Gamification/SVNExtension.UnitTest/SVNManagerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131313"
} | starcoder | <filename>Gamification/SVNExtension.UnitTest/SVNManagerTest.cs
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using System.Diagnostics;
using System.Configuration;
using SVNExtension;
namespace SVNExtension.Uni... | 2.483615 | d0828e91c00509844ee00e830de5f04c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812094 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "HamedFathi/SimMetricsCore",
"max_stars_repo_path": "SimMetricsCore/API/AbstractSubstitutionCost.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131314"
} | starcoder | <filename>SimMetricsCore/API/AbstractSubstitutionCost.cs<gh_stars>1-10
namespace SimMetricsCore.API
{
public abstract class AbstractSubstitutionCost : ISubstitutionCost
{
protected AbstractSubstitutionCost()
{
}
public abstract double GetCost(string firstWord, int firstWordInde... | 2.543295 | 116f43ea253a6bd70eeb4db6b60fb2b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812095 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TallyUpTeam/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/ForecastService/Generated/Model/UpdateDatasetGroupRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131315"
} | starcoder | <filename>sdk/src/Services/ForecastService/Generated/Model/UpdateDatasetGroupRequest.cs<gh_stars>1-10
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the Licen... | 1.888191 | e915cebde257d48f2a1dd1ccd8b63c63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812096 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "ItayLast/osu",
"max_stars_repo_path": "osu.Game/Overlays/Settings/Sections/General/LanguageSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131316"
} | starcoder | <reponame>ItayLast/osu<gh_stars>10-100
// Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
namespace osu.Game.Overlays.Settings... | 1.523217 | 9d326a7e55888caa9dcc6dd152807847 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812097 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "imtiajahammad/Frapper.API",
"max_stars_repo_path": "Frapper.API/Frapper.API/Helpers/ExceptionMiddleware.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131317"
} | starcoder | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Frapper.Common;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
namespace Frapper.API.Helpers
{
// You may need t... | 2.62553 | cb59d4108a850cd147fd16aacdf598ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812098 | {
"extension": "c-sharp",
"max_stars_count": "54.0",
"max_stars_repo_name": "adamjsutcliffe/UnityTouchHandling",
"max_stars_repo_path": "Touch Test/Assets/unity-ui-extensions/Scripts/MenuSystem/Menu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131318"
} | starcoder | <reponame>adamjsutcliffe/UnityTouchHandling
/// Credit <NAME> (Nezz) - http://www.songarc.net
/// Sourced from - https://github.com/YousicianGit/UnityMenuSystem
/// Updated by SimonDarksideJ - Refactored to be a more generic component
namespace UnityEngine.UI.Extensions
{
public abstract class Menu<T> : M... | 2.574314 | 40c1a8b2978d21ecec667afeeac7cc18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812099 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "trigger-death/ZeldaOracle",
"max_stars_repo_path": "ZeldaOracle/ConscriptDesigner/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131319"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using Xceed.Wpf.AvalonDock.Layout;
using Xceed.Wpf.AvalonDock.Layout.Serialization;
using ConscriptDesigner.Anchorables;
usin... | 1.651646 | cd687f0533050d0e42886aa407c2925e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812100 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "guy-murphy/conclave-public",
"max_stars_repo_path": "Conclave.Data/Resolver/DirectoryResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131320"
} | starcoder | using System.IO;
namespace Conclave.Data.Resolver {
public class DirectoryResolver: FileResolver {
private DirectoryInfo _directoryInfo;
public override string RelativePath {
set {
_directoryInfo = null; // reset the directory info
base.RelativePath = value;
}
}
public DirectoryInfo Info {
... | 2.64023 | 44dee0799810bdd0fdd2958f8c0b8acf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812101 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "loozixuan/SoftwareSystemsDevelopment-Y2S1",
"max_stars_repo_path": "BAIT2113 Web Application Development/Practical2/CourseInfo.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131321"
} | starcoder | <reponame>loozixuan/SoftwareSystemsDevelopment-Y2S1
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Practical2LabExercise
{
public partial class CourseInfo : System.Web.UI.Page
{
protected v... | 1.478118 | f655838ae63d871bcd7f938dfb44acd2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812102 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "sawich/OpenWorker",
"max_stars_repo_path": "ow.Framework/IO/Network/Sync/Commands/SCItemUpgrade.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131322"
} | starcoder | <reponame>sawich/OpenWorker
namespace ow.Framework.IO.Network.Sync.Commands
{
public enum SCItemUpgrade : byte
{
Ok = 0x1,
AddOptionOk = 0x2,
MixOptionOk = 0x3,
}
} | 1.137006 | 35f0825b3349f4801f9e85900b068a7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812103 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shana/corefx",
"max_stars_repo_path": "src/System.Security.Cryptography.Encoding/src/Internal/Cryptography/OidLookup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131323"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Security.Cryptography;
namespace Internal.Cryptography
{
internal static partial class OidLookup
{
private struct FriendlyNa... | 2.680496 | 4202ef874462d17b0c9fec52baa59448 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812104 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarcusOy/Audex",
"max_stars_repo_path": "Audex.API/Models/Stacks/FileNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131324"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
using Audex.API.Models.Auth;
namespace Audex.API.Models.Stacks
{
public class FileNode : BaseEntity
{
[Required]
public Guid Id { get; set; }
[Required]
public string Name { get; set; }
public string FileExtensio... | 1.922972 | 959b363011b470bb96fe60589238f6f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812105 | {
"extension": "c-sharp",
"max_stars_count": "80.0",
"max_stars_repo_name": "Lombiq/DiffEngine",
"max_stars_repo_path": "src/DiffEngine/Implementation/P4MergeImage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131325"
} | starcoder | <reponame>Lombiq/DiffEngine
using DiffEngine;
static partial class Implementation
{
public static Definition P4MergeImage()
{
static string TargetLeftArguments(string temp, string target) =>
$"\"{target}\" \"{temp}\"";
static string TargetRightArguments(string temp, strin... | 1.979102 | ae33e3fd2ab8ebd34c509878064cc417 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812106 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "mortenlerudjordet/MSAL.PS",
"max_stars_repo_path": "src/internal/TokenCacheHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131326"
} | starcoder | <reponame>mortenlerudjordet/MSAL.PS
using System;
using System.IO;
using System.Security.Cryptography;
using Microsoft.Identity.Client;
public static class TokenCacheHelper
{
public static void EnableSerialization(ITokenCache tokenCache)
{
tokenCache.SetBeforeAccess(BeforeAccessNotification);
t... | 2.138712 | 02ce706737738787cc51343331a8014d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812107 | {
"extension": "c-sharp",
"max_stars_count": "540.0",
"max_stars_repo_name": "ErQing/cshotfix",
"max_stars_repo_path": "CSHotFix_ILRuntimeSimpleFramework/Assets/CSHotFixLibaray/Editor/Injector/MonoCecil/Mono.Cecil.Cil/OpCodes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131327"
} | starcoder | <filename>CSHotFix_ILRuntimeSimpleFramework/Assets/CSHotFixLibaray/Editor/Injector/MonoCecil/Mono.Cecil.Cil/OpCodes.cs<gh_stars>100-1000
using System;
namespace Editor_Mono.Cecil.Cil
{
public static class OpCodes
{
internal static readonly OpCode[] OneByteOpCode = new OpCode[225];
internal static readonly OpCode[... | 1.806096 | 6b013e99b9ed9e7cfd84f7ecdef422b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812108 | {
"extension": "c-sharp",
"max_stars_count": "94.0",
"max_stars_repo_name": "marcinbudny/protoactor-dotnet",
"max_stars_repo_path": "tests/Proto.Actor.Tests/PIDTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131328"
} | starcoder | using System;
using System.Threading.Tasks;
using Proto.TestFixtures;
using Xunit;
using static Proto.TestFixtures.Receivers;
namespace Proto.Tests;
public class PidTests
{
[Fact]
public async Task Given_ActorNotDead_Ref_ShouldReturnIt()
{
await using var system = new ActorSystem();
var c... | 2.098869 | ca4769831f9533e8fdddf78f5a91974c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812109 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nouhelion/MAll",
"max_stars_repo_path": "MALL/Views/Home/restaurant.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131329"
} | starcoder | @model IEnumerable<MALL.Models.Restaurent>
@{
if (Session["RegId"] == null)
{
Response.Redirect("~/User/Login");
}
Layout = "~/Views/Shared/_Userlayout.cshtml";
}
<h3></h3>
<h1 class="h1-title">
</h1>
<p class="text-primary">
</p>
<div class="item active" style="width:1280px">
<div clas... | 2.528967 | 3b4c97a79b7c66ceea30277666a2ceda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812110 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gun-Killer/CodingInterviews",
"max_stars_repo_path": "ForYou.CodingInterviews/WPF/Projects/Account/ForYou.CodingInterviews.AccountModel/ModelConfig/ModePaymentWithAccountModelConfiguration.cs",
"provenance": "train-00027-of-00045.json... | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace ForYou.CodingInterviews.AccountModel.ModelConfig
{
public sealed class ModePaymentWithAccountMod... | 1.901167 | 0ff1066b1dc3a12c3fce91850718db2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812111 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IssiRe21/Strings-practice",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131331"
} | starcoder | using System;
namespace Strings_practice
{
class Program
{
static void Main(string[] args)
{
string inicial = "ave, banco, comida, duda, ejercicio, fuente, girasol";
string coma = ",";
//FUENTE;EJERCICIO;DUDA;COMIDA;BANCO
System.Console... | 3.587103 | 3410ac76a7e0a76f716294423ff0fd91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812112 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WardDurossette/Core2PolicyAuth",
"max_stars_repo_path": "Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:131332"
} | starcoder | @using Core2PolicyAuth
@using Core2PolicyAuth.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 0.909261 | 25da0526e0adc22e78af684e63aca4a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812113 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brunoksato/SistemaEstacionamento",
"max_stars_repo_path": "Estacionamento/Models/Fluxo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131333"
} | starcoder | using System;
using System.Collections.Generic;
namespace Estacionamento.Models
{
public partial class Fluxo
{
public int ID { get; set; }
public int Codigo { get; set; }
public string Placa { get; set; }
public string Modelo { get; set; }
public string Nome { get; set; ... | 2.003468 | 082761685b82925b8de61b16cd8495bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812114 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lsoft/DpDtInject",
"max_stars_repo_path": "DpdtInject.Generator.Core/Producer/BindFromResolutionProducer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131334"
} | starcoder | using DpdtInject.Generator.Core.ArgumentWrapper;
using DpdtInject.Generator.Core.Binding;
using DpdtInject.Generator.Core.Helpers;
using DpdtInject.Generator.Core.Producer.Product;
using DpdtInject.Generator.Core.TypeInfo;
using Microsoft.CodeAnalysis;
using System;
using System.Collections.Generic;
using System.Linq;... | 1.783086 | 00cfe1fd7fb11902e5ce7b76f64c8a6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812115 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "Foxman13/spatial-computing",
"max_stars_repo_path": "Standalone-Samples/AzureStorageDemoUnity3D/Assets/ProgressBar/Scripts/Progress.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131335"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Progress : MonoBehaviour {
Image foregroundImage;
Image backgroundImage;
Text progressText;
int downloadcount;
const string defaultmessage = "file transfers left: ";
public flo... | 2.490601 | b392fd0fc5aeed78cfc1700e8cfff301 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812116 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mehmetadiguzell/CoreDersleri",
"max_stars_repo_path": "CoreAndFood/obj/Debug/net5.0/Razor/Views/Vitrin/Components/GetCategoryList/Default.cshtml.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131336"
} | starcoder | #pragma checksum "C:\Users\MA\source\repos\CoreDersleri\CoreAndFood\Views\Vitrin\Components\GetCategoryList\Default.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "d25fb76d6c5328e5c0d8cb07b51efbb86462b46d"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCom... | 1.650502 | baad7de883daf8b45ad87d2612256693 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812117 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "panoramicdata/Rundeck.Api",
"max_stars_repo_path": "Rundeck.Api/Models/JobImportResults.cs",
"provenance": "train-00027-of-00045.jsonl.gz:131337"
} | starcoder | <filename>Rundeck.Api/Models/JobImportResults.cs<gh_stars>1-10
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Rundeck.Api.Models
{
[DataContract]
public class JobImportResults
{
[DataMember(Name = "succeeded")]
public List<JobImportResult> Succeeded { get; set; } = new List<Job... | 2.062285 | 06172ba80653d182aca0565cb4151706 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.